const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B0yk66xW.js","./DdP_DkpB.js","./5Qh_ngpL.js","./CZh9cJZo.js","./DCQ2WMfZ.js","./CNYZjYIa.js","./CFOUwdm7.js","./Base.CIBhxxyW.css","./DEz_iieQ.js","./DU1p3-LR.js","./Button.BKcOYIHA.css","./google-analytics.DspXumQ3.css","./DTJcs33E.js","./CNHHJ2tY.js","./Badge.EmTH6tNv.css","./GenericCard.YW21DVuz.css","./xBB_7wdk.js","./cookies.ro8xC8nU.css","./CGn1nhd8.js","./TextField.DbXDk37g.css","./_...Bi54j4-J.css","./CqX7XzRd.js","./tAKMcL_s.js","./HBxv8WuU.js","./CzOLL4tV.js","./Ba16kZrU.js","./4kQwJCVr.js","./default.DbT8uIX1.css","./Dqs2NnSL.js","./CwqBjttF.js","./error-404.BfjAThUw.css","./BvRIE59J.js","./error-500.CZlVRSHt.css"])))=>i.map(i=>d[i]); import{i as yh,c as nb,a as Ao,b as rb,e as os,l as cu,h as dl,B as ob,d as ib,f as Bo,g as ze,j as sb,k as ab,t as cb,u as lb,o as ub,m as zn,n as is,F as ss,p as fb,s as lu,r as uu,q as Sn,v as db,w as pb,x as hb,y as bh,z as vh,A as mb,C as wh,D as gb,E as $e,G as as,H as je,I as et,J as Ro,K as he,L as Sh,M as me,N as Ct,O as pl,P as Je,Q as hl,R as Hn,S as Ke,T as Et,U as Ni,V as yb,W as Ie,X as Fr,Y as Eh,Z as kh,_ as Th,$ as cs,a0 as Ze,a1 as bb,a2 as De,a3 as Ee,a4 as jo,a5 as zt,a6 as rn,a7 as Oe,a8 as Wt,a9 as _h,aa as vb,ab as wb,ac as fu,ad as Oo,ae as Sb,af as Eb,ag as kb,ah as fi,ai as Ah,aj as du,ak as Tb,al as ml,am as _b,an as Rh,ao as Un,ap as Oh,aq as Pr,ar as Ab,as as Rb,at as Ob,au as xb,av as Cb,aw as pu,ax as Pb,ay as Lb}from"./5Qh_ngpL.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** * @vue/runtime-dom v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Rc;const hu=typeof window<"u"&&window.trustedtypes;if(hu)try{rc=hu.createpolicy("vue",{createhtml:e=>e})}catch{}const xh=Rc?e=>Rc.createHTML(e):e=>e,Ib="http://www.w3.org/2000/svg",Mb="http://www.w3.org/1998/Math/MathML",yn=typeof document<"u"?document:null,mu=yn&&yn.createelement("template"),db={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?yn.createElementNS(Ib,e):t==="mathml"?yn.createElementNS(Mb,e):n?yn.createElement(e,{is:n}):yn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>yn.createTextNode(e),createComment:e=>yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{mu.innerHTML=xh(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=mu.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},In="transition",so="animation",Nr=Symbol("_vtc"),Ch={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ph=os({},ob,Ch),Nb=e=>(e.displayName="Transition",e.props=Ph,e),$b=Nb((e,{slots:t})=>ze(sb,Lh(e),t)),Qn=(e,t=[])=>{Bo(e)?e.forEach(n=>n(...t)):e&&e(...t)},gu=e=>e?Bo(e)?e.some(t=>t.length>1):e.length>1:!1;function Lh(e){const t={};for(const U in e)U in Ch||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=s,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Ub(o),g=h&&h[0],m=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:_,onLeaveCancelled:A,onBeforeAppear:O=y,onAppear:x=b,onAppearCancelled:D=w}=t,F=(U,ee,ae,ie)=>{U._enterCancelled=ie,Nn(U,ee?l:a),Nn(U,ee?u:s),ae&&ae()},j=(U,ee)=>{U._isLeaving=!1,Nn(U,f),Nn(U,p),Nn(U,d),ee&&ee()},te=U=>(ee,ae)=>{const ie=U?x:b,se=()=>F(ee,U,ae);Qn(ie,[ee,se]),yu(()=>{Nn(ee,U?c:i),Yt(ee,U?l:a),gu(ie)||bu(ee,r,g,se)})};return os(t,{onBeforeEnter(U){Qn(y,[U]),Yt(U,i),Yt(U,s)},onBeforeAppear(U){Qn(O,[U]),Yt(U,c),Yt(U,u)},onEnter:te(!1),onAppear:te(!0),onLeave(U,ee){U._isLeaving=!0;const ae=()=>j(U,ee);Yt(U,f),U._enterCancelled?(Yt(U,d),Oc(U)):(Oc(U),Yt(U,d)),yu(()=>{U._isLeaving&&(Nn(U,f),Yt(U,p),gu(_)||bu(U,r,m,ae))}),Qn(_,[U,ae])},onEnterCancelled(U){F(U,!1,void 0,!0),Qn(w,[U])},onAppearCancelled(U){F(U,!0,void 0,!0),Qn(D,[U])},onLeaveCancelled(U){j(U),Qn(A,[U])}})}function Ub(e){if(e==null)return null;if(ab(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}function Is(e){return cb(e)}function Yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Nr]||(e[Nr]=new Set)).add(t)}function Nn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Nr];n&&(n.delete(t),n.size||(e[Nr]=void 0))}function yu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Bb=0;function bu(e,t,n,r){const o=e._endId=++Bb,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:c}=Ih(e,t);if(!s)return r();const u=s+"end";let l=0;const f=()=>{e.removeEventListener(u,d),i()},d=p=>{p.target===e&&++l>=c&&f()};setTimeout(()=>{l(n[h]||"").split(", "),o=r(`${In}Delay`),i=r(`${In}Duration`),s=vu(o,i),a=r(`${so}Delay`),c=r(`${so}Duration`),u=vu(a,c);let l=null,f=0,d=0;t===In?s>0&&(l=In,f=s,d=i.length):t===so?u>0&&(l=so,f=u,d=c.length):(f=Math.max(s,u),l=f>0?s>u?In:so:null,d=l?l===In?i.length:c.length:0);const p=l===In&&/\b(?:transform|all)(?:,|$)/.test(r(`${In}Property`).toString());return{type:l,timeout:f,propCount:d,hasTransform:p}}function vu(e,t){for(;e.lengthwu(n)+wu(e[r])))}function wu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Oc(e){return(e?e.ownerDocument:document).body.offsetHeight}function jb(e,t,n){const r=e[Nr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $i=Symbol("_vod"),Mh=Symbol("_vsh"),nI={name:"show",beforeMount(e,{value:t},{transition:n}){e[$i]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ao(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ao(e,!0),r.enter(e)):r.leave(e,()=>{ao(e,!1)}):ao(e,t))},beforeUnmount(e,{value:t}){ao(e,t)}};function ao(e,t){e.style.display=t?e[$i]:"none",e[Mh]=!t}const Fb=Symbol(""),Hb=/(?:^|;)\s*display\s*:/;function zb(e,t,n){const r=e.style,o=Ao(n);let i=!1;if(n&&!o){if(t)if(Ao(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&ki(r,a,"")}else for(const s in t)n[s]==null&&ki(r,s,"");for(const s in n)s==="display"&&(i=!0),ki(r,s,n[s])}else if(o){if(t!==n){const s=r[Fb];s&&(n+=";"+s),r.cssText=n,i=Hb.test(n)}}else t&&e.removeAttribute("style");$i in e&&(e[$i]=i?r.display:"",e[Mh]&&(r.display="none"))}const Su=/\s*!important$/;function ki(e,t,n){if(Bo(n))n.forEach(r=>ki(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Wb(e,t);Su.test(n)?e.setProperty(dl(r),n.replace(Su,""),"important"):e[r]=n}}const Eu=["Webkit","Moz","ms"],Ms={};function Wb(e,t){const n=Ms[t];if(n)return n;let r=bh(t);if(r!=="filter"&&r in e)return Ms[t]=r;r=wh(r);for(let o=0;oDs||(Kb.then(()=>Ds=0),Ds=Date.now());function Jb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gb(xb(r,n.value),t,5,[r])};return n.value=e,n.attached=Yb(),n}function Xb(e,t){if(Bo(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ou=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qb=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?jb(e,r,s):t==="style"?zb(e,n,r):db(t)?pb(t)||Gb(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zb(e,t,r,s))?(_u(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tu(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ao(r))?_u(e,bh(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Tu(e,t,r,s))};function Zb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ou(t)&&yh(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ou(t)&&Ao(n)?!1:t in e}const Dh=new WeakMap,Nh=new WeakMap,Ui=Symbol("_moveCb"),xu=Symbol("_enterCb"),ev=e=>(delete e.props.mode,e),tv=ev({name:"TransitionGroup",props:os({},Ph,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zn(),r=lb();let o,i;return ub(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!iv(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(nv),o.forEach(rv);const a=o.filter(ov);Oc(n.vnode.el),a.forEach(c=>{const u=c.el,l=u.style;Yt(u,s),l.transform=l.webkitTransform=l.transitionDuration="";const f=u[Ui]=d=>{d&&d.target!==u||(!d||d.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Ui]=null,Nn(u,s))};u.addEventListener("transitionend",f)}),o=[]}),()=>{const s=is(e),a=Lh(s);let c=s.tag||ss;if(o=[],i)for(let u=0;u{a.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=Ih(r);return i.removeChild(r),s}const Cu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Bo(t)?n=>ib(t,n):t};function sv(e){e.target.composing=!0}function Pu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ns=Symbol("_assign"),oI={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ns]=Cu(o);const i=r||o.props&&o.props.type==="number";Lr(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=cu(a)),e[Ns](a)}),n&&Lr(e,"change",()=>{e.value=e.value.trim()}),t||(Lr(e,"compositionstart",sv),Lr(e,"compositionend",Pu),Lr(e,"change",Pu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[Ns]=Cu(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?cu(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===c)||(e.value=c))}},av=["ctrl","shift","alt","meta"],cv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>av.some(n=>e[`${n}Key`]&&!t.includes(n))},iI=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=dl(o.key);if(t.some(s=>s===i||lv[s]===i))return e(o)}))},$h=os({patchProp:Qb},Db);let vo,Lu=!1;function uv(){return vo||(vo=rb($h))}function fv(){return vo=Lu?vo:nb($h),Lu=!0,vo}const dv=((...e)=>{const t=uv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bh(r);if(!o)return;const i=t._component;!yh(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Uh(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),pv=((...e)=>{const t=fv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bh(r);if(o)return n(o,!0,Uh(o))},t});function Uh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bh(e){return Ao(e)?document.querySelector(e):e}const hv=/"(?:_|\\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*:/,mv=/"(?: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*:/,gv=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yv(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bv(e);return}return t}function bv(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Bi(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.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(!gv.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(hv.test(e)||mv.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,yv)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const vv=/#/g,wv=/&/g,Sv=/\//g,Ev=/=/g,gl=/\+/g,kv=/%5e/gi,Tv=/%60/gi,_v=/%7c/gi,Av=/%20/gi;function Rv(e){return encodeURI(""+e).replace(_v,"|")}function xc(e){return Rv(typeof e=="string"?e:JSON.stringify(e)).replace(gl,"%2B").replace(Av,"+").replace(vv,"%23").replace(wv,"%26").replace(Tv,"`").replace(kv,"^").replace(Sv,"%2F")}function $s(e){return xc(e).replace(Ev,"%3D")}function ji(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ov(e){return ji(e.replace(gl," "))}function xv(e){return ji(e.replace(gl," "))}function Fi(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=Ov(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=xv(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Cv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${$s(e)}=${xc(n)}`).join("&"):`${$s(e)}=${xc(t)}`:$s(e)}function Pv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Cv(t,e[t])).filter(Boolean).join("&")}const Lv=/^[\s\w0円+.-]{2,}:([/\\]{1,2})/,Iv=/^[\s\w0円+.-]{2,}:([/\\]{2})?/,Mv=/^([/\\]\s*){2,}[^/\\]/,Dv=/^[\s0円]*(blob|data|javascript|vbscript):$/i,Nv=/\/$|\/\?|\/#/,$v=/^\.?\//;function mr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Lv.test(e):Iv.test(e)||(t.acceptRelative?Mv.test(e):!1)}function Uv(e){return!!e&&Dv.test(e)}function Cc(e="",t){return t?Nv.test(e):e.endsWith("/")}function xo(e="",t){if(!t)return(Cc(e)?e.slice(0,-1):e)||"/";if(!Cc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Bv(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Cc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function jv(e=""){return e.startsWith("/")}function aI(e=""){return jv(e)?e:"/"+e}function Fv(e,t){if(jh(t)||mr(e))return e;const n=xo(t);return e.startsWith(n)?e:yl(n,e)}function Iu(e,t){if(jh(t))return e;const n=xo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ls(e,t){const n=Hi(e),r={...Fi(n.search),...t};return n.search=Pv(r),Wv(n)}function jh(e){return!e||e==="/"}function Hv(e){return e&&e!=="/"}function yl(e,...t){let n=e||"";for(const r of t.filter(o=>Hv(o)))if(n){const o=r.replace($v,"");n=Bv(n)+o}else n=r;return n}function Fh(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const s of n)if(!(!s||s==="/")){for(const[a,c]of s.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&mr(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),o++}}let i=r.join("/");return o>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function zv(e,t){return ji(xo(e))===ji(xo(t))}const Hh=Symbol.for("ufo:protocolRelative");function Hi(e="",t){const n=e.match(/^[\s0円]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!mr(e,{acceptRelative:!0}))return Mu(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s0円]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=Mu(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:l,[Hh]:!r}}function Mu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Wv(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Hh]?(e.protocol||"")+"//":"")+o+i+t+n+r}class qv extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Gv(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",s=`${o}: ${i}${t?` ${t}`:""}`,a=new qv(s,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const Vv=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Du(e="GET"){return Vv.has(e.toUpperCase())}function Kv(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?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Yv=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Jv=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Xv(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Jv.test(t)?"json":Yv.has(t)||t.startsWith("text/")?"text":"blob"}function Qv(e,t,n,r){const o=Zv(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function Zv(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function di(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const ew=new Set([408,409,425,429,500,502,503,504]),tw=new Set([101,204,205,304]);function zh(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=Du(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):ew.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:l-1})}}const u=Gv(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const l={request:c,options:Qv(c,u,e.defaults,n),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await di(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Fv(l.request,l.options.baseURL)),l.options.query&&(l.request=ls(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&&Du(l.options.method)&&(Kv(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("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 f;if(!l.options.signal&&l.options.timeout){const p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},l.options.timeout),l.options.signal=p.signal}try{l.response=await t(l.request,l.options)}catch(p){return l.error=p,l.options.onRequestError&&await di(l,l.options.onRequestError),await o(l)}finally{f&&clearTimeout(f)}if((l.response.body||l.response._bodyInit)&&!tw.has(l.response.status)&&l.options.method!=="HEAD"){const p=(l.options.parseResponse?"json":l.options.responseType)||Xv(l.response.headers.get("content-type")||"");switch(p){case"json":{const h=await l.response.text(),g=l.options.parseResponse||Bi;l.response._data=g(h);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[p]()}}return l.options.onResponse&&await di(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onresponseerror&&await di(l,l.options.onResponseError),await o(l)):l.response},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},c={})=>zh({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),s}const zi=(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")})(),nw=zi.fetch?(...e)=>zi.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),rw=zi.Headers,ow=zi.AbortController,iw=zh({fetch:nw,Headers:rw,AbortController:ow}),sw=iw,aw=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,bl=()=>aw().app,cw=()=>bl().baseURL,lw=()=>bl().buildAssetsDir,vl=(...e)=>Fh(Wh(),lw(),...e),Wh=(...e)=>{const t=bl(),n=t.cdnURL||t.baseURL;return e.length?Fh(n,...e):n};globalThis.__buildAssetsURL=vl,globalThis.__publicAssetsURL=Wh;globalThis.$fetch||(globalThis.$fetch=sw.create({baseURL:cw()}));"global"in globalThis||(globalThis.global=globalThis);function uw(e,t){return{ctx:{table:e},matchAll:n=>Gh(n,e)}}function qh(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,qh(o)])):new Map(Object.entries(e[n]));return t}function fw(e){return uw(qh(e))}function Gh(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Nu(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Nu(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Gh(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Nu(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Us(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 Pc(e,t,n=".",r){if(!Us(t))return Pc(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Us(s)&&Us(o[i])?o[i]=Pc(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Vh(e){return(...t)=>t.reduce((n,r)=>Pc(n,r,"",e),{})}const us=Vh(),dw=Vh((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function pw(e,t){try{return t in e}catch{return!1}}class $u extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Lc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Kh(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function hw(e){if(typeof e=="string")return new $u(e);if(mw(e))return e;const t=new $u(e.message??e.statusMessage??"",{cause:e.cause||e});if(pw(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=Lc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Lc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Kh(t.statusMessage)!==n&&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 mw(e){return e?.constructor?.__h3_error__===!0}const gw=/[^\u0009\u0020-\u007E]/g;function Kh(e=""){return e.replace(gw,"")}function Lc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Yh=Symbol("layout-meta"),fr=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const ut=()=>$e()?.$router,Wn=()=>as()?je(fr,$e()._route):$e()._route;const yw=()=>{try{if($e()._processingMiddleware)return!0}catch{return!1}return!1},Uu=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?bw(e):ut().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:u={}}=t.open,l=[];for(const[f,d]of Object.entries(u))d!==void 0&&l.push(`${f.toLowerCase()}=${d}`);return open(n,c,l.join(", ")),Promise.resolve()}const r=mr(n,{acceptRelative:!0}),o=t?.external||r;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(n,window.location.href);if(c&&Uv(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const i=yw();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:u,hash:l}=Hi(e);return{path:c,...u&&{query:Fi(u)},...l&&{hash:l},replace:!0}}return{...e,replace:!0}}return e}const s=ut(),a=$e();return o?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function bw(e){return ls(e.path||"",e.query||{})+(e.hash||"")}const Jh="__nuxt_error",fs=()=>et($e().payload,"error"),rr=e=>{const t=ar(e);try{const n=$e(),r=fs();n.hooks.callHook("app:error",t),r.value||=t}catch{throw t}return t},vw=async(e={})=>{const t=$e(),n=fs();t.callHook("app:error:cleared",e),e.redirect&&await ut().replace(e.redirect),n.value=void 0},Xh=e=>!!e&&typeof e=="object"&&Jh in e,ar=e=>{const t=hw(e);return Object.defineProperty(t,Jh,{value:!0,configurable:!1,writable:!1}),t};/*! * pinia v3.0.3 * (c) 2025 Eduardo San Martin Morote * @license MIT */let Qh;const Fo=e=>Qh=e,Zh=Symbol();function Ic(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var wo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(wo||(wo={}));function ww(){const e=Ro(!0),t=e.run(()=>he({}));let n=[],r=[];const o=Sh({install(i){Fo(o),o._a=i,i.provide(Zh,o),i.config.globalProperties.$pinia=o,r.forEach(s=>n.push(s)),r=[]},use(i){return this._a?n.push(i):r.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const em=()=>{};function Bu(e,t,n,r=em){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&hl()&&Hn(o),o}function Ar(e,...t){e.slice().forEach(n=>{n(...t)})}const Sw=e=>e(),ju=Symbol(),Bs=Symbol();function Mc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Ic(o)&&Ic(r)&&e.hasOwnProperty(n)&&!Ct(r)&&!pl(r)?e[n]=Mc(o,r):e[n]=r}return e}const Ew=Symbol();function kw(e){return!Ic(e)||!Object.prototype.hasOwnProperty.call(e,Ew)}const{assign:$n}=Object;function Tw(e){return!!(Ct(e)&&e.effect)}function _w(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=o?o():{});const l=Ni(n.state.value[e]);return $n(l,i,Object.keys(s||{}).reduce((f,d)=>(f[d]=Sh(me(()=>{Fo(n);const p=n._s.get(e);return s[d].call(p,p)})),f),{}))}return c=tm(e,u,t,n,r,!0),c}function tm(e,t,n={},r,o,i){let s;const a=$n({actions:{}},n),c={deep:!0};let u,l,f=[],d=[],p;const h=r.state.value[e];!i&&!h&&(r.state.value[e]={}),he({});let g;function m(D){let F;u=l=!1,typeof D=="function"?(D(r.state.value[e]),F={type:wo.patchFunction,storeId:e,events:p}):(Mc(r.state.value[e],D),F={type:wo.patchObject,payload:D,storeId:e,events:p});const j=g=Symbol();Et().then(()=>{g===j&&(u=!0)}),l=!0,Ar(f,F,r.state.value[e])}const y=i?function(){const{state:F}=n,j=F?F():{};this.$patch(te=>{$n(te,j)})}:em;function b(){s.stop(),f=[],d=[],r._s.delete(e)}const w=(D,F="")=>{if(ju in D)return D[Bs]=F,D;const j=function(){Fo(r);const te=Array.from(arguments),U=[],ee=[];function ae(de){U.push(de)}function ie(de){ee.push(de)}Ar(d,{args:te,name:j[Bs],store:A,after:ae,onError:ie});let se;try{se=D.apply(this&&this.$id===e?this:A,te)}catch(de){throw Ar(ee,de),de}return se instanceof Promise?se.then(de=>(Ar(U,de),de)).catch(de=>(Ar(ee,de),Promise.reject(de))):(Ar(U,se),se)};return j[ju]=!0,j[Bs]=F,j},_={_p:r,$id:e,$onAction:Bu.bind(null,d),$patch:m,$reset:y,$subscribe(D,F={}){const j=Bu(f,D,F.detached,()=>te()),te=s.run(()=>Ke(()=>r.state.value[e],U=>{(F.flush==="sync"?l:u)&&D({storeId:e,type:wo.direct,events:p},U)},$n({},c,F)));return j},$dispose:b},A=Je(_);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||Sw)(()=>r._e.run(()=>(s=Ro()).run(()=>t({action:w}))));for(const D in x){const F=x[D];if(Ct(F)&&!Tw(F)||pl(F))i||(h&&kw(F)&&(Ct(F)?F.value=h[D]:Mc(F,h[D])),r.state.value[e][D]=F);else if(typeof F=="function"){const j=w(F,D);x[D]=j,a.actions[D]=F}}return $n(A,x),$n(is(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:D=>{m(F=>{$n(F,D)})}}),r._p.forEach(D=>{$n(A,s.run(()=>D({store:A,app:r._a,pinia:r,options:a})))}),h&&i&&n.hydrate&&n.hydrate(A.$state,h),u=!0,l=!0,A}/*! #__NO_SIDE_EFFECTS__ */function nm(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function i(s,a){const c=as();return s=s||(c?je(Zh,null):null),s&&Fo(s),s=Qh,s._s.has(e)||(o?tm(e,t,r,s):_w(e,r,s)),s._s.get(e)}return i.$id=e,i}function Ho(e){const t=is(e),n={};for(const r in t){const o=t[r];o.effect?n[r]=me({get:()=>e[r],set(i){e[r]=i}}):(Ct(o)||pl(o))&&(n[r]=et(e,r))}return n}function Aw(e){const t=Ow(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const xw=-1,Cw=-2,Pw=-3,Lw=-4,Iw=-5,Mw=-6;function Dw(e,t){return Nw(JSON.parse(e),t)}function Nw(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===xw)return;if(i===Pw)return NaN;if(i===Lw)return 1/0;if(i===Iw)return-1/0;if(i===Mw)return-0;if(s||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],u=t?.[c];if(u)return r[i]=u(o(a[1]));switch(c){case"Date":r[i]=new Date(a[1]);break;case"Set":const l=new Set;r[i]=l;for(let p=1;p`${r}:${String(o)}`).join(",")}`}function Wi(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>Wi(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Wi(o[s],t,s);return i}return o}function Vw(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function om(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Vw(n,r);return}if(Fw.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Kw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=om({tag:e,props:{}},n);return r.key&&$w.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Yw(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(Kw(o,s))}),r.flat()}const zu=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Wu={base:-10,title:10},Jw={critical:-8,high:-1,low:2},qu={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}},Xw=/@import/,co=e=>e===""||e===!0;function Qw(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Jw[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:qu;if(t.tag in Wu)n=Wu[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=qu.meta[i])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?co(t.props.async)?n=o.script.async:t.props.src&&!co(t.props.defer)&&!co(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:co(t.props.defer)&&t.props.src&&!co(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&Xw.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Gu(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Zw(e={}){const t=yb();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Gu(s,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??s._entryCount++,f={_i:l,input:a,options:u},d={_poll(p=!1){s.dirty=!0,!p&&i.add(l),t.callHook("entries:updated",s)},dispose(){r.delete(l)&&s.invalidate()},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=p,r.set(l,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const d=i.values().next().value;i.delete(d);const p=r.get(d);if(p){const h={tags:Yw(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",h),p._tags=h.tags.map((g,m)=>(g._w=Qw(s,g),g._p=(p._i<<10)+m,g._d=dc(g),g))}}let c=!1;a.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(zu).reduce((d,p)=>{const h=String(p._d||p._p);if(!d.has(h))return d.set(h,p);const g=d.get(h);if((p?.tagDuplicateStrategy||(zw.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const y={...g.props};Object.entries(p.props).forEach(([b,w])=>y[b]=b==="style"?new Map([...g.props.style||new Map,...w]):b==="class"?new Set([...g.props.class||new Set,...w]):w),d.set(h,{...p,props:y})}else p._p>>10===g._p>>10&&p.tag==="meta"&&rm(h)?(d.set(h,Object.assign([...Array.isArray(g)?g:[g],p],p)),c=!0):(p._w===g._w?p._p>g._p:p?._wGu(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}function e0(e={}){const t=[];let n=-1;const r=(o=!1)=>({get(i,s,a){if(!o){const c=Reflect.get(i,s,a);if(typeof c<"u")return c;n++,t[n]=[]}return t[n].push({type:"get",key:s}),new Proxy(()=>{},r(!0))},apply(i,s,a){t[n].push({type:"apply",key:"",args:a})}});return{proxy:new Proxy(e||{},r()),stack:t}}function t0(e){const t={get(n,r,o){const i=Reflect.get(n,r,o);return typeof i=="object"?new Proxy(i,t):i},apply(n,r,o){Reflect.apply(n,r,o)}};return new Proxy(e,t)}function n0(e,t){t.forEach(n=>{let r=e,o=e;n.forEach(({type:i,key:s,args:a})=>{i==="get"?(o=r,r=r[s]):i==="apply"&&(r=r.call(o,...a))})})}function r0(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}const o0=["preconnect","dns-prefetch"];function i0(e,t,n){const r=typeof t=="string"?{src:t}:t,o=n||{},i=r0(r),s=e._scripts?.[i];if(s)return s.setupTriggerHandler(o.trigger),s;o.beforeInit?.();const a=h=>{d.status=h,e.hooks.callHook("script:updated",p)};Hw.forEach(h=>{const g=h,m=typeof r[g]=="function"?r[g].bind(o.eventContext):null;r[g]=y=>{a(h==="onload"?"loaded":h==="onerror"?"error":"loading"),m?.(y)}});const c={loaded:[],error:[]},u=new Set,l=(h,g,m)=>{if(!e.ssr){if(m?.key){const y=`${m?.key}:${m.key}`;if(u.has(y))return;u.add(y)}if(c[h]){const y=c[h].push(g);return()=>c[h]?.splice(y-1,1)}return g(d.instance),()=>{}}},f=new Promise(h=>{if(e.ssr)return;const g=y=>requestAnimationFrame(()=>h(y)),m=e.hooks.hook("script:updated",({script:y})=>{const b=y.status;if(y.id===i&&(b==="loaded"||b==="error")){if(b==="loaded")if(typeof o.use=="function"){const w=o.use();w&&g(w)}else g({});else b==="error"&&h(!1);m()}})}),d={_loadPromise:f,instance:!e.ssr&&o?.use?.()||null,proxy:null,id:i,status:"awaitingLoad",remove(){return d._triggerAbortController?.abort(),d._triggerPromises=[],d._warmupEl?.dispose(),d.entry?(d.entry.dispose(),d.entry=void 0,a("removed"),delete e._scripts?.[i],!0):!1},warmup(h){const{src:g}=r,m=!g.startsWith("/")||g.startsWith("//"),y=h&&o0.includes(h);let b=g;if(!h||y&&!m)return;if(y){const _=new URL(g);b=`${_.protocol}//${_.host}`}const w={href:b,rel:h,crossorigin:typeof r.crossorigin<"u"?r.crossorigin:m?"anonymous":void 0,referrerpolicy:typeof r.referrerpolicy<"u"?r.referrerpolicy:m?"no-referrer":void 0,fetchpriority:typeof r.fetchpriority<"u"?r.fetchpriority:"low",integrity:r.integrity,as:h==="preload"?"script":void 0};return d._warmupEl=e.push({link:[w]},{head:e,tagPriority:"high"}),d._warmupEl},load(h){if(d._triggerAbortController?.abort(),d._triggerPromises=[],!d.entry){a("loading");const g={defer:!0,fetchpriority:"low"};r.src&&(r.src.startsWith("http")||r.src.startsWith("//"))&&(g.crossorigin="anonymous",g.referrerpolicy="no-referrer"),d.entry=e.push({script:[{...g,...r}]},o)}return h&&l("loaded",h),f},onLoaded(h,g){return l("loaded",h,g)},onError(h,g){return l("error",h,g)},setupTriggerHandler(h){if(d.status==="awaitingLoad")if((typeof h>"u"||h==="client")&&!e.ssr||h==="server")d.load();else if(h instanceof Promise){if(e.ssr)return;d._triggerAbortController||(d._triggerAbortController=new AbortController,d._triggerAbortPromise=new Promise(m=>{d._triggerAbortController.signal.addEventListener("abort",()=>{d._triggerAbortController=null,m()})})),d._triggerPromises=d._triggerPromises||[];const g=d._triggerPromises.push(Promise.race([h.then(m=>typeof m>"u"||m?d.load:void 0),d._triggerAbortPromise]).catch(()=>{}).then(m=>{m?.()}).finally(()=>{d._triggerPromises?.splice(g,1)}))}else typeof h=="function"&&h(d.load)},_cbs:c};f.then(h=>{h!==!1?(d.instance=h,c.loaded?.forEach(g=>g(h)),c.loaded=null):(c.error?.forEach(g=>g()),c.error=null)});const p={script:d};if(d.setupTriggerHandler(o.trigger),o.use){const{proxy:h,stack:g}=e0(e.ssr?{}:o.use()||{});d.proxy=h,d.onLoaded(m=>{n0(m,g),d.proxy=t0(m)})}return!o.warmupStrategy&&(typeof o.trigger>"u"||o.trigger==="client")&&(o.warmupStrategy="preload"),o.warmupStrategy&&d.warmup(o.warmupStrategy),e._scripts=Object.assign(e._scripts||{},{[i]:d}),d}const s0=(e,t)=>Ct(t)?Ie(t):t,wl="usehead";function a0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wl,e)}}.install}function im(){if(as()){const e=je(wl);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function c0(e,t={}){const n=t.head||im();return n.ssr?n.push(e||{},t):l0(n,e,t)}function l0(e,t,n={}){const r=he(!1);let o;return Fr(()=>{const s=r.value?{}:Wi(t,s0);o?o.patch(s):o=e.push(s,n)}),zn()&&(Eh(()=>{o.dispose()}),kh(()=>{r.value=!0}),Th(()=>{r.value=!1})),o}function u0(e,t){if(!t)return;const n=(r,o)=>{if(!e._cbs[r])return o(e.instance),()=>{};let i=e._cbs[r].push(o);const s=()=>{i&&(e._cbs[r]?.splice(i-1,1),i=null)};return Hn(s),s};e.onLoaded=r=>n("loaded",r),e.onError=r=>n("error",r),Hn(()=>{e._triggerAbortController?.abort()})}function f0(e,t){const n=typeof e=="string"?{src:e}:e,r=t||{},o=r?.head||im();r.head=o;const i=zn();if(r.eventContext=i,i&&typeof r.trigger>"u")r.trigger=cs;else if(Ct(r.trigger)){const a=r.trigger;let c;r.trigger=new Promise(u=>{c=Ke(a,l=>{l&&u(!0)},{immediate:!0}),Hn(()=>u(!1),!0)}).then(u=>(c?.(),u))}o._scriptStatusWatcher=o._scriptStatusWatcher||o.hooks.hook("script:updated",({script:a})=>{a._statusRef.value=a.status});const s=i0(o,n,r);return s._statusRef=s._statusRef||he(s.status),u0(s,i),new Proxy(s,{get(a,c,u){return Reflect.get(a,c==="status"?"_statusRef":c,u)}})}function sm(e){const t=e||$e();return t.ssrContext?.head||t.runWithContext(()=>{if(as()){const n=je(wl);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function d0(e,t={}){const n=sm(t.nuxt);return c0(e,{head:n,...t})}const p0="modulepreload",h0=function(e,t){return new URL(e,t).href},Vu={},tn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=u(n.map(l=>{if(l=h0(l,r),l in Vu)return;Vu[l]=!0;const f=l.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let h=s.length-1;h>=0;h--){const g=s[h];if(g.href===l&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":p0,f||(p.as="script"),p.crossOrigin="",p.href=l,c&&p.setAttribute("nonce",c),document.head.appendChild(p),f)return new Promise((h,g)=>{p.addEventListener("load",h),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};let Ti,_i;function m0(){return Ti=$fetch(vl(`builds/meta/${Ze().app.buildId}.json`),{responseType:"json"}),Ti.then(e=>{_i=fw(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ti}function ds(){return Ti||m0()}async function Sl(e){const t=typeof e=="string"?e:e.path;if(await ds(),!_i)return console.error("[nuxt] Error creating app manifest matcher.",_i),{};try{return us({},..._i.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Ku(e,t={}){if(!await cm(e))return null;const r=await y0(e,t);return await am(r)||null}const g0="_payload.json";async function y0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||mr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Ze(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await cm(e)?i:r.app.baseURL;return yl(s,n.pathname,g0+(o?`?${o}`:""))}async function am(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(lm));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function cm(e=Wn().path){const t=$e();return e=xo(e),(await ds()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Sl({path:e});return!!r.prerender&&!r.redirect})}let Zn=null;async function b0(){if(Zn)return Zn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await lm(e.textContent||""),n=e.dataset.src?await am(e.dataset.src):void 0;return Zn={...t,...n,...window.__NUXT__},Zn.config?.public&&(Zn.config.public=Je(Zn.config.public)),Zn}async function lm(e){return await Dw(e,$e()._payloadRevivers)}function um(e,t){$e()._payloadRevivers[e]=t}const v0=bb(()=>{um("skipHydrate",e=>{})}),w0=[["NuxtError",e=>ar(e)],["EmptyShallowRef",e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Bi(e))],["EmptyRef",e=>he(e==="_"?void 0:e==="0n"?BigInt(0):Bi(e))],["ShallowRef",e=>Ee(e)],["ShallowReactive",e=>jo(e)],["Ref",e=>he(e)],["Reactive",e=>Je(e)]],S0=De({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of w0)um(r,o);Object.assign(e.payload,([t,n]=zt(()=>e.runWithContext(b0)),t=await t,n(),t)),delete window.__NUXT__}}),E0=De({name:"vuetify:icons:plugin",order:-25,parallel:!0,setup(e){e.hook("vuetify:configuration",({vuetifyOptions:t})=>{})}});async function El(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(p=>{e.resolveTags().then(h=>{p(h.map(g=>{const m=i.get(g._d)||0,y={tag:g,id:(m?`${g._d}:${m}`:g._d)||Hu(g),shouldRender:!0};return g._d&&rm(g._d)&&i.set(g._d,m+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const h=n[p]?.children;for(const g of h){const m=g.tagName.toLowerCase();if(!Fu.has(m))continue;const y=om({tag:m,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((b,w)=>(b[w]=g.getAttribute(w),b),{})||{}});if(y.key=g.getAttribute("data-hid")||void 0,y._d=Dc(y)||Hu(y),a.elMap.has(y._d)){let b=1,w=y._d;for(;a.elMap.has(w);)w=`${y._d}:${b++}`;a.elMap.set(w,g)}else a.elMap.set(y._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(p,h,g){const m=`${p}:${h}`;a.sideEffects[m]=g,delete a.pendingSideEffects[m]}function u({id:p,$el:h,tag:g}){const m=g.tag.endsWith("Attrs");a.elMap.set(p,h),m||(g.textContent&&g.textContent!==h.textContent&&(h.textContent=g.textContent),g.innerHTML&&g.innerHTML!==h.innerHTML&&(h.innerHTML=g.innerHTML),c(p,"el",()=>{h?.remove(),a.elMap.delete(p)}));for(const y in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,y))continue;const b=g.props[y];if(y.startsWith("on")&&typeof b=="function"){const _=h?.dataset;if(_&&_[`${y}fired`]){const A=y.slice(0,-5);b.call(h,new Event(A.substring(2)))}h.getAttribute(`data-${y}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(y.substring(2),b.bind(h)),h.setAttribute(`data-${y}`,""));continue}const w=`attr:${y}`;if(y==="class"){if(!b)continue;for(const _ of b)m&&c(p,`${w}:${_}`,()=>h.classList.remove(_)),!h.classList.contains(_)&&h.classList.add(_)}else if(y==="style"){if(!b)continue;for(const[_,A]of b)c(p,`${w}:${_}`,()=>{h.style.removeProperty(_)}),h.style.setProperty(_,A)}else b!==!1&&b!==null&&(h.getAttribute(y)!==b&&h.setAttribute(y,b===!0?"":String(b)),m&&c(p,w,()=>h.removeAttribute(y)))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await s;for(const p of d){const{tag:h,shouldRender:g,id:m}=p;if(g){if(h.tag==="title"){n.title=h.textContent,c("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(m),p.$el?u(p):Fu.has(h.tag)&&l.push(p)}}for(const p of l){const h=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),u(p),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function k0(e={}){const t=e.domOptions?.render||El;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Zw({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function T0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function _0(e={}){const t=k0({domOptions:{render:T0(()=>El(t),n=>setTimeout(n,0))},...e});return t.install=a0(t),t}const A0={disableDefaults:!0},R0=De({name:"nuxt:head",enforce:"pre",setup(e){const t=_0(A0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await El(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ir=typeof document<"u";function fm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function O0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&fm(e.default)}const Ae=Object.assign;function js(e,t){const n={};for(const r in t){const o=t[r];n[r]=qt(o)?o.map(e):e(o)}return n}const So=()=>{},qt=Array.isArray,dm=/#/g,x0=/&/g,C0=/\//g,P0=/=/g,L0=/\?/g,pm=/\+/g,I0=/%5B/g,M0=/%5D/g,hm=/%5E/g,D0=/%60/g,mm=/%7B/g,N0=/%7C/g,gm=/%7D/g,0ドル=/%20/g;function kl(e){return encodeURI(""+e).replace(N0,"|").replace(I0,"[").replace(M0,"]")}function U0(e){return kl(e).replace(mm,"{").replace(gm,"}").replace(hm,"^")}function Nc(e){return kl(e).replace(pm,"%2B").replace(0,ドル"+").replace(dm,"%23").replace(x0,"%26").replace(D0,"`").replace(mm,"{").replace(gm,"}").replace(hm,"^")}function B0(e){return Nc(e).replace(P0,"%3D")}function j0(e){return kl(e).replace(dm,"%23").replace(L0,"%3F")}function F0(e){return e==null?"":j0(e).replace(C0,"%2F")}function Co(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const H0=/\/$/,z0=e=>e.replace(H0,"");function Fs(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=V0(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Co(s)}}function W0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function q0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&$r(t.matched[r],n.matched[o])&&ym(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $r(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ym(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!G0(e[n],t[n]))return!1;return!0}function G0(e,t){return qt(e)?Ju(e,t):qt(t)?Ju(t,e):e===t}function Ju(e,t){return qt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function V0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Po;(function(e){e.pop="pop",e.push="push"})(Po||(Po={}));var Eo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Eo||(Eo={}));function K0(e){if(!e)if(Ir){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),z0(e)}const Y0=/^[^#]+#/;function J0(e,t){return e.replace(Y0,"#")+t}function X0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ps=()=>({left:window.scrollX,top:window.scrollY});function Q0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=X0(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Xu(e,t){return(history.state?history.state.position-t:-1)+e}const $c=new Map;function Z0(e,t){$c.set(e,t)}function eS(e){const t=$c.get(e);return $c.delete(e),t}let tS=()=>location.protocol+"//"+location.host;function bm(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Yu(c,"")}return Yu(n,e)+r+o}function nS(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=bm(e,location),h=n.value,g=t.value;let m=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}m=g?d.position-g.position:0}else r(p);o.forEach(y=>{y(n.value,h,{delta:m,type:Po.pop,direction:m?m>0?Eo.forward:Eo.back:Eo.unknown})})};function c(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function l(){const{history:d}=window;d.state&&d.replaceState(Ae({},d.state,{scroll:ps()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Qu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ps():null}}function rS(e){const{history:t,location:n}=window,r={value:bm(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:tS()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[l?"replace":"assign"](d)}}function s(c,u){const l=Ae({},t.state,Qu(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});i(c,l,!0),r.value=c}function a(c,u){const l=Ae({},o.value,t.state,{forward:c,scroll:ps()});i(l.current,l,!0);const f=Ae({},Qu(r.value,c,null),{position:l.position+1},u);i(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:s}}function vm(e){e=K0(e);const t=rS(e),n=nS(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Ae({location:"",base:e,go:r,createHref:J0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function oS(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vm(e)}function iS(e){return typeof e=="string"||e&&typeof e=="object"}function wm(e){return typeof e=="string"||typeof e=="symbol"}const Sm=Symbol("");var Zu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Zu||(Zu={}));function Ur(e,t){return Ae(new Error,{type:e,[Sm]:!0},t)}function pn(e,t){return e instanceof Error&&Sm in e&&(t==null||!!(e.type&t))}const ef="[^/]+?",sS={sensitive:!1,strict:!1,start:!0,end:!0},aS=/[.+*?^${}()[\]/\\]/g;function cS(e,t){const n=Ae({},sS,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Em(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const uS={type:0,value:""},fS=/[a-zA-Z0-9_]/;function dS(e){if(!e)return[[]];if(e==="/")return[[uS]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,c,u="",l="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;a{s(w)}:So}function s(f){if(wm(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function c(f){const d=yS(f,n);n.splice(d,0,f),f.record.name&&!of(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,m;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Ur(1,{location:f});m=p.record.name,h=Ae(nf(d.params,p.keys.filter(w=>!w.optional).concat(p.parent?p.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),f.params&&nf(f.params,p.keys.map(w=>w.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(w=>w.re.test(g)),p&&(h=p.parse(g),m=p.record.name);else{if(p=d.name?r.get(d.name):n.find(w=>w.re.test(d.path)),!p)throw Ur(1,{location:f,currentLocation:d});m=p.record.name,h=Ae({},d.params,f.params),g=p.stringify(h)}const y=[];let b=p;for(;b;)y.unshift(b.record),b=b.parent;return{name:m,path:g,params:h,matched:y,meta:gS(y)}}e.forEach(f=>i(f));function l(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:l,getRoutes:a,getRecordMatcher:o}}function nf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function rf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:mS(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function mS(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function of(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gS(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function sf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function yS(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Em(e,t[i])<0?r=i:n=i+1}const o=bS(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function bS(e){let t=e;for(;t=t.parent;)if(km(t)&&Em(e,t)===0)return t}function km({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vS(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Nc(i)):[r&&Nc(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function wS(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Tm=Symbol(""),cf=Symbol(""),Tl=Symbol(""),_l=Symbol(""),Uc=Symbol("");function lo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function SS(e,t,n){const r=()=>{e[t].delete(n)};_h(r),kh(r),Th(()=>{e[t].add(n)}),e[t].add(n)}function cI(e){const t=je(Tm,{}).value;t&&SS(t,"updateGuards",e)}function Bn(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,c)=>{const u=d=>{d===!1?c(Ur(4,{from:n,to:t})):d instanceof Error?c(d):iS(d)?c(Ur(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},l=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function Hs(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let c=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(fm(c)){const l=(c.__vccOpts||c)[t];l&&i.push(Bn(l,n,r,s,a,o))}else{let u=c();i.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=O0(l)?l.default:l;s.mods[a]=l,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Bn(p,n,r,s,a,o)()}))}}return i}function lf(e){const t=je(Tl),n=je(_l),r=me(()=>{const c=Oe(e.to);return t.resolve(c)}),o=me(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex($r.bind(null,l));if(d>-1)return d;const p=uf(c[u-2]);return u>1&&uf(l)===p&&f[f.length-1].path!==p?f.findIndex($r.bind(null,c[u-2])):d}),i=me(()=>o.value>-1&&AS(n.params,r.value.params)),s=me(()=>o.value>-1&&o.value===n.matched.length-1&&ym(n.params,r.value.params));function a(c={}){if(_S(c)){const u=t[Oe(e.replace)?"replace":"push"](Oe(e.to)).catch(So);return e.viewTransition&&typeof document<"u"&&"startviewtransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:me(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function ES(e){return e.length===1?e[0]:e}const kS=rn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:lf,setup(e,{slots:t}){const n=Je(lf(e)),{options:r}=je(Tl),o=me(()=>({[ff(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ff(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&ES(t.default(n));return e.custom?i:ze("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),TS=kS;function _S(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function AS(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!qt(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function uf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ff=(e,t,n)=>e??t??n,RS=rn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=je(Uc),o=me(()=>e.route||r.value),i=je(cf,0),s=me(()=>{let u=Oe(i);const{matched:l}=o.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=me(()=>o.value.matched[s.value]);Wt(cf,me(()=>s.value+1)),Wt(Tm,a),Wt(Uc,o);const c=he();return Ke(()=>[c.value,a.value,e.name],([u,l,f],[d,p,h])=>{l&&(l.instances[f]=u,p&&p!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=p.leaveGuards),l.updateGuards.size||(l.updateGuards=p.updateGuards))),u&&l&&(!p||!$r(l,p)||!d)&&(l.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return df(n.default,{Component:d,route:u});const p=f.props[l],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,m=ze(d,Ae({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return df(n.default,{Component:m,route:u})||m}}});function df(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const _m=RS;function OS(e){const t=hS(e.routes,e),n=e.parseQuery||vS,r=e.stringifyQuery||af,o=e.history,i=lo(),s=lo(),a=lo(),c=Ee(xt);let u=xt;Ir&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=js.bind(null,T=>""+T),f=js.bind(null,F0),d=js.bind(null,Co);function p(T,N){let H,W;return wm(T)?(H=t.getRecordMatcher(T),W=N):W=T,t.addRoute(W,H)}function h(T){const N=t.getRecordMatcher(T);N&&t.removeRoute(N)}function g(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function y(T,N){if(N=Ae({},N||c.value),typeof T=="string"){const C=Fs(n,T,N.path),K=t.resolve({path:C.path},N),re=o.createHref(C.fullPath);return Ae(C,K,{params:d(K.params),hash:Co(C.hash),redirectedFrom:void 0,href:re})}let H;if(T.path!=null)H=Ae({},T,{path:Fs(n,T.path,N.path).path});else{const C=Ae({},T.params);for(const K in C)C[K]==null&&delete C[K];H=Ae({},T,{params:f(C)}),N.params=f(N.params)}const W=t.resolve(H,N),J=T.hash||"";W.params=l(d(W.params));const Q=W0(r,Ae({},T,{hash:U0(J),path:W.path})),R=o.createHref(Q);return Ae({fullPath:Q,hash:J,query:r===af?wS(T.query):T.query||{}},W,{redirectedFrom:void 0,href:R})}function b(T){return typeof T=="string"?Fs(n,T,c.value.path):Ae({},T)}function w(T,N){if(u!==T)return Ur(8,{from:N,to:T})}function _(T){return x(T)}function A(T){return _(Ae(b(T),{replace:!0}))}function O(T){const N=T.matched[T.matched.length-1];if(N&&N.redirect){const{redirect:H}=N;let W=typeof H=="function"?H(T):H;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=b(W):{path:W},W.params={}),Ae({query:T.query,hash:T.hash,params:W.path!=null?{}:T.params},W)}}function x(T,N){const H=u=y(T),W=c.value,J=T.state,Q=T.force,R=T.replace===!0,C=O(H);if(C)return x(Ae(b(C),{state:typeof C=="object"?Ae({},J,C.state):J,force:Q,replace:R}),N||H);const K=H;K.redirectedFrom=N;let re;return!Q&&q0(r,W,H)&&(re=Ur(16,{to:K,from:W}),P(W,W,!0,!1)),(re?Promise.resolve(re):j(K,W)).catch(oe=>pn(oe)?pn(oe,2)?oe:E(oe):ne(oe,K,W)).then(oe=>{if(oe){if(pn(oe,2))return x(Ae({replace:R},b(oe.to),{state:typeof oe.to=="object"?Ae({},J,oe.to.state):J,force:Q}),N||K)}else oe=U(K,W,!0,R,J);return te(K,W,oe),oe})}function D(T,N){const H=w(T,N);return H?Promise.reject(H):Promise.resolve()}function F(T){const N=q.values().next().value;return N&&typeof N.runWithContext=="function"?N.runWithContext(T):T()}function j(T,N){let H;const[W,J,Q]=xS(T,N);H=Hs(W.reverse(),"beforeRouteLeave",T,N);for(const C of W)C.leaveGuards.forEach(K=>{H.push(Bn(K,T,N))});const R=D.bind(null,T,N);return H.push(R),B(H).then(()=>{H=[];for(const C of i.list())H.push(Bn(C,T,N));return H.push(R),B(H)}).then(()=>{H=Hs(J,"beforeRouteUpdate",T,N);for(const C of J)C.updateGuards.forEach(K=>{H.push(Bn(K,T,N))});return H.push(R),B(H)}).then(()=>{H=[];for(const C of Q)if(C.beforeEnter)if(qt(C.beforeEnter))for(const K of C.beforeEnter)H.push(Bn(K,T,N));else H.push(Bn(C.beforeEnter,T,N));return H.push(R),B(H)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),H=Hs(Q,"beforeRouteEnter",T,N,F),H.push(R),B(H))).then(()=>{H=[];for(const C of s.list())H.push(Bn(C,T,N));return H.push(R),B(H)}).catch(C=>pn(C,8)?C:Promise.reject(C))}function te(T,N,H){a.list().forEach(W=>F(()=>W(T,N,H)))}function U(T,N,H,W,J){const Q=w(T,N);if(Q)return Q;const R=N===xt,C=Ir?history.state:{};H&&(W||R?o.replace(T.fullPath,Ae({scroll:R&&C&&C.scroll},J)):o.push(T.fullPath,J)),c.value=T,P(T,N,H,R),E()}let ee;function ae(){ee||(ee=o.listen((T,N,H)=>{if(!z.listening)return;const W=y(T),J=O(W);if(J){x(Ae(J,{replace:!0,force:!0}),W).catch(So);return}u=W;const Q=c.value;Ir&&Z0(Xu(Q.fullPath,H.delta),ps()),j(W,Q).catch(R=>pn(R,12)?R:pn(R,2)?(x(Ae(b(R.to),{force:!0}),W).then(C=>{pn(C,20)&&!H.delta&&H.type===Po.pop&&o.go(-1,!1)}).catch(So),Promise.reject()):(H.delta&&o.go(-H.delta,!1),ne(R,W,Q))).then(R=>{R=R||U(W,Q,!1),R&&(H.delta&&!pn(R,8)?o.go(-H.delta,!1):H.type===Po.pop&&pn(R,20)&&o.go(-1,!1)),te(W,Q,R)}).catch(So)}))}let ie=lo(),se=lo(),de;function ne(T,N,H){E(T);const W=se.list();return W.length?W.forEach(J=>J(T,N,H)):console.error(T),Promise.reject(T)}function be(){return de&&c.value!==xt?Promise.resolve():new Promise((T,N)=>{ie.add([T,N])})}function E(T){return de||(de=!T,ae(),ie.list().forEach(([N,H])=>T?H(T):N()),ie.reset()),T}function P(T,N,H,W){const{scrollBehavior:J}=e;if(!Ir||!J)return Promise.resolve();const Q=!H&&eS(Xu(T.fullPath,0))||(W||!H)&&history.state&&history.state.scroll||null;return Et().then(()=>J(T,N,Q)).then(R=>R&&Q0(R)).catch(R=>ne(R,T,N))}const G=T=>o.go(T);let V;const q=new Set,z={currentRoute:c,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:y,options:e,push:_,replace:A,go:G,back:()=>G(-1),forward:()=>G(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:se.add,isReady:be,install(T){const N=this;T.component("RouterLink",TS),T.component("RouterView",_m),T.config.globalProperties.$router=N,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Oe(c)}),Ir&&!V&&c.value===xt&&(V=!0,_(o.location).catch(J=>{}));const H={};for(const J in xt)Object.defineProperty(H,J,{get:()=>c.value[J],enumerable:!0});T.provide(Tl,N),T.provide(_l,jo(H)),T.provide(Uc,c);const W=T.unmount;q.add(T),T.unmount=function(){q.delete(T),q.size<1&&(u=xt,ee&&ee(),ee=null,c.value=xt,v=!1,de=!1),w()}}};function B(T){return T.reduce((N,H)=>N.then(()=>F(H)),Promise.resolve())}return z}function xS(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s$r(u,a))?r.push(a):n.push(a));const c=e.matched[s];c&&(t.matched.find(u=>$r(u,c))||o.push(c))}return[n,r,o]}function Am(e){return je(_l)}const CS=/(:\w+)\([^)]+\)/g,PS=/(:\w+)[?+*]/g,LS=/:\w+/g,IS=(e,t)=>t.path.replace(CS,"1ドル").replace(PS,"1ドル").replace(LS,n=>e.params[n.slice(1)]?.toString()||""),Bc=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&IS(e.route,n));return typeof r=="function"?r(e.route):r},MS=(e,t)=>({default:()=>e?ze(vb,e===!0?{}:e,t):t});function Al(e){return Array.isArray(e)?e:[e]}const DS={layout:"stories"},NS={layout:"stories"},zs=[{name:"url",path:"/:url(.*)*",component:()=>tn(()=>import("./B0yk66xW.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},{name:"stories",path:"/stories",meta:DS||{},component:()=>tn(()=>import("./CqX7XzRd.js"),__vite__mapDeps([21,4,2,5,6,7,22]),import.meta.url)},{name:"stories-component",path:"/stories/:component()",meta:NS||{},component:()=>tn(()=>import("./HBxv8WuU.js"),__vite__mapDeps([23,4,2,5,6,7,22,24]),import.meta.url)}],Rm=(e,t)=>({default:()=>e?ze($b,e===!0?{}:e,t):t.default?.()}),$S=/(:\w+)\([^)]+\)/g,US=/(:\w+)[?+*]/g,BS=/:\w+/g;function pf(e){const t=e?.meta.key??e.path.replace($S,"1ドル").replace(US,"1ドル").replace(BS,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function jS(e,t){return e===t||t===xt?!1:pf(e)!==pf(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const FS={scrollBehavior(e,t,n){const r=$e(),o=ut().options?.scrollBehaviorType??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Om(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const s=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===xt){a(hf(e,t,n,o));return}r.hooks.hookOnce(s,()=>{requestAnimationFrame(()=>a(hf(e,t,n,o)))})})}};function Om(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 hf(e,t,n,r){if(n)return n;const o=jS(e,t);return e.hash?{el:e.hash,top:Om(e.hash),behavior:o?r:"instant"}:{left:0,top:0}}const xm={scrollBehavior:async(e,t,n)=>{const r=e.path===t.path;if(!e.hash)return(e.query||t.query)&&r?{el:null}:n||{top:0}}},HS={hashMode:!1,scrollBehaviorType:"auto"},mf=xm.hashMode??!1,Mn={...HS,...FS,...xm},zS=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=zt(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=ar({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),i},ws=[{id:359,name:"bulgaria",translation:"България",locale:"bg-bg",fallback:"bg-bg"},{id:420,name:"czechia",translation:"Česká republika",locale:"cs-CZ",fallback:"cs-CZ"},{id:45,name:"Denmark",translation:"Denmark",locale:"da-DK",fallback:"en-INTL"},{id:4349,name:"Austria",translation:"Österreich",locale:"de-AT",fallback:"de-DE"},{id:41,name:"Switzerland",translation:"Schweiz",locale:"de-CH",fallback:"de-DE"},{id:49,name:"Germany",translation:"Deutschland",locale:"de-DE",fallback:"de-DE"},{id:971,name:"United Arab Emirates",translation:"United Arab Emirates",locale:"en-AE",fallback:"en-INTL"},{id:61,name:"Australia",translation:"Australia",locale:"en-AU",fallback:"en-INTL"},{id:973,name:"Bahrain",translation:"Bahrain",locale:"en-BH",fallback:"en-INTL"},{id:101,name:"Canada, English",translation:"Canada, English",locale:"en-CA",fallback:"en-INTL"},{id:20,name:"Egypt",translation:"Egypt",locale:"en-EG",fallback:"en-INTL"},{id:5,name:"International (EUR)",translation:"International (EUR)",locale:"en-EU",fallback:"en-INTL"},{id:44,name:"United Kingdom",translation:"United Kingdom",locale:"en-GB",fallback:"en-INTL"},{id:852,name:"Hong Kong",translation:"Hong Kong",locale:"en-HK",fallback:"en-INTL"},{id:353,name:"Ireland",translation:"Ireland",locale:"en-IE",fallback:"en-INTL"},{id:91,name:"India",translation:"India",locale:"en-IN",fallback:"en-INTL"},{id:1,name:"International (USD)",translation:"International (USD)",locale:"en-INTL",fallback:"en-INTL"},{id:254,name:"Kenya",translation:"Kenya",locale:"en-KE",fallback:"en-INTL"},{id:965,name:"Kuwait",translation:"Kuwait",locale:"en-KW",fallback:"en-INTL"},{id:64,name:"New Zealand",translation:"New Zealand",locale:"en-NZ",fallback:"en-INTL"},{id:968,name:"Oman",translation:"Oman",locale:"en-OM",fallback:"en-INTL"},{id:675,name:"Papua New Guinea",translation:"Papua New Guinea",locale:"en-PG",fallback:"en-INTL"},{id:63,name:"Philippines",translation:"Philippines",locale:"en-PH",fallback:"en-INTL"},{id:92,name:"Pakistan",translation:"Pakistan",locale:"en-PK",fallback:"en-INTL"},{id:974,name:"Qatar",translation:"Qatar",locale:"en-QA",fallback:"en-INTL"},{id:966,name:"Saudi Arabia",translation:"Saudi Arabia",locale:"en-SA",fallback:"en-INTL"},{id:65,name:"Singapore",translation:"Singapore",locale:"en-SG",fallback:"en-INTL"},{id:2,name:"United States",translation:"United States",locale:"en-US",fallback:"en-INTL"},{id:27,name:"South Africa",translation:"South Africa",locale:"en-ZA",fallback:"en-INTL"},{id:54,name:"Argentina",translation:"Argentina",locale:"es-AR",fallback:"es-ES"},{id:56,name:"Chile",translation:"Chile",locale:"es-CL",fallback:"es-ES"},{id:57,name:"Colombia",translation:"Colombia",locale:"es-CO",fallback:"es-ES"},{id:506,name:"Costa Rica",translation:"Costa Rica",locale:"es-CR",fallback:"es-ES"},{id:593,name:"Ecuador",translation:"Ecuador",locale:"es-EC",fallback:"es-ES"},{id:34,name:"Spain",translation:"España",locale:"es-ES",fallback:"es-ES"},{id:504,name:"Honduras",translation:"Honduras",locale:"es-HN",fallback:"es-ES"},{id:52,name:"Mexico",translation:"México",locale:"es-MX",fallback:"es-ES"},{id:507,name:"Panama",translation:"Panamá",locale:"es-PA",fallback:"es-ES"},{id:51,name:"Peru",translation:"Perú",locale:"es-PE",fallback:"es-ES"},{id:595,name:"Paraguay",translation:"Paraguay",locale:"es-PY",fallback:"es-ES"},{id:503,name:"El Salvador",translation:"El Salvador",locale:"es-SV",fallback:"es-ES"},{id:598,name:"Uruguay",translation:"Uruguay",locale:"es-UY",fallback:"es-ES"},{id:58,name:"Venezuela",translation:"Venezuela",locale:"es-VE",fallback:"es-ES"},{id:372,name:"Estonia",translation:"Estonia",locale:"et-EE",fallback:"en-INTL"},{id:358,name:"Finland",translation:"Finland",locale:"fi-FI",fallback:"en-INTL"},{id:3233,name:"Belgium, French",translation:"Belgique (Français)",locale:"fr-BE",fallback:"fr-FR"},{id:133,name:"Canada, French",translation:"Canada (Français)",locale:"fr-CA",fallback:"fr-FR"},{id:33,name:"France",translation:"France",locale:"fr-FR",fallback:"fr-FR"},{id:385,name:"Croatia",translation:"Croatia",locale:"hr-HR",fallback:"hr-HR"},{id:36,name:"Hungary",translation:"Magyarország",locale:"hu-HU",fallback:"hu-HU"},{id:62,name:"Indonesia",translation:"Indonesia",locale:"id-ID",fallback:"en-INTL"},{id:39,name:"Italy",translation:"Italia",locale:"it-IT",fallback:"it-IT"},{id:81,name:"Japan",translation:"日本",locale:"ja-JP",fallback:"ja-JP"},{id:82,name:"South Korea",translation:"South Korea",locale:"ko-KR",fallback:"ko-KR"},{id:352,name:"Luxembourg",translation:"Luxemburg",locale:"lb-LU",fallback:"de-DE"},{id:370,name:"Lithuania",translation:"Lithuania",locale:"lt-LT",fallback:"lt-LT"},{id:371,name:"Latvia",translation:"Latvia",locale:"lv-LV",fallback:"en-INTL"},{id:60,name:"Malaysia",translation:"Malaysia",locale:"ms-MY",fallback:"en-INTL"},{id:3231,name:"Belgium, Dutch",translation:"België, Nederlands",locale:"nl-BE",fallback:"nl-NL"},{id:31,name:"The Netherlands",translation:"Nederland",locale:"nl-NL",fallback:"nl-NL"},{id:47,name:"Norway",translation:"Norway",locale:"no-NO",fallback:"en-INTL"},{id:48,name:"Poland",translation:"Polska",locale:"pl-PL",fallback:"pl-PL"},{id:55,name:"Brazil",translation:"Brasil",locale:"pt-BR",fallback:"pt-BR"},{id:351,name:"Portugal",translation:"Portugal",locale:"pt-PT",fallback:"pt-PT"},{id:40,name:"Romania",translation:"România",locale:"ro-RO",fallback:"ro-RO"},{id:375,name:"Belarus",translation:"Беларусь",locale:"ru-BY",fallback:"ru-RU"},{id:8,name:"Kazakhstan",translation:"Казахстан",locale:"ru-KZ",fallback:"ru-RU"},{id:373,name:"Moldova",translation:"Молдавия",locale:"ru-MD",fallback:"ru-RU"},{id:7,name:"Russia",translation:"Россия",locale:"ru-RU",fallback:"ru-RU"},{id:380,name:"Ukraine",translation:"Україна",locale:"ru-UA",fallback:"ru-RU"},{id:998,name:"Uzbekistan",translation:"Узбекистан",locale:"ru-UZ",fallback:"ru-RU"},{id:421,name:"Slovakia",translation:"Slovakia",locale:"sk-SK",fallback:"en-INTL"},{id:386,name:"Slovenia",translation:"Slovenia",locale:"sl-SI",fallback:"sl-SI"},{id:46,name:"Sweden",translation:"Sweden",locale:"sv-SE",fallback:"sv-SE"},{id:66,name:"Thailand",translation:"Thailand",locale:"th-TH",fallback:"en-INTL"},{id:90,name:"Turkey",translation:"Turkey",locale:"tr-TR",fallback:"tr-TR"},{id:84,name:"Vietnam",translation:"Việt Nam",locale:"vi-VN",fallback:"vi-VN"},{id:86,name:"China",translation:"中国",locale:"zh-CN",fallback:"zh-CN"},{id:886,name:"Taiwan",translation:"台灣",locale:"zh-TW",fallback:"zh-TW"}],qS=["da-dk","de-at","de-ch","en-ae","en-au","en-bh","en-ca","en-eg","en-eu","en-gb","en-hk","en-ie","en-in","en-intl","en-ke","en-kw","en-nz","en-om","en-pg","en-ph","en-pk","en-qa","en-sa","en-sg","en-za","es-ar","es-cl","es-co","es-cr","es-ec","es-hn","es-mx","es-pa","es-pe","es-py","es-sv","es-uy","es-ve","et-ee","fi-fi","fr-be","fr-ca","hr-hr","hu-hu","id-id","lb-lu","lv-lv","ms-my","nl-be","no-no","pt-pt","ru-by","ru-kz","ru-md","ru-ua","ru-uz","sk-sk","sv-se","th-th","tr-tr","vi-vn"],Cm=["bg-bg","cs-cz","de-de","en-us","es-es","fr-fr","it-it","ja-jp","ko-kr","lt-lt","nl-nl","pl-pl","pt-br","ro-ro","ru-ru","sl-si","zh-cn","zh-tw"],lI=e=>!e||e.endsWith("/")?e:e+"/",GS=e=>e!=="/"?e.replace(/\/$/,""):e,jc=e=>e.startsWith("/")?e:`/${e}`,uI=e=>e.replace(/^\//,""),fI=({fullPath:e=!1,withoutLocale:t=!1}={})=>{const n=Wn(),r=Ze();let o=e?n.fullPath:n.path;return o=t?qi(o):o,`${r.public.baseUrl}${o}`},dI=e=>typeof e=="string"&&e.startsWith("https://"),pI=(e="")=>`${Ze().public.baseUrl}${e}`,hI=(e="")=>`${Ze().public.boaBaseUrl}${e}`,mI=(e,t)=>{const n=ut(),o={...Wn().query,...e};n.push({query:o,hash:t})},gI=e=>{const t=ut(),n=Wn().query,r=Array.isArray(e)?e:[e],o=Object.fromEntries(Object.entries(n).filter(([i])=>!r.includes(i)));t.push({query:o})},VS="text/plain",KS="us-ascii",Ws=(e,t)=>t.some(n=>n instanceof RegExp?n.test(e):n===e),YS=new Set(["https:","http:","file:"]),JS=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!YS.has(t)}catch{return!1}},XS=(e,{stripHash:t})=>{const n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw new Error(`Invalid URL: ${e}`);let{type:r,data:o,hash:i}=n.groups;const s=r.split(";");i=t?"":i;let a=!1;s[s.length-1]==="base64"&&(s.pop(),a=!0);const c=s.shift()?.toLowerCase()??"",l=[...s.map(f=>{let[d,p=""]=f.split("=").map(h=>h.trim());return d==="charset"&&(p=p.toLowerCase(),p===KS)?"":`${d}${p?`=${p}`:""}`}).filter(Boolean)];return a&&l.push("base64"),(l.length>0||c&&c!==VS)&&l.unshift(c),`data:${l.join(";")},${a?o.trim():o}${i?`#${i}`:""}`};function QS(e,t){if(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,removePath:!1,transformPath:!1,...t},typeof t.defaultProtocol=="string"&&!t.defaultProtocol.endsWith(":")&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return XS(e,t);if(JS(e))return e;const n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const o=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&o.protocol==="https:"&&(o.protocol="http:"),t.forceHttps&&o.protocol==="http:"&&(o.protocol="https:"),t.stripAuthentication&&(o.username="",o.password=""),t.stripHash?o.hash="":t.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){const s=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let a=0,c="";for(;;){const l=s.exec(o.pathname);if(!l)break;const f=l[0],d=l.index,p=o.pathname.slice(a,d);c+=p.replace(/\/{2,}/g,"/"),c+=f,a=d+f.length}const u=o.pathname.slice(a,o.pathname.length);c+=u.replace(/\/{2,}/g,"/"),o.pathname=c}if(o.pathname)try{o.pathname=decodeURI(o.pathname).replace(/\\/g,"%5C")}catch{}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let s=o.pathname.split("/");const a=s[s.length-1];Ws(a,t.removeDirectoryIndex)&&(s=s.slice(0,-1),o.pathname=s.slice(1).join("/")+"/")}if(t.removePath&&(o.pathname="/"),t.transformPath&&typeof t.transformPath=="function"){const s=o.pathname.split("/").filter(Boolean),a=t.transformPath(s);o.pathname=a?.length>0?`/${a.join("/")}`:"/"}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const s of[...o.searchParams.keys()])Ws(s,t.removeQueryParameters)&&o.searchParams.delete(s);if(!Array.isArray(t.keepQueryParameters)&&t.removeQueryParameters===!0&&(o.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const s of[...o.searchParams.keys()])Ws(s,t.keepQueryParameters)||o.searchParams.delete(s);if(t.sortQueryParameters){const s=o.search;o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch{}const a=s.slice(1).split("&").filter(c=>c&&!c.includes("="));for(const c of a){const u=decodeURIComponent(c);o.search=o.search.replace(`?${u}=`,`?${u}`).replace(`&${u}=`,`&${u}`)}}t.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),t.removeExplicitPort&&o.port&&(o.port="");const i=e;return e=o.toString(),!t.removeSingleSlash&&o.pathname==="/"&&!i.endsWith("/")&&o.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||o.pathname==="/")&&o.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}const ir={warn:e=>{console.warn(`[redirect-monitor] ${e}`)},error:e=>{console.error(`[redirect-monitor] ${e}`)},info:e=>{console.log(`[redirect-monitor] ${e}`)}};function ZS(){const e=Math.random().toString(36).substring(2,8),t=performance.now(),n=`redirect-count-${e}`;return{requestId:e,startTime:t,checkRedirectCount(){const r=globalThis,i=(r[n]||0)+1;return r[n]=i,i>3?(ir.error(`Excessive redirects detected: ${i} redirects | ID: ${e}`),!1):(i>1&&ir.warn(`Redirect chain: ${i} redirects | ID: ${e}`),!0)},logSlowRequest(r){const o=performance.now()-t;o>2e3&&ir.warn(`Slow ${r}: ${o.toFixed(2)}ms | ID: ${e}`)},logSameUrlGuard(r){ir.warn(`Same-URL guard activated | ID: ${e} | URL: ${r}`)}}}function eE(e,t){const n=e.substring(0,200)+(e.length>200?"...":""),r=t instanceof Error?t.message:"Unknown error";ir.warn(`URL normalization failed: ${n} | Error: ${r}`)}function tE(e,t){const n=e.substring(0,100)+"...";ir.warn(`Extremely long query string: ${t} characters | URL: ${n}`)}function nE(e,t){ir.warn(`Query string truncated from ${e} to ${t} characters`)}const rE=(e,t="http://nuxt.local")=>{try{let n=e;e.startsWith("//")&&!e.startsWith("//www.")&&!e.includes(".")&&(n="/"+e.replace(/^\/+/,""));const r=n.startsWith("http")?n:new URL(n,t).href;return QS(r,{removeTrailingSlash:!0,stripHash:!1,stripWWW:!1,sortQueryParameters:!0})}catch(n){return eE(e,n),e}},gf=e=>/^([a-z][a-z0-9+\-.]*:)?\/\//i.test(e),oE=(e,t)=>{const n=r=>r==="/"?"/":r.replace(/\/{2,}/g,"/").replace(/\/+$/,"");return n(e)===n(t)},Pm=(e,t,n)=>{try{const r=new URL(t,"http://nuxt.local"),o=r.search+r.hash;if(o.length>8e3&&tE(t,o.length),n&&o.length>n)return nE(o.length,n),e+iE(o,n);const i=/[?#]/.test(e)?e:e+o;return i===t?e:i}catch{return e}},Lm=(e,t)=>{try{if(!t){const{public:{baseUrl:n}}=Ze();t=n||"http://localhost"}return new URL(e,t)}catch{return new URL(e,"http://localhost")}},iE=(e,t)=>{if(e.length<=t)return e;let n=t;e[n-1]==="%"?n-=1:n>=2&&e[n-2]==="%"&&/[0-9A-Fa-f]/.test(e[n-1])&&(n-=2);let r=0;for(;n>0&&n{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),yI=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),hs=e=>{const t=$e();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{yf(()=>e())}):yf(()=>e())};function sE(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function aE(e,t=ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>aE(e,t));t._routePreloaded.add(n);for(const i of r){const s=i.components?.default;if(typeof s!="function")continue;const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function cE(e={}){const t=e.path||window.location.pathname;let n={};try{n=Bi(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires{const{path:e}=Wn(),t=Dm(e),n=he(t),r=he(""),o=he(!1),i=me(()=>n.value==="ja-jp");return{currentLocale:n,ipDetectedLocale:r,ipDetectorIsVisible:o,isJapanLocale:i}}),Dr="en-intl",dE="en-US",pE=[...qS,...Cm].sort(),hE=["bg","ru","ro","sl"],mE=e=>!e||!e.includes("-")?e:e.replace(/-([a-z]{2}|\d{3})$/i,(t,n)=>`-${n.toUpperCase()}`),Im=(e,t=!0)=>{if(!e)return Dr;let n=e.toLowerCase().replace("_","-");if(n==="zh-tw")return t?"zh-Hant-TW":"zh-tw";const r=n.split("-")[0],o=new RegExp(`^${r}`),i=hE.includes(r);return n=Cm.find(s=>o.test(s)),n=!n||i?dE:n,t?mE(n):n},bI=(e,t,n=!1)=>{const r=new Date(e);return new Intl.DateTimeFormat(t,{year:"numeric",month:n?"numeric":"long",day:"numeric"}).format(r)},gE=new Set(pE.map(e=>e.toLowerCase())),Ol=e=>{const n=Lm(e).pathname.split("/").filter(Boolean),r=n[0]?.toLowerCase()||"";return{matchFound:gE.has(r),splitPath:n}},qi=e=>{const{matchFound:t,splitPath:n}=Ol(e);if(!t)return e;const r=n.slice(1).join("/");return r?jc(r):"/"},Mm=(e="/",t)=>{if(!t){const{currentLocale:c}=Ho(Rl());t=c.value}const{search:n,hash:r,pathname:o}=Lm(e),i=n+r;if(t===Dr)return o==="/"?jc(i):qi(o)+i;const s=qi(o);return GS(jc(`${t}${s}`))+i},Dm=e=>{if(!e||typeof e!="string")return Dr;const{matchFound:t,splitPath:n}=Ol(e);return t&&n[0]||Dr};new Map(WS.map(e=>[e.locale.toLowerCase(),e.name]));const yE={"/bricscad-lite":"/bricscad/lite","/bricscad-pro":"/bricscad/pro","/bricscad-bim":"/bricscad/bim","/bricscad-mechanical":"/bricscad/mechanical","/bricscad-ultimate":"/bricscad/ultimate","/bricscad-shape":"/bricscad/shape","/bricscad-v24":"/bricscad/v24","/migrating-to-bricscad":"/bricscad/migrating-to-bricscad","/communicator":"/bricscad/communicator","/bricscad/japan":"/ja-jp/bricscad/japan"},bE=[{from:"/bricscad-download",to:"/communicator-download",queryParam:"p",queryValue:"comm"}],vE=(e,t,n,r)=>{for(const o of bE){const i=d=>d==="/"?"/":d.replace(/\/+/g,"/").replace(/\/+$/,"");if(i(e)!==i(o.from))continue;const s=t[o.queryParam],a=Array.isArray(s)?s[0]:s;if(a==null||a!==o.queryValue)continue;const c=Mm(o.to,r),u=new URL(n,"http://nuxt.local");if(i(u.pathname)===i(c))return null;const l=Pm(c,n,8e3);if(l===n||/^([a-z]+:)?\/\//i.test(l))return null;const f=`Redirect [conditional]: ${n} → ${l} (${o.queryParam}=${o.queryValue})`;return{path:l,logMessage:f}}return null},wE=(e,t)=>{if(e.path==="/sw.js"||t&&e.fullPath.split("#")[0]===t.fullPath.split("#")[0]&&e.hash!==t.hash)return;const n=ZS(),r=rE(e.fullPath),o=Dm(r)||Dr,i=qi(new URL(r).pathname),s=vE(i,e.query,r,o);if(s){if(!n.checkRedirectCount()){n.logSlowRequest("conditional redirect prevented");return}return n.logSlowRequest("conditional redirect"),Uu(s.path,{})}const a=new URL(r).pathname.replace(/\/+$/,"")||"/",c=i==="/"?"/":i.replace(/\/+$/,""),u=yE[c];if(!u)return;const l=typeof u=="string"?u:u.to;if(gf(l))return;const f=l.startsWith("/")?l:`/${l}`,d=Ol(f).matchFound?f:Mm(f,o);if(oE(a,d))return;const p=Pm(d,r,8e3);if(gf(p)||p===e.fullPath){p===e.fullPath&&(n.logSameUrlGuard(p),n.logSlowRequest("same-URL guard"));return}if(!n.checkRedirectCount()){n.logSlowRequest("standard redirect prevented");return}return n.logSlowRequest("standard redirect"),Uu(p,{})},SE=(e,t)=>{},EE=async e=>{let t,n;const r=([t,n]=zt(()=>Sl({path:e.path})),t=await t,n(),t);if(r.redirect)return mr(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},kE=[zS,wE,SE,EE],Fc={};function TE(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const u=i.includes(e.slice(s))?e.slice(s).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),Iu(l,"")}const a=Iu(r,e),c=!n||zv(a,n)?a:n;return c+(c.includes("?")?"":o)+i}const _E=De({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Ze().app.baseURL;mf&&!r.includes("#")&&(r+="#");const o=Mn.history?.(r)??(mf?oS(r):vm(r)),i=Mn.routes?([t,n]=zt(()=>Mn.routes(zs)),t=await t,n(),t??zs):zs;let s;const a=OS({...Mn,scrollBehavior:(m,y,b)=>{if(y===xt){s=b;return}if(Mn.scrollBehavior){if(a.options.scrollBehavior=Mn.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return Mn.scrollBehavior(m,xt,s||b)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=Ee(a.currentRoute.value);a.afterEach((m,y)=>{c.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=TE(r,window.location,e.payload.path),l=Ee(a.currentRoute.value),f=()=>{l.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,y)=>{m.matched[m.matched.length-1]?.components?.default===y.matched[y.matched.length-1]?.components?.default&&f()});const d={};for(const m in l.value)Object.defineProperty(d,m,{get:()=>l.value[m],enumerable:!0});e._route=jo(d),e._middleware||={global:[],named:{}};const p=fs();a.afterEach(async(m,y,b)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(vw),b&&await e.callHook("page:loading:end")});try{[t,n]=zt(()=>a.isReady()),await t,n()}catch(m){[t,n]=zt(()=>e.runWithContext(()=>rr(m))),await t,n()}const h=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const g=e.payload.state._layout;return a.beforeEach(async(m,y)=>{await e.callHook("page:loading:start"),m.meta=Je(m.meta),e.isHydrating&&g&&!wb(m.meta.layout)&&(m.meta.layout=g),e._processingMiddleware=!0;{const b=new Set([...kE,...e._middleware.global]);for(const w of m.matched){const _=w.meta.middleware;if(_)for(const A of Al(_))b.add(A)}{const w=await e.runWithContext(()=>Sl({path:m.path}));if(w.appMiddleware)for(const _ in w.appMiddleware)w.appMiddleware[_]?b.add(_):b.delete(_)}for(const w of b){const _=typeof w=="string"?e._middleware.named[w]||await Fc[w]?.().then(A=>A.default||A):w;if(!_)throw new Error(`Unknown route middleware: '${w}'.`);try{const A=await e.runWithContext(()=>_(m,y));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const O=A||ar({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>rr(O)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return Xh(A)&&A.fatal&&await e.runWithContext(()=>rr(A)),A}catch(A){const O=ar(A);return O.fatal&&await e.runWithContext(()=>rr(O)),O}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(m=>{if(m.matched.length===0)return e.runWithContext(()=>rr(ar({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=Mn.scrollBehavior}catch(m){await e.runWithContext(()=>rr(m))}}),{provide:{router:a}}}}),AE=De({name:"nuxt:payload",setup(e){const t=new Set;ut().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await Ku(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),hs(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Ku(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(ds,1e3)})}}),RE=De(()=>{const e=ut();hs(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),OE=De(e=>{let t;async function n(){let r;try{r=await ds()}catch(o){const i=o;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,fu);try{const o=await $fetch(vl("builds/latest.json")+`?${Date.now()}`);o.id!==r?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}hs(()=>{t=setTimeout(n,fu)})}),xE=De({name:"nuxt:chunk-reload",setup(e){const t=ut(),n=Ze(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s=yl(n.app.baseURL,i.fullPath);cE({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}});function CE(){return Ze().public["nuxt-scripts"]}function PE(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}function LE(e,t){e=typeof e=="string"?{src:e}:e,t=us(t,CE()?.defaultScriptOptions);const n=String(PE(e)),r=$e();if(t.head=t.head||sm(),!t.head)throw new Error("useScript() has been called without Nuxt context.");r.$scripts=r.$scripts||Je({}),r.$scripts?.[n];const o=t._validate?.();(t.trigger==="onNuxtReady"||t.trigger==="client")&&(t.warmupStrategy||(t.warmupStrategy="preload"),t.trigger==="onNuxtReady"&&(t.trigger=hs));const i=f0(e,t),s=i.remove;i.remove=()=>(r.$scripts[n]=void 0,s());const a=i.load;return i.load=async()=>o?Promise.reject(o):a(),r.$scripts[n]=i,i}const Hr=Object.freeze(Object.assign(()=>{},{__mock__:!0})),IE=Hr,er=Hr,qs=Hr,hn=Hr,Gs=Hr,Vs=Hr;function ME(e){return(Ze().public.scripts||{})[e]}function DE(e,t,n){const r=ME(e),o=Object.assign(n||{},typeof r=="object"?r:{}),i=t(o,{scriptInput:o.scriptInput});let s=i.scriptInput;const a=o.scriptInput?.src,c=i.scriptInput?.src;if(a&&c&&typeof c=="string"&&typeof a=="string"){const d=Hi(c),p=Hi(a),h=Fi(d.search||""),g=Fi(p.search||""),m={...h,...g},y=p.href?.split("?")[0]||a;s={...i.scriptInput||{},src:ls(y,m)}}const u=us(s,o.scriptInput,{key:e}),l=Object.assign(o?.scriptOptions||{},i.scriptOptions||{}),f=l.beforeInit;return l.beforeInit=()=>{f?.(),i.clientInit?.()},LE(u,l)}IE({id:er(),l:hn(er()),auth:hn(er()),preview:hn(er()),cookiesWin:hn(Vs([qs(),Gs("x")])),debug:hn(Vs([qs(),Gs("x")])),npa:hn(Vs([qs(),Gs("1")])),dataLayer:hn(er()),envName:hn(er()),authReferrerPolicy:hn(er())});function NE(e){return DE(e?.key||"googleTagManager",t=>{const n=t?.l??t?.dataLayer??"dataLayer";return{scriptInput:{src:ls("https://www.googletagmanager.com/gtm.js",{id:t.id,l:t.l,gtm_auth:t.auth,gtm_preview:t.preview,gtm_cookies_win:t.cookiesWin?"x":void 0,gtm_debug:t.debug?"x":void 0,gtm_npa:t.npa?"1":void 0,gtm_data_layer:t.dataLayer,gtm_env:t.envName,gtm_auth_referrer_policy:t.authReferrerPolicy})},schema:void 0,scriptOptions:{use:()=>({dataLayer:window[n],google_tag_manager:window.google_tag_manager})},clientInit:()=>{window[n]=window[n]||[];function r(){window[n].push(arguments)}e?.onBeforeGtmStart?.(r),window[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"})}}},e)}const $E=De({name:"scripts:init",env:{islands:!1},parallel:!0,setup(){return{provide:{$scripts:{googleTagManager:NE({id:"GTM-T3ZRWS"})}}}}}),UE=De({name:"pinia",setup(e){const t=ww();return e.vueApp.use(t),Fo(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),BE=Oo(()=>tn(()=>import("./CFOUwdm7.js"),__vite__mapDeps([6,2]),import.meta.url).then(e=>e.default||e.default||e)),jE=[["Icon",BE]],FE=De({name:"nuxt:global-components",setup(e){for(const[t,n]of jE)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),jn={default:Oo(()=>tn(()=>import("./Ba16kZrU.js"),__vite__mapDeps([25,16,2,13,4,5,6,7,9,14,3,8,10,1,11,17,18,19,26,27]),import.meta.url).then(e=>e.default||e)),stories:Oo(()=>tn(()=>import("./Dqs2NnSL.js"),__vite__mapDeps([28,4,2,5,6,7,3,8,9,10,22,26]),import.meta.url).then(e=>e.default||e))},HE=De({name:"nuxt:prefetch",setup(e){const t=ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof jn[r]=="function"&&await jn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(mr(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=Al(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof Fc[s]=="function"&&Fc[s]();typeof o=="string"&&o in jn&&sE(jn[o])})}}),zE=De(()=>({provide:{pwaIcons:{transparent:{},maskable:{},favicon:{},apple:{},appleSplashScreen:{}}}})),WE=De(()=>({provide:Je({ssrClientHints:{firstRequest:!1,prefersColorSchemeAvailable:!1,prefersReducedMotionAvailable:!1,viewportHeightAvailable:!1,viewportWidthAvailable:!1}})})),Nm=/^[a-z0-9]+(-[a-z0-9]+)*$/,zo=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Ai(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Ai(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return t&&!Ai(a,n)?null:a}return null},Ai=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,$m=Object.freeze({left:0,top:0,width:16,height:16}),Gi=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),zr=Object.freeze({...$m,...Gi}),Hc=Object.freeze({...zr,body:"",hidden:!1});function qE(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function bf(e,t){const n=qE(e,t);for(const r in Hc)r in Gi?r in e&&!(r in n)&&(n[r]=Gi[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function GE(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function VE(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=bf(r[a]||o[a],i)}return s(t),n.forEach(s),bf(e,i)}function Um(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=GE(e);for(const o in r){const i=r[o];i&&(t(o,VE(e,o,i)),n.push(o))}return n}const KE={provider:"",aliases:{},not_found:{},...$m};function Ks(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Bm(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ks(e,KE))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!Ks(i,Hc))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!Ks(i,Hc))return null}return t}const vf=Object.create(null);function YE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function dr(e,t){const n=vf[e]||(vf[e]=Object.create(null));return n[t]||(n[t]=YE(e,t))}function jm(e,t){return Bm(t)?Um(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function JE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Lo=!1;function Fm(e){return typeof e=="boolean"&&(Lo=e),Lo}function xl(e){const t=typeof e=="string"?zo(e,!0,Lo):e;if(t){const n=dr(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function XE(e,t){const n=zo(e,!0,Lo);if(!n)return!1;const r=dr(n.provider,n.prefix);return t?JE(r,n.name,t):(r.missing.add(n.name),!0)}function QE(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Lo&&!t&&!e.prefix){let o=!1;return Bm(e)&&(e.prefix="",Um(e,(i,s)=>{XE(i,s)&&(o=!0)})),o}const n=e.prefix;if(!Ai({prefix:n,name:"a"}))return!1;const r=dr(t,n);return!!jm(r,e)}function vI(e){const t=xl(e);return t&&{...zr,...t}}const Hm=Object.freeze({width:null,height:null}),zm=Object.freeze({...Hm,...Gi}),ZE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ek=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wf(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(ZE);if(r===null||!r.length)return e;const o=[];let i=r.shift(),s=ek.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function tk(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("",i);if(s===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function nk(e,t){return e?""+e+""+t:t}function rk(e,t,n){const r=tk(e);return nk(r.defs,t+r.content+n)}const ok=e=>e==="unset"||e==="undefined"||e==="none";function ik(e,t){const n={...zr,...e},r={...zm,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(g=>{const m=[],y=g.hFlip,b=g.vFlip;let w=g.rotate;y?b?w+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):b&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let _;switch(w<0&&(w-=math.floor(w/4)*4),w=w%4,w){case 1:_=o.height/2+o.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:_=o.width/2+o.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}w%2===1&&(o.left!==o.top&&(_=o.left,o.left=o.top,o.top=_),o.width!==o.height&&(_=o.width,o.',""))});const s=r.width,a=r.height,c=o.width,u=o.height;let l,f;s===null?(f=a===null?"1em":a==="auto"?u:a,l=wf(f,c/u)):(l=s==="auto"?c:s,f=a===null?wf(l,u/c):a==="auto"?u:a);const d={},p=(g,m)=>{ok(m)||(d[g]=m.toString())};p("width",l),p("height",f);const h=[o.left,o.top,c,u];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:i}}const sk=/\sid="(\S+)"/g,ak="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ck=0;function lk(e,t=ak){const n=[];let r;for(;r=sk.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(ck++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"1ドル"+s+o+"3ドル")}),e=e.replace(new RegExp(o,"g"),""),e}const zc=Object.create(null);function Wm(e,t){zc[e]=t}function Wc(e){return zc[e]||zc[""]}function Cl(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ms=Object.create(null),uo=["https://api.simplesvg.com","https://api.unisvg.com"],Ri=[];for(;uo.length>0;)uo.length===1||Math.random()>.5?Ri.push(uo.shift()):Ri.push(uo.pop());ms[""]=Cl({resources:["https://api.iconify.design"].concat(Ri)});function qm(e,t){const n=Cl(t);return n===null?!1:(ms[e]=n,!0)}function gs(e){return ms[e]}function uk(){return Object.keys(ms)}const fk=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Vi=fk();function dk(e){Vi=e}function pk(){return Vi}function hk(e,t){const n=gs(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function mk(e){return e===404}const gk=(e,t,n)=>{const r=[],o=hk(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),r.push(s),r};function yk(e){if(typeof e=="string"){const t=gs(e);if(t)return t.path}return"/"}const bk=(e,t,n)=>{if(!Vi){n("abort",424);return}let r=yk(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;Vi(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(mk(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},vk={prepare:gk,send:bk};function wk(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,a=o.name,c=n[i]||(n[i]=Object.create(null)),u=c[s]||(c[s]=dr(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const f={provider:i,prefix:s,name:a};l.push(f)}),t}function Gm(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Sk(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Gm([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Ek=0;function kk(e,t,n){const r=Ek++,o=Gm.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Tk(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?zo(o,t,n):o;i&&r.push(i)}),r}var _k={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Ak(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let O=e.resources.slice(0);for(s=[];O.length>1;){const x=Math.floor(Math.random()*O.length);s.push(O[x]),O=O.slice(0,x).concat(O.slice(x+1))}s=s.concat(O)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function g(){c==="pending"&&(c="aborted"),h(),d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function m(O,x){x&&(p=[]),typeof O=="function"&&p.push(O)}function y(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:d.length,subscribe:m,abort:g}}function b(){c="failed",p.forEach(O=>{O(void 0,l)})}function w(){d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function _(O,x,D){const F=x!=="success";switch(d=d.filter(j=>j!==O),c){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){l=D,b();return}if(F){l=D,d.length||(s.length?A():b());return}if(h(),w(),!e.random){const j=e.resources.indexOf(O.resource);j!==-1&&j!==e.index&&(e.index=j)}c="completed",p.forEach(j=>{j(D)})}function A(){if(c!=="pending")return;h();const O=s.shift();if(O===void 0){if(d.length){f=setTimeout(()=>{h(),c==="pending"&&(w(),b())},e.timeout);return}b();return}const x={status:"pending",resource:O,callback:(D,F)=>{_(x,D,F)}};d.push(x),u++,f=setTimeout(A,e.rotate),n(O,t,x.callback)}return setTimeout(A),y}function Vm(e){const t={..._k,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,u){const l=Ak(t,a,c,(f,d)=>{r(),u&&u(f,d)});return n.push(l),l}function i(a){return n.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Sf(){}const Ys=Object.create(null);function Rk(e){if(!Ys[e]){const t=gs(e);if(!t)return;const n=Vm(t),r={config:t,redundancy:n};Ys[e]=r}return Ys[e]}function Km(e,t,n){let r,o;if(typeof e=="string"){const i=Wc(e);if(!i)return n(void 0,424),Sf;o=i.send;const s=Rk(e);s&&(r=s.redundancy)}else{const i=Cl(e);if(i){r=Vm(i);const s=e.resources?e.resources[0]:"",a=Wc(s);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Sf):r.query(t,o,n)().abort}function Ef(){}function Ok(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Sk(e)}))}function xk(e){const t=[],n=[];return e.forEach(r=>{(r.match(Nm)?t:n).push(r)}),{valid:t,invalid:n}}function fo(e,t,n){function r(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!jm(e,n).length){r();return}}catch(o){console.error(o)}r(),Ok(e)}function kf(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Ck(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){kf(e.loadIcons(o,r,n),l=>{fo(e,o,l)});return}if(i){o.forEach(l=>{const f=i(l,r,n);kf(f,d=>{const p=d?{prefix:r,icons:{[l]:d}}:null;fo(e,[l],p)})});return}const{valid:s,invalid:a}=xk(o);if(a.length&&fo(e,a,null),!s.length)return;const c=r.match(Nm)?Wc(n):null;if(!c){fo(e,s,null);return}c.prepare(n,r,s).forEach(l=>{Km(n,l,f=>{fo(e,l.icons,f)})})}))}const Ym=(e,t)=>{const n=Tk(e,!0,Fm()),r=wk(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Ef)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(dr(u,l));const f=o[u]||(o[u]=Object.create(null));f[l]||(f[l]=[])}),r.pending.forEach(c=>{const{provider:u,prefix:l,name:f}=c,d=dr(u,l),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),o[u][l].push(f))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&Ck(c,u)}),t?kk(t,r,i):Ef},wI=e=>new Promise((t,n)=>{const r=typeof e=="string"?zo(e,!0):e;if(!r){n(e);return}Ym([r||e],o=>{if(o.length&&r){const i=xl(r);if(i){t({...zr,...i});return}}n(e)})});function Pk(e,t,n){dr("",t).loadIcons=e}function Lk(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in Hm?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Ik=/[\s,]+/;function Mk(e,t){t.split(Ik).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Dk(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function Nk(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:x';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function $k(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function Uk(e){return"data:image/svg+xml,"+$k(e)}function Bk(e){return'url("'+Uk(e)+'")'}const Tf={...zm,inline:!1},jk={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Fk={display:"inline-block"},qc={backgroundColor:"currentColor"},Jm={backgroundColor:"transparent"},_f={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Af={webkitMask:qc,mask:qc,background:Jm};for(const e in Af){const t=Af[e];for(const n in _f)t[e+n]=_f[n]}const Oi={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Oi[e+"-flip"]=t,Oi[e.slice(0,1)+"-flip"]=t,Oi[e+"Flip"]=t});function Rf(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Of=(e,t)=>{const n=Lk(Tf,t),r={...jk},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let g in t){const m=t[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&Mk(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=Dk(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const y=Oi[g];y?(m===!0||m==="true"||m===1)&&(n[y]=!0):Tf[g]===void 0&&(r[g]=m)}}}const c=ik(e,n),u=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...a},Object.assign(r,u);let g=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=lk(c.body,m?()=>m+"ID"+g++:"iconifyVue"),ze("svg",r)}const{body:l,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),h=Nk(l,{...u,width:f+"",height:d+""});return r.style={...i,"--svg":Bk(h),width:Rf(u.width),height:Rf(u.height),...Fk,...p?qc:Jm,...a},ze("span",r)};Fm(!0);Wm("",vk);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!QE(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;qm(n,o)||console.error(r)}catch{console.error(r)}}}}const Hk={...zr,body:""},SI=rn((e,{emit:t})=>{const n=he(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=he(!!e.ssr),i=he(""),s=Ee(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=zo(u,!1,!0))===null)return null;let f=xl(l);if(!f){const h=n.value;return(!h||h.name!==u)&&(f===null?n.value={name:u}:n.value={name:u,abort:Ym([l],c)}),null}r(),i.value!==u&&(i.value=u,Et(()=>{t("load",u)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,l.name,l.prefix,l.provider);typeof h=="string"&&(f.body=h)}const p=["iconify"];return l.prefix!==""&&p.push("iconify--"+l.prefix),l.provider!==""&&p.push("iconify--"+l.provider),{data:f,classes:p}}function c(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?c():cs(()=>{o.value=!0,c()}),Ke(()=>e.icon,c),_h(r),()=>{const u=s.value;if(!u)return Of(Hk,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Of({...zr,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),xf={getAPIConfig:gs,setAPIModule:Wm,sendAPIQuery:Km,setFetch:dk,getFetch:pk,listAPIProviders:uk},zk=De({name:"@nuxt/icon",setup(){const e=Ze(),t=fE().icon;xf.setFetch($fetch.native);const n=[];if(t.provider==="server"){const o=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(o+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?xf.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(o,i){try{const s=await $fetch(n[0]+"/"+i+".json",{query:{icons:o.join(",")}});if(!s||s.prefix!==i||!s.icons)throw new Error("Invalid data"+JSON.stringify(s));return s}catch(s){return console.error("Failed to load custom icons",s),null}}qm("",{resources:n});for(const o of t.customCollections||[])o&&Pk(r,o)}}),Wk=new RegExp(/Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|Google-InspectionTool|Storebot-Google|GoogleOther|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|Nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub\.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|yandex\.com\/bots|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|Turnitin|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail\.RU_Bot|discobot|heritrix|findthatfile|europarchive\.org|NerdByNature\.Bot|(sistrix|SISTRIX) [cC]rawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|SeznamBot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net\.com\.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler\.com|siteexplorer\.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e\.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf\.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive\.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy\.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest\.com\/bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|[pP]ingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr\.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb\.iss\.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|MeltwaterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot\.AraTurka\.com|bot-pge\.chlooe\.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove\.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY\.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider\.com|GroupHigh\/|theoldreader\.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip\.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|[Cc]urebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge|centurybot|Viber|e\.ventures Investment Crawler|evc-batch|PetalBot|virustotal|(^| )PTST\/|minicrawler|Cookiebot|trovitBot|seostar\.co|IonCrawl|Uptime-Kuma|Seekport|FreshpingBot|Feedbin|CriteoBot|Snap URL Preview Service|Better Uptime Bot|RuxitSynthetic|Google-Read-Aloud|Valve\/Steam|OdklBot\/|GPTBot|ChatGPT-User|YandexRenderResourcesBot\/|LightspeedSystemsCrawler|ev-crawler\/|BitSightBot\/|woorankreview\/|Google-Safety|AwarioBot|DataForSeoBot|Linespider|WellKnownBot|A Patent Crawler|StractBot|search\.marginalia\.nu|YouBot|Nicecrawler|Neevabot|BrightEdge Crawler|SiteCheckerBotCrawler|TombaPublicWebCrawler|CrawlyProjectCrawler|KomodiaBot|KStandBot|CISPA Webcrawler|MTRobot|hyscore\.io|AlexandriaOrgBot|2ip bot|Yellowbrandprotectionbot|SEOlizer|vuhuvBot|INETDEX-BOT|Synapse|t3versionsBot|deepnoc|Cocolyzebot|hypestat|ReverseEngineeringBot|sempi\.tech|Iframely|MetaInspector|node-fetch|lkxscan|python-opengraph|OpenGraphCheck|developers\.google\.com\/\+\/web\/snippet|SenutoBot|MaCoCu|NewsBlur|inoreader|NetSystemsResearch|PageThing|WordPress\/|PhxBot|ImagesiftBot|Expanse|InternetMeasurement|^BW\/|GeedoBot|Audisto Crawler|PerplexityBot\/|[cC]laude[bB]ot|Monsidobot|GroupMeBot|Vercelbot|vercel-screenshot/),qk=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,Gk=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,Vk=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,Kk=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function Yk(e){return qk.test(e)||Gk.test(e.slice(0,4))}function Jk(e){return Vk.test(e)||Kk.test(e.slice(0,4))}function Xk(e){return/iPad|iPhone|iPod/.test(e)}function Qk(e){return/android/i.test(e)}function Zk(e){return/Windows/.test(e)}function eT(e){return/Mac OS X/.test(e)}const tT=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function nT(e){for(const t of tT)if(t.regex.test(e))return t.name;return""}function Cf(e,t={}){let n=!1,r=!1,o=!1,i=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,r=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,r=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,r=!1),t["cloudfront-is-ios-viewer"]==="true"&&(o=!0),t["cloudfront-is-android-viewer"]==="true"&&(i=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,r=!0;break;case"tablet":n=!1,r=!0;break;case"desktop":n=!1,r=!1;break}else n=Yk(e),r=Jk(e),o=Xk(e),i=Qk(e);const s=Zk(e),a=eT(e),c=nT(e),u=c==="Safari",l=c==="Firefox",f=c==="Edge",d=c==="Chrome",p=c==="Samsung",h=Wk.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:r,isTablet:!n&&r,isDesktop:!r,isIos:o,isAndroid:i,isWindows:s,isMacOS:a,isApple:a||o,isDesktopOrTablet:!n,isSafari:u,isFirefox:l,isEdge:f,isChrome:d,isSamsung:p,isCrawler:h}}const rT=De(()=>{const e=Ze(),t=e.public.device.defaultUserAgent;let n;{const r=navigator.userAgent||t;n=Je(Cf(r)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const o=Cf(navigator.userAgent||r);Object.entries(o).forEach(([i,s])=>{n[i]=s})},50)})}return{provide:{device:n}}});function Xm(e,t){return function(){return e.apply(t,arguments)}}const{toString:oT}=Object.prototype,{getPrototypeOf:Pl}=Object,{iterator:ys,toStringTag:Qm}=Symbol,bs=(e=>t=>{const n=oT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gt=e=>(e=e.toLowerCase(),t=>bs(t)===e),vs=e=>t=>typeof t===e,{isArray:Wr}=Array,Br=vs("undefined");function Wo(e){return e!==null&&!Br(e)&&e.constructor!==null&&!Br(e.constructor)&&ht(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Zm=Gt("ArrayBuffer");function iT(e){let t;return typeof ArrayBuffer<"u"&&arraybuffer.isview?t=arraybuffer.isview(e):t=e&&e.buffer&&zm(e.buffer),t}const sT=vs("string"),ht=vs("function"),eg=vs("number"),qo=e=>e!==null&&typeof e=="object",aT=e=>e===!0||e===!1,xi=e=>{if(bs(e)!=="object")return!1;const t=Pl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Qm in e)&&!(ys in e)},cT=e=>{if(!qo(e)||Wo(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},lT=Gt("Date"),uT=Gt("File"),fT=Gt("Blob"),dT=Gt("FileList"),pT=e=>qo(e)&&ht(e.pipe),hT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ht(e.append)&&((t=bs(e))==="formdata"||t==="object"&&ht(e.toString)&&e.toString()==="[object FormData]"))},mT=Gt("URLSearchParams"),[gT,yT,bT,vT]=["ReadableStream","Request","Response","Headers"].map(Gt),wT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Go(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Wr(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const sr=typeof globalThis<"u"?globalthis:typeof self<"u"?self:typeof window<"u"?window:global,ng=e=>!Br(e)&&e!==sr;function Gc(){const{caseless:e,skipUndefined:t}=ng(this)&&this||{},n={},r=(o,i)=>{const s=e&&tg(n,i)||i;xi(n[s])&&xi(o)?n[s]=Gc(n[s],o):xi(o)?n[s]=Gc({},o):Wr(o)?n[s]=o.slice():(!t||!Br(o))&&(n[s]=o)};for(let o=0,i=arguments.length;o(Go(t,(o,i)=>{n&&ht(o)?e[i]=Xm(o,n):e[i]=o},{allOwnKeys:r}),e),ET=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kT=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},TT=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-->0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Pl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},_T=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},AT=e=>{if(!e)return null;if(Wr(e))return e;let t=e.length;if(!eg(t))return null;const n=new Array(t);for(;t-->0;)n[t]=e[t];return n},RT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pl(uint8array)),ot=(e,t)=>{const r=(e&&e[ys]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},xT=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},CT=Gt("HTMLFormElement"),PT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Pf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),LT=Gt("RegExp"),rg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Go(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},IT=e=>{rg(e,(t,n)=>{if(ht(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ht(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},MT=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Wr(e)?r(e):r(String(e).split(t)),n},DT=()=>{},NT=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function $T(e){return!!(e&&ht(e.append)&&e[Qm]==="FormData"&&e[ys])}const UT=e=>{const t=new Array(10),n=(r,o)=>{if(qo(r)){if(t.indexOf(r)>=0)return;if(Wo(r))return r;if(!("toJSON"in r)){t[o]=r;const i=Wr(r)?[]:{};return Go(r,(s,a)=>{const c=n(s,o+1);!Br(c)&&(i[a]=c)}),t[o]=void 0,i}}return r};return n(e,0)},BT=Gt("AsyncFunction"),jT=e=>e&&(qo(e)||ht(e))&&ht(e.then)&&ht(e.catch),og=((e,t)=>e?setImmediate:t?((n,r)=>(sr.addEventListener("message",({source:o,data:i})=>{o===sr&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),sr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ht(sr.postMessage)),FT=typeof queueMicrotask<"u"?queuemicrotask.bind(sr):typeof process<"u"&&process.nexttick||og,ht=e=>e!=null&&ht(e[ys]),$={isArray:Wr,isArrayBuffer:Zm,isBuffer:Wo,isFormData:hT,isArrayBufferView:iT,isString:sT,isNumber:eg,isBoolean:aT,isObject:qo,isPlainObject:xi,isEmptyObject:cT,isReadableStream:gT,isRequest:yT,isResponse:bT,isHeaders:vT,isUndefined:Br,isDate:lT,isFile:uT,isBlob:fT,isRegExp:LT,isFunction:ht,isStream:pT,isURLSearchParams:mT,isTypedArray:RT,isFileList:dT,forEach:Go,merge:Gc,extend:ST,trim:wT,stripBOM:ET,inherits:kT,toFlatObject:TT,kindOf:bs,kindOfTest:Gt,endsWith:_T,toArray:AT,forEachEntry:OT,matchAll:xT,isHTMLForm:CT,hasOwnProperty:Pf,hasOwnProp:Pf,reduceDescriptors:rg,freezeMethods:IT,toObjectSet:MT,toCamelCase:PT,noop:DT,toFiniteNumber:NT,findKey:tg,global:sr,isContextDefined:ng,isSpecCompliantForm:$T,toJSONObject:UT,isAsyncFn:BT,isThenable:jT,setImmediate:og,asap:FT,isIterable:HT};function pe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}$.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const ig=pe.prototype,sg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{sg[e]={value:e}});Object.defineProperties(pe,sg);Object.defineProperty(ig,"isAxiosError",{value:!0});pe.from=(e,t,n,r,o,i)=>{const s=Object.create(ig);$.toFlatObject(e,s,function(l){return l!==Error.prototype},u=>u!=="isAxiosError");const a=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return pe.call(s,a,c,n,r,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const zT=null;function Vc(e){return $.isPlainObject(e)||$.isArray(e)}function ag(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Lf(e,t,n){return e?e.concat(t).map(function(o,i){return o=ag(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function WT(e){return $.isArray(e)&&!e.some(Vc)}const qT=$.toFlatObject(,ドル{},null,function(t){return/^is[A-Z]/.test(t)});function ws(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!$.isUndefined(m[g])});const r=n.metaTokens,o=n.visitor||l,i=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&blob)&&$.isspeccompliantform(t);if(!$.isfunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if($.isDate(h))return h.toISOString();if($.isBoolean(h))return h.toString();if(!c&&$.isBlob(h))throw new pe("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(h)||$.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,g,m){let y=h;if(h&&!m&&typeof h=="object"){if($.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if($.isArray(h)&&WT(h)||($.isFileList(h)||$.endsWith(g,"[]"))&&(y=$.toArray(h)))return g=ag(g),y.forEach(function(w,_){!($.isUndefined(w)||w===null)&&t.append(s===!0?Lf([g],_,i):s===null?g:g+"[]",u(w))}),!1}return Vc(h)?!0:(t.append(Lf(m,g,i),u(h)),!1)}const f=[],d=Object.assign(qT,{defaultVisitor:l,convertValue:u,isVisitable:Vc});function p(h,g){if(!$.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(h),$.forEach(h,function(y,b){(!($.isUndefined(y)||y===null)&&o.call(t,y,$.isString(b)?b.trim():b,g,d))===!0&&p(y,g?g.concat(b):[b])}),f.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return p(e),t}function If(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"0円"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ll(e,t){this._pairs=[],e&&ws(e,this,t)}const cg=Ll.prototype;cg.append=function(t,n){this._pairs.push([t,n])};cg.toString=function(t){const n=t?function(r){return t.call(this,r,If)}:If;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function GT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lg(e,t,n){if(!t)return e;const r=n&&n.encode||GT;$.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=$.isURLSearchParams(t)?t.toString():new Ll(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Mf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ug={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},VT=typeof URLSearchParams<"u"?urlsearchparams:ll,kt=typeof FormData<"u"?formdata:null,yt=typeof Blob<"u"?blob:null,jt={isbrowser:!0,classes:{urlsearchparams:vt,formdata:kt,blob:yt},protocols:["http","https","file","blob","url","data"]},il=typeof window<"u"&&typeof document<"u",kc=typeof navigator=="object"&&navigator||void 0,XT=Il&&(!Kc||["ReactNative","NativeScript","NS"].indexOf(Kc.product)<0),qt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ZT=Il&&window.location.href||"http://localhost",e_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Il,hasStandardBrowserEnv:XT,hasStandardBrowserWebWorkerEnv:QT,navigator:Kc,origin:ZT},Symbol.toStringTag,{value:"Module"})),tt={...e_,...JT};function t_(e,t){return ws(e,new tt.classes.URLSearchParams,{visitor:function(n,r,o,i){return tt.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function n_(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function r_(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&$.isArray(o)?o.length:s,c?($.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!$.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&$.isArray(o[s])&&(o[s]=r_(o[s])),!a)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,o)=>{t(n_(r),o,n,0)}),n}return null}function o_(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vo={transitional:ug,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return o?JSON.stringify(fg(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return t_(t,this.formSerializer).toString();if((a=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ws(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),o_(t)):t}],transformResponse:[function(t){const n=this.transitional||Vo.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?pe.from(a,pe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],e=>{Vo.headers[e]={}});const i_=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),s_=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&i_[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Df=Symbol("internals");function po(e){return e&&String(e).trim().toLowerCase()}function Ci(e){return e===!1||e==null?e:$.isArray(e)?e.map(Ci):String(e)}function a_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const c_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Js(e,t,n,r,o){if($.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function l_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u_(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}let mt=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,c,u){const l=po(c);if(!l)throw new Error("header name must be a non-empty string");const f=$.findKey(o,l);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||c]=Ci(a))}const s=(a,c)=>$.forEach(a,(u,l)=>i(u,l,c));if($.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if($.isString(t)&&(t=t.trim())&&!c_(t))s(s_(t),n);else if($.isObject(t)&&$.isIterable(t)){let a={},c,u;for(const l of t){if(!$.isArray(l))throw TypeError("Object iterator must return a key-value pair");a[u=l[0]]=(c=a[u])?$.isArray(c)?[...c,l[1]]:[c,l[1]]:l[1]}s(a,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=po(t),t){const r=$.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return a_(o);if($.isFunction(n))return n.call(this,o,r);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=po(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Js(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=po(s),s){const a=$.findKey(r,s);a&&(!n||Js(r,r[a],a,n))&&(delete r[a],o=!0)}}return $.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Js(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return $.forEach(this,(o,i)=>{const s=$.findKey(r,i);if(s){n[s]=Ci(o),delete n[i];return}const a=t?l_(i):String(i).trim();a!==i&&delete n[i],n[a]=Ci(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Df]=this[Df]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=po(s);r[a]||(u_(o,s),r[a]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}};mt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(mt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});$.freezeMethods(mt);function Xs(e,t){const n=this||Vo,r=t||n,o=mt.from(r.headers);let i=r.data;return $.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function dg(e){return!!(e&&e.__CANCEL__)}function qr(e,t,n){pe.call(this,e??"canceled",pe.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(qr,pe,{__CANCEL__:!0});function pg(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new pe("Request failed with status code "+n.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function f_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function d_(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=r[i];s||(s=u),n[o]=c,r[o]=u;let f=i,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s{n=l,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const l=Date.now(),f=l-n;f>=r?s(u,l):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},r-f)))},()=>o&&s(o)]}const Ki=(e,t,n=3)=>{let r=0;const o=d_(50,250);return p_(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,c=s-r,u=o(c),l=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-s)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Nf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},$f=e=>(...t)=>$.asap(()=>e(...t)),h_=tt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,tt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(tt.origin),tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent)):()=>!0,m_=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),$.isString(r)&&s.push("path="+r),$.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function g_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function y_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function hg(e,t,n){let r=!g_(t);return e&&(r||n==!1)?y_(e,t):t}const Uf=e=>e instanceof mt?{...e}:e;function pr(e,t){t=t||{};const n={};function r(u,l,f,d){return $.isPlainObject(u)&&$.isPlainObject(l)?$.merge.call({caseless:d},u,l):$.isPlainObject(l)?$.merge({},l):$.isArray(l)?l.slice():l}function o(u,l,f,d){if($.isUndefined(l)){if(!$.isUndefined(u))return r(void 0,u,f,d)}else return r(u,l,f,d)}function i(u,l){if(!$.isUndefined(l))return r(void 0,l)}function s(u,l){if($.isUndefined(l)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function a(u,l,f){if(f in t)return r(u,l);if(f in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,l,f)=>o(Uf(u),Uf(l),f,!0)};return $.forEach(Object.keys({...e,...t}),function(l){const f=c[l]||o,d=f(e[l],t[l],l);$.isUndefined(d)&&f!==a||(n[l]=d)}),n}const mg=e=>{const t=pr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=mt.from(s),t.url=lg(hg(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),$.isFormData(n)){if(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if($.isFunction(n.getHeaders)){const c=n.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([l,f])=>{u.includes(l.toLowerCase())&&s.set(l,f)})}}if(tt.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(t)),r||r!==!1&&h_(t.url))){const c=o&&i&&m_.read(i);c&&s.set(o,c)}return t},b_=typeof XMLHttpRequest<"u",v_=b_&&function(e){return new Promise(function(n,r){const o=mg(e);let i=o.data;const s=mt.from(o.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=o,l,f,d,p,h;function g(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout;function y(){if(!m)return;const w=mt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:w,config:e,request:m};pg(function(x){n(x),g()},function(x){r(x),g()},A),m=null}"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(y)},m.onabort=function(){m&&(r(new pe("Request aborted",pe.ECONNABORTED,e,m)),m=null)},m.onerror=function(_){const A=_&&_.message?_.message:"Network Error",O=new pe(A,pe.ERR_NETWORK,e,m);O.event=_||null,r(O),m=null},m.ontimeout=function(){let _=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||ug;o.timeoutErrorMessage&&(_=o.timeoutErrorMessage),r(new pe(_,A.clarifyTimeoutError?pe.ETIMEDOUT:pe.ECONNABORTED,e,m)),m=null},i===void 0&&s.setContentType(null),"setRequestHeader"in m&&$.forEach(s.toJSON(),function(_,A){m.setRequestHeader(A,_)}),$.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),a&&a!=="json"&&(m.responseType=o.responseType),u&&([d,h]=Ki(u,!0),m.addEventListener("progress",d)),c&&m.upload&&([f,p]=Ki(c),m.upload.addEventListener("progress",f),m.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(l=w=>{m&&(r(!w||w.type?new qr(null,e,m):w),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const b=f_(o.url);if(b&&tt.protocols.indexOf(b)===-1){r(new pe("Unsupported protocol "+b+":",pe.ERR_BAD_REQUEST,e));return}m.send(i||null)})},w_=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,a();const l=u instanceof Error?u:this.reason;r.abort(l instanceof pe?l:new qr(l instanceof Error?l.message:l))}};let s=t&&setTimeout(()=>{s=null,i(new pe(`timeout ${t} of ms exceeded`,pe.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>$.asap(a),c}},S_=function*(e,t){let n=e.byteLength;if(n{const o=E_(e,t);let i=0,s,a=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await o.next();if(u){a(),c.close();return}let f=l.byteLength;if(n){let d=i+=f;n(d)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),o.return()}},{highWaterMark:2})},jf=64*1024,{isFunction:pi}=,ドルT_=(({Request:e,Response:t})=>({Request:e,Response:t}))($.global),{ReadableStream:Ff,TextEncoder:Hf}=$.global,zf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},__=e=>{e=$.merge.call({skipUndefined:!0},T_,e);const{fetch:t,Request:n,Response:r}=e,o=t?pi(t):typeof fetch=="function",i=pi(n),s=pi(r);if(!o)return!1;const a=o&&pi(Ff),c=o&&(typeof Hf=="function"?(h=>g=>h.encode(g))(new Hf):async h=>new Uint8Array(await new n(h).arrayBuffer())),u=i&&a&&zf(()=>{let h=!1;const g=new n(tt.origin,{body:new Ff,method:"POST",get duplex(){return h=!0,"half"}}).headers.has("Content-Type");return h&&!g}),l=s&&a&&zf(()=>$.isReadableStream(new r("").body)),f={stream:l&&(h=>h.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!f[h]&&(f[h]=(g,m)=>{let y=g&&g[h];if(y)return y.call(g);throw new pe(`Response type '${h}' is not supported`,pe.ERR_NOT_SUPPORT,m)})});const d=async h=>{if(h==null)return 0;if($.isBlob(h))return h.size;if($.isSpecCompliantForm(h))return(await new n(tt.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if($.isArrayBufferView(h)||$.isArrayBuffer(h))return h.byteLength;if($.isURLSearchParams(h)&&(h=h+""),$.isString(h))return(await c(h)).byteLength},p=async(h,g)=>{const m=$.toFiniteNumber(h.getContentLength());return m??d(g)};return async h=>{let{url:g,method:m,data:y,signal:b,cancelToken:w,timeout:_,onDownloadProgress:A,onUploadProgress:O,responseType:x,headers:D,withCredentials:F="same-origin",fetchOptions:j}=mg(h),te=t||fetch;x=x?(x+"").toLowerCase():"text";let U=w_([b,w&&w.toAbortSignal()],_),ee=null;const ae=U&&U.unsubscribe&&(()=>{U.unsubscribe()});let ie;try{if(O&&u&&m!=="get"&&m!=="head"&&(ie=await p(D,y))!==0){let P=new n(g,{method:"POST",body:y,duplex:"half"}),G;if($.isFormData(y)&&(G=P.headers.get("content-type"))&&D.setContentType(G),P.body){const[V,q]=Nf(ie,Ki($f(O)));y=Bf(P.body,jf,V,q)}}$.isString(F)||(F=F?"include":"omit");const se=i&&"credentials"in n.prototype,de={...j,signal:U,method:m.toUpperCase(),headers:D.normalize().toJSON(),body:y,duplex:"half",credentials:se?F:void 0};ee=i&&new n(g,de);let ne=await(i?te(ee,j):te(g,de));const be=l&&(x==="stream"||x==="response");if(l&&(A||be&&ae)){const P={};["status","statusText","headers"].forEach(z=>{P[z]=ne[z]});const G=$.toFiniteNumber(ne.headers.get("content-length")),[V,q]=A&&Nf(G,Ki($f(A),!0))||[];ne=new r(Bf(ne.body,jf,V,()=>{q&&q(),ae&&ae()}),P)}x=x||"text";let E=await f[$.findKey(f,x)||"text"](ne,h);return!be&&ae&&ae(),await new Promise((P,G)=>{pg(P,G,{data:E,headers:mt.from(ne.headers),status:ne.status,statusText:ne.statusText,config:h,request:ee})})}catch(se){throw ae&&ae(),se&&se.name==="TypeError"&&/Load failed|fetch/i.test(se.message)?Object.assign(new pe("Network Error",pe.ERR_NETWORK,h,ee),{cause:se.cause||se}):pe.from(se,se&&se.code,h,ee)}}},A_=new Map,gg=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s=i.length,a=s,c,u,l=A_;for(;a--;)c=i[a],u=l.get(c),u===void 0&&l.set(c,u=a?new Map:__(t)),l=u;return u};gg();const Yc={http:zT,xhr:v_,fetch:{get:gg}};$.forEach(Yc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wf=e=>`- ${e}`,R_=e=>$.isFunction(e)||e===null||e===!1,yg={getAdapter:(e,t)=>{e=$.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?s.length>1?`since : `+s.map(Wf).join(` `):" "+Wf(s[0]):"as no adapter specified";throw new pe("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Yc};function Qs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qr(null,e)}function qf(e){return Qs(e),e.headers=mt.from(e.headers),e.data=Xs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yg.getAdapter(e.adapter||Vo.adapter,e)(e).then(function(r){return Qs(e),r.data=Xs.call(e,e.transformResponse,r),r.headers=mt.from(r.headers),r},function(r){return dg(r)||(Qs(e),r&&r.response&&(r.response.data=Xs.call(e,e.transformResponse,r.response),r.response.headers=mt.from(r.response.headers))),Promise.reject(r)})}const bg="1.12.2",Ss={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ss[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gf={};Ss.transitional=function(t,n,r){function o(i,s){return"[Axios v"+bg+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new pe(o(s," has been removed"+(n?" in "+n:"")),pe.ERR_DEPRECATED);return n&&!Gf[s]&&(Gf[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};Ss.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function O_(e,t,n){if(typeof e!="object")throw new pe("options must be an object",pe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-->0;){const i=r[o],s=t[i];if(s){const a=e[i],c=a===void 0||s(a,i,e);if(c!==!0)throw new pe("option "+i+" must be "+c,pe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new pe("Unknown option "+i,pe.ERR_BAD_OPTION)}}const Pi={assertOptions:O_,validators:Ss},Kt=Pi.validators;let cr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Mf,response:new Mf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Pi.assertOptions(r,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:Pi.assertOptions(o,{encode:Kt.function,serialize:Kt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Pi.assertOptions(n,{baseUrl:Kt.spelling("baseURL"),withXsrfToken:Kt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=mt.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let l,f=0,d;if(!c){const h=[qf.bind(this),void 0];for(h.unshift(...a),h.push(...u),d=h.length,l=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-->0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new qr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new vg(function(o){t=o}),cancel:t}}};function C_(e){return function(n){return e.apply(null,n)}}function P_(e){return $.isObject(e)&&e.isAxiosError===!0}const Jc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Jc).forEach(([e,t])=>{Jc[t]=e});function wg(e){const t=new cr(e),n=Xm(cr.prototype.request,t);return $.extend(n,cr.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return wg(pr(e,o))},n}const We=wg(Vo);We.Axios=cr;We.CanceledError=qr;We.CancelToken=x_;We.isCancel=dg;We.VERSION=bg;We.toFormData=ws;We.AxiosError=pe;We.Cancel=We.CanceledError;We.all=function(t){return Promise.all(t)};We.spread=C_;We.isAxiosError=P_;We.mergeConfig=pr;We.AxiosHeaders=mt;We.formToJSON=e=>fg($.isHTMLForm(e)?new FormData(e):e);We.getAdapter=yg.getAdapter;We.HttpStatusCode=Jc;We.default=We;const{Axios:TI,AxiosError:_I,CanceledError:AI,isCancel:RI,CancelToken:OI,VERSION:xI,all:CI,Cancel:PI,isAxiosError:LI,spread:II,toFormData:MI,AxiosHeaders:DI,HttpStatusCode:NI,formToJSON:$I,getAdapter:UI,mergeConfig:BI}=We;var L_=Function.prototype.toString,Zs=Object.create,I_=Object.prototype.toString,M_=(function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(t){return!!~this._keys.indexOf(t)},e.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},e.prototype.set=function(t,n){this._keys.push(t),this._values.push(n)},e})();function D_(){return new M_}function N_(){return new WeakMap}var $_=typeof WeakMap<"u"?n_:d_;function Ml(e){if(!e)return Zs(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Zs(e);if(t&&~L_.call(t).indexOf("[native code]"))try{return new t}catch{}return Zs(e)}function U_(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}function B_(e){return e.flags}var j_=/test/g.flags==="g"?B_:U_;function Sg(e){var t=I_.call(e);return t.substring(8,t.length-1)}function F_(e){return e[Symbol.toStringTag]||Sg(e)}var H_=typeof Symbol<"u"?f_:sg,z_=object.defineproperty,w_=object.getownpropertydescriptor,eg=object.getownpropertynames,dl=object.getownpropertysymbols,kg=object.prototype,tg=kg.hasownproperty,q_=kg.propertyisenumerable,_g=typeof Dl=="function";function G_(e){return Eg(e).concat(Dl(e))}var V_=_g?G_:Eg;function Es(e,t,n){for(var r=V_(e),o=0,i=r.length,s=void 0,a=void 0;o(n.headers.set("Authorization",`Bearer ${r}`),n))})}var Mr=typeof globalThis<"u"?globalthis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dA(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var ta={exports:{}},Vf;function pA(){if(Vf)return ta.exports;Vf=1;var e=ta.exports={},t,n;function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?t=setTimeout:t=r}catch{t=r}try{typeof clearTimeout=="function"?n=clearTimeout:n=o}catch{n=o}})();function i(g){if(t===setTimeout)return setTimeout(g,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(g,0);try{return t(g,0)}catch{try{return t.call(null,g,0)}catch{return t.call(this,g,0)}}}function s(g){if(n===clearTimeout)return clearTimeout(g);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(g);try{return n(g)}catch{try{return n.call(null,g)}catch{return n.call(this,g)}}}var a=[],c=!1,u,l=-1;function f(){!c||!u||(c=!1,u.length?a=u.concat(a):l=-1,a.length&&d())}function d(){if(!c){var g=i(f);c=!0;for(var m=a.length;m;){for(u=a,a=[];++l1)for(var y=1;ynew Promise(t=>{setTimeout(t,e)}),wA=e=>Math.pow(Math.SQRT2,e);function SA(e,t=5){const{responseLogger:n=Xc,requestLogger:r=Xc}=e.defaults;e.interceptors.request.use(function(o){return r(o),o},function(o){return r(o),Promise.reject(o)}),e.interceptors.response.use(function(o){return n(o),o},async function(o){const{response:i}=o,{config:s}=o;if(n(o),!s||!e.defaults.retryOnError)return Promise.reject(o);const a=s.attempts||1;if(a>t)return o.attempts=s.attempts,Promise.reject(o);let c=null,u=wA(a);return i?i.status>=500&&i.status<600?c=`server ${i.status}`:i.status===429&&(c="Rate limit",i.headers&&o.response.headers["x-contentful-ratelimit-reset"]&&(u=i.headers["x-contentful-ratelimit-reset"])):c="Connection",c?(u=Math.floor(u*1e3+Math.random()*200+500),e.defaults.logHandler("warning",`${c} error occurred. Waiting for ${u} ms before retrying...`),s.attempts=a+1,delete s.httpAgent,delete s.httpsAgent,vA(u).then(()=>e(s))):Promise.reject(o)})}var na,Kf;function EA(){if(Kf)return na;Kf=1;var e=typeof Mr=="object"&&Mr&&Mr.Object===Object&&Mr;return na=e,na}var ra,Yf;function kA(){if(Yf)return ra;Yf=1;var e=EA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return ra=n,ra}var oa,Jf;function Pg(){if(Jf)return oa;Jf=1;var e=kA(),t=e.Symbol;return oa=t,oa}var ia,Xf;function TA(){if(Xf)return ia;Xf=1;var e=Pg(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;function i(s){var a=n.call(s,o),c=s[o];try{s[o]=void 0;var u=!0}catch{}var l=r.call(s);return u&&(a?s[o]=c:delete s[o]),l}return ia=i,ia}var sa,Qf;function _A(){if(Qf)return sa;Qf=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return sa=n,sa}var aa,Zf;function Lg(){if(Zf)return aa;Zf=1;var e=Pg(),t=TA(),n=_A(),r="[object Null]",o="[object Undefined]",i=e?e.toStringTag:void 0;function s(a){return a==null?a===void 0?o:r:i&&i in Object(a)?t(a):n(a)}return aa=s,aa}var ca,ed;function AA(){if(ed)return ca;ed=1;var e=Array.isArray;return ca=e,ca}var la,td;function Ig(){if(td)return la;td=1;function e(t){return t!=null&&typeof t=="object"}return la=e,la}var ua,nd;function RA(){if(nd)return ua;nd=1;var e=Lg(),t=AA(),n=Ig(),r="[object String]";function o(i){return typeof i=="string"||!t(i)&&n(i)&&e(i)==r}return ua=o,ua}var OA=RA();const rd=Gr(OA);class xA extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}function CA({limit:e,interval:t,strict:n,onDelay:r}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const o=new Map;let i=0,s=0;function a(){const u=Date.now();return u-i>t?(s=1,i=u,0):(s{const l=function(...f){if(!l.isEnabled)return(async()=>u.apply(this,f))();let d;return new Promise((p,h)=>{const g=()=>{p(u.apply(this,f)),o.delete(d)},m=c();m>0?(d=setTimeout(g,m),o.set(d,h),r?.(...f)):g()})};return l.abort=()=>{for(const f of o.keys())clearTimeout(f),o.get(f)(new xA);o.clear()},l.isEnabled=!0,Object.defineProperty(l,"queueSize",{get(){return o.size}}),l}}const Qc=/(?\d+)(%)/;function fa(e,t=7){let n=t;if(Qc.test(e)){const r=e.match(Qc)?.groups;if(r&&r.value){const o=parseInt(r.value)/100;n=Math.round(t*o)}}return Math.min(30,Math.max(1,n))}function od(e,t){return t("info",`Throttle request to ${e}/s`),CA({limit:e,interval:1e3,strict:!1})}const PA=(e,t="auto")=>{const{logHandler:n=Xc}=e.defaults;let r=rd(t)?fa(t):fa("auto",t),o=od(r,n),i=!1,s=e.interceptors.request.use(c=>o(()=>c)(),function(c){return Promise.reject(c)});const a=e.interceptors.response.use(c=>{if(!i&&rd(t)&&(t==="auto"||Qc.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){const u=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=fa(t,u);l!==r&&(s&&e.interceptors.request.eject(s),r=l,o=od(l,n),s=e.interceptors.request.use(f=>o(()=>f)(),function(f){return Promise.reject(f)})),i=!0}return c},function(c){return Promise.reject(c)});return()=>{e.interceptors.request.eject(s),e.interceptors.response.eject(a)}};var da,id;function Vr(){return id||(id=1,da=TypeError),da}const LA={},IA=Object.freeze(Object.defineProperty({__proto__:null,default:LA},Symbol.toStringTag,{value:"Module"})),MA=dA(IA);var pa,sd;function ks(){if(sd)return pa;sd=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=o&&i&&typeof i.get=="function"?i.get:null,a=o&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,u=c?WeakMap.prototype.has:null,l=typeof WeakSet=="function"&&WeakSet.prototype,f=l?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,w=String.prototype.replace,_=String.prototype.toUpperCase,A=String.prototype.toLowerCase,O=RegExp.prototype.test,x=Array.prototype.concat,D=Array.prototype.join,F=Array.prototype.slice,j=Math.floor,te=typeof BigInt=="function"?BigInt.prototype.valueOf:null,U=Object.getOwnPropertySymbols,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ae=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ie=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ae||!0)?Symbol.toStringTag:null,se=Object.prototype.propertyIsEnumerable,de=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(L){return L.__proto__}:null);function ne(L,M){if(L===1/0||L===-1/0||L!==L||L&&L>-1e3&&L<1e3||o.call(/e/,m))return M;var we=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof L=="number"){var ve=L<0?-j(-l):j(l);if(ve!==l){var _e=String(ve),ue=b.call(M,_e.length+1);return w.call(_e,we,"$&_")+"."+w.call(w.call(ue,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(M,we,"$&_")}var be=MA,E=be.custom,P=C(E)?E:null,G={__proto__:null,double:'"',single:"'"},V={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};pa=function L(M,we,ve,_e){var ue=we||{};if(oe(ue,"quoteStyle")&&!oe(G,ue.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(oe(ue,"maxStringLength")&&(typeof ue.maxStringLength=="number"?ue.maxStringLength<0&&ue.maxstringlength!==1/0:ue.maxstringlength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Le=oe(ue,"customInspect")?ue.customInspect:!0;if(typeof Le!="boolean"&&Le!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(oe(ue,"indent")&&ue.indent!==null&&ue.indent!==" "&&!(parseInt(ue.indent,10)===ue.indent&&ue.indent>0))throw new TypeError('option "indent" must be "\\t", an integer> 0, or `null`');if(oe(ue,"numericSeparator")&&typeof ue.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Qe=ue.numericSeparator;if(typeof M>"u")return"undefined";if(M===null)return"null";if(typeof M=="boolean")return M?"true":"false";if(typeof M=="string")return He(M,ue);if(typeof M=="number"){if(M===0)return 1/0/M>0?"0":"-0";var Ue=String(M);return Qe?ne(M,Ue):Ue}if(typeof M=="bigint"){var dt=String(M)+"n";return Qe?ne(M,dt):dt}var on=typeof ue.depth>"u"?5:ue.depth;if(typeof ve>"u"&&(ve=0),ve>=on&&on>0&&typeof M=="object")return T(M)?"[Array]":"[Object]";var _t=Jr(ue,ve);if(typeof _e>"u")_e=[];else if(rt(_e,M)>=0)return"[Circular]";function Ye(At,cn,Kn){if(cn&&(_e=F.call(_e),_e.push(cn)),Kn){var yt={depth:ue.depth};return oe(ue,"quoteStyle")&&(yt.quoteStyle=ue.quoteStyle),L(At,yt,ve+1,_e)}return L(At,ue,ve+1,_e)}if(typeof M=="function"&&!H(M)){var qe=It(M),Tn=ft(M,Ye);return"[Function"+(qe?": "+qe:" (anonymous)")+"]"+(Tn.length>0?" { "+D.call(Tn,", ")+" }":"")}if(C(M)){var _n=ae?w.call(String(M),/^(Symbol\(.*\))_[^)]*$/,"1ドル"):ee.call(M);return typeof M=="object"&&!ae?Tt(_n):_n}if(Ce(M)){for(var Nt="<"+a.call(string(m.nodename)),qn=m.attributes||[],sn=0;sn",Nt}if(T(M)){if(M.length===0)return"[]";var an=ft(M,Ye);return _t&&!yr(an)?"["+kn(an,_t)+"]":"[ "+D.call(an,", ")+" ]"}if(W(M)){var pt=ft(M,Ye);return!("cause"in Error.prototype)&&"cause"in M&&!se.call(M,"cause")?"{ ["+String(M)+"] "+D.call(x.call("[cause]: "+Ye(M.cause),pt),", ")+" }":pt.length===0?"["+String(M)+"]":"{ ["+String(M)+"] "+D.call(pt,", ")+" }"}if(typeof M=="object"&&Le){if(P&&typeof M[P]=="function"&&be)return be(M,{depth:on-ve});if(Le!=="symbol"&&typeof M.inspect=="function")return M.inspect()}if(Mt(M)){var br=[];return r&&r.call(M,function(At,cn){br.push(Ye(cn,M,!0)+" => "+Ye(At,M))}),Dt("Map",n.call(M),br,_t)}if(fe(M)){var Gn=[];return a&&a.call(M,function(At){Gn.push(Ye(At,M))}),Dt("Set",s.call(M),Gn,_t)}if(ce(M))return Xe("WeakMap");if(le(M))return Xe("WeakSet");if(X(M))return Xe("WeakRef");if(Q(M))return Tt(Ye(Number(M)));if(K(M))return Tt(Ye(te.call(M)));if(R(M))return Tt(h.call(M));if(J(M))return Tt(Ye(String(M)));if(typeof window<"u"&&m===window)return"{ [object Window] }";if(typeof globalThis<"u"&&m===globalthis||typeof Mr<"u"&&m===mr)return"{ [object globalThis] }";if(!N(M)&&!H(M)){var Ne=ft(M,Ye),Vn=de?de(M)===Object.prototype:M instanceof Object||M.constructor===Object,Be=M instanceof Object?"":"null prototype",ot=!Vn&&ie&&Object(M)===M&&ie in M?b.call(Fe(M),8,-1):Be?"Object":"",Me=Vn||typeof M.constructor!="function"?"":M.constructor.name?M.constructor.name+" ":"",$t=Me+(ot||Be?"["+D.call(x.call([],ot||[],Be||[]),": ")+"] ":"");return Ne.length===0?$t+"{}":_t?$t+"{"+kn(Ne,_t)+"}":$t+"{ "+D.call(Ne,", ")+" }"}return String(M)};function q(L,M,we){var ve=we.quoteStyle||M,_e=G[ve];return _e+L+_e}function z(L){return w.call(String(L),/"/g,""")}function B(L){return!ie||!(typeof L=="object"&&(ie in L||typeof L[ie]<"u"))}function T(L){return Fe(L)==="[object Array]"&&B(L)}function N(L){return Fe(L)==="[object Date]"&&B(L)}function H(L){return Fe(L)==="[object RegExp]"&&B(L)}function W(L){return Fe(L)==="[object Error]"&&B(L)}function J(L){return Fe(L)==="[object String]"&&B(L)}function Q(L){return Fe(L)==="[object Number]"&&B(L)}function R(L){return Fe(L)==="[object Boolean]"&&B(L)}function C(L){if(ae)return L&&typeof L=="object"&&L instanceof Symbol;if(typeof L=="symbol")return!0;if(!L||typeof L!="object"||!ee)return!1;try{return ee.call(L),!0}catch{}return!1}function K(L){if(!L||typeof L!="object"||!te)return!1;try{return te.call(L),!0}catch{}return!1}var re=Object.prototype.hasOwnProperty||function(L){return L in this};function oe(L,M){return re.call(L,M)}function Fe(L){return g.call(L)}function It(L){if(L.name)return L.name;var M=y.call(m.call(L),/^function\s*([\w$]+)/);return M?M[1]:null}function rt(L,M){if(L.indexOf)return L.indexOf(M);for(var we=0,ve=L.length;weM.maxStringLength){var we=L.length-M.maxStringLength,ve="... "+we+" more character"+(we>1?"s":"");return He(b.call(L,0,M.maxStringLength),M)+ve}var _e=V[M.quoteStyle||"single"];_e.lastIndex=0;var ue=w.call(w.call(L,_e,"\\1ドル"),/[\x00-\x1f]/g,kt);return q(ue,"single",M)}function kt(L){var M=L.charCodeAt(0),we={8:"b",9:"t",10:"n",12:"f",13:"r"}[M];return we?"\\"+we:"\\x"+(M<16?"0":"")+_.call(m.tostring(16))}function Tt(L){return"Object("+L+")"}function Xe(L){return L+" { ? }"}function Dt(L,M,we,ve){var _e=ve?kn(we,ve):D.call(we,", ");return L+" ("+M+") {"+_e+"}"}function yr(L){for(var M=0;M=0)return!1;return!0}function Jr(L,M){var we;if(L.indent===" ")we=" ";else if(typeof L.indent=="number"&&L.indent>0)we=D.call(Array(L.indent+1)," ");else return null;return{base:we,prev:D.call(Array(M+1),we)}}function kn(L,M){if(L.length===0)return"";var we=` `+M.prev+M.base;return we+D.call(L,","+we)+` `+M.prev}function ft(L,M){var we=T(L),ve=[];if(we){ve.length=L.length;for(var _e=0;_ee,Ga}var Va,jd;function s1(){if(jd)return Va;jd=1;const e=(function*(){}).constructor;return Va=()=>e,Va}var Ka,Fd;function a1(){if(Fd)return Ka;Fd=1;const e=(async function*(){}).constructor;return Ka=()=>e,Ka}var Ya,Hd;function c1(){if(Hd)return Ya;Hd=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=Ts();return Ya=n.call(e,t),Ya}var Ja,zd;function Bl(){if(zd)return Ja;zd=1;var e,t=Mg(),n=NA(),r=$A(),o=UA(),i=BA(),s=jA(),a=Vr(),c=FA(),u=HA(),l=zA(),f=WA(),d=qA(),p=GA(),h=VA(),g=YA(),m=Dg(),y=XA(),b=function(){throw new a},w=m?(function(){try{return arguments.callee,b}catch{try{return m(arguments,"callee").get}catch{return b}}})():b,_=ZA()(),A=o1(),O=$g(),x=Ng(),D=Ug(),F=Ul(),j={},te=typeof Uint8Array>"u"||!A?e:A(Uint8Array),U={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":_&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":Function,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&A?A(A([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!_||!A?e:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":m,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!_||!A?e:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&A?A(""[Symbol.iterator]()):e,"%Symbol%":_?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":w,"%TypedArray%":te,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":F,"%Function.prototype.apply%":D,"%Object.defineProperty%":y,"%Object.getPrototypeOf%":O,"%Math.abs%":u,"%Math.floor%":l,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":p,"%Math.round%":h,"%Math.sign%":g,"%Reflect.getPrototypeOf%":x};if(A)try{null.error}catch(W){var ee=A(A(W));U["%Error.prototype%"]=ee}var ae=i1(),ie=s1(),se=a1(),de=function W(J){var Q;if(J==="%AsyncFunction%")Q=ae()||void 0;else if(J==="%GeneratorFunction%")Q=ie()||void 0;else if(J==="%AsyncGeneratorFunction%")Q=se()||void 0;else if(J==="%AsyncGenerator%"){var R=W("%AsyncGeneratorFunction%");R&&(Q=R.prototype)}else if(J==="%AsyncIteratorPrototype%"){var C=W("%AsyncGenerator%");C&&A&&(Q=A(C.prototype))}return U[J]=Q,Q},ne={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},be=Ts(),E=c1(),P=be.call(F,Array.prototype.concat),G=be.call(D,Array.prototype.splice),V=be.call(F,String.prototype.replace),q=be.call(F,String.prototype.slice),z=be.call(F,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!2円)[^\\]|\\.)*?)2円)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,N=function(J){var Q=q(J,0,1),R=q(J,-1);if(Q==="%"&&R!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(R==="%"&&Q!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var C=[];return V(J,B,function(K,re,oe,Fe){C[C.length]=oe?V(Fe,T,"1ドル"):re||K}),C},H=function(J,Q){var R=J,C;if(E(ne,R)&&(C=ne[R],R="%"+C[0]+"%"),E(U,R)){var K=U[R];if(K===j&&(K=de(R)),typeof K>"u"&&!Q)throw new a("intrinsic "+J+" exists, but is not available. Please file an issue!");return{alias:C,name:R,value:K}}throw new s("intrinsic "+J+" does not exist!")};return Ja=function(J,Q){if(typeof J!="string"||J.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new a('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,J)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var R=N(J),C=R.length>0?R[0]:"",K=H("%"+C+"%",Q),re=K.name,oe=K.value,Fe=!1,It=K.alias;It&&(C=It[0],G(R,P([0,1],It)));for(var rt=1,Mt=!0;rt=R.length){var le=m(oe,ce);Mt=!!le,Mt&&"get"in le&&!("originalValue"in le.get)?oe=le.get:oe=oe[ce]}else Mt=E(oe,ce),oe=oe[ce];Mt&&!Fe&&(U[re]=oe)}}return oe},Ja}var Xa,Wd;function jg(){if(Wd)return Xa;Wd=1;var e=Bl(),t=Bg(),n=t([e("%String.prototype.indexOf%")]);return Xa=function(o,i){var s=e(o,!!i);return typeof s=="function"&&n(o,".prototype.")>-1?t([s]):s},Xa}var Qa,qd;function Fg(){if(qd)return Qa;qd=1;var e=Bl(),t=jg(),n=ks(),r=Vr(),o=e("%Map%",!0),i=t("Map.prototype.get",!0),s=t("Map.prototype.set",!0),a=t("Map.prototype.has",!0),c=t("Map.prototype.delete",!0),u=t("Map.prototype.size",!0);return Qa=!!o&&function(){var f,d={assert:function(p){if(!d.has(p))throw new r("Side channel does not contain "+n(p))},delete:function(p){if(f){var h=c(f,p);return u(f)===0&&(f=void 0),h}return!1},get:function(p){if(f)return i(f,p)},has:function(p){return f?a(f,p):!1},set:function(p,h){f||(f=new o),s(f,p,h)}};return d},Qa}var Za,Gd;function l1(){if(Gd)return Za;Gd=1;var e=Bl(),t=jg(),n=ks(),r=Fg(),o=Vr(),i=e("%WeakMap%",!0),s=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),c=t("WeakMap.prototype.has",!0),u=t("WeakMap.prototype.delete",!0);return Za=i?function(){var f,d,p={assert:function(h){if(!p.has(h))throw new o("Side channel does not contain "+n(h))},delete:function(h){if(i&&h&&(typeof h=="object"||typeof h=="function")){if(f)return u(f,h)}else if(r&&d)return d.delete(h);return!1},get:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?s(f,h):d&&d.get(h)},has:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?c(f,h):!!d&&d.has(h)},set:function(h,g){i&&h&&(typeof h=="object"||typeof h=="function")?(f||(f=new i),a(f,h,g)):r&&(d||(d=r()),d.set(h,g))}};return p}:r,Za}var ec,Vd;function u1(){if(Vd)return ec;Vd=1;var e=Vr(),t=ks(),n=DA(),r=Fg(),o=l1(),i=o||r||n;return ec=function(){var a,c={assert:function(u){if(!c.has(u))throw new e("Side channel does not contain "+t(u))},delete:function(u){return!!a&&a.delete(u)},get:function(u){return a&&a.get(u)},has:function(u){return!!a&&a.has(u)},set:function(u,l){a||(a=i()),a.set(u,l)}};return c},ec}var tc,Kd;function jl(){if(Kd)return tc;Kd=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return tc={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},tc}var nc,Yd;function Hg(){if(Yd)return nc;Yd=1;var e=jl(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r=(function(){for(var m=[],y=0;y<256;++y)m.push("%"+((y<16?"0":"")+y.tostring(16)).touppercase());return m})(),o=function(y){for(;y.length>1;){var b=y.pop(),w=b.obj[b.prop];if(n(w)){for(var _=[],A=0;A=u?O.slice(D,D+u):O,j=[],te=0;te=48&&U<=57||u>=65&&U<=90||u>=97&&U<=122||a===e.rfc1738&&(u===40||u===41)){j[j.length]=f.charat(te);continue}if(u<128){j[j.length]=r[u];continue}if(u<2048){j[j.length]=r[192|u>>6]+r[128|U&63];continue}if(U<55296||u>=57344){j[j.length]=r[224|U>>12]+r[128|U>>6&63]+r[128|U&63];continue}te+=1,U=65536+((U&1023)<<10|f.charcodeat(te)&1023),j[j.length]=r[240|u>>18]+r[128|U>>12&63]+r[128|U>>6&63]+r[128|U&63]}x+=j.join("")}return x},f=function(y){for(var b=[{obj:{o:y},prop:"o"}],w=[],_=0;_"u"&&(E=0)}if(typeof F=="function"?ne=F(y,ne):ne instanceof Date?ne=U(ne):b==="comma"&&i(ne)&&(ne=t.maybeMap(ne,function(K){return K instanceof Date?U(K):K})),ne===null){if(A)return D&&!ie?D(y,l.encoder,se,"key",ee):y;ne=""}if(f(ne)||t.isBuffer(ne)){if(D){var V=ie?y:D(y,l.encoder,se,"key",ee);return[ae(V)+"="+ae(D(ne,l.encoder,se,"value",ee))]}return[ae(y)+"="+ae(String(ne))]}var q=[];if(typeof ne>"u")return q;var z;if(b==="comma"&&i(ne))ie&&D&&(ne=t.maybeMap(ne,D)),z=[{value:ne.length>0?ne.join(",")||null:void 0}];else if(i(F))z=F;else{var B=Object.keys(ne);z=j?B.sort(j):B}var T=x?String(y).replace(/\./g,"%2E"):String(y),N=w&&i(ne)&&ne.length===1?T+"[]":T;if(_&&i(ne)&&ne.length===0)return N+"[]";for(var H=0;H"u"?m.encodeDotInKeys===!0?!0:l.allowDots:!!m.allowDots;return{addQueryPrefix:typeof m.addQueryPrefix=="boolean"?m.addQueryPrefix:l.addQueryPrefix,allowDots:O,allowEmptyArrays:typeof m.allowEmptyArrays=="boolean"?!!m.allowEmptyArrays:l.allowEmptyArrays,arrayFormat:A,charset:y,charsetSentinel:typeof m.charsetSentinel=="boolean"?m.charsetSentinel:l.charsetSentinel,commaRoundTrip:!!m.commaRoundTrip,delimiter:typeof m.delimiter>"u"?l.delimiter:m.delimiter,encode:typeof m.encode=="boolean"?m.encode:l.encode,encodeDotInKeys:typeof m.encodeDotInKeys=="boolean"?m.encodeDotInKeys:l.encodeDotInKeys,encoder:typeof m.encoder=="function"?m.encoder:l.encoder,encodeValuesOnly:typeof m.encodeValuesOnly=="boolean"?m.encodeValuesOnly:l.encodeValuesOnly,filter:_,format:b,formatter:w,serializeDate:typeof m.serializeDate=="function"?m.serializeDate:l.serializeDate,skipNulls:typeof m.skipNulls=="boolean"?m.skipNulls:l.skipNulls,sort:typeof m.sort=="function"?m.sort:null,strictNullHandling:typeof m.strictNullHandling=="boolean"?m.strictNullHandling:l.strictNullHandling}};return rc=function(g,m){var y=g,b=h(m),w,_;typeof b.filter=="function"?(_=b.filter,y=_("",y)):i(b.filter)&&(_=b.filter,w=_);var A=[];if(typeof y!="object"||y===null)return"";var O=o[b.arrayFormat],x=O==="comma"&&b.commaRoundTrip;w||(w=Object.keys(y)),b.sort&&w.sort(b.sort);for(var D=e(),F=0;F0?ee+U:""},rc}var oc,Xd;function d1(){if(Xd)return oc;Xd=1;var e=Hg(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(d){return d.replace(/&#(\d+);/g,function(p,h){return String.fromCharCode(parseInt(h,10))})},i=function(d,p,h){if(d&&typeof d=="string"&&p.comma&&d.indexOf(",")>-1)return d.split(",");if(p.throwOnLimitExceeded&&h>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return d},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",c=function(p,h){var g={__proto__:null},m=h.ignoreQueryPrefix?p.replace(/^\?/,""):p;m=m.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var y=h.parameterLimit===1/0?void 0:h.parameterLimit,b=m.split(h.delimiter,h.throwOnLimitExceeded?y+1:y);if(h.throwOnLimitExceeded&&b.length>y)throw new RangeError("Parameter limit exceeded. Only "+y+" parameter"+(y===1?"":"s")+" allowed.");var w=-1,_,A=h.charset;if(h.charsetSentinel)for(_=0;_-1&&(j=n(j)?[j]:j);var te=t.call(g,F);te&&h.duplicates==="combine"?g[F]=e.combine(g[F],j):(!te||h.duplicates==="last")&&(g[F]=j)}return g},u=function(d,p,h,g){var m=0;if(d.length>0&&d[d.length-1]==="[]"){var y=d.slice(0,-1).join("");m=Array.isArray(p)&&p[y]?p[y].length:0}for(var b=g?p:i(p,h,m),w=d.length-1;w>=0;--w){var _,A=d[w];if(A==="[]"&&h.parseArrays)_=h.allowEmptyArrays&&(b===""||h.strictNullHandling&&b===null)?[]:e.combine([],b);else{_=h.plainObjects?{__proto__:null}:{};var O=A.charAt(0)==="["&&A.charAt(A.length-1)==="]"?A.slice(1,-1):A,x=h.decodeDotInKeys?O.replace(/%2E/g,"."):O,D=parseInt(x,10);!h.parseArrays&&x===""?_={0:b}:!isNaN(D)&&A!==x&&String(D)===x&&D>=0&&h.parseArrays&&D<=h.arraylimit?(_=[],_[d]=b):x!=="__proto__"&&(_[x]=b)}b=_}return b},l=function(p,h,g,m){if(p){var y=g.allowDots?p.replace(/\.([^.[]+)/g,"[1ドル]"):p,b=/(\[[^[\]]*])/,w=/(\[[^[\]]*])/g,_=g.depth>0&&b.exec(y),A=_?y.slice(0,_.index):y,O=[];if(A){if(!g.plainObjects&&t.call(Object.prototype,A)&&!g.allowPrototypes)return;O.push(A)}for(var x=0;g.depth>0&&(_=w.exec(y))!==null&&x"u"?r.charset:p.charset,g=typeof p.duplicates>"u"?r.duplicates:p.duplicates;if(g!=="combine"&&g!=="first"&&g!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var m=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:r.allowDots:!!p.allowDots;return{allowDots:m,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:r.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:r.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:r.arrayLimit,charset:h,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:r.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:r.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:r.decoder,delimiter:typeof p.delimiter=="string"||e.isRegExp(p.delimiter)?p.delimiter:r.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:r.depth,duplicates:g,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:r.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:r.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:r.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof p.throwOnLimitExceeded=="boolean"?p.throwOnLimitExceeded:!1}};return oc=function(d,p){var h=f(p);if(d===""||d===null||typeof d>"u")return h.plainObjects?{__proto__:null}:{};for(var g=typeof d=="string"?c(d,h):d,m=h.plainObjects?{__proto__:null}:{},y=Object.keys(g),b=0;b{if(u==="error"&&l){const f=[l.name,l.message].filter(d=>d).join(" - ");console.error(`[error] ${f}`),console.error(l);return}console.log(`[${u}] ${l}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},...e};if(!n.accessToken){const u=new TypeError("Expected parameter accessToken");throw n.logHandler("error",u),u}const r=n.insecure?"http":"https",o=n.space?`${n.space}/`:"";let i=n.defaultHostname,s=n.insecure?80:443;if(n.host&&g1.test(n.host)){const u=n.host.split(":");u.length===2?[i,s]=u:i=u[0]}n.basePath&&(n.basePath=`/${n.basePath.split("/").filter(Boolean).join("/")}`);const a=e.baseURL||`${r}://${i}:${s}${n.basePath}/spaces/${o}`;return!n.headers.Authorization&&typeof n.accessToken!="function"&&(n.headers.Authorization="Bearer "+n.accessToken),{baseURL:a,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,paramsSerializer:{serialize:u=>m1.stringify(u)},logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError}}function b1(e){const t=$l(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function zg(e,t){const n=y1(t),r=e.create(n);return r.httpClientParams=t,r.cloneWithNewParams=function(o){return zg(e,{...b1(t),...o})},t.onBeforeRequest&&r.interceptors.request.use(t.onBeforeRequest),typeof t.accessToken=="function"&&fA(r,t.accessToken),t.throttle&&PA(r,t.throttle),SA(r,t.retryLimit),t.onError&&r.interceptors.response.use(o=>o,t.onError),r}function wt({query:e}){const t={};return delete e.resolveLinks,t.params=$l(e),t}function Wg(e){const t=Object.getOwnPropertyNames(e);for(const n of t){const r=e[n];r&&typeof r=="object"&&Wg(r)}return Object.freeze(e)}function v1(e){return Wg(e.sys||{}),e}function Zd(){const e=bA();if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],o=["Win32","Win64","Windows","WinCE"],i=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":i.indexOf(n)!==-1?"iOS":o.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function w1(){const e=Fn.platform||"linux",t=Fn.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}function S1(e,t,n,r){const o=[];t&&o.push(`app ${t}`),n&&o.push(`integration ${n}`),o.push(`sdk ${e}`);let i=null;try{gA()?(i=Zd(),o.push("platform ReactNative")):mA()?(i=w1(),o.push(`platform node.js/${yA()}`)):(i=Zd(),o.push("platform browser"))}catch{i=null}return i&&o.push(`os ${i}`),`${o.filter(s=>s!=="").join("; ")};`}function qg(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return $l(this)}})}var sc,ep;function E1(){if(ep)return sc;ep=1;function e(t,n){return function(r){return t(n(r))}}return sc=e,sc}var ac,tp;function k1(){if(tp)return ac;tp=1;var e=E1(),t=e(Object.getPrototypeOf,Object);return ac=t,ac}var cc,np;function T1(){if(np)return cc;np=1;var e=Lg(),t=k1(),n=Ig(),r="[object Object]",o=Function.prototype,i=Object.prototype,s=o.toString,a=i.hasOwnProperty,c=s.call(Object);function u(l){if(!n(l)||e(l)!=r)return!1;var f=t(l);if(f===null)return!0;var d=a.call(f,"constructor")&&f.constructor;return typeof d=="function"&&d instanceof d&&s.call(d)==c}return cc=u,cc}var _1=T1();const lc=Gr(_1);function A1(e){if(e?.headers?.Authorization){const t=`...${e.headers.Authorization.toString().substr(-5)}`;e.headers.Authorization=`Bearer ${t}`}if(e?.headers?.["X-Contentful-Resource-Resolution"]){const t=`...${e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5)}`;e.headers["X-Contentful-Resource-Resolution"]=t}}function vt(e){const{config:t,response:n}=e;let r;if(A1(t),!lc(n)||!lc(t))throw e;const o=n?.data,i={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&lc(t)&&(i.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&typeof o=="object"&&("requestId"in o&&(i.requestId=o.requestId||"UNKNOWN"),"message"in o&&(i.message=o.message||""),"details"in o&&(i.details=o.details||{}),r=o.sys?.id);const s=new Error;s.name=r&&r!=="Unknown"?r:`${n?.status} ${n?.statusText}`;try{s.message=JSON.stringify(i,null," ")}catch{s.message=i?.message??""}throw s}function R1(e){return function(n){return Object.assign({},e,n)}}var Gg={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},Fl={0:8203,1:8204,2:8205,3:65279},O1=new Array(4).fill(String.fromCodePoint(Fl[0])).join("");function x1(e){let t=JSON.stringify(e);return`${O1}${Array.from(t).map(n=>{let r=n.charCodeAt(0);if(r>255)throw new Error(`Only ASCII edit info can be encoded. Error attempting to encode ${t} on character ${n} (${r})`);return Array.from(r.toString(4).padStart(4,"0")).map(o=>String.fromCodePoint(Fl[o])).join("")}).join("")}`}function C1(e){return!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)?!1:!!Date.parse(e)}function P1(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}function L1(e,t,n="auto"){return n===!0||n==="auto"&&(C1(e)||P1(e))?e:`${e}${x1(t)}`}Object.fromEntries(Object.entries(Fl).map(e=>e.reverse()));Object.fromEntries(Object.entries(Gg).map(e=>e.reverse()));`${Object.values(Gg).map(e=>`\\u{${e.toString(16)}}`).join("")}`;function ko(e,t){return L1(e,t)}var uc,rp;function I1(){if(rp)return uc;rp=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return uc=function(n,r,o){if(t.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=n.length;if(i===+i)for(var s=0;s{const o=t[e];if(o){delete t[e];const i=Zc(n,e);for(const s of i){t[s]=o;const a=Zt.get(n,s),c=ko(a,r);Zt.set(n,s,c)}}else{const i=Zc(n,e);for(const s of i){const a=Zt.get(n,s),c=ko(a,r);Zt.set(n,s,c)}}};function N1(e){return"content"in e&&!!e.content}const Zc=(e,t="")=>{const n=[],r=Zt.get(e,t);if(N1(r))for(let o=0;o({origin:"contentful.com",href:`${`https://app.contentful.com/spaces/${n}/environments/${r}`}/${t==="Entry"?"entries":"assets"}/${e}/?focusedField=${o}&focusedLocale=${i}&source=vercel-content-link`,contentful:{editorInterface:s,fieldType:a}}),1ドル=e=>["builtin","sidebar-builtin","editor-builtin"].includes(e),U1=e=>j1.includes(e);function B1(e){if(typeof structuredClone=="function")return structuredClone(e);try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to clone data:",e,t),e}}const j1=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function sp(e,t,n,r,o,i,s){const a=s?t[s]:t;switch(e){case"Symbol":{const c=ko(a,n);Zt.set(r,o,c);break}case"Text":{const c=ko(a,n);Zt.set(r,o,c);break}case"RichText":{D1({pointer:"",mappings:i,data:a,hiddenStrings:n});break}case"Array":{const c=a.map(u=>typeof u=="string"?ko(u,n):u);Zt.set(r,o,c);break}}}const hi=(e,t,n,r,o)=>{if(!e.fields)return;const{contentSourceMaps:i}=e.sys;if(!i)return;const{mappings:s}=i;for(const a in s){const{source:c}=s[a],u=e.sys.space.sys.id,l=e.sys.environment.sys.id,f=e.sys.id,d=e.sys.type,p=t[c.fieldType],h=n[c.editorInterface];if(1ドル(h.widgetNamespace)&&!U1(h.widgetId))continue;const g=a.startsWith("/")?a:`/${a}`;if(Zt.has(e,g)){const m=Zt.get(e,g);if(m===null)return;const y=g.split("/").pop();if(!y){console.error("Field name could not be extracted from the pointer",g);return}const b=e.sys.locale;if(b){const w=ip({entityId:f,entityType:d,space:u,environment:l,field:y,locale:b,editorInterface:h,fieldType:p,targetOrigin:r,platform:o});sp(p,m,w,e,g,s)}else Object.keys(m).forEach(w=>{const _=ip({entityId:f,entityType:d,space:u,environment:l,field:y,locale:w,editorInterface:h,fieldType:p,targetOrigin:r,platform:o});sp(p,m,_,e,`${g}/${w}`,s,w)})}}},F1=(e,t,n)=>{var r;const o=B1(e);if(o.sys&&"items"in o){const i=o;if(!((r=i.sys)!=null&&r.contentSourceMapsLookup))return i;const{contentSourceMapsLookup:{fieldTypes:s,editorInterfaces:a}}=i.sys,{items:c,includes:u}=i;c.forEach(l=>hi(l,s,a,t,n)),u&&u.Entry&&u.Entry.forEach(l=>hi(l,s,a,t,n)),u&&u.Asset&&u.Asset.forEach(l=>hi(l,s,a,t,n))}else{const i=o;if(!i.sys.contentSourceMapsLookup)return console.error("Content source maps lookup data is missing"),i;hi(i,i.sys.contentSourceMapsLookup.fieldTypes,i.sys.contentSourceMapsLookup.editorInterfaces,t,n)}return o};var H1=Function.prototype.toString,dc=Object.create,z1=Object.defineProperty,W1=Object.getOwnPropertyDescriptor,ap=Object.getOwnPropertyNames,Hl=Object.getOwnPropertySymbols,q1=Object.getPrototypeOf,Vg=Object.prototype,G1=Vg.hasOwnProperty,V1=Vg.propertyIsEnumerable,Kg=typeof Hl=="function",K1=typeof WeakMap=="function",Y1=(function(){if(K1)return function(){return new WeakMap};var e=(function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t})();return function(){return new e}})(),Yg=function(e,t){var n=e.__proto__||q1(e);if(!n)return dc(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:dc(n);if(~H1.call(r).indexOf("[native code]"))try{return new r}catch{}return dc(n)},J1=function(e,t,n,r){var o=Yg(e,t);r.set(e,o);for(var i in e)G1.call(e,i)&&(o[i]=n(e[i],r));if(Kg)for(var s=Hl(e),a=0,c=s.length,u=void 0;a"u"?"undefined":tR(t))==="object"){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],n,r,o));o&&(t=cR(t))}return t},uR=function(t,n,r){var o=aR(t,n);return o===Mo?r?o:n:o},fR=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(o){return n.indexOf(o)!==-1});return r.reduce(function(o,i){return o[i]=t[i],o},{})},Jg=function(t,n){if(n=n||{},!t.items)return[];var r=Io(t),o=Object.keys(r.includes||{}).reduce(function(a,c){return[].concat(ho(a),ho(t.includes[c]))},[]),i=[].concat(ho(r.items),ho(o)).filter(function(a){return!!a.sys}),s=new Map(i.reduce(function(a,c){var u=iR(c.sys).map(function(l){return[l,c]});return a.push.apply(a,ho(u)),a},[]));return i.forEach(function(a){var c=fR(a,n.itemEntryPoints);Object.assign(a,lR(c,function(u){return rR(u)||oR(u)},function(u){return uR(s,u,n.removeUnresolved)},n.removeUnresolved))}),r.items},mi={exports:{}},up;function dR(){return up||(up=1,(function(e,t){t=e.exports=n,t.getSerialize=r;function n(o,i,s,a){return JSON.stringify(o,r(i,a),s)}function r(o,i){var s=[],a=[];return i==null&&(i=function(c,u){return s[0]===u?"[Circular ~]":"[Circular ~."+a.slice(0,s.indexOf(u)).join(".")+"]"}),function(c,u){if(s.length>0){var l=s.indexOf(this);~l?s.splice(l+1):s.push(this),~l?a.splice(l,1/0,c):a.push(c),~s.indexOf(u)&&(u=i.call(this,c,u))}else s.push(u);return o==null?u:o.call(this,c,u)}}})(mi,mi.exports)),mi.exports}var pR=dR();const hR=Gr(pR);function Xg(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(t=null,n=""){return hR(this,t,n,(r,o)=>({sys:{type:"Link",linkType:"Entry",id:o.sys.id,circular:!0}}))}})}async function mR(e,t,n){if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t.content_type&&!t.type)t.type="Entry";else if(t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0},{withoutLinkResolution:o,withoutUnresolvableLinks:i,paginate:s}=Object.assign(Object.assign({},r),n),a=await Qg(e,[],t,{paginate:s});o||(a.items=Jg(a,{removeUnresolved:i,itemEntryPoints:["fields"]}));const c=gR(a.items);return a.nextSyncToken&&(c.nextSyncToken=a.nextSyncToken),a.nextPageToken&&(c.nextPageToken=a.nextPageToken),v1(Xg(qg(c)))}function gR(e){const t=n=>(r,o)=>(o.sys.type===n&&r.push(qg(o)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}function yR(e){return e.nextPageToken?{sync_token:e.nextPageToken}:e.nextSyncToken?{sync_token:e.nextSyncToken}:e.sync_token?{sync_token:e.sync_token}:e}async function Qg(e,t,n,{paginate:r}){const o=yR(n),s=(await e.get("sync",wt({query:o}))).data||{};return t=t.concat(s.items||[]),s.nextPageUrl?r?(delete o.initial,o.sync_token=pc(s.nextPageUrl),Qg(e,t,o,{paginate:r})):{items:t,nextPageToken:pc(s.nextPageUrl)}:s.nextSyncUrl?{items:t,nextSyncToken:pc(s.nextSyncUrl)}:{items:[]}}function pc(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Dn(e){const t={};let n=!1;for(const r in e)Array.isArray(e[r])&&(t[r]=e[r].join(","),n=!0);return n?Object.assign(Object.assign({},e),t):e}function Zg(e){if(!e.select)return new Set;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(n=>n.trim());return new Set(t)}function mn(e){if(!e.select)return e;const t=Zg(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:[...t].join(",")}))}function fp(e,{resolveLinks:t,removeUnresolved:n}){const r=Xg(e);return t&&(r.items=Jg(r,{removeUnresolved:n,itemEntryPoints:["fields"]})),r}class Pt extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function bR(e,t,n){if(n=n||{},typeof t!="number")throw new Pt(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new Pt(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t{if(typeof e!="object"||e===null||Array.isArray(e))throw new Pt("timelinePreview","The 'timelinePreview' parameter must be an object.");const t=vR(e.release),n=wR(e.timestamp);if(!t&&!n)throw new Pt("timelinePreview","The 'timelinePreview' object must have at least one of 'release' or 'timestamp' with a valid 'lte' property.");return t||n},dp=e=>{var t;const n=e?.host,r=(t=e?.alphaFeatures)===null||t===void 0?void 0:t.timelinePreview;return{enabled:_R(n,r),timelinePreview:r}};function ER(e){if(e.locale==="*")throw new Pt("locale",`The use of locale='*' is no longer supported.To fetch an entry in all existing locales, use client.withAllLocales instead of the locale='*' parameter.`)}function kR(e){if(e.locale)throw new Pt("locale","The `locale` parameter is not allowed")}function gi(e,t){t?kR(e):ER(e)}function Ii(e){if("resolveLinks"in e)throw new Pt("resolveLinks",`The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved. If you do not want to resolve links, use client.withoutLinkResolution.`)}function Mi(e){if("removeUnresolved"in e)throw new Pt("removeUnresolved",`The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects. If you do not want to include unresolved links, use client.withoutUnresolvableLinks.`)}function TR(e,t){if(t===void 0)return!1;if(typeof t!="boolean")throw new Pt("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");const n=typeof e=="string"&&e.startsWith("preview");if(t&&!n)throw new Pt("includeContentSourceMaps",`The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to include Content Source Maps. `);return t}function _R(e,t){if(t===void 0)return!1;const n=SR(t),r=typeof e=="string"&&e.startsWith("preview");if(n&&!r)throw new Pt("timelinePreview",`The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to enable Timeline Preview. `);return!0}function Rr(e){for(const t in e){const n=e[t];if(typeof n=="object"&&n!==null&&!Array.isArray(n))throw new Error(`Objects are not supported as value for the "${t}" query parameter.`)}}const AR=2880*60;class RR extends Error{constructor(t,n,r){super("The resource could not be found."),this.sys={type:"Error",id:"NotFound"},this.details={type:"Entry",id:t,environment:n,space:r}}}function ey({http:e,getGlobalOptions:t},n){const r=(R="unknown")=>new RR(R,t().environment,t().space),o=R=>{let C=R==="space"?t().spaceBaseUrl:t().environmentBaseUrl;if(!C)throw new Error("Please define baseUrl for "+R);return C.endsWith("/")||(C+="/"),C};function i(R={}){var C,K;const re=e.httpClientParams,oe=(C=re?.includeContentSourceMaps)!==null&&C!==void 0?C:(K=re?.alphaFeatures)===null||K===void 0?void 0:K.includeContentSourceMaps,Fe=re?.host;if(TR(Fe,oe)&&(R.includeContentSourceMaps=!0,R.select)){const rt=Zg(R);rt.add("sys"),R.select=Array.from(rt).join(",")}return R}function s(R){const{enabled:C}=dp(e.httpClientParams);return C?`timeline/${R}`:R}function a(R){const{enabled:C,timelinePreview:K}=dp(e.httpClientParams);return C&&(K?.release&&(R.release=K.release),K?.timestamp&&(R.timestamp=K.timestamp)),R}function c(R,C){var K;return((K=C?.params)===null||K===void 0?void 0:K.includeContentSourceMaps)?F1(R):R}async function u({context:R,path:C,config:K}){const re=o(R);try{const oe=await e.get(re+C,K);return c(oe.data,K)}catch(oe){vt(oe)}}async function l({context:R,path:C,data:K,config:re}){const oe=o(R);try{return(await e.post(oe+C,K,re)).data}catch(Fe){vt(Fe)}}async function f(){return u({context:"space",path:""})}async function d(R){return u({context:"environment",path:`content_types/${R}`})}async function p(R={}){return u({context:"environment",path:"content_types",config:wt({query:R})})}async function h(R,C={}){return m(R,C,n)}async function g(R={}){return b(R,n)}async function m(R,C,K={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:re}=K;return gi(C,re),Ii(C),Mi(C),Rr(C),y(R,re?Object.assign(Object.assign({},C),{locale:"*"}):C,K)}async function y(R,C,K){if(!R)throw r(R);try{const re=await _(Object.assign({"sys.id":R},i(C)),K);if(re.items.length>0)return re.items[0];throw r(R)}catch(re){vt(re)}}async function b(R,C={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:K}=C;return gi(R,K),Ii(R),Mi(R),Rr(R),_(K?Object.assign(Object.assign({},R),{locale:"*"}):R,C)}function w(R){const C=a(Object.assign({},R));return i(Dn(mn(C)))}async function _(R,C){const{withoutLinkResolution:K,withoutUnresolvableLinks:re}=C;try{const oe=await u({context:"environment",path:s("entries"),config:wt({query:w(R)})});return fp(oe,{resolveLinks:!K,removeUnresolved:re??!1})}catch(oe){vt(oe)}}async function A(R,C={}){return F(R,C,n)}async function O(R={}){return x(R,n)}async function x(R,C={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:K}=C;gi(R,K),Rr(R);const re=K?Object.assign(Object.assign({},R),{locale:"*"}):R;return j(re)}async function D(R,C){try{return u({context:"environment",path:s(`assets/${R}`),config:wt({query:w(C)})})}catch(K){vt(K)}}async function F(R,C,K={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:re}=K;gi(C,re),Rr(C);const oe=re?Object.assign(Object.assign({},C),{locale:"*"}):C;return D(R,oe)}async function j(R){try{return u({context:"environment",path:s("assets"),config:wt({query:w(R)})})}catch(C){vt(C)}}async function te(R){return u({context:"environment",path:`tags/${R}`})}async function U(R={}){return Rr(R),u({context:"environment",path:"tags",config:wt({query:Dn(mn(R))})})}async function ee(R){try{const C=Math.floor(Date.now()/1e3),K=C+AR;bR("expiresAt",R,{maximum:K,now:C})}catch(C){vt(C)}return l({context:"environment",path:"asset_keys",data:{expiresAt:R}})}async function ae(R={}){return Rr(R),u({context:"environment",path:"locales",config:wt({query:mn(R)})})}async function ie(R,C={paginate:!0}){return se(R,C,n)}async function se(R,C,K={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){Ii(R),Mi(R);const re=Object.assign(Object.assign({},C),K);return Q(e),mR(e,R,re)}function de(R){return ne(R,n)}function ne(R,C={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){return be(R,C)}function be(R,C){const{withoutLinkResolution:K,withoutUnresolvableLinks:re}=C;return fp(R,{resolveLinks:!K,removeUnresolved:re??!1})}function E(R,C={}){return P(R,C)}async function P(R,C={}){try{return u({context:"environment",path:`taxonomy/concept-schemes/${R}`,config:wt({query:Dn(mn(C))})})}catch(K){vt(K)}}function G(R={}){return V(R)}async function V(R={}){try{return u({context:"environment",path:"taxonomy/concept-schemes",config:wt({query:Dn(mn(R))})})}catch(C){vt(C)}}function q(R,C={}){return z(R,C)}async function z(R,C={}){try{return u({context:"environment",path:`taxonomy/concepts/${R}`,config:wt({query:Dn(mn(C))})})}catch(K){vt(K)}}function B(R={}){return T(R)}async function T(R={}){try{return u({context:"environment",path:"taxonomy/concepts",config:wt({query:Dn(mn(R))})})}catch(C){vt(C)}}function N(R,C={}){return H(R,C)}async function H(R,C={}){try{return u({context:"environment",path:`taxonomy/concepts/${R}/ancestors`,config:wt({query:Dn(mn(C))})})}catch(K){vt(K)}}function W(R,C={}){return J(R,C)}async function J(R,C={}){try{return u({context:"environment",path:`taxonomy/concepts/${R}/descendants`,config:wt({query:Dn(mn(C))})})}catch(K){vt(K)}}function Q(R){R.defaults.baseURL=t().environmentBaseUrl}return{version:"11.8.1",getSpace:f,getContentType:d,getContentTypes:p,getAsset:A,getAssets:O,getTag:te,getTags:U,getLocales:ae,parseEntries:de,sync:ie,getEntry:h,getEntries:g,getConceptScheme:E,getConceptSchemes:G,getConcept:q,getConcepts:B,getConceptAncestors:N,getConceptDescendants:W,createAssetKey:ee}}function OR({http:e,getGlobalOptions:t},n,r){const o=ey({http:e,getGlobalOptions:t},n),i=o||{};return Object.defineProperty(i,"withAllLocales",{get:()=>r(Object.assign(Object.assign({},n),{withAllLocales:!0}))}),Object.defineProperty(i,"withoutLinkResolution",{get:()=>r(Object.assign(Object.assign({},n),{withoutLinkResolution:!0}))}),Object.defineProperty(i,"withoutUnresolvableLinks",{get:()=>r(Object.assign(Object.assign({},n),{withoutUnresolvableLinks:!0}))}),Object.create(i)}const xR=({http:e,getGlobalOptions:t})=>{function n(o){return OR({http:e,getGlobalOptions:t},o,n)}const r=ey({http:e,getGlobalOptions:t},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1});return Object.assign(Object.assign({},r),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})};function CR(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");Ii(e),Mi(e);const n=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=S1("contentful.js/11.8.1",n.application,n.integration);n.headers=Object.assign(Object.assign({},n.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const o=zg(We,n);if(!o.defaults.baseURL)throw new Error("Please define a baseURL");const i=R1({space:n.space,environment:n.environment,spaceBaseUrl:o.defaults.baseURL,environmentBaseUrl:`${o.defaults.baseURL}environments/${n.environment}`});return o.defaults.baseURL=i({}).environmentBaseUrl,xR({http:o,getGlobalOptions:i})}var ty={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},ny={0:8203,1:8204,2:8205,3:65279},PR=new Array(4).fill(String.fromCodePoint(ny[0])).join(""),pp="0円",LR=Object.fromEntries(Object.entries(ny).map(e=>e.reverse())),hp=Object.fromEntries(Object.entries(ty).map(e=>e.reverse())),IR=`${Object.values(ty).map(e=>`\\u{${e.toString(16)}}`).join("")}`,MR=new RegExp(`[${IR}]{4,}`,"gu");function DR(e){let t=e.match(MR);if(t)return NR(t[0],!0)[0]}function NR(e,t=!1){let n=Array.from(e);if(n.length%2===0){if(n.length%4||!e.startsWith(PR))return $R(n,t)}else throw new Error("Encoded data has invalid length");let r=[];for(let o=n.length*.25;o--;){let i=n.slice(o*4,o*4+4).map(s=>LR[s.codePointAt(0)]).join("");r.unshift(String.fromCharCode(parseInt(i,4)))}if(t){r.shift();let o=r.indexOf(pp);return o===-1&&(o=r.length),[JSON.parse(r.slice(0,o).join(""))]}return r.join("").split(pp).filter(Boolean).map(o=>JSON.parse(o))}function $R(e,t){var n;let r=[];for(let a=e.length*.5;a--;){let c=`${hp[e[a*2].codePointAt(0)]}${hp[e[a*2+1].codePointAt(0)]}`;r.unshift(String.fromCharCode(parseInt(c,16)))}let o=[],i=[r.join("")],s=10;for(;i.length;){let a=i.shift();try{if(o.push(JSON.parse(a)),t)return o}catch(c){if(!s--)throw c;let u=+((n=c.message.match(/\sposition\s(\d+)$/))==null?void 0:n[1]);if(!u)throw c;i.unshift(a.substring(0,u),a.substring(u))}}return o}function UR(e){return DR(e)}var hc,mp;function BR(){if(mp)return hc;mp=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return hc=function(n,r,o){if(t.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=n.length;if(i===+i)for(var s=0;s(...t)=>{ry&&console[e](...t)},St={error:gc("error"),warn:gc("warn"),log:gc("log")};function zR(e,t=500){let n=window.location.href;const r=setInterval(()=>{const o=window.location.href;o!==n&&(n=o,e(o))},t);return()=>clearInterval(r)}const WR="live-preview-editor",qR="live-preview-sdk";function Xt(e,t,n){const r={...t,method:e,source:qR,location:window.location.href,version:HR.version};St.log("Send message",r),n.forEach(o=>{window.top?.postMessage(r,o)})}function GR(e,t=100){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function VR(){try{return window.top?.location.href!==window.location.href}catch{return!0}}function KR(){return`${performance.now()}-${Math.random().toString(36).slice(2)}`}function YR(e){return typeof e.data!="object"||!e.data?!1:"source"in e.data&&e.data.source===WR}var yi=typeof globalThis<"u"?globalthis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function JR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Di={exports:{}};Di.exports;var bp;function XR(){return bp||(bp=1,(function(e,t){var n=200,r="__lodash_hash_undefined__",o=1,i=2,s=9007199254740991,a="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",l="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",h="[object GeneratorFunction]",g="[object Map]",m="[object Number]",y="[object Null]",b="[object Object]",w="[object Promise]",_="[object Proxy]",A="[object RegExp]",O="[object Set]",x="[object String]",D="[object Symbol]",F="[object Undefined]",j="[object WeakMap]",te="[object ArrayBuffer]",U="[object DataView]",ee="[object Float32Array]",ae="[object Float64Array]",ie="[object Int8Array]",se="[object Int16Array]",de="[object Int32Array]",ne="[object Uint8Array]",be="[object Uint8ClampedArray]",E="[object Uint16Array]",P="[object Uint32Array]",G=/[\\^$.*+?()[\]{}|]/g,V=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,z={};z[ee]=z[ae]=z[ie]=z[se]=z[de]=z[ne]=z[be]=z[E]=z[P]=!0,z[a]=z[c]=z[te]=z[l]=z[U]=z[f]=z[d]=z[p]=z[g]=z[m]=z[b]=z[A]=z[O]=z[x]=z[j]=!1;var B=typeof yi=="object"&&yi&&yi.Object===Object&&yi,T=typeof self=="object"&&self&&self.Object===Object&&self,N=B||T||Function("return this")(),H=t&&!t.nodeType&&t,W=H&&!0&&e&&!e.nodeType&&e,J=W&&W.exports===H,Q=J&&B.process,R=(function(){try{return Q&&Q.binding&&Q.binding("util")}catch{}})(),C=R&&R.isTypedArray;function K(S,k){for(var v=-1,I=S==null?0:S.length,Y=0,Z=[];++v-1}function Kn(S,k){var v=this.__data__,I=Ut(v,S);return I<0?(++this.size,v.push([s,k])):v[i][1]=k,this}ot.prototype.clear=me,ot.prototype.delete=$t,ot.prototype.get=at,ot.prototype.has=cn,ot.prototype.set=kn;function yt(S){var k=-1,v=S==null?0:S.length;for(this.clear();++kye))return!1;var ke=Z.get(S);if(ke&&Z.get(k))return ke==k;var Ve=-1,st=!0,Se=v&i?new Rn:void 0;for(Z.set(S,k),Z.set(k,S);++Ve-1&&S%1==0&&S-1&&S%1==0&&S<=s}function oo(S){var k=typeof S;return S!=null&&(k=="object"||k=="function")}function it(S){return S!=null&&typeof S=="object"}var io=C?It(C):kr;function si(S){return Rt(S)?xn(S):Bt(S)}function ai(){return[]}function ci(){return!1}e.exports=ii})(Di,Di.exports)),Di.exports}var QR=XR();const ZR=JR(QR);var xe=(e=>(e.FIELD_ID="data-contentful-field-id",e.ENTRY_ID="data-contentful-entry-id",e.ASSET_ID="data-contentful-asset-id",e.LOCALE="data-contentful-locale",e.SPACE="data-contentful-space",e.ENVIRONMENT="data-contentful-environment",e))(xe||{}),or=(e=>(e.MOUSE_MOVE="MOUSE_MOVE",e.SCROLL_START="SCROLL_START",e.SCROLL_END="SCROLL_END",e.RESIZE_START="RESIZE_START",e.RESIZE_END="RESIZE_END",e.TAGGED_ELEMENTS="TAGGED_ELEMENTS",e.INSPECTOR_MODE_CHANGED="INSPECTOR_MODE_CHANGED",e))(or||{}),oy={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},iy={0:8203,1:8204,2:8205,3:65279};new Array(4).fill(String.fromCodePoint(iy[0])).join("");Object.fromEntries(Object.entries(iy).map(e=>e.reverse()));Object.fromEntries(Object.entries(oy).map(e=>e.reverse()));var eO=`${Object.values(oy).map(e=>`\\u{${e.toString(16)}}`).join("")}`,tO=new RegExp(`[${eO}]{4,}`,"gu");const nO=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=e;return!(!t.hasAttribute(xe.FIELD_ID)||!t.hasAttribute(xe.ENTRY_ID)&&!t.hasAttribute(xe.ASSET_ID))};function rO(e,t){if(!nO(e))return null;const n={fieldId:e.getAttribute(xe.FIELD_ID),locale:e.getAttribute(xe.LOCALE)??t.locale,environment:e.getAttribute(xe.ENVIRONMENT)??t.environment,space:e.getAttribute(xe.SPACE)??t.space,manuallyTagged:!0};if(!n.fieldId)return St.warn("Element is missing field ID attribute and cannot be tagged",{id:e.getAttribute(xe.ENTRY_ID)??e.getAttribute(xe.ASSET_ID),sharedProps:n}),null;const r=e.getAttribute(xe.ENTRY_ID);if(r)return{...n,entryId:r};const o=e.getAttribute(xe.ASSET_ID);return o?{...n,assetId:o}:null}function sy(e,t){return e.href===t.href}function oO(e,t){return!(!sy(e.sourceMap,t.sourceMap)||e.element!==t.element)}function iO(e){let t=[];return typeof e.matches=="function"&&e.matches("*")&&(t=[e]),[...t,...Array.from(e.querySelectorAll("*:not(script,style,meta,title)"))].map(n=>({node:n,text:sO(n)})).filter(({text:n})=>!!(n&&n.match(tO)))}function sO(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:e.matches("img, video")?e.alt:Array.from(e.childNodes).filter(t=>t.nodeType===Node.TEXT_NODE&&!!t.textContent).map(t=>t.textContent).join("")}function aO(e,t){for(const n of t)if(n.element===e||n.element.contains(e))return!0;return!1}function zl({root:e=window.document,options:t}){const n=[...t.ignoreManuallyTaggedElements?[]:e.querySelectorAll(`[${xe.ASSET_ID}][${xe.FIELD_ID}], [${xe.ENTRY_ID}][${xe.FIELD_ID}]`)].map(a=>({element:a,attributes:rO(a,t)})).filter(({attributes:a})=>a!==null),r=[],o=iO("body"in e?e.body:e);for(const{node:a,text:c}of o){const u=UR(c);if(!u||!u.origin.includes("contentful.com")){St.warn("Element has missing or invalid ContentSourceMap, please check if you have correctly enabled ContentSourceMaps and that the element's data originates from Contentful",{node:a,sourceMap:u});continue}if(!(aO(a,n)||r.some(l=>l.element.contains(a)&&sy(l.sourceMap,u)))){if(a.matches("img")){const l=a.closest("figure")||a.closest("picture")||a;r.push({element:l,sourceMap:u});continue}r.push({element:a,sourceMap:u})}}const i=r.filter((a,c)=>r.findIndex(u=>oO(a,u))===c);for(const{element:a,sourceMap:c}of i){let u=null;if(c.href){const l=dO(c.href);if(!l)continue;if(l.entityType==="Asset")u={fieldId:l.fieldId,locale:l.locale,space:l.space,environment:l.environment,assetId:l.entityId};else if(l.entityType==="Entry")u={fieldId:l.fieldId,locale:l.locale,space:l.space,environment:l.environment,entryId:l.entityId};else{St.warn("Unknown entityType",{element:a,sourceMap:c});continue}}else if(c.contentful&&pO(c.contentful)){const l=c.contentful;if(!l.entity||!l.field||!l.locale||!l.space||!l.environment){St.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameters in `contentful`)",{element:a,sourceMap:c});continue}const f={fieldId:l.field,locale:l.locale,space:l.space,environment:l.environment};if(l.entityType==="Asset")f.assetId=l.entity,u=f;else if(l.entityType==="Entry")f.entryId=l.entity,u=f;else{St.warn("Unknown entityType in contentful data",{element:a,sourceMap:c});continue}}else{St.warn("Element has neither href nor contentful data in their ContentSourceMap, unable to extract attributes.",{element:a,sourceMap:c});continue}n.push({element:a,attributes:u})}const s=n.filter(({attributes:a})=>a?.manuallyTagged===!1||!a?.manuallyTagged).length;return{taggedElements:n,manuallyTaggedCount:n.length-s,automaticallyTaggedCount:s,autoTaggedElements:i}}function ay({options:e}){return[...new Set(zl({options:e}).taggedElements.map(t=>t.attributes&&"entryId"in t.attributes?t.attributes.entryId:null).filter(Boolean))]}const cO=(e,t,n=window.document)=>{const{top:r,right:o,bottom:i,left:s}=t,a=n.elementFromPoint(s+1,r+1),c=n.elementFromPoint(o-1,r+1),u=n.elementFromPoint(s+1,i-1),l=n.elementFromPoint(o-1,i-1);return!(a===e&&c===e&&u===e&&l===e)},lO=(e,t=window.document)=>e.map(n=>({...n,isVisible:n.element.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),isCoveredByOtherElement:cO(n.element,n.coordinates,t)})),uO=e=>e.map(({element:t,attributes:n})=>({element:t,coordinates:t.getBoundingClientRect(),attributes:n})),fO=(e,t=window.document)=>{const n=uO(e);return lO(n,t)};function dO(e){try{const t=new URL(e),n=t.searchParams.get("focusedField"),r=t.searchParams.get("focusedLocale"),o=t.pathname.split("/").filter(Boolean),i=o.indexOf("spaces"),s=o.indexOf("environments"),a=i!==-1?o[i+1]:void 0,c=s!==-1?o[s+1]:void 0;let u,l;const f=o.indexOf("entries"),d=o.indexOf("assets");return f!==-1?(u="Entry",l=o[f+1]):d!==-1&&(u="Asset",l=o[d+1]),!u||!l?(console.warn("Unable to determine entityType or entityId from href",{href:e}),null):n?r?!a||!c?(console.warn("Missing space or environment in href path",{href:e}),null):{entityId:l,entityType:u,fieldId:n,locale:r,space:a,environment:c}:(console.warn("Missing focusedLocale query parameter in href",{href:e}),null):(console.warn("Missing focusedField query parameter in href",{href:e}),null)}catch(t){return console.warn("Invalid href URL",{href:e,error:t}),null}}function pO(e){return e&&typeof e.entity=="string"&&typeof e.field=="string"&&typeof e.locale=="string"&&typeof e.space=="string"&&typeof e.environment=="string"&&(e.entityType==="Asset"||e.entityType==="Entry")}class hO{constructor(t){this.options=t,this.intersectionObserver=new IntersectionObserver(n=>{const r=this.taggedElements;for(const o of n)if(o.isIntersecting)for(const i of r)i.element===o.target&&(i.coordinates=o.intersectionRect,i.isVisible=o.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=r,this.sendTaggedElements()},{threshold:.15})}delay=300;isScrolling=!1;scrollTimeout;isResizing=!1;resizeTimeout;hoveredElement;taggedElements=[];manuallyTaggedCount=0;automaticallyTaggedCount=0;intersectionObserver;observersCB=[];cleanupCB=[];init=()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()};cleanup=()=>{this.observersCB.forEach(t=>t()),this.cleanupCB.forEach(t=>t())};receiveMessage=t=>{if(t.method===or.INSPECTOR_MODE_CHANGED){const{isInspectorActive:n}=t;n?this.init():this.cleanup()}};observe=t=>{this.intersectionObserver.observe(t);const n=this.addMutationListener(t);this.observersCB.push(n,()=>this.intersectionObserver.unobserve(t))};addScrollListener=()=>{const{targetOrigin:t}=this.options,n=()=>{this.isScrolling||(this.isScrolling=!0,Xt(or.SCROLL_START,{},t)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,Xt(or.SCROLL_END,{},t),this.updateElements()},this.delay)},r={capture:!0,passive:!0};return window.addEventListener("scroll",n,r),()=>window.removeEventListener("scroll",n,r)};addMutationListener=t=>{const n=new MutationObserver(()=>{this.updateElements()});return n.observe(t,{characterData:!0,attributes:!0,attributeFilter:[xe.ENTRY_ID,xe.FIELD_ID,xe.LOCALE,xe.SPACE,xe.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>n.disconnect()};addResizeListener=()=>{const{targetOrigin:t}=this.options,n=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,Xt(or.RESIZE_START,{},t)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,Xt(or.RESIZE_END,{},t),this.updateElements()},this.delay)});return n.observe(document.body),()=>n.disconnect()};addHoverListener=()=>{const t=GR(r=>{let o;for(const i of r){const s=i;if(s.nodeName==="BODY")break;const a=this.taggedElements.find(c=>c.element===s);if(a){o=a;break}}this.hoveredElement=o?.element,this.updateElements()},this.delay),n=r=>{t(r.composedPath())};return window.addEventListener("mouseover",n,{passive:!0}),()=>window.removeEventListener("mouseover",n)};sendTaggedElements=()=>{Xt(or.TAGGED_ELEMENTS,{elements:this.taggedElements.map(t=>({coordinates:t.coordinates,isVisible:!!t.isVisible,attributes:t.attributes,isHovered:this.hoveredElement===t.element,isCoveredByOtherElement:!!t.isCoveredByOtherElement})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount},this.options.targetOrigin)};updateElements=()=>{const{taggedElements:t,manuallyTaggedCount:n,automaticallyTaggedCount:r}=zl({options:this.options}),o=fO(t);ZR(o,this.taggedElements)||(this.observersCB.forEach(i=>i()),this.observersCB=[],this.taggedElements=o,t.forEach(({element:i})=>this.observe(i)),this.manuallyTaggedCount=n,this.automaticallyTaggedCount=r)}}const{stringify:mO}=JSON,gO=String,yO="string",bO="object",vO=(e,t)=>t,vp=(e,t,n)=>{const r=gO(t.push(n)-1);return e.set(n,r),r},wO=(e,t,n)=>{const r=vO,o=new Map,i=[],s=[];let a=+vp(o,i,r.call({"":e},"",e)),c=!a;for(;a(e.CONNECTED="CONNECTED",e.DISCONNECTED="DISCONNECTED",e.ERROR="ERROR",e.TAGGED_FIELD_CLICKED="TAGGED_FIELD_CLICKED",e.URL_CHANGED="URL_CHANGED",e.SUBSCRIBED="SUBSCRIBED",e.UNSUBSCRIBED="UNSUBSCRIBED",e.ENTRY_UPDATED="ENTRY_UPDATED",e.ENTRY_SAVED="ENTRY_SAVED",e.DEBUG_MODE_ENABLED="DEBUG_MODE_ENABLED",e))(Qt||{});function SO(e,t){Xt("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...e},t)}function EO(e,t){Xt("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...e},t)}class kO{subscriptions=new Map;defaultLocale;sendMessage;constructor({locale:t,targetOrigin:n}){this.defaultLocale=t,this.sendMessage=(r,o)=>Xt(r,o,n)}async receiveMessage(t){if(t.method===Qt.ENTRY_UPDATED){const{data:n,subscriptionId:r}=t,o=this.subscriptions.get(r);o?(o.callback(n),o.data=n,this.subscriptions.set(r,o)):St.error("Received an update for an unknown subscription",{subscriptionId:r,data:n,subscriptions:this.subscriptions})}}subscribe(t){const n=KR(),r=t.locale??this.defaultLocale;this.subscriptions.set(n,{...t});const o={locale:r,event:"edit",id:n,config:wO(t)};return this.sendMessage(Qt.SUBSCRIBED,o),()=>{this.sendMessage(Qt.UNSUBSCRIBED,o),this.subscriptions.delete(n)}}}class TO{locale;options;inspectorModeEnabled;subscription;constructor({locale:t,options:n,inspectorModeEnabled:r}){this.locale=t,this.options=n,this.inspectorModeEnabled=r}subscribe(t){return this.subscription&&St.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=t,()=>{this.subscription=void 0}}receiveMessage(t){if(t.method===Qt.ENTRY_SAVED&&this.subscription){const{entity:n}=t;this.inspectorModeEnabled?ay({options:this.options}).includes(n.sys.id)&&this.subscription(n):this.subscription(n)}}}const wp=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"];let cy=class el{static initialized=!1;static inspectorMode=null;static liveUpdates=null;static saveEvent=null;static inspectorModeEnabled=!0;static liveUpdatesEnabled=!0;static locale;static space;static environment;static sendMessage;static targetOrigin;static init(t){if(typeof t!="object"||!t?.locale)throw new Error("Init function has to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");const{debugMode:n,enableInspectorMode:r,enableLiveUpdates:o,locale:i,environment:s,space:a,targetOrigin:c}=t;if(typeof window<"u"){if(!vr())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(n&&yp(n),typeof r=="boolean"&&(this.inspectorModeEnabled=r),typeof o=="boolean"&&(this.liveUpdatesEnabled=o),this.locale=i,this.space=a,this.environment=s,this.initTargetOrigin(c),this.initialized)return St.log("You have already initialized the Live Preview SDK."),Promise.resolve(el.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new hO({locale:i,space:a,environment:s,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:t.experimental?.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new kO({locale:i,targetOrigin:this.targetOrigin}),this.saveEvent=new TO({locale:i,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin},inspectorModeEnabled:this.inspectorModeEnabled})),window.addEventListener("message",p=>{if(YR(p)){if(St.log("Received message",p.data),p.data.method===Qt.DEBUG_MODE_ENABLED){yp(!0);return}this.inspectorModeEnabled&&this.inspectorMode?.receiveMessage(p.data),this.liveUpdatesEnabled&&(this.liveUpdates?.receiveMessage(p.data),this.saveEvent?.receiveMessage(p.data))}}),zR(()=>{Xt(Qt.URL_CHANGED,{action:Qt.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${xe.ENTRY_ID}]`).length},this.targetOrigin)});const{taggedElements:u,manuallyTaggedCount:l,automaticallyTaggedCount:f}=this.inspectorModeEnabled?zl({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},d=u.length;return Xt(Qt.CONNECTED,{action:Qt.CONNECTED,connected:!0,tags:d,taggedElementCount:d,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:l,automaticallyTaggedElementCount:f},this.targetOrigin),this.initialized=!0,Promise.resolve(el.inspectorMode)}}static initTargetOrigin(t){if(t)this.targetOrigin=Array.isArray(t)?t:[t];else{const n=window.location.ancestorOrigins,r=n?wp.find(o=>n.contains(o)):wp.find(o=>document.referrer.includes(o));if(!r)throw new Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[r]}}static subscribe(t,n){if(!this.liveUpdatesEnabled)return()=>{};const r=typeof t=="string"?t:"edit",o=typeof t=="object"?t:n;if(r==="save"){if(!this.saveEvent)throw new Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(o.callback)}if(!this.liveUpdates)throw new Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(o)}static getProps(t){const{fieldId:n,locale:r,environment:o,space:i}=t;if(!this.inspectorModeEnabled)return null;if(n){const s={...r?{[xe.LOCALE]:r}:{},...o?{[xe.ENVIRONMENT]:o}:{},...i?{[xe.SPACE]:i}:{},[xe.FIELD_ID]:n};if(r&&(s[xe.LOCALE]=r),t.assetId!==void 0)return{...s,[xe.ASSET_ID]:t.assetId};if(t.entryId!==void 0)return{...s,[xe.ENTRY_ID]:t.entryId}}return St.warn("Missing property for inspector mode",{...t}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(t){const n={locale:this.locale,environment:this.environment,space:this.space};if(t.assetId!==void 0&&t.fieldId){EO({...n,...t},this.targetOrigin);return}if(t.entryId!==void 0&&t.fieldId){SO({...n,...t},this.targetOrigin);return}St.error("Please provide field id and entry/asset id to openEntryInEditor.",{...t})}static getEntryList(){return ay({options:{locale:this.locale,space:this.space,environment:this.environment}})}};/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */var yc,Sp;function Ep(){if(Sp)return yc;Sp=1;const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:s,create:a}=Object,{apply:c,construct:u}=typeof Reflect<"u"&&reflect;i||(i=function(x){return X}),s||(s=function(X){return X}),c||(c=function(X,fe){for(var le=arguments.length,Ce=new Array(le>2?le-2:0),He=2;He1?fe-1:0),Ce=1;Ce1?fe-1:0),Ce=1;Ce2&&arguments[2]!==void 0?arguments[2]:g;t&&t(ce,null);let le=X.length;for(;le--;){let Ce=X[le];if(typeof Ce=="string"){const He=fe(Ce);He!==Ce&&(n(X)||(X[le]=He),Ce=He)}ce[Ce]=!0}return ce}function te(ce){for(let X=0;X/gm),T=s(/\$\{[\w\W]*/gm),N=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),H=s(/^aria-[\-\w]+$/),W=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=s(/^(?:\w+script|data):/i),Q=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),R=s(/^html$/i),C=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,ARIA_ATTR:H,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:C,DATA_ATTR:N,DOCTYPE_NAME:R,ERB_EXPR:B,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:J,MUSTACHE_EXPR:z,TMPLIT_EXPR:T});const re={element:1,text:3,progressingInstruction:7,comment:8,document:9},oe=function(){return typeof window>"u"?null:window},Fe=function(X,fe){if(typeof X!="object"||typeof X.createPolicy!="function")return null;let le=null;const Ce="data-tt-policy-suffix";fe&&fe.hasAttribute(Ce)&&(le=fe.getAttribute(Ce));const He="dompurify"+(le?"#"+le:"");try{return X.createPolicy(He,{createHTML(kt){return kt},createScriptURL(kt){return kt}})}catch{return console.warn("TrustedTypes policy "+He+" could not be created."),null}},It=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function rt(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oe();const X=k=>rt(k);if(X.version="3.2.7",X.removed=[],!ce||!ce.document||ce.document.nodeType!==re.document||!ce.Element)return X.isSupported=!1,X;let{document:fe}=ce;const le=fe,Ce=le.currentScript,{DocumentFragment:He,HTMLTemplateElement:kt,Node:Tt,Element:Xe,NodeFilter:Dt,NamedNodeMap:yr=ce.NamedNodeMap||ce.MozNamedAttrMap,HTMLFormElement:Jr,DOMParser:kn,trustedTypes:ft}=ce,L=Xe.prototype,M=ee(L,"cloneNode"),we=ee(L,"remove"),ve=ee(L,"nextSibling"),_e=ee(L,"childNodes"),ue=ee(L,"parentNode");if(typeof kt=="function"){const k=fe.createElement("template");k.content&&k.content.ownerDocument&&(fe=k.content.ownerDocument)}let Le,Qe="";const{implementation:Ue,createNodeIterator:dt,createDocumentFragment:on,getElementsByTagName:_t}=fe,{importNode:Ye}=le;let qe=It();X.isSupported=typeof e=="function"&&typeof ue=="function"&&Ue&&Ue.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Tn,ERB_EXPR:_n,TMPLIT_EXPR:Nt,DATA_ATTR:qn,ARIA_ATTR:sn,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:pt,CUSTOM_ELEMENT:br}=K;let{IS_ALLOWED_URI:Gn}=K,Ne=null;const Vn=j({},[...ae,...ie,...se,...ne,...E]);let Be=null;const ot=j({},[...P,...G,...V,...q]);let Me=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$t=null,At=null,cn=!0,Kn=!0,yt=!1,Xo=!0,An=!1,vr=!0,ln=!1,Xr=!1,Rn=!1,On=!1,wr=!1,bt=!1,Qo=!0,Zo=!1;const xs="user-content-";let Qr=!0,Yn=!1,xn={},Ut=null;const ei=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Cn=null;const Zr=j({},["audio","video","img","source","image","track"]);let Sr=null;const ti=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Er="http://www.w3.org/1998/Math/MathML",kr="http://www.w3.org/2000/svg",Bt="http://www.w3.org/1999/xhtml";let un=Bt,eo=!1,to=null;const ni=j({},[Er,kr,Bt],m);let fn=j({},["mi","mo","mn","ms","mtext"]),jt=j({},["annotation-xml"]);const Cs=j({},["title","style","font","a","script"]);let Jn=null;const Vt=["application/xhtml+xml","text/html"],Ps="text/html";let Ge=null,Pn=null;const Ls=fe.createElement("form"),ri=function(v){return v instanceof RegExp||v instanceof Function},Ft=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Pn&&Pn===v)){if((!v||typeof v!="object")&&(v={}),v=U(v),Jn=Vt.indexOf(v.PARSER_MEDIA_TYPE)===-1?Ps:v.PARSER_MEDIA_TYPE,Ge=Jn==="application/xhtml+xml"?m:g,Ne=A(v,"ALLOWED_TAGS")?j({},v.ALLOWED_TAGS,Ge):Vn,Be=A(v,"ALLOWED_ATTR")?j({},v.ALLOWED_ATTR,Ge):ot,to=A(v,"ALLOWED_NAMESPACES")?j({},v.ALLOWED_NAMESPACES,m):ni,Sr=A(v,"ADD_URI_SAFE_ATTR")?j(U(ti),v.ADD_URI_SAFE_ATTR,Ge):ti,Cn=A(v,"ADD_DATA_URI_TAGS")?j(U(Zr),v.ADD_DATA_URI_TAGS,Ge):Zr,Ut=A(v,"FORBID_CONTENTS")?j({},v.FORBID_CONTENTS,Ge):ei,$t=A(v,"FORBID_TAGS")?j({},v.FORBID_TAGS,Ge):U({}),At=A(v,"FORBID_ATTR")?j({},v.FORBID_ATTR,Ge):U({}),xn=A(v,"USE_PROFILES")?v.USE_PROFILES:!1,cn=v.ALLOW_ARIA_ATTR!==!1,Kn=v.ALLOW_DATA_ATTR!==!1,yt=v.ALLOW_UNKNOWN_PROTOCOLS||!1,Xo=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,An=v.SAFE_FOR_TEMPLATES||!1,vr=v.SAFE_FOR_XML!==!1,ln=v.WHOLE_DOCUMENT||!1,On=v.RETURN_DOM||!1,wr=v.RETURN_DOM_FRAGMENT||!1,bt=v.RETURN_TRUSTED_TYPE||!1,Rn=v.FORCE_BODY||!1,Qo=v.SANITIZE_DOM!==!1,Zo=v.SANITIZE_NAMED_PROPS||!1,Qr=v.KEEP_CONTENT!==!1,Yn=v.IN_PLACE||!1,Gn=v.ALLOWED_URI_REGEXP||W,un=v.NAMESPACE||Bt,fn=v.MATHML_TEXT_INTEGRATION_POINTS||fn,jt=v.HTML_INTEGRATION_POINTS||jt,Me=v.CUSTOM_ELEMENT_HANDLING||{},v.CUSTOM_ELEMENT_HANDLING&&ri(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Me.tagNameCheck=v.CUSTOM_ELEMENT_HANDLING.tagNameCheck),v.CUSTOM_ELEMENT_HANDLING&&ri(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Me.attributeNameCheck=v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Me.allowCustomizedBuiltInElements=v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),An&&(Kn=!1),wr&&(On=!0),xn&&(Ne=j({},E),Be=[],xn.html===!0&&(j(Ne,ae),j(Be,P)),xn.svg===!0&&(j(Ne,ie),j(Be,G),j(Be,q)),xn.svgFilters===!0&&(j(Ne,se),j(Be,G),j(Be,q)),xn.mathMl===!0&&(j(Ne,ne),j(Be,V),j(Be,q))),v.ADD_TAGS&&(Ne===Vn&&(Ne=U(Ne)),j(Ne,v.ADD_TAGS,Ge)),v.ADD_ATTR&&(Be===ot&&(Be=U(Be)),j(Be,v.ADD_ATTR,Ge)),v.ADD_URI_SAFE_ATTR&&j(Sr,v.ADD_URI_SAFE_ATTR,Ge),v.FORBID_CONTENTS&&(Ut===ei&&(Ut=U(Ut)),j(Ut,v.FORBID_CONTENTS,Ge)),Qr&&(Ne["#text"]=!0),ln&&j(Ne,["html","head","body"]),Ne.table&&(j(Ne,["tbody"]),delete $t.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Le=v.TRUSTED_TYPES_POLICY,Qe=Le.createHTML("")}else Le===void 0&&(Le=Fe(ft,Ce)),Le!==null&&typeof Qe=="string"&&(Qe=Le.createHTML(""));i&&i(v),Pn=v}},no=j({},[...ie,...se,...de]),oi=j({},[...ne,...be]),Tr=function(v){let I=ue(v);(!I||!I.tagName)&&(I={namespaceURI:un,tagName:"template"});const Y=g(v.tagName),Z=g(I.tagName);return to[v.namespaceURI]?v.namespaceURI===kr?I.namespaceURI===Bt?Y==="svg":I.namespaceURI===Er?Y==="svg"&&(Z==="annotation-xml"||fn[Z]):!!no[Y]:v.namespaceURI===Er?I.namespaceURI===Bt?Y==="math":I.namespaceURI===kr?Y==="math"&&jt[Z]:!!oi[Y]:v.namespaceURI===Bt?I.namespaceURI===kr&&!jt[Z]||I.namespaceURI===Er&&!fn[Z]?!1:!oi[Y]&&(Cs[Y]||!no[Y]):!!(Jn==="application/xhtml+xml"&&to[v.namespaceURI]):!1},Rt=function(v){p(X.removed,{element:v});try{ue(v).removeChild(v)}catch{we(v)}},Ht=function(v,I){try{p(X.removed,{attribute:I.getAttributeNode(v),from:I})}catch{p(X.removed,{attribute:null,from:I})}if(I.removeAttribute(v),v==="is")if(On||wr)try{Rt(I)}catch{}else try{I.setAttribute(v,"")}catch{}},ii=function(v){let I=null,Y=null;if(Rn)v=""+v;else{const ye=y(v,/^[\r\n\t ]+/);Y=ye&&ye[0]}Jn==="application/xhtml+xml"&&un===Bt&&(v='
'+v+"

AltStyle によって変換されたページ (->オリジナル) /

");const Z=Le?Le.createHTML(v):v;if(un===Bt)try{I=new kn().parseFromString(Z,Jn)}catch{}if(!I||!I.documentElement){I=Ue.createDocument(un,"template",null);try{I.documentElement.innerHTML=eo?Qe:Z}catch{}}const ge=I.body||I.documentElement;return v&&Y&&ge.insertBefore(fe.createTextNode(Y),ge.childNodes[0]||null),un===Bt?_t.call(I,ln?"html":"body")[0]:ln?I.documentElement:ge},ro=function(v){return dt.call(v.ownerDocument||v,v,Dt.SHOW_ELEMENT|Dt.SHOW_COMMENT|Dt.SHOW_TEXT|Dt.SHOW_PROCESSING_INSTRUCTION|Dt.SHOW_CDATA_SECTION,null)},_r=function(v){return v instanceof Jr&&(typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||!(v.attributes instanceof yr)||typeof v.removeAttribute!="function"||typeof v.setAttribute!="function"||typeof v.namespaceURI!="string"||typeof v.insertBefore!="function"||typeof v.hasChildNodes!="function")},oo=function(v){return typeof Tt=="function"&&v instanceof Tt};function it(k,v,I){l(k,Y=>{Y.call(X,v,I,Pn)})}const io=function(v){let I=null;if(it(qe.beforeSanitizeElements,v,null),_r(v))return Rt(v),!0;const Y=Ge(v.nodeName);if(it(qe.uponSanitizeElement,v,{tagName:Y,allowedTags:Ne}),vr&&v.hasChildNodes()&&!oo(v.firstElementChild)&&O(/<[/\w!]/g,v.innerhtml)&&o(/<[/\w!]/g,v.textcontent)||v.nodetype===re.progressinginstruction||vr&&v.nodetype===re.comment&&o(/<[/\w]/g,v.data))return Rt(v),!0;if(!Ne[Y]||$t[Y]){if(!$t[Y]&&ai(Y)&&(Me.tagNameCheck instanceof RegExp&&O(Me.tagNameCheck,Y)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(Y)))return!1;if(Qr&&!Ut[Y]){const Z=ue(v)||v.parentNode,ge=_e(v)||v.childNodes;if(ge&&Z){const ye=ge.length;for(let Te=ye-1;Te>=0;--Te){const ke=M(ge[Te],!0);ke.__removalCount=(v.__removalCount||0)+1,Z.insertBefore(ke,ve(v))}}}return Rt(v),!0}return v instanceof Xe&&!Tr(v)||(Y==="noscript"||Y==="noembed"||Y==="noframes")&&O(/<\/no(script|embed|frames)/i,v.innerhtml)?(rt(v),!0):(an&&v.nodetype===re.text&&(i=v.textcontent,l([tn,_n,nt],z=>{I=b(I,Z," ")}),v.textContent!==I&&(p(X.removed,{element:v.cloneNode()}),v.textContent=I)),it(qe.afterSanitizeElements,v,null),!1)},si=function(v,I,Y){if(Qo&&(I==="id"||I==="name")&&(Y in fe||Y in Ls))return!1;if(!(Kn&&!At[I]&&O(qn,I))){if(!(cn&&O(sn,I))){if(!Be[I]||At[I]){if(!(ai(v)&&(Me.tagNameCheck instanceof RegExp&&O(Me.tagNameCheck,v)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(v))&&(Me.attributeNameCheck instanceof RegExp&&O(Me.attributeNameCheck,I)||Me.attributeNameCheck instanceof Function&&Me.attributeNameCheck(I,v))||I==="is"&&Me.allowCustomizedBuiltInElements&&(Me.tagNameCheck instanceof RegExp&&O(Me.tagNameCheck,Y)||Me.tagNameCheck instanceof Function&&Me.tagNameCheck(Y))))return!1}else if(!Sr[I]){if(!O(Gn,b(Y,pt,""))){if(!((I==="src"||I==="xlink:href"||I==="href")&&v!=="script"&&w(Y,"data:")===0&&Cn[v])){if(!(yt&&!O(an,b(Y,pt,"")))){if(Y)return!1}}}}}}return!0},ai=function(v){return v!=="annotation-xml"&&y(v,br)},ci=function(v){it(qe.beforeSanitizeAttributes,v,null);const{attributes:I}=v;if(!I||_r(v))return;const Y={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Be,forceKeepAttr:void 0};let Z=I.length;for(;Z--;){const ge=I[Z],{name:ye,namespaceURI:Te,value:ke}=ge,Ve=Ge(ye),st=ke;let Se=ye==="value"?st:_(st);if(Y.attrName=Ve,Y.attrValue=Se,Y.keepAttr=!0,Y.forceKeepAttr=void 0,it(qe.uponSanitizeAttribute,v,Y),Se=Y.attrValue,Zo&&(Ve==="id"||Ve==="name")&&(Ht(ye,v),Se=xs+Se),vr&&O(/((--!?|])>)|<\/(style|title|textarea)/i,se)){ht(ye,v);continue}if(ve==="attributename"&&y(se,"href")){ht(ye,v);continue}if(y.forcekeepattr)continue;if(!y.keepattr){ht(ye,v);continue}if(!xo&&o(/\/>/i,Se)){Ht(ye,v);continue}An&&l([Tn,_n,Nt],ct=>{Se=b(Se,ct," ")});const at=Ge(v.nodeName);if(!si(at,Ve,Se)){Ht(ye,v);continue}if(Le&&typeof ft=="object"&&typeof ft.getAttributeType=="function"&&!Te)switch(ft.getAttributeType(at,Ve)){case"TrustedHTML":{Se=Le.createHTML(Se);break}case"TrustedScriptURL":{Se=Le.createScriptURL(Se);break}}if(Se!==st)try{Te?v.setAttributeNS(Te,ye,Se):v.setAttribute(ye,Se),_r(v)?Rt(v):d(X.removed)}catch{Ht(ye,v)}}it(qe.afterSanitizeAttributes,v,null)},S=function k(v){let I=null;const Y=ro(v);for(it(qe.beforeSanitizeShadowDOM,v,null);I=Y.nextNode();)it(qe.uponSanitizeShadowNode,I,null),io(I),ci(I),I.content instanceof He&&k(I.content);it(qe.afterSanitizeShadowDOM,v,null)};return X.sanitize=function(k){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=null,Y=null,Z=null,ge=null;if(eo=!k,eo&&(k=""),Y=I.ownerDocument.importNode(k,!0),Y.nodeType===re.element&&Y.nodeName==="BODY"||Y.nodeName==="HTML"?I=Y:I.appendChild(Y);else{if(!On&&!An&&!ln&&k.indexOf("<")===-1)return Le&&bt?Le.createHTML(k):k;if(I=ii(k),!I)return On?null:bt?Qe:""}I&&Rn&&Rt(I.firstChild);const ye=ro(Yn?k:I);for(;Z=ye.nextNode();)io(Z),ci(Z),Z.content instanceof He&&S(Z.content);if(Yn)return k;if(On){if(wr)for(ge=on.call(I.ownerDocument);I.firstChild;)ge.appendChild(I.firstChild);else ge=I;return(Be.shadowroot||Be.shadowrootmode)&&(ge=Ye.call(le,ge,!0)),ge}let Te=ln?I.outerHTML:I.innerHTML;return ln&&Ne["!doctype"]&&I.ownerDocument&&I.ownerDocument.doctype&&I.ownerDocument.doctype.name&&O(R,I.ownerDocument.doctype.name)&&(Te=" `+Te),An&&l([Tn,_n,Nt],ke=>{Te=b(Te,ke," ")}),Le&&bt?Le.createHTML(Te):Te},X.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ft(k),Xr=!0},X.clearConfig=function(){Pn=null,Xr=!1},X.isValidAttribute=function(k,v,I){Pn||Ft({});const Y=Ge(k),Z=Ge(v);return si(Y,Z,I)},X.addHook=function(k,v){typeof v=="function"&&p(qe[k],v)},X.removeHook=function(k,v){if(v!==void 0){const I=f(qe[k],v);return I===-1?void 0:h(qe[k],I,1)[0]}return d(qe[k])},X.removeHooks=function(k){qe[k]=[]},X.removeAllHooks=function(){qe=It()},X}var Mt=rt();return yc=Mt,yc}var bc,kp;function _O(){return kp||(kp=1,bc=window.DOMPurify||(window.DOMPurify=Ep().default||Ep())),bc}var AO=_O();const RO=Gr(AO);function Wl(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var gr=Wl();function ly(e){gr=e}var To={exec:()=>null};function Re(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(o,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(lt.caret,"1ドル"),n=n.replace(o,s),r},getRegex:()=>new RegExp(n,t)};return r}var lt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)2円/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&"']/,escapeReplace:/[&"']/g,escapeTestNoEncode:/["']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/["']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},OO=/^(?:[ \t]*(?:\n|$))+/,xO=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,CO=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}1円[~`]* *(?=\n|$)|$)/,Ko=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,PO=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ql=/(?:[*+-]|\d{1,9}[.)])/,uy=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,fy=Re(uy).replace(/bull/g,ql).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),LO=Re(uy).replace(/bull/g,ql).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Gl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,IO=/^[^\n]+/,Vl=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,MO=Re(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Vl).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),DO=Re(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ql).getRegex(),_s="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Kl=/|$))/,NO=Re("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\s]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Kl).replace("tag",_s).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=`]+)?/).getRegex(),dy=Re(Gl).replace("hr",Ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_s).getregex(),$o=re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",dy).getRegex(),Yl={blockquote:$O,code:xO,def:MO,fences:CO,heading:PO,hr:Ko,html:NO,lheading:fy,list:DO,newline:OO,paragraph:dy,table:To,text:IO},Tp=Re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_s).getregex(),uo={...yl,lheading:lo,table:tp,paragraph:re(gl).replace("hr",ko).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Tp).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",_s).getregex()},bo={...yl,html:re(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\s]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Kl).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:To,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Re(Gl).replace("hr",Ko).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",fy).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},jO=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,FO=/^(`+)([^`]|[^`][\s\S]*?[^`])1円(?!`)/,py=/^( {2,}|\\)\n(?!\s*$)/,HO=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,gy=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,VO=Re(gy,"u").replace(/punct/g,As).getRegex(),KO=Re(gy,"u").replace(/punct/g,my).getRegex(),yy="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",YO=Re(yy,"gu").replace(/notPunctSpace/g,hy).replace(/punctSpace/g,Jl).replace(/punct/g,As).getRegex(),JO=Re(yy,"gu").replace(/notPunctSpace/g,qO).replace(/punctSpace/g,WO).replace(/punct/g,my).getRegex(),XO=Re("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,hy).replace(/punctSpace/g,Jl).replace(/punct/g,As).getRegex(),QO=Re(/\\(punct)/,"gu").replace(/punct/g,As).getRegex(),ZO=Re(/^<(scheme:[^\s\x00-\x1f]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ex=Re(Kl).replace("(?:-->|$)","-->").getRegex(),tx=Re("^comment|^|^<[a-za-z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\s]*?\\?>|^|^").replace("comment",ex).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=`]+)?/).getRegex(),Yi=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,nx=Re(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Yi).replace("href",/<(?:\\.|[^\n\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),by=Re(/^!?\[(label)\]\[(ref)\]/).replace("label",Yi).replace("ref",Vl).getRegex(),vy=Re(/^!?\[(ref)\](?:\[\])?/).replace("ref",Vl).getRegex(),rx=Re("reflink|nolink(?!\\()","g").replace("reflink",by).replace("nolink",vy).getRegex(),Xl={_backpedal:To,anyPunctuation:QO,autolink:ZO,blockSkip:GO,br:py,code:FO,del:To,emStrongLDelim:VO,emStrongRDelimAst:YO,emStrongRDelimUnd:XO,escape:jO,link:nx,nolink:vy,punctuation:zO,reflink:by,reflinkSearch:rx,tag:tx,text:HO,url:To},ox={...Xl,link:Re(/^!?\[(label)\]\((.*?)\)/).replace("label",Yi).getRegex(),reflink:Re(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Yi).getRegex()},tl={...Xl,emStrongRDelimAst:JO,emStrongLDelim:KO,url:Re(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[a-za-z0-9._+-]+(@)[a-za-z0-9-_]+(?:\.[a-za-z0-9-_]*[a-za-z0-9])+(?![-_])/).getregex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-za-z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\s]|[^\\])*?(?:\\[\s\s]|[^\s~\\]))1円(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},_p=e=>sx[e];function Jt(e,t){if(t){if(lt.escapeTest.test(e))return e.replace(lt.escapeReplace,_p)}else if(lt.escapeTestNoEncode.test(e))return e.replace(lt.escapeReplaceNoEncode,_p);return e}function Ap(e){try{e=encodeURI(e).replace(lt.percentDecode,"%")}catch{return null}return e}function Rp(e,t){let n=e.replace(lt.findPipe,(i,s,a)=>{let c=!1,u=s;for(;--u>=0&&a[u]==="\\";)c=!c;return c?"|":" |"}),r=n.split(lt.splitPipe),o=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length0?-2:-1}function Op(e,t,n,r,o){let i=t.href,s=t.title||null,a=e[1].replace(o.other.outputLinkReplace,"1ドル");r.state.inLink=!0;let c={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:s,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,c}function cx(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let o=r[1];return t.split(` `).map(i=>{let s=i.match(n.other.beginningSpace);if(s===null)return i;let[a]=s;return a.length>=o.length?i.slice(o.length):i}).join(` `)}var Ji=class{options;rules;lexer;constructor(t){this.options=t||gr}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let r=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:go(r,` `)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let r=n[0],o=cx(r,n[3]||"",this.rules);return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"1ドル"):n[2],text:o}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(this.rules.other.endingHash.test(r)){let o=go(r,"#");(this.options.pedantic||!o||this.rules.other.endingSpaceChar.test(o))&&(r=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:go(n[0],` `)}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let r=go(n[0],` `).split(` `),o="",i="",s=[];for(;r.length>0;){let a=!1,c=[],u;for(u=0;u1,i={type:"list",raw:"",ordered:o,start:o?+r.slice(0,-1):"",loose:!1,items:[]};r=o?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=o?r:"[*+-]");let s=this.rules.other.listItemRegex(r),a=!1;for(;t;){let u=!1,l="",f="";if(!(n=s.exec(t))||this.rules.block.hr.test(t))break;l=n[0],t=t.substring(l.length);let d=n[2].split(` `,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),p=t.split(` `,1)[0],h=!d.trim(),g=0;if(this.options.pedantic?(g=2,f=d.trimStart()):h?g=n[1].length+1:(g=n[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,f=d.slice(g),g+=n[1].length),h&&this.rules.other.blankLine.test(p)&&(l+=p+` `,t=t.substring(p.length+1),u=!0),!u){let b=this.rules.other.nextBulletRegex(g),w=this.rules.other.hrRegex(g),_=this.rules.other.fencesBeginRegex(g),A=this.rules.other.headingBeginRegex(g),O=this.rules.other.htmlBeginRegex(g);for(;t;){let x=t.split(` `,1)[0],D;if(p=x,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),D=p):D=p.replace(this.rules.other.tabCharGlobal," "),_.test(p)||A.test(p)||O.test(p)||b.test(p)||w.test(p))break;if(D.search(this.rules.other.nonSpaceChar)>=g||!p.trim())f+=` `+D.slice(g);else{if(h||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||_.test(d)||A.test(d)||w.test(d))break;f+=` `+p}!h&&!p.trim()&&(h=!0),l+=x+` `,t=t.substring(x.length+1),d=D.slice(g)}}i.loose||(a?i.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(a=!0));let m=null,y;this.options.gfm&&(m=this.rules.other.listIsTask.exec(f),m&&(y=m[0]!=="[ ] ",f=f.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:l,task:!!m,checked:y,loose:!1,text:f,tokens:[]}),i.raw+=l}let c=i.items.at(-1);if(c)c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;ud.type==="space"),f=l.length>0&&l.some(d=>this.rules.other.anyLine.test(d.raw));i.loose=f}if(i.loose)for(let u=0;u({text:c,tokens:this.lexer.inline(c),header:!1,align:s.align[u]})));return s}}lheading(t){let n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){let n=this.rules.block.paragraph.exec(t);if(n){let r=n[1].charAt(n[1].length-1)===` `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){let n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){let n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(t){let n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){let n=this.rules.inline.link.exec(t);if(n){let r=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let s=go(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{let s=ax(n[2],"()");if(s===-2)return;if(s>-1){let a=(n[0].indexOf("!")===0?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,a).trim(),n[3]=""}}let o=n[2],i="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(o);s&&(o=s[1],i=s[3])}else i=n[3]?n[3].slice(1,-1):"";return o=o.trim(),this.rules.other.startAngleBracket.test(o)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?o=o.slice(1):o=o.slice(1,-1)),Op(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"1ドル"),title:i&&i.replace(this.rules.inline.anyPunctuation,"1ドル")},n[0],this.lexer,this.rules)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let o=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=n[o.toLowerCase()];if(!i){let s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Op(r,i,r[0],this.lexer,this.rules)}}emStrong(t,n,r=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!r||this.rules.inline.punctuation.exec(r))){let i=[...o[0]].length-1,s,a,c=i,u=0,l=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,n=n.slice(-1*t.length+i);(o=l.exec(n))!=null;){if(s=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!s)continue;if(a=[...s].length,o[3]||o[4]){c+=a;continue}else if((o[5]||o[6])&&i%3&&!((i+a)%3)){u+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+u);let f=[...o[0]][0].length,d=t.slice(0,i+o.index+f+a);if(Math.min(i,a)%2){let h=d.slice(1,-1);return{type:"em",raw:d,text:h,tokens:this.lexer.inlineTokens(h)}}let p=d.slice(2,-2);return{type:"strong",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){let n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(this.rules.other.newLineCharGlobal," "),o=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return o&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:n[0],text:r}}}br(t){let n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){let n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){let n=this.rules.inline.autolink.exec(t);if(n){let r,o;return n[2]==="@"?(r=n[1],o="mailto:"+r):(r=n[1],o=r),{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let n;if(n=this.rules.inline.url.exec(t)){let r,o;if(n[2]==="@")r=n[0],o="mailto:"+r;else{let i;do i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(i!==n[0]);r=n[0],n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let n=this.rules.inline.text.exec(t);if(n){let r=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:r}}}},bn=class nl{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||gr,this.options.tokenizer=this.options.tokenizer||new Ji,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:lt,block:bi.normal,inline:mo.normal};this.options.pedantic?(n.block=bi.pedantic,n.inline=mo.pedantic):this.options.gfm&&(n.block=bi.gfm,this.options.breaks?n.inline=mo.breaks:n.inline=mo.gfm),this.tokenizer.rules=n}static get rules(){return{block:bi,inline:mo}}static lex(t,n){return new nl(n).lex(t)}static lexInline(t,n){return new nl(n).inlineTokens(t)}lex(t){t=t.replace(lt.carriageReturn,` `),this.blockTokens(t,this.tokens);for(let n=0;n(o=s.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))continue;if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length);let s=n.at(-1);o.raw.length===1&&s!==void 0?s.raw+=` `:n.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length);let s=n.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` `)?"":` `)+o.raw,s.text+=` `+o.text,this.inlineQueue.at(-1).src=s.text):n.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length);let s=n.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` `)?"":` `)+o.raw,s.text+=` `+o.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},n.push(o));continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),n.push(o);continue}let i=t;if(this.options.extensions?.startBlock){let s=1/0,a=t.slice(1),c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},a),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){let s=n.at(-1);r&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(` `)?"":` `)+o.raw,s.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):n.push(o),r=i.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length);let s=n.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(` `)?"":` `)+o.raw,s.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):n.push(o);continue}if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,o=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)a.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,s="";for(;t;){i||(s=""),i=!1;let a;if(this.options.extensions?.inline?.some(u=>(a=u.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.escape(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.tag(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.link(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(a.raw.length);let u=n.at(-1);a.type==="text"&&u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):n.push(a);continue}if(a=this.tokenizer.emStrong(t,r,s)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.codespan(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.br(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.del(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.autolink(t)){t=t.substring(a.raw.length),n.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(t))){t=t.substring(a.raw.length),n.push(a);continue}let c=t;if(this.options.extensions?.startInline){let u=1/0,l=t.slice(1),f;this.options.extensions.startInline.forEach(d=>{f=d.call({lexer:this},l),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(c=t.substring(0,u+1))}if(a=this.tokenizer.inlineText(c)){t=t.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),i=!0;let u=n.at(-1);u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):n.push(a);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}},Xi=class{options;parser;constructor(e){this.options=e||gr}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(lt.notSpaceStart)?.[0],o=e.replace(lt.endingNewline,"")+` `;return r?'
'+(n?o:Jt(o,!0))+`
`:"
"+(n?o:Jt(o,!0))+`
`}blockquote({tokens:e}){return`
${this.parser.parse(e)}
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`${this.parser.parseInline(e)} `}hr(e){return`
`}list(e){let t=e.ordered,n=e.start,r="";for(let s=0;s `+r+" `}listitem(e){let t="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+Jt(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`
  • ${t}
  • `}checkbox({checked:e}){return"'}paragraph({tokens:e}){return`

    ${this.parser.parseInline(e)}

    `}table(e){let t="",n="";for(let o=0;o${r}`),` `+t+` `+r+`
    `}tablerow({text:e}){return` ${e} `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n}>`:`<${n}>`)+t+` `}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${Jt(e,!0)}`}br(e){return"
    "}del({tokens:e}){return`(削除) ${this.parser.parseInline(e)} (削除ここまで)`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),o=Ap(e);if(o===null)return r;e=o;let i='
    ",i}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let o=Ap(e);if(o===null)return Jt(n);e=o;let i=`${n}",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Jt(e.text)}},Ql=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},vn=class rl{options;renderer;textRenderer;constructor(t){this.options=t||gr,this.options.renderer=this.options.renderer||new Xi,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ql}static parse(t,n){return new rl(n).parse(t)}static parseInline(t,n){return new rl(n).parseInline(t)}parse(t,n=!0){let r="";for(let o=0;o{let s=o[i].flat(1/0);n=n.concat(this.walkTokens(s,t))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let i=t.renderers[o.name];i?t.renderers[o.name]=function(...s){let a=o.renderer.apply(this,s);return a===!1&&(a=i.apply(this,s)),a}:t.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[o.level];i?i.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&(o.level==="block"?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:o.level==="inline"&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),n.renderer){let o=this.defaults.renderer||new Xi(this.defaults);for(let i in n.renderer){if(!(i in o))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let s=i,a=n.renderer[s],c=o[s];o[s]=(...u)=>{let l=a.apply(o,u);return l===!1&&(l=c.apply(o,u)),l||""}}r.renderer=o}if(n.tokenizer){let o=this.defaults.tokenizer||new Ji(this.defaults);for(let i in n.tokenizer){if(!(i in o))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let s=i,a=n.tokenizer[s],c=o[s];o[s]=(...u)=>{let l=a.apply(o,u);return l===!1&&(l=c.apply(o,u)),l}}r.tokenizer=o}if(n.hooks){let o=this.defaults.hooks||new bo;for(let i in n.hooks){if(!(i in o))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let s=i,a=n.hooks[s],c=o[s];bo.passThroughHooks.has(i)?o[s]=u=>{if(this.defaults.async&&bo.passThroughHooksRespectAsync.has(i))return Promise.resolve(a.call(o,u)).then(f=>c.call(o,f));let l=a.call(o,u);return c.call(o,l)}:o[s]=(...u)=>{let l=a.apply(o,u);return l===!1&&(l=c.apply(o,u)),l}}r.hooks=o}if(n.walkTokens){let o=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(s){let a=[];return a.push(i.call(this,s)),o&&(a=a.concat(o.call(this,s))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return bn.lex(e,t??this.defaults)}parser(e,t){return vn.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},o={...this.defaults,...r},i=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=e);let s=o.hooks?o.hooks.provideLexer():e?bn.lex:bn.lexInline,a=o.hooks?o.hooks.provideParser():e?vn.parse:vn.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(t):t).then(c=>s(c,o)).then(c=>o.hooks?o.hooks.processAllTokens(c):c).then(c=>o.walkTokens?Promise.all(this.walkTokens(c,o.walkTokens)).then(()=>c):c).then(c=>a(c,o)).then(c=>o.hooks?o.hooks.postprocess(c):c).catch(i);try{o.hooks&&(t=o.hooks.preprocess(t));let c=s(t,o);o.hooks&&(c=o.hooks.processAllTokens(c)),o.walkTokens&&this.walkTokens(c,o.walkTokens);let u=a(c,o);return o.hooks&&(u=o.hooks.postprocess(u)),u}catch(c){return i(c)}}}onError(e,t){return n=>{if(n.message+=` Please report this to https://github.com/markedjs/marked.`,e){let r="

    An error occurred:

    "+Jt(n.message+"",!0)+"
    ";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},hr=new wy;function Pe(e,t){return hr.parse(e,t)}Pe.options=Pe.setOptions=function(e){return hr.setOptions(e),Pe.defaults=hr.defaults,ly(Pe.defaults),Pe};Pe.getDefaults=Wl;Pe.defaults=gr;Pe.use=function(...e){return hr.use(...e),Pe.defaults=hr.defaults,ly(Pe.defaults),Pe};Pe.walkTokens=function(e,t){return hr.walkTokens(e,t)};Pe.parseInline=hr.parseInline;Pe.Parser=vn;Pe.parser=vn.parse;Pe.Renderer=Xi;Pe.TextRenderer=Ql;Pe.Lexer=bn;Pe.lexer=bn.lex;Pe.Tokenizer=Ji;Pe.Hooks=bo;Pe.parse=Pe;Pe.options;Pe.setOptions;Pe.use;Pe.walkTokens;Pe.parseInline;vn.parse;bn.lex;const FI="Bricsys NV",HI="https://images.ctfassets.net/26961o1141cc/2hLiWdkXpy3PXACkUsubz6/717c918d233dca4051309475b68e426f/fallback-meta-image.png",zI="2ojP3NfaAzGDUSI6W9bvTf",WI="zHJ77D51LUJFgZEjSHVk6",qI="7zWEzf7rkuAjeUqe3qZLmN",GI="2IWDa50jdkB9YFtac5Em3m",VI="1UtKBzWYae5gXbcpSGn0g5",lx="https://help.bricsys.com",KI="https://www.bricsys.com/common/releasenotes.jsp?i=",YI={storeConfigurator:"/store/bricscad/configurator",store:"/store/bricscad",developerResources:"/developer-resources",download:"/bricscad-download",downloadCommunicator:"/communicator-download",contactSales:"/contact-sales"},JI="modal_id",XI="reseller_id",QI=800,ZI=1e3,eM=`window._vwo_code || (function() {var account_id=1065957, version=2.1, settings_tolerance=2000, hide_element='body', hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;', /* DO NOT EDIT BELOW THIS LINE */ f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={nonce:v&&v.nonce,use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}v&&t.setAttribute('nonce',v.nonce);d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var n=this.getSettings(),i=d.createElement('script'),r=this;t=t||{};if(n){i.textContent=n;d.getElementsByTagName('head')[0].appendChild(i);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200||o.status===304){_vwo_code.addScript({text:o.responseText})}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var n=this.hide_element(),i=n?n+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=i;else t.appendChild(d.createTextNode(i));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var i=d.createElement('div');i.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;display: block !important;';i.setAttribute('id','_vis_opt_path_hides');i.classList.add('_vis_hide_layer');t.parentNode.insertBefore(i,t.nextSibling)}var o=window._vis_opt_url||d.URL,s='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(o)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:s})}else{this.load(s+'&x=true')}}};w._vwo_code=code;code.init();})();`,ux={link({href:e,title:t,text:n}){const o=Ze().public.baseUrl,i=!e.startsWith(o),a=e.includes(lx)||i?'target="_blank"':"";return`
    ${n}`},image({href:e,text:t}){const n=`${e}?fm=webp`;return`${t}`}},fx=new wy({renderer:ux,breaks:!0}),Sy=nm("globalStore",()=>{const{$contentful:e}=$e(),t=he(null),n=he(!1),r=he({}),o=he(!1),i=he(""),s=he(""),a=he(""),c=he(void 0),u=he(void 0),l=async()=>{const[h,g,m]=await Promise.all([e.entry("1h2IELDw8bAoylA5FA1I1H"),e.entry("1h2IELDw8bAoylA5FA1I1H",{locale:"en-US"}),e.entry("2lW5fVVGU6v3FJZAot9N8R")]),y=await Ey(h,g);t.value=y??{},u.value=m?.fields??{}},f=()=>e.entries({content_type:"webCustomComponent","fields.componentName":"global notification bar",include:5}).catch(()=>null),d=h=>[...h].sort((g,m)=>g?.fields?.isPromoRelated!==m?.fields?.isPromoRelated?m?.fields?.isPromoRelated??!1?1:-1:g?.fields?.showOnAllPages!==m?.fields?.showOnAllPages?m?.fields?.showOnAllPages??!1?1:-1:new Date(m?.sys?.updatedAt??"").getTime()-new Date(g?.sys?.updatedAt??"").getTime());return{globalMessages:t,hasDownloaded:n,downloadVersion:r,appIsMounted:o,currentPageTitle:i,currentPageName:s,currentPageId:a,globalNotificationBars:c,ariaLabels:u,fetchGlobalMessages:l,getGlobalNotificationBars:async()=>{const h=await f();if(!h?.items)return;const g={};for(const m of h.items){const y=m?.fields?.references??[],b=y.filter(O=>O?.sys?.contentType?.sys?.id==="webNotificationBar");if(b.length===0)continue;const w=d(b)[0],_=b.filter(O=>O?.fields?.showOnAllPages);_.length>0&&(g.showAll=d(_)[0]);const A=y.filter(O=>O?.sys?.contentType?.sys?.id==="webPage");for(const O of A){const x=O?.fields?.urlPermalink;x&&(g[x]=w)}}c.value=g}}});function tM(e,t){const n=e?.fields.components?.filter(r=>r?.sys.contentType.sys.id===t)??[];return n.length>1?n:n[0]??null}function nM(e){return e.sys.contentType.sys.id}const rM=async e=>{const{$contentful:t}=$e();if(!e)return console.log("No generic entry provided");const n=e.sys.id,r=await t.entry(n,{locale:"en-US"});return r?Ey(e,r):console.log("No english entry found")},Ey=(e,t)=>{const n=e.fields?.data??{},r=t.fields?.data??{};if(!n||!r)return console.error("One or both entries are missing data");const o={...n};for(const i in r)Object.hasOwn(n,i)||(o[i]=r[i]);return o};let vc=null;const dx=({environment:e="master",previewApi:t=!0}={})=>{if(!vc){const n=Ze(),r={space:n.public.contentfulSpaceId,environment:e??"master",accessToken:t?n.public.contentfulPreviewToken:n.public.contentfulAccessToken,host:t?"preview.contentful.com":"cdn.contentful.com"};vc=CR(r)}return vc},oM=async(e,t,n)=>{const r=n.map(a=>hx(a,e,t)),i=(await Promise.all(r)).map(a=>a.items).flat(),s=px(i);return mx(s,n)},px=e=>[...new Map(e?.map(t=>[t.sys.id,t])).values()],hx=(e,t,n)=>{const{$contentful:r}=$e();return r.entries({...n,[`fields.${e}[match]`]:t})},mx=(e,t)=>e?.filter(n=>t.some(r=>n.fields[r])),ky=async(e,t)=>{if(!e){console.warn("No DOM element found for entry");return}try{const n=await fx.parse(t),r=RO.sanitize(n,{ADD_TAGS:["wistia-player"],ADD_ATTR:["target","media-id","aspect"]});e.innerHTML=r}catch(n){console.error("Error parsing markdown content:",n)}},Ty=(e,t)=>{if(!t.fields){console.warn("No fields found in updated data");return}return e.includes("copy")?t.fields?.banner?.fields?.columns?.[0]?.fields?.[e.replace("copy-","")]:t.fields[e]},gx=(e,t)=>{const n=_y(t),r=Ty(t,e);typeof r=="string"&&ky(n,r)},yx=(e,t,n)=>{const r=[];try{const o=cy.subscribe({data:e,locale:n,callback:i=>gx(i,t)});r.push(o)}catch(o){console.error("Error setting up live preview:",o)}},_y=e=>{const{currentPageId:t}=Ho(Sy());return document.querySelector(`.contentful-entry-id-${t.value}.contentful-field-id-${e}`)},bx=(e,t)=>{if(!e?.fields)return;const n=_y(t);if(!n)return;const r=Ty(t,e);if(typeof r=="string")try{ky(n,r)}catch(o){console.error(`Error updating content for entry, field ${t}:`,o)}},iM=e=>{const{currentPageId:t}=Ho(Sy());return`contentful-entry-id-${t.value} contentful-field-id-${e}`},sM=e=>{const t=["title","excerpt","body","intro","copy-super-title","copy-title","copy-subtitle","copy-description"];if(e?.fields?.relatedPosts)for(const s in e?.fields?.relatedPosts)delete e?.fields?.relatedPosts?.[s]?.fields?.relatedPosts;if(!(Ze().public.runtimeEnv==="development"))return;const{currentLocale:o}=Ho(Rl()),i=Im(o.value);cy.init({locale:i}),t.forEach(s=>{bx(e,s),yx(e,s,i)})},vx=De({name:"contentful",parallel:!0,setup(){const e=Ze(),{currentLocale:t}=Ho(Rl()),n=()=>Im(t.value),r=e.public.runtimeEnv==="development",o=dx({environment:e.public.contentfulEnv,previewApi:r}).withoutUnresolvableLinks;return{provide:{contentful:{asset(s,a={}){return o.getAsset(s,a)},assets(s={}){return o.getAssets(s)},contentType(s){return o.getContentType(s)},entry(s,a={}){return o.getEntry(s,{locale:n(),...a})},entries(s={}){return o.getEntries({locale:n(),...s})},getPage(s){return o.getEntry(s)},space(){return o.getSpace()},locales(){return o.getLocales()},sync(s={}){return o.sync(s)}}}}}}),Ot={addEventListeners(e,t,n){for(let r=0,o=t.length;r"u";if(!(!D&&(!j||x&&!F))&&!(d.button===0&&b)){if(d.button===1&&_||d.button===2&&w||d.button===3&&A||d.button===4&&O)return;l=1,c=p?d.clientX:d.touches[0].clientX,u=p?d.clientY:d.touches[0].clientY}},r.mu=function(d){l=0,f&&Ot.emitEvent(n,"dragscrollend"),f=!1},r.mm=function(d){const p=d instanceof window.MouseEvent;let h,g;if(l){d.preventDefault(),f||Ot.emitEvent(n,"dragscrollstart"),f=!0;const m=r.scrollLeft+r.clientWidth>=r.scrollWidth||r.scrollLeft===0,y=r.scrollTop+r.clientHeight>=r.scrollHeight||r.scrollTop===0;h=-c+(c=p?d.clientX:d.touches[0].clientX),g=-u+(u=p?d.clientY:d.touches[0].clientY),t.modifiers.pass?(r.scrollLeft-=t.modifiers.y?-0:h,r.scrollTop-=t.modifiers.x?-0:g,r===document.body&&(r.scrollLeft-=t.modifiers.y?-0:h,r.scrollTop-=t.modifiers.x?-0:g),(m||t.modifiers.y)&&s(-h,0),(y||t.modifiers.x)&&s(0,-g)):(t.modifiers.x&&(g=-0),t.modifiers.y&&(h=-0),r.scrollLeft-=h,r.scrollTop-=g,r===document.body&&(r.scrollLeft-=h,r.scrollTop-=g)),Ot.emitEvent(n,"dragscrollmove",{deltaX:-h,deltaY:-g})}},Ot.addEventListeners(r,ol,r.md),Ot.addEventListeners(window,sl,r.mu),Ot.addEventListeners(window,il,r.mm)};o?document.readyState==="complete"?a():window.addEventListener("load",a):(Ot.removeEventListeners(r,ol,r.md),Ot.removeEventListeners(window,sl,r.mu),Ot.removeEventListeners(window,il,r.mm))},wx=e=>{const t=e;Ot.removeEventListeners(t,ol,t.md),Ot.removeEventListeners(window,sl,t.mu),Ot.removeEventListeners(window,il,t.mm)},Ay={mounted:(e,t,n)=>xp(e,t,n),updated:(e,t,n)=>{JSON.stringify(t.value)!==JSON.stringify(t.oldValue)&&xp(e,t,n)},unmounted:e=>wx(e)},Sx={install(e){e.directive("dragscroll",Ay)}};typeof window<"u"&&window.vue&&(window.vuedragscroll=ay);const Ex=De({name:"directives",parallel:!0,setup(e){e.vueApp.use(Sx)}});function Ry(e){if(!(this instanceof Ry))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");if(typeof e!="string"&&!Sc(e))throw new Error("The 'Keycloak' constructor must be provided with a configuration object, or a URL to a JSON configuration file.");if(Sc(e)){const E="oidcProvider"in e?["clientId"]:["url","realm","clientId"];for(const P of E)if(!e[P])throw new Error(`The configuration object is missing the required '${P}' property.`)}var t=this,n,r=[],o,i={enable:!0,callbackList:[],interval:5};t.didInitialize=!1;var s=!0,a=be(console.info),c=be(console.warn);globalThis.isSecureContext||c(`[KEYCLOAK] Keycloak JS must be used in a 'secure context' to function properly as it relies on browser APIs that are otherwise not available. Continuing to run your application insecurely will lead to unexpected behavior and breakage. For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts`),t.init=function(E={}){if(t.didInitialize)throw new Error("A 'Keycloak' instance can only be initialized once.");t.didInitialize=!0,t.authenticated=!1,o=ne();var P=["default","cordova","cordova-native"];if(P.indexOf(E.adapter)>-1?n=ae(E.adapter):typeof E.adapter=="object"?n=E.adapter:window.Cordova||window.cordova?n=ae("cordova"):n=ae(),typeof E.useNonce<"u"&&(s=e.usenonce),typeof E.checkLoginIframe<"u"&&(i.enable=e.checkloginiframe),e.checkloginiframeinterval&&(i.interval=e.checkloginiframeinterval),e.login-required"&&(t.loginrequired=!0),e.responsemode)if(e.responsemode==="query"||e.responsemode==="fragment")t.responsemode=e.responsemode;else" throw"Invalid value for responseMode";if(E.flow){switch(E.flow){case"standard":t.responseType="code";break;case"implicit":t.responseType="id_token token";break;case"hybrid":t.responseType="code id_token token";break;default:throw"Invalid value for flow"}t.flow=E.flow}if(E.timeSkew!=null&&(t.timeSkew=E.timeSkew),E.redirectUri&&(t.redirectUri=E.redirectUri),E.silentCheckSsoRedirectUri&&(t.silentCheckSsoRedirectUri=E.silentCheckSsoRedirectUri),typeof E.silentCheckSsoFallback=="boolean"?t.silentCheckSsoFallback=E.silentCheckSsoFallback:t.silentCheckSsoFallback=!0,typeof E.pkceMethod<"u"){if(e.pkcemethod!=="s256"&&e.pkcemethod!==!1)throw new TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${E.pkceMethod}.`);t.pkceMethod=E.pkceMethod}else t.pkceMethod="S256";typeof E.enableLogging=="boolean"?t.enableLogging=E.enableLogging:t.enableLogging=!1,E.logoutMethod==="POST"?t.logoutMethod="POST":t.logoutMethod="GET",typeof E.scope=="string"&&(t.scope=E.scope),typeof E.acrValues=="string"&&(t.acrValues=E.acrValues),typeof E.messageReceiveTimeout=="number"&&E.messageReceiveTimeout>0?t.messageReceiveTimeout=E.messageReceiveTimeout:t.messageReceiveTimeout=1e4,t.responseMode||(t.responseMode="fragment"),t.responseType||(t.responseType="code",t.flow="standard");var G=D(),V=D();V.promise.then(function(){t.onReady&&t.onReady(t.authenticated),G.setSuccess(t.authenticated)}).catch(function(T){G.setError(T)});var q=y();function z(){var T=function(W){W||(H.prompt="none"),E.locale&&(H.locale=E.locale),t.login(H).then(function(){V.setSuccess()}).catch(function(J){V.setError(J)})},N=async function(){var W=document.createElement("iframe"),J=await t.createLoginUrl({prompt:"none",redirectUri:t.silentCheckSsoRedirectUri});W.setAttribute("src",J),W.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),W.setAttribute("title","keycloak-silent-check-sso"),W.style.display="none",document.body.appendChild(W);var Q=function(R){if(!(R.origin!==window.location.origin||W.contentWindow!==R.source)){var C=A(R.data);m(C,V),document.body.removeChild(W),window.removeEventListener("message",Q)}};window.addEventListener("message",Q)},H={};switch(E.onLoad){case"check-sso":i.enable?j().then(function(){U().then(function(W){W?V.setSuccess():t.silentCheckSsoRedirectUri?N():T(!1)}).catch(function(W){V.setError(W)})}):t.silentCheckSsoRedirectUri?N():T(!1);break;case"login-required":T(!0);break;default:throw"Invalid value for onLoad"}}function B(){var T=A(window.location.href);if(T&&window.history.replaceState(window.history.state,null,T.newUrl),T&&T.valid)return j().then(function(){m(T,V)}).catch(function(N){V.setError(N)});E.token&&E.refreshToken?(w(E.token,E.refreshToken,E.idToken),i.enable?j().then(function(){U().then(function(N){N?(t.onAuthSuccess&&t.onAuthSuccess(),V.setSuccess(),te()):V.setSuccess()}).catch(function(N){V.setError(N)})}):t.updateToken(-1).then(function(){t.onAuthSuccess&&t.onAuthSuccess(),V.setSuccess()}).catch(function(N){t.onAuthError&&t.onAuthError(),E.onLoad?z():V.setError(N)})):E.onLoad?z():V.setSuccess()}return q.then(function(){ee().then(B).catch(function(T){G.setError(T)})}),q.catch(function(T){G.setError(T)}),G.promise},t.login=function(E){return n.login(E)};function u(E){if(typeof crypto>"u"||typeof crypto.getRandomValues>"u")throw new Error("Web Crypto API is not available.");return crypto.getRandomValues(new Uint8Array(E))}function l(E){return f(E,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function f(E,P){for(var G=u(E),V=new Array(E),q=0;q=0},t.hasResourceRole=function(E,P){if(!t.resourceAccess)return!1;var G=t.resourceAccess[P||t.clientId];return!!G&&G.roles.indexOf(E)>=0},t.loadUserProfile=function(){var E=h()+"/account",P=new XMLHttpRequest;P.open("GET",E,!0),P.setRequestHeader("Accept","application/json"),P.setRequestHeader("Authorization","bearer "+t.token);var G=D();return P.onreadystatechange=function(){P.readyState==4&&(P.status==200?(t.profile=JSON.parse(P.responseText),G.setSuccess(t.profile)):G.setError())},P.send(),G.promise},t.loadUserInfo=function(){var E=t.endpoints.userinfo(),P=new XMLHttpRequest;P.open("GET",E,!0),P.setRequestHeader("Accept","application/json"),P.setRequestHeader("Authorization","bearer "+t.token);var G=D();return P.onreadystatechange=function(){P.readyState==4&&(P.status==200?(t.userInfo=JSON.parse(P.responseText),G.setSuccess(t.userInfo)):G.setError())},P.send(),G.promise},t.isTokenExpired=function(E){if(!t.tokenParsed||!t.refreshToken&&t.flow!="implicit")throw"Not authenticated";if(t.timeSkew==null)return a("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var P=t.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+t.timeSkew;if(E){if(isNaN(E))throw"Invalid minValidity";P-=E}return P<0},t.updatetoken=function(e){var P=D();if(!t.refreshToken)return P.setError(),P.promise;E=E||5;var G=function(){var q=!1;if(E==-1?(q=!0,a("[KEYCLOAK] Refreshing token: forced refresh")):(!t.tokenParsed||t.isTokenExpired(E))&&(q=!0,a("[KEYCLOAK] Refreshing token: token expired")),!q)P.setSuccess(!1);else{var z="grant_type=refresh_token&refresh_token="+t.refreshToken,B=t.endpoints.token();if(r.push(P),r.length==1){var T=new XMLHttpRequest;T.open("POST",B,!0),T.setRequestHeader("Content-type","application/x-www-form-urlencoded"),T.withCredentials=!0,z+="&client_id="+encodeURIComponent(t.clientId);var N=new Date().getTime();T.onreadystatechange=function(){if(T.readyState==4)if(T.status==200){a("[KEYCLOAK] Token refreshed"),N=(N+new Date().getTime())/2;var H=JSON.parse(T.responseText);w(H.access_token,H.refresh_token,H.id_token,N),t.onAuthRefreshSuccess&&t.onAuthRefreshSuccess();for(var W=r.pop();W!=null;W=r.pop())W.setSuccess(!0)}else{c("[KEYCLOAK] Failed to refresh token"),T.status==400&&t.clearToken(),t.onAuthRefreshError&&t.onAuthRefreshError();for(var W=r.pop();W!=null;W=r.pop())W.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.")}},T.send(z)}}};if(i.enable){var V=U();V.then(function(){G()}).catch(function(q){P.setError(q)})}else G();return P.promise},t.clearToken=function(){t.token&&(w(null,null,null),t.onAuthLogout&&t.onAuthLogout(),t.loginRequired&&t.login())};function h(){if(typeof t.authServerUrl<"u")return t.authServerUrl.charAt(t.authServerUrl.length-1)=="/"?t.authServerUrl+"realms/"+encodeURIComponent(t.realm):t.authServerUrl+"/realms/"+encodeURIComponent(t.realm)}function g(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function m(E,P){var G=E.code,V=E.error,q=E.prompt,z=new Date().getTime();if(E.kc_action_status&&t.onActionUpdate&&t.onActionUpdate(E.kc_action_status,E.kc_action),V){if(q!="none")if(E.error_description&&E.error_description==="authentication_expired")t.login(E.loginOptions);else{var B={error:V,error_description:E.error_description};t.onAuthError&&t.onAuthError(B),P&&P.setError(B)}else P&&P.setSuccess();return}else t.flow!="standard"&&(E.access_token||E.id_token)&&W(E.access_token,null,E.id_token,!0);if(t.flow!="implicit"&&G){var T="code="+G+"&grant_type=authorization_code",N=t.endpoints.token(),H=new XMLHttpRequest;H.open("POST",N,!0),H.setRequestHeader("Content-type","application/x-www-form-urlencoded"),T+="&client_id="+encodeURIComponent(t.clientId),T+="&redirect_uri="+E.redirectUri,E.pkceCodeVerifier&&(T+="&code_verifier="+E.pkceCodeVerifier),H.withCredentials=!0,H.onreadystatechange=function(){if(H.readyState==4)if(H.status==200){var J=JSON.parse(H.responseText);W(J.access_token,J.refresh_token,J.id_token,t.flow==="standard"),te()}else t.onAuthError&&t.onAuthError(),P&&P.setError()},H.send(T)}function W(J,Q,R,C){z=(z+new Date().getTime())/2,w(J,Q,R,z),s&&t.idTokenParsed&&t.idTokenParsed.nonce!=E.storedNonce?(a("[KEYCLOAK] Invalid nonce, clearing token"),t.clearToken(),P&&P.setError()):C&&(t.onAuthSuccess&&t.onAuthSuccess(),P&&P.setSuccess())}}function y(){var E=D(),P;typeof e=="string"&&(P=e);function G(B){B?t.endpoints={authorize:function(){return B.authorization_endpoint},token:function(){return B.token_endpoint},logout:function(){if(!B.end_session_endpoint)throw"Not supported by the OIDC server";return B.end_session_endpoint},checkSessionIframe:function(){if(!B.check_session_iframe)throw"Not supported by the OIDC server";return B.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!B.userinfo_endpoint)throw"Not supported by the OIDC server";return B.userinfo_endpoint}}:t.endpoints={authorize:function(){return h()+"/protocol/openid-connect/auth"},token:function(){return h()+"/protocol/openid-connect/token"},logout:function(){return h()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){return h()+"/protocol/openid-connect/login-status-iframe.html"},thirdPartyCookiesIframe:function(){return h()+"/protocol/openid-connect/3p-cookies/step1.html"},register:function(){return h()+"/protocol/openid-connect/registrations"},userinfo:function(){return h()+"/protocol/openid-connect/userinfo"}}}if(P){var V=new XMLHttpRequest;V.open("GET",P,!0),V.setRequestHeader("Accept","application/json"),V.onreadystatechange=function(){if(V.readyState==4)if(V.status==200||b(V)){var B=JSON.parse(V.responseText);t.authServerUrl=B["auth-server-url"],t.realm=B.realm,t.clientId=B.resource,G(null),E.setSuccess()}else E.setError()},V.send()}else{t.clientId=e.clientId;var q=e.oidcProvider;if(!q)t.authServerUrl=e.url,t.realm=e.realm,G(null),E.setSuccess();else if(typeof q=="string"){var z;q.charAt(q.length-1)=="/"?z=q+".well-known/openid-configuration":z=q+"/.well-known/openid-configuration";var V=new XMLHttpRequest;V.open("GET",z,!0),V.setRequestHeader("Accept","application/json"),V.onreadystatechange=function(){if(V.readyState==4)if(V.status==200||b(V)){var T=JSON.parse(V.responseText);G(T),E.setSuccess()}else E.setError()},V.send()}else G(q),E.setSuccess()}return E.promise}function b(E){return E.status==0&&E.responseText&&E.responseURL.startsWith("file:")}function w(E,P,G,V){if(t.tokenTimeoutHandle&&(clearTimeout(t.tokenTimeoutHandle),t.tokenTimeoutHandle=null),P?(t.refreshToken=P,t.refreshTokenParsed=wc(P)):(delete t.refreshToken,delete t.refreshTokenParsed),G?(t.idToken=G,t.idTokenParsed=wc(G)):(delete t.idToken,delete t.idTokenParsed),E){if(t.token=E,t.tokenParsed=wc(E),t.sessionId=t.tokenParsed.sid,t.authenticated=!0,t.subject=t.tokenParsed.sub,t.realmAccess=t.tokenParsed.realm_access,t.resourceAccess=t.tokenParsed.resource_access,V&&(t.timeSkew=Math.floor(V/1e3)-t.tokenParsed.iat),t.timeSkew!=null&&(a("[KEYCLOAK] Estimated time difference between browser and server is "+t.timeSkew+" seconds"),t.onTokenExpired)){var q=(t.tokenParsed.exp-new Date().getTime()/1e3+t.timeSkew)*1e3;a("[KEYCLOAK] Token expires in "+Math.round(q/1e3)+" s"),q<=0?t.ontokenexpired():t.tokentimeouthandle=settimeout(t.ontokenexpired,q)}}else delete t.token,delete t.tokenParsed,delete t.subject,delete t.realmAccess,delete t.resourceAccess,t.authenticated=!1}function _(){if(typeof crypto>"u"||typeof crypto.randomUUID>"u")throw new Error("Web Crypto API is not available.");return crypto.randomUUID()}function A(E){var P=O(E);if(P){var G=o.get(P.state);return G&&(P.valid=!0,P.redirectUri=G.redirectUri,P.storedNonce=G.nonce,P.prompt=G.prompt,P.pkceCodeVerifier=G.pkceCodeVerifier,P.loginOptions=G.loginOptions),P}}function O(E){var P;switch(t.flow){case"standard":P=["code","state","session_state","kc_action_status","kc_action","iss"];break;case"implicit":P=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","kc_action","iss"];break;case"hybrid":P=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","kc_action","iss"];break}P.push("error"),P.push("error_description"),P.push("error_uri");var G=E.indexOf("?"),V=E.indexOf("#"),q,z;if(t.responseMode==="query"&&G!==-1?(q=E.substring(0,G),z=x(E.substring(G+1,V!==-1?V:E.length),P),z.paramsString!==""&&(q+="?"+z.paramsString),V!==-1&&(q+=E.substring(V))):t.responseMode==="fragment"&&V!==-1&&(q=E.substring(0,V),z=x(E.substring(V+1),P),z.paramsString!==""&&(q+="#"+z.paramsString)),z&&z.oauthParams){if(t.flow==="standard"||t.flow==="hybrid"){if((z.oauthParams.code||z.oauthParams.error)&&z.oauthParams.state)return z.oauthParams.newUrl=q,z.oauthParams}else if(t.flow==="implicit"&&(z.oauthParams.access_token||z.oauthParams.error)&&z.oauthParams.state)return z.oauthParams.newUrl=q,z.oauthParams}}function x(E,P){for(var G=E.split("&"),V={paramsString:"",oauthParams:{}},q=0;q=0;--B){var T=z[B];q.data=="error"?T.setError():T.setSuccess(q.data=="unchanged")}}};return window.addEventListener("message",V,!1),E.promise}function te(){i.enable&&t.token&&setTimeout(function(){U().then(function(E){E&&te()})},i.interval*1e3)}function U(){var E=D();if(i.iframe&&i.iframeOrigin){var P=t.clientId+" "+(t.sessionId?t.sessionId:"");i.callbackList.push(E);var G=i.iframeOrigin;i.callbackList.length==1&&i.iframe.contentWindow.postMessage(P,G)}else E.setSuccess();return E.promise}function ee(){var E=D();if((i.enable||t.silentCheckSsoRedirectUri)&&typeof t.endpoints.thirdPartyCookiesIframe=="function"){var P=document.createElement("iframe");P.setAttribute("src",t.endpoints.thirdPartyCookiesIframe()),P.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),P.setAttribute("title","keycloak-3p-check-iframe"),P.style.display="none",document.body.appendChild(P);var G=function(V){P.contentWindow===V.source&&(V.data!=="supported"&&V.data!=="unsupported"||(V.data==="unsupported"&&(c(`[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means: - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication). - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab). For more information see: https://www.keycloak.org/securing-apps/javascript-adapter#_modern_browsers`),i.enable=!1,t.silentCheckSsoFallback&&(t.silentCheckSsoRedirectUri=!1)),document.body.removeChild(P),window.removeEventListener("message",G),E.setSuccess()))};window.addEventListener("message",G,!1)}else E.setSuccess();return F(E.promise,t.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function ae(E){if(!E||E=="default")return{login:async function(B){return window.location.assign(await t.createLoginUrl(B)),D().promise},logout:async function(B){if((B?.logoutMethod??t.logoutMethod)==="GET"){window.location.replace(t.createLogoutUrl(B));return}const N=document.createElement("form");N.setAttribute("method","POST"),N.setAttribute("action",t.createLogoutUrl(B)),N.style.display="none";const H={id_token_hint:t.idToken,client_id:t.clientId,post_logout_redirect_uri:n.redirectUri(B,!1)};for(const[W,J]of Object.entries(H)){const Q=document.createElement("input");Q.setAttribute("type","hidden"),Q.setAttribute("name",W),Q.setAttribute("value",J),N.appendChild(Q)}document.body.appendChild(N),N.submit()},register:async function(B){return window.location.assign(await t.createRegisterUrl(B)),D().promise},accountManagement:function(){var B=t.createAccountUrl();if(typeof B<"u")window.location.href="b;else" throw"Not supported by the OIDC server";return D().promise},redirectUri:function(B,T){return B&&B.redirectUri?B.redirectUri:t.redirectUri?t.redirectUri:location.href}};if(E=="cordova"){i.enable=!1;var P=function(B,T,N){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(B,T,N):window.open(B,T,N)},G=function(B){return B&&B.cordovaOptions?Object.keys(B.cordovaOptions).reduce(function(T,N){return T[N]=B.cordovaOptions[N],T},{}):{}},V=function(B){return Object.keys(B).reduce(function(T,N){return T.push(N+"="+B[N]),T},[]).join(",")},q=function(B){var T=G(B);return T.location="no",B&&B.prompt=="none"&&(T.hidden="yes"),V(T)},z=function(){return t.redirectUri||"http://localhost"};return{login:async function(B){var T=D(),N=q(B),H=await t.createLoginUrl(B),W=P(H,"_blank",N),J=!1,Q=!1,R=function(){Q=!0,W.close()};return W.addEventListener("loadstart",function(C){if(C.url.indexOf(z())==0){var K=A(C.url);m(K,T),R(),J=!0}}),W.addEventListener("loaderror",function(C){if(!J)if(C.url.indexOf(z())==0){var K=A(C.url);m(K,T),R(),J=!0}else T.setError(),R()}),W.addEventListener("exit",function(C){Q||T.setError({reason:"closed_by_user"})}),T.promise},logout:function(B){var T=D(),N=t.createLogoutUrl(B),H=P(N,"_blank","location=no,hidden=yes,clearcache=yes"),W;return H.addEventListener("loadstart",function(J){J.url.indexOf(z())==0&&H.close()}),H.addEventListener("loaderror",function(J){J.url.indexOf(z())==0||(W=!0),H.close()}),H.addEventListener("exit",function(J){W?T.setError():(t.clearToken(),T.setSuccess())}),T.promise},register:async function(B){var T=D(),N=await t.createRegisterUrl(),H=q(B),W=P(N,"_blank",H);return W.addEventListener("loadstart",function(J){if(J.url.indexOf(z())==0){W.close();var Q=A(J.url);m(Q,T)}}),T.promise},accountManagement:function(){var B=t.createAccountUrl();if(typeof B<"u"){var T=P(B,"_blank","location=no");T.addEventListener("loadstart",function(N){N.url.indexOf(z())==0&&T.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(B){return z()}}}if(E=="cordova-native")return i.enable=!1,{login:async function(B){var T=D(),N=await t.createLoginUrl(B);return universalLinks.subscribe("keycloak",function(H){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var W=A(H.url);m(W,T)}),window.cordova.plugins.browsertab.openUrl(N),T.promise},logout:function(B){var T=D(),N=t.createLogoutUrl(B);return universalLinks.subscribe("keycloak",function(H){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),t.clearToken(),T.setSuccess()}),window.cordova.plugins.browsertab.openUrl(N),T.promise},register:async function(B){var T=D(),N=await t.createRegisterUrl(B);return universalLinks.subscribe("keycloak",function(H){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var W=A(H.url);m(W,T)}),window.cordova.plugins.browsertab.openUrl(N),T.promise},accountManagement:function(){var B=t.createAccountUrl();if(typeof B<"u")window.cordova.plugins.browsertab.openurl(b);else throw"Not supported by the OIDC server"},redirectUri:function(B){return B&&B.redirectUri?B.redirectUri:t.redirectUri?t.redirectUri:"http://localhost"}};throw"invalid adapter type: "+E}const ie="kc-callback-";var se=function(){if(!(this instanceof se))return new se;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var E=this;function P(){const z=Date.now();for(const[B,T]of V()){const N=q(T);(N===null||Nz.startsWith(ie))}function q(z){let B;try{B=JSON.parse(z)}catch{return null}return Sc(B)&&"expires"in B&&typeof B.expires=="number"?B.expires:null}E.get=function(z){if(z){var B=ie+z,T=localStorage.getItem(B);return T&&(localStorage.removeItem(B),T=JSON.parse(T)),P(),T}},E.add=function(z){P();const B=ie+z.state,T=JSON.stringify({...z,expires:Date.now()+3600*1e3});try{localStorage.setItem(B,T)}catch{G(),localStorage.setItem(B,T)}}},de=function(){if(!(this instanceof de))return new de;var E=this;E.get=function(q){if(q){var z=G(ie+q);if(V(ie+q,"",P(-100)),z)return JSON.parse(z)}},E.add=function(q){V(ie+q.state,JSON.stringify(q),P(60))},E.removeItem=function(q){V(q,"",P(-100))};var P=function(q){var z=new Date;return z.setTime(z.getTime()+q*60*1e3),z},G=function(q){for(var z=q+"=",B=document.cookie.split(";"),T=0;T"u"||typeof crypto.subtle>"u")throw new Error("Web Crypto API is not available.");return await crypto.subtle.digest("SHA-256",n)}function wc(e){const[t,n]=e.split(".");if(typeof n!="string")throw new Error("Unable to decode token, payload not found.");let r;try{r=_x(n)}catch(o){throw new Error("Unable to decode token, payload is not a valid Base64URL value.",{cause:o})}try{return JSON.parse(r)}catch(o){throw new Error("Unable to decode token, payload is not a valid JSON value.",{cause:o})}}function _x(e){let t=e.replaceAll("-","+").replaceAll("_","/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Input is not of the correct length.")}try{return Ax(t)}catch{return atob(t)}}function Ax(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Sc(e){return typeof e=="object"&&e!==null}const Rx=De({name:"keycloak",parallel:!0,setup(e){const t={url:`${e.$config.public.keycloakEndpoint}/auth/`,realm:"bricsys-account",clientId:"bricsys-website"};return{provide:{keycloak:new Ry(t)}}}});var Ox=typeof global=="object"&&global&&global.Object===Object&&global,xx=typeof self=="object"&&self&&self.Object===Object&&self,Oy=Ox||xx||Function("return this")(),Qi=Oy.Symbol,xy=Object.prototype,Cx=xy.hasOwnProperty,Px=xy.toString,yo=Qi?Qi.toStringTag:void 0;function Lx(e){var t=Cx.call(e,yo),n=e[yo];try{e[yo]=void 0;var r=!0}catch{}var o=Px.call(e);return r&&(t?e[yo]=n:delete e[yo]),o}var Ix=Object.prototype,Mx=Ix.toString;function Dx(e){return Mx.call(e)}var Nx="[object Null]",$x="[object Undefined]",Cp=Qi?Qi.toStringTag:void 0;function Ux(e){return e==null?e===void 0?$x:Nx:Cp&&Cp in Object(e)?Lx(e):Dx(e)}function Bx(e){return e!=null&&typeof e=="object"}var jx="[object Symbol]";function Fx(e){return typeof e=="symbol"||Bx(e)&&Ux(e)==jx}var Hx=/\s/;function zx(e){for(var t=e.length;t--&&Hx.test(e.charAt(t)););return t}var Wx=/^\s+/;function qx(e){return e&&e.slice(0,zx(e)+1).replace(Wx,"")}function al(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Pp=NaN,Gx=/^[-+]0x[0-9a-f]+$/i,Vx=/^0b[01]+$/i,Kx=/^0o[0-7]+$/i,Yx=parseInt;function Lp(e){if(typeof e=="number")return e;if(Fx(e))return Pp;if(al(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=al(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=qx(e);var n=Vx.test(e);return n||Kx.test(e)?Yx(e.slice(2),n?2:8):Gx.test(e)?Pp:+e}var Ec=function(){return Oy.Date.now()},Jx="Expected a function",Xx=Math.max,Qx=Math.min;function Zx(e,t,n){var r,o,i,s,a,c,u=0,l=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(Jx);t=Lp(t)||0,al(n)&&(l=!!n.leading,f="maxWait"in n,i=f?Xx(Lp(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function p(O){var x=r,D=o;return r=o=void 0,u=O,s=e.apply(D,x),s}function h(O){return u=O,a=setTimeout(y,t),l?p(O):s}function g(O){var x=O-c,D=O-u,F=t-x;return f?Qx(F,i-D):F}function m(O){var x=O-c,D=O-u;return c===void 0||x>=t||x<0||f&&d>=i}function y(){var O=Ec();if(m(O))return b(O);a=setTimeout(y,g(O))}function b(O){return a=void 0,d&&r?p(O):(r=o=void 0,s)}function w(){a!==void 0&&clearTimeout(a),u=0,r=c=o=a=void 0}function _(){return a===void 0?s:b(Ec())}function A(){var O=Ec(),x=m(O);if(r=arguments,o=this,c=O,x){if(a===void 0)return h(c);if(f)return clearTimeout(a),a=setTimeout(y,t),p(c)}return a===void 0&&(a=setTimeout(y,t)),s}return A.cancel=w,A.flush=_,A}const eC=()=>$e().$device,aM=e=>{switch(e){case"lg":return"desktop";case"md":return"tablet";case"sm":return"mobile";default:return"desktop"}},tC=e=>e.isMobile?"sm":e.isTablet?"md":"lg",Ip={md:768,lg:1280},nC=De({name:"mq",parallel:!0,setup(){const e=eC(),t=tC(e),n=he(t),r=()=>{const o=document.documentElement.clientWidth;on.value==="lg"),isTablet:me(()=>n.value==="md"),isMobile:me(()=>n.value==="sm")}}}}),rC=De(async()=>{let e,t;if(Ze().public.runtimeEnv==="test")try{{const{worker:r}=([e,t]=zt(()=>tn(()=>import("./-ahsVRkn.js"),[],import.meta.url)),e=await e,t(),e);[e,t]=zt(()=>r.start({onUnhandledRequest:"bypass"})),await e,t(),console.log("[MSW] Mock Service Worker started")}}catch(r){console.warn("[MSW] Failed to start:",r)}});function Kr(e){return hl()?(Hn(e),!0):!1}const kc=new WeakMap;function oC(e,t){var n;const r=(n=zn())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");kc.has(r)||kc.set(r,Object.create(null));const o=kc.get(r);return o[e]=t,Wt(e,t)}function iC(e){if(!Ct(e))return Je(e);const t=new Proxy({},{get(n,r,o){return Oe(Reflect.get(e.value,r,o))},set(n,r,o){return Ct(e.value[r])&&!Ct(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Je(t)}function sC(e){return iC(me(e))}function cM(e,...t){const n=t.flat(),r=n[0];return sC(()=>Object.fromEntries(typeof r=="function"?Object.entries(Ni(e)).filter(([o,i])=>!r(Ie(i),o)):Object.entries(Ni(e)).filter(o=>!n.includes(o[0]))))}const aC=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalthis instanceof WorkerGlobalScope;const cC=e=>typeof e<"u",cy=e=>e!=null,lC=Object.prototype.toString,uC=e=>lC.call(e)==="[object Object]",nn=()=>{};function Py(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function fC(e,t={}){let n,r,o=nn;const i=c=>{clearTimeout(c),o(),o=nn};let s;return c=>{const u=Ie(e),l=Ie(t.maxWait);return n&&i(n),u<=0||l!==void 0&&l<=0?(r&&(i(r),r=void 0),Promise.resolve(c())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=c,l&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(s())},l)),n=setTimeout(()=>{r&&i(r),r=void 0,f(c())},u)})}}function dC(...e){let t=0,n,r=!0,o=nn,i,s,a,c,u;!Ct(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,c=!0,u=!1]=e;const l=()=>{n&&(clearTimeout(n),n=void 0,o(),o=nn)};return d=>{const p=Ie(s),h=Date.now()-t,g=()=>i=d();return l(),p<=0?(t=date.now(),g()):(h>p&&(c||!r)?(t=Date.now(),g()):a&&(i=new Promise((m,y)=>{o=u?y:m,n=setTimeout(()=>{t=Date.now(),r=!0,m(g()),l()},Math.max(0,p-h))})),!c&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function Mp(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function _o(e){return Array.isArray(e)?e:[e]}function pC(e){return zn()}function hC(e,t=200,n={}){return Py(fC(t,n),e)}function mC(e,t=200,n=!1,r=!0,o=!1){return Py(dC(t,n,r,o),e)}function Ly(e,t=!0,n){pC()?cs(e,n):t?e():Et(e)}function cl(e,t=!1){function n(f,{flush:d="sync",deep:p=!1,timeout:h,throwOnTimeout:g}={}){let m=null;const b=[new Promise(w=>{m=Ke(e,_=>{f(_)!==t&&(m?m():Et(()=>m?.()),w(_))},{flush:d,deep:p,immediate:!0})})];return h!=null&&b.push(Mp(h,g).then(()=>Ie(e)).finally(()=>m?.())),Promise.race(b)}function r(f,d){if(!Ct(f))return n(_=>_===f,d);const{flush:p="sync",deep:h=!1,timeout:g,throwOnTimeout:m}=d??{};let y=null;const w=[new Promise(_=>{y=Ke([e,f],([A,O])=>{t!==(A===O)&&(y?y():Et(()=>y?.()),_(A))},{flush:p,deep:h,immediate:!0})})];return g!=null&&w.push(Mp(g,m).then(()=>Ie(e)).finally(()=>(y?.(),Ie(e)))),Promise.race(w)}function o(f){return n(d=>!!d,f)}function i(f){return r(null,f)}function s(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function c(f,d){return n(p=>{const h=Array.from(p);return h.includes(f)||h.includes(Ie(f))},d)}function u(f){return l(1,f)}function l(f=1,d){let p=-1;return n(()=>(p+=1,p>=f),d)}return Array.isArray(Ie(e))?{toMatch:n,toContains:c,changed:u,changedTimes:l,get not(){return cl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:i,toBeNaN:a,toBeUndefined:s,changed:u,changedTimes:l,get not(){return cl(e,!t)}}}function lM(e){return cl(e)}function gC(e,t,n){return Ke(e,t,{...n,immediate:!0})}const En=aC?window:void 0;function Lt(e){var t;const n=Ie(e);return(t=n?.$el)!=null?t:n}function en(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,c,u,l)=>(a.addEventListener(c,u,l),()=>a.removeEventListener(c,u,l)),o=me(()=>{const a=_o(Ie(e[0])).filter(c=>c!=null);return a.every(c=>typeof c!="string")?a:void 0}),i=gC(()=>{var a,c;return[(c=(a=o.value)==null?void 0:a.map(u=>Lt(u)))!=null?c:[En].filter(u=>u!=null),_o(Ie(o.value?e[1]:e[0])),_o(Oe(o.value?e[2]:e[1])),Ie(o.value?e[3]:e[2])]},([a,c,u,l])=>{if(n(),!a?.length||!c?.length||!u?.length)return;const f=uC(l)?{...l}:l;t.push(...a.flatMap(d=>c.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Kr(n),s}function yC(){const e=Ee(!1),t=zn();return t&&cs(()=>{e.value=!0},t),e}function Zl(e){const t=yC();return me(()=>(t.value,!!e()))}function eu(e,t,n={}){const{window:r=En,...o}=n;let i;const s=Zl(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},c=me(()=>{const d=Ie(e),p=_o(d).map(Lt).filter(Cy);return new Set(p)}),u=Ke(c,d=>{a(),s.value&&d.size&&(i=new MutationObserver(t),d.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),l=()=>i?.takeRecords(),f=()=>{u(),a()};return Kr(f),{isSupported:s,stop:f,takeRecords:l}}function bC(e,t,n={}){const{window:r=En,document:o=r?.document,flush:i="sync"}=n;if(!r||!o)return nn;let s;const a=l=>{s?.(),s=l},c=Fr(()=>{const l=Lt(e);if(l){const{stop:f}=eu(o,d=>{d.map(h=>[...h.removedNodes]).flat().some(h=>h===l||h.contains(l))&&t(d)},{window:r,childList:!0,subtree:!0});a(f)}},{flush:i}),u=()=>{c(),a()};return Kr(u),u}function uM(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=En,once:i=!1}=t,s=Ee(!1),a=me(()=>r?1e3/Ie(r):null);let c=0,u=null;function l(p){if(!s.value||!o)return;c||(c=p);const h=p-c;if(a.value&&hr&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},c=me(()=>{const f=Ie(e);return Array.isArray(f)?f.map(d=>Lt(d)):[Lt(f)]}),u=Ke(c,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const d of f)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),l=()=>{a(),u()};return Kr(l),{isSupported:s,stop:l}}function fM(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=Ee(0),c=Ee(0),u=Ee(0),l=Ee(0),f=Ee(0),d=Ee(0),p=Ee(0),h=Ee(0);function g(){const y=Lt(e);if(!y){n&&(a.value=0,c.value=0,u.value=0,l.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const b=y.getBoundingClientRect();a.value=b.height,c.value=b.bottom,u.value=b.left,l.value=b.right,f.value=b.top,d.value=b.width,p.value=b.x,h.value=b.y}function m(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return SC(e,m),Ke(()=>Lt(e),y=>!y&&m()),eu(e,m,{attributeFilter:["style","class"]}),o&&en("scroll",m,{capture:!0,passive:!0}),r&&en("resize",m,{passive:!0}),Ly(()=>{i&&m()}),{height:a,bottom:c,left:u,right:l,top:f,width:d,x:p,y:h,update:m}}function dM(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:o=!1,window:i=En}=t,s=Ee(!1);let a;const c=u=>{const l=u?n:r;a&&(clearTimeout(a),a=void 0),l?a=setTimeout(()=>s.value=u,l):s.value=u};return i&&(en(e,"mouseenter",()=>c(!0),{passive:!0}),en(e,"mouseleave",()=>c(!1),{passive:!0}),o&&bC(me(()=>Lt(e)),()=>c(!1))),s}function pM(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=0,window:s=En,immediate:a=!0}=n,c=Zl(()=>s&&"IntersectionObserver"in s),u=me(()=>{const h=Ie(e);return _o(h).map(Lt).filter(Cy)});let l=nn;const f=Ee(a),d=c.value?Ke(()=>[u.value,Lt(r),f.value],([h,g])=>{if(l(),!f.value||!h.length)return;const m=new IntersectionObserver(t,{root:Lt(g),rootMargin:o,threshold:i});h.forEach(y=>y&&m.observe(y)),l=()=>{m.disconnect(),l=nn}},{immediate:a,flush:"post"}):nn,p=()=>{l(),d(),f.value=!1};return Kr(p),{isSupported:c,isActive:f,pause(){l(),f.value=!1},resume(){f.value=!0},stop:p}}const Np=1;function hM(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=nn,onScroll:i=nn,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:l=En,onError:f=F=>{console.error(F)}}=t,d=typeof a=="boolean"?{mutation:a}:a,p=Ee(0),h=Ee(0),g=me({get(){return p.value},set(F){y(F,void 0)}}),m=me({get(){return h.value},set(F){y(void 0,F)}});function y(F,j){var te,U,ee,ae;if(!l)return;const ie=Ie(e);if(!ie)return;(ee=ie instanceof Document?l.document.body:ie)==null||ee.scrollTo({top:(te=Ie(j))!=null?te:m.value,left:(U=Ie(F))!=null?U:g.value,behavior:Ie(u)});const se=((ae=ie?.document)==null?void 0:ae.documentElement)||ie?.documentElement||ie;g!=null&&(p.value=se.scrollLeft),m!=null&&(h.value=se.scrollTop)}const b=Ee(!1),w=Je({left:!0,right:!1,top:!0,bottom:!1}),_=Je({left:!1,right:!1,top:!1,bottom:!1}),A=F=>{b.value&&(b.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,o(F))},O=hC(A,n+r),x=F=>{var j;if(!l)return;const te=((j=F?.document)==null?void 0:j.documentElement)||F?.documentElement||Lt(F),{display:U,flexDirection:ee,direction:ae}=getComputedStyle(te),ie=ae==="rtl"?-1:1,se=te.scrollLeft;_.left=sep.value;const de=Math.abs(se*ie)<=(s.left||0),ne=math.abs(se*ie)+te.clientwidth>=te.scrollWidth-(s.right||0)-Np;U==="flex"&&ee==="row-reverse"?(w.left=ne,w.right=de):(w.left=de,w.right=ne),p.value=se;let be=te.scrollTop;F===l.document&&!be&&(be=l.document.body.scrollTop),_.top=beh.value;const E=Math.abs(be)<=(s.top||0),p=math.abs(be)+te.clientheight>=te.scrollHeight-(s.bottom||0)-Np;U==="flex"&&ee==="column-reverse"?(w.top=P,w.bottom=E):(w.top=E,w.bottom=P),h.value=be},D=F=>{var j;if(!l)return;const te=(j=F.target.documentElement)!=null?j:F.target;x(te),b.value=!0,O(F),i(F)};return en(e,"scroll",n?mC(D,n,!0,!1):D,c),Ly(()=>{try{const F=Ie(e);if(!F)return;x(F)}catch(F){f(F)}}),d?.mutation&&e!=null&&e!==l&&e!==document&&eu(e,()=>{const F=Ie(e);F&&x(F)},{attributes:!0,childList:!0,subtree:!0}),en(e,"scrollend",A,c),{x:g,y:m,isScrolling:b,arrivedState:w,directions:_,measure(){const F=Ie(e);l&&F&&x(F)}}}const EC={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function mM(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:i=En,target:s=i,scroll:a=!0,eventFilter:c}=e;let u=null,l=0,f=0;const d=Ee(o.x),p=Ee(o.y),h=Ee(null),g=typeof t=="function"?t:EC[t],m=x=>{const D=g(x);u=x,D&&([d.value,p.value]=D,h.value="mouse"),i&&(l=i.scrollX,f=i.scrollY)},y=x=>{if(x.touches.length>0){const D=g(x.touches[0]);D&&([d.value,p.value]=D,h.value="touch")}},b=()=>{if(!u||!i)return;const x=g(u);u instanceof MouseEvent&&x&&(d.value=x[0]+i.scrollX-l,p.value=x[1]+i.scrollY-f)},w=()=>{d.value=o.x,p.value=o.y},_=c?x=>c(()=>m(x),{}):x=>m(x),A=c?x=>c(()=>y(x),{}):x=>y(x),O=c?()=>c(()=>b(),{}):()=>b();if(s){const x={passive:!0};en(s,["mousemove","dragover"],_,x),n&&t!=="movement"&&(en(s,["touchstart","touchmove"],A,x),r&&en(s,"touchend",w,x)),a&&t==="page"&&en(i,"scroll",O,x)}return{x:d,y:p,sourceType:h}}function gM(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:c=!1,eventName:u,deep:l=!1,defaultValue:f,shouldEmit:d}=r,p=zn(),h=n||p?.emit||((o=p?.$emit)==null?void 0:o.bind(p))||((s=(i=p?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p?.proxy));let g=u;g=g||`update:${t.toString()}`;const m=w=>a?typeof a=="function"?a(w):wC(w):w,y=()=>cC(e[t])?m(e[t]):f,b=w=>{d?d(w)&&h(g,w):h(g,w)};if(c){const w=y(),_=he(w);let A=!1;return Ke(()=>e[t],O=>{A||(A=!0,_.value=m(O),Et(()=>A=!1))}),Ke(_,O=>{!A&&(O!==e[t]||l)&&b(O)},{deep:l}),_}else return me({get(){return y()},set(w){b(w)}})}const kC=De(e=>{vC(1024,e.vueApp)}),Iy={email:"i-mdi:calendar",collapse:"i-mdi:chevron-up",complete:"i-mdi:check",cancel:"i-mdi:close-circle",close:"i-mdi:close",delete:"i-mdi:close-circle",clear:"i-mdi:close-circle",success:"i-mdi:check-circle",info:"i-mdi:information",warning:"i-mdi:alert-circle",error:"i-mdi:close-circle",prev:"i-mdi:chevron-left",next:"i-mdi:chevron-right",checkboxOn:"ion:checkbox",checkboxOff:"ion:square-outline",checkboxIndeterminate:"i-mdi:minus-box",delimiter:"i-mdi:circle",sortAsc:"i-mdi:arrow-up",sortDesc:"i-mdi:arrow-down",expand:"i-mdi:chevron-down",menu:"i-mdi:menu",subgroup:"i-mdi:menu-down",dropdown:"i-mdi:menu-down",radioOn:"i-mdi:radiobox-marked",radioOff:"i-mdi:radiobox-blank",edit:"i-mdi:pencil",ratingEmpty:"i-mdi:star-outline",ratingFull:"i-mdi:star",ratingHalf:"i-mdi:star-half-full",loading:"i-mdi:cached",first:"i-mdi:page-first",last:"i-mdi:page-last",unfold:"i-mdi:unfold-more-horizontal",file:"i-mdi:paperclip",plus:"i-mdi:plus",minus:"i-mdi:minus",calendar:"i-mdi:calendar"},TC=()=>({component:e=>{const{icon:t,tag:n,...r}=e;return ze(n,r,[ze(Eb("Icon"),{name:Iy[t]??t})])}}),_C="svgNuxtIcon",AC=TC(),RC={defaultSet:_C,aliases:Iy,sets:{svgNuxtIcon:AC}},OC=De(e=>{e.hook("vuetify:before-create",({vuetifyOptions:t})=>{t.icons=RC})}),xC="standalone",CC=void 0;function PC(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:i,onRegisterError:s}=e;let a,c,u;const l=async(d=!0)=>{await c,u?.()};async function f(){if("serviceWorker"in navigator){if(a=await tn(async()=>{const{Workbox:d}=await import("./CwtvwXb3.js");return{Workbox:d}},[],import.meta.url).then(({Workbox:d})=>new d("/sw.js",{scope:"/",type:"classic"})).catch(d=>{s?.(d)}),!a)return;u=()=>{a?.messageSkipWaiting()};{let d=!1;const p=()=>{d=!0,a?.addEventListener("controlling",h=>{h.isUpdate&&window.location.reload()}),n?.()};a.addEventListener("installed",h=>{typeof h.isUpdate>"u"?typeof h.isExternal<"u"&&h.isexternal?p():!d&&r?.():h.isupdate||r?.()}),a.addeventlistener("waiting",p)}a.register({immediate:t}).then(d=>{i?i("/sw.js",d):o?.(d)}).catch(d=>{s?.(d)})}}return c=f(),l}function LC(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:i,onRegisterError:s}=e,a=he(!1),c=he(!1);return{updateServiceWorker:PC({immediate:t,onNeedRefresh(){a.value=!0,n?.()},onOfflineReady(){c.value=!0,r?.()},onRegistered:o,onRegisteredSW:i,onRegisterError:s}),offlineReady:c,needRefresh:a}}const IC=De({name:"vite-pwa:nuxt:client:plugin",enforce:"post",parallel:!0,setup(e){const t=he(!1),n=he(!1),r=he(!1),o=he(!0),i=navigator.userAgent,s=i.match(/iPhone|iPad|iPod/),a=`${xC}`,c=window.matchMedia(`(display-mode: ${a})`).matches,u=he(!!(c||s&&!i.match(/Safari/))),l=he(u.value);window.matchMedia(`(display-mode: ${a})`).addEventListener("change",w=>{!l.value&&w.matches&&(l.value=!0)});let f;const d=()=>f,{offlineReady:p,needRefresh:h,updateServiceWorker:g}=LC({immediate:!0,onRegisterError(w){e.hooks.callHook("service-worker:registration-failed",{error:w}),t.value=!0},onRegisteredSW(w,_){f=_,e.hooks.callHook("service-worker:registered",{url:w,registration:_}),_?.active?.state==="activated"?(n.value=!0,e.hooks.callHook("service-worker:activated",{url:w,registration:_})):_?.installing&&_.installing.addEventListener("statechange",A=>{const O=A.target;n.value=O.state==="activated",n.value&&e.hooks.callHook("service-worker:activated",{url:w,registration:_})})}}),m=async()=>{p.value=!1,h.value=!1};let y=()=>Promise.resolve(void 0),b=()=>{};if(!o.value){let w;const _=A=>{A.preventDefault(),w=A,r.value=!0};window.addEventListener("beforeinstallprompt",_),window.addEventListener("appinstalled",()=>{w=void 0,r.value=!1}),b=()=>{w=void 0,r.value=!1,window.removeEventListener("beforeinstallprompt",_),o.value=!0,localStorage.setItem(CC,"true")},y=async()=>{if(!r.value||!w){r.value=!1;return}return r.value=!1,await Et(),w.prompt(),await w.userChoice}}return{provide:{pwa:Je({isInstalled:u,isPWAInstalled:l,showInstallPrompt:r,cancelInstall:b,install:y,swActivated:n,registrationError:t,offlineReady:p,needRefresh:h,updateServiceWorker:g,cancelPrompt:m,getSWRegistration:d})}}}}),$p=!1;function MC(){return{defaults:{VMenu:{attach:"#__nuxt",transition:"fade-transition",scrollStrategy:"none",VList:{class:"shadow-lg!"}},VTooltip:{attach:"#__nuxt"},VSelect:{centreAffix:!0,hideDetails:!0,singleLine:!0,variant:"outlined",bgColor:"white",rounded:!0,menuIcon:"mdi:chevron-down",clearIcon:"mdi:close",transition:"fade-transition"},VAutocomplete:{centreAffix:!0,hideDetails:!0,singleLine:!0,variant:"outlined",bgColor:"white",rounded:!0,menuIcon:"mdi:chevron-down",clearIcon:"mdi:close"},VField:{centreAffix:!0,hideDetails:!0,singleLine:!0,variant:"outlined",bgColor:"white",rounded:!0,menuIcon:"mdi:chevron-down",clearIcon:"mdi:close"},VTextField:{centreAffix:!0,hideDetails:!0,singleLine:!0,variant:"outlined",bgColor:"white",rounded:!0,menuIcon:"mdi:chevron-down",clearIcon:"mdi:close"},VRadioGroup:{color:"primary",hideDetails:!0}},theme:{defaultTheme:"light",themes:{light:{dark:!1,colors:{primary:"#4093ff",secondary:"#1BFDC8",success:"#25C760",warning:"#ffc82e",error:"#ff4c29"}}},variations:!1},ssr:!0}}function DC(e,t){let n;function r(){n=Ro(),n.run(()=>t.length?t(()=>{n?.stop(),r()}):t())}Ke(e,o=>{o&&!n?r():o||(n?.stop(),n=void 0)},{immediate:!0}),Hn(()=>{n?.stop()})}const gt=typeof window<"u",ym=gt&&"intersectionobserver"in window,NC=gt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),My=gt&&"matchMedia"in window&&typeof window.matchMedia=="function",$C=()=>My&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function Up(e,t,n){UC(e,t),t.set(e,n)}function UC(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Bp(e,t,n){return e.set(Dy(e,t),n),n}function gn(e,t){return e.get(Dy(e,t))}function Dy(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Ny(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let o=0;oBC(e[r],t[r]))}function ll(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".1ドル"),t=t.replace(/^\./,""),Ny(e,t.split("."),n))}function bM(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const o=t(e,n);return typeof o>"u"?n:o}if(typeof t=="string")return ll(e,t,n);if(Array.isArray(t))return Ny(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function $y(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function vM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function wM(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function jp(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Uy(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}function SM(e){return Object.keys(e)}function Tc(e,t){return t.every(n=>e.hasOwnProperty(n))}function jC(e,t){const n={};for(const r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function Fp(e,t,n){const r=Object.create(null),o=Object.create(null);for(const i in e)t.some(s=>s instanceof RegExp?s.test(i):s===i)?r[i]=e[i]:o[i]=e[i];return[r,o]}function FC(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const By=/^on[^a-z]/,EM=e=>By.test(e),HC=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function kM(e){const[t,n]=Fp(e,[By]),r=FC(t,HC),[o,i]=Fp(n,["class","style","id",/^data-/]);return Object.assign(o,t),Object.assign(i,r),[o,i]}function TM(e){return e==null?[]:Array.isArray(e)?e:[e]}function tu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Hp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function zp(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function zC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const o in e)r[o]=e[o];for(const o in t){const i=e[o],s=t[o];if(jp(i)&&jp(s)){r[o]=nt(i,s,n);continue}if(n&&Array.isArray(i)&&Array.isArray(s)){r[o]=n(i,s);continue}r[o]=s}return r}function WC(e){return e.map(t=>t.type===ss?WC(t.children):t).flat()}function lr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(lr.cache.has(e))return lr.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-1ドル").toLowerCase();return lr.cache.set(e,t),t}lr.cache=new Map;function vi(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>vi(e,n)).flat(1);if(t.suspense)return vi(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>vi(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return vi(e,t.component.subTree).flat(1)}return[]}var Or=new WeakMap,tr=new WeakMap;class _M{constructor(t){Up(this,Or,[]),Up(this,tr,0),this.size=t}get isFull(){return gn(Or,this).length===this.size}push(t){gn(Or,this)[gn(tr,this)]=t,Bp(tr,this,(gn(tr,this)+1)%this.size)}values(){return gn(Or,this).slice(gn(tr,this)).concat(gn(Or,this).slice(0,gn(tr,this)))}clear(){gn(Or,this).length=0,Bp(tr,this,0)}}function AM(e){const t=Je({});Fr(()=>{const r=e();for(const o in r)t[o]=r[o]},{flush:"sync"});const n={};for(const r in t)n[r]=et(()=>t[r]);return n}function RM(e,t){return e.includes(t)}function OM(e){return e[2].toLowerCase()+e.slice(3)}const xM=()=>[Function,Array];function CM(e,t){return t="on"+wh(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function PM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function GC(e,t,n){let r,o=e.indexOf(document.activeElement);const i=t==="next"?1:-1;do o+=i,r=e[o];while((!r||r.offsetParent==null||!(n?.(r)??!0))&&o=0);return r}function VC(e,t){const n=qC(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&n[0]?.focus();else if(t==="first")n[0]?.focus();else if(t==="last")n.at(-1)?.focus();else if(typeof t=="number")n[t]?.focus();else{const r=GC(n,t);r?r.focus():VC(e,t==="next"?"first":"last")}}function LM(e,t){if(!(gt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&css.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function IM(e,t){if(!gt||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function MM(e,t){const n=e.clientX,r=e.clientY,o=t.getBoundingClientRect(),i=o.left,s=o.top,a=o.right,c=o.bottom;return n>=i&&n<=a&&r>=s&&r<=c}function DM(){const e=Ee(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>Uy(e.value)}),t}function NM(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function $M(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(n=>{let[r,o]=n;return t.includes(r)?!!o:o!==void 0}))}const xr=2.4,Wp=.2126729,qp=.7151522,Gp=.072175,KC=.55,YC=.58,JC=.57,XC=.62,wi=.03,Vp=1.45,QC=5e-4,ZC=1.25,eP=1.25,Kp=.078,Yp=12.82051282051282,Si=.06,Jp=.001;function Xp(e,t){const n=(e.r/255)**xr,r=(e.g/255)**xr,o=(e.b/255)**xr,i=(t.r/255)**xr,s=(t.g/255)**xr,a=(t.b/255)**xr;let c=n*Wp+r*qp+o*Gp,u=i*Wp+s*qp+a*Gp;if(c<=wi&&(c+=(wi-c)**vp),u<=wi&&(u+=(wi-u)**vp),math.abs(u-c)c){const f=(u**KC-c**YC)*ZC;l=f-Jp?0:f>-Kp?f-f*Yp*Si:f+Si}return l*100}function tP(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Zi=.20689655172413793,nP=e=>e>Zi**3?Math.cbrt(e):e/(3*Zi**2)+4/29,rP=e=>e>Zi?e**3:3*Zi**2*(e-4/29);function jy(e){const t=nP,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Fy(e){const t=rP,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const oP=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],iP=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,sp=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],ap=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Hy(e){const t=Array(3),n=iP,r=oP;for(let o=0;o<3;++o)t[o]=math.round(tu(n(r[o][0]*e[0]+r[o][1]*e[1]+r[o][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function nu(e){let{r:t,g:n,b:r}=e;const o=[0,0,0],i=aP,s=sP;t=i(t/255),n=i(n/255),r=i(r/255);for(let a=0;a<3;++a)o[a]=s[a][0]*t+s[a][1]*n+s[a][2]*r;return o}function cP(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function UM(e){return cP(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Qp=/^(?(?:rgb|hsl)a?)\((?.+)\)/,lP={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>Zp({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>Zp({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>Do({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>Do({h:e,s:t,v:n,a:r})};function wn(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Qp.test(e)){const{groups:t}=e.match(Qp),{fn:n,values:r}=t,o=r.split(/,\s*|\s*\/\s*|\s+/).map((i,s)=>i.endsWith("%")||s>0&&s<3&&["hsl","hsla","hsv","hsva"].includes(n)?parsefloat(i)/100:parsefloat(i));return lP[n](...o)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),fP(t)}else if(typeof e=="object"){if(Tc(e,["r","g","b"]))return e;if(Tc(e,["h","s","l"]))return Do(zy(e));if(Tc(e,["h","s","v"]))return Do(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Do(e){const{h:t,s:n,v:r,a:o}=e,i=a=>{const c=(a+t/60)%6;return r-r*n*Math.max(Math.min(c,4-c,1),0)},s=[i(5),i(3),i(1)].map(a=>Math.round(a*255));return{r:s[0],g:s[1],b:s[2],a:o}}function Zp(e){return Do(zy(e))}function zy(e){const{h:t,s:n,l:r,a:o}=e,i=r+n*Math.min(r,1-r),s=i===0?0:2-2*r/i;return{h:t,s,v:i,a:o}}function Ei(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function uP(e){let{r:t,g:n,b:r,a:o}=e;return`#${[Ei(t),Ei(n),Ei(r),o!==void 0?Ei(Math.round(o*255)):""].join("")}`}function fP(e){e=dP(e);let[t,n,r,o]=zC(e,2).map(i=>parseInt(i,16));return o=o===void 0?o:o/255,{r:t,g:n,b:r,a:o}}function dP(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Hp(Hp(e,6),8,"F")),e}function pP(e,t){const n=jy(nu(e));return n[0]=n[0]+t*10,Hy(Fy(n))}function hP(e,t){const n=jy(nu(e));return n[0]=n[0]-t*10,Hy(Fy(n))}function mP(e){const t=wn(e);return nu(t)[1]}function gP(e){const t=Math.abs(Xp(wn(0),wn(e)));return Math.abs(Xp(wn(16777215),wn(e)))>Math.min(t,50)?"#fff":"#000"}function Rs(e,t){return n=>Object.keys(e).reduce((r,o)=>{const s=typeof e[o]=="object"&&e[o]!=null&&!Array.isArray(e[o])?e[o]:{type:e[o]};return n&&o in n?r[o]={...s,default:n[o]}:r[o]=s,t&&!r[o].source&&(r[o].source=t),r},{})}function Yr(e,t){const n=zn();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function yP(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Yr(e).type;return lr(t?.aliasName||t?.name)}function bP(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yr("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const jr=Symbol.for("vuetify:defaults");function vP(e){return he(e)}function ru(){const e=je(jr);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function BM(e,t){const n=ru(),r=he(e),o=me(()=>{if(Oe(t?.disabled))return n.value;const s=Oe(t?.scoped),a=Oe(t?.reset),c=Oe(t?.root);if(r.value==null&&!(s||a||c))return n.value;let u=nt(r.value,{prev:n.value});if(s)return u;if(a||c){const l=Number(a||1/0);for(let f=0;f<=l&&!(!u||!("prev"in u));f++)u=u.prev;return u&&typeof c=="string"&&c in u&&(u=nt(nt(u,{prev:u}),u[c])),u}return u.prev?nt(u.prev,u):u});return Wt(jr,o),o}function wP(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[lr(t)]<"u")}function SP(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ru();const r=Yr("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const o=me(()=>n.value?.[e._as??t]),i=new Proxy(e,{get(c,u){const l=Reflect.get(c,u);if(u==="class"||u==="style")return[o.value?.[u],l].filter(p=>p!=null);if(wP(r.vnode,u))return l;const f=o.value?.[u];if(f!==void 0)return f;const d=n.value?.global?.[u];return d!==void 0?d:l}}),s=Ee();Fr(()=>{if(o.value){const c=Object.entries(o.value).filter(u=>{let[l]=u;return l.startsWith(l[0].toUpperCase())});s.value=c.length?Object.fromEntries(c):void 0}else s.value=void 0});function a(){const c=bP(jr,r);Wt(jr,me(()=>s.value?nt(c?.value??{},s.value):c?.value))}return{props:i,provideSubDefaults:a}}function Yo(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=Rs(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return jC(r,t)},e.props._as=String,e.setup=function(r,o){const i=ru();if(!i.value)return e._setup(r,o);const{props:s,provideSubDefaults:a}=SP(r,r._as??e.name,i),c=e._setup(s,o);return a(),c}}return e}function EP(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Yo:rn)(t)}const jM="cubic-bezier(0.4, 0, 0.2, 1)",FM="cubic-bezier(0.0, 0, 0.2, 1)",HM="cubic-bezier(0.4, 0, 1, 1)",kP={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeincubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeinquart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeinquint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function TP(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=Yr("useProxiedModel"),s=he(e[t]!==void 0?e[t]:n),a=lr(t),u=a!==t?me(()=>(e[t],!!((i.vnode.props?.hasOwnProperty(t)||i.vnode.props?.hasOwnProperty(a))&&(i.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||i.vnode.props?.hasOwnProperty(`onUpdate:${a}`))))):me(()=>(e[t],!!(i.vnode.props?.hasOwnProperty(t)&&i.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));DC(()=>!u.value,()=>{Ke(()=>e[t],f=>{s.value=f})});const l=me({get(){const f=e[t];return r(u.value?f:s.value)},set(f){const d=o(f),p=is(u.value?e[t]:s.value);p===d||r(p)===f||(s.value=d,i?.emit(`update:${t}`,d))}});return Object.defineProperty(l,"externalValue",{get:()=>u.value?e[t]:s.value}),l}const _P={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},eh="$vuetify.",th=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[Number(r)])),Wy=(e,t,n)=>function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;snew Intl.NumberFormat([e.value,t.value],r).format(n)}function qy(e,t){return ou(e,t)(.1).includes(",")?",":"."}function _c(e,t,n){const r=TP(e,t,e[t]??n.value);return r.value=e[t]??n.value,Ke(n,o=>{e[t]==null&&(r.value=n.value)}),r}function Gy(e){return t=>{const n=_c(t,"locale",e.current),r=_c(t,"fallback",e.fallback),o=_c(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:o,decimalSeparator:et(()=>qy(n,r)),t:Wy(n,r,o),n:ou(n,r),provide:Gy({current:n,fallback:r,messages:o})}}}function AP(e){const t=Ee(e?.locale??"en"),n=Ee(e?.fallback??"en"),r=he({en:_P,...e?.messages});return{name:"vuetify",current:t,fallback:n,messages:r,decimalSeparator:et(()=>e?.decimalSeparator??qy(t,n)),t:Wy(t,n,r),n:ou(t,n),provide:Gy({current:t,fallback:n,messages:r})}}const es=Symbol.for("vuetify:locale");function RP(e){return e.name!=null}function OP(e){const t=e?.adapter&&RP(e?.adapter)?e?.adapter:AP(e),n=CP(t,e);return{...t,...n}}function zM(){const e=je(es);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function xP(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function CP(e,t){const n=he(t?.rtl??xP()),r=me(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:et(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function PP(){const e=je(es);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}function Jo(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function LP(e,t,n){const r=[];let o=[];const i=Vy(e),s=Ky(e),a=n??Jo(t)?.firstDay??0,c=(i.getDay()-a+7)%7,u=(s.getDay()-a+7)%7;for(let l=0;l0&&r.push(o),r}function ts(e,t,n){let r=(n??Jo(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(r)||(r=0);const o=new Date(e);for(;o.getDay()!==r;)o.setDate(o.getDate()-1);return o}function IP(e,t){const n=new Date(e),r=((Jo(t)?.firstDay??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function Vy(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Ky(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function MP(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const DP=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Yy(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(DP.test(e))return MP(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const nh=new Date(2e3,0,2);function NP(e,t,n){const r=t??Jo(e)?.firstDay??0;return $y(7).map(o=>{const i=new Date(nh);return i.setDate(nh.getDate()+r+o),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(i)})}function $P(e,t,n,r){const o=Yy(e)??new Date,i=r?.[t];if(typeof i=="function")return i(o,t,n);let s={};switch(t){case"fullDate":s={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":s={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const a=o.getDate(),c=new Intl.DateTimeFormat(n,{month:"long"}).format(o);return`${a} ${c}`;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":s={month:"short",day:"numeric"};break;case"year":s={year:"numeric"};break;case"month":s={month:"long"};break;case"monthShort":s={month:"short"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"weekday":s={weekday:"long"};break;case"weekdayShort":s={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(o.getDate());case"hours12h":s={hour:"numeric",hour12:!0};break;case"hours24h":s={hour:"numeric",hour12:!1};break;case"minutes":s={minute:"numeric"};break;case"seconds":s={second:"numeric"};break;case"fullTime":s={hour:"numeric",minute:"numeric"};break;case"fullTime12h":s={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":s={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":s={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":s={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(n,s).format(o).replace(/, /g," ");case"keyboardDateTime12h":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(n,s).format(o).replace(/, /g," ");case"keyboardDateTime24h":return s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(n,s).format(o).replace(/, /g," ");default:s=i??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(o)}function UP(e,t){const n=e.toJsDate(t),r=n.getFullYear(),o=zp(String(n.getMonth()+1),2,"0"),i=zp(String(n.getDate()),2,"0");return`${r}-${o}-${i}`}function BP(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function jP(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function FP(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function ur(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function HP(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function zP(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function No(e){return e.getFullYear()}function WP(e){return e.getMonth()}function qP(e,t,n,r){const o=Jo(t),i=n??o?.firstDay??0,s=o?.firstWeekSize??1;return r!==void 0?GP(e,t,i,r):VP(e,t,i,s)}function GP(e,t,n,r){const o=(7+r-n)%7,i=ts(e,t,n),s=ur(i,6);function a(d){return(7+new Date(d,0,1).getDay()-n)%7}let c=No(e);c=r&&s++;const a=new Date(s,0,1),c=i(s),u=c>=r?ur(a,c-7):ur(a,c);return 1+rs(iu(e),$o(u),"weeks")}function KP(e){return e.getDate()}function YP(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function JP(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function XP(e){return e.getHours()}function QP(e){return e.getMinutes()}function ZP(e){return new Date(e.getFullYear(),0,1)}function eL(e){return new Date(e.getFullYear(),11,31)}function tL(e,t){return ns(e,t[0])&&oL(e,t[1])}function nL(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function ns(e,t){return e.getTime()>t.getTime()}function rL(e,t){return ns($o(e),$o(t))}function oL(e,t){return e.getTime(){n.locale=e.locale[r]??r??n.locale}),n}const ul=Symbol.for("vuetify:display"),ih={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},yL=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ih;return nt(ih,e)};function sh(e){return gt&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function ah(e){return gt&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function ch(e){const t=gt&&!e?window.navigator.userAgent:"ssr";function n(h){return!!t.match(h)}const r=n(/android/i),o=n(/iphone|ipad|ipod/i),i=n(/cordova/i),s=n(/electron/i),a=n(/chrome/i),c=n(/edge/i),u=n(/firefox/i),l=n(/opera/i),f=n(/win/i),d=n(/mac/i),p=n(/linux/i);return{android:r,ios:o,cordova:i,electron:s,chrome:a,edge:c,firefox:u,opera:l,win:f,mac:d,linux:p,touch:NC,ssr:t==="ssr"}}function bL(e,t){const{thresholds:n,mobileBreakpoint:r}=yL(e),o=Ee(ah(t)),i=Ee(ch(t)),s=Je({}),a=Ee(sh(t));function c(){o.value=ah(),a.value=sh()}function u(){c(),i.value=ch()}return Fr(()=>{const l=a.value=n.xxl,m=l?"xs":f?"sm":d?"md":p?"lg":h?"xl":"xxl",y=typeof r=="number"?r:n[r],b=a.value{window.removeEventListener("resize",c)},!0)),{...Ni(s),update:u,ssr:!!t}}const WM=Rs({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function qM(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yP();const n=je(ul);if(!n)throw new Error("Could not find Vuetify display injection");const r=me(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.valuet?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:o,mobile:r}}const Jy=Symbol.for("vuetify:goto");function Xy(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:kP}}function vL(e){return su(e)??(document.scrollingElement||document.body)}function su(e){return typeof e=="string"?document.querySelector(e):Uy(e)}function Ac(e,t,n){if(typeof e=="number")return t&&n?-e:e;let r=su(e),o=0;for(;r;)o+=t?r.offsetLeft:r.offsetTop,r=r.offsetParent;return o}function wL(e,t){return{rtl:t.isRtl,options:nt(Xy(),e)}}async function lh(e,t,n,r){const o=n?"scrollLeft":"scrollTop",i=nt(r?.options??Xy(),t),s=r?.rtl.value,a=(typeof e=="number"?e:su(e))??0,c=i.container==="parent"&&a instanceof HTMLElement?a.parentElement:vL(i.container),u=$C()?i.patterns.instant:typeof i.easing=="function"?i.easing:i.patterns[i.easing];if(!u)throw new TypeError(`Easing function "${i.easing}" not found.`);let l;if(typeof a=="number")l=Ac(a,n,s);else if(l=Ac(a,n,s)-Ac(c,n,s),i.layout){const h=window.getComputedStyle(a).getPropertyValue("--v-layout-top");h&&(l-=parseInt(h,10))}l+=i.offset,l=SL(c,l,!!s,!!n);const f=c[o]??0;if(l===f)return Promise.resolve(l);const d=performance.now();return new Promise(p=>requestAnimationFrame(function h(g){const y=(g-d)/i.duration,b=Math.floor(f+(l-f)*u(tu(y,0,1)));if(c[o]=b,y>=1&&Math.abs(b-c[o])<10)return p(l);if(y>2)return p(c[o]);requestAnimationFrame(h)}))}function GM(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=je(Jy),{isRtl:n}=PP();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const r={...t,rtl:et(()=>t.rtl.value||n.value)};async function o(i,s){return lh(i,nt(e,s),!1,r)}return o.horizontal=async(i,s)=>lh(i,nt(e,s),!0,r),o}function SL(e,t,n,r){const{scrollWidth:o,scrollHeight:i}=e,[s,a]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let c,u;return r?n?(c=-(o-s),u=0):(c=0,u=o-s):(c=0,u=i+-a),tu(t,c,u)}const EL={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},kL={component:e=>ze(Zy,{...e,class:"mdi"})},TL=[String,Function,Object,Array],fl=Symbol.for("vuetify:icons"),Os=Rs({icon:{type:TL},tag:{type:[String,Object,Function],required:!0}},"icon"),uh=EP()({name:"VComponentIcon",props:Os(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return Sn(e.tag,null,{default:()=>[e.icon?Sn(r,null,null):n.default?.()]})}}}),Qy=Yo({name:"VSvgIcon",inheritAttrs:!1,props:Os(),setup(e,t){let{attrs:n}=t;return()=>Sn(e.tag,Ah(n,{style:null}),{default:()=>[fi("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?fi("path",{d:r[0],"fill-opacity":r[1]},null):fi("path",{d:r},null)):fi("path",{d:e.icon},null)])]})}});Yo({name:"VLigatureIcon",props:Os(),setup(e){return()=>Sn(e.tag,null,{default:()=>[e.icon]})}});const Zy=Yo({name:"VClassIcon",props:Os(),setup(e){return()=>Sn(e.tag,{class:kb(e.icon)},null)}});function _L(){return{svg:{component:Qy},class:{component:Zy}}}function AL(e){const t=_L(),n=e?.defaultSet??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=kL),nt({defaultSet:n,sets:t,aliases:{...EL,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const VM=e=>{const t=je(fl);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:me(()=>{const r=Ie(e);if(!r)return{component:uh};let o=r;if(typeof o=="string"&&(o=o.trim(),o.startsWith("$")&&(o=t.aliases?.[o.slice(1)])),Array.isArray(o))return{component:Qy,icon:o};if(typeof o!="string")return{component:uh,icon:o};const i=Object.keys(t.sets).find(c=>typeof o=="string"&&o.startsWith(`${c}:`)),s=i?o.slice(i.length+1):o;return{component:t.sets[i??t.defaultSet].component,icon:s}})}},Uo=Symbol.for("vuetify:theme"),KM=Rs({theme:String},"theme");function fh(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function RL(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fh();const t=fh();if(!e)return{...t,isDisabled:!0};const n={};for(const[r,o]of Object.entries(e.themes??{})){const i=o.dark||r==="dark"?t.themes?.dark:t.themes?.light;n[r]=nt(i,o)}return nt(t,{...e,themes:n})}function nr(e,t,n,r){e.push(`${PL(t,r)} { `,...n.map(o=>` ${o}; `),`} `)}function dh(e,t){const n=e.dark?2:1,r=e.dark?1:2,o=[];for(const[i,s]of Object.entries(e.colors)){const a=wn(s);o.push(`--${t}theme-${i}: ${a.r},${a.g},${a.b}`),i.startsWith("on-")||o.push(`--${t}theme-${i}-overlay-multiplier: ${mP(s)>.18?n:r}`)}for(const[i,s]of Object.entries(e.variables)){const a=typeof s=="string"&&s.startsWith("#")?wn(s):void 0,c=a?`${a.r}, ${a.g}, ${a.b}`:void 0;o.push(`--${t}${i}: ${c??s}`)}return o}function OL(e,t,n){const r={};if(n)for(const o of["lighten","darken"]){const i=o==="lighten"?pP:hP;for(const s of $y(n[o],1))r[`${e}-${o}-${s}`]=uP(i(wn(t),s))}return r}function xL(e,t){if(!t)return{};let n={};for(const r of t.colors){const o=e[r];o&&(n={...n,...OL(r,o,t)})}return n}function CL(e){const t={};for(const n of Object.keys(e)){if(n.startsWith("on-")||e[`on-${n}`])continue;const r=`on-${n}`,o=wn(e[n]);t[r]=gP(o)}return t}function PL(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function LL(e,t,n){const r=IL(e,t);r&&(r.innerHTML=n)}function IL(e,t){if(!gt)return null;let n=document.getElementById(e);return n||(n=document.createElement("style"),n.id=e,n.type="text/css",t&&n.setAttribute("nonce",t),document.head.appendChild(n)),n}function ML(e){const t=RL(e),n=Ee(t.defaultTheme),r=he(t.themes),o=Ee("light"),i=me({get(){return n.value==="system"?o.value:n.value},set(y){n.value=y}}),s=me(()=>{const y={};for(const[b,w]of Object.entries(r.value)){const _={...w.colors,...xL(w.colors,t.variations)};y[b]={...w,colors:{..._,...CL(_)}}}return y}),a=et(()=>s.value[i.value]),c=et(()=>n.value==="system"),u=me(()=>{const y=[],b=t.unimportant?"":" !important",w=t.scoped?t.prefix:"";a.value?.dark&&nr(y,":root",["color-scheme: dark"],t.scope),nr(y,":root",dh(a.value,t.prefix),t.scope);for(const[_,A]of Object.entries(s.value))nr(y,`.${t.prefix}theme--${_}`,[`color-scheme: ${A.dark?"dark":"normal"}`,...dh(A,t.prefix)],t.scope);if(t.utilities){const _=[],A=[],O=new Set(Object.values(s.value).flatMap(x=>Object.keys(x.colors)));for(const x of O)x.startsWith("on-")?nr(A,`.${x}`,[`color: rgb(var(--${t.prefix}theme-${x}))${b}`],t.scope):(nr(_,`.${w}bg-${x}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${x}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${x}))${b}`,`color: rgb(var(--${t.prefix}theme-on-${x}))${b}`],t.scope),nr(A,`.${w}text-${x}`,[`color: rgb(var(--${t.prefix}theme-${x}))${b}`],t.scope),nr(A,`.${w}border-${x}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${x})`],t.scope));y.push(..._,...A)}return y.map((_,A)=>A===0?_:` ${_}`).join("")}),l=et(()=>t.isDisabled?void 0:`${t.prefix}theme--${i.value}`),f=et(()=>Object.keys(s.value));if(My){let b=function(){o.value=y.matches?"dark":"light"};const y=window.matchMedia("(prefers-color-scheme: dark)");b(),y.addEventListener("change",b,{passive:!0}),hl()&&Hn(()=>{y.removeEventListener("change",b)})}function d(y){if(t.isDisabled)return;const b=y._context.provides.usehead;if(b){let w=function(){return{style:[{textContent:u.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};if(b.push){const _=b.push(w);gt&&Ke(u,()=>{_.patch(w)})}else gt?(b.addHeadObjs(et(w)),Fr(()=>b.updateDOM())):b.addHeadObjs(w())}else{let w=function(){LL(t.stylesheetId,t.cspNonce,u.value)};gt?Ke(u,w,{immediate:!0}):w()}}function p(y){y!=="system"&&!f.value.includes(y)||(i.value=y)}function h(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f.value;const b=y.indexOf(i.value),w=b===-1?0:(b+1)%y.length;p(y[w])}function g(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];h(y)}const m=new Proxy(i,{get(y,b){return Reflect.get(y,b)},set(y,b,w){return b==="value"&&tP(`theme.global.name.value = ${w}`,`theme.change('${w}')`),Reflect.set(y,b,w)}});return{install:d,change:p,cycle:h,toggle:g,isDisabled:t.isDisabled,isSystem:c,name:i,themes:r,current:a,computedThemes:s,prefix:t.prefix,themeClasses:l,styles:u,global:{name:m,current:a}}}function YM(e){Yr("provideTheme");const t=je(Uo,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=et(()=>e.theme??t.name.value),r=et(()=>t.themes.value[n.value]),o=et(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`),i={...t,name:n,current:r,themeClasses:o};return Wt(Uo,i),i}function JM(){Yr("useTheme");const e=je(Uo,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function eb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=nt(t,n),{aliases:o={},components:i={},directives:s={}}=r,a=Ro();return a.run(()=>{const c=vP(r.defaults),u=bL(r.display,r.ssr),l=ML(r.theme),f=AL(r.icons),d=OP(r.locale),p=mL(r.date,d),h=wL(r.goTo,d);function g(y){for(const w in s)y.directive(w,s[w]);for(const w in i)y.component(w,i[w]);for(const w in o)y.component(w,Yo({...o[w],name:w,aliasName:o[w].name}));const b=Ro();if(b.run(()=>{l.install(y)}),y.onUnmount(()=>b.stop()),y.provide(jr,c),y.provide(ul,u),y.provide(Uo,l),y.provide(fl,f),y.provide(es,d),y.provide(hL,p.options),y.provide(oh,p.instance),y.provide(Jy,h),gt&&r.ssr)if(y.$nuxt)y.$nuxt.hook("app:suspense:resolve",()=>{u.update()});else{const{mount:w}=y;y.mount=function(){const _=w(...arguments);return Et(()=>u.update()),y.mount=w,_}}y.mixin({computed:{$vuetify(){return Je({defaults:Cr.call(this,jr),display:Cr.call(this,ul),theme:Cr.call(this,Uo),icons:Cr.call(this,fl),locale:Cr.call(this,es),date:Cr.call(this,oh)})}}})}function m(){a.stop()}return{install:g,unmount:m,defaults:c,display:u,theme:l,icons:f,locale:d,date:p,goTo:h}})}const DL="3.10.4";eb.version=DL;function Cr(e){const t=this.,ドルn=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}const NL=De({name:"vuetify:nuxt:client:plugin",order:25,dependsOn:["vuetify:icons:plugin"],parallel:!0,async setup(e){let t,n;const r=MC();[t,n]=zt(()=>e.hooks.callHook("vuetify:configuration",{isDev:$p,vuetifyOptions:r})),await t,n(),[t,n]=zt(()=>e.hooks.callHook("vuetify:before-create",{isDev:$p,vuetifyOptions:r})),await t,n();const o=eb(r);e.vueApp.use(o),e.provide("vuetify",o),[t,n]=zt(()=>e.hooks.callHook("vuetify:ready",o)),await t,n()}}),$L=[v0,S0,E0,R0,_E,AE,RE,OE,xE,$E,UE,FE,HE,zE,WE,zk,rT,vx,Ex,Rx,nC,rC,kC,OC,IC,NL],ph={webManifest:{href:"/manifest.webmanifest"}},UL=rn({async setup(){if(ph){const e=he({link:[]});d0(e);const{webManifest:t}=ph;if(t){const{href:n}=t;e.value.link.push({rel:"manifest",href:n})}}return()=>null}}),tb=(e="RouteProvider")=>rn({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,o={};for(const i in t.route)Object.defineProperty(o,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Wt(fr,jo(o)),()=>t.vnode?ze(t.vnode,{ref:t.vnodeRef}):t.vnode}}),BL=tb(),hh=new WeakMap,jL=rn({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:n,expose:r}){const o=$e(),i=he(),s=je(fr,null);let a;r({pageRef:i});const c=je(Yh,null);let u;const l=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",l);ut().beforeEach(d)}e.pageKey&&Ke(()=>e.pageKey,(d,p)=>{d!==p&&o.callHook("page:loading:start")});let f=!1;{const d=ut().beforeResolve(()=>{f=!1});Eh(()=>{d()})}return()=>ze(_m,{name:e.name,route:e.route,...t},{default:d=>{const p=HL(s,d.route,d.Component),h=s&&s.matched.length===d.route.matched.length;if(!d.Component){if(u&&!h)return u;l();return}if(u&&c&&!c.isCurrent(d.route))return u;if(p&&s&&(!c||c?.isCurrent(s)))return h?u:null;const g=Bc(d,e.pageKey),m=zL(s,d.route,d.Component);!o.isHydrating&&a===g&&!m&&Et(()=>{f=!0,o.callHook("page:loading:end")}),a=g;const y=!!(e.transition??d.route.meta.pageTransition??du),b=y&&FL([e.transition,d.route.meta.pageTransition,du,{onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",d.Component)}}]),w=e.keepalive??d.route.meta.keepalive??Tb;return u=Rm(y&&b,MS(w,ze(ml,{suspensible:!0,onPending:()=>{y&&(o._runningTransition=!0),o.callHook("page:start",d.Component)},onResolve:()=>{Et(()=>o.callHook("page:finish",d.Component).then(()=>{if(delete o._runningTransition,!f&&!m)return f=!0,o.callHook("page:loading:end")}).finally(l))}},{default:()=>{const _={key:g||void 0,vnode:n.default?WL(n.default,d):d.Component,route:d.route,renderKey:g||void 0,trackRootNodes:y,vnodeRef:i};if(!w)return ze(BL,_);const A=d.Component.type,O=A;let x=hh.get(O);return x||(x=tb(A.name||A.__name),hh.set(O,x)),ze(x,_)}}))).default(),u}})}});function FL(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Al(n.onAfterLeave):void 0});return us(...t)}function HL(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&Bc({route:t,Component:n})!==Bc({route:e,Component:n})}function zL(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)ze(jn[e.name],e.layoutProps,t.slots)}}),GL={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},VL=rn({name:"NuxtLayout",inheritAttrs:!1,props:GL,setup(e,t){const n=$e(),r=je(fr),i=!r||r===Wn()?Am():r,s=me(()=>{let l=Oe(e.name)??i?.meta.layout??"default";return l&&!(l in jn)&&e.fallback&&(l=Oe(e.fallback)),l}),a=Ee();t.expose({layoutRef:a});const c=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",c);ut().beforeEach(l)}let u;return()=>{const l=s.value&&s.value in jn,f=i?.meta.layoutTransition??_b,d=u;return u=s.value,Rm(l&&f,{default:()=>ze(ml,{suspensible:!0,onResolve:()=>{Et(c)}},{default:()=>ze(KL,{layoutProps:Ah(t.attrs,{ref:a}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==d&&p===s.value,hasTransition:!!f},t.slots)})}).default()}}}),KL=rn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Wt(Yh,{isCurrent:i=>n===(i.meta.layout??"default")});const r=je(fr);if(r&&r===Wn()){const i=Am(),s={};for(const a in i){const c=a;Object.defineProperty(s,c,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[c]:r[c]})}Wt(fr,jo(s))}return()=>!n||typeof n=="string"&&!(n in jn)?t.slots.default?.():ze(qL,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),YL=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},JL={};function XL(e,t){const n=UL,r=jL,o=VL;return Un(),Rh(ss,null,[Sn(n),Sn(o,null,{default:Oh(()=>[Sn(r)]),_:1})],64)}const QL=YL(JL,[["render",XL]]),ZL={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,c=Oo(()=>tn(()=>import("./CwqBjttF.js"),__vite__mapDeps([29,5,2,30]),import.meta.url)),u=Oo(()=>tn(()=>import("./BvRIE59J.js"),__vite__mapDeps([31,2,32]),import.meta.url)),l=o?c:u;return(f,d)=>(Un(),Pr(Oe(l),Ab(Rb({statusCode:Oe(r),statusMessage:Oe(i),description:Oe(s),stack:Oe(a)})),null,16))}},eI={key:0},mh={__name:"nuxt-root",setup(e){const t=()=>null,n=$e(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);ut().beforeEach(u)}const o=!1;Wt(fr,Wn()),n.hooks.callHookWith(u=>u.map(l=>l()),"vue:setup");const i=fs(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Ob((u,l,f)=>{if(n.hooks.callHook("vue:error",u,l,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(Xh(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>rr(u)),!1});const c=!1;return(u,l)=>(Un(),Pr(ml,{onResolve:Oe(r)},{default:Oh(()=>[Oe(s)?(Un(),Rh("div",eI)):Oe(i)?(Un(),Pr(Oe(ZL),{key:1,error:Oe(i)},null,8,["error"])):Oe(c)?(Un(),Pr(Oe(t),{key:2,context:Oe(c)},null,8,["context"])):Oe(o)?(Un(),Pr(xb(Oe(o)),{key:3})):(Un(),Pr(Oe(QL),{key:4}))]),_:1},8,["onResolve"]))}};let gh;{let e;gh=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?pv(mh):dv(mh),o=Cb({vueApp:r});async function i(s){await o.callHook("app:error",s),o.payload.error||=ar(s)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&pu.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(pu.id)?.remove()});try{await Pb(o,$L)}catch(s){i(s)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Lb),await o.hooks.callHook("app:mounted",r),await Et()}catch(s){i(s)}return r},e=gh().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Im as ,ドルkM as A,TM as B,LM as C,RO as D,xM as E,zM as F,PM as G,yP as H,TL as I,Yr as J,DC as K,YM as L,PP as M,jC as N,pM as O,rI as P,Cm as Q,mE as R,Qi as S,$b as T,yM as U,tu as V,vM as W,$C as X,Rl as Y,KI as Z,YL as _,Sy as a,eM as a,ドルeC as a0,Uu as a1,VI as a2,oM as a3,QI as a4,bI as a5,nM as a6,Ip as a7,mM as a8,uM as a9,Hi as aA,pE as aB,ZI as aC,Bi as aD,al as aE,RM as aF,EM as aG,OM as aH,HM as aI,FM as aJ,AM as aK,_M as aL,IM as aM,DM as aN,qM as aO,Yo as aP,tP as aQ,VC as aR,NM as aS,bM as aT,GC as aU,MM as aV,nm as aW,Ey as aX,qS as aY,jc as aZ,FI as a_,hM as aa,Zx as ab,gt as ac,qC as ad,fM as ae,oI as af,lI as ag,jM as ah,wM as ai,JI as aj,XI as ak,pI as al,HI as am,zI as an,WI as ao,qI as ap,GI as aq,sM as ar,tM as as,dM as at,YI as au,rM as av,qi as aw,uI as ax,lM as ay,WS as az,iI as b,fI as b0,MA as b1,p1 as b2,Gr as b3,hI as b4,tn as b5,fx as b6,aI as b7,mr as b8,yl as b9,VM as bA,WC as bB,$M as bC,vi as bD,WM as bE,GM as bF,CM as bG,gM as bH,Fv as ba,dI as bb,hs as bc,yf as bd,yI as be,Fi as bf,bw as bg,aE as bh,mf as bi,Bv as bj,xo as bk,fE as bl,vI as bm,wI as bn,XE as bo,SI as bp,ar as bq,Ux as br,Oy as bs,Bx as bt,Ox as bu,cP as bv,UM as bw,wn as bx,gP as by,JM as bz,Wn as c,us as d,Mm as e,mI as f,aM as g,iM as h,Fx as i,cM as j,SM as k,EP as l,TP as m,FC as n,cI as o,Rs as p,ut as q,gI as r,Ho as s,Lp as t,d0 as u,nI as v,sI as w,KM as x,BM as y,BC as z};