1const __vite__fileDeps=["./YLkpTi5D.js","./RAqWWVVn.js","./Ca2eL4Js.js","./BQuqH6Lb.js","./ZfivI5ci.js","./Csu9Rc6D.js","./C5U9BwEw.js","./6MUkgFDV.js","./Be9ZCEG9.js","./OXJXYgxy.js","./CEA26BjM.js","./DkpovBrm.js","./Cb_kS5S0.js","./BusE4lTE.js","./BzrrR65A.js","./CLt7IwJf.js","./BIfLO0RU.js","./DY76sdU2.js","./BcnjSoQ7.js","./FDfEzqOl.js","./CjeAOQ6E.js","./CZ7DMv1a.js","./DJz23xbx.js","./4yPCpfMx.js","./eGQKAgcg.js","./nfQwY643.js","./CleopQyy.js","./5csxra16.js","./cD8LFehN.js","./JoChv2-e.js","./DZeMC4Gf.js","./Cx4HfBst.js","./DS8XpQG0.js","./CXghx4Or.js","./C-CDVUPo.js","./CCUwKStE.js","./BCLPlyfM.js","./BIDVRb61.js","./BztNS96o.js","./Dgt8hnIS.js","./qou9fVnf.js","./BGtiSmg1.js","./DZ17DalP.js","./BfVREgI5.js","./C8qZe5fx.js","./C3Pcc9PF.js","./B-_lGJAi.js","./Cgu3W68J.js","./BmBqOlQ_.js","./CC4s-FCt.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); 2import{_ as ge,a as Te,c as $o,d as qt,m as zo,k as Q,u as Oo,l as ur,n as pr,o as Bo,e as Eo,p as dr}from"./Ca2eL4Js.js";import{k as H,u as i,G as s,J as d,_ as Z,O as h,j as ae,a as me,y as fr,n as _n,o as _r,b as kn,L as x,M as j,F as te,$ as M,a4 as _e,a3 as se,a1 as Y,H as L,I as U,z as F,P as St,Q as Lt,a5 as wn,a6 as Tn,a7 as Ut,a8 as Zt,a9 as Do,U as Ke,aa as Mo,ab as Po,r as No,D as er,x as J,A as tr,T as jo,Y as hr,E as mr,ac as yr,N as Ft}from"./RAqWWVVn.js";import{_ as je}from"./OXJXYgxy.js";import{_ as Me}from"./CEA26BjM.js";import{u as pt}from"./DkpovBrm.js";const Ro=["src"],Go={__name:"BlurredBackground",props:{image:{type:String,default:""},blur:{type:Number,default:128},fallbackColor:{type:String,default:"#121212"}},setup(e){const{ImageServer:t}=Te(),n=e,r=H(()=>{const p=n.image;return!p||p==="/logo-only.svg"?"":/^https?:\/\//.test(p)||p.startsWith("/")&&p.endsWith(".svg")?p:t+p}),l=H(()=>({filter:`blur(${n.blur}px)`,backgroundColor:n.fallbackColor}));return(p,b)=>i(r)?(s(),d("img",{key:0,src:i(r),class:"blurred-bg",style:Z(i(l)),alt:"","aria-hidden":"true"},null,12,Ro)):h("",!0)}},Yc=ge(Go,[["__scopeId","data-v-74cbd16b"]]),Ho={class:"marquee-item"},Vo={class:"marquee-item","aria-hidden":"true"},Fo={key:1,class:"marquee-static"},nr=40,Wo=ae({__name:"Marquee",props:{text:{},speed:{default:20}},setup(e){const t=e,n=me(null),r=me(null),l=me(!1),p=me(0);function b(){const S=n.value,k=r.value;if(!S||!k)return;const m=S.clientWidth,_=k.scrollWidth;_>m+1?(l.value=!0,p.value=Math.max(4,(_+nr)/t.speed)):l.value=!1}let w=null;return fr(()=>{_n(b),typeof ResizeObserver<"u"&&n.value&&(w=new ResizeObserver(()=>b()),w.observe(n.value))}),_r(()=>w==null?void 0:w.disconnect()),kn(()=>t.text,()=>_n(b)),(S,k)=>(s(),d("div",{ref_key:"root",ref:n,class:"marquee"},[i(l)?(s(),d("div",{key:0,class:"marquee-track",style:Z({animationDuration:i(p)+"s","--marquee-gap":nr+"px"})},[x("span",Ho,j(S.text),1),x("span",Vo,j(S.text),1)],4)):(s(),d("span",Fo,j(S.text),1)),x("span",{ref_key:"measurer",ref:r,class:"marquee-measure","aria-hidden":"true"},j(S.text),513)],512))}}),Kt=ge(Wo,[["__scopeId","data-v-a9af3489"]]),qo={class:"price-main"},Uo={key:0,class:"price-original"},Zo={key:1,class:"price-main"},Ko=ae({__name:"PriceTag",props:{price:{},priceAfterDiscount:{},currency:{},center:{type:Boolean,default:!1}},setup(e){const t=e,n=b=>b!=null&&String(b).trim().length>0,r=H(()=>n(t.price)),l=H(()=>n(t.priceAfterDiscount)),p=H(()=>t.currency?" "+t.currency:"");return(b,w)=>i(r)||i(l)?(s(),d("div",{key:0,class:M(["price-tag flex items-baseline gap-1.5 flex-wrap",b.center?"justify-center":"justify-start"])},[i(l)?(s(),d(te,{key:0},[x("span",qo,j(b.priceAfterDiscount)+j(i(p)),1),i(r)?(s(),d("span",Uo,j(b.price)+j(i(p)),1)):h("",!0)],64)):(s(),d("span",Zo,j(b.price)+j(i(p)),1))],2)):h("",!0)}}),st=ge(Ko,[["__scopeId","data-v-f5c1e8f9"]]),Qo={class:"products-strip pt-2 pb-2.5 w-full"},Jo={class:"products-track"},Yo={class:"w-[120px] overflow-hidden grid grid-cols-1 text-center justify-items-center"},Xo={class:"grid-title pt-2 w-full truncate"},ei=ae({__name:"Grid",props:{items:{},moduleType:{}},setup(e){const{ImageServer:t}=Te(),n=e;return(r,l)=>
2{const p=je,b=Kt,w=st,S=Me,k=_e("blur-on-load"),m=_e("track-click");return s(),d("div",Qo,[x("div",Jo,[(s(!0),d(te,null,se(n.items,_=>Y((s(),L(S,{key:_,target:"_blank",class:"product-cell block",to:_.url},{default:U(()=>[x("div",Yo,[Y(F(p,{loading:"lazy",width:"160",src:i(t)+_.thumbnail_url,class:"size-[120px] rounded-[10px] object-cover",alt:_.title},null,8,["src","alt"]),[[k]]),x("div",Xo,j(_.title),1),_.description?(s(),L(b,{key:0,class:"grid-desc w-full text-center",text:_.description},null,8,["text"])):h("",!0),F(w,{class:"mt-1",price:_.price,"price-after-discount":_.price_after_discount,currency:_.currency,center:!0},null,8,["price","price-after-discount","currency"])])]),_:2},1032,["to"])),[[m,{moduleType:r.moduleType,moduleName:_.title}]])),128))])])}}}),ti=ge(ei,[["__scopeId","data-v-5b354e75"]]),ni={class:"mb-4 mt-2 w-100 grid grid-cols-2 gap-2 lg:gap-4"},ri={class:"pt-2 text-heading-weight w-full truncate text-center"},oi=ae({__name:"Grid2",props:{items:{},moduleType:{}},setup(e){const{ImageServer:t}=Te(),n=e;return(r,l)=>{const p=je,b=Kt,w=st,S=Me,k=_e("blur-on-load"),m=_e("track-click");return s(),d("div",ni,[(s(!0),d(te,null,se(n.items,_=>Y((s(),L(S,{key:_,target:"_blank",class:"flex flex-col items-center text-center min-w-0",to:_.url},{default:U(()=>[Y(F(p,{loading:"lazy",width:"160",src:i(t)+_.thumbnail_url,class:"w-full aspect-square rounded-md border-gray-800/30 object-cover",alt:_.title},null,8,["src","alt"]),[[k]]),x("div",ri,j(_.title),1),_.description?(s(),L(b,{key:0,class:"w-full text-sm opacity-80 text-center",text:_.description},null,8,["text"])):h("",!0),F(w,{class:"mt-1",price:_.price,"price-after-discount":_.price_after_discount,currency:_.currency,center:!0},null,8,["price","price-after-discount","currency"])]),_:2},1032,["to"])),[[m,{moduleType:r.moduleType,moduleName:_.title}]])),128))])}}}),ii=e=>(St("data-v-73a94459"),e=e(),Lt(),e),si={class:"product-card flex items-stretch h-[92px] rounded-xl overflow-hidden"},ai={class:"flex-1 min-w-0 flex flex-col justify-center px-3 py-2.5"},li={class:"card-title"},ci={key:0,class:"card-desc"},ui={key:0,class:"flex-none flex items-center justify-center",style:{"padding-inline-start":"8px","padding-inline-end":"14px"}},pi={viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"0.6"}},di=ii(()=>x("polyline",{points:"9 18 15 12 9 6"},null,-1)),fi=[di],_i=ae({__name:"ProductCard",props:{item:{},moduleType:{},showArrow:{type:Boolean,default:!1},circleImage:{type:Boolean,default:!1}},setup(e){const{ImageServer:t}=Te();return(n,r)=>{const l=je,p=st,b=Me,w=_e("blur-on-load"),S=_e("track-click");return Y((s(),L(b,{target:"_blank",class:"block",to:n.item.url},{default:U(()=>[x("div",si,[x("div",{class:M(["flex-none aspect-square h-full",{"flex items-center justify-center p-2.5":n.circleImage}])},[Y(F(l,{loading:"lazy",width:"120",src:i(t)+n.item.thumbnail_url,class:M(["object-cover",n.circleImage?"w-full aspect-square rounded-full":"w-full h-full"]),alt:n.item.title},null,8,["src","class","alt"]),[[w]])],2),x("div",ai,[x("div",li,j(n.item.title),1),n.item.description?(s(),d("div",ci,j(n.item.description),1)):h("",!0),F(p,{class:"mt-1",price:n.item.price,"price-after-discount":n.item.price_after_discount,currency:n.item.currency},null,8,["price","price-after-discount","currency"])]),n.showArrow?(s(),d("div",ui,[(s(),d("svg",pi,fi))])):h("",!0)])]),_:1},8,["to"])),[[S,{moduleType:n.moduleType,moduleName:n.item.title}]])}}}),xn=ge(_i,[["__scopeId","data-v-73a94459"]]),hi={class:"mb-4 mt-2 w-100"},mi=ae({__name:"Swiper",props:{items:{},moduleType:{},showArrow:{type:Boolean,default:!1},circleImage:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>{const l=xn,p=Ut,b=Zt;return s(),d("div",hi,[F(b,{modules:["SwiperFreeMode"in n?n.SwiperFreeMode:i(wn),"SwiperScrollbar"in n?n.SwiperScrollbar:i(Tn)],loop:!1,scrollbar:{hide:!0},breakpoints:{200:{slidesPerView:1.1,spaceBetween:8},768:{slidesPerView:1.2,spaceBetween:8},1024:{slidesPerView:1.4,spaceBetween:16}}},{default:U(()=>[(s(!0),d(te,null,se(t.items,w=>(s(),L(p,{key:w},{default:U(()=>[F(l,{item:w,moduleType:n.moduleType,showArrow:n.showArrow,circleImage:n.circleImage},null,8,["item","moduleType","showArrow","circleImage"])]),_:2},1024))),128))]),_:1},8,["modules"])])}}}),yi={class:"mb-4 mt-2 w-100"},gi=ae({__name:"Swiper2",props:{items:{},moduleType:{},showArrow:{type:Boolean,default:!1},circleImage:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>{const l=xn,p=Ut,b=Zt;
2return s(),d("div",yi,[F(b,{modules:["SwiperScrollbar"in n?n.SwiperScrollbar:i(Tn),"SwiperGrid"in n?n.SwiperGrid:i(Do)],loop:!1,scrollbar:{hide:!0},grid:{rows:2,fill:"row"},breakpoints:{200:{slidesPerView:1.1,spaceBetween:8},768:{slidesPerView:1.3,spaceBetween:8},1024:{slidesPerView:1.4,spaceBetween:16}}},{default:U(()=>[(s(!0),d(te,null,se(t.items,w=>(s(),L(p,{class:"swiper2grid",key:w},{default:U(()=>[F(l,{item:w,moduleType:n.moduleType,showArrow:n.showArrow,circleImage:n.circleImage},null,8,["item","moduleType","showArrow","circleImage"])]),_:2},1024))),128))]),_:1},8,["modules"])])}}}),vi={class:"mb-4 mt-2 w-100"},bi={class:"w-full aspect-square overflow-hidden rounded-[10px]"},ki={class:"lg-title mt-2 w-full truncate"},wi=ae({__name:"Swiper3",props:{items:{},moduleType:{}},setup(e){const{ImageServer:t}=Te(),n=e;return(r,l)=>{const p=je,b=Kt,w=st,S=Me,k=Ut,m=Zt,_=_e("blur-on-load"),y=_e("track-click");return s(),d("div",vi,[F(m,{modules:["SwiperFreeMode"in r?r.SwiperFreeMode:i(wn),"SwiperScrollbar"in r?r.SwiperScrollbar:i(Tn)],loop:!1,scrollbar:{hide:!0},breakpoints:{200:{slidesPerView:1.1,spaceBetween:8},768:{slidesPerView:1.3,spaceBetween:8},1024:{slidesPerView:1.5,spaceBetween:16}}},{default:U(()=>[(s(!0),d(te,null,se(n.items,z=>(s(),L(k,{key:z},{default:U(()=>[Y((s(),L(S,{target:"_blank",class:"flex flex-col w-full",to:z.url},{default:U(()=>[x("div",bi,[Y(F(p,{loading:"lazy",width:"160",src:i(t)+z.thumbnail_url,class:"w-full h-full object-cover",alt:z.title},null,8,["src","alt"]),[[_]])]),x("div",ki,j(z.title),1),z.description?(s(),L(b,{key:0,class:"lg-desc",text:z.description},null,8,["text"])):h("",!0),F(w,{class:"mt-1",price:z.price,"price-after-discount":z.price_after_discount,currency:z.currency},null,8,["price","price-after-discount","currency"])]),_:2},1032,["to"])),[[y,{moduleType:r.moduleType,moduleName:z.title}]])]),_:2},1024))),128))]),_:1},8,["modules"])])}}}),Ti=ge(wi,[["__scopeId","data-v-abb621e9"]]),xi=e=>(St("data-v-916f3477"),e=e(),Lt(),e),Si={class:"mb-4 mt-2 w-100 flex flex-col gap-2 lg:gap-4"},Li={class:"flex-1 min-w-0 flex flex-col"},Ci={class:"promo-title text-lg font-bold leading-tight"},Ai={key:0,class:"promo-desc text-sm mt-1.5 leading-snug"},Ii={class:"mt-3"},$i={class:"promo-pill inline-flex items-center gap-1.5 rounded-full"},zi={key:0,viewBox:"0 0 24 24",width:"10",height:"10",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},Oi=xi(()=>x("polyline",{points:"9 18 15 12 9 6"},null,-1)),Bi=[Oi],Ei=ae({__name:"Promo",props:{items:{},moduleType:{},showArrow:{type:Boolean,default:!1},circleImage:{type:Boolean,default:!1}},setup(e){const{uiText:t,uiDir:n}=pt(),{ImageServer:r}=Te(),l=e;return(p,b)=>{const w=st,S=je,k=Me,m=_e("blur-on-load"),_=_e("track-click");return s(),d("div",Si,[(s(!0),d(te,null,se(l.items,y=>Y((s(),L(k,{key:y,target:"_blank",class:"promo-card flex items-start gap-3 rounded-2xl p-4",to:y.url},{default:U(()=>{var z;return[x("div",Li,[x("div",Ci,j(y.title),1),y.description?(s(),d("div",Ai,j(y.description),1)):h("",!0),F(w,{class:"mt-2",price:y.price,"price-after-discount":y.price_after_discount,currency:y.currency},null,8,["price","price-after-discount","currency"]),x("div",Ii,[x("span",$i,[x("span",null,j(((z=y.button_text)==null?void 0:z.trim())||i(t)("open")),1),p.showArrow?(s(),d("svg",zi,Bi)):h("",!0)])])]),Y(F(S,{loading:"lazy",width:"110",src:i(r)+y.thumbnail_url,class:M(["flex-none object-cover",p.circleImage?"rounded-full":"rounded-2xl"]),style:{width:"110px",height:"110px"},alt:y.title},null,8,["src","class","alt"]),[[m]])]}),_:2},1032,["to"])),[[_,{moduleType:p.moduleType,moduleName:y.title}]])),128))])}}}),Di=ge(Ei,[["__scopeId","data-v-916f3477"]]),Mi={class:"mb-4 mt-2 w-100 shop-scroll flex gap-2 lg:gap-4 overflow-x-auto pb-2"},Pi={class:"shop-img-holder rounded-xl p-2"},Ni={class:"aspect-square w-full"},ji={class:"shop-title mt-2 text-sm font-bold leading-tight text-center"},Ri={class:"mt-2 flex justify-center"},Gi={class:"shop-pill rounded-full"},Hi=ae({__name:"Shop",props:{items:{},moduleType:{},circleImage:{type:Boolean,default:!1}},setup(e){const{uiText:t,uiDir:n}=pt(),{ImageServer:r}=Te(),l=e;return(p,b)=>
2{const w=je,S=st,k=Me,m=_e("blur-on-load"),_=_e("track-click");return s(),d("div",Mi,[(s(!0),d(te,null,se(l.items,y=>Y((s(),L(k,{key:y,target:"_blank",class:"shop-card flex-none flex flex-col rounded-2xl p-2.5",to:y.url},{default:U(()=>{var z;return[x("div",Pi,[x("div",Ni,[Y(F(w,{loading:"lazy",width:"150",src:i(r)+y.thumbnail_url,class:M(["w-full h-full object-cover",p.circleImage?"rounded-full":"rounded-lg"]),alt:y.title},null,8,["src","class","alt"]),[[m]])])]),x("div",ji,j(y.title),1),F(S,{class:"mt-1",price:y.price,"price-after-discount":y.price_after_discount,currency:y.currency,center:!0},null,8,["price","price-after-discount","currency"]),x("div",Ri,[x("span",Gi,j(((z=y.button_text)==null?void 0:z.trim())||i(t)("open")),1)])]}),_:2},1032,["to"])),[[_,{moduleType:p.moduleType,moduleName:y.title}]])),128))])}}}),Vi=ge(Hi,[["__scopeId","data-v-5876dbdd"]]),Fi={class:"mb-4 mt-2 w-100 flex flex-col gap-2 lg:gap-4"},Wi={class:"w-full aspect-video overflow-hidden rounded-xl"},qi={class:"banner-title mt-2 text-center text-base font-semibold"},Ui=ae({__name:"Banner",props:{items:{},moduleType:{}},setup(e){const{ImageServer:t}=Te(),n=e;return(r,l)=>{const p=je,b=Kt,w=st,S=Me,k=_e("blur-on-load"),m=_e("track-click");return s(),d("div",Fi,[(s(!0),d(te,null,se(n.items,_=>Y((s(),L(S,{key:_,target:"_blank",class:"flex flex-col",to:_.url},{default:U(()=>[x("div",Wi,[Y(F(p,{loading:"lazy",width:"400",src:i(t)+_.thumbnail_url,class:"w-full h-full object-cover",alt:_.title},null,8,["src","alt"]),[[k]])]),x("div",qi,j(_.title),1),_.description?(s(),L(b,{key:0,class:"banner-desc text-center text-sm",text:_.description},null,8,["text"])):h("",!0),F(w,{class:"mt-1",price:_.price,"price-after-discount":_.price_after_discount,currency:_.currency,center:!0},null,8,["price","price-after-discount","currency"])]),_:2},1032,["to"])),[[m,{moduleType:r.moduleType,moduleName:_.title}]])),128))])}}}),Zi=ge(Ui,[["__scopeId","data-v-a133a158"]]),Ki={class:"mb-4 mt-2 w-100"},Qi=ae({__name:"List",props:{items:{},moduleType:{},showArrow:{type:Boolean,default:!1},circleImage:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>{const l=xn;return s(),d("div",Ki,[(s(!0),d(te,null,se(t.items,p=>(s(),d("div",{class:"swiper2grid pb-2 lg:pb-4",key:p},[F(l,{item:p,moduleType:n.moduleType,showArrow:n.showArrow,circleImage:n.circleImage},null,8,["item","moduleType","showArrow","circleImage"])]))),128))])}}}),Ji={class:"p-5"},Yi=ae({__name:"HeaderModule",props:{module:{}},setup(e){return(t,n)=>(s(),d("div",Ji,[x("h2",{dir:"auto",class:"font-bold",style:Z("font-size:"+t.module.size+"px;text-align:"+t.module.align+";")},j(t.module.value),5)]))}});var ye=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eu(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var le={},Sn={},Ln={},Ct={},ve={};
2Object.defineProperty(ve,"__esModule",{value:!0});var Xi=` 3`;ve.NewLine=Xi;var hn;(function(e){e.Ordered="ordered",e.Bullet="bullet",e.Checked="checked",e.Unchecked="unchecked"})(hn||(hn={}));ve.ListType=hn;var mn;(function(e){e.Sub="sub",e.Super="super"})(mn||(mn={}));ve.ScriptType=mn;var yn;(function(e){e.Rtl="rtl"})(yn||(yn={}));ve.DirectionType=yn;var gn;(function(e){e.Left="left",e.Center="center",e.Right="right",e.Justify="justify"})(gn||(gn={}));ve.AlignType=gn;var vn;(function(e){e.Image="image",e.Video="video",e.Formula="formula",e.Text="text"})(vn||(vn={}));ve.DataType=vn;var bn;(function(e){e.Block="block",e.InlineGroup="inline-group",e.List="list",e.Video="video",e.Table="table"})(bn||(bn={}));ve.GroupType=bn;var dt={};Object.defineProperty(dt,"__esModule",{value:!0});var es=function(){function e(t,n){this.type=t,this.value=n}return e}();dt.InsertDataQuill=es;var ts=function(){function e(t,n){this.type=t,this.value=n}return e}();dt.InsertDataCustom=ts;var Wt={exports:{}};Wt.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",l=1,p=2,b=9007199254740991,w="[object Arguments]",S="[object Array]",k="[object AsyncFunction]",m="[object Boolean]",_="[object Date]",y="[object Error]",z="[object Function]",g="[object GeneratorFunction]",D="[object Map]",R="[object Number]",T="[object Null]",$="[object Object]",I="[object Promise]",C="[object Proxy]",f="[object RegExp]",B="[object Set]",A="[object String]",N="[object Symbol]",q="[object Undefined]",W="[object WeakMap]",u="[object ArrayBuffer]",ne="[object DataView]",pe="[object Float32Array]",re="[object Float64Array]",ce="[object Int8Array]",ke="[object Int16Array]",xe="[object Int32Array]",Fe="[object Uint8Array]",Ye="[object Uint8ClampedArray]",Xe="[object Uint16Array]",We="[object Uint32Array]",Ae=/[\\^$.*+?()[\]{}|]/g,E=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,P={};P[pe]=P[re]=P[ce]=P[ke]=P[xe]=P[Fe]=P[Ye]=P[Xe]=P[We]=!0,P[w]=P[S]=P[u]=P[m]=P[ne]=P[_]=P[y]=P[z]=P[D]=P[R]=P[$]=P[f]=P[B]=P[A]=P[W]=!1;var G=typeof ye=="object"&&ye&&ye.Object===Object&&ye,de=typeof self=="object"&&self&&self.Object===Object&&self,X=G||de||Function("return this")(),we=t&&!t.nodeType&&t,Re=we&&!0&&e&&!e.nodeType&&e,$t=Re&&Re.exports===we,_t=$t&&G.process,zt=function(){try{return _t&&_t.binding&&_t.binding("util")}catch{}}(),Ot=zt&&zt.isTypedArray;function Xt(o,c){for(var v=-1,O=o==null?0:o.length,ee=0,V=[];++v<O;){var ie=o[v];c(ie,v,o)&&(V[ee++]=ie)}return V}function en(o,c){for(var v=-1,O=c.length,ee=o.length;++v<O;)o[ee+v]=c[v];return o}function tn(o,c){for(var v=-1,O=o==null?0:o.length;++v<O;)if(c(o[v],v,o))return!0;return!1}function nn(o,c){for(var v=-1,O=Array(o);++v<o;)O[v]=c(v);return O}function rn(o){return function(c){return o(c)}}function a(o,c){return o.has(c)}function Bt(o,c){return o==null?void 0:o[c]}function Et(o){var c=-1,v=Array(o.size);return o.forEach(function(O,ee){v[++c]=[ee,O]}),v}function lt(o,c){return function(v){return o(c(v))}}function Ar(o){var c=-1,v=Array(o.size);return o.forEach(function(O){v[++c]=O}),v}var Ir=Array.prototype,$r=Function.prototype,Dt=Object.prototype,on=X["__core-js_shared__"],Mn=$r.toString,Pe=Dt.hasOwnProperty,Pn=function(){var o=/[^.]+$/.exec(on&&on.keys&&on.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),Nn=Dt.toString,zr=RegExp("^"+Mn.call(Pe).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jn=$t?X.Buffer:void 0,Mt=X.Symbol,Rn=X.Uint8Array,Gn=Dt.propertyIsEnumerable,Or=Ir.splice,et=Mt?Mt.toStringTag:void 0,Hn=Object.getOwnPropertySymbols,Br=jn?jn.isBuffer:void 0,Er=lt(Object.keys,Object),sn=ct(X,"DataView"),ht=ct(X,"Map"),an=ct(X,"Promise"),ln=ct(X,"Set"),cn=ct(X,"WeakMap"),mt=ct(Object,"create"),Dr=rt(sn),Mr=rt(ht),Pr=rt(an),Nr=rt(ln),jr=rt(cn),Vn=Mt?Mt.prototype:void 0,un=Vn?Vn.valueOf:void 0;function tt(o){var c=-1,v=o==null?0:o.length;for(this.clear();++c<v;){var O=o[c];this.set(O[0],O[1])}}function Rr(){this.__data__=mt?mt(null):{},this.size=0}function Gr(o){var c=this.has(o)&&delete this.__data__[o];return this.size-=c?1:0,c}function Hr(o){var c=this.__data__;if(mt){var v=c[o];return v===r?void 0:v}return Pe.call(c,o)?c[o]:void 0}function Vr(o){var c=this.__data__;return mt?c[o]!==void 0:Pe.call(c,o)}function Fr(o,c){var v=this.__data__;return this.size+=this.has(o)?0:1,v[o]=mt&&c===void 0?r:c,this}tt.prototype.clear=Rr,tt.prototype.delete=Gr,tt.prototype.get=Hr,tt.prototype.has=Vr,tt.prototype.set=Fr;function Ge(o){var c=-1,v=o==null?0:o.length;for(this.clear();++c<v;){var O=o[c];this.set(O[0],O[1])}}function Wr(){this.__data__=[],this.size=0}function qr(o){var c=this.__data__,v=Nt(c,o);if(v<0)return!1;var O=c.length-1;return v==O?c.pop():Or.call(c,v,1),--this.size,!0}function Ur(o){var c=this.__data__,v=Nt(c,o);return v<0?void 0:c[v][1]}function Zr(o){return Nt(this.__data__,o)>-1}function Kr(o,c){var v=this.__data__,O=Nt(v,o);return O<0?(++this.size,v.push([o,c])):v[O][1]=c,this}Ge.prototype.clear=Wr,Ge.prototype.delete=qr,Ge.prototype.get=Ur,Ge.prototype.has=Zr,Ge.prototype.set=Kr;function nt(o){var c=-1,v=o==null?0:o.length;for(this.clear();++c<v;){var O=o[c];this.set(O[0],O[1])}}function Qr(){this.size=0,this.__data__={hash:new tt,map:new(ht||Ge),string:new tt}}function Jr(o){var c=jt(this,o).delete(o);return this.size-=c?1:0,c}function Yr(o){return jt(this,o).get(o)}function Xr(o){return jt(this,o).has(o)}
vendor: 2,022 bytes, line 3
3function eo(o,c){var v=jt(this,o),O=v.size;return v.set(o,c),this.size+=v.size==O?0:1,this}nt.prototype.clear=Qr,nt.prototype.delete=Jr,nt.prototype.get=Yr,nt.prototype.has=Xr,nt.prototype.set=eo;function Pt(o){var c=-1,v=o==null?0:o.length;for(this.__data__=new nt;++c<v;)this.add(o[c])}function to(o){return this.__data__.set(o,r),this}function no(o){return this.__data__.has(o)}Pt.prototype.add=Pt.prototype.push=to,Pt.prototype.has=no;function qe(o){var c=this.__data__=new Ge(o);this.size=c.size}function ro(){this.__data__=new Ge,this.size=0}function oo(o){var c=this.__data__,v=c.delete(o);return this.size=c.size,v}function io(o){return this.__data__.get(o)}function so(o){return this.__data__.has(o)}function ao(o,c){var v=this.__data__;if(v instanceof Ge){var O=v.__data__;if(!ht||O.length<n-1)return O.push([o,c]),this.size=++v.size,this;v=this.__data__=new nt(O)}return v.set(o,c),this.size=v.size,this}qe.prototype.clear=ro,qe.prototype.delete=oo,qe.prototype.get=io,qe.prototype.has=so,qe.prototype.set=ao;function lo(o,c){var v=Rt(o),O=!v&&xo(o),ee=!v&&!O&&pn(o),V=!v&&!O&&!ee&&Yn(o),ie=v||O||ee||V,ue=ie?nn(o.length,String):[],fe=ue.length;for(var oe in o)Pe.call(o,oe)&&!(ie&&(oe=="length"||ee&&(oe=="offset"||oe=="parent")||V&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||vo(oe,fe)))&&ue.push(oe);return ue}function Nt(o,c){for(var v=o.length;v--;)if(Zn(o[v][0],c))return v;return-1}function co(o,c,v){var O=c(o);return Rt(o)?O:en(O,v(o))}function yt(o){return o==null?o===void 0?q:T:et&&et in Object(o)?yo(o):To(o)}function Fn(o){return gt(o)&&yt(o)==w}function Wn(o,c,v,O,ee){return o===c?!0:o==null||c==null||!gt(o)&&!gt(c)?o!==o&&c!==c:uo(o,c,v,O,Wn,ee)}function uo(o,c,v,O,ee,V){var ie=Rt(o),ue=Rt(c),fe=ie?S:Ue(o),oe=ue?S:Ue(c);fe=fe==w?$:fe,oe=oe==w?$:oe;var Se=fe==$,Ee=oe==$,he=fe==oe;if(he&&pn(o)){if(!pn(c))return!1;ie=!0,Se=!1}if(he&&!Se)return V||(V=new qe),ie||Yn(o)?qn(o,c,v,O,ee,V):ho(o,c,fe,v,O,ee,V);if(!(v&l)){var Ie=Se&&Pe.call(o,"__wrapped__"),$e=Ee&&Pe.call(c,"__wrapped__");
vendor: 4,081 bytes, line 3
3if(Ie||$e){var Ze=Ie?o.value():o,He=$e?c.value():c;return V||(V=new qe),ee(Ze,He,v,O,V)}}return he?(V||(V=new qe),mo(o,c,v,O,ee,V)):!1}function po(o){if(!Jn(o)||ko(o))return!1;var c=Kn(o)?zr:E;return c.test(rt(o))}function fo(o){return gt(o)&&Qn(o.length)&&!!P[yt(o)]}function _o(o){if(!wo(o))return Er(o);var c=[];for(var v in Object(o))Pe.call(o,v)&&v!="constructor"&&c.push(v);return c}function qn(o,c,v,O,ee,V){var ie=v&l,ue=o.length,fe=c.length;if(ue!=fe&&!(ie&&fe>ue))return!1;var oe=V.get(o);if(oe&&V.get(c))return oe==c;var Se=-1,Ee=!0,he=v&p?new Pt:void 0;for(V.set(o,c),V.set(c,o);++Se<ue;){var Ie=o[Se],$e=c[Se];if(O)var Ze=ie?O($e,Ie,Se,c,o,V):O(Ie,$e,Se,o,c,V);if(Ze!==void 0){if(Ze)continue;Ee=!1;break}if(he){if(!tn(c,function(He,ot){if(!a(he,ot)&&(Ie===He||ee(Ie,He,v,O,V)))return he.push(ot)})){Ee=!1;break}}else if(!(Ie===$e||ee(Ie,$e,v,O,V))){Ee=!1;break}}return V.delete(o),V.delete(c),Ee}function ho(o,c,v,O,ee,V,ie){switch(v){case ne:if(o.byteLength!=c.byteLength||o.byteOffset!=c.byteOffset)return!1;o=o.buffer,c=c.buffer;case u:return!(o.byteLength!=c.byteLength||!V(new Rn(o),new Rn(c)));case m:case _:case R:return Zn(+o,+c);case y:return o.name==c.name&&o.message==c.message;case f:case A:return o==c+"";case D:var ue=Et;case B:var fe=O&l;if(ue||(ue=Ar),o.size!=c.size&&!fe)return!1;var oe=ie.get(o);if(oe)return oe==c;O|=p,ie.set(o,c);var Se=qn(ue(o),ue(c),O,ee,V,ie);return ie.delete(o),Se;case N:if(un)return un.call(o)==un.call(c)}return!1}function mo(o,c,v,O,ee,V){var ie=v&l,ue=Un(o),fe=ue.length,oe=Un(c),Se=oe.length;if(fe!=Se&&!ie)return!1;for(var Ee=fe;Ee--;){var he=ue[Ee];if(!(ie?he in c:Pe.call(c,he)))return!1}var Ie=V.get(o);if(Ie&&V.get(c))return Ie==c;var $e=!0;V.set(o,c),V.set(c,o);for(var Ze=ie;++Ee<fe;){he=ue[Ee];var He=o[he],ot=c[he];if(O)var Xn=ie?O(ot,He,he,c,o,V):O(He,ot,he,o,c,V);if(!(Xn===void 0?He===ot||ee(He,ot,v,O,V):Xn)){$e=!1;break}Ze||(Ze=he=="constructor")}if($e&&!Ze){var Gt=o.constructor,Ht=c.constructor;Gt!=Ht&&"constructor"in o&&"constructor"in c&&!(typeof Gt=="function"&&Gt instanceof Gt&&typeof Ht=="function"&&Ht instanceof Ht)&&($e=!1)}return V.delete(o),V.delete(c),$e}function Un(o){return co(o,Co,go)}function jt(o,c){var v=o.__data__;return bo(c)?v[typeof c=="string"?"string":"hash"]:v.map}function ct(o,c){var v=Bt(o,c);return po(v)?v:void 0}function yo(o){var c=Pe.call(o,et),v=o[et];try{o[et]=void 0;var O=!0}catch{}var ee=Nn.call(o);return O&&(c?o[et]=v:delete o[et]),ee}var go=Hn?function(o){return o==null?[]:(o=Object(o),Xt(Hn(o),function(c){return Gn.call(o,c)}))}:Ao,Ue=yt;(sn&&Ue(new sn(new ArrayBuffer(1)))!=ne||ht&&Ue(new ht)!=D||an&&Ue(an.resolve())!=I||ln&&Ue(new ln)!=B||cn&&Ue(new cn)!=W)&&(Ue=function(o){var c=yt(o),v=c==$?o.constructor:void 0,O=v?rt(v):"";if(O)switch(O){case Dr:return ne;case Mr:return D;case Pr:return I;case Nr:return B;case jr:return W}return c});function vo(o,c){return c=c??b,!!c&&(typeof o=="number"||K.test(o))&&o>-1&&o%1==0&&o<c}function bo(o){var c=typeof o;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?o!=="__proto__":o===null}function ko(o){return!!Pn&&Pn in o}function wo(o){var c=o&&o.constructor,v=typeof c=="function"&&c.prototype||Dt;return o===v}function To(o){return Nn.call(o)}function rt(o){if(o!=null){try{return Mn.call(o)}catch{}try{return o+""}catch{}}return""}function Zn(o,c){return o===c||o!==o&&c!==c}var xo=Fn(function(){return arguments}())?Fn:function(o){return gt(o)&&Pe.call(o,"callee")&&!Gn.call(o,"callee")},Rt=Array.isArray;function So(o){return o!=null&&Qn(o.length)&&!Kn(o)}var pn=Br||Io;function Lo(o,c){return Wn(o,c)}function Kn(o){if(!Jn(o))return!1;var c=yt(o);return c==z||c==g||c==k||c==C}function Qn(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=b}function Jn(o){var c=typeof o;return o!=null&&(c=="object"||c=="function")}function gt(o){return o!=null&&typeof o=="object"}var Yn=Ot?rn(Ot):fo;function Co(o){return So(o)?lo(o):_o(o)}function Ao(){return[]}function Io(){return!1}e.exports=Lo})(Wt,Wt.exports);var ns=Wt.exports,rs=ye&&ye.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
3Object.defineProperty(Ct,"__esModule",{value:!0});var Le=ve,rr=dt,os=rs(ns),is=function(){function e(t,n){typeof t=="string"&&(t=new rr.InsertDataQuill(Le.DataType.Text,t+"")),this.insert=t,this.attributes=n||{}}return e.createNewLineOp=function(){return new e(Le.NewLine)},e.prototype.isContainerBlock=function(){return this.isBlockquote()||this.isList()||this.isTable()||this.isCodeBlock()||this.isHeader()||this.isBlockAttribute()||this.isCustomTextBlock()},e.prototype.isBlockAttribute=function(){var t=this.attributes;return!!(t.align||t.direction||t.indent)},e.prototype.isBlockquote=function(){return!!this.attributes.blockquote},e.prototype.isHeader=function(){return!!this.attributes.header},e.prototype.isTable=function(){return!!this.attributes.table},e.prototype.isSameHeaderAs=function(t){return t.attributes.header===this.attributes.header&&this.isHeader()},e.prototype.hasSameAdiAs=function(t){return this.attributes.align===t.attributes.align&&this.attributes.direction===t.attributes.direction&&this.attributes.indent===t.attributes.indent},e.prototype.hasSameIndentationAs=function(t){return this.attributes.indent===t.attributes.indent},e.prototype.hasSameAttr=function(t){return os.default(this.attributes,t.attributes)},e.prototype.hasHigherIndentThan=function(t){return(Number(this.attributes.indent)||0)>(Number(t.attributes.indent)||0)},e.prototype.isInline=function(){return!(this.isContainerBlock()||this.isVideo()||this.isCustomEmbedBlock())},e.prototype.isCodeBlock=function(){return!!this.attributes["code-block"]},e.prototype.hasSameLangAs=function(t){return this.attributes["code-block"]===t.attributes["code-block"]},e.prototype.isJustNewline=function(){return this.insert.value===Le.NewLine},e.prototype.isList=function(){return this.isOrderedList()||this.isBulletList()||this.isCheckedList()||this.isUncheckedList()},e.prototype.isOrderedList=function(){return this.attributes.list===Le.ListType.Ordered},e.prototype.isBulletList=function(){return this.attributes.list===Le.ListType.Bullet},e.prototype.isCheckedList=function(){return this.attributes.list===Le.ListType.Checked},e.prototype.isUncheckedList=function(){return this.attributes.list===Le.ListType.Unchecked},e.prototype.isACheckList=function(){return this.attributes.list==Le.ListType.Unchecked||this.attributes.list===Le.ListType.Checked},e.prototype.isSameListAs=function(t){return!!t.attributes.list&&(this.attributes.list===t.attributes.list||t.isACheckList()&&this.isACheckList())},e.prototype.isSameTableRowAs=function(t){return!!t.isTable()&&this.isTable()&&this.attributes.table===t.attributes.table},e.prototype.isText=function(){return this.insert.type===Le.DataType.Text},e.prototype.isImage=function(){return this.insert.type===Le.DataType.Image},e.prototype.isFormula=function(){return this.insert.type===Le.DataType.Formula},e.prototype.isVideo=function(){return this.insert.type===Le.DataType.Video},e.prototype.isLink=function(){return this.isText()&&!!this.attributes.link},e.prototype.isCustomEmbed=function(){return this.insert instanceof rr.InsertDataCustom},e.prototype.isCustomEmbedBlock=function(){return this.isCustomEmbed()&&!!this.attributes.renderAsBlock},e.prototype.isCustomTextBlock=function(){return this.isText()&&!!this.attributes.renderAsBlock},e.prototype.isMentions=function(){return this.isText()&&!!this.attributes.mentions},e}();Ct.DeltaInsertOp=is;var Qt={},Cn={},At={},An={};Object.defineProperty(An,"__esModule",{value:!0});function ss(e){var t=e;t=t.replace(/^\s*/gm,"");var n=/^((https?|s?ftp|file|blob|mailto|tel):|#|\/|data:image\/)/;return n.test(t)?t:"unsafe:"+t}An.sanitize=ss;var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});var ut;(function(e){e[e.Html=0]="Html",e[e.Url=1]="Url"})(ut||(ut={}));function as(e,t){if(t===void 0&&(t=void 0),!e)return"";var n="";if(t){var r=[].concat(t);n=r.map(function(p){return p.key+(p.value?'="'+p.value+'"':"")}).join(" ")}var l=">";return(e==="img"||e==="br")&&(l="/>"),n?"<"+e+" "+n+l:"<"+e+l}Ve.makeStartTag=as;function ls(e){return e===void 0&&(e=""),e&&"</"+e+">"||""}Ve.makeEndTag=ls;function gr(e){return In(ut.Html).reduce(br,e)}Ve.decodeHtml=gr;function cs(e,t){return t===void 0&&(t=!0),t&&(e=gr(e)),In(ut.Html).reduce(vr,e)}Ve.encodeHtml=cs;function us(e){var t=In(ut.Url),n=t.reduce(br,e);return t.reduce(vr,n)}Ve.encodeLink=us;function In(e){var t=[["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["\\/","/"],["\\(","("],["\\)",")"]];return e===ut.Html?t.filter(function(n){var r=n[0];return n[1],r.indexOf("(")===-1&&r.indexOf(")")===-1}):t.filter(function(n){var r=n[0];return n[1],r.indexOf("/")===-1})}function vr(e,t){return e.replace(new RegExp(t[0],"g"),t[1])}function br(e,t){return e.replace(new RegExp(t[1],"g"),t[0].replace("\\",""))}
3var ps=ye&&ye.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(At,"__esModule",{value:!0});var ds=ps(An),fs=Ve,_s=function(){function e(){}return e.sanitize=function(t,n){var r=function(){};n&&typeof n.urlSanitizer=="function"&&(r=n.urlSanitizer);var l=r(t);return typeof l=="string"?l:fs.encodeLink(ds.sanitize(t))},e}();At.OpLinkSanitizer=_s;Object.defineProperty(Cn,"__esModule",{value:!0});var or=At,hs=function(){function e(){}return e.sanitize=function(t,n){var r={};return!t||typeof t!="object"||(t.class&&e.IsValidClass(t.class)&&(r.class=t.class),t.id&&e.IsValidId(t.id)&&(r.id=t.id),e.IsValidTarget(t.target+"")&&(r.target=t.target),t.avatar&&(r.avatar=or.OpLinkSanitizer.sanitize(t.avatar+"",n)),t["end-point"]&&(r["end-point"]=or.OpLinkSanitizer.sanitize(t["end-point"]+"",n)),t.slug&&(r.slug=t.slug+"")),r},e.IsValidClass=function(t){return!!t.match(/^[a-zA-Z0-9_\-]{1,500}$/i)},e.IsValidId=function(t){return!!t.match(/^[a-zA-Z0-9_\-\:\.]{1,500}$/i)},e.IsValidTarget=function(t){return["_self","_blank","_parent","_top"].indexOf(t)>-1},e}();Cn.MentionSanitizer=hs;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});function ms(e){return e.length===0?null:e.length>=2?e[1]:e[0]}Be.preferSecond=ms;function kr(e){return e.reduce(function(t,n){return t.concat(Array.isArray(n)?kr(n):n)},[])}Be.flatten=kr;function ys(e,t){if(Array.prototype.find)return Array.prototype.find.call(e,t);for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}Be.find=ys;function gs(e,t){for(var n=[],r,l,p=0;p<e.length;p++)r=e[p],p>0&&t(r,e[p-1])?(l=n[n.length-1],l.push(r)):n.push([r]);return n.map(function(b){return b.length===1?b[0]:b})}Be.groupConsecutiveElementsWhile=gs;function vs(e,t,n){for(var r={elements:[],sliceStartsAt:-1},l=t;l>=0&&n(e[l]);l--)r.sliceStartsAt=l,r.elements.unshift(e[l]);return r}Be.sliceFromReverseWhile=vs;function bs(e,t){return e.reduce(function(n,r,l){return n.push(r),l<e.length-1&&n.push(t),n},[])}Be.intersperse=bs;Object.defineProperty(Qt,"__esModule",{value:!0});var De=ve,ks=Cn,ws=Be,Ts=At,xs=function(){function e(){}return e.sanitize=function(t,n){var r={};if(!t||typeof t!="object")return r;var l=["bold","italic","underline","strike","code","blockquote","code-block","renderAsBlock"],p=["background","color"],b=t.font,w=t.size,S=t.link,k=t.script,m=t.list,_=t.header,y=t.align,z=t.direction,g=t.indent,D=t.mentions,R=t.mention,T=t.width,$=t.target,I=t.rel,C=t["code-block"],f=l.concat(p,["font","size","link","script","list","header","align","direction","indent","mentions","mention","width","target","rel","code-block"]);if(l.forEach(function(A){var N=t[A];N&&(r[A]=!!N)}),p.forEach(function(A){var N=t[A];N&&(e.IsValidHexColor(N+"")||e.IsValidColorLiteral(N+"")||e.IsValidRGBColor(N+""))&&(r[A]=N)}),b&&e.IsValidFontName(b+"")&&(r.font=b),w&&e.IsValidSize(w+"")&&(r.size=w),T&&e.IsValidWidth(T+"")&&(r.width=T),S&&(r.link=Ts.OpLinkSanitizer.sanitize(S+"",n)),$&&e.isValidTarget($)&&(r.target=$),I&&e.IsValidRel(I)&&(r.rel=I),C&&(e.IsValidLang(C)?r["code-block"]=C:r["code-block"]=!!C),(k===De.ScriptType.Sub||De.ScriptType.Super===k)&&(r.script=k),(m===De.ListType.Bullet||m===De.ListType.Ordered||m===De.ListType.Checked||m===De.ListType.Unchecked)&&(r.list=m),Number(_)&&(r.header=Math.min(Number(_),6)),ws.find([De.AlignType.Center,De.AlignType.Right,De.AlignType.Justify,De.AlignType.Left],function(A){return A===y})&&(r.align=y),z===De.DirectionType.Rtl&&(r.direction=z),g&&Number(g)&&(r.indent=Math.min(Number(g),30)),D&&R){var B=ks.MentionSanitizer.sanitize(R,n);Object.keys(B).length>0&&(r.mentions=!!D,r.mention=R)}return Object.keys(t).reduce(function(A,N){return f.indexOf(N)===-1&&(A[N]=t[N]),A},r)},e.IsValidHexColor=function(t){return!!t.match(/^#([0-9A-F]{6}|[0-9A-F]{3})$/i)},e.IsValidColorLiteral=function(t){return!!t.match(/^[a-z]{1,50}$/i)},e.IsValidRGBColor=function(t){var n=/^rgb\(((0|25[0-5]|2[0-4]\d|1\d\d|0?\d?\d),\s*){2}(0|25[0-5]|2[0-4]\d|1\d\d|0?\d?\d)\)$/i;return!!t.match(n)},e.IsValidFontName=function(t){return!!t.match(/^[a-z\s0-9\- ]{1,30}$/i)},e.IsValidSize=function(t){return!!t.match(/^[a-z0-9\-]{1,20}$/i)},e.IsValidWidth=function(t){return!!t.match(/^[0-9]*(px|em|%)?$/)},e.isValidTarget=function(t){return!!t.match(/^[_a-zA-Z0-9\-]{1,50}$/)},e.IsValidRel=function(t){return!!t.match(/^[a-zA-Z\s\-]{1,250}$/i)},e.IsValidLang=function(t){return typeof t=="boolean"?!0:!!t.match(/^[a-zA-Z\s\-\\\/\+]{1,50}$/i)},e}();Qt.OpAttributeSanitizer=xs;var $n={},zn={};Object.defineProperty(zn,"__esModule",{value:!0});function Ss(e){var t=` 4`;if(e===t)return[e];var n=e.split(t);if(n.length===1)return n;var r=n.length-1;return n.reduce(function(l,p,b){return b!==r?p!==""?l=l.concat(p,t):l.push(t):p!==""&&l.push(p),l},[])}zn.tokenizeWithNewLines=Ss;var It={};
4Object.defineProperty(It,"__esModule",{value:!0});function Ls(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),l=0;l<t.length;l++){var p=t[l];if(p!=null)for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(r[b]=p[b])}return r}It.assign=Ls;var wr=ye&&ye.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty($n,"__esModule",{value:!0});var dn=ve,Cs=wr(zn),ir=wr(It),As=function(){function e(){}return e.denormalize=function(t){if(!t||typeof t!="object")return[];if(typeof t.insert=="object"||t.insert===dn.NewLine)return[t];var n=Cs.tokenizeWithNewLines(t.insert+"");if(n.length===1)return[t];var r=ir.assign({},t,{insert:dn.NewLine});return n.map(function(l){return l===dn.NewLine?r:ir.assign({},t,{insert:l})})},e}();$n.InsertOpDenormalizer=As;Object.defineProperty(Ln,"__esModule",{value:!0});var Is=Ct,Ne=ve,vt=dt,$s=Qt,zs=$n,sr=At,Os=function(){function e(){}return e.convert=function(t,n){if(!Array.isArray(t))return[];for(var r=[].concat.apply([],t.map(zs.InsertOpDenormalizer.denormalize)),l=[],p,b,w=0,S=r;w<S.length;w++){var k=S[w];k.insert&&(p=e.convertInsertVal(k.insert,n),p&&(b=$s.OpAttributeSanitizer.sanitize(k.attributes,n),l.push(new Is.DeltaInsertOp(p,b))))}return l},e.convertInsertVal=function(t,n){if(typeof t=="string")return new vt.InsertDataQuill(Ne.DataType.Text,t);if(!t||typeof t!="object")return null;var r=Object.keys(t);return r.length?Ne.DataType.Image in t?new vt.InsertDataQuill(Ne.DataType.Image,sr.OpLinkSanitizer.sanitize(t[Ne.DataType.Image]+"",n)):Ne.DataType.Video in t?new vt.InsertDataQuill(Ne.DataType.Video,sr.OpLinkSanitizer.sanitize(t[Ne.DataType.Video]+"",n)):Ne.DataType.Formula in t?new vt.InsertDataQuill(Ne.DataType.Formula,t[Ne.DataType.Formula]):new vt.InsertDataCustom(r[0],t[r[0]]):null},e}();Ln.InsertOpsConverter=Os;var On={};(function(e){var t=ye&&ye.__importStar||function(k){if(k&&k.__esModule)return k;var m={};if(k!=null)for(var _ in k)Object.hasOwnProperty.call(k,_)&&(m[_]=k[_]);return m.default=k,m};Object.defineProperty(e,"__esModule",{value:!0});var n=Ve,r=ve,l=t(It),p=t(Be),b=Qt,w={serif:"font-family: Georgia, Times New Roman, serif",monospace:"font-family: Monaco, Courier New, monospace"};e.DEFAULT_INLINE_STYLES={font:function(k){return w[k]||"font-family:"+k},size:{small:"font-size: 0.75em",large:"font-size: 1.5em",huge:"font-size: 2.5em"},indent:function(k,m){var _=parseInt(k,10)*3,y=m.attributes.direction==="rtl"?"right":"left";return"padding-"+y+":"+_+"em"},direction:function(k,m){if(k==="rtl")return"direction:rtl"+(m.attributes.align?"":"; text-align:inherit")}};var S=function(){function k(m,_){this.op=m,this.options=l.assign({},{classPrefix:"ql",inlineStyles:void 0,encodeHtml:!0,listItemTag:"li",paragraphTag:"p"},_)}return k.prototype.prefixClass=function(m){return this.options.classPrefix?this.options.classPrefix+"-"+m:m+""},k.prototype.getHtml=function(){var m=this.getHtmlParts();return m.openingTag+m.content+m.closingTag},k.prototype.getHtmlParts=function(){var m=this;if(this.op.isJustNewline()&&!this.op.isContainerBlock())return{openingTag:"",closingTag:"",content:r.NewLine};var _=this.getTags(),y=this.getTagAttributes();!_.length&&y.length&&_.push("span");for(var z=[],g=[],D="img",R=function(C){return C===D&&!!m.op.attributes.link},T=0,$=_;T<$.length;T++){var I=$[T];R(I)&&z.push(n.makeStartTag("a",this.getLinkAttrs())),z.push(n.makeStartTag(I,y)),g.push(I==="img"?"":n.makeEndTag(I)),R(I)&&g.push(n.makeEndTag("a")),y=[]}return g.reverse(),{openingTag:z.join(""),content:this.getContent(),closingTag:g.join("")}},k.prototype.getContent=function(){if(this.op.isContainerBlock())return"";if(this.op.isMentions())return this.op.insert.value;var m=this.op.isFormula()||this.op.isText()?this.op.insert.value:"";return this.options.encodeHtml&&n.encodeHtml(m)||m},k.prototype.getCssClasses=function(){var m=this.op.attributes;if(this.options.inlineStyles)return[];var _=["indent","align","direction","font","size"];
4return this.options.allowBackgroundClasses&&_.push("background"),(this.getCustomCssClasses()||[]).concat(_.filter(function(y){return!!m[y]}).filter(function(y){return y==="background"?b.OpAttributeSanitizer.IsValidColorLiteral(m[y]):!0}).map(function(y){return y+"-"+m[y]}).concat(this.op.isFormula()?"formula":[]).concat(this.op.isVideo()?"video":[]).concat(this.op.isImage()?"image":[]).map(this.prefixClass.bind(this)))},k.prototype.getCssStyles=function(){var m=this,_=this.op.attributes,y=[["color"]];return(this.options.inlineStyles||!this.options.allowBackgroundClasses)&&y.push(["background","background-color"]),this.options.inlineStyles&&(y=y.concat([["indent"],["align","text-align"],["direction"],["font","font-family"],["size"]])),(this.getCustomCssStyles()||[]).concat(y.filter(function(z){return!!_[z[0]]}).map(function(z){var g=z[0],D=_[g],R=m.options.inlineStyles&&m.options.inlineStyles[g]||e.DEFAULT_INLINE_STYLES[g];if(typeof R=="object")return R[D];if(typeof R=="function"){var T=R;return T(D,m.op)}else return p.preferSecond(z)+":"+D})).filter(function(z){return z!==void 0})},k.prototype.getTagAttributes=function(){if(this.op.attributes.code&&!this.op.isLink())return[];var m=this.makeAttr.bind(this),_=this.getCustomTagAttributes(),y=_?Object.keys(this.getCustomTagAttributes()).map(function(T){return m(T,_[T])}):[],z=this.getCssClasses(),g=z.length?y.concat([m("class",z.join(" "))]):y;if(this.op.isImage())return this.op.attributes.width&&(g=g.concat(m("width",this.op.attributes.width))),g.concat(m("src",this.op.insert.value));if(this.op.isACheckList())return g.concat(m("data-checked",this.op.isCheckedList()?"true":"false"));if(this.op.isFormula())return g;if(this.op.isVideo())return g.concat(m("frameborder","0"),m("allowfullscreen","true"),m("src",this.op.insert.value));if(this.op.isMentions()){var D=this.op.attributes.mention;return D.class&&(g=g.concat(m("class",D.class))),D["end-point"]&&D.slug?g=g.concat(m("href",D["end-point"]+"/"+D.slug)):g=g.concat(m("href","about:blank")),D.target&&(g=g.concat(m("target",D.target))),g}var R=this.getCssStyles();return R.length&&g.push(m("style",R.join(";"))),this.op.isCodeBlock()&&typeof this.op.attributes["code-block"]=="string"?g.concat(m("data-language",this.op.attributes["code-block"])):(this.op.isContainerBlock()||this.op.isLink()&&(g=g.concat(this.getLinkAttrs())),g)},k.prototype.makeAttr=function(m,_){return{key:m,value:_}},k.prototype.getLinkAttrs=function(){var m=[],_=b.OpAttributeSanitizer.isValidTarget(this.options.linkTarget||"")?this.options.linkTarget:void 0,y=b.OpAttributeSanitizer.IsValidRel(this.options.linkRel||"")?this.options.linkRel:void 0,z=this.op.attributes.target||_,g=this.op.attributes.rel||y;return m.concat(this.makeAttr("href",this.op.attributes.link)).concat(z?this.makeAttr("target",z):[]).concat(g?this.makeAttr("rel",g):[])},k.prototype.getCustomTag=function(m){if(this.options.customTag&&typeof this.options.customTag=="function")return this.options.customTag.apply(null,[m,this.op])},k.prototype.getCustomTagAttributes=function(){if(this.options.customTagAttributes&&typeof this.options.customTagAttributes=="function")return this.options.customTagAttributes.apply(null,[this.op])},k.prototype.getCustomCssClasses=function(){if(this.options.customCssClasses&&typeof this.options.customCssClasses=="function"){var m=this.options.customCssClasses.apply(null,[this.op]);if(m)return Array.isArray(m)?m:[m]}},k.prototype.getCustomCssStyles=function(){if(this.options.customCssStyles&&typeof this.options.customCssStyles=="function"){var m=this.options.customCssStyles.apply(null,[this.op]);if(m)return Array.isArray(m)?m:[m]}},k.prototype.getTags=function(){var m=this,_=this.op.attributes;if(!this.op.isText())return[this.op.isVideo()?"iframe":this.op.isImage()?"img":"span"];for(var y=this.options.paragraphTag||"p",z=[["blockquote"],["code-block","pre"],["list",this.options.listItemTag],["header"],["align",y],["direction",y],["indent",y]],g=0,D=z;g<D.length;g++){var R=D[g],T=R[0];if(_[T]){var $=this.getCustomTag(T);return $?[$]:T==="header"?["h"+_[T]]:[p.preferSecond(R)]}}if(this.op.isCustomTextBlock()){var $=this.getCustomTag("renderAsBlock");return $?[$]:[y]}var I=Object.keys(_).reduce(function(f,B){var A=m.getCustomTag(B);return A&&(f[B]=A),f},{}),C=[["link","a"],["mentions","a"],["script"],["bold","strong"],["italic","em"],["strike","s"],["underline","u"],["code"]];return C.filter(function(f){return!!_[f[0]]}).concat(Object.keys(I).filter(function(f){return!C.some(function(B){return B[0]==f})}).map(function(f){return[f,I[f]]})).map(function(f){return I[f[0]]?I[f[0]]:f[0]==="script"?_[f[0]]===r.ScriptType.Sub?"sub":"sup":p.preferSecond(f)})},k}();e.OpToHtmlConverter=S})(On);var Bn={},be={},Tr=ye&&ye.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])};return function(t,n){e(t,n);function r(){this.constructor=t}
4t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(be,"__esModule",{value:!0});var Bs=function(){function e(t){this.ops=t}return e}();be.InlineGroup=Bs;var xr=function(){function e(t){this.op=t}return e}(),Es=function(e){Tr(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(xr);be.VideoItem=Es;var Ds=function(e){Tr(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(xr);be.BlotBlock=Ds;var Ms=function(){function e(t,n){this.op=t,this.ops=n}return e}();be.BlockGroup=Ms;var Ps=function(){function e(t){this.items=t}return e}();be.ListGroup=Ps;var Ns=function(){function e(t,n){n===void 0&&(n=null),this.item=t,this.innerList=n}return e}();be.ListItem=Ns;var js=function(){function e(t){this.rows=t}return e}();be.TableGroup=js;var Rs=function(){function e(t){this.cells=t}return e}();be.TableRow=Rs;var Gs=function(){function e(t){this.item=t}return e}();be.TableCell=Gs;Object.defineProperty(Bn,"__esModule",{value:!0});var Hs=Ct,Vt=Be,it=be,Vs=function(){function e(){}return e.pairOpsWithTheirBlock=function(t){for(var n=[],r=function(k){return!(k.isJustNewline()||k.isCustomEmbedBlock()||k.isVideo()||k.isContainerBlock())},l=function(k){return k.isInline()},p=t.length-1,b,w=p;w>=0;w--){var S=t[w];S.isVideo()?n.push(new it.VideoItem(S)):S.isCustomEmbedBlock()?n.push(new it.BlotBlock(S)):S.isContainerBlock()?(b=Vt.sliceFromReverseWhile(t,w-1,r),n.push(new it.BlockGroup(S,b.elements)),w=b.sliceStartsAt>-1?b.sliceStartsAt:w):(b=Vt.sliceFromReverseWhile(t,w-1,l),n.push(new it.InlineGroup(b.elements.concat(S))),w=b.sliceStartsAt>-1?b.sliceStartsAt:w)}return n.reverse(),n},e.groupConsecutiveSameStyleBlocks=function(t,n){return n===void 0&&(n={header:!0,codeBlocks:!0,blockquotes:!0,customBlocks:!0}),Vt.groupConsecutiveElementsWhile(t,function(r,l){return!(r instanceof it.BlockGroup)||!(l instanceof it.BlockGroup)?!1:n.codeBlocks&&e.areBothCodeblocksWithSameLang(r,l)||n.blockquotes&&e.areBothBlockquotesWithSameAdi(r,l)||n.header&&e.areBothSameHeadersWithSameAdi(r,l)||n.customBlocks&&e.areBothCustomBlockWithSameAttr(r,l)})},e.reduceConsecutiveSameStyleBlocksToOne=function(t){var n=Hs.DeltaInsertOp.createNewLineOp();return t.map(function(r){if(!Array.isArray(r))return r instanceof it.BlockGroup&&!r.ops.length&&r.ops.push(n),r;var l=r.length-1;return r[0].ops=Vt.flatten(r.map(function(p,b){return p.ops.length?p.ops.concat(b<l?[n]:[]):[n]})),r[0]})},e.areBothCodeblocksWithSameLang=function(t,n){return t.op.isCodeBlock()&&n.op.isCodeBlock()&&t.op.hasSameLangAs(n.op)},e.areBothSameHeadersWithSameAdi=function(t,n){return t.op.isSameHeaderAs(n.op)&&t.op.hasSameAdiAs(n.op)},e.areBothBlockquotesWithSameAdi=function(t,n){return t.op.isBlockquote()&&n.op.isBlockquote()&&t.op.hasSameAdiAs(n.op)},e.areBothCustomBlockWithSameAttr=function(t,n){return t.op.isCustomTextBlock()&&n.op.isCustomTextBlock()&&t.op.hasSameAttr(n.op)},e}();Bn.Grouper=Vs;var En={};Object.defineProperty(En,"__esModule",{value:!0});var ze=be,bt=Be,Fs=function(){function e(){}return e.prototype.nest=function(t){var n=this,r=this.convertListBlocksToListGroups(t),l=this.groupConsecutiveListGroups(r),p=bt.flatten(l.map(function(w){return Array.isArray(w)?n.nestListSection(w):w})),b=bt.groupConsecutiveElementsWhile(p,function(w,S){return w instanceof ze.ListGroup&&S instanceof ze.ListGroup?w.items[0].item.op.isSameListAs(S.items[0].item.op):!1});return b.map(function(w){if(!Array.isArray(w))return w;var S=w.map(function(k){return k.items});return new ze.ListGroup(bt.flatten(S))})},e.prototype.convertListBlocksToListGroups=function(t){var n=bt.groupConsecutiveElementsWhile(t,function(r,l){return r instanceof ze.BlockGroup&&l instanceof ze.BlockGroup&&r.op.isList()&&l.op.isList()&&r.op.isSameListAs(l.op)&&r.op.hasSameIndentationAs(l.op)});return n.map(function(r){return Array.isArray(r)?new ze.ListGroup(r.map(function(l){return new ze.ListItem(l)})):r instanceof ze.BlockGroup&&r.op.isList()?new ze.ListGroup([new ze.ListItem(r)]):r})},e.prototype.groupConsecutiveListGroups=function(t){return bt.groupConsecutiveElementsWhile
4(t,function(n,r){return n instanceof ze.ListGroup&&r instanceof ze.ListGroup})},e.prototype.nestListSection=function(t){var n=this,r=this.groupByIndent(t);return Object.keys(r).map(Number).sort().reverse().forEach(function(l){r[l].forEach(function(p){var b=t.indexOf(p);n.placeUnderParent(p,t.slice(0,b))&&t.splice(b,1)})}),t},e.prototype.groupByIndent=function(t){return t.reduce(function(n,r){var l=r.items[0].item.op.attributes.indent;return l&&(n[l]=n[l]||[],n[l].push(r)),n},{})},e.prototype.placeUnderParent=function(t,n){for(var r=n.length-1;r>=0;r--){var l=n[r];if(t.items[0].item.op.hasHigherIndentThan(l.items[0].item.op)){var p=l.items[l.items.length-1];return p.innerList?p.innerList.items=p.innerList.items.concat(t.items):p.innerList=t,!0}}return!1},e}();En.ListNester=Fs;var Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});var Oe=be,ar=Be,Ws=function(){function e(){}return e.prototype.group=function(t){var n=this.convertTableBlocksToTableGroups(t);return n},e.prototype.convertTableBlocksToTableGroups=function(t){var n=this,r=ar.groupConsecutiveElementsWhile(t,function(l,p){return l instanceof Oe.BlockGroup&&p instanceof Oe.BlockGroup&&l.op.isTable()&&p.op.isTable()});return r.map(function(l){return Array.isArray(l)?new Oe.TableGroup(n.convertTableBlocksToTableRows(l)):l instanceof Oe.BlockGroup&&l.op.isTable()?new Oe.TableGroup([new Oe.TableRow([new Oe.TableCell(l)])]):l})},e.prototype.convertTableBlocksToTableRows=function(t){var n=ar.groupConsecutiveElementsWhile(t,function(r,l){return r instanceof Oe.BlockGroup&&l instanceof Oe.BlockGroup&&r.op.isTable()&&l.op.isTable()&&r.op.isSameTableRowAs(l.op)});return n.map(function(r){return new Oe.TableRow(Array.isArray(r)?r.map(function(l){return new Oe.TableCell(l)}):[new Oe.TableCell(r)])})},e}();Dn.TableGrouper=Ws;var qs=ye&&ye.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(Sn,"__esModule",{value:!0});var Us=Ln,kt=On,fn=Bn,wt=be,Zs=En,Ce=Ve,Ks=qs(It),Tt=ve,Qs=Dn,xt="<br/>",Js=function(){function e(t,n){this.rawDeltaOps=[],this.callbacks={},this.options=Ks.assign({paragraphTag:"p",encodeHtml:!0,classPrefix:"ql",inlineStyles:!1,multiLineBlockquote:!0,multiLineHeader:!0,multiLineCodeblock:!0,multiLineParagraph:!0,multiLineCustomBlock:!0,allowBackgroundClasses:!1,linkTarget:"_blank"},n,{orderedListTag:"ol",bulletListTag:"ul",listItemTag:"li"});var r;this.options.inlineStyles?typeof this.options.inlineStyles=="object"?r=this.options.inlineStyles:r={}:r=void 0,this.converterOptions={encodeHtml:this.options.encodeHtml,classPrefix:this.options.classPrefix,inlineStyles:r,listItemTag:this.options.listItemTag,paragraphTag:this.options.paragraphTag,linkRel:this.options.linkRel,linkTarget:this.options.linkTarget,allowBackgroundClasses:this.options.allowBackgroundClasses,customTag:this.options.customTag,customTagAttributes:this.options.customTagAttributes,customCssClasses:this.options.customCssClasses,customCssStyles:this.options.customCssStyles},this.rawDeltaOps=t}return e.prototype._getListTag=function(t){return t.isOrderedList()?this.options.orderedListTag+"":t.isBulletList()?this.options.bulletListTag+"":t.isCheckedList()?this.options.bulletListTag+"":t.isUncheckedList()?this.options.bulletListTag+"":""},e.prototype.getGroupedOps=function(){var t=Us.InsertOpsConverter.convert(this.rawDeltaOps,this.options),n=fn.Grouper.pairOpsWithTheirBlock(t),r=fn.Grouper.groupConsecutiveSameStyleBlocks(n,{blockquotes:!!this.options.multiLineBlockquote,header:!!this.options.multiLineHeader,codeBlocks:!!this.options.multiLineCodeblock,customBlocks:!!this.options.multiLineCustomBlock}),l=fn.Grouper.reduceConsecutiveSameStyleBlocksToOne(r),p=new Qs.TableGrouper;l=p.group(l);var b=new Zs.ListNester;return b.nest(l)},e.prototype.convert=function(){var t=this,n=this.getGroupedOps();return n.map(function(r){if(r instanceof wt.ListGroup)return t._renderWithCallbacks(Tt.GroupType.List,r,function(){return t._renderList(r)});if(r instanceof wt.TableGroup)return t._renderWithCallbacks(Tt.GroupType.Table,r,function(){return t._renderTable(r)});if(r instanceof wt.BlockGroup){var l=r;return t._renderWithCallbacks(Tt.GroupType.Block,r,function(){return t._renderBlock(l.op,l.ops)})}else return r instanceof wt.BlotBlock?t._renderCustom(r.op,null):r instanceof wt.VideoItem?t._renderWithCallbacks(Tt.GroupType.Video,r,function(){var p=r,b=new kt.OpToHtmlConverter(p.op,t.converterOptions);return b.getHtml()}):t._renderWithCallbacks(Tt.GroupType.InlineGroup,r,function(){return t._renderInlines(r.ops,!0)})}).join("")},e.prototype._renderWithCallbacks=function(t,n,r){var l="",p=this.callbacks.beforeRender_cb;l=typeof p=="function"?p.apply(null,[t,n]):"",l||(l=r());var b=this.callbacks.afterRender_cb;return l=typeof b=="function"?b.apply(null,[t,l]):l,l},e.prototype._renderList=function(t){var n=this,r=t.items[0];return Ce.makeStartTag(this._getListTag(r.item.op))+t.items.map(function(l){return n._renderListItem(l)}).join("")+Ce.makeEndTag(this._getListTag(r.item.op))},e.prototype._renderListItem=function(t){t.item.op.attributes.indent=0;var n=new kt.OpToHtmlConverter(t.item.op,this.converterOptions),r=n.getHtmlParts(),l=this._renderInlines(t.item.ops,!1);return r.openingTag+l+(t.innerList?this._renderList(t.innerList):"")+r.closingTag},e.prototype._renderTable=function(t){var n=this;return Ce.makeStartTag("table")+Ce.makeStartTag("tbody")+t.rows.map(function(r){return n._renderTableRow(r)}).join("")+Ce.makeEndTag("tbody")+Ce.makeEndTag("table")},e.prototype._renderTableRow=function(t){var n=this;return Ce.makeStartTag("tr")+t.cells.map(function(r){return n._renderTableCell(r)}).join("")+Ce.makeEndTag("tr")},e.prototype._renderTableCell=function(t){var n=new kt.OpToHtmlConverter(t.item.op,this.converterOptions),r=n.getHtmlParts(),l=this._renderInlines(t.item.ops,!1);return Ce.makeStartTag("td",{key:"data-row",value:t.item.op.attributes.table})+r.openingTag+l+r.closingTag+Ce.makeEndTag("td")},e.prototype._renderBlock=function(t,n){var r=this,l=new kt.OpToHtmlConverter(t,this.converterOptions),p=l.getHtmlParts();if(t.isCodeBlock())return p.openingTag+Ce.encodeHtml(n.map(function(w){return w.isCustomEmbed()?r._renderCustom(w,t):w.insert.value}
4).join(""))+p.closingTag;var b=n.map(function(w){return r._renderInline(w,t)}).join("");return p.openingTag+(b||xt)+p.closingTag},e.prototype._renderInlines=function(t,n){var r=this;n===void 0&&(n=!0);var l=t.length-1,p=t.map(function(S,k){return k>0&&k===l&&S.isJustNewline()?"":r._renderInline(S,null)}).join("");if(!n)return p;var b=Ce.makeStartTag(this.options.paragraphTag),w=Ce.makeEndTag(this.options.paragraphTag);return p===xt||this.options.multiLineParagraph?b+p+w:b+p.split(xt).map(function(S){return S===""?xt:S}).join(w+b)+w},e.prototype._renderInline=function(t,n){if(t.isCustomEmbed())return this._renderCustom(t,n);var r=new kt.OpToHtmlConverter(t,this.converterOptions);return r.getHtml().replace(/\n/g,xt)},e.prototype._renderCustom=function(t,n){var r=this.callbacks.renderCustomOp_cb;return typeof r=="function"?r.apply(null,[t,n]):""},e.prototype.beforeRender=function(t){typeof t=="function"&&(this.callbacks.beforeRender_cb=t)},e.prototype.afterRender=function(t){typeof t=="function"&&(this.callbacks.afterRender_cb=t)},e.prototype.renderCustomWith=function(t){this.callbacks.renderCustomOp_cb=t},e}();Sn.QuillDeltaToHtmlConverter=Js;
4Object.defineProperty(le,"__esModule",{value:!0});var Ys=Sn,Xs=le.QuillDeltaToHtmlConverter=Ys.QuillDeltaToHtmlConverter,ea=On;le.OpToHtmlConverter=ea.OpToHtmlConverter;var ft=be;le.InlineGroup=ft.InlineGroup;le.VideoItem=ft.VideoItem;le.BlockGroup=ft.BlockGroup;le.ListGroup=ft.ListGroup;le.ListItem=ft.ListItem;le.BlotBlock=ft.BlotBlock;var ta=Ct;le.DeltaInsertOp=ta.DeltaInsertOp;var Sr=dt;le.InsertDataQuill=Sr.InsertDataQuill;le.InsertDataCustom=Sr.InsertDataCustom;var at=ve;le.NewLine=at.NewLine;le.ListType=at.ListType;le.ScriptType=at.ScriptType;le.DirectionType=at.DirectionType;le.AlignType=at.AlignType;le.DataType=at.DataType;le.GroupType=at.GroupType;const na=["innerHTML"],ra=ae({__name:"BaseRichText",props:{content:{}},setup(e){const t=e,n=H(()=>{let r;try{r=JSON.parse(t.content)}catch(p){return console.error("Invalid Delta JSON:",p),""}return new Xs(r,{inlineStyles:!0,paragraphTag:"p",linkRel:"nofollow",multiLineParagraph:!1}).convert()});return(r,l)=>(s(),d("div",{class:"base-rich-text",innerHTML:i(n)},null,8,na))}}),oa=ge(ra,[["__scopeId","data-v-bcb6722a"]]);function Lr(){return e=>{if(!e)return"";const t=e.trim().charAt(0);return/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF]/.test(t)?"text-align:right;":"text-align:left;"}}function Qe(e,t){const n=e>>24&255,r=e>>16&255,l=e>>8&255,p=e&255;return t!==void 0?`rgba(${r}, ${l}, ${p}, ${t})`:n>0&&n<255?`rgba(${r}, ${l}, ${p}, ${+(n/255).toFixed(3)})`:`rgb(${r}, ${l}, ${p})`}function tu(e){if(!e)return"aspect-ratio:22 / 9;margin-bottom: clamp(4rem, 3vw, 2rem);";const t=e.shape,n=e.size;return t==="horizontal"||!t&&n==="horizontal"?"aspect-ratio: 16 / 9;":t==="square"||!t&&n==="square"?"aspect-ratio: 1 / 1;":t==="poster"||!t&&n==="poster"?"aspect-ratio: 4 / 5;":t==="vertical"||!t&&n==="vertical"?"aspect-ratio: 9 / 16;":"aspect-ratio:22 / 9;margin-bottom: clamp(4rem, 3vw, 2rem);"}function nu(e,t){const n={position:"absolute","z-index":"10"};if(t==="center"||!t?(n.left="50%",n.transform="translateX(-50%)"):t==="start"||t==="left"?(n.left="1.25rem",n.transform="none"):(t==="end"||t==="right")&&(n.right="1.25rem",n.left="auto",n.transform="none"),!e||!e.image_url||e.hide===!0)return{...n,bottom:"calc(-1 * clamp(52px, 5vw, 80px))"};const r=e.shape,l=e.size;return r==="horizontal"||!r&&l==="horizontal"?{...n,bottom:"calc(-1 * clamp(52px, 5vw, 80px))"}:r==="square"||!r&&l==="square"||r==="poster"||!r&&l==="poster"||r==="vertical"||!r&&l==="vertical"?{position:"absolute",top:"var(--profile-picture-top, 21%)",left:"50%",transform:"translate(-50%, 50%)","z-index":"10"}:{...n,bottom:"2rem"}}function ia(e){return e&&Array.isArray(e.buttons)?e.buttons:[{id:e!=null&&e.id?`${e.id}-legacy`:void 0,title:(e==null?void 0:e.title)??"",url:(e==null?void 0:e.url)??null,icon:(e==null?void 0:e.icon)??null,hidden:!1,background_color:null,use_background_color:null,border_color:null,use_border:null,text_color:null,use_text_color:null,corner_radius:null}]}function sa(e){return e&&Array.isArray(e.buttons)?e.title??"":""}function aa(e){if(!e)return null;const t=String(e).trim();return t?/^(https?:\/\/|tel:|mailto:|\/)/i.test(t)?t:`https://${t}`:null}function la(e){const t={borderRadius:`${e.corner_radius??12}px`},n=e.use_background_color===!0&&e.background_color!=null,r=e.use_border===!0&&e.border_color!=null;return n?t.backgroundColor=Qe(e.background_color):r?t.backgroundColor="transparent":t.backgroundColor="#ffffff19",r&&(t.border=`1.5px solid ${Qe(e.border_color)}`),t}function lr(e){return e.use_text_color===!0&&e.text_color!=null?Qe(e.text_color):null}const ca=e=>(St("data-v-d32ed171"),e=e(),Lt(),e),ua={key:1},pa={class:"qbtn-slot"},da={class:"qbtn-slot"},fa=ca(()=>x("polyline",{points:"9 18 15 12 9 6"},null,-1)),_a=[fa],ha=ae({__name:"ButtonModule",props:{module:{}},setup(e){const{ImageServer:t}=Te(),n=Lr(),r=e,l=H(()=>sa(r.module)),p=H(()=>ia(r.module).filter(g=>!g.hidden)),b=H(()=>{var g;return((g=r.module)==null?void 0:g.layout_type)==="grid"}),w=H(()=>{var g;return((g=r.module)==null?void 0:g.show_arrow)===!0});function S(g){const D=lr(g);return D?{color:D}:{opacity:"0.85"}}function k(g){return{color:lr(g)??"currentColor",opacity:"0.7"}}function m(g){return(g.corner_radius??12)>=28?{borderRadius:"50%"}:{}}const _=H(()=>{var g;return((g=r.module)==null?void 0:g.foldable)===!0}),y=me(!1);function z(){_.value&&(y.value=!y.value)}return(g,D)=>
4{const R=je,T=Me,$=_e("blur-on-load"),I=_e("track-click");return s(),d("div",null,[i(l)||i(_)?(s(),d("div",{key:0,class:M(["flex w-full items-center justify-between",{"cursor-pointer":i(_),"mb-3":i(l)}]),onClick:z},[i(l)?(s(),d("h3",{key:0,class:"text-2xl w-full module-title",style:Z(i(n)(i(l)))},j(i(l)),5)):h("",!0),i(_)?(s(),d("div",ua,[x("div",{class:M([[i(y)?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],2)):h("",!0),x("div",{class:M(["transition-all duration-500 ease-in-out",i(_)?i(y)?"show-open":"hide-open":""])},[x("div",{class:M(i(b)?"grid grid-cols-2 gap-2.5":"flex flex-col gap-2.5")},[(s(!0),d(te,null,se(i(p),(C,f)=>Y((s(),L(T,{key:C.id??f,to:i(aa)(C.url)||"#",external:!0,target:C.url?"_blank":void 0,class:M({"pointer-events-none":!C.url})},{default:U(()=>[x("div",{class:M(["qbtn shine-effect",{"cursor-pointer":C.url}]),style:Z(i(la)(C))},[x("span",pa,[C.icon?Y((s(),L(R,{key:0,loading:"lazy",width:"96",src:i(t)+C.icon,class:"qbtn-icon",style:Z(m(C)),alt:"button icon"},null,8,["src","style"])),[[$]]):h("",!0)]),x("span",{class:"qbtn-title",style:Z(S(C))},j(C.title),5),x("span",da,[i(w)?(s(),d("svg",{key:0,class:"qbtn-arrow",style:Z(k(C)),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},_a,4)):h("",!0)])],6)]),_:2},1032,["to","target","class"])),[[I,{moduleType:g.module.type,moduleName:C.title}]])),128))],2)],2)])}}}),ma=ge(ha,[["__scopeId","data-v-d32ed171"]]),cr={style1:{position:"onCover",fillSides:!1},style2:{position:"aboveCover",fillSides:!0},style3:{position:"onCover",fillSides:!1},style4:{position:"aboveCover",fillSides:!0},style5:{position:"aboveCover",fillSides:!0,background_color:4291004927,foreground_color:4294967295},style6:{position:"aboveCover",fillSides:!0,background_color:4294967295,foreground_color:4278190080},style7:{position:"aboveCover",fillSides:!0,background_color:4294966003,foreground_color:4278190080}},ya=/[Ö-߿ࡠ-ࣿï¬-﷽ﹰ-ﻼ]/,ga=/[A-Za-zÃ-ÉͰ-Öá¸-á¿¿]/,Jt=()=>{const e=$o("accountInfo"),{ImageServer:t}=Te(),n=t,r=H(()=>{var T,$,I,C;return(C=(I=($=(T=e.value)==null?void 0:T.data)==null?void 0:$.user_template_profile)==null?void 0:I.settings)==null?void 0:C.header}),l=H(()=>{var T,$,I,C;return(C=(I=($=(T=e.value)==null?void 0:T.data)==null?void 0:$.user_template_profile)==null?void 0:I.settings)==null?void 0:C.header_text}),p=H(()=>{var T;return(T=r.value)==null?void 0:T.title}),b=H(()=>{var I,C,f,B,A;const T=(f=(C=(I=e.value)==null?void 0:I.data)==null?void 0:C.user_template_profile)==null?void 0:f.settings;if(((B=T==null?void 0:T.logo)==null?void 0:B.hide)===!0)return null;const $=(A=T==null?void 0:T.logo)==null?void 0:A.image_url;return $?n+$:null}),w=H(()=>{var T,$,I,C;return((C=(I=($=(T=e.value)==null?void 0:T.data)==null?void 0:$.user_template_profile)==null?void 0:I.settings)==null?void 0:C.style)||"style1"}),S=H(()=>cr[w.value]??cr.style1),k=H(()=>{var T;return((T=r.value)==null?void 0:T.position)??S.value.position}),m=H(()=>{var T;return((T=r.value)==null?void 0:T.fillSides)??S.value.fillSides}),_=H(()=>{var T;return((T=r.value)==null?void 0:T.hide)===!0}),y=H(()=>{const T=r.value;if((T==null?void 0:T.hide)===!0)return{backgroundColor:"transparent"};const $=(T==null?void 0:T.background_color)??S.value.background_color;if($!=null){const I=k.value==="aboveCover"?1:(T==null?void 0:T.background_opacity)??1;return{backgroundColor:Qe($,I)}}return{backgroundColor:"transparent"}}),z=H(()=>{var I,C,f,B,A;const T=((I=r.value)==null?void 0:I.foreground_color)??S.value.foreground_color;if(T!=null)return Qe(T);const $=(A=(B=(f=(C=e.value)==null?void 0:C.data)==null?void 0:f.user_template_profile)==null?void 0:B.settings)==null?void 0:A.font_color;return $!=null?Qe($):"rgb(255, 255, 255)"}),g=H(()=>{var $,I;const T=((I=($=p.value)==null?void 0:$.text)==null?void 0:I.trim())??"";for(const C of T){if(ya.test(C))return"rtl";if(ga.test(C))return"ltr"}return"auto"}),D=H(()=>{var I,C,f,B,A,N,q,W,u;const T=(B=(f=(C=(I=e.value)==null?void 0:I.data)==null?void 0:C.user_template_profile)==null?void 0:f.settings)==null?void 0:B.header,$=(T==null?void 0:T.leading_alignment)||(T==null?void 0:T.logo_alignment)||((u=(W=(q=(N=(A=e.value)==null?void 0:A.data)==null?void 0:N.user_template_profile)==null?void 0:q.settings)==null?void 0:W.logo)==null?void 0:u.alignment)||"start";return $==="start"||$==="left"?"start":$==="center"?"center":$==="end"||$==="right"?"end":"start"}),R=H(()=>{var I,C,f,B,A,N;if(((B=(f=(C=(I=e.value)==null?void 0:I.data)==null?void 0:C.user_template_profile)==null?void 0:f.settings)==null?void 0:B.style)==="style3")return"";const $=(A=p.value)!=null&&A.text&&((N=p.value)==null?void 0:N.hide)!==!0?p.value.text.trim():"";if($)return $});return{accountInfo:e,logoImage:b,headerBarStyle:y,headerTextColor:z,logoAlignment:D,headerTitle:R,headerSettings:r,headerText:l,headerTitleObj:p,headerPosition:k,headerFillSides:m,headerHidden:_,headerDir:g,heroStyle:w}},va={key:0,class:"social-slider-start flex items-center justify-start w-full"},ba=["src","alt","aria-label"],ka={key:1,class:"gridAlignStart"},wa=["src","alt","aria-label"],Ta={key:2,class:"gridAlignEnd"},xa=["src","alt","aria-label"],Sa={key:3,class:"gridAlignCenter"},La=["src","alt","aria-label"],Ca=["src","alt","aria-label"],Aa={class:"text-inherit text-sm font-medium text-center"},Ia={key:5,class:"flex flex-col gap-3 w-full"},$a=["src","alt","aria-label"],za={class:"capitalize"},Oa={key:6,class:"flex flex-col gap-3 w-full"},Ba={class:"capitalize flex-1 min-w-0 text-end truncate"},Ea=["src","alt","aria-label"],Da={key:7,class:"flex flex-col gap-3 w-full"},Ma=["src","alt","aria-label"],Pa={class:"capitalize text-center"},Na=ae({__name:"Social",props:{socials:{}},setup(e){const{uiText:t,uiDir:n}=pt(),{ImageServer:r}=Te(),l=e,p=H(()=>{var f;
4return(((f=l.socials)==null?void 0:f.links)||[]).filter(B=>!B.hidden)}),{accountInfo:b}=Jt(),w=H(()=>{var A,N,q,W,u;const f=(u=(W=(q=(N=(A=b.value)==null?void 0:A.data)==null?void 0:N.user_template_profile)==null?void 0:q.settings)==null?void 0:W.background)==null?void 0:u.color_value;if(!f||f.type==="gradient"||f.color==null)return 4278190080;if(typeof f.color=="number")return f.color;const B=String(f.color).trim().replace(/^#/,"");return/^[0-9a-fA-F]{6}$/.test(B)?4278190080|parseInt(B,16):/^[0-9a-fA-F]{8}$/.test(B)?parseInt(B,16)>>>0:4278190080});function S(f){const B=(f>>>16&255)/255,A=(f>>>8&255)/255,N=(f&255)/255,q=Math.max(B,A,N),W=Math.min(B,A,N),u=(q+W)/2,ne=q-W,pe=ne===0?0:ne/(1-Math.abs(2*u-1));let re=0;ne!==0&&(q===B?re=((A-N)/ne%6+6)%6:q===A?re=(N-B)/ne+2:re=(B-A)/ne+4,re*=60);const ce=Math.min(1,Math.max(0,u<.5?u+.1:u-.1)),ke=(1-Math.abs(2*ce-1))*pe,xe=ke*(1-Math.abs(re/60%2-1)),Fe=ce-ke/2,[Ye,Xe,We]=re<60?[ke,xe,0]:re<120?[xe,ke,0]:re<180?[0,ke,xe]:re<240?[0,xe,ke]:re<300?[xe,0,ke]:[ke,0,xe],Ae=E=>Math.round((E+Fe)*255);return`rgb(${Ae(Ye)}, ${Ae(Xe)}, ${Ae(We)})`}const k=H(()=>{const f=l.socials;if(!(f!=null&&f.adaptive_icon_color))return null;if(f.custom_icon_color!=null)return Qe(f.custom_icon_color);const B=f.use_background_color===!0?f.background_color:null;return S(B??w.value)}),m=H(()=>k.value?{"--chip-bg":k.value}:void 0),_=["gridAlignStart","gridAlignEnd","gridAlignCenter","layoutSlider","grid","list","listAlignEnd","listAlignCenter"],y=H(()=>{var B;const f=(B=l.socials)==null?void 0:B.layout_type;return _.includes(f)?f:"list"});function z(f){var N;const B=(N=f==null?void 0:f.name)==null?void 0:N.trim();if(B)return B;const A=(f==null?void 0:f.type)||"";return A.charAt(0).toUpperCase()+A.slice(1)}function g(f){return l.socials.icon_type==="original"&&!k.value?f.charAt(0).toUpperCase()+f.slice(1)+"-color":f.charAt(0).toUpperCase()+f.slice(1)}const D={FACEBOOK:"facebook",INSTAGRAM:"instagram",LINKEDIN:"linkedin",TIKTOK:"tiktok",SNAPCHAT:"snapchat",WHATSAPP:"whatsapp",TWITTER:"twitter",YOUTUBE:"youtube",PINTEREST:"pinterest",TWITCH:"twitch",BEHANCE:"behance",PHONE:"phone",EMAIL:"email",WEBSITE:"website",VIMEO:"vimeo",WECHAT:"wechat",LOCATION:"location",LINK:"link",CUSTOM:"custom"},R={facebook:{domain:"https://www.facebook.com/"},instagram:{domain:"https://www.instagram.com/"},linkedin:{domain:"https://www.linkedin.com/in/"},tiktok:{domain:"https://www.tiktok.com/"},snapchat:{domain:"https://www.snapchat.com/add/"},whatsapp:{domain:"https://wa.me/"},twitter:{domain:"https://twitter.com/"},youtube:{domain:"https://www.youtube.com/"},pinterest:{domain:"https://www.pinterest.com/"},twitch:{domain:"https://www.twitch.tv/"},behance:{domain:"https://www.behance.net/"},email:{domain:"mailto:"},phone:{domain:"tel:"},link:{domain:""},location:{domain:""},vimeo:{domain:"https://www.vimeo.com/"},wechat:{domain:"https://www.wechat.com/"},website:{domain:""},custom:{domain:""}},T={facebook:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*facebook\.com\/.+$/i,instagram:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*instagram\.com\/.+$/i,linkedin:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*linkedin\.com\/.+$/i,tiktok:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*tiktok\.com\/.+$/i,snapchat:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*snapchat\.com\/.+$/i,whatsapp:/^(?:(https?:\/\/)?([a-zA-Z0-9-]+\.)*(wa\.me|whatsapp\.com)\/.+)|(?:\+?\d{7,15})$/i,twitter:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*(twitter\.com|x\.com)\/.+$/i,youtube:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*(youtube\.com|youtu\.be)\/.+$/i,pinterest:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*pinterest\.com\/.+$/i,twitch:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*twitch\.tv\/.+$/i,behance:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*behance\.net\/.+$/i,vimeo:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*vimeo\.com\/.+$/i,wechat:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*wechat\.com\/.+$/i,phone:/^\+?\d{7,15}$/,email:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,website:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/[^\s]*)?$/i,link:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/[^\s]*)?$/i,custom:/^(https?:\/\/)?([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/[^\s]*)?$/i,location:/^.*$/};function $(f){return Object.values(D).includes(f)}function I(f){const B=f.trim();
4return/^https?:\/\//i.test(B)?B:`https://${B}`}function C(f,B){if(!B)return"#";const A=B.trim();if(!$(f))return console.warn(`[Social] Invalid platform type: ${f}`),I(A);const N=R[f];if(!N)return console.warn(`[Social] Platform configuration not found: ${f}`),I(A);const q=T[f];if(!q)return console.warn(`[Social] Platform regex pattern not found: ${f}`),I(A);if(!A.match(q))return console.warn(`[Social] Invalid ${f} input format: ${A}`),I(A);if(f==="email"||f==="phone")return`${N.domain}${A}`;if(f==="whatsapp"){if(/^(https?:\/\/)?([a-zA-Z0-9-]+\.)*(wa\.me|whatsapp\.com)\/.+$/i.test(A))return I(A);const u=A.replace(/\D/g,"");return u.length>=7&&u.length<=15?`https://wa.me/${u}`:(console.warn(`[Social] Invalid ${f} input format: ${A}`),"#")}return f==="link"||f==="website"||f==="custom"?I(A):f==="location"?A:I(A)}return(f,B)=>{const A=Me,N=Ut,q=Zt,W=_e("track-click");return s(),d("div",{class:"my-7 lg:w-50 w-100 gap-5 sm:gap-10",style:Z(i(m))},[i(y)==="layoutSlider"?(s(),d("div",va,[F(q,{modules:["SwiperAutoplay"in f?f.SwiperAutoplay:i(Mo),"SwiperEffectCreative"in f?f.SwiperEffectCreative:i(Po),"SwiperFreeMode"in f?f.SwiperFreeMode:i(wn)],loop:!1,autoplay:{delay:2500,disableOnInteraction:!0},"creative-effect":{prev:{shadow:!1,translate:["-20%",0,-1]},next:{translate:["100%",0,0]}},"slides-per-view":"auto","space-between":12},{default:U(()=>[(s(!0),d(te,null,se(i(p),u=>(s(),L(N,{key:u.id??u.type,class:"social-slide-fixed"},{default:U(()=>[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex items-center justify-start","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,ba)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"]))]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]),_:2},1024))),128))]),_:1},8,["modules"])])):h("",!0),i(y)==="gridAlignStart"?(s(),d("div",ka,[(s(!0),d(te,null,se(i(p),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,wa)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"]))]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0),i(y)==="gridAlignEnd"?(s(),d("div",Ta,[(s(!0),d(te,null,se(i(p),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,xa)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"]))]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0),i(y)==="gridAlignCenter"?(s(),d("div",Sa,[(s(!0),d(te,null,se(i(p
4),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,La)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"]))]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0),i(y)==="grid"?(s(),d("div",{key:4,class:M(i(p).length<6?"flex flex-wrap justify-center items-start gap-3 min-[390px]:gap-5 w-full":"grid grid-cols-[repeat(3,auto)] min-[360px]:grid-cols-[repeat(4,auto)] md:grid-cols-[repeat(auto-fill,minmax(5rem,auto))] gap-3 min-[390px]:gap-5 w-full justify-center justify-items-center max-w-full mx-auto")},[(s(!0),d(te,null,se(i(p),u=>(s(),d("div",{key:u.id??u.type,class:"flex flex-col items-center gap-2"},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex flex-col items-center gap-2","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-[4.75rem] bg-black p-4 rounded-md transition-all duration-300 hover:text-main shrink-0","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,Ca)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-[4.75rem] bg-black p-4 rounded-md transition-all duration-300 hover:text-main shrink-0",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"])),x("span",Aa,j(z(u)),1)]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))],2)):h("",!0),i(y)==="list"?(s(),d("div",Ia,[(s(!0),d(te,null,se(i(p),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex items-center gap-3","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,$a)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"])),x("span",za,j(z(u)),1)]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0),i(y)==="listAlignEnd"?(s(),d("div",Oa,[(s(!0),d(te,null,se(i(p),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex items-center gap-3","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[x("span",Ba,j(z(u)),1),u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,Ea)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-10 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"]))]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0),i(y)==="listAlignCenter"?(s(),d("div",Da,[(s(!0),d(te,null,se(i(p
4),u=>(s(),d("div",{key:u.id??u.type},[Y((s(),L(A,{target:"_blank",rel:"nofollow",class:"flex flex-col items-center gap-1.5","aria-label":i(t)("goToProfile",{name:u.type}),to:C(u.type,u.link)},{default:U(()=>[u.icon?(s(),d("img",{key:1,src:i(r)+u.icon,class:"social-item social-item-color size-9 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0","font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,Ma)):(s(),L(Ke("Svgo"+g(u.type)),{key:0,class:M(["social-item size-9 bg-black p-2 rounded-md transition-all duration-300 hover:text-main shrink-0",{"social-item-color":!i(k)&&l.socials.icon_type==="original","social-item":!!i(k)||l.socials.icon_type==="darkFilled"}]),"font-controlled":!1,alt:u.type+" logo","aria-label":u.type+" logo"},null,8,["alt","aria-label","class"])),x("span",Pa,j(z(u)),1)]),_:2},1032,["aria-label","to"])),[[W,{moduleType:"SocialLinksModule",moduleName:u.type}]])]))),128))])):h("",!0)],4)}}}),ja=ge(Na,[["__scopeId","data-v-64e8362e"]]),Ra=J(()=>Q(()=>import("./YLkpTi5D.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(e=>e.default||e)),Ga=J(()=>Q(()=>import("./Be9ZCEG9.js"),__vite__mapDeps([8,9,2,1,10,11]),import.meta.url).then(e=>e.default||e)),Ha=J(()=>Q(()=>import("./Cb_kS5S0.js"),__vite__mapDeps([12,9,2,1,10,11]),import.meta.url).then(e=>e.default||e)),Va=J(()=>Q(()=>import("./BusE4lTE.js"),__vite__mapDeps([13,14,9,2,1,10]),import.meta.url).then(e=>e.default||e)),Fa=J(()=>Q(()=>import("./CLt7IwJf.js"),__vite__mapDeps([15,14,9,2,1,10]),import.meta.url).then(e=>e.default||e)),Wa=J(()=>Q(()=>import("./BIfLO0RU.js"),__vite__mapDeps([16,9,2,1,10,11]),import.meta.url).then(e=>e.default||e)),qa=J(()=>Q(()=>import("./DY76sdU2.js"),__vite__mapDeps([17,14,9,2,1,10]),import.meta.url).then(e=>e.default||e)),Ua=J(()=>Q(()=>import("./BcnjSoQ7.js"),__vite__mapDeps([18,19,1,2,9,11]),import.meta.url).then(e=>e.default||e)),Za=J(()=>Q(()=>import("./CjeAOQ6E.js"),__vite__mapDeps([20,19,1,2,9,11]),import.meta.url).then(e=>e.default||e)),Ka=J(()=>Q(()=>import("./CZ7DMv1a.js"),__vite__mapDeps([21,19,1,2,9,11]),import.meta.url).then(e=>e.default||e)),Qa=J(()=>Q(()=>import("./DJz23xbx.js"),__vite__mapDeps([22,19,1,2,9,10,11]),import.meta.url).then(e=>e.default||e)),Ja=J(()=>Q(()=>import("./4yPCpfMx.js"),__vite__mapDeps([23,19,1,2,9,10,11]),import.meta.url).then(e=>e.default||e)),Ya=J(()=>Q(()=>import("./eGQKAgcg.js"),__vite__mapDeps([24,19,1,2,9,10,11]),import.meta.url).then(e=>e.default||e)),Xa=J(()=>Q(()=>import("./nfQwY643.js"),__vite__mapDeps([25,9,2,1,10]),import.meta.url).then(e=>e.default||e)),el=J(()=>Q(()=>import("./CleopQyy.js"),__vite__mapDeps([26,19,1,2,9,10,11]),import.meta.url).then(e=>e.default||e)),tl=J(()=>Q(()=>import("./5csxra16.js"),__vite__mapDeps([27,28,9,2,1,11,10]),import.meta.url).then(e=>e.default||e)),nl=J(()=>Q(()=>import("./JoChv2-e.js"),__vite__mapDeps([29,28,9,2,1,11,10]),import.meta.url).then(e=>e.default||e)),rl=J(()=>Q(()=>import("./DZeMC4Gf.js"),__vite__mapDeps([30,28,9,2,1,11,10]),import.meta.url).then(e=>e.default||e)),ol=J(()=>Q(()=>import("./Cx4HfBst.js"),__vite__mapDeps([31,32,11,2,1,28,9,10]),import.meta.url).then(e=>e.default||e)),il=J(()=>Q(()=>import("./CXghx4Or.js"),__vite__mapDeps([33,32,11,2,1,28,9,10]),import.meta.url).then(e=>e.default||e)),sl=J(()=>Q(()=>import("./C-CDVUPo.js"),__vite__mapDeps([34,32,11,2,1,28,9,10]),import.meta.url).then(e=>e.default||e)),al=J(()=>Q(()=>import("./CCUwKStE.js"),__vite__mapDeps([35,9,2,1,36,37,38,11,32,10,6,39]),import.meta.url).then(e=>e.default||e)),ll=J(()=>Q(()=>import("./qou9fVnf.js"),__vite__mapDeps([40,41,9,2,1,10,11,6,39,32]),import.meta.url).then(e=>e.default||e)),cl=J(()=>Q(()=>import("./DZ17DalP.js"),__vite__mapDeps([42,41,9,2,1,10,11,6,39,32]),import.meta.url).then(e=>e.default||e)),ul=J(()=>Q(()=>import("./BfVREgI5.js"),__vite__mapDeps([43,41,9,2,1,10,11,6,39,32]),import.meta.url).then(e=>e.default||e)),pl=J(()=>Q(()=>import("./C8qZe5fx.js"),__vite__mapDeps([44,2,1,11,6]),import.meta.url).then(e=>e.default||e)),dl=J(()=>Q(()=>import("./C3Pcc9PF.js"),__vite__mapDeps([45,11,2,1,6,46,9,10]),import.meta.url).then(e=>e.default||e)),fl=J(()=>Q(()=>import("./Cgu3W68J.js"),__vite__mapDeps([47,1]),import.meta.url).then(e=>e.default||e)),_l=J(()=>Q(()=>import("./BmBqOlQ_.js"),__vite__mapDeps([48,11,2,1]),import.meta.url).then(e=>e.default||e)),hl=J(()=>Q(()=>import("./CC4s-FCt.js"),__vite__mapDeps([49,1,2,11]),import.meta.url).then(e=>e.default||e)),Yt=e=>(St("data-v-797c56bc"),e=e(),Lt(),e),ml={key:0,class:"p-5"},yl=["onClick"],gl={key:0},vl=Yt(()=>x("hr",{style:{"border-top":"1px solid #ffffff30"}},null,-1)),bl={key:1,class:"p-5"},kl=["onClick"],wl={key:0},Tl=Yt(()=>x("hr",{style:{"border-top":"1px solid #ffffff30"}},null,-1)),xl={key:2,class:"p-5"},Sl=["onClick"],Ll={key:0},Cl=Yt(()=>x("hr",{style:{"border-top":"1px solid #ffffff30"}},null,-1)),Al={key:4,class:"p-5"},Il={key:5,class:"p-5"},$l={key:0},zl={key:1},Ol={key:2},Bl={key:6,class:"p-5"},El={key:8,class:"p-5"},Dl=["onClick"],Ml={key:0},Pl=Yt(()=>x("hr",{style:{"border-top":"1px solid #ffffff30"}},null,-1)),Nl={key:9,class:"p-5"},jl={key:0,class:"w-100 d-inline"},Rl={key:1,class:"w-100 d-inline"},Gl={key:2,class:"w-100 d-inline"},Hl={key:3,class:"w-100 d-inline"},Vl={key:4,class:"w-100 d-inline"},Fl={key:10,class:"p-5"},Wl={key:11,class:"p-5"},ql={key:12,class:"p-5"},Ul={key:13,class:"p-5"},Zl={key:14,class:"p-5"},Kl={key:15,class:"p-5"},Ql=["onClick"],Jl={key:1},Yl={key:16,class:"p-5"},Xl=ae({__name:"Modules",props:{modules:{},subdomainName:{}},setup(e){Te();const t=e;function n(){return t.modules.map(_=>({..._,isOpen:!1}))}const r=No(n());function l(_,y){return y+":"+_.type+":"+(_.id??_._id??"")}const{available:p}=qt(),b=()=>p.value&&t.modules?JSON.parse(JSON.stringify(er(t.modules))):null;let w=b();kn(()=>t.modules,()=>{const _=t.modules?n():[],y=w;w=b();const z=_.length===r.length&&_.every((g,D)=>l(g,D)===l(r[D],D));_.forEach((g,D)=>{const R=r[D];z&&y&&zo(R,y[D],er(t.modules[D]))||(g.isOpen=(R==null?void 0:R.isOpen)??!1,R&&g.type==="FormModule"&&R.type==="FormModule"&&(g.questions??[]).forEac
4h((T,$)=>{var C;const I=(C=R.questions)==null?void 0:C[$];I&&I.type===T.type&&"answer"in I&&(T.answer=I.answer)}),r[D]=g)}),r.length=_.length});function S(_){_.foldable&&(_.isOpen=!_.isOpen)}function k(_){return _.use_background_color&&_.background_color?"background-color:"+Qe(_.background_color)+";":""}const m=Lr();return(_,y)=>{const z=ti,g=oi,D=mi,R=gi,T=Ti,$=Di,I=Vi,C=Zi,f=Qi,B=Ra,A=Ga,N=Ha,q=Va,W=Fa,u=Wa,ne=qa,pe=Yi,re=oa,ce=Ua,ke=Za,xe=Ka,Fe=Qa,Ye=Ja,Xe=Ya,We=Xa,Ae=el,E=tl,K=nl,P=rl,G=ol,de=il,X=sl,we=al,Re=ll,$t=cl,_t=ul,zt=ma,Ot=pl,Xt=dl,en=fl,tn=_l,nn=hl,rn=ja;return s(!0),d(te,null,se(i(r),(a,Bt)=>{var Et;return s(),d("div",{key:l(a,Bt),class:"w-100",style:Z(k(a))},[a.type==="ProductsModule"&&!a.hide?(s(),d("div",ml,[x("div",{class:"flex W-full justify-between items-center cursor-pointer",onClick:lt=>S(a)},[x("h3",{class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5),a.foldable?(s(),d("div",gl,[x("div",{class:M([[a.isOpen?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-white-600 border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],8,yl),x("div",{class:M(["w-100 d-inline transition-all duration-500 ease-in-out",a.foldable?a.isOpen?"show-open":"hide-open":""])},[a.layout_type==="grid"?(s(),L(z,{key:0,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="grid2"?(s(),L(g,{key:1,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="swiper"?(s(),L(D,{key:2,items:a.items,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),a.layout_type==="swiper2"?(s(),L(R,{key:3,items:a.items,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),a.layout_type==="swiper3"?(s(),L(T,{key:4,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="promo"?(s(),L($,{key:5,items:a.items,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),a.layout_type==="shop"?(s(),L(I,{key:6,items:a.items,moduleType:a.type,circleImage:a.circle_image},null,8,["items","moduleType","circleImage"])):h("",!0),a.layout_type==="banner"?(s(),L(C,{key:7,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),["grid","grid2","swiper","swiper2","swiper3","promo","shop","banner"].includes(a.layout_type)?h("",!0):(s(),L(f,{key:8,items:a.items,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])),vl],2)])):h("",!0),a.type==="BookingModule"&&!a.hide?(s(),d("div",bl,[x("div",{class:"flex W-full justify-between items-center cursor-pointer",onClick:lt=>S(a)},[x("h3",{class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5),a.foldable?(s(),d("div",wl,[x("div",{class:M([[a.isOpen?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-white-600 border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],8,kl),x("div",{class:M(["w-100 d-inline transition-all duration-500 ease-in-out",a.foldable?a.isOpen?"show-open":"hide-open":""])},[F(B,{module:a,subdomainName:_.subdomainName},null,8,["module","subdomainName"]),Tl],2)])):h("",!0),a.type==="ExternalLinksModule"&&!a.hide?(s(),d("div",xl,[x("div",{class:"flex W-full justify-between items-center cursor-pointer",onClick:lt=>S(a)},[x("h3",{class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5),a.foldable?(s(),d("div",Ll,[x("div",{class:M([[a.isOpen?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-white-600 border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],8,Sl),x("div",{class:M(["w-100 d-inline transition-all duration-500 ease-in-out",a.foldable?a.isOpen?"show-open":"hide-open":""])},[a.layout_type==="grid"?(s(),L(A,{key:0,items:a.links,moduleType:a.type,circleImage:a.circle_image},null,8,["items","moduleType","circleImage"])):h("",!0),a.layout_type==="largeGrid"?(s(),L(N,{key:1,items:a.links,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="swiper"?(s(),L(q,{key:2,items:a.links,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),a.layout_type==="swiper2"?(s(),L(W,{key:3,items:a.links,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),a.layout_type==="promo"?(s(),L(u,{key:4,items:a.links,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])):h("",!0),["grid","largeGrid","swiper","swiper2","promo"].includes(a.layout_type)?h("",!0):(s(),L(ne,{key:5,items:a.links,moduleType:a.type,showArrow:a.show_arrow,circleImage:a.circle_image},null,8,["items","moduleType","showArrow","circleImage"])),Cl],2)])):h("",!0),a.type==="HeaderModule"&&!a.hide?(s(),L(pe,{key:3,module:a},null,8,["module"])):h("",!0),a.type==="ParagraphModule"&&!a.hide?(s(),d("div",Al,[F(re,{content:a.content},null,8,["content"])])):h("",!0),a.type==="ImageModule"&&!a.hide?(s(),d("div",Il,[x("div",null,[a.layout_type==="singleSizable"?(s(),d("div",$l,[F(ce,{item:a.items[0]},null,8,["item"])])):a.items.length>1?(s(),d("div",zl,[a.layout_type==="list"?(s(),L(ke,{key:0,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="grid"?(s(),L(xe,{key:1,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="swiper"?(s(),L(Fe,{key:2,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="carousel"?(s(),L(Ye,{key:3,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="shorts"?(s(),L(Xe,{key:4,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="stories"?(s(),L(We,{key:5,items:a.items},null,8,["items"])):h("",!0),a.layout_type==="cards"?(s(),L(Ae,{key:6,items:a.items},null,8,["items"])):h("",!0),["list","grid","swiper","carousel","shorts","stories","cards"].includes(a.layout_type)?h("",!0):(s(),L(Fe,{key:7,items:a.items},null,8,["items"]))])):(s(),d("div",Ol,[F(ce,{item:a.items[0]},null,8,["item"])]))])])):h("",!0),a.type==="DividerModule"&&!a.hide?(s(),d("div",Bl,[x("hr",{style:Z("border-top: "+a.space+"px solid "+a.color+";")},null,4)])):h("",!0),a.type==="SpacerModule"&&!a.hide?(s(),d("div",{key:7,style:Z("height:"+a.space+"px;")},null,4)):h("",!0),a.type==="VideoLinksModule"&&!a.hide?(s(),d("div",El,[x("div",{class:"flex W-full justify-between items-center cursor-pointer",onClick:lt=>S(a)},[x("h3",{class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5),a.foldable?(s(),d("div",Ml,[x("div",{class:M([[a.isOpen?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-white-600 border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],8,Dl),x("div",{class:M(["w-100 d-inline transition-all duration-500 ease-in-out",a.foldable?a.isOpen?"show-open":"hide-open":""])},[a.layout_type==="grid"?(s(),L(E,{key:0,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="swiper"?(s(),L(K,{key:1,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),a.layout_type==="list"?(s(),L(P,{key:2,items:a.items,moduleType:a.type},null,8,["items","moduleType"])):h("",!0),Pl],2)])):h("",!0),a.type==="SocialFeedModule"&&!a.hide?(s(),d("div",Nl,[x("h3",{class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5),a.configuration==="vimeo"||a.configuration==="youtube"?(s(),d("div",jl,[a.layout_type==="grid"?(s(),L(G,{key:0,configuration:a.configuration,info:a.info,moduleType:a.type,posts_count:a.posts_count},null,8,["configuration","info","moduleType","posts_count"])):h("",!0),a.layout_type==="swiper"?(s(),L(de,{key:1,configuration:a.configuration,info:a.info,moduleType:a.type,posts_count:a.posts_count},null,8,["configuration","info","moduleType","posts_count"])):h("",!0),a.layout_type==="list"?(s(),L(X,{key:2,configuration:a.configuration,info:a.info,moduleType:a.type,posts_count:a.posts_count},null,8,["configuration","info","moduleType","posts_count"])):h("",!0)])):h("",!0),a.configuration==="instagram"?(s(),d("div",Rl,[(Et=a.info)!=null&&Et.connection_id?(s(),L(we,{key:0,module:a},null,8,["module"])):h("",!0)])):h("",!0),a.configuration==="facebook"?(s(),d("div",Gl,[F(we,{module:a},null,8,["module"])])):h("",!0),a.configuration==="instagram_connected"?(s(),d("div",Hl,[F(we,{module:a},null,8,["module"])])):h("",!0),a.configuration==="tiktok"?(s(),d("div",Vl,[a.layout_type==="list"?(s(),L(Re,{key:0,module:a},null,8,["module"])):h("",!0),a.layout_type==="swiper"?(s(),L($t,{key:1,module:a},null,8,["module"])):h("",!0),["list","swiper"].includes(a.layout_type)?h("",!0):(s(),L(_t,{key:2,module:a},null,8,["module"]))])):h("",!0)])):h("",!0),a.type==="ButtonModule"&&!a.hide?(s(),d("div",Fl,[F(zt,{module:a},null,8,["module"])])):h("",!0),a.type==="LocationModule"&&!a.hide?(s(),d("div",Wl,[F(Ot,{module:a},null,8,["module"])])):h("",!0),a.type==="FormModule"&&!a.hide?(s(),d("div",ql,[F(Xt,{subdomainName:_.subdomainName,module:a,moduleIndex:Bt},null,8,["subdomainName","module","moduleIndex"])])):h("",!0),a.type==="EmbedModule"&&!a.hide?(s(),d("div",Ul,[F(en,{subdomainName:_.subdomainName,module:a},null,8,["subdomainName","module"])])):h("",!0),a.type==="IntroductionVideoModule"&&!a.hide?(s(),d("div",Zl,[F(tn,{module:a},null,8,["module"])])):h("",!0),a.type==="ReviewsModule"&&!a.hide?(s(),d("div",Kl,[x("div",{class:"flex W-full justify-between items-center cursor-pointer",onClick:lt=>S(a)},[a.title?(s(),d("h3",{key:0,class:"text-2xl w-full module-title",style:Z(i(m)(a.title))},j(a.title),5)):h("",!0),a.foldable?(s(),d("div",Jl,[x("div",{class:M([[a.isOpen?"rotate-[225deg]":"rotate-[45deg]"],"w-[10px] h-[10px] transition-all duration-500 ease-in-out border-white-600 border-r-2 border-b-2 transform border-white"])},null,2)])):h("",!0)],8,Ql),x("div",{class:M(["w-100 d-inline transition-all duration-500 ease-in-out",a.foldable?a.isOpen?"show-open":"hide-open":""])},[F(nn,{module:a},null,8,["module"])],2)])):h("",!0),a.type==="social_links"&&a.links&&a.links.length>0&&!a.hide?(s(),d("div",Yl,[F(rn,{socials:a},null,8,["socials"])])):h("",!0)],4)}),128)}}}),ru=ge(Xl,[["__scopeId","data-v-797c56bc"]]);async function ou(e){var p;const t=e==null?void 0:e.data;if((t==null?void 0:t.type)!=="redirect")return!1;const n=t.user_template_profile;
4if(typeof n!="string"||!n)return!1;const r=t.redirect_reason==="temporary",l=(p=ur().ssrContext)==null?void 0:p.event;return l&&r&&pr(l,"Cache-Control","no-store, max-age=0"),await Bo(n,{external:!0,replace:!0,redirectCode:r?302:301}),!0}function iu(e){const t=new URLSearchParams({name:e});return Oo().searchParams.get("qshot_no_redirect")==="1"&&t.set("no_redirect","1"),t}function su(){var t;const e=(t=ur().ssrContext)==null?void 0:t.event;e&&pr(e,"Cache-Control","no-cache")}const Je=e=>(St("data-v-920ece6e"),e=e(),Lt(),e),ec=["aria-haspopup","aria-label","aria-expanded","aria-busy","aria-disabled"],tc={key:0,class:"site-lang-spin",viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","aria-hidden":"true"},nc=Je(()=>x("path",{d:"M12 3a9 9 0 1 0 9 9"},null,-1)),rc=[nc],oc=["src","height"],ic={key:2,class:"site-lang-globe",viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},sc=Je(()=>x("circle",{cx:"12",cy:"12",r:"9"},null,-1)),ac=Je(()=>x("path",{d:"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"},null,-1)),lc=[sc,ac],cc={key:3,class:"site-lang-label"},uc=Je(()=>x("svg",{class:"site-lang-chev",viewBox:"0 0 24 24",width:"12",height:"12",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[x("path",{d:"M6 9l6 6 6-6"})],-1)),pc=["dir"],dc=["dir","role","aria-modal","aria-label"],fc=Je(()=>x("div",{class:"site-lang-handle","aria-hidden":"true"},null,-1)),_c={class:"site-lang-head"},hc={class:"site-lang-title"},mc=["aria-label"],yc=Je(()=>x("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","aria-hidden":"true"},[x("path",{d:"M6 6l12 12M18 6L6 18"})],-1)),gc=[yc],vc=["aria-label"],bc=["aria-selected","onClick"],kc={key:0,class:"site-lang-opt-icon",viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},wc=Je(()=>x("circle",{cx:"12",cy:"12",r:"9"},null,-1)),Tc=Je(()=>x("path",{d:"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"},null,-1)),xc=[wc,Tc],Sc=["src","height"],Lc={key:2,class:"site-lang-flag site-lang-noflag","aria-hidden":"true"},Cc=["dir","lang"],Ac={key:3,class:"site-lang-en",dir:"ltr",lang:"en"},Ic={class:"site-lang-check",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2.6","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},$c={key:0,d:"M20 6L9 17l-5-5"},zc={key:0,class:"site-lang-divider",role:"presentation"},Oc=ae({__name:"LanguageSwitcher",setup(e){const{languages:t,current:n,pending:r,loading:l,error:p,translate:b,reset:w}=qt(),{headerTextColor:S,headerDir:k}=Jt(),{uiText:m,uiDir:_}=pt(),y=me(!1),z=me(!1),g=me(!1),D=me(!1),R=me({start:8,top:0}),T=me(null),$=me(null),I=me(null),C=me(null),f=H(()=>[{code:null,label:m("original"),name:"",flag:null,flagHeight:14,dir:_("original")??"ltr"},...t.value.map(E=>({code:E.code,label:E.label,name:E.name&&E.name!==E.label?E.name:"",flag:E.flag??null,flagHeight:Math.round(21/(E.flagRatio??1.5)),dir:E.dir??"ltr"}))]),B=H(()=>n.value??r.value),A=H(()=>B.value?B.value.split("-")[0].toUpperCase():""),N=H(()=>f.value.find(E=>E.code!==null&&E.code===B.value)??null),q=H(()=>n.value===null&&r.value!==null),W=H(()=>{const E=String(S.value??"").match(/[\d.]+/g);if(!E||E.length<3)return"dark";const[K,P,G]=E.slice(0,3).map(de=>{const X=Math.min(255,Number(de))/255;return X<=.03928?X/12.92:((X+.055)/1.055)**2.4});return .2126*K+.7152*P+.0722*G>.4?"dark":"light"});Eo({htmlAttrs:{lang:H(()=>n.value||void 0)}});function u(){var E;return Array.from(((E=I.value)==null?void 0:E.querySelectorAll('[role="option"]'))??[])}function ne(){const E=I.value,K=$.value;if(g.value||!E||!K)return;const P=8,G=document.documentElement.clientWidth,de=K.getBoundingClientRect(),X=E.offsetWidth,we=D.value?de.left:de.right-X,Re=Math.max(P,Math.min(we,G-P-X));R.value={start:Math.round(D.value?G-(Re+X):Re),top:Math.round(de.bottom+6)}}function pe(E){document.documentElement.classList.toggle("site-lang-locked",E)}async function re(){var P;if(l.value||y.value)return;g.value=window.matchMedia("(max-width: 639.98px)").matches;const E=k.value;D.value=E==="rtl"||E!=="ltr"&&!!T.value&&getComputedStyle(T.value).direction==="rtl",
4y.value=!0,g.value&&pe(!0),await _n(),ne();const K=u();(P=K.find(G=>G.getAttribute("aria-selected")==="true")??K[0])==null||P.focus({preventScroll:!g.value})}function ce(E=!1){var K;y.value&&(y.value=!1,pe(!1),E&&((K=$.value)==null||K.focus()))}function ke(){if(!l.value){if(q.value&&r.value){b(r.value);return}y.value?ce():re()}}function xe(E){ce(!0),E!==n.value&&(E===null?w():b(E))}function Fe(E,K){const P=E.toLocaleLowerCase(),G=f.value;for(let de=1;de<=G.length;de++){const X=(K+de+G.length)%G.length,we=G[X];if(we.label.toLocaleLowerCase().startsWith(P)||we.name.toLocaleLowerCase().startsWith(P))return X}return-1}function Ye(E){var de,X,we;const K=u(),P=K.indexOf(document.activeElement);let G=-1;switch(E.key){case"ArrowDown":G=(P+1)%K.length;break;case"ArrowUp":G=(P-1+K.length)%K.length;break;case"Home":G=0;break;case"End":G=K.length-1;break;case"Escape":E.preventDefault(),E.stopPropagation(),ce(!0);return;case"Tab":if(!g.value){ce(!0);return}E.preventDefault(),document.activeElement===C.value?(de=K.find(Re=>Re.getAttribute("aria-selected")==="true")??K[0])==null||de.focus():(X=C.value)==null||X.focus();return;case"Enter":case" ":if(document.activeElement===C.value)return;E.preventDefault(),P>=0&&xe(f.value[P].code);return;default:if(E.key.length===1&&!E.ctrlKey&&!E.metaKey&&!E.altKey){if(G=Fe(E.key,P),G<0)return;break}return}E.preventDefault(),(we=K[G])==null||we.focus()}function Xe(E){l.value||(E.key==="ArrowDown"&&!y.value?(E.preventDefault(),re()):E.key==="Escape"&&y.value&&(E.preventDefault(),ce(!0)))}function We(E){var P,G;if(!y.value)return;const K=E.target;(P=T.value)!=null&&P.contains(K)||(G=I.value)!=null&&G.contains(K)||ce()}function Ae(){if(!y.value)return;if(window.matchMedia("(max-width: 639.98px)").matches!==g.value){ce();return}ne()}return kn(l,E=>{E&&ce()}),fr(()=>{z.value=!0,document.addEventListener("click",We),window.addEventListener("resize",Ae),window.addEventListener("scroll",Ae,{passive:!0})}),_r(()=>{pe(!1),document.removeEventListener("click",We),window.removeEventListener("resize",Ae),window.removeEventListener("scroll",Ae)}),(E,K)=>{var P;return s(),d("div",{ref_key:"rootEl",ref:T,class:"site-lang notranslate",translate:"no",style:Z({color:i(S)})},[x("button",{ref_key:"buttonEl",ref:$,type:"button",class:M(["site-lang-btn",{pending:i(q),open:i(y)}]),"aria-haspopup":i(g)?"dialog":"listbox","aria-label":i(q)?i(m)("applyLanguage",{code:i(A)}):i(m)("language"),"aria-expanded":i(y),"aria-busy":i(l),"aria-disabled":i(l)?"true":void 0,onClick:ke,onKeydown:Xe},[i(l)?(s(),d("svg",tc,rc)):(P=i(N))!=null&&P.flag?(s(),d("img",{key:i(N).flag,class:"site-lang-flag",src:`/flags/${i(N).flag}.svg`,width:"21",height:i(N).flagHeight,alt:"",decoding:"async"},null,8,oc)):(s(),d("svg",ic,lc)),i(A)?(s(),d("span",cc,j(i(A)),1)):h("",!0),uc],42,ec),x("div",{class:M(["site-lang-error",[{shown:!!i(p)&&!i(y)},"scheme-"+i(W)]]),role:"status",dir:i(_)("translationFailed")??"ltr"},j(i(p)&&!i(y)?i(m)("translationFailed"):""),11,pc),i(z)?(s(),L(jo,{key:0,to:"body"},[F(tr,{name:"site-lang-fade"},{default:U(()=>[i(y)&&i(g)?(s(),d("div",{key:0,class:"site-lang-backdrop","aria-hidden":"true",onClick:K[0]||(K[0]=G=>ce(!0))})):h("",!0)]),_:1}),F(tr,{name:i(g)?"site-lang-sheet":"site-lang-pop"},{default:U(()=>[i(y)?(s(),d("div",{key:0,ref_key:"panelEl",ref:I,class:M(["site-lang-menu notranslate",[i(g)?"is-sheet":"is-popover","scheme-"+i(W)]]),translate:"no",dir:i(D)?"rtl":"ltr",role:i(g)?"dialog":void 0,"aria-modal":i(g)?"true":void 0,"aria-label":i(g)?i(m)("language"):void 0,style:Z(i(g)?void 0:{insetInlineStart:i(R).start+"px",top:i(R).top+"px"}),onKeydown:Ye},[i(g)?(s(),d(te,{key:0},[fc,x("div",_c,[x("span",hc,j(i(m)("language")),1),x("button",{ref_key:"closeEl",ref:C,type:"button",class:"site-lang-close","aria-label":i(m)("close"),onClick:K[1]||(K[1]=G=>ce(!0))},gc,8,mc)])],64)):h("",!0),x("ul",{class:"site-lang-list",role:"listbox","aria-label":i(m)("language")},[(s(!0),d(te,null,se(i(f),G=>(s(),d(te,{key:G.code??"original"},[x("li",{role:"option",tabindex:"-1",class:M(["site-lang-opt",{selected:G.code===i(n),original:G.code===null}]),"aria-selected":G.code===i(n),onClick:de=>xe(G.code)},[G.code===null?(s(),d("svg",kc,xc)):G.flag?(s(),d("img",{key:1,class:"site-lang-flag",src:`/flags/${G.flag}.svg`,width:"21",height:G.flagHeight,alt:"",loading:"lazy",decoding:"async"},null,8,Sc)):(s(),d("span",Lc)),x("span",{class:"site-lang-name",dir:G.dir,lang:G.code??(i(n)||"en")},j(G.label),9,Cc),G.name?(s(),d("span",Ac,j(G.name),1)):h("",!0),(s(),d("svg",Ic,[G.code===i(n)?(s(),d("path",$c)):h("",!0)]))],10,bc),G.code===null?(s(),d("li",zc)):h("",!0)],64))),128))],8,vc)],46,dc)):h("",!0)]),_:1}
4,8,["name"])])):h("",!0)],4)}}}),Cr=ge(Oc,[["__scopeId","data-v-920ece6e"]]),Bc=["dir"],Ec={key:0,class:"flex items-center gap-[5px] min-w-0 flex-1 px-[3px] me-2"},Dc={key:1,class:"text-lg font-bold truncate"},Mc={key:1,class:"text-lg font-bold truncate"},Pc={key:2,class:"flex items-center gap-[5px] min-w-0 flex-1 px-[3px] ms-2 justify-end"},Nc={key:1,class:"text-lg font-bold truncate"},jc={key:0,class:"mt-3 flex flex-col gap-2 border-[1px] border-[#ffffff20] rounded-xl p-4",style:{"backdrop-filter":"blur(20px)",background:"#00000050"}},Rc=ae({__name:"Style1",props:{pages_list:{type:Array,required:!0}},setup(e){const{uiText:t,uiSpaced:n}=pt();Te();const{accountInfo:r,logoImage:l,headerBarStyle:p,headerTextColor:b,logoAlignment:w,headerTitle:S,headerSettings:k,headerText:m,headerTitleObj:_,headerFillSides:y,headerPosition:z,headerHidden:g,headerDir:D}=Jt(),R=dr(),T=me(!1),$=()=>{T.value=!T.value},I=e,C=H(()=>!I.pages_list||I.pages_list.length===0?[]:I.pages_list.filter(q=>q.listViewStatus!==!1).slice().sort((q,W)=>q.order-W.order)),{available:f}=qt(),B=H(()=>f.value?{class:w.value==="end"?"flex items-center gap-2 shrink-0 flex-row-reverse":"flex items-center gap-2 shrink-0"}:{}),A=H(()=>z.value==="aboveCover"||y.value?38:28);return(N,q)=>{const W=je,u=Me,ne=Cr;return s(),d("div",{class:M(["w-full z-12 top-0 left-0",[i(z)==="aboveCover"?"relative py-0 min-h-[72px]":"absolute",i(z)!=="aboveCover"?i(y)?"py-0 min-h-[72px]":"px-[22px] pt-[18px] pb-2":""]]),dir:i(D),style:{"z-index":"12"}},[x("div",{class:M(["flex items-center relative w-full",[{"justify-between":i(w)==="start"||i(w)==="left","justify-end":i(w)==="center","justify-between flex-row-reverse":i(w)==="end"||i(w)==="right"},i(z)!=="aboveCover"?i(y)?"px-5 min-h-[72px]":"px-[5px] min-h-[44px] rounded-md":"px-5 min-h-[72px]"]]),style:Z(i(p))},[i(w)==="start"||i(w)==="left"?(s(),d("div",Ec,[i(g)?h("",!0):(s(),L(u,{key:0,to:"/",class:"text-lg font-bold flex items-center gap-[5px] min-w-0 max-w-full",style:Z({color:i(b)})},{default:U(()=>[i(l)?(s(),L(W,{key:0,src:i(l),alt:i(t)("logo"),style:Z({height:A.value+"px",width:"auto",maxWidth:"100%"}),class:"rounded object-contain shrink-0"},null,8,["src","alt","style"])):h("",!0),i(S)?(s(),d("span",Dc,j(i(S)),1)):h("",!0)]),_:1},8,["style"]))])):h("",!0),!i(g)&&i(w)==="center"?(s(),d("div",{key:1,class:M(["absolute left-1/2 transform -translate-x-1/2 px-[3px] max-w-[calc(100%-80px)]",{"title-with-lang":i(f)}])},[F(u,{to:"/",class:"text-lg font-bold flex items-center gap-[5px] min-w-0 max-w-full",style:Z({color:i(b)})},{default:U(()=>[i(l)?(s(),L(W,{key:0,src:i(l),alt:i(t)("logo"),style:Z({height:A.value+"px",width:"auto",maxWidth:"100%"}),class:"rounded object-contain shrink-0"},null,8,["src","alt","style"])):h("",!0),i(S)?(s(),d("span",Mc,j(i(S)),1)):h("",!0)]),_:1},8,["style"])],2)):h("",!0),i(w)==="end"||i(w)==="right"?(s(),d("div",Pc,[i(g)?h("",!0):(s(),L(u,{key:0,to:"/",class:"text-lg font-bold flex items-center gap-[5px] min-w-0 max-w-full",style:Z({color:i(b)})},{default:U(()=>[i(l)?(s(),L(W,{key:0,src:i(l),alt:i(t)("logo"),style:Z({height:A.value+"px",width:"auto",maxWidth:"100%"}),class:"rounded object-contain shrink-0"},null,8,["src","alt","style"])):h("",!0),i(S)?(s(),d("span",Nc,j(i(S)),1)):h("",!0)]),_:1},8,["style"]))])):h("",!0),C.value.length>0||i(f)?(s(),d("div",hr(mr({key:3},B.value)),[i(f)?(s(),L(ne,{key:0})):h("",!0),C.value.length>0?(s(),d("button",{key:1,class:"flex p-2 flex-col justify-center items-center group",style:Z({color:i(b)}),onClick:$},[x("span",{class:M(["w-6 h-[2px] bg-current mb-[5px] transition-all duration-300",T.value?"rotate-45 translate-y-[7px]":""])},null,2),x("span",{class:M(["w-6 h-[2px] bg-current mb-[5px] transition-all duration-300",T.value?"opacity-0":""])},null,2),x("span",{class:M(["w-6 h-[2px] bg-current transition-all duration-300",T.value?"-rotate-45 -translate-y-[7px]":""])},null,2)],4)):h("",!0)],16)):h("",!0)],6),x("div",{class:M([i(z)==="aboveCover"?"p-5 pt-1 absolute w-full":"",(i(y),"p-5 pt-1")])},[C.value.length>0?Y((s(),d("div",jc,[F(u,{class:M(["nav-icon text-white p-2 group",{"active-route":i(R).path==="/"}]),to:"/",onClick:$},{default:U(()=>[Ft(j(i(n)("home")),1)]),_:1},8,["class"]),(s(!0),d(te,null,se(C.value,pe=>(s(),L(u,{key:pe._id||pe.id,to:"/"+pe.urlName,class:M(["nav-icon text-white p-2 group",{"active-route":i(R).path==="/"+pe.urlName}]),onClick:$},{default:U(()=>[Ft(j(pe.listName),1)]),_:2},1032,["to","class"]))),128))],512)),[[yr,T.value]]):h("",!0)],2)],10,Bc)}}}),au=ge(Rc,[["__scopeId","data-v-f33202ed"]]),Gc=["dir"],Hc={key:0,class:"min-w-0 flex-1"}
4,Vc={key:1,class:"truncate"},Fc={key:1,class:"truncate"},Wc={key:0,class:"absolute left-5 right-5 top-full mt-2 flex flex-col gap-2 border-[1px] border-[#ffffff20] rounded-xl p-4 z-20",style:{"backdrop-filter":"blur(20px)",background:"#00000050"}},qc=ae({__name:"Style2",props:{pages_list:{type:Array,required:!0}},setup(e){const{uiText:t,uiSpaced:n}=pt();Te();const{accountInfo:r,logoImage:l,headerBarStyle:p,headerTextColor:b,logoAlignment:w,headerTitle:S,headerSettings:k,headerText:m,headerTitleObj:_,headerPosition:y,headerFillSides:z,headerHidden:g,headerDir:D}=Jt(),R=dr(),T=me(!1),$=()=>{T.value=!T.value},I=e,C=H(()=>!I.pages_list||I.pages_list.length===0?[]:I.pages_list.filter(W=>W.listViewStatus!==!1).slice().sort((W,u)=>W.order-u.order)),f=H(()=>{const q=w.value;return q==="start"||q==="left"?"start":q==="center"?"center":q==="end"||q==="right"?"end":"start"}),{available:B}=qt(),A=H(()=>B.value?{class:f.value==="end"?"flex items-center gap-2 shrink-0 flex-row-reverse":"flex items-center gap-2 shrink-0"}:{}),N=H(()=>y.value==="aboveCover"||z.value?38:28);return(q,W)=>{const u=je,ne=Me,pe=Cr;return s(),d("div",{class:M(["w-full z-12 top-0 left-0 flex items-center",i(y)!=="aboveCover"?i(z)?"py-0 min-h-[72px] absolute":"px-[22px] pt-[18px] pb-2 absolute":"relative"]),dir:i(D),style:{"z-index":"12"}},[x("div",{class:M(["flex items-center relative w-full",[{"justify-between":f.value==="start"||f.value==="left","justify-end":f.value==="center","justify-between flex-row-reverse":f.value==="end"||f.value==="right"},i(y)!=="aboveCover"?i(z)?"px-5 min-h-[72px]":"px-[5px] min-h-[44px] rounded-md":"px-5 min-h-[72px]"]]),style:Z(i(p))},[i(g)?(s(),d("div",Hc)):h("",!0),!i(g)&&(f.value==="start"||f.value==="left"||f.value==="end"||f.value==="right")?(s(),L(ne,{key:1,to:"/",class:"flex items-center gap-[5px] text-lg font-bold min-w-0 max-w-full px-[3px] me-2",style:Z({color:i(b)})},{default:U(()=>[i(l)?(s(),L(u,{key:0,src:i(l),alt:i(t)("logo"),style:Z({height:N.value+"px",width:"auto",maxWidth:"100%"}),class:"rounded object-contain shrink-0"},null,8,["src","alt","style"])):h("",!0),i(S)?(s(),d("span",Vc,j(i(S)),1)):h("",!0)]),_:1},8,["style"])):h("",!0),!i(g)&&f.value==="center"?(s(),L(ne,{key:2,to:"/",class:M(["absolute left-1/2 -translate-x-1/2 flex items-center gap-[5px] text-lg font-bold max-w-[calc(100%-80px)] min-w-0 px-[3px]",{"title-with-lang":i(B)}]),style:Z({color:i(b)})},{default:U(()=>[i(l)?(s(),L(u,{key:0,src:i(l),alt:i(t)("logo"),style:Z({height:N.value+"px",width:"auto",maxWidth:"100%"}),class:"rounded object-contain shrink-0"},null,8,["src","alt","style"])):h("",!0),i(S)?(s(),d("span",Fc,j(i(S)),1)):h("",!0)]),_:1},8,["class","style"])):h("",!0),C.value.length>0||i(B)?(s(),d("div",hr(mr({key:3},A.value)),[i(B)?(s(),L(pe,{key:0})):h("",!0),C.value.length>0?(s(),d("button",{key:1,class:"flex p-2 flex-col justify-center items-center group",style:Z({color:i(b)}),onClick:$},[x("span",{class:M(["w-6 h-[2px] bg-current mb-[5px] transition-all duration-300",T.value?"rotate-45 translate-y-[7px]":""])},null,2),x("span",{class:M(["w-6 h-[2px] bg-current mb-[5px] transition-all duration-300",T.value?"opacity-0":""])},null,2),x("span",{class:M(["w-6 h-[2px] bg-current transition-all duration-300",T.value?"-rotate-45 -translate-y-[7px]":""])},null,2)],4)):h("",!0)],16)):h("",!0)],6),C.value.length>0?Y((s(),d("div",Wc,[F(ne,{class:M(["nav-icon text-white p-2 group",{"active-route":i(R).path==="/"}]),to:"/",onClick:$},{default:U(()=>[Ft(j(i(n)("home")),1)]),_:1},8,["class"]),(s(!0),d(te,null,se(C.value,re=>(s(),L(ne,{key:re._id||re.id,to:"/"+re.urlName,class:M(["nav-icon text-white p-2 group",{"active-route":i(R).path==="/"+re.urlName}]),onClick:$},{default:U(()=>[Ft(j(re.listName),1)]),_:2},1032,["to","class"]))),128))],512)),[[yr,T.value]]):h("",!0)],10,Gc)}}}),lu=ge(qc,[["__scopeId","data-v-ae806453"]]);export{au as H,Yc as _,ou as a,ru as b,lu as c,tu as d,Kt as e,Lr as f,nu as g,eu as h,Xc as i,su as m,Qe as n,iu as p,Jt as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.