const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dwci9OuQ.js","./CeEkRbuz.js","./DNFr_PBo.js","./lDMcQnza.js","./Footer.BbqrMGlM.css","./D-E4_pM3.js","./DILrXVHU.js","./BO6-UZ1H.js","./CW50v6Yh.js","./index.DjDK2VZE.css","./B57Nirc7.js","./documents.XTj0zgz_.css","./iKp7kEfF.js","./BVapdQih.js","./bVudRqvh.js","./_slug_.CzTEhnLB.css","./DOnl8A48.js","./mama-i-malysh.2e8gCWBB.css","./DH_pNBtI.js","./CookieAgreement.BXNkXjo3.css","./BZOnR6f8.js","./WidgetContact.DiXyjPiq.css","./DeMUTE8t.js","./LidModal.D0CpUcFJ.css"])))=>i.map(i=>d[i]); import{s as B,r as be,e as Jr,g as Xe,h as Ce,a as et,i as ne,t as Yr,b as Zr,c as Qr,d as $,w as Xr,o as tt,f as en,j as tn,k as J,l as A,K as rn,T as nn,m as on,n as q,p as rt,q as nt,u as sn,v as F,x as Ne,y as ot,z as an,A as me,B as gt,C as E,S as sr,F as ar,D as R,E as cn,G as Q,H as T,I as M,J as ir,L as Re,M as X,N as ln,O as K,P as un,Q as dn,R as fn,U as hn,V as pn,W as kt,X as yn,Y as mn}from"./CeEkRbuz.js";import{S as ge,c as gn,a as kn,R as vn}from"./CW50v6Yh.js";import{c as _n,s as wn}from"./DILrXVHU.js";const bn=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Cn=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Mn=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function En(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Sn(e);return}return t}function Sn(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function oe(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Mn.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(bn.test(e)||Cn.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,En)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const cr=/#/g,lr=/&/g,ur=/\//g,An=/=/g,xn=/\?/g,Me=/\+/g,Tn=/%5e/gi,Rn=/%60/gi,Pn=/%7c/gi,On=/%20/gi,Ln=/%252f/gi;function dr(e){return encodeURI(""+e).replace(Pn,"|")}function Ue(e){return dr(typeof e=="string"?e:JSON.stringify(e)).replace(Me,"%2B").replace(On,"+").replace(cr,"%23").replace(lr,"%26").replace(Rn,"`").replace(Tn,"^").replace(ur,"%2F")}function Pe(e){return Ue(e).replace(An,"%3D")}function st(e){return dr(e).replace(cr,"%23").replace(xn,"%3F").replace(Ln,"%2F").replace(lr,"%26").replace(Me,"%2B")}function vt(e){return st(e).replace(ur,"%2F")}function ke(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jn(e){return ke(e.replace(Me," "))}function $n(e){return ke(e.replace(Me," "))}function at(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=jn(n[1]);if(o==="__proto__"||o==="constructor")continue;const s=$n(n[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function Hn(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Pe(e)}=${Ue(r)}`).join("&"):`${Pe(e)}=${Ue(t)}`:Pe(e)}function In(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Hn(t,e[t])).filter(Boolean).join("&")}const Nn=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Un=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,qn=/^([/\\]\s*){2,}[^/\\]/,zn=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Dn=/\/$|\/\?|\/#/,Bn=/^\.?\//;function O(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Nn.test(e):Un.test(e)||(t.acceptRelative?qn.test(e):!1)}function Wn(e){return!!e&&zn.test(e)}function qe(e="",t){return t?Dn.test(e):e.endsWith("/")}function Y(e="",t){if(!t)return(qe(e)?e.slice(0,-1):e)||"/";if(!qe(e,!0))return e||"/";let r=e,n="";const o=e.indexOf("#");o!==-1&&(r=e.slice(0,o),n=e.slice(o));const[s,...a]=r.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(a.length>0?`?${a.join("?")}`:"")+n}function fr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(qe(e,!0))return e||"/";let r=e,n="";const o=e.indexOf("#");if(o!==-1&&(r=e.slice(0,o),n=e.slice(o),!r))return n;const[s,...a]=r.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+n}function Fn(e=""){return e.startsWith("/")}function Vn(e=""){return Fn(e)?e:"/"+e}function Kn(e,t){if(pr(t)||O(e))return e;const r=Y(t);return e.startsWith(r)?e:H(r,e)}function _t(e,t){if(pr(t))return e;const r=Y(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function hr(e,t){const r=it(e),n={...at(r.search),...t};return r.search=In(n),Yn(r)}function pr(e){return!e||e==="/"}function Gn(e){return e&&e!=="/"}function H(e,...t){let r=e||"";for(const n of t.filter(o=>Gn(o)))if(r){const o=n.replace(Bn,"");r=fr(r)+o}else r=n;return r}function yr(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let o=0;for(const a of r)if(!(!a||a==="/")){for(const[i,c]of a.split(t).entries())if(!(!c||c===".")){if(c===".."){if(n.length===1&&O(n[0]))continue;n.pop(),o--;continue}if(i===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+c;continue}n.push(c),o++}}let s=n.join("/");return o>=0?r[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:r[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,r[r.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Jn(e,t){return ke(Y(e))===ke(Y(t))}const mr=Symbol.for("ufo:protocolRelative");function it(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,y,h=""]=r;return{protocol:y.toLowerCase(),pathname:h,href:y+h,auth:"",host:"",search:"",hash:""}}if(!O(e,{acceptRelative:!0}))return wt(e);const[,n="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",i=""]=s.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(i=i.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=wt(i);return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:a,pathname:c,search:u,hash:l,[mr]:!n}}function wt(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Yn(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[mr]?(e.protocol||"")+"//":"")+o+s+t+r+n}class Zn extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Qn(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${o}: ${s}${t?` ${t}`:""}`,i=new Zn(a,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(i,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,c,{get(){return e.response&&e.response[u]}});return i}const Xn=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function bt(e="GET"){return Xn.has(e.toUpperCase())}function eo(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const to=new Set(["image/svg","application/xml","application/xhtml","application/html"]),ro=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function no(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return ro.test(t)?"json":t==="text/event-stream"?"stream":to.has(t)||t.startsWith("text/")?"text":"blob"}function oo(e,t,r,n){const o=so(t?.headers??e?.headers,r?.headers,n);let s;return(r?.query||r?.params||t?.params||t?.query)&&(s={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:s,params:s,headers:o}}function so(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[o,s]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(o,s);return n}async function ie(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const ao=new Set([408,409,425,429,500,502,503,504]),io=new Set([101,204,205,304]);function gr(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(i){const c=i.error&&i.error.name==="AbortError"&&!i.options.timeout||!1;if(i.options.retry!==!1&&!c){let l;typeof i.options.retry=="number"?l=i.options.retry:l=bt(i.options.method)?0:1;const y=i.response&&i.response.status||500;if(l>0&&(Array.isArray(i.options.retryStatusCodes)?i.options.retryStatusCodes.includes(y):ao.has(y))){const h=typeof i.options.retryDelay=="function"?i.options.retryDelay(i):i.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),s(i.request,{...i.options,retry:l-1})}}const u=Qn(i);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){const l={request:c,options:oo(c,u,e.defaults,r),response:void 0,error:void 0};if(l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&(await ie(l,l.options.onRequest),l.options.headers instanceof r||(l.options.headers=new r(l.options.headers||{}))),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Kn(l.request,l.options.baseURL)),l.options.query&&(l.request=hr(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&bt(l.options.method))if(eo(l.options.body)){const d=l.options.headers.get("content-type");typeof l.options.body!="string"&&(l.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(l.options.body).toString():JSON.stringify(l.options.body)),d||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")}else("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"));let y;if(!l.options.signal&&l.options.timeout){const d=new n;y=setTimeout(()=>{const f=new Error("[TimeoutError]: The operation was aborted due to timeout");f.name="TimeoutError",f.code=23,d.abort(f)},l.options.timeout),l.options.signal=d.signal}try{l.response=await t(l.request,l.options)}catch(d){return l.error=d,l.options.onRequestError&&await ie(l,l.options.onRequestError),await o(l)}finally{y&&clearTimeout(y)}if((l.response.body||l.response._bodyInit)&&!io.has(l.response.status)&&l.options.method!=="HEAD"){const d=(l.options.parseResponse?"json":l.options.responseType)||no(l.response.headers.get("content-type")||"");switch(d){case"json":{const f=await l.response.text(),p=l.options.parseResponse||oe;l.response._data=p(f);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[d]()}}return l.options.onResponse&&await ie(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await ie(l,l.options.onResponseError),await o(l)):l.response},a=async function(c,u){return(await s(c,u))._data};return a.raw=s,a.native=(...i)=>t(...i),a.create=(i={},c={})=>gr({...e,...c,defaults:{...e.defaults,...c.defaults,...i}}),a}const ve=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),co=ve.fetch?(...e)=>ve.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),lo=ve.Headers,uo=ve.AbortController,fo=gr({fetch:co,Headers:lo,AbortController:uo}),ho=fo,po=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ct=()=>po().app,yo=()=>ct().baseURL,mo=()=>ct().buildAssetsDir,lt=(...e)=>yr(ut(),mo(),...e),ut=(...e)=>{const t=ct(),r=t.cdnURL||t.baseURL;return e.length?yr(r,...e):r};globalThis.__buildAssetsURL=lt,globalThis.__publicAssetsURL=ut;globalThis.$fetch||(globalThis.$fetch=ho.create({baseURL:yo()}));"global"in globalThis||(globalThis.global=globalThis);function ze(e,t={},r){for(const n in e){const o=e[n],s=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?ze(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const go={run:e=>e()},ko=()=>go,kr=typeof console.createTask<"u"?console.createTask:ko;function vo(e,t){const r=t.shift(),n=kr(r);return e.reduce((o,s)=>o.then(()=>n.run(()=>s(...t))),Promise.resolve())}function _o(e,t){const r=t.shift(),n=kr(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Oe(e,t){for(const r of[...e])r(t)}let wo=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!n.allowDeprecated){let a=s.message;a||(a=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...s)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...s));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=ze(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=ze(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(vo,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(_o,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Oe(this._before,o);const s=t(r in this._hooks?[...this._hooks[r]]:[],n);return s instanceof Promise?s.finally(()=>{this._after&&o&&Oe(this._after,o)}):(this._after&&o&&Oe(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}};function bo(){return new wo}function Co(e={}){let t,r=!1;const n=a=>{if(t&&t!==a)throw new Error("Context conflict")};let o;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?o=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o){const a=o.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,i)=>{i||n(a),t=a,r=!0},unset:()=>{t=void 0,r=!1},call:(a,i)=>{n(a),t=a;try{return o?o.run(a,i):i()}finally{r||(t=void 0)}},async callAsync(a,i){t=a;const c=()=>{t=a},u=()=>t===a?c:void 0;De.add(u);try{const l=o?o.run(a,i):i();return r||(t=void 0),await l}finally{De.delete(u)}}}}function Mo(e={}){const t={};return{get(r,n={}){return t[r]||(t[r]=Co({...e,...n})),t[r]}}}const _e=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ct="__unctx__",Eo=_e[Ct]||(_e[Ct]=Mo()),So=(e,t={})=>Eo.get(e,t),Mt="__unctx_async_handlers__",De=_e[Mt]||(_e[Mt]=new Set);function G(e){const t=[];for(const o of De){const s=o();s&&t.push(s)}const r=()=>{for(const o of t)o()};let n=e();return n&&typeof n=="object"&&"catch"in n&&(n=n.catch(o=>{throw r(),o})),[n,r]}const Et=!1,Ao=!1,St={id:"__nuxt-loader"},xo={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},To="#__nuxt",vr="nuxt-app",At=36e5,Ro="vite:preloadError";function _r(e=vr){return So(e,{asyncContext:!1})}const Po="__nuxt_plugin";function Oo(e){let t=0;const r={_id:e.id||vr||"nuxt-app",_scope:Jr(),provide:void 0,versions:{get nuxt(){return"4.1.2"},get vue(){return r.vueApp.version}},payload:B({...e.ssrContext?.payload||{},data:B({}),state:be({}),once:new Set,_errors:B({})}),static:{data:{}},runWithContext(o){return r._scope.active&&!Xe()?r._scope.run(()=>xt(r,o)):xt(r,o)},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:B({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const s in o)switch(s){case"data":case"state":case"_errors":Object.assign(r.payload[s],o[s]);break;default:r.payload[s]=o[s]}}r.hooks=bo(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(o,s)=>{const a="$"+o;ce(r,a,s),ce(r.vueApp.config.globalProperties,a,s)},ce(r.vueApp,"$nuxt",r),ce(r.vueApp.config.globalProperties,"$nuxt",r);{window.addEventListener(Ro,s=>{r.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=C;const o=r.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});r.hook("app:mounted",o)}const n=r.payload.config;return r.provide("config",n),r}function Lo(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function jo(e,t){if(typeof t=="function"){const{provide:r}=await e.runWithContext(()=>t(e))||{};if(r&&typeof r=="object")for(const n in r)e.provide(n,r[n])}}async function $o(e,t){const r=new Set,n=[],o=[];let s,a=0;async function i(c){const u=c.dependsOn?.filter(l=>t.some(y=>y._name===l)&&!r.has(l))??[];if(u.length>0)n.push([new Set(u),c]);else{const l=jo(e,c).then(async()=>{c._name&&(r.add(c._name),await Promise.all(n.map(async([y,h])=>{y.has(c._name)&&(y.delete(c._name),y.size===0&&(a++,await i(h)))})))}).catch(y=>{if(!c.parallel&&!e.payload.error)throw y;s||=y});c.parallel?o.push(l):await l}}for(const c of t)Lo(e,c);for(const c of t)await i(c);if(await Promise.all(o),a)for(let c=0;c{}),e,{[Po]:!0,_name:t})}const Ho=S;function xt(e,t,r){const n=()=>t();return _r(e._id).set(e),e.vueApp.runWithContext(n)}function Io(e){let t;return Ce()&&(t=et()?.appContext.app.$nuxt),t||=_r(e).tryUse(),t||null}function C(e){const t=Io(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Z(e){return C().$config}function ce(e,t,r){Object.defineProperty(e,t,{get:()=>r})}function No(e,t){return{ctx:{table:e},matchAll:r=>br(r,e)}}function wr(e){const t={};for(const r in e)t[r]=r==="dynamic"?new Map(Object.entries(e[r]).map(([n,o])=>[n,wr(o)])):new Map(Object.entries(e[r]));return t}function Uo(e){return No(wr(e))}function br(e,t,r){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const n=[];for(const[s,a]of Tt(t.wildcard))(e===s||e.startsWith(s+"/"))&&n.push(a);for(const[s,a]of Tt(t.dynamic))if(e.startsWith(s+"/")){const i="/"+e.slice(s.length).split("/").splice(2).join("/");n.push(...br(i,a))}const o=t.static.get(e);return o&&n.push(o),n.filter(Boolean)}function Tt(e){return[...e.entries()].sort((t,r)=>t[0].length-r[0].length)}function Le(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Be(e,t,r=".",n){if(!Le(t))return Be(e,{},r,n);const o={...t};for(const s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(n&&n(o,s,a,r)||(Array.isArray(a)&&Array.isArray(o[s])?o[s]=[...a,...o[s]]:Le(a)&&Le(o[s])?o[s]=Be(a,o[s],(r?`${r}.`:"")+s.toString(),n):o[s]=a))}return o}function qo(e){return(...t)=>t.reduce((r,n)=>Be(r,n,"",e),{})}const Ee=qo();function zo(e,t){try{return t in e}catch{return!1}}class Rt extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,r={}){super(t,r),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const t={message:this.message,statusCode:We(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Cr(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Do(e){if(typeof e=="string")return new Rt(e);if(Bo(e))return e;const t=new Rt(e.message??e.statusMessage??"",{cause:e.cause||e});if(zo(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=We(e.statusCode,t.statusCode):e.status&&(t.statusCode=We(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const r=t.statusMessage;Cr(t.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Bo(e){return e?.constructor?.__h3_error__===!0}const Wo=/[^\u0009\u0020-\u007E]/g;function Cr(e=""){return e.replace(Wo,"")}function We(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Fo=Symbol("layout-meta"),Se=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const x=()=>C()?.$router,Mr=()=>Ce()?ne(Se,C()._route):C()._route;const Vo=()=>{try{if(C()._processingMiddleware)return!0}catch{return!1}return!1},Ko=(e,t)=>{e||="/";const r=typeof e=="string"?e:"path"in e?Fe(e):x().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:u={}}=t.open,l=[];for(const[y,h]of Object.entries(u))h!==void 0&&l.push(`${y.toLowerCase()}=${h}`);return open(r,c,l.join(", ")),Promise.resolve()}const n=O(r,{acceptRelative:!0}),o=t?.external||n;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(r,window.location.href);if(c&&Wn(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const s=Vo();if(!o&&s){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:l}=it(e);return{path:c,...u&&{query:at(u)},...l&&{hash:l},replace:!0}}return{...e,replace:!0}}return e}const a=x(),i=C();return o?(i._scope.stop(),t?.replace?location.replace(r):location.href=r,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?a.replace(e):a.push(e)};function Fe(e){return hr(e.path||"",e.query||{})+(e.hash||"")}const Er="__nuxt_error",Ae=()=>Yr(C().payload,"error"),D=e=>{const t=W(e);try{const r=C(),n=Ae();r.hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Go=async(e={})=>{const t=C(),r=Ae();t.callHook("app:error:cleared",e),e.redirect&&await x().replace(e.redirect),r.value=void 0},Sr=e=>!!e&&typeof e=="object"&&Er in e,W=e=>{const t=Do(e);return Object.defineProperty(t,Er,{value:!0,configurable:!1,writable:!1}),t};function Jo(e){return Uint8Array.fromBase64(e).buffer}function Yo(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Zo(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let o=0;o=u)throw new Error("Invalid input");l[h]=s(c[y+1])}}else{const u=new Array(c.length);n[a]=u;for(let l=0;l{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function xr(e,t,r,n){for(let o=r;oe[o](...t)):e[o](...t);if(s instanceof Promise)return s.then(()=>xr(e,t,o+1,n))}catch(s){return Promise.reject(s)}}function gs(e,t,r){if(e.length>0)return xr(e,t,0,Ar(r))}function ks(e,t,r){if(e.length>0){const n=Ar(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}}function je(e,t){for(const r of[...e])r(t)}var vs=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||typeof t!="function")return()=>{};const n=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!r.allowDeprecated){let s=o.message;s||(s=`${n} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,n=(...o)=>(typeof r=="function"&&r(),r=void 0,n=void 0,t(...o));return r=this.hook(e,n),r}removeHook(e,t){const r=this._hooks[e];if(r){const n=r.indexOf(t);n!==-1&&r.splice(n,1),r.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const r=this._hooks[e]||[];this._hooks[e]=void 0;for(const n of r)this.hook(e,n)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Ke(e),r=Object.keys(t).map(n=>this.hook(n,t[n]));return()=>{for(const n of r)n();r.length=0}}removeHooks(e){const t=Ke(e);for(const r in t)this.removeHook(r,t[r])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(gs,e,t)}callHookParallel(e,...t){return this.callHookWith(ks,e,t)}callHookWith(e,t,r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&je(this._before,n);const o=e(this._hooks[t]?[...this._hooks[t]]:[],r,t);return o instanceof Promise?o.finally(()=>{this._after&&n&&je(this._after,n)}):(this._after&&n&&je(this._after,n),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function _s(){return new vs}const ws=["name","property","http-equiv"],bs=new Set(["viewport","description","keywords","robots"]);function Tr(e){const t=e.split(":");return t.length?ms.has(t[1]):!1}function Ge(e){const{props:t,tag:r}=e;if(hs.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(r==="link"&&t.rel==="alternate"){const n=t.hreflang||t.type;if(n)return`alternate:${n}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const n of ws)if(t[n]!==void 0){const o=t[n],s=o&&typeof o=="string"&&o.includes(":"),a=o&&bs.has(o),c=!(s||a)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(r==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(ds.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function Rr(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function we(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());const o=t?t(r,e):e;if(Array.isArray(o))return o.map(s=>we(s,t));if(o?.constructor===Object){const s={};for(const a of Object.keys(o))s[a]=we(o[a],t,a);return s}return o}function Cs(e,t){const r=e==="style"?new Map:new Set;function n(o){if(o==null||o===void 0)return;const s=String(o).trim();if(s)if(e==="style"){const[a,...i]=s.split(":").map(c=>c?c.trim():"");a&&i.length&&r.set(a,i.join(":"))}else s.split(" ").filter(Boolean).forEach(a=>r.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,s])=>{s&&s!=="false"&&(e==="style"?r.set(String(o).trim(),String(s)):n(o))}),r}function Pr(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const r=Ve.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([n,o])=>{if(n==="__proto__"||n==="constructor"||n==="prototype")return;if(o===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Cs(n,o);return}if(ps.has(n)){if((n==="textContent"||n==="innerHTML")&&typeof o=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[n]=JSON.stringify(o)}else e[n]=o;return}const s=n.startsWith("data-"),a=r&&!s?n.toLowerCase():n,i=String(o),c=e.tag==="meta"&&a==="content";i==="true"||i===""?e.props[a]=s||c?i:!0:!o&&s&&i==="false"?e.props[a]="false":o!==void 0&&(e.props[a]=o)}),e}function Ms(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=Pr({tag:e,props:{}},r);return n.key&&us.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Es(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,s)=>{for(let a=0;a{if(s!==void 0)for(const a of Array.isArray(s)?s:[s])n.push(Ms(o,a))}),n.flat()}const Pt=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ot={base:-10,title:10},Ss={critical:-8,high:-1,low:2},Lt={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},As=/@import/,ee=e=>e===""||e===!0;function xs(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Ss[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Lt;if(t.tag in Ot)r=Ot[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(r=Lt.meta[s])}else if(t.tag==="link"&&t.props.rel)r=o.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);ee(t.props.async)?r=o.script.async:t.props.src&&!ee(t.props.defer)&&!ee(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?r=o.script.sync:(ee(t.props.defer)&&t.props.src&&!ee(t.props.async)||s==="module")&&(r=o.script.defer)}else t.tag==="style"&&(r=t.innerHTML&&As.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function jt(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Ts(e={}){const t=_s();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,s=new Set,a={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:i=>jt(a,i),push(i,c){const u={...c||{}};delete u.head;const l=u._index??a._entryCount++,y={_i:l,input:i,options:u},h={_poll(d=!1){a.dirty=!0,!d&&s.add(l),t.callHook("entries:updated",a)},dispose(){n.delete(l)&&a.invalidate()},patch(d){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(y.input=d,n.set(l,y),h._poll())}};return h.patch(i),h},async resolveTags(){const i={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",i);s.size;){const h=s.values().next().value;s.delete(h);const d=n.get(h);if(d){const f={tags:Es(d.input,e.propResolvers||[]).map(p=>Object.assign(p,d.options)),entry:d};await t.callHook("entries:normalize",f),d._tags=f.tags.map((p,m)=>(p._w=xs(a,p),p._p=(d._i<<10)+m,p._d=Ge(p),p._d||(p._h=Rr(p)),p))}}let c=!1;i.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Pt).reduce((h,d)=>{const f=d._d||d._h;if(!h.has(f))return h.set(f,d);const p=h.get(f);if((d?.tagDuplicateStrategy||(ys.has(d.tag)?"merge":null)||(d.key&&d.key===p.key?"merge":null))==="merge"){const g={...p.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...p.props.style||new Map,..._]):v==="class"?new Set([...p.props.class||new Set,..._]):_),h.set(f,{...d,props:g})}else d._p>>10===p._p>>10&&d.tag==="meta"&&Tr(f)?(h.set(f,Object.assign([...Array.isArray(p)?p:[p],d],d)),c=!0):(d._w===p._w?d._p>p._p:d?._wjt(a,i)),a.hooks.callHook("init",a),e.init?.forEach(i=>i&&a.push(i)),a}const Rs=(e,t)=>Zr(t)?Qr(t):t,dt="usehead";function Ps(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(dt,e)}}.install}function Os(){if(Ce()){const e=ne(dt);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Ls(e,t={}){const r=t.head||Os();return r.ssr?r.push(e||{},t):js(r,e,t)}function js(e,t,r={}){const n=$(!1);let o;return Xr(()=>{const a=n.value?{}:we(t,Rs);o?o.patch(a):o=e.push(a,r)}),et()&&(tt(()=>{o.dispose()}),en(()=>{n.value=!0}),tn(()=>{n.value=!1})),o}function $s(e){const t=e||C();return t.ssrContext?.head||t.runWithContext(()=>{if(Ce()){const r=ne(dt);if(!r)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return r}})}function Hs(e,t={}){const r=$s(t.nuxt);return Ls(e,{head:r,...t})}const Is=(function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"})(),Ns=function(e,t){return new URL(e,t).href},$t={},U=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(y=>Promise.resolve(y).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),c=i?.nonce||i?.getAttribute("nonce");o=u(r.map(l=>{if(l=Ns(l,n),l in $t)return;$t[l]=!0;const y=l.endsWith(".css"),h=y?'[rel="stylesheet"]':"";if(n)for(let f=a.length-1;f>=0;f--){const p=a[f];if(p.href===l&&(!y||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${h}`))return;const d=document.createElement("link");if(d.rel=y?"stylesheet":Is,y||(d.as="script"),d.crossOrigin="",d.href=l,c&&d.setAttribute("nonce",c),document.head.appendChild(d),y)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return o.then(a=>{for(const i of a||[])i.status==="rejected"&&s(i.reason);return t().catch(s)})};let pe,ye;function Us(){return pe=$fetch(lt(`builds/meta/${Z().app.buildId}.json`),{responseType:"json"}),pe.then(e=>{ye=Uo(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),pe}function xe(){return pe||Us()}async function ft(e){const t=typeof e=="string"?e:e.path;if(await xe(),!ye)return console.error("[nuxt] Error creating app manifest matcher.",ye),{};try{return Ee({},...ye.matchAll(t).reverse())}catch(r){return console.error("[nuxt] Error matching route rules.",r),{}}}async function Ht(e,t={}){if(!await Lr(e))return null;const n=await zs(e,t);return await Or(n)||null}const qs="_payload.json";async function zs(e,t={}){const r=new URL(e,"http://localhost");if(r.host!=="localhost"||O(r.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const n=Z(),o=t.hash||(t.fresh?Date.now():n.app.buildId),s=n.app.cdnURL,a=s&&await Lr(e)?s:n.app.baseURL;return H(a,r.pathname,qs+(o?`?${o}`:""))}async function Or(e){const t=fetch(e,{cache:"force-cache"}).then(r=>r.text().then(jr));try{return await t}catch(r){console.warn("[nuxt] Cannot load payload ",e,r)}return null}async function Lr(e=Mr().path){const t=C();return e=Y(e),(await xe()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const n=await ft({path:e});return!!n.prerender&&!n.redirect})}let z=null;async function Ds(){if(z)return z;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await jr(e.textContent||""),r=e.dataset.src?await Or(e.dataset.src):void 0;return z={...t,...r,...window.__NUXT__},z.config?.public&&(z.config.public=be(z.config.public)),z}async function jr(e){return await cs(e,C()._payloadRevivers)}function $r(e,t){C()._payloadRevivers[e]=t}const Bs=Ho(()=>{$r("skipHydrate",e=>{})}),Ws=[["NuxtError",e=>W(e)],["EmptyShallowRef",e=>J(e==="_"?void 0:e==="0n"?BigInt(0):oe(e))],["EmptyRef",e=>$(e==="_"?void 0:e==="0n"?BigInt(0):oe(e))],["ShallowRef",e=>J(e)],["ShallowReactive",e=>B(e)],["Ref",e=>$(e)],["Reactive",e=>be(e)]],Fs=S({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,r;for(const[n,o]of Ws)$r(n,o);Object.assign(e.payload,([t,r]=G(()=>e.runWithContext(Ds)),t=await t,r(),t)),delete window.__NUXT__}});async function ht(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const s=new Map,a=new Promise(d=>{e.resolveTags().then(f=>{d(f.map(p=>{const m=s.get(p._d)||0,g={tag:p,id:(m?`${p._d}:${m}`:p._d)||p._h,shouldRender:!0};return p._d&&Tr(p._d)&&s.set(p._d,m+1),g}))})});let i=e._dom;if(!i){i={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const d of["body","head"]){const f=r[d]?.children;for(const p of f){const m=p.tagName.toLowerCase();if(!Ve.has(m))continue;const g=Pr({tag:m,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((v,_)=>(v[_]=p.getAttribute(_),v),{})||{}});if(g.key=p.getAttribute("data-hid")||void 0,g._d=Ge(g)||Rr(g),i.elMap.has(g._d)){let v=1,_=g._d;for(;i.elMap.has(_);)_=`${g._d}:${v++}`;i.elMap.set(_,p)}else i.elMap.set(g._d,p)}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function c(d,f,p){const m=`${d}:${f}`;i.sideEffects[m]=p,delete i.pendingSideEffects[m]}function u({id:d,$el:f,tag:p}){const m=p.tag.endsWith("Attrs");i.elMap.set(d,f),m||(p.textContent&&p.textContent!==f.textContent&&(f.textContent=p.textContent),p.innerHTML&&p.innerHTML!==f.innerHTML&&(f.innerHTML=p.innerHTML),c(d,"el",()=>{f?.remove(),i.elMap.delete(d)}));for(const g in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,g))continue;const v=p.props[g];if(g.startsWith("on")&&typeof v=="function"){const b=f?.dataset;if(b&&b[`${g}fired`]){const w=g.slice(0,-5);v.call(f,new Event(w.substring(2)))}f.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?r.defaultView:f).addEventListener(g.substring(2),v.bind(f)),f.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const b of v)m&&c(d,`${_}:${b}`,()=>f.classList.remove(b)),!f.classList.contains(b)&&f.classList.add(b)}else if(g==="style"){if(!v)continue;for(const[b,w]of v)c(d,`${_}:${b}`,()=>{f.style.removeProperty(b)}),f.style.setProperty(b,w)}else v!==!1&&v!==null&&(f.getAttribute(g)!==v&&f.setAttribute(g,v===!0?"":String(v)),m&&c(d,_,()=>f.removeAttribute(g)))}}const l=[],y={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await a;for(const d of h){const{tag:f,shouldRender:p,id:m}=d;if(p){if(f.tag==="title"){r.title=f.textContent,c("title","",()=>r.title=i.title);continue}d.$el=d.$el||i.elMap.get(m),d.$el?u(d):Ve.has(f.tag)&&l.push(d)}}for(const d of l){const f=d.tag.tagPosition||"head";d.$el=r.createElement(d.tag.tag),u(d),y[f]=y[f]||r.createDocumentFragment(),y[f].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,r,c);y.head&&r.head.appendChild(y.head),y.bodyOpen&&r.body.insertBefore(y.bodyOpen,r.body.firstChild),y.bodyClose&&r.body.appendChild(y.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Vs(e={}){const t=e.domOptions?.render||ht;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ts({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Ks(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}function Gs(e={}){const t=Vs({domOptions:{render:Ks(()=>ht(t),r=>setTimeout(r,0))},...e});return t.install=Ps(t),t}const Js={disableDefaults:!0},Ys=S({name:"nuxt:head",enforce:"pre",setup(e){const t=Gs(Js);e.vueApp.use(t);{let r=!0;const n=async()=>{r=!1,await ht(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||n()}),e.hooks.hook("app:error",n),e.hooks.hook("app:suspense:resolve",n)}}}),Zs=/(:\w+)\([^)]+\)/g,Qs=/(:\w+)[?+*]/g,Xs=/:\w+/g,ea=(e,t)=>t.path.replace(Zs,"$1").replace(Qs,"$1").replace(Xs,r=>e.params[r.slice(1)]?.toString()||""),Je=(e,t)=>{const r=e.route.matched.find(o=>o.components?.default===e.Component.type),n=t??r?.meta.key??(r&&ea(e.route,r));return typeof n=="function"?n(e.route):n},ta=(e,t)=>({default:()=>e?A(rn,e===!0?{}:e,t):t});function pt(e){return Array.isArray(e)?e:[e]}const $e=[{name:"index",path:"/",component:()=>U(()=>import("./Dwci9OuQ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url)},{name:"documents",path:"/documents",component:()=>U(()=>import("./B57Nirc7.js"),__vite__mapDeps([10,2,3,1,4,7,6,5,8,11]),import.meta.url)},{name:"notfound",path:"/:notfound(.*)*",component:()=>U(()=>import("./iKp7kEfF.js"),__vite__mapDeps([12,1,8,6]),import.meta.url)},{name:"gruppy-slug",path:"/gruppy/:slug()",component:()=>U(()=>import("./BVapdQih.js"),__vite__mapDeps([13,2,3,1,4,7,6,5,14,8,15]),import.meta.url)},{name:"programmy-mama-i-malysh",path:"/programmy/mama-i-malysh",component:()=>U(()=>import("./DOnl8A48.js"),__vite__mapDeps([16,2,3,1,4,7,6,5,14,8,17]),import.meta.url)}],ra=(e,t)=>({default:()=>e?A(nn,e===!0?{}:e,t):t.default?.()}),na=/(:\w+)\([^)]+\)/g,oa=/(:\w+)[?+*]/g,sa=/:\w+/g;function It(e){const t=e?.meta.key??e.path.replace(na,"$1").replace(oa,"$1").replace(sa,r=>e.params[r.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function aa(e,t){return e===t||t===ge?!1:It(e)!==It(t)?!0:!e.matched.every((n,o)=>n.components&&n.components.default===t.matched[o]?.components?.default)}const ia={scrollBehavior(e,t,r){const n=C(),o=x().options?.scrollBehaviorType??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Hr(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const a=n._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(i=>{if(t===ge){i(Nt(e,t,r,o));return}n.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>i(Nt(e,t,r,o)))})})}};function Hr(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Nt(e,t,r,n){if(r)return r;const o=aa(e,t);return e.hash?{el:e.hash,top:Hr(e.hash),behavior:o?n:"instant"}:{left:0,top:0}}const ca={hashMode:!1,scrollBehaviorType:"auto"},I={...ca,...ia},la=async(e,t)=>{let r,n;if(!e.meta?.validate)return;const o=([r,n]=G(()=>Promise.resolve(e.meta.validate(e))),r=await r,n(),r);if(o===!0)return;const s=W({fatal:!0,statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s},ua=async e=>{let t,r;const n=([t,r]=G(()=>ft({path:e.path})),t=await t,r(),t);if(n.redirect)return O(n.redirect,{acceptRelative:!0})?(window.location.href=n.redirect,!1):n.redirect},da=[la,ua],Ye={};function fa(e,t,r){const{pathname:n,search:o,hash:s}=t,a=e.indexOf("#");if(a>-1){const u=s.includes(e.slice(a))?e.slice(a).length:1;let l=s.slice(u);return l[0]!=="/"&&(l="/"+l),_t(l,"")}const i=_t(n,e),c=!r||Jn(i,r)?i:r;return c+(c.includes("?")?"":o)+s}const ha=S({name:"nuxt:router",enforce:"pre",async setup(e){let t,r,n=Z().app.baseURL;const o=I.history?.(n)??gn(n),s=I.routes?([t,r]=G(()=>I.routes($e)),t=await t,r(),t??$e):$e;let a;const i=kn({...I,scrollBehavior:(m,g,v)=>{if(g===ge){a=v;return}if(I.scrollBehavior){if(i.options.scrollBehavior=I.scrollBehavior,"scrollRestoration"in window.history){const _=i.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return I.scrollBehavior(m,ge,a||v)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(i);const c=J(i.currentRoute.value);i.afterEach((m,g)=>{c.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=fa(n,window.location,e.payload.path),l=J(i.currentRoute.value),y=()=>{l.value=i.currentRoute.value};e.hook("page:finish",y),i.afterEach((m,g)=>{m.matched[m.matched.length-1]?.components?.default===g.matched[g.matched.length-1]?.components?.default&&y()});const h={};for(const m in l.value)Object.defineProperty(h,m,{get:()=>l.value[m],enumerable:!0});e._route=B(h),e._middleware||={global:[],named:{}};const d=Ae();i.afterEach(async(m,g,v)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(Go),v&&await e.callHook("page:loading:end")});try{[t,r]=G(()=>i.isReady()),await t,r()}catch(m){[t,r]=G(()=>e.runWithContext(()=>D(m))),await t,r()}const f=u!==i.currentRoute.value.fullPath?i.resolve(u):i.currentRoute.value;y();const p=e.payload.state._layout;return i.beforeEach(async(m,g)=>{await e.callHook("page:loading:start"),m.meta=be(m.meta),e.isHydrating&&p&&!on(m.meta.layout)&&(m.meta.layout=p),e._processingMiddleware=!0;{const v=new Set([...da,...e._middleware.global]);for(const _ of m.matched){const b=_.meta.middleware;if(b)for(const w of pt(b))v.add(w)}{const _=await e.runWithContext(()=>ft({path:m.path}));if(_.appMiddleware)for(const b in _.appMiddleware)_.appMiddleware[b]?v.add(b):v.delete(b)}for(const _ of v){const b=typeof _=="string"?e._middleware.named[_]||await Ye[_]?.().then(w=>w.default||w):_;if(!b)throw new Error(`Unknown route middleware: '${_}'.`);try{const w=await e.runWithContext(()=>b(m,g));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const L=w||W({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>D(L)),!1}if(w===!0)continue;if(w===!1)return w;if(w)return Sr(w)&&w.fatal&&await e.runWithContext(()=>D(w)),w}catch(w){const L=W(w);return L.fatal&&await e.runWithContext(()=>D(L)),L}}}}),i.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),i.afterEach(m=>{if(m.matched.length===0)return e.runWithContext(()=>D(W({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in f&&(f.name=void 0),await i.replace({...f,force:!0}),i.options.scrollBehavior=I.scrollBehavior}catch(m){await e.runWithContext(()=>D(m))}}),{provide:{router:i}}}}),Ze=globalThis.requestIdleCallback||(e=>{const t=Date.now(),r={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(r)},1)}),pa=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Te=e=>{const t=C();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ze(()=>e())}):Ze(()=>e())},ya=S({name:"nuxt:payload",setup(e){const t=new Set;x().beforeResolve(async(r,n)=>{if(r.path===n.path)return;const o=await Ht(r.path);if(o){for(const s of t)delete e.static.data[s];for(const s in o.data)s in e.static.data||t.add(s),e.static.data[s]=o.data[s]}}),Te(()=>{e.hooks.hook("link:prefetch",async r=>{const{hostname:n}=new URL(r,window.location.href);n===window.location.hostname&&await Ht(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(xe,1e3)})}}),ma=S(()=>{const e=x();Te(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),ga=S(e=>{let t;async function r(){let n;try{n=await xe()}catch(o){const s=o;if(!("status"in s&&(s.status===404||s.status===403)))throw s}t&&clearTimeout(t),t=setTimeout(r,At);try{const o=await $fetch(lt("builds/latest.json")+`?${Date.now()}`);o.id!==n?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}Te(()=>{t=setTimeout(r,At)})});function ka(e={}){const t=e.path||window.location.pathname;let r={};try{r=oe(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||r?.path!==t||r?.expires{n.clear()}),e.hook("app:chunkError",({error:s})=>{n.add(s)});function o(s){const a=H(r.app.baseURL,s.fullPath);ka({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,a)=>{n.has(s)&&o(a)})}});function Ut(e){return typeof e=="string"?`'${e}'`:new _a().serialize(e)}const _a=(function(){class e{#e=new Map;compare(r,n){const o=typeof r,s=typeof n;return o==="string"&&s==="string"?r.localeCompare(n):o==="number"&&s==="number"?r-n:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(n,!0))}serialize(r,n){if(r===null)return"null";switch(typeof r){case"string":return n?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const n=Object.prototype.toString.call(r);if(n!=="[object Object]")return this.serializeBuiltInType(n.length<10?`unknown:${n}`:n.slice(8,-1),r);const o=r.constructor,s=o===Object||o===void 0?"":o.name;if(s!==""&&globalThis[s]===o)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,n){const o=this["$"+r];if(o)return o.call(this,n);if(typeof n?.entries=="function")return this.serializeObjectEntries(r,n.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,n){const o=Array.from(n).sort((a,i)=>this.compare(a[0],i[0]));let s=`${r}{`;for(let a=0;athis.compare(n,o)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(r){return`${t}(${r})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(r){return`${t}[${r.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(r){return`${t}[${r.join("n,")}${r.length>0?"n":""}]`};return e})();function wa(e,t){return e===t||Ut(e)===Ut(t)}const ba=Symbol.for("nuxt:client-only"),Ca=q({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:r}){const n=J(!1);rt(()=>{n.value=!0});const o=et();return o&&(o._nuxtClientOnly=!0),nt(ba,!0),()=>{if(n.value){const c=t.default?.();return c&&c.length===1?[sn(c[0],r)]:c}const s=t.fallback||t.placeholder;if(s)return A(s);const a=e.fallback||e.placeholder||"",i=e.fallbackTag||e.placeholderTag||"span";return F(i,r,a)}}});function Ma(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const r={},n=t||{},o=n.decode||Ea;let s=0;for(;soe(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},ue=globalThis.cookieStore;function Cc(e,t){const r={...xa,...t};r.filter??=u=>u===e;const n=zt(r)||{};let o;r.maxAge!==void 0?o=r.maxAge*1e3:r.expires&&(o=r.expires.getTime()-Date.now());const s=o!==void 0&&o<=0,a=s||n[e]===void 0||n[e]===null,i=P(s?void 0:n[e]??r.default?.()),c=o&&!s?Pa(i,o,r.watch&&r.watch!=="shallow"):$(i);{let u=null;try{!ue&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const l=(f=!1)=>{!f&&(r.readonly||wa(c.value,n[e]))||(Ra(e,c.value,r),n[e]=P(c.value),u?.postMessage({value:r.encode(c.value)}))},y=f=>{const p=f.refresh?zt(r)?.[e]:r.decode(f.value);h=!0,c.value=p,n[e]=P(p),me(()=>{h=!1})};let h=!1;const d=!!Xe();if(d&&Ne(()=>{h=!0,l(),u?.close()}),ue){const f=p=>{const m=p.changed.find(v=>v.name===e),g=p.deleted.find(v=>v.name===e);m&&y({value:m.value}),g&&y({value:null})};ue.addEventListener("change",f),d&&Ne(()=>ue.removeEventListener("change",f))}else u&&(u.onmessage=({data:f})=>y(f));r.watch&&ot(c,()=>{h||l()},{deep:r.watch!=="shallow"}),a&&l(a)}return c}function zt(e={}){return Ma(document.cookie,e)}function Ta(e,t,r={}){return t==null?qt(e,t,{...r,maxAge:-1}):qt(e,t,r)}function Ra(e,t,r={}){document.cookie=Ta(e,t,r)}const Dt=2147483647;function Pa(e,t,r){let n,o,s=0;const a=r?$(e):{value:e};return Xe()&&Ne(()=>{o?.(),clearTimeout(n)}),an((i,c)=>{r&&(o=ot(a,c));function u(){s=0,clearTimeout(n);const l=t-s,y=l{if(s+=y,s4)return Promise.all(o).then(()=>Ir(e,t));t._routePreloaded.add(r);for(const s of n){const a=s.components?.default;if(typeof a!="function")continue;const i=Promise.resolve(a()).catch(()=>{}).finally(()=>o.splice(o.indexOf(i)));o.push(i)}await Promise.all(o)}const La=(...e)=>e.find(t=>t!==void 0);function ja(e){const t=e.componentName||"NuxtLink";function r(s){return typeof s=="string"&&s.startsWith("#")}function n(s,a,i){const c=i??e.trailingSlash;if(!s||c!=="append"&&c!=="remove")return s;if(typeof s=="string")return de(s,c);const u="path"in s&&s.path!==void 0?s.path:a(s).path;return{...s,name:void 0,path:de(u,c)}}function o(s){const a=x(),i=Z(),c=E(()=>!!s.target&&s.target!=="_self"),u=E(()=>{const m=s.to||s.href||"";return typeof m=="string"&&O(m,{acceptRelative:!0})}),l=gt("RouterLink"),y=typeof l!="string"?l.useLink:void 0,h=E(()=>{if(s.external)return!0;const m=s.to||s.href||"";return typeof m=="object"?!1:m===""||u.value}),d=E(()=>{const m=s.to||s.href||"";return h.value?m:n(m,a.resolve,s.trailingSlash)}),f=h.value?void 0:y?.({...s,to:d}),p=E(()=>{const m=s.trailingSlash??e.trailingSlash;if(!d.value||u.value||r(d.value))return d.value;if(h.value){const g=typeof d.value=="object"&&"path"in d.value?Fe(d.value):d.value,v=typeof g=="object"?a.resolve(g).href:g;return de(v,m)}return typeof d.value=="object"?a.resolve(d.value)?.href??null:de(H(i.app.baseURL,d.value),m)});return{to:d,hasTarget:c,isAbsoluteUrl:u,isExternal:h,href:p,isActive:f?.isActive??E(()=>d.value===a.currentRoute.value.path),isExactActive:f?.isExactActive??E(()=>d.value===a.currentRoute.value.path),route:f?.route??E(()=>a.resolve(d.value)),async navigate(m){await Ko(p.value,{replace:s.replace,external:h.value||c.value})}}}return q({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:o,setup(s,{slots:a}){const i=x(),{to:c,href:u,navigate:l,isExternal:y,hasTarget:h,isAbsoluteUrl:d}=o(s),f=J(!1),p=$(null),m=_=>{p.value=s.custom?_?.$el?.nextElementSibling:_?.$el};function g(_){return!f.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===_:s.prefetchOn?.[_]??e.prefetchOn?.[_])&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Ia()}async function v(_=C()){if(f.value)return;f.value=!0;const b=typeof c.value=="string"?c.value:y.value?Fe(c.value):i.resolve(c.value).fullPath,w=y.value?new URL(b,window.location.href).href:b;await Promise.all([_.hooks.callHook("link:prefetch",w).catch(()=>{}),!y.value&&!h.value&&Ir(c.value,i).catch(()=>{})])}if(g("visibility")){const _=C();let b,w=null;rt(()=>{const L=$a();Te(()=>{b=Ze(()=>{p?.value?.tagName&&(w=L.observe(p.value,async()=>{w?.(),w=null,await v(_)}))})})}),tt(()=>{b&&pa(b),w?.(),w=null})}return()=>{if(!y.value&&!h.value&&!r(c.value)){const w={ref:m,to:c.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(g("interaction")&&(w.onPointerenter=v.bind(null,void 0),w.onFocus=v.bind(null,void 0)),f.value&&(w.class=s.prefetchedClass||e.prefetchedClass),w.rel=s.rel||void 0),A(gt("RouterLink"),w,a.default)}const _=s.target||null,b=La(s.noRel?"":s.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return s.custom?a.default?a.default({href:u.value,navigate:l,prefetch:v,get route(){if(!u.value)return;const w=new URL(u.value,window.location.href);return{path:w.pathname,fullPath:w.pathname,get query(){return at(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:b,target:_,isExternal:y.value||h.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:p,href:u.value||null,rel:b,target:_,onClick:w=>{if(!(y.value||h.value))return w.preventDefault(),s.replace?i.replace(u.value):i.push(u.value)}},a.default?.())}}})}const Mc=ja(xo);function de(e,t){const r=t==="append"?fr:Y;return O(e)&&!e.startsWith("http")?e:r(e,!0)}function $a(){const e=C();if(e._observer)return e._observer;let t=null;const r=new Map,n=(s,a)=>(t||=new IntersectionObserver(i=>{for(const c of i){const u=r.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&u&&u()}}),r.set(s,a),t.observe(s),()=>{r.delete(s),t?.unobserve(s),r.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:n}}const Ha=/2g/;function Ia(){const e=navigator.connection;return!!(e&&(e.saveData||Ha.test(e.effectiveType)))}const Na=S({name:"pinia",setup(e){const t=_n();return e.vueApp.use(t),wn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),Ua=S({name:"nuxt:global-components"}),fe={},qa=S({name:"nuxt:prefetch",setup(e){const t=x();e.hooks.hook("app:mounted",()=>{t.beforeEach(async r=>{const n=r?.meta?.layout;n&&typeof fe[n]=="function"&&await fe[n]()})}),e.hooks.hook("link:prefetch",r=>{if(O(r))return;const n=t.resolve(r);if(!n)return;const o=n.meta.layout;let s=pt(n.meta.middleware);s=s.filter(a=>typeof a=="string");for(const a of s)typeof Ye[a]=="function"&&Ye[a]();typeof o=="string"&&o in fe&&Oa(fe[o])})}});function za(){return window.matchMedia?.("(max-width: 748px)")?.matches??window.innerWidth<=748}function Bt(e){return new Promise((t,r)=>{if(document.querySelector(`script[src="${e}"]`))return t();const n=document.createElement("script");n.src=e,n.async=!0,n.onload=()=>t(),n.onerror=()=>r(new Error(`Failed to load: ${e}`)),document.head.appendChild(n)})}let He=null,Wt=!1;async function Da(e=!0){if(za())return!1;if(He||(He=(async()=>{window.jQuery||await Bt("https://code.jquery.com/jquery-3.6.0.min.js"),await Bt("/bvi-plugin/bvi.js")})()),await He,e&&!Wt){const t=window;if(t.isvek?.Bvi){new t.isvek.Bvi({bvi:!0,bviFontSize:1.2,bviFontFamily:"Arial",bviLineHeight:1.5,bviTextAlign:"left",bviTextColor:"#000000",bviBackgroundColor:"#ffffff",bviLinkColor:"#0000ff",bviLinkHoverColor:"#ff0000"});const r=document.createElement("a");r.href="#",r.className="bvi-open",r.style.position="absolute",r.style.left="-9999px",document.body.appendChild(r),r.click(),setTimeout(()=>r.remove(),0),Wt=!0}else console.warn("[BVI] isvek.Bvi не найден, fallback: .bvi-active"),document.body.classList.add("bvi-active")}return!0}const Ba=S(()=>({provide:{bviLoader:Da}})),Ft="wgvo5enc",N="ct",Wa=S(()=>{const e=window;if(e[N])return;e.CalltouchDataObject=N,e[N]=function(){(e[N].callbacks=e[N].callbacks||[]).push(arguments)},e[N].callbacks=[],e[N].loaded=!1,e[N].counters=[Ft];const t=["pointerdown","keydown","touchstart","scroll"];let r=!1;const n=()=>{if(r)return;r=!0,t.forEach(i=>window.removeEventListener(i,n));const s=document.createElement("script");s.async=!0,s.src=`https://mod.calltouch.ru/init-min.js?id=${Ft}`;const a=document.getElementsByTagName("script")[0];a?.parentNode?a.parentNode.insertBefore(s,a):document.head.appendChild(s)};t.forEach(s=>window.addEventListener(s,n,{once:!0,passive:!0}));const o=()=>setTimeout(n,2e3);document.readyState==="complete"?o():window.addEventListener("load",o,{once:!0})}),Fa=S(()=>({provide:{constants:{yandex_metrika_id:102155161,yandex_maps_api_key:"1f4f5a22-ac82-4851-9e07-98b180a7d83b",top_mail_id:null,lead_notification_endpoint:"https://functions.yandexcloud.net/d4e4lbdavl078eclofa5",landing_name:"kindergarten Moscow",company_name:"ООО «Фанскул»",phone_number:"+79859988015",phone_text:"+7 (985) 998-80-15",telegram_link:"https://t.me/funscool_moscow",max_link:"https://max.ru/u/f9LHodD0cOJdgnsI9e1sPp-aOB3KjgOqsdQDHamYbWBhjYygTLpldobFUi4",mail:"Moscow@FunsCool.ru",agreement:"https://storage.yandexcloud.net/funscool-pdfs/OOO_agreement.pdf",policy:"https://storage.yandexcloud.net/funscool-pdfs/OOO_policy.pdf",license_number:"",groups:["Бэби-фан","Энерджи-фан","Дискавери-фан","Креатив-фан","Подготовка к школе"]}}})),Nr="funscool:lead-attribution:v1",Va=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","utm_referrer","yclid","ymclid","gclid","fbclid","msclkid","ttclid","roistat","roistat_visit","_openstat"],se=()=>typeof window<"u",V=e=>{if(!se())return"";const t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=document.cookie.match(new RegExp(`(?:^|; )${t}=([^;]*)`));return r?decodeURIComponent(r[1]):""},yt=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t)),Ka=()=>{if(!se())return{};try{const e=window.localStorage.getItem(Nr);if(!e)return{};const t=JSON.parse(e);return Object.fromEntries(Object.entries(t).filter(([,r])=>typeof r=="string"))}catch{return{}}},Ga=e=>{if(se())try{window.localStorage.setItem(Nr,JSON.stringify(e))}catch{}},Ur=e=>{const t={};Va.forEach(n=>{t[n]=e.searchParams.get(n)||""});const r=Object.fromEntries(Array.from(e.searchParams.entries()).filter(([,n])=>!!n));return Object.keys(r).length>0&&(t.query_params=JSON.stringify(r)),yt(t)},qr=()=>yt({ym_uid:V("_ym_uid"),ym_d:V("_ym_d"),ga:V("_ga"),gid:V("_gid"),fbp:V("_fbp"),fbc:V("_fbc")}),Qe=()=>{if(!se())return{};const e=new URL(window.location.href),t=Ka(),r=Ur(e),n=qr(),o={...t,...r,...n};return o.first_page_url||(o.first_page_url=e.href),o.first_page_path||(o.first_page_path=`${e.pathname}${e.search}${e.hash}`),!o.first_referrer&&document.referrer&&(o.first_referrer=document.referrer),o.last_page_url=e.href,o.last_page_path=`${e.pathname}${e.search}${e.hash}`,document.referrer&&(o.last_referrer=document.referrer),Ga(o),o},Ja=(e={})=>{if(!se())return{...e};const t=new URL(window.location.href),r=Qe();return yt({...r,...Ur(t),...qr(),page_url:t.href,page_path:`${t.pathname}${t.search}${t.hash}`,page_title:document.title||"",referrer:document.referrer||r.last_referrer||r.first_referrer||"",user_agent:window.navigator.userAgent||"",viewport:`${window.innerWidth}x${window.innerHeight}`,screen:`${window.screen?.width??""}x${window.screen?.height??""}`,event_time:new Date().toISOString(),...e})},Ya="https://functions.yandexcloud.net/d4e4lbdavl078eclofa5",Za=async(e,t={})=>{const r=t.endpoint||Ya,n=JSON.stringify(e);if(t.transport==="beacon"&&typeof navigator<"u"&&typeof navigator.sendBeacon=="function"){const o=new Blob([n],{type:"application/json"});if(navigator.sendBeacon(r,o))return{ok:!0,transport:"beacon"}}return fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:n,keepalive:t.transport==="beacon"})},Qa=1200,Xa=e=>e.trim().toLowerCase(),ei=e=>{const t=Xa(e);return t.startsWith("tel:")?"phone":t.includes("wa.me/")||t.includes("api.whatsapp.com/")?"whatsapp":t.includes("t.me/")||t.startsWith("tg://")?"telegram":t.includes("max.ru/")?"max":null},ti=S(e=>{const t=e.$constants||{};let r="",n=0;const o=s=>{const i=s.target?.closest?.("a[href]"),c=i?.getAttribute("href")?.trim();if(!i||!c)return;const u=ei(c);if(!u)return;const l=`${u}|${c}|${window.location.pathname}`,y=Date.now();if(l===r&&y-n{console.debug("[Lead notification] contact click send failed",f)})};document.addEventListener("click",o,!0)}),ri=S(e=>{Qe(),e.$router.afterEach(()=>Qe())});var ni=Object.defineProperty,oi=(e,t,r)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,re=(e,t,r)=>oi(e,typeof t!="symbol"?t+"":t,r);const Vt={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}},Kt=(e,t,r)=>e.replaceAll(t,"").replace(r,".").replace("..",".").replace(/[^.\d]/g,""),Gt=(e,t,r)=>{var n;return new Intl.NumberFormat(((n=r.number)==null?void 0:n.locale)??"en",{minimumFractionDigits:e,maximumFractionDigits:t,roundingMode:"trunc"})},si=(e,t=!0,r)=>{var n,o,s,a;const i=((n=r.number)==null?void 0:n.unsigned)!==!0&&e.startsWith("-")?"-":"",c=((o=r.number)==null?void 0:o.fraction)??0;let u=Gt(0,c,r);const l=u.formatToParts(1000.12),y=((s=l.find(m=>m.type==="group"))==null?void 0:s.value)??" ",h=((a=l.find(m=>m.type==="decimal"))==null?void 0:a.value)??".",d=Kt(e,y,h);if(Number.isNaN(parseFloat(d)))return i;const f=d.split(".");if(f[1]!=null&&f[1].length>=1){const m=f[1].length<=c?f[1].length:c;u=Gt(m,c,r)}let p=u.format(parseFloat(d));return t?c>0&&d.endsWith(".")&&!d.slice(0,-1).includes(".")&&(p+=h):p=Kt(p,y,h),i+p},zr=e=>JSON.parse(e.replaceAll("'",'"')),ai=(e,t={})=>{const r={...t};e.dataset.maska!=null&&e.dataset.maska!==""&&(r.mask=ii(e.dataset.maska)),e.dataset.maskaEager!=null&&(r.eager=he(e.dataset.maskaEager)),e.dataset.maskaReversed!=null&&(r.reversed=he(e.dataset.maskaReversed)),e.dataset.maskaTokensReplace!=null&&(r.tokensReplace=he(e.dataset.maskaTokensReplace)),e.dataset.maskaTokens!=null&&(r.tokens=ci(e.dataset.maskaTokens));const n={};return e.dataset.maskaNumberLocale!=null&&(n.locale=e.dataset.maskaNumberLocale),e.dataset.maskaNumberFraction!=null&&(n.fraction=parseInt(e.dataset.maskaNumberFraction)),e.dataset.maskaNumberUnsigned!=null&&(n.unsigned=he(e.dataset.maskaNumberUnsigned)),(e.dataset.maskaNumber!=null||Object.values(n).length>0)&&(r.number=n),r},he=e=>e!==""?!!JSON.parse(e):!0,ii=e=>e.startsWith("[")&&e.endsWith("]")?zr(e):e,ci=e=>{if(e.startsWith("{")&&e.endsWith("}"))return zr(e);const t={};return e.split("|").forEach(r=>{const n=r.split(":");t[n[0]]={pattern:Dr()?new RegExp(n[1],"u"):new RegExp(n[1]),optional:n[2]==="optional",multiple:n[2]==="multiple",repeated:n[2]==="repeated"}}),t},Dr=()=>{try{return new RegExp("\\p{L}","u"),!0}catch{return!1}};class li{constructor(t={}){re(this,"opts",{}),re(this,"memo",new Map);const r={...t};if(r.tokens!=null){r.tokens=r.tokensReplace?{...r.tokens}:{...Vt,...r.tokens};for(const n of Object.values(r.tokens))typeof n.pattern=="string"&&(n.pattern=Dr()?new RegExp(n.pattern,"u"):new RegExp(n.pattern))}else r.tokens=Vt;Array.isArray(r.mask)&&(r.mask.length>1?r.mask=[...r.mask].sort((n,o)=>n.length-o.length):r.mask=r.mask[0]??""),r.mask===""&&(r.mask=null),this.opts=r}masked(t){return this.process(String(t),this.findMask(String(t)))}unmasked(t){return this.process(String(t),this.findMask(String(t)),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(t){const r=this.findMask(String(t));if(this.opts.mask==null||r==null)return!1;const n=this.process(String(t),r).length;return typeof this.opts.mask=="string"?n>=this.opts.mask.length:n>=r.length}findMask(t){const r=this.opts.mask;if(r==null)return null;if(typeof r=="string")return r;if(typeof r=="function")return r(t);const n=this.process(t,r.slice(-1).pop()??"",!1);return r.find(o=>this.process(t,o,!1).length>=n.length)??""}escapeMask(t){const r=[],n=[];return t.split("").forEach((o,s)=>{o==="!"&&t[s-1]!=="!"?n.push(s-n.length):r.push(o)}),{mask:r.join(""),escaped:n}}process(t,r,n=!0){if(this.opts.number!=null)return si(t,n,this.opts);if(r==null)return t;const o=`v=${t},mr=${r},m=${n?1:0}`;if(this.memo.has(o))return this.memo.get(o);const{mask:s,escaped:a}=this.escapeMask(r),i=[],c=this.opts.tokens!=null?this.opts.tokens:{},u=this.isReversed()?-1:1,l=this.isReversed()?"unshift":"push",y=this.isReversed()?0:s.length-1,h=this.isReversed()?()=>m>-1&&g>-1:()=>m!this.isReversed()&&_<=y||this.isReversed()&&_>=y;let f,p=-1,m=this.isReversed()?s.length-1:0,g=this.isReversed()?t.length-1:0,v=!1;for(;h();){const _=s.charAt(m),b=c[_],w=b?.transform!=null?b.transform(t.charAt(g)):t.charAt(g);if(!a.includes(m)&&b!=null?(w.match(b.pattern)!=null?(i[l](w),b.repeated?(p===-1?p=m:m===y&&m!==p&&(m=p-u),y===p&&(m-=u)):b.multiple&&(v=!0,m-=u),m+=u):b.multiple?v&&(m+=u,g-=u,v=!1):w===f?f=void 0:b.optional&&(m+=u,g-=u),g+=u):(n&&!this.isEager()&&i[l](_),w===_&&!this.isEager()?g+=u:f=_,this.isEager()||(m+=u)),this.isEager())for(;d(m)&&(c[s.charAt(m)]==null||a.includes(m));){if(n){if(i[l](s.charAt(m)),t.charAt(g)===s.charAt(m)){m+=u,g+=u;continue}}else s.charAt(m)===t.charAt(g)&&(g+=u);m+=u}}return this.memo.set(o,i.join("")),this.memo.get(o)}}class Br{constructor(t,r={}){re(this,"items",new Map),re(this,"eventAbortController"),re(this,"onInput",n=>{if(n instanceof CustomEvent&&n.type==="input"&&!n.isTrusted&&!n.bubbles)return;const o=n.target,s=this.items.get(o);if(s===void 0)return;const a="inputType"in n&&n.inputType.startsWith("delete"),i=s.isEager(),c=a&&i&&s.unmasked(o.value)===""?"":o.value;this.fixCursor(o,a,()=>this.setValue(o,c))}),this.options=r,this.eventAbortController=new AbortController,this.init(this.getInputs(t))}update(t={}){this.options={...t},this.init(Array.from(this.items.keys()))}updateValue(t){var r;t.value!==""&&t.value!==((r=this.processInput(t))==null?void 0:r.masked)&&this.setValue(t,t.value)}destroy(){this.eventAbortController.abort(),this.items.clear()}init(t){const r=this.getOptions(this.options);for(const n of t){if(!this.items.has(n)){const{signal:s}=this.eventAbortController;n.addEventListener("input",this.onInput,{capture:!0,signal:s})}const o=new li(ai(n,r));this.items.set(n,o),queueMicrotask(()=>this.updateValue(n)),n.selectionStart===null&&o.isEager()&&console.warn("Maska: input of `%s` type is not supported",n.type)}}getInputs(t){return typeof t=="string"?Array.from(document.querySelectorAll(t)):"length"in t?Array.from(t):[t]}getOptions(t){const{onMaska:r,preProcess:n,postProcess:o,...s}=t;return s}fixCursor(t,r,n){var o,s;const a=t.selectionStart,i=t.value;if(n(),a===null||a===i.length&&!r)return;const c=t.value,u=i.slice(0,a),l=c.slice(0,a),y=(o=this.processInput(t,u))==null?void 0:o.unmasked,h=(s=this.processInput(t,l))==null?void 0:s.unmasked;if(y===void 0||h===void 0)return;let d=a;u!==l&&(d+=r?c.length-i.length:y.length-h.length),t.setSelectionRange(d,d)}setValue(t,r){const n=this.processInput(t,r);n!==void 0&&(t.value=n.masked,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(o=>o(n)):this.options.onMaska(n)),t.dispatchEvent(new CustomEvent("maska",{detail:n})),t.dispatchEvent(new CustomEvent("input",{detail:n.masked})))}processInput(t,r){const n=this.items.get(t);if(n===void 0)return;let o=r??t.value;this.options.preProcess!=null&&(o=this.options.preProcess(o));let s=n.masked(o);return this.options.postProcess!=null&&(s=this.options.postProcess(s)),{masked:s,unmasked:n.unmasked(o),completed:n.completed(o)}}}const ui={mask:e=>e.startsWith("7")||e.startsWith("+7")||e.startsWith("9")?"+7 (###) ###-##-##":"+################",preProcess:e=>e.startsWith("8")?"7"+e.substring(1):e.startsWith("+8")?"7"+e.substring(2):e.startsWith("+9")?"79"+e.substring(2):e};function Jt(e,t){t&&(e?.destroy(),e=new Br(t,ui),t.dataset.maskApplied="true",t.dispatchEvent(new Event("input")))}const Yt=null,di={mounted:(e,t)=>{t.value&&Jt(Yt,e)},updated:(e,t)=>{t.value&&Jt(Yt,e)}},fi=S(e=>{e.vueApp.directive("mask-phone",di)}),Ie=new WeakMap,hi=(e,t)=>{if(e.arg==null||e.instance==null)return;const r="setup"in e.instance.$.type;e.arg in e.instance?e.instance[e.arg]=t:r&&console.warn("Maska: please expose `%s` using defineExpose",e.arg)},pi=(e,t)=>{var r;const n=e instanceof HTMLInputElement?e:e.querySelector("input");if(n==null||n?.type==="file")return;let o={};if(t.value!=null&&(o=typeof t.value=="string"?{mask:t.value}:{...t.value}),t.arg!=null){const s=a=>{const i=t.modifiers.unmasked?a.unmasked:t.modifiers.completed?a.completed:a.masked;hi(t,i)};o.onMaska=o.onMaska==null?s:Array.isArray(o.onMaska)?[...o.onMaska,s]:[o.onMaska,s]}Ie.has(n)?(r=Ie.get(n))==null||r.update(o):Ie.set(n,new Br(n,o))},yi=S(e=>{e.vueApp.directive("maska",pi)}),mi=S(e=>{const t=e.$constants?.top_mail_id;if(!t)return;const r=window;if(r._tmr=r._tmr||[],r._tmr.push({id:String(t),type:"pageView",start:Date.now()}),document.getElementById("tmr-code"))return;const n=document.createElement("script");n.type="text/javascript",n.async=!0,n.id="tmr-code",n.src="https://top-fwz1.mail.ru/js/code.js";const o=()=>{const s=document.getElementsByTagName("script")[0];if(s?.parentNode){s.parentNode.insertBefore(n,s);return}document.head.appendChild(n)};String(r.opera)==="[object Opera]"?document.addEventListener("DOMContentLoaded",o,{once:!0}):o()}),gi=S(e=>{let t=null;return{provide:{loadYandexMaps:()=>typeof window>"u"||window.ymaps3?Promise.resolve():t||(t=new Promise((n,o)=>{const s=document.querySelector("script[data-yandex-maps]");if(s){s.addEventListener("load",()=>n()),s.addEventListener("error",c=>o(c));return}const a=document.createElement("script"),i=e.$constants?.yandex_maps_api_key;a.src=`https://api-maps.yandex.ru/v3/?apikey=${i}&lang=ru_RU`,a.defer=!0,a.dataset.yandexMaps="true",a.onload=()=>{console.info("[Yandex Maps] Скрипт успешно загружен."),window.ymaps3&&e.provide("ymaps3",window.ymaps3),n()},a.onerror=c=>{console.error("[Yandex Maps] Ошибка загрузки скрипта:",c),o(new Error("Не удалось загрузить Yandex Maps API"))},document.head.appendChild(a)}),t)}}}),ki=S(e=>{const t=e.$constants?.yandex_metrika_id??0;if(e.provide("YID",t),!t){e.provide("yaMetrika",()=>{});return}{if(!window.ym){window.ym=function(){(window.ym.a=window.ym.a||[]).push(arguments)},window.ym.l=1*new Date;const r=["pointerdown","keydown","touchstart","scroll"];let n=!1;const o=()=>{if(n)return;n=!0,r.forEach(i=>window.removeEventListener(i,o));const a=document.createElement("script");a.async=!0,a.src="https://mc.yandex.ru/metrika/tag.js",document.head.appendChild(a)};r.forEach(a=>window.addEventListener(a,o,{once:!0,passive:!0}));const s=()=>setTimeout(o,3500);document.readyState==="complete"?s():window.addEventListener("load",s,{once:!0})}window.ym(t,"init",{useCookie:!1,accurateTrackBounce:!0,webvisor:!0,trackLinks:!0,clickmap:!0}),e.provide("yaMetrika",r=>{typeof window<"u"&&typeof window.ym=="function"?(window.ym(t,"reachGoal",r),console.log("reachGoal",r)):console.warn(`[Yandex Metrika] Цель "${r}" не отправлена: ym не определён.`)})}}),vi=[Bs,Fs,Ys,ha,ya,ma,ga,va,Na,Ua,qa,Ba,Wa,Fa,ti,ri,fi,yi,mi,gi,ki],Wr=(e="RouteProvider")=>q({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const r=t.renderKey,n=t.route,o={};for(const s in t.route)Object.defineProperty(o,s,{get:()=>r===t.renderKey?t.route[s]:n[s],enumerable:!0});return nt(Se,B(o)),()=>t.vnode?A(t.vnode,{ref:t.vnodeRef}):t.vnode}}),_i=Wr(),Zt=new WeakMap,wi=q({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:r,expose:n}){const o=C(),s=$(),a=ne(Se,null);let i;n({pageRef:s});const c=ne(Fo,null);let u;const l=o.deferHydration();if(o.isHydrating){const h=o.hooks.hookOnce("app:error",l);x().beforeEach(h)}e.pageKey&&ot(()=>e.pageKey,(h,d)=>{h!==d&&o.callHook("page:loading:start")});let y=!1;{const h=x().beforeResolve(()=>{y=!1});tt(()=>{h()})}return()=>A(vn,{name:e.name,route:e.route,...t},{default:h=>{const d=Ci(a,h.route,h.Component),f=a&&a.matched.length===h.route.matched.length;if(!h.Component){if(u&&!f)return u;l();return}if(u&&c&&!c.isCurrent(h.route))return u;if(d&&a&&(!c||c?.isCurrent(a)))return f?u:null;const p=Je(h,e.pageKey),m=Mi(a,h.route,h.Component);!o.isHydrating&&i===p&&!m&&me(()=>{y=!0,o.callHook("page:loading:end")}),i=p;const g=!!(e.transition??h.route.meta.pageTransition??Et),v=g&&bi([e.transition,h.route.meta.pageTransition,Et,{onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",h.Component)}}]),_=e.keepalive??h.route.meta.keepalive??Ao;return u=ra(g&&v,ta(_,A(sr,{suspensible:!0,onPending:()=>{g&&(o._runningTransition=!0),o.callHook("page:start",h.Component)},onResolve:()=>{me(()=>o.callHook("page:finish",h.Component).then(()=>{if(delete o._runningTransition,!y&&!m)return y=!0,o.callHook("page:loading:end")}).finally(l))}},{default:()=>{const b={key:p||void 0,vnode:r.default?Ei(r.default,h):h.Component,route:h.route,renderKey:p||void 0,trackRootNodes:g,vnodeRef:s};if(!_)return A(_i,b);const w=h.Component.type,L=w;let ae=Zt.get(L);return ae||(ae=Wr(w.name||w.__name),Zt.set(L,ae)),A(ae,b)}}))).default(),u}})}});function bi(e){const t=[];for(const r of e)r&&t.push({...r,onAfterLeave:r.onAfterLeave?pt(r.onAfterLeave):void 0});return Ee(...t)}function Ci(e,t,r){if(!e)return!1;const n=t.matched.findIndex(o=>o.components?.default===r?.type);return!n||n===-1?!1:t.matched.slice(0,n).some((o,s)=>o.components?.default!==e.matched[s]?.components?.default)||r&&Je({route:t,Component:r})!==Je({route:e,Component:r})}function Mi(e,t,r){return e?t.matched.findIndex(o=>o.components?.default===r?.type)U(()=>import("./DH_pNBtI.js"),__vite__mapDeps([18,1,7,6,8,19]),import.meta.url),suspensible:!1}),o=Re({loader:()=>U(()=>import("./BZOnR6f8.js"),__vite__mapDeps([20,3,1,8,6,21]),import.meta.url),suspensible:!1}),s=Re({loader:()=>U(()=>import("./DeMUTE8t.js"),__vite__mapDeps([22,1,7,6,5,3,8,23]),import.meta.url),suspensible:!1});return(a,i)=>{const c=wi,u=Ca;return R(),F("div",Si,[(R(),F("svg",Ai,[...i[0]||(i[0]=[cn('',1)])])),Q(c),T("noscript",null,[T("div",null,[T("img",{src:`https://mc.yandex.ru/watch/${M(r)}`,style:{position:"absolute",left:"-9999px"},alt:"",loading:"lazy"},null,8,xi)])]),Q(u,null,{default:ir(()=>[Q(M(n)),Q(M(o)),Q(M(s))]),_:1})])}}}),Ri=ut("/img/brand-book/Logo-brand.svg"),Pi={class:"err"},Oi={class:"err__code"},Li={class:"err__title"},ji={class:"err__text"},$i={class:"err__actions"},Hi=["href"],Ii={class:"err__links","aria-label":"Разделы сайта"},Ni=["href"],Ui=q({__name:"NotFoundView",props:{statusCode:{default:404}},setup(e,{expose:t}){const r=e,{$constants:n}=C(),o=E(()=>n.phone_number||""),s=E(()=>n.phone_text||""),a=E(()=>r.statusCode),i=E(()=>a.value===404),c=E(()=>i.value?"Такой страницы нет":"Что-то пошло не так"),u=E(()=>i.value?"Возможно, адрес набран с опечаткой или страница переехала: сайт недавно обновился. Вот куда можно перейти.":"Страница временно недоступна. Попробуйте обновить или позвоните нам — подскажем."),l=[{label:"Возрастные группы",href:"/#age-groups"},{label:"Филиалы",href:"/#locations"},{label:"Как проходит день",href:"/#daily-rhythm"},{label:"Сведения о детских садах",href:"/documents/"},{label:"Контакты",href:"/#contacts"}];return t({title:c}),(y,h)=>(R(),F("main",Pi,[h[1]||(h[1]=T("a",{class:"err__logo",href:"/","aria-label":"Фанскул"},[T("img",{src:Ri,width:"182",height:"38",alt:"Фанскул"})],-1)),T("p",Oi,X(M(a)),1),T("h1",Li,X(M(c)),1),T("p",ji,X(M(u)),1),T("div",$i,[h[0]||(h[0]=T("a",{class:"err__btn",href:"/"},"На главную",-1)),T("a",{class:"err__btn err__btn--ghost",href:`tel:${M(o)}`},X(M(s)),9,Hi)]),T("nav",Ii,[(R(),F(ar,null,ln(l,d=>T("a",{key:d.href,href:d.href},X(d.label),9,Ni)),64))])]))}}),qi=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},zi=Object.assign(qi(Ui,[["__scopeId","data-v-8f633b33"]]),{__name:"NotFoundView"}),Di=q({__name:"error",props:{error:{}},setup(e){const t=e,r=E(()=>t.error?.statusCode??404);return Hs({title:"Такой страницы нет — Фанскул",htmlAttrs:{lang:"ru"},meta:[{name:"robots",content:"noindex"}]}),(n,o)=>{const s=zi;return R(),K(s,{"status-code":M(r)},null,8,["status-code"])}}}),Bi={key:0},Qt={__name:"nuxt-root",setup(e){const t=()=>null,r=C(),n=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",n);x().beforeEach(u)}const o=!1;nt(Se,Mr()),r.hooks.callHookWith(u=>u.map(l=>l()),"vue:setup");const s=Ae(),a=!1,i=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;un((u,l,y)=>{if(r.hooks.callHook("vue:error",u,l,y).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),i.test(navigator.userAgent))return r.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Sr(u)&&(u.fatal||u.unhandled))return r.runWithContext(()=>D(u)),!1});const c=!1;return(u,l)=>(R(),K(sr,{onResolve:M(n)},{default:ir(()=>[M(a)?(R(),F("div",Bi)):M(s)?(R(),K(M(Di),{key:1,error:M(s)},null,8,["error"])):M(c)?(R(),K(M(t),{key:2,context:M(c)},null,8,["context"])):M(o)?(R(),K(dn(M(o)),{key:3})):(R(),K(M(Ti),{key:4}))]),_:1},8,["onResolve"]))}};let Xt;{let e;Xt=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),n=r?fn(Qt):hn(Qt),o=Oo({vueApp:n});async function s(a){await o.callHook("app:error",a),o.payload.error||=W(a)}n.config.errorHandler=s,o.hook("app:suspense:resolve",()=>{n.config.errorHandler===s&&(n.config.errorHandler=void 0)}),!r&&St.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(St.id)?.remove()});try{await $o(o,vi)}catch(a){s(a)}try{await o.hooks.callHook("app:created",n),await o.hooks.callHook("app:beforeMount",n),n.mount(To),await o.hooks.callHook("app:mounted",n),await me()}catch(a){s(a)}return n},e=Xt().catch(t=>{throw console.error("Error while mounting app:",t),t})}const Wi=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const er=e=>e==="";const Fi=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();const tr=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Vi=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase());const Ki=e=>{const t=Vi(e);return t.charAt(0).toUpperCase()+t.slice(1)};var te={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Gi=({name:e,iconNode:t,absoluteStrokeWidth:r,"absolute-stroke-width":n,strokeWidth:o,"stroke-width":s,size:a=te.width,color:i=te.stroke,...c},{slots:u})=>A("svg",{...te,...c,width:a,height:a,stroke:i,"stroke-width":er(r)||er(n)||r===!0||n===!0?Number(o||s||te["stroke-width"])*24/Number(a):o||s||te["stroke-width"],class:Fi("lucide",c.class,...e?[`lucide-${tr(Ki(e))}-icon`,`lucide-${tr(e)}`]:["lucide-icon"]),...!u.default&&!Wi(c)&&{"aria-hidden":"true"}},[...t.map(l=>A(...l)),...u.default?[u.default()]:[]]);const k=(e,t)=>(r,{slots:n,attrs:o})=>A(Gi,{...o,...r,iconNode:t,name:e},n);const Ec=k("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);const Sc=k("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);const Ac=k("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const xc=k("baby",[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]]);const Tc=k("blocks",[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]);const Rc=k("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const Pc=k("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);const Oc=k("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);const Lc=k("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);const jc=k("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);const $c=k("calendar-heart",[["path",{d:"M12.127 22H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.125",key:"vxdnp4"}],["path",{d:"M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"15cy7q"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]);const Hc=k("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const Ic=k("car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);const Nc=k("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const Uc=k("chef-hat",[["path",{d:"M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z",key:"1qvrer"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);const qc=k("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const zc=k("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const Dc=k("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const Bc=k("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const Wc=k("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);const Fc=k("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);const Vc=k("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);const Kc=k("coins",[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]);const Gc=k("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);const Jc=k("croissant",[["path",{d:"M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487",key:"14kkz9"}],["path",{d:"M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132",key:"1g7v07"}],["path",{d:"M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42",key:"ratg6b"}],["path",{d:"M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14",key:"4454f0"}],["path",{d:"M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676",key:"qmemie"}]]);const Yc=k("drama",[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]]);const Zc=k("droplet",[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]]);const Qc=k("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const Xc=k("file-badge",[["path",{d:"M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3",key:"cvl1xm"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88",key:"1ff7gj"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}]]);const el=k("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const tl=k("gift",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]]);const rl=k("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const nl=k("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);const ol=k("hand-heart",[["path",{d:"M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1v1a37"}],["path",{d:"m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95",key:"fhfbnt"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91",key:"1x6kdw"}]]);const sl=k("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);const al=k("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);const il=k("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);const cl=k("landmark",[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]]);const ll=k("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);const ul=k("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);const dl=k("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);const fl=k("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);const hl=k("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);const pl=k("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const yl=k("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);const ml=k("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);const gl=k("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);const kl=k("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);const vl=k("party-popper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]);const _l=k("pen-tool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);const wl=k("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);const bl=k("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);const Cl=k("rabbit",[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]]);const Ml=k("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);const El=k("shapes",[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]]);const Sl=k("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const Al=k("smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);const xl=k("snowflake",[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]]);const Tl=k("soup",[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]]);const Rl=k("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);const Pl=k("sprout",[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]]);const Ol=k("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const Ll=k("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const jl=k("trees",[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]]);const $l=k("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);const Hl=k("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);const Il=k("users-round",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);const Nl=k("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);const Ul=k("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);async function Ji(e,t){return await Yi(t).catch(n=>(console.error("Failed to get image meta for "+t,n+""),{width:0,height:0,ratio:0}))}async function Yi(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,r)=>{const n=new Image;n.onload=()=>{const o={width:n.width,height:n.height,ratio:n.width/n.height};t(o)},n.onerror=o=>r(o),n.src=e})}function rr(e){return t=>t?e[t]||t:e.missingValue}function Zi({formatter:e,keyMap:t,joinWith:r="/",valueMap:n}={}){e||(e=(s,a)=>`${s}=${a}`),t&&typeof t!="function"&&(t=rr(t));const o=n||{};return Object.keys(o).forEach(s=>{typeof o[s]!="function"&&(o[s]=rr(o[s]))}),(s={})=>Object.entries(s).filter(([i,c])=>typeof c<"u").map(([i,c])=>{const u=o[i];return typeof u=="function"&&(c=u(s[i])),i=typeof t=="function"?t(i):i,e(i,c)}).join(r)}function j(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function Qi(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const r of e.split(" ")){const n=Number.parseInt(r.replace("x",""));n&&t.add(n)}return Array.from(t)}function Xi(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function ec(e){const t={};if(typeof e=="string")for(const r of e.split(/[\s,]+/).filter(n=>n)){const n=r.split(":");n.length!==2?t["1px"]=n[0].trim():t[n[0].trim()]=n[1].trim()}else Object.assign(t,e);return t}function tc(e){const t={options:e},r=(o,s={})=>Fr(t,o,s),n=(o,s={},a={})=>r(o,{...a,modifiers:Ee(s,a.modifiers||{})}).url;for(const o in e.presets)n[o]=(s,a,i)=>n(s,a,{...e.presets[o],...i});return n.options=e,n.getImage=r,n.getMeta=(o,s)=>rc(t,o,s),n.getSizes=(o,s)=>sc(t,o,s),t.$img=n,n}async function rc(e,t,r){const n=Fr(e,t,{...r});return typeof n.getMeta=="function"?await n.getMeta():await Ji(e,n.url)}function Fr(e,t,r){if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:n,defaults:o}=nc(e,r.provider||e.options.provider),s=oc(e,r.preset);if(t=O(t)?t:Vn(t),!n.supportsAlias){for(const u in e.options.alias)if(t.startsWith(u)){const l=e.options.alias[u];l&&(t=H(l,t.slice(u.length)))}}if(n.validateDomains&&O(t)){const u=it(t).host;if(!e.options.domains.find(l=>l===u))return{url:t}}const a=Ee(r,s,o);a.modifiers={...a.modifiers};const i=a.modifiers.format;a.modifiers?.width&&(a.modifiers.width=j(a.modifiers.width)),a.modifiers?.height&&(a.modifiers.height=j(a.modifiers.height));const c=n.getImage(t,a,e);return c.format=c.format||i||"",c}function nc(e,t){const r=e.options.providers[t];if(!r)throw new Error("Unknown provider: "+t);return r}function oc(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function sc(e,t,r){const n=j(r.modifiers?.width),o=j(r.modifiers?.height),s=ec(r.sizes),a=r.densities?.trim()?Qi(r.densities.trim()):e.options.densities;Xi(a);const i=n&&o?o/n:0,c=[],u=[];if(Object.keys(s).length>=1){for(const f in s){const p=nr(f,String(s[f]),o,i,e);if(p!==void 0){c.push({size:p.size,screenMaxWidth:p.screenMaxWidth,media:`(max-width: ${p.screenMaxWidth}px)`});for(const m of a)u.push({width:p._cWidth*m,src:or(e,t,r,p,m)})}}ac(c)}else for(const f of a){const p=Object.keys(s)[0];let m=p?nr(p,String(s[p]),o,i,e):void 0;m===void 0&&(m={size:"",screenMaxWidth:0,_cWidth:r.modifiers?.width,_cHeight:r.modifiers?.height}),u.push({width:f,src:or(e,t,r,m,f)})}ic(u);const l=u[u.length-1],y=c.length?c.map(f=>`${f.media?f.media+" ":""}${f.size}`).join(", "):void 0,h=y?"w":"x",d=u.map(f=>`${f.src} ${f.width}${h}`).join(", ");return{sizes:y,srcset:d,src:l?.src}}function nr(e,t,r,n,o){const s=o.options.screens&&o.options.screens[e]||Number.parseInt(e),a=t.endsWith("vw");if(!a&&/^\d+$/.test(t)&&(t=t+"px"),!a&&!t.endsWith("px"))return;let i=Number.parseInt(t);if(!s||!i)return;a&&(i=Math.round(i/100*s));const c=n?Math.round(i*n):r;return{size:t,screenMaxWidth:s,_cWidth:i,_cHeight:c}}function or(e,t,r,n,o){return e.$img(t,{...r.modifiers,width:n._cWidth?n._cWidth*o:void 0,height:n._cHeight?n._cHeight*o:void 0},r)}function ac(e){e.sort((r,n)=>r.screenMaxWidth-n.screenMaxWidth);let t=null;for(let r=e.length-1;r>=0;r--){const n=e[r];n.media===t&&e.splice(r,1),t=n.media}for(let r=0;rr.width-n.width);let t=null;for(let r=e.length-1;r>=0;r--){const n=e[r];n.width===t&&e.splice(r,1),t=n.width}}const mt=Zi({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(e,t)=>vt(e)+"_"+vt(t)}),cc=(e,{modifiers:t={},baseURL:r}={},n)=>{t.width&&t.height&&(t.resize=`${t.width}x${t.height}`,delete t.width,delete t.height);const o=mt(t)||"_";return r||(r=H(n.options.nuxt.baseURL,"/_ipx")),{url:H(r,o,st(e))}},Vr=!0,Kr=!0,lc=Object.freeze(Object.defineProperty({__proto__:null,getImage:cc,operationsGenerator:mt,supportsAlias:Kr,validateDomains:Vr},Symbol.toStringTag,{value:"Module"})),uc=(e,{modifiers:t={},baseURL:r}={},n)=>{t.width&&t.height&&(t.resize=`${t.width}x${t.height}`,delete t.width,delete t.height);const o=mt(t)||"_";return r||(r=H(n.options.nuxt.baseURL,"/_ipx")),{url:H(r,o,st(e).replace(/\/{2,}/g,"/"))}},dc=Object.freeze(Object.defineProperty({__proto__:null,getImage:uc,supportsAlias:Kr,validateDomains:Vr},Symbol.toStringTag,{value:"Module"})),fc={screens:{xs:360,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"ipxStatic",domains:[],alias:{},densities:[1,2,1,2],format:["avif","webp","webp"],quality:74,providers:{ipx:{provider:lc,defaults:{}},ipxStatic:{provider:dc,defaults:{}}}},Gr=e=>{const t=Z(),r=C();return r.$img||r._img||(r._img=tc({...fc,event:r.ssrContext?.event,nuxt:{baseURL:t.app.baseURL},runtimeConfig:t}))};function hc(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const pc={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},yc=e=>{const t=E(()=>({provider:e.provider,preset:e.preset})),r=E(()=>({width:j(e.width),height:j(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),n=Gr(),o=E(()=>({...e.modifiers,width:j(e.width),height:j(e.height),format:e.format,quality:e.quality||n.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:r,modifiers:o}},mc={...pc,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},gc=["src"],kc=q({__name:"NuxtImg",props:mc,emits:["load","error"],setup(e,{emit:t}){const r=e,n=pn(),o=t,s=!1,a=Gr(),i=yc(r),c=$(!1),u=$(),l=E(()=>a.getSizes(r.src,{...i.options.value,sizes:r.sizes,densities:r.densities,modifiers:{...i.modifiers.value,width:j(r.width),height:j(r.height)}})),y=E(()=>{const g={...i.attrs.value,"data-nuxt-img":""};return(!r.placeholder||c.value)&&(g.sizes=l.value.sizes,g.srcset=l.value.srcset),g}),h=E(()=>{let g=r.placeholder;if(g===""&&(g=!0),!g||c.value)return!1;if(typeof g=="string")return g;const v=Array.isArray(g)?g:typeof g=="number"?[g,g]:[10,10];return a(r.src,{...i.modifiers.value,width:v[0],height:v[1],quality:v[2]||50,blur:v[3]||3},i.options.value)}),d=E(()=>r.sizes?l.value.src:a(r.src,i.modifiers.value,i.options.value)),f=E(()=>h.value?h.value:d.value),m=C().isHydrating;return rt(()=>{if(h.value||r.custom){const g=new Image;d.value&&(g.src=d.value),r.sizes&&(g.sizes=l.value.sizes||"",g.srcset=l.value.srcset),g.onload=v=>{c.value=!0,o("load",v)},g.onerror=v=>{o("error",v)},hc("nuxt-image");return}u.value&&(u.value.complete&&m&&(u.value.getAttribute("data-error")?o("error",new Event("error")):o("load",new Event("load"))),u.value.onload=g=>{o("load",g)},u.value.onerror=g=>{o("error",g)})}),(g,v)=>g.custom?yn(g.$slots,"default",mn(kt({key:1},{...M(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...y.value,...M(n)},isLoaded:c.value,src:f.value}))):(R(),F("img",kt({key:0,ref_key:"imgEl",ref:u,class:h.value&&!c.value?g.placeholderClass:void 0},{...M(s)?{onerror:"this.setAttribute('data-error', 1)"}:{},...y.value,...M(n)},{src:f.value}),null,16,gc))}}),ql=Object.assign(kc,{__name:"NuxtImg"});export{_l as $,Ac as A,Oc as B,Kc as C,Yc as D,Qc as E,el as F,tl as G,sl as H,Pc as I,Il as J,Ml as K,cl as L,pl as M,ol as N,Tc as O,vl as P,al as Q,Gc as R,Pl as S,jl as T,Nl as U,ml as V,Tl as W,Jc as X,Ll as Y,Ul as Z,qi as _,C as a,Bc as a0,jc as a1,nl as a2,Hc as a3,Lc as a4,gl as a5,Sc as a6,Al as a7,Rc as a8,kl as a9,bl as aa,Ec as ab,yl as ac,ll as ad,$l as ae,xc as af,Fc as ag,Vc as ah,Cl as ai,El as aj,xl as ak,Ic as al,dl as am,Zc as an,Xc as ao,il as ap,Wc as aq,Hl as ar,Ri as as,Ja as b,rl as c,Ol as d,Sl as e,ql as f,Mc as g,$c as h,fl as i,Uc as j,Rl as k,ul as l,Nc as m,zc as n,Dc as o,ut as p,Z as q,Hs as r,Za as s,qc as t,Cc as u,wl as v,hl as w,zi as x,Mr as y,W as z};