const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunk/Preview-1744117941567.js","assets/chunk/vendor-1744117941567.js","assets/chunk/SitePreview-1744117941567.js","assets/css/SitePreview-1744117941567.css","assets/css/Preview-1744117941567.css","assets/chunk/AiBuilderPreview-1744117941567.js","assets/chunk/AiBuilderForm-1744117941567.js","assets/css/AiBuilderForm-1744117941567.css","assets/css/AiBuilderPreview-1744117941567.css","assets/chunk/VersionHistory-1744117941567.js","assets/css/VersionHistory-1744117941567.css","assets/chunk/Auth-1744117941567.js","assets/css/Auth-1744117941567.css","assets/chunk/SiteNotFound-1744117941567.js","assets/css/SiteNotFound-1744117941567.css","assets/chunk/FormEmailVerification-1744117941567.js","assets/css/FormEmailVerification-1744117941567.css","assets/chunk/AiBuilder-1744117941567.js","assets/css/AiBuilder-1744117941567.css","assets/chunk/Templates-1744117941567.js","assets/css/Templates-1744117941567.css","assets/chunk/GoogleAuth-1744117941567.js","assets/css/GoogleAuth-1744117941567.css"])))=>i.map(i=>d[i]); import{d as K,c as d,a as v,o as r,b as h,e as b,t as Wx,I as qx,i as Yx,g as Kx,f as Zx,u as fe,r as C,h as Vt,n as Ye,j as rt,k as ut,l as m,w as R,m as B,p as re,q as Ae,s as U,v as w,x as Ve,T as xe,y as Ps,z as Y,A as S,B as In,C as o0,D as wt,E as k,F as Ze,G as so,H as Do,J as Qx,K as W5,L as at,M as Te,N as Ce,O as oc,P as et,Q as Mt,R as rn,S as Xx,U as Jx,V as tT,W as eT,X as oT,Y as nT,Z as iT,_ as sT,$ as q5,a0 as aT,a1 as Wt,a2 as ro,a3 as sn,a4 as lT,a5 as rT,a6 as dT,a7 as cT,a8 as nc,a9 as Y5,aa as uT,ab as Mo,ac as yi,ad as _,ae as pT,af as gT,ag as mT,ah as Wr,ai as _t,aj as Kt,ak as Fi,al as Pt,am as zp,an as K5,ao as Z5,ap as Q5,aq as n0,ar as hT,as as Bs,at as As,au as Ym,av as Be,aw as kg,ax as ao,ay as b1,az as X5,aA as bT,aB as ai,aC as li,aD as J5,aE as fT,aF as yT,aG as Ll,aH as Un,aI as kl,aJ as f1,aK as t4,aL as vT,aM as e4,aN as Ie,aO as he,aP as _T,aQ as wT,aR as kT,aS as Mb,aT as i0,aU as qr,aV as ET,aW as vi,aX as IT,aY as ST,aZ as $l,a_ as y1,a$ as xT,b0 as v1,b1 as TT,b2 as CT,b3 as PT,b4 as BT,b5 as AT,b6 as DT,b7 as zT,b8 as LT,b9 as $T,ba as OT,bb as RT,bc as MT,bd as NT,be as HT,bf as o4,bg as Yr,bh as po,bi as n4,bj as ta,bk as i4,bl as s0,bm as _1,bn as GT,bo as Lp,bp as FT,bq as s4,br as a4,bs as Eg,bt as w1,bu as VT,bv as Ig,bw as UT,bx as l4,by as r4,bz as jT,bA as ku,bB as yd,bC as WT,bD as qT,bE as YT,bF as d4,bG as KT,bH as c4,bI as ZT,bJ as QT,bK as a0,bL as XT,bM as JT,bN as l0,bO as u4,bP as vd,bQ as tC,bR as k1,bS as eC,bT as oC,bU as nC,bV as iC}from"../chunk/vendor-1744117941567.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d740aaa1-da0e-4708-97aa-a033dda1688d",t._sentryDebugIdIdentifier="sentry-dbid-d740aaa1-da0e-4708-97aa-a033dda1688d")}catch{}})();(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function o(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(s){if(s.ep)return;s.ep=!0;const a=o(s);fetch(s.href,a)}})();const sC="modulepreload",aC=function(t){return"https://builder.hostinger.com/"+t},E1={},N=function(e,o,n){let s=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),i=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.allSettled(o.map(c=>{if(c=aC(c),c in E1)return;E1[c]=!0;const u=c.endsWith(".css"),p=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${p}`))return;const g=document.createElement("link");if(g.rel=u?"stylesheet":sC,u||(g.as="script"),g.crossOrigin="",g.href=c,i&&g.setAttribute("nonce",i),document.head.appendChild(g),u)return new Promise((f,y)=>{g.addEventListener("load",f),g.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(l){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=l,window.dispatchEvent(i),!i.defaultPrevented)throw l}return s.then(l=>{for(const i of l||[])i.status==="rejected"&&a(i.reason);return e().catch(a)})},lC=/\s| /g,rC=t=>{try{return t.replaceAll(lC,"").toLowerCase()}catch{return t}},I1=(t,e)=>{t.dataset.qa=rC(e.value)},dC="qa",cC={beforeMount:(t,e)=>I1(t,e),updated:(t,e)=>I1(t,e)},Sg=t=>`https://builder.hostinger.com${t}`,uC=["src","alt"],ni=K({__name:"HImage",props:{src:{},alt:{},isExternal:{type:Boolean}},setup(t){const e=t,o=d(()=>e.isExternal?e.src:Sg(`/assets${e.src}`));return(n,s)=>(r(),v("img",{src:o.value,alt:n.alt},null,8,uC))}}),V=(t,e)=>{const o=t.__vccOpts||t;for(const[n,s]of e)o[n]=s;return o},pC={class:"animation-loader__wrapper"},gC={class:"animation-loader"},mC={__name:"HostingerLoader",setup(t){return(e,o)=>(r(),v("div",pC,[h("div",gC,[b(ni,{class:"animation-loader__circle",src:"/images/h-circle-only.svg",alt:"main-loader"}),b(ni,{class:"animation-loader__outline",src:"/images/h-outline-static.svg",alt:"main-loader-outline"})])]))}},Nb=V(mC,[["__scopeId","data-v-0fbe8665"]]),hC=K({emits:["toggle-mobile"],observer:null,mounted(){this.$options.observer=new IntersectionObserver(t=>{this.$emit("toggle-mobile",!t[0].isIntersecting)},{threshold:1}),this.$options.observer.observe(this.$refs.sentry)},beforeUnmount(){this.$options.observer.unobserve(this.$refs.sentry)}}),bC={ref:"sentry",class:"sentry"};function fC(t,e,o,n,s,a){return r(),v("div",bC,null,512)}const yC=V(hC,[["render",fC],["__scopeId","data-v-c18add59"]]),wo=(t,e)=>Object.fromEntries(Object.entries(t).filter(([o,n],s,a)=>e({key:o,value:n,index:s,array:a}))),r0=(t,e)=>Object.fromEntries(Object.entries(t).map(([o,n],s,a)=>[o,e({key:o,value:n,index:s,array:a})])),$p=t=>Object.prototype.toString.call(t)==="[object Object]",bl=t=>$p(t)?Object.entries(t).reduce((e,[o,n])=>(n!=null&&(e[o]=bl(n)),e),{}):t,La=t=>{const e=t.split(" "),o=e.length;if(o<1||o>4)throw new Error(`Cannot parse ${o} sides`);return((s,a=s,l=s,i=a)=>({top:s,right:a,bottom:l,left:i}))(...e)},vC=["padding","m-padding","block-padding"],_C=["border-radius"],Di=(t,e="")=>$p(t)?Object.entries(t).reduce((o,[n,s])=>{const a=e?`${e}-${n}`:`--${n}`;if($p(s))return{...o,...Di(s,a)};const l=vC.includes(n)?Object.entries(La(s)).reduce((i,[c,u])=>({...i,[`${a}-${c}`]:u,[a]:s}),{}):{[a]:s};return{...o,..._C.includes(n)?{[a]:`${s}px`}:l}},{}):{},wC={getEvent(t){try{return t.split(".").reduce((e,o)=>e[o],this)}catch{return null}},onboarding:{start:{amplitude:"onboarding.start"},summary:{finished:{amplitude:"onboarding.summary.finished"}},completed:{amplitude:"onboarding.completed"}},website_builder:{notification_modal:{google_ads:{shown:{amplitude:"website_builder.notification_modal.google_ads.shown"},click_learn_more:{amplitude:"website_builder.notification_modal.google_ads.click_learn_more"},closed:{amplitude:"website_builder.notification_modal.google_ads.closed"}}},integrations:{google_ads:{oauth_completed:{amplitude:"website_builder.integrations.google_ads.oauth_completed"},setup_completed:{amplitude:"website_builder.integrations.google_ads.setup_completed"},setup_started:{amplitude:"website_builder.integrations.google_ads.setup_started"},link_click:{amplitude:"website_builder.integrations.google_ads.link_click"}}},ecomm_selected_product:{amplitude:"website_builder.ecomm_selected_product"},ecomm_store:{enter:{amplitude:"website_builder.ecomm_store.enter"}},ecomm_payment_modal:{shown:{amplitude:"website_builder.ecomm_payment_modal.shown"}},ecomm_payment:{enter:{amplitude:"website_builder.ecomm_payment.enter"}},ecomm_products_banner:{enter:{amplitude:"website_builder.ecomm_products_banner.enter"},shown:{amplitude:"website_builder.ecomm_products_banner.shown"}},ecomm_product_template:{enter:{amplitude:"website_builder.ecomm_product_template.enter"},info:{amplitude:"website_builder.ecomm_product_template.info"}},ecomm_orders:{enter:{amplitude:"website_builder.ecomm_orders.enter"},search:{amplitude:"website_builder.ecomm_orders.search"}},product_updates:{enter:{amplitude:"website_builder.product_updates.enter"}},blog_generator:{enter:{amplitude:"website_builder.blog_generator.enter"},generated:{amplitude:"website_builder.blog_generator.generated"}},ai_heatmap:{enter:{amplitude:"website_builder.ai_heatmap.enter"}},backups:{enter:{amplitude:"website_builder.backups.enter"},restore:{amplitude:"website_builder.backups.restore"}},pay_2_publish:{go_live:{amplitude:"website_builder.pay_2_publish.go_live"}},qr_code:{download:{amplitude:"website_builder.qr_code.download"},get:{amplitude:"website_builder.qr_code.get"}},builder_multi_select:{selected:{amplitude:"website_builder.builder_multi_select.selected"}},preview:{enter:{amplitude:"website_builder.preview.enter"},edit:{amplitude:"website_builder.preview.edit"},back_to_form:{amplitude:"website_builder.preview.back_to_form"},palette_click:{amplitude:"website_builder.preview.palette_click"}},asset_manager:{enter:{amplitude:"website_builder.asset_manager.enter"},image_search:{amplitude:"website_builder.asset_manager.image_search"}},gamefication:{enter:{amplitude:"website_builder.gamefication.enter"},rated:{amplitude:"website_builder.gamefication.rated"},completed:{amplitude:"website_builder.gamefication.completed"},referral_offer_shown:{amplitude:"website_builder.gamefication.referral_offer_shown"}},referrals:{banner_shown:{amplitude:"website_builder.referrals.banner_shown"}},game_add_product:{enter:{amplitude:"website_builder.game_ecomm_products_add.enter"}},game_start:{enter:{amplitude:"website_builder.game_start.enter"},completed:{amplitude:"website_builder.game_start.completed"}},game_edit_heading:{enter:{amplitude:"website_builder.game_edit_heading.enter"},completed:{amplitude:"website_builder.game_edit_heading.completed"}},game_update_image:{enter:{amplitude:"website_builder.game_update_image.enter"},completed:{amplitude:"website_builder.game_update_image.completed"}},create_new:{enter:{amplitude:"website_builder.create_new.enter"}},game_edit_paragraph_text:{enter:{amplitude:"website_builder.game_edit_paragraph_text.enter"},completed:{amplitude:"website_builder.game_edit_paragraph_text.completed"}},game_add_your_own_log:{enter:{amplitude:"website_builder.game_add_your_own_log.enter"},completed:{amplitude:"website_builder.game_add_your_own_log.completed"}},game_update_social_media:{enter:{amplitude:"website_builder.game_update_social_media.enter"},completed:{amplitude:"website_builder.game_update_social_media.completed"}},game_check_your_mobile:{enter:{amplitude:"website_builder.game_check_your_mobile.enter"},completed:{amplitude:"website_builder.game_check_your_mobile.completed"}},game_get_found_on_google:{enter:{amplitude:"website_builder.game_get_found_on_google.enter"},completed:{amplitude:"website_builder.game_get_found_on_google.completed"}},game_connect_domain:{enter:{amplitude:"website_builder.game_connect_domain.enter"},completed:{amplitude:"website_builder.game_connect_domain.completed"}},game_go_live:{enter:{amplitude:"website_builder.game_go_live.enter"},completed:{amplitude:"website_builder.game_go_live.completed"}},feedback:{enter:{amplitude:"website_builder.feedback.enter"},sent:{amplitude:"website_builder.feedback.sent"}},website_settings:{enter:{amplitude:"website_builder.website_settings.enter"}},languages:{enter:{amplitude:"website_builder.languages.enter"},add:{amplitude:"website_builder.languages.add"}},ai_tools:{enter:{amplitude:"website_builder.ai_tools.enter"},product_generation:{enter:{amplitude:"website_builder.ai_tools.product_generation.enter"}}},blog:{enter:{amplitude:"website_builder.blog.enter"}},ai_assist:{enter:{amplitude:"website_builder.ai_assist.enter"},generate:{amplitude:"website_builder.ai_assist.generate"},generated:{amplitude:"website_builder.ai_assist.generated"},cancel:{amplitude:"website_builder.ai_assist.cancel"},retry:{amplitude:"website_builder.ai_assist.retry"},keep:{amplitude:"website_builder.ai_assist.keep"},copy_text:{amplitude:"website_builder.ai_assist.copy_text"}},global_styles:{enter:{amplitude:"website_builder.global_styles.enter"}},global_styles_colors:{enter:{amplitude:"website_builder.global_styles_colors.enter"},change:{amplitude:"website_builder.global_styles_colors.change"}},global_styles_buttons:{enter:{amplitude:"website_builder.global_styles_buttons.enter"}},global_styles_text:{enter:{amplitude:"website_builder.global_styles_text.enter"}},global_styles_animations:{enter:{amplitude:"website_builder.global_styles_animations.enter"}},pages_and_navigation:{enter:{amplitude:"website_builder.pages_and_navigation.enter"}},add_page:{enter:{amplitude:"website_builder.add_page.enter"},added:{amplitude:"website_builder.add_page.added"},generate_page:{amplitude:"website_builder.add_page.generate_page"},create_page:{amplitude:"website_builder.add_page.create_page"},page_generated:{amplitude:"website_builder.add_page.page_generated"}},add_element:{element_added:{amplitude:"website_builder.add_element.element_added"},enter:{amplitude:"website_builder.add_element.enter"},chatbot_coming_soon_send:{amplitude:"website_builder.add_element.chatbot_coming_soon_send"}},builder:{back:{amplitude:"website_builder.builder.back"},enter:{amplitude:"website_builder.builder.enter"},saved:{amplitude:"website_builder.builder.saved"},previewed:{amplitude:"website_builder.builder.previewed"},website_published:{amplitude:"website_builder.builder.website_published"},website_update:{amplitude:"website_builder.builder.website_update"}},domain:{propagated:{amplitude:"website_builder.domain.propagated"}},ai_builder:{enter:{amplitude:"website_builder.ai_builder.enter"},create:{amplitude:"website_builder.ai_builder.create"},created:{amplitude:"website_builder.ai_builder.created"},back:{amplitude:"website_builder.ai_builder.back"},preview_enter:{amplitude:"website_builder.ai_builder.preview_enter"},create_new_enter:{amplitude:"website_builder.ai_builder.create_new_enter"},previous_list:{amplitude:"website_builder.ai_builder.previous_list"},previous_switch:{amplitude:"website_builder.ai_builder.previous_switch"},regenerate:{amplitude:"website_builder.ai_builder.regenerate"},regenerated:{amplitude:"website_builder.ai_builder.regenerated"},screen_switcher_click:{amplitude:"website_builder.ai_builder.screen_switcher_click"}},ai_builder_voice_description:{manual_change:{amplitude:"website_builder.ai_builder_voice_description.manual_change"}},ai_image_generator:{enter:{amplitude:"website_builder.ai_image_generator.enter"},create:{amplitude:"website_builder.ai_image_generator.create"},created:{amplitude:"website_builder.ai_image_generator.created"},use:{amplitude:"website_builder.ai_image_generator.use"},buy_more:{amplitude:"website_builder.ai_image_generator.buy_more"},continue_to_payment:{amplitude:"website_builder.ai_image_generator.continue_to_payment"},payment_successful:{amplitude:"website_builder.ai_image_generator.payment_successful"},image_rating:{amplitude:"website_builder.ai_image_generator.image_rating"}},text_box_threshold:{reached:{amplitude:"website_builder.text_box_threshold.reached"}},home_page_text_threshold:{reached:{amplitude:"website_builder.home_page_text_threshold.reached"}},help:{enter:{amplitude:"website_builder.help.enter"}},help_articles:{enter:{amplitude:"website_builder.help_articles.enter"},shown:{amplitude:"website_builder.help_articles.shown"}},keyboard_shortcuts:{enter:{amplitude:"website_builder.keyboard_shortcuts.enter"}},quick_tour:{enter:{amplitude:"website_builder.quick_tour.enter"}},ecomm_bookings:{enter:{amplitude:"website_builder.ecomm_bookings.enter"}},ecomm:{store_added:{amplitude:"website_builder.ecomm.store_added"},enter:{amplitude:"website_builder.ecomm.enter"},remove:{amplitude:"website_builder.ecomm.remove"}},ecomm_product_page:{enter:{amplitude:"website_builder.ecomm_product_page.enter"}},ecomm_page_settings:{enter:{amplitude:"website_builder.ecomm_page_settings.enter"},saved:{amplitude:"website_builder.ecomm_page_settings.saved"}},ecomm_products:{add:{amplitude:"website_builder.ecomm_products.add"},edit:{amplitude:"website_builder.ecomm_products.edit"}},website_settings_general_settings:{enter:{amplitude:"website_builder.website_settings_general_settings.enter"}},website_settings_integrations:{enter:{amplitude:"website_builder.website_settings_integrations.enter"},save:{amplitude:"website_builder.website_settings_integrations.save"}},website_settings_analytics:{enter:{amplitude:"website_builder.website_settings_analytics.enter"},help_article_enter:{amplitude:"website_builder.website_settings_analytics.help_article_enter"}},website_settings_seo:{enter:{amplitude:"website_builder.website_settings_seo.enter"}},website_settings_form_submissions:{enter:{amplitude:"website_builder.website_settings_form_submissions.enter"}},website_settings_export_wordpress:{enter:{amplitude:"website_builder.website_settings_export_wordpress.enter"}},website_settings_media_library:{enter:{amplitude:"website_builder.website_settings_media_library.enter"}},social_link:{copied:{amplitude:"website_builder.social_link.copied"},created:{amplitude:"website_builder.social_link.created"}},styles_animation_style:{selected:{amplitude:"website_builder.styles_animation_style.selected"}},search:{typed:{amplitude:"website_builder.search.typed"},enter:{amplitude:"website_builder.search.enter"}},password_setup:{enter:{amplitude:"website_builder.password_setup.enter"},enabled:{amplitude:"website_builder.password_setup.enabled"},disabled:{amplitude:"website_builder.password_setup.disabled"},saved:{amplitude:"website_builder.password_setup.saved"}},seo_brand_name:{typed:{amplitude:"website_builder.seo_brand_name.typed"}},seo_language:{selected:{amplitude:"website_builder.seo_language.selected"}},seo_website_description:{typed:{amplitude:"website_builder.seo_website_description.typed"}},seo_keywords:{chosen:{amplitude:"website_builder.seo_keywords.chosen"}},seo_summary:{finished:{amplitude:"website_builder.seo_summary.finished"}},published:{view_site:{amplitude:"website_builder.published.view_site"}},connect_domain_manual:{enter:{amplitude:"website_builder.connect_domain_manual.enter"}},add_video:{added:{amplitude:"website_builder.add_video.added"}},start_blog:{enter:{amplitude:"website_builder.start_blog.enter"}},blog_add_post:{create_content:{amplitude:"website_builder.blog_add_post.create_content"},skip:{amplitude:"website_builder.blog_add_post.skip"},enter:{amplitude:"website_builder.blog_add_post.enter"}},add_section:{create_section:{amplitude:"website_builder.add_section.create_section"},enter:{amplitude:"website_builder.add_section.enter"},added:{amplitude:"website_builder.add_section.added"},generate_section:{amplitude:"website_builder.add_section.generate_section"},generated:{amplitude:"website_builder.add_section.generated"}},template:{chosen:{amplitude:"website_builder.template.chosen"},personalise:{amplitude:"website_builder.template.personalise"},generated:{amplitude:"website_builder.template.generated"},use_original:{amplitude:"website_builder.template.use_original"},ecommerce_chosen:{amplitude:"website_builder.template.ecommerce_chosen"},shown:{amplitude:"website_builder.template.shown"},enter:{amplitude:"website_builder.template.enter"}},chatbot:{enter:{amplitude:"website_builder.chatbot.enter"},question_sent:{amplitude:"website_builder.chatbot.question_sent"},answer_generated:{amplitude:"website_builder.chatbot.answer_generated"}},embed_code:{edit:{amplitude:"website_builder.embed_code.edit"}},feature_lock:{shown:{amplitude:"website_builder.feature_lock.shown"},upgrade:{amplitude:"website_builder.feature_lock.upgrade"}},private_mode:{switch:{amplitude:"website_builder.private_mode.switch"}},section_settings:{enter:{amplitude:"website_builder.section_settings.enter"},section_background_change:{amplitude:"website_builder.section_settings.section_background_change"}},hostinger_dashboard_enter:{amplitude:"website_builder.hostinger_dashboard_enter"},marketing_tools_survey:{enter:{amplitude:"website_builder.marketing_tools_survey.enter"},sidebar_enter:{amplitude:"website_builder.marketing_tools_survey.sidebar_enter"},sent:{amplitude:"website_builder.marketing_tools_survey.sent"}},free_trial:{nudge:{cta_clicked:{amplitude:"website_builder.free_trial.nudge.cta_clicked"}}}},websites:{connect_domain:{shown:{amplitude:"websites.connect_domain.shown"},enter:{amplitude:"websites.connect_domain.enter"}}},logo_maker:{logo_maker:{enter:{amplitude:"logo_maker.logo_maker.enter"}}},referrals:{enter:{amplitude:"referrals.enter"}}},Bc=920,kC=301,p4=300,EC=156,g4=100,IC=10,te="system",m4="generated",h4="website-importer",b4="aigenerated",Op="Page",SC="https://static.zyro.com",ic="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.5/flags/4x3",d0="builder",f4="site-preview",y4="builder__bottom",v4="block-header",kr="top-blocks",_4="top-blocks--sticky",Ac="builder-preview",zn={SEO:"seo",GENERAL:"general",SOCIAL_IMAGE:"socialImage",PASSWORD_PROTECTION:"passwordProtection",ECOMMERCE:"ecommerce"},ns="private",Hb="default",xC="calm",TC="popular",Kr="default",jn="blog",vn="ecommerce-product",Uo="ecommerce-dynamic-product",Oa="private",w4=[jn,vn],c0="ecommerceStoreId",ls="ecommerceType",Ua="zyro",Rp="isExpressCheckoutEnabled",ea="footer",Gb="header",Pa="hiddenSlots",ja="BlockNavigation",oa="BlockLayout",xg="BlockBlogHeader",sc="BlockBlogList",k4="BlockImageSlideshow",ha="BlockEcommerceProduct",Zr="BlockEcommerceProductList",Qr="BlockStickyBar",CC="image",$o="stickyBar",ii="GridButton",Tg="GridStripeButton",ps="GridEcommerceButton",Wa="GridMap",qa="GridVideo",kn="GridImage",Oo="GridTextBox",na="GridForm",ia="GridInstagramFeed",Zi="GridSocialIcons",Ci="GridGallery",Ol="GridEmbed",ba="GridShape",Rl="SearchBar",PC="a",BC="div",Cg="lightbox",Mp="link",E4="none",pe="mobile",_e="desktop",I4={[pe]:{left:0,top:0,width:0,height:0},[_e]:{left:0,top:0,width:0,height:0}},AC=[kn,Wa,qa,Oo,Ci,ia,Ol,na,Zi,ba,Rl],S1=[kn,Wa,qa,ba,ii,ii,ps],Er=1224,u0=100,DC=40,p0=24,Ir=16,g0=!0,m0=!0,zC={snapRowHeight:p0,snapRowGap:Ir,shouldSnapToElements:g0,shouldSnapToGuides:m0},qs="global",Sr="element",Dc=[sc,xg,Zr,ha,Qr],x1=[kn,Ci,ia,...Dc],zc=[Ol],sa="data-animation-role",h0="image",Xr="block-element",rs="data-animation-state",Ra="active",Lc="data-element-id",T1="data-prevent-native-click",ds="data-el-id",LC=["noscript-gtm"],$C="min read",OC="error",$c="success",RC="warning",MC="info",S4="logo",vo="data-selector",NC="data-grid-resizer",Fb="data-modal-backdrop",b0="data-drawer-trigger",x4="data-toast",T4="data-submission-export",fl="data-popup-content",C4="data-tooltip-content",qd="data-context-menu",Yd="data-asset-manager",P4="data-heatmap-header",B4="data-haichatbot",A4="data-resize-dots",f0="data-image",D4="data-overlay-modal",ac="data-font-select",z4="data-modal",y0="data-language-delete",HC="data-product-template-delete",L4="data-product-template-rename",GC=[".builder-preview.space",".builder-preview.com"],FC=["builder-preview.space","builder-preview.com"],VC=1e3,UC=600,jC=528,WC=400,Km=64,qC={PNG:{name:"PNG"},SVG:{name:"SVG"}},C1="#00000000",Pg={PAGES:"pages and navigation",STORE:"online store",BLOG:"blog",PUBLISH:"publish modal"},P1="headerLayout",B1="mHeaderLayout",Si={MOBILE_1:"mobile-1",MOBILE_2:"mobile-2",MOBILE_3:"mobile-3",DESKTOP_1:"desktop-1",DESKTOP_2:"desktop-2",DESKTOP_3:"desktop-3",DESKTOP_4:"desktop-4",DESKTOP_5:"desktop-5"},Fe={IMAGE:"image",COLOR:"color",GRADIENT:"gradient",VIDEO:"video"},YC="ai-preview",Zm="cart-id",KC="expressCheckoutEnabled_4t5Q",lr={Image:"image",Text:"text"},A1=24,Vb=24,$4="Logo",nn="font-size",Dn="m-font-size",Bg="font-family",xr="font-weight",Oc="line-height",rr="color",v0="text-decoration",_0="text-transform",w0="letter-spacing",Ln="primary",Pi="secondary",O4="padding-y",R4="m-padding-y",M4="padding-x",N4="m-padding-x",ZC="background-color-null",Eu="background-color",QC="border-width",ll="border-color",XC="border-radius",Tr="h1",Cr="h2",Pr="h3",Br="h4",Ar="h5",Dr="h6",zr="body-small",Lr="body",$r="body-large",xl="nav-link",Rc="font",Mc="grid-button-primary",Nc="grid-button-secondary",H4=[Tr,Cr,Pr,Br,Ar,Dr,zr,Lr,$r,xl,Mc,Nc],G4=[Tr,Cr,Pr,Br,Ar,Dr],JC=[zr,Lr,$r];var Lo=(t=>(t.DEFAULT="default",t.PRICE_LTH="priceLTH",t.PRICE_HTL="priceHTL",t.MOST_RECENT="mostRecent",t))(Lo||{});const ci={HTTPS:"https://",HTTP:"http://",TEL:"tel:",EMAIL:"mailto:",BASE:"/"};var le=(t=>(t.EXTERNAL="external",t.DOWNLOAD="download",t.ANCHORED_SECTION="anchored-section",t.EMAIL="email",t.PHONE="phone",t.PAGE="page",t))(le||{}),lo=(t=>(t.LINK="Link",t.PAGE="Page",t.FOLDER="Folder",t.HOMEPAGE="Homepage",t))(lo||{}),ti=(t=>(t.NO_EFFECT="no_effect",t.ZOOM="zoom",t.SWAP_IMAGE="swap_image",t))(ti||{}),Yo=(t=>(t.CONTAIN="contain",t.COVER="cover",t.LANDSCAPE="landscape",t.PORTRAIT="portrait",t))(Yo||{}),io=(t=>(t.ELEMENT_TYPE_BUTTON="GridButton",t.ELEMENT_TYPE_STRIPE_BUTTON="GridStripeButton",t.ELEMENT_TYPE_ECOMMERCE_BUTTON="GridEcommerceButton",t.ELEMENT_TYPE_MAP="GridMap",t.ELEMENT_TYPE_VIDEO="GridVideo",t.ELEMENT_TYPE_IMAGE="GridImage",t.ELEMENT_TYPE_TEXT_BOX="GridTextBox",t.ELEMENT_TYPE_FORM="GridForm",t.ELEMENT_TYPE_INSTAGRAM_FEED="GridInstagramFeed",t.ELEMENT_TYPE_SOCIAL_ICONS="GridSocialIcons",t.ELEMENT_TYPE_GALLERY="GridGallery",t.ELEMENT_TYPE_EMBED="GridEmbed",t.ELEMENT_TYPE_SHAPE="GridShape",t.ELEMENT_TYPE_SEARCH_BAR="SearchBar",t))(io||{}),qo=(t=>(t.BLOCK_NAVIGATION="BlockNavigation",t.BLOCK_BLOG_LIST="BlockBlogList",t.BLOCK_BLOG_HEADER="BlockBlogHeader",t.BLOCK_ECOMMERCE_PRODUCT="BlockEcommerceProduct",t.BLOCK_ECOMMERCE_PRODUCT_LIST="BlockEcommerceProductList",t.BLOCK_LAYOUT="BlockLayout",t.BLOCK_IMAGES_SLIDESHOW="BlockImageSlideshow",t.BLOCK_STICKY_BAR="BlockStickyBar",t))(qo||{}),wn=(t=>(t.PAGINATION="pagination",t.SCROLL="scroll",t))(wn||{}),dr=(t=>(t.None="none",t.Fade="fade",t.Slide="slide",t.Scale="scale",t))(dr||{}),hn=(t=>(t.RECTANGLE="rectangle",t.ELLIPSE="ellipse",t.TRIANGLE="triangle",t.RHOMBUS="rhombus",t.HEXAGON="hexagon",t.OCTAGON="octagon",t.STAR="star",t.DODECAGRAM="dodecagram",t.HOR_LINE="horizontal-line",t.BOLDEN_HOR_LINE="bolded-horizontal-line",t.DOTTED_HOR_LINE="dotted-horizontal-line",t.DASHED_HOR_LINE="dashed-horizontal-line",t.VER_LINE="vertical-line",t.BOLDED_VER_LINE="bolded-vertical-line",t.DOTTED_VER_LINE="dotted-vertical-line",t.DASHED_VER_LINE="dashed-vertical-line",t))(hn||{}),ei=(t=>(t.PAGE_TYPE_DEFAULT="default",t.PAGE_TYPE_BLOG="blog",t.PAGE_TYPE_ECOMMERCE_PRODUCT="ecommerce-product",t.PAGE_TYPE_ECOMMERCE_DYNAMIC_PRODUCT="ecommerce-dynamic-product",t.PAGE_TYPE_PRIVATE="private",t))(ei||{});const F4={title:"English",value:"en"},Tl=[F4,{title:"Abkhazian",value:"ab"},{title:"Afar",value:"aa"},{title:"Akan",value:"ak"},{title:"Aragonese",value:"an"},{title:"Assamese",value:"as"},{title:"Avaric",value:"av"},{title:"Avestan",value:"ae"},{title:"Aymara",value:"ay"},{title:"Bambara",value:"bm"},{title:"Bashkir",value:"ba"},{title:"Bihari",value:"bh"},{title:"Bislama",value:"bi"},{title:"Breton",value:"br"},{title:"Chamorro",value:"ch"},{title:"Chechen",value:"ce"},{title:"Chichewa, Chewa, Nyanja",value:"ny"},{title:"Chuvash",value:"cv"},{title:"Cornish",value:"kw"},{title:"Cree",value:"cr"},{title:"Divehi, Dhivehi, Maldivian",value:"dv"},{title:"Dzongkha",value:"dz"},{title:"Ewe",value:"ee"},{title:"Faroese",value:"fo"},{title:"Fijian",value:"fj"},{title:"Fula, Fulah, Pulaar, Pular",value:"ff"},{title:"Greenlandic, Kalaallisut",value:"kl"},{title:"Guarani",value:"gn"},{title:"Haitian Creole",value:"ht"},{title:"Herero",value:"hz"},{title:"Hiri Motu",value:"ho"},{title:"Ido",value:"io"},{title:"Igbo",value:"ig"},{title:"Interlingua",value:"ia"},{title:"Interlingue",value:"ie"},{title:"Inuktitut",value:"iu"},{title:"Inupiak",value:"ik"},{title:"Kashmiri",value:"ks"},{title:"Kikuyu",value:"ki"},{title:"Kinyarwanda (Rwanda)",value:"rw"},{title:"Kirundi",value:"rn"},{title:"Komi",value:"kv"},{title:"Kongo",value:"kg"},{title:"Kwanyama",value:"kj"},{title:"Latin",value:"la"},{title:"Limburgish (Limburger)",value:"li"},{title:"Lingala",value:"ln"},{title:"Luga-Katanga",value:"lu"},{title:"Luganda, Ganda",value:"lg"},{title:"Gaelic, Manx",value:"gv"},{title:"Marshallese",value:"mh"},{title:"Moldavian",value:"mo"},{title:"Nauru",value:"na"},{title:"Navajo",value:"nv"},{title:"Ndonga",value:"ng"},{title:"Northern Ndebele",value:"nd"},{title:"Norwegian nynorsk",value:"nn"},{title:"Nuosu, Sichuan Yi",value:"ii"},{title:"Occitan",value:"oc"},{title:"Ojibwe",value:"oj"},{title:"Old Church Slavonic, Old Bulgarian",value:"cu"},{title:"Oriya",value:"or"},{title:"Oromo (Afaan Oromo)",value:"om"},{title:"Ossetian",value:"os"},{title:"Pāli",value:"pi"},{title:"Quechua",value:"qu"},{title:"Romansh",value:"rm"},{title:"Sami",value:"se"},{title:"Sango",value:"sg"},{title:"Sanskrit",value:"sa"},{title:"Serbo-Croatian",value:"sh"},{title:"Setswana",value:"tn"},{title:"Southern Ndebele",value:"nr"},{title:"Swati, Siswati",value:"ss"},{title:"Tagalog",value:"tl"},{title:"Tahitian",value:"ty"},{title:"Tibetan",value:"bo"},{title:"Tigrinya",value:"ti"},{title:"Tonga",value:"to"},{title:"Tsonga",value:"ts"},{title:"Turkmen",value:"tk"},{title:"Twi",value:"tw"},{title:"Uyghur",value:"ug"},{title:"Venda",value:"ve"},{title:"Volapük",value:"vo"},{title:"Wallon",value:"wa"},{title:"Wolof",value:"wo"},{title:"Yiddish",value:"yi, ji"},{title:"Zhuang, Chuang",value:"za"},{title:"Afrikaans",value:"af"},{title:"Albanian",value:"sq"},{title:"Albanian (Albania)",value:"sq-AL"},{title:"Amharic",value:"am"},{title:"Arabic",value:"ar"},{title:"Arabic (Bahrain)",value:"ar-BH"},{title:"Arabic (Egypt)",value:"ar-EG"},{title:"Arabic (Jordan)",value:"ar-JO"},{title:"Arabic (Kuwait)",value:"ar-KW"},{title:"Arabic (Oman)",value:"ar-OM"},{title:"Arabic (Qatar)",value:"ar-QA"},{title:"Arabic (Saudi Arabia)",value:"ar-SA"},{title:"Arabic (Tunisia)",value:"ar-TN"},{title:"Arabic (United Arab Emirates)",value:"ar-AE"},{title:"Armenian",value:"hy"},{title:"Armenian (Armenia)",value:"hy-AM"},{title:"Azerbaijani",value:"az"},{title:"Basque",value:"eu"},{title:"Belarusian",value:"be"},{title:"Belarusian (Belarus)",value:"be-BY"},{title:"Bengali",value:"bn"},{title:"Bosnian",value:"bs"},{title:"Bosnian (Bosnia and Herzegovina)",value:"bs-BA"},{title:"Bulgarian",value:"bg"},{title:"Burmese",value:"my"},{title:"Burmese (Myanmar)",value:"my-MM"},{title:"Catalan",value:"ca"},{title:"Chinese",value:"zh"},{title:"Chinese - Simplified",value:"zh-Hans"},{title:"Chinese - Traditional",value:"zh-Hant"},{title:"Chinese (China) - Simplified",value:"zh-CN"},{title:"Chinese (Hong Kong)",value:"zh-HK"},{title:"Chinese (Taiwan) - Traditional",value:"zh-TW"},{title:"Corsican",value:"co"},{title:"Croatian",value:"hr"},{title:"Czech",value:"cs"},{title:"Czech (Czech Republic)",value:"cs-CZ"},{title:"Danish",value:"da"},{title:"Danish (Denmark)",value:"da-DK"},{title:"Dutch",value:"nl"},{title:"Dutch (Flemish (Belgium)",value:"nl-BE"},{title:"English (Armenia)",value:"en-AM"},{title:"English (Australian)",value:"en-AU"},{title:"English (Bahrain)",value:"en-BH"},{title:"English (Belgium)",value:"en-BE"},{title:"English (Botswana)",value:"en-BW"},{title:"English (British)",value:"en-GB"},{title:"English (Brunei)",value:"en-BN"},{title:"English (Cambodia)",value:"en-KH"},{title:"English (Canadian)",value:"en-CA"},{title:"English (China)",value:"en-CN"},{title:"English (Cyprus)",value:"en-CY"},{title:"English (Denmark)",value:"en-DK"},{title:"English (Egypt)",value:"en-EG"},{title:"English (Georgia)",value:"en-GE"},{title:"English (Hong Kong)",value:"en-HK"},{title:"English (Iceland)",value:"en-IS"},{title:"English (Indian)",value:"en-IN"},{title:"English (Indonesia)",value:"en-ID"},{title:"English (Iran)",value:"en-IR"},{title:"English (Ireland)",value:"en-IE"},{title:"English (Japan)",value:"en-JP"},{title:"English (Jordan)",value:"en-JO"},{title:"English (Kenya)",value:"en-KE"},{title:"English (Korea)",value:"en-KR"},{title:"English (Kuwait)",value:"en-KW"},{title:"English (Lebanon)",value:"en-LB"},{title:"English (Malaysia)",value:"en-MY"},{title:"English (Malta)",value:"en-MT"},{title:"English (Mauritius)",value:"en-MU"},{title:"English (Mozambique)",value:"en-MZ"},{title:"English (Myanmar)",value:"en-MM"},{title:"English (Namibia)",value:"en-NA"},{title:"English (Netherlands)",value:"en-NL"},{title:"English (New Zealand)",value:"en-NZ"},{title:"English (Norway)",value:"en-NO"},{title:"English (Oman)",value:"en-OM"},{title:"English (Pakistan)",value:"en-PK"},{title:"English (Philippines)",value:"en-PH"},{title:"English (Puerto Rico)",value:"en-PR"},{title:"English (Qatar)",value:"en-QA"},{title:"English (Russian Federation)",value:"en-RU"},{title:"English (Saudi Arabia)",value:"en-SA"},{title:"English (Singapore)",value:"en-SG"},{title:"English (South Africa)",value:"en-ZA"},{title:"English (Sri Lanka)",value:"en-LK"},{title:"English (Sweden)",value:"en-SE"},{title:"English (Switzerland)",value:"en-CH"},{title:"English (Thailand)",value:"en-TH"},{title:"English (U.S.)",value:"en-US"},{title:"English (United Arab Emirates)",value:"en-AE"},{title:"English (Vietnam)",value:"en-VN"},{title:"English (Zambia)",value:"en-ZM"},{title:"English (Zimbabwe)",value:"en-ZW"},{title:"Esperanto",value:"eo"},{title:"Estonian",value:"et"},{title:"Estonian (Estonia)",value:"et-EE"},{title:"Finnish",value:"fi"},{title:"French",value:"fr"},{title:"French (Belgium)",value:"fr-BE"},{title:"French (Canada)",value:"fr-CA"},{title:"French (Luxembourg)",value:"fr-LU"},{title:"French (Morocco)",value:"fr-MA"},{title:"French (Switzerland)",value:"fr-CH"},{title:"French (Tunisia)",value:"fr-TN"},{title:"Frisian (Netherlands)",value:"fy-NL"},{title:"Gaelic",value:"gd"},{title:"Galician",value:"gl"},{title:"Georgian",value:"ka"},{title:"Georgian (Georgia)",value:"ka-GE"},{title:"German",value:"de"},{title:"German (Austria)",value:"de-AT"},{title:"German (Switzerland)",value:"de-CH"},{title:"Greek",value:"el"},{title:"Greek (Cyprus)",value:"el-CY"},{title:"Greek (Greece)",value:"el-GR"},{title:"Gujarati",value:"gu"},{title:"Hausa",value:"ha"},{title:"Hebrew",value:"he"},{title:"Hebrew (modern) (Israel)",value:"he-IL"},{title:"Hindi",value:"hi"},{title:"Hungarian",value:"hu"},{title:"Icelandic",value:"is"},{title:"Indonesian",value:"id"},{title:"Irish",value:"ga"},{title:"Irish (Ireland)",value:"ga-IE"},{title:"Italian",value:"it"},{title:"Italian (Switzerland)",value:"it-CH"},{title:"Japanese",value:"ja"},{title:"Japanese (Japan)",value:"ja-JP"},{title:"Javanese",value:"jv"},{title:"Kannada",value:"kn"},{title:"Kanuri",value:"kr"},{title:"Kazakh",value:"kk"},{title:"Khmer",value:"km"},{title:"Khmer (Cambodia)",value:"km-KH"},{title:"Korean",value:"ko"},{title:"Korean (South Korea)",value:"ko-KR"},{title:"Kurdish",value:"ku"},{title:"Kyrgyz",value:"ky"},{title:"Lao",value:"lo"},{title:"Lao (Lao PDR)",value:"lo-LA"},{title:"Latvian",value:"lv"},{title:"Lithuanian",value:"lt"},{title:"Luxembourgish",value:"lb"},{title:"Macedonian",value:"mk"},{title:"Malagasy",value:"mg"},{title:"Malay",value:"ms"},{title:"Malay (Brunei)",value:"ms-BN"},{title:"Malayalam",value:"ml"},{title:"Maltese",value:"mt"},{title:"Maori",value:"mi"},{title:"Marathi",value:"mr"},{title:"Mongolian",value:"mn"},{title:"Montenegrin",value:"cnr"},{title:"Nepali",value:"ne"},{title:"Norwegian",value:"no"},{title:"Norwegian Bokmål",value:"nb"},{title:"Pashto",value:"ps"},{title:"Persian",value:"fa"},{title:"Persian (Iran)",value:"fa-IR"},{title:"Polish",value:"pl"},{title:"Portuguese",value:"pt"},{title:"Portuguese (Angola)",value:"pt-AO"},{title:"Portuguese (Brazil)",value:"pt-BR"},{title:"Punjabi",value:"pa"},{title:"Romanian",value:"ro"},{title:"Romanian (Moldova)",value:"ro-MD"},{title:"Russian",value:"ru"},{title:"Russian (Moldova)",value:"ru-MD"},{title:"Samoan",value:"sm"},{title:"Serbian",value:"sr"},{title:"Serbian (Suriname)",value:"sr-RS"},{title:"Shona",value:"sn"},{title:"Sindhi",value:"sd"},{title:"Sinhala",value:"si"},{title:"Sinhala (Sri Lanka)",value:"si-LK"},{title:"Slovak",value:"sk"},{title:"Slovenian",value:"sl"},{title:"Somali",value:"so"},{title:"Southern Sotho",value:"st"},{title:"Spanish",value:"es"},{title:"Spanish (Argentina)",value:"es-AR"},{title:"Spanish (Belize)",value:"es-BZ"},{title:"Spanish (Bolivia)",value:"es-BO"},{title:"Spanish (Chile)",value:"es-CL"},{title:"Spanish (Cocos (Keeling) Islands)",value:"es-CC"},{title:"Spanish (Colombia)",value:"es-CO"},{title:"Spanish (Costa Rica)",value:"es-CR"},{title:"Spanish (Dominican Republic)",value:"es-DO"},{title:"Spanish (Ecuador)",value:"es-EC"},{title:"Spanish (El Salvador)",value:"es-SV"},{title:"Spanish (Guatemala)",value:"es-GT"},{title:"Spanish (Honduras)",value:"es-HN"},{title:"Spanish (Mexico)",value:"es-MX"},{title:"Spanish (Nicaragua)",value:"es-NI"},{title:"Spanish (Panama)",value:"es-PA"},{title:"Spanish (Paraguay)",value:"es-PY"},{title:"Spanish (Peru)",value:"es-PE"},{title:"Spanish (Puerto Rico)",value:"es-PR"},{title:"Spanish (Uruguay)",value:"es-UY"},{title:"Spanish (Venezuela)",value:"es-VE"},{title:"Sundanese",value:"su"},{title:"Swahili",value:"sw"},{title:"Swedish",value:"sv"},{title:"Swedish (Sweden)",value:"sv-SE"},{title:"Tajik",value:"tg"},{title:"Tamil",value:"ta"},{title:"Tatar",value:"tt"},{title:"Telugu",value:"te"},{title:"Thai",value:"th"},{title:"Turkish",value:"tr"},{title:"Ukrainian",value:"uk"},{title:"Ukrainian (Ukraine)",value:"uk-UA"},{title:"Urdu",value:"ur"},{title:"Uzbek",value:"uz"},{title:"Vietnamese",value:"vi"},{title:"Vietnamese (Vietnam)",value:"vi-VN"},{title:"Welsh",value:"cy"},{title:"Western Frisian",value:"fy"},{title:"Xhosa",value:"xh"},{title:"Yiddish",value:"yi"},{title:"Yoruba",value:"yo"},{title:"Zulu",value:"zu"}],Ag=[{locale:"af",name:"Afrikaans",country:"za",flagPath:"za.svg",alternateName:"",languageCode:"af"},{locale:"sq",name:"Albanian",country:"al",flagPath:"al.svg",alternateName:"",languageCode:"sq"},{locale:"ar",name:"العربية (DZ)",country:"dz",flagPath:"dz.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (BH)",country:"bh",flagPath:"bh.svg",alternateName:"Arabic",languageCode:"ar-BH"},{locale:"ar",name:"العربية (EG)",country:"eg",flagPath:"eg.svg",alternateName:"Arabic",languageCode:"ar-EG"},{locale:"ar",name:"العربية (IQ)",country:"iq",flagPath:"iq.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (JO)",country:"jo",flagPath:"jo.svg",alternateName:"Arabic",languageCode:"ar-JO"},{locale:"ar",name:"العربية (KW)",country:"kw",flagPath:"kw.svg",alternateName:"Arabic",languageCode:"ar-KW"},{locale:"ar",name:"العربية (LB)",country:"lb",flagPath:"lb.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (LY)",country:"ly",flagPath:"ly.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (MA)",country:"ma",flagPath:"ma.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (OM)",country:"om",flagPath:"om.svg",alternateName:"Arabic",languageCode:"ar-OM"},{locale:"ar",name:"العربية (QA)",country:"qa",flagPath:"qa.svg",alternateName:"Arabic",languageCode:"ar-QA"},{locale:"ar",name:"العربية (SA)",country:"sa",flagPath:"sa.svg",alternateName:"Arabic",languageCode:"ar-SA"},{locale:"ar",name:"العربية (SY)",country:"sy",flagPath:"sy.svg",alternateName:"Arabic",languageCode:""},{locale:"ar",name:"العربية (TN)",country:"tn",flagPath:"tn.svg",alternateName:"Arabic",languageCode:"ar-TN"},{locale:"ar",name:"العربية (AE)",country:"ae",flagPath:"ae.svg",alternateName:"Arabic",languageCode:"ar-AE"},{locale:"ar",name:"العربية (YE)",country:"ye",flagPath:"ye.svg",alternateName:"Arabic",languageCode:""},{locale:"hy",name:"Հայերեն",country:"am",flagPath:"am.svg",alternateName:"Armenian",languageCode:"hy"},{locale:"az",name:"Azərbaycanca",country:"az",flagPath:"az.svg",alternateName:"Azerbaijani",languageCode:"az"},{locale:"ms",name:"Bahasa Melayu (BN)",country:"bn",flagPath:"bn.svg",alternateName:"Malay",languageCode:"ms"},{locale:"ms",name:"Bahasa Melayu (ID)",country:"id",flagPath:"id.svg",alternateName:"Malay",languageCode:"ms"},{locale:"ms",name:"Bahasa Melayu (MY)",country:"my",flagPath:"my.svg",alternateName:"Malay",languageCode:"ms"},{locale:"ms",name:"Bahasa Melayu (SG)",country:"sg",flagPath:"sg.svg",alternateName:"Malay",languageCode:"ms"},{locale:"eu",name:"Euskara",country:"es",flagPath:"",alternateName:"Basque",languageCode:"eu"},{locale:"by",name:"Беларуская",country:"by",flagPath:"by.svg",alternateName:"Belarusian",languageCode:""},{locale:"bn",name:"বাংলা",country:"bd",flagPath:"bd.svg",alternateName:"Bengali",languageCode:"bn"},{locale:"bg",name:"Български",country:"bg",flagPath:"bg.svg",alternateName:"Bulgarian",languageCode:"bg"},{locale:"bs",name:"Bosanski",country:"ba",flagPath:"ba.svg",alternateName:"Bosnian",languageCode:"bs"},{locale:"ca",name:"Català (ES)",country:"es",flagPath:"es-ct.svg",alternateName:"Catalan",languageCode:"ca"},{locale:"ca",name:"Català (AD)",country:"ad",flagPath:"ad.svg",alternateName:"Catalan",languageCode:"ca"},{locale:"cs",name:"Čeština",country:"cz",flagPath:"cz.svg",alternateName:"Czech",languageCode:"cs"},{locale:"da",name:"Dansk",country:"dk",flagPath:"dk.svg",alternateName:"Danish",languageCode:"da"},{locale:"de",name:"Deutsch (AT)",country:"at",flagPath:"at.svg",alternateName:"",languageCode:"de-AT"},{locale:"de",name:"Deutsch (LI)",country:"li",flagPath:"li.svg",alternateName:"",languageCode:""},{locale:"de",name:"Deutsch (LU)",country:"lu",flagPath:"lu.svg",alternateName:"",languageCode:""},{locale:"de",name:"Deutsch (DE)",country:"de",flagPath:"de.svg",alternateName:"",languageCode:""},{locale:"de",name:"Deutsch (CH)",country:"ch",flagPath:"ch.svg",alternateName:"",languageCode:"de-CH"},{locale:"et",name:"Eesti",country:"ee",flagPath:"ee.svg",alternateName:"Estonian",languageCode:"et"},{locale:"el",name:"Ελληνικά",country:"gr",flagPath:"gr.svg",alternateName:"Greek",languageCode:"el-GR"},{locale:"en",name:"English (PH)",country:"ph",flagPath:"ph.svg",alternateName:"English (PH)",languageCode:"en-PH"},{locale:"en",name:"English (US)",country:"us",flagPath:"us.svg",alternateName:"",languageCode:"en-US"},{locale:"en",name:"English (AU)",country:"au",flagPath:"au.svg",alternateName:"",languageCode:"en-AU"},{locale:"en",name:"English (BZ)",country:"bz",flagPath:"bz.svg",alternateName:"",languageCode:""},{locale:"en",name:"English (CA)",country:"ca",flagPath:"ca.svg",alternateName:"",languageCode:"en-CA"},{locale:"en",name:"English (IE)",country:"ie",flagPath:"ie.svg",alternateName:"",languageCode:"en-IE"},{locale:"en",name:"English (JM)",country:"jm",flagPath:"jm.svg",alternateName:"",languageCode:""},{locale:"en",name:"English (NZ)",country:"nz",flagPath:"nz.svg",alternateName:"",languageCode:"en-NZ"},{locale:"en",name:"English (ZA)",country:"za",flagPath:"za.svg",alternateName:"",languageCode:"en-ZA"},{locale:"en",name:"English (TT)",country:"tt",flagPath:"tt.svg",alternateName:"",languageCode:""},{locale:"en",name:"English (GB)",country:"gb",flagPath:"gb.svg",alternateName:"",languageCode:"en-GB"},{locale:"es",name:"Español (AR)",country:"ar",flagPath:"ar.svg",alternateName:"Spanish",languageCode:"es-AR"},{locale:"es",name:"Español (BO)",country:"bo",flagPath:"bo.svg",alternateName:"Spanish",languageCode:"es-BO"},{locale:"es",name:"Español (CL)",country:"cl",flagPath:"cl.svg",alternateName:"Spanish",languageCode:"es-CL"},{locale:"es",name:"Español (CO)",country:"co",flagPath:"co.svg",alternateName:"Spanish",languageCode:"es-CO"},{locale:"es",name:"Español (CR)",country:"cr",flagPath:"cr.svg",alternateName:"Spanish",languageCode:"es-CR"},{locale:"es",name:"Español (DO)",country:"do",flagPath:"do.svg",alternateName:"Spanish",languageCode:"es-DO"},{locale:"es",name:"Español (EC)",country:"ec",flagPath:"ec.svg",alternateName:"Spanish",languageCode:"es-EC"},{locale:"es",name:"Español (SV)",country:"sv",flagPath:"sv.svg",alternateName:"Spanish",languageCode:"es-SV"},{locale:"es",name:"Español (GT)",country:"gt",flagPath:"gt.svg",alternateName:"Spanish",languageCode:"es-GT"},{locale:"es",name:"Español (HN)",country:"hn",flagPath:"hn.svg",alternateName:"Spanish",languageCode:"es-HN"},{locale:"es",name:"Español (MX)",country:"mx",flagPath:"mx.svg",alternateName:"Spanish",languageCode:"es-MX"},{locale:"es",name:"Español (NI)",country:"ni",flagPath:"ni.svg",alternateName:"Spanish",languageCode:"es-NI"},{locale:"es",name:"Español (PA)",country:"pa",flagPath:"pa.svg",alternateName:"Spanish",languageCode:"es-PA"},{locale:"es",name:"Español (PY)",country:"py",flagPath:"py.svg",alternateName:"Spanish",languageCode:"es-PY"},{locale:"es",name:"Español (PE)",country:"pe",flagPath:"pe.svg",alternateName:"Spanish",languageCode:"es-PE"},{locale:"es",name:"Español (PR)",country:"pr",flagPath:"pr.svg",alternateName:"Spanish",languageCode:"es-PR"},{locale:"es",name:"Español (ES)",country:"es",flagPath:"es.svg",alternateName:"Spanish",languageCode:""},{locale:"es",name:"Español (UY)",country:"uy",flagPath:"uy.svg",alternateName:"Spanish",languageCode:"es-UY"},{locale:"es",name:"Español (VE)",country:"ve",flagPath:"ve.svg",alternateName:"Spanish",languageCode:"es-VE"},{locale:"fr",name:"Français (BE)",country:"be",flagPath:"be.svg",alternateName:"French",languageCode:"fr-BE"},{locale:"fr",name:"Français (CA)",country:"ca",flagPath:"ca.svg",alternateName:"French",languageCode:"fr-CA"},{locale:"fr",name:"Français (LU)",country:"lu",flagPath:"lu.svg",alternateName:"French",languageCode:"fr-LU"},{locale:"fr",name:"Français (FR)",country:"fr",flagPath:"fr.svg",alternateName:"French",languageCode:""},{locale:"fr",name:"Français (CH)",country:"ch",flagPath:"ch.svg",alternateName:"French",languageCode:"fr-CH"},{locale:"gl",name:"Galego (GL)",country:"pt",flagPath:"pt.svg",alternateName:"Galician",languageCode:"gl"},{locale:"gu",name:"ગુજરાતી (IN)",country:"in",flagPath:"in.svg",alternateName:"Gujarati",languageCode:"gu"},{locale:"my",name:"မြန်မာဘာသာ (MM)",country:"mm",flagPath:"mm.svg",alternateName:"Burmese",languageCode:"my"},{locale:"zh",name:"汉语 (HK)",country:"hk",flagPath:"hk.svg",alternateName:"Chinese",languageCode:"zh-HK"},{locale:"zh",name:"汉语 (CN)",country:"cn",flagPath:"cn.svg",alternateName:"Chinese",languageCode:"zh-CN"},{locale:"zh",name:"汉语 (SG)",country:"sg",flagPath:"sg.svg",alternateName:"Chinese",languageCode:""},{locale:"zh",name:"汉语 (TW)",country:"tw",flagPath:"tw.svg",alternateName:"Chinese",languageCode:"zh-TW"},{locale:"zh",name:"中文 (HK)",country:"hk",flagPath:"hk.svg",alternateName:"Chinese",languageCode:"zh-HK"},{locale:"zh",name:"中文 (TW)",country:"tw",flagPath:"tw.svg",alternateName:"Chinese",languageCode:"zh-TW"},{locale:"ko",name:"한국어 (KR)",country:"kr",flagPath:"kr.svg",alternateName:"Korean",languageCode:"ko"},{locale:"ko",name:"한국어 (KP)",country:"kp",flagPath:"kp.svg",alternateName:"Korean",languageCode:"ko"},{locale:"hi",name:"हिन्दी",country:"in",flagPath:"in.svg",alternateName:"Hindi",languageCode:"hi"},{locale:"kn",name:"ಕನ್ನಡ",country:"in",flagPath:"in.svg",alternateName:"Kannada",languageCode:"kn"},{locale:"hr",name:"Hrvatski",country:"hr",flagPath:"hr.svg",alternateName:"Croatian",languageCode:"hr"},{locale:"id",name:"Bahasa Indonesia",country:"id",flagPath:"id.svg",alternateName:"Indonesian",languageCode:"id"},{locale:"is",name:"Íslenska",country:"is",flagPath:"is.svg",alternateName:"Icelandic",languageCode:"is"},{locale:"it",name:"Italiano (IT)",country:"it",flagPath:"it.svg",alternateName:"Italian",languageCode:"it"},{locale:"it",name:"Italiano (CH)",country:"ch",flagPath:"ch.svg",alternateName:"Italian",languageCode:"it"},{locale:"he",name:"עברית",country:"il",flagPath:"il.svg",alternateName:"Hebrew",languageCode:"he"},{locale:"ka",name:"ქართული",country:"ge",flagPath:"ge.svg",alternateName:"Georgian",languageCode:"ka"},{locale:"ku",name:"Kurdî (TR)",country:"tr",flagPath:"tr.svg",alternateName:"Kurdish",languageCode:"ku"},{locale:"ku",name:"Kurdî (IR)",country:"ir",flagPath:"ir.svg",alternateName:"Kurdish",languageCode:"ku"},{locale:"ku",name:"Kurdî (IQ)",country:"iq",flagPath:"iq.svg",alternateName:"Kurdish",languageCode:"ku"},{locale:"ku",name:"Kurdî (SY)",country:"sy",flagPath:"sy.svg",alternateName:"Kurdish",languageCode:"ku"},{locale:"lv",name:"Latviešu",country:"lv",flagPath:"lv.svg",alternateName:"Latvian",languageCode:"lv"},{locale:"lb",name:"Lëtzebuergesch",country:"lu",flagPath:"lu.svg",alternateName:"Luxembourgish",languageCode:"lb"},{locale:"lt",name:"Lietuviškai",country:"lt",flagPath:"lt.svg",alternateName:"Lithuanian",languageCode:"lt"},{locale:"hu",name:"Magyar",country:"hu",flagPath:"hu.svg",alternateName:"Hungarian",languageCode:"hu"},{locale:"mk",name:"Македонски",country:"mk",flagPath:"mk.svg",alternateName:"Macedonian",languageCode:"mk"},{locale:"mt",name:"Malti",country:"mt",flagPath:"mt.svg",alternateName:"Maltese",languageCode:"mt"},{locale:"mo",name:"Moldovenească",country:"md",flagPath:"md.svg",alternateName:"Moldovan",languageCode:"mo"},{locale:"mn",name:"Монгол",country:"mn",flagPath:"mn.svg",alternateName:"Mongolian",languageCode:"mn"},{locale:"mr",name:"मराठी",country:"in",flagPath:"in.svg",alternateName:"Marathi",languageCode:"mr"},{locale:"ro",name:"Română (RO)",country:"ro",flagPath:"ro.svg",alternateName:"Romanian",languageCode:"ro"},{locale:"ro",name:"Română (MD)",country:"md",flagPath:"md.svg",alternateName:"Romanian",languageCode:"ro"},{locale:"ja",name:"日本語",country:"jp",flagPath:"jp.svg",alternateName:"Japanese",languageCode:"ja"},{locale:"nl",name:"Nederlands (BE)",country:"be",flagPath:"be.svg",alternateName:"Dutch",languageCode:"nl"},{locale:"nl",name:"Nederlands (NL)",country:"nl",flagPath:"nl.svg",alternateName:"Dutch",languageCode:"nl"},{locale:"no",name:"Norsk",country:"no",flagPath:"no.svg",alternateName:"Norwegian",languageCode:"no"},{locale:"pl",name:"Polski",country:"pl",flagPath:"pl.svg",alternateName:"Polish",languageCode:"pl"},{locale:"pt",name:"Português (BR)",country:"br",flagPath:"br.svg",alternateName:"Portuguese",languageCode:"pt-BR"},{locale:"pt",name:"Português (PT)",country:"pt",flagPath:"pt.svg",alternateName:"Portuguese",languageCode:""},{locale:"pa",name:"ਪੰਜਾਬੀ (IN)",country:"in",flagPath:"",alternateName:"Punjabi",languageCode:"pa"},{locale:"ru",name:"Русский (RU)",country:"ru",flagPath:"ru.svg",alternateName:"Russian",languageCode:"ru"},{locale:"ru",name:"Русский (MD)",country:"md",flagPath:"md.svg",alternateName:"Russian",languageCode:"ru"},{locale:"sr",name:"Српски",country:"rs",flagPath:"rs.svg",alternateName:"Serbian",languageCode:"sr"},{locale:"sk",name:"Slovenčina",country:"sk",flagPath:"sk.svg",alternateName:"Slovak",languageCode:"sk"},{locale:"lk",name:"සිංහල",country:"lk",flagPath:"lk.svg",alternateName:"Sinhala",languageCode:""},{locale:"sd",name:"سنڌي (PK)",country:"pk",flagPath:"pk.svg",alternateName:"Sindhi",languageCode:"sd"},{locale:"sd",name:"سنڌي (IN)",country:"in",flagPath:"in.svg",alternateName:"Sindhi",languageCode:"sd"},{locale:"sl",name:"Slovene",country:"si",flagPath:"si.svg",alternateName:"Slovene",languageCode:"sl"},{locale:"sv",name:"Svenska (SE)",country:"se",flagPath:"se.svg",alternateName:"Swedish",languageCode:"sv"},{locale:"sv",name:"Svenska (FI)",country:"fi",flagPath:"fi.svg",alternateName:"Swedish",languageCode:"sv"},{locale:"fi",name:"Suomi",country:"fi",flagPath:"fi.svg",alternateName:"Finnish",languageCode:"fi"},{locale:"fas",name:"فارسی",country:"ir",flagPath:"ir.svg",alternateName:"Persian",languageCode:""},{locale:"ta",name:"தமிழ்",country:"in",flagPath:"in.svg",alternateName:"Tamil",languageCode:"ta"},{locale:"te",name:"తెలుగు",country:"in",flagPath:"in.svg",alternateName:"Telugu",languageCode:"te"},{locale:"th",name:"ภาษาไทย",country:"th",flagPath:"th.svg",alternateName:"Thai",languageCode:"th"},{locale:"vi",name:"Tiếng Việt",country:"vn",flagPath:"vn.svg",alternateName:"Vietnamese",languageCode:"vi"},{locale:"tr",name:"Türkçe",country:"tr",flagPath:"tr.svg",alternateName:"Turkish",languageCode:"tr"},{locale:"tk",name:"Türkmençe",country:"tm",flagPath:"tm.svg",alternateName:"Turkmen",languageCode:"tk"},{locale:"uk",name:"Українська",country:"ua",flagPath:"ua.svg",alternateName:"Ukrainian",languageCode:"uk"},{locale:"ur",name:"اردو",country:"pk",flagPath:"pk.svg",alternateName:"Urdu",languageCode:"ur"},{locale:"kk",name:"Kazakh",country:"kz",flagPath:"kz.svg",alternateName:"Kazakh",languageCode:"kk"},{locale:"ky",name:"Kyrgyz",country:"kg",flagPath:"kg.svg",alternateName:"Kyrgyz",languageCode:"ky"},{locale:"dv",name:"Divehi",country:"mv",flagPath:"mv.svg",alternateName:"Dhivehi",languageCode:"dv"}],D1="googleAdsIds",Ub="multiSelectArea",Np="save-site-notification",tP=["ECONNABORTED","ETIMEDOUT","ERR_NETWORK"],eP="cart",z1="entrance_id",Gi="rgb(255, 255, 255)",oP="000webhost",nP="hostinger",iP="hostinger",sP="panelregression_",L1="gorobots01011+",aP="gorobots01011+freepublish_",Or=56,Qm=1,Dg=4,k0=2,Hp=6,E0={HOME:"home",SIGN_UP:"signup",SIGN_IN:"signin",DOMAINS:"domains",SITES:"sites",TEMPLATES:"templates",NEW_TEMPLATE:"new-template",PAYMENTS:"payments",PRICING:"pricing",SUBSCRIPTIONS:"subscriptions",AI_HEATMAP:"ai/heatmap",CLAIM_FREE_DOMAIN:"my-domains/claim-free-domain",SINGLE_SITE_DASHBOARD:"manage/home",SINGLE_SITE_DASHBOARD_DOMAIN:"manage/domain",SINGLE_SITE_DASHBOARD_SUBSCRIPTION:"manage/subscription",SINGLE_SITE_DASHBOARD_EMAIL:"manage/email",CONSULTATION_PURCHASE:"redirect-to-consultation-purchase"},Gn={DOMAINS:"domains",ADD_DOMAIN:"add-domain",DOMAIN:"domain",DOMAIN_OVERVIEW:"domain-overview",DOMAIN_DNS:"dns",WEBSITES:"websites",UPGRADE:"order/upgrade",REGISTER_DOMAIN_RESOURCE:"register-domain-resource",TRANSFER_DOMAIN:"transfer-domain",VERIFY_PHONE_NUMBER:"verify-phone-number"},bo={BOOKINGS:"booking",CATEGORIES:"categories",CATEGORIES_EDIT:"categories/edit",DISCOUNTS:"discounts",ORDERS:"orders",PRODUCTS:"products",PRODUCTS_ADD:"products/add",PRODUCTS_EDIT:"products/edit",PAYMENT_MANAGEMENT:"store-settings/payment-management",STORE_SETTINGS:"store-settings/store-details",SHIPPING_EDIT:"store-settings/shipping/edit",COMPANY_INFORMATION:"store-settings/company-information",STORE_LANGUAGE:"store-settings/checkout-settings#store-language"},fn={RETURN:"return",LANG:"lang",CATEGORY:"category",SITE_ID:"siteId",SUBSCRIPTION_ID:"subscriptionId",OPEN_INTERCOM:"open-intercom",ACTIVATE_PLAN:"activate-plan",PRODUCT:"product",FLOW:"flow",REDIRECT_URL:"redirectUrl",DRAWER:"drawer",SECTION:"section",TEMPLATE_ID:"templateId"},ts={RETURN_BUILDER:"builder",RETURN_PUBLISH:"builder-publish",RETURN_STOREFRONT:"builder-storefront",RETURN_DOMAIN_CONNECTION:"builder-domain-connection",RETURN_DOMAIN_CONNECTED:"builder-domain-connected",PLANS_TO_SHOW_BASIC_ECOMMERCE:"basicEcommerce",PLANS_TO_SHOW_ECOMMERCE:"ecommerce",PLANS_TO_SHOW_NON_ECOMMERCE:"nonEcommerce",PLANS_TO_SHOW_ALL:"all",PLANS_TO_SHOW_BUSINESS:"business",FLOW_UPGRADE:"FLOW_UPGRADE",FLOW_EXTEND:"FLOW_EXTEND",RETURN_ECOMMERCE_ADMIN:"ecommerce-admin",AI_BUILDER:"ai-builder",ANALYTICS:"analytics",FORMS:"forms",GAMIFICATION:"gamification",PAGES:"pages",EXPORT:"export",INTEGRATIONS:"integrations"},lP={ASSIGN:"assign"},lRt="HPANEL",jb="ONBOARDING_STEP_MULTI_PAGE_DRAWER",Wb="ONBOARDING_STEP_ADD_ELEMENTS_DRAWER",qb="ONBOARDING_STEP_USER_STYLES_DRAWER",Yb="ONBOARDING_STEP_MOBILE_VIEW",Kb="ONBOARDING_STEP_PUBLISH",ar="ONBOARDING_STEPS_SEO_INTRO",Rd="ONBOARDING_STEPS_SEO_BRAND_NAME",Md="ONBOARDING_STEPS_SEO_LANGUAGE",Zb="ONBOARDING_STEPS_SEO_DESCRIPTION",yp="ONBOARDING_STEPS_SEO_BRAND_KEYWORDS",Qb="ONBOARDING_STEPS_SEO_BRAND_REVIEW",rP=[jb,Wb,qb,Yb,Kb],dP=[ar,Rd,Md,Zb,yp,Qb],I0="MULTIPLE_TEMPLATES_ONBOARDING_STEP_PRODUCT_PAGE_LIST",zg="MULTIPLE_TEMPLATES_ONBOARDING_STEP_PRODUCT_PAGE",Lg="MULTIPLE_TEMPLATES_ONBOARDING_STEP_CREATE_TEMPLATES",S0="MULTIPLE_TEMPLATES_ONBOARDING_STEP_EDIT",$1=[I0,zg,Lg,S0],cP={[I0]:{title18nPath:"builder.multipleTemplatesOnboarding.stepListTitle",description18nPath:"builder.multipleTemplatesOnboarding.stepListDescription"},[zg]:{title18nPath:"builder.multipleTemplatesOnboarding.stepPageTitle",description18nPath:"builder.multipleTemplatesOnboarding.stepPageDescription"},[Lg]:{title18nPath:"builder.multipleTemplatesOnboarding.stepTemplateTitle",description18nPath:"builder.multipleTemplatesOnboarding.stepTemplateDescription"},[S0]:{title18nPath:"builder.multipleTemplatesOnboarding.stepEditTitle",description18nPath:"builder.multipleTemplatesOnboarding.stepEditDescription"}},uP="e2e-skip-amplitude",pP="zyroDeviceId",rRt="qaFilterOutAITemplates",V4="hostingerDeviceId",gP="zyroSessionId",U4="user_language",mP="z-www-location-by-locale",hP="language",Xb="siteId",bP="hostinger-qa-no-experiments",j4="z-cookie-nps-hidden",fP=30,yP="_ga",vP="e2e-test-id",dRt="favoriteTemplates",cRt="brand-name",_P="add-first-product-notification-closed-at",O1="is-multiple-templates-onboarding-shown",wP="enable-legacy-product-flow",W4="marketingToolsSurveySent",x0="is-missing-translations-logged",kP="log-missing-translations-to-console",T0="entrance-id",Jb="expressCheckoutPreview",EP="is-onboarding-completed",R1="first-site-generated",vp="credits-order",q4="ai-preview-enabled",IP="hotjar-why-not-published-sent",Gp="is-force-reload-required",Fp="is-revert-reload-required",Y4="current-route-path",M1="builder-has-been-entered",K4="last-force-reload-time",Z4="last-force-revert-reload-version",SP="enable-dev-toolbar",N1="is-referral-nudge-closed",_p="is-site-updated",Q4="is-google-ads-app-modal-hidden",X4="already-logged-missing-translations",_d="is-domain-status-banner-shown-info",Rr="X-Correlation-Id",J4="X-Proxy-Entrance-ID",xP={unleashed:"siteSettings.websitePlanName",ecommerce:"siteSettings.onlineStorePlanName",ecommerceplus:"siteSettings.advancedStorePlanName",ecommercebasic:"siteSettings.ecommerceBasicPlanName",basic:"siteSettings.basicPlanName",business:"siteSettings.businessPlanName"},TP=1,Vp=2,t3=20,e3=23,o3=55,n3=24,uRt=100,wp="Online store",H1="Blog",tf="Business",G1="Portfolio",F1="Restaurant",V1="Weddings invitation",cr="Other",U1="Landing page",CP=2,Iu={DESKTOP:480,MOBILE:320},i3="https://support.hostinger.com/en/articles/6436203-website-builder-how-to-create-and-restore-website-backups",PP="https://roadmap.hostinger.com/tabs/3-website-builder",j1="%{COMPANY_NAME}",W1="%{WEBSITE_NAME}",BP="%{COMPANY_ADDRESS}",AP="%{WEBSITE_ADDRESS}",Xm="%{EMAIL_ADDRESS}",s3="EDIT_TEXT",a3="DRAWER",DP="POPUP",l3="HEATMAP",r3="IMAGE_PROVIDER",d3="BUILDER_PREVIEW",c3="MODAL",zP="GOLIVE10",LP=1682899200,$P=1691539200,vr="start_journey",lc="edit_heading",aa="update_image",rc="edit_paragraph",Bi="add_logo",Zs="update_social_icons",dc="check_mobile_view",Cl="found_google",Mr="go_live",Ba="connect_domain",Up="add_your_first_product",cc="set_up_a_payment_method",jp="review_shipping_options",Wp="update_company_information",uc={ENTER:"website_builder.gamefication.enter",COMPLETED:"website_builder.gamefication.completed",RATED:"website_builder.gamefication.rated",TASK_ENTER:{[vr]:"website_builder.game_start.enter",[lc]:"website_builder.game_edit_heading.enter",[aa]:"website_builder.game_update_image.enter",[rc]:"website_builder.game_edit_paragraph_text.enter",[Bi]:"website_builder.game_add_your_own_log.enter",[Zs]:"website_builder.game_update_social_media.enter",[dc]:"website_builder.game_check_your_mobile.enter",[Cl]:"website_builder.game_get_found_on_google.enter",[Ba]:"website_builder.game_connect_domain.enter",[Mr]:"website_builder.game_go_live.enter",[Up]:"website_builder.game_add_product.enter",[cc]:"website_builder.game_add_payment_method.enter",[jp]:"website_builder.game_update_shipping_options.enter",[Wp]:"website_builder.game_update_company_details.enter"},TASK_COMPLETED:{[vr]:"website_builder.game_start.completed",[lc]:"website_builder.game_edit_heading.completed",[aa]:"website_builder.game_update_image.completed",[rc]:"website_builder.game_edit_paragraph_text.completed",[Bi]:"website_builder.game_add_your_own_log.completed",[Zs]:"website_builder.game_update_social_media.completed",[dc]:"website_builder.game_check_your_mobile.completed",[Cl]:"website_builder.game_get_found_on_google.completed",[Mr]:"website_builder.game_go_live.completed",[Ba]:"website_builder.game_connect_domain.completed",[Up]:"website_builder.game_add_product.completed",[cc]:"website_builder.game_add_payment_method.completed",[jp]:"website_builder.game_update_shipping_options.completed",[Wp]:"website_builder.game_update_company_details.completed"}},OP={[vr]:"builder.gamificationTaskNameStartJourney",[lc]:"builder.gamificationTaskNameEditHeading",[aa]:"builder.gamificationTaskNameUpdateImage",[rc]:"builder.gamificationTaskNameEditParagraph",[Bi]:"builder.gamificationTaskNameAddLogoV2",[Zs]:"builder.gamificationTaskNameUpdateSocialIcons",[dc]:"builder.gamificationTaskNameCheckMobileViewV2",[Cl]:"builder.gamificationTaskNameFoundGoogle",[Ba]:"builder.gamificationTaskConnectDomain",[Mr]:"builder.gamificationTaskNameGoLive",[Up]:"builder.gamificationTaskAddProduct",[cc]:"builder.gamificationTaskAddPaymentMethod",[Wp]:"builder.gamificationTaskUpdateCompanyDetails",[jp]:"builder.gamificationTaskUpdateShippingOptions"},ef={ECOMMERCE:"builder-ecommerce"},RP="version-history",MP="general",NP="integrations",HP="analytics",GP="seo",FP="forms",VP="assets",UP="export",jP="multilanguage",WP="blog",qP="appointments",YP="help",KP="product-updates",u3="BuyCreditsModal",p3="UserTypographyStylesResetModal",g3="UserTypographyResetAllChangesModal",C0="WebsiteEditModal",P0="AddBlockModal",m3="AddPageModal",h3="BlogPostSettingsModal",B0="LinkSettingsModal",ZP="BlogSettingsModal",QP="SubscriptionExpiredModal",XP="PublishedModal",JP="ConnectSubscriptionModal",tB="AssetManager",eB="ChooseBlockPlacementModal",oB="PublishedModalRoot",nB="PublishedModalUpdateSection",iB="PublishModalOption",sB="SystemDialogModal",aB="UnsavedChangesModal",A0="LegalContentGeneratorModal",b3="GeneratePageModal",$g="GenerateSectionModal",f3="NoBackupsModal",Og="CreateQRModal",Rg="QRNotAvailableModal",Ml="UpgradeToBusinessPlanModal",y3="CheckoutSlugErrorModal",v3="SlugsNotValidErrorModal",D0="WordPressExportingModal",z0="WordPressExportCompleteModal",pc="WordPressExportFailModal",L0="ProductPageTemplateModal",lB="MarketingToolsSurveyModal",_3="EcommerceMultipleTemplatesOnboardingModal",$0="EcommerceProductTemplateAssignProductsnModal",O0="EcommerceProductTemplatesRenamenModal",w3="EcommerceProductAssignToTemplateModal",of="AiBlogGeneratorModal",Su="blog-page",xu="lite-store",nf="footer-page",rB="about-page",dB="main",qp="privacy-policy",Yp="refund-policy",Kp="terms-and-conditions",cB="sticky-bar",Ma="blog",yl="online-store",q1="about",uB="contact",pB="projects",gB="services",k3="privacy-policy",E3="refund-policy",I3="terms-and-conditions",mB="portfolio",Jm="appointments",kp="ecommerceSingleProduct",yn="ecommerceProductList",S3="page",hB="blog-post",bB="blog-list",fB=[qp,Yp,Kp],yB=[k3,E3,I3],vB=20,_B=0,wB=2,kB=1,EB=60*1e3,IB=60*60*1e3,x3=24*60*60*1e3,pRt=2e3,hl={[Oc]:"1.3em",[w0]:0,[_0]:"none",[v0]:"none"},Ep={...hl,[Oc]:"1.5em"},th={[nn]:"16px",[Dn]:"16px",...Ep},SB={[Tr]:{[nn]:"64px",[Dn]:"40px",...hl},[Cr]:{[nn]:"56px",[Dn]:"36px",...hl},[Pr]:{[nn]:"48px",[Dn]:"32px",...hl},[Br]:{[nn]:"40px",[Dn]:"24px",...hl},[Ar]:{[nn]:"32px",[Dn]:"24px",...hl},[Dr]:{[nn]:"24px",[Dn]:"20px",...hl},[$r]:{[nn]:"18px",[Dn]:"18px",...Ep},[Lr]:{[nn]:"16px",[Dn]:"16px",...Ep},[zr]:{[nn]:"14px",[Dn]:"14px",...Ep},[xl]:{...th},[Mc]:{...th},[Nc]:{...th}},xB=[Tr,Cr,Pr,Br,Ar,Dr,zr,Lr,$r,xl,Rc,Mc,Nc],eh=[Bg,w0,Oc,nn,Dn,_0,xr,v0,Ln,Pi],$a="ROOT",vs="HIDDEN",TB={[lo.LINK]:{icon:"link"},[lo.PAGE]:{icon:"page"},[lo.FOLDER]:{icon:"dropdown"},[lo.HOMEPAGE]:{icon:"home"}},an="paragraph",_n="heading",sf="textStyle",Zp="listItem",CB="color",Y1="letterCase",K1="link",R0=[1,2,3,4,5,6],T3="body-large",gc="body",C3="body-small",Z1=[{type:T3,level:"1"},{type:gc,level:"2"},{type:C3,level:"3"}],PB=[T3,gc,C3],Q1="p",M0="data-page-id",BB=700,AB=400,oh=8,nh=8,Go={ELEMENT_EDGE:"elementEdge",ELEMENT_CENTER:"elementCenter",COLUMN:"column",ROW:"row",BLOCK_CENTER:"blockCenter"},DB=1,af=20,zB=5e4,Nd=328,LB=["top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"],$B={GridGallery:80,GridInstagramFeed:80,GridForm:80,SearchBar:260},OB=[{value:"top",icon:"align",direction:"up"},{value:"center",icon:"align-middle"},{value:"bottom",icon:"align",direction:"down"}],RB=10,X1=10,J1=35,MB="current-element",NB=12,HB=2,lf=12,t2="isMobileAutoPositioningEnabled",GB=2,FB={[Oo]:"common.text",[kn]:"common.image",[Ci]:"common.gallery",[qa]:"common.video",[Zi]:"common.socialIcons",[Wa]:"common.map",[na]:"common.form",[ii]:"common.button",[Tg]:"common.stripeCheckout",[ps]:"builder.ecommerceAddToBagButton",[ia]:"common.instagramFeed",[Ol]:"common.embedCode",[ba]:"common.shape",[Rl]:"common.searchBar"},N0=/^pk_(?:live|test)_\w{99}$/,P3=/^price_\w{24}$/,VB=/https:\/\/www\.pexels\.com\/video\/[^/]+-(\d+)/,e2=100,UB=5,jB=10,rf="customMeta",WB="customHeadElements",qB="customBodyElements",YB="facebookPixel",KB="googleAdSense",ZB="googleAdMob",QB="googleAnalytics",XB="googleTagManager",JB="hotjar",tA="whatsAppNumber",eA="isPrivateModeActive",B3="small",A3="medium",D3="large",go="UserStylesDrawer",la="BlogDrawer",ss="MultiPageDrawer",Mg="MultilingualDrawer",Ss="AddElementDrawer",oA="AddSectionDrawer",Qp="ChooseStoreDrawer",Pl="ManageStoreDrawer",H0="ManageEcommerceStoreProducts",Ng="ManageEcommerceStoreProductPages",Hg="AiWriterDrawer",Hc="HelpAndResourcesDrawer",vl="GamificationDrawer",hi="SeoDrawer",ur="GeneralSettingsDrawer",Gc="IntegrationsDrawer",Gg="AnalyticsDrawer",Fc="FormsDrawer",Fg="ExportDrawer",mc="MarketingToolsDrawer",o2="productPageTemplate",n2="layout",i2="elements",hc="logo",Kd="cart",Xp="style",nA="GlobalColorsLibrary",G0="TypographyStyleList",z3="ButtonSetsLibrary",iA="AnimationsLibrary",F0="main-page",Ip="typography-category-select",V0="heading-select",Vg="paragraph-select",df="UserStyles",L3="TypographyCategorySelect",cf="TypographyTypeSelect",sA={[F0]:{component:df,title18nPath:"builder.userStyles.title"},[Ip]:{component:L3,title18nPath:"builder.userStyles.typography.textStyles",subtext18nPath:"builder.userStyles.typography.textStylesSub"},[V0]:{component:cf,title18nPath:"builder.userStyles.typography.headings",subtext18nPath:"builder.userStyles.typography.headingsSubtext",fontType:"primary",previousPage:Ip,options:{currentTypographyType:null}},[Vg]:{component:cf,title18nPath:"builder.userStyles.typography.paragraphsAndNavigation",subtext18nPath:"builder.userStyles.typography.paragraphSubtext",fontType:"secondary",previousPage:Ip,options:{currentTypographyType:null}}},uf={[go]:sA},aA={[go]:uf[go][F0]},lA=30,_l="builder-general",Jp="generated-site-preview",U0="generated-online-store-preview",$3="ai-templates-preview",O3="ai-builder-freemium",Ug="ai-writer",j0="element-button",W0="element-search-bar",q0="element-form",Y0="element-embed-code",K0="element-gallery",Z0="element-image",Q0="element-instagram-feed",X0="element-map",Vc="element-simple-store",J0="element-social-icons",ty="element-video",ey="element-text",oy="blog",ny="global-styles-animation",iy="global-styles-buttons",sy="global-styles-colors",ay="global-styles-text",ly="multi-language",ry="element-shape",dy="element-search",jg="builder-gamification",cy="ai-image-generation",uy="ai-page-generation",py="block-sticky-bar",gy="ecomm-product-page-template",my="seo-drawer",hy="block-slideshow",eo={titleI18Key:"builder.nps.scoreTitle",maxScoreI18Key:"builder.nps.extremelyLikely",lowestScoreI18Key:"builder.nps.notLikely"},rA={titleI18Key:"builder.nps.aiScoreTitle",maxScoreI18Key:"builder.nps.extremelyLikely",lowestScoreI18Key:"builder.nps.notLikely"},dA={...eo,formType:_l},cA={...eo,formType:j0},uA={...eo,formType:Y0},pA={...eo,formType:K0},gA={...eo,formType:Z0},mA={...eo,formType:Q0},hA={...eo,formType:X0},bA={...eo,formType:Vc},fA={...eo,formType:J0},yA={...eo,formType:ty},vA={...eo,formType:ey},_A={...eo,formType:q0},wA={...eo,formType:my},kA={...eo,formType:hy},EA={...eo,formType:ny},IA={...eo,formType:iy},SA={...eo,formType:sy},xA={...eo,formType:ay},TA={...eo,formType:ly},CA={...eo,formType:ry},PA={...eo,formType:dy},BA={...eo,formType:W0},AA={...eo,formType:oy},DA={...eo,formType:jg},zA={...rA,formType:O3},LA={...eo,formType:Ug},$A={...eo,formType:cy},OA={...eo,formType:uy},RA={...eo,formType:Jp},MA={...eo,formType:U0},NA={...eo,formType:$3},HA={...eo,formType:py},GA={...eo,formType:gy},s2={[_l]:dA,[Jp]:RA,[U0]:MA,[$3]:NA,[O3]:zA,[j0]:cA,[oy]:AA,[q0]:_A,[Y0]:uA,[K0]:pA,[Z0]:gA,[Q0]:mA,[X0]:hA,[Vc]:bA,[J0]:fA,[ty]:yA,[ey]:vA,[ny]:EA,[iy]:IA,[sy]:SA,[ay]:xA,[ly]:TA,[ry]:CA,[dy]:PA,[W0]:BA,[jg]:DA,[Ug]:LA,[cy]:$A,[uy]:OA,[py]:HA,[gy]:GA,[my]:wA,[hy]:kA},by=["jpeg","jpg","png","ico","gif","webp","svg"],FA=["woff","woff2"],pf=50,gf=15,fy=210,bc=512,ra=250,Zd="light",ih="dark",VA="?w=1366&q=70&auto=format",UA="unsplash",jA="other",R3="assets",WA='data:image/svg+xml,',qA=162,sh="sendFront",ah="sendBack",lh="moveForward",rh="moveBackward",dh="cut",ch="copy",uh="duplicate",ph="delete",YA="theme4",M3="app",N3="builder-preview",H3="drawer-container",G3="builder-preview-mobile-bottom-bar",yy="modal",F3="global-colors-color-picker",V3="asset-manager",Wg=`[data-portal="${M3}"]`,jo=`[data-portal="${N3}"]`,U3=`[data-portal="${G3}"]`,mf=`[data-portal=${yy}]`,KA=`[data-portal="${F3}"]`,a2=`[data-portal="${V3}"]`,ZA=`[data-portal="${H3}"]`,QA="ai-preview",l2="general",tg="style",r2="action",d2="image",c2="shape",eg="animation",u2="normal",XA="hover",og=100,JA=125,p2=15,Sp="Subscribe form",t7={[Oo]:"text",[ii]:"button",[ps]:"add_to_bag",[kn]:"image",[Ci]:"gallery",[qa]:"video",[ba]:"shape",[Wa]:"map",[ia]:"instagram",[na]:"form",[Sp]:"subscribe",[Zi]:"social_icons",[Ol]:"embed_code",[Rl]:"search"},e7={hero:"Hero section is the first thing visitors see on your website, featuring a captivating image or video and a brief message to convey your website's purpose. It's designed to grab attention and encourage exploration, exclusively placed on the homepage. It is always used as a first section in the website's homepage and must not be used anywhere else.",menu:"Menu section used for restaurants, shows food and drink offerings. This section must be used on Menu page only.",about:"About section offers insights into your company, brand, or yourself, covering history, mission, values, and team.",footer:"Contains the footer of the website.",contact:"Contact section provides multiple contact options, like a form, phone number, email, and social media links.",gallery:"Gallery section displays images or videos related to your business or personal events.",location:"Location section offers a map and address, vital for physical businesses like stores or restaurants.",products:"Products section organizes various items for viewing or purchase.",projects:"Projects section showcase completed or ongoing work for service-based businesses.",services:"Services section outlines your business offerings, including pricing, features, and benefits, crucial for potential customers.",blog_posts:"Blog Posts section showcase your latest articles or news for industry insights.",reservation:"Reservation section allows online booking for businesses like restaurants or hotels, often featuring a booking form or call-to-action.",my_background:"My Background section used for personal or portfolio sites, showing details about education, work, skills, and achievements.",blog_post_header:"Contains blog post title, description and cover image.",customer_reviews:"Customer Reviews section displays feedback from previous clients.","Blog post content":"Contains the content of the blog post.",ecommerce_product:"Contains the product's title, description, price and image.",ecommerce_products:"Ecommerce Products section display items for sale in online stores, with images, descriptions, and prices.",banner:"Banner section displays a announcement about sale, free shipping or something similar",headline:"Heading section displays a headline or title.",subscription:"Subscription section usually contains form and allows users to subscribe to certain content.",card:"Card section displays a card or cards with an image, title, subtitle and description."},o7={Gradient:"gradient"},n7={Date:"Date",Image:"Image",Title:"Title",Address:"Address",Subtitle:"Subtitle",Workplace:"Workplace","CTA Button":"CTA Button",Description:"Description",Testimonial:"Testimonial","Price number":"Price number","Address title":"Address title","Email address":"Email address","Working hours":"Working hours","Blog post content":"Blog post content","Full phone number":"Full phone number","Working hours title":"Working hours title","Site title/ Brand name":"Site title/ Brand name","Price with currency (ex. 10$)":"Price with currency (ex. 10$)","Banner text":"Banner text","Headline text":"Headline text","Subscription headline":"Subscription headline","Byline text":"Byline text","Card image":"Card image","Card title":"Card title","Card description":"Card description"},g2=["formal","neutral","casual"],m2=["300-500","800-1000","1500-2000"],da=700,i7=500,Tu=30,h2={TEMPLATES:"templates@hostinger.com",AI_TEMPLATES:"aibuildertemplates@hostinger.com"};var Qd=(t=>(t.BOTTOM="bottom",t.EXACT="exact",t))(Qd||{});const s7=40,vy=50,j3="Description not clear.",a7=7,b2="ai-form",l7="enableDevToolbar",W3="hideRating",Kn={IMAGE:"image",WRITER:"writer",SECTION_GENERATOR:"section-generator",PAGE_GENERATOR:"page-generator",BLOG:"blog",SEO_ASSISTANT:"seo-assistant",PRODUCT_DETAILS_GENERATOR:"product-details-generator",HEATMAP:"heatmap",LOGO:"logo"},Hi={AI_IMAGE:"open_ai_image",AI_LOGO:"open_ai_logo",AI_WRITER:"open_ai_writer",AI_BLOG:"open_ai_blog",AI_HEATMAP:"open_ai_heatmap",AI_PAGE_GENERATOR:"open_ai_page_generator"},r7={[Hi.AI_IMAGE]:Kn.IMAGE,[Hi.AI_LOGO]:Kn.LOGO,[Hi.AI_WRITER]:Kn.WRITER,[Hi.AI_BLOG]:Kn.BLOG,[Hi.AI_HEATMAP]:Kn.HEATMAP,[Hi.AI_PAGE_GENERATOR]:Kn.PAGE_GENERATOR},hf="default",wl="ecommerce",Cu={fixed:"fixed",unset:"unset"},f2=["sd","hd","uhd"],d7=20,c7=500,u7=500,p7=1e3,g7="Ecommerce admin updated",m7="Ecommerce admin unavailable",h7="Ecommerce store onboarding completed",b7="Ecommerce admin loaded",f7="all-products",wd={SMALL:"small"},y7={DONE:"done",IN_PROGRESS:"in_progress"},Jr={AI_BLOG_GENERATOR_MODAL:"ai-blog-generator-modal",AI_IMAGE_GENERATION_POPUP:"ai-image-generation-popup",AI_TEXT_GENERATOR_FORM:"ai-text-generator-form",GENERATE_CONTENT_MODAL:"generate-content-modal",SEO_ONBOARDING_MODAL:"seo-onboarding-modal",AI_HEATMAP_BUTTON:"ai-heatmap-button"},v7="https://hpanel.hostinger.com/help?ref=/websites&topic=website_builder",_7="ai-builder-preview-history",w7=5,q3=20,Y3=400,k7=21,y2=6;var Qs=(t=>(t.HEADER="header",t.BUTTON="button",t.SOCIAL_ICONS="socialIcons",t))(Qs||{});const qn={PALETTE:"palette",PALETTE_AI:"palette-ai"},E7=["Event `CustomEvent` (type=unhandledrejection) captured as promise rejection"],I7=864e5,K3=6048e5,Hd={401:401,403:403,422:422,404:404},v2="Non existing user data token",Z3=3,_2=50,Pu=100,Q3=350,X3=250,w2={Min:10,Max:48},S7=50,gh="https://assets.zyrosite.com",Ke=iP==="hostinger",Io=t=>{const e=`${t}=`,n=decodeURIComponent(document.cookie).split(";");for(let s=0;s{const s=new Date;s.setTime(s.getTime()+o*24*60*60*1e3);const a=o?`expires=${s.toUTCString()};`:"",l=n?`domain=${n};`:"";document.cookie=`${t}=${e};${a}path=/;${l}`},J3=()=>Io(U4),x7=()=>Io(mP),_y=()=>Io(hP),t8=()=>Io(uP)==="true",T7=({userId:t})=>{if(t8())return;const e=Kx();Zx("82eb9b6dc70a29221070ce868d61e7d4",{serverUrl:"https://frontend-event-api.hostinger.com/2/httpapi",deviceId:e,defaultTracking:!1,userId:t,transport:"beacon",flushIntervalMillis:0,flushQueueSize:1})},C7=async(t,e)=>{const o=new qx;o.set(t,e),await Yx(o)},P7=async({eventName:t,eventProperties:e={}})=>{var a;const o=window.screen.width>Bc?"desktop":"mobile",n=(a=wC.getEvent(t))==null?void 0:a.amplitude;if(!n){console.error(`[Amplitude] Event with name - ${t} not found in event list or wrong event object structure`);return}const s={device_mode:o,...e};if(t8()){console.info(`%c [Amplitude]: Sending event - ${n}`,"color: skyblue; font-weight: bold;",s);return}await Wx(n,s).promise},It={initAmplitude:T7,logEvent:P7,setUserProperty:C7},wy=t=>{const e=t.colors.map(o=>o.value).join(", ");return`linear-gradient(${t.angle}deg, ${e})`},B7=["alt","src","srcset","loading"],A7=["src","poster"],e8=K({__name:"BlockBackground",props:{type:{default:Fe.COLOR},alt:{},overlayOpacity:{},src:{},srcset:{},isEager:{type:Boolean},gradient:{},color:{},isFixed:{type:Boolean},isMobile:{type:Boolean,default:!1},isOpacityDisabled:{type:Boolean,default:!1},backgroundImagePosition:{default:"center"},videoPoster:{}},setup(t){fe(u=>({"09dd1150":s.value,32728094:a.value.xStart,34275933:a.value.yStart,"22aea98d":a.value.xEnd,"601455db":e.backgroundImagePosition,"4f04ad46":i.value}));const e=t,o=d(()=>e.type===Fe.VIDEO),n=d(()=>e.type===Fe.IMAGE),s=d(()=>e.type===Fe.GRADIENT&&e.gradient?wy(e.gradient):e.isOpacityDisabled?e.type===Fe.COLOR?e.color:"rgb(255, 255, 255)":e.type===Fe.COLOR?e.color:"transparent"),a=d(()=>{var I;const p=((((I=e.gradient)==null?void 0:I.angle)||0)+90)*Math.PI/180,g=`${Math.round(50-50*Math.cos(p))}%`,f=`${Math.round(50-50*Math.sin(p))}%`,y=`${Math.round(50+50*Math.cos(p))}%`,E=`${Math.round(50+50*Math.sin(p))}%`;return{xStart:g,yStart:f,xEnd:y,yEnd:E}}),l=d(()=>[Fe.IMAGE,Fe.VIDEO].includes(e.type)&&!e.isOpacityDisabled&&e.overlayOpacity),i=d(()=>{const u=e.overlayOpacity?e.overlayOpacity:0;return l.value&&!e.isOpacityDisabled&&u}),c=C(null);return Vt(()=>{Ye(()=>{var u;(u=c.value)==null||u.classList.add("transition-with-bg")})}),(u,p)=>{var f;const g=rt("qa");return r(),v("div",{ref_key:"blockBackgroundRef",ref:c,class:ut(["block-background",{"block-background--fixed":u.isFixed,"block-background--animated-gradient":u.type===m(Fe).GRADIENT&&((f=u.gradient)==null?void 0:f.isAnimated)}])},[n.value?R((r(),v("img",{key:u.src,alt:u.alt,src:u.src,srcset:u.srcset,width:"100vw",sizes:"(max-width: 500px) 800px, 100vw",loading:u.isEager?"eager":"lazy",class:ut(["block-background__image",{"block-background__image--fixed":u.isFixed}])},null,10,B7)),[[g,"block-background-image"]]):B("",!0),o.value?(r(),v("video",{key:u.src,src:u.src,autoplay:"",muted:"",loop:"",playsinline:"",class:ut(["block-background__image",{"block-background__video--fixed":u.isFixed}]),poster:u.videoPoster},null,10,A7)):B("",!0),l.value?(r(),v("div",{key:2,class:ut(["block-background__overlay",{"block-background__overlay--fixed":u.isFixed}])},null,2)):B("",!0)],2)}}}),D7={up:"0deg",right:"90deg",down:"180deg",left:"270deg"},z7=K({props:{direction:{type:String,default:"up",validator(t){return["up","down","right","left"].includes(t)}},name:{type:String,required:!0},dimensions:{type:String,default:""}},computed:{computedStyles({direction:t}){return{"--rotation-angle":D7[t],"--dimensions":this.dimensions||null}},iconHref(){return`https://builder.hostinger.com/assets/spritemap.495265ec.svg#icon-${this.name}`}},methods:{handleClick(){Ae({category:"CLICK:ZyroSvg",data:{name:this.name}})}}}),L7=["href"];function $7(t,e,o,n,s,a){return r(),v("svg",{class:ut(["icon",[`icon-${t.name}`,{icon__dimensions:t.dimensions}]]),style:re(t.computedStyles),onClick:e[0]||(e[0]=(...l)=>t.handleClick&&t.handleClick(...l))},[h("use",{href:t.iconHref},null,8,L7)],6)}const Qt=V(z7,[["render",$7],["__scopeId","data-v-f27ccd33"]]),rl=({top:t,left:e,isAbsolute:o=!1})=>({top:`${o?t+window.pageYOffset:t}px`,left:`${o?e+window.pageXOffset:e}px`}),mh=t=>{const{top:o,left:n,bottom:s,right:a}=t.getBoundingClientRect();return o>=50&&n>=0&&s<=(window.innerHeight||document.documentElement.clientHeight)&&a<=(window.innerWidth||document.documentElement.clientWidth)},O7=t=>{const{bottom:e}=t.getBoundingClientRect();return(window.innerHeight||document.documentElement.clientHeight)-e},dl={positionElemPopupDesktop(t,e,o,n=!0){const{top:s,left:a,right:l,height:i,width:c,bottom:u}=t.getBoundingClientRect(),{top:p,right:g}=e.getBoundingClientRect(),{height:f,width:y}=o.getBoundingClientRect(),E=60,I=60,T=window.innerHeight||document.documentElement.clientHeight;let x=s+i/2-f/2-p+e.scrollTop,P=l+40;if(P+y>g-E&&(P=a-y-30),P<0&&(P=a+c/2-y/2),mh(t)&&s(window.innerWidth-l-E<(y-c)/2&&cf&&(x=s-f-p+e.scrollTop-30,P=a+c/2-y/2,P=z()),s<0&&T-u>f+I){const L=i+s;x=window.scrollY+L+20,P=a+c/2-y/2,P=z()}}return{top:n?`${x}px`:x,left:n?`${P}px`:P}},bottom(t,e,o,n=20){const s=t.getBoundingClientRect(),a=e.getBoundingClientRect(),l=s.bottom+n,i=s.width({"758e77aa":n.value,"9d412328":a.value,"75888d2c":s.value,17171850:i.value,"31ffe413":c.value}));const e={up:"0deg",right:"90deg",down:"180deg",left:"270deg"},o=t,n=d(()=>o.dimensions),s=d(()=>o.isFilled?"1":"0"),a=d(()=>e[o.direction]),l=d(()=>`https://builder.hostinger.com/assets/spritemap.495265ec.svg#icon-${o.name}`),i=d(()=>o.dimensions?o.dimensions.replace("px",""):"24"),c=d(()=>`var(--color-${o.color})`),u=()=>{Ae({category:"CLICK:Icon",data:{name:o.name}})};return(p,g)=>{const f=rt("qa");return p.isCustom?R((r(),v("svg",{key:0,class:ut(["icon",[{icon__dimensions:p.isCustom},{"icon--color":p.color}]]),viewBox:p.viewBox,"aria-hidden":"true",onClick:u},[h("use",{href:l.value},null,8,M7)],10,R7)),[[f,`icon-${p.name}`]]):R((r(),v("span",{key:1,class:ut(["icon material-symbols-rounded",{"icon--color":p.color}]),"aria-hidden":"true",onClick:u},[U(w(p.name),1)],2)),[[f,`icon-${p.name}`]])}}}),ct=V(N7,[["__scopeId","data-v-57752b69"]]),H7=2e3,ky=K({components:{Teleport:xe,Icon:ct},props:{position:{type:String,default:"bottom",validator:t=>["top","right","bottom","left","rightTop","leftTop"].includes(t)},size:{type:String,default:"large",validator:t=>["x-small","small","large","x-large"].includes(t)},toggleEvent:{type:String,default:"click",validator:t=>["hover","click","none"].includes(t)},disabled:{type:Boolean,default:!1},hideTooltip:{type:Boolean,default:!1},contentPosition:{type:String,default:"fixed",validator:t=>["absolute","fixed"].includes(t)},usePortal:{type:Boolean,default:!0},forcedPosition:{type:[Object,Boolean],default:!1},triangle:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},isOnModal:{type:Boolean,default:!1},isOnDrawer:{type:Boolean,default:!1},mode:{type:String,default:"light",validator:t=>["light","dark","success"].includes(t)},hasCloseIcon:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!1},isAdaptivePosition:{type:Boolean,default:!1},customTriangleStyle:{type:Object,default:()=>{}},closeOnOutsideClick:{type:Boolean,default:!0}},emits:["trigger-click","on-close"],setup(t,e){const o=C(!1),n=C(null),s=C({}),a=C(null),l=d(()=>`${t.arrowOffset}px`),i=()=>{e.emit("on-close"),o.value=!1};return Ps(a,c=>{!c.target.closest(".tooltip__content")&&t.closeOnOutsideClick&&!t.hasCloseIcon&&o.value===!0&&(n.value&&clearTimeout(n.value),i())}),{showTooltip:o,closeTimeout:n,tooltipPosition:s,tooltipRef:a,closeTooltip:i,DATA_ATTRIBUTE_SELECTOR:vo,DATA_ATTRIBUTE_SELECTOR_TOOLTIP_CONTENT:C4,arrowOffsetValue:l}},computed:{...Ve("gui",["builderPreviewContainerRef","isMobileView"]),show(){return this.showTooltip&&!this.hideTooltip}},watch:{async show(){await this.$nextTick(),this.calculatePosition()}},created(){this.toggleEvent==="none"&&(this.showTooltip=!0)},methods:{toggleTooltip(){this.showTooltip=!this.showTooltip},triggerAction(){if(this.disabled)return{};switch(this.toggleEvent){case"none":return{};case"hover":return{mouseenter:this.toggleTooltip,mouseleave:this.closeTooltip};default:return this.$emit("trigger-click"),{click:()=>{this.toggleTooltip(),this.show&&this.autoClose&&(this.closeTimeout=setTimeout(this.closeTooltip,H7))}}}},getAdapativePosition(){const{trigger:t}=this.$refs,e=t.getBoundingClientRect(),o=window.innerWidth,n=window.innerHeight,s=e.left>o/2,a=e.top>n/2;return["right","left"].includes(this.position)?s?"left":"right":["top","bottom"].includes(this.position)?a?"bottom":"top":this.position},finalPosition(){return this.isAdaptivePosition?this.getAdapativePosition():this.position},calculatePosition(){if(!this.show||this.forcedPosition)return;const t=this.contentPosition==="absolute",{trigger:e,tooltip:o}=this.$refs;switch(this.finalPosition()){case"bottom":this.tooltipPosition=dl.bottom(e,o,t);break;case"top":this.tooltipPosition=dl.top(e,o,t,this.builderPreviewContainerRef,15);break;case"right":this.tooltipPosition=dl.right(e,o,t);break;case"rightTop":this.tooltipPosition=dl.rightTop(e,o,t);break;case"leftTop":this.tooltipPosition=dl.leftTop(e,o,t);break;case"left":this.tooltipPosition=dl.left(e,o,t);break;default:this.tooltipPosition=dl.bottom(e,o,t)}}}}),k2=()=>{fe(t=>({"66be13ee":t.arrowOffsetValue}))},E2=ky.setup;ky.setup=E2?(t,e)=>(k2(),E2(t,e)):k2;const G7={ref:"tooltipRef",class:"tooltip"};function F7(t,e,o,n,s,a){const l=Y("Icon"),i=rt("qa");return r(),v("div",G7,[R((r(),v("div",In({ref:"trigger",class:"trigger"},o0(t.triggerAction(),!0)),[wt(t.$slots,"trigger",{},void 0,!0)],16)),[[i,"zyro-tooltip-trigger"]]),t.show?(r(),S(Do(t.usePortal?"Teleport":"div"),{key:0,to:"body"},{default:k(()=>[R((r(),v("div",Ze({ref:"tooltip",[t.DATA_ATTRIBUTE_SELECTOR||""]:t.DATA_ATTRIBUTE_SELECTOR_TOOLTIP_CONTENT,class:[`tooltip__content tooltip__content--${t.mode} tooltip__content--${t.size} tooltip__content--position-${t.contentPosition} body-small`,{"tooltip__content--modal":t.isOnModal,"tooltip__content--drawer":t.isOnDrawer,"tooltip__content--has-close-icon":t.hasCloseIcon}],style:t.forcedPosition||t.tooltipPosition}),[R(h("div",{class:ut(["tooltip__triangle",[`tooltip__triangle tooltip__triangle--${t.mode}`,{"tooltip__triangle--top":t.finalPosition()==="bottom","tooltip__triangle--bottom":t.finalPosition()==="top","tooltip__triangle--left":t.finalPosition()==="right","tooltip__triangle--right":t.finalPosition()==="left"}]]),style:re(t.customTriangleStyle)},null,6),[[so,t.triangle]]),wt(t.$slots,"default",{},void 0,!0),t.hasCloseIcon?R((r(),S(l,{key:0,name:"close",dimensions:"24px",class:ut(`icon-close-sm tooltip__close-icon tooltip__close-icon--${t.mode} tooltip__close-icon--${t.size} tooltip__close-icon--position-${t.contentPosition}`),onClick:t.closeTooltip},null,8,["class","onClick"])),[[i,"tooltip-btn-close"]]):B("",!0)],16)),[[i,"zyro-tooltip-content"]])]),_:3})):B("",!0)],512)}const Ko=V(ky,[["render",F7],["__scopeId","data-v-01d5b201"]]),V7=K({components:{ZyroSvgDeprecated:Qt,ZyroTooltip:Ko},props:{isHiddenDesktop:{type:Boolean,required:!0},isHiddenMobile:{type:Boolean,required:!0},isTooltipShown:{type:Boolean,default:!0}}}),U7={key:0,class:"visibility-tooltip"};function j7(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("ZyroTooltip");return t.isHiddenDesktop||t.isHiddenMobile?(r(),v("div",U7,[t.isTooltipShown?(r(),S(i,{key:0,class:"visibility-tooltip__tooltip",position:"left",size:"small","toggle-event":"hover","content-position":"absolute","forced-position":{right:"60px",top:"14px","white-space":"nowrap"},"use-portal":!1,mode:"dark"},{trigger:k(()=>[b(l,{name:"eye-closed",class:"visibility-tooltip__icon",dimensions:"32px"})]),default:k(()=>[U(" "+w(t.isHiddenMobile?t.$t("builder.hiddenOnMobile"):t.$t("builder.hiddenOnDesktop")),1)]),_:1})):B("",!0)])):B("",!0)}const Ey=V(V7,[["render",j7],["__scopeId","data-v-86a3dc6a"]]),I2=1600,S2=1224,x2=12,W7=32,q7=8,ng=1224,Y7=1224,Nr=1920,T2=(t,e)=>{const[o,n,s,a]=e.split("/").map(Number.parseFloat),{styles:l}=t.settings??{},i=Number.parseFloat(l==null?void 0:l["row-size"])??48,c=Number.parseFloat(l==null?void 0:l["column-gap"])??24,u=Number.parseFloat(l==null?void 0:l["row-gap"])??16,p=(S2-(x2-1)*c)/x2,g=(Nr-I2)/2+c,f=(I2-S2)/2-c;let y=Nr;const E=s-o,I=E*i+(E-1)*u;return n!==1&&(y-=g),a!==17&&(y-=g),n>2&&(y-=f),a<16&&(y-=f),n>3&&(y-=(n-3)*(p+c)),a<15&&(y-=(15-a)*(p+c)),a-n===1&&(y=p),{width:y,height:I}},td=(t,e,o)=>!t||!e?null:t==="assets"?`https://assets.zyrosite.com/${o}/${e}`:t==="unsplash"?`https://images.unsplash.com/${e}`:e,qg=t=>typeof t!="string"?"":t.charAt(0).toUpperCase()+t.slice(1),Vn=t=>{const e=t.split(/[/\\]/).pop(),o=e.lastIndexOf(".");return e===""||o<1?"":e.slice(o+1).toLowerCase()},Na=t=>t.replace(/^.*[/\\]/,"").split("?")[0],ca=({stringToMatch:t,strings:e})=>{const n=e.filter(a=>a).filter(a=>a.startsWith(t)).map(a=>a.split(t)[1]).filter(a=>!Number.isNaN(Number(a))),s=Math.max(-1,...n)+1;return`${t}${s||""}`},K7=[SC,"https://assets.zyrosite.space","https://assets.zyrosite.com","https://cdn.zyrosite.com"],Z7="https://images.unsplash.com",Q7="cdn-cgi/image",o8=[{width:360,height:640}],n8=[1,2,2.625,3],X7=[{width:1440},{width:1920}],i8=[1,2],s8=16,Iy=(t,e=s8)=>[`(min-width: ${Bc}px) ${t}px`,`calc(100vw - ${e*2}px)`].join(", "),J7=(t,e,o={})=>{const n=o.fit||(o.shouldContain?"scale-down":"crop"),s=["format=auto",o.width&&`w=${o.width}`,o.height&&`h=${o.height}`,`fit=${n}`,o.isLossless&&"q=100",o.format&&`f=${o.format}`,o.trim&&`trim=${o.trim}`,o.quality&&!o.isLossless&&`q=${o.quality}`].filter(l=>!!l).join(",");let[,a]=e.split(t);for(;a.startsWith("/");)a=a.replace("/","");return`${t}/${Q7}/${s}/${a}`},t9=(t,e={})=>{const o=new URL(t);return o.searchParams.set("auto",e.format||"format"),o.searchParams.set("fit",e.shouldContain?"clip":"crop"),e.width&&o.searchParams.set("w",e.width),e.height&&o.searchParams.set("h",e.height),e.isLossless&&o.searchParams.set("q",100),o.href},Zo=(t,e,o,n={})=>{const s=td(t,e,o);if(!s)return null;if(Vn(s)==="svg"||Vn(s)==="ico"||Vn(s)==="gif")return s;const a=K7.find(l=>s.includes(l));return a?J7(a,s,n):s.includes(Z7)?t9(s,n):s},Yg=(t,e,o,n={})=>{const s=X7.map(i=>i8.map(c=>{const u=Math.round(i.width*c);return`${Zo(t,e,o,{...n,width:u})} ${u}w`})).join(",");return`${o8.map(i=>n8.map(c=>{const u=Math.round(i.width*c),p={...n,width:u};return n.isMobileFullScreen&&(p.height=Math.round(i.height*c)),`${Zo(t,e,o,p)} ${u}w`})).join(",")},${s}`},a8=(t,e,o,n={})=>{if(!n.width)return Yg(t,e,o,n);const s=i8.map(c=>{const u=Math.round(n.width*c),p=Math.round(n.height*c);return`${Zo(t,e,o,{...n,width:u,height:p})} ${u}w`}).join(","),a=(n.mobilePadding??s8)*2;return`${o8.map(c=>{const u=c.width-a;return n8.map(p=>{const g=n.width/n.height,f=Math.round(u*p),y=Math.round(f/g);return`${Zo(t,e,o,{...n,width:f,height:y})} ${f}w`}).join(",")}).join(",")},${s}`},Ui=16,cs=1224,bi=360,Xs=bi-Ui*2,e9=16,o9=50,ig=16,n9=K({__name:"BlockLayoutWrapper",props:{isMobileLegacy:{type:Boolean,default:!1},isBlockResponsive:{type:Boolean,default:!1},isForcedOnTop:{type:Boolean,default:!1},isInPreviewMode:{type:Boolean,default:!1}},setup(t){fe(l=>({"5984c540":s.value,"7876a9fc":n.value,"99b818f8":o.value,"65d23848":a.value}));const e=t,o=d(()=>e.isBlockResponsive&&!e.isInPreviewMode?`0 ${Ui*100/bi}vw`:`0 ${Ui}px`),n=d(()=>`${bi}px`),s=d(()=>`${cs}px`),a=d(()=>`0 ${Ui}px`);return(l,i)=>(r(),v("div",{class:ut(["block-layout",{"block-layout--legacy":t.isMobileLegacy,"block-layout--layout":!t.isMobileLegacy,"block-layout--forcedOnTop":t.isForcedOnTop}])},[wt(l.$slots,"default")],2))}}),di={CONTAINED:"contained",OUTLINED:"outlined",TEXT:"text",PLAIN:"plain"},Wn={PRIMARY:"primary",DANGER:"danger",WARNING:"warning"},on={SUCCESS:"success",WARNING:"warning",DANGER:"danger",SECONDARY:"secondary",INACTIVE:"inactive"},Bn={SCHEDULE:"schedule",ERROR:"error",SYNC_ALT:"sync_alt",GLOBE_PLUS:"globe_plus"},i9=K({props:{text:{type:String,default:null},subtext:{type:String,default:""},textToUppercase:{type:Boolean,default:!0},textClass:{type:String,default:"z-button-small"},textColor:{type:String,default:"var(--color-primary)"},backgroundColor:{type:String,default:"var(--secondary-light)"},verticalPadding:{type:String,default:"4px"},theme:{type:String,default:null,validator:t=>Object.keys(on).includes(t)}},computed:{computedStyles(){return{"--text-color":this.textColor,"--background-color":this.backgroundColor,"--vertical-padding":this.verticalPadding}}}}),s9={key:0,class:"pill__subtext"};function a9(t,e,o,n,s,a){return r(),v("div",{class:ut(`pill ${t.textClass} ${t.theme?`pill--${t.theme}`:""}`),style:re(t.computedStyles)},[h("div",{class:ut(["pill__text",{"pill__text--uppercase":t.textToUppercase}])},[wt(t.$slots,"default",{},void 0,!0),U(" "+w(t.text??t.$t("common.premium")),1)],2),t.subtext?(r(),v("div",s9,w(t.subtext),1)):B("",!0)],6)}const l8=V(i9,[["render",a9],["__scopeId","data-v-9677786d"]]),l9=K({components:{ZyroPill:l8},props:{text:{type:String,required:!0},backgroundColor:{type:String,default:"var(--color-azure-dark)"}}});function r9(t,e,o,n,s,a){const l=Y("ZyroPill");return r(),S(l,{class:"overlay-pill","text-class":"text-body-2","text-to-uppercase":!1,text:t.text,"background-color":t.backgroundColor,"text-color":"var(--color-light)"},{default:k(()=>[wt(t.$slots,"default",{},void 0,!0)]),_:3},8,["text","background-color"])}const bf=V(l9,[["render",r9],["__scopeId","data-v-a2761e90"]]),d9={__name:"BlockGridElementInfoOverlay",props:{info:{validator:t=>typeof t=="object"||t===null,required:!0},disablePillOverflow:{type:Boolean,default:!1},useBorder:{type:Boolean,default:!1},blockId:{type:String,required:!0},isBlockSelected:{type:Boolean,default:!1},isBlockHovered:{type:Boolean,default:!1},isPillDisabled:{type:Boolean,default:!1}},setup(t){fe(a=>({"235e39e0":o.value,"6b620ea8":n.value}));const e=t,o=d(()=>{const{y1:a,x1:l,y2:i,x2:c}=e.info;return`${a}/${l}/${i}/${c}`}),n=d(()=>e.info.color),s=d(()=>!e.isBlockSelected&&e.isBlockHovered);return(a,l)=>{const i=rt("qa");return t.info?(r(),v("div",{key:0,class:ut(["grid-ghost",{"grid-ghost--use-border":t.useBorder,"grid-ghost--hovered":t.isBlockHovered&&!t.isBlockSelected,"grid-ghost--selected":t.isBlockSelected}])},[t.isPillDisabled?B("",!0):R((r(),v("div",{key:0,class:ut(["grid-ghost__overlay",{"grid-ghost__overlay--no-overflow":t.disablePillOverflow}])},[s.value?(r(),S(bf,{key:0,text:t.info.title,"background-color":t.info.color},null,8,["text","background-color"])):B("",!0),t.isBlockSelected?(r(),S(bf,{key:1,text:t.info.title,"background-color":"var(--color-azure"},{default:k(()=>[b(Qt,{name:"check-mark"})]),_:1},8,["text","background-color"])):B("",!0)],2)),[[i,"grid-ghost-overlay"]])],2)):B("",!0)}}},c9=V(d9,[["__scopeId","data-v-e6cd5006"]]),Wi=(t,e={})=>t?t(e).some(o=>Array.isArray(o.children)?!!o.children.length:o.type!==Qx):!1,Uc=t=>(Te("data-v-e67a56a2"),t=t(),Ce(),t),u9={key:0,class:"loader","aria-hidden":"true"},p9=Uc(()=>h("div",{class:"loader__element"},null,-1)),g9=Uc(()=>h("div",{class:"loader__element"},null,-1)),m9=Uc(()=>h("div",{class:"loader__element"},null,-1)),h9=Uc(()=>h("div",{class:"loader__element"},null,-1)),b9=Uc(()=>h("div",{class:"loader__element"},null,-1)),f9=[p9,g9,m9,h9,b9],y9={key:0,class:"hostinger-button__text"},v9=K({__name:"HostingerButton",props:{routeLinkTo:{default:void 0},type:{default:""},href:{default:""},buttonType:{default:"contained"},theme:{default:"primary"},size:{default:"md"},title:{default:""},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1}},setup(t){const e=t,o=W5(),n=d(()=>e.href?"a":e.routeLinkTo?"router-link":"button"),s=d(()=>{var l,i,c,u;return(u=(c=(i=(l=o.default)==null?void 0:l.call(o))==null?void 0:i[0])==null?void 0:c.text)==null?void 0:u.trim()}),a=()=>{Ae({category:"CLICK:HostingerButton",data:{title:e.title||s.value,routeLinkTo:e.routeLinkTo,href:e.href,type:e.type}})};return(l,i)=>(r(),S(Do(n.value),{class:ut(["hostinger-button",[{[`hostinger-button-${l.size}`]:l.size,[`hostinger-button-${l.buttonType}`]:l.buttonType,[`hostinger-button-${l.size}--loading`]:l.isLoading&&!l.isDisabled,[`hostinger-button-${l.buttonType}--${l.theme}`]:l.theme&&!l.isDisabled,[`hostinger-button-${l.buttonType}--disabled`]:l.isDisabled,"hostinger-button--icon-left":l.$slots["icon-left"],"hostinger-button--icon-right":l.$slots["icon-right"]}]]),disabled:l.isDisabled||l.isLoading,type:n.value==="button"?l.type||"button":void 0,to:l.routeLinkTo,href:l.isDisabled?void 0:l.href,title:l.title||s.value,onClick:a},{default:k(()=>[l.isLoading?(r(),v("div",u9,f9)):(r(),v(at,{key:1},[wt(l.$slots,"icon-left",{},void 0,!0),wt(l.$slots,"icon",{},void 0,!0),m(Wi)(l.$slots.default)?(r(),v("div",y9,[wt(l.$slots,"default",{},void 0,!0)])):B("",!0),wt(l.$slots,"icon-right",{},void 0,!0)],64))]),_:3},8,["class","disabled","type","to","href","title"]))}}),gt=V(v9,[["__scopeId","data-v-e67a56a2"]]),_9="z",w9=5,de=({length:t,prefix:e}={})=>`${e||_9}${oc(t||w9)}`,C2="data-popup-portal",P2="data-popup-content",k9=50,E9=85,I9={__name:"Popup",props:{targetRef:{type:[null,Element,HTMLElement],default:null},isScrollable:{type:Boolean,default:!1},portalSelector:{type:String,default:"body"},placement:{type:String,default:"right"},offset:{type:[Number,Object],default:8},padding:{type:Number,default:24},borderRadius:{type:Number,default:null},shift:{type:Boolean,default:!0},flip:{type:Boolean,default:!0},autoMaxHeight:{type:Boolean,default:!1},autoUpdate:{type:Boolean,default:!1},autoUpdateOptions:{type:Object,default:()=>({ancestorScroll:!0,ancestorResize:!0,elementResize:!0,animationFrame:!1,elementMove:!0})},isOnlyClickInside:{type:Boolean,default:!1},onClickOutsideOptions:{type:Object,default:()=>({})},isMobileFixedToBottom:{type:Boolean,default:!1},isMobileStickedToBottom:{type:Boolean,default:!1},isControls:{type:Boolean,default:!1},ignoreTargetPositionChange:{type:Boolean,default:!1},isFixed:{type:Boolean,default:!1}},emits:["click-outside"],setup(t,{emit:e}){const o=t,{state:n,getters:s}=et(),a=e,l=`popup-${de()}`,i=C(),c=C(),u=C(),p=C(),g=C(),f=C({}),y=C(null),E=d(()=>n.gui.isMobileScreen),I=d(()=>({transform:`translate3d(${c.value}px, ${u.value}px, 0)`,borderRadius:`${o.borderRadius}px`,...o.autoMaxHeight&&{overflowY:"auto",maxHeight:`${p.value}px`}})),T=d(()=>s.isCurrentPageTypeDynamicProduct?E9:k9),x=async(P,z)=>{const{x:L,y:$}=await Jx(P,z,{placement:o.placement,middleware:[tT(o.offset),...o.flip?[eT({padding:{top:T.value+o.padding,bottom:o.padding,left:o.padding,right:o.padding}})]:[],...o.shift?[oT({padding:{top:T.value+o.padding,bottom:o.padding,left:o.padding,right:o.padding},crossAxis:!0,limiter:iT()})]:[],...o.autoMaxHeight?[nT({apply({availableHeight:A}){p.value=A}})]:[]]});c.value=L,u.value=$};return Vt(()=>{!o.targetRef||!o.autoUpdateOptions.elementMove||o.ignoreTargetPositionChange||(y.value=new MutationObserver(P=>{P.some(()=>{const L=o.targetRef.getBoundingClientRect(),$=L.top!==f.value.top,A=L.bottom!==f.value.bottom,D=L.left!==f.value.left,O=L.right!==f.value.right;return $||A||D||O})&&(f.value=o.targetRef.getBoundingClientRect())}),y.value.observe(o.targetRef,{attributeFilter:["style"]}))}),Mt([()=>o.targetRef,f,E],async([P])=>{if(!P||(o.isMobileFixedToBottom||o.isMobileStickedToBottom)&&E.value)return;await Ye();const z=document.getElementById(l);o.autoUpdate?(g.value&&g.value(),P&&z&&(g.value=Xx(P,z,()=>{x(P,z)},o.autoUpdateOptions))):x(P,z)},{immediate:!0}),rn(()=>{var P;g.value&&g.value(),(P=y.value)==null||P.disconnect()}),Ps(i,P=>{var z,L,$,A,D;try{if(o.isOnlyClickInside||o.onClickOutsideOptions.detectIframe&&P.target instanceof Window||!o.targetRef){a("click-outside",P);return}if(P.target.getRootNode()!==document||(z=P.target)!=null&&z.closest(`[${vo}=${Yd}]`)||o.targetRef.contains(P.target)||o.targetRef.isSameNode(P.target)||(L=P.target)!=null&&L.closest(`[${vo}=${ac}]`)||($=P.target)!=null&&$.closest(`[${vo}=${y0}]`)||(A=P.target)!=null&&A.closest(`[${vo}=${HC}]`)||(D=P.target)!=null&&D.closest(`[${vo}=${L4}]`))return;const O=i.value.querySelectorAll(`[${C2}]`),M=P.target.closest(`[${P2}]`);if(M&&O&&[...O].some(F=>M.id===F.dataset.popupId)||P.target.closest(`#${l}`))return;a("click-outside",P)}catch(O){a("click-outside",P),console.error(O)}},o.onClickOutsideOptions),(P,z)=>(r(),v(at,null,[(r(),S(xe,{to:t.portalSelector},[h("div",Ze({id:l,ref_key:"popupContentRef",ref:i,[P2]:!0,style:I.value,class:["popup-content",{"popup-content--mobile-fixed-to-bottom":t.isMobileFixedToBottom,"popup-content--mobile-sticked-to-bottom":t.isMobileStickedToBottom,"popup-content--zIndex-controls":t.isControls,"popup-content--fixed":t.isFixed,"popup-content--scrollable":t.isScrollable}],[m(vo)||""]:m(fl)}),[wt(P.$slots,"default",{},void 0,!0)],16)],8,["to"])),h("div",Ze({class:"popup-placeholder",[C2]:!0,"data-popup-id":l}),null,16)],64))}},Se=V(I9,[["__scopeId","data-v-60187d1e"]]),S9=K({__name:"PulsingDot",props:{targetRef:{},left:{},top:{}},setup(t){return fe(e=>({"030c71a2":e.top,"5e7df95a":e.left})),(e,o)=>{const n=rt("qa");return R((r(),v("div",{ref:"targetRef",class:ut(["pulsing-dot",{"pulsing-dot--positioned":e.left&&e.top}])},null,2)),[[n,"pulsing-dot"]])}}}),x9=V(S9,[["__scopeId","data-v-e96ffa42"]]),Hr=({elementId:t,blockId:e,leftOffset:o=0})=>{const n=document.querySelector(`[data-element-ref='${t}']`),s=document.querySelector(`[data-block-ref='${e}']`);if(!n||!s)return{};const a=n.getBoundingClientRect(),l=s.getBoundingClientRect();return{top:Math.round(a.top-l.top),left:Math.round(a.left-l.left-o),width:Math.round(a.width),height:Math.round(a.height),blockWidth:l.width}},Qn=(t,e,o=!1)=>{const{left:n,width:s,top:a,height:l}=t,i=o?Math.max(0,(e-s)/2):Math.min(Math.max(0,n),Math.max(0,e-s));return{top:a,left:i,height:l,width:Math.min(s,e)}},Ys=t=>{const{left:e,width:o,top:n,height:s}=t;return{top:Math.max(0,n),left:e,height:s,width:o}},r8=({elements:t,elementPositionKey:e})=>Math.min(...t.map(o=>o[e].top)),d8=({elements:t,elementPositionKey:e})=>Math.max(...t.map(o=>o[e].bottom)),ff=({elements:t,elementPositionKey:e})=>[...t.map(a=>({...a,[e]:{...a[e],bottom:a[e].top+a[e].height}}))].sort((a,l)=>a[e].top-l[e].top).reduce((a,l)=>{const i=a.findIndex(c=>c.some(u=>{const{top:p,bottom:g}=u[e],{top:f,bottom:y}=l[e],E=f>=p&&fp&&y<=g;return E||I}));return i===-1?[...a,[l]]:[...a.slice(0,i),[...a[i],l],...a.slice(i+1)]},[]).map(a=>({groupTop:r8({elements:a,elementPositionKey:e}),groupBottom:d8({elements:a,elementPositionKey:e}),elements:a})),B2=({groupElements:t=[],elementPositionKey:e})=>t.map(o=>({elementId:o.elementId,position:{top:o[e].top}})),c8=({higherGroup:t,lowerGroup:e,elementPositionKey:o})=>{if(!t||!e)return[...B2({groupElements:t==null?void 0:t.elements,elementPositionKey:o}),...B2({groupElements:e==null?void 0:e.elements,elementPositionKey:o})];const{groupTop:n,groupBottom:s,elements:a}=t,{groupTop:l,groupBottom:i,elements:c}=e,u=l-s,p=i-l,f=n+p+u,y=a.map(I=>({elementId:I.elementId,position:{top:f+(I[o].top-n)}})),E=c.map(I=>({elementId:I.elementId,position:{top:n+(I[o].top-l)}}));return[...y,...E]},A2=({elementGroups:t,elementId:e})=>t.findIndex(o=>o.elements.some(n=>n.elementId===e)),T9=({elementToDeleteGroup:t,elementToDelete:e,elementPositionKey:o})=>{if(t.elements.length===1)return{topMargin:e[o].height,bottomMargin:0};const n=t.elements.filter(({elementId:c})=>c!==e.elementId),s=r8({elements:n,elementPositionKey:o}),a=d8({elements:n,elementPositionKey:o}),l=s-e[o].top,i=e[o].bottom-a;return{topMargin:l>0?l:0,bottomMargin:i>0?i:0}},D2=({elements:t,elementPositionKey:e,verticalTreshold:o=0})=>t.filter(n=>n[e].top>o),hh=({elements:t,elementPositionKey:e,shiftMargin:o})=>t.map(n=>({elementId:n.elementId,position:{top:Math.max(0,n[e].top+o)}})),Kg=({elementId:t,siteBlocks:e})=>Object.keys(e).find(o=>{var n;return(n=e[o].components)==null?void 0:n.includes(t)}),C9=({groups:t,groupIndex:e,element:o,elementPositionKey:n=_e})=>{const{left:s,width:a}=o[n],l=s+a,i=!!t[e],c=!i||t[e].widths,p=c?l:t[e].width,g=u?s:t[e].left;return{left:g,right:g+p,width:p}},P9=({groups:t,element:e,elementPositionKey:o=_e})=>t.findIndex(n=>{const{left:s,right:a}=n,{left:l,right:i}=e[o],c=l>=s&&ls&&i<=a;return c||u}),B9=({elements:t,elementPositionKey:e=_e})=>[...t.map(a=>{const{left:l,width:i}=a[e];return{...a,[e]:{...a[e],right:l+i}}})].sort((a,l)=>a[e].left-l[e].left).reduce((a,l)=>{const i=P9({groups:a,element:l,elementPositionKey:e}),{left:c,width:u,right:p}=C9({groups:a,groupIndex:i,element:l,elementPositionKey:e});return i===-1?[...a,{elements:[l.elementId],left:c,width:u,right:p}]:[...a.slice(0,i),{...a[i],elements:[...a[i].elements,l.elementId],left:c,width:u,right:p},...a.slice(i+1)]},[]),A9=({elementsColumnGroups:t,blockElements:e,elementPositionKey:o=_e})=>t.map(n=>{const a=n.elements.map(l=>e[l]).sort((l,i)=>l[o].top-i[o].top);return{...n,elements:a.map(l=>l.elementId)}}),z2=({elementGroups:t,startIndex:e,endIndex:o})=>{const n=t.slice(e,o+1);return n.length===0?null:n.reduce((a,l)=>{const{elements:i,groupTop:c,groupBottom:u}=l,p=a.groupTop?Math.min(a.groupTop,c):c,g=a.groupBottom?Math.max(a.groupBottom,u):u;return{groupTop:p,groupBottom:g,elements:[...a!=null&&a.elements?a.elements:[],...i]}},{})},D9=({elementsIds:t,blockElements:e})=>t.reduce((o,n)=>{const s=e[n][_e].top,a=e[o][_e].top;return s>a?o:n},t[0]),z9=({oldElements:t,newElements:e})=>{const o=t.map(a=>a.elementId);return e.map(a=>a.elementId).find(a=>!o.includes(a))},u8=({elementId:t,blockId:e,isMobileMode:o})=>{const n=o?Xs:Er,s=Hr({elementId:t,blockId:e,leftOffset:o?Ui:0});return{position:Ys(Qn(s,n)),blockWidth:s.blockWidth}},Sy=({layoutElements:t,activeElementId:e,elementPositionKey:o,isElementWithTheSameTopIncluded:n=!0})=>{const s=t.find(({elementId:a})=>a===e);return t.filter(a=>{const l=a.elementId!==e,i=n?s[o].top<=a[o].top:s[o].topObject.fromEntries(Object.entries(o).map(([,n])=>{const{top:s,left:a,height:l,width:i}=n[e],c={...n[e],height:l,width:i,left:a,top:s-t};return[n.elementId,c]})),ag=({elementsPositions:t,topOffset:e=0,elementPositionKey:o})=>Object.fromEntries(Object.entries(t).map(([n,s])=>{const{top:a,left:l,width:i,height:c}=Ys(s);return[n,{[o]:{...s,top:a+e,left:l,width:i,height:c}}]})),oi=t=>[Uo,vn].includes(t),L9=t=>(t==null?void 0:t.type)===Uo,jc=({defaultLocalePages:t})=>Object.values(t||{}).some(L9),Zg=()=>Io(KC)==="1",Xo={AI_WRITER:"aiWriter",AI_WRITER_DRAWER:"aiWriterDrawer",AI_TOOLS:"aiTools",SITE:"site",SEO:"seo",USER:"user",DOMAIN:"domain",ECOMMERCE_ADMIN:"ecommerceAdmin",ECOMMERCE:"ecommerce",GAMIFICATION:"gamification",NPS:"nps",INTERCOM:"intercom",BLOG:"blog",GUI:"gui",AI_BUILDER_PREVIEW:"aiBuilderPreview",RESOURCES:"resources",GOOGLE_AUTH:"googleAuth",REFERRALS:"referrals",SAVING:"saving",TEMPLATES_ONBOARDING:"templatesOnboarding",LAYOUT_CONTEXT_MENU:"layoutContextMenu"},lg={ACTIVE:"active",PENDING:"pending_setup",UPDATING:"updating",FAILED:"failed",SUSPENDED:"suspended",SUSPENDING:"suspending",ACTIVATING:"activating",COMPLETED:"completed",CREATED:"created",UNSUSPENDING:"unsuspending",DELETED:"deleted",DELETING:"deleting",DESTROYED:"destroyed",CANCELED:"canceled",EXPIRED:"expired",LOADING:"loading"},Bl={VIRTUAL_MACHINE:"virtual_machine",EMAIL:"email",GOOGLE_WORKSPACE:"google_workspace",TITAN_MAIL:"titan_mail",DOMAIN:"domain",DOMAIN_TRANSFER:"domain_transfer",FREE_DOMAIN:"free_domain",FREE_DOMAIN_TRANSFER:"free_domain_transfer",CPANEL_RESELLER_HOSTING:"cpanel_reseller_hosting",DOMAIN_PRIVACY_PROTECTION:"domain_privacy_protection",HOSTING:"hosting",CPANEL_HOSTING:"cpanel_hosting",PRIORITY_SUPPORT:"priority_support",SSL:"ssl",CLOUDFLARE:"cloudflare",RANKING_COACH:"ranking_coach",WEBSITE_BUILDER:"website_builder",DAILY_BACKUP:"daily_backup"},p8=t=>{if(!t||!t.url)return{serviceName:void 0,backendPathname:void 0};let e,o;try{const n=new URL(t.url);e=n.origin,o=n.pathname}catch{e=t.baseURL,o=t.url}return{serviceName:e,backendPathname:o}},g8=t=>{var o,n;if(!t)return{message:void 0,status:void 0,code:void 0};const{data:e}=t;return{status:t.status,message:(e==null?void 0:e.message)||((o=e==null?void 0:e.error)==null?void 0:o.message),code:(e==null?void 0:e.code)||((n=e==null?void 0:e.error)==null?void 0:n.code)}},Wc="https://cdn.zyrosite.com/cdn-builder-placeholders",ce=`${Wc}/asset-manager`,bn=`${Wc}/ecommerce-product`,Ia=`${Wc}/grid-gallery`,Po=`${Wc}/instagram`,gRt=`${Wc}/template`;var uo=(t=>(t.PHYSICAL="physical",t.DIGITAL="digital",t.DONATION="donation",t.BOOKING="booking",t.SERVICE="service",t.GIFT_CARD="gift_card",t))(uo||{});const bh={DPD:"dpd",OMNIVA:"omniva",LP_EXPRESS:"lp-express"},$9={TYPE_CONVERSION_EVENT:"TYPE_CONVERSION_EVENT"},Bu={BEGIN_CHECKOUT:"begin_checkout",PURCHASE:"purchase",CONTACT:"contact",ADD_TO_CART:"add_to_cart"},xi={id:-1,title:"Product name",subtitle:null,description:`This is a sample product description. You can use it to describe your product, from its size, weight, and color to other characteristics like material, and so on. Make sure you highlight the best qualities and the most important functions that the product has. Make your customers want it and tell them how the product could help make their life easier or simply more beautiful. After you have added your product description in the store settings, it will appear here automatically`,images:[],options:[],product_collections:[],ribbon_text:null,site_product_selection:null,type:{value:uo.PHYSICAL},thumbnail:null,variants:[{id:"",manage_inventory:!1,prices:[{amount:0,currency_code:"USD",sale_amount:null,currency:{code:"USD",decimal_digits:2,template:"$$1",name:"US Dollar",symbol:"$",symbol_native:"$",name_plural:"US dollars",rounding:0,min_amount:0}}],options:[]}],seo_settings:{},purchasable:!0,additional_info:[]},m8=[{...xi,title:"Classic cap",images:[{url:`${bn}/cap.png`}],thumbnail:`${bn}/cap.png`},{...xi,title:"Face Serum",images:[{url:`${bn}/bottle.png`}],thumbnail:`${bn}/bottle.png`},{...xi,title:"Handmade Vase",images:[{url:`${bn}/vase.png`}],thumbnail:`${bn}/vase.png`},{...xi,title:"Hand Soap",images:[{url:`${bn}/soap.png`}],thumbnail:`${bn}/soap.png`},{...xi,title:"Set of Plates",images:[{url:`${bn}/plates.png`}],thumbnail:`${bn}/plates.png`},{...xi,title:"Sunglasses",images:[{url:`${bn}/sunglasses.png`}],thumbnail:`${bn}/sunglasses.png`},{...xi,title:"Wooden Chair",images:[{url:`${bn}/chair.png`}],thumbnail:`${bn}/chair.png`},{...xi,title:"Wool Sweater",images:[{url:`${bn}/sweater.png`}],thumbnail:`${bn}/sweater.png`}],O9="hours",qc=["BlockEcommerceProduct","BlockEcommerceProductList"],R9="demo_01G0E9P2R0CFTNBWEEFCEV8EG5",yf="shopping-cart-items",M9=864e5,h8="site_product_selection",b8="lowest_price_first",pr=250,Gd={[Lo.DEFAULT]:"",[Lo.PRICE_LTH]:"order=ASC&sort_by=price",[Lo.PRICE_HTL]:"order=DESC&sort_by=price",[Lo.MOST_RECENT]:"order=DESC&sort_by=created_at"};var Xd=(t=>(t.IMAGE="image",t.VIDEO="video",t))(Xd||{});const xy=[uo.BOOKING,uo.DIGITAL],L2={INVALID:"invalid",CONNECTED:"connected"},$2="https://js.stripe.com/v3/",N9=[bh.DPD,bh.LP_EXPRESS,bh.OMNIVA],O2={getContentTextBox:t=>({type:"GridTextBox",content:`

${t}

`,settings:{styles:{"m-element-margin":"0 0 16px 0",text:"left",align:"flex-start",justify:"flex-start",position:"2/3/4/15"}},animation:{name:"slide",type:"global"}}),getLayoutContentTextBox:t=>({type:"GridTextBox",content:`

${t}

`,desktop:{height:30,top:442,left:206,width:812},mobile:{height:30,top:424,left:0,width:Xs},settings:{styles:{"m-element-margin":"0 0 16px 0"}}}),getImage:t=>({rel:"nofollow",type:"GridImage",mobile:{top:40,left:0,width:328,height:320},desktop:{top:40,left:206,width:812,height:344},settings:{alt:t.alt,path:t.path,origin:t.origin,styles:{align:"center",justify:"center","m-element-margin":"0 0 16px 0"},clickAction:"none"},animation:{name:"slide",type:"global"},fullResolutionWidth:3024,fullResolutionHeight:4032})},fc={"row-gap":"16px","row-size":"48px","m-block-padding":"56px 16px"},Fd=({mockCategories:t,postsPerPage:e=Dg,postColumnCount:o=k0})=>({type:"BlockBlogList",settings:{postsPerPage:e,postColumnCount:o,categories:[],showAllPosts:!0,showWithoutCategories:!1,fullWidth:!1,mockCategories:t,shownItems:{coverImage:!0,title:!0,description:!0,date:!0,categories:!0,authorFullName:!0,avatar:!0,minutesToRead:!0},styles:{"grid-gap-size":`${W7}px`,"m-grid-gap-size":`${q7}px`,"block-padding":"60px","content-width":`${Y7}px`,"cover-object-fit":"contain",rows:10,cols:10,"row-size":fc["row-size"],"row-gap":fc["row-gap"]}},components:[],zindexes:[],background:{current:"color",color:"rgb(255, 255, 255)"}}),vf=()=>({type:"BlockLayout",desktop:{minHeight:500},mobile:{minHeight:140},settings:{styles:{"block-padding":"16px 0 16px 0","m-block-padding":"16px"}},components:[],background:{color:"rgb(255, 255, 255)",current:"color"},zindexes:[]}),H9=()=>({type:"BlockBlogHeader",background:{current:"color",color:"rgb(255, 255, 255)"},settings:{shownItems:{date:!0,categories:!0,authorFullName:!0,avatar:!0,minutesToRead:!0,description:!0},styles:{"block-padding":"45px 30px 45px 30px","m-block-padding":"16px 16px 16px 16px","content-width":"954px",align:"flex-start","text-align":"center"}},animation:{name:"slide",type:"global"},components:[]}),G9=(t,e,o=de(),n=de())=>({blockData:{type:"BlockLayout",desktop:{minHeight:500},mobile:{minHeight:140},components:[n,o],zindexes:[n,o],background:{current:"color",color:"rgb(255, 255, 255)"},settings:{styles:{"m-block-padding":fc["m-block-padding"]}}},elements:{[n]:O2.getImage(e),[o]:O2.getLayoutContentTextBox(t)}}),Qg=({productId:t=-1,buttonText:e}={})=>({type:"BlockEcommerceProduct",settings:{styles:{"content-width":`${ng}px`,"block-padding":"100px 16px","m-block-padding":fc["m-block-padding"]}},background:{current:"color",color:"rgb(255, 255, 255)"},navigationArrowsColor:"rgb(0, 0, 0)",navigationThumbnailArrowsColor:"rgb(0, 0, 0)",galleryPlacement:"bottom",imageRatio:"contain",imageBorderRadius:"0%",product:{id:t},zindexes:[],isQuantityPickerEnabled:!0,buttonStyle:{"grid-button-primary-color":"rgb(255, 255, 255)","grid-button-primary-color-hover":"rgb(255, 255, 255)","grid-button-primary-background-color":"rgb(0, 0, 0)","grid-button-primary-background-color-active":"rgb(0, 0, 0)","grid-button-primary-background-color-hover":"rgb(29, 30, 32)","grid-button-primary-border-color":"rgb(0, 0, 0)","grid-button-primary-border-color-active":"rgb(0, 0, 0)","grid-button-primary-border-color-hover":"rgb(29, 30, 32)","grid-button-secondary-color":"rgb(46, 47, 49)","grid-button-secondary-color-hover":"rgb(29, 30, 32)","grid-button-secondary-background-color":"rgb(255, 255, 255)","grid-button-secondary-background-color-active":"rgb(255, 255, 255)","grid-button-secondary-background-color-hover":"rgb(241, 241, 241)","grid-button-secondary-border-color":"rgb(255, 255, 255)","grid-button-secondary-border-color-active":"rgb(255, 255, 255)","grid-button-secondary-border-color-hover":"rgb(241, 241, 241)"},textColorVars:{"h1-color":"rgb(26, 26, 26)","h2-color":"rgb(26, 26, 26)","h3-color":"rgb(26, 26, 26)","h4-color":"rgb(26, 26, 26)","h5-color":"rgb(26, 26, 26)","h6-color":"rgb(26, 26, 26)","body-large-color":"rgb(26, 26, 26)","body-color":"rgb(26, 26, 26)"},components:[],...e?{buttonText:e}:{}}),Ii=({textAlign:t="left",blockPadding:e="100px 16px",imageRatio:o="contain",isFullWidth:n=!1,columnCountDesktop:s=3,columnGapDesktop:a=24,columnCountMobile:l,columnGapMobile:i,isSortingEnabled:c=!1,productsPerPage:u=6,productCategoryId:p=null,isCategoryListEnabled:g=!1,isTotalProductCountShown:f=!1,isButtonFullWidth:y=!1,buttonDisplay:E=null,imageHoverEffect:I=null,isButtonEnabled:T=!1,isListCentered:x=!1,buttonStyle:P={},buttonBorderWidth:z=null,productSearch:L})=>({type:"BlockEcommerceProductList",settings:{styles:{textAlign:t,"content-width":`${ng}px`,"block-padding":e,"m-block-padding":fc["m-block-padding"],...I&&{imageHoverEffect:I}}},background:{current:"color",color:"rgb(255, 255, 255)"},imageRatio:o,...(s||a)&&{desktop:{...s&&{columnCount:s},...a&&{columnGap:a}}},...(l||i)&&{mobile:{...l&&{columnCount:l},...i&&{columnGap:i}}},isFullWidth:n,...c&&{productSorting:{enabled:!0,textColor:"#000",sortingOptions:[{id:"default",label:"Default",value:"",isEnabled:!0},{id:"priceLTH",label:"Price (low to high)",value:"order=ASC&sort_by=price",isEnabled:!0},{id:"priceHTL",label:"Price (high to low)",value:"order=DESC&sort_by=price",isEnabled:!0},{id:"mostRecent",label:"Most recent",value:"order=DESC&sort_by=created_at",isEnabled:!0}]}},...L&&{productSearch:L},productsPerPage:u,...p&&{productCategoryId:p},isCategoryListEnabled:g,isTotalProductCountShown:f,zindexes:[],textColorVars:{"h1-color":"rgb(26, 26, 26)","h2-color":"rgb(26, 26, 26)","h3-color":"rgb(26, 26, 26)","h4-color":"rgb(26, 26, 26)","h5-color":"rgb(26, 26, 26)","h6-color":"rgb(26, 26, 26)","body-large-color":"rgb(26, 26, 26)","body-color":"rgb(26, 26, 26)"},buttonStyle:{"grid-button-primary-color":"rgb(255, 255, 255)","grid-button-primary-color-hover":"rgb(255, 255, 255)","grid-button-primary-background-color":"rgb(0, 0, 0)","grid-button-primary-background-color-active":"rgb(0, 0, 0)","grid-button-primary-background-color-hover":"rgb(29, 30, 32)","grid-button-primary-border-color":"rgb(0, 0, 0)","grid-button-primary-border-color-active":"rgb(0, 0, 0)","grid-button-primary-border-color-hover":"rgb(29, 30, 32)","grid-button-secondary-color":"rgb(46, 47, 49)","grid-button-secondary-color-hover":"rgb(29, 30, 32)","grid-button-secondary-background-color":"rgb(255, 255, 255)","grid-button-secondary-background-color-active":"rgb(255, 255, 255)","grid-button-secondary-background-color-hover":"rgb(241, 241, 241)","grid-button-secondary-border-color":"rgb(255, 255, 255)","grid-button-secondary-border-color-active":"rgb(255, 255, 255)","grid-button-secondary-border-color-hover":"rgb(241, 241, 241)",...P},...E&&{buttonDisplay:E},...z&&{buttonBorderWidth:z},isButtonEnabled:T,isButtonFullWidth:y,ribbonStyle:{"ribbon-color":"rgb(255, 255, 255)","ribbon-background-color":"rgb(29, 30, 32)"},components:[],...x&&{isListCentered:x}}),f8=({blockId:t=de(),isDefault:e=!1,name:o})=>({pageData:{type:Uo,blocks:[t],...o&&{name:o},...e&&{isDefault:e}},blocks:{[t]:{...Qg()}}}),y8=({title:t,gridTextBoxElementId:e=de()})=>({blockData:{type:"BlockLayout",mobile:{minHeight:170},desktop:{minHeight:234},settings:{styles:{"block-padding":"16px 0 16px 0","m-block-padding":"16px"}},zindexes:[e],background:{color:"rgb(255, 255, 255)",current:"color"},components:[e]},elements:{[e]:{type:"GridTextBox",mobile:{top:64,left:0,width:328,height:46},content:`

${t}

`,desktop:{top:80,left:309,width:606,height:72},settings:{styles:{text:"center",align:"flex-start",justify:"flex-start","m-element-margin":"0 0 16px 0"}},animation:{name:"slide",type:"global"}}}}),F9=(t=de())=>({blockData:{type:"BlockLayout",mobile:{minHeight:1455},desktop:{minHeight:1925},settings:{styles:{"block-padding":"16px 0 16px 0","m-block-padding":"16px"}},zindexes:[t],background:{color:"rgb(255, 255, 255)",current:"color"},components:[t]},elements:{[t]:{type:"GridGallery",images:[{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-aeae-ss-ae---2848289-m5kpo846zzf0bgek-AE0E3LX1KZuDK17O.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-edward-jenner-4252525-m5kpo84naqf4kbo6-A85D7Pk72PuR98aN.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-graphicgumcom-1289672-ylen74xpl8u9a0rn-m2W1OV5L2kHblob7.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-ilya-galica-5271593-ar0ep1qeb1s9kwnj-Yg27E3gErJhgP4yO.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-carlos-montelara-5152692-y4llnpbqpnclvzxo-Yan7eP3egJtD3jeo.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-lisa-fotios-4644397-d95mnzob1zhx54ov-mP4Z6Je6j2c3Xxaw.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-anna-shvets-4557398-avlpox4q0ku594kg-dWxn64G6erF5laj3.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-damian-apanasowicz-4185556-y4llnpbn95sznnjk-AzGOab1Q6WsOjBPD.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-thiago-giardini-5815066-ar0ep1qv43t1kger-YrD3O7zOlBUjOwNa.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-charlotte-may-5825574-aopda47pbotbyq5l-mjEzjB0j9JUO1K48.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-mitchell-luo-3685207-a3qbylnzq0trx2gq-YbNb68MWQof74BQ7.jpg",origin:"other"},{alt:"",path:"https://assets.zyrosite.space/AR0eprE7RRhpVzDz/pexels-bruno-cervera-6033461-yg27e4gdebtgb9o7-mePyWM0W3lSkywGL.jpg",origin:"other"}],mobile:{top:16,left:0,width:328,height:1417,columnGap:12,columnCount:2},desktop:{top:64,left:103,width:1018,height:1746,columnGap:"16",columnCount:"3"},settings:{layout:"masonry",styles:{"m-element-margin":"0 0 16px 0"},imageClickAction:"lightbox"},animation:{name:"slide",type:"global"}}}}),V9=({imageData:t,imageElementId:e=de()})=>({blockData:{type:"BlockLayout",mobile:{minHeight:400},desktop:{minHeight:640},settings:{styles:{"block-padding":"16px 0 16px 0","m-block-padding":"16px"}},zindexes:[e],background:{color:"rgb(255, 255, 255)",current:"color"},components:[e]},elements:{[e]:{rel:"nofollow",type:"GridImage",mobile:{top:40,left:4,width:320,height:320},desktop:{top:80,left:372,width:480,height:480},...t,settings:{alt:"Bright living room with modern inventory",...t.settings,styles:{align:"center",justify:"center","m-element-margin":"0 0 16px 0"},clickAction:"none"}}}}),U9=()=>({type:"BlockStickyBar",desktop:{minHeight:40},mobile:{minHeight:40},settings:{styles:{"block-padding":"0","m-block-padding":"0 16px"}},components:[],background:{color:"rgb(255, 255, 255)",current:"color"},zindexes:[],items:[{type:"text",content:'

Add your promotional text...

'}]}),co=sT({objectHash(t,e){return`$$index:${e}`||t._id||t.id},arrays:{detectMove:!0,includeValueOnMove:!0},textDiff:{minLength:Number.POSITIVE_INFINITY},cloneDiffValues:!0}),R2=(t,e)=>{const o=q5(t);return co.unpatch(o,e),o},fh=(t,e)=>{const o=q5(t);return co.patch(o,e),o},Jd=(t,e)=>co.diff(t,e),_f=({blocks:t})=>Object.fromEntries(Object.entries(t).filter(([,e])=>Dc.includes(e.type))),wf=({elements:t})=>Object.fromEntries(Object.entries(t).filter(([,e])=>!zc.includes(e.type))),Xg=({blocks:t,elements:e})=>{const o=_f({blocks:t}),n=wf({elements:e});return[...Object.values(o),...Object.values(n)].find(s=>{var a;return((a=s.animation)==null?void 0:a.type)===qs})},Ty=({elements:t,itemWithAnimation:e})=>Object.fromEntries(Object.entries(t).map(([o,n])=>zc.includes(n.type)?[o,n]:[o,{...n,animation:{name:e.animation.name,type:qs}}])),j9=({blocks:t,itemWithAnimation:e})=>Object.fromEntries(Object.entries(t).map(([o,n])=>Dc.includes(n.type)?[o,{...n,animation:{name:e.animation.name,type:qs}}]:[o,n])),W9=/^(\/\/|http:\/\/|https:\/\/|#)?(.*)/,q9=/^(?:\w+:)?\/\/([^\s.]+\.\S{2}|localhost[\d:?]*)\S*$/,Cy=/^[\p{L}\p{N}+._&-]{1,80}@[\p{L}\p{N}.-]{1,80}\.[A-Za-z]{1,15}$/u,Py=/^\+*\({0,1}\d{1,4}\){0,1}[\d./s-]*$/,Y9=/-(.*)/,K9=/^\d+$/,Z9=/^\/[^./]+(\.[A-Za-z]+)?$/,Q9=/^([\w ().~-]+)\.([\dA-Za-z]+)$/,By=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)/,v8=/^\/+/,Ay=(t="")=>{let e=decodeURI(t).trim();return[/\s/g,/^tel:/,/^mailto:/].forEach(n=>{e=e.replace(n,"")}),e},_8=t=>Cy.test(t),Dy=(t="")=>{const e=Ay(t);return _8(e)?{url:`mailto:${e}`,isUrlValid:!0}:{url:t,isUrlValid:!1}},w8=(t="")=>{const e=Ay(t);return Py.test(e)?{url:`tel:${e}`,isUrlValid:!0}:{url:t,isUrlValid:!1}},M2=(t="")=>q9.test(t),k8=(t="",e=!1)=>{const o={url:t,isUrlValid:!1};if(!t||/^[\dA-Za-z]+$/.test(t))return o;if(t[0]==="#")return{url:t,isUrlValid:!0};if(w8(t).isUrlValid||Dy(t).isUrlValid)return o;try{const n=/^(http:\/\/|https:\/\/)/.test(t),s=e?"http://":"https://",a=new URL(n?t:`${s}${t}`),l=t.endsWith("/")?a.href:a.href.replace(/\/$/,""),c=l.match(W9)[1];if(["http://","https://"].includes(c)&&M2(l))return{url:l,isUrlValid:M2(l)}}catch{return o}return o},Yc=(t="")=>({path:aT(t,{lower:!0,strict:!0,trim:!1}),isPathValid:!0}),kf=t=>{if(!t)return{path:t,isPathValid:!0};const{path:e}=Yc(t);return{path:e||de(),isPathValid:!0}},X9=(t="")=>({htmlId:t.replace(/[^\d a-z-]/gi,"").replace(/^[\W\d]+/,"").replace(/\s/g,"-").toLowerCase(),isUrlValid:!0}),J9=(t="")=>{const e=Ay(t);return e&&Py.test(e)?{url:`tel:${e}`,isUrlValid:!0}:{url:t,isUrlValid:!1}},tD=(t="")=>t?`https://maps.google.com/maps?q=${encodeURIComponent(t)}&t=m&z=13&ie=UTF8&output=embed`:"",eD=(t="")=>t?decodeURIComponent(t.split("?q=")[1].split("&t=")[0]):"",ed=t=>t==null?void 0:t.includes("/generated/generated-"),fa=(t,e)=>ed(t)?`generated/${e}`:e,E8=({initialSlug:t,existingSlugs:e,slugSuffix:o})=>{let n=t,s=ca({stringToMatch:kf(`${n}${o}`).path,strings:e});for(;s.length>ra;){const a=s.length-ra;n=n.substring(0,n.length-a),s=ca({stringToMatch:kf(`${n}${o}`).path,strings:e})}return s},Jg=({languages:t})=>Object.values(t).flatMap(e=>Object.values(e.elements)),oD=({languages:t})=>Object.values(t).flatMap(e=>{var o;return((o=e.blocks[$o])==null?void 0:o.items)??[]}),I8=t=>{if(!t.toSorted)return t;const{withPositions:e,reorderedLanguages:o}=t.reduce((n,s)=>(Number.isInteger(s.orderPosition)&&s.orderPosition>=0?n.withPositions.push(s):n.reorderedLanguages.push(s),n),{withPositions:[],reorderedLanguages:[]});return e.toSorted((n,s)=>n.orderPosition-s.orderPosition).forEach(n=>{o.splice(n.orderPosition,0,n)}),o},S8=(t,e)=>{const o=Object.keys(e).map(n=>e[n].blocks);return Object.fromEntries(o.flatMap(n=>Object.entries(n).filter(([,s])=>t.includes(s.type))))};var G5,F5,V5,U5,j5;const tm=((F5=(G5=window==null?void 0:window.location)==null?void 0:G5.hostname)==null?void 0:F5.includes(".hostinger.dev"))||((U5=(V5=window==null?void 0:window.location)==null?void 0:V5.hostname)==null?void 0:U5.includes(".hostinger.io"))||((j5=window==null?void 0:window.location)==null?void 0:j5.hostname.includes("zyro.space")),N2=(t,e)=>t.find(o=>o.linkedPageId===e),nD=({locale:t=te,siteData:e,itemData:o,isHidden:n=!1})=>{Ae({category:"ADD_NAVIGATION_ITEM",data:{itemData:o,isHidden:n},level:"debug",type:"debug"});const s=co.clone(e),a=o.subItems.filter(l=>l.linkType!=="Page");return s.languages[t].nav.push({...o,navItemId:o.navItemId??de(),isHidden:n,subItems:a}),s},x8=({siteData:t,pageId:e,blockId:o=de(),blockData:n,previousBlockId:s,elements:a,blocks:l,slideshowBlockId:i,slideMetadata:c,isCopy:u=!1,locale:p=te})=>{var T,x,P,z,L,$,A,D;Ae({category:"ADD_BLOCK",data:{pageId:e,blockId:o,blockData:n,previousBlockId:s,elements:a,blocks:l,slideshowBlockId:i,slideMetadata:c},level:"debug",type:"debug"});const g=co.clone(t),f=(A=($=(L=(z=(P=(x=(T=window==null?void 0:window.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:T.apps)==null?void 0:x[0])==null?void 0:P.app)==null?void 0:z.config)==null?void 0:L.globalProperties)==null?void 0:$.$store)==null?void 0:A.getters["user/isZyroUser"];let y={...n},E={...a};const I=Xg({blocks:g.languages[p].blocks,elements:g.languages[p].elements});if(I&&!u&&(Dc.includes(n.type)&&(y={...y,animation:{name:I.animation.name,type:qs}}),E=Ty({elements:E,itemWithAnimation:I})),g.languages[p].elements={...g.languages[p].elements,...E},g.languages[p].blocks={...g.languages[p].blocks,...l,[o]:y},(D=g.languages[p].blocks[o])!=null&&D.htmlId&&delete g.languages[p].blocks[o].htmlId,Object.keys(y).length||(Wt(new Error("Empty block data"),{tags:{errorType:"Empty block"}}),tm&&f&&console.error(`EMPTY BLOCK - ${o}: addBlock function`)),i){const O=g.languages[p].blocks[i];g.languages[p].blocks[i]={...O,slides:[...O.slides,{blockId:o,...c}]}}else if(e){const O=g.languages[p].pages[e].blocks;let M=O.length;s==="header"?M=0:O.indexOf(s!==-1)&&(M=O.indexOf(s)+1),g.languages[p].pages[e].blocks.splice(M,0,o)}return!g.meta[ls]&&qc.includes(n==null?void 0:n.type)&&(g.meta[ls]=Ua),g},zy=({siteData:t,blockId:e,locale:o=te})=>{var c,u,p,g,f,y,E,I;Ae({category:"REMOVE_BLOCK",data:e,level:"debug",type:"debug"});const n=co.clone(t),s=(E=(y=(f=(g=(p=(u=(c=window==null?void 0:window.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:c.apps)==null?void 0:u[0])==null?void 0:p.app)==null?void 0:g.config)==null?void 0:f.globalProperties)==null?void 0:y.$store)==null?void 0:E.getters["user/isZyroUser"],a=[e,...n.languages[o].blocks[e].type!=="BlockImageSlideshow"?((I=n.languages[o].blocks[e].slides)==null?void 0:I.map(T=>T.blockId))||[]:[]];a.flatMap(T=>n.languages[o].blocks[T].components).forEach(T=>{delete n.languages[o].elements[T]}),n.languages[o].blocks=Object.entries(n.languages[o].blocks).reduce((T,[x,P])=>a.includes(x)?T:(Object.keys(P).length||(Wt(new Error("Empty block data"),{tags:{errorType:"Empty block"}}),tm&&s&&console.error(`EMPTY BLOCK - ${e}: removeBlock function`)),{...T,[x]:{...P,...P.slides&&{slides:P.slides.filter(z=>z.blockId!==e)}}}),{}),n.languages[o].pages=Object.entries(n.languages[o].pages).reduce((T,[x,P])=>{var z;return{...T,[x]:{...P,blocks:(z=P.blocks)==null?void 0:z.filter(L=>L!==e)}}},{});const l=S8([ha],n.languages);return Object.values(l).some(T=>T.isExpressCheckoutEnabled)||delete n.meta[Rp],n},od=({siteData:t,blockId:e,slot:o,fromLocale:n})=>{var p;Ae({category:"CLONE_BLOCK",data:{blockId:e,slot:o},level:"debug",type:"debug"});const s=co.clone(t.languages[n].blocks[e]);s.initialBlockId=e;const a={},l=[],i=s.zindexes??[],c={};s.components&&((p=s.components)==null||p.forEach(g=>{const f=de();t.languages[n].elements[g]&&(a[f]=co.clone(t.languages[n].elements[g]),a[f].initialElementId=g,l.push(f),i[i.indexOf(g)]=f)}));const u={...s,components:l,zindexes:i,...o&&{slot:o}};return{newBlockId:de(),newBlock:u,newElements:a,newBlocks:c}},T8=({siteData:t,elementId:e,locale:o=te})=>{const n=co.clone(t);return n.languages[o].blocks=Object.entries(n.languages[o].blocks).reduce((s,[a,l])=>{let i=l;return l.components&&l.zindexes&&(i={...l,components:l.components.filter(c=>c!==e),zindexes:l.zindexes.filter(c=>c!==e)}),{...s,[a]:i}},{}),delete n.languages[o].elements[e],n},ua=({locale:t=te,siteData:e,pageId:o,pageData:n,blocks:s,elements:a,navigationItem:l,isPageTypeEcommerce:i=!1})=>{const c={...n};Ae({category:"ADD_PAGE",data:{pageId:o,pageData:c,blocks:s,elements:a,navigationItem:l},level:"debug",type:"debug"});let u=co.clone(e),p={...s},g={...a};u.languages[t].pages={...u.languages[t].pages,[o]:c};const f=Xg({blocks:u.languages[t].blocks,elements:u.languages[t].elements});return f&&(p=j9({blocks:p,itemWithAnimation:f}),g=Ty({elements:g,itemWithAnimation:f})),p&&(u.languages[t].blocks={...u.languages[t].blocks,...p}),g&&(u.languages[t].elements={...u.languages[t].elements,...g}),l&&(u=nD({locale:t,siteData:u,itemData:{...l,linkedPageId:o},isHidden:l.isHidden})),!u.meta[ls]&&i&&(u.meta[ls]=Ua),u},Aa=({siteData:t,pageId:e,locale:o=te})=>{var a,l;Ae({category:"REMOVE_PAGE",data:{pageId:e},level:"debug",type:"debug"});let n=co.clone(t);(l=(a=n.languages[o].pages[e])==null?void 0:a.blocks)==null||l.forEach(i=>{n=zy({siteData:n,blockId:i,locale:o})}),delete n.languages[o].pages[e];const s=n.languages[o].nav.reduce((i,c)=>{if(c.linkedPageId!==e&&!c.subItems)return[...i,c];if(c.linkedPageId!==e){const p=c.subItems.filter(({linkedPageId:g})=>g!==e);return[...i,{...c,subItems:p}]}if(!c.subItems)return i;const u=c.subItems.filter(({linkedPageId:p})=>p!==e);return[...i,...u]},[]);return n.languages[o].nav=s,n},C8=({siteData:t,pageId:e,fromLocale:o=te,toLocale:n=te})=>{Ae({category:"CLONE_PAGE",data:e,level:"debug",type:"debug"});const s=co.clone(t.languages[o].pages[e]),a=[];let l={},i={};s.blocks.forEach(P=>{const{newBlockId:z,newBlock:L,newElements:$,newBlocks:A}=od({siteData:t,blockId:P,slot:null,fromLocale:o});l={...l,...A,[z]:L},i={...i,...$},a.push(z)});const c="-copy",u=s.name?s.name.substring(0,ra-c.length):"",p=Object.values(t.languages[o].pages).map(({slug:P})=>P),g=s.type===ei.PAGE_TYPE_ECOMMERCE_DYNAMIC_PRODUCT,f={...s,blocks:a,name:g?s.name:`${s.name} Copy${n!==o?` (${n})`:""}`,slug:E8({initialSlug:u,existingSlugs:p,slugSuffix:c})};if(s.type===jn)return{clonedPageData:f,clonedBlocks:l,clonedElements:i,clonedPageNavigationItem:null};const{nav:y}=t.languages[o],E=y.flatMap(({subItems:P})=>P).filter(P=>P),I=N2(y,e)||N2(E,e)||{},{navItemId:T,...x}=I;return{clonedPageData:f,clonedBlocks:l,clonedElements:i,clonedPageNavigationItem:x}},P8=({locale:t=te,siteData:e,postTitle:o,postDescription:n,postContent:s,postThumbnail:a,isDraft:l})=>{Ae({category:"ADD_BLOG_POST_TEMPLATE",data:{isDraft:l},level:"debug",type:"debug"});const i=co.clone(e),c=de(),u=de(),p=de(),{blockData:g,elements:f}=G9(s,a);let y={...f};const E=Xg({blocks:i.languages[t].blocks,elements:i.languages[t].elements});return E&&(y=Ty({elements:y,itemWithAnimation:E})),{siteDataWithBlogPostPage:ua({locale:t,siteData:i,pageId:c,pageData:{type:"blog",name:o,slug:ca({stringToMatch:hB,strings:Object.values(i.languages[t].pages).map(({slug:T})=>T)}),blocks:[u,p],meta:{title:o,description:n,ogImageOrigin:a.origin,ogImagePath:a.path,ogImageAlt:a.alt},isDraft:l,coverImageOrigin:a.origin,coverImagePath:a.path,coverImageAlt:a.alt,date:new Date().toISOString(),categories:[],minutesToRead:"1"},blocks:{[u]:H9(),[p]:g},elements:{...y}}),pageId:c}},iD=({siteData:t,productData:e,productBlockStylesFromTheme:o={},locale:n=te})=>{const s=co.clone(t),a=de(),l=de();return{siteDataWithLegacyProductPage:ua({locale:n,siteData:s,pageId:a,pageData:{type:vn,name:e==null?void 0:e.title,blocks:[l],productId:e.id},blocks:{[l]:{...Qg({productId:e.id}),...o}}}),productId:e.id}},kd=({languageData:t,pageType:e})=>{if(!Object.values(t.pages).some(({type:u})=>u===e))return t;const n=Object.fromEntries(Object.entries(t.pages).filter(([,u])=>u.type===e)),s=Object.keys(n).flatMap(u=>n[u].blocks),a=s.flatMap(u=>t.blocks[u].components).filter(u=>u),l=Object.fromEntries(Object.entries(t.pages).filter(([,u])=>u.type!==e)),i=Object.fromEntries(Object.entries(t.blocks).filter(([u])=>!s.includes(u))),c=Object.fromEntries(Object.entries(t.elements).filter(([u])=>!a.includes(u)));return{...t,pages:l,blocks:i,elements:c}},sD=(t,e)=>{const o=ro(t);return e.forEach(n=>{const s=de();o.elements=Object.fromEntries(Object.entries(o.elements).map(([a,l])=>{const i=a===n;return[i?s:a,{...l,...i&&{initialElementId:n}}]})),o.blocks=Object.fromEntries(Object.entries(o.blocks).map(([a,l])=>[a,{...l,...l.components?{components:l.components.map(i=>i===n?s:i)}:{},...l.zindexes?{zindexes:l.zindexes.map(i=>i===n?s:i)}:{}}]))}),o},aD=[yP,vP,V4];let Ef=!1;const lD=t=>{var e,o;return((o=(e=t==null?void 0:t.exception)==null?void 0:e.values)==null?void 0:o.map(({value:n})=>n||""))||[]},rD=t=>lD(t).some(o=>E7.includes(o)),dD=()=>{try{aD.forEach(t=>{const e=Io(t);e&&sn(t,e)})}catch(t){console.error(t)}},cD=["Failed to fetch dynamically imported module","Unable to preload CSS"],uD=t=>{lT({app:t,release:"prod-2358",dsn:"https://cc0ee5b1e05d417c8a46c4da579e159a@o215831.ingest.sentry.io/1879448",environment:"PROD",integrations:[rT(),dT(),cT()],tracesSampleRate:.02,replaysSessionSampleRate:0,replaysOnErrorSampleRate:.024,ignoreErrors:["Navigation cancelled from","ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications","Network Error"],beforeSend(e,o){var s;return rD(e)||((s=o.originalException)==null?void 0:s.name)==="AxiosError"||cD.some(a=>{var l,i;return(i=(l=o.originalException)==null?void 0:l.message)==null?void 0:i.includes(a)})||Ef?null:e}}),dD()},yh=t=>{if(typeof t=="string"){Wt(new Error(t));return}Wt(t)},B8=t=>{var e;try{const{response:o,config:n}=t,{code:s,message:a}=(o==null?void 0:o.data)||{},l=(e=n==null?void 0:n.headers)==null?void 0:e[Rr];Ae({message:JSON.stringify({code:s,message:a,correlationId:l,errorMessage:t.message}),category:"xhr-error",level:"info"})}catch(o){Wt(new Error("addAxiosErrorBreadcrumb error",{cause:o}))}},pD=()=>{sn("serviceName",""),sn("backendPathname",""),sn("errorResponseMessage",""),sn("axiosErrorMessage",""),sn("axiosErrorCode",""),sn("responseStatus",""),sn("responseCode",""),sn(Rr,"")},If=t=>{Ef=!0,setTimeout(()=>{Ef=!1},t)},A8=t=>{var e,o,n,s;try{const{response:a,config:l}=t,{code:i,message:c,status:u}=g8(a);if(u===401||c==="jwt malformed"||tP.includes(t.code||"")){If(1e3);return}if(u&&((e=l==null?void 0:l.whitelistedStatusCodes)==null?void 0:e.includes(u))||i&&((o=l==null?void 0:l.whitelistedErrorCodes)==null?void 0:o.includes(i))||((n=l==null?void 0:l.getIsResponseWhitelisted)==null?void 0:n.call(l,t)))return;if(!(l!=null&&l.url)){yh("No request url provided");return}const{serviceName:E,backendPathname:I}=p8(l);sn("serviceName",E),sn("backendPathname",I),sn("errorResponseMessage",c),sn("axiosErrorMessage",t.message),sn("axiosErrorCode",t.code),sn("responseStatus",u),sn("responseCode",i),sn(Rr,(s=l==null?void 0:l.headers)==null?void 0:s[Rr]),yh(`${E} ${I} request error`)}catch(a){yh(new Error("logAxiosError error",{cause:a}))}If(1e3),pD()},em=nc.create({timeout:15e4,withCredentials:!0,headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}}});em.interceptors.request.use(t=>{if(!tm)return t;const e=Io(T0);return e&&(t.headers[J4]=e),t});em.interceptors.request.use(t=>(t.headers&&(t.headers[Rr]=oc(36)),t));em.interceptors.response.use(t=>t.data,t=>(B8(t),A8(t),Promise.reject(t)));const gD=em,mD="https://builder.hostinger.com/api/auth/api/external/v1/auth",hD=()=>gD.post(`${mD}/refresh`,{},{whitelistedStatusCodes:[401]}),D8={id_ID:"id",de_DE:"de",en_GB:"en",es_AR:"es",es_CO:"es",es_MX:"es",es_ES:"es",fr_FR:"fr",it_IT:"it",lt_LT:"lt",nl_NL:"nl",pt_PT:"pt",pt_BR:"br",ru_RU:"ru",tr_TR:"tr",uk_UA:"ua",zh_CN:"zh",hi_IN:"hi",ar_AR:"sa",he_IL:"he",pl_PL:"pl",vi_VN:"vi",th_TH:"th",ro_RO:"ro",ja_JP:"ja"},Sf=t=>D8[t];function Ly(){return Sf(_y())||J3()||x7()}function z8(t){Ai(U4,t,365,{cdomain:".hostinger.com"})}const tn={redirectToHpanel:async({path:t="",params:e={},target:o="_self"}={})=>{const n={path:t,params:{...e}};window.open(F8(n),o)},redirectToEcommerce:async({path:t="",params:e={},siteId:o=""}={})=>{const n={path:t,siteId:o,params:{...e}};window.open(sm(n),"_self")},redirectToLogoMaker:async({ref:t}={ref:""})=>{const e=new URL("","https://logo.hostinger.com");e.searchParams.append("ref",t),window.open(e,"_blank")}},bD=t=>{var e;switch((e=t.response)==null?void 0:e.status){case 401:return"builder.unauthorizedSavingNotification";case 409:return"builder.changesOnMultipleDevices";case 403:return"builder.embeddedCodeEditDisabled";default:return"builder.defaultSavingNotification"}},om="https://builder-backend.hostinger.com/v3/sites",fD=(t,e,o,n)=>{const s={siteId:t,data:e,clientTimestamp:o,flags:n};return qt.post(`${om}/site`,s,{whitelistedStatusCodes:[409,403]})},H2=async t=>{const e=`${om}/${t}`,{data:o}=await qt.get(e,{headers:{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"},whitelistedStatusCodes:[401,404]});return o},mRt=async({siteId:t,templateId:e,deleteAssets:o=!0})=>{const{data:n}=await qt.patch(`${om}/update-template`,{siteId:t,templateId:e,deleteAssets:o},{plain:!0});return n},hRt=({siteId:t})=>qt.delete(`${om}/${t}/achievements`),yD=({siteData:t})=>{const e=Object.entries(t.languages);return e.length===1?e:e.filter(([n])=>n!==te)},vD=({languageDataEntries:t})=>t.every(([,{pages:e}])=>Object.values(e).length===1),_D=({languageDataEntries:t})=>t.some(([,{pages:e}])=>Object.values(e).some(({type:n})=>n===jn)),wD=({siteData:t})=>t.meta.ecommerceType===Ua,G2=({languageDataEntries:t,elementType:e})=>t.some(([,{elements:o}])=>Object.values(o).some(({type:n})=>n===e)),kD=({languageDataEntries:t})=>t.length>1,ED=({siteData:t})=>{const e=yD({siteData:t}),o=vD({languageDataEntries:e}),n=_D({languageDataEntries:e}),s=wD({siteData:t}),a=G2({languageDataEntries:e,elementType:Ol}),l=G2({languageDataEntries:e,elementType:Ci}),i=kD({languageDataEntries:e});return{isOnePageSite:o,isUsingBlog:n,isUsingEcommerce:s,isUsingEmbedCode:a,isUsingGallery:l,isUsingMultiLanguage:i}},es=(t,e,o=!1)=>Y5(ro(t),e,(n,s)=>{if(Array.isArray(n))return o?[...s,...n]:s}),$y=t=>{let e="";return t.nodeType===Node.TEXT_NODE&&(e+=t.textContent),t.childNodes&&t.childNodes.forEach(o=>{e+=$y(o)}),e},L8=t=>`${_P}/${t}`,vh=(t="",e="")=>`${t}${e}`,Kc="https://api-ecommerce.hostinger.com/store",ID=async t=>{const{data:e}=await qt.get(`${Kc}/${t}/settings`);return e},gr=async(t,e={})=>{const{sort:o,collectionId:n,isHidden:s,limit:a,offset:l,productId:i}=e,c=new URLSearchParams(o);n&&c.set("collection_ids[]",n),s&&c.set("is_hidden",s.toString()),a&&c.set("limit",a.toString()),typeof l=="number"&&a&&c.set("offset",l.toString()),i&&c.set("ids[]",i);const{data:u}=await qt.get(`${Kc}/${t}/products?${c.toString()}`);return{products:u.products,count:u.count}},SD=async t=>{const{data:e}=await qt.get(`${Kc}/${t}/variants`,{params:{fields:"inventory_quantity"}});return e==null?void 0:e.variants},xD=async t=>{const{data:e}=await qt.get(`${Kc}/${t}/collections`);return e.collections},TD=async t=>await(await fetch(`${Kc}/${t}/products/seo-settings`)).json(),Fn=t=>(t==null?void 0:t.ecommerceStoreId)??(t==null?void 0:t.demoEcommerceStoreId)??R9,nm="https://api-ecommerce.hostinger.com/admin",F2=async(t,e)=>{const{data:o}=await qt.post(`${nm}/products/seo-settings`,{products:e},{headers:{"x-ecommerce-id":t}});return o==null?void 0:o.products},CD=async t=>{const{data:e}=await qt.get(`${nm}/store/settings`,{headers:{"x-ecommerce-id":t}});return e},PD=async t=>{const{data:e}=await qt.get(`${nm}/payment-providers`,{headers:{"x-ecommerce-id":t}});return e},BD=async({storeId:t,payload:e})=>{const{data:o}=await qt.post(`${nm}/products/product-page-template`,e,{headers:{"x-ecommerce-id":t}});return o.products},xf=(t,e)=>{const o=[],n=t.length;let s=0;for(;sReach customers most likely to buy from you wherever they are browsing online including Search, YouTube, Gmail, and more with a Performance Max campaign","addAppLandingItem2":"Get personalized recommendations to help you connect with the right audience and high intent customers","addAppLandingItem3":"Manage your campaign performance and track conversions all within Hostinger","campaignCreated":"Google Ads campaign created","retry":"Retry","marketingTools":"Marketing tools","marketingToolsDrawerTitle":"Grow traffic and sales with AI ad creator","marketingToolsDrawerSubtitle1":"What if you could create professional image and video ads in seconds – all within Website Builder?","marketingToolsDrawerSubtitle2":"Tell us what features would help your business succeed!","marketingToolsDrawerButton":"Share your feedback","marketingToolsSurveyTitle":"Thanks for showing interest in AI ad creator!","marketingToolsSurveyQuestion":"Which features would be the most useful to you?","marketingToolsSurveyOption1":"Edit pre-made ad templates","marketingToolsSurveyOption2":"Create image ads","marketingToolsSurveyOption3":"Create video ads","marketingToolsSurveyOption4":"Generate ads with AI","marketingToolsSurveyOption5":"Launch ads on social media","marketingToolsSurveyFail":"Your feedback sent failed. Please try again later.","marketingToolsSurveyOption6":"Other","marketingToolsSurveyInputPlaceholder":"Tell us what features would be most useful to your business","googleAdsAppAddBlockError":"Please disable your ad blocker to use the Google Ads App.","googleAdsAppGenericError":"An error occurred while initialising the Google Ads App.","googleAuthError":"Google authentication failed. Please try again.","googleAds":"Google Ads","integrationGoogleAdSenseSublabel":"Add the contents of your ads.txt file with the publisher ID in the box below to manage the sellers that are allowed to advertise on your site.","integrationGoogleAdMobSublabel":"Add the contents of your app-ads.txt file with the publisher ID in the box below to manage the sellers that are allowed to advertise on your site.","integrationGoogleTagManagerLabel":"Google Tag Manager container ID","integrationGoogleTagManagerPlaceholder":"Add Google Tag Manager container ID","integrationGoogleAnalyticsPlaceholder":"Add Google Analytics ID","integrationFacebookPixelPlaceholder":"Add Facebook Pixel ID","integrationHotjarPlaceholder":"Add Hotjar site ID","integrationWhatsAppPhonePlaceholder":"Add phone number","integrationWhatsAppMessagePlaceholder":"Add default message","integrationCustomCodePlaceholder":"Add code...","integrationDescriptionGoogleAds":"Reach customers searching for what you offer online across Search, YouTube, Gmail and more all from a single campaign.","integrationDescriptionCustomCode":"Add your own code to customize your website’s functionality.","integrationDescriptionWhatsApp":"Engage with customers in real-time through convenient and direct chat.","integrationDescriptionFacebookPixel":"Improve ad targeting by tracking visitor actions on your website.","integrationDescriptionGoogleAnalytics":"Analyze website traffic and gain insights to optimize user experience and performance.","integrationDescriptionGoogleTagManager":"Simplify the management and deployment of tracking codes on your website.","integrationDescriptionGoogleAdSense":"Earn revenue by displaying relevant ads on your website or blog.","integrationDescriptionGoogleAdMob":"Monetize your mobile apps by integrating high-quality ads seamlessly.","integrationDescriptionHotjar":"Discover how users interact with your site using heatmaps and session tracking.","siteResourcesFailedToLoad":"Failed to load site resources, try reloading the page.","paymentMethodsFailedToLoad":"Failed to load payment details.","reconnectInstagram":"Reconnect Instagram","reconnectInstagramTitle":"Reconnect your Instagram account","unsavedChanges":"Changes that you made may not be saved.","reconnectInstagramDescription":"Due to recent Instagram updates, your Instagram feed element stopped working. Reconnect account to keep your posts visible.","descriptionMustBeAtLeast":"Description must be at least {count} characters","updateSiteToActivateIntegration":"Update your website to activate the integration.","changesSaved":"Changes saved","showLogo":"Show logo","multilingualDrawerMaxLanguages":"Languages limit reached","showSocialIcons":"Show social icons","showButton":"Show button","showShoppingCart":"Show shopping cart","showLanguageSwitcher":"Show language switcher","topAndBottomSpacing":"Top and bottom spacing","embeddedCodeEditDisabled":"Editing embedded code is not allowed while impersonating.","aiPreviewNpsCheckbox1":"Page layout","aiPreviewNpsCheckbox2":"Images","aiPreviewNpsCheckbox3":"Color palette","aiPreviewNpsCheckbox4":"Text","aiPreviewNpsOptionalComment":"Leave comment (optional)","aiPreviewNpsCommentPlaceholder":"You can mention specific improvements or share examples of websites","aiTemplateLabel":"Personalize with AI","animateGradient":"Animate gradient","gradientAngle":"Gradient angle","solid":"Solid","gradient":"Gradient","gradientColors":"Gradient colors","websiteGradients":"Website gradients","allAiTools":"All AI tools","openAiWriter":"Open AI Writer","websiteOverview":"Website overview","seoCheckerTitle":"SEO","editBlockNavigationTabLayoutMobileLinksAlignment":"Menu links alignment","seoCheckerBrandNameLabel":"Business or brand name:","seoCheckerIssuesContainerTitle":"Some pages require your attention","seoCheckerBrandAndLanguage":"Add your business or brand name and select website language.","seoCheckerImprovementsFound":"Improvements found for {0} page","seoCheckerWordCount":"Word count in page follows recommendations","seoCheckerDescriptionAcceptable":"SEO Meta description follows recommendations","seoCheckerDescriptionImprovements":"Improve meta description based on recommendations","seoCheckerCurrentCount":"Current count is","seoCheckerRecommendedDescriptionWordCount":"Recommended meta description length is {0} characters.","seoCheckerAltRecommendation":"It is recommended to have image alt tags for all photos in the page.","seoCheckerSiteLanguage":"Website language:","seoCheckerSiteInfo":"Website information","seoCheckerHelpResources":"Help resources","seoCheckerAssistant":"AI SEO Assistant","seoCheckerGetSuggestionsDescription":"Generate new SEO title, meta description and keywords for {0} page","seoCheckerAiSeoAssistantGenerate":"Generate new SEO info","seoCheckerH1SectionDescription":"This page is either missing an H1 heading or has multiple H1 headings. For best SEO, it's recommended to include only one H1 heading on this page.","seoCheckerH1SectionSuggestionTop":"To fix this, locate where H1 is used and ensure there's only one instance. This heading should be positioned at the top of your page, before any other headings.","seoCheckerH1SectionSuggestion":"You can find where you've used H1 by clicking on text elements and checking their style.","seoCheckerH1SectionSuggestionTitle":"What should you do:","seoCheckerH1SectionTitle":"Use only one H1 heading on this page","websiteEditModalTitle":"Website information","websiteEditModalBrandInputLabel":"Business or brand name","websiteEditModalBrandInputLabelExamples":"Examples: Susan Outdoor Photography, Hallwill Music Band, Carwow Detailing","websiteEditModalLangInputLabel":"Website language","headerUpdateModalTitle":"New ways to customize your website header","headerUpdateModalSubtitle":"Customize your header whichever way you like. Note that your site header layout might’ve changed because of the new header settings.","someImagesFailedToBeGenerated":"Some images couldn't be created.","aiChatbotAskAnything":"Ask anything","kodee":"Kodee","aiChatbotThankYouForFeedback":" Thank you for your feedback!","aiChatbotWriteYourFeedback":"Write your feedback (optional)","aiChatbotRateYourExperience":"Rate your experience using AI Assistant","aiChatbotClearChat":"Clear chat","aiChatbotClearChatDescription":"After clearing history you won’t be able to access previous chats.","aiChatbotAskAiV2":"Ask Kodee","aiChatbotInaccurateInformation":"AI may produce inaccurate information","aiChatbotGreetMessagePart1":"Hi, I'm your personal AI Assistant. 🤖 You can ask me any questions you have. I'm still learning, so sometimes can make mistakes.","aiChatbotGreetMessagePart2":"What questions do you have?","aiChatbotFailedToInitialize":"Oops! Chatbot failed to initialize. Please try again later.","aiChatbotStatus500Message":"Chatbot services are currently unavailable. Please try again later.","aiChatbotStatus503Message":"Chatbot failed to provide a response. Please try again","aiChatbotStatusGenericMessage":"Oops! Something went wrong while chatbot was processing your request. Please try again later.","aiChatbotRephraseQuestion":"Sorry, but I could not find an answer. Please try to rephrase your question.","aiChatbotUnavailable":"AI Assistant is not available at this moment. Please try again later.","aiPreviewRateSiteText":"Help us improve by rating created site","aiChatbotWriteQuestion":"Write your question","aiChatbotLeaveFeedback":"Leave feedback","aiChatbotRestart":"Restart","aiChatbotOpenAiImage":"Open AI Image","aiChatbotOpenAiLogo":"Open AI Logo","aiChatbotOpenAiWriter":"Open AI Writer","aiChatbotOpenAiBlog":"Open AI Blog","aiChatbotOpenAiHeatmap":"Open AI Heatmap","aiChatbotOpenAiPageGenerator":"Open AI Page Generator","stepCount":"{step} of {value}","buildEasierWithInteractiveList":"Build easier with our interactive checklist","goToWebsiteList":"Go to websites list","aiBuilderPalettes":"Color palettes","aiBuilderPalettesDescription":"You can change your site colors later too.","aiBuilderWebsiteSaved":"Previous website successfully saved","aiBuilderAccessWebsiteList":"Access all created sites from your websites list","aiBuilderHeaderPopupTitle":"Continue to editing mode and:","aiBuilderHeaderPopupText1":"Adjust images & content","aiBuilderHeaderPopupText2":"Customise design","aiBuilderHeaderPopupText3":"Modify structure","aiBuilderHeaderPopupText4":"Add new sections","aiBuilderHeaderPopupText5":"Publish your site","aiBuilderHeaderPopupText6":"Access SEO tools, and more","aiBuilderHeaderPopupEcommerceStore":"Set up online store","aiBuilderHeaderPopupEcommercePayment":"Add payment provider","aiBuilderHeaderBackPopupTitle":"Generated website is saved","aiBuilderHeaderBackPopupText":"You can find all generated websites in the websites list.","aiBuilderHeaderVersionHistoryDropdownText":"Choose from the last {number} versions","aiBuilderHeaderVersionHistoryDropdownItem":"Version {number}","aiBuilderSidebarTopContentHeading":"Continue to edit the site","aiBuilderSidebarTopContentHeadingEcommerce":"Continue to set up your store","aiBuilderSidebarTopContentSubtitle":"Edit this site's layout, design, and content.","aiBuilderSidebarTopContentSubtitleEcommerce":"Add products, connect payment methods, and customize website to your liking.","editSite":"Edit site","createPage":"Create page","createSection":"Create section","generatePageDescriptionExampleTitle1":"Coffee shop might write:","generatePageDescriptionExampleText1":"Create a Services page for our community-driven coffee shop. We're more than just a place to grab a cup of coffee. We're a community hub where like-minded individuals gather to connect, collaborate, and savor the finest locally sourced coffee.","generatePageDescriptionExampleTitle2":"Fashion brand might write:","generatePageDescriptionExampleText2":"Create a Project page for our sustainable fashion brand. Our commitment to eco-consciousness and ethical sourcing is reflected in every meticulously crafted garment, crafted from responsibly sourced materials around the globe.","generateSectionDescriptionExampleTitle1":"Design studio might write:","generateSectionDescriptionExampleText1":"A section showcasing services offered by our design studio, including logo creation, designs for social media, and website design. Everything is done with a focus on the brand and its goals.","generatePagePlaceholder":"Create an About Us page for our sustainable Italian restaurant, where we craft authentic dishes using only the finest locally sourced ingredients...","generateSectionPlaceholder":"About us section for our sustainable fashion boutique, where we curate stylish collections using only ethically sourced fabrics...","createPageWithAi":"Create a page with AI","createSectionWithAi":"Create a section with AI","generatePage":"Generate page","generateSection":"Generate section","aiImageValidationHint1":"Try to be descriptive for best results!","aiImageValidationHint2":"Good start, aim to be more descriptive","aiImageValidationHint3":"Great description!","invalidAiImageDescription":"Invalid image description","aiImageDescriptionIncludesBadWords":"Your image description includes one or more words that are not allowed. Please modify it to exclude these words.","aiImageCannotBeAddedToCurrentSectionError":"The image couldn't be placed in the current section, but it's saved in the asset manager for future use.","aiOutputsMightBeMisleading":"AI outputs may be misleading or inaccurate","imageCreditsError":"Something went wrong. Please try again.","imageCreditsToasterHeader":"Image credits added successfully","imageCreditsToasterMessage":"Your image credits are ready to use. Create stunning images with just one credit per generation.","creditsModalTitle":"Purchase credits to generate AI-made images","creditsModalDescription":"Unlock the power of AI to create stunning images with just one credit per generation. Unleash your creativity and bring your ideas to life.","aiImageGeneratorCreditsUsage":"Use %{0} of %{1} credits","aiImageGeneratorNoCredits":"You have 0 credits","aiImageGeneratorZeroCredits":"You have %{0} credits","thankYouForYourFeedback":"Thanks for your feedback","thankYouForYourFeedbackV2":"Thank you for your feedback!","aiImagesRate":"Rate images","aiSEOAssistant":"AI SEO Assistant","aiImageGenerator":"AI Image Generator","aiBlogGenerator":"AI Blog Generator","aiPageGenerator":"AI Page Generator","aiSectionGenerator":"AI Section Generator","aiProductDetailsGenerator":"AI Product Details Generator","aiPageGeneratorEcomFailureHeading":"Oops! E-commerce page creation on hold","aiPageGeneratorEcomFailureDescription":" AI can't create e-commerce pages now. But you can still add them manually in 'Pages and Navigation.' We're fixing it soon. Apologies for the hassle!","aiLogoMaker":"AI Logo Maker","aiImageGeneratorTooltip":"Image Generator can't be used on selected section","productListRibbonTooltip":"Make your product stand out with labels like “New Arrival” or “Sale.” Ribbons will appear in your product galleries. %{0}","productListRibbonTooltipLinkText":"See how ribbons look and how to manage their looks.","header":{"styles":"Styles","publishWebsite":"Publish website","publishing":"Publishing...","updateWebsite":"Update website","websiteSuspended":"Website suspended","label":"Page","goLive":"Go live"},"headerPreview":{"backToEditor":"Back to editor","previewMode":"Preview mode"},"privateMode":{"toggleTitle":"Coming soon mode","pageTitle":"Coming soon","explanation":"Get people excited about your site’s launch. They’ll only be able to see the Coming soon page when they visit.","editPage":"Edit Coming soon page","publishWebsite":"Publish your website for this setting to take affect"},"storeManager":{"title":"Store manager","backToSiteSettings":"Back to site settings","loadingNotificationTitle":"Still loading? Check your browser extensions","loadingNotificationDescription":"Some extensions may block the page from loading properly. Try disabling them to fix the issue."},"connectYourDomainModal":{"title":"Connect your domain","text":"Connecting a domain is a premium feature. You need to upgrade your website before you're able to connect your domain.","btn":"Choose a plan","footerTextPrice":"Upgrade for as little as %{0}","footerTextGuarantee":"30-day money-back guarantee"},"publishedModal":{"subtitle":"Your website is published and online"},"publishedModalRoot":{"imgAlt":"Upgrade your website","textBold":"Connect your own domain with Zyro Premium","text":"Make your website easier to find and trust.","premium":{"title":"Next step - connect your own domain","text":"Make your website visible for search engines and increase visitors trust.","btn":"Get domain"}},"publishedChangesModal":{"subtitle":"Keep in mind that changes might take a few minutes to be displayed"},"publishModal":{"title":"Choose a domain name","subtitleText":"Connect your own domain or create a Zyro one.","discount":"PREMIUM 30% OFF","text":"for a limited time","additionalPremiumMessage":"FREE","subtext":"with your existing premium plan","form":{"labelText":"Use a Zyro domain","validDomainMessage":"%{0} All good. Continue","message":"Enter a domain you would like to use for your site"},"label":"Connect your own domain","descriptionText":"Look professional with your own domain","placeholderDomain":"typeyournamehere"},"publishErrorModal":{"title":"Something went wrong","subtitle":"Please go back and try again."},"addNewSectionModal":{"title":"Add new section","subtitle":"Choose a section and add it to your website.","addBlankSection":"Add blank section"},"addNewPageModal":{"title":"Add page","subtitle":"Choose any page and customize it by changing the text, images and more.","addEmptyPage":"New empty page"},"deletePageModal":{"title":"Delete page","linkTitle":"Delete link","dropdownTitle":"Delete dropdown","text":"Are you sure you want to delete","subText":"You cannot undo this action."},"deleteBlogPostModal":{"title":"Delete blog post","description":"Deleted blog posts are no longer available and will be permanently deleted."},"notifications":{"errorLoadingFonts":"We couldn't load Google fonts at the moment. Please reload this page.","errorAddingForm":"Error adding the form. Please contact customer success team.","errorLoadingEntries":"Failed to fetch entries. Please contact customer success team.","errorRemovingEntry":"Couldn't delete the record at the moment.","errorRemovingEntries":"Couldn't delete the selected records at the moment.","errorDeletingForm":"Error deleting the form. Please contact customer success team.","errorLoadingContactFormEmail":"Couldn't load form email address. Please contact customer success team.","errorChangingFormEmail":"Error changing form email. Please contact customer success team.","errorWhileUpdatingElement":"Error while updating element. Refresh page and try again.","errorWhileUpdatingElementMobilePosition":"Error while updating element. Please check mobile version for any issues.","errorWhileAddingElement":"Error while adding element. Refresh page and try again.","errorVideoNotFound":"A video with provided URL was not found.","errorVimeoVideoPrivate":"Make sure this video is public on Vimeo.","errorNoSectionToCopy":"Error occurred - no section selected to copy","errorNoSectionToPaste":"Error occurred - no section selected to paste","errorNoElementToPaste":"Error occurred - no element selected to paste","errorBlockToAddElementNotFound":"Error ocurred - no section found to add element"},"pageSettingsModal":{"title":"Page settings","buttonSeoTitle":"SEO settings","buttonPageUrlTitle":"Page URL","textFields":{"nameInNavigation":{"label":"Name in navigation"},"pageUrl":{"label":"Page URL","message":"Here's your full URL:"},"pageTitle":{"label":"Page title","message":"The page title will be visible in search results and browser tabs."},"pageDescription":{"label":"Page description"},"pageHide":{"label":"Hide page","message":"The page will not be shown in your website navigation, but it will still be accessible via the URL."}},"searchResultPreview":"Search result preview","googleSeoUpdateMessageV2":"It takes time for Google to update its search results with your website and its changes.","seoTitle":"SEO title","metaDescription":"Meta description","metaDescriptionPlaceholder":"Search engines automatically generate a description. To use a custom description instead, enter it below.","metaDescriptionMessage":"Short and relevant summary of what the page is about. Recommended text length up to 160 characters.","socialImageSubtitle":"Social images may display on social networks or in text messaging applications when you share a URL from your site."},"seoDrawer":{"description":"Search engine optimization (SEO) allows you to improve your ranking in search results.","quickLinks":"Quick links","quickLinkImproveSeo":"How to improve your site’s SEO","quickLinkGoogleSearchConsole":"Verify on Google Search Console","quickLinkGoogleBusiness":"List your business on Google","seoOpportunities":"SEO opportunities","descriptionImproveV2":"Improve your website's search engine rankings by completing the steps below.","yourWebsiteTitle":"Your Website Title","addNewKeywordModalTitle":"Add new keyword","otherSeoTips":"Other SEO tips","seoChecker":{"seoCheckerFocusKeywordShouldBeAdded":"Focus keyword should be added and selected for this page","seoCheckerTitleNotEmpty":"SEO title should not be empty","seoCheckerTitleLength":"SEO title length should be between 10 and 60 characters. The current count is %{0} characters","seoCheckerTitleFocusKeyword":"SEO title should include a focus keyword %{0}","seoCheckerDescriptionNotEmpty":"Meta description should not be empty","seoCheckerDescriptionLength":"Meta description length should be 156 characters. The current count is %{0} characters","seoCheckerDescriptionFocusKeyword":"Meta description should include a focus keyword %{0}","seoCheckerPageSlugIncludeFocusKeyword":"Page URL should include a focus keyword %{0}","seoCheckerWordCount":"At least 300 words are recommended for this page. Currently, your word count is %{0}.","seoCheckerAltTags":"Image alt text is recommended for all images on this page. Currently, only %{0} out of %{1} images have alt text.","seoCheckerSlugUnique":"The slug '%{0}' should be unique and available for use."},"searchPages":"Search pages...","mainPages":"Main pages","productPages":"Product pages"},"linkSettingsModal":{"label":"Link name"},"editOnlineStoreModal":{"upgradeSite":{"title":"Upgrade to sell online","text":"You need to have one of our eCommerce plans to run an online store.","btn":"Upgrade"},"manageStore":{"title":"Manage your online store","text":"Congratulations, your store is now open for business. Open the store manager and get started.","btn":"Open store manager"},"choose":{"title":"Start selling online","text":"You need to have one of our eCommerce plans to set up an online store.","btn":"Choose plan"}},"editStoreModalContainsAdvanced":"Your template contains an Advanced store page","editStoreModalSwitchToOnline":"If you want to use a Online store instead of an Advanced store, learn %{0}.","editStoreModalSwitchToOnlineSlot":"how to switch to Online store","editStoreModalDeleteStorePage":"If you're not planning on selling with an Advanced store, %{0}.","editStoreModalDeleteStorePageSlot":"please delete the store page","editBlockNavigationTabLayoutFullScreenToggle":"Make menu full-screen","editBlockButton":{"editHeader":"Edit header","editSection":"Edit section","changePostTitle":"Change post title","changeBackground":"Change background","changeSlides":"Change slides","editBlogList":"Edit blog list","editBlogHeader":"Edit blog header","removeWarningText":"This section will be deleted on all pages","hideShow":"Hide/Show","moveUp":"Move up","moveDown":"Move down","moveSectionUp":"Move section up","moveSectionDown":"Move section down","editNavigation":"Edit navigation","changeLogo":"Change logo","editShoppingCart":"Edit shopping bag","editShoppingCartV2":"Edit shopping cart","editStyles":"Edit styles","deleteLinkedSection":"Delete linked section","addFooter":"Add footer","configureMultilingual":"Configure multilingsal settings","autoFixLayout":"Auto-fix layout"},"editBlockTabLayout":{"toggleFieldLabel":"Enable grid gaps","toggleGuideSnappingLabel":"Snap to guides","toggleGuideSnappingDescription":"Elements will automatically snap to columns and rows as you move them.","controlRangeLabel":"Padding","toggleSnappingToElements":"Snap to elements","keepGridVisible":"Keep grid visible","controlRangeRowHeight":"Row height","controlRangeRowGap":"Row gap"},"editBlockTabBackground":{"overlayOpacity":"Overlay opacity"},"editBlockTabAnchor":{"anchorName":"Anchor name","anchorUrlExample":"Your full unique URL link for this section: %{0}"},"editBlockNavigation":{"title":"Header settings","tabLayout":{"stickyHeader":"Make header sticky","menuPosition":"Menu position","elementSpacing":"Element spacing","linkSpacing":"Link spacing"},"tabLogo":{"itemSpacing":"Menu item spacing","generate":"Use AI to create a unique logo","logoPosition":"Logo position","logoWidth":"Logo width"},"tabStyle":{"headerTransparent":"Transparent header","headerBackground":"Header background","textColor":"Header text color","hoverColor":"Hover color","editTextStyles":"Edit text styles"},"tabCart":{"showCart":"Show shopping bag","cartIconText":"Icon text","iconSize":"Icon size"}},"editCommon":{"itemsPerRow":"Items per row","gapBetweenPhotos":"Gap between photos"},"editGallery":{"title":"Edit gallery","popupTitle":"Gallery settings","manageButton":"Manage gallery","layout":"Layout","grid":"Grid","masonry":"Masonry","emptyBlockTitle":"Your gallery is empty","emptyBlockExplanation":"Start adding images to this gallery. Click manage gallery to get started."},"editButton":{"title":"Edit button","popupTitle":"Button settings","tabActionLabel":"Button text","tabLayoutLabel":"Alignment","tabStyleLabel":"Button style","primaryButtonStyles":"Primary button styles","secondaryButtonStyles":"Secondary button styles","linkSettings":{"label":"Link to","toggleFieldLabel":"Open in new tab","toggleRelNoFollowFieldLabel":"Make link nofollow","toggleRelNoFollowFieldDescription":"Search engines will ignore a nofollow link.","anchoredSectionPlaceholder":"Select section...","pagePlaceholder":"Select page...","emailPlaceholder":"Type email address","phonePlaceholder":"Type phone number","noNamedSections":"No named sections...","anchorInPage":"%{0} in %{1} page","anchorWithPageSuffix":"%{0} page"},"customButtonStyles":{"hover":"Hover","normal":"Normal","fill":{"title":"Fill","text":"Fill color (normal)","textHover":"Fill color (hover)"},"fillColor":"Fill color","textColor":"Text color","borderColor":"Border color","borderWidth":"Border width","spacing":"Spacing","text":{"title":"Text","text":"Text color (normal)","textHover":"Text color (hover)","size":"Text size","font":"Text font"},"border":{"title":"Border","text":"Border color (normal)","textHover":"Border color (hover)"},"size":{"title":"Size","small":"Small","medium":"Medium","large":"Large"}},"stripe":{"publicApiKey":"Public api key","paymentType":"Payment type","priceId":"Price ID","successPage":"Success page","cancellationPage":"Cancellation page","paymentRecurring":"Recurring","paymentPayment":"One-time","usingTestKey":"You are using a test publishable API key","usingLiveKey":"You are using a live publishable API key","findPriceId":"Where can I find my Price ID?","successPageDescription":"A user will see this page if the payment is successful.","cancelPageDescription":"A user will see this page if the payment is canceled.","setUpSuccess":"Set up successful","addProduct":"Add product","setup":"Set up Stripe checkout","activateKey":"Activate Stripe Checkout by pasting a publishable API key below. %{0}","activateKeyHow":"Here's how.","keyIsntRight":"The publishable API key doesn't seem to be right. Please try again","acceptPayments":"Set up Stripe Checkout and accept one-time and recurring payments.","showHow":"Show me how","liveApiKeyDescription":"Use a test publishable API key for testing and development purposes.","testApiKeyDescription":"The test publishable API is useful for development and testing purposes. Switch to a live publishable API key when you're ready to sell.","priceIdIncorrect":"The Price ID is incorrect"},"ecommerce":{"connectButtonTo":"Connect this button to:","noProducts":"You don’t have any products yet","addProducts":"Manage products","returnPageDescription":"User will be redirected to this page after payment success/fail.","returnPage":"Return page","editProduct":"Edit this product","productOption":"Product option","editProductV2":"Edit product","description":"Edit your product and related products in Store Manager."}},"contextMenu":{"gridItem":{"sendFront":"Bring to front","moveForward":"Move forward","sendBack":"Send to back","moveBackward":"Send backwards","cut":"Cut","copy":"Copy"},"gridBlock":{"paste":"Paste","pasteSectionFromJson":"Paste section as JSON","copySection":"Copy section","copySectionAsJson":"Copy section as JSON","pasteSection":"Paste section"}},"editImage":{"title":"Edit image","popupTitle":"Image settings","tabAction":{"label":"What happens when user clicks on image?"},"tabImage":{"objectFit":"Image position","fit":"Fit","fill":"Fill","resetProportions":"Reset image proportions"},"tabStyles":{"borderRadiusDisclaimer":"Corner radius can't be used when shape is applied to the image."},"tabSeo":{"textFieldLabel":"Alt text","label":"Use alt text to describe the image and help search engines understand your page content better.","AIRecommendationImageTools":"%{0}, or %{1} or %{2} your images with the help of AI.","AIRecommendationSlotBackgroundRemoval":"Remove the background","AIRecommendationSlotUpscale":"upscale","AIRecommendationSlotResize":"resize","NpsImage":"%{0}. Help us improve.","NpsImageRateThisFeature":"Rate this feature"}},"editShape":{"title":"Change shape","popupTitle":"Shape"},"editInstagram":{"title":"Edit feed","popupTitle":"Instagram feed","tabGeneral":{"connectYourInstagramInfo":"Connect your Instagram account to display photos and videos on your site.","connectInstagram":"Connect Instagram","instagramConnected":"Instagram connected"}},"imageClickAction":{"action":{"none":"Nothing","link":"Open link","lightbox":"Open full screen preview"}},"editMap":{"title":"Edit map","popupTitle":"Map settings","tabActionLabel":"Address"},"editText":{"title":"Edit text","editTextMore":{"title":"Letter case","letterCases":{"uppercase":"UPPERCASE","lowercase":"lowercase","capitalize":"Title Case"}},"textColor":"Text color","textStyle":"Text style","fontSize":"Font size","bold":"Bold","boldV2":"Bold","italic":"Italic","underline":"Underline","strike":"Strikethrough","list":"List","bulletedList":"Bulleted list","numberedList":"Numbered list","textAlignment":"Text alignment","leftAlign":"Left align","rightAlign":"Right align","centerAlign":"Center align","justifiedAlign":"Justified align","editorTextGenerator":"Text generator","moreOptions":"More options","alignment":"Alignment","backgroundColor":"Background color","textGenerator":"AI text generator","lineHeight":"Line height","editTextStyles":"Change text styles","uploadingFont":"Uploading %{0}","fontUploadedSuccessfully":"%{0} uploaded successfully","clearFormatting":"Clear formatting"},"editVideo":{"title":"Edit video","popupTitle":"Video settings","tabAction":{"label":"Video link","modifiers":{"autoplay":"Autoplay","loop":"Loop","controls":"Show video controls"},"autoplayMessage":"The autoplay feature doesn't work on mobile devices.","controlsMessage":"You can hide the video controls of your Vimeo video if you’re a paying Vimeo user."}},"editStore":{"title":"Manage store"},"editSlideshow":{"settings":{"title":"Slideshow settings","navigationBulletsColor":"Slide buttons color","navigationArrowsColor":"Navigation arrows color","autoplaySlideshow":"Autoplay slideshow","loopSlides":"Loop slides","howLongBetweenLoop":"Duration between slides","fullSreenHeight":"Full screen height (mobile)"},"manageSlides":{"title":"Manage slides","deleteSlideModal":{"title":"Delete slide","subtitle":"Are you sure you want to delete this slide?"},"validation":{"slideExists":"Slide already exists in the slideshow"},"editSlidePlaceholder":"New slide name","addSlide":"Add new slide","itemPlaceholder":"Drop your slide here"},"background":{"title":"Slide background"}},"addEcommerceBlock":{"title":"Add an online store to your website","subtitle":"Everything you need to sell online","buttonAddPage":"Add store page","buttonAddHere":"Insert store here"},"editSocialIcons":{"title":"Edit social icons","popupTitle":"Social icon settings","tabIcon":{"size":"Icon size","color":"Icon color"},"tabLayout":{"displayVertically":"Display icons vertically","iconSpacing":"Icon spacing","spaceBetween":"Space between icons"},"tabLinks":{"addNew":"Add new link","placeholder":"Social link","itemPlaceholder":"Drop your link here","socialIconMesssage":"Social icons are assigned automatically when you add a new link."},"error":{"invalidUrl":"The link is not valid"}},"saveButtonPopupTitle":"Autosave: On","saveButtonPopupDescription":"Autosave ensures that you don’t lose anything you’re currently working on.","saveButtonPopupBackupsTitle":"Backups: %{0}","siteMenu":{"title":"Pages and navigation","description":"Manage every page of your website here","mainNavigation":"Main navigation","noMainPages":"No pages or links in main navigation","addMainPage":"Drag and drop here or unhide it in settings","otherPagesSubtitle":"Your visitors and search engines can access these pages, but they won't appear in the main navigation.","hiddenFromNavigation":"Hidden from navigation","hiddenFromNavigationDescription":"These pages are accessible through search engines and URLs but do not appear in your navigation.","noHiddenPages":"No hidden pages or links","addHiddenPages":"Drag and drop pages or hide them in Page settings.","showInNavigation":"Show in navigation","hideFromNavigation":"Hide from navigation","moveToDropdown":"Move to dropdown","moveOutOfDropdown":"Move out of dropdown","emptyDropdown":"This dropdown is empty","emptyDropdownSubtitle":"Drag and drop pages to this dropdown","otherPages":"Other pages"},"multilingualDrawerTitle":"Languages","multilingualDrawerDescription":"Add multiple languages to your site so visitors can browse in their language.","multilingualDrawerDefaultLangDescription":"Default language is used first when visitors access your site.","multilingualDrawerRemove":"Remove","multilingualDrawerRemoveLanguageModalTitle":"Remove language","multilingualDrawerRemoveLanguageModalText":"Are you sure you want to remove %{0} language and all its content? You cannot undo this action.","multilingualDrawerDuplicateModalTitle":"Add %{0} language","multilingualDrawerDuplicateModalText":"New languages will duplicate content from your website's starting language %{0}","multilingualDrawerDuplicateModalTextSlot":"(this works best when you have a finished website in your starting language.)","multilingualDrawerMakeDefault":"Make default","multilingualDrawerDefault":"Default","multilingualDrawerAddLanguage":"Add language","multilingualDrawerSetStartingLang":"Select starting language","multilingualDrawerHelpSteps":{"selectStartingLanguage":"Select the starting language of your website.","setupOriginal":"New languages will duplicate content from your website's starting language (this works best when you have a finished website in your starting language.)","fullControl":"Customize and edit the content of each new language."},"multilingualDrawerTranslationsDisclaimer":"All added languages require manual translation, and online store pages are not translatable.","editableItemsList":{"dragToMove":"Drag to move","placeholder":"Drop it here","logoHint":"Drag any page to main navigation to unhide the header and logo settings. Then update your logo.","hiddenLogo":"Logo is hidden"},"sectionSettings":{"title":"Section settings"},"emptyBlockWarning":{"textStrong":"This section is empty","subtitle":"Use %{0} menu on the left to add content","subtitleSlot":"Add elements"},"emptyPage":{"title":"This page is empty","subtitle":"Click \\"Add section\\" below or use the %{0} menu on the left to start building this page","subtitleSlot":"Add elements"},"domain":{"defaultDomain":"mywebsite"},"featureLock":{"bannerMessage":"Upgrade to the Business plan to use all AI and eCommerce features.","upgradeModalTitle":"Upgrade to the Business plan to use this feature","upgradeModalDescription":"AI tools and eCommerce features are available to Business plan holders only."},"AIWriter":{"title":"AI Writer","description":"Use AI Writer to fill your website with beautiful content in a matter of seconds.","choices":{"selectWriterTopic":"Select topic or","selectCategory":"Select a category","selectParagraph":"Select a paragraph","selectLanguage":"Select a language"},"goWild":"go wild","btn":"Generate Text","textFor":"%{0} text for %{1} in %{2}","categories":{"restaurantsFood":"Restaurants & Food","healthLiving":"Health & Living","sportsEntertainment":"Sports & Entertainment","beautyCosmetics":"Beauty & Cosmetics","eventsWeddings":"Events & Weddings","agricultureFarming":"Agriculture & Farming","fashionApparel":"Fashion & Apparel","sustainability":"Sustainability","artDesign":"Art & Design","musicEntertainment":"Music & Entertainment","hotelsTravel":"Hotels & Travel","smallBusiness":"Small Business","gaming":"Gaming","professionalServices":"Professional Services"},"subcategories":{"italianRestaurant":"Italian Restaurant","japaneseRestaurant":"Japanese Restaurant","mexicanRestaurant":"Mexican Restaurant","bakery":"Bakery","coffeeshop":"Coffeeshop","personalTrainer":"Personal trainer","gym":"Gym","yoga":"Yoga","marathon":"Marathon","massage":"Massage","personalPhysiotherapyServices":"Personal physiotherapy services","footballTeam":"Football team","skinCare":"Skin care","techConferences":"Tech conferences","agricultureCompany":"Agriculture company","organicFarmingCompany":"Organic farming company","fashionStore":"Fashion Store","streetFashion":"Street Fashion","sustainableFashionDesigner":"Sustainable fashion designer","artGallery":"Art gallery","ceramics":"Ceramics","electronicMusic":"Electronic music","bedBreakfast":"Bed & Breakfast","travel":"Travel","interiorDesign":"Interior Design","velomarathon":"Velomarathon","horseRacing":"Horse Racing","bar":"Bar","sustainableEnergyFund":"Sustainable energy fund","nailSalon":"Nail Salon","hairSalon":"Hair Salon","triathlon":"Triathlon","concert":"Concert","architectPortfolio":"Architect Portfolio","sustainableEcoFurniture":"Sustainable Eco Furniture","carRental":"Car Rental","transferServices":"Transfer Services","tourOperator":"Tour Operator","popMusicArtist":"Pop Music Artist","indieMusicArtist":"Indie Music Artist","musicVenue":"Music Venue","vegetableFarming":"Vegetable Farming","permacultureFarming":"Permaculture Farming","sustainableFarm":"Sustainable Farm","sustainableCosmeticsBeauty":"Sustainable Cosmetics & Beauty","sportsWear":"Sports Wear","kidsClothing":"Kids Clothing","fruitsGrowingCompany":"Fruits Growing Company","photography":"Photography","videoGames":"Video Games","eSport":"eSport","action":"Action","rpg":"RPG","gameDevelopment":"Game Development","weddings":"Weddings","homeDecor":"Home & Decor","realEstate":"Real Estate","photographer":"Photographer","personalPhysiotherapy":"Personal Physiotherapy ","fashionDesigner":"Fashion Designer","architect":"Architect","interiorDesigner":"Interior Designer","gaming":"Gaming"},"types":{"about":"About","menuDescription":"Menu description","personalBioHistory":"Personal bio/History","description":"Description","team":"Team","services":"Services"}},"AIWebsiteBuilder":{"subtitle":"Use the power of AI to create a starting point for your website tailored specifically for you.","brandNameInputLabel":"Brand name","brandNameInputDescription":"We’ll use it to offer more personalized, unique content.","descriptionInputPlaceholderV2":"We're a marketing agency based in London. Our team of experts has more than 10 years of experience and is dedicated to delivering exceptional results. Use blue colors for the website...","descriptionQualityLabel":"Description quality","descriptionQualityLabelBad":"Try to be descriptive for best results!","descriptionQualityLabelMedium":"Could be more descriptive","descriptionQualityLabelGood":"Great description!","qualityLabel":"Be descriptive for the best results!","qualityLabelBad":"Good start, aim to be more descriptive","qualityLabelMedium":"Good effort, almost a great description","buttonCreateWebsite":"Create a website","loaderTitle":"Creating a website","loaderSubtitle":"Hold on tight! It won’t take long.","businessTypeLabel":"Business type","websiteTypeLabel":"Website type","addOnlineStore":"Add online store to my site","template":"Template:","style":"Style","pages":"Pages","brandColor":"Brand color","accentColor":"Accent color","fontPair":"Font pair"},"AIWebsiteBuilderFormWeddingBrandName":"Couple's names","AIWebsiteBuilderFormWeddingBrandNamePlaceholderV2":"Olivia & Jacob","AIWebsiteBuilderFormDescriptionWeddingSubLabel":"Describe the event details, such as time, location, and agenda. You can also mention the color palette and the fonts you'd like to use.","AIWebsiteBuilderFormDescriptionWeddingPlaceholder":"We, Olivia & Jacob, are getting married on July 12th. The ceremony will take place at 11 AM at St. Patrick's Cathedral, followed by a celebration at Le Bernardin restaurant...","AIWebsiteBuilderFormTitle":"Tell us about your site","AIWebsiteBuilderFormTitleV2":"Let AI create a website for you","AIWebsiteBuilderTemplateFormTitle":"Personalize text and images faster with AI","AIWebsiteBuilderTemplateFormUseOriginalButton":"Use original template","AIWebsiteBuilderTemplateFormUseTemplateButtonMain":"Personalize template","AIWebsiteBuilderFormTypePlaceholder":"Select type","AIWebsiteBuilderFormBrandPlaceholder":"Enter brand name","AIWebsiteBuilderFormDescription":"Description","AIWebsiteBuilderFormDescriptionSubtitleV2":"Describe your project or brand in a few sentences. Include what colors and fonts you’d like to use.","AIWebsiteBuilderFormDescriptionSubtitle":"Describe your project or brand in a few sentences.","AIWebsiteBuilderPreviewFormTitle":"Create another website version","AIWebsiteBuilderPreviewFormSubtitle":"Last 5 versions of your site are saved in version history.","AIHeatmapLabel":"AI Heatmap","AIHeatmapText":"AI-driven attention Heatmap predicts your user behavior","AIHeatmapMore":"Learn more","AIHeatmapLessAttention":"Less attention","AIHeatmapMoreAttention":"More attention","AIHeatmapGenerating":"Creating attention map","AIHeatmapRetry":"Retry","AIHeatmapTooltip":"Heatmap visualise the user's attention in critical areas of your design. The brighter the color the more attention it will get","AIWebsiteBuilderWelcomeSubtitle":"Let’s create you a site in 1 minute","AIWebsiteBuilderWelcomeLinkText":"Or use pre-made templates","AIWebsiteBuilderChangeTemplateModalWarning":"Your current website content will be permanently deleted.","AIWebsiteBuilderChangeTemplateModalWarning2":"All your content will be deleted","AIWebsiteBuilderChangeTemplateModalInfo0":"This action will permanently delete:","AIWebsiteBuilderChangeTemplateModalInfo1":"All your content in current website","AIWebsiteBuilderChangeTemplateModalInfo2":"Online store (if you have one)","AIWebsiteBuilderChangeTemplateModalQuestion":"Are you sure you want to change the template?","AITextWriterPopupDescription":"Use AI Writer to fill your website with beautiful content in a matter of seconds.","AITextGeneratorPopupInputTitle":"Ask AI to write about...","AITextGeneratorInputPlaceholder":"A story of a yoga studio dedicated to helping people achieve physical and mental well-being","AITextGeneratorPopupDailyLimitReachedDisclaimer":"Daily usage limit reached.","AITextGeneratorPromptValidationError":"Paragraph description must be longer than %{0} characters","AITextGeneratorLoadingText":"Creating...","AITextGenerationStopped":"The AI text generation process has been stopped","AITextGenerationFailed":"An error occurred while generating text","AITextGenerationDescriptionNotClear":"Please provide a clearer description","logoMaker":"Logo maker","assetFailedToLoad":"Failed to load image, try again later","assetManagerSearchPlaceholder":"Search for free videos","assetManagerBackToList":"Back to list","assetManagerMediaLibrary":"Media library","assetManagerVideoLibrary":"Video library","assetManagerAddToGallery":"Add to gallery","assetManagerAddToPage":"Add to page","assetManagerTabImages":"Images","assetManagerTabMyLibrary":"My library","assetManagerTabDocuments":"Documents","assetManagerTabFreeImages":"Free images","assetManagerSelectAsset":"Select","assetManagerThumbnailDetails":"Details","assetManagerGalleryControlsItemsSelected":"items selected","assetManagerGalleryControlsDeselectAll":"Deselect all","assetManagerGalleryControlsSelectAll":"Select all","assetManagerMediaLayoutGoBack":"Go back","assetManagerMediaLayoutSelectItem":"Select item","assetManagerMediaLayoutDeleteThisItem":"Delete this item","assetManagerMediaLayoutDetailTabFileName":"File name:","assetManagerMediaLayoutDetailTabExtension":"File type:","assetManagerMediaLayoutDetailTabExtensionUndefined":"Undefined","assetManagerMediaLayoutDetailTabPath":"File path:","assetManagerMediaLayoutDetailTabDimensions":"Dimensions:","assetManagerMediaLayoutPixels":"pixels","assetManagerDialogSomethingWentWrong":"Something went wrong","assetManagerDialogAssetTooLargeTitleImage":"Your images are too large","assetManagerDialogAssetTooLargeTitleDocument":"Your documents are too large","assetManagerDialogAssetTooLargeTitleMixed":"Your files are too large","assetManagerDialogAssetTooLargeOneDescriptionImage":"The upload failed because some of your your images are too large.","assetManagerDialogAssetTooLargeOneDescriptionDocument":"The upload failed because some of your documents are too large.","assetManagerDialogAssetTooLargeDimension":"The upload failed because some of your images are too large. The image dimensions must be less than 10,000 x 10,000 px.","assetManagerDialogAssetTooLargeLineOneDescriptionMixed":"The upload failed because your files are too large.","assetManagerDialogAssetTooLargeDescriptionImage":"The image size must be less than %{0}mb.","assetManagerDialogAssetTooLargeDescriptionDocument":"The file size must be less than %{0}mb.","assetManagerDialogAssetUnsupportedFormat":"Your files are unsupported","assetManagerDialogAssetTooLargeLineTwoDescriptionMixed":"The maximum file size is %{0}mb for images and %{1}mb for documents.","assetManagerDialogDocumentTooLargeTitle":"Your documents are too large","assetManagerDialogSkipUnsupported":"Skip unsupported files","assetManagerDialogTooCancel":"Cancel","assetManagerDialogRetry":"Try again","assetManagerDialogSomeFailed":"Some images have failed to upload. Do you want to try again?","assetManagerNotSupportedFileTypes":"Some of the file formats are unsupported. Please upload supported file types: {types}","assetManagerDialogAreYouSure":"Are you sure you want to delete this media item?","assetManagerDialogImageRemoveFromSite":"Doing so will remove it from your website","assetManagerTabUserDragDropFiles":"Drag files here to add them to your library","assetManagerTabUserDragDropBar":"Drag and drop images to upload them.","assetManagerTabUserMaximumImageSize":"Maximum file size is 15mb for images","assetManagerTabUserMaximumDocumentSize":"and 50mb for documents","assetManagerTabUserOr":"or","assetManagerTabUserChooseFiles":"Choose your files","assetManagerTabUserUploadFiles":"Upload files","assetManagerTabUserDelete":"Delete media item","assetManagerTabUserSelectAll":"Select all","assetManagerTabUserDeselectAll":"Deselect all","assetManagerTabUserSelected":"%{0} selected","assetManagerTabUnsplashSearch":"Search for free photos","assetManagerTabUnsplashBy":"By","assetManagerTabUnsplashNoResults":"We couldn't find any images that match \\"%{0}\\"","assetManagerTabUnsplashCheckSpelling":"Check your spelling or use a different keyword.","assetManagerTabUnsplashAccreditation":"This image is provided by Unsplash. By using it, you agree to comply with %{0}","assetManagerTabUnsplashAccreditationLink":"Unsplash's Terms. Learn more.","assetManagerTabPexelsAccreditation":"This video is provided by Pexels. By using it, you agree to comply with %{0}","assetManagerTabPexelsAccreditationLink":"Pexels Terms. Learn more.","assetManagerTabPexelsFootageAuthor":"Footage captured by %{0}","assetManagerTabPexelsNoResults":"We couldn't find any videos","assetManagerTabPexelsCheckSpelling":"Check your spelling or use a different keyword.","assetManagerGalleryAddImages":"Add images","assetManagerGalleryGallery":"Gallery","assetManagerGalleryAddImagesWhenEmpty":"Drag and drop images or add from image library","assetManagerSlideshowAddImages":"Add images","assetManagerSlideshowSlideshow":"Slideshow","assetManagerSlideshowAddImagesWhenEmpty":"Drag and drop images or add from image library","onboarding":{"welcome":{"title":"Welcome to your website","description":"Make your ideas happen with a beautiful website. Here are some tips to help get you started."},"addElements":{"title":"Add elements","description":"Use this menu to add, edit, or remove text, images, and other elements."},"editPages":{"title":"Create & edit pages","description":"Here's your Pages panel, where you can add, remove, and organize pages. Create a navigation menu here to help users explore your site."},"changeStyles":{"title":"Change global styles","descriptionV2":"Take total creative control with global website styles. Add site wide custom fonts and color theme and make your website stand out"},"mobileView":{"title":"Check mobile site","description":"Switch between views and edit the mobile and desktop versions of your website separately for the best results."},"goLive":{"titleV2":"Go live","description":"Once you're happy with your website, you just need to choose a plan, connect a domain, and publish."},"next":"Next","skipTour":"Skip tour","end":"End","replay":"Replay"},"continueToEditor":"Continue to editor","reviewChanges":"Review changes","understood":"Understood","view":"View","cssShorthandControlRange":{"vertical":"Top/Bottom","horizontal":"Left/Right"},"editItems":{"selectItems":"Select items"},"sectionControlLine":{"text":"Section height"},"blog":{"blogPostHeader":{"postHeader":"Post header"},"blogDrawer":{"title":"Blog","subtitle":"Manage all of your blog posts here.","openModal":"Open blog settings modal"},"blogPost":{"title":"Your blog post","description":"Blog post description.","minRead":"%{0} min read"},"blogPostSettings":{"writeCategories":"New category name","selectCategories":"Select categories","addCategory":"Add new category","error":"Category already exists","urlError":"Your post URL has to be unique.","postUrl":"Full post URL","publishPost":"Publish post","postTitle":"Post title","postDescription":"Post description","postAuthors":"Post authors","datePublished":"Date published","url":"Post URL","postDate":"Post date","schedulePost":"Schedule post","itemPlaceholder":"Drop your category here","AIRecommendationBlogTitle":"Use the %{0} and create unique and eye-catching blog post titles.","AIRecommendationSlotTitleGenerator":"AI Blog Title Generator"},"blockBlogListEmptyBlock":{"title":"Ready to start writing?","subtitle":"Add your first blog post now.","addNewPost":"Add new post","noPosts":"You don’t have any blog posts yet","allPosts":"Show posts only from selected categories. Show all posts if disabled."},"blockBlogList":{"style":{"visibilityLabel":"Customize the look of your blog."},"showAllPosts":"Show all posts","managePosts":"Manage posts","withoutCategories":"Without categories","layout":{"postsPerPage":"Posts per page","padding":"Padding top/bottom","fullWidth":"Full screen width"},"post":{"coverImage":"Featured image","title":"Title","description":"Description","date":"Date published","categories":"Post categories","authorFullName":"Author","avatar":"Author avatar","minutesToRead":"Reading time"},"categories":{"toggleText":"Only show some posts","explanation":"Select which category(ies) you’d like to show posts from. "}},"blogPageElements":{"content":"My post content"},"chooseBlogListModal":{"title":"Start writing a blog","subtitle":"Share your stories and drive traffic to your page","buttonAddPage":"Add a blog page","buttonAddHere":"Insert blog here"},"emptyBlogDrawer":{"title":"Start writing a blog","subtitle":"Add a blog to share your stories","buttonText":"Start a blog","listItems":{"item0":"Create blog posts with AI","item1":"Easily publish updates and articles","item2":"Improve your SEO rankings","item3":"Drive more traffic to your website","item4":"Connect with your audience"}}},"addEcommerceStoreDrawer":{"title":"Online store","contentTitle":"Add an online store","contentSubtitle":"It's best to create a separate page to sell your products or services.","contentSubtitleZyroEcommerce":"Start by adding your products, later build product pages and apply products to buttons.","button":"Add store page"},"addElementDrawer":{"title":"Add element"},"addSectionDrawer":{"title":"Add section"},"previewRibbonTooltipPill":"-30% OFF For A Limited Time","previewRibbonTooltipHeadline":"Free Zyro websites include these ads","previewRibbonTooltipText":"Remove them by upgrading for as little as ","previewRibbonTooltipCta":"GO PREMIUM NOW","userStyles":{"title":"Styles","drawerLabel":"Website styles","drawerSubtitle":"Choose and manage the style settings that appear across your entire site.","colorChange":"Color change","colorChangeDisclaimer":"This color will be changed into your newly selected across your entire site.","colorChangeUsedOnce":"Used only %{0}","colorChangeUsedMultiple":"Used %{0} times","colors":{"globalColorStyles":"Global color styles","globalColorStylesSubtitle":"Set your custom colours to apply them across your site.","customizeColorPalette":"Change colors","currentColorPalette":"Current color palette","colorPaletteLibrary":"Color palette library","changeColors":"Change colors","changeColorsSub":"These colors will be used across your website.","colorsShades":"Main colors and shades","resetBtn":"Reset colors","modal":{"title":"Discard changes"}},"typography":{"currentTextStyles":"Current text styles","typographyStylesLibrary":"Typography styles library","paragraphText":"Paragraph text","textStyles":"Text styles","textStylesSub":"These text styles will be used across your website.","headingsSubtext":"The changes you make will affect all of the headers on your website.","paragraphSubtext":"The changes you make will affect all of the paragraph text on your website.","customizeTypography":"Edit text styles","headings":"Headings","paragraphs":"Paragraph","resetBtn":"Reset text styles","previewTips":"Font previews are available on %{0}. More on %{1}.","previewTipLink":"Google Fonts","previewTipLinkFont":"font and language support","paragraphsAndNavigation":"Paragraphs and navigation","optionAllLanguages":"All languages","optionCyrillic":"Cyrillic","optionCyrillicExtended":"Cyrillic Extended","optionLatin":"Latin","optionLatinExtended":"Latin Extended","modal":{"title":"Reset text styles"},"fontWeight":"Weight","fontSize":"Size","lineHeight":"Line height"},"modal":{"subtitle":"All of the changes you made will be deleted."}},"colorPicker":{"chooseColor":"Choose color","selectColor":"Select color","customColors":"Custom colors","websiteColors":"Website colors","custom":"Custom"},"globalBlock":{"showOnSingle":"Show on this page","hideOnSingle":"Hide on this page","showOnAll":"Show on all pages","hideOnAll":"Hide on all pages"},"footer":{"modal":{"addToAll":"Add to all pages","addToSingle":"Add only to this page","description":"This footer will be added to the bottom of all existing and new pages. You can always hide it on a particular page."}},"editEmbed":{"addYourCodeHere":"Add your code here","disclaimer":"Please note that not all embed codes are visible within editor and preview modes. If you don't see your content, publish your site and view it live."},"embed":{"thisElementIsEmpty":"This element is empty","contentWillAppear":"Once you enter your code, the content will appear here."},"editForm":{"formSettings":"Form settings","editForm":"Edit form","addBackground":"Add background","label":"Label","submit":"Submit","theme":"Theme","buttonPosition":"Button position","submitActionLabel":"When visitors submit a form:","successMessageExplanation":"Display this message to users after they submit your form.","successMessagePlaceholder":"Post-submit message","submitButtonLabel":"Button text","formName":"Form name","emailNotifications":"Email notifications","formSubmissionsTable":"Form submissions table","formSubmissionsExplanation":"View and manage all form submissions in a table on site settings page","formSubmissionsButton":"View form submissions","showMessage":"Show message","linkToPage":"Link to page","fieldLabel":"Field label","placeholderText":"Placeholder Text","fieldIsRequired":"Field is required","disablingLastToggleError":"At least one field must be required","removeField":"Remove field","addNewFormField":"Add new form field","addOption":"Add option","fieldType":"Field type","fieldTypes":{"fieldTypeText":"Plain text","fieldTypeEmail":"Email","fieldTypePhone":"Phone"},"textField":{"title":"Short answer","placeholder":"Short answer"},"textBox":{"title":"Paragraph","placeholder":"Enter your message"},"radioField":{"title":"Single choice"},"checkboxField":{"title":"Multiple choice"},"option":"Option","emailChangeMessage":"Change where email notifications will be sent after each form submission.","resetEmail":"Reset to default","verifyPendingTitle":"Verify your new email address","verifyPendingMessage":"Check your email {0} to confirm your new address—the change won’t take effect until confirmed.","emailValidationErrorMessage":"Please enter a valid email address","customizeElements":"Customize elements","labelTextColor":"Label text color","labelTextSize":"Label text size","inputTextColor":"Field text color","inputTextSize":"Field text size","spacingBetweenElements":"Spacing between elements"},"nps":{"scoreTitle":"How likely are you to recommend Zyro to a friend or a colleague?","spImporterScoreTitle":"How was your experience using the page importer?","aiScoreTitle":"What do you think of the website we created?","aiBuilderPreviewScoreTitle":"What do you think of the site that AI created for you?","websiteImporterScoreTitle":"How was your experience using the website importer?","notLikely":"Not likely","extremelyLikely":"Extremely likely","inputPlaceholder":"Write your feedback here","poor":"Poor","excellent":"Excellent","veryPoor":"Very poor","fantastic":"Fantastic","commentTitle":"How can we improve your experience?","commentTitleV2":"What should we improve the most?","thanks":"Thank you for your feedback!","scoreButtonTitle":"Score %{0} of 10","ratingQuestion":"How would you rate website builder services?","hSurveyRatingQuestion":"How would you rate your experience setting up your website?","ratingHate":"Hate","ratingDislike":"Dislike","ratingNeutral":"Neutral","ratingLike":"Like","ratingLove":"Love","yourRating":"Your rating:","commentPlaceholder":"Tell us about your experience...","aiBuilderCommentPlaceholder":"We’d like to hear more, share an example of a website you’d like to have or tell us about your experience...","send":"SEND","thankYou":"Thank you for your feedback!","thankYouShort":"Thank you!"},"helpResources":{"title":"Help and resources","info":"How-to articles and other helpful information.","buildWebsite":"Build a website","addNewPages":"Add new pages and edit navigation","addNewSection":"Add new sections and elements","addNewSections":"Add new sections","addNewElements":"Add new elements","howToCopyPasteSections":"Learn how to copy and paste website sections","design":"Design","changeColors":"Change colors","changeFonts":"Change fonts","switchTemplates":"Switch templates","ecommerceTools":"Ecommerce tools","addAndManageOnlineStore":"Add and manage an online store","bloggingTool":"Blogging tool","addAndManageBlog":"Add and manage a blog","optimizeWebsiteForSearch":"Optimize your website for search","optimizeWebsiteForSearchInfo":"Use our SEO tools to make your website rank higher on search results.","integrateApps":"Integrate apps","connectYourFavoriteApps":"Connect your favorite apps","connectYourFavoriteAppsInfo":"Connect your favorite third-party apps to your Zyro website.","finaliseAndPublish":"Finalise and publish","checkMobileVersion":"Check mobile site version","connectCustomDomainInfo":"Connect a domain you already own or buy a new one."},"sidebarWebsiteSettingsLabel":"Website settings","sidebarMoreSettingsLabel":"More settings","manageEcommerceStoreDrawer":{"title":"Online store","capabilityFirst":"Add new products","capabilitySecond":"Set up shipping and delivery","capabilityThird":"Set up payment methods","button":"Manage store"},"elements":{"defaultTextElementText":"Write your text here..."},"helpAndResources":"Help & Resources","whatsNew":"What's new?","sidebarFeedback":{"message":"Feedback","sendFeedback":"Send feedback","requestFeature":"Request a feature"},"stripe":{"unfinishedSetup":"You haven’t finished setting up Stripe Checkout yet"},"legalContentGenerator":{"privacyPolicySubtitle":"Enter your details to generate a privacy policy that you and your customer can rely on.","refundPolicySubtitle":"Enter your details to take the stress out of product returns and refunds.","termsAndConditionsSubtitle":"Enter your details to protect your website, business, and customers with a terms and conditions agreement.","addressInputLabel":"Address where to send goods","addressInputPlaceholder":"Enter your address","addressInputError":"Please enter a company address","disclaimerTitle":"The text generated by this tool is not legally binding. When using it, you agree to the terms of this disclaimer.","disclaimerTextOne":"The accuracy of the document template on this website is not legally binding. Under no circumstances will Hostinger be held responsible or liable in any way for any claims, damages, losses, expenses, costs, or liabilities whatsoever, resulting from or arising from using this Terms and Conditions, Refund Policy or Privacy Policy. Use at your own risk, and if needed, consult with legal professionals.","disclaimerTextTwoLegal":"These are the templates of Terms and Conditions, Privacy Policy and Refund Policy. It is your responsibility to review, adapt or supplement the templates to ensure it complies with the actual transactions occurring on your website. We kindly recommend seeking legal advice, if needed. Hostinger is not responsible for your compliance with laws and is not liable for any damages or losses resulting from the use of the templates."},"unsavedChangesModalSubtitle":"Some of your changes haven't been saved yet. Would you like to discard them ?","payToPublishToastText":"Heads up – you’ll need to buy a Zyro subscription to publish your website.","beforePublishTitle":"Purchase a Zyro plan to publish your website","beforePublishSubtitle":"Buy now and save up to %{0}%.","beforePublishModalButtonText":"Choose a plan","defaultSavingNotification":"Something went wrong and your recent changes couldn't be saved. Please reload the page and try again.","unauthorizedSavingNotification":"Looks like you don't have permission to edit this website.","changesOnMultipleDevices":"Changes were made on a different tab or device. Reload to see them.","changesOnMultipleTabsDevices":"The changes were made on another device, tab or window. Reload to see them.","productPageDataSavingNotification":"We encountered an issue while updating your product pages. Please refresh the page and try again.","publishedModalHostingerDomain":"Domain from Hostinger is available","domainSettings":"Domain Settings","tryAgainButton":"Try again","verify":"Verify","overwriteWebsiteDataNotification":"Oh, that’s not meant to happen… Please tell our friendly Customer Success team about this error","safariDisclaimerRibbon":"For the best Zyro experience, update your browser to the newest version of Safari (%{0}). You can also try using a different browser, such as Chrome or Firefox.","safariDisclaimerRibbonLink":"here’s how","onClick":"On click","onClickDescription":"Action will be performed when the image is clicked","linkSettingsCustomLink":"Web address","linkSettingsFileDownload":"File download","linkSettingsSection":"Section","linkSettingsEmailAddress":"Email address","linkSettingsPhoneNumber":"Phone number","linkSettingsPage":"Page","linkSettingsSelectFile":"Select file","linkSettingsChangeFile":"Change file","linkSettingsNoFileSelected":"No file selected","expiredSubscriptionModalTitle":"Your subscription has expired","expiredSubscriptionModalSubtitle":"Please reactivate your subscription to publish your changes.","expiredSubscriptionModalButtonText":"Manage subscription","dragAndDropElements":"Drag and drop elements anywhere on your page","publishedModalVerificationDomainConnectionBanner":"%{0} will be connected in just a few hours. You can view your website with an auto-generated domain instead.","publishedModalDomainConnectionFailBanner":"%{0} connection failed. You can view your website with an auto-generated domain instead.","publishedModalDomainConnectionBannerLinkText":"here","publishedModalDomainConnectionBannerLinkTitle":"Go to domain connection status page.","ecommerce":{"chooseProduct":"Choose product..."},"onboardingFinish":"Finish","onboardingAddElementStepLinkText":"Learn more about adding elements","onboardingAddPagesStepLinkText":"Learn more about creating and editing pages","onboardingChangeStylesStepLinkText":"Learn more about changing global styles","onboardingPublishStepLinkText":"Learn more about publishing your website","onboardingMobileStepLinkText":"Learn more about mobile editing","onboardingPublishStepHostingerText":"Once you're happy with your website, go ahead and publish it.","connectSubscriptionModalTitle":"Connect your subscription","connectSubscriptionModalSubtitleMessage":"To publish the site you must first upgrade it by linking it to a Zyro plan you already own.","connectSubscriptionModalRenewalDate":"Renewal date:","connectSubscriptionModalAssignToWebsite":"Assign to website","wizardImportedWebsiteName":"Your imported site","wizardGeneratedWebsiteName":"Your generated site","errorWhileAddingThematicImages":"Error while adding thematic images","errorWhileImportingSite":"Failed to open imported site. Please try again.","errorWhileCreatingSite":"Failed to create a website. Try again.","errorWhileGeneratingWebsitePage":"Failed to add page while generating a website.","errorWhileAddingElementToWebsite":"Failed to add element while generating a website.","errorWhileConnectingSubscription":"Failed to connect subscription to the website.","errorWhileDeletingImage":"Failed to delete image(s).","errorWhileLoadingImages":"Failed to load images","errorWhileSearchingImages":"Failed to search for images","errorWhileLoadingUnsplashImage":"Image provider has failed to load images","errorWhileGeneratingText":"Error while generating texts. Try again.","errorWhileAuthorizingInstagram":"Failed to authorize your account on Instagram","errorWhileLoadingTemplateStructure":"Error while loading template structure","errorWhileLoadingHResource":"Error while loading resource","addElementTooltip":"Drag to the page","ecommerceAddToBagButton":"Add to bag button","ecommerceSectionBackground":"Section background","sectionColor":"Section color","ecommerceSectionGalleryPlacement":"Gallery placement","ecommerceSectionTextAlignment":"Text alignment","publishedChangesModalTitle":"Website changes are published","publishedChangesModalTitleV2":"Your website was updated","publishedModalTitleCongrats":"Your site is live now, congrats!","publishedModalTitleCongratsWithIssues":"Congrats on publishing your site!","publishedModalSubtitle":"Edit website anytime, get feedback from friends and share it with the world when ready","publishedModalClaimDomainTitleV2":"Claim your free domain.","publishedModalClaimDomainDescription":"Get a free domain for 1 year and connect it to your website now","quickStartGuideStartButton":"Let's start","addFavicon":"Add a favicon","manageSeo":"Manage SEO","connectApps":"Connect apps","publishYourWebsite":"Publish your website","faviconGenerator":"Zyro's Favicon Generator","simpleStore":"Simple store","advancedStore":"Advanced store","onlineStoreSellUpTo":"Sell up to %{0} products","onlineStoreAdvancedShipping":"Advanced shipping","onlineStorePaymentMethods":"70+ payment methods","publishModalClaimFreeDomainCardTitle":"Claim a free domain","publishModalClaimFreeDomainCardSubtitle":"Your plan includes a free domain for 1 year","publishModalClaimFreeDomainCardPillText":"Recommended","websiteManager":"Website manager","createNew":"Create new website","changeDesign":"Change design","changeTemplate":"Change template","chooseTemplate":"Choose a template","deleteTemplate":"Delete template?","deleteTemplateModalTextSingular":"Deleting {0} will reassign 1 product to the Default template. All changes made to {0} will be lost.","deleteTemplateModalTextPlural":"Deleting {0} will reassign {1} products to the Default template. All changes made to {0} will be lost.","deleteTemplateModalText2":"Once deleted, this template can’t be recovered.","renameTemplate":"Rename template","renameTemplateErrorTooLongName":"Template name must be shorter than {0} characters.","renameTemplateErrorEmptyName":"Enter a template name.","copyOfTemplate":"Copy of %{0}","createWithAi":"Create with AI","ecommerceUpgradeSite":"You need to have Unleashed plan to run an online store.","zyroEcommerceNoProducts":"No product assigned yet","publishModalUnsupportedPlanZyroEcommerceCard":"Currently, you can’t accept payments through your website since your website is connected to an unsupported subscription. Please %{0} customer support.","failedToAddElementToBlockErrorMessage":"Elements can’t be added to this section. Select another section.","optimizeForGoogle":"Optimize homepage for Google","seoOnboardingIntroduction":"We’ve got the tools to get you noticed. Our SEO wizard identifies terms we know customers are searching for and helps you add them to the right places on your site.","seoOnboardingBusinessNameHeading":"What’s your business or brand name?","seoOnboardingBusinessNameSubtitle":"Increase your online visibility by providing your business or brand name, making it easier for people to find your website when searching on the internet.","seoOnboardingBusinessOrBrandName":"Business or brand name","seoOnboardingInputPlaceholder":"Enter your business or brand name here","seoOnboardingInputExample":"Examples: Susan Outdoor Photography, Hallwill Music Band, Carwow Detailing","seoOnboardingLanguageHeading":"What’s your website language?","seoOnboardingLanguageSubtitle":"This will make sure that people who speak the same language as your website can find it easily when they search on the internet.","seoOnboardingPageDescriptionHeading":"Tell us about your website","seoOnboardingPageDescriptionHeadingPage":"Tell us about your page","seoOnboardingPageDescriptionSubtitle":"Your website description will help us generate relevant keywords, SEO title, and meta description for improved search visibility.","seoOnboardingPageDescriptionSubtitlePage":"Your page description will help us generate relevant keywords, SEO title, and meta description for improved search visibility.","seoOnboardingPageDescription":"Page description","seoOnboardingPageDescriptionTooLong":"Page description is too long","seoOnboardingPageDescriptionPlaceholder":"A brief summary of your page content and purpose","seoOnboardingKeywordsHeading":"Select 3 keywords for your website","seoOnboardingKeywordsHeadingPage":"Select 3 keywords for your page","seoOnboardingKeywordsSubtitle":"These words will help people find your website when they search for things related to it on the internet. We've picked some that we think are the best, but feel free to change them if you want.","seoOnboardingReviewHeading":"Review search engine appearance","seoOnboardingReviewSubtitle":"Make sure the title and summary that appear when people find your website on search engines are accurate and appealing.","seoOnboardingReviewExampleDescription":"It takes time for Google to update its search results with your website and its changes.","seoOnboardingNextStep":"Next step","seoOnboardingFailed":"SEO onboarding failed","pageSeoOnboardingTitle":"Boost your website traffic","pageSeoOnboardingSubtitle":"Try our SEO tool to discover the most effective keywords and optimize your pages.","pageSettingsAddNewKeyword":"Add new keyword","keywords":"Keywords","keyword":"Keyword","keywordsMessage":"These are words and phrases people use when searching on Google to find what they are looking for.","focusKeyword":"Focus keyword","focusKeywordMessage":"To help search engines understand your content, select one focus keyword or keyphrase that best represents the topic of this page","addNewKeywordPlaceholder":"New keyword","maxKeywordLength":"Keyword can't be longer than %{0} characters","keywordAlreadyExists":"Keyword already exists","descriptionQualityLabel":"Description quality","descriptionQualityLabelBad":"Try to be more descriptive","descriptionQualityLabelMedium":"Could be more descriptive","descriptionQualityLabelGood":"Great description!","expandMobileSectionList":"Expand section list","imageCornerRadius":"Image corner radius","zyroEcommerceImageRatio":"Image ratio","showSection":"Show section","thisSectionIsHidden":"This section is hidden","ecommerceProductSettings":"Product settings","ecommerceShopSettings":"Store settings","npsRateQuestion":"Rate your experience using our","npsRateButton":"button element","npsRateSearchBar":"search bar element","npsRateSeoSettings":"SEO settings","npsRateSlideshow":"slideshow","npsRateForm":"form","npsRateEmbed":"embed element","npsRateGallery":"gallery","npsRateImage":"image element","npsRateInstagram":"Instagram element","npsRateMap":"map element","npsRateShape":"shape element","npsRateOnlineStore":"Online store element","npsRateMultilingual":"languages feature","npsRateSocIcons":"socials icons element","npsRateVideo":"video element","npsRateText":"text element","npsRateAIWriter":"AI Writer","npsRateGlobalStyles":"styles editor","npsRateStickyBar":"sticky bar","storeKeyPointProducts":"Up to 500 products","storeKeyPointSetup":"Quick setup, easy management","storeKeyPointFast":"Lightning-fast sites","storeKeyPointSeo":"Great SEO performance","addStore":"Add store","onlineStore":"Online store","appointments":"Appointments","onlineStoreDescription":"All-in-one eCommerce solution","storeKeyPointGlobal":"70+ global payment methods","storeKeyPointSales":"100% commission-free sales","storeKeyPointOptions":"Advanced shipping options","storeKeyPointSell":"Sell your products on Amazon and Facebook","ecommerceEnableCart":"Enable shopping bag","editProduct":"Edit product","manageProduct":"Manage product","addProduct":"Add product","getNewDomain":"Get a new domain","domainConnectionDomainTakenBannerTitle":"This domain hasn't been registered yet.","domainConnectionDomainTakenBannerSubtitle":"Check your spelling and try again, or %{0} to connect this domain.","domainConnectionDomainTakenBannerSubtitleLinkToClaim":"claim %{0} for free","domainConnectionDomainTakenBannerSubtitleLinkToGet":"get %{0}","domainConnectionModalTitle":"Connect your domain","domainConnectionDomainNameInfoBannerText":"Your website will be automatically published with this domain name after you finish setting it up.","domainConnectionModalVerificationStepSubtitle1":"Most domains are connected as quickly as just a few hours.","domainConnectionModalVerificationStepSubtitle2":"Share your website now with the link below. You can still make changes while you wait.","usedFontsCountDisclaimer":"Fonts can affect your site’s load time. Use as few as possible.","manageEcommerceRemoveStore":"Remove store","deleteOnlineStoreFromSiteModalTextAll":"All online store pages, added blocks and elements %{0} from the website permanently.","deleteOnlineStoreFromSiteModalTextAllSlot":"will be removed","deleteOnlineStoreFromSiteModalTextRestore":"If necessary, you will be able to restore the store by selecting Online Store again.","campaignExpandingMessageFirstOffer":"Get a FREE domain for 1 year","campaignExpandingMessageSecondOffer":"Get a FREE email for 3 months","campaignExpandingMessageThirdOffer":"Get online from %{0}/mo","campaignExpandingMessageFourthOffer":"24/7 professional support","campaignExpandingMessageButtonText":"Get the offer","campaignExpandingMessageGuaranteeText":"30-day money-back guarantee","campaignExpandingMessageConsumerDayPillText":"Consumer Day Deal","campaignExpandingMessageConsumerDayTitle":"Massive Consumer Day Deal","campaignExpandingMessageConsumerDaySubtitle":"Up to %{0}% off your new website","campaignExpandingMessageSpringTitle":"New Exclusive Deal","campaignExpandingMessageSpringSubtitle":"Up To %{0}% OFF a New Website","blackFriday":{"campaignExpandingMessagePillText":"Black Friday Offer","campaignExpandingMessageTitle":"Black Friday Sale","campaignExpandingMessageSubtitle":"Save up to %{0}%"},"ecommerceProductListCategoryAllProducts":"All products","ecommerceProductListCategorySelect":"Show in this section","ecommerceProductListProductDisplay":"Product display style","ecommerceManageProducts":"Manage products","headerDomainConnectionStatusIncorrectNSBanner":"Nameservers are set incorrectly.","headerDomainConnectionStatusIncorrectNSBannerHostinger":"Nameservers are set incorrectly. More information can be found %{0}.","headerDomainConnectionStatusVerificationBanner":"Verification process takes as quickly as just a few hours. More information can be found %{0}.","headerDomainConnectionStatusVerificationBannerHostinger":"Your domain will not be active until the domain is connected to Hostinger nameservers.","headerDomainConnectionStatusVerificationBannerLinkText":"here","headerDomainConnectionStatusVerificationBannerLinkTextHostinger":"How to connect domain to Hostinger?","headerDomainConnectionStatusButtonText":"Go to domain","headerDomainConnectionStatusButtonTextHostinger":"Domain settings","headerDomainConnectionStatusDisclaimerText":"%{0} It may take up to 24 hours for changes to your domain to become visible worldwide.","headerDomainConnectionStatusDisclaimerBoldedText":"Important:","headerDomainConnectionStatusDisclaimerPreviewText":"In the meantime your website can still be reachable through %{0} on all devices.","headerDomainConnectionStatusDisclaimerRefreshButtonText":"Refresh status","credits100":"100 credits","addToBag":"Add to bag","enablePagination":"Enable pagination","enableQuantityPicker":"Enable quantity picker","consultationServiceTitle":"Book a consultation","consultationServiceSubtitle":"Consult with a Zyro expert in a video call. Choose the right time for you and register. A half hour consultation costs just %{0}.","headerZyroDomainStatusBanner":"Connect your own domain to make your brand or business stand out.","socialIconsNoLinks":"One or more links are not assigned yet","ecommerceTabsApplyChanges":"Apply changes to all product pages","ecommerceApplyToAll":"Apply to all","appliedToAll":"Applied to all","ecommerceProductsPerPage":"Products per page","ecommerceProductsPerLoad":"Products per load","chooseStoreModalTitle":"Choose your store","chooseStoreModalSubtitle":"Select the store that fits your business — continue building for free.","onlineStoreName":"Online Store","onlineStoreSubtitle":"Start selling instantly — best for new businesses.","onlineStoreProducts":"Up to 500 products","onlineStoreEasyManagement":"Quick setup, easy management","onlineStoreEasyLightingFastSites":"Lightning-fast sites","onlineStoreFooterTextBuildForFree":"Build for free until you’re ready to publish.","onlineStoreFooterTextPrice":"Starts at %{0} /mo + 1% application fee.","onlineStoreFooterTextIncludedWith":"Included with Business plan.","advancedStoreName":"Advanced Store","advancedStoreSubtitle":"Powerful marketing tools — best for scaling businesses.","advancedStoreProducts":"Up to 2500 products","advancedStoreAutomatedMarketingEmails":"Automated marketing emails","advancedStoreSellOn":"Sell on Amazon, Facebook or eBay","advancedStoreFooterTextBuyPlanFirst":"Buy a plan first to edit your store.","advancedStoreFooterTextPrice":"Starts at %{0} /mo + 0% application fee.","advancedStoreFooterTextIncludedWith":"Included with Advanced store plan.","chooseStoreModalComparePlans":"Compare plans","chooseStoreModalStartBuilding":"Continue building","recommended":"Recommended","helpResourcesHelpArticles":"Help articles","helpResourcesKeyboardShortcuts":"Keyboard shortcuts","helpAndResourcesOnlineStoreArticleTitle":"Online store (Business plan)","helpAndResourcesAdvancedStoreArticleTitle":"Advanced store","helpAndResourcesElements":"Elements","helpAndResourcesStartQuickTour":"Start quick tour","referAFriendV3":"Refer a friend","referAFriendBannerMessage":"Invite a friend and share a discount of up to %{0}. You'll earn up to %{1} too!","referAFriendBannerMessageV3":"Invite a friend and earn up to %{0} per referral. They'll get a %{1} discount too.","dollarAmount":"%{0} USD","aiWriterFirstTopicHostinger":"Select topic","aiWriterDescribeText":"Describe what your text should be about. A few examples:","aiWriterTextExample0":"Describe the value that sustainable fashion brings to the world","aiWriterTextExample1":"A short paragraph describing the unique charms and attractions in Barcelona","onlineStoreVideoTitle":"Watch our experts share their tips for a successful online store launch","publishedModalDisclaimer":"Most website changes go live immediately. Keep in mind that some changes may take a few minutes to be displayed for the best possible experience.","shareYourWebsite":"Share your website","improveDiscoverability":"Improve site discoverability on search engines and gain visitors trust","domainPropagationMessage":"It may take up to 24 hours for changes to your domain to become visible worldwide.","registeringDomainMessage":"Domain registration usually takes a few hours to finish.","domainBeingReviewedMessage":"Your domain is being reviewed as it contains some sensitive keywords. This can take up to 24 hours.","domainUnderReviewTitle":"Your domain is under review because it contains keywords that need to be checked.","domainUnderReviewDescription":"It will take up to 24 hours.","domainPendingVerificationMessage":"Verify email to register domain.","domainPendingVerificationTitle":"Verify your email.","domainPendingVerificationDescription":"Complete the domain registration to keep your website online.","domainPendingPhoneVerificationTitle":"Verify your phone number.","domainPendingPhoneVerificationDescription":"Complete the domain registration to make your website accessible.","domainConnectTitle":"Domain isn’t connected to your website.","domainConnectMessage":"To make sure your website is accessible, connect your domain first.","domainFinishRegistrationMessage":"Finish your domain registration to make your website accessible.","domainConnectingTitle":"Your domain is connecting.","domainConnectingMessage":"Your site will be accessible when this process finishes.","domainConnectingMessageV2":"Your site will be accessible when this process finishes. This may take up to 24 hours.","domainRenewDomainTitle":"Your domain expired.","domainRenewDomainMessage":"Renew it to get your website back online.","domainRestoreDomainMessage":"Restore it to get your website back online.","domainBuyDomainMessage":"Buy the domain you've added to your website to launch your business.","domainConnectTemporaryStatusTitle":"You’re using a temporary domain.","domainConnectTemporaryStatusDescription":"Get a new domain or verify the ownership of a domain you already own.","connectDomainMessage":"Connect domain","connectDomainTitle":"Every website needs a domain.","connectDomainDescription":"Get one now and launch your business.","getDomainMessage":"Get domain","temporaryDomainMessage":"Your temporary domain","viewSiteWithTemporaryDomain":"View site with temporary domain","viewSiteViaTemporaryDomain":"View site via temporary domain","improveDiscoverabilityV2":"Improve site discoverability on search engines and gain visitors trust.","shareWebsiteSubtitle":"Now that your website is up and running it's time to get seen by your target audience.","shareLinkCopied":"Link copied","onlineStoreTooltip":"Product pages will be created automatically when you add products and make them visible.","onlineStoreProductPages":"Product pages","colorsOfArrows":"Arrows color on image","colorsOfArrowsForThumbnails":"Arrows color on gallery","logoColor":"Logo color","logoText":"Logo text","logoFont":"Logo font","logoFontSize":"Logo font size","buttonSize":"Button size","wordpressExportingModalTitle":"Exporting content...","wordpressExportingModalDescriptionV2":"Don't close this window until the export is completed.","wordpressExportCompleteModalTitleV2":"Your content was exported","wordpressExportCompleteModalDescription":"Go to your WordPress website to check the result.","wordpressExportCompleteModalButton":"Go to WordPress site","wordpressExportFailModalTitle":"Export failed","wordpressExportFailModalDescription":"Your website can’t be exported.","wordpressExportCompleteModalWarningDescriptionV2":"Go to your WordPress website to check the result. Note that some elements weren't exported.","wordpressExportFailureMessage":"Error occurred while exporting content","wordpressIdentifyAuthError":"You are unauthorized to use this domain","wordpressIdentifyPassNotSupportErrorV3":"Selected WordPress site doesn’t have application passwords enabled. Please enable them first to continue with export. Learn more.","wordpressIdentifyInvalidDomainError":"Invalid domain","wordpressIdentifyServerError":"Error occurred while checking domain","wordpressIdentifyNotFoundError":"WordPress is either not installed or not working correctly","siteSettingsExportTitleV2":"Want to switch to WordPress?","siteSettingsExportStartExportButton":"Start export","siteSettingsExportWhatCanBeExported":"What can be exported?","siteSettingsExportWhatCantBeExported":"What can’t be exported?","siteSettingsExportPages":"Pages","siteSettingsExportBlogPosts":"Blog posts","siteSettingsExportIntegrations":"Integrations","siteSettingsExportImages":"Images","siteSettingsExportTexts":"Texts","siteSettingsExportFileMediaLibrary":"Files from media library","siteSettingsExportFileMediaLibraryLink":"only the ones that WordPress supports","siteSettingsExportSiteStyling":"Site styling and layout","siteSettingsExportOnlineStore":"Online store","siteSettingsExportFormsSubmissions":"Forms and collected submissions","siteSettingsExportSEOSettings":"SEO settings","siteSettingsWebsiteExportWordpress":"Export content to WordPress","siteSettingsWebsiteExportWordpressInputLabel":"WordPress site domain","siteSettingsWebsiteExportWordpressInputPlaceholderV2":"yourwebsite.com","siteSettingsWebsiteExportWordpressDescriptionV2":"Export your website content to WordPress automatically. Enter your WordPress website domain, create an application password on your admin panel, and then wait for the content to export.","siteSettingsWebsiteExportWordpressInfo":"If you don’t have a WordPress site yet, you can","siteSettingsWebsiteExportWordpressInfoLink":"create one on Hostinger.","siteSettingsWebsiteExportHeading":"Want to export your website?","siteSettingsWebsiteExportInfoBanner":"You need to publish your website first to download website files.","addToBagButton":"Add to bag button","showAddToBagButton":"Show add to bag button","onlyOnHover":"Only on hover (desktop)","productList":"Product list","productListDescription":"Show all products or by category","singleProduct":"Single product","singleProductDescription":"Show individual product","versionHistoryCreateRestoreMessage":"To restore your website to a previous version, create a backup first.","versionHistoryHowToCreate":"How to create and restore backups?","versionHistoryManage":"Manage backups","versionHistoryNoBackups":"Backups are not created yet","versionHistoryNoBackupsDescription":"To create a backup, simply publish your site. Once the site is published, a backup will be created automatically. %{0}","versionHistoryManageMessage":"Latest backup %{0}","siteBackupsTitle":"Your website backups","siteBackupsRestoreDescription":"View and restore past versions of your published website. To create a backup, simply publish your site.","siteBackupsNote":"Note:","siteBackupsRestoreNoteContent":"backups are stored for 30 days.","siteBackupsLink":"Learn more on how backups are created","backupRestoreCTA":"Restore backup","backupRestoreDisclaimerTitle":"Restore this backup?","backupRestoreDisclaimerDescription":"Latest changes to the website will be lost unless you publish it first.","backupSiteRestoredTitle":"Website backup restored","versionHistorySiteRestoredDescription":"You can now continue to edit your site. When you’re ready to go live, click “Update website”.","hiddenOnMobile":"Hidden on mobile","hiddenOnDesktop":"Hidden on desktop","designerWebsiteStyles":"Designer website styles","analytics":"Analytics","analyticsSessionsOverTimeTitle":"Sessions over time","analyticsSessionsByCountry":"Sessions by country","analyticsSessionsByDevice":"Sessions by device","analyticsSessionsByDeviceSubtitle":"Shows the amount of visitors to your site using a desktop, mobile, or tablet.","analyticsSessionsByCountrySubtitle":"Shows which countries your visitors are located in when they visit your site.","analyticsSessionsOverTimeSubtitle":"A session is a web visit of a site visitor. A session starts when a visitor reaches your site.","trafficOverview":"Traffic overview","analyticsNoDataTitle":"Data is not available","analyticsNoDataYetTitle":"Data is not yet available","analyticsNoDataParagraph":"Publish your website with a domain to start collecting visitor data.","analyticsVisitorDataUpdatedDaily":"Your visitor data is updated every 24 hours.","analyticsVisitorDataUpdatedDailyCheckLater":"Your visitor data is updated every 24 hours, please check back later.","analyticsVisitorGetDomainMessage":"Get a domain to start collecting and viewing site data.","analyticsFetchHasFailed":"An error occurred while fetching analytics data","analyticsUniqueVisitors":"Unique visitors","analyticsSiteSessions":"Site sessions","analyticsArticleDriveTraffic":"How to Drive Traffic to Your Website?","dateFilter3DaysOption":"Last 3 days","dateFilter7DaysOption":"Last 7 days","dateFilter30DaysOption":"Last 30 days","templateLogoUploadFailed":"Failed to upload template logo","templateIdUpdateFailed":"An error occurred while updating template id","payToPublishPopup":{"title":"Get a plan and go live","feature0":"Publish your website","feature1":"Edit anytime after launch","feature2":"Get on Google search faster","feature3":"Sell anywhere online","feature4":"Share with friends for early feedback","feature5":"24/7 customer support","expiration":"Your website will be deleted in {0}. Get a plan to continue using it."},"enablePassword":"Enable password","enterPassword":"Enter password","passwordCustomizePage":"Customize page","passwordExplainedV2":"Limit access to this page by setting a password. This doesn't guarantee your information is fully secure.","passwordPageDefaultHeading":"Guest area","passwordPageDefaultSubheading":"Please enter the password to access the page","passwordPageDefaultInputPlaceholder":"Type password","passwordPageDefaultButtonText":"Enter","passwordPageDefaultBackText":"Back to","animationsSettingsExplanation":"Select an animation style that will be applied to all elements of your website.","animationsSettingsNoAnimation":"No animation","animationsSettingsFade":"Fade","animationsSettingsSlide":"Slide","animationsSettingsScale":"Scale","animationsSettingsText":"Use {0} to view animations across your website.","animationsPreviewMode":"Preview mode","freeWorkshop":"Register for a free workshop","workshopPopupText":"Get your website up and running right away with the advice of our experts.","workshopPopupButtonText":"Register now","gamificationTitle":"Site setup checklist","gamificationDrawerTitleV2":"Hey","gamificationDrawerTitleCompleted":"Well done","gamificationDrawerDescriptionV2":"Get started now – follow these steps to prepare your website for visitors.","gamificationDrawerDescriptionCompleted":"Your website is ready, start inviting visitors!","gamificationOtherTipsTitleV2":"Other","gamificationOnlineStoreSetupTitle":"Online Store Setup","gamificationSetUpYourStore":"Set up your store","gamificationProgressTextSteps":"%{0} of %{1} steps completed","gamificationNpsTitle":"site setup checklist","gamificationNpsQuestion":"How did you like this setup checklist?","gamificationFinishTitle":"Congratulations","gamificationFinishSubtitle":"You’ve done it","gamificationFinishThanks":"Thanks","gamificationFinishRewardReady":"Claim your reward","startBuilding":"Start building","gamificationWelcomeTitle":"Now, get it ready in 1 day","gamificationWelcomeDescription":"Just follow these steps and make it happen","gamificatioFailedError":"Failed to load site setup checklist","gamificationFailedErrorV2":"Failed to load site setup checklist. Please refresh the editor.","gamificationImageUpdated":"Image updated","gamificationParagraphEdited":"Paragraph text edited","gamificationLogoAdded":"Logo added","gamificationLogoUpdated":"Logo updated","gamificationSocialIconsChanged":"Social media icons updated","gamificationMobileChecked":"Mobile view checked","gamificationSeoUpdated":"Homepage optimized for Google","gamificationDomainConnected":"Domain connected","gamficationPublished":"Your website is live","gamificationCompletedTooltip":"Congratulations! You’ve completed all steps","gamificationCompleteSteps":"Next steps","gamificationHeadingEdited":"Heading edited","gamificationDiscountGift":"discount for Web Hosting plan","gamificationTimerTitle":"Unlock discount for Web Hosting plan","gamificationTimerDescription":"Complete website setup within 24 hours to claim your discount.","gamificationProgressBoxTitle":"Website setup","gamificationTimerGiftDescription":"Use this 10% discount code for a new Web Hosting plan.","gamificationTimerCopy":"Complete all steps in 24 hours and get","gamificationTaskNameStartJourney":"Start your website journey!","gamificationTaskNameEditHeading":"Edit heading text","gamificationTaskNameUpdateImage":"Update image","gamificationTaskNameEditParagraph":"Edit paragraph text","gamificationTaskNameAddLogoV2":"Update your logo","gamificationTaskNameUpdateSocialIcons":"Update social media icons","gamificationTaskNameCheckMobileViewV2":"Check your site on mobile","gamificationTaskNameFoundGoogle":"Optimize your site for Google","gamificationTaskNameFoundGoogleNote":"AI already optimized existing pages. Do the same for newly added ones!","gamificationTaskNameGoLive":"Go live!","gamificationTaskConnectDomain":"Connect your own domain","gamificationTaskAddProduct":"Add a product","gamificationTaskAddPaymentMethod":"Add a payment method","gamificationTaskUpdateCompanyDetails":"Update company details","gamificationTaskUpdateShippingOptions":"Update shipping options","foldersDeleteFolder":"Delete folder","foldersDeleteMessage":"Deleting a folder {0}. You cannot undo this action.","foldersDeleteMessageSlot":"will also delete {count} file inside it|will also delete {count} files inside it","foldersDeleteConfirmation":"I'm sure I want to delete this folder and all the files in it","foldersNewFolder":"New folder","foldersMoveTo":"Move to","foldersCreateFolder":"Create folder","foldersMyLibrary":"My library","foldersAllowedCharacters":"Allowed characters: {chars}","shapeSettings":"Shape settings","passwordErrorMessage":"Password cannot be empty","pageSettingsSeoDrawerTitle":"SEO page settings","pageSettingsSeoDrawerDescription":"Complete all the steps to help your site get found in search results.","pageSettingsSeoDrawerSeoCardButtonText":"Redo SEO setup","h1":"(H1)","pageSettingsSeoDrawerGeneralCollapsibleTitleV2":"1. Add SEO title and description","pageSettingsSeoDrawerHeadingsCollapsibleTitle":"2. Use a single H1 heading","pageSettingsSeoDrawerHeadingsTitleWhyItsImportant":"Why it's important","pageSettingsSeoDrawerHeadingsTitleWhyItsImportantSubtitle":"H1 headings are important for SEO as they provide structure and hierarchy to web pages, helping search engines to better understand and rank the content for relevant search queries.","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDo":"What should you do","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDoFirstItemV2":"Use only one H1 heading per page.","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDoSecondItemV2":"Ensure it is located at the top of your page and before any other headings.","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDoThirdItemV2":"Use your chosen keyword or phrase in a natural and meaningful way within your H1 heading.","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDoNote":"{0} To view a text element's style, click on it and select Edit Text. The toolbar shows the current style.","pageSettingsSeoDrawerHeadingsTitleWhatShouldYouDoNoteSlot":"Note:","pageSettingsSeoDrawerHeadingsLink":"Learn how to use header tags","pageSettingsSeoDrawerHeadingsButtonGenerate":"Get Heading suggestions","pageSettingsSeoDrawerHeadingsButtonGenerating":"Suggesting","pageSettingsSeoDrawerHeadingsSuggestionsTableTitle":"AI Suggestion","pageSettingsSeoDrawerHeadingsSuggestionsTableKeywordUsed":"Keyword used:","pageSettingsSeoDrawerAddStoreTitle":"Activate SEO settings by adding the store.","pageSettingsSeoDrawerAddStoreDescription":"SEO settings are currently disabled. To unlock and manage your product’s SEO, simply add the store to your website. With the store, you’ll get:","pageSettingsCreateQrCode":"Create QR code","pageSettingsQrCodeTitle":"QR code","pageSettingsQrCodeDefinition":"QR codes let you open links instantly by scanning with your phone camera. {0}","pageSettingsQrCodePatternColor":"Pattern color","pageSettingsQrCodePagePlaceholder":"Select page","pageSettingsQrCodeFullUrl":"Here’s your full URL:","pageSettingsQrCodeNotAvailableTitle":"Finish these steps to get QR code","pageSettingsQrCodeNotAvailableParagraph":"Publish your website and connect a domain to activate your QR code. {0}","pageSettingsQrCodeNotAvailableLink":"Learn more about QR codes","publishedModalButtonQrCode":"QR code","suggestUsingAi":"Suggest using AI","altGenerationFailed":"Alt text generation failed","aiBuilderLoaderStepPrepareServices":"Getting AI services ready...","aiBuilderLoaderStepWriteUniqueContent":"Writing unique content...","aiBuilderLoaderStepLookForPictures":"Looking for matching pictures...","aiBuilderLoaderStepPickColors":"Picking just the right colors...","aiBuilderLoaderStepFonts":"Experimenting with font styles...","aiBuilderLoaderStepLayout":"Designing a layout...","aiBuilderLoaderStepAdjustAlign":"Adjusting alignments...","aiBuilderLoaderStepMobile":"Preparing a mobile view...","aiBuilderLoaderStepFinishingTouches":"Applying finishing touches...","aiBuilderLoaderStepWebsiteReady":"Your website is ready!","aiBuilderLoaderStepPageReady":"Your page is generated!","aiBuilderLoaderStepTemplateReady":"Your template is ready!","aiBuilderLoaderBePatient":"Hold tight, the AI is taking a bit longer than expected!","aiBuilderStylesColorPalettes":"Color palette","contextMenuTitle":"Context menu","aiBuilderBusinessShowcase":"Business showcase","freemiumModalTitle":"Get a plan to edit and publish your website","freemiumModalTextOne":"Easily customise design with drag & drop website editor","freemiumModalTextTwo":"Generate websites with AI without limitations","freemiumModalTextThree":"Access all features: eCommerce, blog, marketing integrations, and more","freemiumModalTextFour":"Get help from 24/7 customer support","freemiumModalTitleV2":"Buy a plan to unlock all editing features","freemiumModalTextOneV2":"Generate and edit websites without limits","freemiumModalTextTwoV2":"Publish, save, and track version history","freemiumModalTextThreeV2":"Edit mobile view, manage navigation and upload images","freemiumModalTextFourV2":"Manage online store, blog and appointments","freemiumModalTextFiveV2":"Access marketing integrations, SEO tools, analytics","freemiumModalTextSixV2":"Receive 24/7 support","aiBuilderGenerationFailed":"The AI is currently experiencing a high load. Try adjusting the description and submitting the prompt again.","aiBuilderBackToForm":"Back to AI form","aiBuilderCreateAgain":"Create again","aiBuilderVersionHistory":"Version history","continueToEdit":"Continue to edit","aiCreateWebsiteFromLink":"Create website from existing link","AIFormDescribeByVoice":"Describe by voice (%{0})","aiBuilderDeletePageConfirmationModalSubtitle":"All your content and design changes will be lost. Are you sure you want to delete this page?","aiUnlockAllFeatures":"Unlock all features","aiPaywallHeading":"Access your own library in full editing mode","aiPaywallCopy":"At the moment you can upload your own images only in full editing mode. If you don’t have an access, get a plan to unlock it.","aiPaywallPaidPublish":"Only paid members can publish","continueToFullEditingMode":"Enter full editing mode","aiFailedGenerationRedirectToastHeading":"Oh no! AI cannot create a site now","aiBuilderWebsiteLimitReached":"You have reached the limit of websites you can create.","aiBuilderInvalidWebsiteDescription":"We're having trouble understanding your description. Could you please provide more details or rephrase it?","aiFailedGenerationRedirectToastMessage":"Our sincere apologies for the trouble. This is on our end, not yours. While we resolve it, you can check out our 150+ fully customizable templates for your website.","aiFailedGenerationRedirectCTA":"Browse templates","aiBuilderWelcome":"Welcome to Hostinger Website Builder","aiBuilderWelcomeSubtitle":"Briefly describe your project, and get a personalised site in no time","aiBuilderWelcomeCTA":"Create with AI","aiBuilderWelcomeTemplates":"Or choose from pre-made templates","aiFullEditMode":"Full edit mode","aiCTAPopupTitle":"Manage your site in full edit mode","aiCTAPopupPublishSite":"Publish your site","aiCTAPopupEditNavigation":"Edit navigation","aiCTAPopupManageStore":"Manage online store and blog","aiCTAPopupUploadImage":"Upload images","aiCTAPopupSEO":"Access SEO tools, and more","aiElementsButton":"Elements","builderHeaderManage":"Manage","chatWithUs":"Chat with us","elementEditPopupSearchBarEditButtonTitle":"Edit search","elementEditPopupSearchBarTitle":"Search settings","searchBarPlaceholderInputLabel":"Placeholder text","searchBarDefaultPlaceholder":"Search products","searchBarNoResultsInputLabel":"\\"No results\\" text","searchBarDefaultNoResultsText":"No results found","searchBarEditDisclaimer":"The search element currently works only with online store products. Blog search coming soon.","searchBarTextAndIconColorLabel":"Text and icon color","searchBarDisclaimer":"Please note that product search functionality works on the published website. It may take some time for new products to appear in the search results after they are added.","aiBuilderPublishBenefits":"Benefit from early site launch","aiBuilderPublishEditAfter":"Edit anytime after launch","aiBuilderPublishGoogle":"Get on Google search faster","aiBuilderPublishFeedback":"Share with friends for early feedback","aiBuilderHowsYourSite":"How's your site?","ecommerceNonPurchasableItemsDisclaimer":"This section has items with a disabled 'Add to bag' button, that cannot be displayed","ecommerceNonPurchasableProductsDisclaimer":"Customers cannot purchase this product directly from the store since the 'Add to bag' button is disabled","ecommerceNonPurchasableProductsDisclaimerV2":"Customers can't buy this product from your store because 'Add to bag' is disabled. Edit the product to enable it","landingPage":"Landing page","weddings":"Wedding invitation","ecommerceAiBuilderProductEditDisclaimer":"Products are editable only in full edit mode","aiBlogGeneratorCreateWithAi":"Create a blog post with AI","aiBlogGenerationToneOfVoice":"Tone of voice","aiBlogGenerationLengthOfContent":"Length of content","aiBlogGenerationDescriptionPlaceholder":"10 tips for creating marketing campaigns that skyrocket sales and strengthen your brand...","aiBlogGenerationDescriptionTip":"Try to be descriptive for the best results!","aiBlogGenerationCreateContent":"Create content","aiBlogGenerationCreatingContent":"Creating content","aiBlogGenerationSkip":"Skip, I'll write it myself","aiBlogGenerationError":"An error occurred while generating blog post","aiBlogGenerationWordCount":"{0} words","aiImageGenerationTitle":"AI image generator","aiImageGenerationImageDescription":"Image description","aiImageGenerationGenerateImage":"Generate image","aiImageGenerationCreateImages":"Create images","aiImageGenerationImageSettings":"Use AI to create a unique image","aiImageGenerationGeneratedImage":"Generated image","aiImageGenerationBackToForm":"Back to form","aiImageGenerationAccessibleLibrary":"Created images are saved in the media library.","aiImageGenerationProgressText":"We're excited to bring your vision to life! Please wait a few moments while we create your personalized image.","aiImageGenerationStylePhotographic":"Photographic","aiImageGenerationStyleEnhance":"Enhance","aiImageGenerationStyleAnime":"Anime","aiImageGenerationStyleDigitalArt":"Digital Art","aiImageGenerationStyleComicBook":"Comic book","aiImageGenerationStyleFantasyArt":"Fantasy art","aiImageGenerationStyleAnalogFilm":"Analog film","aiImageGenerationStyleNeonPunk":"Neon punk","aiImageGenerationStyleIsometric":"Isometric","aiImageGenerationStyleLowPoly":"Low poly","aiImageGenerationStyleOrigami":"Origami","aiImageGenerationStyleLineArt":"Line art","aiImageGenerationStyleCraftClay":"Craft clay","aiImageGenerationStyleCinematic":"Cinematic","aiImageGenerationStyle3DModel":"3D model","aiImageGenerationStylePixelArt":"Pixel art","aiImageGenerationExampleDescription":"A small bird perched on a branch in a forest","aiImageGenerationExampleText":"Describe the main subject of the image and their actions or poses, as well as the surroundings in which they are located:","aiImageGenerationExampleListItem0":"A cozy living room with a fireplace and a cat napping on the couch","aiImageGenerationExampleListItem1":"A portrait of a person with a kind and compassionate smile","aiImageGenerationExampleListItem2":"A cityscape with skyscrapers and busy streets","aiImageGenerationImageStyle":"Image style","aiImageGenerationCreateImage":"Create image","aiImageGenerationAssetManagerTabName":"AI Images","aiImageGenerationUseEnglish":"Image generation works best using the English language","aiImageGenerationFailedGeneration":"Image generation failed, please try again later","aiImageGenerationDailyLimit":"Image generation daily limit was reached, please try again tomorrow","aiImageGenerationUseThisImage":"Use this image","aiImageGenerationErrorMessage":"Page generation failed. Please try a different description","linkPreviewImageExplainMessage":"A general link preview image will be used for the entire site. If you’ve uploaded different preview images for specific pages, those images will be used instead of the general link preview image. %{0}.","textDescription":"Text description","addStickyBar":"Add sticky bar","createText":"Create text","creatingText":"Creating text","generatedText":"Generated text","showCategoriesAsFilters":"Show categories as filters","showCategoriesAsFiltersNotice":"If you want to show filters, select “All products” category.","whichCategoryToShow":"Which category to show?","enableProductSorting":"Enable sorting","enableProductSearch":"Enable product search","sortingOptions":"Sorting options","productSortingDefault":"Default","productSortingPriceLTH":"Price (low to high)","productSortingPriceHTL":"Price (high to low)","mostRecent":"Most recent","sectionDescription":"Section description","stretchToFullWidth":"Stretch to full width","totalProductCount":"Total product count","orderOfProducts":"Order of products","changeOrderOfProducts":"You can change the order of products in {0}","showTotalProductCount":"Show total product count","pexelsSearchFailed":"Failed to search for images","pexelsInvalidSelectedVideo":"Cannot select invalid or missing video","pexelsMissingVideoURL":"Cannot select video that is missing URL to source","ecommerceCheckoutSlugError":"The slug 'checkout' is reserved for our eCommerce checkout flow.","siteCannotBePublished":"Site cannot be published","siteCannotBeUpdated":"Site cannot be updated","checkoutSlugIsReservedDescription":"You have a URL that is made of a reserved word for our eCommerce checkout flow. {0}","pagesSlugsAreNotUniqueDescription":"You have one or more pages with slugs that are not unique or are missing. {0}","changeToPublishWebsite":"Please change it to publish your website.","changeToUpdateWebsite":"Please change it to update your website.","changeThemToPublishWebsite":"Please change them to publish your website.","changeThemToUpdateWebsite":"Please change them to update your website.","changeUrl":"Change URL","payAttention":"Pay attention","AIWebsiteBuilderFormBrandNameError":"Brand name cannot be empty","AIWebsiteBuilderFormDescriptionErrorEmpty":"Description cannot be empty","AIWebsiteBuilderFormDescriptionErrorTooShort":"Description is too short","AIWebsiteBuilderFormWebsiteTypeError":"Website type must be selected","yourWebsiteNeedsChanges":"Your website needs changes","columnSpacing":"Column spacing","rowSpacing":"Row spacing","centerProductList":"Center product list","storeManagerUnavailable":"Store manager is currently unavailable. Please try again later.","storeLanguageEffectNote":"Select your preferred language for the store. This will change the text in certain sections to the selected language.","scrollBehaviour":"Scroll behaviour","infiniteScroll":"Infinite scroll","viewMoreProductsWith":"View more products with","productPageTemplateTooltip":"This is product page template. Design and layout changes here will be applied to all the product pages.","cannotAssignCustomField":"This product cannot be assigned to this button because it has a mandatory ‘Custom Field’ applied.","productPageTemplate":"Product page template","productPageTemplateOnboarding":{"stepTitle":"Here’s what’s new","stepTemplateDescription":"Edit all product pages at once by editing the product page template.","stepAddSectionDescription":"Easily add additional sections that will appear on every product page.","stepPreviewDescription":"Preview different products by choosing from this product list. "},"multipleTemplatesOnboarding":{"stepListTitle":"View all your product pages","stepListDescription":"You can now easily access and manage all your product pages from here.","stepPageTitle":"Open a product page","stepPageDescription":"Click on any product to open its page. Once there, you can edit the current product page template or create a new one.","stepTemplateTitle":"Create product page templates","stepTemplateDescription":"You can now create a new template by clicking here. Once it’s created, you can assign products to it.","stepEditTitle":"Edit your new template","stepEditDescription":"Add sections to customize your new template. Any changes you make will affect all products you assign to this template."},"productPageTemplateCountDisclaimer":"You can have up to {count} different product templates.","productPageTemplateAssignedToProducts":"Assigned to {count} products","productPageTemplateAssignedToProduct":"Assigned to 1 product","productPageTemplateAssignedToNoProducts":"Assigned to no products","productPageTemplateProductsSelectedPlural":"{0} products selected","productPageTemplateProductsSelectedSingular":"1 product selected","productPageTemplateNoProductsSelected":"No products selected","productPageTemplateAssigned":"{0} assigned.","productPagesDescription":"Manage product pages, edit templates, access SEO settings, and more.","assignTo":"Assigned to {0}","changesWillApplyToProductPages":"Changes will apply to all product pages","changesWillApplyToProductPagesLonger":"Changes made to the template will apply to all product pages. {0}","previewProduct":"Preview product","productPageTemplateModalTitle":"You're editing the product template page","productPageTemplateModalText":"All product pages use this template, so everything that you change here will apply to every product page. For example, if you add a new section, it will be visible on all product pages.","productPageTemplateNotification":"You can preview different products by changing the selection.","noProductsPlaceholder":"No products to select","ecommerceModalTitle":"Connect a payment method before going live","ecommerceModalText":"Boost your chances of success—stvores that connect a payment method are {0} to make their first sale in the first month.","ecommerceModalSlot":"3x more likely","ecommerceGoToPayments":"Go to payments","goLiveNow":"Go live now","shareFeedback":"Share feedback","shareFeedbackAboutProductTemplate":"{0} about the product page template feature","multipleTemplatesOnboardingModalTitle":"NEW: Create multiple product page templates","multipleTemplatesOnboardingModalSubtitle":"Create and customize templates for different product categories, sales campaigns, or anything else you need.","productPageTemplateNpsTitle":"Rate your experience using our product page template","editLogo":"Edit logo","addFirstProduct":"Add your first product to start selling online!","enableExpressCheckout":"Enable express checkout buttons","expressCheckout":"Express checkout","enableStripe":"Express checkout won’t work until the Stripe payment method is fully connected.","stripeManagePayments":"Manage payment options in your Stripe settings. {0}","usePreviewMode":"Use {0} to see how express checkout buttons looks in the cart.","previewMode":"Preview mode","textAboveButtons":"Text above buttons","scrollToTop":"Scroll to top button","showScrollToTop":"Show scroll to top button","scrollToTopDisclaimerProductPerLoadText":"Increase the number of products shown per load in \\"Scroll behaviour\\" settings to enable the \\"Scroll to top\\" button","scrollToTopDisclaimerNotEnoughProducts":"Add more products or reduce the column count to enable the \\"Scroll to top\\" button","scrollToTopNote":"Use {0} to view the \\"Scroll to top button\\" in action.","searchForProduct":"Search for a product","assignProducts":"Assign products","assignProductsPlural":"Assign {0} products","assignProductsSingular":"Assign 1 product","assignProductsText":"Select the products you want to assign to {0}.","assignProductToTemplate":"Select a template for {0}. It’s currently assigned to {1}.","assignProductsUpdatedSuccessNotificationMessage":"Products assigned to {0} updated.","assignProductsAddedSuccessPluralNotificationMessage":"{0} products assigned to {1}.","assignProductsAddedSuccessSingularNotificationMessage":"1 product assigned to {0}.","assignProductsRemovedSuccessPluralNotificationMessage":"{0} products removed from {1}.","assignProductsRemovedSuccessSingularNotificationMessage":"1 product removed from {0}.","assignProductsAddStoreNotification":"To assign products to template, you need to add a store first."}`),$8={hostingerDashboard:"Hostinger dashboard",outlined:"Outlined",ok:"OK",stretch:"Stretch",resume:"Resume",productCategories:"Product categories",main:"Main",buyMore:"Buy more",formal:"Formal",casual:"Casual",neutral:"Neutral",days:"days",day:"day",total:"Total",taxesAndFees:"Taxes & Fees",discount:"save {percentage}%",continueToPayment:"Continue to payment",all:"All",beta:"Beta",animation:"Animation",of:"of",disabled:"Disabled",enabled:"Enabled",action:"Action",appointments:"Appointments",addAction:"Add click action",addElements:"Add elements",addCategory:"Add category",addImage:"Add image",addVideo:"Add video",addLink:"Add link",addNewLink:"Add new link",addPage:"Add page",addNewPage:"Add new page",addADropdown:"Add a new dropdown",addSection:"Add section",addToSite:"Add to site",anchor:"Anchor",animations:"Animations",apply:"Apply",always:"Always",back:"Back",category:"Category",categorySettings:"category settings",contactSupport:"Contact support",contact:"contact",contacts:"Contacts",center:"Center",reportError:"Report Error",goBack:"Go back",letUsKnow:"Let us know",tryAgain:"Try again",createAgain:"Create again",aiTools:"AI tools",background:"Background",download:"Download",backgroundColor:"Background color",linkTo:"Link to",format:"Format",backToBuilder:"Back to builder",blogList:"Blog List",blog:"Blog",blogPost:"Blog post",bookNow:"Book now",buyDomain:"Buy domain",about:"About",blogSettings:"Blog settings",button:"Button",buttons:"Buttons",bottom:"Bottom",cancel:"Cancel",add:"Add",accept:"Accept",once:"once",error:"Error",cancelChanges:"Cancel changes",categories:"Categories",change:"Change",changeDomain:"Change domain",changeShape:"Change shape",choosePlan:"Choose plan",chooseTemplate:"Choose template",changeBackground:"Change background",colorStyles:"Website colors",close:"Close",slide:"Slide",slides:"Slides",noSlides:"No slides",slideshow:"Slideshow",embedCode:"Embed code",enterCode:"Enter code",onlineStoreTitle:"Online store",formFields:"Form fields",collapse:"Collapse",color:"Color",colors:"Colors",columns:"Columns",columnGap:"Column gap",comingSoon:"Coming soon",completed:"Completed",copied:"Copied",copy:"Copy",copyOpen:"Open copy",copyText:"Copy Text",stripeCheckout:"Stripe checkout",contactForm:"Contact form",contactFormRsvp:"Contact form (RSVP)",keepIt:"Keep it",keep:"Keep",checkGuide:"Check guide",confirm:"Confirm",connect:"Connect",controls:"Controls",crop:"Crop",cropAndPosition:"Crop and position",changeImage:"Change image",shoppingBag:"Shopping bag",connected:"Connected",continue:"Continue",continueEditing:"Continue Editing",dashboard:"Dashboard",delete:"Delete",domainName:"Domain name",navigationLinks:"Navigation links",done:"Done",discardChanges:"Discard changes",discard:"Discard",disconnect:"Disconnect",discounts:"Discounts",dragAndDrop:"Drag and drop",dropdown:"Dropdown",draft:"Draft",drafts:"Drafts",scheduled:"Scheduled",duplicate:"Duplicate",edit:"Edit",editWebsite:"Edit website",editPost:"Edit post",email:"Email",expand:"Expand",edited:"Edited",exit:"Exit",favicon:"Favicon",fields:"Fields",fixedBackground:"Fixed background",form:"Form",footer:"Footer",free:"Free",gallery:"Gallery",general:"General",socialImage:"Social image",getStrated:"Get started",gotIt:"Got it",hide:"Hide",hidePage:"Hide page",header:"Header",heading:"Heading",subheading:"Subheading",paragraph:"Paragraph",pagination:"Pagination",product:"Product",ribbons:"Ribbons",imageHoverEffect:"Image hover effect",noEffect:"No effect",zoom:"Zoom",swapImage:"Swap image",effectsApplyToDesktop:"Effects apply only to desktop devices.",homePage:"Home page",home:"Home",here:"here",horizontal:"Horizontal",headlines:"Headlines",height:"Height",fontFamily:"Font family",image:"Image",inserted:"Inserted",insertText:"Insert text",icons:"Icons",font:"Font",instagramFeed:"Instagram Feed",instagramFeedV2:"Instagram feed",joinZyro:"Join Zyro",layout:"Layout",language:"Language",left:"Left",right:"Right",linkSettings:"Link settings",links:"Links",link:"Link",logo:"Logo",notNow:"Not now",makeCopy:"Make a copy",makeCopyWebsite:"Make a copy of the website",menu:"Menu",map:"Map",mySites:"My websites",backToWebsites:"Back to websites",move:"Move",moreSettings:"More settings",name:"Name",new:"New",newLink:"New link",newDropdown:"New dropdown",notConnected:"Not connected",onlineStore:"Online store",or:"or",original:"Original",orders:"Orders",padding:"Padding",keepChanges:"Keep changes",page:"Page",pages:"Pages",allPages:"All pages",pageSettings:"Page settings",phone:"Phone",post:"Post",posts:"Posts",postSettings:"Post settings",public:"Public",publish:"Publish",publishPost:"Publish post",published:"Published",preview:"Preview",premium:"Premium",products:"Products",productPage:"Product page",productSearch:"Product search",chatbot:"Chatbot",aiAssistant:"AI Assistant",aiAssistantV2:"AI assistant",pickColor:"Pick color",reload:"Reload",remove:"Remove",reset:"Reset",removeDomain:"Remove domain",removeLink:"Remove link",primary:"Primary",secondary:"Secondary",redo:"Redo",rename:"Rename",renameWebsite:"Rename website",replace:"Replace",replaceImage:"Replace image",replaceVideo:"Replace video",restore:"Restore",required:"Required",renew:"Renew",save:"Save",saveAndPublish:"Save and publish",saveChanges:"Save changes",saved:"Saved",saving:"Saving",saveYourChanges:"Save your changes",changesUnsaved:"Changes not saved",saveToDraft:"Save to draft",shape:"Shape",search:"Search",select:"Select",send:"Send",seo:"SEO",setAsHomepage:"Make homepage",settings:"Settings",signIn:"Sign in",suggestion:"Suggestion",suggestions:"Suggestions",submitButton:"Submit button",show:"Show",status:"Status",style:"Style",store:"Store",square:"Square",landscape:"Landscape",portrait:"Portrait",templates:"Templates",allTemplates:"All templates",startBuilding:"Start building",text:"Text",title:"Title",texts:"Texts",fonts:"Fonts",images:"Images",section:"Section",postHeader:"Post header",socialIcons:"Social icons",skip:"Skip",submit:"Submit",subscribe:"Subscribe",submissions:"Submissions",subscribeForm:"Subscribe form",testimonials:"Testimonials",toggleMobile:"Switch view",toggleSidebar:"Toggle sidebar",undo:"Undo",update:"Update",unpublish:"Unpublish",upgrade:"Upgrade",upgradeWebsite:"Upgrade website",upgradePlan:"Upgrade plan",upgradeNow:"Upgrade now",url:"URL",sec:"sec",video:"Video",vertical:"Vertical",viewWebsite:"View site",from:"from",small:"Small",medium:"Medium",large:"Large",perMonth:"month",items:"Items",phoneExample:"Ex. 636-48018",yes:"Yes",no:"No",password:"Password",zyroPageTitle:"Zyro Website Builder",hostingerPageTitle:"Hostinger Website Builder",websiteBuilder:"Website Builder",visibility:"Visibility",textColors:"Text colors",textStyles:"Text styles",dark:"Dark",light:"Light",custom:"Custom",inUse:"In use",services:"Services",projects:"Projects",portfolio:"Portfolio",restaurant:"Restaurant",faq:"FAQ",contactPage:"Contact",learnMore:"Learn more",more:"More",open:"Open",myFonts:"My fonts",upload:"Upload",uploadVideo:"Upload video",uploadFailed:"Upload failed",productQuantity:"Product quantity",borderWidth:"Border width",cornerRadius:"Corner radius",overlayOpacity:"Overlay opacity",cornerRadiusUnits:"Corner radius units",desktop:"Desktop",mobile:"Mobile",visible:"Visible",hidden:"Hidden",chooseBuilder:"Choose Builder",searchCommands:"Search for elements, pages or settings...",searchForPages:"Search page...",searchForBlog:"Search blog...",searchShortcut:"Press {0} to open search faster",searchNoResults:"No results found",searchSuggestion:"You can also search our {0}",searchRateNps:"Rate this search",startCreating:"Start creating",storeLanguage:"Store language",knowledgeBase:"Knowledge Base",moreInfo:"More info",sell:"sell",visitors:"Visitors",seeExample:"See example",seeExamples:"See examples",hideExamples:"Hide examples",hideExample:"Hide example",closeExample:"Close example",privacyPolicy:"Privacy policy",refundPolicy:"Refund policy",termsAndConditions:"Terms and conditions",companyName:"Company name",companyNameInputPlaceholder:"Enter company name",companyNameInputError:"Please enter a company name",websiteName:"Website name",websiteNameInputPlaceholder:"Enter website name",websiteNameInputError:"Please enter a website name",emailAddress:"Email address",emailAddressInputPlaceholder:"example{'@'}domain.com",emailAddressInputError:"Please enter a valid email address",websiteAddress:"Website address",websiteAddressInputPlaceholder:"https://example.com",websiteAddressInputError:"Please enter a valid website address",changeButtonStyles:"Change button styles",viewMore:"View more",viewLess:"View less",selectPlan:"Select plan",getPlan:"Get plan",logInText:"Already have a plan? {0}",logIn:"Log in",searchBar:"Search",rateSite:"Rate site",rateCreatedSite:"Rate created site",sorting:"Sorting",filters:"Filters",connectDomain:"Connect domain",connectDomainV2:"Connect your own domain",previewMode:"Preview mode",width:"Width",position:"Position",defaultTemplate:"Default template",productTemplate:"Product template",addNewTemplate:"Add new template",template:"Template",selectAll:"Select all",deselectAll:"Deselect all"},DD={amount:"Amount",checkout:"Checkout",expressCheckout:"Express Checkout",secureCheckout:"Secure checkout",checkoutModalCantAcceptOrders:"We can't accept online orders right now",checkoutModalDisabledPreview:"Checkout is disabled in preview mode",checkoutModalDonationReceived:"Your donation has been received.",checkoutModalOrderReceived:"Your order has been received.",checkoutModalPleaseContact:"Please contact us to complete your purchase.",checkoutModalThanksForDonation:"Thank you for your donation",checkoutModalThanksForOrder:"Thank you for your order",checkoutModalOutOfStock:"Not enough stock for one or more items in your cart",checkoutModalTryOrChoose:"Please try again later or choose a different item.",checkoutModalBookingUnavailable:"Appointment time is not available",checkoutModalChooseDifferentTime:"Please try again later or choose a different appointment time",checkoutModalSuccessfullyBooked:"You have successfully booked our service.",checkoutModalDigitalProductEmail:"Check your email to download the digital product. Note that the email is sent when payment is completed.",close:"Close",gotIt:"Got it",shoppingBag:"Shopping bag",shoppingBagEmpty:"Shopping bag is empty",subtotal:"Subtotal",quantityShort:"Qty",addToBag:"Add to bag",bookNow:"Book now",selectDateAndTime:"Select date & time",cancel:"Cancel",book:"Book",hourShort:"h",minuteShort:"min",soldOut:"Sold out",outOfStock:"Out of stock",inStock:"in stock",moreDetails:"More Details",from:"From",onlineStoreNoProducts:"No publicly visible products",browseBy:"Browse by",allProducts:"All products",sortBy:"Sort by",products:"products",product:"product",default:"Default",priceLTH:"Price (low to high)",priceHTL:"Price (high to low)",mostRecent:"Most recent",textIsRequired:"Text is required",textIsTooLong:"Text is too long",download:"Download",free:"Free",searchPlaceholderText:"Search products",searchNoResultsText:"No results found"},zD={ctaButton:{text:"Select"},additionalInfo:{moneyGuarantee:{title:"Money back guarantee",text:"Cancel within 30 days for a full refund."},paymentMethods:{title:"Accepted payment methods"},security:{title:"SSL Secure Payments",text:"Your information is protected by the most advanced data encryption technology"}},sharedLabels:{featuredLabel:"most popular",currentLabel:"current",monthLabel:"/month",trueValueLabel:"checkmark",discountLabel:"off",featureToggleLabels:{initial:"See plan features",less:"See all features",all:"Hide features"}},plans:{FREE:{name:"Free",description:"The basics"},BASIC:{name:"Basic",description:"For personal brands"},UNLEASHED:{name:"Unleashed",description:"For businesses"},ECOMMERCE:{name:"Ecommerce",description:"Start selling online"},ECOMMERCEPLUS:{name:"Ecommerce +",description:"Grow your business"},TRIAL:{name:"Trial",description:"Unleashed trial"}},groupedFeatures:{essentials:{name:"Essentials",features:{bandwidth:{name:"Bandwidth",defaultValue:"**UNLIMITED**",description:"Scale your business and allow more people to access your website. No cap guarantee."},storage:{name:"Storage",defaultValue:"**UNLIMITED**",description:"Upload as much content as you like – you’ll never run out of space with unlimited storage. No cap guarantee."},ssl:{name:"Security with SSL",description:"An SSL certificate protects your website visitors’ data. If you don’t have one, internet browsers label your website as ‘not secure’ and show a warning message to anyone trying to open it. Having an SSL certificate also boosts your website’s rankings on Google."},seo:{name:"Get found easier with SEO",description:"Every Zyro website is automatically optimized for search engines. You rank higher on Google and get found by more people, and more often. If you want more control, it’s easy to make adjustments to your website’s SEO."},templates:{name:"Designer-crafted templates",description:"Start with a template to make website building that much easier. Pick from dozens of beautiful, responsive templates to power your personal brand or business."},ai:{name:"Brand your business with AI",description:"Make your brand stand out from the crowd. Use our business branding tools to create a business name, logo, and slogan."},noAdds:{name:"Remove Zyro ads",description:"Nobody likes having third-party ads on their beautifully branded website. Upgrade to go Zyro ad-free."},connectDomain:{name:"Connect your own domain",description:"Got your domain already? Swap our free domain for your unique one and become more trustworthy in the eyes of your visitors. Alternatively, use Zyro to find the perfect domain name."},freeDomain:{name:"Free domain for 1 year",description:"Get a free domain when you buy Zyro’s Unleashed, eCommerce or eCommerce+ plans for at least 1 year. In return, you’ll get a free domain – yours for 1 year. Choose from .tech, .online, .site, .store, .space, .website, .pw, .host, .uno, .press, .icu, .shop, and .club. Domains registered under this promotion will then renew at our standard price."}}},advanced:{name:"Advanced",features:{liveChat:{name:"Messenger Live Chat",description:"Talk to your visitors directly via Facebook Messenger. They can message you from your website and you can keep the conversation going long after they left."},googleAnalytics:{name:"Google Analytics",description:"The world’s best analytics software for collecting user data. Use it to analyze your traffic and improve your website to boost conversions – no matter if it’s a sale or an event registration."},fbPixel:{name:"Facebook pixel ",description:"Running Facebook ads? Then Facebook pixel is a must-have. It’s a snippet of code that you can add to your Zyro website to track your Facebook ad performance and create custom audiences."},googleTagManager:{name:"Google Tag Manager",description:"Collect data on your users’ behavior to make better business decisions. Add and manage marketing tags on your website – without ever touching a line of code."},remarketing:{name:"Visitor remarketing",description:"Can you identify a group of people who visited your website, but didn’t convert? Create remarketing lists on Google and Facebook to get them engaged again."}}},ecommerce:{name:"Ecommerce",features:{acceptOnlinePayments:{name:"**Accept online payments**",description:"Wherever your buyers are, they can pay online seamlessly. We have dozens of payment options to choose from, too."},commisionFree:{name:"100% commission-free ",description:"All of the money you make is yours. Zyro never takes a commission – you work hard for it, so you should keep it."},fullEcommerce:{name:"All eCommerce functions",description:"From online payments handled for you, to inventory management and third-party shop integrations, a Zyro eCommerce website is all you need to sell online."},unlimitedProducts:{name:"Sell unlimited products",description:"There will never be a limit to how many cat posters you can sell on your Zyro website. Yet there might be a limit to how many cat posters the world needs..."},emailNotifications:{name:"Email notifications",description:"Send out order status emails that can be completely customized to match your branding."},discountCoupons:{name:"Discount coupons",description:"Offer your visitors and buyers one more reason to come back. Send out discount coupons via email, or advertise discount codes on your website."},giftCards:{name:"Gift cards",description:"It’s nice to have total freedom of choice. Let your visitors buy gift cards for their friends and family, and let them give the gift of choice."},orderManagement:{name:"Complete order tracking",description:"From the moment someone clicks ‘Order’ to the moment the products are delivered, manage your orders via Zyro."},inventoryManagement:{name:"Inventory management",description:"From categorizing your products, to tracking how many of each item you have left, you are in total control of your inventory."},shippingAndTaxManagement:{name:"Shipping and tax management",description:"Track the entire shipping process on your Zyro website. Automatically attach invoices to order confirmation emails."},paymentOptions:{name:"Multiple payment options",description:"We offer the most convenient payment methods to your buyer: PayPal, iDeal, American Express, PayU, Yandex Kassa, and nearly fifty other options are available."},cartRecovery:{name:"Abandoned cart recovery",description:"Get your almost-buyers to come back. Remind them what they’re missing out on and bring them back to a pre-loaded cart."},multipleLanguages:{name:"Your store in multiple languages",description:"There is nothing more powerful than selling your products in the local market language. Set up your shop in as many languages as you’d like."},productFilter:{name:"Product filters",description:"Allow customers to filter products by price, category, product options such as size, colour, materials, product attributes, availability in stock, on sale."}}},sellEverywhere:{name:"Sell everywhere",features:{fbShop:{name:"Facebook Shop",description:"Go where your customers are. Is it Facebook? Set up a Facebook Shop and integrate it with your Zyro eCommerce website to start selling."},instagramStore:{name:"Instagram Store",description:"Got followers eager to spend? Get your Instagram Store together, connect it to your Zyro website, and accept your first orders."},amazon:{name:"Your products on Amazon",description:"Amazon is where the world of eCommerce lives. Sync your website with Amazon and manage your inventory and orders via Zyro (USA only)."}}}}},LD=JSON.parse(`{"multiLanguage":"Multi-language","myWebsites":"My websites","common":{"revertChangesText":"Are you sure you want to revert your changes?","unsavedChanges":"Unsaved changes","unsavedChangesText":"You’ve made changes that haven’t been saved. Do you want to discard them?","currentValue":"Current value","requiredValue":"Required value"},"navigationLinkHome":"Home","allWebsites":"All websites","nav":{"general":"General settings","integrations":"Integrations","seoV2":"SEO settings","forms":"Form submissions","export":"Export to WordPress"},"ribbon":{"addStoreText":"You don't have an online store page on your website yet","addStoreButton":"Add store page"},"imageUpload":{"btn":"Browse files","dropImgText":"Drop your image file to this area.","error":"Your image is too large. The max image size is %{0}MB.","img":{"alt":"Preview favicon"}},"general":{"bannerDomain":{"title":"Connect a domain","text":"Make your website stand out with a domain.","btn":"Connect domain"},"seo":{"heading":"Website title and description","description":{"label":"Website description","placeholder":"Short website description with keywords","text":"Your website description will be shown in search engine result pages and in browser tabs."}},"favicon":{"infoText":"A favicon is displayed in a browser tab, in front of the page title. The recommended size is 32x32px. We support .png, .jpg and .jpeg formats."},"ogImage":{"heading":"Link preview image","content":{"label":"Link preview image","infoText":"This is an image that is shown when you post a link to a website page. It allows people to see what the link is all about without having to click on it. The recommended size is 1200x630px."}},"cookieBanner":{"heading":"Cookie banner","content":{"label":"Enable cookie banner","infoText":"Show your visitors a banner informing them about the use of cookies on your website"}}},"seo":{"textFields":{"title":{"label":"SEO Page title","placeholder":"Enter page title","text":"The page title will be shown in search engine results and in browser tabs."},"description":{"label":"Page description","placeholderMessage":"Short and relevant summary of what the page is about","text":"The page description appears in search engine results under the title. It should inform and interest users with a relevant summary of what the page is about."}},"toggleFields":{"noindex":{"label":"Hide page from search results"}}},"domain":{"pendingEmailVerification":"Pending email Verification","domainConnected":"Domain connected","domainSuspended":"Domain is suspended","domainSuspendedV2":"Your website is offline because your domain is suspended.","domainNotConnected":"Domain not connected","domainRegistrationPending":"Domain registration pending","domainRegistrationPendingV2":"Your domain is being registered.","domainHasExpired":"Domain has expired","domainHasExpiredV2":"Your domain expired on {date}.","domainIsAvailable":"Domain is available","registeringDomain":"Domain being registered","reviewingDomainPhoneVerification":"Verify phone number to register domain","reviewingDomain":"Domain being reviewed","failedRegistration":"Domain registration didn’t work","failedRegistrationTitle":"Your domain registration didn't work.","failedRegistrationDescription":"To get your website online, try registering your domain again.","connectionFailed":"Connection failed","verifyingConnectionV3":"Domain is connecting","waitingForConnection":"Waiting for connection","finishRegistration":"Finish registration","refreshStatus":"Refresh status","transferDomain":"Transfer your domain to Hostinger.","transfer":"Transfer","general":{"bannerImageAlt":"Banner decoration","bannerTitle":"Don't have a domain?","bannerText":"Make your brand or business stand out with a domain. Upgrade to Zyro Premium now.","bannerButtonText":"Buy new domain"},"domainConnectionModal":{"title":"Connect domain to your website","foundButtonText":"Found them, continue","signedInButtonText":"I signed in","replacedThemButtonText":"Replaced them","stopConnectionModalTitle":"Stop domain connection","stopConnectionModalSubtitle":"Do you wish to stop connection process and remove domain?","stopConnection":"Stop connection","continueConnection":"No, continue","otherProvider":"Other"},"enterDomainCard":{"title":"What's your domain?","subtitle":"Tell us which domain you would like to connect to your Zyro account.","placeholder":"e. g. myprofessionalsite.com","hostingerDomainCardText":"You have available domain %{0} from %{1}","hostingerDomainCardTextSlot":"Hostinger."},"providerInformationStepHostinger":{"title":"Go to Hostinger dashboard","description":"Navigate to Hostinger dashboard where you can manage your domain.","stepOne":"Open %{0} in another tab","stepOneSlot":"domain settings"},"providerInformationStep":{"title":"Sign in to your domain hosting provider's account","signInToWhereYouBoughtDomain":"Sign in to the website where you bought your domain name.","goTo":"Go to","firstStep":"Open a new tab in your browser","secondStep":"%{0} to %{1} dashboard","secondStepLink":"Sign in","secondStepAlternative":"Sign in to your domain hosting dashboard ","thirdStep":"Come back here for the next steps ","linkText":"Why do I need to sign in to a domain hosting provider dashboard?"},"nameserversSettingsStep":{"title":"Replace the nameserver values","subtitleText":"In your domain dashboard, look for the nameserver values and replace them with the ones below. If there are more than two nameservers, leave the other fields empty.","removeNameservers":"Remove these nameservers","addTheseNameservers":"Add these nameservers","howDoIFind":"How do I find the name server settings?","linkText":"They're asking me for IP addresses too"},"hasDomain":{"giveItSomeTime":"Give it some time","verificationModalSubtitle":"It might take up to 24 hours for your domain to be fully connected to your website.","verifyModalSubtitle":"You've successfully added your domain to Zyro, but it'll take a couple of hours for the server changes to update"},"domainProviderStep":{"title":"Select your domain provider","subtitle":"Select your domain provider for a customized setup experience of how to connect domain to a website at Zyro.","subtitleHostinger":"Select your domain provider for a customized setup experience.","whoIsYourProvider":"Not sure who your domain provider is? %{0}","whoIsYourProviderLink":"Check on whois.com"}},"forms":{"title":"Form submissions","subtitle":"All of your form submissions - in one place","text":"View and manage your form submissions right here. You can edit or delete submissions, and export lists.","viewSubmissions":"View submissions","deleteForm":"Delete form","exportToXLS":"Export list to .XLS","exportToCSV":"Export list to .CSV","noOneFilled":"No one filled out the form yet","onceSubmitted":"Once submitted, the data from your form will be shown here","removeModalTitle":"Delete form and submissions","removeModalSubtitle":"Are you sure you want to delete this form and all its submissions? This can’t be undone.","noForms":{"title":"You don’t have any active forms","text":"Add a form to your website by clicking on Add Elements when you're building your website."},"cardDescription":"All of your %{0} submissions can be found here."},"onlineStore":{"benefitsBlock1":{"sellEverywhere":"Sell everywhere, including Amazon and Facebook","comissionFree":"100% commission-free sales"}},"integrationStripeLinkHref":"https://support.zyro.com/en/articles/5157457-how-to-set-up-the-stripe-checkout-button","integrationHotjarName":"Hotjar","integrationHotjarMessage":"Here is how you can %{0}.","integrationHotjarLinkText":"find your Hotjar Site ID","integrationHotjarLinkHref":"https://help.hotjar.com/hc/en-us/articles/360019646533-HelpDocs","integrationHotjarLabel":"Hotjar site ID","integrationFacebookPixelName":"Facebook Pixel","integrationFacebookPixelTip":"Here is how you can %{0}.","integrationFacebookPixelLinkText":"find your Facebook Pixel ID","integrationFacebookPixelLinkHref":"https://support.zyro.com/en/articles/4393828-facebook-pixel","integrationFacebookPixelLabel":"Facebook pixel ID","integrationGoogleAnalyticsName":"Google Analytics","integrationGoogleAnalyticsMessage":"Here is how you can %{0}","integrationGoogleAnalyticsLinkText":"find your Google Analytics Tracking ID.","integrationGoogleAnalyticsLinkHref":"https://support.zyro.com/en/articles/4393420-how-to-use-google-analytics-with-your-zyro-website","integrationGoogleAnalyticsLabel":"Google Analytics ID","integrationGoogleAdSenseName":"Google AdSense","integrationGoogleAdsAppName":"Google Ads App","integrationGoogleAdSenseLabel":"Content","integrationGoogleAdSenseExample":"google.com, pub-0000000...","integrationGoogleAdSenseNotification":"To verify that you published your file correctly, check that you successfully see your file's content when you access the ads.txt URL (https://example.com/ads.txt) in your web browser.","integrationGoogleTagManagerName":"Google Tag Manager","integrationGoogleTagManagerMessage":"In Google Tag Manager, click %{0}. Your Container ID will appear near the top of the window, formatted as %{1}.","integrationGoogleTagManagerWorkspace":"Workspace","integrationGoogleAdMobName":"Google AdMob","integrationGoogleAdMobLabel":"Content","integrationGoogleAdMobExample":"google.com, pub-0000000...","integrationGoogleAdMobNotification":"To verify that you published your file correctly, check that you successfully see your file's content when you access the app-ads.txt URL (https://example.com/app-ads.txt) in your web browser.","integrationWhatsAppName":"WhatsApp","integrationWhatsAppLabel":"Phone number","integrationWhatsAppLabelMessage":"Default message","integrationWhatsAppError":"Include your country code, use only numbers 0-9.","integrationWhatsAppPlaceholderMessage":"This is the default message visitors will see when they open WhatsApp on your website","integrationWhatsAppMessage":"Need help setting up WhatsApp? %{0}","integrationWhatsAppLinkText":"Here's how.","integrationWhatsAppLinkHref":"https://support.zyro.com/en/articles/5161810-how-can-i-integrate-whatsapp","integrationCustomCodeName":"Custom code","integrationCustomCodeMessage":"Paste the snippet of code provided by the tool or service above, and it will be injected into the %{0} section of your website.","integrationInfoTextTitle":"Connect your favorite apps","integrationInfoTextDescription":"Easily link your website to popular tools and services. After connecting an app, update your website to activate it.","domainConnectionModalUseOwnDomainTitle":"Use a domain I already own elsewhere","domainConnectionModalUseOwnDomainSubitle":"Use a domain that's not provided by Zyro.","domainConnectionModalGetADomain":"Don’t have a domain yet? Get one.","generalSettingsProfileManageDomain":"Manage domain","hasDomainWWWPrefixCardTitle":"Use WWW Prefix","hasDomainWWWPrefixCardSubtitle":"Adds “www” to the beginning of your domain.","websitePlanName":"Website","onlineStorePlanName":"Online Store","advancedStorePlanName":"Advanced Store","ecommerceBasicPlanName":"eCommerce Basic","basicPlanName":"Basic","seoTitleInputMessage":"If this field is left empty, the title from general website settings will be used.","seoDescriptionInputMessage":"If this field is left empty, the description from general website settings will be used.","seoGeneralInputTitle":"Website title","seoGeneralInputTitlePlaceholder":"Enter website title","seoGeneralInputLangDropdownTitle":"Website language","seoGeneralInputLangDropdownInfoText":"The website language defines the language that content is written in.","businessPlanName":"Business","cookieBannerLabel":"Disclaimer text","cookieBannerPlaceholderText":"Enter disclaimer text","cookieBannerRestoreButtonLabel":"Restore default message"}`),$D={email:"The email is not valid",domainNameTaken:"Oops! This name is already taken. Try something else.",notDomainOwner:"Oops! User is not the owner of the domain.",fileMaxSize:"File too large! Try again.",fileType:"Invalid file type! Try again.",pageUrlExistsInSite:"A page with this URL already exists. Pick a different one.",phone:"The phone is not valid",url:"The URL is not valid",emptyValue:"Value can't be empty",valueOver512:"The value may not be longer than 512 characters.",integrationIdInvalid:"The provided integration ID is invalid.",emptyDomainName:"Please enter your domain name",incorrectDomainFormat:"The domain name is incorrect. It should look similar to this – example.com.",slugDuplicated:"A page with this URL already exists. Pick a different one."},OD={selectEcommerce:{subtitle:"Do you want to sell products online?",text:"Create an online store or build a professional website for your business or personal brand."},selectButtonStyle:{subtitle:"Choose your button style"},selectCategory:{subtitle:"What type of website are you building?",title:"Enter a website category",inputPlaceholder:"Portfolio, Creative Blog, Fashion Online Store...",error:"Enter website category first",text:"Start typing and get the suggestions to choose from."},selectTheme:{title:"Pick a theme for your website",subtitle:"Choose how the colors, fonts and buttons appear on your website. Don't worry, you can change them later."},selectColorPalette:{subtitle:"Pick your color palette"},selectFont:{subtitle:"Pick a fonts pair style",text:"You can easily customize it later.",fontHeadline:"A big beautiful headline.",fontSubhead:"Now a subhead that explains what we offer."},selectFeatures:{subtitle:"Which features should your website have?",title:"Select all the functions you need",onlineStoreTitle:"Online store",onlineStoreSubtitle:"Start selling online",blogTitle:"Blog",blogSubtitle:"Share ideas and drive traffic to your website ",instagramTitle:"Instagram feed",instagramSubtitle:"Showcase Instagram posts on your website",mapTitle:"Maps",mapSubtitle:"Help visitors find your business",videoTitle:"Video",videoSubtitle:"Add videos to your website",slideshowTitle:"Slideshow",slideshowSubtitle:"Make the most of your best images",galleryTitle:"Gallery",gallerySubtitle:"Display your images in a stylish format"},selectImportedWebsite:{subtitle:"Your website was imported",title:"Now, customize your website",bodyText:"Add any missing elements, such as buttons, change the fonts, and adjust the layout of your website.",errorSubtitle:"Something went wrong",errorTitle:"We couldn't import your website. Please try again.",openWebsite:"Open website builder"},selectWebsite:{title:"Customize your website",generateAgain:"Generate again",choose:"Choose this design",preview:"Preview",subtitle:"Your website is now ready. Easily customize text, images, page layout, and much more."},loader:{importer:"Importing your website",generator:"Generating your website",scanningWebsite:"We're scanning your website",importingWebsite:"We're importing the images",importingText:"We're importing the text",buildingWebsite:"We're building your website",yourWebsiteIsStillImported:"Your website is still being imported",yourWebsiteIsStillGenerating:"Your website is still being generated",ifLeaveStopped:"If you leave this page, the import will be stopped.",ifLeaveStoppedProcess:"If you leave now, the process will be stopped.",continueGenerating:"Continue generating",stopGenerating:"Stop generating",continueImporting:"Continue importing",stopImporting:"Stop importing"},goBackToWizardTypeSelection:"Go back to wizard type selection",stepInTotalText:"Step %{0} out of %{1}",customizeLaterText:"You can always customize it later.",metaTitle:"Zyro Website Generator",addPagesTitle:"Add pages to your website",addPagesSubtitle:"Select the pages you need on your website. You can add, customize, and delete pages later.",addPagesAboutTitle:"About page",addPagesAboutSubtitle:"Tell your story your way",addPagesServiceTitle:"Services page",addPagesServiceSubtitle:"Detail the services you offer",addPagesContactTitle:"Contact page",addPagesContactSubtitle:"Share your contact details",addPagesGalleryTitle:"Gallery page",addPagesGallerySubtitle:"Let images do the talking",addPagesPortfolioTitle:"Portfolio page",addPagesPortfolioSubtitle:"Showcase the best of your work",addPagesFaqTitle:"FAQ page",addPagesFaqSubtitle:"Answer your visitors' common questions"},RD={successTitle:"Email has been verified!",successSubtitle:"From now on, all online form submissions will be sent to your updated email address",errorTitle:"Something went wrong",errorSubtitle:"We were unable to verify the email address you provided. Please try again or use a different email address.",buttonText:"Return home"},MD={searchPlaceholder:"Search all templates",searchEmptyState:"No results for '{0}'",searchResults:"Showing results for '{0}'",pageTitle:"Fully customizable website templates",pageSubtitle:"Designer-made templates built to meet your needs. Choose a template and edit anything – change colors, fonts, images, and more.",chooseYourCategory:"Choose your category",categoryAllTemplates:"All templates",categoryPopular:"Popular templates",categoryBlank:"Blank templates",categoryLandingPages:"Landing pages",categoryFavorites:"Favorites",categoryFashion:"Fashion",categoryPhotography:"Photography",categoryTechnology:"Technology",categoryECommerce:"eCommerce",categoryCommunity:"Community",categoryEntertainment:"Entertainment",categoryTravel:"Travel",categoryRestaurants:"Restaurants",categoryPortfolio:"Portfolio",categoryMarketing:"Marketing",categoryHealthAndBeauty:"Health & Beauty",categoryServices:"Services",categoryResume:"Resume",categoryEvents:"Events",categoryHomeAndDecor:"Home & Decor",categoryBlog:"Blog",buttonSelect:"Select template",blankSiteImageText:"Start from scratch",blankSiteName:"Blank site",aiBuilderBannerButton:"Try AI Website Builder",aiBuilderBannerText:"Use the power of AI to create a website tailored specifically for you",noFavorites:"You haven’t chosen any favorites yet. Click the heart icon next to a template's name to save the template."},O8={builder:AD,common:$8,onlineStore:DD,pricingShared:zD,siteSettings:LD,validate:$D,wizard:OD,emailVerification:RD,templates:MD};function ND(t,e){if(e==null)return t}function R8(t,e=[]){const o=Zc.find(n=>n.localeId===t);return e.unshift(t),o.fallback?R8(o.fallback,e):e}async function M8(t){const e=R8(t),o=await Promise.all(e.map(s=>HD(`./translations/${s}.json`))),n=Io(x0)?{}:ro(O8);return o.forEach(s=>{Y5(n,s,ND)}),n}function HD(t){switch(t){case"./translations/ar_AR":case"./translations/ar_AR.json":return N(()=>import("../chunk/ar_AR-1744117941567.js"),[]);case"./translations/cs_CZ":case"./translations/cs_CZ.json":return N(()=>import("../chunk/cs_CZ-1744117941567.js"),[]);case"./translations/da_DK":case"./translations/da_DK.json":return N(()=>import("../chunk/da_DK-1744117941567.js"),[]);case"./translations/de_DE":case"./translations/de_DE.json":return N(()=>import("../chunk/de_DE-1744117941567.js"),[]);case"./translations/el_GR":case"./translations/el_GR.json":return N(()=>import("../chunk/el_GR-1744117941567.js"),[]);case"./translations/en_AU":case"./translations/en_AU.json":return N(()=>import("../chunk/en_AU-1744117941567.js"),[]);case"./translations/en_CA":case"./translations/en_CA.json":return N(()=>import("../chunk/en_CA-1744117941567.js"),[]);case"./translations/en_GB":case"./translations/en_GB.json":return N(()=>import("../chunk/en_GB-1744117941567.js"),[]);case"./translations/en_IN":case"./translations/en_IN.json":return N(()=>import("../chunk/en_IN-1744117941567.js"),[]);case"./translations/en_US":case"./translations/en_US.json":return N(()=>import("../chunk/en_US-1744117941567.js"),[]);case"./translations/es_AR":case"./translations/es_AR.json":return N(()=>import("../chunk/es_AR-1744117941567.js"),[]);case"./translations/es_BO":case"./translations/es_BO.json":return N(()=>import("../chunk/es_BO-1744117941567.js"),[]);case"./translations/es_CL":case"./translations/es_CL.json":return N(()=>import("../chunk/es_CL-1744117941567.js"),[]);case"./translations/es_CO":case"./translations/es_CO.json":return N(()=>import("../chunk/es_CO-1744117941567.js"),[]);case"./translations/es_EC":case"./translations/es_EC.json":return N(()=>import("../chunk/es_EC-1744117941567.js"),[]);case"./translations/es_ES":case"./translations/es_ES.json":return N(()=>import("../chunk/es_ES-1744117941567.js"),[]);case"./translations/es_MX":case"./translations/es_MX.json":return N(()=>import("../chunk/es_MX-1744117941567.js"),[]);case"./translations/es_PE":case"./translations/es_PE.json":return N(()=>import("../chunk/es_PE-1744117941567.js"),[]);case"./translations/es_UY":case"./translations/es_UY.json":return N(()=>import("../chunk/es_UY-1744117941567.js"),[]);case"./translations/es_VE":case"./translations/es_VE.json":return N(()=>import("../chunk/es_VE-1744117941567.js"),[]);case"./translations/fi_FI":case"./translations/fi_FI.json":return N(()=>import("../chunk/fi_FI-1744117941567.js"),[]);case"./translations/fr_FR":case"./translations/fr_FR.json":return N(()=>import("../chunk/fr_FR-1744117941567.js"),[]);case"./translations/he_IL":case"./translations/he_IL.json":return N(()=>import("../chunk/he_IL-1744117941567.js"),[]);case"./translations/hi_IN":case"./translations/hi_IN.json":return N(()=>import("../chunk/hi_IN-1744117941567.js"),[]);case"./translations/id_ID":case"./translations/id_ID.json":return N(()=>import("../chunk/id_ID-1744117941567.js"),[]);case"./translations/it_IT":case"./translations/it_IT.json":return N(()=>import("../chunk/it_IT-1744117941567.js"),[]);case"./translations/ja_JP":case"./translations/ja_JP.json":return N(()=>import("../chunk/ja_JP-1744117941567.js"),[]);case"./translations/lt_LT":case"./translations/lt_LT.json":return N(()=>import("../chunk/lt_LT-1744117941567.js"),[]);case"./translations/ms_MY":case"./translations/ms_MY.json":return N(()=>import("../chunk/ms_MY-1744117941567.js"),[]);case"./translations/nb_NO":case"./translations/nb_NO.json":return N(()=>import("../chunk/nb_NO-1744117941567.js"),[]);case"./translations/nl_NL":case"./translations/nl_NL.json":return N(()=>import("../chunk/nl_NL-1744117941567.js"),[]);case"./translations/pl_PL":case"./translations/pl_PL.json":return N(()=>import("../chunk/pl_PL-1744117941567.js"),[]);case"./translations/pt_BR":case"./translations/pt_BR.json":return N(()=>import("../chunk/pt_BR-1744117941567.js"),[]);case"./translations/pt_PT":case"./translations/pt_PT.json":return N(()=>import("../chunk/pt_PT-1744117941567.js"),[]);case"./translations/ro_RO":case"./translations/ro_RO.json":return N(()=>import("../chunk/ro_RO-1744117941567.js"),[]);case"./translations/ru_RU":case"./translations/ru_RU.json":return N(()=>import("../chunk/ru_RU-1744117941567.js"),[]);case"./translations/sv_SE":case"./translations/sv_SE.json":return N(()=>import("../chunk/sv_SE-1744117941567.js"),[]);case"./translations/th_TH":case"./translations/th_TH.json":return N(()=>import("../chunk/th_TH-1744117941567.js"),[]);case"./translations/tr_TR":case"./translations/tr_TR.json":return N(()=>import("../chunk/tr_TR-1744117941567.js"),[]);case"./translations/uk_UA":case"./translations/uk_UA.json":return N(()=>import("../chunk/uk_UA-1744117941567.js"),[]);case"./translations/vi_VN":case"./translations/vi_VN.json":return N(()=>import("../chunk/vi_VN-1744117941567.js"),[]);case"./translations/zh_CN":case"./translations/zh_CN.json":return N(()=>import("../chunk/zh_CN-1744117941567.js"),[]);default:return new Promise(function(e,o){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}const Gr=Zc.find(({localeId:t})=>t==="en_GB");function Ha(t){return Zc.find(e=>e.code===t)}function N8(t){return Zc.find(e=>e.iso===t)}function V2(t={}){var a;const o={...{countryCodeOnly:!1},...t},n=((a=navigator.languages)==null?void 0:a[0])||navigator.language;return n?o.countryCodeOnly?n.trim().split(/-|_/)[0]:n.trim():void 0}function GD(){const t=N8(V2())||Ha(V2({countryCodeOnly:!0}));return t==null?void 0:t.code}const FD=()=>{const t=Ha(Ly())||Ha(GD());return(t==null?void 0:t.code)||Gr.code},VD={de:"de","com.ar":"es",co:"co",es:"es",mx:"mx",fr:"fr",it:"it","com.br":"pt",nl:"nl"};let H8=!1,U2=!1,Oy=FD(),xp=[];const mr=uT({legacy:!1,locale:Oy,fallbackLocale:Gr.code,messages:{[Gr.code]:O8},silentTranslationWarn:!0,missing:(t,e)=>(H8&&Io(x0)&&!U2&&!xp.includes(e)&&(Wt(new Error(`Missing translation for brand: builder-frontend, slug: ${e}, language: ${t}`)),Io(kP)&&console.log("Missing translation for slug:",e,"for locale:",t),xp.push(e),localStorage.setItem(X4,JSON.stringify(xp)),U2=!0),e)}),j2=[Gr.code];function _h(t){mr.global.locale.value=t,z8(t)}function yc(t){const e=Ha(t);return e?j2.includes(t)?(mr.global.locale.value!==t&&_h(t),Promise.resolve(t)):M8(e.localeId).then(o=>(mr.global.setLocaleMessage(t,o),j2.push(t),_h(t),Promise.resolve(t))):(_h(mr.global.fallbackLocale),Promise.resolve(mr.global.fallbackLocale))}const UD=t=>{if(J3())return;const e=VD[t];if(!e){yc(Gr.code);return}Oy=Ha(e).code,yc(Ha(e).code)};function W2(t){const e=N8(t)||Ha(t);return e?M8(e.localeId):null}const wh=async()=>{await yc(Oy),xp=JSON.parse(localStorage.getItem(X4))||[],H8=!0},jD=[L2.INVALID,L2.CONNECTED,null],ue=Mo(Xo.ECOMMERCE,()=>{const{state:t,getters:e,dispatch:o}=et(),n=Bt(),s=Eo(),a=C(!0),l=C(!1),i=C(!1),c=C({global:!1}),u=C({}),p=C({}),g=C([]),f=C(0),y=C([]),E=C(!1),I=C(null),T=C([]),x=C([]),P=C(""),z=C(""),L=C(!1),$=d(()=>z.value&&P.value),A=d(()=>n.siteMeta.ecommerceType===Ua),D=d(()=>!!(A.value&&n.siteMeta.ecommerceStoreId)),O=d(()=>[...g.value,...y.value]),M=d(()=>x.value.map(({id:Tt})=>Tt)),H=d(()=>x.value.length),F=d(()=>Object.entries(t.ecommerce.productMetaUpdates).map(([Tt,Dt])=>{const Nt=x.value.find(({id:ge})=>ge===Tt),Gt=(Nt==null?void 0:Nt.seo_settings)||{},ne=Dt.seo_settings||{};return{id:Tt,seo_settings:{...Gt,...ne}}})),j=d(()=>x.value.reduce((Tt,Dt)=>{const Nt=F.value.find(Gt=>Gt.id===Dt.id);return[...Tt,Nt||Dt]},[])),q=d(()=>n.site.ecommerceSeoChanges||[]),W=d(()=>Fn(e.siteMeta)),Z=d(()=>e.defaultLocale),G=d(()=>x.value.map(Tt=>{var Gt,ne;const Dt=(Gt=Tt.seo_settings)==null?void 0:Gt.slug;return((ne=t.ecommerce.productMetaUpdates[Tt.id])==null?void 0:ne.slug)||Dt})),X=d(()=>x.value.reduce((Tt,Dt)=>{var Gt;const Nt=((Gt=Dt.seo_settings)==null?void 0:Gt.templateId)||n.ecommerceDefaultProductPageTemplateId;return Tt[Nt]||(Tt[Nt]=[]),Tt[Nt].push(Dt.id),Tt},{})),ot=d(()=>{const Tt=Io(wP);return n.isLegacyProductPagesAdded?!1:Tt?!(Tt==="true"):!0}),st=Tt=>{I.value=Tt},J=Tt=>{var Nt;const Dt=(Nt=j.value.find(Gt=>Gt.seo_settings.slug===Tt))==null?void 0:Nt.id;Dt&&st(Dt)},Q=Tt=>{(!g.value.length||Tt.length>g.value.length)&&(g.value=Tt);const Dt=g.value.map(Nt=>{const Gt=Tt.find(ne=>ne.id===Nt.id);return Gt?{...Nt,...Gt}:Nt});if(ot.value){const Nt=Tt.filter(Gt=>!(Dt!=null&&Dt.some(ne=>ne.id===Gt.id)));g.value=[...Dt,...Nt];return}g.value=Dt},lt=(Tt,Dt)=>{const Nt=Tt.filter(Gt=>{var ne;return!((ne=u.value[Dt])!=null&&ne.some(ge=>ge.id===Gt.id))});u.value[Dt]=[...u.value[Dt]||[],...Nt]},pt=({products:Tt,sort:Dt,collectionId:Nt,count:Gt})=>{if(Q(Tt),Nt||Dt){const ne=vh(Dt,Nt);lt(Tt,ne),p.value[ne]=Gt||Tt.length}else f.value=Gt||Tt.length},dt=async({productId:Tt,blockId:Dt,isHidden:Nt})=>{if(!W.value)return null;c.value[Dt]=!0;try{const Gt=await gr(W.value,{productId:Tt,isHidden:Nt});return Q(Gt.products),Gt.products[0]}catch(Gt){return o("notifications/notify",{message:`Error while getting store product: ${Tt}.`}),Wt(Gt),null}finally{c.value[Dt]=!1}},bt=async({limit:Tt,resetUndoForPageCreation:Dt=!0,pickStylesFromTheme:Nt=!1,shouldAwaitPageCreation:Gt=!1}={})=>{if(W.value){c.value.global=!0;try{if(ot.value){const ne=await gr(W.value,{limit:Tt||1});pt({products:ne.products,count:ne.count}),o("addEcommerceProductPages",{pickStylesFromTheme:Nt,resetUndo:Dt})}else{const ne=await gr(W.value);if(pt({products:ne.products,count:ne.count}),!A.value)return;Gt?await o("addEcommerceProductPages",{pickStylesFromTheme:Nt,resetUndo:Dt}):o("addEcommerceProductPages",{pickStylesFromTheme:Nt,resetUndo:Dt})}}catch(ne){o("notifications/notify",{message:"Error while getting store products."}),Wt(ne)}finally{c.value.global=!1}}},ht=async({sortType:Tt,collectionId:Dt,blockId:Nt,limit:Gt,offset:ne})=>{c.value[Nt]=!0;try{const ge=!Tt&&Dt?"order=ASC&sort_by=collection_order":Tt,St=await gr(W.value,{sort:ge,collectionId:Dt,limit:Gt,offset:ne});pt({products:St.products,sort:ge,collectionId:Dt,count:St.count})}catch(ge){o("notifications/notify",{message:"Error while getting store products."}),Wt(ge)}finally{c.value[Nt]=!1}},yt=async()=>{try{const{products:Tt}=await TD(W.value),Dt=q.value.length?Tt.map(Nt=>{const Gt=q.value.find(ne=>Nt.id===ne.id);return Gt?{...Nt,seo_settings:{...Gt.seo_settings}}:Nt}):Tt;T.value=Tt,x.value=Dt}catch(Tt){o("notifications/notify",{message:"Error while getting store products seo data."}),Wt(Tt)}},nt=Tt=>{const Dt=x.value.map(Nt=>{const Gt=Tt.find(ne=>ne.id===Nt.id);return Gt?es(Nt,Gt):Nt});x.value=Dt},tt=Tt=>{const Dt=T.value.map(Nt=>{const Gt=Tt.find(ne=>ne.id===Nt.id);return Gt?es(Nt,Gt):Nt});T.value=Dt},mt=async({shouldAwaitPageCreation:Tt=!1,pickStylesFromTheme:Dt=!1,resetUndoForPageCreation:Nt=!0,limit:Gt}={})=>{const ne=[bt({pickStylesFromTheme:Dt,shouldAwaitPageCreation:Tt,resetUndoForPageCreation:Nt,...Gt?{limit:Gt}:{}}),yt()];await Promise.all(ne)},it=(Tt,Dt)=>{const Nt=!Tt&&Dt?"order=ASC&sort_by=collection_order":Tt;return u.value[vh(Nt,Dt)]||[]},vt=(Tt,Dt)=>{const Nt=!Tt&&Dt?"order=ASC&sort_by=collection_order":Tt;return p.value[vh(Nt,Dt)]||0},Et=Tt=>{y.value=Tt},At=Tt=>{let Dt=co.clone(Tt);Object.entries(Dt.languages).forEach(([ne,{blocks:ge,elements:St}])=>{const Ft=Object.keys(ge).filter(zt=>{var Yt;return qc.includes((Yt=ge[zt])==null?void 0:Yt.type)}),$e=Object.keys(St).filter(zt=>{var Yt;return((Yt=St[zt])==null?void 0:Yt.type)==="GridEcommerceButton"});Ft.forEach(zt=>{Dt=zy({siteData:Dt,blockId:zt,locale:ne})}),$e.forEach(zt=>{Dt=T8({siteData:Dt,elementId:zt,locale:ne})})}),delete Dt.meta[ls],delete Dt.meta[Rp];const{ecommerceShoppingCart:Nt,...Gt}=Dt;return Gt},kt=()=>{let Tt=co.clone(n.site);o("unselectCurrentElement"),o("updateCurrentBlockId",null);const Dt=Object.keys(n.ecommerceLegacyProductPages);Dt.length&&Dt.forEach(Gt=>{Tt=Aa({siteData:Tt,pageId:Gt,locale:Z.value})});const Nt=At(Tt);o("overwriteWebsiteData",{websiteData:{...Nt}}),o("undoRedo/resetUndoRedo",null),s.saveWebsite()},Lt=()=>{let Tt=co.clone(n.site);o("unselectCurrentElement"),o("updateCurrentBlockId",null),o("updateCurrentPageId");const Dt=Object.keys(n.ecommerceDynamicProductPageTemplates);Dt.length&&Dt.forEach(Gt=>{Tt=Aa({siteData:Tt,pageId:Gt,locale:Z.value})});const Nt=At(Tt);o("overwriteWebsiteData",{websiteData:{...Nt}}),s.saveWebsite()},jt=()=>{if(g.value=[],Object.keys(n.ecommerceDynamicProductPageTemplates).length){Lt();return}kt()},$t=Tt=>Object.values(n.ecommerceProductPages).some(({blocks:Dt})=>Dt==null?void 0:Dt.includes(Tt)),Ct=()=>{g.value=[],u.value={},f.value=0,p.value={}},Ot=({slug:Tt})=>!G.value.includes(Tt),Zt=()=>{const Tt=Object.values(n.site.languages).reduce((St,Ft)=>{const $e=Ft.pages||{};return[...St,...Object.values($e)]},[]),Dt=Tt.map(St=>St==null?void 0:St.slug).filter(Boolean),Nt=(St,Ft)=>{const $e=E8({initialSlug:St.title,existingSlugs:[...Ft,...Dt],slugSuffix:"-product"}),{slug:zt,...Yt}=St.seo_settings||{};return{id:St.id,seo_settings:{slug:$e,title:St.title,...Yt}}};if(ot.value){const St=x.value.map($e=>{var zt;return(zt=$e.seo_settings)==null?void 0:zt.slug}).filter(Boolean);return x.value.filter($e=>{var zt;return!((zt=$e.seo_settings)!=null&&zt.slug)}).map($e=>Nt($e,St))}const Gt=[...g.value,...y.value],ne=Tt.filter(St=>{var zt;return St.type===vn?!(((zt=Gt.find(Yt=>Yt.id===St.productId))==null?void 0:zt.seo_settings)||{}).slug:!1}),ge=Gt.map(St=>{var Ft;return(Ft=St.seo_settings)==null?void 0:Ft.slug}).filter(Boolean);return ne.map(St=>{const Ft=Gt.find(({id:We})=>We===St.productId);if(!Ft)return null;const $e=new DOMParser().parseFromString(Ft.description,"text/html"),zt=$e?$y($e):"",Yt=Nt(Ft,ge);return{...Yt,seo_settings:{...Yt.seo_settings,...Ft.thumbnail?{ogImagePath:Ft.thumbnail}:{},ogImageOrigin:"other",ogImageAlt:Ft.title,description:zt}}}).filter(Boolean)},Ut=async()=>{const Tt=Zt();if(Tt!=null&&Tt.length)try{const Dt=xf(Tt,100).map(ne=>F2(W.value,ne)),Nt=await Promise.all(Dt),Gt=Nt.flat().map(ne=>({id:ne.id,seo_settings:ne.seo_settings}));ot.value||o("ecommerce/updateStoreProducts",Nt.flat()),nt(Gt),tt(Gt)}catch(Dt){throw o("notifications/notify",{messageI18nKeyPath:"builder.productPageDataSavingNotification",submitLabelI18nKeyPath:"common.reload",isDiscardButtonShown:!1,submitCallback:()=>window.location.reload()},{root:!0}),console.error(Dt),Wt(Dt),Dt}},ye=()=>{if(!W.value)return;const Tt=Object.entries(t.ecommerce.productMetaUpdates).map(([Dt,Nt])=>{const Gt=x.value.find(({id:ge})=>ge===Dt),ne=(Gt==null?void 0:Gt.seo_settings)||{};return{id:Dt,seo_settings:{...ne,...Nt||{}}}});Tt.length&&(n.setEcommerceSeoChanges(Tt),o("ecommerce/setProductMetaUpdates",null,{root:!0}),nt(Tt))},Jt=async()=>{ye();const Tt=Object.values(q.value);if(!Tt.length)return;const Dt=xf(Tt,100).map(Nt=>F2(W.value,Nt));await Promise.all(Dt),T.value=T.value.map(Nt=>{const Gt=Tt.find(ge=>ge.id===Nt.id),ne=(Gt==null?void 0:Gt.seo_settings)||{};return{...Nt,seo_settings:{...Nt.seo_settings,...ne}}}),n.resetEcommerceSeoChanges()},ft=()=>{var Dt;if(e.isCurrentPageTypeDynamicProduct)return;const{currentLocale:Tt}=t;Tt!==Z.value&&o("updateCurrentLocale",Z.value),o("updateCurrentPageId",n.ecommerceDefaultProductPageTemplateId),st(((Dt=x.value[0])==null?void 0:Dt.id)||-1)},Rt=({productId:Tt})=>{const Dt=Object.entries(X.value).find(([Nt,Gt])=>Gt.includes(Tt));return Dt?Dt[0]:n.ecommerceDefaultProductPageTemplateId},Xt=({productId:Tt,templateId:Dt})=>{const Nt=Dt||Rt({productId:Tt}),{currentLocale:Gt}=t;Gt!==Z.value&&o("updateCurrentLocale",Z.value),o("updateCurrentPageId",Nt),st(Tt)},ve=async()=>{var Dt,Nt;const{ecommerceStoreId:Tt}=e.siteMeta;if(Tt)try{const ne=(await Promise.allSettled([CD(Tt),PD(Tt)])).map(Ft=>Ft.status==="fulfilled"?Ft.value:null),[ge,St]=ne;a.value=!!((Dt=ge==null?void 0:ge.status)!=null&&Dt.paymentsEnabled),l.value=!!((Nt=ge==null?void 0:ge.status)!=null&&Nt.hasProducts),i.value=(St==null?void 0:St.store_payment_providers.some(Ft=>!jD.includes(Ft.status)))||!1}catch(Gt){o("notifications/notify",{message:`Error while getting store settings: ${Tt}.`}),Wt(Gt)}},we=async()=>{var Tt,Dt,Nt;if(W.value)try{const Gt=await ID(W.value),ne=(Tt=Gt.store_owner.language)==null?void 0:Tt.toLowerCase();let ge=await W2(ne);if(P.value=Gt.stripe_public_key||"",z.value=Gt.stripe_account_id||"",L.value=!!Gt.is_stripe_available,ge!=null&&ge.onlineStore||(ge=await W2("en")),o("addEcommerceShoppingCart",{translations:ge==null?void 0:ge.onlineStore,lang:ne}),n.site.meta.payseraVerificationCode!==((Dt=Gt.paysera_checkout)==null?void 0:Dt.verification_code)){const{payseraVerificationCode:St,...Ft}=n.site.meta;o("overwriteWebsiteData",{websiteData:{...n.site,meta:{...Ft,...(Nt=Gt.paysera_checkout)!=null&&Nt.verification_code?{payseraVerificationCode:Gt.paysera_checkout.verification_code}:{}}}}),o("undoRedo/resetUndoRedo")}}catch(Gt){o("notifications/notify",{message:"Error while getting settings."},{root:!0}),Wt(Gt)}};return{isEditingGlobalPage:E,deleteEcommerceFromSite:jt,currentDynamicPageProductId:I,setCurrentDynamicPageProductId:st,setCurrentDynamicPageProductIdBySlug:J,getProductsSorted:it,getCountSorted:vt,products:g,productSlugs:G,count:f,totalProductsCount:H,productsSorted:u,productsNonSorted:g,countSorted:p,hiddenProducts:y,allProducts:O,allProductsIds:M,fetchProducts:bt,fetchListProducts:ht,isLoadingProducts:c,setStoreProducts:pt,fetchProductById:dt,setHiddenProducts:Et,isDynamicPageFlowEnabled:ot,getIsBlockInEcommerceProductPage:$t,resetProductsList:Ct,productsSeo:x,rawProductsSeo:T,fetchInitialEcommerceData:mt,getIsSlugNotUsedForProducts:Ot,updateProductsSeoData:ye,updateProductPagesWithoutSlugsSeo:Ut,fetchProductsSeo:yt,updateStoreProductsSeo:nt,updateRawStoreProductsSeo:tt,productsSeoWithUpdates:j,templateProductMap:X,saveEcommerceSeoChanges:Jt,initEcommerce:async({shouldPickStylesFromTheme:Tt=!1,refetch:Dt=!1}={})=>{o("ecommerce/getVariantsQuantity"),await mt({pickStylesFromTheme:Tt}),Dt||await Ut(),await Promise.all([we(),o("ecommerce/getCategories"),ve()])},handleEditDynamicProductPageClick:ft,handleProductPageOpen:Xt,getPaymentsSettings:ve,arePaymentsEnabled:a,hasAddedProducts:l,isPaymentsConnectionPending:i,getStoreSettingsData:we,isStoreEnabled:A,isStoreUsed:D,stripePublicKey:P,stripeAccountId:z,isExpressCheckoutAvailable:L,isStripeEnabled:$}}),Ry=()=>(new URL(window.location.href).pathname.split("/")[1],!1),Is="builder",Cs="preview",pa="ai-preview",Fr="version-history",WD="store-manager-redirect",qD="site-settings",q2="form-email-verification",Ks="ai-builder",is="templates",Co=()=>{const t=yi();return{isAiBuilderMode:d(()=>(t==null?void 0:t.name)===Ks)}},YD=12e4,Eo=Mo(Xo.SAVING,()=>{const{state:t,dispatch:e}=et(),o=yi(),n=Bt(),s=ue(),{isAiBuilderMode:a}=Co(),l=C(!1),i=C(null),c=C(null),u=C(),p=d(()=>c.value?Jd(c.value,n.site):void 0),g=d(()=>{const $=t.ecommerce.productMetaUpdates;return $&&Object.keys($).length>0}),f=d(()=>g.value||typeof p.value<"u"),y=d(()=>(o==null?void 0:o.name)===Fr||(o==null?void 0:o.name)===pa||a.value?!1:t.websiteId&&f.value&&!l.value),E=$=>{l.value=$},I=({siteData:$})=>{c.value=co.clone($)},T=$=>{i.value=$},x=$=>{u.value=$},P=()=>{clearInterval(u.value)},z=async({saveWhenImpersonating:$=!1,isTimerStarted:A=!0}={})=>{var M;const{user:D,websiteId:O}=t;if(!((M=D.user)!=null&&M.isStaff&&!$||Ry())){P(),E(!0),Ae({category:"CLIENT_TIMESTAMP",message:"Before Save",data:{clientTimestamp:i.value}});try{s.updateProductsSeoData();const H=ED({siteData:n.site}),{data:F}=await fD(O,n.site,i.value,H);Ae({category:"CLIENT_TIMESTAMP",message:"After Save",data:{clientTimestamp:F.clientTimestamp}}),T(F.clientTimestamp),I({siteData:n.site})}catch(H){throw e("notifications/notify",{messageI18nKeyPath:bD(H),submitLabelI18nKeyPath:"common.reload",isDiscardButtonShown:!1,submitCallback:()=>window.location.reload()},{root:!0}),console.error(H),H}finally{A&&L(),E(!1)}}},L=()=>{var A,D;if((A=t.user.user)!=null&&A.isStaff||[h2.TEMPLATES,h2.AI_TEMPLATES].includes((D=t.user.user)==null?void 0:D.email))return;const $=setInterval(()=>{y.value&&z()},YD);x($)};return{isSaving:l,clientTimestamp:i,siteDataSnapshot:c,timer:u,unsavedSiteDataDiff:p,hasUnsavedSeoChanges:g,hasUnsavedChanges:f,canSave:y,setIsSaving:E,setSiteDataSnapshot:I,setClientTimestamp:T,setTimer:x,clearTimer:P,saveWebsite:z,startSavingTimer:L}}),{SINGLE_SITE_DASHBOARD_SUBSCRIPTION:Y2,SITES:G8,SUBSCRIPTIONS:KD}=E0,{PRODUCTS:ZD,PRODUCTS_ADD:QD,PRODUCTS_EDIT:XD,PAYMENT_MANAGEMENT:JD,BOOKINGS:tz,SHIPPING_EDIT:ez,COMPANY_INFORMATION:oz}=bo,{LANG:nz,RETURN:iz,SITE_ID:kh,SUBSCRIPTION_ID:sz,PRODUCT:az,FLOW:K2,REDIRECT_URL:Kl}=fn,{FLOW_UPGRADE:lz,FLOW_EXTEND:rz,RETURN_BUILDER:dz}=ts,{ASSIGN:cz}=lP,im=({path:t,params:e,domain:o})=>{const n=new URL(t,o);return n.search=new URLSearchParams(e).toString(),n.href},Z2=({path:t="",params:e={}})=>im({path:t,params:e,domain:"https://builder.hostinger.com"}),My=({path:t=G8,params:e={}}={})=>im({path:t,params:e,domain:"https://dashboard.zyro.com"}),rg=({path:t="",params:e={}}={})=>im({path:t,params:{redirectUrl:window.location.href,...e},domain:"https://auth.hostinger.com/login"}),F8=({path:t="",params:e={}}={})=>im({path:t,params:{redirectUrl:window.location.href,...e},domain:"https://hpanel.hostinger.com"}),sm=({path:t="",siteId:e="",params:o={}})=>{const n=[e,t].filter(l=>l).join("/"),s=new URL(n,"https://ecommerce.hostinger.com"),a={...o,[nz]:Ly()};return Object.keys(a).forEach(l=>s.searchParams.append(l,a[l])),s.href},uz=({currentDomain:t,params:e={}})=>F8({path:`${Gn.WEBSITES}/${t}/${Gn.UPGRADE}`,params:{redirectLocation:"list_view",isBuilderWebsite:1,...e}}),dn=()=>{const{state:t,dispatch:e}=et()??{},o=Eo(),n=async()=>{!e||!o.canSave||await o.saveWebsite()},s=async({path:M=G8,params:H={},redirectType:F=cz}={})=>{await n();const j=My({path:M,params:H});window.location[F](j)},a=async({path:M="",params:H={}}={})=>{await n(),await tn.redirectToHpanel({path:M,params:H})},l=async({currentDomain:M,siteId:H,params:F={}})=>{await n(),tn.redirectToHpanel({path:`${Gn.ADD_DOMAIN}/${M}`,params:{[Kl]:`https://builder.hostinger.com/${H}`,websiteType:"builder",...F}})},i=async({currentDomain:M,siteId:H,params:F={}})=>{await n(),tn.redirectToHpanel({path:`${Gn.DOMAIN}/${M}/${Gn.DOMAIN_OVERVIEW}`,params:{[Kl]:`https://builder.hostinger.com/${H}`,...F}})},c=async()=>{await n(),tn.redirectToHpanel({path:`${Gn.DOMAINS}`})},u=async({currentDomain:M,siteId:H,params:F={}})=>{await n(),tn.redirectToHpanel({path:`${Gn.REGISTER_DOMAIN_RESOURCE}/${M}`,params:{[Kl]:`https://builder.hostinger.com/${H}`,...F}})},p=async({currentDomain:M,siteId:H})=>{await n(),tn.redirectToHpanel({path:`${Gn.DOMAINS}/${Gn.TRANSFER_DOMAIN}`,params:{[Kl]:`https://builder.hostinger.com/${H}`,domain:M}})},g=async({currentDomain:M,siteId:H,params:F={}})=>{await n(),tn.redirectToHpanel({path:`${Gn.DOMAIN}/${M}/${Gn.DOMAIN_DNS}`,params:{[Kl]:`https://builder.hostinger.com/${H}`,...F}})},f=async({currentDomain:M,siteId:H})=>{await n(),tn.redirectToHpanel({path:`${Gn.REGISTER_DOMAIN_RESOURCE}/${M}/${Gn.VERIFY_PHONE_NUMBER}`,params:{[Kl]:`https://builder.hostinger.com/${H}`}})},y=async({currentDomain:M,params:H={}})=>{await n(),tn.redirectToHpanel({path:`${Gn.WEBSITES}/${M}/${Gn.UPGRADE}`,params:{redirectLocation:"list_view",isBuilderWebsite:1,...H}})},E=(M={})=>{s({path:Y2,params:{[kh]:t.websiteId,[K2]:lz,...M}})},I=(M={})=>{s({path:Y2,params:{[kh]:t.websiteId,[K2]:rz,...M}})},T=({websiteId:M,subscriptionId:H})=>{const F={[iz]:dz};return M&&(F[kh]=M),H&&(F[sz]=H),s({path:KD,params:F})},x=async({path:M="",params:H={},siteId:F}={})=>{await n(),await tn.redirectToEcommerce({path:M,params:H,siteId:F||(t==null?void 0:t.websiteId)})};return{redirectToUpgrade:E,redirectToExtend:I,redirectToDashboard:s,redirectToHPanel:a,redirectToSubscriptions:T,redirectToEcommerce:x,redirectToEcommerceBookings:()=>{x({path:tz})},redirectToEcommerceProducts:()=>{x({path:ZD})},redirectToEcommerceProductsAdd:()=>{x({path:QD})},redirectToEcommerceProductsEdit:M=>{x({path:XD,params:{[az]:M}})},redirectToEcommercePayments:(M,H={})=>{x({path:JD,params:H,siteId:M})},redirectToEcommerceCompanyInformation:()=>{x({path:oz})},redirectToEcommerceShippingEdit:(M={})=>{x({path:ez,params:M})},redirectToHPanelAddDomain:l,redirectToHPanelDomainsPage:c,redirectToHPanelRegisterDomainResource:u,redirectToHPanelTransferDomain:p,redirectToHPanelDomainSettings:i,redirectToHPanelDomainDNSSettings:g,redirectToHPanelDomainPhoneVerification:f,redirectToHPanelUpgradePage:y,getRedirectLinkToUpgradePage:uz}},am=Mo("auth",()=>{const t=C(!1),e=C(!1),o=C([]),n=u=>{t.value=u},s=()=>{If(10*1e3);const u=rg();window.location.assign(u)},a=()=>new Promise(u=>{o.value.push(u)}),l=()=>{o.value.forEach(u=>u()),o.value=[]};return{checkIfTokenIsRefreshing:async()=>{e.value&&await a()},refreshToken:async()=>{const p=new URLSearchParams(window.location.search).get(W3)==="1",g=window.location.pathname.includes(`/${is}`)&&p;if(!(e.value||Ry())){e.value=!0;try{await hD(),l()}catch{g||s()}e.value=!1}},forceLogout:s,isAuthRedirecting:t,setIsAuthRedirecting:n,releasePendingRequests:l}}),Xn=nc.create({timeout:15e4,withCredentials:!0,headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}}}),pz=t=>(t.headers&&(t.headers[Rr]=oc(36)),t),gz=t=>{const e=Bt();return e.hResourceId&&(t.headers.hResourceId=e.hResourceId),t},mz=t=>{if(!tm)return t;const e=Io(T0);return e&&(t.headers[J4]=e),t},hz=async t=>(t.isPublic||await am().checkIfTokenIsRefreshing(),t);Xn.interceptors.request.use(hz);Xn.interceptors.request.use(pz);Xn.interceptors.request.use(gz);Xn.interceptors.request.use(mz);const bz=async t=>{const e={...t,isRetryNeeded:!1};await Xn(e)},fz=t=>{const e=t||{};return am().refreshToken(),e._retry=!0,Xn(t)};Xn.interceptors.response.use(t=>t,async t=>{B8(t);const e=t==null?void 0:t.config,{serviceName:o}=p8(t==null?void 0:t.config),{message:n,status:s}=g8(t.response);return s===401&&(n==="jwt expired"||o!=="https://builder-backend.hostinger.com")&&!(e!=null&&e._retry)?fz(e):(e!=null&&e.isRetryNeeded&&await bz(e),A8(t),Promise.reject(t))});const qt={get(t,e){return Xn.get(t,e)},post(t,e,o){return Xn.post(t,e,o)},put:(t,e,o)=>Xn.put(t,e,o),patch:(t,e,o)=>Xn.patch(t,e,o),delete:(t,e)=>Xn.delete(t,e),request:t=>Xn(t),isCancel:t=>nc.isCancel(t),CancelToken:nc.CancelToken,interceptors:Xn.interceptors,defaults:Xn.defaults},yz=(t,e)=>{const o=s=>{var a;return(a=s[1])==null?void 0:a.toUpperCase()};return t==null?void 0:t.toString().replace(/(_\w)/g,o)},Vr=t=>{if($p(t)&&!Array.isArray(t)){const e={};return Object.keys(t).forEach(o=>{e[yz(o)]=Vr(t[o])}),e}if(Array.isArray(t)){const e=[];return t.forEach(o=>e.push(Vr(o))),e}return t},vz="https://builder.hostinger.com/api/resources/api",_z={getUserResources:async({types:t,states:e}={types:[],states:[]})=>{const{data:o}=await qt.get(`${vz}/v2/resources`,{params:{...t&&{type:t},...e&&{state:e}}});return Vr(o.data)}},Oe=()=>{const{dispatch:t,commit:e}=et();return{notify:s=>t("notifications/notify",s),removeNotificationById:s=>e("notifications/removeToastById",s)}},Ga=Mo(Xo.RESOURCES,()=>{const{notify:t}=Oe(),e=C(!1),o=C([]),n=C(null),s=p=>{n.value=p},a=async()=>{Ry();try{o.value=await _z.getUserResources(),e.value=!0}catch(p){t({messageI18nKeyPath:"builder.siteResourcesFailedToLoad",theme:"error",submitCallback:()=>{}}),Wt(p),e.value=!1}},l=p=>o.value.filter(g=>p.includes(g.type)),i=d(()=>o.value.filter(p=>p.type===Bl.HOSTING&&p.state===lg.PENDING)),c=d(()=>{var p;return(p=i.value.sort((g,f)=>g.createdAt>f.createdAt?-1:1))==null?void 0:p[0]}),u=d(()=>o.value.find(p=>String(p.id)===n.value));return{fetchResources:a,getResourcesByTypes:l,setSiteHResourceId:s,siteHResourceId:n,pendingHostingResources:i,mostRecentPendingResource:c,siteResource:u,resources:o,isLoaded:e}}),wz=({site:t,currentPageId:e,currentBlockId:o,currentElementId:n})=>{const{state:s}=et(),a=Ga(),l=d(()=>{var St;return((St=t.value)==null?void 0:St.meta)||{}}),i=d(()=>s.currentLocale),c=d(()=>a.siteHResourceId),u=d(()=>l.value.template),p=d(()=>u.value===m4),g=d(()=>u.value===h4),f=d(()=>u.value==="blank"),y=d(()=>p.value||g.value||f.value?u.value:"template"),E=d(()=>{var St;return((St=l.value)==null?void 0:St.defaultLocale)||te}),I=d(()=>{var St;return((St=t.value)==null?void 0:St.languages)||{}}),T=d(()=>Object.entries(I.value).filter(([St])=>St!==te).map(([St,Ft])=>({...Ft,locale:St}))??[]),x=d(()=>T.value.length>0),P=d(()=>{var St;return((St=I.value)==null?void 0:St[i.value])||{}}),z=d(()=>{var St,Ft;return((Ft=(St=I.value)==null?void 0:St[E.value])==null?void 0:Ft.pages)||{}}),L=d(()=>{var St;return((St=t.value)==null?void 0:St.styles)||{}}),$=d(()=>{var St;return((St=L.value)==null?void 0:St.font)||{}}),A=d(()=>{var St;return((St=t.value)==null?void 0:St.forms)||{}}),D=d(()=>Object.values(I.value[te].pages).find(({type:St})=>St===Oa)),O=d(()=>wo(z.value,({value:St})=>[vn,Uo].includes(St.type))),M=d(()=>i.value===te?P.value.pages||{}:{[ns]:{...D.value},...P.value.pages,...O.value}),H=d(()=>P.value.blocks||{}),F=d(()=>P.value.elements||{}),j=d(()=>H.value.header),q=d(()=>Object.values(H.value).find(St=>St.slot==="footer")),W=d(()=>!!q.value),Z=St=>Object.keys(M.value).includes(St),G=d(()=>M.value[e.value]),X=d(()=>{var St;return((St=G.value)==null?void 0:St.type)===jn}),ot=d(()=>{var St;return((St=G.value)==null?void 0:St.type)===Uo}),st=d(()=>{var St;return((St=G.value)==null?void 0:St.type)===Oa}),J=d(()=>{var St;return oi((St=G.value)==null?void 0:St.type)}),Q=d(()=>H.value[o.value]),lt=d(()=>{var St;return(St=Q.value)==null?void 0:St.type}),pt=d(()=>{var St;return(St=Q.value)==null?void 0:St.settings}),dt=d(()=>{var St;return(St=pt.value)==null?void 0:St.styles}),bt=d(()=>{var St;return(St=Q.value)==null?void 0:St.slot}),ht=d(()=>F.value[n.value]),yt=d(()=>{const St=ht.value;return St&&"content"in St?St.content:null}),nt=d(()=>{var St;return(St=ht.value)==null?void 0:St.settings}),tt=d(()=>{var St;return(St=nt.value)==null?void 0:St.styles}),mt=d(()=>{var St;return(St=ht.value)==null?void 0:St.type}),it=d(()=>Kg({elementId:n.value,siteBlocks:H.value})||""),vt=d(()=>H.value[it.value]||""),Et=d(()=>{var St;return(St=vt.value)==null?void 0:St.type}),At=d(()=>{var St,Ft;return G.value&&((Ft=(St=G.value)==null?void 0:St.blocks)==null?void 0:Ft.length)===0}),kt=({slug:St,slugPageId:Ft})=>!Object.entries(M.value).some(([$e,zt])=>$e!==Ft&&zt.slug===St),Lt=St=>Object.keys(H.value).find(Ft=>{var $e;return($e=H.value[Ft].components)==null?void 0:$e.includes(St)}),jt=d(()=>P.value.nav||[]),$t=d(()=>P.value.blogReadingTimeText||""),Ct=d(()=>P.value.homePageId),Ot=d(()=>M.value[Ct.value]),Zt=d(()=>{var St,Ft;return((Ft=(St=Ot.value)==null?void 0:St.meta)==null?void 0:Ft.title)||Ot.value.name}),Ut=d(()=>wo(z.value,({value:St})=>St.type===vn)),ye=d(()=>wo(z.value,({value:St})=>St.type===Uo)),Jt=d(()=>Object.keys(ye.value).find(St=>ye.value[St].isDefault)||""),ft=d(()=>!!Object.keys(Ut.value).length),Rt=d(()=>{var St;return(St=t.value)==null?void 0:St.ecommerceShoppingCart}),Xt=d(()=>{var St;return((St=t==null?void 0:t.value)==null?void 0:St.blogCategories)||{}}),ve=d(()=>{var St,Ft;return(Ft=(St=j.value)==null?void 0:St.settings)==null?void 0:Ft.isLanguageSwitcherHidden}),we=d(()=>wo(M.value,({value:St})=>St.type===Kr)),Re=d(()=>wo(M.value,({value:St})=>St.type===jn)),Tt=d(()=>wo(Re.value,({value:St})=>St.isDraft&&!St.isScheduled)),Dt=d(()=>wo(Re.value,({value:St})=>St.isScheduled)),Nt=d(()=>wo(Re.value,({value:St})=>!St.isDraft&&!St.isScheduled)),Gt=d(()=>{var St;return(St=t.value)==null?void 0:St.ecommerceSeoChanges}),ne=d(()=>{var St;return(St=t.value)==null?void 0:St.builderCompletedSteps}),ge=d(()=>{var St;return(St=l.value)==null?void 0:St.isPrivateModeActive});return{currentLocale:i,site:t,siteLanguages:I,siteLanguagesList:T,hasLanguages:x,currentSiteLanguage:P,siteBlocks:H,siteElements:F,sitePages:M,siteNav:jt,blogReadingTimeText:$t,hResourceId:c,homePageId:Ct,ecommerceProductPages:O,ecommerceLegacyProductPages:Ut,ecommerceDynamicProductPageTemplates:ye,ecommerceDefaultProductPageTemplateId:Jt,defaultLocale:E,ecommerceShoppingCart:Rt,siteForms:A,siteStyles:L,siteTemplate:u,hasGeneratedTemplate:p,hasImportedTemplate:g,hasBlankTemplate:f,templateType:y,siteHomePageTitle:Zt,siteFonts:$,currentPage:G,currentBlock:Q,currentBlockType:lt,currentBlockSettings:pt,currentBlockStyles:dt,currentBlockSlot:bt,currentElement:ht,currentElementContent:yt,currentElementSettings:nt,currentElementStyles:tt,currentElementType:mt,currentElementBlockId:it,currentElementBlock:vt,currentElementBlockType:Et,getElementBLockId:Lt,headerBlock:j,footerBlock:q,doesFooterExist:W,doesPageIdAlreadyExist:Z,isCurrentPageTypeBlog:X,isCurrentPageTypeDynamicProduct:ot,isCurrentPageEmpty:At,isCurrentPagePrivate:st,isCurrentPageTypeEcommerceProduct:J,isPageSlugUnique:kt,blogCategories:Xt,isLanguageSwitcherHidden:ve,defaultPages:we,blogPages:Re,draftBlogPages:Tt,scheduledBlogPages:Dt,publishedBlogPages:Nt,builderCompletedSteps:ne,siteMeta:l,isPrivateModeActive:ge,ecommerceSeoChanges:Gt,isLegacyProductPagesAdded:ft}},kz=_.union([_.literal("stretch"),_.literal("center"),_.literal("flex-start"),_.literal("flex-end"),_.literal("baseline"),_.literal("initial"),_.literal("inherit")]),Ez=_.union([_.literal("flex-start"),_.literal("flex-end"),_.literal("center"),_.literal("space-between"),_.literal("space-around"),_.literal("space-evenly"),_.literal("initial"),_.literal("inherit")]),Ti=_.string().min(1),qi=_.union([_.literal("assets"),_.literal("unsplash"),_.literal("other"),_.literal("https://assets.zyrosite.com")]),Iz=_.union([_.literal("var(--font-primary)"),_.literal("var(--font-secondary)")]),Q2=_.string().regex(/^(?:[1-9][0-9]*|[1-9])px$/),Sz=_.string().regex(/^(normal|italic|oblique(?: -?(?:[1-8]?[0-9]|90)deg)?)$/),Ur=_.union([_.literal(100),_.literal(200),_.literal(300),_.literal(400),_.literal(500),_.literal(600),_.literal(700),_.literal(800),_.literal(900),_.literal("normal"),_.literal("bold")]),xz=_.string().regex(/^(0|[1-9]\d*|0?\.\d+|\d+\.\d+)(em|rem)?$|^[1-9]\d*px$|^normal$/),Tz=_.union([_.literal("none"),_.literal("underline"),_.literal("underline")]),Cz=_.union([_.literal("capitalize"),_.literal("uppercase"),_.literal("lowercase"),_.literal("none"),_.literal("normal")]),Pz=_.string().regex(/^(-?\d+(\.\d+)?(em|rem)|-?\d+(px)|normal|(\.\d+)(em|rem)|0)$/),Bz=_.union([Pz,_.literal(0)]),Au=_.string().regex(/^(?:\d+(\.\d+)?(em|rem)|\d+px|0|(\.\d+)(em|rem))$/),Az=_.number().min(0).max(999),X2=_.string().regex(/^(?:\d+(\.\d+)?(em|rem)|\d+px|none|0|(\.\d+)(em|rem))?$/),Sa=_.string().regex(/^(-?\d+(\.\d+)?(em|rem)|-?\d+(px)|(\.\d+)(em|rem)|0)$/),Dz=_.string().regex(/^(?:0|[1-9]\d*(?:\.\d+)?(ms|s)|0?\.\d+(ms|s))$|^initial$/),zz=_.union([_.literal("outlined"),_.literal("left"),_.literal("center")]),Lz=_.union([_.literal("path"),_.literal("origin"),_.literal("color"),_.literal("gradient"),_.literal("image"),_.literal("video")]),$z=_.string().regex(/^(|pcol_.*)$/),Oz=_.union([_.literal("right"),_.literal("left"),_.literal("center")]),V8=_.union([_.literal("global"),_.literal("element")]),U8=_.union([_.literal("right"),_.literal("left"),_.literal("center")]),Ny=_.string().regex(/^new Set(t).size===t.length,Lf=(t,e,o,n,s,a)=>{if(!o){e&&s.addIssue({code:_.ZodIssueCode.custom,message:`href is required when linkedPageId is set - linkedPageId ${e}`});return}const l=t===le.PAGE,i=t===le.ANCHORED_SECTION,c=t===le.EMAIL,u=t===le.PHONE,p=t===le.EXTERNAL,g=t===le.DOWNLOAD;l&&e&&(n.includes(e)||s.addIssue({code:_.ZodIssueCode.custom,message:`linkedPageId is not found in pages - linkedPageId ${e}`})),i&&(a.includes(e)||s.addIssue({code:_.ZodIssueCode.custom,message:`${e} - linkedPageId is not found in sections - linkedPageId ${e}`}),o.includes(e)||s.addIssue({code:_.ZodIssueCode.custom,message:`${e} - section linkedPageId is not found in href - linkedPageId ${e}`}),o.startsWith(ci.BASE)||s.addIssue({code:_.ZodIssueCode.custom,message:`${o} - section href not starting with ${ci.BASE} - href ${o}`})),c&&!o.startsWith(ci.EMAIL)&&s.addIssue({code:_.ZodIssueCode.custom,message:`${o} - email href not starting with ${ci.EMAIL} - href ${o}`}),u&&!o.startsWith(ci.TEL)&&s.addIssue({code:_.ZodIssueCode.custom,message:`${o} - phone href not starting with ${ci.TEL} - href ${o}`}),p&&!o.startsWith(ci.HTTP)&&!o.startsWith(ci.HTTPS)&&s.addIssue({code:_.ZodIssueCode.custom,message:`${o} - external href not starting with ${ci.HTTP} or ${ci.HTTPS} - href ${o}`}),g&&!o.startsWith(ci.HTTPS)&&s.addIssue({code:_.ZodIssueCode.custom,message:`${o} - download href not starting with ${ci.HTTPS} - href ${o}`})},AL=t=>Ag.map(o=>o.country).includes(t),DL=t=>Tl.some(e=>e.value===t),zL=({ctx:t,locale:e,country:o,flagPath:n,name:s})=>{const a=Ag.filter(l=>e===l.locale);o!==null&&!a.some(l=>l.country===o)&&t.addIssue({code:_.ZodIssueCode.custom,message:"language country is not valid for locale"}),n||t.addIssue({code:_.ZodIssueCode.custom,message:"flagPath is required when locale is set"}),a.some(l=>l.flagPath===n)||t.addIssue({code:_.ZodIssueCode.custom,message:"language flag path is not valid for locale"}),s||t.addIssue({code:_.ZodIssueCode.custom,message:"name is required when locale is set"})},LL=(t,e,o,n)=>{if(t.linkType===lo.PAGE){const s=t;o.includes(s.linkedPageId)||n.addIssue({code:_.ZodIssueCode.custom,message:`linkedPageId is not found in pages - linkedPageId ${s.linkedPageId}`})}if(t.linkType===lo.LINK){const s=t;Lf(s.innerLinkType,s.innerLinkPageId,s.href,o,n,e)}},$L=(t,e,o,n)=>{const s=t.flatMap(l=>{var i;return l.linkType===lo.FOLDER&&((i=l.subItems)!=null&&i.length)?[l,...l.subItems]:l}).map(l=>(LL(l,e,o,n),l.navItemId));new Set(s).size===s.length||n.addIssue({code:_.ZodIssueCode.custom,message:"navItemIds are not unique"})},s6=t=>(e,o)=>{e.forEach(n=>{n&&!Number.isInteger(n)&&t.addIssue({code:_.ZodIssueCode.custom,message:`${n} should be an integer in ${o}`})})},OL=(t,e,o,n)=>{const s=Object.keys(t),a=Object.values(t);s.includes(o)||n.addIssue({code:_.ZodIssueCode.custom,message:"homePageId is not found in pages"}),a.forEach(i=>{var u;const c=((u=i.blocks)==null?void 0:u.filter(p=>!e.includes(p)))||[];if(c.length&&n.addIssue({code:_.ZodIssueCode.custom,message:`not existing blocks - ${c.toString()} found in pages`}),i.type!==ei.PAGE_TYPE_ECOMMERCE_DYNAMIC_PRODUCT){const p=i.meta,g=p==null?void 0:p.keywords,f=p==null?void 0:p.focusKeyword;(g!=null&&g.length||f)&&!(g!=null&&g.includes(f))&&n.addIssue({code:_.ZodIssueCode.custom,message:`focusKeyword - ${f} not found in keywords`})}})},RL=(t,e,o)=>{const n=Object.values(t),s=s6(o);n.forEach(a=>{var c,u,p,g;const{zindexes:l,components:i}=a;if(i!=null&&i.length){const f=i.filter(y=>!e.includes(y));f.length&&o.addIssue({code:_.ZodIssueCode.custom,message:`not existing elements - ${f.toString()} found in block`})}if((i!=null&&i.length||l!=null&&l.length)&&(!(l!=null&&l.every(y=>i==null?void 0:i.includes(y)))||(l==null?void 0:l.length)!==(i==null?void 0:i.length))&&o.addIssue({code:_.ZodIssueCode.custom,message:"zindexes should match components"}),a.type===qo.BLOCK_BLOG_HEADER&&s([(c=a.settings)==null?void 0:c.blogTitleFontSize],"blog header block"),a.type===qo.BLOCK_BLOG_LIST){const{settings:f}=a;s([f.styles.cols,f.styles.rows,f.postColumnCount,f.postsPerPage,f.blogTitleFontSize],"blog list block")}if(a.type===qo.BLOCK_ECOMMERCE_PRODUCT_LIST){const{productsPerPage:f,buttonBorderWidth:y,desktop:E,mobile:I}=a;s([f,y,E==null?void 0:E.rowGap,E==null?void 0:E.columnGap,E==null?void 0:E.columnCount,I==null?void 0:I.rowGap,I==null?void 0:I.columnGap,I==null?void 0:I.columnCount],"ecommerce list block")}if(a.type===qo.BLOCK_ECOMMERCE_PRODUCT){const{buttonBorderWidth:f}=a;s([f],"ecommerce product block")}if(a.type===qo.BLOCK_LAYOUT){const{mobile:f,desktop:y,settings:E,snapRowHeight:I,snapRowGap:T}=a;s([f==null?void 0:f.minHeight,y==null?void 0:y.minHeight,T,I,Number((u=E==null?void 0:E.styles)==null?void 0:u.cols),Number((p=E==null?void 0:E.styles)==null?void 0:p.rows),Number((g=E==null?void 0:E.styles)==null?void 0:g["m-rows"])],"layout block")}if(a.type===qo.BLOCK_IMAGES_SLIDESHOW){const{mobile:f,desktop:y,autoplayInterval:E,slides:I}=a;s([f==null?void 0:f.minHeight,y==null?void 0:y.minHeight,E,...(I==null?void 0:I.map(({fullResolutionWidth:T})=>T).filter(Boolean))||[],...(I==null?void 0:I.map(({fullResolutionHeight:T})=>T).filter(Boolean))||[]],"image slideshow block")}if(a.type===qo.BLOCK_STICKY_BAR){const{mobile:f,desktop:y}=a;s([f==null?void 0:f.minHeight,y==null?void 0:y.minHeight],"sticky bar block")}})},o_=(t,e,o,n)=>{const s=e?Object.keys(e):[];t.every(l=>s.includes(l))||n.addIssue({code:_.ZodIssueCode.custom,message:`blog categories are missing in ${o}`})},Bo=(t,{isButton:e,isGallery:o,isForm:n}={})=>[t.top,t.left,t.width,t.height,...e&&"fontSize"in t?[t.fontSize]:[],...o&&"columnGap"in t?[t.columnGap]:[],...o&&"columnCount"in t?[t.columnCount]:[],...n&&"inputTextSize"in t?[t.inputTextSize]:[],...n&&"labelTextSize"in t?[t.labelTextSize]:[],...n&&"submitButtonFontSize"in t?[t.submitButtonFontSize]:[],...n&&"formElementsVerticalSpacing"in t?[t.formElementsVerticalSpacing]:[]],n_=(t,e)=>{e(Bo(t.mobile,{isButton:!0}),"button element mobile"),e(Bo(t.desktop,{isButton:!0}),"button element desktop"),e([t==null?void 0:t.borderWidth,t==null?void 0:t.borderRadius,t==null?void 0:t.borderWidthHover],"button element border")},ML=(t,e,o,n)=>{const s=Object.values(t),a=s6(n);s.forEach(l=>{var i,c,u,p,g;l.type===io.ELEMENT_TYPE_BUTTON&&(n_(l,a),Lf(l.linkType,l.linkedPageId,l.href,o,n,e)),l.type===io.ELEMENT_TYPE_ECOMMERCE_BUTTON&&n_(l,a),l.type===io.ELEMENT_TYPE_MAP&&(a(Bo(l.mobile),"map element mobile"),a(Bo(l.desktop),"map element desktop")),l.type===io.ELEMENT_TYPE_VIDEO&&(a(Bo(l.mobile),"video element mobile"),a(Bo(l.desktop),"video element desktop")),l.type===io.ELEMENT_TYPE_TEXT_BOX&&(a(Bo(l.mobile),"text element mobile"),a(Bo(l.desktop),"text element desktop")),l.type===io.ELEMENT_TYPE_SHAPE&&(a(Bo(l.mobile),"shape element mobile"),a(Bo(l.desktop),"shape element desktop")),l.type===io.ELEMENT_TYPE_IMAGE&&(a(Bo(l.mobile),"image element mobile"),a(Bo(l.desktop),"image element desktop"),a([l==null?void 0:l.overlayOpacity,l==null?void 0:l.fullResolutionWidth,l==null?void 0:l.fullResolutionHeight],"image element"),l.linkType&&Lf(l.linkType,l.linkedPageId,l.href,o,n,e)),l.type===io.ELEMENT_TYPE_SOCIAL_ICONS&&(a(Bo(l.mobile),"social icons element mobile"),a(Bo(l.desktop),"social icons element desktop")),l.type===io.ELEMENT_TYPE_INSTAGRAM_FEED&&(a(Bo(l.mobile),"instagram feed element mobile"),a(Bo(l.desktop),"instagram feed element desktop"),a([(c=(i=l==null?void 0:l.settings)==null?void 0:i.styles)==null?void 0:c["items-per-row"],(p=(u=l==null?void 0:l.settings)==null?void 0:u.styles)==null?void 0:p["m-items-per-row"],(g=l==null?void 0:l.settings)==null?void 0:g["item-count"]],"instagram feed element")),l.type===io.ELEMENT_TYPE_GALLERY&&(a(Bo(l.mobile,{isGallery:!0}),"gallery element mobile"),a(Bo(l.desktop,{isGallery:!0}),"gallery element desktop")),l.type===io.ELEMENT_TYPE_EMBED&&(a(Bo(l.mobile),"embed element mobile"),a(Bo(l.desktop),"embed element desktop")),l.type===io.ELEMENT_TYPE_SEARCH_BAR&&(a(Bo(l.mobile),"search bar element mobile"),a(Bo(l.desktop),"search bar element desktop"),a([l.borderRadius],"search bar element")),l.type===io.ELEMENT_TYPE_FORM&&(a(Bo(l.mobile,{isForm:!0}),"form element mobile"),a(Bo(l.desktop,{isForm:!0}),"form element desktop"),a([l.inputBorderWidth,l.submitButtonBorderWidth,l.submitButtonBorderRadius,l.submitButtonBorderWidthHover,l.formPadding,l.formBorderWidth,l.inputBorderRadius,l.formBorderRadius],"form element"))})},NL=Gy.superRefine((t,e)=>{if(t===void 0)return;zf(t)||e.addIssue({code:_.ZodIssueCode.custom,message:"Not all googleAdsIds are unique"})}),a6=Jy.extend({googleAdsIds:NL}),l6=tv.superRefine((t,e)=>{zf(Object.keys(t))||e.addIssue({code:_.ZodIssueCode.custom,message:"Not all form names are unique"});const n=Object.values(t).map(({token:a})=>a).filter(a=>a!==void 0);zf(n)||e.addIssue({code:_.ZodIssueCode.custom,message:"Not all form tokens are unique"})}),r6=Xy.superRefine((t,e)=>{const{name:o,country:n,flagPath:s,homePageId:a,locale:l,pages:i,blocks:c,elements:u,cookieBannerAcceptText:p,cookieBannerDeclineText:g,cookieBannerDisclaimer:f,metaHtmlLanguage:y,nav:E}=t,I=Object.keys(i),T=Object.keys(c),x=Object.keys(u),P=Object.values(c).filter(({type:z})=>z===qo.BLOCK_LAYOUT).map(z=>z.htmlId).filter(z=>!!z||z==="");$L(E,P,I,e),OL(i,T,a,e),RL(c,x,e),ML(u,P,I,e),DL(y)||e.addIssue({code:_.ZodIssueCode.custom,message:"metaHtmlLanguage is not supported"}),n!=null&&(AL(n)||e.addIssue({code:_.ZodIssueCode.custom,message:"language country is not supported"})),l&&zL({ctx:e,locale:l,country:n,flagPath:s,name:o}),(p||g||f)&&(!p||!g||!f&&f!=="")&&e.addIssue({code:_.ZodIssueCode.custom,message:"cookie banner texts are missing"})}),HL=_.record(cm,r6).superRefine((t,e)=>{Object.keys(t).length<1&&e.addIssue({code:_.ZodIssueCode.custom,message:"no languages provided"})}),GL=i6.extend({meta:a6,forms:l6,languages:HL}).superRefine((t,e)=>{const{blogCategories:o,languages:n}=t;Object.values(n).forEach(s=>{const a=Object.values(s.pages).filter(({type:i})=>i===ei.PAGE_TYPE_BLOG);Object.values(s.blocks).filter(({type:i})=>i===qo.BLOCK_BLOG_LIST).forEach(({settings:i})=>{o_(i.categories,o,"blog list block",e)}),a.forEach(({categories:i})=>{o_(i,o,"blog page",e)})})}),Ei={...BL,siteMetaSchema:a6,siteFormsSchema:l6,siteLanguageSchema:r6,siteDataSchema:GL},d6={validateSiteData:t=>{Ei.siteDataSchema.parse(t)},validateSiteFonts:t=>{t.forEach(e=>{Ei.siteFontSchema.parse(e)})},validateSiteForms:t=>{Ei.siteFormsSchema.parse(t)},validateSiteMeta:t=>{Ei.siteMetaSchema.parse(t)},validateSiteStyles:t=>{Ei.siteStylesSchema.parse(t)},validateSiteBuilderCompletedSteps:t=>{Ei.siteBuilderCompletedStepsSchema.parse(t)},validateSiteLanguages:t=>{_.record(Ei.siteLanguageSchema).parse(t)},validateSiteLanguage:t=>{Ei.siteLanguageSchema.parse(t)},validateSitePage:t=>{Ei.sitePageSchema.parse(t)},validateSiteBlock:t=>{Ei.siteBlockSchema.parse(t)},validateSiteElement:t=>{Ei.siteElementSchema.parse(t)},validateSiteElements:t=>{_.record(Ei.siteElementSchema).parse(t)},validateEcommerceSeoChanges:t=>{Ei.siteEcommerceSeoChangesSchema.parse(t)}},$f=(t,e,o)=>o.indexOf(t)===e,c6=({type:t,tagName:e,properties:o={},children:n=[]})=>{if(t!=="element")return console.error("Failed to injected HTML element - missing node type");const s=document.createElement(e);if(Object.entries(o).forEach(([a,l])=>{s.setAttribute(a,l)}),n.length){const a=n.find(l=>l.type==="text").value;a&&(s.innerHTML=a)}return s},u6=t=>{const e=`[${ds}="${t}"]`;return document.querySelector(e)},Dl=t=>{const e=c6(t),o=u6(e.getAttribute(ds));return e.outerHTML===(o==null?void 0:o.outerHTML)?o:(o==null||o.remove(),document.head.append(e),e)},FL=t=>{const e=c6(t),o=u6(e.getAttribute(ds));return e.outerHTML===(o==null?void 0:o.outerHTML)?o:(o==null||o.remove(),document.body.append(e),e)},VL=[ii,Tg,ps],UL={normal:400,bold:700},jL=["100","100italic","200italic","200","300italic","300","regular","italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],WL="custom",Of="google",_c=t=>UL[t]||Number(t),fi=t=>t.split(",")[0].replace(/["']+/g,""),qL=(t,e)=>t?`'${t}', ${e}`:null,YL=t=>`var(--${Rc}-${t})`,Rf=t=>t.trim().replace(/ /g,"+"),ev=t=>{const e=new RegExp(`var\\(--${Rc}-|\\)`,"g");return t.replace(e,"")},Ih=t=>{const e={regular:400,italic:"400italic"};return t.filter(o=>jL.includes(o)).map(o=>{const n=Number(o)||o;return e[o]||n})},p6=t=>{let e={primary:[400],secondary:[400]};return H4.forEach(o=>{const n=ev(t[o][Bg]),s=_c(t[o][xr]);e={...e,[n]:[...e[n],s]}}),{[Ln]:e[Ln].filter($f).sort(),[Pi]:e[Pi].filter($f).sort()}},ov=t=>({[Ln]:fi(t[Ln]),[Pi]:fi(t[Pi])}),KL=(t,e)=>Object.keys(t).map(o=>({name:Rf(t[o]),weights:e[o].join(";")})).filter(({weights:o})=>!!o).map(o=>`family=${o.name}:wght@${o.weights}`).join("&"),jr=({googleFonts:t,customFonts:e,fontFamily:o,fontWeight:n})=>{if(!t.length||!o)return null;const s=n.toString(),a=e.find(c=>c.family.trim()===o.trim());if(a)return a.weights=[s],a;const l=s==="400"?"regular":s;return t.some(c=>c.family===o&&c.variants.includes(l))?{family:o,type:Of,weights:[s]}:null},ZL=({html:t,customFonts:e,googleFonts:o})=>(t.match(/style\s*=\s*"([^"]*)"/gm)||[]).reduce((a,l)=>{var p,g;const i=(p=l.match(/font-family:.(.*?)[",;]/m))==null?void 0:p[1],c=((g=l.match(/font-weight:.(.*?)[";]/m))==null?void 0:g[1])||"400";if(!i)return a;const u=jr({googleFonts:o,customFonts:e,fontFamily:i.replaceAll("\\",""),fontWeight:c});return[...a,u]},[]).filter(a=>a),QL=({languages:t,googleFonts:e,customFonts:o})=>Jg({languages:t}).filter(({type:s,fontFamily:a})=>VL.includes(s)&&a).map(({fontFamily:s,fontWeight:a})=>jr({googleFonts:e,customFonts:o,fontFamily:s,fontWeight:a})),XL=({languages:t,googleFonts:e,customFonts:o})=>Jg({languages:t}).filter(({type:s,submitButtonFontFamily:a,formFontFamily:l})=>s===na&&(a||l)).flatMap(({submitButtonFontFamily:s,submitButtonFontWeight:a,formFontFamily:l,formFontWeight:i})=>[...s?[jr({googleFonts:e,customFonts:o,fontFamily:s,fontWeight:a})]:[],...l?[jr({googleFonts:e,customFonts:o,fontFamily:l,fontWeight:i})]:[]]),JL=({languages:t,googleFonts:e,customFonts:o})=>Jg({languages:t}).filter(({type:s})=>s===Rl).map(({fontFamily:s})=>jr({googleFonts:e,customFonts:o,fontFamily:s,fontWeight:400})),t$=({languages:t,googleFonts:e,customFonts:o})=>Object.entries(t).map(([,n])=>{const{fontFamily:s,fontWeight:a}=n.blocks.header;return jr({googleFonts:e,customFonts:o,fontFamily:s,fontWeight:a})}),g6=({siteData:t,html:e,customFonts:o,googleFonts:n})=>{const{styles:s}=t,a=ov(s.font),l=p6(s),i=[{family:a.primary,weights:l.primary,type:Of},{family:a.secondary,weights:l.secondary,type:Of}],c=ZL({html:e,customFonts:o,googleFonts:n}),u=QL({languages:t.languages,googleFonts:n,customFonts:o}),p=XL({languages:t.languages,googleFonts:n,customFonts:o}),g=JL({languages:t.languages,googleFonts:n,customFonts:o}),f=t$({languages:t.languages,googleFonts:n,customFonts:o});return[...i,...c,...u,...p,...g,...f].filter(I=>I).reduce((I,T)=>{const x=I.findIndex(({family:P})=>P.trim()===T.family.trim());return x!==-1?(I[x].weights=[...new Set([...I[x].weights,...T.weights])],I):[...I,T]},[])},e$=({customFonts:t,siteId:e})=>` ${t.map(({family:o,fileType:n})=>` @font-face { font-family: ${decodeURI(o).trim()}; src: url('https://assets.zyrosite.com/${e}/${o}.${n}') format('${n}'); font-display: swap; } `).join("")}`,o$=({customFonts:t,siteId:e})=>{const o=e$({customFonts:t,siteId:e}),n={type:"element",tagName:"style",properties:{[ds]:"custom-fonts"},children:[{type:"text",value:o}]};Dl(n)},Vd={REFERRAL_NUDGE:"referral-nudge-in-builder"},Yi={ECOMMERCE_DYNAMIC_PRODUCT_PAGES_SEO:"ecommerce-dynamic-product-pages",MARKETING_TOOLS_SURVEY:"marketing-tools-survey",ECOMMERCE_MULTIPLE_TEMPLATES:"website-builder-ecommerce-multiple-templates",MISSING_TRANSLATIONS:"website-builder-missing-translations",SCHEMA_VALIDATION_LOGGING:"website-builder-site-data-json-schema-validation-logging",GOOGLE_ADS_APP:"google-ads-app"},i_={[Yi.ECOMMERCE_DYNAMIC_PRODUCT_PAGES_SEO]:{VAR_CONTROL:"0",VAR_1:"1"},[Yi.MARKETING_TOOLS_SURVEY]:{VAR_CONTROL:"0",VAR_1:"1"},[Vd.REFERRAL_NUDGE]:{VAR_CONTROL:"0",VAR_1:"1",VAR_2:"2"}},tc={amplitudeExperimentInstance:null,isGoRobotsUser:!1},n$=async({userId:t,isGoRobotsUser:e})=>{Io(bP)||(tc.amplitudeExperimentInstance=pT.initialize("client-cW5zRM9wiB0Wa9KqimmHzMcWGBXkKSK6"),tc.isGoRobotsUser=e,await tc.amplitudeExperimentInstance.fetch({user_id:t,device_id:Io(V4)}))},i$=t=>{var n;if(tc.isGoRobotsUser)return null;const e=(n=tc.amplitudeExperimentInstance)==null?void 0:n.variant(t),o=e==null?void 0:e.value;return o||(e==null?void 0:e.key)},Ki=(t,e,o=i$)=>{const n=o(t);return((typeof e=="string"?[e]:e)??["on","1"]).includes(n||"")},s_=["latin"],a_="'Roboto',sans-serif",s$=(t,e,o,n)=>{var s;if(!(!e.value||o.value)){if(t instanceof mT){const a=((s=t==null?void 0:t.errors[0])==null?void 0:s.code)||"generic";console.log(t),Wt(new Error(`data.json schema validation - ${String(n)} - ${a} error`,{cause:t}),{tags:{errorType:"data.json schema validation error"}}),o.value=!0;return}throw t}},a$=(t,e)=>new Proxy(d6,{get(o,n,s){const a=Reflect.get(o,n,s);return typeof a=="function"?(...l)=>{try{a.call(s,...l)}catch(i){s$(i,t,e,n)}}:a}}),Bt=Mo(Xo.SITE,()=>{var bd;const{dispatch:t}=et(),e=Eo(),o=d(()=>Ki(Yi.SCHEMA_VALIDATION_LOGGING)),n=ie=>{console.log(ie),t("notifications/notify",{message:"Unexpected error occurred. Try reloading the page."})},s=C({}),a=C(null),l=C(!1),i=C(""),c=C(""),u=C(""),p=C(""),g=a$(o,l),{currentLocale:f,siteLanguages:y,siteLanguagesList:E,hasLanguages:I,currentSiteLanguage:T,siteBlocks:x,siteElements:P,sitePages:z,siteNav:L,blogReadingTimeText:$,homePageId:A,hResourceId:D,ecommerceProductPages:O,ecommerceDynamicProductPageTemplates:M,ecommerceDefaultProductPageTemplateId:H,ecommerceLegacyProductPages:F,defaultLocale:j,ecommerceShoppingCart:q,siteForms:W,siteStyles:Z,siteTemplate:G,hasBlankTemplate:X,hasGeneratedTemplate:ot,hasImportedTemplate:st,templateType:J,siteHomePageTitle:Q,siteFonts:lt,currentPage:pt,currentBlock:dt,currentBlockType:bt,currentBlockSettings:ht,currentBlockStyles:yt,currentBlockSlot:nt,currentElement:tt,currentElementContent:mt,currentElementSettings:it,currentElementStyles:vt,currentElementType:Et,currentElementBlockId:At,currentElementBlock:kt,currentElementBlockType:Lt,getElementBLockId:jt,headerBlock:$t,footerBlock:Ct,doesFooterExist:Ot,doesPageIdAlreadyExist:Zt,isCurrentPageTypeBlog:Ut,isCurrentPageEmpty:ye,blogCategories:Jt,isLanguageSwitcherHidden:ft,defaultPages:Rt,blogPages:Xt,draftBlogPages:ve,scheduledBlogPages:we,publishedBlogPages:Re,builderCompletedSteps:Tt,siteMeta:Dt,isPrivateModeActive:Nt,isCurrentPagePrivate:Gt,isCurrentPageTypeEcommerceProduct:ne,ecommerceSeoChanges:ge,isLegacyProductPagesAdded:St}=wz({site:s,currentPageId:c,currentBlockId:u,currentElementId:p}),Ft=d(()=>Dt.value.isCustomCodeDisabled||!1),$e=ie=>{s.value.meta.isCustomCodeDisabled=ie},zt=ie=>{i.value=ie},Yt=ie=>{c.value=ie},We=ie=>{u.value=ie},He=ie=>{p.value=ie},mo=({locale:ie=te,id:Ee})=>{s.value.languages[ie].homePageId=Ee},Jo=({locale:ie=f.value,value:Ee})=>{s.value.languages[ie].metaHtmlLanguage=Ee},ms=ie=>{a.value=ie},ka=ie=>{try{g.validateSiteData(ie),s.value=ie}catch(Ee){n(Ee)}},Ns=ie=>{try{g.validateSiteLanguages(ie),s.value.languages=ie}catch(Ee){n(Ee)}},Wl=({locale:ie=te,data:Ee})=>{try{g.validateSiteLanguage(Ee),s.value.languages[ie]=Ee}catch(Ge){n(Ge)}},De=({locale:ie=te,pageId:Ee,data:Ge})=>{try{g.validateSitePage(Ge),s.value.languages[ie].pages={...s.value.languages[ie].pages,[Ee]:Ge}}catch(yo){n(yo)}},Je=({locale:ie=te,blockId:Ee,data:Ge})=>{try{g.validateSiteBlock(Ge),s.value.languages[ie].blocks[Ee]=Ge}catch(yo){n(yo)}},Xi=({locale:ie=te,elementId:Ee,data:Ge})=>{try{g.validateSiteElement(Ge),s.value.languages[ie].elements={...s.value.languages[ie].elements,[Ee]:Ge}}catch(yo){n(yo)}},Me=({locale:ie=te,data:Ee})=>{try{g.validateSiteElements(Ee);const Ge=Gt.value?te:ie;s.value.languages[Ge].elements={...s.value.languages[Ge].elements,...Ee}}catch(Ge){n(Ge)}},gn=({key:ie,value:Ee})=>{try{const Ge={...s.value.meta,[ie]:Ee};g.validateSiteMeta(Ge),s.value.meta=Ge}catch(Ge){n(Ge)}},hd=ie=>{try{g.validateSiteFonts(ie),s.value.fonts=ie}catch(Ee){n(Ee)}},il=({element:ie,value:Ee})=>{try{const Ge={...s.value.styles,[ie]:{...s.value.styles[ie],...Ee}};g.validateSiteStyles(Ge),s.value.styles=Ge}catch(Ge){n(Ge)}},ki=({element:ie,property:Ee,value:Ge})=>{try{const yo={...s.value.styles,[ie]:{...s.value.styles[ie],[Ee]:Ge}};g.validateSiteStyles(yo),s.value.styles=yo}catch(yo){n(yo)}},Vm=ie=>{try{g.validateSiteBuilderCompletedSteps(ie),s.value.builderCompletedSteps=ie}catch(Ee){n(Ee)}},Um=({pageId:ie,nonExistingBlocks:Ee})=>{const Ge=s.value.languages[f.value].pages[ie];Ge.blocks=[...(Ge.blocks||[]).filter(yo=>!Ee.includes(yo))]},Hs=({slug:ie,pageId:Ee})=>!Object.entries(z.value).filter(([yo])=>!(yo===Ee||yo===A.value)).filter(([,{type:yo}])=>![ei.PAGE_TYPE_ECOMMERCE_DYNAMIC_PRODUCT,ei.PAGE_TYPE_PRIVATE,ei.PAGE_TYPE_ECOMMERCE_PRODUCT].includes(yo)).map(([,yo])=>yo.slug).includes(ie),yu=ie=>{try{g.validateEcommerceSeoChanges(ie);const Ge=(s.value.ecommerceSeoChanges||[]).filter(yo=>!ie.some(hs=>yo.id===hs.id));s.value.ecommerceSeoChanges=[...Ge,...ie]}catch(Ee){n(Ee)}},vu=()=>{s.value.ecommerceSeoChanges=[]};Mt(()=>{var ie;return(ie=s.value.styles)==null?void 0:ie.font},async(ie,Ee)=>{const Ge=Ee==null?void 0:Ee[Ln],yo=Ee==null?void 0:Ee[Pi],hs=ie==null?void 0:ie[Ln],al=ie==null?void 0:ie[Pi],fd=hs!==Ge,_u=al!==yo;if((_u||fd)&&(hs||al)){const Ji=s_.includes(fi(hs)),Ea=s_.includes(fi(al));if(Ji||Ea){Ae({category:"MALFORMED_FONT_SET",message:"Malformed primary or secondary font has been used",data:{isPrimaryFontMalformed:Ji,isSecondaryFontMalformed:Ea,didSecondaryFontChange:_u,didPrimaryFontChange:fd,initialPrimaryFont:Ge,newPrimaryFont:hs,initialSecondaryFont:yo,newSecondaryFont:al},level:"debug",type:"debug"}),Wt(new Error("Malformed font has been set"));const ql={primary:Ji?a_:hs,secondary:Ea?a_:al};ql.primary&&ql.secondary&&(il({element:Rc,value:ql}),e.canSave&&await e.saveWebsite({saveWhenImpersonating:!0}))}}},{immediate:!0});const sl=!!((bd=gT())!=null&&bd._testing);return{websiteId:i,site:sl?s:d(()=>a.value||s.value),siteBackup:a,siteMeta:Dt,isPrivateModeActive:Nt,currentBlockId:u,currentElementId:p,currentPageId:c,currentLocale:f,siteLanguages:y,siteLanguagesList:E,hasLanguages:I,currentSiteLanguage:T,siteBlocks:x,siteElements:P,sitePages:z,siteNav:L,blogReadingTimeText:$,homePageId:A,hResourceId:D,ecommerceProductPages:O,ecommerceDefaultProductPageTemplateId:H,ecommerceDynamicProductPageTemplates:M,ecommerceLegacyProductPages:F,defaultLocale:j,ecommerceShoppingCart:q,siteForms:W,siteStyles:Z,siteTemplate:G,hasGeneratedTemplate:ot,hasImportedTemplate:st,hasBlankTemplate:X,templateType:J,siteHomePageTitle:Q,siteFonts:lt,currentPage:pt,currentBlock:dt,currentBlockType:bt,currentBlockSettings:ht,currentBlockStyles:yt,currentBlockSlot:nt,currentElement:tt,currentElementContent:mt,currentElementSettings:it,currentElementStyles:vt,currentElementType:Et,currentElementBlockId:At,currentElementBlock:kt,currentElementBlockType:Lt,getElementBLockId:jt,headerBlock:$t,footerBlock:Ct,doesFooterExist:Ot,doesPageIdAlreadyExist:Zt,isCurrentPageTypeBlog:Ut,isCurrentPageTypeEcommerceProduct:ne,isCurrentPageEmpty:ye,getIsPageSlugUnique:Hs,blogCategories:Jt,isLanguageSwitcherHidden:ft,defaultPages:Rt,blogPages:Xt,draftBlogPages:ve,scheduledBlogPages:we,publishedBlogPages:Re,builderCompletedSteps:Tt,ecommerceSeoChanges:ge,setSiteId:zt,setSiteCurrentElementId:He,setSiteCurrentPageId:Yt,setSiteCurrentBlockId:We,setSiteData:ka,setSitePageData:De,setSiteBlockData:Je,setSiteElementData:Xi,setSiteElementsData:Me,setSiteLanguagesData:Ns,setSiteHomePageId:mo,setMetaHtmlLanguage:Jo,setSiteBuilderCompletedStepsData:Vm,setSiteMetaData:gn,setSiteFontsData:hd,setSiteStyleProperties:il,setSiteStyleProperty:ki,removeNonExistingBlocksFromSite:Um,setSiteLanguageData:Wl,isCustomCodeDisabled:Ft,setSiteCustomCodeDisabled:$e,setEcommerceSeoChanges:yu,resetEcommerceSeoChanges:vu,isLegacyProductPagesAdded:St,setSiteBackupData:ms}}),l$=()=>{const{state:t}=et();return{isMobileScreen:d(()=>t.gui.isMobileScreen)}},m6=Mo(Xo.GUI,()=>{const{isMobileScreen:t}=l$();return{isMobileScreen:t}}),nv=({languages:t,defaultLocale:e})=>Object.keys(t).filter(o=>o!==te).map(o=>{const{isHidden:n,flagPath:s,country:a,name:l,orderPosition:i}=t[o];return{isHidden:n,flagPath:s,country:a,name:l,href:e===o?"/":`/${o}`,locale:o,orderPosition:i}})??[],r$=t=>Object.keys(t).length===0,d$=(t,e,o=!0,n=!1)=>Object.fromEntries(Object.entries(t).map(([s,a])=>{if(!a.isScheduled)return[s,a];const{date:l}=a,u=new Date(l).setHours(0,0,0,0)<=e||o;return[s,{...a,...u?{isDraft:!1}:{isDraft:!0}}]}).filter(s=>!s[1].isDraft||s[1].isDraft&&n).filter(s=>!r$(s[1]))),nd=({path:t,languageKeys:e=[],defaultLocale:o="system"})=>{const[n,s]=t.split("/").filter(a=>a!=="");return e.includes(n)?{locale:n,slug:s}:{locale:o??te,slug:n}},c$=({siteData:t,path:e})=>{if(!t)return null;const{meta:o,languages:n}=t,{locale:s}=nd({path:e,languageKeys:Object.keys(n),defaultLocale:o.defaultLocale}),{homePageId:a}=n[s];return a},u$=({siteData:t,path:e})=>{if(!t)return!1;const{meta:o,languages:n}=t,{locale:s,slug:a}=nd({path:e,languageKeys:Object.keys(n),defaultLocale:o.defaultLocale}),{pages:l,homePageId:i}=n[s];return!a||l[i].slug===a},h6=({siteData:t,path:e,products:o=[],isDynamicProductPageEnabled:n=!1})=>{var p,g;if(!t)return null;const{meta:s,languages:a}=t,{locale:l,slug:i}=nd({path:e,languageKeys:Object.keys(a),defaultLocale:s.defaultLocale}),{pages:c,homePageId:u}=a[l];if(i){const f=o.find(I=>{var T;return((T=I.seo_settings)==null?void 0:T.slug)===i}),y=f==null?void 0:f.id;if(y&&n){const I=(p=f==null?void 0:f.seo_settings)==null?void 0:p.templateId;return I&&c[I]?I:(g=Object.entries(c).find(([x,{type:P,isDefault:z}])=>P===Uo&&z))==null?void 0:g[0]}return Object.keys(c).find(I=>y?c[I].productId===y:c[I].slug===i)||u}return u},p$=[ja,Qr],g$=({siteBlocks:t,pageBlocksIds:e})=>Object.fromEntries(Object.entries(t).filter(([o,{type:n,slot:s}])=>{const a=e.includes(o),l=p$.includes(n);return a||l||s===ea})),m$=({siteBlocks:t,pageBlocksIds:e})=>Object.entries(t).find(([n,s])=>e.includes(n)&&s.type===Zr)?Object.fromEntries(Object.entries(t).filter(([,{type:n}])=>n===ha)):{},h$=({siteElements:t,blocks:e,isCustomCodeDisabled:o})=>{const n=Object.values(e).map(({components:a})=>a).flatMap(a=>a),s=a=>o&&a.type==="GridEmbed"?{...a,content:""}:a;return Object.fromEntries(Object.entries(t).map(([a,l])=>[a,s(l)]).filter(([a])=>n.includes(a)))},l_=({page:t,isPreviewMode:e})=>{var o;return t?!((o=t==null?void 0:t.meta)!=null&&o.password)||e?t:{...t,meta:{...t.meta,password:!0},blocks:[]}:null},b6=({siteData:t,locale:e,pageId:o,isAstro:n,isPreviewMode:s,isCustomCodeDisabled:a,buildDate:l})=>{var $;const{defaultLocale:i=te}=t.meta,c=Object.fromEntries(Object.entries(t.languages[i].pages).filter(([,{type:A}])=>A===vn)),u=Object.entries(c).map(([A])=>A),p=t.languages[e],{blocks:g,elements:f}=t.languages[i],y=l_({page:p.pages[o],isPreviewMode:s});if(!y)return null;const I=Object.values(p.blocks).filter(A=>(A==null?void 0:A.type)===qo.BLOCK_LAYOUT).some(A=>A.slot===ea)?Object.entries(g).filter(([A,D])=>D.type!=="footer"):g,T=g$({siteBlocks:{...I,...p.blocks},pageBlocksIds:[...(y==null?void 0:y.blocks)||[],...u]}),x=m$({siteBlocks:{...I,...p.blocks},pageBlocksIds:[...(y==null?void 0:y.blocks)||[],...u]}),P=h$({siteElements:{...f,...p.elements},blocks:{...T,...x},isCustomCodeDisabled:a}),z=d$(p.pages,new Date().setHours(0,0,0,0),n,s);return{pages:{...Object.fromEntries(Object.entries(z).map(([A,D])=>[A,l_({page:D,isPreviewMode:s})])),...c},blocks:{...T,...x},elements:P,nav:p.nav,currentLocale:e,homePageId:p.homePageId,cookieBannerAcceptText:p.cookieBannerAcceptText,cookieBannerDisclaimer:p.cookieBannerDisclaimer,cookieBannerDeclineText:p.cookieBannerDeclineText,blogReadingTimeText:p.blogReadingTimeText,metaTitle:p.metaTitle,meta:t.meta,forms:t.forms,styles:t.styles,domain:t.domain??t.freeDomain,siteId:t.siteId,ecommerceShoppingCart:t.ecommerceShoppingCart,blogCategories:t.blogCategories,languageSwitcherLanguages:nv({languages:t.languages,defaultLocale:t.meta.defaultLocale}),currentPageId:o,productId:y.productId,languageKeys:Object.keys(t.languages),isDynamicProductPageEnabled:jc({defaultLocalePages:($=t==null?void 0:t.languages[i])==null?void 0:$.pages}),buildDate:l}},b$=({pageId:t,website:e,path:o,defaultLocale:n})=>{var l;const s=jc({defaultLocalePages:(l=e==null?void 0:e.languages[n])==null?void 0:l.pages});return c$({siteData:e,path:o})===t&&!u$({siteData:e,path:o})&&s},f$=({website:t,defaultLocale:e,productsSeo:o,path:n})=>{var u,p;const{languages:s}=t,{slug:a}=nd({path:n,languageKeys:Object.keys(s),defaultLocale:e}),l=o.find(g=>{var f;return((f=g.seo_settings)==null?void 0:f.slug)===a}),i=(u=l==null?void 0:l.seo_settings)==null?void 0:u.templateId,c=(p=Object.entries(s[e].pages).find(([g,{type:f,isDefault:y}])=>f===Uo&&y))==null?void 0:p[0];return c?b6({siteData:t,locale:e,pageId:i||c,isAstro:!1,isPreviewMode:!1,isCustomCodeDisabled:t.meta.isCustomCodeDisabled||!1}):null},y$=t=>t.startsWith("www."),um=t=>y$(t)?t.substring(4):t,v$=t=>{const e=um(t),[o,...n]=e.split(".");return{domainName:o,tld:n.join(".")}},f6=()=>{const t=window.location.hostname.split(".");return t.slice(Math.max(t.length-2,1)).join(".")},En="gui",_$="UPDATE_IS_MOBILE_SCREEN",y6="UPDATE_HEADER_HEIGHT",Le="OPEN_MODAL",ze="CLOSE_MODAL",r_="OPEN_SIDEBAR",dg="CLOSE_SIDEBAR",w$="TOGGLE_SIDEBAR",ui="OPEN_DRAWER",xs="CLOSE_DRAWER",Fa="TOGGLE_DRAWER",d_="OPEN_HEATMAP",hr="CLOSE_HEATMAP",v6="TOGGLE_HEATMAP",id="CHANGE_DRAWER_PAGE",_6="CHANGE_DRAWER_OPTIONS",w6="CHANGE_PREVIOUS_DRAWER_PAGE",c_="SET_IS_MOBILE_SCREEN",Sh="SET_ACTIVE_MODAL",xh="SET_SIDEBAR_OPEN",Th="SET_ACTIVE_DRAWER",Ch="SET_HEATMAP_OPEN",u_="SET_HEADER_HEIGHT",Du="SET_DRAWER_PAGE",Mf="SET_BLOCK_RESIZE_INFO",p_="SET_COLOR_PICKER_OPEN",{mapState:k6}=Wr(En),{mapActions:Rn}=Wr(En);Wr(En);const g_=({previewSiteData:t,defaultLocale:e,locale:o,previewPageId:n,path:s})=>(s?b$({pageId:n,website:t,path:s,defaultLocale:e}):!1)?f$({website:t,defaultLocale:e}):b6({siteData:t,locale:o,pageId:n,isAstro:!1,isPreviewMode:!0}),k$={namespaced:!0,state:{isMobileView:!1,isMobileScreen:window.innerWidtht.isMobileScreen||t.isMobileView,isColorPickerOpen:t=>t.isColorPickerOpen,isAddFirstProductNotificationVisible:t=>t.isAddFirstProductNotificationVisible,isBottomEcommerceNotificationVisible:(t,e)=>e.isAddFirstProductNotificationVisible},mutations:{toggleMobileView:t=>{t.isMobileView=!t.isMobileView},toggleDesktopView:t=>{t.isMobileView=!1},toggleSiteBeingPublished:t=>{t.isSiteBeingPublished=!t.isSiteBeingPublished},setIsSiteBeingUpdated:(t,e)=>{t.isSiteBeingUpdated=e},setBuilderPreviewContainerRef:(t,{builderPreviewContainerRef:e})=>{t.builderPreviewContainerRef=e},setIsAssetManagerVisible:(t,e)=>{t.isAssetManagerVisible=e},[u_]:(t,e)=>{t.headerHeight=e},[Sh]:(t,{name:e,settings:o})=>{sn("activeModal",e??"none"),t.activeModalName=e,t.activeModalSettings=o},[xh]:(t,e)=>{t.isSidebarOpen=e},[Ch]:(t,e)=>{t.isHeatmapOpen=e},[Th]:(t,{id:e,settings:o})=>{sn("activeDrawer",e??"none"),t.activeDrawer=e,t.activeDrawerSettings=o},[c_]:(t,e)=>{t.isMobileScreen=e},[Du]:(t,{drawerPage:e,drawerKey:o})=>{t.drawerPage[o]=e},[Mf]:(t,e)=>{t.blockResizeInfo=e},[p_]:(t,e)=>{t.isColorPickerOpen=e},setPreviewSiteData:(t,e)=>{t.previewSiteData=e},setPreviewPageData:(t,e)=>{t.previewPageData=e},setIsP2PBannerShown:(t,e)=>{t.isP2PBannerShown=e},setActiveDrawerSettings:(t,e)=>{t.activeDrawerSettings=e},setIsAddFirstProductNotificationVisible:(t,e)=>{t.isAddFirstProductNotificationVisible=e},setCurrentPreviewProductPageId:(t,e)=>{t.currentPreviewProductPageId=e}},actions:{setAssetManagerVisibility({commit:t},e){t("setIsAssetManagerVisible",e)},setBuilderPreviewContainerRef({commit:t},{builderPreviewContainerRef:e}){t("setBuilderPreviewContainerRef",{builderPreviewContainerRef:e})},setIsSiteBeingUpdated({commit:t},e){t("setIsSiteBeingUpdated",e)},toggleMobileView:async({dispatch:t,commit:e})=>{await t("leaveElementEditMode",{saveToHistory:!1},{root:!0}),e("toggleMobileView")},[y6]:({state:t,commit:e},o)=>{!t.headerHeight&&o&&e(u_,o)},[id]:({commit:t},{drawerKey:e,pageKey:o,options:n={}})=>{const s=uf[e][o],a={...s,options:{...s.options,...n}};t(Du,{drawerKey:e,drawerPage:a})},[_6]:({commit:t,state:e},{drawerKey:o,options:n={}})=>{const s=e.drawerPage[o],a={...s,options:{...s.options,...n}};t(Du,{drawerKey:o,drawerPage:a})},[w6]:({commit:t,state:e},o)=>{const n=e.drawerPage[o].previousPage??F0,s=ro(uf[o][n]);t(Du,{drawerPage:s,drawerKey:o})},[r_]:({commit:t})=>t(xh,!0),[Le]:({commit:t},{name:e,settings:o={}})=>{t(Sh,{name:e,settings:o})},[ze]:({commit:t})=>{t(Sh,{name:null,settings:{}})},[dg]:({commit:t,dispatch:e})=>{t(xh,!1),e(hr)},[w$]:({state:t,dispatch:e})=>{e(t.isSidebarOpen?dg:r_)},[d_]:({state:t,commit:e,dispatch:o})=>{o(xs),t.isHeatmapOpen||e(Ch,!0)},[hr]:({state:t,commit:e})=>{t.isHeatmapOpen&&e(Ch,!1)},[v6]:({state:t,dispatch:e})=>{e(t.isHeatmapOpen?hr:d_)},[ui]:({rootState:t,commit:e,dispatch:o},{id:n,settings:s})=>{var a;n===la&&(a=t.user)!=null&&a.id&&window.hj("identify",t.user.id,{"builder.blog.open_sidebar":!0}),o(hr),e(Th,{id:n,settings:s})},[xs]:({commit:t})=>t(Th,{id:null,settings:null}),[Fa]:({state:t,dispatch:e},o)=>{const n={[Ss]:"website_builder.add_element.enter",[ss]:"website_builder.pages_and_navigation.enter",[go]:"website_builder.global_styles.enter",[la]:"website_builder.blog.enter",[Mg]:"website_builder.languages.enter"};n[o]&&t.activeDrawer!==o&&It.logEvent({eventName:n[o]}),e(t.activeDrawer===o?xs:ui,{id:o})},[_$]:({commit:t},e)=>t(c_,e),updateBlockResizeInfo:({commit:t},e)=>{t(Mf,e)},updateIsColorPickerOpen:({commit:t},e)=>t(p_,e),setPreviewSiteData:({commit:t},e)=>t("setPreviewSiteData",e),setPreviewPageData:({commit:t},e)=>t("setPreviewPageData",e),updatePreviewSiteData:({rootState:t,dispatch:e},o)=>{if(o){const{currentLocale:n,currentPageId:s}=t,a=o.meta.defaultLocale||te,l=s===ns||!Object.keys(o.languages).includes(n)?te:n,i=g_({previewSiteData:o,locale:l,defaultLocale:a,previewPageId:s});e("setPreviewSiteData",o),e("setPreviewPageData",i)}},updatePreviewPageData:({state:t,rootState:e,dispatch:o,commit:n},{path:s})=>{var a;if(t.previewSiteData){const{currentPageId:l}=e,i=ue(),c=l===ns,u=((a=t.previewSiteData)==null?void 0:a.meta.defaultLocale)??te,p=c?ns:h6({path:s,siteData:t.previewSiteData,products:i.productsSeo}),{locale:g}=c?{locale:te}:nd({path:s,defaultLocale:u,languageKeys:Object.keys(t.previewSiteData.languages)}),f=g_({previewSiteData:t.previewSiteData,locale:g,defaultLocale:u,previewPageId:p,path:s}),y=s.split("/")[1],{id:E}=[...i.rawProductsSeo,...i.productsSeo].find(I=>{var T;return((T=I.seo_settings)==null?void 0:T.slug)===y})||{};n("setCurrentPreviewProductPageId",E),o("setPreviewPageData",f)}},setCurrentPreviewProductPageId:({commit:t},e)=>t("setCurrentPreviewProductPageId",e),setIsP2PBannerShown:({commit:t},e)=>t("setIsP2PBannerShown",e),setActiveDrawerSettings:({commit:t},e)=>t("setActiveDrawerSettings",e),setIsAddFirstProductNotificationVisible:({commit:t,rootGetters:e},o)=>{t("setIsAddFirstProductNotificationVisible",o),o?It.logEvent({eventName:"website_builder.ecomm_products_banner.shown",eventProperties:{builder:!0}}):Ai(L8(e.siteMeta.ecommerceStoreId),Date.now().toString(),1,{cdomain:f6()})}}},sd=Mo(Xo.TEMPLATES_ONBOARDING,()=>{const t=C(!1),e=C(null),o=C(1);return{isMultipleTemplatesOnboardingVisible:t,currentMultipleTemplatesOnboardingStep:e,currentMultipleTemplatesStepIndex:o,setIsMultipleTemplatesOnboardingVisible:l=>{t.value=l},setCurrentMultipleTemplatesOnboardingStep:({step:l})=>{e.value=l},setCurrentMultipleTemplatesStepIndex:({stepIndex:l})=>{o.value=l}}}),iv=()=>{const{dispatch:t}=et(),e=Bt(),o=m6(),n=ue(),s=sd(),a=C($1.length),l=d(()=>s.currentMultipleTemplatesStepIndex===a.value),i=d(()=>n.isDynamicPageFlowEnabled&&e.ecommerceDynamicProductPageTemplates&&!Io(O1)&&Ki(Yi.ECOMMERCE_MULTIPLE_TEMPLATES)),c=({stepIndex:f})=>{s.setCurrentMultipleTemplatesStepIndex({stepIndex:f}),s.setCurrentMultipleTemplatesOnboardingStep({step:$1[f-1]}),s.currentMultipleTemplatesOnboardingStep===zg&&t("gui/TOGGLE_DRAWER",Ng),s.currentMultipleTemplatesOnboardingStep===Lg&&(t(`gui/${ui}`,{id:null}),n.handleEditDynamicProductPageClick())},u=()=>{t(`gui/${ze}`),s.setIsMultipleTemplatesOnboardingVisible(!1),Ai(O1,1,365)};return{isMultipleTemplatesOnboardingModalVisible:i,isLastMultipleTemplatesStep:l,multipleTemplatesOnboardingStepCount:a,goToNextMultipleTemplatesOnboardingStep:()=>{if(s.currentMultipleTemplatesStepIndex===a.value){u();return}c({stepIndex:s.currentMultipleTemplatesStepIndex+1})},startMultipleTemplatesOnboarding:()=>{if(o.isMobileScreen){n.handleEditDynamicProductPageClick(),u();return}t(`gui/${ze}`),t(`gui/${ui}`,{id:Pl}),s.setIsMultipleTemplatesOnboardingVisible(!0),c({stepIndex:1})},finishMultipleTemplatesOnboarding:u,setMultipleTemplatesOnboardingStep:c}},E$={class:"multiple-templates-onboarding-popup__header"},I$={class:"text-bold-2"},S$={class:"multiple-templates-onboarding-popup__content"},x$={class:"text-body-2"},T$={class:"multiple-templates-onboarding-popup__footer"},C$={class:"multiple-templates-onboarding-popup__step-count text-body-2"},P$=K({__name:"EcommerceMultipleTemplatesOnboardingStep",props:{left:{default:"45%"},top:{default:"80%"},placement:{},usePopupOffset:{type:Boolean,default:!0},offset:{}},setup(t){fe(p=>({dffd07da:p.top,"702a3d09":p.left}));const{t:e}=_t(),{multipleTemplatesOnboardingStepCount:o,finishMultipleTemplatesOnboarding:n,goToNextMultipleTemplatesOnboardingStep:s,isLastMultipleTemplatesStep:a}=iv(),l=sd(),i=C(null),c=C(null),u=d(()=>l.currentMultipleTemplatesOnboardingStep&&cP[l.currentMultipleTemplatesOnboardingStep]);return Vt(()=>{i.value&&i.value.scrollIntoView({behavior:"smooth"})}),(p,g)=>{const f=rt("qa");return r(),v("div",{ref_key:"pulsingDotRef",ref:i,class:ut(["multiple-templates-onboarding",{"multiple-templates-onboarding--with-popup-offset":p.usePopupOffset}])},[b(x9),u.value?(r(),S(Se,{key:0,"target-ref":i.value,placement:p.placement,offset:p.offset,flip:!1,"auto-update":"",onClickOutside:m(n)},{default:k(()=>[h("div",{ref_key:"pulsingDotPopupRef",ref:c,class:"multiple-templates-onboarding-popup"},[h("div",E$,[h("p",I$,w(m(e)(u.value.title18nPath)),1),R((r(),S(gt,{"button-type":"plain",size:"sm",title:m(e)("common.close"),class:"multiple-templates-onboarding-popup__button",onClick:m(n)},{icon:k(()=>[b(ct,{name:"close"})]),_:1},8,["title","onClick"])),[[f,"modal-btn-close"]])]),h("div",S$,[h("p",x$,w(m(e)(u.value.description18nPath)),1)]),h("div",T$,[h("p",C$,w(`${m(l).currentMultipleTemplatesStepIndex}/${m(o)}`),1),R((r(),S(gt,{title:m(e)("builder.onboarding.next"),onClick:m(s)},{default:k(()=>[U(w(m(a)?m(e)("common.done"):m(e)("builder.onboarding.next")),1)]),_:1},8,["title","onClick"])),[[f,"multiple-templates-onboarding-next"]])])],512)]),_:1},8,["target-ref","placement","offset","onClickOutside"])):B("",!0)],2)}}}),pm=V(P$,[["__scopeId","data-v-3671972c"]]),B$={class:"add-block-button"},A$={class:"add-block-button__onboarding"},D$=K({__name:"AddBlockButton",props:{blockId:{},isMultipleTemplateOnboardingStepEditVisible:{type:Boolean}},setup(t){const e=t,{getters:o,dispatch:n}=et(),{t:s}=_t(),a=C(null),l=d(()=>o["gui/isMobileMode"]),i=()=>{n("unselectCurrentElement"),n(`gui/${Le}`,{name:P0,settings:{previousBlockId:e.blockId}}),a.value&&a.value.blur(),It.logEvent({eventName:"website_builder.add_section.enter"})};return(c,u)=>{const p=rt("qa");return r(),v("div",B$,[h("div",A$,[R((r(),S(gt,{ref:"addSectionButton",class:ut(["add-block-button__button",{"add-block-button__button--mobile":l.value}]),"aria-label":c.$t("common.addSection"),theme:"add-block",onClick:i},{"icon-left":k(()=>[b(ct,{name:"add"})]),default:k(()=>[U(" "+w(l.value?null:m(s)("common.addSection")),1)]),_:1},8,["class","aria-label"])),[[p,"builder-btn-addsection"]]),c.isMultipleTemplateOnboardingStepEditVisible?(r(),S(pm,{key:0,left:"50%",top:"0%",placement:"top",offset:{mainAxis:-240,crossAxis:0}})):B("",!0)])])}}}),E6=V(D$,[["__scopeId","data-v-2ce86ae0"]]),z$=5,L$=K({__name:"ResizeHandle",props:{type:{type:String,default:"default"},resizeDirection:{type:Number,default:0}},setup(t){const e=t,o=d(()=>e.type==="error"),n=d(()=>e.resizeDirection*z$);return(s,a)=>(r(),v("button",{ref:"resizeButton",class:ut(["resize-handle",`resize-handle--${t.type}`]),style:re(`--resize-movement-length: ${n.value}px`)},[b(Qt,{name:"chevron",direction:"up",class:ut(["resize-handle__icon",{"resize-handle__icon--disabled":o.value}])},null,8,["class"]),b(Qt,{name:"chevron",direction:"down"})],6))}}),$$=V(L$,[["__scopeId","data-v-749feecd"]]),O$=()=>{const t=C(null),e=C(null),o=n=>{t.value=n.clientX,e.value=n.clientY};return document.addEventListener("mousemove",o),rn(()=>{document.removeEventListener("mousemove",o)}),{mouseX:t,mouseY:e}},m_=C(null),h_=C(null),gm=()=>{const t=e=>{const o=e.touches[0];m_.value=o.clientX,h_.value=o.clientY};return document.addEventListener("touchmove",t),rn(()=>{document.removeEventListener("touchmove",t)}),{touchX:m_,touchY:h_,handleTouchEvent:t}},b_=C(!1),f_=C(0),I6=()=>({initializeScrollHandler:e=>{b_.value||(e.addEventListener("scroll",()=>{f_.value=e.scrollTop}),b_.value=!0)},scrollYAmount:f_}),Ud="ontouchstart"in window,zu=C(null),sv=({trackScroll:t=!0}={})=>{const{mouseX:e,mouseY:o}=O$(),{touchX:n,touchY:s}=gm(),{scrollYAmount:a}=I6(),{state:l}=et(),i=d(()=>l.gui.builderPreviewContainerRef),c=C(null),u=C(null),p=C(0),g=C(!1),f=C(!1),y=d(()=>Ud?n.value:e.value),E=d(()=>Ud?s.value:o.value),I=d(()=>Ud?"touchmove":"mousemove"),T=d(()=>Ud?"touchend":"mouseup"),x=({onDragEnd:O=null}={})=>{g.value=!0,c.value=y.value,u.value=E.value,p.value=a.value,document.addEventListener(T.value,()=>{O==null||O(),c.value=null,u.value=null,f.value=!1,g.value=!1},{once:!0}),document.addEventListener(I.value,()=>{g.value&&(f.value=!0)},{once:!0})},P=d(()=>t&&f.value?a.value-p.value:0),z=d(()=>f.value?y.value-c.value:0),L=d(()=>f.value?E.value-u.value+P.value:0),$=d(()=>{const O=E.value>document.documentElement.clientHeight-e2,M=E.value-u.value>0;return O&&M&&g.value}),A=d(()=>{const O=E.value{i.value.scrollBy(0,O)};return Mt([$,A],()=>{t&&(($.value||A.value)&&!zu.value?zu.value=setInterval(()=>{D($.value?UB:-5)},jB):(clearInterval(zu.value),zu.value=null))}),{startDragging:x,dragDeltaXPosition:z,dragDeltaYPosition:L,isDragging:g,hasMouseMoved:f}},Ph=C(null),Js=C(null),os=C(null),mm=(t,e)=>{const{getters:o,dispatch:n}=et(),s=d(()=>o.siteElements),a=d(()=>o["gui/isMobileMode"]),l=d(()=>a.value?pe:_e),{startDragging:i,dragDeltaYPosition:c,isDragging:u}=sv(),p=C(null),g=d(()=>o.siteBlocks[t.blockId]),f=d(()=>{var O;const D=(O=g.value)==null?void 0:O.components;return!D||!D.length?null:D.map(M=>{const{desktop:H,mobile:F}=s.value[M];return{bottom:a.value&&F?F.top+F.height:H.top+H.height,elementId:M}}).sort((M,H)=>H.bottom-M.bottom)[0]}),y=d(()=>{var D;return((D=f.value)==null?void 0:D.bottom)||0}),E=d(()=>{var D;if(a.value){const O=ig>y.value?ig:y.value;return((D=g.value.mobile)==null?void 0:D.minHeight)||O}return g.value.desktop.minHeight}),I=C(null),T=d(()=>u.value?Math.max(af,E.value+c.value,y.value):null),x=d(()=>T.value===y.value+DB||T.value===af),P=d(()=>u.value&&x.value?"error":"default"),z=({minHeight:D,saveToHistory:O})=>{D&&(n("updateBlockData",{blockId:t.blockId,blockData:{[l.value]:{minHeight:Math.max(y.value,D)}},merge:!0}),O&&n("undoRedo/createSnapshot"))},L=()=>{z({minHeight:T.value,saveToHistory:!0}),e.emit("lock-hovered-block",!1),e.emit("set-edit-control-visibility",!0),Js.value=null,os.value=null},$=()=>{I.value=E.value,i({onDragEnd:L}),os.value=t.blockId,e.emit("set-edit-control-visibility",!1),e.emit("lock-hovered-block",!0),n("updateCurrentBlockId",t.blockId)},A=()=>{y.value>=E.value&&z({minHeight:y.value,saveToHistory:!1})};return Mt(T,(D,O)=>{Js.value=T.value,p.value=u.value?Math.sign(D-O):0}),Mt(x,()=>{x.value&&f.value?Ph.value=f.value.elementId:Ph.value=null}),{blockingElementId:Ph,startSectionResizing:$,resizeHandleType:P,resizeHandleDirection:p,saveBlockMinHeight:z,blockMinHeight:E,updateSectionMinHeight:A,lowestElementBottom:y}},R$=K({components:{ResizeHandle:$$},props:{blockId:{type:String,required:!0}},setup(t,e){const{startSectionResizing:o,resizeHandleType:n,resizeHandleDirection:s}=mm(t,e),{handleTouchEvent:a}=gm();return{startSectionResizingOnTouchStart:i=>{a(i),o()},startSectionResizing:o,resizeHandleType:n,resizeHandleDirection:s,handleTouchEvent:a}}});function M$(t,e,o,n,s,a){const l=Y("ResizeHandle");return r(),S(l,{type:t.resizeHandleType,"resize-direction":t.resizeHandleDirection,onMousedown:Kt(t.startSectionResizing,["left","stop"]),onTouchstart:Kt(t.startSectionResizingOnTouchStart,["prevent"])},null,8,["type","resize-direction","onMousedown","onTouchstart"])}const N$=V(R$,[["render",M$]]),y_=C(!1),Bh=C(null),Hl=()=>{const{getters:t}=et(),e=d(()=>t.siteBlocks),o=d(()=>{var s;return(s=Bh.value)==null?void 0:s.id});return{hoveredBlock:Bh,hoveredBlockId:o,isHoveredBlockLocked:y_,handleBlockHover:({blockId:s})=>{y_.value||(Bh.value={id:s,type:e.value[s].type,slot:e.value[s].slot})}}},H$={class:"block-controls__selection"},G$={class:"block-controls__resize-handle-container"},F$={class:"block-controls__resize-handle-text text-body-2"},V$={__name:"BlockControls",props:{blockId:{type:String,required:!0},targetRef:{type:HTMLElement,default:null},isFirstBlock:{type:Boolean,default:!1},isLastBlock:{type:Boolean,default:!1},isResizeHandleVisible:{type:Boolean,default:!1},isAddBlockButtonVisible:{type:Boolean,default:!0},sectionTitle:{type:String,default:""},blockSelectInfoColor:{type:String,default:"var(--color-azure-dark)"},transparentHeaderHeight:{type:Number,default:0},isPillDisabled:{type:Boolean,default:!1}},emits:["unhide-block","set-edit-control-visibility"],setup(t){fe(M=>({c30e0bf6:$.value}));const e=t,{getters:o,state:n}=et(),s=Bt(),a=sd(),{t:l}=_t(),{isHoveredBlockLocked:i,hoveredBlock:c}=Hl(),u=C(null),p=d(()=>o["gui/isMobileMode"]),g=d(()=>n.gui.isMobileScreen),f=d(()=>n.currentBlockId),y=d(()=>s.siteBlocks[e.blockId]),E=d(()=>y.value&&y.value.type===ha),I=d(()=>E.value&&a.isMultipleTemplatesOnboardingVisible&&a.currentMultipleTemplatesOnboardingStep===S0),T=d(()=>f.value===e.blockId),x=d(()=>{var M;return((M=c.value)==null?void 0:M.id)===e.blockId}),P=d(()=>x.value||I.value),z=d(()=>g.value||e.isAddBlockButtonVisible),L=d(()=>e.isResizeHandleVisible&&x.value),$=d(()=>`${e.transparentHeaderHeight}px`),A=d(()=>({y1:0,y2:0,x1:0,x2:0,title:e.sectionTitle||l("common.section"),color:e.blockSelectInfoColor})),D=()=>{var M;return Number.parseInt((M=e.targetRef)==null?void 0:M.clientHeight,10)||0},O=M=>{i.value=M};return(M,H)=>{const F=rt("qa");return r(),v("div",{ref_key:"blockControlsRef",ref:u,class:ut(["block-controls",{"block-controls--hovered":P.value,"block-controls--is-selected":T.value,"block-controls--is-last":t.isLastBlock}])},[z.value?R((r(),S(E6,{key:0,"is-multiple-template-onboarding-step-edit-visible":I.value,class:"block-controls__add-block","block-id":t.blockId},null,8,["is-multiple-template-onboarding-step-edit-visible","block-id"])),[[F,"block-controls-add-block"]]):B("",!0),R((r(),v("div",H$,[b(c9,{"use-border":"","disable-pill-overflow":t.isFirstBlock,"is-pill-disabled":t.isPillDisabled,info:A.value,"block-id":t.blockId,"is-block-selected":T.value,"is-block-hovered":x.value},null,8,["disable-pill-overflow","is-pill-disabled","info","block-id","is-block-selected","is-block-hovered"])])),[[F,"block-selection-overlay"]]),h("div",G$,[b(Ko,{position:"top","toggle-event":"hover","hide-tooltip":p.value,"use-portal":!1,"content-position":"absolute","forced-position":{right:"-35px",bottom:"30px","white-space":"nowrap"}},{trigger:k(()=>[L.value?(r(),S(N$,{key:0,class:"block-controls__resize-handle","block-id":t.blockId,"block-height":D(),onLockHoveredBlock:O,onSetEditControlVisibility:H[0]||(H[0]=j=>M.$emit("set-edit-control-visibility",j))},null,8,["block-id","block-height"])):B("",!0)]),default:k(()=>[h("p",F$,w(M.$t("builder.sectionControlLine.text")),1)]),_:1},8,["hide-tooltip"])])],2)}}},Ya=V(V$,[["__scopeId","data-v-71c6f81a"]]),me={Backspace:"Backspace",ShiftLeft:"ShiftLeft",Escape:"Escape",Space:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Delete:"Delete",KeyX:"KeyX",KeyC:"KeyC",KeyD:"KeyD",KeyY:"KeyY",KeyZ:"KeyZ",KeyV:"KeyV",OSLeft:"OSLeft",NumLockSlash:"NumLockSlash",KeySlash:"Slash",Enter:"Enter",BracketLeft:"BracketLeft",BracketRight:"BracketRight"},U$={8:me.Backspace,16:me.ShiftLeft,27:me.Escape,32:me.Space,37:me.ArrowLeft,38:me.ArrowUp,39:me.ArrowRight,40:me.ArrowDown,46:me.Delete,67:me.KeyC,68:me.KeyD,86:me.KeyV,88:me.KeyX,89:me.KeyY,90:me.KeyZ,91:me.OSLeft,111:me.NumLockSlash,191:me.KeySlash,219:me.BracketLeft,221:me.BracketRight},Ue=t=>{let e;return t?t.code!==void 0?e=t.code==="MetaLeft"?"OSLeft":t.code:t.keyCode!==void 0&&(e=U$[t.keyCode]):e=void 0,e},j$=K({props:{inputId:{type:String,default:null},modelValue:{type:String,required:!0},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},type:{type:String,default:""},maxlength:{type:[String,Number],default:null},color:{type:String,default:"",validator(t){return["","light"].includes(t)}},error:{type:[String,Boolean],default:""},padding:{type:String,default:""},theme:{type:String,default:"primary",validator:t=>["primary","secondary","hostinger"].includes(t)},minValue:{type:Number,default:null},autofocus:{type:Boolean,default:!1},suffix:{type:String,default:null},focusOnMount:{type:Boolean,default:!1},isSpinnerDisabled:{type:Boolean,default:!0},inputType:{type:String,default:"",validator:t=>["","number"].includes(t)},qaSelector:{type:String,default:""}},emits:["update:model-value","input-blur","input-focus","keyup-enter"],data(){return{inputTextCanvas:null,suffixPosition:null,shiftKeyPressed:!1,metaKeyPressed:!1}},computed:{computedStyles(){return{"--z-padding":this.padding||void 0,"--suffix-left":this.suffixPosition||void 0}},getInputStyles(){const t=window.getComputedStyle(this.$refs.inputRef,null).getPropertyValue("font-size"),e=window.getComputedStyle(this.$refs.inputRef,null).getPropertyValue("font-family");return`${t} ${e}`}},watch:{modelValue:{handler(){this.suffix&&this.updateSuffixPosition()}}},mounted(){this.suffix&&(this.inputTextCanvas=document.createElement("canvas"),this.getTextWidth(this.modelValue),this.updateSuffixPosition()),this.focusOnMount&&this.$refs.inputRef.focus()},methods:{getTextWidth(t){const e=this.inputTextCanvas.getContext("2d"),o=e.measureText(t);return e.font=this.getInputStyles,o.width},updateSuffixPosition(){this.suffixPosition=`${this.getTextWidth(this.modelValue)+20}px`},replaceNonNumberCharacters(t){return t.replace(/[^\d.-]/g,"")},handleInputControls(t){const e=[me.ShiftLeft,me.OSLeft,me.ArrowUp,me.ArrowDown];if(this.inputType!=="number"||!e.includes(Ue(t)))return;t.preventDefault(),Ue(t)===me.ShiftLeft&&(this.shiftKeyPressed=!0),Ue(t)===me.OSLeft&&(this.metaKeyPressed=!0);let o=Number(this.modelValue);!this.shiftKeyPressed&&!this.metaKeyPressed&&Ue(t)===me.ArrowUp&&(o+=1),!this.shiftKeyPressed&&!this.metaKeyPressed&&Ue(t)===me.ArrowDown&&(o-=1),Ue(t)===me.ArrowUp&&this.shiftKeyPressed&&(o+=10),Ue(t)===me.ArrowDown&&this.shiftKeyPressed&&(o-=10),Ue(t)===me.ArrowUp&&this.metaKeyPressed&&(o+=100),Ue(t)===me.ArrowDown&&this.metaKeyPressed&&(o-=100),this.$emit("update:model-value",o)},resetPressedKeyModifiers(t){Ue(t)===me.ShiftLeft&&(this.shiftKeyPressed=!1),Ue(t)===me.OSLeft&&(this.metaKeyPressed=!1)},handleInputChange(t){let{value:e}=t.target;(this.type==="number"||this.inputType==="number")&&(e=this.replaceNonNumberCharacters(e),Number(e[0])===0&&e[1]!=="."&&e.length>1&&(e=e.slice(1))),this.maxlength&&this.type==="number"&&(e=e.slice(0,Math.max(0,Number(this.maxlength)))),this.$emit("update:model-value",e)}}}),W$=["id","value","disabled","placeholder","type","maxlength","autofocus","min"];function q$(t,e,o,n,s,a){const l=rt("qa");return r(),v("div",{class:ut(["zyro-input",[{[`zyro-input--${t.theme}`]:t.theme},{"text-body-2":t.theme==="primary"},{"text-body-1":t.theme==="secondary"},{"zyro-input--light":t.color},{"zyro-input--error":t.error},{"zyro-input--spinner-disabled":t.isSpinnerDisabled}]]),style:re(t.computedStyles)},[R(h("input",{id:t.inputId||void 0,ref:"inputRef",class:"zyro-input__input",value:t.modelValue,disabled:t.disabled,autocomplete:"off",placeholder:t.placeholder,type:t.type,maxlength:t.maxlength,autofocus:t.autofocus,min:t.minValue,onKeydown:e[0]||(e[0]=(...i)=>t.handleInputControls&&t.handleInputControls(...i)),onKeyup:[e[1]||(e[1]=(...i)=>t.resetPressedKeyModifiers&&t.resetPressedKeyModifiers(...i)),e[5]||(e[5]=Fi(i=>t.$emit("keyup-enter"),["enter"]))],onInput:e[2]||(e[2]=(...i)=>t.handleInputChange&&t.handleInputChange(...i)),onBlur:e[3]||(e[3]=i=>t.$emit("input-blur",i)),onFocus:e[4]||(e[4]=i=>t.$emit("input-focus",i))},null,40,W$),[[l,t.qaSelector]]),t.suffix?(r(),v("span",{key:0,ref:"inputSuffix",class:"zyro-input__suffix"},w(t.suffix),513)):B("",!0)],6)}const as=V(j$,[["render",q$],["__scopeId","data-v-6d61e03e"]]),Jc=t=>(Te("data-v-c95fc470"),t=t(),Ce(),t),Y$={class:"ai-type-dropdown"},K$={key:0,class:"ai-type-dropdown__content text-body-3"},Z$={class:"ai-type-dropdown__types"},Q$={key:0,class:"ai-type-dropdown__types-item ai-type-dropdown__types-item"},X$=Jc(()=>h("p",null,"Custom",-1)),J$=["onMouseover"],tO=["onClick"],eO=["onClick"],oO=["onClick"],nO={class:"ai-type-dropdown__types"},iO=Jc(()=>h("p",null,"Default",-1)),sO=["onMouseover"],aO=["onClick"],lO={key:1,class:"ai-type-tooltip text-body-3"},rO=Jc(()=>h("span",null,"Name",-1)),dO=["disabled"],cO=Jc(()=>h("span",null,"Description",-1)),uO=Jc(()=>h("span",{class:"dialog-content__form-note"},"description will be used by AI service to generate relevant content",-1)),pO={class:"dialog-content__form-buttons"},gO=K({__name:"AiTypeDropdown",props:{customOptions:{},defaultOptions:{},selectedOption:{},hasAiType:{type:Boolean}},emits:["select-option","add-new-type","edit-type","delete-type"],setup(t,{emit:e}){const o=e,n=t,s=C(null),a=C(""),l=C(""),i=C(!1),c=C(null),u=C(!1),p=d(()=>c.value?{...n.defaultOptions,...n.customOptions}[c.value]:""),g=()=>{i.value=!i.value},f=()=>{s.value&&s.value.showModal()},y=()=>{s.value&&(a.value="",l.value="",u.value=!1,s.value.close())},E=()=>{if(!(!a.value||!l.value)){if(u.value){o("edit-type",{name:a.value,description:l.value}),y();return}o("add-new-type",{name:a.value,description:l.value}),y()}},I=T=>{s.value&&(u.value=!0,l.value=n.customOptions[T],a.value=T,s.value.showModal())};return(T,x)=>(r(),v(at,null,[h("div",Y$,[h("button",{class:"ai-type-dropdown__button",onClick:g},[h("span",null,w(n.selectedOption||"Select type"),1),b(ct,{name:"chevron_right",dimensions:"16px",direction:i.value?"left":"right"},null,8,["direction"])]),i.value?(r(),v("div",K$,[h("div",Z$,[T.hasAiType?(r(),v("div",Q$,[h("button",{onClick:x[0]||(x[0]=P=>o("select-option",""))}," None ")])):B("",!0),X$,h("ul",null,[h("li",{class:"ai-type-dropdown__types-item ai-type-dropdown__types-item--outline"},[h("button",{onClick:f}," Add custom type ")]),(r(!0),v(at,null,Pt(n.customOptions,(P,z)=>(r(),v("li",{key:z,class:"ai-type-dropdown__types-item",onMouseover:L=>c.value=z,onMouseleave:x[1]||(x[1]=L=>c.value=null)},[h("button",{onClick:L=>T.$emit("select-option",z)},w(z),9,tO),h("button",{class:"ai-type-dropdown__action-button",onClick:L=>I(z)},[b(ct,{name:"edit",dimensions:"16px"})],8,eO),h("button",{class:"ai-type-dropdown__action-button ai-type-dropdown__action-button--danger",onClick:L=>T.$emit("delete-type",z)},[b(ct,{name:"delete",dimensions:"16px"})],8,oO)],40,J$))),128))])]),h("div",nO,[iO,h("ul",null,[(r(!0),v(at,null,Pt(n.defaultOptions,(P,z)=>(r(),v("li",{key:z,class:"ai-type-dropdown__types-item",onMouseover:L=>c.value=z,onMouseleave:x[2]||(x[2]=L=>c.value=null)},[h("button",{onClick:L=>T.$emit("select-option",z)},w(z),9,aO)],40,sO))),128))])])])):B("",!0),c.value?(r(),v("div",lO,w(p.value),1)):B("",!0)]),h("dialog",{ref_key:"dialogRef",ref:s,class:"dialog-content",onClose:y},[h("form",{class:"dialog-content__form",onSubmit:x[5]||(x[5]=Kt(()=>{},["prevent"]))},[h("h2",null,w(u.value?"Update Type":"Add Type"),1),h("label",null,[rO,R(h("input",{"onUpdate:modelValue":x[3]||(x[3]=P=>a.value=P),disabled:u.value,type:"text",required:""},null,8,dO),[[zp,a.value]])]),h("label",null,[cO,R(h("textarea",{"onUpdate:modelValue":x[4]||(x[4]=P=>l.value=P),required:""},null,512),[[zp,l.value]]),uO]),h("div",pO,[h("button",{type:"button",class:"dialog-content__form-button",onClick:y}," Cancel "),h("button",{type:"button",class:"dialog-content__form-button",onClick:E},w(u.value?"Update":"Add"),1)])],32)],544)],64))}}),mO=V(gO,[["__scopeId","data-v-c95fc470"]]),hO={class:"ai-type-select"},bO=K({__name:"AiTypeSelect",props:{elementId:{type:String,default:null},blockId:{type:String,default:null}},setup(t){const e=t,{notify:o}=Oe(),{getters:n,dispatch:s}=et(),a=d(()=>n.siteMeta),l=d(()=>n.siteElements),i=d(()=>n.siteBlocks),c=d(()=>e.elementId!==null),u=d(()=>a.value.aiBlockTypes||[]),p=d(()=>a.value.aiElementTypes||[]),g=d(()=>{var H;return(H=l.value[e.elementId].aiData)==null?void 0:H.type}),f=d(()=>{var H;return(H=i.value[e.blockId].aiData)==null?void 0:H.type}),y=d(()=>{var H;return(H=l.value[e.elementId].aiData)==null?void 0:H.index}),E=d(()=>c.value?p.value:u.value),I=d(()=>c.value?!!g.value:!!f.value),T=d(()=>{const H=c.value?n7:e7;return Object.fromEntries(Object.entries(H).filter(([F])=>!E.value[F]))}),x=d(()=>c.value?g.value:f.value),P=d(()=>c.value?"aiElementTypes":"aiBlockTypes"),z=d(()=>c.value?p.value:u.value),L=H=>{const F=H?{type:H}:null;s("mergeElementData",{elementId:e.elementId,elementData:{aiData:F}})},$=H=>{const F=H?{type:H}:null;s("updateBlockData",{blockId:e.blockId,blockData:{aiData:F},merge:!0})},A=({name:H,description:F})=>{if(!{...E.value,...T.value}[H]){o({message:`Type "${H}" does not exist. Create new one.`});return}s("setWebsiteSiteMeta",{key:P.value,value:{...z.value,[H]:F}})},D=({name:H,description:F})=>{if(E.value[H]){o({message:`Type "${H}" already exists. Choose another one`});return}s("setWebsiteSiteMeta",{key:P.value,value:{...z.value,[H]:F}})},O=H=>c.value?L(H):$(H),M=H=>{if(Object.values(c.value?l.value:i.value).some(W=>{var Z;return((Z=W.aiData)==null?void 0:Z.type)===H})){o({message:`Type "${H}" is used and cannot be deleted. Ensure that no elements or sections are using this type.`});return}const{[H]:j,...q}=z.value;s("setWebsiteSiteMeta",{key:P.value,value:q})};return(H,F)=>(r(),v("div",hO,[b(mO,{"custom-options":E.value,"default-options":T.value,"selected-option":x.value,"has-ai-type":I.value,onSelectOption:O,onAddNewType:D,onEditType:A,onDeleteType:M},null,8,["custom-options","default-options","selected-option","has-ai-type"]),c.value?(r(),S(as,{key:0,class:"ai-type-select__input","model-value":y.value,type:"number",placeholder:"Index",padding:"8px","onUpdate:modelValue":F[0]||(F[0]=j=>m(s)("mergeElementData",{elementId:e.elementId,elementData:{aiData:{index:j}}}))},null,8,["model-value"])):B("",!0)]))}}),S6=V(bO,[["__scopeId","data-v-09a05107"]]),fO=120,yO={__name:"ControlsTooltip",props:{title:{type:String,default:""}},setup(t){fe(p=>({"49918e8a":i.value,ec4e03a4:c.value}));const{state:e}=et(),o=C(null),n=C(null),{top:s}=K5(o),a=d(()=>e.gui.isMobileScreen),l=d(()=>o.value?s.value>fO:!1),i=d(()=>{if(!o.value||!n.value)return"0";const{width:p}=n.value.$el.getBoundingClientRect(),{left:g,width:f}=o.value.getBoundingClientRect();return g+f>window.innerWidth?`calc(${-(g+f-window.innerWidth)-24}px)`:`calc(-50% + ${p/2}px)`}),c=d(()=>l.value?"calc(100% + 4px)":"calc(-100% + 4px)"),u=t;return(p,g)=>(r(),S(Ko,{ref_key:"controlsTooltipRef",ref:n,"toggle-event":"hover",mode:"dark",triangle:!1,"use-portal":!1,"hide-tooltip":!u.title||a.value,"content-position":"absolute",class:"controls-tooltip","forced-position":""},{trigger:k(()=>[wt(p.$slots,"default",{},void 0,!0)]),default:k(()=>[u.title&&!a.value?(r(),v("p",{key:0,ref_key:"controlsTooltipContentRef",ref:o,class:"text-body-2"},[U(w(u.title)+" ",1),wt(p.$slots,"shortcut",{},void 0,!0)],512)):B("",!0)]),_:3},8,["hide-tooltip"]))}},ko=V(yO,[["__scopeId","data-v-c43f22b1"]]),vO=K({props:{id:{type:String,default:""},disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,required:!0}},emits:["update:model-value"]}),_O={class:"zyro-toggle"},wO=["id","disabled","checked"],kO=["for"];function EO(t,e,o,n,s,a){return r(),v("div",_O,[h("input",{id:t.id,type:"checkbox",disabled:t.disabled,checked:t.modelValue,class:"zyro-toggle__input",onInput:e[0]||(e[0]=l=>t.$emit("update:model-value",l.target.checked))},null,40,wO),h("label",{for:t.id,class:"zyro-toggle__label"},null,8,kO)])}const si=V(vO,[["render",EO],["__scopeId","data-v-d3cda2c4"]]),IO={class:"visibility"},SO={class:"visibility__controls"},xO={class:"visibility__title"},TO={class:"visibility__control"},CO={class:"visibility__control-text-wrapper"},PO={class:"visibility__control-title text-bold-2"},BO={class:"visibility__control-status text-body-2"},AO={class:"visibility__control"},DO={class:"visibility__control-text-wrapper"},zO={class:"visibility__control-title text-bold-2"},LO={class:"visibility__control-status text-body-2"},$O=K({__name:"VisibilityControls",props:{isHiddenDesktop:{type:Boolean},isHiddenMobile:{type:Boolean}},emits:["set-desktop-visibility","set-mobile-visibility"],setup(t){const e=C(null),o=C(!1);return(n,s)=>{var l;const a=rt("qa");return r(),v("div",IO,[R((r(),S(gt,{ref_key:"visibilityControls",ref:e,"button-type":"plain",theme:"highlight",title:n.$t("common.visibility"),onClick:s[0]||(s[0]=i=>o.value=!o.value)},{icon:k(()=>[b(ct,{name:"visibility"})]),_:1},8,["title"])),[[a,"visibility-controls-open-settings"]]),o.value?(r(),S(Se,{key:0,"target-ref":e.value&&((l=e.value)==null?void 0:l.$el),placement:"bottom","auto-update":"",onClickOutside:s[3]||(s[3]=i=>o.value=!1)},{default:k(()=>[h("div",SO,[h("p",xO,w(n.$t("common.visibility"))+": ",1),h("div",TO,[h("div",CO,[h("p",PO,w(n.$t("common.mobile")),1),h("p",BO,w(n.isHiddenMobile?n.$t("common.hidden"):n.$t("common.visible")),1)]),R(b(si,{id:"visibility-settings-mobile","model-value":!n.isHiddenMobile,"onUpdate:modelValue":s[1]||(s[1]=i=>n.$emit("set-mobile-visibility",!n.isHiddenMobile))},null,8,["model-value"]),[[a,"visibility-controls-setmobilevisibility"]])]),h("div",AO,[h("div",DO,[h("p",zO,w(n.$t("common.desktop")),1),h("p",LO,w(n.isHiddenDesktop?n.$t("common.hidden"):n.$t("common.visible")),1)]),R(b(si,{id:"visibility-settings-desktop","model-value":!n.isHiddenDesktop,"onUpdate:modelValue":s[2]||(s[2]=i=>n.$emit("set-desktop-visibility",!n.isHiddenDesktop))},null,8,["model-value"]),[[a,"visibility-controls-setdesktopvisibility"]])])])]),_:1},8,["target-ref"])):B("",!0)])}}}),x6=V($O,[["__scopeId","data-v-1646cc59"]]),OO=K({components:{Icon:ct,HostingerButton:gt},props:{position:{validator(t){return["center","right","left","top","bottom"].includes(t)},default:"center"},showCloseButton:{type:Boolean,default:!0},maxWidth:{type:[Number,String],default:"100%"},maxHeight:{type:[Number,String],default:"100%"},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},minHeight:{type:[Number,String],default:"auto"},overflow:{type:String,default:"auto"},hideBackdrop:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},delay:{type:Number,default:0},noOverflow:{type:Boolean,default:!1},isOverflowVisible:{type:Boolean,default:!1},useFlexForContent:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},contentPadding:{type:String,default:""},modalMargin:{type:String,default:""},isTitleCentered:{type:Boolean,default:!1},label:{type:String,default:""},footerPadding:{type:String,default:"24px"},headerPadding:{type:String,default:"24px"},noFooterBorder:{type:Boolean,default:!1},titleClass:{type:String,default:""},isButtonDisabled:{type:Boolean,default:!1}},emits:["close-modal"],setup(){return{hasSlotContent:Wi,DATA_ATTRIBUTE_SELECTOR:vo,DATA_ATTRIBUTE_SELECTOR_MODAL_BACKDROP:Fb}},data(){return{blockClosing:!1,closingTimeout:null,modalId:de()}},computed:{computedStyles(){return{"--footer-padding":this.footerPadding,"--header-padding":this.headerPadding,"--z-content-padding":this.contentPadding,"--modal-margin":this.modalMargin,"--modal-max-width":this.maxWidth,"--modal-max-height":this.maxHeight,"--modal-width":this.width,"--modal-height":this.height,"--modal-min-height":this.minHeight}},modalRefKey(){return`modal-${this.modalId}`}},created(){window.addEventListener("keydown",this.onEscapeClick)},mounted(){this.delay&&(this.blockClosing=!0,setTimeout(()=>{this.blockClosing=!1},this.delay)),Q5(this.$refs[this.modalRefKey],{allowTouchMove:t=>{for(;t&&t!==document.body;){if(t.getAttribute("body-scroll-lock-ignore")!==null)return!0;t=t.parentElement}}})},beforeUnmount(){window.removeEventListener("keydown",this.onEscapeClick),Z5(this.$refs[this.modalRefKey])},methods:{onCloseModal(){this.blockClosing||this.$emit("close-modal")},onEscapeClick(t){Ue(t)===me.Escape&&this.onCloseModal()}}}),RO={key:1,class:"modal__subtitle text-body-2"},MO={class:"modal__close"},NO={key:0,class:"modal__label text-overline"};function HO(t,e,o,n,s,a){const l=Y("Icon"),i=Y("HostingerButton"),c=rt("qa");return r(),v("div",Ze({class:["modal-backdrop",[t.position,{hide:t.hideBackdrop}]],style:t.computedStyles,[t.DATA_ATTRIBUTE_SELECTOR||""]:t.DATA_ATTRIBUTE_SELECTOR_MODAL_BACKDROP,onMousedown:e[0]||(e[0]=Kt(u=>t.onCloseModal(),["self","prevent"]))}),[R((r(),v("div",{ref:t.modalRefKey,class:ut(["modal",{"modal--rounded":t.isRounded,"modal--overflow-visible":t.isOverflowVisible,"modal--overflow-hidden":t.noOverflow}]),role:"dialog","aria-labelledby":"modalTitle","aria-describedby":"modalDescription"},[t.title||t.hasSlotContent(t.$slots.title)?(r(),v("h2",{key:0,class:ut(["modal__title",[{"modal__title--has-subtitle":t.subtitle||t.hasSlotContent(t.$slots.subtitle),"text-heading-1":!t.isTitleCentered,"modal__title--centered text-bold-2":t.isTitleCentered},t.titleClass]])},[wt(t.$slots,"title",{},()=>[U(w(t.title),1)],!0)],2)):B("",!0),t.subtitle||t.hasSlotContent(t.$slots.subtitle)?(r(),v("p",RO,[wt(t.$slots,"subtitle",{},()=>[U(w(t.subtitle),1)],!0)])):B("",!0),h("div",{class:ut(["modal__content",{"modal__content--no-overflow":t.noOverflow,"modal__content--display-flex":t.useFlexForContent,"modal__content--overflow-visible":t.isOverflowVisible}]),"body-scroll-lock-ignore":""},[wt(t.$slots,"default",{},void 0,!0)],2),h("div",MO,[t.label?(r(),v("span",NO,w(t.label),1)):B("",!0),t.showCloseButton?R((r(),S(i,{key:1,"button-type":"plain",title:t.$t("common.close"),"is-disabled":t.isButtonDisabled,onClick:t.onCloseModal},{icon:k(()=>[b(l,{name:"close"})]),_:1},8,["title","is-disabled","onClick"])),[[c,"modal-btn-close"]]):B("",!0)]),t.hasSlotContent(t.$slots.footer)?(r(),v("div",{key:2,class:ut(["modal__footer",{"modal__footer--no-border":t.noFooterBorder}])},[wt(t.$slots,"footer",{},void 0,!0)],2)):B("",!0)],2)),[[c,"modal"]])],16)}const Xe=V(OO,[["render",HO],["__scopeId","data-v-d5f93fc1"]]),GO={class:"loader"},FO=n0('
',5),VO=[FO],UO=K({__name:"ZyroLoader",props:{color:{default:"var(--color-dark)"},secondaryColor:{default:"transparent"},size:{default:"40px"},weight:{default:"4px"}},setup(t){return fe(e=>({"42b67250":e.size,"75767d07":e.weight,"1338e6f4":e.color,"3bb5d1de":e.secondaryColor})),(e,o)=>(r(),v("div",GO,VO))}}),je=V(UO,[["__scopeId","data-v-bc3d69bf"]]),jO=K({__name:"SystemDialogModal",props:{primaryButtonText:{default:""},secondaryButtonText:{default:""},primaryButtonMargin:{default:"0 16px 0 0"},primaryButtonTheme:{default:"text"},secondaryButtonColor:{default:"primary"},title:{default:""},maxWidth:{default:"470px"},width:{default:"auto"},noFooterBorder:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isButtonDisabled:{type:Boolean,default:!1}},emits:["close","click-primary","click-secondary"],setup(t){const e=t,o=d(()=>({"--primary-button-margin":e.primaryButtonMargin}));return(n,s)=>{const a=rt("qa");return r(),S(Xe,{"max-width":n.maxWidth,"max-height":"auto",height:"auto",width:n.width,class:"choose-placement-modal","content-padding":"0",title:n.title,style:re(o.value),"no-footer-border":n.noFooterBorder,onCloseModal:s[2]||(s[2]=l=>n.$emit("close"))},{footer:k(()=>[R((r(),S(gt,{class:"choose-placement-modal__primary-button","button-type":n.primaryButtonTheme,onClick:s[0]||(s[0]=l=>n.$emit("click-primary"))},{default:k(()=>[U(w(n.primaryButtonText),1)]),_:1},8,["button-type"])),[[a,"systemdialogmodal-primary-btn"]]),R((r(),S(gt,{theme:n.secondaryButtonColor,"is-disabled":n.isButtonDisabled,onClick:s[1]||(s[1]=l=>n.$emit("click-secondary"))},{default:k(()=>[n.isLoading?(r(),S(je,{key:0,size:"26px",color:"var(--color-light)",weight:"3px"})):(r(),v(at,{key:1},[U(w(n.secondaryButtonText),1)],64))]),_:1},8,["theme","is-disabled"])),[[a,"systemdialogmodal-secondary-btn"]])]),default:k(()=>[h("div",{class:ut(["choose-placement-modal__content",{"choose-placement-modal__content--has-title":n.title}])},[wt(n.$slots,"default",{},void 0,!0)],2)]),_:3},8,["max-width","width","title","style","no-footer-border"])}}}),en=V(jO,[["__scopeId","data-v-7177ea23"]]),Zl=C(null),Ql=C(null),Lu=C(null),Gl=()=>{const t=C(!1),e=d(()=>!Zl.value||!Ql.value?null:{clientX:Zl.value,clientY:Ql.value}),o=s=>{Zl.value=s.clientX,Ql.value=s.clientY,Lu.value=s},n=()=>{Lu.value&&(Zl.value=null,Ql.value=null,Lu.value=null)};return Mt([Zl,Ql],([s,a])=>{t.value&&s&&a&&(t.value=!1)}),{isContextMenuWithTriggerActive:t,mousePositionX:Zl,mousePositionY:Ql,mousePosition:e,mouseEventRaw:Lu,openContextMenu:o,closeContextMenu:n}},WO=(t,e,o)=>{if(!t||!e)return{left:e.left,top:e.top};const{left:n,top:s}=o,{width:a,height:l}=t.getBoundingClientRect(),{height:i,width:c}=e.getBoundingClientRect();let{left:u,top:p}=o;return n+a>c&&(u-=a),s+l>i&&(p-=a),{left:u,top:p}},zo=t=>`[${vo}=${t}]`,qO=({selector:t,event:e})=>{var o;if(!((o=e==null?void 0:e.target)!=null&&o.closest))return!1;switch(t){case a3:return e.target.closest(zo(Fb))||e.target.closest(zo(b0))||e.target.closest(zo(x4))||e.target.closest(zo(T4))||e.target.closest(zo(fl))||e.target.closest(zo(Yd))||e.target.closest(zo(C4))||e.target.closest(zo(y0));case DP:return e.target.closest(zo(Fb));case s3:return e.target.closest(zo(qd))||e.target.closest(zo(NC))||e.target.closest(zo(Yd))||e.target.closest(zo(fl));case l3:return e.target.closest(zo(P4))||e.target.closest(zo(B4));case r3:return e.target.closest(zo(fl))||e.target.closest(zo(A4))||e.target.closest(zo(f0))||e.target.closest(zo(D4));case d3:return e.target.closest(zo(Yd))||e.target.closest(zo(ac));case qd:return e.target.closest(zo(fl));case c3:return e.target.closest(zo(z4));default:return!1}},ya=({preventSelector:t,target:e},o)=>{Ps(e,n=>{var l;const s=qO({selector:t,event:n});!((l=n==null?void 0:n.target)!=null&&l.closest)||s||o(n)})},YO={__name:"ContextMenu",props:{isEnabled:{type:Boolean,default:!1},triggerRef:{type:Element,default:null},isElement:{type:Boolean,default:!1}},emits:["close-context-menu"],setup(t,{emit:e}){fe(f=>({"240ff3da":l.value,"5deabe22":i.value}));const o=t,n=e,s=C(null),a=C(null),l=C(""),i=C(""),c=C(!1),{mousePosition:u,closeContextMenu:p}=Gl(),g=()=>{const{clientX:f,clientY:y}=(u==null?void 0:u.value)??{},{left:E,top:I}=WO(s.value,document.body,{left:f,top:y}),T=o.isElement?document.querySelector(`div.${d0}`).scrollTop:document.querySelector("body").scrollTop;i.value=`${E}px`,l.value=`${I+T}px`};return Mt(u,async f=>{c.value=!1,f&&(c.value=!0,await Ye(),s.value&&g())}),ya({target:o.targetRef?a:s,preventSelector:qd},()=>{p(),n("close-context-menu")}),(f,y)=>t.triggerRef?(r(),S(Se,{key:0,ref_key:"contextMenuPopupRef",ref:a,"target-ref":t.triggerRef,"auto-update":"",placement:"bottom-start","is-mobile-fixed-to-bottom":""},{default:k(()=>[h("div",Ze({class:"context-menu",[m(vo)||""]:m(qd)}),[wt(f.$slots,"default",{},void 0,!0)],16)]),_:3},8,["target-ref"])):c.value&&t.isEnabled?(r(),v("div",{key:1,ref_key:"contextMenuRef",ref:s,class:"context-menu context-menu--absolute",onMousedown:y[0]||(y[0]=Kt(()=>{},["stop"]))},[h("div",Ze({[m(vo)||""]:m(qd)}),[wt(f.$slots,"default",{},void 0,!0)],16)],544)):B("",!0)}},T6=V(YO,[["__scopeId","data-v-0064cdda"]]),Da=()=>navigator.userAgent.toUpperCase().includes("MAC"),KO=["disabled"],ZO={key:0,class:"context-menu-button__icon"},QO={key:1,class:"context-menu-button__shortcut"},XO=K({__name:"ContextMenuButton",props:{title:{},icon:{default:null},shortcut:{default:null},isDisabled:{type:Boolean,default:!1}},setup(t){const e=Da();return(o,n)=>{const s=rt("qa");return R((r(),v("button",{class:"context-menu-button text-body-2",disabled:o.isDisabled},[o.icon?(r(),v("span",ZO,[b(ct,{name:o.icon},null,8,["name"])])):B("",!0),U(" "+w(o.title)+" ",1),o.shortcut?(r(),v("span",QO,w(m(e)?o.shortcut.mac:o.shortcut.windows),1)):B("",!0)],8,KO)),[[s,`context-menu-${o.title}-btn`]])}}}),Zn=V(XO,[["__scopeId","data-v-c89eafba"]]),JO={},tR={class:"separator"};function eR(t,e){return r(),v("hr",tR)}const ke=V(JO,[["render",eR],["__scopeId","data-v-9b4a195a"]]),Ka=Mo(Xo.LAYOUT_CONTEXT_MENU,()=>{const t=C(null),e=C(null),o=C(null),n=C(null),s=C(null),a=C(null),l=C(!1);return{selectedLayoutBlockId:t,copiedLayoutBlockId:e,selectedLayoutElementId:n,copiedElementId:s,copiedElementLocale:a,isElementCut:l,copiedLayoutBlockLocale:o,setSelectedLayoutBlockId:E=>{t.value=E},setSelectedLayoutElementId:E=>{n.value=E},setCopiedLayoutBlockId:E=>{e.value=E},setCopiedLayoutBlockLocale:E=>{o.value=E},setCopiedElementId:E=>{s.value=E},setCopiedElementLocale:E=>{a.value=E},setIsElementCut:E=>{l.value=E}}}),oR=200,nR=200,iR="var(--color-dark)",sR="rectangle",aR='',lR=[{name:hn.RECTANGLE},{name:hn.ELLIPSE},{name:hn.TRIANGLE},{name:hn.RHOMBUS},{name:hn.HEXAGON},{name:hn.OCTAGON},{name:hn.STAR},{name:hn.DODECAGRAM},{name:hn.HOR_LINE},{name:hn.BOLDEN_HOR_LINE},{name:hn.DOTTED_HOR_LINE},{name:hn.DASHED_HOR_LINE},{name:hn.VER_LINE},{name:hn.BOLDED_VER_LINE},{name:hn.DOTTED_VER_LINE},{name:hn.DASHED_VER_LINE}],C6={facebook:{link:"https://www.facebook.com/",icon:"facebook",svg:''},instagram:{link:"https://www.instagram.com/",icon:"instagram",svg:''},linkedin:{link:"https://www.linkedin.com/",icon:"linkedin-in",svg:''},twitter:{link:"https://www.twitter.com/",icon:"twitter",svg:''}},rR=({elementId:t,elementPositionKey:e,elementWidth:o})=>{const n=e==="mobile",s=document.querySelector(".app"),a=document.createElement("div"),l=document.querySelector(`[${Lc}='${t}']`).cloneNode(!0),i=n?bi:cs,c=n?Ui:0;a.style.position="fixed",a.style.visibility="hidden",a.style.width=`${i}px`,a.style.height="100%",a.style.padding=`0px ${c}px`,l.style.width=`${o}px`,n&&a.classList.add("zyro-mb-preview"),s.appendChild(a),a.appendChild(l);const p=l.querySelector(`[data-element-ref='${t}']`).offsetHeight;return a.remove(),p},Qi=()=>{const{getters:t,dispatch:e}=et(),o=d(()=>t["gui/isMobileMode"]),n=d(()=>t.siteElements),s=d(()=>t.siteBlocks),a=d(()=>o.value?_e:pe);return{updateElementHeightOnDevices:async({elementId:i,blockId:c})=>{await Ye();const u=c||Kg({elementId:i,siteBlocks:s.value}),p=s.value[u],g=n.value[i],{top:f,width:y}=g[a.value],E=rR({elementId:i,elementPositionKey:a.value,elementWidth:y});if(e("mergeElementData",{elementId:i,elementData:{[a.value]:{height:E}}}),o.value)return;const I=E-g.mobile.height;Object.values((p==null?void 0:p.components)||{}).filter(T=>T!==i).forEach(T=>{const{top:x}=n.value[T].mobile,P=x+I<=0?f+E:x+I;xt!=null&&t.length?Math.max(...t.map(o=>o[e].top+o[e].height)):0,cg=({position:t})=>t?["top","left","width","height"].every(o=>{const n=o in t,s=typeof t[o]=="number"&&t[o]>=0;return n&&s}):!1,dR=200,cR=[Oo,na,Ci,ia,Zi],uR=[ba,ii,ps,kn,Rl],pR=[ba,ii,ps],gR=({elementType:t,elementRawPosition:e,isDesktopMode:o,lowestElementBottom:n})=>{const{rawTop:s,rawLeft:a,rawHeight:l,rawWidth:i}=e,c=uR.includes(t),u=pR.includes(t),p=c?i:Xs;if(o){const g=c?l:dR,f=n+e9;return Qn({width:p,left:a,height:g,top:f},Xs,u)}return Qn({width:p,left:a,height:l,top:s},Xs)},mR=({elementRawPosition:t,isDesktopMode:e,lowestElementBottom:o})=>{const{rawTop:n,rawLeft:s,rawHeight:a,rawWidth:l}=t;return Qn(e?{width:l,left:s,height:a,top:n}:{width:l,left:s,height:a,top:o+o9},Er)},v_=({elementPosition:t,blockPosition:e})=>{const{rawTop:o,rawLeft:n}=t,{top:s,left:a}=e;return{...t,rawTop:Math.max(Math.round(o-s),0),rawLeft:Math.max(Math.round(n-a),0)}},va=()=>{const{t}=_t(),{isAiBuilderMode:e}=Co(),{getters:o,dispatch:n}=et(),{updateElementHeightOnDevices:s}=Qi(),{notify:a}=Oe(),l=d(()=>o["gui/isMobileMode"]),i=d(()=>!l.value),c=d(()=>l.value?pe:_e),u=d(()=>o.isCurrentPagePrivate),p=d(()=>({text:{name:t("common.text"),icon:"text",width:4,widthPixels:400,heightPixels:78,height:3,content:{type:Oo,content:`

${t("builder.elements.defaultTextElementText")}

`,settings:{styles:{"m-element-margin":"0 0 16px 0",text:"left",align:"flex-start",justify:"flex-start"}}}},button:{name:t("common.button"),icon:"button",width:3,widthPixels:130,heightPixels:50,height:2,content:{backgroundColor:"rgb(0, 0, 0)",backgroundColorHover:"rgb(29, 30, 32)",fontColor:"rgb(255, 255, 255)",fontColorHover:"rgb(255, 255, 255)",borderColor:"rgb(0, 0, 0)",borderColorHover:"rgb(0, 0, 0)",type:ii,content:"Button",href:"",linkType:"page",rel:"",settings:{type:"primary",styles:{"m-element-margin":"0 0 16px 0",align:"center",justify:"center"}}}},...e.value||u.value?{}:{ecommerceButton:{name:t("builder.addToBag"),icon:"add-to-bag",width:4,widthPixels:150,heightPixels:50,height:2,content:{backgroundColor:"rgb(0, 0, 0)",backgroundColorHover:"rgb(29, 30, 32)",fontColor:"rgb(255, 255, 255)",fontColorHover:"rgb(255, 255, 255)",borderColor:"rgb(0, 0, 0)",borderColorHover:"rgb(0, 0, 0)",type:ps,content:"Add to bag",settings:{href:"#",type:"primary",styles:{"m-element-margin":"0 0 16px 0",align:"center",justify:"center"}}}}},image:{name:t("common.image"),icon:"image",width:4,widthPixels:480,heightPixels:320,height:6,content:{type:kn,rel:"nofollow",settings:{alt:"Bright living room with modern inventory",origin:"other",path:`${ce}/amenities.jpg`,clickAction:"none",styles:{"m-element-margin":"0 0 16px 0",align:"center",justify:"center"}}}},gallery:{name:t("common.gallery"),icon:"gallery",width:9,widthPixels:640,heightPixels:312,height:2,content:{type:Ci,settings:{layout:"grid",imageClickAction:"lightbox",styles:{"m-element-margin":"0 0 16px 0"}},desktop:{columnGap:16,columnCount:4},mobile:{columnGap:12,columnCount:2},images:[{origin:"other",path:`${Ia}/blue-oval-spheres.png`,alt:"Blue oval spheres"},{origin:"other",path:`${Ia}/green-leaves-in-mist.png`,alt:"Green leaves in mist"},{origin:"other",path:`${Ia}/microscope-bubbles.png`,alt:"Microscope bubbles"},{origin:"other",path:`${Ia}/microscope-water-bubbles.png`,alt:"Microscope water bubbles"},{origin:"other",path:`${Ia}/orange-to-blue-gradient.png`,alt:"Orange to blue gradient"},{origin:"other",path:`${Ia}/white-ball-on-green-floor.png`,alt:"White ball on green floor"},{origin:"other",path:`${Ia}/white-flower-in-pink-background.png`,alt:"White flower in pink background"},{origin:"other",path:`${Ia}/woman-with-flowers-in-hair.png`,alt:"Woman with flowers in hair"}]}},video:{name:t("common.video"),icon:"video",width:5,widthPixels:480,heightPixels:270,height:5,content:{type:qa,settings:{src:"https://www.youtube.com/embed/c8aFcHFu8QM",styles:{"m-element-margin":"0 0 16px 0",align:"center",justify:"center"}}}},shape:{name:t("common.shape"),icon:"shape",widthPixels:oR,heightPixels:nR,content:{type:ba,svg:aR,shape:sR,color:iR}},map:{name:t("common.map"),icon:"map",width:5,widthPixels:480,heightPixels:320,height:5,content:{type:Wa,settings:{"m-element-margin":"0 0 16px 0",src:"https://maps.google.com/maps?q=697 Hilltop Street, Springfield, MA, USA&t=&z=13&ie=UTF8&iwloc=&output=embed",styles:{align:"center",justify:"center"}}}},instagramFeed:{name:t("common.instagramFeedV2"),icon:"instagram",width:10,widthPixels:640,heightPixels:312,height:5,content:{type:ia,settings:{username:null,"item-count":8,styles:{"m-element-margin":"0 0 16px 0","items-per-row":4,"m-items-per-row":3,"item-gap":"16px","m-item-gap":"8px",align:"center",justify:"flex-start"}}}},form:{name:t("common.contactFormRsvp"),icon:"contact",width:5,widthPixels:400,heightPixels:500,height:5,content:{type:na,formId:"Contact form",settings:{successMessage:"Thank You!",schema:[{fieldType:"short-answer",id:"firstName",name:"Name",inputLabel:"Name",validation:[["optional"]],"validation-messages":{required:"This field is required"},placeholder:"Your name",type:"GridInput",svg:"align-left-short",validationType:"text"},{fieldType:"short-answer",id:"lastName",name:"Last name",inputLabel:"Last name",validation:[["optional"]],"validation-messages":{required:"This field is required"},placeholder:"Your last name",type:"GridInput",svg:"align-left-short",validationType:"text"},{fieldType:"short-answer",id:"email",name:"Short answer email",inputLabel:"Your email",validation:[["bail"],["email"],["required"]],"validation-messages":{required:"This field is required",email:"Please enter a valid email address"},placeholder:"Your email address",type:"GridInput",svg:"align-left-short",validationType:"email"},{id:"message",tag:"textarea",inputLabel:"Message",name:"Paragraph",validation:[["required"]],"validation-messages":{required:"This field is required"},placeholder:"Enter your message",type:"GridInput",svg:"align-left"}],theme:"light",styles:{"m-element-margin":"0 0 16px 0",justify:"center",formSpacing:"22px 10px"}},submitButtonBackgroundColor:"rgb(0, 0, 0)",submitButtonBackgroundColorHover:"rgb(29, 30, 32)",submitButtonFontColor:"rgb(255, 255, 255)",submitButtonFontColorHover:"rgb(255, 255, 255)",submitButtonBorderColor:"rgb(0, 0, 0)",submitButtonBorderColorHover:"rgb(0, 0, 0)",labelTextColor:"rgb(26, 26, 26)",inputTextColor:"rgb(26, 26, 26)",inputBorderColor:"rgb(26, 26, 26)",inputFillColor:"rgb(241, 241, 241)",inputFillColorHover:"rgb(241, 241, 241)",submitButtonData:{type:"GridButton",content:"Submit",settings:{type:"primary",isFormButton:!0,styles:{align:"center",justify:"center",position:"8/8/9/10"}}},innerBackground:{current:"",color:"rgb(255, 255, 255)",image:""}}},subscribeForm:{name:t("common.subscribe"),icon:"subscribe",width:5,widthPixels:300,heightPixels:200,height:5,content:{type:na,formId:Sp,settings:{type:"singleField",successMessage:"Thank you!",schema:[{svg:"align-left-short",fieldType:"short-answer",id:"email",name:"email",inputLabel:"Email address",validation:[["required"],["bail"],["email"]],"validation-messages":{required:"Email is required",email:"Please enter a valid email address"},placeholder:"Your email address",type:"GridInput",validationType:"email"}],theme:"light",styles:{"m-element-margin":"0 0 16px 0",align:"space-between",text:"left",justify:"center",formSpacing:"22px 10px"}},submitButtonBackgroundColor:"rgb(0, 0, 0)",submitButtonBackgroundColorHover:"rgb(29, 30, 32)",submitButtonFontColor:"rgb(255, 255, 255)",submitButtonFontColorHover:"rgb(255, 255, 255)",submitButtonBorderColor:"rgb(0, 0, 0)",submitButtonBorderColorHover:"rgb(0, 0, 0)",labelTextColor:"rgb(26, 26, 26)",inputTextColor:"rgb(26, 26, 26)",inputBorderColor:"rgb(26, 26, 26)",inputFillColor:"rgb(241, 241, 241)",inputFillColorHover:"rgb(241, 241, 241)",submitButtonData:{type:"GridButton",content:"Submit",settings:{type:"primary",isFormButton:!0,styles:{align:"center",position:"8/8/9/10"}}},innerBackground:{current:"",color:"rgb(255, 255, 255)",image:""}}},socialIcons:{name:t("common.socialIcons"),icon:"social-links",width:2,widthPixels:200,heightPixels:25,height:1,content:{type:Zi,settings:{useBrandColors:!1,styles:{"m-element-margin":"0 0 16px 0",align:"",justify:"center","space-between-icons":"20px","icon-direction":"row","icon-color":"rgb(0, 0, 0)","icon-color-hover":"rgb(58, 58, 58)","icon-spacing":"space-around","icon-size":"20px"}},links:[...Object.values(C6)]}},embed:{name:t("common.embedCode"),width:6,widthPixels:400,heightPixels:22,height:6,icon:"html-brackets",content:{type:Ol,content:"Your custom embed code",settings:{styles:{}}}},...u.value?{}:{searchBar:{name:t("common.productSearch"),widthPixels:328,heightPixels:48,icon:"search",content:{type:Rl,placeholderText:t("builder.searchBarDefaultPlaceholder"),noResultsText:t("builder.searchBarDefaultNoResultsText"),fillColor:"rgb(255, 255, 255)",fillColorHover:"rgb(255, 255, 255)",resultItemHoverColor:"rgba(0, 0, 0, 0.06)",textAndIconColor:"rgb(114, 117, 134)",textAndIconColorHover:"rgb(29, 30, 32)",borderColor:"rgb(218, 220, 224)",borderColorHover:"rgba(29, 30, 32)",borderRadius:4,fontFamily:"Roboto"}}}})),g=async({blockElements:y,blockId:E,blockToAddRef:I,elementId:T,newElementData:x,newElementRawPosition:P,newElementRelativePosition:z=Qd.BOTTOM})=>{var nt;const{newElementRawLeft:L=0,newElementRawTop:$=0,newElementRawWidth:A,newElementRawHeight:D}=P,O=!y.length,M=wc({blockElements:y,elementPositionKey:_e}),H=wc({blockElements:y,elementPositionKey:pe}),F=l.value?H:M,j=I.getBoundingClientRect(),{left:q,top:W,height:Z,width:G}=j,X={rawLeft:L,rawTop:$,rawHeight:D,rawWidth:A};if(z===Qd.BOTTOM){const tt=W+(Z/2-D/2),mt=O?tt:W+F,it=q+(G/2-A/2);X.rawTop=$+mt,X.rawLeft=it}const ot=mR({elementRawPosition:v_({elementPosition:X,blockPosition:j}),isDesktopMode:i.value,lowestElementBottom:M}),st=gR({elementType:x.type,elementRawPosition:v_({elementPosition:X,blockPosition:j}),isDesktopMode:i.value,lowestElementBottom:H}),J=cg({position:ot}),Q=cg({position:st});if(!J||!Q){Ae({category:"LAYOUT_INVALID_POSITION",message:"Add element",data:{positionKey:J?"mobile":"desktop",position:J?st:ot,elementId:T},level:"debug",type:"debug"}),Wt(new Error("Invalid element position")),n("notifications/notify",{messageI18nKeyPath:"builder.notifications.errorWhileAddingElement"});return}if(n("addElement",{blockId:E,elementId:T,elementData:{...x,desktop:{..."desktop"in x?x.desktop:{},...ot},mobile:{..."mobile"in x?x.mobile:{},...st}}}),await Ye(),!((nt=Object.keys(o.siteElements))==null?void 0:nt.some(tt=>tt===T)))return;const pt=l.value?Xs:Er,dt=Qn(Hr({elementId:T,blockId:E,leftOffset:l.value?Ui:0}),pt);n("mergeElementData",{elementId:T,elementData:{[c.value]:dt}}),cR.includes(x.type)&&s({elementId:T}),n("undoRedo/createSnapshot");const bt=(x==null?void 0:x.formId)===Sp,ht=t7[bt?Sp:x.type],yt=document.querySelector(`[${Lc}="${T}"]`);if(!yt){Wt(new Error(`Element not found in DOM after adding element: ${T}`)),n("notifications/notify",{messageI18nKeyPath:"builder.notifications.errorWhileAddingElement"});return}yt.scrollIntoView({block:"end",behavior:"smooth"}),It.logEvent({eventName:"website_builder.add_element.element_added",eventProperties:{element_name:ht}})};return{addLayoutElement:g,defaultElements:p,pasteElement:async({blockElements:y,blockId:E,pointerEvent:I})=>{var $;const T=Ka();if(!T.copiedElementLocale||!T.copiedElementId){a({message:t("builder.notifications.errorNoElementToPaste")});return}const x=($=o.siteLanguages[T.copiedElementLocale])==null?void 0:$.elements[T.copiedElementId];if(!x)return;const P=ro(x);if(P.type===io.ELEMENT_TYPE_STRIPE_BUTTON)return;const z=document.querySelector(`[data-block-ref='${E}']`),L={newElementRawLeft:I==null?void 0:I.clientX,newElementRawTop:I==null?void 0:I.clientY,newElementRawWidth:l.value?P.mobile.width:P.desktop.width,newElementRawHeight:l.value?P.mobile.height:P.desktop.height};if(Ae({category:T.isElementCut?"CLICK:Cut element":"CLICK:Paste element",data:{elementType:P.type,parentElementId:T.copiedElementId}}),!z){a({message:t("builder.notifications.errorBlockToAddElementNotFound")});return}await g({blockElements:y,blockId:E,blockToAddRef:z,elementId:de(),newElementData:P,newElementRawPosition:L,newElementRelativePosition:Qd.EXACT}),T.isElementCut&&(n("removeElement",{elementId:T.copiedElementId,locale:T.copiedElementLocale}),T.setIsElementCut(null),T.setCopiedElementId(null),T.setCopiedElementLocale(null),n("undoRedo/createSnapshot"))}}},cn=Mo(Xo.USER,()=>{const t=C(null),e=C(!1),o=C(!1),n=C(!1),s=d(()=>{var p;return(p=t.value)==null?void 0:p.hPanelId}),a=d(()=>{var g;const{tld:p}=v$(((g=t.value)==null?void 0:g.resellerUrl)||"");return p}),l=p=>{e.value=p},i=p=>{o.value=p},c=p=>{n.value=p},u=({userData:p})=>{t.value=p,UD(a.value)};return window.hwbToggleAiTools=()=>{i(!o.value),c(!n.value)},{user:t,userHpanelId:s,areFeaturesLocked:e,isAiTypeSelectionVisible:o,isJsonClipboardEnabled:n,userResellerTld:a,setUser:u,setAreFeaturesLocked:l}});function hR({languageData:t}){const e=Object.fromEntries(Object.keys(t.blocks).map(a=>[a,oc(6)])),o=Object.fromEntries(Object.keys(t.elements).map(a=>[a,oc(6)])),n=Object.fromEntries(Object.entries(t.blocks).map(([a,l])=>{var c,u;return[e[a],{...l,zindexes:((c=l.zindexes)==null?void 0:c.map(p=>o[p]||p))||[],components:((u=l==null?void 0:l.components)==null?void 0:u.map(p=>o[p]||p))||[]}]})),s=Object.fromEntries(Object.entries(t.elements).map(([a,l])=>[o[a]||e[a]||a,l]));return{blocks:n,elements:s}}const bR=()=>{const t=Bt(),{copy:e}=hT(),{notify:o}=Oe(),n=C("text/plain"),s=d(()=>t.siteBlocks),a=({blockId:c})=>{const u=s.value[c],p=Object.fromEntries(Object.entries(t.siteElements).filter(([f])=>{var y;return(y=u.components)==null?void 0:y.includes(f)})),g={blocks:{[c]:u},elements:p};return JSON.stringify(g)};return{copyEntireBlockDataToClipboard:({blockId:c})=>{const u=a({blockId:c}),p=new ClipboardItem({[n.value]:new Blob([u],{type:n.value})});e([p])},pasteEntireBlockDataFromClipboard:async({selectedBlockId:c})=>{try{const p=await(await navigator.clipboard.read())[0].getType(n.value),g=JSON.parse(await p.text()||"{}"),f=hR({languageData:g}),y=Object.keys(f.blocks),E=d(()=>{if(!t.currentPage)throw new Error("Error occured while pasting block data, page does not exist");const{blocks:x}=t.currentPage;if(!x)return y;const P=x.indexOf(c);return P===-1?x:x.toSpliced(P+1,0,...y)}),I={...f,pages:{[t.currentPageId]:{blocks:E.value}}};d6.validateSiteBlock(Object.values(I.blocks)[0]);const T=es(t.currentSiteLanguage,I);t.setSiteLanguageData({locale:t.currentLocale,data:T})}catch(u){o({message:"Failed to paste block from JSON, check console for more details"}),console.error("Error pasting block data from clipboard",u)}}}},fR={class:"block-context-menu"},yR={key:0,class:"block-context-menu__heading"},vR={class:"text-bold-2"},_R={key:1},wR=K({__name:"ContextMenuLayoutBlock",props:{isEnabled:{type:Boolean,default:!0},blockElements:{type:Array,required:!0},blockId:{type:String,required:!0},triggerRef:{type:Element,default:null},isMobileCopyPasteAllowed:{type:Boolean,default:!1}},emits:["close-context-menu","delete-block"],setup(t,{emit:e}){const o=t,n=e,{t:s}=_t(),a=Ka(),{pasteElement:l}=va(),{closeContextMenu:i}=Gl(),{state:c,getters:u,dispatch:p}=et(),{copyEntireBlockDataToClipboard:g,pasteEntireBlockDataFromClipboard:f}=bR(),{notify:y}=Oe(),E=Bt(),I=cn(),T=d(()=>E.site),x=d(()=>c.gui.isMobileScreen),P=d(()=>u.isCurrentPagePrivate),z=d(()=>c.currentLocale),L=d(()=>c.currentPageId),$=d(()=>u.siteLanguages),A=d(()=>u.siteBlocks),D=d(()=>{var st;return a.copiedElementLocale&&a.copiedElementId&&!!((st=$.value[a.copiedElementLocale])!=null&&st.elements[a.copiedElementId])}),O=d(()=>{var st;return a.selectedLayoutBlockId&&((st=A.value[a.selectedLayoutBlockId])==null?void 0:st.slot)==="footer"}),M=d(()=>Object.values($.value).some(st=>a.copiedLayoutBlockId&&st.blocks[a.copiedLayoutBlockId])),H=d(()=>{var st;return u.isCurrentPageTypeLegacyEcommerceProduct?a.copiedLayoutBlockId&&((st=A.value[a.copiedLayoutBlockId])==null?void 0:st.type)===ha:!M.value||O.value}),F=()=>{a.setCopiedLayoutBlockId(a.selectedLayoutBlockId),a.setCopiedLayoutBlockLocale(P.value?te:z.value)},j=()=>{const{newBlock:st,newElements:J,newBlocks:Q}=od({siteData:T.value,blockId:a.copiedLayoutBlockId,fromLocale:a.copiedLayoutBlockLocale});Ae({category:"CLICK:Pasting section",data:{blockType:st.type,parentBlockId:a.selectedLayoutBlockId}}),p("addBlock",{pageId:L.value,blockData:st,blocks:Q,elements:J,previousBlockId:a.selectedLayoutBlockId,isCopy:!0})},q=()=>{a.setSelectedLayoutBlockId(null),o.triggerRef?n("close-context-menu"):i()},W=()=>{F(),q()},Z=()=>{if(!a.selectedLayoutBlockId){Wt(new Error("No section selected to copy")),y({message:s("builder.notifications.errorNoSectionToCopy")});return}g({blockId:a.selectedLayoutBlockId}),q()},G=()=>{j(),q()},X=()=>{if(!a.selectedLayoutBlockId){Wt(new Error("No section selected to copy")),y({message:s("builder.notifications.errorNoSectionToCopy")});return}f({selectedBlockId:a.selectedLayoutBlockId}),q()},ot=st=>{l({blockElements:o.blockElements,blockId:o.blockId,pointerEvent:st}),q()};return(st,J)=>{const Q=rt("qa");return r(),S(T6,{"is-enabled":!!m(a).selectedLayoutBlockId&&t.isEnabled,"trigger-ref":t.triggerRef,onCloseContextMenu:q},{default:k(()=>[h("div",fR,[x.value?(r(),v("div",yR,[h("p",vR,w(m(s)("builder.editText.moreOptions")),1),R((r(),S(gt,{"button-type":"plain",title:m(s)("common.close"),onClick:q},{icon:k(()=>[b(ct,{name:"close"})]),_:1},8,["title"])),[[Q,"mobile-context-menu-btn-close"]])])):B("",!0),!x.value||t.isMobileCopyPasteAllowed?(r(),v("span",_R,[b(Zn,{icon:"place_item",title:m(s)("builder.contextMenu.gridBlock.paste"),disabled:!D.value,onClick:J[0]||(J[0]=lt=>ot(lt))},null,8,["title","disabled"]),m(I).isJsonClipboardEnabled?(r(),S(Zn,{key:0,icon:"place_item",title:m(s)("builder.contextMenu.gridBlock.pasteSectionFromJson"),onClick:X},null,8,["title"])):B("",!0),m(u).isCurrentPageTypeLegacyEcommerceProduct?B("",!0):(r(),v(at,{key:1},[b(ke),b(Zn,{icon:"content_copy",title:m(s)("builder.contextMenu.gridBlock.copySection"),disabled:O.value,onClick:W},null,8,["title","disabled"]),m(I).isJsonClipboardEnabled?(r(),S(Zn,{key:0,icon:"content_copy",title:m(s)("builder.contextMenu.gridBlock.copySectionAsJson"),disabled:O.value,onClick:Z},null,8,["title","disabled"])):B("",!0),b(Zn,{icon:"place_item",title:m(s)("builder.contextMenu.gridBlock.pasteSection"),disabled:H.value,onClick:G},null,8,["title","disabled"])],64))])):B("",!0),x.value?(r(),S(Zn,{key:2,icon:"delete_outline",title:m(s)("common.delete"),onClick:J[1]||(J[1]=lt=>n("delete-block"))},null,8,["title"])):B("",!0)])]),_:1},8,["is-enabled","trigger-ref"])}}}),P6=V(wR,[["__scopeId","data-v-2598e96f"]]),kR={},ER={class:"vertical-separator"};function IR(t,e){return r(),v("hr",ER)}const Vo=V(kR,[["render",IR],["__scopeId","data-v-ba77cac8"]]),SR=[Wa,qa],xR=({lowestElementBottom:t,sectionMinHeight:e})=>{const n=t>=e?0:e-t;return t?`${n}px`:"1fr"},ug=({blockElementsWithPosition:t})=>{try{const e=t.flatMap(({position:n})=>[n.top,n.height+n.top]);return[...new Set([0,...e])].sort((n,s)=>n-s)}catch(e){console.error(e)}},Nf=({rowTopsUniqueSorted:t,columnsLeftUniqueSorted:e,elementPosition:o})=>{const{top:n,left:s,width:a,height:l}=o,i=t.indexOf(n)+1,c=t.indexOf(n+l)+1,u=e.indexOf(s)+1,p=e.indexOf(s+a)+1;return{rowStart:i,rowEnd:c,columnStart:u,columnEnd:p}},pg=({blockElementsWithPosition:t,blockWidth:e})=>{const o=t.flatMap(({position:s})=>[s.left,s.width+s.left]);return[...new Set([0,...o,e])].sort((s,a)=>s-a)},kc=({blockElements:t,elementPositionKey:e})=>t.map(o=>({...o,position:o[e]})),__=({blockElements:t,elementPositionKey:e,buildResponsiveGrid:o})=>{const n=e===pe?Xs:cs,s=kc({blockElements:t,elementPositionKey:e});return pg({blockElementsWithPosition:s,blockWidth:n}).map((c,u,p)=>u===0?c:c-p[u-1]).filter(c=>c!==0).map(c=>o?`${c/n*100}%`:`${c}px`).join(" ")},TR=({gridRows:t})=>t.filter(e=>e!==0),CR=({gridRows:t})=>t.map(e=>`${e}px`),PR=({gridRows:t})=>t.map(e=>`minmax(${e}px, auto)`),BR=({gridRows:t,responsiveRows:e,isMobile:o})=>t.map((n,s)=>e.includes(s+1)?"auto":`${n*100/(o?bi:cs)}vw`),Ah=({gridRows:t,lastRowHeight:e})=>`${t.join(" ")} ${e}`,$u=({blockElements:t,elementPositionKey:e,buildResponsiveGrid:o,responsiveRows:n,lowestElementBottom:s,sectionMinHeight:a})=>{const l=e===pe,i=kc({blockElements:t,elementPositionKey:e}),u=ug({blockElementsWithPosition:i}).map((y,E,I)=>E===0?y:y-I[E-1]),p=xR({lowestElementBottom:s,sectionMinHeight:a}),g=TR({gridRows:u});if(!o){const y=CR({gridRows:g});return Ah({gridRows:y,lastRowHeight:p})}if(!n){const y=PR({gridRows:g});return Ah({gridRows:y,lastRowHeight:p})}const f=BR({gridRows:g,responsiveRows:n,isMobile:l});return Ah({gridRows:f,lastRowHeight:p})},w_=({blockElements:t,elementPositionKey:e})=>{const o=kc({blockElements:t,elementPositionKey:e}),n=ug({blockElementsWithPosition:o}),s=pg({blockElementsWithPosition:o,blockWidth:e===pe?Xs:cs});return t.filter(a=>!SR.includes(a.type)).reduce((a,l)=>{const{rowEnd:i,rowStart:c}=Nf({rowTopsUniqueSorted:n,columnsLeftUniqueSorted:s,elementPosition:l[e]}),u=i>c?i-c:1,p=[...new Array(u).keys()].map((g,f)=>c+f);return a.some(g=>p.includes(g))?a:[...a,i-1]},[])},AR=(t,e)=>{const o=kc({blockElements:t,elementPositionKey:_e}),n=ug({blockElementsWithPosition:o}),s=pg({blockElementsWithPosition:o,blockWidth:cs}),a=kc({blockElements:t,elementPositionKey:pe}),l=ug({blockElementsWithPosition:a}),i=pg({blockElementsWithPosition:a,blockWidth:cs});return t.map(c=>{var x;const{rowStart:u,rowEnd:p,columnStart:g,columnEnd:f}=Nf({rowTopsUniqueSorted:n,columnsLeftUniqueSorted:s,elementPosition:c.desktop}),{rowStart:y,rowEnd:E,columnStart:I,columnEnd:T}=Nf({rowTopsUniqueSorted:l,columnsLeftUniqueSorted:i,elementPosition:c.mobile});return{...c,settings:{...c.settings,styles:{...((x=c.settings)==null?void 0:x.styles)||{},"z-index":e.indexOf(c.elementId)+1,"grid-row":`${u}/${p}`,"grid-column":`${g}/${f}`,"m-grid-row":`${y}/${E}`,"m-grid-column":`${I}/${T}`}}}})},tu=({blockData:t,siteElements:e,shouldBuildResponsive:o=!0}={})=>{const n=C(o),s=d(()=>t.value.components.map(L=>({...e.value[L],elementId:L}))),a=d(()=>{var L;return(L=s==null?void 0:s.value)!=null&&L.length?wc({blockElements:s.value,elementPositionKey:pe}):null}),l=d(()=>{var L;return(L=s==null?void 0:s.value)!=null&&L.length?wc({blockElements:s.value,elementPositionKey:_e}):null}),i=d(()=>{var L,$;return(L=t.value.mobile)!=null&&L.minHeight&&a.value?"auto":`${(($=t.value.mobile)==null?void 0:$.minHeight)||ig}px`}),c=d(()=>{var L,$;return(L=t.value.desktop)!=null&&L.minHeight&&l.value?"auto":`${($=t.value.desktop)==null?void 0:$.minHeight}px`}),u=d(()=>t.value.components.some(L=>!e.value[L].mobile)),p=d(()=>$u({blockElements:s.value,elementPositionKey:_e,buildResponsiveGrid:n.value})),g=d(()=>__({blockElements:s.value,elementPositionKey:_e,buildResponsiveGrid:n.value})),f=d(()=>__({blockElements:s.value,elementPositionKey:pe,buildResponsiveGrid:n.value})),y=d(()=>w_({blockElements:s.value,elementPositionKey:pe})),E=d(()=>{var L;return $u({blockElements:s.value,elementPositionKey:pe,buildResponsiveGrid:n.value,responsiveRows:y.value,lowestElementBottom:a.value,sectionMinHeight:(L=t.value.mobile)==null?void 0:L.minHeight})}),I=d(()=>$u({blockElements:s.value,elementPositionKey:pe,buildResponsiveGrid:n.value})),T=d(()=>w_({blockElements:s.value,elementPositionKey:_e})),x=d(()=>{var L;return $u({blockElements:s.value,elementPositionKey:_e,buildResponsiveGrid:n.value,responsiveRows:T.value,lowestElementBottom:l.value,sectionMinHeight:(L=t.value.desktop)==null?void 0:L.minHeight})}),P=d(()=>AR(s.value,t.value.zindexes)),z=d(()=>{var L;return{"--m-grid-template-rows":E.value,"--t-grid-template-rows":I.value,"--small-desktop-grid-template-rows":x.value,"--grid-template-rows":p.value,"--m-grid-template-columns":f.value,"--grid-template-columns":g.value,"--m-block-min-height":i.value,"--t-block-min-height":`${((L=t.value.mobile)==null?void 0:L.minHeight)||ig}px`,"--small-desktop-block-min-height":c.value,"--block-min-height":`${t.value.desktop.minHeight}px`}});return{blockElements:s,layoutElements:P,buildResponsiveGrid:n,layoutCSSVars:z,isMobileLegacy:u}},gs="https://builder-backend.hostinger.com/v1/ai",B6=({brandName:t,brandDescription:e,websiteType:o,templateId:n,fonts:s,siteId:a,generateImages:l=!0,isHeroImageAiGenerated:i=!1,colors:c,domain:u,txtRecord:p,hostingReferenceId:g})=>qt.post(`${gs}/generate-site-paid`,{brandName:t,websiteDescription:e,websiteType:o,templateId:n,theme:YA,fonts:s,siteName:t,generateImages:l,isHeroImageAiGenerated:i,...a&&{siteId:a},colors:c,domain:u,txtRecord:p,hostingReferenceId:g}),A6=({description:t,brandName:e})=>qt.post(`${gs}/website-type`,{description:t,...e&&{brandName:e}}),DR=({pageDescription:t,siteId:e})=>qt.post(`${gs}/generate-page`,{pageDescription:t,siteId:e},{isRetryNeeded:!0}),zR=({description:t,siteId:e})=>qt.post(`${gs}/generate-section`,{description:t,siteId:e}),bRt=({input:t,locale:e})=>qt.post(`${gs}/template-search`,{input:t,locale:e}),LR=({description:t,width:e,height:o,siteId:n,count:s})=>qt.post(`${gs}/generate-images`,{description:t,width:e,height:o,siteId:n,count:s}),$R=({tone:t,length:e,description:o})=>qt.post(`${gs}/generate-blog-post`,{description:o,tone:t,length:e}),OR=({prompt:t})=>qt.post(`${gs}/generate-text`,{prompt:t}),RR=({imageUrl:t})=>qt.post(`${gs}/seo/alt-tag`,{assetUrl:t}),k_=({brandDescription:t,keywords:e})=>qt.post(`${gs}/seo`,{text:t,keywords:e}),fRt=({brandName:t,brandDescription:e,templateId:o,siteId:n,domain:s,txtRecord:a,hostingReferenceId:l})=>qt.post(`${gs}/generate-template-site`,{brandName:t,websiteDescription:e,templateId:o,siteId:n,txtRecord:a,hostingReferenceId:l,...s&&{domain:s}},{isRetryNeeded:!0}),Ds={fragment:!0,collapseEmptyAttributes:!0},E_=({html:t,tagName:e})=>{const{data:o}=Bs().data("settings",Ds).use(()=>(n,s)=>{s.data.tagsCount=0,As(n,"element",a=>{a.tagName===e&&(s.data.tagsCount+=1)})}).processSync(t);return o.tagsCount},I_=({html:t,tagsToMatch:e})=>{const{data:o}=Bs().data("settings",Ds).use(()=>(n,s)=>{s.data.isMatching=!1,As(n,"element",a=>{e.includes(a.tagName)&&(s.data.isMatching=!0)})}).processSync(t);return o.isMatching},MR=2e4,NR=2e3,HR=t=>{const e=setInterval(()=>{if(t.readyState!==1){clearInterval(e);return}t.send("keep-alive")},MR)},GR=async({url:t,onMessage:e,onClose:o,enableRepeatMessageProtection:n=!1})=>{const s=new WebSocket(t);return s.recentlySentMessages=[],s.addEventListener("message",e),s.addEventListener("close",o),await new Promise(a=>{const l=()=>{a(),s.removeEventListener("open",l)};s.addEventListener("open",l)}),s.originalClose=s.close,s.close=(...a)=>{s.originalClose(...a),s.removeEventListener("message",e),s.removeEventListener("close",o)},s.originalSend=s.send,s.send=a=>{if(n&&typeof a=="string"&&s.recentlySentMessages.includes(a))return;const i=a;s.originalSend(a),s.recentlySentMessages.push(i),window.setTimeout(()=>{s.recentlySentMessages=s.recentlySentMessages.filter(c=>c!==i)},NR)},HR(s),s},Dh=C(!1),zh=C(null),Lh=C(!1),hm=()=>{const t=()=>{zh.value=null},e=(a=!1)=>{Dh.value=!0,Lh.value=a},o=()=>{Dh.value=!1,Lh.value=!1,t()},n=({x:a,y:l,width:i,height:c})=>{zh.value={x:a,y:l,width:i,height:c}};return{isOverlayVisible:Dh,highlightedElementCoordinates:zh,showOverlay:e,hideOverlay:o,setHighlightedElement:({element:a}={})=>{const{x:l,y:i,width:c,height:u}=a.getBoundingClientRect();n({x:l,y:i,width:c,height:u})},setHighlightedElementCoordinates:n,resetHighlightedElement:t,hideOverlayOnClick:Lh}},$h=C(!1),Ed=C(null),Ou=C(null),S_=C(null),x_=C(null),cl=C(null),eu=()=>{const{showOverlay:t,hideOverlay:e}=hm(),o=i=>{cl.value=i,x_.value=Ou.value[i]},n=({steps:i,stepCountToShow:c=i.length,onEndCallback:u}={})=>{Ou.value=i,S_.value=c,Ed.value=u,o(0),$h.value=!0,t()},s=()=>{$h.value=!1,Ou.value=null,cl.value=null,window.localStorage.setItem(EP,!0),e(),Ed.value&&(Ed.value(),Ed.value=null)};return{onboardingStepsCountToShow:S_,currentOnboardingStepIndex:cl,startOnboarding:n,goToNextOnboardingStep:()=>{cl.value!==Ou.value.length-1?o(cl.value+1):s()},goToPreviousOnboardingStep:()=>{cl.value!==0?o(cl.value-1):s()},endOnboarding:s,onboardingEndCallback:Ed,currentOnboardingStep:x_,isOnboardingVisible:$h}},gg="builder-sidebar",mg="builder-header-btn-publishsite",Ec="builder-header-btn-switchview",bm=nc.create({timeout:15e4,headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}}});qt.interceptors.request.handlers.forEach(t=>bm.interceptors.request.use(t.fulfilled,t.rejected));qt.interceptors.response.handlers.forEach(t=>bm.interceptors.response.use(t.fulfilled,t.rejected));bm.interceptors.response.use(t=>Vr({...t,data:typeof t.data.data<"u"?t.data.data:t.data}));const FR=bm,un=Mo(Xo.DOMAIN,()=>{const{state:t,getters:e,dispatch:o}=et(),n=cn(),s=Bt(),a=Ga(),l=C(""),i=C(null),c=C(null),u=C(!1),p=C(!1),g=C(!1),f=d(()=>`https://${s.siteMeta.shouldAddWWWPrefixToDomain?"www.":""}${l.value}`),y=d(()=>{var A;return i.value?(A=i.value)==null?void 0:A.nextBestAction:null}),E=d(()=>y.value===Be.CONNECT_DOMAIN_TEMPORARY),I=d(()=>y.value?[Be.MANAGE,Be.TRANSFER_DOMAIN,Be.RENEW_DOMAIN,Be.RESTORE_DOMAIN].includes(y.value):!1),T=d(()=>y.value?[Be.MANAGE,Be.TRANSFER_DOMAIN].includes(y.value):!1),x=A=>{l.value=um(A)},P=()=>{try{Ym.setAxiosInstance(FR),Ym.setConfig({WEB_HOSTING_API_URL:"https://builder.hostinger.com/api/rest-hosting",HDOMAINS_API_URL:"https://builder.hostinger.com/api/domains/api/direct",PREVIEW_DOMAIN:FC,WH_API_URL:"https://builder.hostinger.com/api/wh-api"})}catch(A){Wt(A)}},z=()=>{var O;if(!!((O=e.builderCompletedSteps)!=null&&O.isDomainPropagatedEventSent)||!y.value)return;[Be.MANAGE,Be.TRANSFER_DOMAIN,Be.RENEW_DOMAIN,Be.PENDING_VERIFICATION].includes(y.value)&&(It.logEvent({eventName:"website_builder.domain.propagated",eventProperties:{website_id:t.websiteId,domain_name:l.value}}),o("addBuilderCompletedStep",{isDomainPropagatedEventSent:!0}))},L=async()=>{if(n.userHpanelId)try{p.value=!0;const A=await Ym.getDomainStatus({domain:l.value});p.value=!1,i.value=A.domainStatus,c.value=A.additionalDetails.domainDetails||null,z()}catch(A){Wt(A)}},$=async()=>{try{g.value=!0;const A=a.getResourcesByTypes([Bl.FREE_DOMAIN]);u.value=A.some(D=>(D==null?void 0:D.state)===lg.PENDING)}catch(A){Wt(A)}g.value=!1};return{customDomainReadable:d(()=>kg(l.value)),customDomain:l,siteCustomDomainUrl:f,domainStatus:i,domainDetails:c,domainNextBestAction:y,isDomainConnected:I,isDomainActive:T,isEligibleForFreeDomain:u,isStatusLoading:p,isFreeDomainEligibilityLoading:g,isCustomDomainTemporary:E,setCustomDomain:x,setHDomainsStatusConfig:P,fetchDomainStatus:L,fetchFreeDomainEligibility:$}}),xn=Mo(Xo.ECOMMERCE_ADMIN,()=>{const t=Bt(),e=ue(),o=Eo(),n=C(!1),s=C(""),a=C(!1),l=C(!1),i=C(!0),c=async()=>{o.canSave&&await o.saveWebsite()},u=async({isOpen:T,path:x,params:P})=>{if(!T){n.value=!1,s.value="",i.value=!0;return}await c();const z=sm({path:x,siteId:t.websiteId,params:{...P}});n.value=T,s.value=z};return{shouldUpdateEcommerceData:a,isEcommerceAdminIframeOpen:n,ecommerceAdminIframeSrc:s,setIsEcommerceAdminIframeOpen:u,handleEcommerceAdminMessage:T=>{if(T.data===m7){const{notify:x}=Oe();u({isOpen:!1}),x({messageI18nKeyPath:"builder.storeManagerUnavailable"}),i.value=!0;return}if(T.data===b7&&(i.value=!1),typeof T.data=="object"&&T.data[0]===h7){if(e.isStoreUsed)return;const x=T.data[1];t.setSiteMetaData({key:"ecommerceStoreId",value:x});return}g7!==T.data||a.value||(a.value=!0)},handleEcommerceDataUpdate:async()=>{var x;if(e.resetProductsList(),await e.initEcommerce({refetch:!0}),l.value=!0,!!e.currentDynamicPageProductId&&e.currentDynamicPageProductId!==-1&&(e.productsSeo.some(z=>z.id===e.currentDynamicPageProductId)||e.setCurrentDynamicPageProductId(((x=e.productsSeo[0])==null?void 0:x.id)||-1)),t.isCurrentPageTypeEcommerceProduct){const P=e.templateProductMap[t.currentPageId];(P==null?void 0:P.length)>0&&e.setCurrentDynamicPageProductId(P[0])}a.value=!1,await Ye(),l.value=!1},openProductsAddInIframe:async()=>{u({isOpen:!0,path:bo.PRODUCTS_ADD})},openPaymentsInIframe:async()=>{u({isOpen:!0,path:bo.PAYMENT_MANAGEMENT})},openCompanyInformationInIframe:async()=>{u({isOpen:!0,path:bo.COMPANY_INFORMATION})},openShippingEditInIframe:async({shouldEditFirst:T})=>{u({isOpen:!0,path:bo.SHIPPING_EDIT,params:{shouldEditFirst:T}})},isEcommerceDataBeingUpdatedAfterChangesInAdmin:l,isEcommerceIframeLoading:i}}),_a=Mo(Xo.GAMIFICATION,()=>{const t=C(),e=C([]),o=C(!1),n=C(),s=C(),a=Bt(),l=m6(),i=d(()=>e.value.filter(({isCompleted:E})=>E).length),c=d(()=>{if(l.isMobileScreen||!s.value)return!1;const E=Math.floor(new Date(s.value).getTime()/1e3);return a.siteMeta.template===b4?E>$P:E>LP});return{ws:t,achievements:e,isGamificationLoaded:o,lastCompletedAchievement:n,createdAt:s,completedAchievementsCount:i,setWebsocketObject:E=>{if(E instanceof WebSocket){t.value=E;return}t.value=void 0},setAchievements:E=>{e.value=E},setIsGamificationLoaded:E=>{o.value=E},setLastCompletedAchievement:E=>{n.value=E},setCreatedAt:E=>{s.value=E},isGamificationAvailableForSite:c}}),VR="getAchievements",UR="completeAchievement",jR=1e3,WR=["h1","h2","h3","h4","h5","h6"],qR=[Cl,Bi],Wo=()=>{const t=am(),{dispatch:e,state:o,getters:n}=et(),s=un(),{setHighlightedElement:a,showOverlay:l}=hm(),{endOnboarding:i}=eu(),{redirectToHPanelAddDomain:c,redirectToHPanelDomainSettings:u}=dn(),{t:p}=_t(),{openProductsAddInIframe:g,openPaymentsInIframe:f,openCompanyInformationInIframe:y,openShippingEditInIframe:E}=xn(),I=_a(),T=ue(),x=d(()=>I.achievements.filter(({id:mt})=>qR.includes(mt))),P=d(()=>I.achievements.filter(({id:mt,type:it})=>![Cl,Bi].includes(mt)&&it!==ef.ECOMMERCE)),z=d(()=>{var it;return T.isStoreUsed?((it=I.achievements)==null?void 0:it.filter(({type:vt})=>vt===ef.ECOMMERCE)).map(vt=>vt.id===cc?{...vt,isPendingCompletion:!vt.achievedAt&&T.isPaymentsConnectionPending}:vt):[]}),L=d(()=>z.value.filter(({isCompleted:mt})=>mt)),$=d(()=>L.value.length),A=d(()=>I.achievements.some(({id:mt})=>mt===Ba)),D=d(()=>P.value.filter(({isCompleted:mt})=>mt)),O=d(()=>I.lastCompletedAchievement),M=d(()=>D.value.length),H=d(()=>{var mt;return((mt=P.value)==null?void 0:mt.length)>0&&P.value.length===M.value}),F=d(()=>I.isGamificationLoaded),j=d(()=>Object.keys(n.siteBlocks).find(mt=>n.siteBlocks[mt].slot===ea)),q=d(()=>o.websiteId),W=mt=>`[data-popper-reference="${mt}"]`,Z=mt=>I_({html:mt,tagsToMatch:["p"]}),G=mt=>I_({html:mt,tagsToMatch:WR}),X=mt=>{var it;return(it=I.achievements)==null?void 0:it.find(vt=>mt===vt.id)},ot=d(()=>{var mt;return!!((mt=X(Ba))!=null&&mt.isCompleted)}),st=d(()=>{const mt=F.value&&!P.value.length;return I.isGamificationAvailableForSite&&!mt}),J=({elementType:mt})=>[...n.currentPage.blocks,...j.value?[j.value]:[]].flatMap(vt=>(n.siteBlocks[vt].components||[]).map(At=>({id:At,...n.siteElements[At]}))).filter(vt=>n.siteElements[vt.id].type===mt),Q=mt=>{const it=document.querySelector(mt);it==null||it.scrollIntoView({block:"center"})},lt=mt=>{e("updateCurrentBlockId",null),e("selectCurrentElement",{elementId:mt}),e("enterElementEditMode")},pt=d(()=>[{id:vr},{id:lc,tooltipText:p("builder.gamificationHeadingEdited"),clickAction:()=>{const it=J({elementType:Oo}).find(vt=>G(vt.content));if(!it){e(`gui/${ui}`,{id:Ss});return}Q(`[data-element-ref="${it.id}"]`),lt(it.id)}},{id:aa,tooltipText:p("builder.gamificationImageUpdated"),clickAction:()=>{const[mt]=J({elementType:kn});if(mt){Q(`[data-element-ref="${mt.id}"]`),lt(mt.id);return}const vt=n.currentPage.blocks.map(Et=>({id:Et,...n.siteBlocks[Et]})).find(Et=>Et.type===oa&&Et.background.current==="image");if(!vt){e(`gui/${ui}`,{id:Ss});return}Q(`[data-block-ref="${vt.id}"]`),e("updateCurrentBlockId",vt.id),e("setDefaultBlockEditTab","background"),e("enterBlockEditMode")}},{id:rc,tooltipText:p("builder.gamificationParagraphEdited"),clickAction:()=>{const it=J({elementType:Oo}).find(vt=>Z(vt.content));if(!it){e(`gui/${ui}`,{id:Ss});return}Q(`[data-element-ref="${it.id}"]`),lt(it.id)}},{id:Bi,tooltipText:p("builder.gamificationLogoUpdated"),clickAction:()=>{var it;if(!(((it=n.siteBlocks.header)==null?void 0:it.type)===ja)){e(`gui/${ui}`,{id:ss});return}Q("#header"),e("updateCurrentBlockId","header"),e("setDefaultBlockEditTab",hc),e("enterBlockEditMode")}},{id:Zs,tooltipText:p("builder.gamificationSocialIconsChanged"),clickAction:()=>{const[mt]=J({elementType:Zi});if(!mt){e(`gui/${ui}`,{id:Ss});return}Q(`[data-element-ref="${mt.id}"]`),lt(mt.id)}},{id:dc,tooltipText:p("builder.gamificationMobileChecked"),clickAction:()=>{const mt=W(Ec),it=document.querySelectorAll(mt)[1];a({element:it}),l(!0)}},{id:Cl,tooltipText:p("builder.gamificationSeoUpdated"),clickAction:()=>{e("gui/OPEN_DRAWER",{id:hi})}},{id:Ba,tooltipText:p("builder.gamificationDomainConnected"),clickAction:()=>{if(ot.value){u({currentDomain:s.customDomain,siteId:o.websiteId});return}c({currentDomain:s.customDomain,siteId:o.websiteId})}},{id:Mr,tooltipText:p("builder.gamficationPublished"),clickAction:()=>{const mt=W(mg);a({element:document.querySelector(mt)}),l(!0)}},{id:Up,clickAction:()=>g()},{id:cc,clickAction:()=>f()},{id:Wp,clickAction:()=>y()},{id:jp,clickAction:()=>E({shouldEditFirst:1})}]),dt=()=>{if(!I.ws||I.ws.readyState!==1)throw new Error("Websocket doesn't exist or is not connected");const mt=JSON.stringify({method:VR});I.ws.send(mt)},bt=async mt=>{var At;const it=!!((At=X(mt))!=null&&At.isCompleted),vt=!A.value&&mt===Ba;if(!st.value||it||vt||(I.ws||await tt(q.value),!I.ws||I.ws.readyState!==1))return;const Et=JSON.stringify({method:UR,slug:mt});try{I.ws.send(Et),It.logEvent({eventName:uc.TASK_COMPLETED[mt]}),P.value.every(Lt=>Lt.id===mt||(Lt==null?void 0:Lt.isCompleted))&&It.logEvent({eventName:uc.COMPLETED})}catch(kt){e("notifications/notify",{messageI18nKeyPath:"builder.gamificatioFailedError"}),Wt(kt)}},ht=async()=>{H.value||(I.setWebsocketObject(),await new Promise(mt=>{window.setTimeout(mt,jR)}),tt(q.value))},yt=async mt=>{var it;if(!mt.data||mt.data==="JWT verification failed"){I.setIsGamificationLoaded(!0),nt();return}try{const vt=JSON.parse(mt.data.toString());if(!(vt!=null&&vt.achievements)){nt();return}const Et=[...P.value],At=new Date(vt.created_at).getTime(),Lt=Object.entries(vt.achievements).filter(([Ot])=>pt.value.find(Zt=>Zt.id===Ot)).map(([Ot,Zt])=>{const Ut=pt.value.find(ye=>ye.id===Ot);return{id:Ot,drawerNote:Ut!=null&&Ut.drawerNote?p(Ut==null?void 0:Ut.drawerNote):"",isCompleted:!!Zt.achieved_at,achievedAt:Zt.achieved_at,name:p(OP[Ot]),clickAction:Ut==null?void 0:Ut.clickAction,tooltipText:Ut==null?void 0:Ut.tooltipText,type:Zt.product}});I.setAchievements(Lt),I.setIsGamificationLoaded(!0),I.setCreatedAt(At);const jt=Ot=>Et.some(Zt=>Ot.id===Zt.id&&(Ot==null?void 0:Ot.isCompleted)!==(Zt==null?void 0:Zt.isCompleted)),$t=P.value.find(Ot=>jt(Ot));$t&&I.setLastCompletedAchievement($t),!!!((it=X(vr))!=null&&it.isCompleted)&&st.value&&(i(),bt(vr))}catch(vt){String(vt).includes("jwt expired")&&(await t.refreshToken(),nt(),tt(q.value))}},nt=()=>{if(I.ws)try{I.ws.close(),I.setWebsocketObject()}catch(mt){e("notifications/notify",{messageI18nKeyPath:"builder.gamificatioFailedError"}),Wt(mt)}},tt=async mt=>{if(!I.isGamificationAvailableForSite){I.setIsGamificationLoaded(!0);return}if(!(!mt||I.ws))try{const it=await GR({url:`wss://gamification.hostinger.com/gamification?site_id=${mt}`,onMessage:yt,onClose:ht,enableRepeatMessageProtection:!0});I.setWebsocketObject(it),P.value.length||dt()}catch(it){Wt(it),I.setIsGamificationLoaded(!0),e("notifications/notify",{messageI18nKeyPath:"builder.gamificationFailedErrorV2"})}};return Mt(H,mt=>{mt&&nt()}),{achievements:P,otherTips:x,completedAchievementsCount:M,areAllAchievementsCompleted:H,connectToWebsocket:tt,closeWebsocketConnection:nt,completeAchievement:bt,achievementData:pt,isParagraphElement:Z,isHeadingElement:G,handleMessageEvent:yt,isGamificationVisible:st,lastCompletedAchievement:O,getAchievementById:X,ecommerceTips:z,completedEcommerceTips:L,completedEcommerceTipsCount:$}},av="https://builder-backend.hostinger.com/v3/sites/assets",YR=async t=>{const{data:e}=await qt.get(`${av}/${t}`);return e},KR=async(t,e)=>qt.delete(av,{data:{assets:t,siteId:e}}),ZR=(t,e)=>{const o=new FormData;return o.append("font",t),o.append("siteId",e),qt.post("https://builder-backend.hostinger.com/v3/sites/assets/fonts",o,{headers:{"Content-Type":"multipart/form-data"}})},QR=({siteId:t,assetsData:e={}})=>qt.post(`${av}/${t}/assets-data`,{assetsData:e}),lv=({directory:t,assetPaths:e,assets:o,includeFromSubfolders:n=!1})=>Object.entries(e).filter(([,s])=>{var c;const a=s.path.startsWith(t);if(n)return a;if(!a)return!1;const l=(c=s.path.split(t)[1])==null?void 0:c.match(Q9),i=s.path.match(Z9);return l||i}).map(([s,a])=>({...o.find(({url:i})=>i.split("/").slice(-1)[0]===s),...a})),XR=({assetsData:t})=>{const e=Object.values(t).flatMap(s=>{const a=s.path.lastIndexOf("/");return s.path.slice(0,a).split("/").filter(i=>i).map((i,c,u)=>`/${u.slice(0,c+1).join("/")}/`)});return[...new Set(e)].map(s=>{const a=s.split("/").filter(i=>i!==""),l=a.slice(0,-1).join("/");return{path:s,name:decodeURIComponent(a[a.length-1]),id:de(),parentPath:l.length?`/${l}/`:"/"}}).sort((s,a)=>s.name.localeCompare(a.name))},JR=({directory:t,folders:e})=>e.filter(o=>o.parentPath===t),T_=t=>{const e=encodeURIComponent(t);return e.split(".").length===1?e:e.split(".").slice(0,-1).join(".")},C_=({assetsList:t,id:e})=>{var s;const o=(s=t.value.find(a=>a.id===e))==null?void 0:s.url,n=(o==null?void 0:o.split("/"))||[];return n[n.length-1]},D6=["jpg","jpeg","png","gif","svg","webp","wav","mp3","flac","ogg","mp4","avi","mov","wmv","flv","doc","docx","xls","xlsx","ppt","pptx","odt","odp","pdf","epub","txt","rtf"],Ro={IMAGE:"image",VIDEO:"video",AI_IMAGE:"aiImage",DOCUMENT:"document"},Ic=[Ro.IMAGE,Ro.DOCUMENT],Ho={MY_LIBRARY:"myLibrary",MY_LIBRARY_PAYWALL:"myLibraryPaywall",IMAGES:"images",DOCUMENTS:"documents",UNSPLASH:"unsplash",PEXELS:"pexels",AI_IMAGES:"aiImages"},So=C([]),P_=C(!1),Oh=C(!1),Rh=C([]),tM=C(null),Ru=C([]),Mu=C(0),B_=17,A_=t=>t*1024*1024,rv=t=>t.category===Ro.DOCUMENT,ks=t=>[Ro.IMAGE,Ro.AI_IMAGE].includes(t.category),eM=t=>rv(t)?A_(pf):ks(t)?A_(gf):0,dv=(t,e=!1)=>{if(!t)return"";const o=Na(t),n=o.indexOf("."),s=n>=0?n:o.length,a=s>B_?s-B_:s,l=o.slice(a,s),i=o.replace(l,""),c=i.split(".");if(c.length===1)return i;const p=c.slice(0,c.length-1).join(".");return e?`${p}.${Vn(i)}`:p},zs=(t,e)=>{const o=Bt(),n=_a(),s=Eo(),a=C(!1),{state:l,dispatch:i,getters:c}=et(),{completeAchievement:u,isGamificationVisible:p}=Wo(),{notify:g}=Oe(),f=d(()=>c["assets/currentDirectory"]),y=d(()=>lv({directory:f.value,assets:So.value,assetPaths:c["assets/assetPaths"]})),E=nt=>{const{file:tt,url:mt,isFetchedFromServer:it,isBeingUploaded:vt,category:Et,lastModified:At}=nt;let kt=Et;if(!kt){const jt=Vn((tt?tt.name:mt)||"");kt=by.includes(jt)?Ro.IMAGE:Ro.DOCUMENT}return{id:de(),isFetchedFromServer:it,url:mt,file:tt,isBeingUploaded:vt,isGalleryImageSelected:!1,isValid:!0,hasFailed:!1,transferProgress:0,category:kt,lastModified:At,initialDirectory:vt?f.value:null}},I=(nt,tt)=>{const mt=So.value.findIndex(({id:it})=>it===nt);if(mt>-1){const it=So.value[mt];So.value.splice(mt,1,{...it,...tt})}else{const it=E(tt);So.value=[it,...So.value]}},T=d(()=>So.value.filter(({hasFailed:nt})=>nt)),x=d(()=>So.value.filter(({isBeingUploaded:nt})=>nt)),P=d(()=>x.value.filter(({isValid:nt})=>nt)),z=d(()=>x.value.filter(({isValid:nt})=>!nt)),L=()=>{Ae({category:"useAssets.js",message:"removeInvalidAssetsBeingUploaded"});const nt=z.value.map(({id:tt})=>tt);So.value=So.value.filter(({id:tt})=>!nt.includes(tt))},$=nt=>{var tt,mt;I(nt.id,{height:((tt=nt.loadedImage)==null?void 0:tt.originalHeight)||null,width:((mt=nt.loadedImage)==null?void 0:mt.originalWidth)||null,galleryId:(t==null?void 0:t.galleryId)||null,name:nt.file.name,type:nt.file.type,lastModified:nt.file.lastModified,size:nt.file.size})},A=nt=>{if(Vn(nt.file.name)==="svg"||Vn(nt.file.name)==="ico"){const mt=new FileReader;mt.addEventListener("load",it=>{I(nt.id,{urlBase64:it.target.result})}),mt.readAsDataURL(nt.file);return}const tt=new FileReader;tt.addEventListener("load",mt=>{I(nt.id,{urlBase64:mt.target.result})}),b1.scale(nt.loadedImage.image,{maxWidth:1370}).toBlob(mt=>{tt.readAsDataURL(mt)})},D=nt=>{Object.entries(o.site.languages).forEach(([tt,mt])=>{const{elements:it,blocks:vt}=mt;Object.entries(vt).forEach(([Et,At])=>{var Ot,Zt;const{background:kt,type:Lt,slides:jt,settings:$t}=At,Ct=(kt==null?void 0:kt.path)===nt||(kt==null?void 0:kt.origin)===gh&&((Ot=kt==null?void 0:kt.path)==null?void 0:Ot.endsWith(nt));if((kt==null?void 0:kt.current)===Fe.IMAGE&&Ct&&i("updateBlockData",{blockId:Et,blockData:{background:{current:Fe.COLOR,path:null,image:null,origin:null,"overlay-opacity":null},attachment:null},merge:!0,locale:tt}),Lt===ja&&(($t==null?void 0:$t.logoImagePath)===nt||(kt==null?void 0:kt.origin)===gh&&((Zt=$t==null?void 0:$t.logoImagePath)==null?void 0:Zt.endsWith(nt)))){const ye=(mt==null?void 0:mt.metaTitle)??c.currentLanguageData.metaTitle??c.siteMeta.metaTitle,Jt={...At,settings:{...At.settings,logoImagePath:null,logoText:ye,selectedLogoType:"text"}};i("updateBlockData",{blockId:Et,blockData:Jt,locale:tt})}if(Lt===k4&&(jt==null?void 0:jt.some(ye=>ye.path===nt))){const ye={...At,slides:jt.filter(Jt=>Jt.path!==nt)};i("updateBlockData",{blockId:Et,blockData:ye,locale:tt})}}),Object.entries(it).forEach(([Et,At])=>{var $t;const{type:kt,settings:Lt,images:jt}=At;if(kt===kn&&(Lt.path===nt||Lt.origin===gh&&(($t=Lt.path)!=null&&$t.endsWith(nt)))&&i("removeElement",{elementId:Et,locale:tt}),kt===Ci&&jt.some(Ot=>Ot.path===nt)){const Ot={...At,images:jt.filter(Zt=>Zt.path!==nt)};i("mergeElementData",{elementId:Et,elementData:Ot,locale:tt})}})})},O=nt=>{Ae({category:"useAssets.js",message:"deleteAsset"}),So.value=So.value.filter(({id:tt})=>tt!==nt)},M=async(nt,tt)=>{var vt,Et;const mt=Vn(nt.file.name);if(!D6.includes(mt)){I(nt.id,{hasFailed:!0,isDimensionsTooLarge:!1,isUnsupportedFormat:!0});return}const it=qt.CancelToken.source();tt.append("siteId",l.websiteId),I(nt.id,{cancelSource:it,hasFailed:!1});try{const At=ks(nt)?"https://builder-backend.hostinger.com/v3/sites/assets/images":"https://builder-backend.hostinger.com/v3/sites/assets/files",kt=await qt.post(At,tt,{whitelistedStatusCodes:[413,415],cancelToken:it.token,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:jt=>{const $t=Math.min((jt.loaded/nt.file.size).toFixed(2)*100,100);I(nt.id,{transferProgress:$t})}});I(nt.id,{transferProgress:100,url:decodeURI(kt.data.url),isBeingUploaded:!1});const Lt=So.value.find(({id:jt})=>jt===nt.id);return Ru.value=[...Ru.value,{...kt.data,initialDirectory:Lt.initialDirectory}],kt}catch(At){return Wt(At),I(nt.id,{hasFailed:!0,isDimensionsTooLarge:((vt=At.response)==null?void 0:vt.status)===413,isUnsupportedFormat:((Et=At.response)==null?void 0:Et.status)===415}),{}}},H=()=>{Ae({category:"useAssets.js",message:"deleteFailedAssets"}),So.value=So.value.filter(({hasFailed:nt})=>!nt)},F=()=>{try{P.value.forEach(nt=>{$(nt),ks(nt)&&A(nt);const tt=new FormData,mt=["svg","gif","webp"],it=Vn(nt.file.name),vt=it.includes(mt),Et=()=>it.toLowerCase()==="jpg"?"jpeg":vt?"png":it,At="image";if(!ks(nt)){tt.append("file",nt.file,nt.file.name),M(nt,tt);return}it==="svg"?(tt.append(At,nt.file,nt.file.name),M(nt,tt)):nt.loadedImage.image.toBlob(kt=>{tt.append(At,vt||!nt.loadedImage.exif?nt.file:kt,nt.file.name),M(nt,tt)},`image/${Et()}`)})}catch(nt){Wt(nt||new Error("Failed to upload assets"),{tags:{errorType:"Failed to upload assets"}})}finally{Mu.value=P.value.length}},j=()=>{F(T.value)},q=()=>{a.value=!0},W=nt=>{nt.preventDefault(),a.value=!0},Z=()=>{a.value=!1},G=async()=>{const nt=x.value.filter(it=>ks(it));(await Promise.allSettled(nt.map(async it=>{try{return{...it,loadedImage:await b1(it.file,{canvas:!0,orientation:!0,meta:!0})}}catch{throw I(it.id,{hasFailed:!0}),new Error("Failed to load image")}}))).filter(it=>it.status==="fulfilled").map(it=>it.value).forEach(({id:it,loadedImage:vt})=>{I(it,{loadedImage:vt})})},X=nt=>{I(nt,{isValid:!1})},ot=()=>{x.value.forEach(nt=>{const{id:tt,file:mt}=nt;if(mt.size>eM(nt)){X(tt);return}So.value.some(vt=>vt.lastModified===mt.lastModified&&vt.size===mt.size)&&X(tt)})},st=async nt=>{var mt,it;nt.preventDefault(),a.value=!1;const tt=((mt=nt==null?void 0:nt.dataTransfer)==null?void 0:mt.files)||((it=nt==null?void 0:nt.target)==null?void 0:it.files);tt&&([...tt].forEach(vt=>I(null,{file:vt,isFetchedFromServer:!1,isBeingUploaded:!0})),await G(),await ot(),!z.value.length&&F())},J=async({file:nt})=>{I(null,{file:nt,isFetchedFromServer:!1,isBeingUploaded:!0}),await G(),await ot();const tt=P.value[0],mt=Vn(tt.file.name);if(z.value.length||mt!=="svg")return{};const it=new FormData;it.append("image",tt.file,tt.file.name);const vt=await M(tt,it);if(!vt.data)throw new Error("Failed to upload asset");return vt.data},Q=()=>{So.value=So.value.map(nt=>{const tt=y.value.some(mt=>mt.url===nt.url);return{...nt,isGalleryImageSelected:tt&&(ks(nt)||nt.isGalleryImageSelected)}})},lt=()=>{So.value=So.value.map(nt=>({...nt,isGalleryImageSelected:!1}))},pt=async()=>{Oh.value=!0;const nt=Rh.value.map(tt=>Na(tt.url)).map(tt=>{var vt;const mt="generated";return((vt=tt.split("-"))==null?void 0:vt[0])===mt?`${mt}/${tt}`:tt});try{await KR(nt,l.websiteId),P_.value=!1,e==null||e.emit("close"),Rh.value.forEach(tt=>{const mt=tt.url.includes(c.headerBlock.settings.logoImagePath),it=n.achievements.find(({id:vt})=>vt===Bi);p&&mt&&it&&!it.isCompleted&&u(Bi),O(tt.id)}),nt.forEach(D),s.saveWebsite()}catch(tt){g({messageI18nKeyPath:"builder.errorWhileDeletingImage"}),Wt(tt),console.error(tt)}finally{Oh.value=!1}},dt=({asset:nt,newAltTag:tt})=>{const{url:mt}=nt,it=(mt==null?void 0:mt.split("/"))||[],vt=it[it.length-1];Object.entries(o.site.languages).flatMap(([At,kt])=>{const{elements:Lt,blocks:jt}=kt;return Object.entries(jt).forEach(([Ct,{background:Ot}])=>{Ot.current===CC&&Ot.path===vt&&i("updateBlockData",{blockId:Ct,blockData:{background:{alt:tt}},merge:!0})}),Object.entries(Lt).filter(([,{type:Ct,settings:Ot,images:Zt}])=>Ct===kn?Ot.path===vt:Ct===Ci?Zt.some(({path:Ut})=>Ut===vt):!1).map(([Ct,Ot])=>{const{settings:Zt,type:Ut,images:ye}=Ot;return Ut===kn?[Ct,At,{...Ot,settings:{...Zt,alt:tt}}]:Ut===Ci?[Ct,At,{...Ot,images:ye.map(Jt=>Jt.path!==vt?Jt:{...Jt,alt:tt})}]:[Ct,At,Ot]})}).forEach(([At,kt,Lt])=>{i("mergeElementData",{elementId:At,elementData:Lt,locale:kt})})};Mt([()=>l.assets.hasInitialized,()=>l.assets.hasLoaded],([nt,tt])=>{if(!nt&&tt){const mt=l.assets.assets.map(it=>E({...it,url:decodeURI(it.url),isFetchedFromServer:!0})).reverse();So.value=mt,i("assets/initAssetManager")}},{immediate:!0}),Mt(Ru,nt=>{if(nt.length===0||nt.length!==Mu.value)return;const tt=nt.filter(mt=>mt.url);i("assets/addAssetsFolderData",{assets:tt}),Ru.value=[],Mu.value=0},{immediate:!0});const bt=nt=>{const tt=So.value.findIndex(({id:it})=>it===nt),mt=So.value[tt];So.value.splice(tt,1,{...mt,isGalleryImageSelected:!mt.isGalleryImageSelected})};let ht=null;const yt=nt=>{ht=nt,ht.addEventListener("dragenter",q),ht.addEventListener("dragover",W),ht.addEventListener("dragleave",Z),ht.addEventListener("drop",st)};return ao(()=>{ht&&(ht.removeEventListener("dragenter",q),ht.removeEventListener("dragover",W),ht.removeEventListener("dragleave",Z),ht.removeEventListener("drop",st))}),{updateUsedImageAltTag:dt,isAssetCategoryDocument:rv,isAssetCategoryImage:ks,isDraggedOver:a,isDeleteAssetModalOpened:P_,isAssetBeingDeleted:Oh,listenForDragAndDrop:yt,onSelectFiles:st,deleteFailedAssets:H,retryFailedAssets:j,assets:So,uploadAssets:F,uploadAsset:M,upsertAsset:I,getAssetNameFromUrl:dv,invalidAssetsBeingUploaded:z,removeInvalidAssetsBeingUploaded:L,selectAllGalleryImages:Q,deselectSelectedGalleryImages:lt,toggleGalleryImageCheckbox:bt,hasServerAssetsLoaded:d(()=>l.assets.hasInitialized),uploadSvgAsset:J,deleteMediaAsset:pt,assetsToDelete:Rh,folderToDelete:tM,uploadingAssetCount:Mu,removeAssetFromData:D}},Za="https://builder-backend.hostinger.com/billing",oM=async t=>{const{data:e}=await qt.get(`${Za}/subscriptions/site/${t}`);return e.subscription},nM=async()=>{const{data:t}=await qt.get(`${Za}/subscriptions`);return t},iM=async({siteId:t,subscriptionId:e})=>qt.patch(`${Za}/subscriptions/connect-site`,{siteId:t,subscriptionId:e}),sM=t=>qt.get(`${Za}/subscriptions/activate-plan`,{params:{"site-id":t}}),Hf=async()=>(await qt.get(`${Za}/sites`,{whitelistedStatusCodes:[401]})).data,aM=()=>qt.get(`${Za}/estimates/credits`),lM=t=>qt.post(`${Za}/orders/credits/purchase`,t),rM=t=>qt.post(`${Za}/orders/credits/confirm`,{token:t}),dM="https://builder-backend.hostinger.com/v3/hostinger-integration/unused-domain",cM=async()=>{const{data:t}=await qt.get(dM);return t.websiteDomain},z6="https://builder-backend.hostinger.com/v1/users",L6=async()=>{const{data:t}=await qt.get(`${z6}/me`,{whitelistedStatusCodes:[401]});return t.user},uM=t=>qt.patch(`${z6}/locale`,{locale:t});const D_="SET_UNUSED_HOSTINGER_DOMAIN",z_="SET_IS_AUTH_INITIATED",$6="DECREMENT_CREDITS",pM={namespaced:!0,state:{user:null,isAuthInitiated:!1,hostingerDomain:null},getters:{isZyroUser:t=>{var e;return/@(zyro|hostinger)\.com$/.test((e=t.user)==null?void 0:e.email)},isGoRobotsUser:t=>{var e,o;return(o=(e=t.user)==null?void 0:e.email)==null?void 0:o.includes(L1)},isPanelRegressionUser:t=>{var e,o;return(o=(e=t.user)==null?void 0:e.email)==null?void 0:o.includes(sP)},isGoRobotsFreePublishUser:t=>{var e;return(e=t.user)==null?void 0:e.email.includes(aP)},isHostingerRef:t=>{var e;return((e=t.user)==null?void 0:e.ref)===nP},isUserAllowedToPublish:(t,e,o,n)=>e.isZyroUser||e.isGoRobotsFreePublishUser||n["subscription/hasActiveSubscription"],isAbleToConnectHostingerDomain:(t,e)=>!!(e.isHostingerRef&&t.hostingerDomain),getUserEmail:t=>{var e;return(e=t.user)==null?void 0:e.email},userId:t=>{var e;return(e=t.user)==null?void 0:e.id},userHpanelId:t=>{var e;return(e=t.user)==null?void 0:e.hPanelId}},mutations:{[z_]:(t,e)=>{t.isAuthInitiated=e},setUser:(t,e)=>{t.user=e},[D_]:(t,e)=>{t.hostingerDomain=e},[$6]:(t,e)=>{t.user={...t.user,credits:t.user.credits-e}}},actions:{getUser:async({state:t,commit:e,getters:o},n)=>{var i;const s=Bt(),a=cn(),l=Eo();if(!(t.isAuthInitiated&&!(n!=null&&n.force))){e(z_,!0);try{const c=await L6();if(!c)return;(i=c.email)!=null&&i.includes(L1)&&(s.setSiteMetaData({key:"qa",value:!0}),await l.saveWebsite()),e("setUser",c),a.setUser({userData:c}),It.initAmplitude({userId:o==null?void 0:o.userHpanelId});const u={id:c.id,hPanelId:o==null?void 0:o.userHpanelId,CRM:`https://crm.hostinger.io/client/${o==null?void 0:o.userHpanelId}`};X5(u),bT(u)}catch(c){Wt(c)}}},setHostingerDomain:async({commit:t,getters:e})=>{if(!e.isHostingerRef)return;const o=await cM();t(D_,o)}}},gM=2e3,mM=20,cv=()=>{const{state:t,dispatch:e,commit:o}=et(),n=d(()=>t.user.user.credits),s=C(0),a=C(!1),l=()=>{localStorage.removeItem(vp),a.value=!1},i=async()=>{if(s.value>=mM){l();return}const u=localStorage.getItem(vp);if(!(!(new URLSearchParams(window.location.search).get("creditsPurchased")==="1")||!u))try{a.value=!0,await rM(u),await e("user/getUser",{force:!0}),localStorage.removeItem(vp),a.value=!1,e("notifications/notify",{theme:$c,headingI18nKeyPath:"builder.imageCreditsToasterHeader",messageI18nKeyPath:"builder.imageCreditsToasterMessage"}),It.logEvent({eventName:"website_builder.ai_image_generator.payment_successful"})}catch(f){if(f.request.status!==402){l();return}setTimeout(async()=>{s.value+=1,await i()},gM)}};return{userCredits:n,isCreditsOrderCheckLoading:a,checkCreditsOrder:i,decrementUserCredits:({generateImageCount:u=Vp}={})=>o(`user/${$6}`,Math.round(TP*u))}},L_=C(null),ou=()=>({activeDrawerPageSettingsPopup:L_,setActiveDrawerPageSettingsPopup:({pageId:e,tab:o=zn.GENERAL})=>{L_.value={id:e,tab:o}}}),Nu=C(!1),$_=C(!1),Mh=C(!1),Tn=()=>{const{dispatch:t}=et(),{isAiBuilderMode:e}=Co(),o=ai(),{activeDrawerPageSettingsPopup:n}=ou(),s=()=>{Nu.value=!Nu.value},a=()=>{Mh.value=!0},l=()=>{Mh.value=!1,t(`gui/${xs}`),o.currentRoute.value.name!==Is&&!e.value&&o.push({name:Is})};return{isSidebarOpen:Nu,isInnerSidebarOpen:Mh,isSidebarBackdropVisible:$_,toggleSidebar:s,closeSidebar:()=>{Nu.value=!1,$_.value=!1,n.value=null,l()},openInnerSidebar:a,closeInnerSidebar:l}},Xl="square",O_=1024,R_=1024,hM="landscape",M_=1344,N_=768,pi=C(!1),O6=()=>{const{decrementUserCredits:t}=cv(),{completeAchievement:e}=Wo(),{notify:o}=Oe(),{t:n}=_t(),{upsertAsset:s}=zs(),{closeSidebar:a}=Tn(),{state:l,dispatch:i,getters:c}=et(),{defaultElements:u,addLayoutElement:p}=va(),{hoveredBlockId:g}=Hl(),f=d(()=>c.siteElements),y=d(()=>c.siteBlocks),E=d(()=>c["gui/isMobileMode"]),I=d(()=>l.currentBlockId||g.value),T=d(()=>y.value[I.value]),{blockElements:x}=tu({blockData:T,siteElements:f,shouldBuildResponsive:!1}),P="https://support.hostinger.com/en/articles/8670801-website-builder-guidelines-for-ai-image-generation",z=C([]),L=C(!1),$=[{name:n("builder.aiImageGenerationStyleEnhance"),file:"/images/image-generator-styles/enhance.png",value:"enhance"},{name:n("builder.aiImageGenerationStyleAnime"),file:"/images/image-generator-styles/anime.png",value:"anime"},{name:n("builder.aiImageGenerationStyleDigitalArt"),file:"/images/image-generator-styles/digital-art.png",value:"digital-art"},{name:n("builder.aiImageGenerationStyleComicBook"),file:"/images/image-generator-styles/comic-book.png",value:"comic-book"},{name:n("builder.aiImageGenerationStyleFantasyArt"),file:"/images/image-generator-styles/fantasy-art.png",value:"fantasy-art"},{name:n("builder.aiImageGenerationStyleAnalogFilm"),file:"/images/image-generator-styles/analog-film.png",value:"analog-film"},{name:n("builder.aiImageGenerationStyleNeonPunk"),file:"/images/image-generator-styles/neon-punk.png",value:"neon-punk"},{name:n("builder.aiImageGenerationStyleIsometric"),file:"/images/image-generator-styles/isometric.png",value:"isometric"},{name:n("builder.aiImageGenerationStyleLowPoly"),file:"/images/image-generator-styles/low-poly.png",value:"low-poly"},{name:n("builder.aiImageGenerationStyleOrigami"),file:"/images/image-generator-styles/origami.png",value:"origami"},{name:n("builder.aiImageGenerationStyleLineArt"),file:"/images/image-generator-styles/line-art.png",value:"line-art"},{name:n("builder.aiImageGenerationStyleCraftClay"),file:"/images/image-generator-styles/craft-clay.png",value:"modeling-compound"},{name:n("builder.aiImageGenerationStyleCinematic"),file:"/images/image-generator-styles/cinematic.png",value:"cinematic"},{name:n("builder.aiImageGenerationStyle3DModel"),file:"/images/image-generator-styles/3d-model.png",value:"3d-model"},{name:n("builder.aiImageGenerationStylePixelArt"),file:"/images/image-generator-styles/pixel-art.png",value:"pixel-art"}],A=C(Xl),D=()=>{z.value=[],L.value=!1},O=async({description:W,shouldAddImageElement:Z=!1,imageCount:G=Vp})=>{var J,Q;L.value=!0,A.value=l.currentElementId||Z?Xl:hM;const X=A.value===Xl?O_:M_,ot=A.value===Xl?R_:N_,st=()=>o({headingI18nKeyPath:"builder.invalidAiImageDescription",messageI18nKeyPath:"builder.aiImageDescriptionIncludesBadWords",isDiscardButtonShown:!1,submitLabelI18nKeyPath:"common.learnMore",submitCallback:()=>{window.open(P,"_blank")}});try{const{data:lt,config:pt}=await LR({description:W,width:X,height:ot,siteId:l.websiteId,count:G});if(!lt.images.length){st(),D();return}lt.images.forEach(bt=>{const ht=`/${bt.name}`;i("assets/setAssets",[...l.assets.assets,{...bt,name:bt.name,path:ht}]),s(null,{...bt,url:decodeURI(bt.url),isFetchedFromServer:!0,name:bt.name,path:ht}),z.value.push(bt.url)}),i("assets/addAssetsFolderData",{assets:l.assets.assets}),t({generateImageCount:lt.images.length}),It.logEvent({eventName:"website_builder.ai_image_generator.created",eventProperties:{"x-correlation-id":pt.headers["X-Correlation-Id"]}})}catch(lt){if(console.error(lt),L.value=!1,((J=lt.response)==null?void 0:J.status)===451){st();return}if(((Q=lt.response)==null?void 0:Q.status)===429){o({message:n("builder.aiImageGenerationDailyLimit")});return}o({message:n("builder.aiImageGenerationFailedGeneration")}),Wt(lt)}L.value=!1},M=W=>{const{origin:Z}=new URL(W);return{fullResolutionWidth:A.value===Xl?O_:M_,fullResolutionHeight:A.value===Xl?R_:N_,settings:{path:W,origin:Z}}},H=async W=>{var J;const Z=u.value.image,G=M(W),X={...Z.content,...G,settings:{...Z.content.settings,...G.settings,styles:{...((J=Z.content.settings)==null?void 0:J.styles)||{}}}},ot=document.querySelector(`[data-block-ref='${I.value}'`),st={newElementRawTop:s7,newElementRawWidth:E.value?Iu.MOBILE:Iu.DESKTOP,newElementRawHeight:E.value?Iu.MOBILE:Iu.DESKTOP};await p({blockElements:x.value,blockId:I.value,blockToAddRef:ot,elementId:de(),newElementData:X,newElementRawPosition:st})},F=W=>{i("mergeCurrentElementData",{elementData:M(W)}),i("undoRedo/createSnapshot"),e(aa)},j=W=>{const{origin:Z}=new URL(W),G={image:W,origin:Z,path:W,current:"image",color:null,alt:null};i("updateBlockData",{blockId:l.currentBlockId,blockData:{background:G},merge:!0}),i("undoRedo/createSnapshot"),e(aa)};return{isGeneratingImages:L,generateImages:O,updateImage:async({shouldAddImageElement:W=!1,imageSrc:Z})=>{if(Z){if(W){if(!T.value){o({messageI18nKeyPath:"builder.aiImageCannotBeAddedToCurrentSectionError"}),a();return}if(T.value.type===oa){H(Z),a();return}const G=V9({imageData:M(Z)});i("addBlock",{pageId:l.currentPageId,blockData:G.blockData,elements:G.elements,previousBlockId:I.value}),a();return}if(!(!l.currentElementId&&!l.currentBlockId)){if(l.currentElementId){F(Z);return}l.currentBlockId&&j(Z)}}},generatedImageSrcList:z,IMAGE_GENERATOR_STYLES:$,resetImageGenerator:D,aiImageGenerateGuildArticleLink:P}},Sc=t=>t[Math.floor(Math.random()*t.length)],R6=(t,e)=>{const o=[...t],n=o.indexOf(e),s=o[n],a=Math.max(0,n-1),l=o[a];return o[n]=l,o[a]=s,o},M6=(t,e)=>{const o=[...t],n=o.indexOf(e),s=o[n],a=Math.min(o.length-1,n+1),l=o[a];return o[n]=l,o[a]=s,o},bM=(t,e)=>{const o=[...t],[n]=o.splice(o.indexOf(e),1);return o.push(n),o},fM=(t,e)=>{const o=[...t],[n]=o.splice(o.indexOf(e),1);return o.unshift(n),o},H_=(t,e,o)=>o?bM(t,e):M6(t,e),G_=(t,e,o)=>o?fM(t,e):R6(t,e),yM=(t,e)=>t.sort((o,n)=>Math.abs(e-o)-Math.abs(e-n))[0],F_=t=>Math.max(...t),V_=t=>Math.min(...t),vM=({array1:t,array2:e})=>t.length!==e.length?!1:t.every((o,n)=>o===e[n]),_M={key:0,class:"text-body-2"},wM=K({__name:"AiImageGenerationButton",emits:["toggle-ai-generate"],setup(t,{emit:e}){const{getters:o}=et(),n=e,s=d(()=>o["gui/isMobileMode"]);return rn(()=>{pi.value=!1}),(a,l)=>{const i=rt("qa");return r(),S(ko,{class:"generate-image-button"},{default:k(()=>[R((r(),S(gt,{"button-type":"text",onClick:l[0]||(l[0]=c=>n("toggle-ai-generate"))},{icon:k(()=>[b(ct,{name:"auto_awesome"})]),default:k(()=>[s.value?B("",!0):(r(),v("span",_M,w(a.$t("builder.aiImageGenerationGenerateImage")),1))]),_:1})),[[i,"generate-image-button"]])]),_:1})}}}),N6=V(wM,[["__scopeId","data-v-14f15868"]]),kM={class:"block-edit-controls"},EM={key:0,class:"text-body-2"},IM=K({__name:"BlockEditControlsBar",props:{blockId:{type:String,required:!0},enterEditModeButtonTitle:{type:String,required:!0},targetRef:{type:HTMLElement,default:null},isDuplicateButtonVisible:{type:Boolean,default:!1},isVisibilityButtonVisible:{type:Boolean,default:!1},isDeleteButtonVisible:{type:Boolean,default:!1},showDeleteWarning:{type:Boolean,default:!1},isReorderingButtonVisible:{type:Boolean,default:!1},isContextMenuButtonVisible:{type:Boolean,default:!0},isBlockWithElements:{type:Boolean,default:!1},isStretchToFullWidthButtonVisible:{type:Boolean,default:!1}},setup(t){const e=t,{getters:o,state:n,dispatch:s}=et(),a=Ka(),{hoveredBlock:l}=Hl(),{mousePositionX:i,mousePositionY:c,isContextMenuWithTriggerActive:u}=Gl(),{isAiBuilderMode:p}=Co(),g=C(null),f=C(!1),y=Bt(),E=cn(),I=d(()=>n.gui.isMobileScreen),T=d(()=>o.isCurrentPagePrivate),x=d(()=>y.site),P=d(()=>o.siteBlocks),z=d(()=>o.siteElements),L=d(()=>o.currentPage),$=d(()=>L.value.blocks),A=d(()=>L.value.blocks.indexOf(e.blockId)),D=d(()=>P.value[e.blockId]),O=d(()=>e.isDeleteButtonVisible&&!I.value),M=d(()=>e.isVisibilityButtonVisible&&!I.value),H=d(()=>n.currentLocale),F=d(()=>n.currentPageId),j=d(()=>{var ht;return((ht=D.value[_e])==null?void 0:ht.isHidden)??!1}),q=d(()=>{var ht;return((ht=D.value[pe])==null?void 0:ht.isHidden)??!1}),W=d(()=>A.value!==0&&A.value!==-1),Z=d(()=>A.value!==$.value.length-1&&A.value!==-1),G=d(()=>D.value.type===oa&&!p.value),{blockElements:X}=e.isBlockWithElements?tu({blockData:D,siteElements:z,shouldBuildResponsive:!1}):{},ot=()=>{s("enterBlockEditMode"),s("leaveElementEditMode")},st=()=>{s("leaveElementEditMode"),s("leaveBlockEditMode");const{newBlock:ht,newElements:yt,newBlocks:nt}=od({siteData:x.value,blockId:e.blockId,fromLocale:T.value?te:H.value});s("addBlock",{pageId:F.value,blockData:ht,blocks:nt,elements:yt,previousBlockId:e.blockId,isCopy:!0}),Ae({category:"CLICK:Duplicate section",data:{blockId:e.blockId,pageId:F.value}})},J=({isHidden:ht,positionKey:yt})=>{s("updateBlockData",{blockId:e.blockId,blockData:{[yt]:{isHidden:ht}},merge:!0})},Q=({forceRemove:ht=!1}={})=>{e.showDeleteWarning&&!ht?f.value=!0:(s("leaveElementEditMode"),s("leaveBlockEditMode"),s("setDefaultBlockEditTab",""),Ae({category:"CLICK:Remove section",data:{blockId:e.blockId}}),s("removeBlock",{blockId:e.blockId}),l.value=null)},lt=async({direction:ht})=>{const yt=ht==="up"?R6($.value,e.blockId):M6($.value,e.blockId);s("mergePageData",{pageId:F.value,pageData:{blocks:yt}})},pt=({location:ht}={})=>{pi.value||It.logEvent({eventName:"website_builder.ai_image_generator.enter",eventProperties:{location:`section-${ht}`}}),pi.value=!pi.value},dt=({isOpen:ht})=>{a.setSelectedLayoutBlockId(ht?e.blockId:null),u.value=ht,i.value=null,c.value=null},bt=()=>{s("updateBlockData",{blockId:e.blockId,blockData:{isFullWidth:!D.value.isFullWidth},merge:!0})};return rn(()=>{pi.value=!1}),(ht,yt)=>{var tt;const nt=rt("qa");return r(),v(at,null,[h("div",kM,[m(E).isAiTypeSelectionVisible?(r(),S(S6,{key:0,"block-id":t.blockId},null,8,["block-id"])):B("",!0),wt(ht.$slots,"prepend",{},void 0,!0),R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:ot},li({default:k(()=>[I.value?B("",!0):(r(),v("span",EM,w(t.enterEditModeButtonTitle),1))]),_:2},[I.value?{name:"icon",fn:k(()=>[b(ct,{name:"settings"})]),key:"0"}:void 0]),1024)),[[nt,"element-button-edit"]]),wt(ht.$slots,"default",{},void 0,!0),G.value&&m(Ke)?(r(),v(at,{key:1},[b(Vo),b(N6,{onToggleAiGenerate:yt[0]||(yt[0]=mt=>pt({location:"controls"}))})],64)):B("",!0),t.isDuplicateButtonVisible||M.value||O.value?(r(),S(Vo,{key:2})):B("",!0),t.isStretchToFullWidthButtonVisible?(r(),S(ko,{key:3,title:ht.$t("common.stretch")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:bt},{icon:k(()=>[b(ct,{name:"width",color:D.value.isFullWidth?"primary":"dark",class:ut({"block-edit-controls__icon--setting-enabled":D.value.isFullWidth})},null,8,["color","class"])]),_:1})),[[nt,"builder-section-btn-stretch"]])]),_:1},8,["title"])):B("",!0),t.isStretchToFullWidthButtonVisible?(r(),S(Vo,{key:4})):B("",!0),t.isDuplicateButtonVisible?(r(),S(ko,{key:5,title:ht.$t("common.duplicate")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:ht.$t("common.duplicate"),onClick:st},{icon:k(()=>[b(ct,{name:"content_copy"})]),_:1},8,["title"])),[[nt,"builder-sectionedit-buttonduplicate"]])]),_:1},8,["title"])):B("",!0),M.value?R((r(),S(ko,{key:6,title:ht.$t("builder.editBlockButton.hideShow")},{default:k(()=>[b(x6,{class:"edit-actions__button","is-hidden-desktop":j.value,"is-hidden-mobile":q.value,onSetDesktopVisibility:yt[1]||(yt[1]=mt=>J({isHidden:mt,positionKey:m(_e)})),onSetMobileVisibility:yt[2]||(yt[2]=mt=>J({isHidden:mt,positionKey:m(pe)}))},null,8,["is-hidden-desktop","is-hidden-mobile"])]),_:1},8,["title"])),[[nt,"builder-sectionedit-visibility"]]):B("",!0),O.value?(r(),S(ko,{key:7,title:ht.$t("common.delete")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:ht.$t("common.delete"),onClick:Q},{icon:k(()=>[b(ct,{name:"delete"})]),_:1},8,["title"])),[[nt,"builder-sectionedit-buttondelete"]])]),_:1},8,["title"])):B("",!0),t.isReorderingButtonVisible?(r(),v(at,{key:8},[b(Vo),b(ko,{title:ht.$t("builder.editBlockButton.moveUp")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:ht.$t("builder.editBlockButton.moveSectionUp"),disabled:!W.value,onClick:yt[3]||(yt[3]=mt=>lt({direction:"up"}))},{icon:k(()=>[b(ct,{name:"arrow_upward"})]),_:1},8,["title","disabled"])),[[nt,"builder-section-btn-moveup"]])]),_:1},8,["title"]),b(ko,{title:ht.$t("builder.editBlockButton.moveDown")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:ht.$t("builder.editBlockButton.moveSectionDown"),disabled:!Z.value,onClick:yt[4]||(yt[4]=mt=>lt({direction:"down"}))},{icon:k(()=>[b(ct,{name:"arrow_downward"})]),_:1},8,["title","disabled"])),[[nt,"builder-section-btn-movedown"]])]),_:1},8,["title"])],64)):B("",!0),t.isContextMenuButtonVisible?(r(),S(ko,{key:9,title:ht.$t("common.more")},{default:k(()=>[b(Vo),R((r(),S(gt,{ref_key:"contextMenuButtonRef",ref:g,"button-type":"plain",theme:"highlight",title:ht.$t("builder.contextMenuTitle"),onClick:yt[5]||(yt[5]=mt=>dt({isOpen:!m(u)}))},{icon:k(()=>[b(ct,{name:"more_vert"})]),_:1},8,["title"])),[[nt,"builder-sectionedit-buttoncontextmenu"]])]),_:1},8,["title"])):B("",!0)]),f.value?(r(),S(xe,{key:0,to:"body"},[b(en,{title:ht.$t("builder.editBlockButton.deleteLinkedSection"),"primary-button-text":ht.$t("common.cancel"),"secondary-button-text":ht.$t("common.delete"),"secondary-button-color":"danger",onClickPrimary:yt[6]||(yt[6]=mt=>f.value=!1),onClickSecondary:yt[7]||(yt[7]=mt=>Q({forceRemove:!0})),onClose:yt[8]||(yt[8]=mt=>f.value=!1)},{default:k(()=>[U(w(ht.$t("builder.editBlockButton.removeWarningText")),1)]),_:1},8,["title","primary-button-text","secondary-button-text"])])):B("",!0),m(u)?(r(),S(P6,{key:1,"is-enabled":"","block-elements":m(X),"block-id":t.blockId,"trigger-ref":(tt=g.value)==null?void 0:tt.$el,"is-mobile-copy-paste-allowed":t.isBlockWithElements,onDeleteBlock:Q,onCloseContextMenu:yt[9]||(yt[9]=mt=>dt({isOpen:!1}))},null,8,["block-elements","block-id","trigger-ref","is-mobile-copy-paste-allowed"])):B("",!0)],64)}}}),U_=V(IM,[["__scopeId","data-v-e145479c"]]),SM={placement:"right-start",placementMobile:"right-start",flip:!1,offset:{mainAxis:24,crossAxis:24},offsetMobile:{mainAxis:24,crossAxis:0},autoUpdate:!0,padding:24},xM={placement:"right-start",placementMobile:"top",flip:!1,offset:{mainAxis:24,crossAxis:24},offsetMobile:{mainAxis:24,crossAxis:0},autoUpdate:!0,padding:24},TM={},CM=Object.assign(TM,{__name:"BlockEditControls",props:{blockId:{type:String,required:!0},targetRef:{type:HTMLElement,default:null},enterEditModeButtonTitle:{type:String,default:""},isDuplicateButtonVisible:{type:Boolean,default:!1},isVisibilityButtonVisible:{type:Boolean,default:!1},isDeleteButtonVisible:{type:Boolean,default:!1},showDeleteWarning:{type:Boolean,default:!1},isReorderingButtonVisible:{type:Boolean,default:!1},isContextMenuButtonVisible:{type:Boolean,default:!0},isBlockWithElements:{type:Boolean,default:!1},editPopupOptions:{type:Object,default:()=>SM},controlsBarPopupOptions:{type:Object,default:()=>xM},isBlockNonGridElementActive:{type:Boolean,default:!1},isStretchToFullWidthButtonVisible:{type:Boolean,default:!1}},setup(t){const e=t,{state:o,getters:n,dispatch:s}=et(),a=d(()=>o.gui.isMobileScreen),l=d(()=>n["gui/isMobileMode"]),i=d(()=>o.currentBlockId),c=d(()=>o.currentElementId),u=d(()=>Js.value&&os.value===e.blockId),p=d(()=>i.value===e.blockId),g=d(()=>e.isBlockWithElements?p.value&&!c.value&&!u.value:p.value&&!e.isBlockNonGridElementActive&&!u.value),f=d(()=>o.isBlockEditorOpen),y=d(()=>l.value?e.controlsBarPopupOptions.placementMobile:e.controlsBarPopupOptions.placement),E=d(()=>l.value?e.controlsBarPopupOptions.offsetMobile:e.controlsBarPopupOptions.offset),I=d(()=>l.value?e.editPopupOptions.placementMobile:e.editPopupOptions.placement),T=x=>{Ue(x)===me.Escape&&s("leaveBlockEditMode")};return Vt(()=>{window.addEventListener("keydown",T)}),ao(()=>{window.removeEventListener("keydown",T)}),(x,P)=>{const z=rt("qa");return g.value?(r(),S(xe,{key:0,to:"body"},[f.value&&t.targetRef?(r(),S(Se,{key:0,"target-ref":t.targetRef,"portal-selector":m(jo),placement:I.value,"auto-update":t.editPopupOptions.autoUpdate,offset:t.editPopupOptions.offset,flip:t.editPopupOptions.flip,padding:t.editPopupOptions.padding,"is-mobile-fixed-to-bottom":""},{default:k(()=>[wt(x.$slots,"edit-mode-popup",{},void 0,!0)]),_:3},8,["target-ref","portal-selector","placement","auto-update","offset","flip","padding"])):a.value?(r(),S(xe,{key:1,to:m(U3)},[b(U_,{"block-id":t.blockId,"enter-edit-mode-button-title":t.enterEditModeButtonTitle,"is-duplicate-button-visible":t.isDuplicateButtonVisible,"is-visibility-button-visible":t.isVisibilityButtonVisible,"is-delete-button-visible":t.isDeleteButtonVisible,"show-delete-warning":t.showDeleteWarning,"is-reordering-button-visible":t.isReorderingButtonVisible,"is-context-menu-button-visible":t.isContextMenuButtonVisible,"is-stretch-to-full-width-button-visible":t.isStretchToFullWidthButtonVisible,"is-block-with-elements":t.isBlockWithElements,"target-ref":t.targetRef},{default:k(()=>[wt(x.$slots,"additional-edit-buttons",{},void 0,!0)]),_:3},8,["block-id","enter-edit-mode-button-title","is-duplicate-button-visible","is-visibility-button-visible","is-delete-button-visible","show-delete-warning","is-reordering-button-visible","is-context-menu-button-visible","is-stretch-to-full-width-button-visible","is-block-with-elements","target-ref"])],8,["to"])):(r(),S(Se,{key:2,"target-ref":t.targetRef,"portal-selector":m(jo),placement:y.value,"auto-update":t.controlsBarPopupOptions.autoUpdate,offset:E.value,flip:t.controlsBarPopupOptions.flip,"is-controls":""},{default:k(()=>[R((r(),S(U_,{"block-id":t.blockId,"enter-edit-mode-button-title":t.enterEditModeButtonTitle,"is-duplicate-button-visible":t.isDuplicateButtonVisible,"is-visibility-button-visible":t.isVisibilityButtonVisible,"is-delete-button-visible":t.isDeleteButtonVisible,"show-delete-warning":t.showDeleteWarning,"is-reordering-button-visible":t.isReorderingButtonVisible,"is-block-with-elements":t.isBlockWithElements,"is-context-menu-button-visible":t.isContextMenuButtonVisible,"is-stretch-to-full-width-button-visible":t.isStretchToFullWidthButtonVisible,"target-ref":t.targetRef},{prepend:k(()=>[wt(x.$slots,"additional-edit-buttons-prepend",{},void 0,!0)]),default:k(()=>[wt(x.$slots,"additional-edit-buttons",{},void 0,!0)]),_:3},8,["block-id","enter-edit-mode-button-title","is-duplicate-button-visible","is-visibility-button-visible","is-delete-button-visible","show-delete-warning","is-reordering-button-visible","is-block-with-elements","is-context-menu-button-visible","is-stretch-to-full-width-button-visible","target-ref"])),[[z,"block-edit-controls-bar"]])]),_:3},8,["target-ref","portal-selector","placement","auto-update","offset","flip"]))])):B("",!0)}}}),Qa=V(CM,[["__scopeId","data-v-d80a8348"]]),PM={class:"block__hidden-overlay"},BM={class:"text-body-1"},AM=K({__name:"BlockHidden",emits:["button-click"],setup(t){return(e,o)=>(r(),v("div",PM,[h("p",BM,w(e.$t("builder.thisSectionIsHidden")),1),b(gt,{class:"block__hidden-button",onClick:o[0]||(o[0]=n=>e.$emit("button-click"))},{"icon-left":k(()=>[b(ct,{name:"visibility"})]),default:k(()=>[U(" "+w(e.$t("builder.showSection")),1)]),_:1})]))}}),DM=V(AM,[["__scopeId","data-v-eba37713"]]),zM={class:"linked-block-controls"},LM={class:"linked-block-controls__toggles"},$M={class:"text-body-2"},OM={class:"text-body-2"},RM={class:"text-body-2"},MM=K({__name:"LinkedBlockControls",props:{targetRef:{default:null},slotType:{}},setup(t){const e=t,{getters:o,state:n,dispatch:s}=et(),a=d(()=>o.currentPage),l=d(()=>n.currentPageId),i=d(()=>o.sitePages),c=d(()=>{var f;return(f=a.value[Pa])==null?void 0:f.includes(e.slotType)}),u=C(null),p=C(!1),g=({onAllPages:f,hide:y})=>{const E=a.value[Pa],I=y?[...E??[],...E!=null&&E.includes(e.slotType)?[]:[e.slotType]]:E==null?void 0:E.filter(T=>T!==e.slotType);f?Object.keys(i.value).forEach(T=>{s("mergePageData",{pageId:T,pageData:{[Pa]:I}})}):s("mergePageData",{pageId:l.value,pageData:{[Pa]:I}})};return(f,y)=>{var I;const E=rt("qa");return r(),v("div",zM,[b(ko,{ref_key:"linkedBlockControls",ref:u,title:f.$t("common.hide")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:f.$t("common.hide"),onClick:y[0]||(y[0]=T=>p.value=!p.value)},{icon:k(()=>[b(ct,{name:"visibility"})]),_:1},8,["title"])),[[E,"builder-sectionedit-buttonlinked"]])]),_:1},8,["title"]),p.value?(r(),S(Se,{key:0,"target-ref":(I=u.value)==null?void 0:I.$el,placement:"bottom","auto-update":"",onClickOutside:y[4]||(y[4]=T=>p.value=!1)},{default:k(()=>[h("div",LM,[R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:y[1]||(y[1]=T=>g({onAllPages:!1,hide:!c.value}))},{"icon-left":k(()=>[b(ct,{name:c.value?"visibility":"visibility_off",dimensions:"20px"},null,8,["name"])]),default:k(()=>[h("span",$M,w(c.value?f.$t("builder.globalBlock.showOnSingle"):f.$t("builder.globalBlock.hideOnSingle")),1)]),_:1})),[[E,"builder-sectionedit-buttonlinked-toggle"]]),R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:y[2]||(y[2]=T=>g({onAllPages:!0,hide:!0}))},{"icon-left":k(()=>[b(ct,{name:"visibility_off",dimensions:"20px"})]),default:k(()=>[h("span",OM,w(f.$t("builder.globalBlock.hideOnAll")),1)]),_:1})),[[E,"builder-sectionedit-buttonlinked-hideall"]]),R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:y[3]||(y[3]=T=>g({onAllPages:!0,hide:!1}))},{"icon-left":k(()=>[b(ct,{name:"visibility",dimensions:"20px"})]),default:k(()=>[h("span",RM,w(f.$t("builder.globalBlock.showOnAll")),1)]),_:1})),[[E,"builder-sectionedit-buttonlinked-showall"]])])]),_:1},8,["target-ref"])):B("",!0),(r(),S(xe,{to:f.targetRef},[c.value?(r(),S(DM,{key:0,onButtonClick:y[5]||(y[5]=T=>g({onAllPages:!1,hide:!0}))})):B("",!0)],8,["to"]))])}}}),H6=V(MM,[["__scopeId","data-v-23309134"]]),NM=K({props:{outlineStyle:{type:String,default:"solid"},outlineColor:{type:String,default:"var(--color-azure-dark)"}},computed:{outlineCSSVars(){return{"--outline-style":this.outlineStyle,"--outline-color":this.outlineColor}}}});function HM(t,e,o,n,s,a){return r(),v("div",{class:"overlay-outline",style:re(t.outlineCSSVars)},null,4)}const G6=V(NM,[["render",HM],["__scopeId","data-v-42db7643"]]),GM={__name:"LayoutGuideLines",props:{columnCount:{type:Number,required:!0},isVisible:{type:Boolean,default:!0},blockHeight:{type:Number,required:!0},desktopBlockHeight:{type:Number,required:!0},mobileBlockHeight:{type:Number,required:!0},snapRowGap:{type:Number,required:!0},snapRowHeight:{type:Number,required:!0}},setup(t){const e=t,o=d(()=>Math.round(e.blockHeight/(e.snapRowHeight+e.snapRowGap))),n=d(()=>({"--column-count":e.columnCount,"--row-count":o.value,"--column-gap":`${lf}px`,"--row-height":`${e.snapRowHeight}px`,"--row-gap":`${e.snapRowGap}px`}));return(s,a)=>(r(),v("div",{class:ut(["guides",{"guides--invisible":!t.isVisible}]),style:re(n.value)},[(r(!0),v(at,null,Pt(t.columnCount,l=>(r(),v("div",{key:l,class:"guides__guide"},[(r(!0),v(at,null,Pt(o.value,i=>(r(),v("div",{key:i,class:"guides__guide__row"}))),128))]))),128))],6))}},Hu={[Go.ELEMENT_EDGE]:"solid",[Go.ELEMENT_CENTER]:"dashed",[Go.COLUMN]:"solid",[Go.ROW]:"solid",[Go.BLOCK_CENTER]:"dashed"},Gu={[Go.ELEMENT_EDGE]:"var(--color-azure-dark)",[Go.ELEMENT_CENTER]:"var(--color-azure-dark)",[Go.COLUMN]:"var(--color-azure-dark)",[Go.ROW]:"var(--color-azure-dark)",[Go.BLOCK_CENTER]:"var(--color-warning-dark)"},FM=K({props:{elementPosition:{type:Object,default:null},yPoints:{type:Array,default:null},xPoints:{type:Array,default:null}},computed:{yLines(){const{left:t,width:e}=this.elementPosition,o=t+e;return this.yPoints.map(n=>{const s=Math.min(t,n.left),a=Math.max(o,n.right);return Go.ROW===n.type?{top:`${n.location}px`,left:0,height:"1px",style:Hu[n.type],color:Gu[n.type]}:{top:`${n.location}px`,left:`${s}px`,width:`${a-s}px`,style:Hu[n.type],color:Gu[n.type]}})},xLines(){const{top:t,height:e}=this.elementPosition,o=t+e;return this.xPoints.map(n=>{if([Go.COLUMN,Go.BLOCK_CENTER].includes(n.type))return{top:0,left:`${n.location}px`,height:"100%",style:Hu[n.type],color:Gu[n.type]};const s=Math.min(t,n.top),a=Math.max(o,n.bottom);return{top:`${s}px`,left:`${n.location}px`,height:`${a-s}px`,style:Hu[n.type],color:Gu[n.type]}})}}}),VM={class:"snapping-lines"};function UM(t,e,o,n,s,a){return r(),v("div",VM,[t.yLines?(r(!0),v(at,{key:0},Pt(t.yLines,(l,i)=>(r(),v("div",{key:`y-${i}`,class:"snapping-lines__line snapping-lines__line--horizontal",style:re({"--top":l.top,"--left":l.left,"--width":l.width,"--line-style":l.style,"--line-color":l.color})},null,4))),128)):B("",!0),t.xLines?(r(!0),v(at,{key:1},Pt(t.xLines,(l,i)=>(r(),v("div",{key:`x-${i}`,class:"snapping-lines__line snapping-lines__line--vertical",style:re({"--top":l.top,"--left":l.left,"--height":l.height,"--line-style":l.style,"--line-color":l.color})},null,4))),128)):B("",!0)])}const jM=V(FM,[["render",UM],["__scopeId","data-v-239ac8a2"]]),WM={__name:"HorizontalGuideline",props:{top:{type:Number,default:null}},setup(t){fe(n=>({"4e86ce04":o.value}));const e=t,o=d(()=>`${e.top}px`);return(n,s)=>(r(),v("div",{class:"horizontal-guideline",style:re({"--top":t.top})},null,4))}},qM=V(WM,[["__scopeId","data-v-89887456"]]),uv=K({props:{position:{type:Object,required:!0},isAreaSelected:{type:Boolean,default:!1},isDragging:{type:Boolean,default:!1}},setup(t){const e=C(!1),o=d(()=>`${t.position.left}px`),n=d(()=>`${t.position.top}px`),s=d(()=>`${t.position.width}px`),a=d(()=>`${t.position.height}px`);return{leftCSSVar:o,topCSSVar:n,widthCSSVar:s,heightCSSVar:a,isDragged:e}}}),j_=()=>{fe(t=>({"0cc6db7c":t.topCSSVar,"7a17487c":t.leftCSSVar,"33ff2fb3":t.widthCSSVar,"70b9b9bc":t.heightCSSVar}))},W_=uv.setup;uv.setup=W_?(t,e)=>(j_(),W_(t,e)):j_;function YM(t,e,o,n,s,a){return r(),v("div",{class:ut(["drag-box",{"drag-box--selected":t.isAreaSelected,"drag-box--dragging":t.isDragging}])},null,2)}const KM=V(uv,[["render",YM],["__scopeId","data-v-02fdc01e"]]),ZM={__name:"SpacingHandle",props:{elementData:{type:Object,required:!0}},setup(t){const e=t,{getters:o}=et(),n=d(()=>o["gui/isMobileMode"]),s=d(()=>n.value?pe:_e),a=d(()=>e.elementData[s.value].width(r(),v("button",{ref:"spacingHandle",class:ut(["spacing-handle",{"spacing-handle--outside-element-box":a.value}])},[b(ct,{class:"spacing-handle__icon",name:"vertical_align_bottom",dimensions:"16px"})],2))}},QM=V(ZM,[["__scopeId","data-v-14cee75d"]]),XM=t=>{const{x:e}=J5(t),{pressed:o}=fT({target:t}),{x:n}=yT();Mt([()=>o.value,()=>n.value],([s,a],[,l])=>{if(s){const i=l-a;e.value+=i}})},JM={key:0,class:"zyro-tabs"},tN=["title","disabled","onClick"],eN=K({__name:"ZyroTabs",props:{tabs:{},currentTab:{}},emits:["update:current-tab"],setup(t){const e=C(null);return XM(e),(o,n)=>{const s=rt("qa");return o.currentTab?(r(),v("div",JM,[h("div",{ref_key:"el",ref:e,class:"zyro-tabs__list"},[(r(!0),v(at,null,Pt(o.tabs,a=>R((r(),v("button",{key:a.title,class:ut([{"zyro-tabs__tab--active":o.currentTab.title===a.title,"zyro-tabs__tab--disabled":a.isDisabled,"zyro-tabs__tab--indicator":a.hasIndicator},"zyro-tabs__tab text-bold-2"]),title:a.title,disabled:a.isDisabled,onClick:l=>o.$emit("update:current-tab",a)},[U(w(a.title),1)],10,tN)),[[s,`builder-tab-${a.title}`]])),128))],512)])):B("",!0)}}}),Fl=V(eN,[["__scopeId","data-v-7df55d39"]]),oN=["draggable"],nN={key:0,class:"popup-card__title text-heading-1"},iN={class:"popup-card__close"},sN={key:0,class:"popup-card__label text-overline"},aN={class:"popup-card__content"},lN={key:2,ref:"popupFooter",class:"popup-card__footer"},rN={__name:"ZyroPopupCard",props:{title:{type:String,default:""},type:{type:String,default:"",validator:t=>["editor",""].includes(t)},showCloseButton:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!1},tabs:{type:Array,default:()=>[]},currentTab:{type:Object,default:()=>{}},maxWidth:{type:String,default:"400px"},editorPopupWidth:{type:String,default:"360px"},saveBtnTitle:{type:String,default:null},isFullHeight:{type:Boolean,default:!1},isSelectAllowed:{type:Boolean,default:!1},label:{type:String,default:""}},emits:["close","save","update:current-tab"],setup(t){fe(p=>({"6be61711":t.maxWidth,58543316:t.editorPopupWidth,"405a7016":s.value}));const{state:e}=et(),o=C(null),n=C(50),s=d(()=>`${n.value}vh`),a=d(()=>e.gui.isMobileScreen),l=p=>{p.dataTransfer.setDragImage(new Image,0,0)},i=p=>{const{top:g}=o.value.getBoundingClientRect(),f=n.value+Math.round((g-p)/window.innerHeight*100);f>0&&f<100&&(n.value=f)},c=p=>{const{clientY:g}=p;i(g)},u=p=>{p.preventDefault();const{clientY:g}=p.touches[0];i(g)};return(p,g)=>{const f=rt("qa");return r(),v("div",{class:ut(["popup-card",{"popup-card--editor":t.type==="editor","popup-card--full-height":t.isFullHeight,"popup-card--select-allowed":t.isSelectAllowed}])},[t.showCloseButton||t.title||t.tabs.length?(r(),v("div",{key:0,ref_key:"popupHead",ref:o,class:"popup-card__head",draggable:a.value,onTouchmove:u,onDragstart:l,onDrag:c},[t.title?(r(),v("h4",nN,[U(w(t.title)+" ",1),wt(p.$slots,"title-suffix",{},void 0,!0)])):B("",!0),h("div",iN,[t.label?(r(),v("span",sN,w(t.label),1)):B("",!0),t.showCloseButton?R((r(),S(gt,{key:1,"button-type":"plain",title:p.$t("common.close"),onClick:g[0]||(g[0]=y=>p.$emit("close"))},{icon:k(()=>[b(ct,{name:"close"})]),_:1},8,["title"])),[[f,"builder-popupcard-btn-close"]]):B("",!0)])],40,oN)):B("",!0),t.tabs.length?(r(),S(Fl,{key:1,tabs:t.tabs,"current-tab":t.currentTab,"onUpdate:currentTab":g[1]||(g[1]=y=>p.$emit("update:current-tab",y))},null,8,["tabs","current-tab"])):B("",!0),h("div",aN,[wt(p.$slots,"default",{},void 0,!0)]),t.showFooter?(r(),v("div",lN,[m(Wi)(p.$slots.footer)?wt(p.$slots,"footer",{key:0},void 0,!0):(r(),v(at,{key:1},[R((r(),S(gt,{"button-type":"text",onClick:g[2]||(g[2]=y=>p.$emit("close"))},{default:k(()=>[U(w(p.$t("common.cancel")),1)]),_:1})),[[f,"builder-popupcard-cancelbtn"]]),R((r(),S(gt,{onClick:g[3]||(g[3]=y=>p.$emit("save"))},{default:k(()=>[U(w(t.saveBtnTitle??p.$t("common.save")),1)]),_:1})),[[f,"builder-popupcard-savebtn"]])],64))],512)):B("",!0)],2)}}},No=V(rN,[["__scopeId","data-v-8f938d38"]]),dN=K({setup(){return{hasSlotContent:Wi}}}),cN={class:"zyro-field-wrapper"},uN={key:0,class:"zyro-field-wrapper__prefix"},pN={key:1,class:"zyro-field-wrapper__suffix"};function gN(t,e,o,n,s,a){return r(),v("div",cN,[t.hasSlotContent(t.$slots.prefix)?(r(),v("span",uN,[wt(t.$slots,"prefix",{},void 0,!0)])):B("",!0),wt(t.$slots,"default",{},void 0,!0),t.hasSlotContent(t.$slots.suffix)?(r(),v("span",pN,[wt(t.$slots,"suffix",{},void 0,!0)])):B("",!0)])}const F6=V(dN,[["render",gN],["__scopeId","data-v-b9e2ebe4"]]),mN=K({props:{for:{type:String,default:""},theme:{type:String,default:"primary",validator:t=>["primary","secondary"].includes(t)}},computed:{forProp(){return this.for}}}),hN={class:"zyro-label"},bN=["for"];function fN(t,e,o,n,s,a){return r(),v("div",hN,[h("label",{for:t.forProp||void 0,class:"zyro-label__label text-bold-2"},[wt(t.$slots,"default",{},void 0,!0)],8,bN)])}const ee=V(mN,[["render",fN],["__scopeId","data-v-69679c18"]]),yN=K({components:{ZyroSvgDeprecated:Qt,ZyroTooltip:Ko},props:{infoText:{type:String,default:""},mode:{type:String,default:"dark"}}}),vN={class:"info__button"},_N={class:"info__content"},wN={class:"text-body-2"};function kN(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("ZyroTooltip");return r(),S(i,{position:"right",class:"info","content-position":"absolute","toggle-event":"hover",mode:t.mode},{trigger:k(()=>[h("button",vN,[b(l,{name:"help"})])]),default:k(()=>[h("div",_N,[h("p",wN,w(t.infoText),1)])]),_:1},8,["mode"])}const EN=V(yN,[["render",kN],["__scopeId","data-v-5fc3d2c0"]]),IN=K({components:{ZyroFieldWrapper:F6,ZyroInput:as,ZyroLabel:ee,ZyroInfo:EN},props:{id:{type:String,default:""},label:{type:String,default:""},message:{type:String,default:""},placeholder:{type:String,default:""},error:{type:[String,Boolean],default:""},modelValue:{type:String,required:!0},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},labelTheme:{type:String,default:"primary"},infoText:{type:String,default:""},inputTheme:{type:String,default:"primary"},maxlength:{type:[String,Number],default:null},inputTag:{type:String,default:"input",validator:t=>["input","textarea"].includes(t)},type:{type:String,default:""},inputType:{type:String,default:"",validator:t=>["","number"].includes(t)},suffix:{type:String,default:null},focusOnMount:{type:Boolean,default:!1},padding:{type:String,default:""},isMessageAbsolute:{type:Boolean,default:!1},qaSelector:{type:String,default:"textfield-input"},color:{type:String,default:""}},emits:["update:model-value","input-blur","input-focus","keyup-enter"],setup(){return{hasSlotContent:Wi}}}),SN={class:"zyro-field-text"},xN={class:"zyro-field-text__label-wrapper"};function TN(t,e,o,n,s,a){const l=Y("ZyroLabel"),i=Y("ZyroInfo"),c=Y("ZyroInput"),u=Y("ZyroFieldWrapper");return r(),v("div",SN,[h("div",xN,[t.label?(r(),S(l,{key:0,for:t.id,class:ut(["zyro-field-text__label",[`zyro-field-text__label--${t.labelTheme}`,{"zyro-field-text__label--disabled":t.disabled}]])},{default:k(()=>[U(w(t.label),1)]),_:1},8,["for","class"])):B("",!0),t.infoText?(r(),S(i,{key:1,"info-text":t.infoText},null,8,["info-text"])):B("",!0)]),wt(t.$slots,"sublabel",{},void 0,!0),b(u,{class:"zyro-field-text__field-wrapper"},{prefix:k(()=>[wt(t.$slots,"prefix",{},void 0,!0)]),suffix:k(()=>[wt(t.$slots,"suffix",{},void 0,!0)]),default:k(()=>[b(c,{"input-id":t.id,class:"zyro-field-text__input",disabled:t.disabled,theme:t.inputTheme,padding:t.padding,autofocus:t.autofocus,"input-type":t.inputType,type:t.type,placeholder:t.placeholder,suffix:t.suffix,error:t.error,color:t.color,maxlength:t.maxlength,"focus-on-mount":t.focusOnMount,"qa-selector":t.qaSelector,"model-value":t.modelValue,"onUpdate:modelValue":e[0]||(e[0]=p=>t.$emit("update:model-value",p)),onInputBlur:e[1]||(e[1]=p=>t.$emit("input-blur",p)),onInputFocus:e[2]||(e[2]=p=>t.$emit("input-focus",p)),onKeyupEnter:e[3]||(e[3]=p=>t.$emit("keyup-enter"))},null,8,["input-id","disabled","theme","padding","autofocus","input-type","type","placeholder","suffix","error","color","maxlength","focus-on-mount","qa-selector","model-value"])]),_:3}),t.message||t.error?(r(),v("div",{key:0,class:ut(["zyro-field-text__message",{"zyro-field-text__message--error":t.error,"zyro-field-text__message--absolute":t.isMessageAbsolute}]),"data-qa":"textfield-message"},[t.hasSlotContent(t.$slots.error)?B("",!0):(r(),v(at,{key:0},[U(w(t.error?t.error:t.message),1)],64)),wt(t.$slots,"error",{},void 0,!0)],2)):B("",!0),wt(t.$slots,"message",{},void 0,!0)])}const Ne=V(IN,[["render",TN],["__scopeId","data-v-029e6438"]]),CN=K({__name:"EditBlockTabAnchor",setup(t){const e=et(),o=C(""),n=d(()=>`#${e.getters.currentBlock.htmlId||""}`),s=d(()=>{const i=e.getters.currentLanguageData.locale===e.getters.defaultLocale?null:e.getters.currentLanguageData.locale,c=e.getters.homePageId===e.state.currentPageId?null:e.getters.currentPage.slug,u=[i,c].filter(Boolean).join("/");return new URL(`${u}${n.value}`,e.getters.siteUrl).toString()}),a=i=>{const{htmlId:c}=X9(i);e.dispatch("updateBlockData",{blockId:e.state.currentBlockId,blockData:{htmlId:c},merge:!0})},l=()=>{e.dispatch("updateInternalHrefs",{oldHref:`/#${o.value}`,newHref:`/${n.value}`})};return Vt(()=>{o.value=e.getters.currentBlock.htmlId}),Ll(()=>{e.dispatch("undoRedo/createSnapshot")}),(i,c)=>(r(),S(Ne,{label:i.$t("builder.editBlockTabAnchor.anchorName"),"model-value":n.value,message:i.$t("builder.editBlockTabAnchor.anchorUrlExample",[s.value]),"qa-selector":"grid-tabanchor-input-anchor","onUpdate:modelValue":a,onInputBlur:l},null,8,["label","model-value","message"]))}}),Gf=(t,e,o)=>Math.min(Math.max(t,e),o),PN={class:"zyro-range__input-wrapper"},BN=["value","min","max","step","disabled"],AN=["min","max","step","disabled","value"],DN=["textContent"],zN=8,LN=K({__name:"ZyroRange",props:{min:{default:""},max:{default:""},step:{default:""},disabled:{type:Boolean},units:{default:"px"},modelValue:{default:0},hasNumberInput:{type:Boolean},isValueShown:{type:Boolean,default:!0},isWithIconControls:{type:Boolean}},emits:["update:model-value"],setup(t,{emit:e}){const o=t,n=e,s=C(),a=()=>{var g;(g=s.value)==null||g.focus()},l=d(()=>o.max&&o.min?(Number(o.max)-Number(o.min))/zN:o.step?Number(o.step):1),i=g=>{if(o.disabled)return;const f=Gf(Number.parseFloat(`${g}`),Number.parseFloat(`${o.min}`),Number.parseFloat(`${o.max}`));n("update:model-value",f)},c=()=>{i(Number(o.modelValue)-l.value)},u=()=>{i(Number(o.modelValue)+l.value)},p=g=>{const f=g.target;if(o.hasNumberInput){const y=Gf(Number.parseFloat(f.value||"0"),Number.parseInt(`${o.min}`,10),Number.parseInt(`${o.max}`,10));n("update:model-value",y);return}n("update:model-value",Number(f.value))};return(g,f)=>(r(),v("div",{class:ut(["zyro-range",{"zyro-range--disabled":g.disabled}])},[h("div",PN,[g.isWithIconControls?(r(),S(gt,{key:0,"button-type":"plain","is-disabled":g.disabled,class:"zyro-range__minus",onClick:c},{icon:k(()=>[b(ct,{name:"remove"})]),_:1},8,["is-disabled"])):B("",!0),h("input",{ref:"rangeInput",value:g.modelValue,min:g.min,max:g.max,step:g.step,disabled:g.disabled,type:"range",onInput:p},null,40,BN),g.isWithIconControls?(r(),S(gt,{key:1,"button-type":"plain","is-disabled":g.disabled,class:"zyro-range__plus",onClick:u},{icon:k(()=>[b(ct,{name:"add"})]),_:1},8,["is-disabled"])):B("",!0),g.hasNumberInput?(r(),v("input",{key:2,ref_key:"numberInput",ref:s,min:g.min,max:g.max,step:g.step,type:"number",disabled:g.disabled,autocomplete:"off",value:g.modelValue,class:"zyro-range__number-input",onBlur:p,onKeyup:Fi(p,["enter"]),onKeydown:[Fi(p,["up"]),Fi(p,["down"])],onFocus:a,onChange:p},null,40,AN)):g.isValueShown?(r(),v("span",{key:3,class:"zyro-range__value text-bold-2",textContent:w(`${g.modelValue} ${g.units}`)},null,8,DN)):B("",!0)])],2))}}),ln=V(LN,[["__scopeId","data-v-b45d4458"]]),$N=K({__name:"ColorPickerButton",props:{isGradient:{type:Boolean},color:{default:Gi},gradient:{},size:{default:"md"}},setup(t){const e=t,o=d(()=>({[`color-picker-button--${e.size}`]:e.size})),n=d(()=>e.isGradient&&e.gradient?{background:wy(e.gradient)}:{backgroundColor:e.color});return(s,a)=>{const l=rt("qa");return R((r(),v("button",{class:ut(["color-picker-button",o.value]),style:re(n.value)},null,6)),[[l,"color-picker-btn"]])}}}),nu=V($N,[["__scopeId","data-v-a3910144"]]),q_=(t,e,o)=>{const n=e.split("."),{length:s}=n;return n.reduce((a,l,i)=>a[l]=i===s-1?o:a[l]||{},t),t},Ff={0:{primary:{"border-radius":999,"background-color":"rgb(0, 0, 0)","background-color-hover":"rgb(29, 30, 32)","font-color":"rgb(255, 255, 255)"},secondary:{"border-radius":999,"background-color":"white","background-color-hover":"rgb(240, 240, 240)","font-color":"rgb(0, 0, 0)"}},1:{primary:{"border-radius":8,"background-color":"rgb(0, 0, 0)","background-color-hover":"rgb(29, 30, 32)","font-color":"rgb(255, 255, 255)"},secondary:{"border-radius":8,"background-color":"white","background-color-hover":"rgb(240, 240, 240)","font-color":"rgb(0, 0, 0)"}},2:{primary:{"border-radius":0,"background-color":"rgb(0, 0, 0)","background-color-hover":"rgb(29, 30, 32)","font-color":"rgb(255, 255, 255)"},secondary:{"border-radius":0,"background-color":"white","background-color-hover":"rgb(240, 240, 240)","font-color":"rgb(0, 0, 0)"}}},ON={GridTextBox:{path:"content"}},RN={BlockNavigation:{paths:["background.gradient"]},BlockLayout:{paths:["background.gradient"]},BlockEcommerceProduct:{paths:["background.gradient"]},BlockEcommerceProductList:{paths:["background.gradient"]},BlockBlogHeader:{paths:["background.gradient"]},BlockBlogList:{paths:["background.gradient"]},BlockImageSlideshow:{paths:["background.gradient"]}},MN={BlockNavigation:{paths:["background.color","navLinkTextColor","navLinkTextColorHover"]},BlockLayout:{paths:["background.color"]},BlockEcommerceProduct:{paths:["background.color","navigationArrowsColor","buttonStyle.grid-button-primary-color","buttonStyle.grid-button-primary-color-hover","buttonStyle.grid-button-primary-color-active","buttonStyle.grid-button-primary-background-color","buttonStyle.grid-button-primary-background-color-hover","buttonStyle.grid-button-primary-border-color","buttonStyle.grid-button-primary-border-color-active","buttonStyle.grid-button-primary-border-color-hover","buttonStyle.grid-button-secondary-color","buttonStyle.grid-button-secondary-color-hover","buttonStyle.grid-button-secondary-color-active","buttonStyle.grid-button-secondary-background-color","buttonStyle.grid-button-secondary-background-color-hover","buttonStyle.grid-button-secondary-border-color","buttonStyle.grid-button-secondary-border-color-active","buttonStyle.grid-button-secondary-border-color-hover","textColorVars.h1-color","textColorVars.h2-color","textColorVars.h3-color","textColorVars.h4-color","textColorVars.h5-color","textColorVars.h6-color","textColorVars.body-color","textColorVars.body-large-color"]},BlockEcommerceProductList:{paths:["background.color","buttonStyle.grid-button-primary-color","buttonStyle.grid-button-primary-color-hover","buttonStyle.grid-button-primary-color-active","buttonStyle.grid-button-primary-background-color","buttonStyle.grid-button-primary-background-color-hover","buttonStyle.grid-button-primary-border-color","buttonStyle.grid-button-primary-border-color-active","buttonStyle.grid-button-primary-border-color-hover","buttonStyle.grid-button-secondary-color","buttonStyle.grid-button-secondary-color-hover","buttonStyle.grid-button-secondary-color-active","buttonStyle.grid-button-secondary-background-color","buttonStyle.grid-button-secondary-background-color-hover","buttonStyle.grid-button-secondary-border-color","buttonStyle.grid-button-secondary-border-color-active","buttonStyle.grid-button-secondary-border-color-hover","textColorVars.h1-color","textColorVars.h2-color","textColorVars.h3-color","textColorVars.h4-color","textColorVars.h5-color","textColorVars.h6-color","textColorVars.body-color","textColorVars.body-large-color","ribbonStyle.ribbon-color","ribbonStyle.ribbon-background-color"]},BlockBlogHeader:{paths:["background.color"]},BlockBlogList:{paths:["background.color"]},BlockImageSlideshow:{paths:["settings.styles.navigationDotsColor","settings.styles.navigationArrowsColor"]}},NN={GridButton:{paths:["fontColor","fontColorHover","backgroundColor","backgroundColorHover","borderColor","borderColorHover"]},GridEcommerceButton:{paths:["fontColor","fontColorHover","backgroundColor","backgroundColorHover","borderColor","borderColorHover"]},GridSocialIcons:{paths:["settings.styles.icon-color","settings.styles.icon-color-hover"]},GridShape:{paths:["color"]},GridTextBox:{paths:["backgroundColor"]},GridForm:{paths:["inputFillColor","inputFillColorHover","inputTextColor","inputTextColorHover","labelTextColor","formBorderColor","inputBorderColor","inputBorderColorHover","formBackgroundColor","submitButtonFontColor","submitButtonFontColorHover","submitButtonBackgroundColor","submitButtonBackgroundColorHover","submitButtonBorderColor","submitButtonBorderColorHover"]}},Ts=[{alt:"black blue and yellow textile",path:"photo-1584443348278-4789e86c7373?auto=format&fit=crop&w=3600&h=2160",origin:"unsplash"},{alt:"a man riding a skateboard down the side of a ramp",path:"photo-1563164232-b6ee5dd3e821?auto=format&fit=crop&w=3600&h=2160",origin:"unsplash"},{alt:"white concrete building during daytime",path:"photo-1586522471252-68f4b108ff2a?auto=format&fit=crop&w=3600&h=2160",origin:"unsplash"},{alt:"worm's-eye view photography of concrete building",path:"photo-1483366774565-c783b9f70e2c?auto=format&fit=crop&w=861&",origin:"unsplash"},{alt:"photo of white staircase",path:"photo-1516739089214-59baa011fdb9?auto=format&fit=crop&w=3600&h=2160",origin:"unsplash"},{alt:"white concrete building",path:"photo-1578803203370-8b000b589edd?auto=format&fit=crop&w=3600&h=2160",origin:"unsplash"}],HN=[{id:"OwLII_JWsPQ",width:3374,height:5472,blur_hash:"LEFrFp.90ztSXp.9gPbx7%OZM|Iq",alt_description:"man and woman standing in front of brown concrete building during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"sauntered_globe",name:"Mos Sukjaroenkraisri",profile_image:{small:"https://images.unsplash.com/profile-1583491412391-1410a68650c6image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"1JM7_xehCVA",width:3428,height:4285,blur_hash:"LJNK9iRj_3%Mt7t8RPM{_Nt79FRj",alt_description:"black nikon dslr camera on white printer paper",urls:{raw:null,regular:null,thumb:null},user:{username:"yanagirl2020",name:"Yehleen gaffney",profile_image:{small:"https://images.unsplash.com/profile-1591105669703-5e2235d167eaimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"6AEYm85N10s",width:5184,height:3456,blur_hash:"L22$aJwID|J6wIj[OAW.D|S2-F$l",alt_description:"blue and white smoke illustration",urls:{raw:null,regular:null,thumb:null},user:{username:"sam_bad",name:"Sam",profile_image:{small:"https://images.unsplash.com/profile-1610802956174-98198d3b2ed2image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"_c_mdKbNuhA",width:2e3,height:3e3,blur_hash:"L6S$ln-;?^%g^*RjoztRyEof8_V@",alt_description:"red rose with green leaves",urls:{raw:null,regular:null,thumb:null},user:{username:"hddddck",name:"Steven Haddock",profile_image:{small:"https://images.unsplash.com/profile-fb-1607518974-17fa45487dc3.jpg?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"-yXUmnSgJMY",width:2160,height:2700,blur_hash:"LYNwNFj@~qt7?HRjayj[-;RiD%kC",alt_description:"woman in black long sleeve shirt and blue denim jeans sitting on white concrete wall",urls:{raw:null,regular:null,thumb:null},user:{username:"shinfe",name:"Shinfe Studio",profile_image:{small:"https://images.unsplash.com/profile-1618646035200-9aa08806d93fimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"ANTeIeA5F7U",width:6720,height:4480,blur_hash:"LLO:|b9D-q^-N;InM_xc_4Io9XRi",alt_description:"green vegetable on white ceramic plate",urls:{raw:null,regular:null,thumb:null},user:{username:"bakdandraw",name:"Bakd&Raw by Karolin Baitinger",profile_image:{small:"https://images.unsplash.com/profile-1619809393043-551ade2f028dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"A52GGBS9GIU",width:3648,height:5472,blur_hash:"LC7^[6~U-o%L?Z-:tRkDW.of%1s:",alt_description:"woman in white and brown dress standing on green grass during night time",urls:{raw:null,regular:null,thumb:null},user:{username:"butenkovph",name:"Vadim Butenkov",profile_image:{small:"https://images.unsplash.com/profile-1626519549074-fb33db0fa642?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"r_ssUY27s9k",width:3520,height:5291,blur_hash:"LCFh^+.9EJ9t0K9u%gIp0KjD#+i^",alt_description:"man in white crew neck t-shirt wearing blue cap and black sunglasses",urls:{raw:null,regular:null,thumb:null},user:{username:"jayson_hinrichsen",name:"Jayson Hinrichsen",profile_image:{small:"https://images.unsplash.com/profile-1609483876126-c002704cc7bdimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"WStLwhx2xrk",width:6e3,height:4e3,blur_hash:"L44^{y1yi^+]5j,Ds;J.wJW;S3so",alt_description:"red blue and black abstract painting",urls:{raw:null,regular:null,thumb:null},user:{username:"pawel_czerwinski",name:"Pawel Czerwinski",profile_image:{small:"https://images.unsplash.com/profile-1592328433409-d9ce8a5333eaimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"1ox1IHwuSto",width:4480,height:6720,blur_hash:"L~LN=9s;WBj[~qj[ayj[t7WBj[ay",alt_description:"green mountain under white sky during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"joshuafuller",name:"Joshua Fuller",profile_image:{small:"https://images.unsplash.com/profile-1554115735018-2a9dad8cd52d?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"vCP1ISpPDaQ",width:2900,height:3999,blur_hash:"LHC6S{~Cnhad^+s.ayWB9YE1t7of",alt_description:"ocean waves crashing on shore during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"p_kuzovkova",name:"Polina Kuzovkova",profile_image:{small:"https://images.unsplash.com/profile-fb-1599732338-2f306e8de95c.jpg?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"oggezWlumg0",width:5999,height:3962,blur_hash:"L=J8YCxaj[kC~qs:j[j[IoWBj[f6",alt_description:"people sitting on grass field during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"naranbayar_1",name:"naraa .in.ub",profile_image:{small:"https://images.unsplash.com/profile-1615177125969-c83b477bcfccimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"OOs6WXfNV7Q",width:4e3,height:6e3,blur_hash:"LTIE|U9F00xu?wD%ofa#-:Rjt8Rj",alt_description:"water falls in the forest",urls:{raw:null,regular:null,thumb:null},user:{username:"bapt_g",name:"Baptiste Gousset",profile_image:{small:"https://images.unsplash.com/profile-1591787368767-6cc41486ba1aimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"XLBDdrNQwqo",width:4e3,height:6e3,blur_hash:"LGLET$Mvtl_NxmxvS6Ip9#R+nMaJ",alt_description:"woman in white hijab smiling",urls:{raw:null,regular:null,thumb:null},user:{username:"rehamyoussef",name:"reham youssef",profile_image:{small:"https://images.unsplash.com/profile-1627663735526-b871e15f0080image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"xEs5-bbbT3Q",width:3631,height:4539,blur_hash:"LWG[f*M{9F%M~qRjITt7x]jZRPof",alt_description:"empty hallway between concrete buildings during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"jupp",name:"Jonathan Kemper",profile_image:{small:"https://images.unsplash.com/profile-1594303873883-26aac065c921image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"cRY84RQE_Jg",width:3456,height:5184,blur_hash:"LMB2]Sxcp3NasAWTW7f4NZR%jDxb",alt_description:"woman in black shirt wearing sunglasses",urls:{raw:null,regular:null,thumb:null},user:{username:"photones11",name:"Julian Florez",profile_image:{small:"https://images.unsplash.com/profile-1532657867445-42e3a5a649d2?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"4p_i8cK8F0k",width:3696,height:5544,blur_hash:"LFH2f$4n~qM{-;IU%Mxu~q_NIUxu",alt_description:"woman in white crew neck shirt wearing brown sun hat",urls:{raw:null,regular:null,thumb:null},user:{username:"juniorreisfoto",name:"Junior REIS",profile_image:{small:"https://images.unsplash.com/profile-1616725924591-59ed46e6d1c1image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"KgLlSno7RLI",width:5472,height:3648,blur_hash:"L8AdDb8w4q.88^yEs;nMH]tQoxNH",alt_description:"person holding black and gray digital camera",urls:{raw:null,regular:null,thumb:null},user:{username:"druks",name:"Félix Besombes",profile_image:{small:"https://images.unsplash.com/profile-1606241009900-68ae4d356f0cimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"mz6USxR49PA",width:5174,height:7757,blur_hash:"L039MjEyNF~UujspjcE22]xGn69b",alt_description:"brown wooden house on lake",urls:{raw:null,regular:null,thumb:null},user:{username:"patresinger",name:"Patrick Langwallner",profile_image:{small:"https://images.unsplash.com/profile-1560256656985-c0a8e0d586a9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"c8hi_P21Rn4",width:5375,height:3583,blur_hash:"LkJI|l.TofkC.9axMxWBbHRPoftR",alt_description:"gray concrete building during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"parrish",name:"Parrish Freeman",profile_image:{small:"https://images.unsplash.com/profile-1620080049469-43b9e29768daimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"FNqJ5eBfS0o",width:3744,height:4680,blur_hash:"L25N_p5RM_Ef~VE1kB%2J,RP-p-V",alt_description:"woman with brown hair wearing white and black floral hijab",urls:{raw:null,regular:null,thumb:null},user:{username:"isaakarsworld",name:"IsaaK Alexandre KaRslian",profile_image:{small:"https://images.unsplash.com/profile-1627600930154-659900cd0ed6image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"jhIj1hiInto",width:3335,height:2500,blur_hash:"L4BW**xu?vkDWXIAV[j?4TozITt8",alt_description:"black berries on black surface",urls:{raw:null,regular:null,thumb:null},user:{username:"universaleye",name:"Universal Eye",profile_image:{small:"https://images.unsplash.com/profile-1615170883424-223c49bef768image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"PncLQT6msjo",width:3643,height:5829,blur_hash:"L78;Z5R,4mxa-;WCE0t6D$axWVj[",alt_description:"white and brown train door",urls:{raw:null,regular:null,thumb:null},user:{username:"dayee",name:"大爷 您",profile_image:{small:"https://images.unsplash.com/profile-1588138840136-215eab923c60image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"qCKHDq-88-g",width:3908,height:5862,blur_hash:"L=IORpxuRjj[~qt7WAj[%NWBWBof",alt_description:"man in gray jacket and black backpack standing on green grass field near mountain during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"gantas",name:"Gantas Vaičiulėnas",profile_image:{small:"https://images.unsplash.com/profile-1594981205756-88eda384bff2image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"H4Xlh-B_7Rg",width:4160,height:6240,blur_hash:"L@KxC.jEkCoz~qRjayof-;j[WVWB",alt_description:"brown wooden house near lake surrounded by green trees during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"sueleewright",name:"Suelee Wright",profile_image:{small:"https://images.unsplash.com/profile-1628619441825-fd7629dd0420image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"SjqDB6bAZJk",width:3648,height:5472,blur_hash:"L15rA5?vD%xu_NtRV@ofRjayj[j]",alt_description:"black and white concrete building",urls:{raw:null,regular:null,thumb:null},user:{username:"dylanhendricks",name:"Dylann Hendricks | 딜란",profile_image:{small:"https://images.unsplash.com/profile-1614483709506-7ca421e00f40image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"jsnqiE1WF1s",width:3150,height:4724,blur_hash:"LC6Ru?-:Dh9GL}RPt-tlKkOFrpwb",alt_description:"woman in blue and white shirt",urls:{raw:null,regular:null,thumb:null},user:{username:"benmasora",name:"Ben Masora",profile_image:{small:"https://images.unsplash.com/profile-fb-1590605336-8440ca965b17.jpg?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"2UZ4kQRImVg",width:5464,height:8192,blur_hash:"LoLO4poLaeWB?^WBofs:%gofRjRj",alt_description:"man in black suit standing beside woman in white wedding dress",urls:{raw:null,regular:null,thumb:null},user:{username:"nate_dumlao",name:"Nathan Dumlao",profile_image:{small:"https://images.unsplash.com/profile-1495427732560-fe5248ad6638?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"sZDkAPqTypU",width:2624,height:3936,blur_hash:"LA8NkZSixut8x{ogV?a#0Js,M_ae",alt_description:"brown concrete building under starry night",urls:{raw:null,regular:null,thumb:null},user:{username:"piensaenpixel",name:"Emilio Garcia",profile_image:{small:"https://images.unsplash.com/profile-1523306443217-4c56454b65ca?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}},{id:"BVWE9KD2sIw",width:5568,height:3712,blur_hash:"L}PF.RxEWEay.ASNkCj[Neaynia#",alt_description:"yellow sunflower field during daytime",urls:{raw:null,regular:null,thumb:null},user:{username:"kristapsungurs",name:"Kristaps Ungurs",profile_image:{small:"https://images.unsplash.com/profile-1572640061210-c7b0e4c77d42image?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32"}}}],Y_=[{paletteId:`${qn.PALETTE}-1`,color1:"#EFF2F9",color2:"#617DA1",color3:"#21272E",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-2`,color1:"#F5EBE0",color2:"#7A6B5F",color3:"#382E27",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-3`,color1:"#F0EEF2",color2:"#1F2130",color3:"#8B728E",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-4`,color1:"#EEEDEB",color2:"#5E665C",color3:"#262625",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-5`,color1:"#F2F2F2",color2:"#4D4D4D",color3:"#1A1A1A",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-6`,color1:"#ECEFF3",color2:"#416BD7",color3:"#101840",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-7`,color1:"#FFEACC",color2:"#211E1B",color3:"#CC6333",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-8`,color1:"#FFE5D9",color2:"#242666",color3:"#686DF3",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-9`,color1:"#F4F4F4",color2:"#E5525F",color3:"#261F1F",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-10`,color1:"#FFFAB2",color2:"#725EED",color3:"#2D236D",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"},{paletteId:`${qn.PALETTE}-11`,color1:"#F2F1E6",color2:"#1B1F1C",color3:"#31A050",light:"#FFFFFF",dark:"#1A1A1A",grey:"#B8BECC"}],Jn={en:{disclaimer:"This website uses cookies to provide necessary site functionality and to improve your experience. By using this website, you agree to our use of cookies.",accept:"Accept",decline:"Decline",readTime:"min read"},af:{disclaimer:"Hierdie webwerf maak gebruik van koekies om nodige webwerf funksionaliteit te verskaf en om jou ervaring te verbeter. Deur hierdie webwerf te gebruik, stem jy saam met ons gebruik van koekies.",accept:"Aanvaar",decline:"Weier",readTime:"min lees"},ar:{disclaimer:"يستخدم هذا الموقع ملفات تعريف الارتباط لتوفير وظائف الموقع اللازمة وتحسين تجربتك. عن طريق استخدام هذا الموقع ، فإنك توافق على استخدامنا لملفات تعريف الارتباط.",accept:"قبول",decline:"انخفاض",readTime:"دقيقة قراءة"},az:{disclaimer:"Bu veb sayt tələb olunan sayt funksionalitətini təmin etmək və təcrübənizi yaxşılaşdırmaq üçün çerezlərdən istifadə edir. Bu veb saytı istifadə edərək, bizim çerezlərdən istifadəmizə razılaşmış olursunuz.",accept:"Qəbul edin",decline:"Rədd olun",readTime:"dəqiqə oxu"},bg:{disclaimer:"Този уебсайт използва бисквитки, за да осигури необходимите функции на сайта и да подобри вашето изживяване. С използването на този уебсайт вие се съгласявате с нашето използване на бисквитки.",accept:"Приеми",decline:"Откажи",readTime:"мин четене"},bn:{disclaimer:"এই ওয়েবসাইটটি প্রয়োজনীয় সাইট কার্যক্রম সরবরাহ করতে এবং আপনার অভিজ্ঞতা উন্নত করতে কুকিজ ব্যবহার করে। এই ওয়েবসাইটটি ব্যবহার করে আপনি আমাদের কুকিজ ব্যবহারের সাথে সম্মত হন।",accept:"গ্রহণ করা",decline:"অস্বীকার",readTime:"মিনিট পড়ুন"},bs:{disclaimer:"Ova web stranica koristi kolačiće za pružanje potrebne funkcionalnosti web stranice i poboljšanje vašeg iskustva. Korištenjem ove web stranice pristajete na naše korištenje kolačića.",accept:"Prihvati",decline:"Odbiti",readTime:"min čitanje"},cs:{disclaimer:"Tato webová stránka používá soubory cookie k poskytování nezbytných funkcí webové stránky a zlepšení vašeho zážitku. Používáním této webové stránky souhlasíte s naším používáním souborů cookie.",accept:"Akceptovat",decline:"Odmítnout",readTime:"min čtení"},da:{disclaimer:"Denne webside bruger cookies til at levere nødvendig webstedsfunktionalitet og forbedre din oplevelse. Ved at bruge denne webside accepterer du vores brug af cookies.",accept:"Acceptere",decline:"Nedgang",readTime:"min læsning"},de:{disclaimer:"Diese Website verwendet Cookies, um notwendige Website-Funktionen bereitzustellen und Ihre Erfahrung zu verbessern. Durch die Nutzung dieser Website stimmen Sie unserer.",accept:"Annehmen",decline:"Ablehnen",readTime:"min lesen"},et:{disclaimer:"See veebisait kasutab küpsiseid vajaliku veebisaidi funktsionaalsuse tagamiseks ja teie kogemuse parandamiseks. Selle veebisaidi kasutamisega nõustute meie küpsiste kasutamisega.",accept:"Nõustu",decline:"Keeldumine",readTime:"min lugemine"},el:{disclaimer:"Αυτός ο ιστότοπος χρησιμοποιεί cookies για να παρέχει απαραίτητες λειτουργίες ιστότοπου και για να βελτιώσει την εμπειρία σας. Χρησιμοποιώντας αυτόν τον ιστότοπο, συμφωνείτε με τη χρήση cookies από εμάς.",accept:"Αποδέχομαι",decline:"Πτώση",readTime:"λεπτά ανάγνωσης"},es:{disclaimer:"Este sitio web utiliza cookies para proporcionar las funciones del sitio necesarias y mejorar su experiencia. Al utilizar este sitio web, acepta nuestro uso de cookies.",accept:"Aceptar",decline:"Rechazar",readTime:"min leer"},eu:{disclaimer:"Webgune honek cookie-ak erabiltzen ditu gunearen funtzionaltasuna eskaintzeko eta zure esperientzia hobetzeko. Webgune hau erabiltzean, gure cookieen erabilera onartzen duzu.",accept:"Onartu",decline:"Gainbehera",readTime:"min irakurri"},fr:{disclaimer:"Ce site utilise des cookies pour fournir les fonctionnalités de site nécessaires et améliorer votre expérience. En utilisant ce site, vous acceptez notre utilisation des cookies.",accept:"Accepter",decline:"Décliner",readTime:"min temps de lecture"},gu:{disclaimer:"આ વેબસાઇટ આવશ્યક વેબસાઇટ કાર્યક્ષમતા પૂરી કરવા અને તમારી અનુભવને સુધારવા માટે કુકીઝનો ઉપયોગ કરે છે. આ વેબસાઇટનો ઉપયોગ કરીને તમે અમારા કુકીઝનો ઉપયોગ સહમત થાઓ છો.",accept:"સ્વીકારો",decline:"અસ્વીકાર",readTime:"મિનિટ વાંચો"},zh:{disclaimer:"本网站使用cookie提供必要的网站功能并改善您的体验。使用本网站即表示您同意我们使用cookie。",accept:"接受",decline:"拒绝",readTime:"分钟阅读"},ko:{disclaimer:"이 웹 사이트는 필수 사이트 기능을 제공하고 경험을 향상시키기 위해 쿠키를 사용합니다. 이 웹 사이트를 사용하면 쿠키 사용에 동의하는 것으로 간주됩니다.",accept:"수용하다",decline:"감소",readTime:"분 읽기"},hi:{disclaimer:"यह वेबसाइट आपके अनुभव को सुधारने और आवश्यक वेबसाइट कार्यक्षमता प्रदान करने के लिए कुकीज़ का उपयोग करती है। इस वेबसाइट का उपयोग करके, आप हमारे कुकीज़ का उपयोग स्वीकार करते हैं।",accept:"स्वीकार करना",decline:"पतन",readTime:"मिनट पढ़ें"},kn:{disclaimer:"ಈ ವೆಬ್‌ಸೈಟ್ ಅವಶ್ಯಕ ವೆಬ್‌ಸೈಟ್ ಕೆಲಸಗಳನ್ನು ನೀಡಲು ಮತ್ತು ನಿಮ್ಮ ಅನುಭವವನ್ನು ಉತ್ತಮಗೊಳಿಸಲು ಕುಕೀಗಳನ್ನು ಬಳಸುತ್ತದೆ. ಈ ವೆಬ್‌ಸೈಟ್ ಅನ್ವಯಿಸಲು ನಿಮ್ಮ ಕುಕೀಗಳ ಬಳಸಲು ನಿಮ್ಮ ಸಹಾಯವನ್ನು ನೀಡುತ್ತದೆ.",accept:"ಒಪ್ಪಿಕೊಳ್ಳಿ",decline:"ನಿರಾಕರಿಸು",readTime:"ನಿಮಿಷ ಓದಿ"},hr:{disclaimer:"Ova web stranica koristi kolačiće za osiguranje nužnih web stranica funkcija i poboljšanje vašeg iskustva. Korištenjem ove web stranice prihvaćate našu upotrebu kolačića.",accept:"Prihvatiti",decline:"Odbiti",readTime:"min čitanje"},id:{disclaimer:"Situs web ini menggunakan cookie untuk menyediakan fungsi situs yang diperlukan dan meningkatkan pengalaman Anda. Dengan menggunakan situs web ini, Anda menyetujui penggunaan cookie kami.",accept:"Menerima",decline:"Menolak",readTime:"min baca"},is:{disclaimer:"Þessi vefur notar kökur til að veita nauðsynlegum vefsvæðisföllum og auka reynslu þína. Með því að nota þennan vef notar þú samþykkið okkar notkun á kökum.",accept:"Taka",decline:"Afneita",readTime:"min lesa"},it:{disclaimer:"Questo sito utilizza i cookie per fornire le funzionalità del sito necessarie e migliorare la tua esperienza. Utilizzando questo sito, accetti il nostro utilizzo dei cookie.",accept:"Accetto",decline:"Declinare",readTime:"min leggere"},he:{disclaimer:"אתר זה משתמש בעוגיות כדי לספק את התכונות הנדרשות של האתר ולשפר את החוויה שלך. באמצעות שימוש באתר זה, אתה מסכים לשימוש שלנו בעוגיות.",accept:"לְקַבֵּל",decline:"יְרִידָה",readTime:"דקה לקרוא"},ku:{disclaimer:"ئەم وێبگەیە کوکییەکان بۆ بەرهەمکردنی تایبەتمەندییەکانی وێبگەیەکان و بهبودی تێبینییەکانتان بەکاردێت. بەکارهێنانی ئەم وێبگەیە، ئەم کوکییەکان بەکاردێتەوەیانیانیان.",accept:"پەسەندکردن",decline:"ڕەتکردنەوە",readTime:"خولەک خوێندن"},lv:{disclaimer:"Šī vietne izmanto sīkdatnes, lai nodrošinātu nepieciešamo vietnes funkcionalitāti un uzlabotu jūsu pieredzi. Šī vietne izmantojot, jūs piekrītat mūsu sīkdatņu izmantošanai.",accept:"Pieņemt",decline:"Noraidīt",readTime:"min lasīt"},lb:{disclaimer:"Dës Säit benotzt Cookies fir déi néideg Funktiounen ze gewährleisten an Är Erfoerderung ze verbesseren. Wann Dir dës Säit benotzt, akzeptéiert Dir datt eng Benotzung vun ärer Cookies.",accept:"Akzeptéieren",decline:"Decline",readTime:"min liesen"},lt:{disclaimer:"Šioje svetainėje naudojami slapukai, kad būtų pateikiamos reikalingos svetainės funkcijos ir pagerintų jūsų patirtį. Naudojant šią svetainę, jūs sutinkate su mūsų slapukų naudojimu.",accept:"Sutinku",decline:"Nesutinku",readTime:"min skaitymo"},lk:{disclaimer:"මෙම වෙබ් අඩවිය අවශ්ය වෙබ් අඩවි ක්‍රියාකරන සහ ඔබේ අතුරුමුහුණත් වැඩිදුර සඳහා කුකීයි භාවිතා කරයි. මෙම වෙබ් අඩවිය භාවිතා කිරීමෙන්, ඔබ අපේ කුකීයි භාවිතා කිරීමට සත්‍ය වේ.",accept:"හරි",decline:"අවලංගු කරන්න",readTime:"මිනිත්තු කියවන්න"},hu:{disclaimer:"Ez a webhely cookie-kat használ a szükséges webhely funkciók biztosításához és az Ön élményének javításához. A webhely használatával Ön elfogadja a cookie-k használatát.",accept:"Elfogad",decline:"Elutasít",readTime:"perc olvasás"},mk:{disclaimer:"Оваа веб-страница користи колачиња за да ги обезбеди потребните функции на веб-страницата и да ја подобри вашата експериенца. Користејќи ја оваа веб-страница, вие се согласувате со нашата употреба на колачиња.",accept:"Прифати",decline:"Одбивање",readTime:"мин читање"},mn:{disclaimer:"Энэ вэб сайт нь шаардлагатай сайтын ажиллагааг хангах, таны туршлагыг сайжруулах зорилгоор күүки ашигладаг. Энэ вэбсайтыг ашигласнаар та күүки ашиглахыг зөвшөөрч байна.",accept:"Зөвшөөрөх",decline:"Татгалзах",readTime:"мин унших"},mt:{disclaimer:"Din il-websajt jagħmlu użu ta' cookies biex tikkonferma l-funzjonijiet bżonnija tal-websajt u biex tikkwalifika l-espjencija tiegħek. B'użu tal-websajt din, inti tikkonsenti l-użu ta' cookies tiegħek.",accept:"Aċċetta",decline:"Tnaqqis",readTime:"min taqra"},mr:{disclaimer:"हा संकेतस्थळ आवश्यक संकेतस्थळ कार्यक्षमता पुरवण्यासाठी आणि आपल्या अनुभवाचे सुधारणा करण्यासाठी कुकीज वापरतो. हा संकेतस्थळ वापरताना, आपण आमच्या कुकीज वापरण्याची सहमती देता.",accept:"स्वीकारा",decline:"अस्वीकार",readTime:"मिनिटे वाचा"},ro:{disclaimer:"Acest site folosește cookie-uri pentru a furniza funcționalitățile site-ului necesare și pentru a îmbunătăți experiența dvs. Prin utilizarea acestui site, sunteți de acord cu utilizarea noastră a cookie-urilor.",accept:"Accept",decline:"Declin",readTime:"min citit"},ja:{disclaimer:"このウェブサイトでは、必要なサイト機能を提供し、お客様の体験を向上させるためにクッキーを使用しています。 このウェブサイトを使用することで、クッキーの使用に同意するものとみなされます。",accept:"承認",decline:"却下",readTime:"分読む"},nl:{disclaimer:"Deze website maakt gebruik van cookies om noodzakelijke sitefunctionaliteit te bieden en uw ervaring te verbeteren. Door deze website te gebruiken, gaat u akkoord met ons gebruik van cookies.",accept:"Aanvaarden",decline:"Afwijzen",readTime:"min lezen"},no:{disclaimer:"Denne nettsiden bruker informasjonskapsler for å sikre nødvendige nettstedfunksjoner og forbedre din opplevelse. Ved å bruke denne nettsiden, samtykker du til vår bruk av informasjonskapsler.",accept:"Aksepterer",decline:"Avslå",readTime:"min lese"},pl:{disclaimer:"Ta strona internetowa wykorzystuje pliki cookie, aby zapewnić niezbędne funkcje witryny i poprawić Twoje doświadczenie. Korzystając z tej witryny internetowej, zgadzasz się na nasze wykorzystywanie plików cookie.",accept:"Akceptuj",decline:"Odrzuć",readTime:"min czytać"},pt:{disclaimer:"Este site usa cookies para fornecer funcionalidades do site necessárias e melhorar sua experiência. Ao usar este site, você concorda com o uso de cookies por nossa parte.",accept:"Aceitar",decline:"Rejeitar",readTime:"min ler"},pa:{disclaimer:"ਇਹ ਵੈੱਬਸਾਈਟ ਜ਼ਰੂਰੀ ਸਾਈਟ ਕਾਰਜਕੁਸ਼ਲਤਾ ਪ੍ਰਦਾਨ ਕਰਨ ਅਤੇ ਤੁਹਾਡੇ ਅਨੁਭਵ ਨੂੰ ਬਿਹਤਰ ਬਣਾਉਣ ਲਈ ਕੂਕੀਜ਼ ਦੀ ਵਰਤੋਂ ਕਰਦੀ ਹੈ। ਇਸ ਵੈੱਬਸਾਈਟ ਦੀ ਵਰਤੋਂ ਕਰਕੇ, ਤੁਸੀਂ ਸਾਡੀ ਕੂਕੀਜ਼ ਦੀ ਵਰਤੋਂ ਲਈ ਸਹਿਮਤ ਹੁੰਦੇ ਹੋ।",accept:"ਸਵੀਕਾਰ ਕਰੋ",decline:"ਅਸਵੀਕਾਰ ਕਰੋ",readTime:"ਮਿੰਟ ਪੜ੍ਹੇ"},ru:{disclaimer:"Этот сайт использует файлы cookie, чтобы обеспечить необходимые функции сайта и улучшить ваш опыт. Используя этот сайт, вы соглашаетесь с нашим использованием файлов cookie.",accept:"Принимать",decline:"Отклонить",readTime:"мин чтение"},sk:{disclaimer:"Táto webová stránka používa súbory cookie na poskytovanie potrebných funkcií webovej stránky a na zlepšenie vašej skúsenosti. Používaním tejto webovej stránky súhlasíte s naším používaním súborov cookie.",accept:"súhlasiť",decline:"Odmietnuť",readTime:"min čítanie"},sl:{disclaimer:"Ta spletna stran uporablja piškotke, da zagotovi potrebne funkcije spletnega mesta in izboljša vaše izkušnje. S tem spletnim mestom se strinjate z našim uporabljanjem piškotkov.",accept:"Sprejmi",decline:"Zavrni",readTime:"min branje"},sv:{disclaimer:"Denna webbplats använder cookies för att tillhandahålla nödvändiga webbplatsfunktioner och förbättra din upplevelse. Genom att använda denna webbplats samtycker du till vår användning av cookies.",accept:"Acceptera",decline:"Nedgång",readTime:"min läsa"},sr:{disclaimer:"Ovaj sajt koristi kolačiće da bi obezbedio neophodne funkcije sajta i poboljšao vašu iskustvo. Korišćenjem ovog sajta, saglasni ste sa našom upotrebom kolačića.",accept:"Прихвати",decline:"Одбити",readTime:"мин читање"},sq:{disclaimer:"Ky website përdor cookies për të siguruar funksionalitetin e nevojshëm të faqes dhe për të përmirësuar eksperiencën tuaj. Duke përdorur këtë website, ju pranoni përdorimin tonë të cookies.",accept:"Pranoj",decline:"Refuzoj",readTime:"min lexim"},sd:{disclaimer:"هي ويب سائيٽ ڪوڪيز استعمال ڪري ٿي ضروري سائيٽ جي ڪارڪردگي مهيا ڪرڻ ۽ توهان جي تجربي کي بهتر ڪرڻ لاءِ. هن ويب سائيٽ کي استعمال ڪندي، توهان اسان جي ڪوڪيز جي استعمال سان متفق آهيو.",accept:"قبول ڪريو",decline:"رد ڪرڻ",readTime:"منٽ وڻڻ"},fi:{disclaimer:"Tämä verkkosivusto käyttää evästeitä tarjotakseen sivuston tarvittavat toiminnot ja parantaa kokemustasi. Käyttämällä tätä verkkosivustoa, hyväksyt evästeiden käytön.",accept:"Hyväksy",decline:"Hylkää",readTime:"min lukea"},ta:{disclaimer:"இந்த வலைத்தளம் தேவையான தள செயல்பாடுகளை வழங்க குக்கீகளைப் பயன்படுத்துகிறது மற்றும் உங்கள் அனுபவத்தை மேம்படுத்துகிறது. இந்த வலைத்தளத்தைப் பயன்படுத்துவதன் மூலம், நீங்கள் குக்கீகளைப் பயன்படுத்துகிறீர்கள் என்று நாங்கள் ஒப்புக்கொள்கிறீர்கள்.",accept:"ஏற்கனவே",decline:"மறுக்குக",readTime:"நிமிடங்கள் வாசிக்கவும்"},te:{disclaimer:"ఈ వెబ్‌సైట్ వెబ్‌సైట్ అవసరమైన వెబ్‌సైట్ ఫీచర్‌లను అందిస్తుంది మరియు మీ అనుభవాన్ని మెరుగుపరచుకోవడానికి కుకీలను ఉపయోగిస్తుంది. ఈ వెబ్‌సైట్‌ను ఉపయోగించినప్పుడు, మీరు మా కుకీల ఉపయోగాన్ని ఆమోదించుకుంటారు.",accept:"అంగీకరించండి",decline:"తిరస్కరించండి",readTime:"నిమిషాలు చదవండి"},th:{disclaimer:"เว็บไซต์นี้ใช้คุกกี้เพื่อให้คุณได้รับคุณสมบัติของเว็บไซต์ที่จำเป็นและเพื่อปรับปรุงประสบการณ์ของคุณ โดยการใช้เว็บไซต์นี้ คุณยอมรับการใช้คุกกี้ของเรา",accept:"ยอมรับ",decline:"ปฏิเสธ",readTime:"นาทีอ่าน"},vi:{disclaimer:"Trang web này sử dụng cookie để cung cấp các tính năng cần thiết của trang web và cải thiện trải nghiệm của bạn. Bằng cách sử dụng trang web này, bạn đồng ý với việc sử dụng cookie của chúng tôi.",accept:"Chấp nhận",decline:"Từ chối",readTime:"phút đọc"},tr:{disclaimer:"Bu web sitesi, gerekli web sitesi özelliklerini sağlamak ve deneyiminizi geliştirmek için çerez kullanır. Bu web sitesini kullanarak, çerezlerimizin kullanımına katılıyorsunuz.",accept:"Kabul",decline:"Reddetmek",readTime:"min oku"},uk:{disclaimer:"Цей сайт використовує файли cookie, щоб забезпечити необхідні функції сайту та покращити ваш досвід. Використовуючи цей сайт, ви погоджуєтеся з нашим використанням файлів cookie.",accept:"прийняти",decline:"відхилити",readTime:"хв читати"},ur:{disclaimer:"یہ ویب سائٹ کوکیز کو ضروری سائٹ کی فعالیت فراہم کرنے اور آپ کے تجربے کو بہتر بنانے کے لیے استعمال کرتی ہے۔ اس ویب سائٹ کا استعمال کرتے ہوئے، آپ کوکیز کے ہمارے استعمال سے اتفاق کرتے ہیں۔",accept:"قبول کریں۔",decline:"رد کرنا",readTime:"منٹ پڑھیں"},fas:{disclaimer:"این وب سایت از کوکی ها برای ارائه ویژگی های لازم وب سایت و بهبود تجربه شما استفاده می کند. با استفاده از این وب سایت، شما با استفاده از کوکی های ما موافقت می کنید.",accept:"قبول",decline:"رد کردن",readTime:"دقیقه خواندن"}},Oi={subsets:["latin"],variants:["regular","700"]},GN=[{category:"sans-serif",family:"Calibri",...Oi},{category:"monospace",family:"Courier",...Oi},{category:"sans-serif",family:"Comic Sans MS",...Oi},{category:"monospace",family:"Courier New",...Oi},{category:"serif",family:"Garamond",...Oi},{category:"serif",family:"Georgia",...Oi},{category:"sans-serif",family:"Helvetica",...Oi},{category:"serif",family:"Palatino",...Oi},{category:"sans-serif",family:"Tahoma",...Oi},{category:"serif",family:"Times New Roman",...Oi},{category:"sans-serif",family:"Trebuchet MS",...Oi},{category:"sans-serif",family:"Verdana",...Oi}],V6='',FN=t=>Un(t).toRgbString(),VN=()=>(t,e)=>{e.data.styles=[],As(t,"element",o=>{var n,s;if((n=o.properties)!=null&&n.style)try{e.data.styles=[...e.data.styles,t4((s=o.properties)==null?void 0:s.style)]}catch(a){console.error(a)}})},pv=t=>{const{data:e}=Bs().data("settings",Ds).use(VN).processSync(t);return e.styles.map(o=>o==null?void 0:o.color).filter(o=>o!==void 0)},UN=(t,e,o)=>{var s;const n=(s=RN[o.type])==null?void 0:s.paths;return n?n.map(a=>{var i;const l=kl(o,a);return!l||((i=o.background)==null?void 0:i.current)!=="gradient"?null:{path:`${t}.blocks.${e}.${a}`,value:{...l,isAnimated:!1}}}).filter(a=>a!==null):[]},jN=(t,e,o)=>{var s;const n=(s=MN[o.type])==null?void 0:s.paths;return n?n.map(a=>{var i;const l=kl(o,a);return!l||((i=o.background)==null?void 0:i.current)!=="color"?null:{path:`${t}.blocks.${e}.${a}`,value:l}}).filter(a=>a!==null):[]},WN=(t,e,o)=>{var s;const n=(s=NN[o.type])==null?void 0:s.paths;return n?n.map(a=>{const l=kl(o,a);return l?{path:`${t}.elements.${e}.${a}`,value:l}:null}).filter(a=>a!==null):[]},qN=(t,e,o)=>{var a;const n=(a=ON[o.type])==null?void 0:a.path;return n?pv(kl(o,n)).map(l=>({htmlPath:`${t}.elements.${e}.${n}`,value:l})):[]},U6=t=>Object.entries(t).flatMap(([e,{elements:o,blocks:n}])=>{const s=Object.entries(n).flatMap(([l,i])=>jN(e,l,i)),a=Object.entries(o).flatMap(([l,i])=>[...WN(e,l,i),...qN(e,l,i)]);return[...s,...a]}),YN=t=>Object.entries(t).flatMap(([e,{blocks:o}])=>Object.entries(o).flatMap(([s,a])=>UN(e,s,a))),KN=({pattern:t,replacement:e})=>o=>{As(o,"element",n=>{var s;(s=n.properties)!=null&&s.style&&(n.properties.style=n.properties.style.replaceAll(t,e))})},j6=(t,e,o)=>U6(t).filter(n=>n.path?kl(t,n.path)===e:n.htmlPath?pv(kl(t,n.htmlPath)).includes(e):!1).reduce((n,s)=>{if(s.path)return q_(n,s.path,o);if(s.htmlPath){const a=Bs().data("settings",Ds).use(KN,{pattern:e,replacement:o}).processSync(kl(n,s.htmlPath)).toString();return q_(n,s.htmlPath,a)}return n},t),fm=()=>{const{getters:t}=et(),e=d(()=>{if(Object.keys(t.siteLanguages).length===1)return t.siteLanguages;const{system:p,...g}=t.siteLanguages;return g}),o=d(()=>U6(e.value)),n=d(()=>YN(e.value)),s=d(()=>f1(o.value,({value:p})=>p)),a=d(()=>f1(n.value,({value:p})=>JSON.stringify(p))),l=d(()=>Object.fromEntries(Object.entries(s.value).map(([p,g])=>[p,g.length]))),i=d(()=>Object.fromEntries(Object.entries(a.value).map(([p,g])=>[p,g.length]))),c=d(()=>Object.fromEntries(Object.entries(l.value).filter(([p])=>p!=="transparent").sort((p,g)=>g[1]-p[1]))),u=d(()=>Object.fromEntries(Object.entries(i.value).sort((p,g)=>p-g)));return{getColorValue:FN,mostUsedColors:c,mostUsedGradients:u,updateColor:j6}},Ls=(t,e)=>{let o;return function(){const s=()=>Reflect.apply(t,this,arguments);clearTimeout(o),o=setTimeout(s,e)}},ZN={class:"picker-selection"},QN={key:0},XN={class:"text-bold-2"},JN={class:"picker-gradient"},tH=["onClick"],eH=["color"],oH=["value"],nH={key:2,class:"gradient-slider"},iH={class:"text-bold-2"},sH=K({__name:"ColorPickerSelection",props:{color:{default:Gi},gradient:{default:()=>({isAnimated:!1,angle:0,colors:[{value:Gi},{value:Gi}]})},isGradient:{type:Boolean},isOpacityDisabled:{type:Boolean,default:!1}},emits:["update-color","update-gradient","toggle-eye-dropper"],setup(t,{emit:e}){const o=t,n=e,{getColorValue:s}=fm(),{isSupported:a,open:l}=vT(),i=C([{isActive:!0,value:o.gradient.colors[0].value||Gi},{isActive:!1,value:o.gradient.colors[1].value||Gi}]),c=d(()=>i.value.findIndex(x=>x.isActive)),u=d(()=>{const x=o.isGradient?i.value[c.value].value:o.color;return Un(x).toRgbString()}),p=C(o.gradient.angle);Mt(()=>p.value,x=>{n("update-gradient",{...o.gradient,angle:x})}),Mt(()=>o.gradient,x=>{i.value=x.colors.map(({value:P},z)=>({isActive:i.value[z].isActive,value:P}))},{deep:!0});const g=x=>{i.value=i.value.map((P,z)=>({...P,isActive:z===x}))},f=d(()=>Un(s(u.value)).toHexString()),y=x=>{if(o.isGradient){i.value[c.value].value=x;const P=i.value.map(z=>({value:s(z.value)}));n("update-gradient",{...o.gradient,colors:P});return}n("update-color",s(x))},E=x=>{Un(x).isValid()&&y(x)},I=async()=>{n("toggle-eye-dropper",!0);try{const x=await l();if(!x)return;y(x.sRGBHex)}catch{n("toggle-eye-dropper",!1)}n("toggle-eye-dropper",!1)},T=Ls(x=>{E(x.target.value)},1e3);return(x,P)=>{const z=rt("qa");return r(),v("div",ZN,[x.isGradient?(r(),v("div",QN,[h("p",XN,w(x.$t("builder.gradientColors")),1),h("div",JN,[(r(!0),v(at,null,Pt(i.value,(L,$)=>(r(),v("button",{key:$,class:ut(["picker-gradient__button",{"picker-gradient__button--active":L.isActive}]),onClick:A=>g($)},[h("span",{class:"picker-gradient__color",style:re({backgroundColor:L.value})},null,4),b(ct,{name:"edit",dimensions:"20px"})],10,tH))),128))])])):B("",!0),h("rgba-string-color-picker",{color:u.value,onColorChanged:P[0]||(P[0]=Kt(L=>y(L.detail.value),["stop"]))},null,40,eH),R(h("input",{ref:"textInput",value:f.value,class:"picker-selection__text-input",type:"text",onKeydown:P[1]||(P[1]=Fi(L=>E(L.target.value),["enter"])),onBlur:P[2]||(P[2]=L=>E(L.target.value)),onInput:P[3]||(P[3]=(...L)=>m(T)&&m(T)(...L)),onFocus:P[4]||(P[4]=L=>x.$refs.textInput.select())},null,40,oH),[[z,"color-picker_text-input"]]),m(a)?(r(),S(gt,{key:1,"button-type":"outlined",class:"picker-selection__pick-color-button",onClick:I},{default:k(()=>[b(ct,{name:"colorize"}),U(" "+w(x.$t("common.pickColor")),1)]),_:1})):B("",!0),x.isGradient?R((r(),v("div",nH,[h("p",iH,w(x.$t("builder.gradientAngle")),1),R(b(ln,{modelValue:p.value,"onUpdate:modelValue":P[5]||(P[5]=L=>p.value=L),"has-number-input":"",min:0,max:360,step:1},null,8,["modelValue"]),[[z,"color-picker_gradient-slider"]])])),[[z,"color-picker_gradient-slider"]]):B("",!0)])}}}),W6=V(sH,[["__scopeId","data-v-a58e2d4e"]]),aH={class:"color-picker-solid"},lH={key:0,class:"color-picker-solid__website-colors"},rH={class:"text-bold-2"},dH={class:"color-picker-solid__colors"},cH=["onClick"],uH=K({__name:"ColorPickerSolid",props:{color:{},hideWebsiteColors:{type:Boolean},isOpacityDisabled:{type:Boolean,default:!1}},emits:["update-color","toggle-eye-dropper"],setup(t,{emit:e}){const o=e,n=t,{mostUsedColors:s,getColorValue:a}=fm(),l=[...new Set(Object.keys(s.value).slice(0,16).map(i=>a(i)))];return Vt(()=>{o("update-color",n.color)}),(i,c)=>{const u=rt("qa");return r(),v("div",aH,[l!=null&&l.length&&!i.hideWebsiteColors?(r(),v("div",lH,[h("p",rH,w(i.$t("common.colorStyles")),1),h("div",dH,[(r(),v(at,null,Pt(l,p=>R(h("button",{key:p,class:ut(["color-picker-solid__color",{active:p===i.color}]),style:re({backgroundColor:p}),onClick:g=>o("update-color",p)},null,14,cH),[[u,"builder-colorpicker-websitecolor-btn"]])),64))])])):B("",!0),b(W6,{color:i.color,"is-opacity-disabled":i.isOpacityDisabled,onUpdateColor:c[0]||(c[0]=p=>o("update-color",p)),onToggleEyeDropper:c[1]||(c[1]=p=>o("toggle-eye-dropper",p))},null,8,["color","is-opacity-disabled"])])}}}),pH=V(uH,[["__scopeId","data-v-021facce"]]),gH={class:"color-picker-gradient"},mH={key:0,class:"color-picker-gradient__website-colors"},hH={class:"text-bold-2"},bH={class:"color-picker-gradient__gradients"},fH=["onClick"],yH=K({__name:"ColorPickerGradient",props:{gradient:{},isOpacityDisabled:{type:Boolean,default:!1}},emits:["update-gradient","toggle-eye-dropper"],setup(t,{emit:e}){const o=t,n=e,{mostUsedGradients:s}=fm(),a=[...new Set(Object.keys(s.value).map(i=>JSON.parse(i)).slice(0,16))],l=i=>e4.isEqual({...i,isAnimated:!1},{...o.gradient,isAnimated:!1});return Vt(()=>{n("update-gradient",o.gradient)}),(i,c)=>(r(),v("div",gH,[a.length?(r(),v("div",mH,[h("p",hH,w(i.$t("builder.websiteGradients")),1),h("div",bH,[(r(),v(at,null,Pt(a,u=>h("button",{key:JSON.stringify(u),class:ut(["color-picker-gradient__gradient",{active:l(u)}]),style:re({background:m(wy)(u)}),onClick:p=>n("update-gradient",{...u,isAnimated:i.gradient.isAnimated})},null,14,fH)),64))])])):B("",!0),b(W6,{"is-gradient":"",gradient:i.gradient,"is-opacity-disabled":i.isOpacityDisabled,onUpdateGradient:c[0]||(c[0]=u=>n("update-gradient",u)),onToggleEyeDropper:c[1]||(c[1]=u=>n("toggle-eye-dropper",u))},null,8,["gradient","is-opacity-disabled"])]))}}),vH=V(yH,[["__scopeId","data-v-fc86d367"]]),_H={class:"color-picker"},wH={key:0,class:"color-picker-header"},kH=["onClick"],EH=K({__name:"ColorPicker",props:{color:{default:Gi},gradient:{default:()=>({isAnimated:!1,angle:0,colors:[{value:Gi},{value:Gi}]})},current:{default:"color"},hasGradient:{type:Boolean},targetRef:{default:null},isButtonHidden:{type:Boolean},isOpen:{type:Boolean},placement:{default:"bottom-start"},offset:{default:4},portalSelector:{default:Wg},autoUpdate:{type:Boolean},flip:{type:Boolean,default:!0},hideWebsiteColors:{type:Boolean},isOpacityDisabled:{type:Boolean,default:!1}},emits:["update-color","update-gradient","click-outside","toggle"],setup(t,{emit:e}){const o=t,n=e,{t:s}=_t(),a=C(o.current==="gradient"?"gradient":"solid"),l=g=>a.value===g,i=d(()=>[{type:"solid",label:s("builder.solid"),action:()=>{a.value="solid"},isActive:l("solid")},{type:"gradient",label:s("builder.gradient"),action:()=>{a.value="gradient"},isActive:l("gradient")}]),{dispatch:c}=et(),u=C(null),p=C(!1);return ao(()=>{c("gui/updateIsColorPickerOpen",!1),n("click-outside")}),(g,f)=>{const y=rt("qa");return r(),v("div",null,[R((r(),v("div",{ref_key:"colorPickerButtonRef",ref:u,onClick:f[0]||(f[0]=E=>g.$emit("toggle"))},[wt(g.$slots,"default",{},()=>[b(nu,{color:g.color},null,8,["color"])],!0)])),[[so,!g.isButtonHidden],[y,"builder-colorpicker-toggle-btn"]]),g.isOpen?(r(),S(Se,{key:0,"target-ref":g.targetRef||u.value,placement:g.placement,"portal-selector":g.portalSelector,offset:g.offset,flip:g.flip,"auto-update":g.autoUpdate,onClickOutside:f[5]||(f[5]=E=>g.$emit("click-outside"))},{default:k(()=>[R(h("div",_H,[g.hasGradient?(r(),v("div",wH,[(r(!0),v(at,null,Pt(i.value,E=>(r(),v("button",{key:E.type,class:ut(["color-picker-header__button",{"color-picker-header__button--active":E.isActive}]),onClick:E.action},w(E.label),11,kH))),128))])):B("",!0),l("solid")?(r(),S(pH,{key:1,color:g.color,"hide-website-colors":g.hideWebsiteColors,"is-opacity-disabled":g.isOpacityDisabled,onUpdateColor:f[1]||(f[1]=E=>n("update-color",E)),onToggleEyeDropper:f[2]||(f[2]=E=>p.value=E)},null,8,["color","hide-website-colors","is-opacity-disabled"])):(r(),S(vH,{key:2,gradient:g.gradient,"is-opacity-disabled":g.isOpacityDisabled,onUpdateGradient:f[3]||(f[3]=E=>n("update-gradient",E)),onToggleEyeDropper:f[4]||(f[4]=E=>p.value=E)},null,8,["gradient","is-opacity-disabled"]))],512),[[so,!p.value]])]),_:1},8,["target-ref","placement","portal-selector","offset","flip","auto-update"])):B("",!0)])}}}),mi=V(EH,[["__scopeId","data-v-4546693a"]]),IH={class:"color-picker-toggle"},SH={class:"text-bold-2"},xH={class:"text-bold-2"},TH=K({__name:"ZyroFieldColorPicker",props:{color:{default:Gi},gradient:{default:()=>({angle:0,isAnimated:!1,colors:[{value:Gi},{value:Gi}]})},current:{},hasGradient:{type:Boolean},isOpen:{type:Boolean},label:{},placement:{default:"right-start"},portalSelector:{default:jo},isOpacityDisabled:{type:Boolean,default:!1}},emits:["toggle","click-outside","update-color","update-gradient"],setup(t,{emit:e}){const o=t,n=e,s=d(()=>o.current==="gradient");return(a,l)=>{const i=rt("qa");return r(),v("div",null,[b(mi,{"has-gradient":a.hasGradient,current:a.current,"is-open":a.isOpen,color:a.color,gradient:a.gradient,placement:a.placement,flip:!1,"portal-selector":a.portalSelector,"is-opacity-disabled":a.isOpacityDisabled,onUpdateColor:l[0]||(l[0]=c=>n("update-color",c)),onUpdateGradient:l[1]||(l[1]=c=>n("update-gradient",c)),onToggle:l[2]||(l[2]=c=>n("toggle")),onClickOutside:l[3]||(l[3]=c=>n("click-outside"))},{default:k(()=>[h("div",IH,[h("p",SH,w(a.label),1),b(nu,{"is-gradient":s.value,color:a.color,gradient:a.gradient},null,8,["is-gradient","color","gradient"])])]),_:1},8,["has-gradient","current","is-open","color","gradient","placement","portal-selector","is-opacity-disabled"]),s.value?(r(),v("div",{key:0,class:"gradient-animation-toggle",onClick:l[4]||(l[4]=c=>n("update-gradient",{...a.gradient,isAnimated:!a.gradient.isAnimated}))},[h("p",xH,w(a.$t("builder.animateGradient")),1),R(b(si,{"model-value":a.gradient.isAnimated,class:"zyro-field-toggle__switch"},null,8,["model-value"]),[[i,"gradient-animation-toggle-button"]])])):B("",!0)])}}}),Fo=V(TH,[["__scopeId","data-v-854d2acf"]]),CH=t=>{try{return decodeURIComponent(t)}catch{return t}},ym=({assets:t}={})=>{const{getters:e,dispatch:o}=et(),{t:n}=_t(),s=d(()=>e["assets/folders"]),a=d(()=>e["assets/assetPaths"]),l=d(()=>e["assets/currentDirectory"]),i=d(()=>JR({directory:l.value,folders:s.value})),c=d(()=>t==null?void 0:t.value.filter(L=>!L.hasFailed)),u=d(()=>c.value.map(L=>{var H,F;const $=((H=L.url)==null?void 0:H.split("/"))||[],A=$[$.length-1],D=!!A&&a.value[A];if(D){const j=D.path.split("/"),q=j[j.length-1],W=q.split("."),G=W.length>1?W.slice(0,-1).join("."):q,X=CH(G),ot=ed(L.url)?A:X;return{...L,name:ot,altTag:D.altTag,path:D.path}}const{initialDirectory:O,...M}=L;return{...M,path:`${O}${(F=L.file)==null?void 0:F.name}`,altTag:L.altTag,name:""}})),p=d(()=>u.value.filter(L=>{const $=L.path.lastIndexOf("/")+1;return L.path.slice(0,$)===l.value})),g=async({id:L})=>{const $=Object.fromEntries(Object.entries(a.value).filter(([A])=>A!==L));await o("assets/addAssetsData",{assetsData:$})},f=({path:L})=>{const $=s.value.filter(({path:D})=>!D.startsWith(L)),A=Object.fromEntries(Object.entries(a.value).filter(([,{path:D}])=>!D.startsWith(L)));o("assets/overrideFoldersData",{folders:$,assetPaths:A})},y=({newName:L,id:$=null}={})=>{const A=L.replace(/[^\d A-Za-z]/g,"\\$&"),D=new RegExp(`^(${A})$`),O=i.value.filter(W=>W.id!==$);if(!O.some(W=>W.id!==$&&W.name.match(D)))return L;const H=new RegExp(`^(${A}( ([(]\\d+[)])+)?)$`),j=O.filter(W=>W.name.match(H)&&W.id!==$&&W.name!==L).sort((W,Z)=>W.name.localeCompare(Z.name)).map(W=>{const G=W.name.slice(0,-1).split("("),X=G[G.length-1];return Number.parseInt(X,10)}).filter(W=>W),q=Math.max(...j,0)+1;return`${L}${q?` (${q})`:""}`},E=()=>{const L=n("builder.foldersNewFolder"),$=y({newName:L});o("assets/addNewFolder",{folderName:$,formattedFolderName:T_($)})},I=({newName:L,id:$,assetData:A})=>{const{path:D}=A,O=D.split("."),M=O.length>1?O[O.length-1]:"",F=D.split("/").slice(0,-1),j=M?`${encodeURIComponent(L)}.${M}`:encodeURIComponent(L),q=[...F,j].join("/");o("assets/addAssetsData",{assetsData:{...a.value,[$]:{...a.value[$],path:q}}})},T=({newAltTag:L,id:$})=>{const A=C_({assetsList:t,id:$});a.value[A]&&o("assets/addAssetsData",{assetsData:{...a.value,[A]:{...a.value[A],altTag:L}}})},x=({newName:L,id:$})=>{const{path:A}=s.value.find(W=>W.id===$),D=y({newName:L,id:$}),O=Object.keys(a.value).filter(W=>a.value[W].path.startsWith(A)),M=A.split("/"),H=T_(D);M.splice(-2,1,H);const F=s.value.map(W=>W.id===$?{...W,path:W.path.replaceAll(A,M.join("/")),name:D}:W.path.startsWith(A)?{...W,path:W.path.replace(A,M.join("/")),parentPath:W.parentPath.replace(A,M.join("/"))}:W),j=Object.entries(a.value).map(([W,Z])=>O.includes(W)?[W,{path:Z.path.replaceAll(A,M.join("/"))}]:[W,Z]),q=Object.fromEntries(j);o("assets/overrideFoldersData",{folders:F,assetPaths:q})};return{currentDirectory:l,validAssetsWithPaths:u,currentDirectoryValidAssets:p,currentDirectoryFolders:i,folders:s,assetPaths:a,deleteAssetFromFoldersData:g,deleteFolderFromFoldersData:f,addNewFolder:E,setAssetName:({newName:L,id:$})=>{const A=C_({assetsList:t,id:$}),D=a.value[A];if(D){I({newName:L,id:A,assetData:D});return}x({newName:L,id:$})},setImageAltTag:T,moveFileTo:({path:L,newPath:$,id:A})=>{const D=L.split("/"),O=D[D.length-1],M=`${$}${O}`,H=Object.entries(a.value).map(([j,q])=>A===j?[j,{path:q.path.replaceAll(L,M)}]:[j,q]),F=Object.fromEntries(H);o("assets/addAssetsData",{assetsData:F})}}},K_=t=>t.startsWith("https://assets.zyrosite.com")?{origin:"assets",path:Na(t)}:t.startsWith("https://images.unsplash.com")?{origin:"unsplash",path:Na(t)}:{origin:"other",path:t},Z_=250,PH=K({props:{progress:{type:Number,default:33}},emits:["animation-finished"],computed:{computedStyles(){return{"--transition-time":`${Z_}ms`,"--progress":this.progress}}},watch:{progress(t){t===100&&setTimeout(()=>{this.$emit("animation-finished")},Z_)}}}),BH=t=>(Te("data-v-3167e12f"),t=t(),Ce(),t),AH=BH(()=>h("path",{class:"upload-loader__circle","stroke-dasharray":"100, 100",d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831`},null,-1)),DH={ref:"progressCircle",class:"upload-loader__circle upload-loader__progress-circle","stroke-dasharray":"0, 100",d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831`};function zH(t,e,o,n,s,a){return r(),v("svg",{style:re(t.computedStyles),viewBox:"0 0 36 36",class:"upload-loader"},[AH,h("path",DH,null,512)],4)}const q6=V(PH,[["render",zH],["__scopeId","data-v-3167e12f"]]),LH=K({components:{ZyroSvgDeprecated:Qt,UploadLoader:q6},props:{src:{type:String,required:!0},isFreshUpload:{type:Boolean,default:!1},loadPercentage:{type:Number,default:null},id:{type:String,required:!0}},emits:["click-image","cancel-upload"],data(){return{isAnimationFinished:!1}},computed:{isLoading(){return this.isFreshUpload&&(this.loadPercentage!==100||!this.isAnimationFinished)}}}),$H={class:"user-image__image-container"},OH=["src"],RH={key:0,class:"user-image__loader"};function MH(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("UploadLoader"),c=rt("qa");return r(),v("div",$H,[R(h("img",{src:t.src,class:"user-image__image",onDragstart:e[0]||(e[0]=Kt(()=>{},["prevent"])),onClick:e[1]||(e[1]=Kt(u=>t.$emit("click-image",{imageKey:t.id,e:u}),["stop"]))},null,40,OH),[[c,"chooseimage-uploadedimage"]]),wt(t.$slots,"default",{},void 0,!0),t.isLoading?(r(),v("div",RH,[b(l,{class:"user-image__loader-cancel",name:"x",onClick:e[2]||(e[2]=u=>t.$emit("cancel-upload",t.id))}),b(i,{class:"user-image__loader-svg",progress:t.loadPercentage,onAnimationFinished:e[3]||(e[3]=u=>t.isAnimationFinished=!0)},null,8,["progress"])])):B("",!0)])}const NH=V(LH,[["render",MH],["__scopeId","data-v-528a88a1"]]),HH=K({components:{Icon:ct,HostingerButton:gt,UserImage:NH},props:{images:{type:Object,required:!0},selectedImageKeys:{type:Array,default:()=>[]}},emits:["move-image","remove-from-gallery","cancel-upload"],data(){return{movedImageIndex:-1,hoveredImageIndex:-1,indicatorPosition:null,startMouseCoordinates:{x:0,y:0},mousePositionDifference:{x:0,y:0}}},computed:{movedImageOffset(){return{"--x":`${this.mousePositionDifference.x}px`,"--y":`${this.mousePositionDifference.y}px`}},nonMovedImageStyle(){return{"--cursor":this.movedImageIndex===-1?"grab":"move"}}},methods:{getImageStyle(t,e){return this.isImageMovable(t)?e===this.movedImageIndex?this.movedImageOffset:this.nonMovedImageStyle:""},resetState(){this.movedImageIndex=-1,this.hoveredImageIndex=-1,this.indicatorPosition=null,this.startMouseCoordinates={x:0,y:0},this.mousePositionDifference={x:0,y:0}},onHoverMovingImageOverImage(t,e){const o=t.currentTarget.getBoundingClientRect().left+t.currentTarget.clientWidth/2>t.clientX;this.hoveredImageIndex=e,this.indicatorPosition=o?"left":"right"},isImageMovable(t){return t.url&&!t.urlBase64},startMovingImage(t,e){this.movedImageIndex=e,this.startMouseCoordinates={x:t.clientX,y:t.clientY},window.addEventListener("mousemove",this.moveImage),window.addEventListener("mouseup",this.stopMovingImage)},moveImage(t){this.mousePositionDifference={x:t.clientX-this.startMouseCoordinates.x,y:t.clientY-this.startMouseCoordinates.y}},stopMovingImage(){const t=this.movedImageIndex+1===this.hoveredImageIndex&&this.indicatorPosition==="left",e=this.movedImageIndex-1===this.hoveredImageIndex&&this.indicatorPosition==="right";if(this.hoveredImageIndex!==-1&&!e&&!t){let o=this.hoveredImageIndex+(this.indicatorPosition==="right"?1:0);o+=this.movedImageIndexR((r(),S(c,{id:g,key:`image-${g}`,style:re(t.getImageStyle(p,f)),class:ut({"horizontal-masonry__image-container--is-moved":f===t.movedImageIndex,[`horizontal-masonry__image-container--indicator-${t.indicatorPosition}`]:f===t.hoveredImageIndex}),src:p.urlBase64||p.url,"is-fresh-upload":!!p.urlBase64,"load-percentage":p.transferProgress,onCancelUpload:e[1]||(e[1]=y=>t.$emit("cancel-upload",y)),onMousedown:y=>t.isImageMovable(p)?t.startMovingImage(y,f):null,onMousemove:y=>t.movedImageIndex!==-1?t.onHoverMovingImageOverImage(y,f):null},{default:k(()=>[h("div",GH,[h("div",FH,[h("span",VH,w(f+1),1),t.isImageMovable(p)?R((r(),S(i,{key:0,class:"horizontal-masonry__gallery-overlay-cancel","button-type":"plain",theme:"highlight",title:t.$t("common.delete"),onMousedown:e[0]||(e[0]=Kt(()=>{},["stop"])),onClick:y=>t.$emit("remove-from-gallery",f)},{icon:k(()=>[b(l,{name:"delete",dimensions:"20px"})]),_:2},1032,["title","onClick"])),[[u,"gallerymanager-btn-delete"]]):B("",!0)])])]),_:2},1032,["id","style","class","src","is-fresh-upload","load-percentage","onMousedown","onMousemove"])),[[u,"gallerymanager-image"]])),128))],2)}const Y6=V(HH,[["render",UH],["__scopeId","data-v-e9b97bee"]]),jH=K({components:{HostingerButton:gt,ZyroSvgDeprecated:Qt},props:{isDraggedOver:{type:Boolean,default:!1}},emits:["open-file-dialog"]}),K6=t=>(Te("data-v-a723339b"),t=t(),Ce(),t),WH={class:"drag-and-drop-overlay drag-and-drop-overlay--dragged-over"},qH={class:"text-bold-1"},YH={class:"drag-and-drop-overlay__maximum-asset-size text-body-2"},KH=K6(()=>h("br",null,null,-1)),ZH={key:1},QH={class:"drag-and-drop-overlay"},XH={class:"text-bold-1"},JH={class:"drag-and-drop-overlay__or text-body-1"},tG={class:"drag-and-drop-overlay__button"},eG={class:"drag-and-drop-overlay__maximum-asset-size text-body-2"},oG=K6(()=>h("br",null,null,-1));function nG(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("HostingerButton"),c=rt("qa");return t.isDraggedOver?(r(),S(xe,{key:0,to:"body"},[h("div",WH,[b(l,{class:"drag-and-drop-overlay__icon",name:"cloud"}),h("p",qH,[wt(t.$slots,"drop-files-text",{},()=>[U(w(t.$t("builder.assetManagerTabUserDragDropFiles")),1)],!0)]),h("p",YH,[U(w(t.$t("builder.assetManagerTabUserMaximumImageSize"))+" ",1),KH,U(" "+w(t.$t("builder.assetManagerTabUserMaximumDocumentSize")),1)])])])):(r(),v("div",ZH,[h("div",QH,[b(l,{class:"drag-and-drop-overlay__icon",name:"cloud"}),h("p",XH,[wt(t.$slots,"drop-files-text",{},()=>[U(w(t.$t("builder.assetManagerTabUserDragDropFiles")),1)],!0)]),h("p",JH,w(t.$t("builder.assetManagerTabUserOr")),1),h("div",tG,[wt(t.$slots,"placeholder-button",{},()=>[R((r(),S(i,{"button-type":"outlined",size:"sm",onClick:e[0]||(e[0]=u=>t.$emit("open-file-dialog"))},{default:k(()=>[U(w(t.$t("builder.assetManagerTabUserChooseFiles")),1)]),_:1})),[[c,"chooseimage-btn-browsefiles"]])],!0)]),h("p",eG,[U(w(t.$t("builder.assetManagerTabUserMaximumImageSize"))+" ",1),oG,U(" "+w(t.$t("builder.assetManagerTabUserMaximumDocumentSize")),1)])])]))}const gv=V(jH,[["render",nG],["__scopeId","data-v-a723339b"]]),iG={class:"upload-bar"},sG={key:0,class:"upload-bar__drag-drop-text text-body-2"},aG={__name:"ImagesControlBar",emits:["open-asset-manager"],setup(t,{emit:e}){const o=e,{isAiBuilderMode:n}=Co(),s=()=>{o("open-asset-manager")};return(a,l)=>{const i=rt("qa");return r(),v("div",iG,[m(n)?B("",!0):(r(),v("p",sG,[b(ct,{name:"upload"}),U(" "+w(a.$t("builder.assetManagerTabUserDragDropBar")),1)])),R((r(),S(gt,{onClick:s},{"icon-left":k(()=>[b(ct,{name:"add"})]),default:k(()=>[U(" "+w(a.$t("builder.assetManagerGalleryAddImages")),1)]),_:1})),[[i,"assetmanager-addimage"]])])}}},Z6=V(aG,[["__scopeId","data-v-6dc3e508"]]),lG=K({components:{Icon:ct,HostingerButton:gt,ImagesControlBar:Z6,HorizontalMasonry:Y6,DragDropOverlay:gv},props:{galleryId:{type:String,required:!0}},emits:["open-asset-manager"],setup(t,e){const{listenForDragAndDrop:o,assets:n,isDraggedOver:s}=zs(t),a=C(null),{updateElementHeightOnDevices:l}=Qi();return Vt(()=>{o(a.value)}),Mt(s,()=>e.emit("open-asset-manager")),{galleryLayoutRef:a,assets:n,isDraggedOver:s,updateElementHeightOnDevices:l}},computed:{...Ve(["websiteId"]),...he(["siteElements"]),images(){return this.siteElements[this.galleryId].images},imagesObject(){return{...this.images.map(t=>({url:Zo(t.origin,t.path,this.websiteId,{width:200})}))}},isEmpty(){return Object.keys(this.imagesObject).length===0}},methods:{...Ie(["mergeCurrentElementData"]),moveImage(t){const e=[...this.images];e.splice(t.newIndex,0,e.splice(t.oldIndex,1)[0]),this.mergeCurrentElementData({elementData:{images:e}})},removeImageFromGallery(t){const e=[...this.images];e.splice(t,1),this.mergeCurrentElementData({elementData:{images:e}}),this.updateElementHeightOnDevices({elementId:this.galleryId})}}}),rG={ref:"galleryLayoutRef",class:"gallery-manager"};function dG(t,e,o,n,s,a){const l=Y("Icon"),i=Y("HostingerButton"),c=Y("DragDropOverlay"),u=Y("ImagesControlBar"),p=Y("HorizontalMasonry"),g=rt("qa");return r(),v("div",rG,[t.isEmpty?(r(),S(c,{key:0,class:"gallery-manager__empty"},{"drop-files-text":k(()=>[U(w(t.$t("builder.assetManagerGalleryAddImagesWhenEmpty")),1)]),"placeholder-button":k(()=>[R((r(),S(i,{onClick:e[0]||(e[0]=f=>t.$emit("open-asset-manager"))},{"icon-left":k(()=>[b(l,{name:"cloud_upload"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerGalleryAddImages")),1)]),_:1})),[[g,"chooseimage-btn-browsefiles"]])]),_:1})):(r(),v(at,{key:1},[b(u,{onOpenAssetManager:e[1]||(e[1]=f=>t.$emit("open-asset-manager"))}),b(p,{images:t.imagesObject,onRemoveFromGallery:t.removeImageFromGallery,onMoveImage:t.moveImage},null,8,["images","onRemoveFromGallery","onMoveImage"])],64))],512)}const cG=V(lG,[["render",dG],["__scopeId","data-v-387a4dc2"]]),uG=C({}),Vf="forward",Q_="backward",Q6=({isAutoplayEnabled:t,isLoopEnabled:e,autoplayInterval:o,isTransitioning:n,slides:s}={})=>{const a=C(0),l=C(""),i=C(null),c=d(()=>s.value.length),u=d(()=>a.value===s.value.length-1),p=d(()=>a.value===0),g=d(()=>(!u.value||e.value)&&c.value>1&&!n.value),f=d(()=>(!p.value||e.value)&&c.value>1&&!n.value),y=()=>{if(g.value){if(l.value=Vf,e.value&&u.value){a.value=0;return}a.value+=1}},E=()=>{if(f.value){if(l.value=Q_,e.value&&p.value){a.value=s.value.length-1;return}a.value-=1}},I=z=>{l.value=z>a.value?Vf:Q_,a.value=z},T=()=>{i.value=setInterval(()=>{!e.value&&u.value||y()},o.value*1e3)},x=()=>{i.value&&(clearInterval(i.value),i.value=null)},P=()=>{x(),t.value&&T()};return t&&(t.value&&T(),Mt(t,()=>{t.value?T():x()}),Mt(_T(),z=>{z==="visible"?T():x()})),o&&Mt(o,()=>{P()}),{slideshowRefs:uG,slideToNext:y,slideToPrevious:E,slideTo:I,slideDirection:l,slideCount:c,currentSlideIndex:a,slides:s,isLoopEnabled:e,isAutoplayEnabled:t,autoplayInterval:o,resetAutoplayInterval:P,setAutoplayInterval:T,clearAutoplayInterval:x,canSlideToNext:g,canSlideToPrevious:f}},pG={__name:"SlideshowManager",props:{slideshowId:{type:String,required:!0}},emits:["open-asset-manager"],setup(t,{emit:e}){const o=t,n=e,{state:s,getters:a,dispatch:l}=et(),{isAiBuilderMode:i}=Co(),{listenForDragAndDrop:c,isDraggedOver:u}=zs(o),{slideshowRefs:p}=Q6(),{slideTo:g}=p.value[o.slideshowId],f=C(null);Vt(()=>{c(f.value)}),Mt(u,()=>n("open-asset-manager"));const y=d(()=>a.currentBlock.slides),E=d(()=>({...y.value.map(P=>({url:Zo(P.origin,P.path,s.websiteId,{width:200})}))})),I=d(()=>Object.keys(E.value).length===0),T=({newIndex:P,oldIndex:z})=>{const L=[...y.value];L.splice(P,0,L.splice(z,1)[0]),l("updateBlockData",{blockId:o.slideshowId,blockData:{slides:L},merge:!0})},x=P=>{l("updateBlockData",{blockId:o.slideshowId,blockData:{slides:y.value.filter((z,L)=>L!==P)},merge:!0}),g(0)};return(P,z)=>{const L=rt("qa");return r(),v("div",{ref_key:"slideshowManagerRef",ref:f,class:"slideshow-manager"},[I.value&&!m(i)?(r(),S(gv,{key:0,class:"slideshow-manager__empty"},{"drop-files-text":k(()=>[U(w(P.$t("builder.assetManagerSlideshowAddImagesWhenEmpty")),1)]),"placeholder-button":k(()=>[R((r(),S(gt,{onClick:z[0]||(z[0]=$=>P.$emit("open-asset-manager"))},{"icon-left":k(()=>[b(ct,{name:"cloud_upload"})]),default:k(()=>[U(" "+w(P.$t("builder.assetManagerSlideshowAddImages")),1)]),_:1})),[[L,"chooseimage-btn-browsefiles"]])]),_:1})):(r(),v(at,{key:1},[b(Z6,{onOpenAssetManager:z[1]||(z[1]=$=>P.$emit("open-asset-manager"))}),b(Y6,{images:E.value,onRemoveFromGallery:x,onMoveImage:T},null,8,["images"])],64))],512)}}},gG=V(pG,[["__scopeId","data-v-466893fe"]]),mG=K({components:{HostingerButton:gt,Icon:ct},props:{imageData:{type:Object,required:!0},isLastImage:{type:Boolean,default:!1},isFirstImage:{type:Boolean,default:!1},isGallery:{type:Boolean,default:!1}},emits:["image-loaded","select-image","show-previous-image","show-next-image"],data(){return{isImageLoading:!0,imageUrl:null}},watch:{"imageData.urls.regular":function(e){this.setImageUrlDebounced(e)},"imageData.blur_hash":{immediate:!0,handler(){this.isImageLoading=!0,this.drawBlurHash()}}},created(){window.addEventListener("keydown",this.handleKeyboardNavigation),this.setImageUrl(this.imageData.urls.regular)},unmounted(){window.removeEventListener("keydown",this.handleKeyboardNavigation)},methods:{handleKeyboardNavigation(t){if(Ue(t)===me.ArrowLeft&&!this.isFirstImage){t.preventDefault(),this.$emit("show-previous-image");return}Ue(t)===me.ArrowRight&&!this.isLastImage&&(t.preventDefault(),this.$emit("show-next-image"))},setImageUrlDebounced:Ls(function(e){this.setImageUrl(e)},250),setImageUrl(t){this.imageUrl=t},drawBlurHash(){const t=this.$refs.blurHashCanvas;if(!t)return;const o=this.getLimitedDimensions(32,this.imageData.width,this.imageData.height),n=wT(this.imageData.blur_hash,o.width,o.height);t.width=o.width,t.height=o.height;const s=t.getContext("2d"),a=s.createImageData(o.width,o.height);a.data.set(n),s.putImageData(a,0,0)},getLimitedDimensions(t,e,o){if(e<=t)return{height:o,width:e};const n=e/t;return{height:Math.floor(o/n),width:t}}}}),hG=t=>(Te("data-v-e5c573ea"),t=t(),Ce(),t),bG={class:"unsplash-preview"},fG={class:"unsplash-preview__image-container"},yG={class:"unsplash-preview__blurhash"},vG={ref:"blurHashCanvas"},_G=["src","data-image-id","alt"],wG={class:"unsplash-preview__image-switcher"},kG={class:"accreditation"},EG={class:"accreditation__author"},IG=["src","alt"],SG={class:"accreditation__meta text-body-2"},xG=["href"],TG=hG(()=>h("br",null,null,-1)),CG={class:"accreditation__tos text-body-2"},PG={class:"z-link",href:"https://unsplash.com/terms",target:"_blank",rel:"noopener noreferrer"};function BG(t,e,o,n,s,a){const l=Y("Icon"),i=Y("HostingerButton"),c=Y("i18n-t"),u=rt("qa");return r(),v("div",bG,[h("div",fG,[R(h("div",yG,[h("canvas",vG,null,512)],512),[[so,t.isImageLoading]]),R(h("img",{class:"unsplash-preview__image",src:t.imageUrl,"data-image-id":t.imageData.id,alt:t.imageData.alt_description,onLoad:e[0]||(e[0]=p=>(t.isImageLoading=!1,t.$emit("image-loaded",t.imageUrl)))},null,40,_G),[[so,!t.isImageLoading],[u,"chooseimage-preview-unsplashimage"]]),h("div",wG,[b(i,{"button-type":"plain",theme:"highlight",disabled:t.isFirstImage,title:"prev",onClick:e[1]||(e[1]=p=>t.$emit("show-previous-image"))},{icon:k(()=>[b(l,{name:"chevron_left"})]),_:1},8,["disabled"]),b(i,{"button-type":"plain",theme:"highlight",title:"next",disabled:t.isLastImage,onClick:e[2]||(e[2]=p=>t.$emit("show-next-image"))},{icon:k(()=>[b(l,{name:"chevron_right"})]),_:1},8,["disabled"])])]),h("div",kG,[h("div",EG,[h("img",{class:"accreditation__avatar",src:t.imageData.user.profile_image.small,alt:`${t.imageData.user.name} unsplash profile image`},null,8,IG),h("span",SG,[U(w(t.$t("builder.assetManagerTabUnsplashBy"))+" ",1),h("a",{class:"accreditation__link",target:"_blank",href:`https://unsplash.com/@${t.imageData.user.username}?utm_source=builder&utm_medium=referral`},w(t.imageData.user.name),9,xG),TG,U(" "+w(t.imageData.width)+" × "+w(t.imageData.height),1)])]),h("span",CG,[b(c,{keypath:"builder.assetManagerTabUnsplashAccreditation"},{default:k(()=>[h("a",PG,w(t.$t("builder.assetManagerTabUnsplashAccreditationLink")),1)]),_:1})]),R((r(),S(i,{onClick:e[3]||(e[3]=p=>t.$emit("select-image",t.imageData))},{default:k(()=>[U(w(t.isGallery?t.$t("builder.assetManagerAddToGallery"):t.$t("builder.assetManagerAddToPage")),1)]),_:1})),[[u,"chooseimage-btn-addtopage"]])])])}const AG=V(mG,[["render",BG],["__scopeId","data-v-e5c573ea"]]),X6="https://builder-backend.hostinger.com/unsplash",X_=async({query:t,page:e,count:o})=>{const{data:n}=await qt.post(`${X6}/search`,{query:t,page:e,count:o});return n.response||n},DG=({imageJson:t})=>{try{qt.post(`${X6}/download/`,{imageJson:t},{common:{"Content-Type":"application/json"}})}catch(e){console.error(e)}},zG={class:"grid-gallery-masonry"},Uf=K({__name:"Masonry",props:{images:{},columnCount:{},columnGap:{}},setup(t){fe(s=>({"03f6e6b0":e.columnCount,"0b640746":o.value}));const e=t,o=d(()=>`${e.columnGap}px`),n=d(()=>e.images.reduce((s,a,l)=>s.map((i,c)=>c===l%e.columnCount?[...i,{...a,originalIndex:l}]:i),Array(e.columnCount).fill([])));return(s,a)=>(r(),v("div",zG,[(r(!0),v(at,null,Pt(n.value,(l,i)=>(r(),v("div",{key:i,class:"grid-gallery-masonry__column"},[(r(!0),v(at,null,Pt(l,c=>wt(s.$slots,"image",{index:c.originalIndex,image:c})),256))]))),128))]))}}),LG=K({name:"UnsplashLayout",components:{ZyroInput:as,ZyroSvgDeprecated:Qt,ZyroLoader:je,UnsplashPreview:AG,Masonry:Uf},props:{isPreviewOpen:{type:Boolean,required:!0},isGallery:{type:Boolean,default:!1}},emits:["toggle-preview","select-image"],setup(){const{notify:t}=Oe();return{notify:t}},data(){return{loadedThumbnails:[],isSearchRequestPending:!1,isNewSearchRequestPending:!1,previewImageIndex:-1,unsplashResponse:{results:HN.map(t=>{const e=`${ce}/${t.id}.jpeg`;return{...t,urls:{raw:e,regular:Zo("other",e,this.websiteId,{width:1080}),thumb:Zo("other",e,this.websiteId,{width:280})}}})},searchTerm:"",scrollTop:0,currentPage:0}},computed:{...Ve(["websiteId"]),unsplashResultsFiltered(){var t,e,o,n;return(t=this.unsplashResponse)!=null&&t.results?((n=(o=(e=this.unsplashResponse)==null?void 0:e.results)==null?void 0:o.errors)==null?void 0:n.length)>0?(this.notify({messageI18nKeyPath:"builder.errorWhileLoadingUnsplashImage"}),[]):this.unsplashResponse.results.map(s=>({urls:s.urls,id:s.id,user:s.user,width:s.width,height:s.height,blur_hash:s.blur_hash,alt_description:s.alt_description,links:s.links})):[]},previewImage(){return this.isPreviewOpen?this.unsplashResultsFiltered[this.previewImageIndex]:null}},watch:{async isPreviewOpen(t){t||(await this.$nextTick(),this.$refs.unsplashContainer.scrollTo(0,this.scrollTop))}},methods:{startUnsplashSearch:Ls(async function(){if(this.searchTerm){this.unsplashResponse.results=[],this.loadedThumbnails=[],this.currentPage=1,this.isNewSearchRequestPending=!0;try{this.searchTerm.length>2&&It.logEvent({eventName:"website_builder.asset_manager.image_search",eventProperties:{phrase:this.searchTerm}}),this.unsplashResponse=await X_({query:this.searchTerm,page:this.currentPage})}catch(e){this.notify({messageI18nKeyPath:"builder.errorWhileSearchingImages"}),Wt(e)}finally{this.isNewSearchRequestPending=!1}}},1e3),async loadMoreFromUnsplash(t=!1){const{unsplashContainer:e}=this.$refs;if(!e)return;this.scrollTop=e.scrollTop;const n=e.offsetHeight+this.scrollTop+1400>(e==null?void 0:e.scrollHeight);if(!(!this.searchTerm||this.unsplashResponse.total_pages<=this.currentPage||this.isSearchRequestPending||!n&&!t||this.loadedThumbnails.length=this.unsplashResultsFiltered.length-2&&this.loadMoreFromUnsplash(!0),this.$emit("toggle-preview",t!==-1)}}}),$G={class:"unsplash__wrapper"},OG={key:0,class:"unsplash__no-results"},RG={class:"text-heading-1"},MG={class:"text-body-2 unsplash__no-results-bottom-text"},NG=["src","onClick","onLoad"],HG={key:2,class:"loader-wrapper"},GG={class:"unsplash__bottom-bar"};function FG(t,e,o,n,s,a){const l=Y("UnsplashPreview"),i=Y("ZyroInput"),c=Y("ZyroSvgDeprecated"),u=Y("i18n-t"),p=Y("Masonry"),g=Y("ZyroLoader"),f=rt("qa");return r(),v("div",{class:ut(["unsplash",{"unsplash--preview-open":t.isPreviewOpen}])},[t.isPreviewOpen?(r(),S(l,{key:0,"image-data":t.previewImage,"is-last-image":t.previewImageIndex===t.unsplashResultsFiltered.length-1,"is-first-image":t.previewImageIndex===0,"is-gallery":t.isGallery,onShowPreviousImage:t.decreasePreviewImageIndex,onShowNextImage:t.increasePreviewImageIndex,onSelectImage:e[0]||(e[0]=y=>t.$emit("select-image",y))},null,8,["image-data","is-last-image","is-first-image","is-gallery","onShowPreviousImage","onShowNextImage"])):B("",!0),R(h("div",$G,[b(i,{modelValue:t.searchTerm,"onUpdate:modelValue":[e[1]||(e[1]=y=>t.searchTerm=y),t.startUnsplashSearch],"qa-selector":"chooseimage-inputfield-searchforphotos",class:"unsplash__search-input",placeholder:t.$t("builder.assetManagerTabUnsplashSearch")},null,8,["modelValue","placeholder","onUpdate:modelValue"]),h("div",{ref:"unsplashContainer",class:"unsplash__container",onScrollPassive:e[2]||(e[2]=(...y)=>t.loadMoreFromUnsplash&&t.loadMoreFromUnsplash(...y))},[!t.isNewSearchRequestPending&&!t.unsplashResultsFiltered.length?R((r(),v("div",OG,[b(c,{name:"sad-face"}),h("span",RG,[b(u,{keypath:"builder.assetManagerTabUnsplashNoResults"},{default:k(()=>[U(w(t.searchTerm),1)]),_:1})]),h("span",MG,w(t.$t("builder.assetManagerTabUnsplashCheckSpelling")),1)])),[[f,"chooseimage-section-noresults"]]):t.unsplashResultsFiltered.length?R((r(),S(p,{key:1,images:t.unsplashResultsFiltered,"column-count":t.isMobileScreen?2:4,"column-gap":4},{image:k(({image:y,index:E})=>[R(h("img",{class:"unsplash__image",src:y.urls.thumb,onClick:I=>t.setPreviewImageIndex(E),onLoad:I=>t.loadedThumbnails.push(y.id)},null,40,NG),[[f,"chooseimage-unsplashimage"]])]),_:1},8,["images","column-count"])),[[f,"chooseimage-section-freeimages"]]):B("",!0),t.isSearchRequestPending||t.isNewSearchRequestPending?(r(),v("div",HG,[R(b(g,null,null,512),[[f,"builder-loader"]])])):B("",!0)],544),h("div",GG,[b(c,{name:"unsplash"})])],512),[[so,!t.isPreviewOpen]])],2)}const VG=V(LG,[["render",FG],["__scopeId","data-v-0aa48ddb"]]),J6=async t=>new Promise((e,o)=>{const n=new Image;n.addEventListener("load",()=>e(n)),n.addEventListener("error",s=>o(new Error("Failed to load image",s))),n.src=t}),UG=["id","checked"],jG=["for"],WG=K({__name:"ZyroCheckbox",props:{modelValue:{type:Boolean},id:{default:""},theme:{default:"purple"},isRounded:{type:Boolean},isFilled:{type:Boolean},isNonClickable:{type:Boolean}},emits:["update:model-value"],setup(t,{emit:e}){const o=t,n=e,s=d(()=>o.id||de()),a=l=>{o.isNonClickable||n("update:model-value",l.target.checked)};return(l,i)=>(r(),v("div",{class:ut(["zyro-checkbox",`zyro-checkbox--theme-${l.theme}`])},[h("input",{id:s.value,type:"checkbox",checked:l.modelValue,class:"zyro-checkbox__input",onInput:i[0]||(i[0]=c=>a(c))},null,40,UG),h("label",{for:s.value,class:ut(["zyro-checkbox__label",[{"zyro-checkbox__label--fully-rounded":l.isRounded},{"zyro-checkbox__label--filled":l.isFilled}]])},[b(Qt,{class:"zyro-checkbox__check-mark",name:"check-mark-thick"})],10,jG)],2))}}),Vl=V(WG,[["__scopeId","data-v-a1d6318e"]]),qG=K({components:{SystemDialogModal:en,ZyroCheckbox:Vl},emits:["close"],setup(t,e){const{isDeleteAssetModalOpened:o,isAssetBeingDeleted:n,deleteMediaAsset:s,assetsToDelete:a,folderToDelete:l,assets:i}=zs(t,e),{t:c}=_t(),{deleteAssetFromFoldersData:u,deleteFolderFromFoldersData:p,assetPaths:g}=ym({assets:i}),f=C(!1),y=d(()=>l.value?c("builder.foldersDeleteFolder"):c("builder.assetManagerTabUserDelete")),E=d(()=>{var x;return(x=lv({directory:l.value.path,assets:i.value,assetPaths:g.value,includeFromSubfolders:!0}))==null?void 0:x.length}),I=()=>{o.value=!1,f.value=!1,l.value=null,a.value=[]};return{isDeleteAssetModalOpened:o,isAssetBeingDeleted:n,handleDeleteAsset:async()=>{if(a.value.length&&await s(),l.value)p({path:l.value.path});else{const x=Na(a.value[0].url);await u({id:x})}I()},resetDialogStates:I,folderToDelete:l,isSelected:f,modalTitle:y,directoryToDeleteFileCount:E}}}),YG=t=>(Te("data-v-b1a06b33"),t=t(),Ce(),t),KG={class:"delete-dialog__checkbox-wrapper"},ZG=YG(()=>h("br",null,null,-1));function QG(t,e,o,n,s,a){const l=Y("i18n-t"),i=Y("ZyroCheckbox"),c=Y("SystemDialogModal"),u=rt("qa");return t.isDeleteAssetModalOpened?(r(),S(c,{key:0,"is-loading":t.isAssetBeingDeleted,title:t.modalTitle,"primary-button-text":t.$t("common.cancel"),"secondary-button-text":t.$t("common.delete"),"secondary-button-color":"danger","is-button-disabled":t.folderToDelete&&!t.isSelected,class:"delete-dialog",onClose:t.resetDialogStates,onClickPrimary:t.resetDialogStates,onClickSecondary:t.handleDeleteAsset},{default:k(()=>[t.folderToDelete?(r(),v(at,{key:0},[b(l,{keypath:"builder.foldersDeleteMessage",tag:"p"},{default:k(()=>[h("b",null,w(t.$t("builder.foldersDeleteMessageSlot",t.directoryToDeleteFileCount,{count:t.directoryToDeleteFileCount})),1)]),_:1}),h("div",KG,[R(b(i,{"is-filled":"","model-value":t.isSelected,"onUpdate:modelValue":e[0]||(e[0]=p=>t.isSelected=!t.isSelected)},null,8,["model-value"]),[[u,"asset-delete-dialog-folder-checkbox"]]),h("p",{class:"text-body-2 delete-dialog__checkbox-label",onClick:e[1]||(e[1]=p=>t.isSelected=!t.isSelected)},w(t.$t("builder.foldersDeleteConfirmation")),1)])],64)):(r(),v(at,{key:1},[U(w(t.$t("builder.assetManagerDialogAreYouSure")),1),ZG,h("b",null,w(t.$t("builder.assetManagerDialogImageRemoveFromSite")),1)],64))]),_:1},8,["is-loading","title","primary-button-text","secondary-button-text","is-button-disabled","onClose","onClickPrimary","onClickSecondary"])):B("",!0)}const tI=V(qG,[["render",QG],["__scopeId","data-v-b1a06b33"]]),XG={class:"go-back-button"},JG={class:"go-back-button__text"},tF={__name:"AssetManagerGoBackButton",emits:["button-click"],setup(t){return(e,o)=>(r(),v("div",XG,[b(gt,{"button-type":"text",class:"go-back-button__button text-body-1",onClick:o[0]||(o[0]=n=>e.$emit("button-click"))},{"icon-left":k(()=>[b(ct,{name:"arrow_back"})]),default:k(()=>[h("span",JG,w(e.$t("builder.assetManagerMediaLayoutGoBack")),1)]),_:1})]))}},eI=V(tF,[["__scopeId","data-v-b038f670"]]),eF=K({props:{topic:{type:String,required:!0},subtopic:{type:String,required:!0}}}),oF={class:"assets-layout-item"},nF={class:"assets-layout-item__image-detail-topic"},iF={class:"assets-layout-item__image-detail-subtopic"};function sF(t,e,o,n,s,a){return r(),v("div",oF,[h("p",nF,w(t.topic),1),h("p",iF,w(t.subtopic),1)])}const aF=V(eF,[["render",sF],["__scopeId","data-v-993281fa"]]),mv=K({components:{Icon:ct,HostingerButton:gt,ZyroSeparator:ke,ZyroSvgDeprecated:Qt,ZyroFieldInput:Ne,AssetDeleteDialog:tI,AssetsLayoutItem:aF,AssetManagerGoBackButton:eI},props:{asset:{type:Object,required:!0},isAssetSelectButtonHidden:{type:Boolean,default:!1}},emits:["close","select-image","update-img-alt-tag","select-asset"],setup(t,e){const{assets:o,isDeleteAssetModalOpened:n,isAssetBeingDeleted:s,assetsToDelete:a,updateUsedImageAltTag:l}=zs(t,e),i=C(!1),c=C(t.asset.altTag||"");return{isAltTagSaveButtonShown:i,isDeleteAssetModalOpened:n,isAssetBeingDeleted:s,assets:o,assetAltTag:c,saveAltTag:()=>{e.emit("update-img-alt-tag",{asset:t.asset,newAltTag:c.value}),l({asset:t.asset,newAltTag:c.value}),i.value=!1},isAssetCategoryImage:ks,handleDeleteClick:()=>{a.value=[t.asset],n.value||(n.value=!0)},updateImgAltTag:f=>{c.value=f,i.value=!0}}},data(){return{imageWidth:"-",imageHeight:"-"}},computed:{...Ve(["websiteId"]),imageBackdropUrl(){return`url(${Sg("/assets/images/image-backdrop.png")})`},assetExtension(){return this.asset.url?Vn(this.asset.url):this.$t("builder.assetManagerMediaLayoutDetailTabExtensionUndefined")}},methods:{async updateImageDimensions(){var o,n;const{naturalWidth:t,naturalHeight:e}=await J6(this.asset.url);this.imageWidth=t||((o=this.asset)==null?void 0:o.width),this.imageHeight=e||((n=this.asset)==null?void 0:n.height)}}}),J_=()=>{fe(t=>({"49ee4cec":t.imageBackdropUrl}))},tw=mv.setup;mv.setup=tw?(t,e)=>(J_(),tw(t,e)):J_;const lF={class:"asset-details-layout"},rF={class:"asset-details-layout__content"},dF=["src"],cF={class:"asset-details-layout__image-details"},uF={class:"asset-details-layout__alt-sublabel"},pF={class:"asset-details-layout__alt-save-button"};function gF(t,e,o,n,s,a){const l=Y("AssetManagerGoBackButton"),i=Y("HostingerButton"),c=Y("ZyroSvgDeprecated"),u=Y("AssetsLayoutItem"),p=Y("ZyroFieldInput"),g=Y("ZyroSeparator"),f=Y("Icon"),y=Y("AssetDeleteDialog"),E=rt("qa");return r(),v("div",lF,[b(l,{onButtonClick:e[0]||(e[0]=I=>t.$emit("close"))}),h("div",rF,[h("div",{class:ut(["asset-details-layout__image-container",{"asset-details-layout__image-container--boxed-grid":t.isAssetCategoryImage(t.asset)}])},[t.isAssetCategoryImage(t.asset)?(r(),v(at,{key:0},[h("img",{ref:"image",src:t.asset.urlBase64?t.asset.urlBase64:t.asset.url,class:"asset-details-layout__image",onLoad:e[1]||(e[1]=(...I)=>t.updateImageDimensions&&t.updateImageDimensions(...I))},null,40,dF),t.isAssetSelectButtonHidden?B("",!0):(r(),S(i,{key:0,title:t.$t("builder.assetManagerMediaLayoutSelectItem"),class:"asset-details-layout__button-select-item",onClick:e[2]||(e[2]=I=>t.$emit("select-asset",t.asset.url))},{default:k(()=>[U(w(t.$t("builder.assetManagerMediaLayoutSelectItem")),1)]),_:1},8,["title"]))],64)):(r(),S(c,{key:1,name:"file"}))],2),h("div",cF,[h("div",null,[b(u,{topic:t.$t("builder.assetManagerMediaLayoutDetailTabFileName"),subtopic:t.asset.name,class:"asset-details-layout__assets-layout-item"},null,8,["topic","subtopic"]),b(u,{topic:t.$t("builder.assetManagerMediaLayoutDetailTabExtension"),subtopic:t.assetExtension,class:"asset-details-layout__assets-layout-item"},null,8,["topic","subtopic"]),b(u,{topic:t.$t("builder.assetManagerMediaLayoutDetailTabPath"),subtopic:t.asset.url,class:"asset-details-layout__assets-layout-item"},null,8,["topic","subtopic"]),t.isAssetCategoryImage(t.asset)?(r(),S(u,{key:0,topic:t.$t("builder.assetManagerMediaLayoutDetailTabDimensions"),subtopic:`${t.imageWidth} x ${t.imageHeight} ${t.$t("builder.assetManagerMediaLayoutPixels")}`,class:"asset-details-layout__assets-layout-item"},null,8,["topic","subtopic"])):B("",!0),t.isAssetCategoryImage(t.asset)?(r(),S(p,{key:1,label:t.$t("builder.editImage.tabSeo.textFieldLabel"),"model-value":t.assetAltTag,class:ut(["asset-details-layout__alt-input",{"asset-details-layout__alt-input--save":t.isAltTagSaveButtonShown}]),"qa-selector":"img-alt-text-input",maxlength:"125","onUpdate:modelValue":t.updateImgAltTag},{sublabel:k(()=>[h("p",uF,w(t.$t("builder.editImage.tabSeo.label")),1)]),suffix:k(()=>[h("span",pF,[t.isAltTagSaveButtonShown?(r(),S(i,{key:0,"button-type":"plain",onClick:t.saveAltTag},{default:k(()=>[U(w(t.$t("common.save")),1)]),_:1},8,["onClick"])):B("",!0)])]),_:1},8,["label","model-value","class","onUpdate:modelValue"])):B("",!0),b(g,{class:"asset-details-layout__separator"}),R((r(),S(i,{"button-type":"outlined",theme:"danger",onClick:t.handleDeleteClick},{"icon-left":k(()=>[b(f,{name:"delete"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerMediaLayoutDeleteThisItem")),1)]),_:1},8,["onClick"])),[[E,"asset-delete-btn"]])])])]),b(y,{onClose:e[3]||(e[3]=I=>t.$emit("close"))})])}const mF=V(mv,[["render",gF],["__scopeId","data-v-44ef9a5b"]]),hF={class:"control-buttons"},bF={class:"control-buttons__button-text"},fF={class:"control-buttons__button-text"},yF={class:"control-buttons__button-text"},vF={class:"control-buttons__button-text control-buttons__button-text--folders"},_F=["onClick"],wF={class:"control-buttons__button-text control-buttons__button-text--folders"},kF={__name:"AssetControls",props:{isFolder:{type:Boolean,default:!1},currentTab:{type:Object,default:null}},emits:["rename-asset","delete-asset","move-asset-to"],setup(t,{emit:e}){const o=t,n=e,{getters:s}=et(),{isDeleteAssetModalOpened:a,assets:l}=zs(),{folders:i}=ym({assets:l}),c=C(!1),u=C(!1),p=C(!1),g=C(!1),f=d(()=>o.currentTab&&o.currentTab.id===Ho.MY_LIBRARY),y=d(()=>i.value.length),E=d(()=>!o.isFolder&&y.value&&f.value),I=d(()=>s["assets/currentDirectory"]),T=d(()=>i.value.find($=>$.path===I.value)),x=d(()=>i.value.filter($=>$.path!==I.value)),P=()=>{p.value=!1,g.value=!1,a.value=!1},z=()=>{p.value=!1,n("delete-asset")},L=()=>{p.value=!1,n("rename-asset")};return($,A)=>{var O;const D=rt("qa");return r(),v(at,null,[b(gt,In($.$attrs,{ref_key:"assetSettingsRef",ref:c,"button-type":"plain",theme:"highlight",onClick:A[0]||(A[0]=M=>p.value=!p.value)}),{icon:k(()=>[R(b(ct,{name:"more_vert",dimensions:"20px"},null,512),[[D,t.isFolder?"more-options-folder":"more-options-asset"]])]),_:1},16),p.value?(r(),S(Se,{key:0,"target-ref":(O=c.value)==null?void 0:O.$el,placement:"right-end","portal-selector":m(a2),"auto-update":"","is-only-click-inside":"",onClickOutside:P},{default:k(()=>[h("div",hF,[E.value?R((r(),v("button",{key:0,ref_key:"moveToButtonRef",ref:u,class:"control-buttons__button z-button-small",onMouseenter:A[1]||(A[1]=M=>g.value=!0)},[b(Qt,{dimensions:"16px",name:"folder-move"}),h("span",bF,w($.$t("builder.foldersMoveTo")),1),b(Qt,{dimensions:"18px",name:"chevron-right"})],32)),[[D,"asset-controls-button-move"]]):B("",!0),R((r(),v("button",{class:"control-buttons__button z-button-small",onClick:L,onMouseenter:A[2]||(A[2]=M=>g.value=!1)},[b(Qt,{name:"type"}),h("span",fF,w($.$t("common.rename")),1)],32)),[[D,"asset-controls-button-rename"]]),R((r(),v("button",{theme:"plain",class:"control-buttons__button z-button-small",onClick:z},[b(Qt,{name:"trash"}),h("span",yF,w($.$t("common.delete")),1)])),[[D,"asset-controls-button-delete"]])]),g.value?(r(),S(Se,{key:0,"target-ref":u.value,placement:"right-start",offset:12,"auto-update":"","is-only-click-inside":"","portal-selector":m(a2),onClickOutside:A[5]||(A[5]=M=>E.value=!1)},{default:k(()=>[h("div",{class:"control-buttons",onMouseleave:A[4]||(A[4]=M=>g.value=!1)},[T.value?(r(),v("button",{key:0,class:ut(["z-button-small control-buttons__button",{"control-buttons__button--underlined":x.value.length}]),onClick:A[3]||(A[3]=M=>$.$emit("move-asset-to","/"))},[b(Qt,{name:"folder-outline"}),h("span",vF,w($.$t("builder.foldersMyLibrary")),1)],2)):B("",!0),(r(!0),v(at,null,Pt(x.value,M=>R((r(),v("button",{key:M.name,class:"control-buttons__button z-button-small",onClick:H=>$.$emit("move-asset-to",M.path)},[b(Qt,{name:"folder-outline"}),h("span",wF,w(M.name),1)],8,_F)),[[D,`asset-controls-moving-folders-${M.name}`]])),128))],32)]),_:1},8,["target-ref","portal-selector"])):B("",!0)]),_:1},8,["target-ref","portal-selector"])):B("",!0)],64)}}},oI=V(kF,[["__scopeId","data-v-1490c170"]]),EF=K({props:{assetName:{type:String,default:""}},emits:["toggle-input"],setup(t,e){const o=C(null),n=C(null),s=C(t.assetName),a=()=>{const i=s.value.replace(/[^\d -_a-z]/gi,"").trim();s.value=i,e.emit("toggle-input",i)},l=i=>{i.target.setCustomValidity(""),s.value=i.target.value};return ya({target:n},()=>{o.value.reportValidity()&&a()}),{formRef:o,nameInputRef:n,handleRenameAsset:a,handleNameInput:l}}}),IF=["value"];function SF(t,e,o,n,s,a){return r(),v("form",{ref:"formRef",onSubmit:e[2]||(e[2]=Kt((...l)=>t.handleRenameAsset&&t.handleRenameAsset(...l),["prevent"]))},[h("input",{ref:"nameInputRef",type:"text",value:t.assetName,class:"asset-name-input text-body-2",pattern:"^([a-zA-Z0-9- _()]+)$",onInvalid:e[0]||(e[0]=l=>l.target.setCustomValidity(t.$t("builder.foldersAllowedCharacters",{chars:"A-Z, a-z, 0-9, _-()"}))),onInput:e[1]||(e[1]=(...l)=>t.handleNameInput&&t.handleNameInput(...l))},null,40,IF)],544)}const nI=V(EF,[["render",SF],["__scopeId","data-v-b797f288"]]),hv=K({components:{HostingerButton:gt,ZyroCheckbox:Vl,ZyroSvgDeprecated:Qt,UploadLoader:q6,AssetControls:oI,AssetNameInput:nI},props:{asset:{type:Object,required:!0},isGallery:{type:Boolean,default:!1},currentTab:{type:Object,required:!0},isAssetSelectButtonHidden:{type:Boolean,default:!1}},emits:["select","open-image-details","move-asset-to","rename-asset","delete-asset"],setup(t,e){const{getters:o}=et(),{toggleGalleryImageCheckbox:n,uploadingAssetCount:s}=zs(),a=C(!1),l=d(()=>o["assets/assetPaths"]),i=d(()=>Object.values(l.value).some(f=>f.path===t.asset.path)),c=d(()=>t.asset.name),u=d(()=>!!s.value>0&&!i.value),p=`url(${Sg("/assets/images/image-backdrop.png")})`;return{toggleGalleryImageCheckbox:n,isAssetCategoryImage:ks,isAssetBeingRenamed:a,isAssetBeingUploaded:u,assetName:c,toggleInput:f=>{e.emit("rename-asset",f),a.value=!a.value},imageBackdropUrl:p}},data(){return{isReadyToBeShown:!1}},computed:{...Ve(["websiteId"]),optimizedImageUrl(){return this.isAssetCategoryImage(this.asset)?ed(this.asset.url)?this.asset.url:Zo("assets",Na(this.asset.url),this.websiteId,{width:fy}):this.asset.url},isLoading(){return(this.asset.transferProgress!==100||!this.isReadyToBeShown)&&!this.asset.isFetchedFromServer}},watch:{"asset.transferProgress":function(e){e===100&&setTimeout(()=>{this.isReadyToBeShown=!0},2e3)}},created(){this.isReadyToBeShown=this.asset.transferProgress===100},methods:{getFileNameFromURL:Na,getExtension:Vn}}),ew=()=>{fe(t=>({"03c34b34":t.imageBackdropUrl}))},ow=hv.setup;hv.setup=ow?(t,e)=>(ew(),ow(t,e)):ew;const bv=t=>(Te("data-v-b1ffc99f"),t=t(),Ce(),t),xF=["data-qa"],TF={key:0},CF={class:"asset-thumbnail__loader-image"},PF={key:0,class:"asset-thumbnail__checkmark-icon-container"},BF=bv(()=>h("div",{class:"asset-thumbnail__loader-name"},null,-1)),AF=bv(()=>h("div",{class:"asset-thumbnail__loader-description"},null,-1)),DF={key:1},zF=["src"],LF=bv(()=>h("div",{class:"asset-thumbnail__hover-backdrop"},null,-1)),$F={class:"asset-thumbnail__data-wrapper"},OF={class:"asset-thumbnail__text-wrapper"},RF=["title"],MF={class:"asset-thumbnail__description text-body-2"};function NF(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("UploadLoader"),c=Y("HostingerButton"),u=Y("ZyroCheckbox"),p=Y("AssetNameInput"),g=Y("AssetControls"),f=rt("qa");return r(),v("div",{class:ut(["asset-thumbnail",{"asset-thumbnail--placeholder":t.asset.type==="placeholder"}]),"data-qa":`asset-thumbnail-${t.asset.id}`},[t.isLoading?(r(),v("div",TF,[h("div",CF,[t.asset.transferProgress===100?(r(),v("div",PF,[b(l,{name:"check-mark-blue"})])):B("",!0),b(i,{class:"user-image__loader-svg",progress:t.asset.transferProgress},null,8,["progress"])]),BF,AF])):(r(),v("div",DF,[R((r(),v("div",{class:ut(["asset-thumbnail__thumbnail-container",{"asset-thumbnail__thumbnail-container--boxed-grid":t.isAssetCategoryImage(t.asset)}]),onClick:e[2]||(e[2]=y=>t.$emit("select"))},[t.isAssetCategoryImage(t.asset)?(r(),v("img",{key:0,ref:"image",loading:"lazy",src:t.asset.urlBase64?t.asset.urlBase64:t.optimizedImageUrl,class:"asset-thumbnail__thumbnail"},null,8,zF)):(r(),S(l,{key:1,class:"asset-thumbnail__document-icon",name:"file-small"})),t.asset.url&&!t.isAssetSelectButtonHidden?R((r(),S(c,{key:2,class:"asset-thumbnail__add-to-page-button",onClick:e[0]||(e[0]=Kt(y=>t.$emit("select"),["stop"]))},{default:k(()=>[U(w(t.$t("builder.assetManagerSelectAsset")),1)]),_:1})),[[f,`asset-thumbnail-select-button-${t.assetName}`]]):B("",!0),LF,R((r(),v("button",{class:"asset-thumbnail__details-button",onClick:e[1]||(e[1]=Kt(y=>t.$emit("open-image-details"),["stop"]))},[U(w(t.$t("builder.assetManagerThumbnailDetails")),1)])),[[f,`asset-thumbnail-details-button-${t.assetName}`]])],2)),[[f,`asset-thumbnail-container-${t.assetName}`]]),t.isGallery&&!t.isAssetSelectButtonHidden?(r(),S(u,{key:0,class:"asset-thumbnail__gallery-checkbox","model-value":t.asset.isGalleryImageSelected,theme:"blue","onUpdate:modelValue":e[3]||(e[3]=y=>t.toggleGalleryImageCheckbox(t.asset.id))},null,8,["model-value"])):B("",!0),h("div",$F,[h("div",OF,[t.isAssetBeingRenamed?(r(),S(p,{key:0,"asset-name":t.assetName,onToggleInput:t.toggleInput},null,8,["asset-name","onToggleInput"])):(r(),v("p",{key:1,class:"asset-thumbnail__name text-body-2",title:t.assetName},w(t.assetName),9,RF)),h("p",MF,w(t.asset.url?t.getExtension(t.asset.url).toUpperCase():"-"),1)]),b(g,{disabled:t.isAssetBeingUploaded,"current-tab":t.currentTab,onRenameAsset:e[4]||(e[4]=y=>t.isAssetBeingRenamed=!t.isAssetBeingRenamed),onDeleteAsset:e[5]||(e[5]=y=>t.$emit("delete-asset")),onMoveAssetTo:e[6]||(e[6]=y=>t.$emit("move-asset-to",y))},null,8,["disabled","current-tab"])])]))],10,xF)}const HF=V(hv,[["render",NF],["__scopeId","data-v-b1ffc99f"]]);function GF({wrapperRef:t,mappedAssets:e}){const{width:o}=K5(t);return{dynamicallySegmentedAssets:d(()=>{if(!t.value)return[];const s=Math.floor(o.value/fy);return e.value.reduce((a,l,i)=>{const c=Math.floor(i/s),u=[...a];return u[c]=[...u[c]||[],l],u},[]).map((a,l,i)=>{if(l!==i.length-1||a.length===s)return a;const c=s-a.length;return[...a,...Array(c).fill({type:"placeholder"})]}).map((a,l)=>{const i=a;return i.id=String(l),i})})}}const FF={class:"assets-grid"},VF={class:"assets-grid__assets-row"},nw=260,iw=8,UF={__name:"AssetsGrid",props:{assets:{type:Array,required:!0},isGallery:{type:Boolean,default:!1},currentTab:{type:Object,required:!0},visibleCategories:{type:Array,default:()=>Ic,validator:t=>t.every(e=>Ic.includes(e))},isAssetSelectButtonHidden:{type:Boolean,default:!1}},emits:["open-image-details","select-image","move-asset-to","rename-asset","delete-asset"],setup(t){fe(i=>({"0fcf3ac6":nw,"65314d12":iw}));const e=t,o=C(),n=({assetCategory:i})=>{const c=e.visibleCategories.includes(Ro.DOCUMENT),u=e.visibleCategories.includes(Ro.IMAGE);return c?u?!1:i===Ro.IMAGE:i===Ro.DOCUMENT},s=d(()=>e.assets.map(i=>{const c=n({assetCategory:i.category});return{...i,isCategoryDifferentFromView:c}})),{dynamicallySegmentedAssets:a}=GF({mappedAssets:s,wrapperRef:o}),l=nw+iw;return(i,c)=>(r(),v("div",FF,[h("div",{ref_key:"wrapperRef",ref:o,class:"assets-grid__wrapper"},[b(m(kT),{"page-mode":"",class:"scroller",items:m(a),"item-size":l,"key-field":"id"},{before:k(()=>[wt(i.$slots,"breadcrumbs",{},void 0,!0),wt(i.$slots,"folders",{},void 0,!0)]),default:k(({item:u})=>[h("div",VF,[(r(!0),v(at,null,Pt(u,p=>(r(),S(HF,{key:p.id,"is-asset-select-button-hidden":t.isAssetSelectButtonHidden||p.isCategoryDifferentFromView,asset:p,"is-gallery":t.isGallery,"current-tab":t.currentTab,onOpenImageDetails:g=>i.$emit("open-image-details",p),onSelect:g=>i.$emit("select-image",p.url),onMoveAssetTo:g=>i.$emit("move-asset-to",{newPath:g,asset:p}),onRenameAsset:g=>i.$emit("rename-asset",{asset:p,newName:g}),onDeleteAsset:g=>i.$emit("delete-asset",p)},null,8,["is-asset-select-button-hidden","asset","is-gallery","current-tab","onOpenImageDetails","onSelect","onMoveAssetTo","onRenameAsset","onDeleteAsset"]))),128))])]),_:3},8,["items"])],512)]))}},jF=V(UF,[["__scopeId","data-v-d833a6ec"]]),WF=K({components:{ZyroSvgDeprecated:Qt,AssetControls:oI,AssetNameInput:nI},props:{folderName:{type:String,required:!0}},emits:["open-directory","rename-asset","delete-asset"],setup(t,e){const o=C(!1);return{nameInputRef:C(null),isAssetBeingRenamed:o,handleFolderClick:()=>{o.value||e.emit("open-directory")},toggleInput:l=>{e.emit("rename-asset",l),o.value=!o.value}}}}),qF={class:"folder-thumbnail"},YF=["title"],KF={key:2,class:"folder-thumbnail__hover-backdrop"};function ZF(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=Y("AssetNameInput"),c=Y("AssetControls"),u=rt("qa");return R((r(),v("div",qF,[h("div",{class:"folder-thumbnail__content-wrapper",onClick:e[0]||(e[0]=(...p)=>t.handleFolderClick&&t.handleFolderClick(...p))},[h("div",null,[b(l,{class:"folder-thumbnail__icon",name:"folder",dimensions:"24px"})]),t.isAssetBeingRenamed?(r(),S(i,{key:0,ref:"nameInputRef","asset-name":t.folderName,class:"folder-thumbnail__name-input",onToggleInput:t.toggleInput},null,8,["asset-name","onToggleInput"])):(r(),v("p",{key:1,class:"folder-thumbnail__name text-body-2",title:t.folderName},w(t.folderName),9,YF)),t.isAssetBeingRenamed?B("",!0):(r(),v("div",KF))]),b(c,{"is-folder":"",onRenameAsset:e[1]||(e[1]=p=>t.isAssetBeingRenamed=!t.isAssetBeingRenamed),onDeleteAsset:e[2]||(e[2]=p=>t.$emit("delete-asset"))})])),[[u,`folder-thumbnail-${t.folderName}`]])}const QF=V(WF,[["render",ZF],["__scopeId","data-v-8f5d9b89"]]),XF={},JF={class:"assets-grid"};function tV(t,e){return r(),v("div",JF,[wt(t.$slots,"default",{},void 0,!0)])}const eV=V(XF,[["render",tV],["__scopeId","data-v-dbe4845a"]]),oV=K({components:{FolderThumbnail:QF,AssetsGridWrapper:eV},props:{folders:{type:Array,required:!0}},emits:["open-directory","rename-asset","delete-asset"]});function nV(t,e,o,n,s,a){const l=Y("FolderThumbnail"),i=Y("AssetsGridWrapper");return r(),S(i,null,{default:k(()=>[(r(!0),v(at,null,Pt(t.folders,c=>(r(),S(l,{key:c.id,"folder-name":c.name,"is-folder":"",onOpenDirectory:u=>t.$emit("open-directory",c.path),onRenameAsset:u=>t.$emit("rename-asset",{asset:c,newName:u}),onDeleteAsset:u=>t.$emit("delete-asset",c)},null,8,["folder-name","onOpenDirectory","onRenameAsset","onDeleteAsset"]))),128))]),_:1})}const iV=V(oV,[["render",nV]]),sV=K({components:{Icon:ct,HostingerButton:gt},props:{selectedAssetsCount:{type:Number,required:!0}},emits:["add-to-gallery","deselect-all","select-all"]}),aV={class:"gallery-assets-controls"},lV={class:"gallery-assets-controls__left-controls"},rV={class:"text-body-2"};function dV(t,e,o,n,s,a){const l=Y("Icon"),i=Y("HostingerButton");return r(),v("div",aV,[h("div",lV,[h("p",rV,w(t.selectedAssetsCount)+" "+w(t.$t("builder.assetManagerGalleryControlsItemsSelected")),1),b(i,{class:"gallery-assets-controls__button","button-type":"text","icon-left":"deselect-all",onClick:e[0]||(e[0]=c=>t.$emit("deselect-all"))},{"icon-left":k(()=>[b(l,{name:"deselect"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerGalleryControlsDeselectAll")),1)]),_:1}),b(i,{class:"gallery-assets-controls__button","button-type":"text",onClick:e[1]||(e[1]=c=>t.$emit("select-all"))},{"icon-left":k(()=>[b(l,{name:"select-all"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerGalleryControlsSelectAll")),1)]),_:1})]),b(i,{class:"gallery-assets-controls__button",onClick:e[2]||(e[2]=c=>t.$emit("add-to-gallery"))},{default:k(()=>[U(w(t.$t("builder.assetManagerAddToGallery")),1)]),_:1})])}const cV=V(sV,[["render",dV],["__scopeId","data-v-70b9787e"]]),uV=K({components:{ZyroSvgDeprecated:Qt},setup(){const{getters:t,dispatch:e}=et(),o=d(()=>t["assets/folders"]),n=d(()=>[...o.value].sort((l,i)=>l.path.localeCompare(i.path)));return{currentDirectory:d(()=>t["assets/currentDirectory"]),setCurrentDirectory:l=>e("assets/setCurrentDirectory",l),folders:n}}}),pV={class:"asset-folder-breadcrumbs"},gV={key:0,class:"asset-folder-breadcrumbs__breadcrumb"},mV=["onClick"];function hV(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=rt("qa");return r(),v("div",pV,[R((r(),v("button",{class:ut(["asset-folder-breadcrumbs__button text-body-2",{"asset-folder-breadcrumbs__button--current":t.currentDirectory==="/"}]),onClick:e[0]||(e[0]=c=>t.setCurrentDirectory("/"))},[U(w(t.$t("builder.foldersMyLibrary")),1)],2)),[[i,"asset-folder-breadcrumbs-my-library"]]),(r(!0),v(at,null,Pt(t.folders,(c,u)=>(r(),v(at,{key:u},[t.currentDirectory.startsWith(c.path)?(r(),v("div",gV,[b(l,{name:"chevron-right",dimensions:"20px",class:"asset-folder-breadcrumbs__icon"}),R((r(),v("button",{class:ut(["asset-folder-breadcrumbs__button text-body-2",{"asset-folder-breadcrumbs__button--current":c.path===t.currentDirectory}]),onClick:p=>t.setCurrentDirectory(c.path)},[U(w(c.name),1)],10,mV)),[[i,`asset-folder-breadcrumbs-${c.name}`]])])):B("",!0)],64))),128))])}const bV=V(uV,[["render",hV],["__scopeId","data-v-809acc92"]]),fV=t=>(Te("data-v-62b8b639"),t=t(),Ce(),t),yV=fV(()=>h("br",null,null,-1)),vV=K({__name:"AssetsLayout",props:{isGallery:{type:Boolean,default:!0},validAssets:{default:()=>[]},currentTab:{},visibleCategories:{default:()=>Ic},isAssetSelectButtonHidden:{type:Boolean}},emits:["open-image-details","select-image","open-directory","add-to-gallery","open-file-dialog","rename-asset","delete-asset","move-asset-to"],setup(t,{emit:e}){const o=t,n=e,{isDraggedOver:s,listenForDragAndDrop:a,deleteFailedAssets:l,invalidAssetsBeingUploaded:i,uploadAssets:c,removeInvalidAssetsBeingUploaded:u,retryFailedAssets:p,hasServerAssetsLoaded:g,selectAllGalleryImages:f,deselectSelectedGalleryImages:y,assets:E}=zs(o,{emit:n}),{currentDirectoryValidAssets:I,currentDirectoryFolders:T,validAssetsWithPaths:x,folders:P}=ym({assets:d(()=>o.validAssets)}),z=d(()=>o.validAssets.filter(G=>ed(G.url))),L=C(null),{t:$}=_t(),A={title:$("builder.assetManagerDialogAssetTooLargeTitleMixed"),descriptionOne:$("builder.assetManagerDialogAssetTooLargeLineOneDescriptionMixed"),descriptionTwo:$("builder.assetManagerDialogAssetTooLargeLineTwoDescriptionMixed",[gf,pf])},D={title:$("builder.assetManagerDialogAssetTooLargeTitleImage"),descriptionOne:$("builder.assetManagerDialogAssetTooLargeOneDescriptionImage"),descriptionTwo:$("builder.assetManagerDialogAssetTooLargeDescriptionImage",[gf])},O={title:$("builder.assetManagerDialogAssetTooLargeTitleDocument"),descriptionOne:$("builder.assetManagerDialogAssetTooLargeOneDescriptionDocument"),descriptionTwo:$("builder.assetManagerDialogAssetTooLargeDescriptionDocument",[pf])},M=d(()=>o.currentTab.id===Ho.MY_LIBRARY?I.value:o.currentTab.id===Ho.AI_IMAGES?z.value:x.value),H=d(()=>E.value.filter(ot=>ot.hasFailed&&ot.isUnsupportedFormat).length?{title:$("builder.assetManagerDialogAssetUnsupportedFormat"),description:$("builder.assetManagerNotSupportedFileTypes",{types:D6.map(ot=>`.${ot.toUpperCase()}`).join(", ")})}:E.value.some(ot=>ot.hasFailed&&ot.isDimensionsTooLarge)?{title:$("builder.assetManagerDialogAssetTooLargeTitleImage"),description:$("builder.assetManagerDialogAssetTooLargeDimension")}:{title:$("builder.assetManagerDialogSomethingWentWrong"),description:$("builder.assetManagerDialogSomeFailed")});Vt(()=>{a(L.value)});const F=d(()=>E.value.filter(G=>G.isGalleryImageSelected).length),j=d(()=>!E.value.length&&!P.value.length),q=d(()=>E.value.filter(X=>X.hasFailed).length>0),W=d(()=>{const G=i.value.map(({category:ot})=>ot);if(new Set(G).size>1)return A;switch(G[0]){case Ro.DOCUMENT:return O;case Ro.IMAGE:return D;default:return A}}),Z=()=>{u(),c(i.value)};return(G,X)=>(r(),v("div",{ref_key:"userLayoutRef",ref:L,class:ut(["assets-layout",{"assets-layout--content-centered":j.value,"assets-layout--content-shifted":F.value>0}])},[m(g)?j.value?B("",!0):(r(),S(jF,{key:1,assets:M.value,"is-gallery":G.isGallery,"current-tab":G.currentTab,"visible-categories":G.visibleCategories,"is-asset-select-button-hidden":G.isAssetSelectButtonHidden,onOpenImageDetails:X[3]||(X[3]=ot=>n("open-image-details",ot)),onSelectImage:X[4]||(X[4]=ot=>n("select-image",ot)),onMoveAssetTo:X[5]||(X[5]=ot=>n("move-asset-to",ot)),onRenameAsset:X[6]||(X[6]=ot=>n("rename-asset",ot)),onDeleteAsset:X[7]||(X[7]=ot=>n("delete-asset",ot))},li({_:2},[G.currentTab.id===m(Ho).MY_LIBRARY?{name:"breadcrumbs",fn:k(()=>[b(bV)]),key:"0"}:void 0,G.currentTab.id===m(Ho).MY_LIBRARY&&m(T).length?{name:"folders",fn:k(()=>[b(iV,{folders:m(T),onOpenDirectory:X[0]||(X[0]=ot=>n("open-directory",ot)),onRenameAsset:X[1]||(X[1]=ot=>n("rename-asset",ot)),onDeleteAsset:X[2]||(X[2]=ot=>n("delete-asset",ot))},null,8,["folders"])]),key:"1"}:void 0]),1032,["assets","is-gallery","current-tab","visible-categories","is-asset-select-button-hidden"])):(r(),S(je,{key:0})),F.value>0?(r(),S(cV,{key:2,"selected-assets-count":F.value,class:"assets-layout__gallery-assets-control",onSelectAll:m(f),onDeselectAll:m(y),onAddToGallery:X[8]||(X[8]=ot=>n("add-to-gallery"))},null,8,["selected-assets-count","onSelectAll","onDeselectAll"])):B("",!0),(j.value||m(s))&&m(g)?(r(),S(gv,{key:3,class:"assets-layout__drag-and-drop-overlay","is-dragged-over":m(s),onOpenFileDialog:X[9]||(X[9]=ot=>n("open-file-dialog"))},null,8,["is-dragged-over"])):B("",!0),m(i).length?(r(),S(en,{key:4,title:W.value.title,"primary-button-text":G.$t("builder.assetManagerDialogTooCancel"),"secondary-button-text":G.$t("builder.assetManagerDialogSkipUnsupported"),onClose:m(u),onClickPrimary:m(u),onClickSecondary:Z},{default:k(()=>[U(w(W.value.descriptionOne)+" ",1),yV,U(" "+w(W.value.descriptionTwo),1)]),_:1},8,["title","primary-button-text","secondary-button-text","onClose","onClickPrimary"])):q.value?(r(),S(en,{key:5,title:H.value.title,"primary-button-text":G.$t("builder.assetManagerDialogRetry"),"secondary-button-text":G.$t("builder.assetManagerDialogSkipUnsupported"),onClose:m(l),onClickPrimary:m(p),onClickSecondary:m(l)},{default:k(()=>[U(w(H.value.description),1)]),_:1},8,["title","primary-button-text","secondary-button-text","onClose","onClickPrimary","onClickSecondary"])):B("",!0),b(tI)],2))}}),_V=V(vV,[["__scopeId","data-v-62b8b639"]]),xc=[{id:3571264,width:3840,height:2160,duration:33,full_res:null,tags:[],url:"https://www.pexels.com/video/drone-view-of-big-waves-rushing-to-the-shore-3571264/",image:"https://images.pexels.com/videos/3571264/free-video-3571264.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:1498112,name:"Enrique Hoyos",url:"https://www.pexels.com/@enrique"},video_files:[{id:9326316,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-uhd_2560_1440_30fps.mp4"},{id:9326361,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-sd_640_360_30fps.mp4"},{id:9326423,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-sd_960_540_30fps.mp4"},{id:9326528,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-uhd_3840_2160_30fps.mp4"},{id:9326609,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-sd_426_240_30fps.mp4"},{id:9326703,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-hd_1280_720_30fps.mp4"},{id:9326816,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/3571264/3571264-hd_1920_1080_30fps.mp4"}],video_pictures:[{id:815098,nr:0,picture:"https://images.pexels.com/videos/3571264/pictures/preview-0.jpg"},{id:815099,nr:1,picture:"https://images.pexels.com/videos/3571264/pictures/preview-1.jpg"},{id:815100,nr:2,picture:"https://images.pexels.com/videos/3571264/pictures/preview-2.jpg"},{id:815101,nr:3,picture:"https://images.pexels.com/videos/3571264/pictures/preview-3.jpg"},{id:815102,nr:4,picture:"https://images.pexels.com/videos/3571264/pictures/preview-4.jpg"},{id:815103,nr:5,picture:"https://images.pexels.com/videos/3571264/pictures/preview-5.jpg"},{id:815104,nr:6,picture:"https://images.pexels.com/videos/3571264/pictures/preview-6.jpg"},{id:815105,nr:7,picture:"https://images.pexels.com/videos/3571264/pictures/preview-7.jpg"},{id:815106,nr:8,picture:"https://images.pexels.com/videos/3571264/pictures/preview-8.jpg"},{id:815107,nr:9,picture:"https://images.pexels.com/videos/3571264/pictures/preview-9.jpg"},{id:815108,nr:10,picture:"https://images.pexels.com/videos/3571264/pictures/preview-10.jpg"},{id:815109,nr:11,picture:"https://images.pexels.com/videos/3571264/pictures/preview-11.jpg"},{id:815110,nr:12,picture:"https://images.pexels.com/videos/3571264/pictures/preview-12.jpg"},{id:815111,nr:13,picture:"https://images.pexels.com/videos/3571264/pictures/preview-13.jpg"},{id:815112,nr:14,picture:"https://images.pexels.com/videos/3571264/pictures/preview-14.jpg"}]},{id:6394054,width:4096,height:2048,duration:12,full_res:null,tags:[],url:"https://www.pexels.com/video/waterfall-in-the-forest-6394054/",image:"https://images.pexels.com/videos/6394054/adventure-beauty-forrest-hike-6394054.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:417939,name:"Peter Fowler",url:"https://www.pexels.com/@peter-fowler-417939"},video_files:[{id:10039360,quality:"uhd",file_type:"video/mp4",width:2732,height:1366,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-uhd_2732_1366_24fps.mp4"},{id:10039416,quality:"sd",file_type:"video/mp4",width:640,height:320,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-sd_640_320_24fps.mp4"},{id:10039481,quality:"sd",file_type:"video/mp4",width:426,height:214,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-sd_426_214_24fps.mp4"},{id:10039599,quality:"uhd",file_type:"video/mp4",width:4096,height:2048,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-uhd_4096_2048_24fps.mp4"},{id:10039683,quality:"hd",file_type:"video/mp4",width:2048,height:1024,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-hd_2048_1024_24fps.mp4"},{id:10039774,quality:"hd",file_type:"video/mp4",width:1366,height:684,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-hd_1366_684_24fps.mp4"},{id:10039880,quality:"sd",file_type:"video/mp4",width:960,height:480,fps:23.976,link:"https://videos.pexels.com/video-files/6394054/6394054-sd_960_480_24fps.mp4"}],video_pictures:[{id:4391143,nr:0,picture:"https://images.pexels.com/videos/6394054/pictures/preview-0.jpg"},{id:4391144,nr:1,picture:"https://images.pexels.com/videos/6394054/pictures/preview-1.jpg"},{id:4391145,nr:2,picture:"https://images.pexels.com/videos/6394054/pictures/preview-2.jpg"},{id:4391146,nr:3,picture:"https://images.pexels.com/videos/6394054/pictures/preview-3.jpg"},{id:4391147,nr:4,picture:"https://images.pexels.com/videos/6394054/pictures/preview-4.jpg"},{id:4391148,nr:5,picture:"https://images.pexels.com/videos/6394054/pictures/preview-5.jpg"},{id:4391149,nr:6,picture:"https://images.pexels.com/videos/6394054/pictures/preview-6.jpg"},{id:4391150,nr:7,picture:"https://images.pexels.com/videos/6394054/pictures/preview-7.jpg"},{id:4391151,nr:8,picture:"https://images.pexels.com/videos/6394054/pictures/preview-8.jpg"},{id:4391152,nr:9,picture:"https://images.pexels.com/videos/6394054/pictures/preview-9.jpg"},{id:4391153,nr:10,picture:"https://images.pexels.com/videos/6394054/pictures/preview-10.jpg"},{id:4391154,nr:11,picture:"https://images.pexels.com/videos/6394054/pictures/preview-11.jpg"},{id:4391155,nr:12,picture:"https://images.pexels.com/videos/6394054/pictures/preview-12.jpg"},{id:4391156,nr:13,picture:"https://images.pexels.com/videos/6394054/pictures/preview-13.jpg"},{id:4391157,nr:14,picture:"https://images.pexels.com/videos/6394054/pictures/preview-14.jpg"}]},{id:6981411,width:1920,height:1080,duration:14,full_res:null,tags:[],url:"https://www.pexels.com/video/a-magnificent-view-of-the-waterfalls-6981411/",image:"https://images.pexels.com/videos/6981411/pexels-photo-6981411.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:11437196,name:"Mikhail Nilov",url:"https://www.pexels.com/@mikhail-nilov"},video_files:[{id:10264058,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:25,link:"https://videos.pexels.com/video-files/6981411/6981411-sd_426_240_25fps.mp4"},{id:10264103,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:25,link:"https://videos.pexels.com/video-files/6981411/6981411-hd_1920_1080_25fps.mp4"},{id:10264198,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:25,link:"https://videos.pexels.com/video-files/6981411/6981411-sd_640_360_25fps.mp4"},{id:10264252,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:25,link:"https://videos.pexels.com/video-files/6981411/6981411-sd_960_540_25fps.mp4"},{id:10264301,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:25,link:"https://videos.pexels.com/video-files/6981411/6981411-hd_1280_720_25fps.mp4"}],video_pictures:[{id:5526606,nr:0,picture:"https://images.pexels.com/videos/6981411/pictures/preview-0.jpg"},{id:5526617,nr:1,picture:"https://images.pexels.com/videos/6981411/pictures/preview-1.jpg"},{id:5526631,nr:2,picture:"https://images.pexels.com/videos/6981411/pictures/preview-2.jpg"},{id:5526642,nr:3,picture:"https://images.pexels.com/videos/6981411/pictures/preview-3.jpg"},{id:5526653,nr:4,picture:"https://images.pexels.com/videos/6981411/pictures/preview-4.jpg"},{id:5526673,nr:5,picture:"https://images.pexels.com/videos/6981411/pictures/preview-5.jpg"},{id:5526683,nr:6,picture:"https://images.pexels.com/videos/6981411/pictures/preview-6.jpg"},{id:5526691,nr:7,picture:"https://images.pexels.com/videos/6981411/pictures/preview-7.jpg"},{id:5526699,nr:8,picture:"https://images.pexels.com/videos/6981411/pictures/preview-8.jpg"},{id:5526703,nr:9,picture:"https://images.pexels.com/videos/6981411/pictures/preview-9.jpg"},{id:5526710,nr:10,picture:"https://images.pexels.com/videos/6981411/pictures/preview-10.jpg"},{id:5526717,nr:11,picture:"https://images.pexels.com/videos/6981411/pictures/preview-11.jpg"},{id:5526721,nr:12,picture:"https://images.pexels.com/videos/6981411/pictures/preview-12.jpg"},{id:5526729,nr:13,picture:"https://images.pexels.com/videos/6981411/pictures/preview-13.jpg"},{id:5526737,nr:14,picture:"https://images.pexels.com/videos/6981411/pictures/preview-14.jpg"}]},{id:3173312,width:3840,height:2160,duration:6,full_res:null,tags:[],url:"https://www.pexels.com/video/the-strong-force-of-niagara-falls-3173312/",image:"https://images.pexels.com/videos/3173312/free-video-3173312.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:1659830,name:"Aric Shelby",url:"https://www.pexels.com/@aric-shelby-1659830"},video_files:[{id:9308593,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-hd_1920_1080_30fps.mp4"},{id:9308692,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-hd_1280_720_30fps.mp4"},{id:9308741,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-sd_426_240_30fps.mp4"},{id:9308786,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-sd_640_360_30fps.mp4"},{id:9308822,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-uhd_3840_2160_30fps.mp4"},{id:9308862,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-sd_960_540_30fps.mp4"},{id:9308886,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:29.97,link:"https://videos.pexels.com/video-files/3173312/3173312-uhd_2560_1440_30fps.mp4"}],video_pictures:[{id:564924,nr:0,picture:"https://images.pexels.com/videos/3173312/pictures/preview-0.jpg"},{id:564931,nr:1,picture:"https://images.pexels.com/videos/3173312/pictures/preview-1.jpg"},{id:564936,nr:2,picture:"https://images.pexels.com/videos/3173312/pictures/preview-2.jpg"},{id:564943,nr:3,picture:"https://images.pexels.com/videos/3173312/pictures/preview-3.jpg"},{id:564950,nr:4,picture:"https://images.pexels.com/videos/3173312/pictures/preview-4.jpg"},{id:564956,nr:5,picture:"https://images.pexels.com/videos/3173312/pictures/preview-5.jpg"},{id:564961,nr:6,picture:"https://images.pexels.com/videos/3173312/pictures/preview-6.jpg"},{id:564967,nr:7,picture:"https://images.pexels.com/videos/3173312/pictures/preview-7.jpg"},{id:564973,nr:8,picture:"https://images.pexels.com/videos/3173312/pictures/preview-8.jpg"},{id:564979,nr:9,picture:"https://images.pexels.com/videos/3173312/pictures/preview-9.jpg"},{id:564984,nr:10,picture:"https://images.pexels.com/videos/3173312/pictures/preview-10.jpg"},{id:564988,nr:11,picture:"https://images.pexels.com/videos/3173312/pictures/preview-11.jpg"},{id:564993,nr:12,picture:"https://images.pexels.com/videos/3173312/pictures/preview-12.jpg"},{id:565e3,nr:13,picture:"https://images.pexels.com/videos/3173312/pictures/preview-13.jpg"},{id:565006,nr:14,picture:"https://images.pexels.com/videos/3173312/pictures/preview-14.jpg"}]},{id:4763824,width:3840,height:2160,duration:14,full_res:null,tags:[],url:"https://www.pexels.com/video/drone-flying-over-the-mountain-peak-4763824/",image:"https://images.pexels.com/videos/4763824/4k-4k50fps-adventure-backpack-4763824.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:649765,name:"Yaroslav Shuraev",url:"https://www.pexels.com/@yaroslav-shuraev"},video_files:[{id:9394174,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-hd_1280_720_24fps.mp4"},{id:9394207,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-sd_960_540_24fps.mp4"},{id:9394288,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-hd_1920_1080_24fps.mp4"},{id:9394375,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-sd_640_360_24fps.mp4"},{id:9394476,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-uhd_2560_1440_24fps.mp4"},{id:9394622,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-uhd_3840_2160_24fps.mp4"},{id:9394730,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:24,link:"https://videos.pexels.com/video-files/4763824/4763824-sd_426_240_24fps.mp4"}],video_pictures:[{id:1911019,nr:0,picture:"https://images.pexels.com/videos/4763824/pictures/preview-0.jpg"},{id:1911020,nr:1,picture:"https://images.pexels.com/videos/4763824/pictures/preview-1.jpg"},{id:1911021,nr:2,picture:"https://images.pexels.com/videos/4763824/pictures/preview-2.jpg"},{id:1911022,nr:3,picture:"https://images.pexels.com/videos/4763824/pictures/preview-3.jpg"},{id:1911023,nr:4,picture:"https://images.pexels.com/videos/4763824/pictures/preview-4.jpg"},{id:1911024,nr:5,picture:"https://images.pexels.com/videos/4763824/pictures/preview-5.jpg"},{id:1911025,nr:6,picture:"https://images.pexels.com/videos/4763824/pictures/preview-6.jpg"},{id:1911026,nr:7,picture:"https://images.pexels.com/videos/4763824/pictures/preview-7.jpg"},{id:1911027,nr:8,picture:"https://images.pexels.com/videos/4763824/pictures/preview-8.jpg"},{id:1911028,nr:9,picture:"https://images.pexels.com/videos/4763824/pictures/preview-9.jpg"},{id:1911029,nr:10,picture:"https://images.pexels.com/videos/4763824/pictures/preview-10.jpg"},{id:1911030,nr:11,picture:"https://images.pexels.com/videos/4763824/pictures/preview-11.jpg"},{id:1911031,nr:12,picture:"https://images.pexels.com/videos/4763824/pictures/preview-12.jpg"},{id:1911032,nr:13,picture:"https://images.pexels.com/videos/4763824/pictures/preview-13.jpg"},{id:1911033,nr:14,picture:"https://images.pexels.com/videos/4763824/pictures/preview-14.jpg"}]},{id:8820216,width:3840,height:2160,duration:20,full_res:null,tags:[],url:"https://www.pexels.com/video/aerial-shot-of-a-landscape-8820216/",image:"https://images.pexels.com/videos/8820216/aerial-footage-aerial-video-aerial-view-at-the-beach-8820216.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:1522664,name:"Taryn Elliott",url:"https://www.pexels.com/@taryn-elliott"},video_files:[{id:10962308,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-sd_960_540_25fps.mp4"},{id:10962345,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-hd_1920_1080_25fps.mp4"},{id:10962399,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-uhd_2560_1440_25fps.mp4"},{id:10962546,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-uhd_3840_2160_25fps.mp4"},{id:10962595,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-hd_1280_720_25fps.mp4"},{id:10962637,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-sd_426_240_25fps.mp4"},{id:10962702,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:25,link:"https://videos.pexels.com/video-files/8820216/8820216-sd_640_360_25fps.mp4"}],video_pictures:[{id:8879206,nr:0,picture:"https://images.pexels.com/videos/8820216/pictures/preview-0.jpeg"},{id:8879209,nr:1,picture:"https://images.pexels.com/videos/8820216/pictures/preview-1.jpeg"},{id:8879213,nr:2,picture:"https://images.pexels.com/videos/8820216/pictures/preview-2.jpeg"},{id:8879217,nr:3,picture:"https://images.pexels.com/videos/8820216/pictures/preview-3.jpeg"},{id:8879221,nr:4,picture:"https://images.pexels.com/videos/8820216/pictures/preview-4.jpeg"},{id:8879228,nr:5,picture:"https://images.pexels.com/videos/8820216/pictures/preview-5.jpeg"},{id:8879233,nr:6,picture:"https://images.pexels.com/videos/8820216/pictures/preview-6.jpeg"},{id:8879239,nr:7,picture:"https://images.pexels.com/videos/8820216/pictures/preview-7.jpeg"},{id:8879246,nr:8,picture:"https://images.pexels.com/videos/8820216/pictures/preview-8.jpeg"},{id:8879251,nr:9,picture:"https://images.pexels.com/videos/8820216/pictures/preview-9.jpeg"},{id:8879256,nr:10,picture:"https://images.pexels.com/videos/8820216/pictures/preview-10.jpeg"},{id:8879259,nr:11,picture:"https://images.pexels.com/videos/8820216/pictures/preview-11.jpeg"},{id:8879262,nr:12,picture:"https://images.pexels.com/videos/8820216/pictures/preview-12.jpeg"},{id:8879265,nr:13,picture:"https://images.pexels.com/videos/8820216/pictures/preview-13.jpeg"},{id:8879269,nr:14,picture:"https://images.pexels.com/videos/8820216/pictures/preview-14.jpeg"}]},{id:5896379,width:2160,height:3840,duration:30,full_res:null,tags:[],url:"https://www.pexels.com/video/a-rocky-river-in-the-forest-5896379/",image:"https://images.pexels.com/videos/5896379/aerial-footage-aerial-fotoage-aerial-video-aerial-view-5896379.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=630",avg_color:null,user:{id:574687,name:"Ruvim Miksanskiy",url:"https://www.pexels.com/@digitech"},video_files:[{id:9851339,quality:"sd",file_type:"video/mp4",width:540,height:960,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-sd_540_960_24fps.mp4"},{id:9851435,quality:"sd",file_type:"video/mp4",width:360,height:640,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-sd_360_640_24fps.mp4"},{id:9851542,quality:"sd",file_type:"video/mp4",width:240,height:426,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-sd_240_426_24fps.mp4"},{id:9851604,quality:"hd",file_type:"video/mp4",width:720,height:1280,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-hd_720_1280_24fps.mp4"},{id:9851676,quality:"uhd",file_type:"video/mp4",width:2160,height:3840,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-uhd_2160_3840_24fps.mp4"},{id:9851745,quality:"hd",file_type:"video/mp4",width:1080,height:1920,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-hd_1080_1920_24fps.mp4"},{id:9851811,quality:"uhd",file_type:"video/mp4",width:1440,height:2560,fps:23.976,link:"https://videos.pexels.com/video-files/5896379/5896379-uhd_1440_2560_24fps.mp4"}],video_pictures:[{id:3541669,nr:0,picture:"https://images.pexels.com/videos/5896379/pictures/preview-0.jpeg"},{id:3541672,nr:1,picture:"https://images.pexels.com/videos/5896379/pictures/preview-1.jpeg"},{id:3541675,nr:2,picture:"https://images.pexels.com/videos/5896379/pictures/preview-2.jpeg"},{id:3541679,nr:3,picture:"https://images.pexels.com/videos/5896379/pictures/preview-3.jpeg"},{id:3541683,nr:4,picture:"https://images.pexels.com/videos/5896379/pictures/preview-4.jpeg"},{id:3541686,nr:5,picture:"https://images.pexels.com/videos/5896379/pictures/preview-5.jpeg"},{id:3541689,nr:6,picture:"https://images.pexels.com/videos/5896379/pictures/preview-6.jpeg"},{id:3541694,nr:7,picture:"https://images.pexels.com/videos/5896379/pictures/preview-7.jpeg"},{id:3541696,nr:8,picture:"https://images.pexels.com/videos/5896379/pictures/preview-8.jpeg"},{id:3541698,nr:9,picture:"https://images.pexels.com/videos/5896379/pictures/preview-9.jpeg"},{id:3541701,nr:10,picture:"https://images.pexels.com/videos/5896379/pictures/preview-10.jpeg"},{id:3541705,nr:11,picture:"https://images.pexels.com/videos/5896379/pictures/preview-11.jpeg"},{id:3541709,nr:12,picture:"https://images.pexels.com/videos/5896379/pictures/preview-12.jpeg"},{id:3541713,nr:13,picture:"https://images.pexels.com/videos/5896379/pictures/preview-13.jpeg"},{id:3541717,nr:14,picture:"https://images.pexels.com/videos/5896379/pictures/preview-14.jpeg"}]},{id:1448735,width:4096,height:2160,duration:32,full_res:null,tags:[],url:"https://www.pexels.com/video/video-of-forest-1448735/",image:"https://images.pexels.com/videos/1448735/free-video-1448735.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:574687,name:"Ruvim Miksanskiy",url:"https://www.pexels.com/@digitech"},video_files:[{id:9263650,quality:"hd",file_type:"video/mp4",width:1366,height:720,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-hd_1366_720_24fps.mp4"},{id:9263711,quality:"hd",file_type:"video/mp4",width:2048,height:1080,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-hd_2048_1080_24fps.mp4"},{id:9263880,quality:"uhd",file_type:"video/mp4",width:4096,height:2160,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-uhd_4096_2160_24fps.mp4"},{id:9264080,quality:"uhd",file_type:"video/mp4",width:2732,height:1440,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-uhd_2732_1440_24fps.mp4"},{id:9264158,quality:"sd",file_type:"video/mp4",width:960,height:506,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-sd_960_506_24fps.mp4"},{id:9264327,quality:"sd",file_type:"video/mp4",width:640,height:338,fps:23.98,link:"https://videos.pexels.com/video-files/1448735/1448735-sd_640_338_24fps.mp4"}],video_pictures:[{id:133236,nr:0,picture:"https://images.pexels.com/videos/1448735/pictures/preview-0.jpg"},{id:133237,nr:1,picture:"https://images.pexels.com/videos/1448735/pictures/preview-1.jpg"},{id:133238,nr:2,picture:"https://images.pexels.com/videos/1448735/pictures/preview-2.jpg"},{id:133239,nr:3,picture:"https://images.pexels.com/videos/1448735/pictures/preview-3.jpg"},{id:133240,nr:4,picture:"https://images.pexels.com/videos/1448735/pictures/preview-4.jpg"},{id:133241,nr:5,picture:"https://images.pexels.com/videos/1448735/pictures/preview-5.jpg"},{id:133242,nr:6,picture:"https://images.pexels.com/videos/1448735/pictures/preview-6.jpg"},{id:133243,nr:7,picture:"https://images.pexels.com/videos/1448735/pictures/preview-7.jpg"},{id:133244,nr:8,picture:"https://images.pexels.com/videos/1448735/pictures/preview-8.jpg"},{id:133245,nr:9,picture:"https://images.pexels.com/videos/1448735/pictures/preview-9.jpg"},{id:133246,nr:10,picture:"https://images.pexels.com/videos/1448735/pictures/preview-10.jpg"},{id:133247,nr:11,picture:"https://images.pexels.com/videos/1448735/pictures/preview-11.jpg"},{id:133248,nr:12,picture:"https://images.pexels.com/videos/1448735/pictures/preview-12.jpg"},{id:133249,nr:13,picture:"https://images.pexels.com/videos/1448735/pictures/preview-13.jpg"},{id:133250,nr:14,picture:"https://images.pexels.com/videos/1448735/pictures/preview-14.jpg"}]},{id:3214448,width:3840,height:2160,duration:60,full_res:null,tags:[],url:"https://www.pexels.com/video/icecaps-covering-the-mountains-ranges-3214448/",image:"https://images.pexels.com/videos/3214448/free-video-3214448.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:1583460,name:"Pressmaster",url:"https://www.pexels.com/@pressmaster"},video_files:[{id:9293564,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-sd_960_540_25fps.mp4"},{id:9293589,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-sd_640_360_25fps.mp4"},{id:9293620,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-sd_426_240_25fps.mp4"},{id:9293658,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-hd_1920_1080_25fps.mp4"},{id:9293703,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-uhd_3840_2160_25fps.mp4"},{id:9293734,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-hd_1280_720_25fps.mp4"},{id:9293774,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:25,link:"https://videos.pexels.com/video-files/3214448/3214448-uhd_2560_1440_25fps.mp4"}],video_pictures:[{id:593937,nr:0,picture:"https://images.pexels.com/videos/3214448/pictures/preview-0.jpg"},{id:593938,nr:1,picture:"https://images.pexels.com/videos/3214448/pictures/preview-1.jpg"},{id:593939,nr:2,picture:"https://images.pexels.com/videos/3214448/pictures/preview-2.jpg"},{id:593940,nr:3,picture:"https://images.pexels.com/videos/3214448/pictures/preview-3.jpg"},{id:593941,nr:4,picture:"https://images.pexels.com/videos/3214448/pictures/preview-4.jpg"},{id:593942,nr:5,picture:"https://images.pexels.com/videos/3214448/pictures/preview-5.jpg"},{id:593944,nr:6,picture:"https://images.pexels.com/videos/3214448/pictures/preview-6.jpg"},{id:593947,nr:7,picture:"https://images.pexels.com/videos/3214448/pictures/preview-7.jpg"},{id:593948,nr:8,picture:"https://images.pexels.com/videos/3214448/pictures/preview-8.jpg"},{id:593951,nr:9,picture:"https://images.pexels.com/videos/3214448/pictures/preview-9.jpg"},{id:593952,nr:10,picture:"https://images.pexels.com/videos/3214448/pictures/preview-10.jpg"},{id:593954,nr:11,picture:"https://images.pexels.com/videos/3214448/pictures/preview-11.jpg"},{id:593956,nr:12,picture:"https://images.pexels.com/videos/3214448/pictures/preview-12.jpg"},{id:593958,nr:13,picture:"https://images.pexels.com/videos/3214448/pictures/preview-13.jpg"},{id:593960,nr:14,picture:"https://images.pexels.com/videos/3214448/pictures/preview-14.jpg"}]},{id:2098989,width:3840,height:2160,duration:36,full_res:null,tags:[],url:"https://www.pexels.com/video/beauty-of-waterfalls-2098989/",image:"https://images.pexels.com/videos/2098989/free-video-2098989.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:631997,name:"Engin Akyurt",url:"https://www.pexels.com/@enginakyurt"},video_files:[{id:9266944,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-hd_1280_720_30fps.mp4"},{id:9266961,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-uhd_3840_2160_30fps.mp4"},{id:9266988,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-uhd_2560_1440_30fps.mp4"},{id:9267011,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-sd_640_360_30fps.mp4"},{id:9267040,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-hd_1920_1080_30fps.mp4"},{id:9267060,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/2098989/2098989-sd_960_540_30fps.mp4"}],video_pictures:[{id:222873,nr:0,picture:"https://images.pexels.com/videos/2098989/pictures/preview-0.jpg"},{id:222874,nr:1,picture:"https://images.pexels.com/videos/2098989/pictures/preview-1.jpg"},{id:222875,nr:2,picture:"https://images.pexels.com/videos/2098989/pictures/preview-2.jpg"},{id:222876,nr:3,picture:"https://images.pexels.com/videos/2098989/pictures/preview-3.jpg"},{id:222877,nr:4,picture:"https://images.pexels.com/videos/2098989/pictures/preview-4.jpg"},{id:222878,nr:5,picture:"https://images.pexels.com/videos/2098989/pictures/preview-5.jpg"},{id:222879,nr:6,picture:"https://images.pexels.com/videos/2098989/pictures/preview-6.jpg"},{id:222880,nr:7,picture:"https://images.pexels.com/videos/2098989/pictures/preview-7.jpg"},{id:222881,nr:8,picture:"https://images.pexels.com/videos/2098989/pictures/preview-8.jpg"},{id:222882,nr:9,picture:"https://images.pexels.com/videos/2098989/pictures/preview-9.jpg"},{id:222883,nr:10,picture:"https://images.pexels.com/videos/2098989/pictures/preview-10.jpg"},{id:222884,nr:11,picture:"https://images.pexels.com/videos/2098989/pictures/preview-11.jpg"},{id:222885,nr:12,picture:"https://images.pexels.com/videos/2098989/pictures/preview-12.jpg"},{id:222886,nr:13,picture:"https://images.pexels.com/videos/2098989/pictures/preview-13.jpg"},{id:222887,nr:14,picture:"https://images.pexels.com/videos/2098989/pictures/preview-14.jpg"}]},{id:4812203,width:1080,height:1920,duration:16,full_res:null,tags:[],url:"https://www.pexels.com/video/wheat-plants-in-field-4812203/",image:"https://images.pexels.com/videos/4812203/air-child-dad-dress-4812203.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=630",avg_color:null,user:{id:2297095,name:"Pavel Danilyuk",url:"https://www.pexels.com/@pavel-danilyuk"},video_files:[{id:9403438,quality:"hd",file_type:"video/mp4",width:1080,height:1920,fps:29.97,link:"https://videos.pexels.com/video-files/4812203/4812203-hd_1080_1920_30fps.mp4"},{id:9403512,quality:"hd",file_type:"video/mp4",width:720,height:1280,fps:29.97,link:"https://videos.pexels.com/video-files/4812203/4812203-hd_720_1280_30fps.mp4"},{id:9403537,quality:"sd",file_type:"video/mp4",width:540,height:960,fps:29.97,link:"https://videos.pexels.com/video-files/4812203/4812203-sd_540_960_30fps.mp4"},{id:9403689,quality:"sd",file_type:"video/mp4",width:360,height:640,fps:29.97,link:"https://videos.pexels.com/video-files/4812203/4812203-sd_360_640_30fps.mp4"},{id:9403736,quality:"sd",file_type:"video/mp4",width:240,height:426,fps:29.97,link:"https://videos.pexels.com/video-files/4812203/4812203-sd_240_426_30fps.mp4"}],video_pictures:[{id:1958434,nr:0,picture:"https://images.pexels.com/videos/4812203/pictures/preview-0.jpeg"},{id:1958435,nr:1,picture:"https://images.pexels.com/videos/4812203/pictures/preview-1.jpeg"},{id:1958436,nr:2,picture:"https://images.pexels.com/videos/4812203/pictures/preview-2.jpeg"},{id:1958437,nr:3,picture:"https://images.pexels.com/videos/4812203/pictures/preview-3.jpeg"},{id:1958438,nr:4,picture:"https://images.pexels.com/videos/4812203/pictures/preview-4.jpeg"},{id:1958439,nr:5,picture:"https://images.pexels.com/videos/4812203/pictures/preview-5.jpeg"},{id:1958440,nr:6,picture:"https://images.pexels.com/videos/4812203/pictures/preview-6.jpeg"},{id:1958441,nr:7,picture:"https://images.pexels.com/videos/4812203/pictures/preview-7.jpeg"},{id:1958442,nr:8,picture:"https://images.pexels.com/videos/4812203/pictures/preview-8.jpeg"},{id:1958443,nr:9,picture:"https://images.pexels.com/videos/4812203/pictures/preview-9.jpeg"},{id:1958444,nr:10,picture:"https://images.pexels.com/videos/4812203/pictures/preview-10.jpeg"},{id:1958445,nr:11,picture:"https://images.pexels.com/videos/4812203/pictures/preview-11.jpeg"},{id:1958446,nr:12,picture:"https://images.pexels.com/videos/4812203/pictures/preview-12.jpeg"},{id:1958447,nr:13,picture:"https://images.pexels.com/videos/4812203/pictures/preview-13.jpeg"},{id:1958448,nr:14,picture:"https://images.pexels.com/videos/4812203/pictures/preview-14.jpeg"}]},{id:4205697,width:3840,height:2160,duration:46,full_res:null,tags:[],url:"https://www.pexels.com/video/a-drone-shot-of-a-mountain-island-4205697/",image:"https://images.pexels.com/videos/4205697/bay-bay-area-beach-island-beach-shore-4205697.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:649765,name:"Yaroslav Shuraev",url:"https://www.pexels.com/@yaroslav-shuraev"},video_files:[{id:9499102,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-sd_960_540_30fps.mp4"},{id:9499179,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-sd_640_360_30fps.mp4"},{id:9499233,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-uhd_3840_2160_30fps.mp4"},{id:9499258,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-hd_1920_1080_30fps.mp4"},{id:9499320,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-hd_1280_720_30fps.mp4"},{id:9499368,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-uhd_2560_1440_30fps.mp4"},{id:9499432,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:29.97,link:"https://videos.pexels.com/video-files/4205697/4205697-sd_426_240_30fps.mp4"}],video_pictures:[{id:1265068,nr:0,picture:"https://images.pexels.com/videos/4205697/pictures/preview-0.jpg"},{id:1265076,nr:1,picture:"https://images.pexels.com/videos/4205697/pictures/preview-1.jpg"},{id:1265081,nr:2,picture:"https://images.pexels.com/videos/4205697/pictures/preview-2.jpg"},{id:1265082,nr:3,picture:"https://images.pexels.com/videos/4205697/pictures/preview-3.jpg"},{id:1265084,nr:4,picture:"https://images.pexels.com/videos/4205697/pictures/preview-4.jpg"},{id:1265086,nr:5,picture:"https://images.pexels.com/videos/4205697/pictures/preview-5.jpg"},{id:1265088,nr:6,picture:"https://images.pexels.com/videos/4205697/pictures/preview-6.jpg"},{id:1265090,nr:7,picture:"https://images.pexels.com/videos/4205697/pictures/preview-7.jpg"},{id:1265091,nr:8,picture:"https://images.pexels.com/videos/4205697/pictures/preview-8.jpg"},{id:1265094,nr:9,picture:"https://images.pexels.com/videos/4205697/pictures/preview-9.jpg"},{id:1265096,nr:10,picture:"https://images.pexels.com/videos/4205697/pictures/preview-10.jpg"},{id:1265098,nr:11,picture:"https://images.pexels.com/videos/4205697/pictures/preview-11.jpg"},{id:1265100,nr:12,picture:"https://images.pexels.com/videos/4205697/pictures/preview-12.jpg"},{id:1265103,nr:13,picture:"https://images.pexels.com/videos/4205697/pictures/preview-13.jpg"},{id:1265105,nr:14,picture:"https://images.pexels.com/videos/4205697/pictures/preview-14.jpg"}]},{id:5147455,width:1080,height:1920,duration:14,full_res:null,tags:[],url:"https://www.pexels.com/video/view-of-sunset-from-the-beach-5147455/",image:"https://images.pexels.com/videos/5147455/beach-hua-hin-sunrise-thaliand-5147455.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=630",avg_color:null,user:{id:3006127,name:"Christopher Schultz",url:"https://www.pexels.com/@christopher-schultz-3006127"},video_files:[{id:9631351,quality:"hd",file_type:"video/mp4",width:720,height:1280,fps:29.97,link:"https://videos.pexels.com/video-files/5147455/5147455-hd_720_1280_30fps.mp4"},{id:9631455,quality:"sd",file_type:"video/mp4",width:540,height:960,fps:29.97,link:"https://videos.pexels.com/video-files/5147455/5147455-sd_540_960_30fps.mp4"},{id:9631518,quality:"hd",file_type:"video/mp4",width:1080,height:1920,fps:29.97,link:"https://videos.pexels.com/video-files/5147455/5147455-hd_1080_1920_30fps.mp4"},{id:9631603,quality:"sd",file_type:"video/mp4",width:360,height:640,fps:29.97,link:"https://videos.pexels.com/video-files/5147455/5147455-sd_360_640_30fps.mp4"},{id:9631674,quality:"sd",file_type:"video/mp4",width:240,height:426,fps:29.97,link:"https://videos.pexels.com/video-files/5147455/5147455-sd_240_426_30fps.mp4"}],video_pictures:[{id:2424485,nr:0,picture:"https://images.pexels.com/videos/5147455/pictures/preview-0.jpeg"},{id:2424486,nr:1,picture:"https://images.pexels.com/videos/5147455/pictures/preview-1.jpeg"},{id:2424487,nr:2,picture:"https://images.pexels.com/videos/5147455/pictures/preview-2.jpeg"},{id:2424488,nr:3,picture:"https://images.pexels.com/videos/5147455/pictures/preview-3.jpeg"},{id:2424489,nr:4,picture:"https://images.pexels.com/videos/5147455/pictures/preview-4.jpeg"},{id:2424490,nr:5,picture:"https://images.pexels.com/videos/5147455/pictures/preview-5.jpeg"},{id:2424491,nr:6,picture:"https://images.pexels.com/videos/5147455/pictures/preview-6.jpeg"},{id:2424492,nr:7,picture:"https://images.pexels.com/videos/5147455/pictures/preview-7.jpeg"},{id:2424493,nr:8,picture:"https://images.pexels.com/videos/5147455/pictures/preview-8.jpeg"},{id:2424494,nr:9,picture:"https://images.pexels.com/videos/5147455/pictures/preview-9.jpeg"},{id:2424495,nr:10,picture:"https://images.pexels.com/videos/5147455/pictures/preview-10.jpeg"},{id:2424496,nr:11,picture:"https://images.pexels.com/videos/5147455/pictures/preview-11.jpeg"},{id:2424497,nr:12,picture:"https://images.pexels.com/videos/5147455/pictures/preview-12.jpeg"},{id:2424499,nr:13,picture:"https://images.pexels.com/videos/5147455/pictures/preview-13.jpeg"},{id:2424500,nr:14,picture:"https://images.pexels.com/videos/5147455/pictures/preview-14.jpeg"}]},{id:8856785,width:2160,height:3840,duration:6,full_res:null,tags:[],url:"https://www.pexels.com/video/video-of-a-clownfish-and-sea-anemone-8856785/",image:"https://images.pexels.com/videos/8856785/pexels-photo-8856785.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=630",avg_color:null,user:{id:2272619,name:"Rachel Claire",url:"https://www.pexels.com/@rachel-claire"},video_files:[{id:10991437,quality:"hd",file_type:"video/mp4",width:720,height:1280,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-hd_720_1280_25fps.mp4"},{id:10991462,quality:"uhd",file_type:"video/mp4",width:2160,height:3840,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-uhd_2160_3840_25fps.mp4"},{id:10991525,quality:"uhd",file_type:"video/mp4",width:1440,height:2560,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-uhd_1440_2560_25fps.mp4"},{id:10991595,quality:"sd",file_type:"video/mp4",width:360,height:640,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-sd_360_640_25fps.mp4"},{id:10991699,quality:"sd",file_type:"video/mp4",width:540,height:960,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-sd_540_960_25fps.mp4"},{id:10991768,quality:"hd",file_type:"video/mp4",width:1080,height:1920,fps:25,link:"https://videos.pexels.com/video-files/8856785/8856785-hd_1080_1920_25fps.mp4"}],video_pictures:[{id:8939765,nr:0,picture:"https://images.pexels.com/videos/8856785/pictures/preview-0.jpeg"},{id:8939772,nr:1,picture:"https://images.pexels.com/videos/8856785/pictures/preview-1.jpeg"},{id:8939777,nr:2,picture:"https://images.pexels.com/videos/8856785/pictures/preview-2.jpeg"},{id:8939784,nr:3,picture:"https://images.pexels.com/videos/8856785/pictures/preview-3.jpeg"},{id:8939792,nr:4,picture:"https://images.pexels.com/videos/8856785/pictures/preview-4.jpeg"},{id:8939800,nr:5,picture:"https://images.pexels.com/videos/8856785/pictures/preview-5.jpeg"},{id:8939804,nr:6,picture:"https://images.pexels.com/videos/8856785/pictures/preview-6.jpeg"},{id:8939808,nr:7,picture:"https://images.pexels.com/videos/8856785/pictures/preview-7.jpeg"},{id:8939812,nr:8,picture:"https://images.pexels.com/videos/8856785/pictures/preview-8.jpeg"},{id:8939816,nr:9,picture:"https://images.pexels.com/videos/8856785/pictures/preview-9.jpeg"},{id:8939819,nr:10,picture:"https://images.pexels.com/videos/8856785/pictures/preview-10.jpeg"},{id:8939822,nr:11,picture:"https://images.pexels.com/videos/8856785/pictures/preview-11.jpeg"},{id:8939826,nr:12,picture:"https://images.pexels.com/videos/8856785/pictures/preview-12.jpeg"},{id:8939828,nr:13,picture:"https://images.pexels.com/videos/8856785/pictures/preview-13.jpeg"},{id:8939831,nr:14,picture:"https://images.pexels.com/videos/8856785/pictures/preview-14.jpeg"}]},{id:5946371,width:3840,height:2160,duration:20,full_res:null,tags:[],url:"https://www.pexels.com/video/the-niagara-falls-in-a-close-up-video-5946371/",image:"https://images.pexels.com/videos/5946371/closeup-niagara-falls-niagara-falls-5946371.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:3111579,name:"Sarowar Hussain",url:"https://www.pexels.com/@sarowar-hussain-3111579"},video_files:[{id:9881764,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-sd_960_540_30fps.mp4"},{id:9881779,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-sd_640_360_30fps.mp4"},{id:9881805,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-hd_1920_1080_30fps.mp4"},{id:9881828,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-uhd_3840_2160_30fps.mp4"},{id:9881859,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-uhd_2560_1440_30fps.mp4"},{id:9881887,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-sd_426_240_30fps.mp4"},{id:9881908,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/5946371/5946371-hd_1280_720_30fps.mp4"}],video_pictures:[{id:3647984,nr:0,picture:"https://images.pexels.com/videos/5946371/pictures/preview-0.jpg"},{id:3647986,nr:1,picture:"https://images.pexels.com/videos/5946371/pictures/preview-1.jpg"},{id:3647987,nr:2,picture:"https://images.pexels.com/videos/5946371/pictures/preview-2.jpg"},{id:3647989,nr:3,picture:"https://images.pexels.com/videos/5946371/pictures/preview-3.jpg"},{id:3647990,nr:4,picture:"https://images.pexels.com/videos/5946371/pictures/preview-4.jpg"},{id:3647992,nr:5,picture:"https://images.pexels.com/videos/5946371/pictures/preview-5.jpg"},{id:3647994,nr:6,picture:"https://images.pexels.com/videos/5946371/pictures/preview-6.jpg"},{id:3647996,nr:7,picture:"https://images.pexels.com/videos/5946371/pictures/preview-7.jpg"},{id:3647997,nr:8,picture:"https://images.pexels.com/videos/5946371/pictures/preview-8.jpg"},{id:3647999,nr:9,picture:"https://images.pexels.com/videos/5946371/pictures/preview-9.jpg"},{id:3648002,nr:10,picture:"https://images.pexels.com/videos/5946371/pictures/preview-10.jpg"},{id:3648003,nr:11,picture:"https://images.pexels.com/videos/5946371/pictures/preview-11.jpg"},{id:3648005,nr:12,picture:"https://images.pexels.com/videos/5946371/pictures/preview-12.jpg"},{id:3648007,nr:13,picture:"https://images.pexels.com/videos/5946371/pictures/preview-13.jpg"},{id:3648009,nr:14,picture:"https://images.pexels.com/videos/5946371/pictures/preview-14.jpg"}]},{id:4919750,width:4096,height:2160,duration:22,full_res:null,tags:[],url:"https://www.pexels.com/video/landscape-nature-field-flowers-4919750/",image:"https://images.pexels.com/videos/4919750/pexels-photo-4919750.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:1437723,name:"cottonbro studio",url:"https://www.pexels.com/@cottonbro"},video_files:[{id:9425407,quality:"sd",file_type:"video/mp4",width:640,height:338,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-sd_640_338_25fps.mp4"},{id:9425585,quality:"sd",file_type:"video/mp4",width:960,height:506,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-sd_960_506_25fps.mp4"},{id:9425727,quality:"uhd",file_type:"video/mp4",width:4096,height:2160,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-uhd_4096_2160_25fps.mp4"},{id:9425820,quality:"sd",file_type:"video/mp4",width:426,height:226,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-sd_426_226_25fps.mp4"},{id:9425885,quality:"uhd",file_type:"video/mp4",width:2732,height:1440,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-uhd_2732_1440_25fps.mp4"},{id:9426108,quality:"hd",file_type:"video/mp4",width:1366,height:720,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-hd_1366_720_25fps.mp4"},{id:9426186,quality:"hd",file_type:"video/mp4",width:2048,height:1080,fps:25,link:"https://videos.pexels.com/video-files/4919750/4919750-hd_2048_1080_25fps.mp4"}],video_pictures:[{id:2117068,nr:0,picture:"https://images.pexels.com/videos/4919750/pictures/preview-0.jpg"},{id:2117085,nr:1,picture:"https://images.pexels.com/videos/4919750/pictures/preview-1.jpg"},{id:2117113,nr:2,picture:"https://images.pexels.com/videos/4919750/pictures/preview-2.jpg"},{id:2117129,nr:3,picture:"https://images.pexels.com/videos/4919750/pictures/preview-3.jpg"},{id:2117150,nr:4,picture:"https://images.pexels.com/videos/4919750/pictures/preview-4.jpg"},{id:2117162,nr:5,picture:"https://images.pexels.com/videos/4919750/pictures/preview-5.jpg"},{id:2117183,nr:6,picture:"https://images.pexels.com/videos/4919750/pictures/preview-6.jpg"},{id:2117191,nr:7,picture:"https://images.pexels.com/videos/4919750/pictures/preview-7.jpg"},{id:2117200,nr:8,picture:"https://images.pexels.com/videos/4919750/pictures/preview-8.jpg"},{id:2117210,nr:9,picture:"https://images.pexels.com/videos/4919750/pictures/preview-9.jpg"},{id:2117217,nr:10,picture:"https://images.pexels.com/videos/4919750/pictures/preview-10.jpg"},{id:2117222,nr:11,picture:"https://images.pexels.com/videos/4919750/pictures/preview-11.jpg"},{id:2117227,nr:12,picture:"https://images.pexels.com/videos/4919750/pictures/preview-12.jpg"},{id:2117237,nr:13,picture:"https://images.pexels.com/videos/4919750/pictures/preview-13.jpg"},{id:2117248,nr:14,picture:"https://images.pexels.com/videos/4919750/pictures/preview-14.jpg"}]},{id:1542008,width:1920,height:1080,duration:58,full_res:null,tags:[],url:"https://www.pexels.com/video/view-of-clouds-on-time-lapse-mode-1542008/",image:"https://images.pexels.com/videos/1542008/free-video-1542008.jpg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:652934,name:"Tuncay Kutlu",url:"https://www.pexels.com/@tuncay-kutlu-652934"},video_files:[{id:9263759,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:29.97,link:"https://videos.pexels.com/video-files/1542008/1542008-sd_960_540_30fps.mp4"},{id:9263790,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:29.97,link:"https://videos.pexels.com/video-files/1542008/1542008-hd_1920_1080_30fps.mp4"},{id:9263841,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:29.97,link:"https://videos.pexels.com/video-files/1542008/1542008-sd_640_360_30fps.mp4"},{id:9263907,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:29.97,link:"https://videos.pexels.com/video-files/1542008/1542008-hd_1280_720_30fps.mp4"}],video_pictures:[{id:143437,nr:0,picture:"https://images.pexels.com/videos/1542008/pictures/preview-0.jpg"},{id:143438,nr:1,picture:"https://images.pexels.com/videos/1542008/pictures/preview-1.jpg"},{id:143439,nr:2,picture:"https://images.pexels.com/videos/1542008/pictures/preview-2.jpg"},{id:143440,nr:3,picture:"https://images.pexels.com/videos/1542008/pictures/preview-3.jpg"},{id:143441,nr:4,picture:"https://images.pexels.com/videos/1542008/pictures/preview-4.jpg"},{id:143442,nr:5,picture:"https://images.pexels.com/videos/1542008/pictures/preview-5.jpg"},{id:143443,nr:6,picture:"https://images.pexels.com/videos/1542008/pictures/preview-6.jpg"},{id:143444,nr:7,picture:"https://images.pexels.com/videos/1542008/pictures/preview-7.jpg"},{id:143445,nr:8,picture:"https://images.pexels.com/videos/1542008/pictures/preview-8.jpg"},{id:143446,nr:9,picture:"https://images.pexels.com/videos/1542008/pictures/preview-9.jpg"},{id:143447,nr:10,picture:"https://images.pexels.com/videos/1542008/pictures/preview-10.jpg"},{id:143448,nr:11,picture:"https://images.pexels.com/videos/1542008/pictures/preview-11.jpg"},{id:143449,nr:12,picture:"https://images.pexels.com/videos/1542008/pictures/preview-12.jpg"},{id:143450,nr:13,picture:"https://images.pexels.com/videos/1542008/pictures/preview-13.jpg"},{id:143451,nr:14,picture:"https://images.pexels.com/videos/1542008/pictures/preview-14.jpg"}]},{id:5562986,width:3840,height:2160,duration:19,full_res:null,tags:[],url:"https://www.pexels.com/video/aerial-footage-of-foggy-area-5562986/",image:"https://images.pexels.com/videos/5562986/4k-video-autumn-autumn-atmosphere-autumn-color-5562986.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:649765,name:"Yaroslav Shuraev",url:"https://www.pexels.com/@yaroslav-shuraev"},video_files:[{id:9732341,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-sd_426_240_24fps.mp4"},{id:9732370,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-hd_1280_720_24fps.mp4"},{id:9732404,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-sd_640_360_24fps.mp4"},{id:9732439,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-sd_960_540_24fps.mp4"},{id:9732459,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-uhd_3840_2160_24fps.mp4"},{id:9732488,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-uhd_2560_1440_24fps.mp4"},{id:9732524,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:24,link:"https://videos.pexels.com/video-files/5562986/5562986-hd_1920_1080_24fps.mp4"}],video_pictures:[{id:3012615,nr:0,picture:"https://images.pexels.com/videos/5562986/pictures/preview-0.jpg"},{id:3012625,nr:1,picture:"https://images.pexels.com/videos/5562986/pictures/preview-1.jpg"},{id:3012649,nr:2,picture:"https://images.pexels.com/videos/5562986/pictures/preview-2.jpg"},{id:3012657,nr:3,picture:"https://images.pexels.com/videos/5562986/pictures/preview-3.jpg"},{id:3012664,nr:4,picture:"https://images.pexels.com/videos/5562986/pictures/preview-4.jpg"},{id:3012675,nr:5,picture:"https://images.pexels.com/videos/5562986/pictures/preview-5.jpg"},{id:3012678,nr:6,picture:"https://images.pexels.com/videos/5562986/pictures/preview-6.jpg"},{id:3012685,nr:7,picture:"https://images.pexels.com/videos/5562986/pictures/preview-7.jpg"},{id:3012692,nr:8,picture:"https://images.pexels.com/videos/5562986/pictures/preview-8.jpg"},{id:3012696,nr:9,picture:"https://images.pexels.com/videos/5562986/pictures/preview-9.jpg"},{id:3012700,nr:10,picture:"https://images.pexels.com/videos/5562986/pictures/preview-10.jpg"},{id:3012707,nr:11,picture:"https://images.pexels.com/videos/5562986/pictures/preview-11.jpg"},{id:3012713,nr:12,picture:"https://images.pexels.com/videos/5562986/pictures/preview-12.jpg"},{id:3012718,nr:13,picture:"https://images.pexels.com/videos/5562986/pictures/preview-13.jpg"},{id:3012725,nr:14,picture:"https://images.pexels.com/videos/5562986/pictures/preview-14.jpg"}]},{id:8859849,width:2160,height:3840,duration:22,full_res:null,tags:[],url:"https://www.pexels.com/video/video-of-cascading-waterfall-8859849/",image:"https://images.pexels.com/videos/8859849/acrobatics-cliff-exercises-fitness-8859849.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=630",avg_color:null,user:{id:2297095,name:"Pavel Danilyuk",url:"https://www.pexels.com/@pavel-danilyuk"},video_files:[{id:10975993,quality:"uhd",file_type:"video/mp4",width:2160,height:3840,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-uhd_2160_3840_25fps.mp4"},{id:10976039,quality:"sd",file_type:"video/mp4",width:360,height:640,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-sd_360_640_25fps.mp4"},{id:10976089,quality:"hd",file_type:"video/mp4",width:1080,height:1920,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-hd_1080_1920_25fps.mp4"},{id:10976142,quality:"hd",file_type:"video/mp4",width:720,height:1280,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-hd_720_1280_25fps.mp4"},{id:10976188,quality:"sd",file_type:"video/mp4",width:540,height:960,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-sd_540_960_25fps.mp4"},{id:10976235,quality:"uhd",file_type:"video/mp4",width:1440,height:2560,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-uhd_1440_2560_25fps.mp4"},{id:10976270,quality:"sd",file_type:"video/mp4",width:240,height:426,fps:25,link:"https://videos.pexels.com/video-files/8859849/8859849-sd_240_426_25fps.mp4"}],video_pictures:[{id:8943680,nr:0,picture:"https://images.pexels.com/videos/8859849/pictures/preview-0.jpeg"},{id:8943684,nr:1,picture:"https://images.pexels.com/videos/8859849/pictures/preview-1.jpeg"},{id:8943688,nr:2,picture:"https://images.pexels.com/videos/8859849/pictures/preview-2.jpeg"},{id:8943691,nr:3,picture:"https://images.pexels.com/videos/8859849/pictures/preview-3.jpeg"},{id:8943697,nr:4,picture:"https://images.pexels.com/videos/8859849/pictures/preview-4.jpeg"},{id:8943705,nr:5,picture:"https://images.pexels.com/videos/8859849/pictures/preview-5.jpeg"},{id:8943712,nr:6,picture:"https://images.pexels.com/videos/8859849/pictures/preview-6.jpeg"},{id:8943719,nr:7,picture:"https://images.pexels.com/videos/8859849/pictures/preview-7.jpeg"},{id:8943728,nr:8,picture:"https://images.pexels.com/videos/8859849/pictures/preview-8.jpeg"},{id:8943743,nr:9,picture:"https://images.pexels.com/videos/8859849/pictures/preview-9.jpeg"},{id:8943754,nr:10,picture:"https://images.pexels.com/videos/8859849/pictures/preview-10.jpeg"},{id:8943761,nr:11,picture:"https://images.pexels.com/videos/8859849/pictures/preview-11.jpeg"},{id:8943766,nr:12,picture:"https://images.pexels.com/videos/8859849/pictures/preview-12.jpeg"},{id:8943774,nr:13,picture:"https://images.pexels.com/videos/8859849/pictures/preview-13.jpeg"},{id:8943781,nr:14,picture:"https://images.pexels.com/videos/8859849/pictures/preview-14.jpeg"}]},{id:4125029,width:3840,height:2160,duration:10,full_res:null,tags:[],url:"https://www.pexels.com/video/mountains-summer-travel-camping-4125029/",image:"https://images.pexels.com/videos/4125029/pexels-photo-4125029.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=630&w=1200",avg_color:null,user:{id:649765,name:"Yaroslav Shuraev",url:"https://www.pexels.com/@yaroslav-shuraev"},video_files:[{id:9350181,quality:"uhd",file_type:"video/mp4",width:3840,height:2160,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-uhd_3840_2160_24fps.mp4"},{id:9350206,quality:"sd",file_type:"video/mp4",width:960,height:540,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-sd_960_540_24fps.mp4"},{id:9350241,quality:"hd",file_type:"video/mp4",width:1920,height:1080,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-hd_1920_1080_24fps.mp4"},{id:9350263,quality:"sd",file_type:"video/mp4",width:426,height:240,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-sd_426_240_24fps.mp4"},{id:9350306,quality:"uhd",file_type:"video/mp4",width:2560,height:1440,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-uhd_2560_1440_24fps.mp4"},{id:9350344,quality:"hd",file_type:"video/mp4",width:1280,height:720,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-hd_1280_720_24fps.mp4"},{id:9350383,quality:"sd",file_type:"video/mp4",width:640,height:360,fps:23.976,link:"https://videos.pexels.com/video-files/4125029/4125029-sd_640_360_24fps.mp4"}],video_pictures:[{id:1184997,nr:0,picture:"https://images.pexels.com/videos/4125029/pictures/preview-0.jpg"},{id:1185002,nr:1,picture:"https://images.pexels.com/videos/4125029/pictures/preview-1.jpg"},{id:1185007,nr:2,picture:"https://images.pexels.com/videos/4125029/pictures/preview-2.jpg"},{id:1185012,nr:3,picture:"https://images.pexels.com/videos/4125029/pictures/preview-3.jpg"},{id:1185017,nr:4,picture:"https://images.pexels.com/videos/4125029/pictures/preview-4.jpg"},{id:1185021,nr:5,picture:"https://images.pexels.com/videos/4125029/pictures/preview-5.jpg"},{id:1185025,nr:6,picture:"https://images.pexels.com/videos/4125029/pictures/preview-6.jpg"},{id:1185028,nr:7,picture:"https://images.pexels.com/videos/4125029/pictures/preview-7.jpg"},{id:1185032,nr:8,picture:"https://images.pexels.com/videos/4125029/pictures/preview-8.jpg"},{id:1185037,nr:9,picture:"https://images.pexels.com/videos/4125029/pictures/preview-9.jpg"},{id:1185041,nr:10,picture:"https://images.pexels.com/videos/4125029/pictures/preview-10.jpg"},{id:1185044,nr:11,picture:"https://images.pexels.com/videos/4125029/pictures/preview-11.jpg"},{id:1185046,nr:12,picture:"https://images.pexels.com/videos/4125029/pictures/preview-12.jpg"},{id:1185047,nr:13,picture:"https://images.pexels.com/videos/4125029/pictures/preview-13.jpg"},{id:1185048,nr:14,picture:"https://images.pexels.com/videos/4125029/pictures/preview-14.jpg"}]}],iI="https://builder-backend.hostinger.com/pexels",wV=async({query:t,page:e,perPage:o})=>{const{data:n}=await qt.post(`${iI}/search`,{query:t,page:e,perPage:o});return n},kV=async({id:t})=>{const{data:e}=await qt.post(`${iI}/search/${t}`);return e},sw={searchVideos:wV,searchVideoById:kV},Fu=t=>t.map(e=>({id:e.id,image:e.image,user:e.user,videoFiles:e==null?void 0:e.video_files.map(o=>({id:o.id,quality:o.quality,width:o.width,height:o.height,link:o.link}))})),sI=t=>t.sort((e,o)=>f2.indexOf(o.quality)-f2.indexOf(e.quality))[0],EV=Mo("pexels",()=>{const{state:t,dispatch:e}=et(),{notify:o}=Oe(),{t:n}=_t(),s=C(Fu(xc)),a=C("Nature"),l=C(1),i=C(!1),c=d(()=>t.currentBlockId),u=d(()=>!i.value&&(!s.value.length||!a.value.length)),p=async({query:E,page:I})=>{var P;if(i.value=!0,I||(l.value=1),a.value=E.trim(),typeof E!="string"||!E.trim().length){s.value=[],i.value=!1;return}const T=(P=VB.exec(E))==null?void 0:P[1],x=!!E.trim().match(/^\d+$/);try{const z=[];if(x||T){const L=await sw.searchVideoById({id:Number.parseInt(T||E,10)});L&&z.push(L)}else{const{videos:L}=await sw.searchVideos({query:E,perPage:d7,page:l.value});z.push(...L)}if(I&&I!==1){s.value=[...s.value,...Fu(z)],i.value=!1;return}s.value=Fu(z),i.value=!1}catch{throw i.value=!1,o({message:n("builder.pexelsSearchFailed")}),new Error("Failed to search for videos")}};return{searchVideo:p,searchMoreVideos:async()=>{s.value.length!==1&&(l.value+=1,await p({query:a.value,page:l.value}))},selectVideo:E=>{const I=s.value.find(z=>z.id===E);if(!I)throw o({message:n("builder.pexelsInvalidSelectedVideo")}),new Error(`Video with id ${E} not found`);const T=I.image,x=sI(I.videoFiles),P=x==null?void 0:x.link;if(!P)throw o({message:n("builder.pexelsMissingVideoURL")}),new Error("Failed to get video resource URL");e("updateBlockData",{blockId:c.value,blockData:{background:{current:"video",video:{videoSrc:P,videoThumbnailSrc:T}}},merge:!0}),It.logEvent({eventName:"website_builder.section_settings.section_background_change",eventProperties:{type:Fe.VIDEO}})},setDefaultPexelsVideos:()=>{s.value=Fu(xc),a.value="Nature"},videos:s,showEmptyDisclaimer:u}}),IV={class:"video-preview"},SV={class:"video-preview__video-container"},xV=["src","poster"],TV={class:"video-preview__author-container"},CV={class:"video-preview__author text-body-2"},PV=["href"],BV={class:"z-link",href:"https://www.pexels.com/terms-of-service/",target:"_blank",rel:"noopener noreferrer"},AV=K({__name:"PexelsVideoPreview",props:{video:{}},emits:["select-video"],setup(t,{emit:e}){const o=e,n=t,{t:s}=_t(),a=sI(n.video.videoFiles),l=C(!1);return(i,c)=>{const u=Y("i18n-t");return r(),v("div",IV,[h("div",SV,[l.value?B("",!0):(r(),S(je,{key:0,size:"32px",color:"var(--color-light)",class:"video-preview__loader"})),h("video",{src:m(a).link,autoplay:"",muted:"",loop:"",class:"video-preview__video",poster:n.video.image,onLoadeddata:c[0]||(c[0]=p=>l.value=!0)},null,40,xV)]),h("div",TV,[h("div",CV,[h("p",null,[b(u,{class:"video-preview__author text-body-2",keypath:"builder.assetManagerTabPexelsFootageAuthor"},{default:k(()=>[h("a",{class:"z-link",href:n.video.user.url,target:"_blank",rel:"noopener noreferrer"},w(n.video.user.name)+". ",9,PV)]),_:1})]),h("p",null,[b(u,{class:"video-preview__author-name",keypath:"builder.assetManagerTabPexelsAccreditation"},{default:k(()=>[h("a",BV,w(i.$t("builder.assetManagerTabPexelsAccreditationLink")),1)]),_:1})]),b(gt,{title:m(s)("builder.assetManagerMediaLayoutSelectItem"),onClick:c[1]||(c[1]=p=>o("select-video",n.video.id))},{default:k(()=>[U(w(m(s)("builder.assetManagerMediaLayoutSelectItem")),1)]),_:1},8,["title"])])])])}}}),DV={key:0,class:"free-videos__disclaimer-container"},zV={class:"text-heading-1"},LV={class:"text-body-2"},$V={class:"free-videos__list"},OV=["src","onClick"],RV={key:2,class:"free-videos__pexels-attribution"},MV=K({__name:"PexelsLayout",props:Mb({isPreviewOpen:{type:Boolean}},{searchQuery:{type:String,default:""},searchQueryModifiers:{}}),emits:Mb(["toggle-preview","close"],["update:searchQuery"]),setup(t,{emit:e}){const o=e,{t:n}=_t(),s=EV(),a=i0(t,"searchQuery"),l=C(),{arrivedState:i}=J5(l),{bottom:c}=qr(i),u=C(),p=y=>{u.value=y,o("toggle-preview",!0)},g=()=>{u.value=void 0,o("toggle-preview",!1)},f=y=>{s.selectVideo(y),o("close")};return Mt(c,y=>{y&&s.searchMoreVideos()}),Mt(a,ET(()=>s.searchVideo({query:a.value}),c7)),Vt(()=>{s.showEmptyDisclaimer&&s.setDefaultPexelsVideos()}),(y,E)=>(r(),v(at,null,[y.isPreviewOpen?(r(),S(AV,{key:0,video:u.value,onClosePreview:g,onSelectVideo:f},null,8,["video"])):(r(),v(at,{key:1},[b(as,{modelValue:a.value,"onUpdate:modelValue":E[0]||(E[0]=I=>a.value=I),class:"free-videos__search-input",placeholder:m(n)("builder.assetManagerSearchPlaceholder")},null,8,["modelValue","placeholder"]),m(s).showEmptyDisclaimer?(r(),v("div",DV,[h("span",zV,w(m(n)("builder.assetManagerTabPexelsNoResults")),1),h("span",LV,w(m(n)("builder.assetManagerTabPexelsCheckSpelling")),1)])):(r(),v("div",{key:1,ref_key:"freeVideosRef",ref:l,class:"free-videos"},[h("div",null,[h("ul",$V,[(r(!0),v(at,null,Pt(m(s).videos,I=>(r(),v("li",{key:I.id,class:"free-videos__item"},[h("img",{class:"free-videos__image",src:I.image,alt:"video",onClick:T=>p(I)},null,8,OV)]))),128))])])],512))],64)),y.isPreviewOpen?B("",!0):(r(),v("div",RV,[b(ni,{class:"free-videos__pexels-logo",src:"/images/pexels-logo.png"})]))],64))}}),NV=V(MV,[["__scopeId","data-v-1bf77511"]]),HV=[Ho.MY_LIBRARY,Ho.IMAGES,Ho.AI_IMAGES,Ho.DOCUMENTS],GV=K({components:{Icon:ct,HostingerButton:gt,ZyroModal:Xe,ZyroSvgDeprecated:Qt,ZyroTabs:Fl,GalleryManager:cG,SlideshowManager:gG,UnsplashLayout:VG,AssetsLayout:_V,AssetDetailsLayout:mF,AssetManagerGoBackButton:eI,PexelsLayout:NV},props:{isSlideshow:{type:Boolean,default:!1},slideshowId:{type:String,default:null},isGallery:{type:Boolean,default:!1},galleryId:{type:String,default:null},visibleCategories:{type:Array,default:()=>Ic,validator:t=>t.every(e=>Ic.includes(e))},isAssetSelectButtonHidden:{type:Boolean,default:!1}},emits:["select-image","select-images","update-target","close"],setup(t){const{dispatch:e}=et(),{onSelectFiles:o,assets:n,deselectSelectedGalleryImages:s,isDeleteAssetModalOpened:a,assetsToDelete:l,folderToDelete:i}=zs(t),{addNewFolder:c,currentDirectory:u,moveFileTo:p,setAssetName:g,setImageAltTag:f,validAssetsWithPaths:y,assetPaths:E}=ym({assets:n}),{isAiBuilderMode:I}=Co(),{t:T}=_t(),x=C(!1),P=C(!1),z=t.visibleCategories.includes(Ro.IMAGE),L=t.visibleCategories.includes(Ro.VIDEO),$=()=>t.isAssetSelectButtonHidden||L?[]:[{isDisabled:!z,title:T("builder.assetManagerTabFreeImages"),id:Ho.UNSPLASH}],A=()=>I.value?[{title:T("builder.assetManagerTabMyLibrary"),id:Ho.MY_LIBRARY_PAYWALL},{title:T("builder.assetManagerTabImages"),id:Ho.MY_LIBRARY_PAYWALL,isDisabled:!z},{title:T("builder.assetManagerTabDocuments"),id:Ho.MY_LIBRARY_PAYWALL}]:L?[{isDisabled:!1,title:"Free videos",id:Ho.PEXELS}]:[{title:T("builder.assetManagerTabMyLibrary"),id:Ho.MY_LIBRARY},{title:T("builder.assetManagerTabImages"),id:Ho.IMAGES,isDisabled:!z},{title:T("builder.aiImageGenerationAssetManagerTabName"),id:Ho.AI_IMAGES,isDisabled:!z},{title:T("builder.assetManagerTabDocuments"),id:Ho.DOCUMENTS}],D=$(),O=A(),M=d(()=>!I.value&&!L),H=d(()=>I.value?D[0]:O[0]),F=X=>e("assets/setCurrentDirectory",X),j=()=>{P.value=!1,x.value=!0,F("/")},q=({newPath:X,asset:ot})=>{const st=Na(ot.url);p({id:st,path:ot.path,newPath:X})},W=X=>{const ot=X.path.endsWith("/");a.value=!0,ot?(i.value=X,l.value=lv({directory:X.path,assets:n.value,assetPaths:E.value,includeFromSubfolders:!0})):l.value=[X]},Z=({asset:X,newName:ot})=>{!ot||ot===X.name||g({newName:ot,id:X.id})},G=({asset:X,newAltTag:ot})=>{f({newAltTag:ot,id:X.id})};return s(),{DATA_ATTRIBUTE_SELECTOR:vo,DATA_ATTRIBUTE_SELECTOR_ASSET_MANAGER:Yd,tabsLeft:O,tabsRight:D,onSelectFiles:o,assets:n,isBackButtonVisible:P,isGalleryManagerOpen:x,deselectSelectedGalleryImages:s,addNewFolder:c,currentDirectory:u,setCurrentDirectory:F,handleMoveClick:q,handleDeleteClick:W,handleRenameClick:Z,updateImgAltTag:G,validAssetsWithPaths:y,handleBackButtonClick:j,DATA_PORTAL_ASSET_MANAGER:V3,defaultTab:H,isAiBuilderMode:I,isUploadButtonVisible:M,isVideosTabEnabled:L,ASSETS_TAB_ID:Ho}},data(){return{assetBeingViewed:null,isSlideshowManagerOpen:this.isSlideshow,currentTab:null,selectedGalleryImages:[]}},computed:{...Ve(["websiteId"]),validAssets(){return this.assets.filter(t=>!t.hasFailed)},documentAssets(){return this.validAssets.filter(rv)},imageAssets(){return this.validAssets.filter(ks)},visibleAssets(){return this.currentTab.id===Ho.DOCUMENTS?this.documentAssets:this.currentTab.id===Ho.IMAGES?this.imageAssets:this.validAssets},isAssetBeingViewed(){return!!this.assetBeingViewed},title(){return this.isGalleryManagerOpen?this.$t("builder.assetManagerGalleryGallery"):this.isSlideshowManagerOpen?this.$t("builder.assetManagerSlideshowSlideshow"):this.isVideosTabEnabled?this.$t("builder.assetManagerVideoLibrary"):this.$t("builder.assetManagerMediaLibrary")},isAssetsLayoutVisible(){return this.currentTab?HV.includes(this.currentTab.id):!0}},created(){this.currentTab=this.defaultTab,this.isGalleryManagerOpen=this.isGallery,It.logEvent({eventName:"website_builder.asset_manager.enter"})},methods:{...Ie("assets",["setCurrentDirectory"]),async selectImage(t){var i,c;const e=this.currentTab.id===Ho.UNSPLASH;let o="",n="";if(e?((i=t==null?void 0:t.links)!=null&&i.download_location&&DG({imageJson:t}),o=`${t.urls.raw}${VA}`,n=t.alt_description):(o=t,n=((c=this.validAssetsWithPaths.find(u=>u.url===t))==null?void 0:c.altTag)||""),!o)return;this.isGallery&&(this.isGalleryManagerOpen=!0,this.resetState()),this.isSlideshow&&(this.isSlideshowManagerOpen=!0,this.resetState()),Ae({category:"SELECT_IMAGE",data:{imageUrl:o,isGallery:this.isGallery,isUnsplash:e},level:"debug",type:"debug"}),this.setCurrentDirectory("/");const{origin:s,path:a}=K_(o),l=Vn(a);if(t.category&&t.category===Ro.IMAGE&&this.$emit("update-target","_blank"),by.includes(l))try{const p=ed(o)?`generated/${a}`:a,g=td(s,p,this.websiteId),{naturalWidth:f,naturalHeight:y}=await J6(g);this.$emit("select-image",{fullResolutionWidth:f,fullResolutionHeight:y,origin:s,path:a,url:o,alt:n});return}catch{this.$store.dispatch("notifications/notify",{messageI18nKeyPath:"builder.assetFailedToLoad"});return}this.$emit("select-image",{origin:s,path:a,url:o,alt:n})},addSelectedImagesToGallery(){const t=this.assets.filter(e=>e.isGalleryImageSelected&&e.url).map(({url:e})=>({url:e,...K_(e),alt:""}));this.$emit("select-images",t),this.isGalleryManagerOpen=!0,this.resetState()},resetState(){this.currentTab=this.defaultTab,this.assetBeingViewed=null,this.isBackButtonVisible=!1,this.setCurrentDirectory("/"),this.deselectSelectedGalleryImages()},handleCloseModal(){this.$emit("close"),this.setCurrentDirectory("/"),this.isDeleteAssetModalOpened=!1}}}),FV={class:"asset-manager__navigation"},VV={key:2,class:"asset-manager__tab-navigation"},UV={key:0,class:"asset-manager__tabs"},jV={key:0,class:"asset-manager__separator"},WV={class:"asset-manager__buttons"},qV={key:2,class:"asset-manager__paywall-wrapper"},YV={class:"asset-manager__paywall-container"},KV={class:"asset-manager__paywall-heading"},ZV={class:"asset-manager__paywall-copy"};function QV(t,e,o,n,s,a){const l=Y("GalleryManager"),i=Y("SlideshowManager"),c=Y("AssetManagerGoBackButton"),u=Y("ZyroSvgDeprecated"),p=Y("HostingerButton"),g=Y("ZyroTabs"),f=Y("Icon"),y=Y("AssetDetailsLayout"),E=Y("AssetsLayout"),I=Y("PexelsLayout"),T=Y("UnsplashLayout"),x=Y("ZyroModal"),P=rt("qa");return r(),S(x,Ze({"max-width":"1200px","max-height":"90vh",title:t.title,"content-padding":"0","no-overflow":"","use-flex-for-content":"",class:["asset-manager",{"asset-manager--ai-builder":t.isAiBuilderMode}],[t.DATA_ATTRIBUTE_SELECTOR||""]:t.DATA_ATTRIBUTE_SELECTOR_ASSET_MANAGER,"data-portal":t.DATA_PORTAL_ASSET_MANAGER,onCloseModal:t.handleCloseModal}),{default:k(()=>[t.isGalleryManagerOpen?(r(),S(l,{key:0,"gallery-id":t.galleryId,onOpenAssetManager:e[0]||(e[0]=z=>t.isGalleryManagerOpen=!1)},null,8,["gallery-id"])):t.isSlideshowManagerOpen?(r(),S(i,{key:1,"slideshow-id":t.slideshowId,onOpenAssetManager:e[1]||(e[1]=z=>t.isSlideshowManagerOpen=!1)},null,8,["slideshow-id"])):(r(),v(at,{key:2},[R(h("div",FV,[t.galleryId?(r(),S(c,{key:0,onButtonClick:t.handleBackButtonClick},null,8,["onButtonClick"])):B("",!0),t.isBackButtonVisible?R((r(),S(p,{key:1,class:"asset-manager__back-button","button-type":"text",onClick:e[2]||(e[2]=z=>t.isBackButtonVisible=!1)},{"icon-left":k(()=>[b(u,{name:"chevron",direction:"left"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerBackToList")),1)]),_:1})),[[P,"asset-manager-back-button"]]):(r(),v("div",VV,[t.isVideosTabEnabled?B("",!0):(r(),v("div",UV,[h("div",null,[t.tabsLeft.length?(r(),S(g,{key:0,tabs:t.tabsLeft,"current-tab":t.currentTab,"onUpdate:currentTab":e[3]||(e[3]=z=>t.currentTab=z)},null,8,["tabs","current-tab"])):B("",!0)]),t.tabsRight.length&&t.tabsLeft.length?(r(),v("span",jV)):B("",!0),h("div",null,[b(g,{tabs:t.tabsRight,"current-tab":t.currentTab,class:"asset-manager__right-tabs","onUpdate:currentTab":e[4]||(e[4]=z=>t.currentTab=z)},null,8,["tabs","current-tab"])])])),h("div",WV,[t.currentTab.id===t.ASSETS_TAB_ID.MY_LIBRARY?R((r(),S(p,{key:0,"button-type":"text",onClick:t.addNewFolder},{"icon-left":k(()=>[b(f,{name:"folder-plus",dimensions:"20px","is-custom":""})]),default:k(()=>[U(" "+w(t.$t("builder.foldersCreateFolder")),1)]),_:1},8,["onClick"])),[[P,"assetmanager-create-folder"]]):B("",!0),t.isUploadButtonVisible?R((r(),S(p,{key:1,class:"asset-manager__upload-button",onClick:e[5]||(e[5]=z=>t.$refs.fileInput.click())},{"icon-left":k(()=>[b(f,{name:"upload",dimensions:"20px"})]),default:k(()=>[U(" "+w(t.$t("builder.assetManagerTabUserUploadFiles")),1)]),_:1})),[[P,"assetmanager-uploadimage"]]):B("",!0)])]))],512),[[so,!t.isAssetBeingViewed]]),t.isAssetBeingViewed?(r(),S(y,{key:0,asset:t.assetBeingViewed,"is-asset-select-button-hidden":t.isAssetSelectButtonHidden,onSelectAsset:t.selectImage,onUpdateImgAltTag:t.updateImgAltTag,onClose:e[6]||(e[6]=z=>t.assetBeingViewed=null)},null,8,["asset","is-asset-select-button-hidden","onSelectAsset","onUpdateImgAltTag"])):(r(),v(at,{key:1},[R(b(E,{"is-gallery":t.isGallery,"valid-assets":t.visibleAssets,"current-tab":t.currentTab,"visible-categories":t.visibleCategories,"is-asset-select-button-hidden":t.isAssetSelectButtonHidden,onOpenImageDetails:e[7]||(e[7]=z=>t.assetBeingViewed=z),onOpenFileDialog:e[8]||(e[8]=z=>t.$refs.fileInput.click()),onSelectImage:t.selectImage,onAddToGallery:t.addSelectedImagesToGallery,onOpenDirectory:t.setCurrentDirectory,onMoveAssetTo:t.handleMoveClick,onDeleteAsset:t.handleDeleteClick,onRenameAsset:t.handleRenameClick},null,8,["is-gallery","valid-assets","current-tab","visible-categories","is-asset-select-button-hidden","onSelectImage","onAddToGallery","onOpenDirectory","onMoveAssetTo","onDeleteAsset","onRenameAsset"]),[[so,t.isAssetsLayoutVisible]]),t.currentTab.id===t.ASSETS_TAB_ID.PEXELS?(r(),S(I,{key:0,"is-preview-open":t.isBackButtonVisible,onTogglePreview:e[9]||(e[9]=z=>t.isBackButtonVisible=z),onClose:e[10]||(e[10]=z=>t.$emit("close"))},null,8,["is-preview-open"])):t.currentTab.id===t.ASSETS_TAB_ID.UNSPLASH?(r(),S(T,{key:1,"is-preview-open":t.isBackButtonVisible,"is-gallery":t.isGallery,onTogglePreview:e[11]||(e[11]=z=>t.isBackButtonVisible=z),onSelectImage:t.selectImage},null,8,["is-preview-open","is-gallery","onSelectImage"])):B("",!0),t.currentTab.id===t.ASSETS_TAB_ID.MY_LIBRARY_PAYWALL?(r(),v("div",qV,[h("div",YV,[b(f,{name:"lock"}),h("h2",KV,w(t.$t("builder.aiPaywallHeading")),1),h("p",ZV,w(t.$t("builder.aiPaywallCopy")),1)])])):B("",!0)],64))],64)),R(h("input",{ref:"fileInput",type:"file",name:"images",multiple:"",onChange:e[12]||(e[12]=z=>t.onSelectFiles(z))},null,544),[[so,!1],[P,"builder-input-image"]])]),_:1},16,["title","class","data-portal","onCloseModal"])}const Xa=V(GV,[["render",QV],["__scopeId","data-v-a5577e76"]]),XV={class:"video-selector"},JV=["title"],tU=["src"],eU={class:"video-selector__description"},oU={class:"text-body-2"},nU=K({__name:"VideoSelector",setup(t){const{getters:e}=et(),{t:o}=_t(),n=C(!1),s=d(()=>e.currentBlock),a=d(()=>{var c,u,p;return((u=(c=s.value.background)==null?void 0:c.video)==null?void 0:u.videoThumbnailSrc)||((p=xc[0])==null?void 0:p.image)}),l=d(()=>a.value?o("common.replaceVideo"):o("common.addVideo")),i=()=>{n.value=!0};return(c,u)=>{const p=rt("qa");return r(),v("div",XV,[R((r(),v("button",{class:"video-selector__button",title:l.value,onClick:i},[a.value?(r(),v("img",{key:0,src:a.value,alt:"",class:"video-selector__image"},null,8,tU)):B("",!0),h("div",eU,[b(ct,{name:"video_library",class:"video-selector__icon"}),h("p",oU,w(l.value),1)])],8,JV)),[[p,"builder-sectionsettings-btn-addvideo"]]),n.value?(r(),S(xe,{key:0,to:"body"},[b(Xa,{"visible-categories":[m(Ro).VIDEO],onClose:u[0]||(u[0]=g=>n.value=!1)},null,8,["visible-categories"])])):B("",!0)])}}}),iU=V(nU,[["__scopeId","data-v-4b5c7e31"]]),sU=["title"],aU=["src"],lU=["innerHTML"],rU={class:"zyro-image-selector__description"},dU={class:"text-body-2"},cU=400,uU=200,pU=K({__name:"ZyroImageSelector",props:{origin:{default:null},path:{default:""},objectFit:{default:"contain"},logoSvg:{default:null}},emits:["update"],setup(t,{emit:e}){const o=t,n=e,{state:s}=et(),{t:a}=_t(),l=C(!1),i=d(()=>s.websiteId),c=d(()=>Zo(o.origin,o.path,i.value,{isLossless:!0,width:cU,height:uU,shouldContain:o.objectFit==="contain"})),u=d(()=>({"--z-object-fit":o.objectFit||void 0})),p=d(()=>c.value?a("common.replaceImage"):a("common.addImage")),g=()=>{l.value=!0},f=y=>{l.value=!1,n("update",y)};return(y,E)=>{const I=rt("qa");return r(),v("div",{class:"zyro-image-selector",style:re(u.value)},[R((r(),v("button",{class:"zyro-image-selector__button",title:p.value,onClick:g},[c.value?(r(),v("img",{key:0,src:c.value,alt:"",class:"zyro-image-selector__image"},null,8,aU)):o.logoSvg?(r(),v("div",{key:1,class:"zyro-image-selector__image--svg",innerHTML:o.logoSvg},null,8,lU)):B("",!0),h("div",rU,[b(ct,{name:"photo_library",class:"zyro-image-selector__icon"}),h("p",dU,w(p.value),1)])],8,sU)),[[I,"builder-sectionsettings-btn-addimage"]]),l.value?(r(),S(xe,{key:0,to:"body"},[b(Xa,{"visible-categories":[m(Ro).IMAGE],onSelectImage:f,onClose:E[0]||(E[0]=T=>l.value=!1)},null,8,["visible-categories"])])):B("",!0)],4)}}}),ad=V(pU,[["__scopeId","data-v-b546c405"]]),fv=K({props:{controls:{type:Array,required:!0,validator:t=>t.every(e=>"title"in e)},activeControl:{type:Object,required:!0,validator:t=>"title"in t},isBackgroundDark:{type:Boolean,default:!1}},emits:["update:active-control"],setup(t){const e=d(()=>t.controls.length),o=d(()=>t.controls.findIndex(n=>n.title===t.activeControl.title));return{numberOfControls:e,activeControlIndex:o}}}),aw=()=>{fe(t=>({"554d8cd5":t.numberOfControls,"6be806da":t.activeControlIndex}))},lw=fv.setup;fv.setup=lw?(t,e)=>(aw(),lw(t,e)):aw;const gU=t=>(Te("data-v-6c7cb1de"),t=t(),Ce(),t),mU=["onClick"],hU=gU(()=>h("div",{class:"zyro-segment-control__background"},null,-1));function bU(t,e,o,n,s,a){const l=rt("qa");return r(),v("div",{class:ut(["zyro-segment-control",{"zyro-segment-control--darker":t.isBackgroundDark}])},[(r(!0),v(at,null,Pt(t.controls,i=>R((r(),v("button",{key:i.title,class:ut([{"zyro-segment-control__button--active":i.title===t.activeControl.title},"zyro-segment-control__button text-body-2"]),onClick:c=>t.$emit("update:active-control",i)},[U(w(i.title),1)],10,mU)),[[l,`builder-sectionsettings-tab-${i.title}`]])),128)),hU],2)}const zi=V(fv,[["render",bU],["__scopeId","data-v-6c7cb1de"]]),fU={key:0,class:"zyro-background-selector"},yU=K({__name:"ZyroBackground",props:{isSegmentControlBackgroundDark:{type:Boolean,default:!1},isOpacityDisabled:{type:Boolean,default:!1}},setup(t){var M;const e=t,{t:o}=_t(),{completeAchievement:n}=Wo(),{getters:s,dispatch:a,state:l}=et(),i=d(()=>l.currentBlockId),c=d(()=>s.currentBlock.type===Qr),u=d(()=>s.currentBlock.background),p=d(()=>{var H;return((H=u.value)==null?void 0:H.current)===Fe.GRADIENT?Fe.GRADIENT:Fe.COLOR}),g=d(()=>[{title:o("common.color"),id:p.value,localId:Fe.COLOR},{title:o("common.image"),id:Fe.IMAGE},...c.value?[]:[{title:o("common.video"),id:Fe.VIDEO}]]),f=C(((M=u.value)==null?void 0:M.current)||Fe.COLOR),y=C(!1),E=d(()=>{var H;return((H=u.value)==null?void 0:H.current)===Fe.IMAGE}),I=d(()=>{var H;return((H=u.value)==null?void 0:H.current)===Fe.VIDEO}),T=d(()=>(E.value||I.value)&&!e.isOpacityDisabled),x=d(()=>{var H,F;return(F=(H=u.value)==null?void 0:H.video)==null?void 0:F.videoSrc}),P=d(()=>g.value.find(H=>H.id===f.value)||g.value[0]),z=d(()=>{var H;return(H=u.value)!=null&&H["overlay-opacity"]?Math.round(Number.parseFloat(u.value["overlay-opacity"])*100):0}),L=H=>{a("updateBlockData",{blockId:i.value,blockData:{background:{...u.value,"overlay-opacity":`${(H/100).toFixed(2)}`}},merge:!0})},$=H=>{!g.value.find(j=>j.localId===Fe.COLOR)||!u.value||(f.value=Fe.GRADIENT,a("updateBlockData",{blockId:i.value,blockData:{background:{gradient:H,color:void 0,current:Fe.GRADIENT}},merge:!0}),It.logEvent({eventName:"website_builder.section_settings.section_background_change",eventProperties:{type:Fe.GRADIENT}}))},A=H=>{!g.value.find(j=>j.localId===Fe.COLOR)||!u.value||(f.value=Fe.COLOR,a("updateBlockData",{blockId:i.value,blockData:{background:{color:H,gradient:void 0,current:Fe.COLOR}},merge:!0}),It.logEvent({eventName:"website_builder.section_settings.section_background_change",eventProperties:{type:Fe.COLOR}}))},D=({url:H,origin:F,path:j,alt:q})=>{const W=fa(H,j);f.value=Fe.IMAGE,a("updateBlockData",{blockId:i.value,blockData:{background:{image:H,origin:F,path:W,current:Fe.IMAGE,alt:q||void 0}},merge:!0}),It.logEvent({eventName:"website_builder.section_settings.section_background_change",eventProperties:{type:Fe.IMAGE}}),n(aa)},O=H=>{var j,q,W,Z;f.value=H.id;const F={video:{videoSrc:(q=(j=xc[0])==null?void 0:j.video_files.at(-1))==null?void 0:q.link,videoThumbnailSrc:(W=xc[0])==null?void 0:W.image}};(Z=u.value)!=null&&Z.current&&a("updateBlockData",{blockId:i.value,blockData:{background:{current:H.id,...H.id===Fe.VIDEO&&!x.value&&F}},merge:!0})};return(H,F)=>{var q;const j=rt("qa");return(q=u.value)!=null&&q.current?(r(),v("div",fU,[b(zi,{class:"zyro-background-selector__tabs",controls:g.value,"is-background-dark":H.isSegmentControlBackgroundDark,"active-control":P.value,"onUpdate:activeControl":O},null,8,["controls","is-background-dark","active-control"]),["color","gradient"].includes(P.value.id)?(r(),S(Fo,{key:0,"has-gradient":"","is-open":y.value,label:H.$t("builder.sectionColor"),color:u.value.color,gradient:u.value.gradient,current:u.value.current,placement:"left",class:"zyro-background-selector__color-picker","portal-selector":m(Wg),"is-opacity-disabled":H.isOpacityDisabled,onUpdateColor:A,onUpdateGradient:$,onToggle:F[0]||(F[0]=W=>y.value=!y.value),onClickOutside:F[1]||(F[1]=W=>y.value=!1)},null,8,["is-open","label","color","gradient","current","portal-selector","is-opacity-disabled"])):B("",!0),I.value?(r(),S(iU,{key:1})):B("",!0),P.value.id===m(Fe).IMAGE?(r(),S(ad,{key:2,origin:u.value.origin,path:u.value.path,"object-fit":"contain",onUpdate:D},null,8,["origin","path"])):B("",!0),T.value?(r(),v(at,{key:3},[b(ee,{class:"background-overlay-label"},{default:k(()=>[U(w(H.$t("builder.editBlockTabBackground.overlayOpacity")),1)]),_:1}),R(b(ln,{"model-value":z.value,units:"%",min:"0",step:"1",max:"100","onUpdate:modelValue":L},null,8,["model-value"]),[[j,`backgroundsettings-overlayopacity-${z.value}`]])],64)):B("",!0)])):B("",!0)}}}),vU=V(yU,[["__scopeId","data-v-6197e74f"]]),_U={class:"zyro-field-toggle"},wU={class:"zyro-field-toggle__group"},kU={key:0,class:"zyro-field-toggle__message"},EU=K({__name:"ZyroFieldToggle",props:{id:{},label:{default:""},message:{default:""},modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},qaSelector:{default:"toggle"}},emits:["update:model-value"],setup(t){const e=t;return(o,n)=>{const s=rt("qa");return r(),v("div",_U,[h("div",wU,[R((r(),S(ee,{for:e.id,class:ut(["zyro-field-toggle__label",{"zyro-field-toggle__label--disabled":e.disabled}])},{default:k(()=>[wt(o.$slots,"icon-left",{},void 0,!0),U(" "+w(o.label),1)]),_:3},8,["for","class"])),[[s,"toggle-label"]]),R(b(si,{id:e.id,"model-value":e.modelValue,class:"zyro-field-toggle__switch",disabled:e.disabled,"onUpdate:modelValue":n[0]||(n[0]=a=>o.$emit("update:model-value",a))},null,8,["id","model-value","disabled"]),[[s,e.qaSelector]])]),o.message?(r(),v("div",kU,w(o.message),1)):B("",!0)])}}}),to=V(EU,[["__scopeId","data-v-ed062cba"]]),IU=K({components:{ZyroSvgDeprecated:Qt},props:{modelValue:{type:String,default:""},icons:{type:Array,required:!0},theme:{type:String,validator:t=>["rounded","bordered"].includes(t),default:"bordered"},toggleable:{type:Boolean,default:!0},defaultValue:{type:String,default:""}},emits:["update:model-value"],methods:{setNewValue(t){const e=t===this.current&&this.toggleable?this.defaultValue:t;this.$emit("update:model-value",e)}}}),SU=["onClick"],xU={key:1,class:"zyro-icon-controls__value-fallback"};function TU(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated"),i=rt("qa");return r(),v("div",{class:ut(["zyro-icon-controls",`zyro-icon-controls--${t.theme}`])},[(r(!0),v(at,null,Pt(t.icons,c=>R((r(),v("div",{key:c.value,class:ut(["zyro-icon-controls__icon",{"zyro-icon-controls__icon--active":c.value===t.modelValue}]),onClick:u=>t.setNewValue(c.value)},[c.icon?(r(),S(l,{key:0,direction:c.direction,name:c.icon},null,8,["direction","name"])):(r(),v("p",xU,w(c.value),1))],10,SU)),[[i,`iconcontrols-${c.value}`]])),128))],2)}const Ul=V(IU,[["render",TU],["__scopeId","data-v-29c6c8af"]]),iu=K({__name:"EditBlockTabBackground",props:{isFixedBackgroundDisabled:{type:Boolean,default:!1}},setup(t){const e=t,{getters:o,state:n,dispatch:s}=et(),a=d(()=>n.currentBlockId),l=d(()=>o.currentBlock),i=d(()=>{const z={color:"rgb(255, 255, 255)",current:Fe.COLOR};return l.value.background||z}),c=d(()=>l.value.attachment||Cu.unset),u=d(()=>l.value.type===Qr),p=d(()=>l.value.backgroundImagePosition||"center"),g=d(()=>i.value.current===Fe.IMAGE),f=d(()=>i.value.current===Fe.VIDEO),y=d(()=>c.value===Cu.fixed),E=d(()=>!e.isFixedBackgroundDisabled&&(g.value||f.value)),I=d(()=>[ha,Zr].includes(l.value.type)),T=z=>{s("updateBlockData",{blockId:a.value,blockData:{attachment:z},merge:!0})},x=z=>{s("updateBlockData",{blockId:a.value,blockData:{backgroundImagePosition:z},merge:!0})},P=z=>{T(z?Cu.fixed:Cu.unset)};return(z,L)=>(r(),v("div",null,[wt(z.$slots,"top"),b(vU,{"is-segment-control-background-dark":I.value,"is-opacity-disabled":u.value},null,8,["is-segment-control-background-dark","is-opacity-disabled"]),E.value?(r(),S(to,{key:0,id:"backgroundAttachment",label:z.$t("common.fixedBackground"),"model-value":y.value,"onUpdate:modelValue":P},null,8,["label","model-value"])):B("",!0),b(ee,{class:"layout__alignment-label"},{default:k(()=>[U(w(z.$t("common.position")),1)]),_:1}),b(Ul,{"model-value":p.value,icons:m(OB),toggleable:!1,"onUpdate:modelValue":x},null,8,["model-value","icons"])]))}}),rw=C({}),CU=t=>{if(!t)return!1;const{top:e,bottom:o}=t.getBoundingClientRect();return e=0},aI=()=>({refs:rw,isElementVisibleOnScreen:e=>CU(rw.value[e])}),PU=({element:t,elementTopOffset:e,newElementPosition:o,layoutElements:n,elementPositionKey:s})=>{const{elementId:a}=t,l=Sy({layoutElements:n,activeElementId:a,elementPositionKey:s}),i=t[s].top-Ys(o).top,c=sg({topOffset:i,elementPositionKey:s,lowerElementsRelativeToActive:l}),u=ag({elementsPositions:{...c},topOffset:e,elementPositionKey:s});return a?{...u,[a]:{[s]:o}}:{...u}},BU=({blockElements:t,activeElement:e,elementPositionKey:o})=>{const{left:n,top:s,width:a,height:l}=e[o],i=n+a,c=s+l;return t.filter(u=>{const{left:p,top:g,width:f}=u[o],y=p+f,E=g>=c,I=n>=p&&n=y,x=n<=p&&i>p;return E&&(I||T||x)||u.elementId===e.elementId})},AU=({blockId:t})=>{const{getters:e,dispatch:o}=et(),{saveBlockMinHeight:n}=mm({blockId:t}),s=d(()=>e.siteBlocks),a=d(()=>e.siteElements),l=d(()=>s.value[t]),i=d(()=>{var g;return(g=l.value)!=null&&g.components?l.value.components.map(f=>({...a.value[f],elementId:f})):null}),c=d(()=>e["gui/isMobileMode"]),u=d(()=>c.value?pe:_e);return{updatePositionsForElementsBelow:({elementId:g})=>{if(!i.value)return;const f={elementId:g,...a.value[g]},y=BU({blockElements:i.value,activeElement:f,elementPositionKey:u.value}),{position:E}=u8({elementId:g,blockId:t,isMobileMode:u.value===pe}),I=E.height-f[u.value].height,T=PU({element:f,elementTopOffset:I,newElementPosition:E,layoutElements:y,elementPositionKey:u.value});o("mergeBulkElementsData",{elementsData:T});const x=l.value[u.value].minHeight+I;n({minHeight:x,saveToHistory:!1})}}},DU=({multiSelectedElements:t,elementPositionKey:e})=>{const o=Object.values(t).reduce((i,c)=>{const{top:u,height:p,left:g,width:f}=c[e],y=g+f,E=u+p;return{top:[...i.top,u],left:[...i.left,g],right:[...i.right,y],bottom:[...i.bottom,E]}},{top:[],left:[],right:[],bottom:[]}),n=Math.min(...o.left),s=Math.min(...o.top),a=Math.max(...o.right),l=Math.max(...o.bottom);return{left:n,top:s,width:a-n,height:l-s}},zU=({elementPosition:t,multiSelectPosition:e})=>{const{top:o,height:n,left:s,width:a}=t,l=o+n,i=s+a,{top:c,bottom:u,left:p,right:g}=e,f=o>=c&&o<=u,y=l>=c&&l<=u,E=o<=c&&l>=u,I=s>=p&&s<=g,T=i>=p&&i<=g,x=s<=p&&i>=g;return(f||y||E)&&(I||T||x)},LU=()=>{const{getters:t,dispatch:e,state:o}=et(),n=d(()=>o.currentBlockId),s=d(()=>t["gui/isMobileMode"]),a=d(()=>s.value?pe:_e),l=C({}),i=C(null),c=C(null),u=C({}),p=C(null),g=C({}),f=d(()=>Object.keys(g.value)),y=C(!1),E=C(!1),I=d(()=>f.value.length>Qm&&!y.value),T=d(()=>p.value?document.querySelector(`[data-block-ref='${p.value}']`).getBoundingClientRect():{}),x=d(()=>T.value.top),P=d(()=>T.value.left),z=d(()=>{const{top:M,left:H,width:F,height:j}=l.value,q=M-x.value,W=q+j,Z=H-P.value,G=Z+F;return{top:q,bottom:W,left:Z,right:G}}),L=()=>{l.value={top:0,left:0,width:0,height:0},g.value={},p.value=null},$=({event:M,blockId:H})=>{L(),i.value=M.pageX,c.value=M.pageY,l.value={top:M.pageY,left:M.pageX,width:0,height:0},E.value=!0,p.value=H},A=({layoutElements:M,shouldForceUpdate:H})=>{!y.value&&!H||(g.value=Object.fromEntries(M.map(F=>{const j=f.value.includes(F.elementId);return!y.value&&j?[F.elementId,F]:zU({elementPosition:F[a.value],multiSelectPosition:z.value})?[F.elementId,F]:[]}).filter(([F])=>!!F)),u.value=DU({multiSelectedElements:g.value,elementPositionKey:a.value}))},D=({event:M,layoutElements:H})=>{y.value=E.value,y.value&&(l.value={top:Math.min(c.value,M.pageY),left:Math.min(i.value,M.pageX),width:Math.abs(M.pageX-i.value),height:Math.abs(M.pageY-c.value)},A({shouldForceUpdate:!1,layoutElements:H}))},O=()=>{f.value.length===Qm&&e("selectCurrentElement",{elementId:f.value[0]}),E.value=!1,y.value=!1};return Mt([s,n],()=>{L()}),Mt(g,(M,H)=>{const F=Object.keys(H).length<=Qm,j=Object.keys(M).length===0;if(F||!j)return;const q=Object.values(H).map(W=>W.type).join(",");It.logEvent({eventName:"website_builder.builder_multi_select.selected",eventProperties:{elements_selected:q}})}),{isMultiSelecting:y,isMultiSelectActive:I,multiSelectedBlockId:p,multiSelectedElements:g,multiSelectedElementsIds:f,startSelection:$,updateSelection:D,endSelection:O,resetMultiSelection:L,updateMultiSelectedElements:A,dragBoxStartXPosition:i,dragBoxStartYPosition:c,dragBoxPosition:l,multiSelectPosition:z,multiSelectAreaPosition:u}},$U=({elements:t,mobileElementsOrder:e,spacingY:o})=>e.reduce((n,s)=>{const a=t[s],l=a[pe],i=e.indexOf(s),c=e[i-1],u=n.find(({elementId:T})=>T===c),p=u==null?void 0:u[pe],g=p&&p.top+p.height,f=u?g+o:o,E=Nd/2-l.width/2,I={...a,[pe]:{...l,top:f,left:E}};return[...n,I]},[]),OU=({selectedElementId:t,mobileElementsGroups:e,currentMobileElementsOrder:o,newMobileElementsOrder:n,multiSelectLength:s=0})=>{const a=s?s-1:0,l=n.indexOf(t){const{dispatch:e,getters:o}=et(),n=d(()=>o.siteElements),s=d(()=>o.siteBlocks),a=d(()=>o["gui/isMobileMode"]),l=d(()=>s.value[t.blockId.value]),i=d(()=>{var z;return(z=l.value)!=null&&z.components?l.value.components.map(L=>({...n.value[L],elementId:L})):[]}),c=d(()=>Object.fromEntries(i.value.map(z=>[z.elementId,z]))),u=d(()=>ff({elements:i.value,elementPositionKey:pe})),p=d(()=>i.value.sort((z,L)=>z[pe].top-L[pe].top).map(z=>z.elementId)),g=d(()=>{const z=B9({elements:i.value});return A9({elementsColumnGroups:z,blockElements:c.value})}),f=d(()=>g.value.flatMap(z=>z.elements)),y=d(()=>l.value&&!!l.value[t2]),E=d(()=>vM({array1:p.value,array2:f.value})),I=d(()=>!y.value&&a.value&&l.value.type===oa&&l.value.components.length>=GB),T=({selectedElementId:z,multiSelectLength:L})=>{OU({selectedElementId:z,currentMobileElementsOrder:p.value,newMobileElementsOrder:f.value,mobileElementsGroups:u.value,multiSelectLength:L}).forEach(({elementId:A,position:D})=>{e("mergeElementData",{elementId:A,elementData:{[pe]:{...D}}})})},x=({selectedElementsIds:z})=>{const L=z.every(H=>c.value[H]);if(!y.value||!L)return;const $=z.length>1,A=D9({elementsIds:z,blockElements:c.value}),D=p.value.findIndex(H=>H===A),O=f.value.findIndex(H=>H===A);D!==O&&T($?{selectedElementId:z[0],multiSelectLength:z.length}:{selectedElementId:A})},P=({isMobileAutoPositioningEnabled:z})=>{if(e("updateBlockData",{blockId:t.blockId.value,blockData:{[t2]:z?!0:null},merge:!0}),!z)return;const L=l.value.snapRowGap||Ir,$=$U({elements:c.value,mobileElementsOrder:f.value,spacingY:L}),A=$[$.length-1],O=A[pe].top+A[pe].height+L;$.forEach(({elementId:M,mobile:H})=>{e("mergeElementData",{elementId:M,elementData:{[pe]:{...H}}})}),e("updateBlockData",{blockId:t.blockId.value,blockData:{[pe]:{minHeight:O}},merge:!0}),e("undoRedo/createSnapshot")};return Mt([i,t.blockId],([z,L],[$,A])=>{if(!(!(z.length!==$.length)||L!==A||!i.value.length)){if(a.value)P({isMobileAutoPositioningEnabled:!1});else if(z.length>$.length){const M=z9({oldElements:$,newElements:z});x({selectedElementsIds:[M]})}}}),Mt(E,z=>{a.value&&y.value&&!z&&P({isMobileAutoPositioningEnabled:!1})}),{updateSectionElementsMobileOrder:x,isMobileAutoPositioningEnabled:y,isMobileElementsOrderTheSameAsDesktop:E,isMobileAutoPositioningToggleVisible:I,updateMobileAutoPositioning:P}},dw=t=>$B[t]||RB,bs=(t,e)=>e.reduce((o,n)=>Math.abs(n-t)<=Math.abs(o-t)?n:o,null),_r=({elementId:t,blockId:e,dispatch:o,isMobileMode:n})=>{const s=n?bi:Er,a=n?pe:_e,{position:l,blockWidth:i}=u8({elementId:t,blockId:e,isMobileMode:n});s===Math.round(i)&&(Ae({category:"LAYOUT_CALCULATED_POSITION",message:"Update element position",data:{calculatedPosition:l,elementId:t,elementPositionFromDom:l,method:"updateElementPositionFromDOM"},level:"debug",type:"debug"}),o("mergeElementData",{elementId:t,elementData:{[a]:l}}))},cw=({multiSelectAreaPosition:t,draggedElementsSnapPosition:e,shouldFitToLayoutYBounds:o,multiSelectedElements:n,elementPositionKey:s,blockWidth:a})=>{const{top:l,left:i}=t,{top:c,left:u}=o?Ys(e):e,p=l-c,g=i-u;return Object.fromEntries(Object.entries(n).map(([,f])=>{const{top:y,left:E,height:I,width:T}=f[s],x=Qn({height:I,width:T,left:E-g,top:y-p},a);return[f.elementId,x]}))},RU=({elementsIds:t,oldBlockId:e,newBlockId:o,dispatch:n})=>{t.forEach(s=>{n("moveElementBetweenBlocks",{elementId:s,oldBlockId:e,newBlockId:o})})},MU=({elementsPositions:t,draggedElementPosition:e,elementPositionKey:o,multiselectAreaPosition:n})=>{const{top:s,left:a}=n;return Object.fromEntries(Object.entries(t).map(([l,i])=>{const c=Math.abs(e.top-i.top),u=Math.abs(e.left-i.left),{width:p,height:g}=Ys(i);return[l,{[o]:{top:s+c,left:a+u,width:p,height:g}}]}))},jf=C(!1),Mi=C(),Us=C(),rI=(t,e)=>{const{getters:o,dispatch:n,state:s}=et(),a=d(()=>s.fonts.hasGoogleFontsLoaded),l=d(()=>t.components),i=d(()=>o["gui/isMobileMode"]),c=d(()=>o.currentElementId),u=d(()=>o.currentElementBlockId),p=d(()=>o.addElementData),g=d(()=>t.data),f=d(()=>t.blockId),y=C(),E=C(null),I=C(0),{hoveredBlockId:T,hoveredBlock:x}=Hl(),P=d(()=>{var xt;return(xt=x.value)==null?void 0:xt.type}),{updateSectionElementsMobileOrder:z}=lI({blockId:f}),{layoutElements:L,blockElements:$,layoutCSSVars:A,buildResponsiveGrid:D,isMobileLegacy:O}=tu({blockData:g,siteElements:l,shouldBuildResponsive:!1}),{updatePositionsForElementsBelow:M}=AU({blockId:f.value}),{isElementVisibleOnScreen:H}=aI(),{addLayoutElement:F}=va(),{startDragging:j,hasMouseMoved:q,dragDeltaXPosition:W,dragDeltaYPosition:Z,isDragging:G}=sv(),{isMultiSelecting:X,isMultiSelectActive:ot,multiSelectedElements:st,multiSelectedElementsIds:J,multiSelectedBlockId:Q,startSelection:lt,updateSelection:pt,endSelection:dt,resetMultiSelection:bt,updateMultiSelectedElements:ht,dragBoxPosition:yt,multiSelectAreaPosition:nt}=LU(),{saveBlockMinHeight:tt,updateSectionMinHeight:mt}=mm(t),it=C(),vt=C(!1),Et=C(!1),At=d(()=>!!Mi.value),kt=d(()=>ot.value?Q.value:u.value),Lt=d(()=>Us.value??Mi.value),jt=d(()=>L.value.find(({elementId:xt})=>xt===Lt.value)),$t=d(()=>i.value?pe:_e),Ct=d(()=>vt.value?Sy({layoutElements:L.value,activeElementId:Lt.value,elementPositionKey:$t.value}):[]),Ot=d(()=>Ct.value.map(({elementId:xt})=>xt)),Zt=d(()=>{var xt;return((xt=Ct.value.sort((Ht,oe)=>{const{top:se,height:ae}=Ht[$t.value],{top:Pe,height:qe}=oe[$t.value],oo=se+ae||0;return(Pe+qe||0)-oo})[0])==null?void 0:xt.elementId)||null}),Ut=d(()=>vt.value?L.value.filter(xt=>{const Ht=xt.elementId!==Lt.value,{top:oe,height:se}=jt.value[$t.value],{top:ae,height:Pe}=xt[$t.value],qe=oe+se,oo=ae+Pe,no=qe>oo;return Ht&&no}):[]),ye=d(()=>Ut.value.sort((xt,Ht)=>{const{top:oe,height:se}=xt[$t.value],{top:ae,height:Pe}=Ht[$t.value],qe=oe+se||0;return(ae+Pe||0)-qe})[0]||{}),Jt=d(()=>{var xt;return(xt=ye.value)==null?void 0:xt.elementId}),ft=d(()=>{var xt;return((xt=ye.value)==null?void 0:xt[$t.value])||{}}),Rt=d(()=>{const{top:xt,height:Ht}=ft.value;return xt+Ht}),Xt=d(()=>g.value.snapRowHeight||p0),ve=d(()=>g.value.snapRowGap||Ir),we=d(()=>Math.abs(W.value)!==0||Math.abs(Z.value)!==0),Re=(xt,Ht)=>d(()=>we.value&&(xt in g.value?g.value[xt]:Ht)),Tt=Re("shouldSnapToElements",g0),Dt=Re("shouldSnapToGuides",m0),Nt=d(()=>{if(ot.value)return nt.value;const xt=L.value.find(({elementId:Ht})=>Ht===Lt.value);return(xt==null?void 0:xt[$t.value])||{}}),Gt=d(()=>Tt.value?L.value.filter(({elementId:xt})=>xt!==Lt.value).map(xt=>{const{left:Ht,top:oe,width:se,height:ae}=xt[$t.value];return{...xt[$t.value],elementId:xt.elementId,right:Ht+se,bottom:oe+ae,centerX:Math.round(Ht+se/2),centerY:Math.round(oe+ae/2)}}):[]),ne=d(()=>Gt.value.filter(({elementId:xt})=>H(xt))),ge=d(()=>i.value?Xs:Er),St=d(()=>g.value.desktop.minHeight),Ft=d(()=>g.value.mobile.minHeight),$e=d(()=>t.blockId===os.value&&E.value?E.value:i.value?Ft.value:St.value),zt=d(()=>ge.value/2),Yt=d(()=>i.value?HB:NB),We=d(()=>Math.round($e.value/(Xt.value+ve.value))),He=d(()=>{const xt=(Yt.value-1)*lf;return(ge.value-xt)/Yt.value}),mo=d(()=>[...Array(Yt.value)].map((xt,Ht)=>Ht*(He.value+lf))),Jo=d(()=>mo.value.map(xt=>xt+He.value)),ms=d(()=>[...Array(We.value)].map((xt,Ht)=>Math.floor(Ht*(Xt.value+ve.value)))),ka=d(()=>[...Array(We.value)].map((xt,Ht)=>Math.floor(Ht*(Xt.value+ve.value)+Xt.value))),Ns=d(()=>["left","bottom-left","top-left"].includes(it.value)),Wl=d(()=>["right","bottom-right","top-right"].includes(it.value)),De=d(()=>["top","top-left","top-right"].includes(it.value)),Je=d(()=>["top-left","top-right"].includes(it.value)),Xi=d(()=>["bottom","bottom-left","bottom-right"].includes(it.value)),Me=d(()=>["bottom-left","bottom-right"].includes(it.value)),gn=d(()=>["bottom-left","bottom-right","top-left","top-right"].includes(it.value)),hd=d(()=>["left","right"].includes(it.value)),il=d(()=>["top","bottom"].includes(it.value)),ki=d(()=>{const{width:xt,height:Ht,left:oe,top:se}=Nt.value,ae=vt.value?oe:oe+W.value,Pe=se+Z.value;if(vt.value){if(Pe<=Rt.value&&se>=Rt.value)return Qn({height:Ht,width:xt,left:ae,top:Rt.value},ge.value);if(Pe<=0)return Qn({height:Ht,width:xt,left:ae,top:0},ge.value)}return Qn({height:Ht,width:xt,left:ae,top:Pe},ge.value)}),Vm=d(()=>ki.value.top===Rt.value),Um=d(()=>!vt.value||!Vm.value?null:Jt.value),Hs=d(()=>P.value==="BlockLayout"&&kt.value&&T.value&&kt.value!==T.value&&!vt.value?ki.value.top<0?Math.abs(ki.value.top)>ki.value.height:ki.value.top>St.value:!1),yu=d(()=>{const xt=mo.value.map(ae=>({snapsTo:["left"],location:ae,type:Go.COLUMN})),Ht=Jo.value.map(ae=>({snapsTo:["right"],location:ae,type:Go.COLUMN})),oe=[...xt,...Ht];return[...new Set(oe.map(({location:ae})=>ae))].map(ae=>oe.find(Pe=>Pe.location===ae))}),vu=d(()=>{const xt=ne.value.reduce((se,{top:ae,centerX:Pe,bottom:qe})=>[...se,{location:Pe,snapsTo:["center"],type:Go.ELEMENT_CENTER,top:ae,bottom:qe}],[]),Ht=[{snapsTo:["left","right","center"],location:zt.value,type:Go.BLOCK_CENTER},...xt];return[...new Set(Ht.map(({location:se})=>se))].map(se=>Ht.find(ae=>ae.location===se))}),sl=d(()=>Tt.value&&Dt.value?[...yu.value,...vu.value]:Tt.value?[...vu.value]:Dt.value?[...yu.value]:[]),bd=d(()=>{const xt=ms.value.map(ae=>({snapsTo:["top"],location:ae,type:Go.ROW})),Ht=ka.value.map(ae=>({snapsTo:["bottom"],location:ae,type:Go.ROW})),oe=[...xt,...Ht];return[...new Set(oe.map(({location:ae})=>ae))].map(ae=>oe.find(Pe=>Pe.location===ae))}),ie=d(()=>{const Ht=[...ne.value.reduce((se,{top:ae,centerY:Pe,bottom:qe,left:oo,right:no})=>[...se,{location:ae,type:Go.ELEMENT_EDGE,snapsTo:["left, right"],left:oo,right:no},{location:Pe,type:Go.ELEMENT_CENTER,snapsTo:["left, right"],left:oo,right:no},{location:qe,type:Go.ELEMENT_EDGE,snapsTo:["left, right"],left:oo,right:no,bottom:qe}],[])];return[...new Set(Ht.map(({location:se})=>se))].map(se=>Ht.find(ae=>ae.location===se))}),Ee=d(()=>Tt.value&&Dt.value?[...ie.value,...bd.value]:Tt.value?[...ie.value]:Dt.value?[...bd.value]:[]),Ge=d(()=>sl.value.filter(xt=>xt.snapsTo.includes("left")).map(({location:xt})=>xt)),yo=d(()=>sl.value.filter(xt=>xt.snapsTo.includes("center")).map(({location:xt})=>xt)),hs=d(()=>sl.value.filter(xt=>xt.snapsTo.includes("right")).map(({location:xt})=>xt)),al=d(()=>{const{left:xt,width:Ht}=ki.value,oe=bs(xt,Ge.value),se=Math.abs(xt-oe),ae=bs(xt+Ht,hs.value),Pe=Math.abs(xt+Ht-ae),qe=bs(Math.round(xt+Ht/2),yo.value),oo=Math.abs(Math.round(xt+Ht/2)-qe),no=Math.min(se,oo,Pe);return no>oh?null:no===se?oe:no===Pe?ae-Ht:no===oo?qe-Math.round(Ht/2):null}),fd=d(()=>Ee.value.map(({location:xt})=>xt)),_u=d(()=>ie.value.map(({location:xt})=>xt)),c1=d(()=>{const{height:xt,top:Ht}=ki.value,oe=bs(Ht,fd.value),se=Math.abs(Ht-oe),ae=bs(Math.round(Ht+xt/2),_u.value),Pe=Math.abs(Math.round(Ht+xt/2)-ae),qe=bs(Ht+xt,fd.value),oo=Math.abs(Ht+xt-qe),no=Math.min(se,Pe,oo);return no>nh?null:no===se?oe:no===Pe?ae-Math.round(xt/2):no===oo?qe-xt:null}),Ji=d(()=>{const{height:xt,width:Ht,left:oe,top:se}=ki.value;return Qn({left:al.value??oe,top:c1.value??se,width:Ht,height:xt},ge.value)}),Ea=d(()=>{const{top:xt,left:Ht,width:oe,height:se}=Nt.value,ae=()=>{const qe=Ns.value?Ht+oe:ge.value-Ht,oo=Ns.value?Math.round(oe-W.value):Math.round(oe+W.value),no=Math.max(Math.min(oo,qe),dw(jt.value.type)),Yl=Ns.value?Ht+(oe-no):Ht;return Qn({left:Yl,width:no,height:se,top:xt},ge.value)},Pe=()=>{const qe=De.value?xt+se:zB,oo=De.value?Math.ceil(se-Z.value):Math.ceil(se+Z.value),no=Math.max(Math.min(oo,qe),X1),Yl=De.value?xt+(se-no):xt;return Qn({left:Ht,width:oe,height:no,top:Yl},ge.value)};if(gn.value){const qe=Pe(),oo=ae();return{top:qe.top,left:oo.left,width:oo.width,height:qe.height}}return il.value?Pe():hd.value?ae():{top:xt,left:Ht,width:oe,height:se}}),ql=d(()=>[...mo.value,zt.value]),u1=d(()=>[...Jo.value,zt.value]),p1=d(()=>Ee.value.map(({location:xt})=>xt)),g1=d(()=>{const{left:xt,width:Ht}=Ea.value,oe=bs(xt,ql.value),se=Math.round(xt-oe),ae=bs(xt+Ht,u1.value),Pe=Math.round(xt+Ht-ae);return Math.abs(se){const{height:xt,top:Ht}=Ea.value,oe=bs(Ht,p1.value),se=Ht-oe,ae=bs(Ht+xt,p1.value),Pe=Ht+xt-ae;return Math.abs(se){const Ht=Nt.value.width/Nt.value.height,oe=Ns.value||Wl.value,se=il.value?Ht*xt.height:xt.width,ae=oe?xt.width/Ht:xt.height,Pe=Math.max(se,dw(jt.value.type)),qe=Math.max(ae,X1),oo=xt.top===0,no=Je.value&&!oo?xt.top+(xt.height-qe):xt.top;return{left:xt.left,top:no,width:Pe,height:qe}},Dx=d(()=>{const{left:xt,width:Ht,height:oe,top:se}=Ea.value,ae=g1.value.left??xt,Pe=g1.value.width||Ht,qe=m1.value.top||se,oo=m1.value.height||oe,no={left:ae,top:qe,width:Pe,height:oo};return Je.value||Me.value?Qn(Ax(no),ge.value):Qn(no,ge.value)}),jm=d(()=>!ot.value||!Nt.value?{}:cw({multiSelectAreaPosition:nt.value,draggedElementsSnapPosition:Ji.value,shouldFitToLayoutYBounds:!1,multiSelectedElements:st.value,elementPositionKey:$t.value,blockWidth:ge.value})),Wm=d(()=>Hs.value||Dt.value||Tt.value),Pn=d(()=>ot.value?Mi.value?Ji.value:ki.value:Mi.value?Wm.value?Ji.value:ki.value:Us.value?Wm.value?Dx.value:Ea.value:{}),zx=d(()=>{const xt=i.value?Ui:0;if(ot.value)return{left:Pn.value.left+xt,top:Pn.value.top,width:Pn.value.width,height:Pn.value.height};const{top:Ht,left:oe,width:se,height:ae}=yt.value;return{left:oe,top:Ht,width:se,height:ae}}),wu=d(()=>{if(!vt.value)return{};const xt=Nt.value.top-Ys(Ji.value).top;return sg({topOffset:xt,elementPositionKey:$t.value,lowerElementsRelativeToActive:Ct.value})}),qm=d(()=>{const xt=Zt.value?wu.value[Zt.value]:Pn.value,{top:Ht,height:oe}=xt;return Ht+oe}),h1=d(()=>{if(!Object.keys(jm.value).length&&!Object.keys(wu.value).length)return{};const xt=Object.keys(jm.value).length?jm.value:{[Lt.value]:Pn.value,...wu.value};return Object.fromEntries(Object.entries(xt).map(([Ht,oe])=>{const se={"--element-top":`${oe.top}px`,"--element-left":`${oe.left}px`,"--element-width":`${oe.width}px`,"--element-height":`${oe.height}px`};return[Ht,se]}))}),Lx=d(()=>{if(!jt.value||Object.keys(h1.value).length)return null;const xt=S1.includes(jt.value.type);return{"--element-top":`${Pn.value.top}px`,"--element-left":`${Pn.value.left}px`,"--element-width":`${Pn.value.width}px`,"--element-height":xt?`${Pn.value.height}px`:"auto"}}),$x=d(()=>{if(!Lt.value)return null;if(Mi.value){const{width:xt,left:Ht}=Pn.value,oe=Math.round(Ht+xt/2),se=Ht+xt,ae=[];return Ge.value.includes(Ht)&&ae.push(Ht),yo.value.includes(oe)&&ae.push(oe),hs.value.includes(se)&&ae.push(se),sl.value.filter(({location:Pe})=>ae.includes(Pe))}if(Us.value){const{width:xt,left:Ht}=Pn.value,oe=Math.round(Ht+xt),se=[];return ql.value.includes(Ht)&&se.push(Ht),u1.value.includes(oe)&&se.push(oe),sl.value.filter(({location:ae})=>se.includes(ae))}return null}),Ox=d(()=>{if(!Lt.value)return null;if(Mi.value){const{height:xt,top:Ht}=Pn.value,oe=Math.round(Ht+xt/2),se=Ht+xt,ae=[Ht,oe,se];return Ee.value.filter(({location:Pe})=>ae.includes(Pe))}if(Us.value){const{height:xt,top:Ht}=Pn.value,oe=Ht+xt,se=[Ht,oe];return Ee.value.filter(({location:ae})=>se.includes(ae))}return null}),Rx=()=>{var Pe;if(ot.value){const qe=cw({multiSelectAreaPosition:nt.value,draggedElementsSnapPosition:Ji.value,shouldFitToLayoutYBounds:!Hs.value,multiSelectedElements:st.value,elementPositionKey:$t.value,blockWidth:ge.value});if(Hs.value){const no=Hr({elementId:`${kt.value}-drag-box`,blockId:T.value}),Yl=Ys(no);RU({elementsIds:J.value,oldBlockId:kt.value,newBlockId:T.value,dispatch:n});const jx=MU({elementsPositions:qe,draggedElementPosition:Ji.value,elementPositionKey:$t.value,multiselectAreaPosition:Yl});n("mergeBulkElementsData",{elementsData:jx});return}const oo=ag({elementsPositions:qe,elementPositionKey:$t.value});n("mergeBulkElementsData",{elementsData:oo});return}if(Lt.value===Ub)return;if(vt.value){const qe=Nt.value.top-Ys(Ji.value).top,oo=sg({topOffset:qe,elementPositionKey:$t.value,lowerElementsRelativeToActive:Ct.value}),no=ag({elementsPositions:{[Lt.value]:Pn.value,...oo},elementPositionKey:$t.value});n("mergeBulkElementsData",{elementsData:no});return}const xt=Hs.value?Hr({elementId:Lt.value,blockId:T.value,leftOffset:i.value?Ui:0}):Pn.value,{top:Ht,left:oe,width:se,height:ae}=Ys(xt);Hs.value&&(n("moveElementBetweenBlocks",{elementId:Lt.value,oldBlockId:kt.value,newBlockId:T.value}),n("unselectCurrentElement")),Ae({category:"LAYOUT_CALCULATED_POSITION",message:"Update element position",data:{isElementMovedToOtherBlock:Hs.value,availableLayoutElements:(Pe=L.value)==null?void 0:Pe.map(({elementId:qe})=>qe),isMultiSelectActive:ot.value,shouldSnap:Wm.value,blockWidth:ge.value,elementId:Lt.value,draggedElementId:Mi.value,resizedElementId:Us.value,draggedElementPosition:ki.value,initialElementPosition:{...Nt.value},position:xt,method:"updateActiveElementData"},level:"debug",type:"debug"}),n("mergeElementData",{elementId:Lt.value,elementData:{[$t.value]:{top:Ht,left:oe,width:se,height:ae}}})},Mx=async()=>{Rx(),await Ye(),i.value||z({selectedElementsIds:ot.value?J.value:[Mi.value]}),Mi.value=null,n("undoRedo/createSnapshot"),e("set-edit-control-visibility",!0),vt.value&&(vt.value=!1,I.value=0,E.value=null,Et.value=!1,Js.value&&(tt({minHeight:Js.value,saveToHistory:!0}),os.value=null)),await Ye(),ht({shouldForceUpdate:!0,layoutElements:L.value}),mt()},Nx=({elementId:xt,shouldMoveElementsBellow:Ht=!1})=>{const oe=xt===Ub;J.value.length&&!X.value&&!oe&&bt(),o.isEditingTextBoxElement&&l.value[xt].type===Oo||(Mi.value=xt,vt.value=Ht,Ht&&(Et.value=$e.value===qm.value),e("set-edit-control-visibility",!1),j({onDragEnd:Mx}))},Hx=()=>{Lt.value&&(_r({dispatch:n,elementId:Lt.value,blockId:t.blockId,isMobileMode:i.value}),mt(),Us.value=null,it.value=null,e("set-edit-control-visibility",!0),n("undoRedo/createSnapshot"))},Gx=(xt,Ht)=>{Us.value=xt,it.value=Ht,e("set-edit-control-visibility",!1),j({onDragEnd:Hx})},Fx=async xt=>{const{elementId:Ht,elementData:oe,width:se,height:ae}=p.value;if(!oe)return;const Pe={newElementRawLeft:xt.clientX,newElementRawTop:xt.clientY,newElementRawWidth:se,newElementRawHeight:ae};await F({blockElements:$.value,blockId:t.blockId,blockToAddRef:xt.currentTarget,elementId:Ht,newElementData:oe,newElementRawPosition:Pe,newElementRelativePosition:Qd.EXACT}),n("updateAddElementData",{}),n("selectCurrentElement",{elementId:Ht})},Vx=xt=>{const Ht=o.siteElements[xt],oe=!!Ht;if(!Lt.value&&oe){if(Ht.type===Oo&&c.value===xt&&M({elementId:xt}),Ht.type===Oo&&!a.value)return;_r({dispatch:n,elementId:xt,blockId:t.blockId,isMobileMode:i.value})}},Ux=xt=>S1.includes(xt)?LB:AC.includes(xt)?["left","right"]:[];return Mt(wu,()=>{if(!vt.value)return;!I.value&&!Et.value&&(I.value=$e.value-qm.value),Et.value&&(I.value=0);const xt=qm.value+I.value;xt>=$e.value&&!os.value&&(os.value=kt.value),os.value&&(Js.value=xt,(!E.value||E.valueo.currentBlock),a=d(()=>s.value.snapRowHeight||p0),l=d(()=>s.value.snapRowGap||Ir),i=d(()=>"shouldSnapToElements"in s.value?s.value.shouldSnapToElements:g0),c=d(()=>"shouldSnapToGuides"in s.value?s.value.shouldSnapToGuides:m0),u=d(()=>!!s.value.shouldKeepGridVisible);Vt(()=>{jf.value=!0}),rn(()=>{jf.value=!1});const p=(g,f)=>{if(zC[g]===f){const{[g]:y,...E}=s.value;n("updateBlockData",{blockId:e.currentBlockId,blockData:E,merge:!1});return}n("updateBlockData",{blockId:e.currentBlockId,blockData:{[g]:f},merge:!0})};return(g,f)=>{const y=rt("qa");return r(),v("div",NU,[b(to,{id:"toggle-snapping","qa-selector":"sectionsettings-snaptoguides-toggle","model-value":c.value,label:g.$t("builder.editBlockTabLayout.toggleGuideSnappingLabel"),message:g.$t("builder.editBlockTabLayout.toggleGuideSnappingDescription"),class:"layout-tab__snap-to-guides","onUpdate:modelValue":f[0]||(f[0]=E=>p("shouldSnapToGuides",E))},null,8,["model-value","label","message"]),b(to,{id:"toggle-snapping-elements","model-value":i.value,label:g.$t("builder.editBlockTabLayout.toggleSnappingToElements"),"onUpdate:modelValue":f[1]||(f[1]=E=>p("shouldSnapToElements",E))},null,8,["model-value","label"]),c.value?(r(),v("div",HU,[b(ee,null,{default:k(()=>[U(w(g.$t("builder.editBlockTabLayout.controlRangeRowHeight")),1)]),_:1}),R(b(ln,{min:8,max:40,step:"1","has-number-input":"","model-value":a.value,"onUpdate:modelValue":f[2]||(f[2]=E=>p("snapRowHeight",E))},null,8,["model-value"]),[[y,"section-settings-row-height-range"]])])):B("",!0),c.value?(r(),v("div",GU,[b(ee,null,{default:k(()=>[U(w(g.$t("builder.editBlockTabLayout.controlRangeRowGap")),1)]),_:1}),R(b(ln,{min:8,max:40,step:"1","has-number-input":"","model-value":l.value,"onUpdate:modelValue":f[3]||(f[3]=E=>p("snapRowGap",E))},null,8,["model-value"]),[[y,"section-settings-row-gap-range"]])])):B("",!0),b(ke,{class:"layout-tab__separator"}),b(to,{id:"toggle-keep-grid-visible","model-value":u.value,label:g.$t("builder.editBlockTabLayout.keepGridVisible"),"onUpdate:modelValue":f[4]||(f[4]=E=>p("shouldKeepGridVisible",E))},null,8,["model-value","label"])])}}},VU=V(FU,[["__scopeId","data-v-d248b269"]]),UU=K({components:{ZyroPopupCard:No,EditBlockTabBackground:iu,EditBlockTabAnchor:CN,EditBlockLayoutTabLayout:VU},props:{startTabId:{type:String,default:null}},emits:["close"],setup(t){const{t:e}=_t(),o=[{id:"background",title:e("common.background"),component:"EditBlockTabBackground"},{id:"layout",title:e("common.layout"),component:"EditBlockLayoutTabLayout"},{id:"anchor",title:e("common.anchor"),component:"EditBlockTabAnchor"}],n=o.find(a=>a.id===t.startTabId)??o[0],s=C(n);return{tabs:o,currentTab:s}}});function jU(t,e,o,n,s,a){const l=Y("ZyroPopupCard");return r(),S(l,{type:"editor",title:t.$t("builder.sectionSettings.title"),tabs:t.tabs,"current-tab":t.currentTab,"onUpdate:currentTab":e[0]||(e[0]=i=>t.currentTab=i),onClose:e[1]||(e[1]=i=>t.$emit("close"))},{default:k(()=>[(r(),S(Do(t.currentTab.component)))]),_:1},8,["title","tabs","current-tab"])}const WU=V(UU,[["render",jU]]),qU=t=>(Te("data-v-d3f40473"),t=t(),Ce(),t),YU=["onMousedown","onTouchstart"],KU=qU(()=>h("div",{class:"resize-dot__visual-trigger"},null,-1)),ZU=[KU],QU={__name:"ResizeDots",props:{elementWidth:{type:Number,required:!0},elementHeight:{type:Number,required:!0},resizeDirections:{type:Array,default:()=>[]}},emits:["start-resizing"],setup(t,{emit:e}){const o=t,n=e,{handleTouchEvent:s}=gm(),a=d(()=>o.resizeDirections.length===2&&o.resizeDirections.includes("left")&&o.resizeDirections.includes("right")),l=d(()=>!a.value&&o.elementHeight<=J1),i=d(()=>o.elementWidth<=J1),c=d(()=>l.value&&i.value),u=(p,g)=>{p.preventDefault(),s(p),n("start-resizing",g)};return(p,g)=>(r(),v("div",Ze({class:["resize-dots",{"resize-dots--horizontal-hidden":l.value,"resize-dots--vertical-hidden":i.value,"resize-dots--hidden":c.value,"resize-dots--only-horizontal":a.value}],[m(vo)||""]:m(A4)}),[(r(!0),v(at,null,Pt(t.resizeDirections,f=>(r(),v("div",{key:f,class:ut(["resize-dot",[`resize-dot--${f}`]]),onMousedown:Kt(y=>p.$emit("start-resizing",f),["left","stop"]),onTouchstart:Kt(y=>u(y,f),["stop"])},ZU,42,YU))),128))],16))}},XU=V(QU,[["__scopeId","data-v-d3f40473"]]),JU=K({name:"LayoutElementWrapper",props:{elementData:{type:Object,required:!0},isForcedOnTop:{type:Boolean,default:!1},isMobileLegacy:{type:Boolean,default:!1},isMobileView:{type:Boolean,default:!1}},computed:{settings(){return this.elementData.settings},styles(){return this.settings.styles},innerBackgroundValue(){const{innerBackground:t}=this.elementData;if(!t)return{};const e=t[t.current];return t.current!=="image"?{"--gridItemInnerBackground":e}:{"--gridItemInnerBackground":`url(${e})`,"--gridItemInnerBackgroundOverlayOpacity":"overlay-opacity"in t?t["overlay-opacity"]:null}},isHiddenDesktop(){return this.elementData.desktop.isHidden},isHiddenMobile(){return this.elementData.mobile.isHidden},computedStyles(){return{...Di(this.styles),...this.innerBackgroundValue,...this.isHiddenDesktop&&!this.isMobileView&&{"--hidden-element-z-index":0},...this.isHiddenMobile&&this.isMobileView&&{"--m-hidden-element-z-index":0},...this.isForcedOnTop&&{"--z-index":VC}}}}});function tj(t,e,o,n,s,a){return r(),v("div",{class:ut(["layout-element",{"layout-element--legacy":t.isMobileLegacy,"layout-element--layout":!t.isMobileLegacy}]),style:re(t.computedStyles)},[wt(t.$slots,"default")],6)}const ej=V(JU,[["render",tj]]),Nh=C(null),vm=()=>{const t=()=>{Nh.value=null},e=o=>{Nh.value=o};return{croppedImageId:d(()=>Nh.value),exitCropMode:t,enterCropMode:e}},oj=C(!1),yv=()=>({showGalleryManager:oj}),_m=Mo(Xo.AI_WRITER,()=>{const t=C(!1),e=C(!1),{t:o}=_t(),{notify:n}=Oe();return{getAiGeneratedText:async({userPrompt:l})=>{t.value=!0;try{const{data:i,config:c}=await OR({prompt:l});return It.logEvent({eventName:"website_builder.ai_assist.generated",eventProperties:{"x-correlation-id":c.headers["X-Correlation-Id"]}}),i}catch(i){return i&&i.error===429?(e.value=!0,n({message:o("builder.AITextGeneratorPopupDailyLimitReachedDisclaimer")}),{}):(n({message:o("builder.AITextGenerationFailed")}),Wt(i),{})}finally{t.value=!1}},isTextBeingGenerated:t,isAiTextGeneratorDailyLimitReached:e,setIsTextBeingGenerated:l=>{t.value=l}}}),Vu=C(!1),Uu=C(""),Gs=C(""),ju=C(""),Hh=C(!1),vv=t=>{const{dispatch:e,getters:o}=et(),n=_m(),{t:s}=_t(),{notify:a}=Oe(),{updateElementHeightOnDevices:l}=Qi(),{isTextBeingGenerated:i}=vi(n),c=d(()=>o.currentElementId),u=d(()=>o.currentElement),p=d(()=>o.isEditingTextBoxElement),g=d(()=>{const P=pv(Uu.value);return P.length?P[P.length-1]:""}),f=d(()=>{const P=g.value?`style="color: ${g.value}"`:"";return`<${Q1} ${P} class="${gc}" >${Gs.value}`}),y=({pushToHistory:P=!1})=>{e("mergeElementData",{elementId:t.elementId,elementData:{content:`${Uu.value}${f.value}`}}),l({elementId:t.elementId}),P&&e("undoRedo/createSnapshot"),setTimeout(()=>{const z=document.querySelector(`[${Lc}="${t.elementId}"]`);z&&z.scrollIntoView({block:"end",behavior:"smooth"})})},E=async({isTryingAgain:P})=>{Hh.value=!0,Vu.value=!1,Gs.value="",P||(Uu.value=u.value.content);const{text:z}=await n.getAiGeneratedText({userPrompt:ju.value});if(!(!z||t.elementId!==c.value)){if(z===j3){a({message:s("builder.AITextGenerationDescriptionNotClear")}),Vu.value=!0;return}Gs.value=z,y({pushToHistory:!1})}},I=()=>{e("mergeElementData",{elementId:t.elementId,elementData:{content:Uu.value}}),Gs.value=""},T=()=>{y({pushToHistory:!0}),Gs.value=""},x=P=>{Vu.value=P};return Mt(c,P=>{t&&P!==t.elementId&&(i.value&&(a({message:s("builder.AITextGenerationStopped")}),n.setIsTextBeingGenerated(!1)),Gs.value="",ju.value="",Hh.value=!1)}),Mt(p,()=>{Gs.value.length&&p.value&&(Gs.value="",ju.value="")}),{userPrompt:ju,aiGeneratedText:Gs,isAiTextGeneratorPopupVisible:Vu,generateAiText:E,discardAiGeneratedText:I,keepAiGeneratedText:T,isPromptInputTouched:Hh,setIsAiTextGeneratorPopupVisible:x}},wm=({selectedElementId:t}={})=>{const{getters:e,dispatch:o}=et(),n=C(t),s=d(()=>e.siteBlocks),a=d(()=>Kg({elementId:n.value,siteBlocks:s.value})),l=d(()=>e.siteBlocks[a.value]),i=d(()=>e.siteElements),c=d(()=>e["gui/isMobileMode"]),u=d(()=>c.value?pe:_e),p=d(()=>u.value===_e),g=d(()=>l.value.components.map(j=>{const q=i.value[j];return es(q,{elementId:j,desktop:{bottom:q.desktop.top+q.desktop.height},mobile:{bottom:q.mobile.top+q.mobile.height}})})),f=d(()=>g.value.find(j=>j.elementId===n.value)),y=d(()=>ff({elements:g.value,elementPositionKey:_e})),E=d(()=>ff({elements:g.value,elementPositionKey:pe})),I=d(()=>p.value?y.value:E.value),T=d(()=>A2({elementGroups:y.value,elementId:n.value})),x=d(()=>A2({elementGroups:E.value,elementId:n.value})),P=d(()=>p.value?T.value:x.value),z=d(()=>y.value[T.value]),L=d(()=>E.value[x.value]),$=d(()=>p.value?z.value:L.value),A=({elementPositions:j,elementPositionKey:q})=>j.forEach(({elementId:W,position:Z})=>o("mergeElementData",{elementId:W,elementData:{[q]:{...Z}}})),D=({higherGroup:j,lowerGroup:q})=>{const W=c8({higherGroup:j,lowerGroup:q,elementPositionKey:u.value});A({elementPositions:W,elementPositionKey:u.value}),o("undoRedo/createSnapshot")},O=({elementPositionKey:j,selectedElementGroup:q})=>{const{topMargin:W,bottomMargin:Z}=T9({elementToDeleteGroup:q,elementToDelete:f.value,elementPositionKey:j}),G=hh({elements:q.elements.filter(st=>st.elementId!==n.value),shiftMargin:-W,elementPositionKey:j}),X=W+Z,ot=hh({elements:D2({elements:g.value,verticalTreshold:f.value[j].bottom,elementPositionKey:j}),shiftMargin:-X,elementPositionKey:j});A({elementPositions:G,elementPositionKey:j}),A({elementPositions:ot,elementPositionKey:j}),o("updateBlockData",{blockId:a.value,blockData:{[j]:{minHeight:Math.max(af,l.value[j].minHeight-X)}},merge:!0})},M=()=>{o("leaveBlockEditMode"),O({selectedElementGroup:L.value,elementPositionKey:pe}),o("removeElement",{elementId:n.value}),o("undoRedo/createSnapshot")},H=({elementPositionKey:j,selectedElementGroup:q,shouldOverlap:W=!1,shouldNudgeElementsBelow:Z=!1})=>{const G=()=>j==="desktop"&&c.value?y.value[y.value.length-1].groupBottom:(W?f.value[j].top:q.value.groupBottom)+Ir,X=f.value[j].height+Ir,ot=D2({elements:g.value,elementPositionKey:j,verticalTreshold:q.value.groupBottom-1}),st=hh({elements:ot,elementPositionKey:j,shiftMargin:X});return Z||A({elementPositions:st,elementPositionKey:j}),{newElementTop:G()}};return{elementGroupsMobile:E,elementGroupsDesktop:y,elementGroups:I,currentElementPositionKey:u,selectedElement:f,selectedElementGroupIndex:P,selectedElementGroup:$,switchElementGroupsPositions:D,elementBlockId:a,blockData:l,deleteSelectedElement:M,duplicateSelectedElement:()=>{const{newElementTop:j}=H({selectedElementGroup:z,elementPositionKey:_e,shouldNudgeElementsBelow:!0,shouldOverlap:!c.value}),{newElementTop:q}=H({selectedElementGroup:L,elementPositionKey:pe});o("duplicateElement",{mobileTop:q,desktopTop:j,elementId:n.value}),o("undoRedo/createSnapshot")}}},Gh=C(),km=t=>{const{getters:e}=et(),o=C(),n=d(()=>e.currentElementId);return Mt([n],([s])=>{s||(Gh.value=null),t&&s===t.elementId&&(Gh.value=o.value.$el)}),{elementRef:o,currentElementRef:Gh}},dI=()=>{const{getters:t,dispatch:e}=et(),{currentElementRef:o}=km(),n=d(()=>t.currentElement),s=d(()=>t["gui/isMobileMode"]),a=d(()=>s.value?pe:_e);return{resetProportions:()=>{const i=o.value.querySelector("img"),{naturalWidth:c,naturalHeight:u}=i,p=c/u,g=Math.round(n.value[a.value].width/p);g&&e("mergeCurrentElementData",{elementData:{[a.value]:{height:g}}})}}},nj={class:"mobile-controls"},ij={class:"mobile-controls__heading"},sj={class:"text-bold-2"},aj=K({__name:"ContextMenuLayoutElement",props:{triggerRef:{type:Element,default:null}},emits:["close-context-menu","remove-element"],setup(t,{emit:e}){const o=[sh,lh,ah,rh,dh,ch,uh,ph],n=t,s=e,{t:a}=_t(),l=Ka(),{pasteElement:i}=va(),{completeAchievement:c}=Wo(),{closeContextMenu:u}=Gl(),{state:p,getters:g,dispatch:f}=et(),y=Bt(),E=Da(),I=d(()=>g.currentElementType===kn),T=d(()=>p.gui.isMobileScreen),x=d(()=>p.currentLocale),P=d(()=>g.currentElementBlockId),z=d(()=>p.currentElementId),L=d(()=>g.currentElement),$=d(()=>p.isElementEditMode),A=d(()=>g.siteBlocks),D=d(()=>{var nt;return((nt=A.value[P.value])==null?void 0:nt.zindexes)||[]}),O=d(()=>{var nt;return((nt=document.querySelector(`[data-element-ref='${z.value}']`))==null?void 0:nt.tagName)==="TEXTAREA"}),M=d(()=>g["gui/isColorPickerOpen"]),H=d(()=>D.value[D.value.length-1]===l.selectedLayoutElementId),F=d(()=>D.value[0]===l.selectedLayoutElementId),{deleteSelectedElement:j,duplicateSelectedElement:q}=wm({selectedElementId:z}),{croppedImageId:W,exitCropMode:Z}=vm(),{showGalleryManager:G}=yv(),{isAiTextGeneratorPopupVisible:X}=vv({elementId:z.value}),ot=()=>{var nt,tt;z.value&&(((nt=L.value)==null?void 0:nt.type)===Zi&&c(Zs),Ae({category:"SHORTCUT:Delete element",data:{elementType:(tt=L.value)==null?void 0:tt.type,elementId:z.value}}),j())},st=()=>{l.setCopiedElementId(l.selectedLayoutElementId),l.setCopiedElementLocale(x.value),l.setIsElementCut(!0)},J=()=>{l.setCopiedElementId(l.selectedLayoutElementId),l.setCopiedElementLocale(x.value),l.setIsElementCut(!1)},Q=nt=>{f("updateBlockData",{blockId:P.value,blockData:{zindexes:nt},merge:!0})},lt=nt=>{const{shouldMoveLeft:tt=!1,shouldMoveFully:mt=!1}=nt,it=tt?G_(D.value,l.selectedLayoutElementId,mt):H_(D.value,l.selectedLayoutElementId,mt);Q(it)},pt=()=>{l.setSelectedLayoutElementId(null),n.triggerRef?s("close-context-menu"):u()},dt=({command:nt,commandProps:tt={}})=>{!nt||!o.includes(nt)||([sh,lh,ah,rh].includes(nt)&<(tt),nt===dh&&st(),nt===ch&&J(),nt===uh&&q(),nt===ph&&ot(),pt(),l.setSelectedLayoutElementId(null))},bt={copy:()=>!!document.querySelector("#ai-image-generator-popup")},ht=nt=>{var mt;if(!(document.getElementsByTagName("dialog").length>0)&&(Ue(nt)===me.Escape&&($.value||W.value)&&(nt.preventDefault(),f("leaveElementEditMode"),Z()),!($.value||G.value||X.value||p.gui.activeDrawer||p.gui.activeModalName||p.isBlockEditorOpen||p.isElementEditorOpen))){if((nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.KeyV){f("unselectCurrentElement");const vt=(((mt=y.siteBlocks[y.currentBlockId])==null?void 0:mt.components)||[]).map(Et=>y.siteElements[Et]);nt.preventDefault(),i({blockId:y.currentBlockId,blockElements:vt})}if(z.value){if((Ue(nt)===me.Backspace||Ue(nt)===me.Delete)&&!M.value&&!O.value&&!pi.value&&(nt.preventDefault(),ot()),(nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.KeyD&&(nt.preventDefault(),q()),(nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.Backspace&&!O.value&&!pi.value&&(nt.preventDefault(),ot()),(nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.KeyC){if(bt.copy())return;nt.preventDefault(),l.setCopiedElementId(z.value),l.setCopiedElementLocale(x.value),l.setIsElementCut(!1),f("unselectCurrentElement")}if((nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.KeyX&&(nt.preventDefault(),l.setCopiedElementId(z.value),l.setCopiedElementLocale(x.value),l.setIsElementCut(!0),f("unselectCurrentElement")),(nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.BracketLeft){nt.preventDefault();const it=G_(D.value,z.value,E?nt.altKey:nt.shiftKey);Q(it)}if((nt.ctrlKey||nt.metaKey)&&Ue(nt)===me.BracketRight){nt.preventDefault();const it=H_(D.value,z.value,E?nt.altKey:nt.shiftKey);Q(it)}}}},{resetProportions:yt}=dI();return Vt(()=>{window.addEventListener("keydown",ht)}),ao(()=>{window.removeEventListener("keydown",ht)}),(nt,tt)=>{const mt=rt("qa");return r(),S(T6,{"is-enabled":!!m(l).selectedLayoutElementId,"trigger-ref":t.triggerRef,"is-element":"",onCloseContextMenu:pt},{default:k(()=>[h("div",nj,[T.value?(r(),v(at,{key:0},[h("div",ij,[h("p",sj,w(m(a)("builder.editText.moreOptions")),1),R((r(),S(gt,{"button-type":"plain",title:m(a)("common.close"),onClick:pt},{icon:k(()=>[b(ct,{name:"close"})]),_:1},8,["title"])),[[mt,"mobile-context-menu-btn-close"]])]),b(ke)],64)):B("",!0),b(Zn,{icon:"cut",title:m(a)("builder.contextMenu.gridItem.cut"),shortcut:{mac:"⌘ X",windows:"Ctrl+X"},onClick:tt[0]||(tt[0]=it=>dt({command:m(dh)}))},null,8,["title"]),b(Zn,{icon:"file_copy",title:m(a)("builder.contextMenu.gridItem.copy"),shortcut:{mac:"⌘ C",windows:"Ctrl+C"},onClick:tt[1]||(tt[1]=it=>dt({command:m(ch)}))},null,8,["title"]),b(Zn,{icon:"file_copy",title:m(a)("common.duplicate"),shortcut:{mac:"⌘ D",windows:"Ctrl+D"},onClick:tt[2]||(tt[2]=it=>dt({command:m(uh)}))},null,8,["title"]),b(Zn,{icon:"delete_outline",title:m(a)("common.delete"),shortcut:{mac:"⌫",windows:"Backspace"},onClick:tt[3]||(tt[3]=it=>dt({command:m(ph)}))},null,8,["title"]),b(ke),T.value?B("",!0):(r(),S(Zn,{key:1,icon:"flip_to_front",title:m(a)("builder.contextMenu.gridItem.sendFront"),shortcut:{mac:"⌥ ⌘ ]",windows:"Ctrl+Shift+]"},disabled:H.value,onClick:tt[4]||(tt[4]=it=>dt({command:m(sh),commandProps:{shouldMoveLeft:!1,shouldMoveFully:!0}}))},null,8,["title","disabled"])),b(Zn,{icon:"flip_to_front",title:m(a)("builder.contextMenu.gridItem.moveForward"),disabled:H.value,shortcut:{mac:"⌘ ]",windows:"Ctrl+]"},onClick:tt[5]||(tt[5]=it=>dt({command:m(lh),commandProps:{shouldMoveLeft:!1,shouldMoveFully:!1}}))},null,8,["title","disabled"]),T.value?B("",!0):(r(),S(Zn,{key:2,icon:"flip_to_back",title:m(a)("builder.contextMenu.gridItem.sendBack"),shortcut:{mac:"⌥ ⌘ [",windows:"Ctrl+Shift+["},disabled:F.value,onClick:tt[6]||(tt[6]=it=>dt({command:m(ah),commandProps:{shouldMoveLeft:!0,shouldMoveFully:!0}}))},null,8,["title","disabled"])),b(Zn,{icon:"flip_to_back",title:m(a)("builder.contextMenu.gridItem.moveBackward"),disabled:F.value,shortcut:{mac:"⌘ [",windows:"Ctrl+["},onClick:tt[7]||(tt[7]=it=>dt({command:m(rh),commandProps:{shouldMoveLeft:!0,shouldMoveFully:!1}}))},null,8,["title","disabled"]),I.value?(r(),S(ke,{key:3})):B("",!0),I.value?(r(),S(Zn,{key:4,icon:"reset_image",title:nt.$t("builder.editImage.tabImage.resetProportions"),onClick:m(yt)},null,8,["title","onClick"])):B("",!0)])]),_:1},8,["is-enabled","trigger-ref"])}}}),cI=V(aj,[["__scopeId","data-v-eb7a3b57"]]),lj={__name:"ElementPlaceSwitchControls",props:{elementId:{type:String,required:!0}},setup(t){const e=t,{state:o}=et(),n=d(()=>o.gui.builderPreviewContainerRef),{elementGroups:s,currentElementPositionKey:a,switchElementGroupsPositions:l,selectedElement:i,selectedElementGroupIndex:c,selectedElementGroup:u}=wm({selectedElementId:e.elementId}),p=d(()=>c.value===0),g=d(()=>{var I;return c.value===(((I=s.value)==null?void 0:I.length)||0)-1}),f=d(()=>!p.value),y=d(()=>!g.value),E=({higherGroup:I,lowerGroup:T})=>{const x=i.value[a.value].top;l({higherGroup:I,lowerGroup:T});const P=i.value[a.value].top-x;n.value.scrollBy({top:P,behavior:"smooth"})};return(I,T)=>{const x=rt("qa");return r(),v(at,null,[b(ko,{class:"placement-switch-top",title:I.$t("builder.editBlockButton.moveUp")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",disabled:!f.value,onClick:T[0]||(T[0]=P=>E({higherGroup:m(s)[m(c)-1],lowerGroup:m(u)}))},{icon:k(()=>[b(ct,{name:"arrow_upward"})]),_:1},8,["disabled"])),[[x,"elementplaceswitch-btn-up"]])]),_:1},8,["title"]),b(ko,{class:"placement-switch-bottom",title:I.$t("builder.editBlockButton.moveDown")},{default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",disabled:!y.value,onClick:T[1]||(T[1]=P=>E({higherGroup:m(u),lowerGroup:m(s)[m(c)+1]}))},{icon:k(()=>[b(ct,{name:"arrow_downward"})]),_:1},8,["disabled"])),[[x,"elementplaceswitch-btn-down"]])]),_:1},8,["title"])],64)}}},uw=V(lj,[["__scopeId","data-v-781de711"]]),rj=t=>(Te("data-v-a63fb113"),t=t(),Ce(),t),dj={class:"element-edit-controls-bar-buttons"},cj={key:0,class:"text-body-2"},uj=rj(()=>h("span",null,w("⌫"),-1)),pj={class:"element-place-switch-controls-popup__buttons"},gj=16,mj=K({__name:"ElementEditControlsBar",props:{elementId:{type:String,required:!0},enterElementEditModeButtonTitle:{type:String,required:!0},isMainControlsDisabled:{type:Boolean,default:!1}},emits:["element-deleted"],setup(t,{emit:e}){const o=t,n=e,{state:s,dispatch:a,getters:l}=et(),{currentElementRef:i}=km(),c=Ka(),{mousePositionX:u,mousePositionY:p,isContextMenuWithTriggerActive:g}=Gl(),{deleteSelectedElement:f,duplicateSelectedElement:y}=wm({selectedElementId:o.elementId}),E=cn(),I=C(null),T=Da(),x=d(()=>s.gui.isMobileScreen),P=d(()=>s.gui.isMobileView),z=d(()=>l["gui/isMobileMode"]),L=d(()=>l.siteElements),$=d(()=>L.value[o.elementId]),A=d(()=>{var q,W;return!!((W=(q=$.value)==null?void 0:q[_e])!=null&&W.isHidden)}),D=d(()=>{var q,W;return!!((W=(q=$.value)==null?void 0:q[pe])!=null&&W.isHidden)}),O=d(()=>{if(!z.value||!$.value)return gj;const{width:q,left:W}=$.value[pe];return bi-q-W}),M=()=>{a("enterElementEditMode")},H=()=>{f(),n("element-deleted")},F=({value:q,elementPositionKey:W})=>{a("mergeElementData",{elementId:o.elementId,elementData:{[W]:{isHidden:q}}})},j=({isOpen:q})=>{c.setSelectedLayoutElementId(q?o.elementId:null),g.value=q,u.value=null,p.value=null};return(q,W)=>{var G;const Z=rt("qa");return r(),v("div",null,[h("div",dj,[m(E).isAiTypeSelectionVisible?(r(),S(S6,{key:0,"element-id":o.elementId},null,8,["element-id"])):B("",!0),R((r(),S(gt,{"button-type":"plain",theme:"highlight",onClick:M},li({default:k(()=>[x.value?B("",!0):(r(),v("span",cj,w(t.enterElementEditModeButtonTitle),1))]),_:2},[x.value?{name:"icon",fn:k(()=>[b(ct,{name:"settings"})]),key:"0"}:void 0]),1024)),[[Z,"element-button-edit"]]),wt(q.$slots,"default",{},void 0,!0),t.isMainControlsDisabled?B("",!0):(r(),v(at,{key:1},[b(Vo),b(ko,{title:q.$t("common.duplicate")},{shortcut:k(()=>[h("span",null,w(m(T)?"⌘D":"Ctrl+D"),1)]),default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:q.$t("common.duplicate"),onClick:m(y)},{icon:k(()=>[b(ct,{name:"content_copy"})]),_:1},8,["title","onClick"])),[[Z,"builder-textelementedit-buttonduplicate"]])]),_:1},8,["title"]),x.value?B("",!0):(r(),S(ko,{key:0,title:q.$t("builder.editBlockButton.hideShow")},{default:k(()=>[b(x6,{"is-hidden-desktop":A.value,"is-hidden-mobile":D.value,onSetDesktopVisibility:W[0]||(W[0]=X=>F({value:X,elementPositionKey:m(_e)})),onSetMobileVisibility:W[1]||(W[1]=X=>F({value:X,elementPositionKey:m(pe)}))},null,8,["is-hidden-desktop","is-hidden-mobile"])]),_:1},8,["title"])),x.value?B("",!0):(r(),S(ko,{key:1,title:q.$t("common.delete")},{shortcut:k(()=>[uj]),default:k(()=>[R((r(),S(gt,{"button-type":"plain",theme:"highlight",title:q.$t("common.delete"),onClick:H},{icon:k(()=>[b(ct,{name:"delete"})]),_:1},8,["title"])),[[Z,"builder-textelementedit-buttondelete"]])]),_:1},8,["title"])),b(Vo),x.value?(r(),S(uw,{key:2,"element-id":o.elementId},null,8,["element-id"])):B("",!0),x.value?(r(),S(Vo,{key:3})):B("",!0),b(ko,{title:q.$t("common.more")},{default:k(()=>[R((r(),S(gt,{ref_key:"contextMenuButtonRef",ref:I,"button-type":"plain",theme:"highlight",title:q.$t("builder.contextMenuTitle"),onClick:W[2]||(W[2]=X=>j({isOpen:!m(g)}))},{icon:k(()=>[b(ct,{name:"more_vert"})]),_:1},8,["title"])),[[Z,"builder-elementedit-buttoncontext"]])]),_:1},8,["title"])],64))]),m(g)?(r(),S(cI,{key:0,"trigger-ref":(G=I.value)==null?void 0:G.$el,onCloseContextMenu:W[3]||(W[3]=X=>j({isOpen:!1}))},null,8,["trigger-ref"])):B("",!0),P.value&&!t.isMainControlsDisabled?(r(),S(Se,{key:1,ref:"popup","target-ref":m(i),"portal-selector":m(jo),placement:"right","auto-update":"",offset:O.value},{default:k(()=>[h("div",pj,[b(uw,{"element-id":o.elementId},null,8,["element-id"])])]),_:1},8,["target-ref","portal-selector","offset"])):B("",!0)])}}}),pw=V(mj,[["__scopeId","data-v-a63fb113"]]),_i=t=>{const{dispatch:e,getters:o}=et(),n=d(()=>o.siteElements),s=d(()=>n.value[t.elementId]),a=d(()=>{var i;return(i=s.value)==null?void 0:i.type}),l=()=>{Ae({category:"CONTROLS:ELEMENT",message:"Close",data:{currentElementId:t.elementId,type:a.value},level:"debug",type:"debug"}),e("leaveElementEditMode"),e("undoRedo/createSnapshot")};return Vt(()=>{Ae({category:"CONTROLS:ELEMENT",message:"Created",data:{currentElementId:t.elementId,type:a.value},level:"debug",type:"debug"})}),{closeElementEditPopupHandler:l}},wi={__name:"ElementEditControls",props:{elementId:{type:String,required:!0},isElementActive:{type:Boolean,default:!1},targetRef:{type:[HTMLElement,null],default:null},enterEditModeButtonTitle:{type:String,default:""},editModePopupOptions:{type:Object,default:()=>({placement:"right-start",offset:18,flip:!1,autoUpdate:!1})},controlsPopupOptions:{type:Object,default:()=>({placement:"top-start",offset:22,flip:!1,autoUpdate:!0})},isMobilePopupStickedToBottom:{type:Boolean,default:!1},isMainControlsDisabled:{type:Boolean,default:!1},isNonGridElementEditMode:{type:Boolean,default:!1},isNonGridElementControlsVisible:{type:Boolean,default:!1},nonGridElementRef:{type:HTMLElement,default:null},isEditControlsHidden:{type:Boolean,default:!1}},emits:["element-deleted"],setup(t,{emit:e}){const o=t,n=e,{state:s,getters:a}=et(),{currentElementRef:l}=km(),{closeElementEditPopupHandler:i}=_i({elementId:o.elementId}),c=d(()=>o.isNonGridElementEditMode||s.isElementEditMode),u=d(()=>a.currentElementId),p=d(()=>a["gui/isColorPickerOpen"]),g=d(()=>s.gui.isMobileScreen),f=d(()=>o.isElementActive),y=d(()=>(o.isNonGridElementControlsVisible||u.value===o.elementId&&!(f!=null&&f.value))&&!o.isEditControlsHidden),E=I=>{p.value||I.button!==0&&i()};return(I,T)=>y.value?(r(),S(xe,{key:0,to:"body"},[c.value&&t.targetRef?(r(),S(Se,{key:0,"target-ref":t.targetRef,placement:t.editModePopupOptions.placement,offset:t.editModePopupOptions.offset,"auto-update":t.editModePopupOptions.autoUpdate,flip:t.editModePopupOptions.flip,"is-mobile-fixed-to-bottom":!t.isMobilePopupStickedToBottom,"is-controls":"","is-mobile-sticked-to-bottom":t.isMobilePopupStickedToBottom,"portal-selector":m(jo),"ignore-target-position-change":"",onClickOutside:E},{default:k(()=>[wt(I.$slots,"edit-mode-popup")]),_:3},8,["target-ref","placement","offset","auto-update","flip","is-mobile-fixed-to-bottom","is-mobile-sticked-to-bottom","portal-selector"])):g.value?(r(),S(xe,{key:1,to:m(U3)},[b(pw,{"enter-element-edit-mode-button-title":t.enterEditModeButtonTitle,"element-id":o.elementId,onElementDeleted:T[0]||(T[0]=x=>n("element-deleted"))},{default:k(()=>[wt(I.$slots,"additional-edit-buttons")]),_:3},8,["enter-element-edit-mode-button-title","element-id"])],8,["to"])):(r(),S(Se,{key:2,"target-ref":t.nonGridElementRef||m(l),"portal-selector":m(jo),placement:t.controlsPopupOptions.placement,"is-controls":"","auto-update":t.controlsPopupOptions.autoUpdate,flip:t.controlsPopupOptions.flip,offset:t.controlsPopupOptions.offset},{default:k(()=>[b(pw,{"enter-element-edit-mode-button-title":t.enterEditModeButtonTitle,"element-id":o.elementId,"is-main-controls-disabled":t.isMainControlsDisabled,onElementDeleted:T[1]||(T[1]=x=>n("element-deleted"))},{default:k(()=>[wt(I.$slots,"additional-edit-buttons")]),_:3},8,["enter-element-edit-mode-button-title","element-id","is-main-controls-disabled"])]),_:3},8,["target-ref","portal-selector","placement","auto-update","flip","offset"]))])):B("",!0)}},bj=K({__name:"GridButton",props:{tagName:{default:"a"},href:{default:null},target:{default:null},rel:{default:null},type:{default:"primary"},buttonType:{default:null},content:{default:""},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},fontSizeMobile:{default:null},fontSizeDesktop:{default:null},fontFamily:{default:null},fontWeight:{default:null},borderWidth:{default:null},borderRadius:{default:null},backgroundColor:{default:null},fontColor:{default:null},borderColor:{default:null},backgroundColorHover:{default:null},fontColorHover:{default:null},borderColorHover:{default:null},mobileElementWidth:{default:0},mobileElementHeight:{default:0},isInBuilder:{type:Boolean,default:!1}},emits:["click","drag","dragstart"],setup(t){const e=t,o=d(()=>`${e.mobileElementWidth*100/bi}vw`),n=d(()=>`${e.mobileElementHeight*100/bi}vw`),s=d(()=>({"--font-size-mobile":e.fontSizeMobile?`${e.fontSizeMobile}px`:null,"--font-size-desktop":e.fontSizeDesktop?`${e.fontSizeDesktop}px`:null,"--font-family":e.fontFamily,"--font-weight":e.fontWeight,"--border-radius":e.borderRadius===0||e.borderRadius?`${e.borderRadius}px`:null,"--border-width":e.borderWidth===0||e.borderWidth?`${e.borderWidth}px`:"0px","--background-color":e.backgroundColor,"--font-color":e.fontColor,"--border-color":e.borderColor||"rgb(26, 26, 26)","--background-color-hover":e.backgroundColorHover,"--font-color-hover":e.fontColorHover,"--border-color-hover":e.borderColorHover,"--m-height":e.isInBuilder?"100%":n.value,"--m-width":e.isInBuilder?"100%":o.value})),a=d(()=>({"grid-button--empty":!e.content,[`grid-button--${e.type}`]:e.type,loading:e.isLoading}));return(l,i)=>(r(),S(Do(l.tagName),{type:l.buttonType,name:l.buttonType,href:l.href,disabled:l.isDisabled,target:l.target,rel:l.rel,class:ut(["grid-button",a.value]),"aria-hidden":l.isLoading,style:re(s.value),onClick:i[0]||(i[0]=c=>l.$emit("click",c)),onDrag:i[1]||(i[1]=c=>l.$emit("drag",c)),onDragstart:i[2]||(i[2]=c=>l.$emit("dragstart",c))},{default:k(()=>[U(w(l.content),1)]),_:1},40,["type","name","href","disabled","target","rel","class","aria-hidden","style"]))}}),wa=V(bj,[["__scopeId","data-v-4a176f12"]]),fj={class:"datalist__no-results text-body-2"},yj=K({__name:"ZyroSelect",props:{options:{},inputId:{},labelKey:{},placeholder:{default:""},modelValue:{},taggable:{type:Boolean},createOption:{},filterable:{type:Boolean,default:!0},filterBy:{},searchable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},shouldOpenDropdownOnInput:{type:Boolean,default:!1},isInfiniteScrollEnabled:{type:Boolean,default:!1},totalOptionsCount:{},error:{default:""},selectable:{type:Function,default:()=>!0},isArrowVisible:{type:Boolean}},emits:["update:model-value","search","option:created","blur","load-more","open"],setup(t,{emit:e}){const o=e,n=t,s=C(null),a=C(!1),l=C(null),i=d(()=>n.totalOptionsCount&&n.options.lengthn.shouldOpenDropdownOnInput?!!g.length:a.value,u=async()=>{var g;o("open"),a.value=!0,await Ye(),!(!n.isInfiniteScrollEnabled||n.totalOptionsCount===n.options.length||!s.value)&&((g=l.value)==null||g.observe(s.value))},p=()=>{var g;a.value=!1,n.isInfiniteScrollEnabled&&((g=l.value)==null||g.disconnect())};return Vt(()=>{n.isInfiniteScrollEnabled&&(l.value=new IntersectionObserver(async([{isIntersecting:g,target:f}])=>{if(g){const y=f.offsetParent,{scrollTop:E}=f.offsetParent;o("load-more"),await Ye(),y.scrollTop=E}}))}),(g,f)=>{var E;const y=rt("qa");return r(),v("div",{class:ut(["datalist",[{"datalist--opened":a.value},{"datalist--error":g.error}]])},[R((r(),S(m(IT),{"input-id":g.inputId,class:ut(["datalist__select",[{"datalist__select--disabled":g.disabled}]]),options:g.options,"model-value":g.modelValue,placeholder:g.placeholder,label:g.labelKey,filterable:g.filterable,taggable:g.taggable,"create-option":g.createOption,"dropdown-should-open":c,selectable:g.selectable,searchable:g.searchable,"filter-by":g.filterBy,disabled:g.disabled,"onUpdate:modelValue":f[0]||(f[0]=I=>g.$emit("update:model-value",I)),onOpen:u,onClose:p,onSearch:f[1]||(f[1]=I=>g.$emit("search",I)),"onSearch:blur":f[2]||(f[2]=I=>g.$emit("blur",I))},{"open-indicator":k(()=>[R(b(ct,{class:"datalist__select-arrow",name:"expand_more"},null,512),[[so,!g.isArrowVisible]])]),"no-options":k(()=>[h("div",fj,w(g.$t("common.searchNoResults")),1)]),option:k(I=>[wt(g.$slots,"option",{option:I},void 0,!0)]),"selected-option":k(I=>[wt(g.$slots,"selected-option",{option:I},void 0,!0)]),"list-footer":k(()=>[R(h("li",{ref_key:"infiniteScrollTriggerRef",ref:s,class:"datalist__loader-wrapper"},[b(je,{size:"16px",weight:"2px",color:"black"})],512),[[so,g.isInfiniteScrollEnabled&&i.value]])]),_:3},8,["input-id","class","options","model-value","placeholder","label","filterable","taggable","create-option","selectable","searchable","filter-by","disabled"])),[[y,`dropdown-button-select-${((E=g.modelValue)==null?void 0:E[g.labelKey])??""}`]])],2)}}}),_o=V(yj,[["__scopeId","data-v-a274c808"]]),vj=K({props:{title:{type:String,default:""},subtitle:{type:String,default:""}}}),_j={class:"empty-block"},wj={key:0,class:"empty-block__title text-bold-2"},kj={key:1,class:"text-body-2"};function Ej(t,e,o,n,s,a){return r(),v("div",_j,[t.title?(r(),v("h3",wj,w(t.title),1)):B("",!0),t.subtitle?(r(),v("p",kj,w(t.subtitle),1)):B("",!0)])}const hg=V(vj,[["render",Ej],["__scopeId","data-v-14c023db"]]),Ij={class:"link-settings-file-download"},Sj={key:0,class:"link-settings-file-download__selected-file"},xj={class:"link-settings-file-download__selected-file-name text-body-2"},Tj={class:"link-settings-file-download__select-file-container"},Cj=K({__name:"LinkSettingsFileDownload",props:{href:{default:null}},emits:["update:href","update:target"],setup(t,{emit:e}){const o=t,n=e,s=C(!1),{t:a}=_t(),l=d(()=>o.href?a("builder.linkSettingsChangeFile"):a("builder.linkSettingsSelectFile")),i=()=>{s.value=!1},c=(p={url:null})=>{n("update:href",p.url),i()},u=()=>{n("update:href",null),n("update:target",null)};return(p,g)=>{const f=rt("qa");return r(),v("div",Ij,[p.href?(r(),v("div",Sj,[b(Qt,{name:"document",class:"link-settings-file-download__selected-file-document-icon"}),h("p",xj,w(m(dv)(p.href,!0)),1),b(gt,{class:"link-settings-file-download__selected-file-x-icon","button-type":"plain",theme:"highlight",onClick:u},{icon:k(()=>[b(ct,{name:"close"})]),_:1})])):(r(),S(hg,{key:1,class:"link-settings-file-download__empty-pages-block",subtitle:p.$t("builder.linkSettingsNoFileSelected")},null,8,["subtitle"])),h("div",Tj,[R((r(),S(gt,{onClick:g[0]||(g[0]=y=>s.value=!0)},{default:k(()=>[U(w(l.value),1)]),_:1})),[[f,"button-select-file"]])]),s.value?(r(),S(xe,{key:2,to:"body"},[b(Xa,{"visible-categories":[m(Ro).DOCUMENT,m(Ro).IMAGE],onUpdateTarget:g[1]||(g[1]=y=>p.$emit("update:target","_blank")),onSelectImage:c,onClose:i},null,8,["visible-categories"])])):B("",!0)])}}}),Pj=V(Cj,[["__scopeId","data-v-8f1ebf70"]]),Bj=({productsSeo:t,sitePages:e,defaultProductTemplateId:o})=>t.flatMap(s=>{var l,i;const a=(l=s.seo_settings)==null?void 0:l.templateId;return(i=s.seo_settings)!=null&&i.slug?{title:s.title,value:a&&e[a]?a:o,type:le.PAGE,slug:s.seo_settings.slug,isProductPage:!0}:[]}),Aj=t=>(Te("data-v-96df34d8"),t=t(),Ce(),t),Dj={class:"text-bold-2 link-settings__label"},zj={key:0,class:"link-settings__selected-type"},Lj={class:"link-type-option"},$j={class:"link-type-option__left"},Oj={key:0},Rj={class:"anchor-id"},Mj=Aj(()=>h("br",null,null,-1)),Nj=K({__name:"LinkSettings",props:{target:{default:"_self"},href:{default:""},rel:{},type:{default:le.PAGE},pageId:{default:""}},emits:["update:type","update:href","update:pageId","update:target","update:rel"],setup(t,{emit:e}){const o=ci.HTTPS,n=Object.values(ci),s={value:"",type:le.PAGE},a=t,l=e,{t:i}=_t(),{getters:c,state:u}=et(),p=ue(),g=Bt(),{isAiBuilderMode:f}=Co(),y=d(()=>c.sitePages),E=d(()=>c.siteBlocks),I=d(()=>u.currentLocale!==c.defaultLocale?`/${u.currentLocale}`:""),T=d(()=>c.isCurrentPagePrivate),x=d(()=>c.privatePage||{}),P=()=>{if(!a.href.includes("#"))return s;const[Et,At]=a.href.split("#"),kt=Et.replace(`${I.value}`,"").replace(v8,""),Lt=kt?Object.values(y.value).find(({slug:jt})=>kt===jt):c.sitePages[c.homePageId];return Lt?{value:At,title:T.value?x.value.name:Lt.name,slug:a.href,type:le.ANCHORED_SECTION}:s},z=(Et,At)=>{var Lt;const kt=p.productsSeoWithUpdates.find(jt=>jt.id===Et.productId);return{title:Et.name||(kt==null?void 0:kt.title),value:At,type:le.PAGE,slug:(Lt=kt==null?void 0:kt.seo_settings)==null?void 0:Lt.slug,isProductPage:!0}},L=()=>{var At,kt;const Et=y.value[a.pageId];if(!Et)return s;if(Et.type===vn)return z(Et,a.pageId);if(Et.type===Uo){const Lt=(At=a.href.match(/\/([^/]+)/))==null?void 0:At[1],jt=p.productsSeoWithUpdates.find($t=>$t.seo_settings.slug===Lt);return{title:(jt==null?void 0:jt.seo_settings.title)||(jt==null?void 0:jt.title),value:a.pageId,type:le.PAGE,slug:Lt}}return{title:Et.type===Ma?(kt=Et.meta)==null?void 0:kt.title:Et.name,value:a.pageId,type:le.PAGE,slug:Et.slug}},A=C(a.type===le.PAGE?L():a.href?a.type===le.ANCHORED_SECTION?P():{value:a.href,type:a.type}:s),D=C(!1),O=C(!0),M=de(),H=d(()=>[{title:i("builder.linkSettingsPage"),icon:"draft",type:le.PAGE},{title:i("builder.linkSettingsCustomLink"),icon:"link",type:le.EXTERNAL},{title:i("builder.linkSettingsSection"),icon:"calendar_view_day",type:le.ANCHORED_SECTION},{title:i("builder.linkSettingsEmailAddress"),icon:"mail",type:le.EMAIL},{title:i("builder.linkSettingsPhoneNumber"),icon:"call",type:le.PHONE},...f.value?[]:[{title:i("builder.linkSettingsFileDownload"),icon:"description",type:le.DOWNLOAD}]]),j=C(a.href?a.type:le.PAGE),q=C(le.PAGE),W=d(()=>H.value.find(Et=>j.value===Et.type)),Z=d(()=>({email:i("builder.editButton.linkSettings.emailPlaceholder"),external:"https://www.example.com",phone:i("builder.editButton.linkSettings.phonePlaceholder")})),G=d(()=>Object.values(E.value).find(Et=>{const{htmlId:At,slot:kt}=Et;return!!At&&kt==="footer"})),X=Et=>Et===c.homePageId,ot=d(()=>[...Object.entries(E.value).filter(([Et,At])=>{var Lt,jt;const kt=T.value?(Lt=x.value.blocks)==null?void 0:Lt.includes(Et):!((jt=x.value.blocks)!=null&&jt.includes(Et));return!!At.htmlId&&At.slot!=="footer"&&kt}).map(([Et,{htmlId:At}])=>{const[kt,Lt]=Object.entries(y.value).find(([,{blocks:Ct}])=>(Ct||[]).includes(Et)),jt=`/${X(kt)?"":Lt.slug}#${At}`,$t=`${I.value}${X(kt)?"":`/${Lt.slug}`}#${At}`;return{value:At,title:Lt.name,slug:I.value?$t:jt,type:le.ANCHORED_SECTION}}),...G.value?[{value:G.value.htmlId,title:c.currentPage.name,slug:`#${G.value.htmlId}`,type:le.ANCHORED_SECTION}]:[]]),st=C(ot.value.length?i("builder.editButton.linkSettings.anchoredSectionPlaceholder"):i("builder.editButton.linkSettings.noNamedSections")),J=Et=>j.value===Et,Q=d(()=>J(le.EXTERNAL)||J(le.EMAIL)||J(le.PHONE)),lt=d(()=>J(le.PAGE)||J(le.EXTERNAL)||J(le.ANCHORED_SECTION)),pt=d(()=>J(le.EXTERNAL)||J(le.ANCHORED_SECTION)),dt=d(()=>{const Et=Object.entries(y.value).filter(([,kt])=>kt.type!==Oa).flatMap(([kt,Lt])=>{var $t;if(Lt.type===vn)return z(Lt,kt);if(Lt.type===Uo)return[];const jt=X(kt)?"":Lt.slug;return{title:Lt.type===Ma?($t=Lt.meta)==null?void 0:$t.title:Lt.name,value:kt,type:le.PAGE,slug:jt}}),At=Bj({productsSeo:p.productsSeoWithUpdates,sitePages:y.value,defaultProductTemplateId:g.ecommerceDefaultProductPageTemplateId});return[...Et,...At]}),bt=({newValue:Et,isValid:At=!0})=>{O.value=At,At&&l("update:href",Et||"")},ht=Et=>{if(Et.value){if(Et.type===le.EXTERNAL){const kt=n.some(jt=>Et.value.startsWith(jt))?Et.value:`${o}${Et.value}`,Lt=k8(kt);if(!Lt.isUrlValid){bt({isValid:!1});return}bt({newValue:Lt.url});return}if(Et.type===le.EMAIL){const At=Dy(Et.value);if(!At.isUrlValid){bt({isValid:!1});return}bt({newValue:At.url});return}if(Et.type===le.PHONE){const At=J9(Et.value);if(!At.isUrlValid){bt({isValid:!1});return}bt({newValue:At.url});return}if(Et.type===le.PAGE){let At=I.value&&Et.slug?`${I.value}/`:I.value;(!I.value||Et.isProductPage)&&(At="/"),bt({newValue:`${At}${Et.slug}`}),l("update:pageId",Et.value)}Et.type===le.ANCHORED_SECTION&&(bt({newValue:Et.slug}),l("update:pageId",Et.value))}},yt=Et=>{if(typeof Et=="string"){A.value={value:Et,type:j.value};return}A.value=Et},nt=()=>{D.value=!0,ht(A.value)};Mt(()=>A.value,Et=>ht(Et),{deep:!0}),Mt(()=>a.type,Et=>{j.value=Et},{immediate:!0});const tt=()=>{j.value=q.value},mt=Et=>{Et&&(j.value=Et.type,q.value=Et.type,A.value=s,D.value=!1,O.value=!0,l("update:type",Et.type),l("update:href",""),l("update:pageId",""),l("update:rel",""),l("update:target","_self"),Et.type===le.EXTERNAL&&(l("update:rel","nofollow"),l("update:target","_blank")))},it=()=>{l("update:target",a.target==="_blank"?"_self":"_blank")},vt=()=>{l("update:rel",a.rel==="nofollow"?"":"nofollow")};return(Et,At)=>{const kt=Y("i18n-t"),Lt=rt("qa");return r(),v("div",null,[h("p",Dj,w(Et.$t("builder.editButton.linkSettings.label")),1),R((r(),S(_o,{modelValue:j.value,"onUpdate:modelValue":[At[0]||(At[0]=jt=>j.value=jt),mt],"label-key":"title",options:H.value,class:"link-settings__input-dropdown",label:Et.$t("builder.editButton.linkSettings.label"),onBlur:tt},{"selected-option":k(()=>[W.value?R((r(),v("div",zj,[b(ct,{name:W.value.icon,dimensions:"20px"},null,8,["name"]),U(" "+w(W.value.title),1)])),[[Lt,"link-settings-selected-link-type"]]):B("",!0)]),option:k(({option:jt})=>[R((r(),v("div",Lj,[h("div",$j,[b(ct,{name:jt.icon,dimensions:"20px"},null,8,["name"]),U(" "+w(jt.title),1)]),jt.type===j.value?(r(),S(ct,{key:0,name:"check",dimensions:"20px"})):B("",!0)])),[[Lt,`dropdown-option-${jt.title}`]])]),_:1},8,["modelValue","options","label"])),[[Lt,"linksettingsmodal-inputdropdown-page"]]),J(m(le).DOWNLOAD)?(r(),S(Pj,{key:0,href:Et.href,"onUpdate:target":At[1]||(At[1]=jt=>Et.$emit("update:target",jt)),"onUpdate:href":At[2]||(At[2]=jt=>Et.$emit("update:href",jt))},null,8,["href"])):(r(),v(at,{key:1},[J(m(le).ANCHORED_SECTION)?(r(),v("div",Oj,[R((r(),S(_o,{class:"link-settings__anchored-section-datalist","label-key":"slug",options:ot.value,"model-value":A.value.value?A.value.value:null,placeholder:st.value,disabled:!ot.value.length,"onUpdate:modelValue":yt},{"selected-option":k(()=>[b(kt,{tag:"span",keypath:"builder.editButton.linkSettings.anchorInPage",class:"anchored-section__search-value"},{default:k(()=>[h("span",Rj,w(A.value.value),1),R((r(),v("span",null,[U(w(A.value.title),1)])),[[Lt,"section-link-dropdown-active-item"]])]),_:1})]),option:k(({option:jt})=>[h("span",null,w(jt.value),1),Mj,b(kt,{tag:"span",keypath:"builder.editButton.linkSettings.anchorWithPageSuffix",class:"anchored-section__option-page-name"},{default:k(()=>[U(w(jt.title),1)]),_:2},1024)]),_:1},8,["options","model-value","placeholder","disabled"])),[[Lt,"section-link-dropdown"]])])):B("",!0),J(m(le).PAGE)?R((r(),S(_o,{key:1,class:"link-settings__anchored-section-datalist",options:dt.value,"label-key":"title","model-value":A.value.value?A.value.value:null,placeholder:m(i)("builder.editButton.linkSettings.pagePlaceholder"),"onUpdate:modelValue":yt},{"selected-option":k(()=>[R((r(),v("span",null,[U(w(A.value.title),1)])),[[Lt,"page-link-dropdown-active-item"]])]),option:k(({option:jt})=>[h("span",null,w(jt.title),1)]),_:1},8,["options","model-value","placeholder"])),[[Lt,"page-link-dropdown"]]):B("",!0),Q.value?R((r(),S(Ne,{key:2,id:`${m(M)}-link`,"model-value":A.value.value?A.value.value:"","qa-selector":"linksettingsmodal-input",placeholder:Z.value[j.value],error:!O.value&&Et.$t("validate.url"),onInputBlur:nt,"onUpdate:modelValue":yt},null,8,["id","model-value","placeholder","error"])),[[Lt,"new-link-url-input-field"]]):B("",!0),lt.value?R((r(),S(to,{key:3,id:`${m(M)}-toggle-openinnewtab`,class:"link-settings__toggle","model-value":Et.target==="_blank",label:Et.$t("builder.editButton.linkSettings.toggleFieldLabel"),"onUpdate:modelValue":it},null,8,["id","model-value","label"])),[[Lt,"linksettingsmodal-inputtoggle-openinnewtab"]]):B("",!0),pt.value?R((r(),S(to,{key:4,id:`${m(M)}-toggle-relnofollow`,class:"link-settings__toggle","model-value":Et.rel==="nofollow",label:Et.$t("builder.editButton.linkSettings.toggleRelNoFollowFieldLabel"),message:Et.$t("builder.editButton.linkSettings.toggleRelNoFollowFieldDescription"),"onUpdate:modelValue":vt},null,8,["id","model-value","label","message"])),[[Lt,"linksettingsmodal-inputtoggle-relnofollow"]]):B("",!0)],64))])}}}),Em=V(Nj,[["__scopeId","data-v-96df34d8"]]),uI=K({__name:"EditButtonTabAction",props:{elementId:{}},setup(t){const e=t,o=["GridStripeButton","GridEcommerceButton"],{getters:n,dispatch:s}=et(),a=C(e.elementId),l=d(()=>a.value?n.siteElements[a.value]:null),i=d(()=>{var u;return o.includes((u=l.value)==null?void 0:u.type)}),c=(u,p)=>{s("mergeElementData",{elementId:a.value,elementData:{[u]:p}})};return(u,p)=>(r(),v("div",null,[b(Ne,{"model-value":l.value.content,"qa-selector":"linksettingsmodal-input-name",maxlength:"150",label:u.$t("builder.editButton.tabActionLabel"),placeholder:u.$t("builder.editButton.tabActionLabel"),"onUpdate:modelValue":p[0]||(p[0]=g=>c("content",g))},null,8,["model-value","label","placeholder"]),i.value?B("",!0):(r(),S(Em,{key:0,target:l.value.target,href:l.value.href,rel:l.value.rel,type:l.value.linkType,"page-id":l.value.linkedPageId,"onUpdate:href":p[1]||(p[1]=g=>c("href",g)),"onUpdate:rel":p[2]||(p[2]=g=>c("rel",g)),"onUpdate:target":p[3]||(p[3]=g=>c("target",g)),"onUpdate:type":p[4]||(p[4]=g=>c("linkType",g)),"onUpdate:pageId":p[5]||(p[5]=g=>c("linkedPageId",g))},null,8,["target","href","rel","type","page-id"]))]))}}),pI="https://builder-backend.hostinger.com/v3/nps",Hj=async t=>(await qt.get(`${pI}/last-evaluation/${t}`)).data,gI=async({score:t,comment:e,formType:o,device:n,importedWebsiteUrl:s,siteId:a,checkboxesData:l=[]})=>qt.post(`${pI}`,{score:t,comment:e,formType:o,device:n,importedWebsiteUrl:s,siteId:a,...(l==null?void 0:l.length)&&{checkboxes:l}}),Li=Mo(Xo.NPS,()=>{const t=C(!1),e=C(""),o=C({titleI18Key:"",formType:_l,maxScoreI18Key:"",lowestScoreI18Key:"",importedWebsiteUrl:""}),n=C(!1),s=p=>{t.value=p},a=p=>{e.value=p},l=({formType:p,importedWebsiteUrl:g=""})=>{if(!s2[p])throw new Error(`Unknown "${p}" was used`);o.value={...s2[p],importedWebsiteUrl:g}};return{isNpsVisible:t,question:e,npsData:o,isMarketingToolsSurveySent:n,setNpsVisible:s,setNpsQuestion:a,updateNpsData:l,refetchNpsModalVisibilityStatus:async({formType:p}={})=>{try{const{daysPassed:g}=await Hj(_l),f=g>lA||g===null,y=Io(j4)!=="true",E=f&&y;E&&l({formType:p||_l}),s(E)}catch(g){Wt(g),s(!1)}},setNpsData:({isVisible:p,formType:g,importedWebsiteUrl:f,newQuestion:y})=>{l({formType:g||_l,importedWebsiteUrl:f}),y&&a(y),s(p)},setIsMarketingToolsSurveySent:p=>{n.value=p}}}),Gj={key:0,class:"rate-feature__text"},Fj=K({__name:"NpsRateFeature",props:{type:{},featureName:{},isDescriptionDisabled:{type:Boolean,default:!1},hideBorder:{type:Boolean,default:!1},question:{}},setup(t){const e=t,{t:o}=_t(),{isAiBuilderMode:n}=Co(),s=Li(),a=()=>{s.setNpsData({newQuestion:e.question||`${o("builder.npsRateQuestion")} ${e.featureName}`,isVisible:!0,formType:e.type})};return(l,i)=>{const c=Y("i18n-t");return m(n)?B("",!0):(r(),v("div",{key:0,class:ut(["rate-feature",{"rate-feature--description-disabled":l.isDescriptionDisabled}])},[h("div",{class:ut(["rate-feature__container",{"rate-feature__container--with-border":!l.hideBorder}])},[h("a",{target:"_blank",class:"rate-feature__link rate-feature__link--icon z-link",onClick:a},[b(ct,{name:"add_reaction",color:"gray",dimensions:"20px"})]),l.isDescriptionDisabled?B("",!0):(r(),v("p",Gj,[b(c,{tag:"p",keypath:"builder.editImage.tabSeo.NpsImage"},{default:k(()=>[h("a",{"data-qa":"feature-nps-modal-link",target:"_blank",class:"rate-feature__link z-link",onClick:a},w(l.$t("builder.editImage.tabSeo.NpsImageRateThisFeature")),1)]),_:1})]))],2)],2))}}}),fo=V(Fj,[["__scopeId","data-v-6505e792"]]),Vj=K({components:{NpsRateFeature:fo,HostingerButton:gt},setup(){const{redirectToEcommerceProducts:t}=dn();return{redirectToEcommerceProducts:t,NPS_TYPE_FEATURE_SIMPLE_STORE:Vc}},methods:{...Rn({openModal:Le,closeModal:ze})}}),Uj={class:"ecommerce-no-products"},jj={class:"ecommerce-no-products__text text-body-1"};function Wj(t,e,o,n,s,a){const l=Y("HostingerButton"),i=Y("NpsRateFeature"),c=rt("qa");return r(),v("div",null,[h("div",Uj,[h("p",jj,w(t.$t("builder.editButton.ecommerce.noProducts")),1),R((r(),S(l,{"button-type":"outlined",onClick:t.redirectToEcommerceProducts},{default:k(()=>[U(w(t.$t("builder.editButton.ecommerce.addProducts")),1)]),_:1},8,["onClick"])),[[c,"ecommerce-settings-button-addproducts"]])]),b(i,{"feature-name":t.$t("builder.npsRateOnlineStore"),type:t.NPS_TYPE_FEATURE_SIMPLE_STORE},null,8,["feature-name","type"])])}const mI=V(Vj,[["render",Wj],["__scopeId","data-v-371b76e5"]]),qj={class:"ecommerce-tab"},Yj=["aria-disabled"],Kj={key:0,class:"ecommerce-tab__dropdown-prefix"},Zj={class:"text-body-2"},Qj={class:"ecommerce-tab__dropdown-option"},Xj={key:0,class:"ecommerce-tab__dropdown-prefix"},Jj=K({__name:"EditButtonTabEcommerce",setup(t){const{t:e}=_t(),{state:o,getters:n,dispatch:s}=et(),a=xn(),l=ue(),i={id:-1,title:e("builder.ecommerce.chooseProduct")},c=C(0),u=d(()=>n.currentElementSettings),p=d(()=>l.products),g=d(()=>{const{productId:D}=u.value;return p.value.find(O=>O.id===D)}),f=d(()=>{var O;const{productVariantId:D}=u.value;return(O=g.value)==null?void 0:O.variants.find(M=>M.id===D)}),y=d(()=>g.value||i),E=d(()=>f.value||i),I=d(()=>y.value.id!==-1),T=d(()=>I.value?!!y.value.options.length:!1),x=d(()=>p.value.map(D=>{var M;const[O]=D.variants;return{id:D.id,disabled:(M=D.custom_fields)==null?void 0:M.some(({is_required:H})=>H),title:D.title,defaultVariantId:O.id,sku:D.options.length?null:O.sku}})),P=d(()=>o.gui.isMobileScreen),z=async()=>{await It.logEvent({eventName:"website_builder.ecomm_products.edit",eventProperties:{location:"button"}}),a.setIsEcommerceAdminIframeOpen({isOpen:!0,path:bo.PRODUCTS_EDIT,params:{[fn.PRODUCT]:y.value.id}})},L=D=>{s("mergeCurrentElementData",{elementData:{settings:{productId:D.id,productVariantId:D.defaultVariantId}}})},$=D=>{s("mergeCurrentElementData",{elementData:{settings:{productVariantId:D.id}}})},A=async()=>{l.count!==p.value.length&&(c.value+=1,await l.fetchProducts({limit:25*c.value}))};return Vt(async()=>{await A()}),(D,O)=>{const M=rt("qa");return r(),v("div",qj,[p.value.length?(r(),v(at,{key:1},[b(ee,{class:"ecommerce-tab__label"},{default:k(()=>[U(w(D.$t("builder.editButton.ecommerce.connectButtonTo")),1)]),_:1}),R((r(),S(_o,{class:"ecommerce-tab__dropdown",options:x.value,"label-key":"title","model-value":y.value,"is-lazyload-enabled":"","total-options-count":m(l).count,selectable:H=>!H.disabled,onLoadMore:A,"onUpdate:modelValue":L},{option:k(({option:H})=>[R((r(),v("div",{"aria-disabled":H.disabled,class:ut(["ecommerce-tab__dropdown-option",{"ecommerce-tab__dropdown-option--disabled":H.disabled}])},[h("div",null,[H.sku?(r(),v("span",Kj,w(`SKU ${H.sku}`),1)):B("",!0),U(" "+w(H.title),1)]),H.disabled?(r(),S(Ko,{key:0,position:P.value?"top":"bottom","toggle-event":"hover",mode:"dark","use-portal":!P.value,"forced-position":P.value?{left:"0px",top:"130px","white-space":"wrap"}:void 0},{trigger:k(()=>[b(ct,{name:"help-circle",dimensions:"15px"})]),default:k(()=>[h("p",Zj,w(D.$t("builder.cannotAssignCustomField")),1)]),_:1},8,["position","use-portal","forced-position"])):B("",!0)],10,Yj)),[[M,`dropdown-option-${H.title}`]])]),_:1},8,["options","model-value","total-options-count","selectable"])),[[M,"ecommerce-button-product-select"]]),T.value?(r(),v(at,{key:0},[b(ee,{class:"ecommerce-tab__label"},{default:k(()=>[U(w(D.$t("builder.editButton.ecommerce.productOption"))+": ",1)]),_:1}),R((r(),S(_o,{class:"ecommerce-tab__dropdown",options:y.value.variants,"label-key":"title","model-value":E.value,"onUpdate:modelValue":$},{option:k(({option:H})=>[R((r(),v("div",Qj,[H.sku?(r(),v("span",Xj,w(`SKU ${H.sku}`),1)):B("",!0),U(" "+w(H.title),1)])),[[M,`dropdown-option-${H.title}`]])]),_:1},8,["options","model-value"])),[[M,"ecommerce-tab-product-select"]])],64)):B("",!0),I.value?R((r(),S(gt,{key:1,"button-type":"outlined",class:"ecommerce-tab__edit-button",onClick:z},{default:k(()=>[U(w(D.$t("builder.editButton.ecommerce.editProduct")),1)]),_:1})),[[M,"ecommerce-settings-button-editthisproduct"]]):B("",!0)],64)):(r(),S(mI,{key:0}))])}}}),tW=V(Jj,[["__scopeId","data-v-9c4b5bc2"]]),eW=[{value:"flex-start",icon:"align-left"},{value:"center",icon:"align-center"},{value:"flex-end",icon:"align-right"}],oW=[{value:"flex-start",icon:"align",direction:"up"},{value:"center",icon:"align-middle"},{value:"flex-end",icon:"align",direction:"down"}],nW=K({components:{ZyroIconControls:Ul,ZyroLabel:ee},ICONS_ALIGN:eW,ICONS_JUSTIFY:oW,computed:{...he(["currentElementStyles"]),align(){return this.currentElementStyles.align},justify(){return this.currentElementStyles.justify}},methods:{...Ie(["mergeCurrentElementData"]),updateAlign(t){this.mergeCurrentElementData({elementData:{settings:{styles:{align:t}}}})},updateJustify(t){this.mergeCurrentElementData({elementData:{settings:{styles:{justify:t}}}})}}}),iW={class:"layout"},sW={class:"layout__alignment"};function aW(t,e,o,n,s,a){const l=Y("ZyroLabel"),i=Y("ZyroIconControls");return r(),v("div",iW,[b(l,{class:"layout__alignment-label"},{default:k(()=>[U(w(t.$t("builder.editButton.tabLayoutLabel")),1)]),_:1}),h("div",sW,[b(i,{"model-value":t.align,icons:t.$options.ICONS_ALIGN,"onUpdate:modelValue":t.updateAlign},null,8,["model-value","icons","onUpdate:modelValue"]),b(i,{"model-value":t.justify,icons:t.$options.ICONS_JUSTIFY,toggleable:!1,"onUpdate:modelValue":t.updateJustify},null,8,["model-value","icons","onUpdate:modelValue"])])])}const lW=V(nW,[["render",aW],["__scopeId","data-v-e5ffffc6"]]),rW={class:"stripe-set-up-success"},dW={class:"text-body-1 text-bold-2"},cW={__name:"StripeApiKeySaved",emits:["continue"],setup(t){return(e,o)=>{const n=rt("qa");return r(),v("div",rW,[b(Qt,{class:"stripe-set-up-success__icon",name:"check-circle",dimensions:"24px"}),h("p",dW,w(e.$t("builder.editButton.stripe.setUpSuccess")),1),R((r(),S(gt,{class:"stripe-set-up-success__button",onClick:o[0]||(o[0]=s=>e.$emit("continue"))},{default:k(()=>[U(w(e.$t("builder.editButton.stripe.addProduct")),1)]),_:1})),[[n,"stripe-settings-setup-addproduct"]])])}}},uW=V(cW,[["__scopeId","data-v-bfecb491"]]),pW=K({components:{HostingerButton:gt,ZyroFieldInput:Ne},props:{isApiKeyValid:{type:Boolean,default:!1}},emits:["save-key"],data(){return{tempApiKey:null}}}),gW={class:"stripe-set-up__text"},mW={class:"text-bold-1 stripe-set-up__title"},hW=["href","textContent"];function bW(t,e,o,n,s,a){const l=Y("i18n-t"),i=Y("ZyroFieldInput"),c=Y("HostingerButton"),u=rt("qa");return r(),v("form",{class:"stripe-set-up",onSubmit:e[1]||(e[1]=Kt(p=>t.$emit("save-key",t.tempApiKey),["prevent"]))},[h("div",gW,[h("p",mW,w(t.$t("builder.editButton.stripe.setup")),1),b(l,{tag:"p",class:"text-body-1 text-body-2",keypath:"builder.editButton.stripe.activateKey"},{default:k(()=>[h("a",{class:"z-link",href:t.$t("siteSettings.integrationStripeLinkHref"),target:"_blank",textContent:w(t.$t("builder.editButton.stripe.activateKeyHow"))},null,8,hW)]),_:1})]),b(i,{modelValue:t.tempApiKey,"onUpdate:modelValue":e[0]||(e[0]=p=>t.tempApiKey=p),class:"stripe-set-up__field","qa-selector":"stripe-settings-setup-input-apikey",placeholder:t.$t("builder.editButton.stripe.publicApiKey"),label:t.$t("builder.editButton.stripe.publicApiKey"),error:t.isApiKeyValid?null:"The publishable API key doesn't seem to be right. Please try again."},null,8,["modelValue","placeholder","label","error"]),R((r(),S(c,{class:"stripe-set-up__button",type:"submit"},{default:k(()=>[U(w(t.$t("common.save")),1)]),_:1})),[[u,"stripe-settings-setup-button-save"]])],32)}const fW=V(pW,[["render",bW],["__scopeId","data-v-121a0b63"]]),yW={class:"stripe-no-key"},vW={class:"stripe-no-key__text text-body-1"},_W={__name:"StripeNoKey",emits:["continue"],setup(t){return(e,o)=>{const n=rt("qa");return r(),v("div",yW,[b(Qt,{class:"stripe-no-key__logo",name:"stripe-blurple"}),h("p",vW,w(e.$t("builder.editButton.stripe.acceptPayments")),1),R((r(),S(gt,{class:"stripe-no-key__button",onClick:o[0]||(o[0]=s=>e.$emit("continue"))},{default:k(()=>[U(w(e.$t("builder.editButton.stripe.setup")),1)]),_:1})),[[n,"stripe-settings-button-setupcheckout"]])])}}},wW=V(_W,[["__scopeId","data-v-6b5f345a"]]),kW=K({components:{ZyroSvgDeprecated:Qt},props:{type:{type:String,validator(t){return["error","success","warning","info"].includes(t)},default:"success"},message:{type:String,default:""},mode:{type:String,validator(t){return["light","dark"].includes(t)},default:"light"},icon:{type:String,default:"info-circle"},padding:{type:String,default:"18px"}},computed:{computedStyles(){return{"--notification-padding":this.padding}}}}),EW={class:"notification__content"},IW={class:"notification__wrapper"},SW={class:"notification__message text-body-2"};function xW(t,e,o,n,s,a){const l=Y("ZyroSvgDeprecated");return r(),v("div",{style:re(t.computedStyles),class:ut(["notification",`notification--${t.mode}-${t.type}`])},[b(l,{name:t.icon,class:"notification__icon"},null,8,["name"]),h("div",EW,[h("div",IW,[h("p",SW,[wt(t.$slots,"message",{},()=>[U(w(t.message),1)],!0)]),wt(t.$slots,"default",{},void 0,!0)]),wt(t.$slots,"bottom",{},void 0,!0)])],6)}const Ja=V(kW,[["render",xW],["__scopeId","data-v-2823dedf"]]),gw="addProduct",mw="noKey",hw="apiKeySet",TW="noKeyContinue",CW=K({components:{ZyroSelect:_o,ZyroFieldInput:Ne,ZyroLabel:ee,ZyroSegmentControl:zi,ZyroNotification:Ja,StripeApiKeySaved:uW,StripeKeySetUp:fW,StripeNoKey:wW},setup(){const t=Bt(),{t:e}=_t();return{PAYMENT_TYPES:[{title:e("builder.editButton.stripe.paymentPayment"),value:"payment"},{title:e("builder.editButton.stripe.paymentRecurring"),value:"subscription"}],STEP_ADD_PRODUCT:gw,STEP_NO_KEY:mw,STEP_API_KEY_SET:hw,STEP_NO_KEY_CONTINUE:TW,siteStore:t}},data(){return{currentStep:null,isApiKeyValid:!0}},computed:{...he(["siteMeta","currentElementSettings","defaultPages"]),pages(){return Object.entries(this.defaultPages).map(([t,e])=>({id:t,path:e.slug,title:e.name||qg(e.slug)||"Home"}))},paymentType:{get(){var o;const t=((o=this.currentElementSettings)==null?void 0:o.paymentType)||"payment";return this.PAYMENT_TYPES.find(n=>n.value===t)},set(t){this.mergeCurrentElementData({elementData:{settings:{paymentType:t.value}}})}},successPage(){const{successPageId:t}=this.currentElementSettings;return this.pages.find(({id:o})=>o===t)||Object.values(this.pages)[0]},cancellationPage(){const{cancellationPageId:t}=this.currentElementSettings;return this.pages.find(({id:o})=>o===t)||Object.values(this.pages)[0]},priceId(){var t;return((t=this.currentElementSettings)==null?void 0:t.priceId)||""},apiKey:{get(){var t;return((t=this.siteMeta)==null?void 0:t.stripePublicApiKey)||""},set(t){this.isApiKeyValid=N0.test(t),this.isApiKeyValid&&(this.currentStep=hw,this.siteStore.setSiteMetaData({key:"stripePublicApiKey",value:t}))}},isApiKeyTest(){return this.apiKey.includes("test")},isPriceIdValid(){return P3.test(this.priceId)}},created(){this.currentStep=this.apiKey?gw:mw},methods:{...Ie(["mergeCurrentElementData"]),updateSuccessPage(t){this.mergeCurrentElementData({elementData:{settings:{successPageId:t.id}}})},updateCancellationPage(t){this.mergeCurrentElementData({elementData:{settings:{cancellationPageId:t.id}}})},updatePriceId(t){this.mergeCurrentElementData({elementData:{settings:{priceId:t}}})}}}),PW={class:"stripe-product"},BW=["href"],AW=["href"],DW=["href"],zW={class:"text-body-2 setting-description"},LW={class:"text-body-2 setting-description"};function $W(t,e,o,n,s,a){const l=Y("StripeNoKey"),i=Y("StripeKeySetUp"),c=Y("StripeApiKeySaved"),u=Y("ZyroNotification"),p=Y("ZyroFieldInput"),g=Y("ZyroLabel"),f=Y("ZyroSegmentControl"),y=Y("ZyroSelect"),E=rt("qa");return r(),v("div",PW,[t.currentStep===t.STEP_NO_KEY?(r(),S(l,{key:0,onContinue:e[0]||(e[0]=I=>t.currentStep=t.STEP_NO_KEY_CONTINUE)})):B("",!0),t.currentStep===t.STEP_NO_KEY_CONTINUE?(r(),S(i,{key:1,"is-api-key-valid":t.isApiKeyValid,onSaveKey:e[1]||(e[1]=I=>t.apiKey=I)},null,8,["is-api-key-valid"])):t.currentStep===t.STEP_API_KEY_SET?(r(),S(c,{key:2,onContinue:e[2]||(e[2]=I=>t.currentStep=t.STEP_ADD_PRODUCT)})):t.currentStep===t.STEP_ADD_PRODUCT?(r(),v(at,{key:3},[h("a",{href:t.$t("siteSettings.integrationStripeLinkHref"),target:"_blank",class:"stripe-product__link"},[b(u,{class:"stripe-product__notification",message:t.isApiKeyTest?t.$t("builder.editButton.stripe.usingTestKey"):t.$t("builder.editButton.stripe.usingLiveKey"),type:t.isApiKeyTest?"warning":"info",padding:"8px 14px"},null,8,["message","type"])],8,BW),b(p,{"model-value":t.priceId,"qa-selector":"stripe-settings-input-priceid",class:"stripe-product__price-id-field",placeholder:t.$t("builder.editButton.stripe.priceId"),error:!t.isPriceIdValid&&t.priceId.length>0,label:t.$t("builder.editButton.stripe.priceId"),"onUpdate:modelValue":t.updatePriceId},{error:k(()=>[U(w(t.$t("builder.editButton.stripe.priceIdIncorrect"))+" ",1),h("a",{class:"stripe-product__notification--error-link",href:t.$t("siteSettings.integrationStripeLinkHref")},w(t.$t("builder.editButton.stripe.findPriceId")),9,AW)]),_:1},8,["model-value","placeholder","error","label","onUpdate:modelValue"]),t.isPriceIdValid||t.priceId.length===0?(r(),v("a",{key:0,class:"text-body-2 z-link setting-description",href:t.$t("siteSettings.integrationStripeLinkHref"),target:"_blank"},w(t.$t("builder.editButton.stripe.findPriceId")),9,DW)):B("",!0),b(g,{class:"label"},{default:k(()=>[U(w(t.$t("builder.editButton.stripe.paymentType")),1)]),_:1}),b(f,{class:"segment-control",controls:t.PAYMENT_TYPES,"active-control":t.paymentType,"onUpdate:activeControl":e[3]||(e[3]=I=>t.paymentType=I)},null,8,["controls","active-control"]),b(g,{class:"label"},{default:k(()=>[U(w(t.$t("builder.editButton.stripe.successPage")),1)]),_:1}),R(b(y,{class:"page-dropdown","label-key":"title",options:t.pages,"model-value":t.successPage,"onUpdate:modelValue":t.updateSuccessPage},null,8,["options","model-value","onUpdate:modelValue"]),[[E,"stripe-success-page-select"]]),h("p",zW,w(t.$t("builder.editButton.stripe.successPageDescription")),1),b(g,{class:"label"},{default:k(()=>[U(w(t.$t("builder.editButton.stripe.cancellationPage")),1)]),_:1}),R(b(y,{class:"page-dropdown","label-key":"title",options:t.pages,"model-value":t.cancellationPage,"onUpdate:modelValue":t.updateCancellationPage},null,8,["options","model-value","onUpdate:modelValue"]),[[E,"stripe-cancel-page-select"]]),h("p",LW,w(t.$t("builder.editButton.stripe.cancelPageDescription")),1)],64)):B("",!0)])}const OW=V(CW,[["render",$W],["__scopeId","data-v-ffcaca25"]]),RW=ST.extend({parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null}]}}),bw="--fontSizeMobile",fw="--fontSizeDesktop",MW=$l.create({name:"fontSize",addOptions(){return{types:[_n,an,"textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSizeMobile:{parseHTML:t=>t.style.getPropertyValue(bw).replace(/["']+/g,""),renderHTML:t=>t.fontSizeMobile?{style:`${bw}: ${t.fontSizeMobile}`}:{}},fontSizeDesktop:{parseHTML:t=>t.style.getPropertyValue(fw).replace(/["']+/g,""),renderHTML:t=>t.fontSizeDesktop?{style:`${fw}: ${t.fontSizeDesktop}`}:{}}}}]},addCommands(){return{setMarkFontSize:(t,e)=>({chain:o})=>{const n=e?{fontSizeMobile:t}:{fontSizeDesktop:t};return o().setMark("textStyle",n).run()},unsetMarkFontSize:()=>({chain:t})=>t().setMark("textStyle",{fontSizeMobile:null,fontSizeDesktop:null}).removeEmptyTextStyle().run()}}}),NW=$l.create({name:"fontWeight",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontWeight:{default:null,parseHTML:t=>t.style.fontWeight.replace(/["']+/g,""),renderHTML:t=>t.fontWeight?{style:`font-weight: ${t.fontWeight}`}:{}}}}]},addCommands(){return{setFontWeight:t=>({chain:e})=>e().setMark("textStyle",{fontWeight:t}).run(),unsetFontWeight:()=>({chain:t})=>t().setMark("textStyle",{fontWeight:null}).removeEmptyTextStyle().run()}}}),HW=$l.create({name:Y1,addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{[Y1]:{default:null,renderHTML:t=>t.letterCase?{style:`text-transform: ${t.letterCase}`}:{},parseHTML:t=>t.style.textTransform.replace(/["']+/g,"")}}}]},addCommands(){return{toggleLetterCase:t=>({commands:e})=>e.toggleMark("textStyle",{letterCase:t})}}}),GW=$l.create({name:"letterSpacing",addOptions(){return{types:["textStyle","heading","paragraph"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{letterSpacing:{default:null,parseHTML:t=>t.style.letterSpacing.replace(/["']+/g,""),renderHTML:t=>t.letterSpacing?{style:`letter-spacing: ${t.letterSpacing}`}:{}}}}]},addCommands(){return{setMarkLetterSpacing:t=>({chain:e})=>e().setMark("textStyle",{letterSpacing:t}).run(),unsetMarkLetterSpacing:()=>({chain:t})=>t().setMark("textStyle",{letterSpacing:null}).removeEmptyTextStyle().run()}}}),FW=y1.extend({addOptions(){return{...y1.options,openOnClick:!1,autolink:!1}},priority:99,addAttributes(){var t;return{...(t=this.parent)==null?void 0:t.call(this),rel:{default:null},title:{default:null},download:{default:null},style:{default:null},target:{default:null},[M0]:{default:null}}}}),VW=xT.extend({addOptions(){return{types:[_n,an,sf,Zp]}}}),UW=v1.extend({addOptions(){return{...v1.options,levels:R0}},addKeyboardShortcuts(){return[]},addInputRules(){return[]}}),yw="--lineHeightMobile",vw="--lineHeightDesktop",jW=$l.create({name:"lineHeight",addOptions(){return{types:[_n,an]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeightMobile:{parseHTML:t=>t.style.getPropertyValue(yw).replace(/["']+/g,""),renderHTML:t=>t.lineHeightMobile?{style:`${yw}: ${t.lineHeightMobile}`}:{}},lineHeightDesktop:{parseHTML:t=>t.style.getPropertyValue(vw).replace(/["']+/g,""),renderHTML:t=>t.lineHeightDesktop?{style:`${vw}: ${t.lineHeightDesktop}`}:{}}}}]},addCommands(){return{setLineHeight:(t,e)=>({chain:o})=>{const n=e?{lineHeightMobile:t}:{lineHeightDesktop:t};return o().setMark("textStyle",n).run()}}}}),WW=TT.extend({content:"(paragraph|heading) block*"}),qW=$l.create({name:"marginBottom",addOptions(){return{types:[_n,an]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{marginBottom:{default:null,parseHTML:t=>t.style.marginBottom.replace(/["']+/g,""),renderHTML:t=>t.marginBottom?{style:`margin-bottom: ${t.marginBottom}`}:{}}}}]}}),YW=CT.extend({name:an,addAttributes(){return{className:{default:gc,parseHTML:t=>t.getAttribute("class"),renderHTML:t=>!t.className||!PB.includes(t.className)?{class:gc}:{class:t.className}}}},addCommands(){return{setParagraph:t=>({commands:e})=>e.setNode(an,t)}}}),KW=$l.create({name:"AutoDir",addGlobalAttributes(){return[{types:["heading","paragraph","bulletList","orderedList","blockquote"],attributes:{autoDir:{renderHTML:()=>({dir:"auto"}),parseHTML:t=>t.dir||"auto"}}}]}}),ZW=()=>t=>{As(t,"element",e=>{var p;if(!((p=e.properties)!=null&&p.style))return;const{width:o,"max-width":n,"min-width":s,height:a,"max-height":l,"min-height":i,...c}=t4(e.properties.style)||{},u=Object.entries(c).map(([g,f])=>`${g}: ${f}`).join("; ");e.properties.style=u})},QW=t=>t.replace(/\\+/g,"").replace(/"/g,""),XW=()=>t=>As(t,"element",e=>{var o;(o=e.properties)!=null&&o.style&&(e.properties.style=QW(e.properties.style))}),JW={useBuiltInExtensions:!1,editorProps:{transformPastedText(t){return t.replace(/\u00A0/g," ")},transformPastedHTML(t){return Bs().data("settings",Ds).use(ZW).use(XW).processSync(t).toString().replace(/\u00A0/g," ")}},parseOptions:{preserveWhitespace:!0},extensions:[KW,BT,AT,UW,YW,DT,zT,VW,RW,LT,$T,OT,RT,MT,WW,FW,jW,NT,HW,GW,MW,HT,NW,qW]},Ri=C(void 0),$i=()=>{const t=l=>{Ri.value=new PT({...JW,content:l})},e=()=>{Ri.value=void 0},o=d(()=>{var p,g,f;if(!((f=(g=(p=Ri.value)==null?void 0:p.view)==null?void 0:g.state)!=null&&f.selection))return!1;const{$anchor:l,$head:i}=Ri.value.view.state.selection,c=l.parentOffset===0&&i.parentOffset===i.parent.content.size,u=i.parentOffset===0&&l.parentOffset===l.parent.content.size;return c||u});return{editor:Ri,initializeEditor:t,removeEditor:e,setCaretPositionToEnd:()=>{var l;(l=Ri.value)==null||l.commands.focus("end")},insertHTMLToEnd:l=>{var i;(i=Ri.value)==null||i.commands.setContent(`${Ri.value.getHTML()}${l}`)},isAllTextNodeSelected:o,getInlineStyleValue:l=>Ri.value&&(Ri.value.getAttributes("textStyle")[l]||Ri.value.getAttributes(an)[l]||Ri.value.getAttributes(_n)[l])||null}},tq=JSON.parse('[{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v29","lastModified":"2021-09-22","files":{"100":"http://fonts.gstatic.com/s/roboto/v29/KFOkCnqEu92Fr1MmgWxPKTM1K9nz.ttf","300":"http://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmSU5vAx05IsDqlA.ttf","500":"http://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmEU9vAx05IsDqlA.ttf","700":"http://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmWUlvAx05IsDqlA.ttf","900":"http://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmYUtvAx05IsDqlA.ttf","100italic":"http://fonts.gstatic.com/s/roboto/v29/KFOiCnqEu92Fr1Mu51QrIzcXLsnzjYk.ttf","300italic":"http://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TjARc9AMX6lJBP.ttf","regular":"http://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf","italic":"http://fonts.gstatic.com/s/roboto/v29/KFOkCnqEu92Fr1Mu52xPKTM1K9nz.ttf","500italic":"http://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51S7ABc9AMX6lJBP.ttf","700italic":"http://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TzBhc9AMX6lJBP.ttf","900italic":"http://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TLBBc9AMX6lJBP.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Open Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],"version":"v27","lastModified":"2021-10-28","files":{"300":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4nY1M2xLER.ttf","500":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4nY1M2xLER.ttf","600":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1y4nY1M2xLER.ttf","700":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4nY1M2xLER.ttf","800":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgshZ1y4nY1M2xLER.ttf","regular":"http://fonts.gstatic.com/s/opensans/v27/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4nY1M2xLER.ttf","300italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVcUwaERZjA.ttf","italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVcUwaERZjA.ttf","500italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk_RkaVcUwaERZjA.ttf","600italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjaVcUwaERZjA.ttf","700italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVcUwaERZjA.ttf","800italic":"http://fonts.gstatic.com/s/opensans/v27/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk0ZjaVcUwaERZjA.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"],"version":"v40","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/notosansjp/v40/-F6ofjtqLzI2JPCgQBnw7HFQoggM-FNthvIU.otf","300":"http://fonts.gstatic.com/s/notosansjp/v40/-F6pfjtqLzI2JPCgQBnw7HFQaioq1H1hj-sNFQ.otf","500":"http://fonts.gstatic.com/s/notosansjp/v40/-F6pfjtqLzI2JPCgQBnw7HFQMisq1H1hj-sNFQ.otf","700":"http://fonts.gstatic.com/s/notosansjp/v40/-F6pfjtqLzI2JPCgQBnw7HFQei0q1H1hj-sNFQ.otf","900":"http://fonts.gstatic.com/s/notosansjp/v40/-F6pfjtqLzI2JPCgQBnw7HFQQi8q1H1hj-sNFQ.otf","regular":"http://fonts.gstatic.com/s/notosansjp/v40/-F62fjtqLzI2JPCgQBnw7HFowAIO2lZ9hg.otf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"],"version":"v22","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/lato/v22/S6u8w4BMUTPHh30wWyWrFCbw7A.ttf","300":"http://fonts.gstatic.com/s/lato/v22/S6u9w4BMUTPHh7USew-FGC_p9dw.ttf","700":"http://fonts.gstatic.com/s/lato/v22/S6u9w4BMUTPHh6UVew-FGC_p9dw.ttf","900":"http://fonts.gstatic.com/s/lato/v22/S6u9w4BMUTPHh50Xew-FGC_p9dw.ttf","100italic":"http://fonts.gstatic.com/s/lato/v22/S6u-w4BMUTPHjxsIPy-vNiPg7MU0.ttf","300italic":"http://fonts.gstatic.com/s/lato/v22/S6u_w4BMUTPHjxsI9w2PHA3s5dwt7w.ttf","regular":"http://fonts.gstatic.com/s/lato/v22/S6uyw4BMUTPHvxk6XweuBCY.ttf","italic":"http://fonts.gstatic.com/s/lato/v22/S6u8w4BMUTPHjxswWyWrFCbw7A.ttf","700italic":"http://fonts.gstatic.com/s/lato/v22/S6u_w4BMUTPHjxsI5wqPHA3s5dwt7w.ttf","900italic":"http://fonts.gstatic.com/s/lato/v22/S6u_w4BMUTPHjxsI3wiPHA3s5dwt7w.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Montserrat","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v23","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Uw-Y3tcoqK5.ttf","200":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr6Ew-Y3tcoqK5.ttf","300":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Ew-Y3tcoqK5.ttf","500":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew-Y3tcoqK5.ttf","600":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w-Y3tcoqK5.ttf","700":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-Y3tcoqK5.ttf","800":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr70w-Y3tcoqK5.ttf","900":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvC70w-Y3tcoqK5.ttf","regular":"http://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew-Y3tcoqK5.ttf","100italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R8aX9-p7K5ILg.ttf","200italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jqyR9aX9-p7K5ILg.ttf","300italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq_p9aX9-p7K5ILg.ttf","italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9aX9-p7K5ILg.ttf","500italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq5Z9aX9-p7K5ILg.ttf","600italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq3p6aX9-p7K5ILg.ttf","700italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq0N6aX9-p7K5ILg.ttf","800italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jqyR6aX9-p7K5ILg.ttf","900italic":"http://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jqw16aX9-p7K5ILg.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"],"version":"v19","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/poppins/v19/pxiGyp8kv8JHgFVrLPTed3FBGPaTSQ.ttf","200":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLFj_V1tvFP-KUEg.ttf","300":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLDz8V1tvFP-KUEg.ttf","500":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLGT9V1tvFP-KUEg.ttf","600":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLEj6V1tvFP-KUEg.ttf","700":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLCz7V1tvFP-KUEg.ttf","800":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLDD4V1tvFP-KUEg.ttf","900":"http://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLBT5V1tvFP-KUEg.ttf","100italic":"http://fonts.gstatic.com/s/poppins/v19/pxiAyp8kv8JHgFVrJJLmE3tFOvODSVFF.ttf","200italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLmv1plEN2PQEhcqw.ttf","300italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLm21llEN2PQEhcqw.ttf","regular":"http://fonts.gstatic.com/s/poppins/v19/pxiEyp8kv8JHgFVrFJDUc1NECPY.ttf","italic":"http://fonts.gstatic.com/s/poppins/v19/pxiGyp8kv8JHgFVrJJLed3FBGPaTSQ.ttf","500italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLmg1hlEN2PQEhcqw.ttf","600italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLmr19lEN2PQEhcqw.ttf","700italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLmy15lEN2PQEhcqw.ttf","800italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLm111lEN2PQEhcqw.ttf","900italic":"http://fonts.gstatic.com/s/poppins/v19/pxiDyp8kv8JHgFVrJJLm81xlEN2PQEhcqw.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v24","lastModified":"2022-01-27","files":{"300":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVi2ZhZI2eCN5jzbjEETS9weq8-33mZKCMSbvtdYyQ.ttf","700":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVi2ZhZI2eCN5jzbjEETS9weq8-32meKCMSbvtdYyQ.ttf","300italic":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVg2ZhZI2eCN5jzbjEETS9weq8-19eDpCEYatlYcyRi4A.ttf","regular":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVl2ZhZI2eCN5jzbjEETS9weq8-59WxDCs5cvI.ttf","italic":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVj2ZhZI2eCN5jzbjEETS9weq8-19e7CAk8YvJEeg.ttf","700italic":"http://fonts.gstatic.com/s/robotocondensed/v24/ieVg2ZhZI2eCN5jzbjEETS9weq8-19eDtCYYatlYcyRi4A.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v41","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs13FvgUFoZAaRliE.ttf","300":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs169vgUFoZAaRliE.ttf","500":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs18NvgUFoZAaRliE.ttf","600":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs1y9ogUFoZAaRliE.ttf","700":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs1xZogUFoZAaRliE.ttf","regular":"http://fonts.gstatic.com/s/oswald/v41/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvgUFoZAaRliE.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],"version":"v13","lastModified":"2021-01-30","files":{"100":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vuPQ--5Ip2sSQ.ttf","200":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_XvqPQ--5Ip2sSQ.ttf","300":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_gPqPQ--5Ip2sSQ.ttf","500":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_7PqPQ--5Ip2sSQ.ttf","600":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_AP2PQ--5Ip2sSQ.ttf","700":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_Of2PQ--5Ip2sSQ.ttf","regular":"http://fonts.gstatic.com/s/robotomono/v13/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vqPQ--5Ip2sSQ.ttf","100italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAeW9AJi8SZwt.ttf","200italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrnnAOW9AJi8SZwt.ttf","300italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrk5AOW9AJi8SZwt.ttf","italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAOW9AJi8SZwt.ttf","500italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlVAOW9AJi8SZwt.ttf","600italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrm5B-W9AJi8SZwt.ttf","700italic":"http://fonts.gstatic.com/s/robotomono/v13/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrmAB-W9AJi8SZwt.ttf"},"category":"monospace","kind":"webfonts#webfont"},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v25","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/notosans/v25/o-0NIpQlx3QUlC5A4PNjXhFlY9aA5Wl6PQ.ttf","regular":"http://fonts.gstatic.com/s/notosans/v25/o-0IIpQlx3QUlC5A4PNb4j5Ba_2c7A.ttf","italic":"http://fonts.gstatic.com/s/notosans/v25/o-0OIpQlx3QUlC5A4PNr4DRFSfiM7HBj.ttf","700italic":"http://fonts.gstatic.com/s/notosans/v25/o-0TIpQlx3QUlC5A4PNr4Az5ZtyEx2xqPaif.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v26","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvao4CPNLA3JC9c.ttf","200":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVtaooCPNLA3JC9c.ttf","300":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVuEooCPNLA3JC9c.ttf","500":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvoooCPNLA3JC9c.ttf","600":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVsEpYCPNLA3JC9c.ttf","700":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pYCPNLA3JC9c.ttf","800":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVtapYCPNLA3JC9c.ttf","900":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVtzpYCPNLA3JC9c.ttf","regular":"http://fonts.gstatic.com/s/raleway/v26/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaooCPNLA3JC9c.ttf","100italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4WjNPrQVIT9c2c8.ttf","200italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4ejMPrQVIT9c2c8.ttf","300italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4TbMPrQVIT9c2c8.ttf","italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4WjMPrQVIT9c2c8.ttf","500italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4VrMPrQVIT9c2c8.ttf","600italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4bbLPrQVIT9c2c8.ttf","700italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4Y_LPrQVIT9c2c8.ttf","800italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4ejLPrQVIT9c2c8.ttf","900italic":"http://fonts.gstatic.com/s/raleway/v26/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4cHLPrQVIT9c2c8.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],"version":"v19","lastModified":"2022-01-27","files":{"300":"http://fonts.gstatic.com/s/ubuntu/v19/4iCv6KVjbNBYlgoC1CzTt2aMH4V_gg.ttf","500":"http://fonts.gstatic.com/s/ubuntu/v19/4iCv6KVjbNBYlgoCjC3Tt2aMH4V_gg.ttf","700":"http://fonts.gstatic.com/s/ubuntu/v19/4iCv6KVjbNBYlgoCxCvTt2aMH4V_gg.ttf","300italic":"http://fonts.gstatic.com/s/ubuntu/v19/4iCp6KVjbNBYlgoKejZftWyIPYBvgpUI.ttf","regular":"http://fonts.gstatic.com/s/ubuntu/v19/4iCs6KVjbNBYlgo6eAT3v02QFg.ttf","italic":"http://fonts.gstatic.com/s/ubuntu/v19/4iCu6KVjbNBYlgoKeg7znUiAFpxm.ttf","500italic":"http://fonts.gstatic.com/s/ubuntu/v19/4iCp6KVjbNBYlgoKejYHtGyIPYBvgpUI.ttf","700italic":"http://fonts.gstatic.com/s/ubuntu/v19/4iCp6KVjbNBYlgoKejZPsmyIPYBvgpUI.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Nunito","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v22","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDDshRTM9jo7eTWk.ttf","300":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDOUhRTM9jo7eTWk.ttf","500":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhRTM9jo7eTWk.ttf","600":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDGUmRTM9jo7eTWk.ttf","700":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDFwmRTM9jo7eTWk.ttf","800":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDDsmRTM9jo7eTWk.ttf","900":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDBImRTM9jo7eTWk.ttf","regular":"http://fonts.gstatic.com/s/nunito/v22/XRXI3I6Li01BKofiOc5wtlZ2di8HDLshRTM9jo7eTWk.ttf","200italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNiLXA3iqzbXWnoeg.ttf","300italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNi83A3iqzbXWnoeg.ttf","italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNirXA3iqzbXWnoeg.ttf","500italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNin3A3iqzbXWnoeg.ttf","600italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNic3c3iqzbXWnoeg.ttf","700italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNiSnc3iqzbXWnoeg.ttf","800italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNiLXc3iqzbXWnoeg.ttf","900italic":"http://fonts.gstatic.com/s/nunito/v22/XRXK3I6Li01BKofIMPyPbj8d7IEAGXNiBHc3iqzbXWnoeg.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"],"version":"v16","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/ptsans/v16/jizfRExUiTo99u79B_mh4OmnLD0Z4zM.ttf","regular":"http://fonts.gstatic.com/s/ptsans/v16/jizaRExUiTo99u79P0WOxOGMMDQ.ttf","italic":"http://fonts.gstatic.com/s/ptsans/v16/jizYRExUiTo99u79D0eEwMOJIDQA-g.ttf","700italic":"http://fonts.gstatic.com/s/ptsans/v16/jizdRExUiTo99u79D0e8fOytKB8c8zMrig.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v22","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojIWWaG5iddG-1A.ttf","200":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoDISWaG5iddG-1A.ttf","300":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjo0oSWaG5iddG-1A.ttf","500":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjovoSWaG5iddG-1A.ttf","600":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoUoOWaG5iddG-1A.ttf","700":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoa4OWaG5iddG-1A.ttf","800":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoDIOWaG5iddG-1A.ttf","900":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoJYOWaG5iddG-1A.ttf","regular":"http://fonts.gstatic.com/s/robotoslab/v22/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISWaG5iddG-1A.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v28","lastModified":"2021-12-17","files":{"300":"http://fonts.gstatic.com/s/merriweather/v28/u-4n0qyriQwlOrhSvowK_l521wRpX837pvjxPA.ttf","700":"http://fonts.gstatic.com/s/merriweather/v28/u-4n0qyriQwlOrhSvowK_l52xwNpX837pvjxPA.ttf","900":"http://fonts.gstatic.com/s/merriweather/v28/u-4n0qyriQwlOrhSvowK_l52_wFpX837pvjxPA.ttf","300italic":"http://fonts.gstatic.com/s/merriweather/v28/u-4l0qyriQwlOrhSvowK_l5-eR7lXcf_hP3hPGWH.ttf","regular":"http://fonts.gstatic.com/s/merriweather/v28/u-440qyriQwlOrhSvowK_l5OeyxNV-bnrw.ttf","italic":"http://fonts.gstatic.com/s/merriweather/v28/u-4m0qyriQwlOrhSvowK_l5-eSZJdeP3r-Ho.ttf","700italic":"http://fonts.gstatic.com/s/merriweather/v28/u-4l0qyriQwlOrhSvowK_l5-eR71Wsf_hP3hPGWH.ttf","900italic":"http://fonts.gstatic.com/s/merriweather/v28/u-4l0qyriQwlOrhSvowK_l5-eR7NWMf_hP3hPGWH.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"],"version":"v28","lastModified":"2022-02-03","files":{"500":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKd3vUDQZNLo_U2r.ttf","600":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKebukDQZNLo_U2r.ttf","700":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiukDQZNLo_U2r.ttf","800":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKfFukDQZNLo_U2r.ttf","900":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKfsukDQZNLo_U2r.ttf","regular":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvUDQZNLo_U2r.ttf","italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_qiTbtbK-F2rA0s.ttf","500italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_pqTbtbK-F2rA0s.ttf","600italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_naUbtbK-F2rA0s.ttf","700italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_k-UbtbK-F2rA0s.ttf","800italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_iiUbtbK-F2rA0s.ttf","900italic":"http://fonts.gstatic.com/s/playfairdisplay/v28/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_gGUbtbK-F2rA0s.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v7","lastModified":"2021-11-10","files":{"100":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyeMZhrib2Bg-4.ttf","200":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuDyfMZhrib2Bg-4.ttf","300":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuOKfMZhrib2Bg-4.ttf","500":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZhrib2Bg-4.ttf","600":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYMZhrib2Bg-4.ttf","700":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZhrib2Bg-4.ttf","800":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuDyYMZhrib2Bg-4.ttf","900":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuBWYMZhrib2Bg-4.ttf","regular":"http://fonts.gstatic.com/s/inter/v7/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZhrib2Bg-4.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"],"version":"v25","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/notosanskr/v25/Pby6FmXiEBPT4ITbgNA5CgmOsn7uwpYcuH8y.otf","300":"http://fonts.gstatic.com/s/notosanskr/v25/Pby7FmXiEBPT4ITbgNA5CgmOelzI7rgQsWYrzw.otf","500":"http://fonts.gstatic.com/s/notosanskr/v25/Pby7FmXiEBPT4ITbgNA5CgmOIl3I7rgQsWYrzw.otf","700":"http://fonts.gstatic.com/s/notosanskr/v25/Pby7FmXiEBPT4ITbgNA5CgmOalvI7rgQsWYrzw.otf","900":"http://fonts.gstatic.com/s/notosanskr/v25/Pby7FmXiEBPT4ITbgNA5CgmOUlnI7rgQsWYrzw.otf","regular":"http://fonts.gstatic.com/s/notosanskr/v25/PbykFmXiEBPT4ITbgNA5Cgm20HTs4JMMuA.otf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],"version":"v18","lastModified":"2022-02-03","files":{"300":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-WYi1UE80V4bVkA.ttf","500":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-NYi1UE80V4bVkA.ttf","600":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-1UE80V4bVkA.ttf","700":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-4I-1UE80V4bVkA.ttf","800":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-h4-1UE80V4bVkA.ttf","900":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-ro-1UE80V4bVkA.ttf","regular":"http://fonts.gstatic.com/s/rubik/v18/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-B4i1UE80V4bVkA.ttf","300italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8sDE0UwdYPFkJ1O.ttf","italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8tdE0UwdYPFkJ1O.ttf","500italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8tvE0UwdYPFkJ1O.ttf","600italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFEUwdYPFkJ1O.ttf","700italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8u6FEUwdYPFkJ1O.ttf","800italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8vdFEUwdYPFkJ1O.ttf","900italic":"http://fonts.gstatic.com/s/rubik/v18/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8v0FEUwdYPFkJ1O.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v23","lastModified":"2022-02-03","files":{"500":"http://fonts.gstatic.com/s/lora/v23/0QI6MX1D_JOuGQbT0gvTJPa787wsuyJGmKxemMeZ.ttf","600":"http://fonts.gstatic.com/s/lora/v23/0QI6MX1D_JOuGQbT0gvTJPa787zAvCJGmKxemMeZ.ttf","700":"http://fonts.gstatic.com/s/lora/v23/0QI6MX1D_JOuGQbT0gvTJPa787z5vCJGmKxemMeZ.ttf","regular":"http://fonts.gstatic.com/s/lora/v23/0QI6MX1D_JOuGQbT0gvTJPa787weuyJGmKxemMeZ.ttf","italic":"http://fonts.gstatic.com/s/lora/v23/0QI8MX1D_JOuMw_hLdO6T2wV9KnW-MoFkqh8ndeZzZ0.ttf","500italic":"http://fonts.gstatic.com/s/lora/v23/0QI8MX1D_JOuMw_hLdO6T2wV9KnW-PgFkqh8ndeZzZ0.ttf","600italic":"http://fonts.gstatic.com/s/lora/v23/0QI8MX1D_JOuMw_hLdO6T2wV9KnW-BQCkqh8ndeZzZ0.ttf","700italic":"http://fonts.gstatic.com/s/lora/v23/0QI8MX1D_JOuMw_hLdO6T2wV9KnW-C0Ckqh8ndeZzZ0.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"],"version":"v12","lastModified":"2022-01-27","files":{"200":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbEOjFma-2HW7ZB_.ttf","300":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbFqj1ma-2HW7ZB_.ttf","500":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbEyjlma-2HW7ZB_.ttf","600":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbEeiVma-2HW7ZB_.ttf","700":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbF6iFma-2HW7ZB_.ttf","800":"http://fonts.gstatic.com/s/mukta/v12/iJWHBXyXfDDVXbFmi1ma-2HW7ZB_.ttf","regular":"http://fonts.gstatic.com/s/mukta/v12/iJWKBXyXfDDVXYnGp32S0H3f.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v11","lastModified":"2022-01-27","files":{"200":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc9yAv5qWVAgVol-.ttf","300":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc8WAf5qWVAgVol-.ttf","600":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc9iB_5qWVAgVol-.ttf","700":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc8GBv5qWVAgVol-.ttf","800":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc8aBf5qWVAgVol-.ttf","900":"http://fonts.gstatic.com/s/nunitosans/v11/pe03MImSLYBIv1o4X1M8cc8-BP5qWVAgVol-.ttf","200italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4GxZrU1QCU5l-06Y.ttf","300italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4G3JoU1QCU5l-06Y.ttf","regular":"http://fonts.gstatic.com/s/nunitosans/v11/pe0qMImSLYBIv1o4X1M8cfe6Kdpickwp.ttf","italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe0oMImSLYBIv1o4X1M8cce4I95Ad1wpT5A.ttf","600italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4GwZuU1QCU5l-06Y.ttf","700italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4G2JvU1QCU5l-06Y.ttf","800italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4G35sU1QCU5l-06Y.ttf","900italic":"http://fonts.gstatic.com/s/nunitosans/v11/pe01MImSLYBIv1o4X1M8cce4G1ptU1QCU5l-06Y.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"],"version":"v16","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K0nWNigDp6_cOyA.ttf","200":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K8nXNigDp6_cOyA.ttf","300":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32KxfXNigDp6_cOyA.ttf","500":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K3vXNigDp6_cOyA.ttf","600":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K5fQNigDp6_cOyA.ttf","700":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K67QNigDp6_cOyA.ttf","800":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K8nQNigDp6_cOyA.ttf","900":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K-DQNigDp6_cOyA.ttf","regular":"http://fonts.gstatic.com/s/worksans/v16/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32K0nXNigDp6_cOyA.ttf","100italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGU3moJo43ZKyDSQQ.ttf","200italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUXmsJo43ZKyDSQQ.ttf","300italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUgGsJo43ZKyDSQQ.ttf","italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGU3msJo43ZKyDSQQ.ttf","500italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGU7GsJo43ZKyDSQQ.ttf","600italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUAGwJo43ZKyDSQQ.ttf","700italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUOWwJo43ZKyDSQQ.ttf","800italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUXmwJo43ZKyDSQQ.ttf","900italic":"http://fonts.gstatic.com/s/worksans/v16/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUd2wJo43ZKyDSQQ.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"],"version":"v17","lastModified":"2019-07-22","files":{"700":"http://fonts.gstatic.com/s/nanumgothic/v17/PN_oRfi-oW3hYwmKDpxS7F_LQv37zlEn14YEUQ.ttf","800":"http://fonts.gstatic.com/s/nanumgothic/v17/PN_oRfi-oW3hYwmKDpxS7F_LXv77zlEn14YEUQ.ttf","regular":"http://fonts.gstatic.com/s/nanumgothic/v17/PN_3Rfi-oW3hYwmKDpxS7F_z_tLfxno73g.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v15","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/firasans/v15/va9C4kDNxMZdWfMOD5Vn9IjOazP3dUTP.ttf","200":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnWKnuQR37fF3Wlg.ttf","300":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnPKruQR37fF3Wlg.ttf","500":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnZKvuQR37fF3Wlg.ttf","600":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnSKzuQR37fF3Wlg.ttf","700":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnLK3uQR37fF3Wlg.ttf","800":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnMK7uQR37fF3Wlg.ttf","900":"http://fonts.gstatic.com/s/firasans/v15/va9B4kDNxMZdWfMOD5VnFK_uQR37fF3Wlg.ttf","100italic":"http://fonts.gstatic.com/s/firasans/v15/va9A4kDNxMZdWfMOD5VvkrCqYTfVcFTPj0s.ttf","200italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrAGQBf_XljGllLX.ttf","300italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrBiQxf_XljGllLX.ttf","regular":"http://fonts.gstatic.com/s/firasans/v15/va9E4kDNxMZdWfMOD5VfkILKSTbndQ.ttf","italic":"http://fonts.gstatic.com/s/firasans/v15/va9C4kDNxMZdWfMOD5VvkojOazP3dUTP.ttf","500italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrA6Qhf_XljGllLX.ttf","600italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrAWRRf_XljGllLX.ttf","700italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrByRBf_XljGllLX.ttf","800italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrBuRxf_XljGllLX.ttf","900italic":"http://fonts.gstatic.com/s/firasans/v15/va9f4kDNxMZdWfMOD5VvkrBKRhf_XljGllLX.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"],"version":"v28","lastModified":"2022-02-03","files":{"300":"http://fonts.gstatic.com/s/quicksand/v28/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo18G0wx40QDw.ttf","500":"http://fonts.gstatic.com/s/quicksand/v28/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkM0o18G0wx40QDw.ttf","600":"http://fonts.gstatic.com/s/quicksand/v28/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkCEv18G0wx40QDw.ttf","700":"http://fonts.gstatic.com/s/quicksand/v28/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkBgv18G0wx40QDw.ttf","regular":"http://fonts.gstatic.com/s/quicksand/v28/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o18G0wx40QDw.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"],"version":"v16","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/ptserif/v16/EJRSQgYoZZY2vCFuvAnt65qVXSr3pNNB.ttf","regular":"http://fonts.gstatic.com/s/ptserif/v16/EJRVQgYoZZY2vCFuvDFRxL6ddjb-.ttf","italic":"http://fonts.gstatic.com/s/ptserif/v16/EJRTQgYoZZY2vCFuvAFTzrq_cyb-vco.ttf","700italic":"http://fonts.gstatic.com/s/ptserif/v16/EJRQQgYoZZY2vCFuvAFT9gaQVy7VocNB6Iw.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"],"version":"v11","lastModified":"2022-01-27","files":{"300":"http://fonts.gstatic.com/s/hindsiliguri/v11/ijwOs5juQtsyLLR5jN4cxBEoRDf44uEfKiGvxts.ttf","500":"http://fonts.gstatic.com/s/hindsiliguri/v11/ijwOs5juQtsyLLR5jN4cxBEoRG_54uEfKiGvxts.ttf","600":"http://fonts.gstatic.com/s/hindsiliguri/v11/ijwOs5juQtsyLLR5jN4cxBEoREP-4uEfKiGvxts.ttf","700":"http://fonts.gstatic.com/s/hindsiliguri/v11/ijwOs5juQtsyLLR5jN4cxBEoRCf_4uEfKiGvxts.ttf","regular":"http://fonts.gstatic.com/s/hindsiliguri/v11/ijwTs5juQtsyLLR5jN4cxBEofJvQxuk0Nig.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"],"version":"v14","lastModified":"2022-01-27","files":{"200":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPDcZTIAOhVxoMyOr9n_E7ffAzHKIx5YrSYqWM.ttf","300":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPDcZTIAOhVxoMyOr9n_E7ffGjEKIx5YrSYqWM.ttf","600":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPDcZTIAOhVxoMyOr9n_E7ffBzCKIx5YrSYqWM.ttf","700":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPDcZTIAOhVxoMyOr9n_E7ffHjDKIx5YrSYqWM.ttf","900":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPDcZTIAOhVxoMyOr9n_E7ffEDBKIx5YrSYqWM.ttf","200italic":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPFcZTIAOhVxoMyOr9n_E7fdMbewI1zZpaduWMmxA.ttf","300italic":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPFcZTIAOhVxoMyOr9n_E7fdMbepI5zZpaduWMmxA.ttf","regular":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPecZTIAOhVxoMyOr9n_E7fRMTsDIRSfr0.ttf","italic":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPAcZTIAOhVxoMyOr9n_E7fdMbmCKZXbr2BsA.ttf","600italic":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPFcZTIAOhVxoMyOr9n_E7fdMbe0IhzZpaduWMmxA.ttf","700italic":"http://fonts.gstatic.com/s/titilliumweb/v14/NaPFcZTIAOhVxoMyOr9n_E7fdMbetIlzZpaduWMmxA.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"],"version":"v24","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/notosanstc/v24/-nFlOG829Oofr2wohFbTp9i9WyEJIfNZ1sjy.otf","300":"http://fonts.gstatic.com/s/notosanstc/v24/-nFkOG829Oofr2wohFbTp9i9kwMvDd1V39Hr7g.otf","500":"http://fonts.gstatic.com/s/notosanstc/v24/-nFkOG829Oofr2wohFbTp9i9ywIvDd1V39Hr7g.otf","700":"http://fonts.gstatic.com/s/notosanstc/v24/-nFkOG829Oofr2wohFbTp9i9gwQvDd1V39Hr7g.otf","900":"http://fonts.gstatic.com/s/notosanstc/v24/-nFkOG829Oofr2wohFbTp9i9uwYvDd1V39Hr7g.otf","regular":"http://fonts.gstatic.com/s/notosanstc/v24/-nF7OG829Oofr2wohFbTp9iFOSsLA_ZJ1g.otf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"],"version":"v21","lastModified":"2021-01-30","files":{"200":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7LppwU8aRr8lleY2co.ttf","300":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp9s8aRr8lleY2co.ttf","500":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp7c8aRr8lleY2co.ttf","600":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp1s7aRr8lleY2co.ttf","700":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp2I7aRr8lleY2co.ttf","800":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7LppwU7aRr8lleY2co.ttf","900":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lppyw7aRr8lleY2co.ttf","regular":"http://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp4U8aRr8lleY2co.ttf"},"category":"monospace","kind":"webfonts#webfont"},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v20","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/notoserif/v20/ga6Law1J5X9T9RW6j9bNdOwzTRCUcM1IKoY.ttf","regular":"http://fonts.gstatic.com/s/notoserif/v20/ga6Iaw1J5X9T9RW6j9bNTFAcaRi_bMQ.ttf","italic":"http://fonts.gstatic.com/s/notoserif/v20/ga6Kaw1J5X9T9RW6j9bNfFIWbTq6fMRRMw.ttf","700italic":"http://fonts.gstatic.com/s/notoserif/v20/ga6Vaw1J5X9T9RW6j9bNfFIu0RWedO9NOoYIDg.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"],"version":"v11","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/barlow/v11/7cHrv4kjgoGqM7E3b8s8yn4hnCci.ttf","200":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3w-oc4FAtlT47dw.ttf","300":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3p-kc4FAtlT47dw.ttf","500":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3_-gc4FAtlT47dw.ttf","600":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E30-8c4FAtlT47dw.ttf","700":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3t-4c4FAtlT47dw.ttf","800":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3q-0c4FAtlT47dw.ttf","900":"http://fonts.gstatic.com/s/barlow/v11/7cHqv4kjgoGqM7E3j-wc4FAtlT47dw.ttf","100italic":"http://fonts.gstatic.com/s/barlow/v11/7cHtv4kjgoGqM7E_CfNYwHoDmTcibrA.ttf","200italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfP04Voptzsrd6m9.ttf","300italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfOQ4loptzsrd6m9.ttf","regular":"http://fonts.gstatic.com/s/barlow/v11/7cHpv4kjgoGqM7EPC8E46HsxnA.ttf","italic":"http://fonts.gstatic.com/s/barlow/v11/7cHrv4kjgoGqM7E_Ccs8yn4hnCci.ttf","500italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfPI41optzsrd6m9.ttf","600italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfPk5Foptzsrd6m9.ttf","700italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfOA5Voptzsrd6m9.ttf","800italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfOc5loptzsrd6m9.ttf","900italic":"http://fonts.gstatic.com/s/barlow/v11/7cHsv4kjgoGqM7E_CfO451optzsrd6m9.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext"],"version":"v21","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDeJqqFENLR7fHGw.ttf","300":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDppqqFENLR7fHGw.ttf","500":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDypqqFENLR7fHGw.ttf","600":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDJp2qFENLR7fHGw.ttf","700":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDH52qFENLR7fHGw.ttf","800":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTDeJ2qFENLR7fHGw.ttf","regular":"http://fonts.gstatic.com/s/karla/v21/qkBIXvYC6trAT55ZBi1ueQVIjQTD-JqqFENLR7fHGw.ttf","200italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNnCV0lPZbLXGxGR.ttf","300italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNkcV0lPZbLXGxGR.ttf","italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNlCV0lPZbLXGxGR.ttf","500italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNlwV0lPZbLXGxGR.ttf","600italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNmcUElPZbLXGxGR.ttf","700italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNmlUElPZbLXGxGR.ttf","800italic":"http://fonts.gstatic.com/s/karla/v21/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNnCUElPZbLXGxGR.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"],"version":"v17","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EiS2cckOnz02SXQ.ttf","200":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1ECSycckOnz02SXQ.ttf","300":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1E1yycckOnz02SXQ.ttf","500":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EuyycckOnz02SXQ.ttf","600":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EVyucckOnz02SXQ.ttf","700":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EbiucckOnz02SXQ.ttf","800":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1ECSucckOnz02SXQ.ttf","900":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EICucckOnz02SXQ.ttf","regular":"http://fonts.gstatic.com/s/heebo/v17/NGSpv5_NC0k9P_v6ZUCbLRAHxK1EiSycckOnz02SXQ.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Libre Franklin","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"],"version":"v11","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhLsSUB9rIb-JH1g.ttf","200":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhrsWUB9rIb-JH1g.ttf","300":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhcMWUB9rIb-JH1g.ttf","500":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhHMWUB9rIb-JH1g.ttf","600":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduh8MKUB9rIb-JH1g.ttf","700":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhycKUB9rIb-JH1g.ttf","800":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhrsKUB9rIb-JH1g.ttf","900":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhh8KUB9rIb-JH1g.ttf","regular":"http://fonts.gstatic.com/s/librefranklin/v11/jizOREVItHgc8qDIbSTKq4XkRg8T88bjFuXOnduhLsWUB9rIb-JH1g.ttf","100italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RdDMTedX1sGE.ttf","200italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05ob8RNDMTedX1sGE.ttf","300italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oYiRNDMTedX1sGE.ttf","italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RNDMTedX1sGE.ttf","500italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZORNDMTedX1sGE.ttf","600italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oaiQ9DMTedX1sGE.ttf","700italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oabQ9DMTedX1sGE.ttf","800italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05ob8Q9DMTedX1sGE.ttf","900italic":"http://fonts.gstatic.com/s/librefranklin/v11/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05obVQ9DMTedX1sGE.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"],"version":"v23","lastModified":"2022-02-03","files":{"100":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_DjRXMFrLgTsQV0.ttf","200":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_LjQXMFrLgTsQV0.ttf","300":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_GbQXMFrLgTsQV0.ttf","500":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_ArQXMFrLgTsQV0.ttf","600":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_ObXXMFrLgTsQV0.ttf","700":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_N_XXMFrLgTsQV0.ttf","regular":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_DjQXMFrLgTsQV0.ttf","100italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCTtINhKibpUV3MEQ.ttf","200italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCTNIJhKibpUV3MEQ.ttf","300italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCT6oJhKibpUV3MEQ.ttf","italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCTtIJhKibpUV3MEQ.ttf","500italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCThoJhKibpUV3MEQ.ttf","600italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCTaoVhKibpUV3MEQ.ttf","700italic":"http://fonts.gstatic.com/s/josefinsans/v23/Qw3JZQNVED7rKGKxtqIqX5EUCGZ2dIn0FyA96fCTU4VhKibpUV3MEQ.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"],"version":"v13","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/librebaskerville/v13/kmKiZrc3Hgbbcjq75U4uslyuy4kn0qviTjYwI8Gcw6Oi.ttf","regular":"http://fonts.gstatic.com/s/librebaskerville/v13/kmKnZrc3Hgbbcjq75U4uslyuy4kn0pNeYRI4CN2V.ttf","italic":"http://fonts.gstatic.com/s/librebaskerville/v13/kmKhZrc3Hgbbcjq75U4uslyuy4kn0qNcaxYaDc2V2ro.ttf"},"category":"serif","kind":"webfonts#webfont"},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],"version":"v24","lastModified":"2022-02-03","files":{"500":"http://fonts.gstatic.com/s/arimo/v24/P5sfzZCDf9_T_3cV7NCUECyoxNk338xsBxDAVQI4aA.ttf","600":"http://fonts.gstatic.com/s/arimo/v24/P5sfzZCDf9_T_3cV7NCUECyoxNk3M8tsBxDAVQI4aA.ttf","700":"http://fonts.gstatic.com/s/arimo/v24/P5sfzZCDf9_T_3cV7NCUECyoxNk3CstsBxDAVQI4aA.ttf","regular":"http://fonts.gstatic.com/s/arimo/v24/P5sfzZCDf9_T_3cV7NCUECyoxNk37cxsBxDAVQI4aA.ttf","italic":"http://fonts.gstatic.com/s/arimo/v24/P5sdzZCDf9_T_10c3i9MeUcyat4iJY-ERBrEdwcoaKww.ttf","500italic":"http://fonts.gstatic.com/s/arimo/v24/P5sdzZCDf9_T_10c3i9MeUcyat4iJY-2RBrEdwcoaKww.ttf","600italic":"http://fonts.gstatic.com/s/arimo/v24/P5sdzZCDf9_T_10c3i9MeUcyat4iJY9aQxrEdwcoaKww.ttf","700italic":"http://fonts.gstatic.com/s/arimo/v24/P5sdzZCDf9_T_10c3i9MeUcyat4iJY9jQxrEdwcoaKww.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"],"version":"v25","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJt7MV3BkFTq4EPw.ttf","300":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJabMV3BkFTq4EPw.ttf","500":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJBbMV3BkFTq4EPw.ttf","600":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJ6bQV3BkFTq4EPw.ttf","700":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJ0LQV3BkFTq4EPw.ttf","800":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJt7QV3BkFTq4EPw.ttf","regular":"http://fonts.gstatic.com/s/dosis/v25/HhyJU5sn9vOmLxNkIwRSjTVNWLEJN7MV3BkFTq4EPw.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"],"version":"v14","lastModified":"2022-01-27","files":{"300":"http://fonts.gstatic.com/s/oxygen/v14/2sDcZG1Wl4LcnbuCJW8Db2-4C7wFZQ.ttf","700":"http://fonts.gstatic.com/s/oxygen/v14/2sDcZG1Wl4LcnbuCNWgDb2-4C7wFZQ.ttf","regular":"http://fonts.gstatic.com/s/oxygen/v14/2sDfZG1Wl4Lcnbu6iUcnZ0SkAg.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"],"version":"v16","lastModified":"2022-01-27","files":{"700":"http://fonts.gstatic.com/s/ptsansnarrow/v16/BngSUXNadjH0qYEzV7ab-oWlsbg95DiCUfzgRd-3.ttf","regular":"http://fonts.gstatic.com/s/ptsansnarrow/v16/BngRUXNadjH0qYEzV7ab-oWlsYCByxyKeuDp.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v10","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexRNRwaClGrw-PTY.ttf","300":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexc1RwaClGrw-PTY.ttf","500":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexaFRwaClGrw-PTY.ttf","600":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexU1WwaClGrw-PTY.ttf","700":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexXRWwaClGrw-PTY.ttf","800":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexRNWwaClGrw-PTY.ttf","900":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexTpWwaClGrw-PTY.ttf","regular":"http://fonts.gstatic.com/s/mulish/v10/1Ptyg83HX_SGhgqO0yLcmjzUAuWexZNRwaClGrw-PTY.ttf","200italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSqeOvHp47LTZFwA.ttf","300italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSd-OvHp47LTZFwA.ttf","italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSKeOvHp47LTZFwA.ttf","500italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSG-OvHp47LTZFwA.ttf","600italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsS9-SvHp47LTZFwA.ttf","700italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSzuSvHp47LTZFwA.ttf","800italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSqeSvHp47LTZFwA.ttf","900italic":"http://fonts.gstatic.com/s/mulish/v10/1Ptwg83HX_SGhgqk2hAjQlW_mEuZ0FsSgOSvHp47LTZFwA.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],"version":"v13","lastModified":"2022-01-27","files":{"100":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX-KVElMYYaJe8bpLHnCwDKjbLeEKxIedbzDw.ttf","200":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX9KVElMYYaJe8bpLHnCwDKjR7_MIZmdd_qFmo.ttf","300":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX9KVElMYYaJe8bpLHnCwDKjXr8MIZmdd_qFmo.ttf","500":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX9KVElMYYaJe8bpLHnCwDKjSL9MIZmdd_qFmo.ttf","600":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX9KVElMYYaJe8bpLHnCwDKjQ76MIZmdd_qFmo.ttf","700":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX9KVElMYYaJe8bpLHnCwDKjWr7MIZmdd_qFmo.ttf","100italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX8KVElMYYaJe8bpLHnCwDKhdTmdKZMW9PjD3N8.ttf","200italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX7KVElMYYaJe8bpLHnCwDKhdTm2Idscf3vBmpl8A.ttf","300italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX7KVElMYYaJe8bpLHnCwDKhdTmvIRscf3vBmpl8A.ttf","regular":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYXgKVElMYYaJe8bpLHnCwDKtdbUFI5NadY.ttf","italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX-KVElMYYaJe8bpLHnCwDKhdTeEKxIedbzDw.ttf","500italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX7KVElMYYaJe8bpLHnCwDKhdTm5IVscf3vBmpl8A.ttf","600italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX7KVElMYYaJe8bpLHnCwDKhdTmyIJscf3vBmpl8A.ttf","700italic":"http://fonts.gstatic.com/s/ibmplexsans/v13/zYX7KVElMYYaJe8bpLHnCwDKhdTmrINscf3vBmpl8A.ttf"},"category":"sans-serif","kind":"webfonts#webfont"},{"family":"Source Code Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],"version":"v20","lastModified":"2022-02-03","files":{"200":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DEyQhM5hTXUcdJg.ttf","300":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DJKQhM5hTXUcdJg.ttf","500":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DP6QhM5hTXUcdJg.ttf","600":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DBKXhM5hTXUcdJg.ttf","700":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DCuXhM5hTXUcdJg.ttf","800":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DEyXhM5hTXUcdJg.ttf","900":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DGWXhM5hTXUcdJg.ttf","regular":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQhM5hTXUcdJg.ttf","200italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTT7I1rSVcZZJiGpw.ttf","300italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTMo1rSVcZZJiGpw.ttf","italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTbI1rSVcZZJiGpw.ttf","500italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTXo1rSVcZZJiGpw.ttf","600italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTsoprSVcZZJiGpw.ttf","700italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTi4prSVcZZJiGpw.ttf","800italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTT7IprSVcZZJiGpw.ttf","900italic":"http://fonts.gstatic.com/s/sourcecodepro/v20/HI_jiYsKILxRpg3hIP6sJ7fM7PqlOPHYvDP_W9O7GQTTxYprSVcZZJiGpw.ttf"},"category":"monospace","kind":"webfonts#webfont"},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"],"version":"v8","lastModified":"2022-01-27","files":{"regular":"http://fonts.gstatic.com/s/bebasneue/v8/JTUSjIg69CK48gW7PXooxW5rygbi49c.ttf"},"category":"display","kind":"webfonts#webfont"},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],"version":"v27","lastModified":"2022-01-27","files":{"regular":"http://fonts.gstatic.com/s/lobster/v27/neILzCirqoswsqX9_oWsMqEzSJQ.ttf"},"category":"display","kind":"webfonts#webfont"}]'),_v={items:tq},eq={class:"font-select__item-text"},oq=["onClick"],nq={__name:"EditTextFontSelectItem",props:{fontFamily:{type:String,required:!0},fontWeights:{type:Array,required:!0},fileType:{type:String,default:null},validFontWeightsMap:{type:Object,default:()=>({300:{title:"Light",value:"300"},regular:{title:"Regular",value:"400"},400:{title:"Regular",value:"400"},500:{title:"Medium",value:"500"},700:{title:"Bold",value:"700"}})},isOpen:{type:Boolean,default:!1}},emits:["update-font","hovering-font-family"],setup(t,{emit:e}){const o=t,n=e,s=d(()=>o.fontWeights.flatMap(l=>o.validFontWeightsMap[l]||[])),a=d(()=>s.value.length>1);return(l,i)=>{const c=rt("qa");return r(),v("div",null,[R((r(),v("div",Ze({ref:"fontItemButton",class:["font-select__item text-body-2",{"font-select__item--active":t.isOpen}],style:{fontFamily:t.fontFamily},[m(vo)||""]:m(ac),onMousemove:i[0]||(i[0]=u=>n("hovering-font-family",t.fontFamily)),onClick:i[1]||(i[1]=u=>n("update-font",{fontFamily:t.fontFamily,fontWeight:400,...t.fileType?{fileType:t.fileType}:{}}))}),[h("p",eq,w(t.fontFamily),1),b(Qt,{name:"chevron-right-small",class:ut({hidden:!a.value})},null,8,["class"])],16)),[[c,`edittext-textfont-option-${t.fontFamily}-in-use`]]),a.value&&t.isOpen?(r(),S(Se,{key:0,"target-ref":l.$refs.fontItemButton,"auto-update":"",placement:"right-start",offset:-4,"portal-selector":m(jo)},{default:k(()=>[h("div",Ze({[m(vo)||""]:m(ac),class:"font-select__item-options"}),[(r(!0),v(at,null,Pt(s.value,({title:u,value:p})=>R((r(),v("div",{key:p,class:"font-select__item-option text-body-2",style:re({fontFamily:t.fontFamily,fontWeight:p}),onClick:g=>n("update-font",{fontFamily:t.fontFamily,fontWeight:p})},[U(w(u),1)],12,oq)),[[c,`edittext-textfont-option-${t.fontFamily}`]])),128))],16)]),_:1},8,["target-ref","portal-selector"])):B("",!0)])}}},iq=V(nq,[["__scopeId","data-v-ec62858d"]]),_w="loading",ww="success",kw="error",sq=K({components:{Popup:Se,ZyroSvgDeprecated:Qt,ZyroLoader:je,EditTextFontSelectItem:iq},props:{isOpen:{type:Boolean,required:!0},targetRef:{type:HTMLElement,default:null},autoUpdate:{type:Boolean,default:!1},placement:{type:String,default:"bottom-start"},offset:{type:Number,default:4},isFontWeightSelectionEnabled:{type:Boolean,default:!0}},emits:["click-outside","update","close"],setup(){const t=Bt(),{editor:e}=$i(),{isAiBuilderMode:o}=Co(),{site:n}=vi(t),s=_v.items;return{UPLOAD_STATE_LOADING:_w,UPLOAD_STATE_SUCCESS:ww,UPLOAD_STATE_ERROR:kw,editor:e,mostPopularGoogleFontsArray:s,DATA_ATTRIBUTE_SELECTOR:vo,DATA_ATTRIBUTE_SELECTOR_FONT_SELECT:ac,SELECTOR_DATA_PORTAL_BUILDER_PREVIEW:jo,isAiBuilderMode:o,website:n}},data(){return{lastHoveredFont:null,uploadState:null}},computed:{...Ve(["websiteId","currentElementId"]),...Ve("fonts",["googleFonts"]),...he("assets",["customFonts"]),...he(["siteElements","headerBlock"]),fontsInUse(){var n;const t=(n=this.editor)==null?void 0:n.getHTML(),e=Object.keys(this.siteElements).filter(s=>s!==this.currentElementId).map(s=>this.siteElements[s].content).join(),o=[t,e].join();return g6({siteData:this.website,html:o,customFonts:this.customFonts,googleFonts:this.googleFonts})}},watch:{isOpen(t){t||(this.lastHoveredFont=null)}},methods:{...Ie("assets",["fetchAssets"]),getFontFamilyWeights(t){var e;return((e=this.mostPopularGoogleFontsArray.find(({family:o})=>o===t))==null?void 0:e.variants)??[400]},updateFont({fontFamily:t,fontWeight:e,fileType:o}){this.$emit("update",{fontFamily:t,fontWeight:e,fileType:o})},async uploadFiles(t){var o,n;const e=t.target.files[0];this.uploadState={type:_w,text:this.$t("builder.editText.uploadingFont",[e.name])};try{const{status:s,data:a}=await ZR(e,this.websiteId);s===200&&(this.fetchAssets(),this.uploadState={type:ww,text:this.$t("builder.editText.fontUploadedSuccessfully",[a.name.split(".")[0]]),showClose:!0})}catch(s){this.uploadState={type:kw,text:((n=(o=s==null?void 0:s.response)==null?void 0:o.data)==null?void 0:n.message)||"",showClose:!0}}}}}),aq={class:"font-select-container"},lq={class:"font-select__group"},rq={class:"font-select__title"},dq={class:"font-select__description"},cq={key:0,class:"font-select__group"},uq={class:"font-select__title"},pq={class:"font-select__upload-button-container"},gq={class:"font-select__group"},mq={class:"font-select__title"},hq={key:0,class:"upload-state__message"},bq={key:1,class:"upload-state__message"},fq={key:2,class:"upload-state__message"},yq={class:"error-color"};function vq(t,e,o,n,s,a){const l=Y("EditTextFontSelectItem"),i=Y("ZyroSvgDeprecated"),c=Y("ZyroLoader"),u=Y("Popup"),p=rt("qa");return t.isOpen?(r(),S(u,{key:0,"target-ref":t.targetRef,placement:t.placement,offset:t.offset,"auto-update":t.autoUpdate,"portal-selector":t.SELECTOR_DATA_PORTAL_BUILDER_PREVIEW,onClickOutside:e[6]||(e[6]=g=>t.$emit("click-outside"))},{default:k(()=>[h("div",aq,[h("div",Ze({class:"font-select",[t.DATA_ATTRIBUTE_SELECTOR||""]:t.DATA_ATTRIBUTE_SELECTOR_FONT_SELECT,onScroll:e[3]||(e[3]=g=>t.lastHoveredFont=null)}),[h("div",lq,[h("div",rq,w(t.$t("common.inUse"))+": ",1),(r(!0),v(at,null,Pt(t.fontsInUse,g=>(r(),S(l,{key:`${g.family}-in-use`,"font-family":g.family,"font-weights":t.isFontWeightSelectionEnabled?t.getFontFamilyWeights(g.family):[],"is-open":t.isOpen&&t.lastHoveredFont===`${g.family}-in-use`,onHoveringFontFamily:f=>t.lastHoveredFont=`${g.family}-in-use`,onUpdateFont:t.updateFont},null,8,["font-family","font-weights","is-open","onHoveringFontFamily","onUpdateFont"]))),128)),h("div",dq,w(t.$t("builder.usedFontsCountDisclaimer")),1)]),t.isAiBuilderMode?B("",!0):(r(),v("div",cq,[h("div",uq,w(t.$t("common.myFonts"))+": ",1),(r(!0),v(at,null,Pt(t.customFonts,g=>R((r(),S(l,{key:g.family,"font-family":g.family,"font-weights":[],"file-type":g.fileType,"is-open":t.isOpen&&t.lastHoveredFont===g.family,onHoveringFontFamily:f=>t.lastHoveredFont=g.family,onUpdateFont:t.updateFont},null,8,["font-family","file-type","is-open","onHoveringFontFamily","onUpdateFont"])),[[p,`uploaded-${g.family}-font`]])),128)),h("div",pq,[R((r(),v("button",{class:"font-select__upload-button text-body-2",onClick:e[0]||(e[0]=g=>t.$refs.fileInput.click()),onMouseenter:e[1]||(e[1]=g=>t.lastHoveredFont=null)},[b(i,{class:"font-select__upload-button-icon",name:"upload"}),U(" "+w(t.$t("common.upload")),1)],32)),[[p,"fontupload-button"]]),R(h("input",{ref:"fileInput",type:"file",accept:".woff, .woff2, .ttf, .otf",name:"images",multiple:"",onChange:e[2]||(e[2]=(...g)=>t.uploadFiles&&t.uploadFiles(...g))},null,544),[[so,!1],[p,"builder-input-image"]])])])),h("div",gq,[h("div",mq,w(t.$t("common.all"))+": ",1),(r(!0),v(at,null,Pt(t.mostPopularGoogleFontsArray,g=>(r(),S(l,{key:g.family,"font-family":g.family,"font-weights":t.isFontWeightSelectionEnabled?g.variants:[],"is-open":t.isOpen&&t.lastHoveredFont===g.family,onHoveringFontFamily:f=>t.lastHoveredFont=g.family,onUpdateFont:t.updateFont},null,8,["font-family","font-weights","is-open","onHoveringFontFamily","onUpdateFont"]))),128))])],16),t.uploadState?R((r(),v("div",{key:0,class:"upload-state",onMouseenter:e[5]||(e[5]=g=>t.lastHoveredFont=null)},[t.uploadState.type===t.UPLOAD_STATE_LOADING?(r(),v("div",hq,[b(c,{class:"upload-state__indication",size:"24px",weight:"3px",color:"var(--color-azure)"}),U(" "+w(t.uploadState.text),1)])):t.uploadState.type===t.UPLOAD_STATE_SUCCESS?(r(),v("div",bq,[b(i,{name:"check-round-green-light",class:"upload-state__indication success-color"}),U(" "+w(t.uploadState.text),1)])):t.uploadState.type===t.UPLOAD_STATE_ERROR?(r(),v("div",fq,[b(i,{name:"alert-round-red",class:"upload-state__indication error-color"}),h("p",yq,w(t.$t("common.uploadFailed")),1),U(" "+w(t.uploadState.text),1)])):B("",!0),t.uploadState.showClose?(r(),S(i,{key:3,class:"upload-state__close",name:"x",onClick:e[4]||(e[4]=g=>t.uploadState=null)})):B("",!0)],32)),[[p,"fontupload-progress-text"]]):B("",!0)])]),_:1},8,["target-ref","placement","offset","auto-update","portal-selector"])):B("",!0)}const Im=V(sq,[["render",vq],["__scopeId","data-v-7ff09dcc"]]),_q=K({components:{ZyroLabel:ee,FontSelect:Im},props:{currentFontFamily:{type:String,required:!0},isFontWeightSelectionEnabled:{type:Boolean,default:!0},isOpen:{type:Boolean,required:!0}},emits:["set-font-family","toggle","close"]}),wq=t=>(Te("data-v-c954a9ba"),t=t(),Ce(),t),kq={class:"font-select"},Eq={class:"font-select__current-font"},Iq=wq(()=>h("div",{class:"font-select__separator"},null,-1)),Sq={class:"font-select__text"};function xq(t,e,o,n,s,a){const l=Y("ZyroLabel"),i=Y("FontSelect"),c=rt("qa");return r(),v("div",kq,[b(l,{class:"font-select__label"},{default:k(()=>[U(w(t.$t("builder.editButton.customButtonStyles.text.font")),1)]),_:1}),R((r(),v("button",{ref:"fontSelectButton",type:"button",class:"font-select__text-font-button text-body-2",onClick:e[0]||(e[0]=u=>t.$emit("toggle"))},[h("span",Eq,w(t.currentFontFamily),1),Iq,h("span",Sq,w(t.$t("common.change")),1)])),[[c,"buttonstylesettings-selectfont"]]),b(i,{"target-ref":t.$refs.fontSelectButton,"is-open":t.isOpen,placement:"right-start","is-font-weight-selection-enabled":t.isFontWeightSelectionEnabled,onUpdate:e[1]||(e[1]=u=>t.$emit("set-font-family",u)),onClickOutside:e[2]||(e[2]=u=>t.$emit("close"))},null,8,["target-ref","is-open","is-font-weight-selection-enabled"])])}const Sm=V(_q,[["render",xq],["__scopeId","data-v-c954a9ba"]]),hI=(t,e)=>(e?t.font.primary:t.font.secondary).split(",")[0].replace(/["']+/g,""),Tq={class:"button-style-settings"},Cq={class:"button-style-settings__group"},Pq={class:"button-style-settings__group"},Bq={key:2},Aq={key:3,class:"button-style-settings__group"},Dq={class:"button-style-settings__group"},zq={key:2,class:"button-style-settings__group"},Lq=10,$q=48,Oq=0,Rq=0,Mq=10,Ew=25,Nq=K({__name:"ButtonStyleSettingsV2",props:{elementId:{}},emits:["set-button-style"],setup(t,{emit:e}){const o=t,n=e,{t:s}=_t(),{getters:a}=et(),l=[{title:s("builder.editButton.customButtonStyles.normal")},{title:s("builder.editButton.customButtonStyles.hover")}],i=C(l[0]),c=C(!1),u=C(!1),p=C(!1),g=C(!1),f=d(()=>a["gui/isMobileMode"]),y=d(()=>a.currentBlock),E=d(()=>a.siteStyles),I=d(()=>o.elementId?a.siteElements[o.elementId]:null),T=d(()=>{var pt;return(pt=I.value)==null?void 0:pt.settings}),x=d(()=>T.value.type),P=d(()=>E.value[`grid-button-${x.value}`]),z=d(()=>{var bt,ht;const pt=(bt=I.value[f.value?"mobile":"desktop"])==null?void 0:bt.fontSize,dt=Number.parseInt((ht=E.value[`grid-button-${x.value}`])==null?void 0:ht["font-size"],10);return Number.parseInt(pt||dt,10)}),L=d(()=>{var pt;return T.value.styles.position?(pt=T2(y.value,T.value.styles.position))==null?void 0:pt.height:void 0}),$=d(()=>{var pt;return T.value.styles.position?(pt=T2(y.value,T.value.styles.position))==null?void 0:pt.width:void 0}),A=d(()=>{var yt,nt;const pt=((yt=I.value.desktop)==null?void 0:yt.height)||L.value,dt=((nt=I.value.desktop)==null?void 0:nt.width)||$.value,bt=typeof pt=="number"?Math.ceil(pt/2):Ew,ht=typeof dt=="number"?Math.ceil(dt/2):Ew;return Math.min(bt,ht)}),D=d(()=>{var dt;const pt=Number.parseInt((dt=E.value[`grid-button-${x.value}`])==null?void 0:dt["border-radius"],10);return I.value.borderRadius??Math.min(A.value,pt)}),O=d(()=>{const pt=I.value.fontFamily,dt=P.value["font-family"].includes("primary"),bt=hI(E.value,dt);return pt||bt}),M=d(()=>i.value.title===l[1].title),H=d(()=>I.value.backgroundColor||"rgb(0, 0, 0)"),F=d(()=>I.value.backgroundColorHover||"rgb(29, 30, 32)"),j=d(()=>I.value.fontColor||P.value.color),q=d(()=>I.value.fontColorHover||P.value["color-hover"]),W=d(()=>I.value.borderColor||P.value["border-color"]),Z=d(()=>I.value.borderColorHover||P.value["border-color-hover"]),G=d(()=>I.value.borderWidth||0),X=pt=>{i.value=pt},ot=(pt,{localStylesProperty:dt})=>{n("set-button-style",{[dt]:pt})},st=({fontFamily:pt,fontWeight:dt,fileType:bt})=>{n("set-button-style",{fontFamily:pt,fontWeight:Number.parseInt(dt,10),fileType:bt}),c.value=!1},J=pt=>{n("set-button-style",{[f.value?pe:_e]:{fontSize:pt}})},Q=pt=>{n("set-button-style",{borderWidth:pt,...I.value.borderColor?{}:{borderColor:"rgb(26, 26, 26)"}})},lt=pt=>{n("set-button-style",{borderRadius:pt})};return(pt,dt)=>{const bt=rt("qa");return r(),v("div",Tq,[b(zi,{class:"button-style-settings__button-state",controls:l,"active-control":i.value,"onUpdate:activeControl":X},null,8,["active-control"]),h("div",Cq,[M.value?R((r(),S(Fo,{key:0,"is-open":u.value,label:pt.$t("builder.editButton.customButtonStyles.fillColor"),class:"button-style-settings__item",color:F.value,onClickOutside:dt[0]||(dt[0]=ht=>u.value=!1),onToggle:dt[1]||(dt[1]=ht=>u.value=!u.value),onUpdateColor:dt[2]||(dt[2]=ht=>ot(ht,{localStylesProperty:"backgroundColorHover"}))},null,8,["is-open","label","color"])),[[bt,"button-style-settings-fill-color-picker-hover"]]):R((r(),S(Fo,{key:1,"is-open":u.value,label:pt.$t("builder.editButton.customButtonStyles.fillColor"),class:"button-style-settings__item",color:H.value,onClickOutside:dt[3]||(dt[3]=ht=>u.value=!1),onToggle:dt[4]||(dt[4]=ht=>u.value=!u.value),onUpdateColor:dt[5]||(dt[5]=ht=>ot(ht,{localStylesProperty:"backgroundColor"}))},null,8,["is-open","label","color"])),[[bt,"button-style-settings-fill-color-picker-default"]])]),h("div",Pq,[M.value?R((r(),S(Fo,{key:0,"is-open":p.value,label:pt.$t("builder.editButton.customButtonStyles.textColor"),class:"button-style-settings__item",color:q.value,onClickOutside:dt[6]||(dt[6]=ht=>p.value=!1),onToggle:dt[7]||(dt[7]=ht=>p.value=!p.value),onUpdateColor:dt[8]||(dt[8]=ht=>ot(ht,{localStylesProperty:"fontColorHover"}))},null,8,["is-open","label","color"])),[[bt,"button-style-settings-font-color-picker-hover"]]):R((r(),S(Fo,{key:1,"is-open":p.value,label:pt.$t("builder.editButton.customButtonStyles.textColor"),class:"button-style-settings__item",color:j.value,onClickOutside:dt[9]||(dt[9]=ht=>p.value=!1),onToggle:dt[10]||(dt[10]=ht=>p.value=!p.value),onUpdateColor:dt[11]||(dt[11]=ht=>ot(ht,{localStylesProperty:"fontColor"}))},null,8,["is-open","label","color"])),[[bt,"button-style-settings-font-color-picker-default"]]),M.value?B("",!0):(r(),v("div",Bq,[b(Sm,{"current-font-family":O.value,"is-open":c.value,onSetFontFamily:st,onToggle:dt[12]||(dt[12]=ht=>c.value=!c.value),onClose:dt[13]||(dt[13]=ht=>c.value=!1)},null,8,["current-font-family","is-open"])])),M.value?B("",!0):(r(),v("div",Aq,[b(ee,{class:"button-style-settings__label"},{default:k(()=>[U(w(pt.$t("builder.editButton.customButtonStyles.text.size")),1)]),_:1}),R(b(ln,{min:Lq,max:$q,step:1,"has-number-input":"","model-value":z.value,"onUpdate:modelValue":J},null,8,["model-value"]),[[bt,"button-style-text-size-slider"]])]))]),h("div",Dq,[M.value?R((r(),S(Fo,{key:0,"is-open":g.value,label:pt.$t("builder.editButton.customButtonStyles.borderColor"),"portal-selector":m(jo),class:"button-style-settings__item",color:Z.value,onClickOutside:dt[14]||(dt[14]=ht=>g.value=!1),onToggle:dt[15]||(dt[15]=ht=>g.value=!g.value),onUpdateColor:dt[16]||(dt[16]=ht=>ot(ht,{localStylesProperty:"borderColorHover"}))},null,8,["is-open","label","portal-selector","color"])),[[bt,"button-style-settings-border-color-picker-default"]]):R((r(),S(Fo,{key:1,"is-open":g.value,label:pt.$t("builder.editButton.customButtonStyles.borderColor"),"portal-selector":m(jo),class:"button-style-settings__item",color:W.value,onClickOutside:dt[17]||(dt[17]=ht=>g.value=!1),onToggle:dt[18]||(dt[18]=ht=>g.value=!g.value),onUpdateColor:dt[19]||(dt[19]=ht=>ot(ht,{localStylesProperty:"borderColor"}))},null,8,["is-open","label","portal-selector","color"])),[[bt,"button-style-settings-border-color-picker-default"]]),M.value?B("",!0):(r(),v("div",zq,[b(ee,{class:"button-style-settings__label"},{default:k(()=>[U(w(pt.$t("common.borderWidth")),1)]),_:1}),R(b(ln,{min:Rq,max:Mq,step:1,"has-number-input":"","model-value":G.value,"onUpdate:modelValue":Q},null,8,["model-value"]),[[bt,"button-style-border-width-slider"]]),b(ee,{class:"button-style-settings__label"},{default:k(()=>[U(w(pt.$t("common.cornerRadius")),1)]),_:1}),R(b(ln,{min:Oq,max:A.value,step:1,"has-number-input":"","model-value":D.value,"onUpdate:modelValue":lt},null,8,["max","model-value"]),[[bt,"button-style-border-radius-slider"]])]))])])}}}),Hq=V(Nq,[["__scopeId","data-v-666c19c1"]]),bI=K({__name:"EditButtonTabStyle",props:{elementId:{}},setup(t){const e=t,{dispatch:o}=et(),n=s=>{o("mergeElementData",{elementId:e.elementId,elementData:{...s}})};return(s,a)=>(r(),S(Hq,{"element-id":s.elementId,onSetButtonStyle:n},null,8,["element-id"]))}}),wv=K({components:{ZyroLabel:ee,ZyroSvgDeprecated:Qt},props:{modelValue:{type:String,default:null},options:{type:Object,validator:t=>Object.values(t).every(e=>e.icon),required:!0},optionsGridGap:{type:String,default:"16px"},label:{type:String,default:""},iconContainerPadding:{type:String,default:"18px 10px"},itemsPerRow:{type:Number,default:2},isTogglable:{type:Boolean,default:!1},groupName:{type:String,default:"group"},activeIconColor:{type:String,default:null},activeBackgroundColor:{type:String,default:null}},emits:["update:model-value","option-click"],computed:{computedStyles(){return{"--items-per-row":this.itemsPerRow,"--icon-container-padding":this.iconContainerPadding,"--icon-active-color":this.activeIconColor,"--background-active-color":this.activeBackgroundColor}}},methods:{updateCurrentSelection(t){const e=this.isTogglable&&t===this.modelValue;this.$emit("update:model-value",e?null:t)}}}),Iw=()=>{fe(t=>({"887ea1ca":t.optionsGridGap}))},Sw=wv.setup;wv.setup=Sw?(t,e)=>(Iw(),Sw(t,e)):Iw;const Gq={class:"zyro-icon-select__options"},Fq=["type","name","value","onChange","onClick"],Vq={class:"zyro-icon-select__icon-container"},Uq={class:"zyro-icon-select__name text-body-2"};function jq(t,e,o,n,s,a){const l=Y("ZyroLabel"),i=Y("ZyroSvgDeprecated"),c=rt("qa");return r(),v("div",{class:"zyro-icon-select",style:re(t.computedStyles)},[t.label?(r(),S(l,{key:0},{default:k(()=>[U(w(t.label),1)]),_:1})):B("",!0),h("div",Gq,[(r(!0),v(at,null,Pt(t.options,(u,p)=>R((r(),v("label",{key:`icon-${p}`,class:ut(["zyro-icon-select__label",{"zyro-icon-select__label--current":p===t.modelValue}])},[h("input",{class:"zyro-icon-select__input",type:t.isTogglable?"checkbox":"radio",name:t.isTogglable?u.name:t.groupName,value:p,onChange:g=>t.updateCurrentSelection(p),onClick:g=>t.$emit("option-click",p)},null,40,Fq),h("div",Vq,[b(i,{name:u.icon,class:"zyro-icon-select__icon",dimensions:u.iconDimensions||"42px"},null,8,["name","dimensions"])]),h("span",Uq,w(u.name),1)],2)),[[c,`option-${p}`]])),128))])],4)}const ji=V(wv,[["render",jq],["__scopeId","data-v-575b3ec5"]]),Id=C(!1),Sd=C(!1),Fh=C(""),Vh=C(""),Jl=C(null),Uh=C(!1),tr=C(null),us=({elementData:t,data:e,elementId:o,blockId:n}={})=>{const s=C(null),a=C(null),l=C(null),i=t||e||{},c=x=>`transition transition--${x}`,u=d(()=>{var L;const x=o&&zc.includes(i.type),P=!o&&!Dc.includes(i.type);if(x||P)return"";const z=c((L=i==null?void 0:i.animation)==null?void 0:L.name);return x1.includes(i.type)?`${z} transition--root-hidden`:z}),p=d(()=>{const x=Jl.value&&o===Jl.value,P=tr.value&&n===tr.value;return!Id.value||Jl.value&&!x||tr.value&&!P?"":Fh.value}),g=d(()=>Sd.value?Ra:null),f=async x=>{x.forEach(({target:P,isIntersecting:z})=>{var L;if(!z){P.removeAttribute(rs);return}(L=l.value)==null||L.unobserve(P),P.setAttribute(rs,Ra)})},y=({root:x=null}={})=>{var P;(P=i.animation)!=null&&P.name&&(l.value=new IntersectionObserver(f,{threshold:0,root:x}))},E=async x=>{var P,z;if((P=i==null?void 0:i.animation)!=null&&P.name)if(await Ye(),x1.includes(i.type)){const L=x==null?void 0:x.querySelectorAll(`[${sa}="${h0}"]`),$=x==null?void 0:x.querySelectorAll(`[${sa}="${Xr}"]`);[...L,...$].forEach(D=>{var O;return(O=l.value)==null?void 0:O.observe(D)})}else(z=l.value)==null||z.observe(x)},I=()=>{s.value&&a.value&&(window.clearTimeout(s.value),window.clearTimeout(a.value)),Id.value=!1,Sd.value=!1},T=({animation:x,id:P=null,block:z=null})=>{I(),x!=="none"&&(tr.value=z,Jl.value=P,Vh.value=x,Id.value=!0,Fh.value=c(Vh.value),s.value=setTimeout(()=>{Sd.value=!0},500),a.value=setTimeout(()=>{Id.value=!1,Sd.value=!1,Jl.value=null,tr.value=null},2e3))};return Mt(Uh,async x=>{x&&(await Ye(),Uh.value=!1)}),{intersectionObserver:l,animationClass:u,animationInEditorClass:Fh,animationInEditorComponentId:Jl,animationInEditorBlockId:tr,isAnimationDisplayedInEditor:Id,isAnimationDisplayedInEditorActive:Sd,animationInEditorName:Vh,addIntersectionObserver:y,observe:E,displayAnimationInEditor:T,shouldMountAnimationsInPreview:Uh,customAnimationClass:p,animationAttributeStateValue:g,addTransition:f}},Wq=K({components:{NpsRateFeature:fo,ZyroIconSelect:ji},props:{elementId:{type:String,default:""}},setup(t){const{state:e,getters:o,dispatch:n}=et(),s=ai(),{t:a}=_t(),{displayAnimationInEditor:l}=us(),{siteLanguages:i}=o,c={none:{name:a("builder.animationsSettingsNoAnimation"),icon:"crossed-circle",iconDimensions:"48px"},fade:{name:a("builder.animationsSettingsFade"),icon:"rectangle-grey",iconDimensions:"84px"},slide:{name:a("builder.animationsSettingsSlide"),icon:"slide-animation",iconDimensions:"84px"},scale:{name:a("builder.animationsSettingsScale"),icon:"scale-animation",iconDimensions:"84px"}},u=d(()=>e.currentLocale),p=d(()=>{const A=Object.keys(i).map(D=>i[D].blocks);return Object.fromEntries(A.flatMap(D=>Object.entries(D)))}),g=d(()=>{const A=Object.keys(i).map(D=>i[D].elements);return Object.fromEntries(A.flatMap(D=>Object.entries(D)))}),f=d(()=>_f({blocks:p.value})),y=d(()=>Object.fromEntries(Object.entries(i).map(([A,D])=>[A,_f({blocks:D.blocks})]))),E=d(()=>wf({elements:g.value})),I=d(()=>Object.fromEntries(Object.entries(i).map(([A,D])=>[A,wf({elements:D.elements})]))),T=d(()=>{var O;const A=[...Object.values(f.value),...Object.values(E.value)].find(M=>{var H;return((H=M.animation)==null?void 0:H.type)===qs}),D=(O=i[u.value].elements[t.elementId])==null?void 0:O.animation;return D?D.name:t.elementId&&!D||!A?"none":A.animation.name}),x=()=>{s.push({name:Cs}),It.logEvent({eventName:"website_builder.builder.previewed"})},P=A=>A==="none"?null:A,z=({animationName:A,elementId:D,type:O,locale:M})=>{n("mergeElementData",{elementId:D,elementData:{animation:A?{name:A,type:O}:null},locale:M})},L=({animationName:A,block:D,blockId:O,type:M,locale:H})=>{const F={...D,animation:A?{name:A,type:M}:null},j=bl(F);n("updateBlockData",{blockId:O,blockData:j,locale:H})},$=A=>{if(T.value===A)return;const D=P(A);t.elementId?z({animationName:D,elementId:t.elementId,type:Sr,locale:u.value}):(Object.entries(y.value).forEach(([O,M])=>{Object.keys(M).forEach(H=>{L({animationName:D,blockId:H,type:qs,locale:O,block:M[H]})})}),Object.entries(I.value).forEach(([O,M])=>{Object.keys(M).forEach(H=>{z({animationName:D,elementId:H,type:qs,locale:O})})})),n("undoRedo/createSnapshot"),It.logEvent({eventName:"website_builder.styles_animation_style.selected",eventProperties:{animation:A,type:t.elementId?Sr:qs,location:t.elementId||"drawer"}})};return It.logEvent({eventName:"website_builder.global_styles_animations.enter"}),{ANIMATION_TYPES:c,NPS_TYPE_FEATURE_GLOBAL_STYLES_ANIMATION:ny,displayAnimationInEditor:l,animationType:T,openPreview:x,setAnimation:$}}}),qq={class:"animations-library"},Yq={key:0,class:"animations-library__text text-body-2"};function Kq(t,e,o,n,s,a){const l=Y("ZyroIconSelect"),i=Y("i18n-t"),c=Y("NpsRateFeature");return r(),v("div",null,[h("div",qq,[t.elementId?B("",!0):(r(),v("p",Yq,w(t.$t("builder.animationsSettingsExplanation")),1)),b(l,{"model-value":t.animationType,options:t.ANIMATION_TYPES,"items-per-row":2,"icon-container-padding":"0","group-name":"animations","active-background-color":"var(--color-azure-lighter)",class:"animations-library__select text-body-2","onUpdate:modelValue":t.setAnimation,onOptionClick:e[0]||(e[0]=u=>t.displayAnimationInEditor({animation:u,id:t.elementId}))},null,8,["model-value","options","onUpdate:modelValue"]),t.elementId?B("",!0):(r(),S(i,{key:1,tag:"p",keypath:"builder.animationsSettingsText",class:"animations-library__text text-body-2"},{default:k(()=>[h("a",{class:"animations-library__link",onClick:e[1]||(e[1]=(...u)=>t.openPreview&&t.openPreview(...u))},w(t.$t("builder.animationsPreviewMode")),1)]),_:1}))]),t.elementId?B("",!0):(r(),S(c,{key:0,"feature-name":t.$t("builder.npsRateGlobalStyles"),type:t.NPS_TYPE_FEATURE_GLOBAL_STYLES_ANIMATION},null,8,["feature-name","type"]))])}const fI=V(Wq,[["render",Kq],["__scopeId","data-v-1a82c710"]]),Zq=K({components:{AnimationsLibrary:fI},setup(){const{getters:t}=et();return{currentElementId:d(()=>t.currentElementId)}}});function Qq(t,e,o,n,s,a){const l=Y("AnimationsLibrary");return r(),S(l,{"element-id":t.currentElementId},null,8,["element-id"])}const $s=V(Zq,[["render",Qq]]),Xq={__name:"EditButton",emits:["close"],setup(t,{emit:e}){const{getters:o}=et(),{t:n}=_t(),s=d(()=>o.currentElementId),a=d(()=>o.currentElementType),l=d(()=>o.currentElementBlockType),i=e,c=[{title:"Stripe",id:"stripe"},{title:n("common.product"),id:"ecommerce"},{title:n("common.general"),id:"general"},{title:n("common.style"),id:"style"},{title:n("common.layout"),id:"layout"},{title:n("common.animation"),id:"animation"}],u=d(()=>a.value===Tg),p=d(()=>a.value===ps),g=d(()=>l.value===oa),f=d(()=>{const T=g.value?["general","style","animation"]:["general","style","layout"];return u.value?[...T,"stripe"]:p.value?[...T,"ecommerce"]:T}),y=d(()=>c.filter(T=>f.value.includes(T.id))),E=C(y.value[0]),I=d(()=>u.value?n("common.stripeCheckout"):p.value?n("builder.ecommerceAddToBagButton"):n("builder.editButton.popupTitle"));return(T,x)=>(r(),S(No,{type:"editor",title:I.value,tabs:y.value,"current-tab":E.value,"onUpdate:currentTab":x[6]||(x[6]=P=>E.value=P),onClose:x[7]||(x[7]=P=>i("close"))},{default:k(()=>[E.value.id==="general"?(r(),S(uI,{key:0,"element-id":s.value,onClose:x[0]||(x[0]=P=>i("close"))},null,8,["element-id"])):E.value.id==="ecommerce"?(r(),S(tW,{key:1,onClose:x[1]||(x[1]=P=>i("close"))})):E.value.id==="layout"?(r(),S(lW,{key:2,onClose:x[2]||(x[2]=P=>i("close"))})):E.value.id==="stripe"?(r(),S(OW,{key:3,onClose:x[3]||(x[3]=P=>i("close"))})):E.value.id==="style"?(r(),S(bI,{key:4,"element-id":s.value,onClose:x[4]||(x[4]=P=>i("close"))},null,8,["element-id"])):E.value.id==="animation"?(r(),S($s,{key:5,onClose:x[5]||(x[5]=P=>i("close"))})):B("",!0),p.value?B("",!0):(r(),S(fo,{key:6,class:"edit-button__nps","feature-name":T.$t("builder.npsRateButton"),type:m(j0)},null,8,["feature-name","type"]))]),_:1},8,["title","tabs","current-tab"]))}},yI=V(Xq,[["__scopeId","data-v-99215c33"]]),xm=(t,{href:e}={})=>({href:e,type:d(()=>{var o;return(o=t.data.settings)==null?void 0:o.type}),fontSizeMobile:d(()=>{var o;return(o=t.data.mobile)==null?void 0:o.fontSize}),fontSizeDesktop:d(()=>{var o;return(o=t.data.desktop)==null?void 0:o.fontSize}),fontFamily:d(()=>t.data.fontFamily),fontWeight:d(()=>t.data.fontWeight),borderWidth:d(()=>t.data.borderWidth),borderRadius:d(()=>t.data.borderRadius),backgroundColor:d(()=>t.data.backgroundColor),fontColor:d(()=>t.data.fontColor),borderColor:d(()=>t.data.borderColor),backgroundColorHover:d(()=>t.data.backgroundColorHover),fontColorHover:d(()=>t.data.fontColorHover),borderColorHover:d(()=>t.data.borderColorHover),buttonType:d(()=>t.data.settings.isFormButton?"submit":null),tagName:d(()=>t.data.settings.isFormButton?"button":"a"),target:d(()=>t.data.target),rel:d(()=>t.data.rel),content:d(()=>t.data.content),mobileElementWidth:d(()=>t.data.mobile.width),mobileElementHeight:d(()=>t.data.mobile.height)}),Jq=K({__name:"GridButtonProviderBuilder",props:{data:{},elementId:{},isActive:{type:Boolean},isPreviewMode:{type:Boolean}},setup(t){const e=t,{dispatch:o}=et(),n=Bt(),{siteBlocks:s,sitePages:a,defaultLocale:l,site:i}=vi(n),c=async Z=>{var st,J,Q;if(Z.preventDefault(),e.data.settings.isFormButton)return;const[G,X]=(e.data.href||"").split("#"),ot=G.split("/").pop();if(e.data.linkType===le.PAGE&&e.data.linkedPageId){const lt=jc({defaultLocalePages:(st=i.value.languages[l.value])==null?void 0:st.pages}),pt=Object.entries(a.value).some(([dt,{type:bt}])=>bt===Uo&&dt===e.data.linkedPageId);lt&&pt&&o("updateCurrentLocale",l.value),o("updateCurrentPageSlug",ot),o("updateCurrentPageId",e.data.linkedPageId);return}if(e.data.linkType===le.ANCHORED_SECTION&&e.data.linkedPageId){const lt=(J=Object.entries(a.value).find(([,bt])=>bt.slug===ot))==null?void 0:J[0],pt=(Q=Object.entries(s.value).find(([,bt])=>bt.htmlId===X))==null?void 0:Q[0];if(await o("updateCurrentPageId",lt),!pt)return;const dt=document.querySelector(`[data-block-id="${pt}"]`);if(!dt)return;window.requestAnimationFrame(()=>{var bt,ht;(ht=document.querySelector(`.${Ac}`))==null||ht.scrollTo({top:document.querySelector(`.${kr}`)?dt.offsetTop-(((bt=document.querySelector(`.${kr}`))==null?void 0:bt.offsetHeight)||0):dt.offsetTop,behavior:"smooth"})});return}e.data.href&&window.open(e.data.href,"_blank")},{tagName:u,href:p,target:g,rel:f,type:y,content:E,fontSizeMobile:I,fontSizeDesktop:T,fontFamily:x,fontWeight:P,borderWidth:z,borderRadius:L,backgroundColor:$,fontColor:A,borderColor:D,backgroundColorHover:O,fontColorHover:M,borderColorHover:H,mobileElementWidth:F,mobileElementHeight:j}=xm(e,{href:d(()=>e.data.href)}),q=C(null),{closeElementEditPopupHandler:W}=_i({elementId:e.elementId});return(Z,G)=>{var ot;const X=rt("qa");return r(),v(at,null,[R(b(wa,{ref_key:"buttonRef",ref:q,"data-element-ref":e.elementId,"tag-name":m(u),class:"layout-element__component layout-element__component--GridButton",href:m(p),target:m(g),rel:m(f),type:m(y),content:m(E),"font-size-mobile":m(I),"font-size-desktop":m(T),"font-family":m(x),"font-weight":m(P),"border-width":m(z),"border-radius":m(L),"background-color":m($),"font-color":m(A),"border-color":m(D),"background-color-hover":m(O),"font-color-hover":m(M),"border-color-hover":m(H),"mobile-element-width":m(F),"mobile-element-height":m(j),"is-in-builder":"",onClick:G[0]||(G[0]=st=>Z.isPreviewMode?c(st):st.preventDefault()),onDrag:G[1]||(G[1]=Kt(()=>{},["prevent"])),onDragstart:G[2]||(G[2]=Kt(()=>{},["prevent"]))},null,8,["data-element-ref","tag-name","href","target","rel","type","content","font-size-mobile","font-size-desktop","font-family","font-weight","border-width","border-radius","background-color","font-color","border-color","background-color-hover","font-color-hover","border-color-hover","mobile-element-width","mobile-element-height"]),[[X,"builder-gridelement-gridbutton"]]),Z.isPreviewMode?B("",!0):(r(),S(wi,{key:0,"target-ref":(ot=q.value)==null?void 0:ot.$el,"element-id":e.elementId,"is-element-active":e.isActive,"enter-edit-mode-button-title":Z.$t("builder.editButton.title")},{"edit-mode-popup":k(()=>[b(yI,{onClose:m(W)},null,8,["onClose"])]),_:1},8,["target-ref","element-id","is-element-active","enter-edit-mode-button-title"]))],64)}}}),tY=t=>{const e=d(()=>{var n;return(n=t.data.settings)==null?void 0:n.productId}),o=d(()=>{var n;return(n=t.data.settings)==null?void 0:n.productVariantId});return{productId:e,productVariantId:o}},eY=["data-element-ref"],xw=32,oY=K({__name:"GridEcommerceButtonProviderBuilder",props:{data:{},elementId:{},isActive:{type:Boolean},isPreviewMode:{type:Boolean}},setup(t){const e=t,{notify:o}=Oe(),{dispatch:n}=et(),s=ue(),a=C(null),{content:l,type:i,fontSizeMobile:c,fontSizeDesktop:u,fontFamily:p,fontWeight:g,borderRadius:f,backgroundColor:y,fontColor:E,borderColor:I,backgroundColorHover:T,borderWidth:x,fontColorHover:P,borderColorHover:z}=xm(e,{href:d(()=>e.data.href)}),{productVariantId:L}=tY(e),{closeElementEditPopupHandler:$}=_i({elementId:e.elementId}),A=d(()=>a.value?{top:`-${xw/2}px`,right:`-${xw/2}px`,position:"absolute",zIndex:1}:null),D=()=>{o({messageI18nKeyPath:"onlineStore.checkoutModalDisabledPreview",theme:"info"})},O=d(()=>{var q;return L.value&&((q=s.products)==null?void 0:q.some(W=>W.variants.some(Z=>Z.id===L.value)))?L.value:-1}),M=d(()=>/^(?!(\s*|-1)$)/.test(O.value)),H=async()=>{var j;s.count>((j=s.products)==null?void 0:j.length)&&await s.fetchProducts({limit:s.count})},F=()=>{O.value!==L.value&&n("mergeElementData",{elementId:e.elementId,elementData:{settings:{productVariantId:O.value}}})};return Vt(async()=>{await H(),F()}),(j,q)=>{var Z;const W=rt("qa");return r(),v(at,null,[h("div",{"data-element-ref":j.elementId,class:"ecommerce-button layout-element__component layout-element__component--GridEcommerceButton"},[R(b(wa,{ref_key:"ecommerceRef",ref:a,"tag-name":"button",content:m(l),type:m(i),"font-size-mobile":m(c),"font-size-desktop":m(u),"font-family":m(p),"font-weight":m(g),"border-radius":m(f),"background-color":m(y),"font-color":m(E),"border-color":m(I),"background-color-hover":m(T),"font-color-hover":m(P),"border-color-hover":m(z),"border-width":m(x),"is-in-builder":"",onClick:q[0]||(q[0]=G=>j.isPreviewMode?D():G.preventDefault()),onDrag:q[1]||(q[1]=Kt(()=>{},["prevent"])),onDragstart:q[2]||(q[2]=Kt(()=>{},["prevent"]))},null,8,["content","type","font-size-mobile","font-size-desktop","font-family","font-weight","border-radius","background-color","font-color","border-color","background-color-hover","font-color-hover","border-color-hover","border-width"]),[[W,"builder-gridelement-gridecommercebutton"]]),!M.value&&!j.isPreviewMode?(r(),v("div",{key:0,style:re(A.value)},[b(Ko,{"toggle-event":"hover",mode:"dark",position:"right"},{trigger:k(()=>[b(Qt,{name:"warning",dimensions:"32px"})]),default:k(()=>[U(" "+w(j.$t("builder.zyroEcommerceNoProducts")),1)]),_:1})],4)):B("",!0)],8,eY),j.isPreviewMode?B("",!0):(r(),S(wi,{key:0,"target-ref":(Z=a.value)==null?void 0:Z.$el,"element-id":j.elementId,"is-element-active":j.isActive,"enter-edit-mode-button-title":j.$t("builder.editButton.title")},{"edit-mode-popup":k(()=>[b(yI,{onClose:m($)},null,8,["onClose"])]),_:1},8,["target-ref","element-id","is-element-active","enter-edit-mode-button-title"]))],64)}}}),nY=V(oY,[["__scopeId","data-v-3d140d87"]]),iY=["id"],sY=["srcdoc"],aY=K({__name:"GridEmbed",props:{srcdoc:{default:""},shouldRender:{type:Boolean,default:!1},isSandBoxed:{type:Boolean},id:{}},emits:["iframe-height-updated"],setup(t,{emit:e}){fe(c=>({"235e916e":l.value}));const o=t,n=e,s=C(),a=C(0),l=d(()=>a.value?`${a.value}px`:"auto"),i=c=>{c.data.action==="iframeHeightUpdated"&&o.id===c.data.id&&a.value!==c.data.height&&(a.value=c.data.height,n("iframe-height-updated",a.value))};return Vt(()=>{window.addEventListener("message",i)}),Ll(()=>{window.removeEventListener("message",i)}),(c,u)=>{const p=rt("qa");return R((r(),v("div",{id:c.id,class:"grid-embed"},[c.shouldRender?R((r(),v("iframe",In({key:0,ref_key:"gridEmbedIframeRef",ref:s,class:"grid-embed__iframe",srcdoc:c.srcdoc,title:"custom code element"},{...c.isSandBoxed&&{sandbox:"allow-scripts"}}),null,16,sY)),[[p,"builder-gridelement-gridembed-iframe"]]):B("",!0)],8,iY)),[[p,"builder-gridelement-gridembed"]])}}}),lY=V(aY,[["__scopeId","data-v-0b938be5"]]),rY="info",dY="success",cY="warning",uY="error",Tw={[rY]:{iconName:"info"},[dY]:{iconName:"check_circle"},[cY]:{iconName:"warning"},[uY]:{iconName:"error"}},pY=K({components:{Icon:ct},props:{title:{type:String,default:""},subtitle:{type:String,default:""},isWithIcon:{type:Boolean,default:!0},theme:{type:String,default:"info",validator:t=>t in Tw}},setup(){return{BANNER_THEMES:Tw,hasSlotContent:Wi}}}),gY={class:"banner__content-wrapper"},mY={class:"banner__content"},hY={key:0,class:"banner__title text-bold-2"},bY={key:0,class:"banner__subtitle text-body-2"},fY={key:0,class:"banner__button-wrapper"};function yY(t,e,o,n,s,a){const l=Y("Icon");return r(),v("div",{class:ut(`banner banner--${t.theme}`)},[t.isWithIcon?(r(),S(l,{key:0,name:t.BANNER_THEMES[t.theme].iconName,class:"banner__icon"},null,8,["name"])):B("",!0),h("div",gY,[h("div",mY,[wt(t.$slots,"title",{},()=>[t.title?(r(),v("h3",hY,w(t.title),1)):B("",!0)],!0),wt(t.$slots,"subtitle",{},()=>[t.subtitle?(r(),v("p",bY,w(t.subtitle),1)):B("",!0)],!0)]),t.hasSlotContent(t.$slots.button)?(r(),v("div",fY,[wt(t.$slots,"button",{},void 0,!0)])):B("",!0)])],2)}const su=V(pY,[["render",yY],["__scopeId","data-v-63160a98"]]),vY=K({props:{id:{type:String},modelValue:{type:String,required:!0},placeholder:{type:String,default:""},color:{type:String,default:"",validator(t){return["","light"].includes(t)}},error:{type:String,default:""},theme:{type:String,default:"primary",validator:t=>["primary","secondary","hostinger"].includes(t)},isResizable:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:""},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},minHeight:{type:Number,default:130},isActive:{type:Boolean,default:!1}},emits:["update:model-value","text-area-blur","text-area-focus"]}),_Y=["id","autofocus","placeholder","disabled","maxlength","value"];function wY(t,e,o,n,s,a){const l=rt("qa");return R((r(),v("textarea",{id:t.id||void 0,ref:"textareaRef",class:ut(["zyro-textarea",[{[`zyro-textarea--${t.theme}`]:t.theme},{"text-body-2":t.theme==="primary"},{"text-body-1":t.theme==="secondary"},{"zyro-textarea--light":t.color},{"zyro-textarea--error":t.error},{"zyro-textarea--resizable":t.isResizable},{"zyro-textarea--min-height":t.minHeight},{"zyro-textarea--active":t.isActive}]]),style:re({"--zyro-textarea-min-height":t.minHeight?`${t.minHeight}px`:"auto"}),autofocus:t.autofocus,placeholder:t.placeholder,disabled:t.disabled,maxlength:t.maxlength,value:t.modelValue,autocomplete:"off",onBlur:e[0]||(e[0]=i=>t.$emit("text-area-blur",i)),onFocus:e[1]||(e[1]=i=>t.$emit("text-area-focus",i)),onInput:e[2]||(e[2]=i=>t.$emit("update:model-value",i.target.value))},null,46,_Y)),[[l,"zyro-textarea"]])}const au=V(vY,[["render",wY],["__scopeId","data-v-f8cc20c5"]]),kY={class:"code-editor"},EY={__name:"ZyroCodeEditor",props:{modelValue:{type:String,default:""}},emits:["update:model-value"],setup(t,{emit:e}){const o=t,n=e,s=C(null);return Vt(()=>{const a=s.value.$el;a.focus({preventScroll:!0}),a.setSelectionRange&&a.setSelectionRange(a.value.length,a.value.length)}),(a,l)=>(r(),v("div",kY,[b(au,{ref_key:"codeEditorInput",ref:s,autofocus:"",class:"code-editor__text-area","min-height":262,"model-value":o.modelValue,"onUpdate:modelValue":l[0]||(l[0]=i=>n("update:model-value",i))},null,8,["model-value"])]))}},IY={class:"edit-embed"},SY={__name:"EditEmbed",emits:["close"],setup(t,{emit:e}){const{getters:o,dispatch:n,state:s}=et(),{notify:a}=Oe(),{t:l}=_t(),i=["WebAssembly"],c=e,u=C(null),p=d(()=>o.currentElementContent);Vt(()=>{u.value=p.value});const g=I=>i.some(T=>I.includes(T)),f=I=>!g(I),y=()=>{c("close")},E=()=>{if(s.user.user.isAccessManager){a({message:l("builder.embeddedCodeEditDisabled")}),y();return}if(!f(u.value)){y();return}n("mergeCurrentElementData",{elementData:{content:u.value}}),It.logEvent({eventName:"website_builder.embed_code.edit"}),y()};return(I,T)=>(r(),v("div",IY,[b(No,{type:"editor","show-footer":"",title:I.$t("common.embedCode"),"save-btn-title":I.$t("common.embedCode"),"max-width":"560px","editor-popup-width":"560px",onClose:y,onSave:E},{default:k(()=>[b(ee,{class:"edit-embed__input-label"},{default:k(()=>[U(w(I.$t("builder.editEmbed.addYourCodeHere")),1)]),_:1}),b(EY,{modelValue:u.value,"onUpdate:modelValue":T[0]||(T[0]=x=>u.value=x)},null,8,["modelValue"]),b(su,{class:"edit-embed__disclaimer",subtitle:I.$t("builder.editEmbed.disclaimer")},null,8,["subtitle"]),b(fo,{"feature-name":I.$t("builder.npsRateEmbed"),type:m(Y0)},null,8,["feature-name","type"])]),_:1},8,["title","save-btn-title"])]))}},xY=V(SY,[["__scopeId","data-v-3d70cc4f"]]),TY=` `,CY=t=>`