vendor: 4,080 bytes, line 1
1import{u as F}from"./Ddqj9abs.js";import{b2 as te,aI as oe,bL as ne,cf as ae,ae as v,cp as B,bZ as Z,c1 as P,c3 as se,b_ as ie,aB as le,ag as L,cQ as re,cF as ue,cV as ce,cI as pe,c as de,aG as ve,c0 as me,cX as fe,bm as ge,bE as ye,ah as U,bB as he,bz as be}from"./C9Z41gEb.js";import{b as Ie}from"./CE7DWAA3.js";import{u as xe}from"./jVz7gLct.js";import{m as ke}from"./Dw5q7-IM.js";import{u as Se}from"./9nyH5CTu.js";import{u as $e}from"./nMIUYhGG.js";const D=Symbol.for("vuetify:layout"),we=Symbol.for("vuetify:layout-item"),E=1e3,ze=Z({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Ce=(t,o,e,a)=>{let s={top:0,left:0,right:0,bottom:0};const l=[{id:"",layer:{...s}}];for(const u of t){const d=o.get(u),m=e.get(u),S=a.get(u);if(!d||!m||!S)continue;const I={...s,[d.value]:parseInt(s[d.value],10)+(S.value?parseInt(m.value,10):0)};l.push({id:u,layer:I}),s=I}return l};function Re(t){const o=te(D,null),e=v(()=>o?o.rootZIndex.value-100:E),a=se([]),s=P(new Map),l=P(new Map),u=P(new Map),d=P(new Map),m=P(new Map),{resizeRef:S,contentRect:I}=Se(),g=v(()=>{const i=new Map,p=t.overlaps??[];for(const n of p.filter(c=>c.includes(":"))){const[c,r]=n.split(":");if(!a.value.includes(c)||!a.value.includes(r))continue;const k=s.get(c),h=s.get(r),z=l.get(c),C=l.get(r);!k||!h||!z||!C||(i.set(r,{position:k.value,amount:parseInt(z.value,10)}),i.set(c,{position:h.value,amount:-parseInt(C.value,10)}))}return i}),x=v(()=>{const i=[...new Set([...u.values()].map(n=>n.value))].sort((n,c)=>n-c),p=[];for(const n of i){const c=a.value.filter(r=>u.get(r)?.value===n);p.push(...c)}return Ce(p,s,l,d)}),A=v(()=>!Array.from(m.values()).some(i=>i.value)),y=v(()=>x.value[x.value.length-1].layer),$=B(()=>({"--v-layout-left":L(y.value.left),"--v-layout-right":L(y.value.right),"--v-layout-top":L(y.value.top),"--v-layout-bottom":L(y.value.bottom),...A.value?void 0:{transition:"none"}})),w=v(()=>x.value.slice(1).map((i,p)=>{let{id:n}=i;const{layer:c}=x.value[p],r=l.get(n),k=s.get(n);return{id:n,...c,size:Number(r.value),position:k.value}})),G=i=>w.value.find(p=>p.id===i),W=oe("createLayout"),H=ae(!1);ne(()=>{H.value=!0}),ie(D,{register:(i,p)=>{let{id:n,order:c,position:r,layoutSize:k,elementSize:h,active:z,disableTransitions:C,absolute:q}=p;u.set(n,c),s.set(n,r),l.set(n,k),d.set(n,z),C&&m.set(n,C);const N=le(we,W?.vnode).indexOf(i);N>-1?a.value.splice(N,0,n):a.value.push(n);const T=v(()=>w.value.findIndex(R=>R.id===n)),V=v(()=>e.value+x.value.length*2-T.value*2),J=v(()=>{const R=r.value==="left"||r.value==="right",M=r.value==="right",Y=r.value==="bottom",O=h.value??k.value,ee=O===0?"%":"px",j={[r.value]:0,zIndex:V.value,transform:`translate${R?"X":"Y"}(${(z.value?0:-(O===0?100:O))*(M||Y?-1:1)}${ee})`,position:q.value||e.value!==E?"absolute":"fixed",...A.value?void 0:{transition:"none"}};if(!H.value)return j;const f=w.value[T.value],_=g.value.get(n);return _&&(f[_.position]+=_.amount),{...j,height:R?`calc(100% - ${f.top}px - ${f.bottom}px)`:h.value?`${h.value}px`:void 0,left:M?void 0:`${f.left}px`,right:M?`${f.right}px`:void 0,top:r.value!=="bottom"?`${f.top}px`:void 0,bottom:r.value!=="top"?`${f.bottom}px`:void 0,width:R?h.value?`${h.value}px`:void 0:`calc(100% - ${f.left}px - ${f.right}px)`}}),Q=v(()=>({zIndex:V.value-1}));return{layoutItemStyles:J,layoutItemScrimStyles:Q,zIndex:V}},unregister:i=>{u.delete(i),s.delete(i),l.delete(i),d.delete(i),m.delete(i),a.value=a.value.filter(p=>p!==i)},mainRect:y,mainStyles:$,getLayoutItem:G,items:w,layoutRect:I,rootZIndex:e});const X=B(()=>["v-layout",{"v-layout--full-height":t.fullHeight}]),K=B(()=>({zIndex:o?e.value:void 0,position:o?"relative":void 0,overflow:o?"hidden":void 0}));return{layoutClasses:X,layoutStyles:K,getLayoutItem:G,items:w,layoutRect:I,layoutRef:S}}const je=t=>{const{$componentConfigs:{socialSharingAndSeoConfig:o},$clientRuntimeConfig:e,$coreContent:a,$notifications:s,$t:l,$themeConfig:u}=re(),d=ue(),m={backgroundImage:u.background?.image,backgroundPosition:"top",backgroundRepeat:"Repeat",backgroundSize:"auto"},S={backgroundPosition:"top",backgroundSize:"auto"},{isMounted:I}
1=xe(),g=a.usePageStore(),x=ce(),A=v(()=>{if(!I.value)return S;const $=g.background;return Ie(t.value,d.name.value,$&&Object.keys($).length>0?{...$,backgroundPosition:"top"}:m)}),y=()=>{s.show(navigator.onLine?{message:l("internet.online")}:{message:l("internet.offline"),type:de.WARNING})};return pe({title:()=>g.metaTags.title?Le(g.metaTags.title,l):l("name"),link:()=>Object.values(g.linksById).flat().concat({rel:"canonical",href:`${e.baseUrl}${x.path}`},{rel:"icon",href:u.favicon[0].url,type:"image/png"}),meta:()=>Pe(g.metaTags,o),script:()=>Object.values(g.scriptById).flat().concat(Ae(o,l("name"),e.baseUrl,e.numberFormatOptions.defaultSettings.currency)),htmlAttrs:{lang:e.locale.language}}),F(window,"online",y),F(window,"offline",y),{layout_backgroundStyles:A}},b=(t,o)=>{const e={content:o};return e[t.startsWith("og:")?"property":"name"]=t,e},Pe=(t,o)=>{const e=[],a=t?.description||o.description;a&&(e.push(b("description",a)),e.push(b("og:description",a)));const s=[];return t.noIndex&&s.push("noindex"),t.noFollow&&s.push("nofollow"),s.length>0&&e.push(b("robots",s.join(","))),e.push(b("og:image",t.openGraphImage||o.image?.[0].url||"/tenant/logo.svg")),e.push(b("og:title",t.title)),e.push(b("og:type","website")),t.openGraphVideo&&e.push(b("og:video",t.openGraphVideo)),t.openGraphUrl&&e.push(b("og:url",t.openGraphUrl)),e},Ae=(t,o,e,a)=>({children:JSON.stringify({"@context":"https://schema.org","@type":"Corporation",description:t.description,logo:"/tenant/logo.svg",name:o,acceptedPaymentMethod:"Cash, Debit Card",url:e,additionalProperty:{"@type":"PropertyValue",name:"Currencies Accepted",value:a}}),type:"application/ld+json"}),Le=(t,o)=>{const e=o("pagetitleformat",[t]);return e==="pagetitleformat"?t:e},Ve=Z({...ke(),...ye(ze(),["fullHeight"]),...ge()},"VApp"),Fe=ve()({name:"VApp",props:Ve(),setup(t,o){let{slots:e}=o;const a=me(t),{layoutClasses:s,getLayoutItem:l,items:u,layoutRef:d}=Re({...t,fullHeight:!0}),{rtlClasses:m}=fe();return $e(()=>U("div",{ref:d,class:be(["v-application",a.themeClasses.value,s.value,m.value,t.class]),style:he([t.style])},[U("div",{class:"v-application__wrap"},[e.default?.()])])),{getLayoutItem:l,items:u,theme:a}}});export{Fe as V,je 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.