const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CbWirfMo.js","./DkZnGPcK.js","./De8UPmOk.js","./R8MIIEYt.js","./d6LKkfEr.js","./BdaW4IZT.js","./CT7autq8.js","./A4q5LPmB.js","./sCIyGMNB.js","./ddeMIbO8.js","./DlAUqK2U.js","./HeaderWithIcon.D04WRolV.css","./un3sdaim.js","./Cj50WEVh.js","./DbF7ZsCE.js","./BtrZDSwn.js","./NewsItem.Be3h9Uyt.css","./NewsList.xG8POw4a.css","./IpawNewsList.CCHWO4tA.css","./Chi3DWGb.js","./Dic8u-Z8.js","./BgBFBVMn.js","./TopicCard.0BFUbm7w.css","./BGtizH23.js","./IpawTopicCards.afh4z0zz.css","./D-YHms4J.js","./IpawSection.DfPzR18y.css","./BbTnt9ex.js","./DD41tC4G.js","./IpawDocumentList.BSZRMlvU.css","./C2QFGxjV.js","./IpawDocumentListV2.T7uRBFgb.css","./DqGdBCRQ.js","./IpawCf7Form.2FTReqSj.css","./CnIqZT84.js","./IpawEventRegistration.DfU-eAks.css","./NZThnFAD.js","./IpawEventList.CZqfbh1F.css","./DlbkS-0F.js","./IpawProjectFundingList.IncpBhz4.css","./BbokrZP3.js","./Dul3vl6g.js","./QAList.CdhOghyQ.css","./IpawQAList.CdsfxBF3.css","./LgAD3WAH.js","./k07scFdv.js","./BlockImage.CMTFHVFZ.css","./BlockGallery.CIJb-82u.css","./Cc-JKjuk.js","./BlockCoreImage.BWhT35H2.css","./BlockRenderer.CaejCREl.css","./8v3ZhGWc.js","./DuTW4Vgv.js","./index.CPmxh4rx.css","./3YDCuLPS.js","./DFr61ep8.js","./Oh9VfVeg.js","./Breadcrumbs.CiuuewWo.css","./C3MkL1Ay.js","./TopicHeader.H1ALBLoe.css","./CTS64hoc.js","./_...BBylxmSn.css","./Cabo9r31.js","./DN2lUqzh.js","./DmwYlmgS.js","./jq5QhqM_.js","./D4lGG9k_.js","./_...CuwNsjrT.css","./CbH0XenM.js","./4CvtwIH8.js","./_...bi5WykvT.css","./DntlK-Qf.js","./_...DK76qDxm.css","./CTs4MQkq.js","./_...DykCbqxC.css","./ChXkWz3B.js","./BlockList.BNfkWEja.css","./BBngof9B.js","./DM_ptKcp.js","./BackgroundSvg.hljJezTI.css","./CrJtmWrP.js","./Bt81CZ3x.js","./JQv12HPw.js","./DDti6oad.js","./MainNavigation.Bi4fwVVB.css","./CFC6v6il.js","./MobileNavigation.CsbY3HLz.css","./Dtm11UFW.js","./SearchPopup.svc-AV6B.css","./CpJkiTWR.js","./Logo.2BJmCvEy.css","./BipHeader.Bva2LStD.css","./Dl9Mca7U.js","./DRYQT7cg.js","./TreeNode.CukXnyud.css","./BipMobileNavigation.DYCdQOOw.css","./4u3lARME.js","./Cdb82QJk.js","./HeaderWithIconOld.BqdNHQcn.css","./BO_Ye5iW.js","./MetryczkaCollapsible.CXGTUSXO.css","./DaTkuXe_.js","./MobileMenu.BfbcTVl_.css","./COcKA9C1.js","./ByJJgsDr.js","./BDbIk6AL.js","./SiteFooter.DICFFuFt.css","./DwcE6_I7.js","./SiteFooterold.SeTOEGtX.css","./-d4SDXYY.js","./SiteHeader.DNtnUSkc.css","./DbF02Voz.js","./TopicHeaderSimple.DxzEZqbL.css","./CRmnnmvz.js","./bip.CVrZk2D-.css","./jL-6uN8-.js","./default.C_0WTYQn.css","./DLDT8Yvr.js","./error-404.4oxyXxx0.css","./BjWueRWY.js","./error-500.CZqNkBuR.css"])))=>i.map(i=>d[i]); var _y=Object.defineProperty;var Pu=e=>{throw TypeError(e)};var Ty=(e,t,n)=>t in e?_y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Vn=(e,t,n)=>Ty(e,typeof t!="symbol"?t+"":t,n),_a=(e,t,n)=>t.has(e)||Pu("Cannot "+n);var H=(e,t,n)=>(_a(e,t,"read from private field"),n?n.call(e):t.get(e)),Oe=(e,t,n)=>t.has(e)?Pu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),we=(e,t,n,r)=>(_a(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ct=(e,t,n)=>(_a(e,t,"access private method"),n);var Ws=(e,t,n,r)=>({set _(i){we(e,t,i,n)},get _(){return H(e,t,r)}});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/** * @vue/shared v3.5.16 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Tc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},ai=[],un=()=>{},xy=()=>!1,Ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xc=e=>e.startsWith("onUpdate:"),rt=Object.assign,Oc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oy=Object.prototype.hasOwnProperty,Ae=(e,t)=>Oy.call(e,t),de=Array.isArray,li=e=>Rs(e)==="[object Map]",_h=e=>Rs(e)==="[object Set]",Cy=e=>Rs(e)==="[object RegExp]",ye=e=>typeof e=="function",We=e=>typeof e=="string",Ln=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",Ko=e=>(Be(e)||ye(e))&&ye(e.then)&&ye(e.catch),Th=Object.prototype.toString,Rs=e=>Th.call(e),Py=e=>Rs(e).slice(8,-1),xh=e=>Rs(e)==="[object Object]",Cc=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ci=Tc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ky=/-(\w)/g,Vt=Xo(e=>e.replace(ky,(t,n)=>n?n.toUpperCase():"")),Ay=/\B([A-Z])/g,pr=Xo(e=>e.replace(Ay,"-$1").toLowerCase()),Jo=Xo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ta=Xo(e=>e?`on${Jo(e)}`:""),sr=(e,t)=>!Object.is(e,t),ui=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ch=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let ku;const Zo=()=>ku||(ku=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ds(e){if(de(e)){const t={};for(let n=0;n{if(n){const r=n.split(My);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ls(e){let t="";if(We(e))t=e;else if(de(e))for(let n=0;n!!(e&&e.__v_isRef===!0),zy=e=>We(e)?e:e==null?"":de(e)||Be(e)&&(e.toString===Th||!ye(e.toString))?kh(e)?zy(e.value):JSON.stringify(e,Ah,2):String(e),Ah=(e,t)=>kh(t)?Ah(e,t.value):li(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[xa(r,s)+" =>"]=i,n),{})}:_h(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xa(n))}:Ln(t)?xa(t):Be(t)&&!de(t)&&!xh(t)?String(t):t,xa=(e,t="")=>{var n;return Ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.16 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ft;class Ih{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ft,!t&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(ft=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(ns){let t=ns;for(ns=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ts;){let t=ts;for(ts=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Lh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fh(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Ic(r),Vy(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function El(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Nh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Nh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!El(e))))return;e.flags|=2;const t=e.dep,n=Ne,r=Gt;Ne=e,Gt=!0;try{Lh(e);const i=e.fn(e._value);(t.version===0||sr(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ne=n,Gt=r,Fh(e),e.flags&=-3}}function Ic(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ic(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vy(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Gt=!0;const zh=[];function An(){zh.push(Gt),Gt=!1}function In(){const e=zh.pop();Gt=e===void 0?!0:e}function Au(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let ms=0;class By{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Mc{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ne||!Gt||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new By(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,jh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=r)}return n}trigger(t){this.version++,ms++,this.notify(t)}notify(t){kc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ac()}}}function jh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)jh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xo=new WeakMap,Rr=Symbol(""),_l=Symbol(""),gs=Symbol("");function dt(e,t,n){if(Gt&&Ne){let r=xo.get(e);r||xo.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Mc),i.map=r,i.key=n),i.track()}}function xn(e,t,n,r,i,s){const o=xo.get(e);if(!o){ms++;return}const a=l=>{l&&l.trigger()};if(kc(),t==="clear")o.forEach(a);else{const l=de(e),u=l&&Cc(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,d)=>{(d==="length"||d===gs||!Ln(d)&&d>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(gs)),t){case"add":l?u&&a(o.get("length")):(a(o.get(Rr)),li(e)&&a(o.get(_l)));break;case"delete":l||(a(o.get(Rr)),li(e)&&a(o.get(_l)));break;case"set":li(e)&&a(o.get(Rr));break}}Ac()}function qy(e,t){const n=xo.get(e);return n&&n.get(t)}function Yr(e){const t=Ce(e);return t===e?t:(dt(t,"iterate",gs),zt(e)?t:t.map(ot))}function ea(e){return dt(e=Ce(e),"iterate",gs),e}const Hy={__proto__:null,[Symbol.iterator](){return Ca(this,Symbol.iterator,ot)},concat(...e){return Yr(this).concat(...e.map(t=>de(t)?Yr(t):t))},entries(){return Ca(this,"entries",e=>(e[1]=ot(e[1]),e))},every(e,t){return yn(this,"every",e,t,void 0,arguments)},filter(e,t){return yn(this,"filter",e,t,n=>n.map(ot),arguments)},find(e,t){return yn(this,"find",e,t,ot,arguments)},findIndex(e,t){return yn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yn(this,"findLast",e,t,ot,arguments)},findLastIndex(e,t){return yn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Pa(this,"includes",e)},indexOf(...e){return Pa(this,"indexOf",e)},join(e){return Yr(this).join(e)},lastIndexOf(...e){return Pa(this,"lastIndexOf",e)},map(e,t){return yn(this,"map",e,t,void 0,arguments)},pop(){return qi(this,"pop")},push(...e){return qi(this,"push",e)},reduce(e,...t){return Iu(this,"reduce",e,t)},reduceRight(e,...t){return Iu(this,"reduceRight",e,t)},shift(){return qi(this,"shift")},some(e,t){return yn(this,"some",e,t,void 0,arguments)},splice(...e){return qi(this,"splice",e)},toReversed(){return Yr(this).toReversed()},toSorted(e){return Yr(this).toSorted(e)},toSpliced(...e){return Yr(this).toSpliced(...e)},unshift(...e){return qi(this,"unshift",e)},values(){return Ca(this,"values",ot)}};function Ca(e,t,n){const r=ea(e),i=r[t]();return r!==e&&!zt(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.value&&(s.value=n(s.value)),s}),i}const $y=Array.prototype;function yn(e,t,n,r,i,s){const o=ea(e),a=o!==e&&!zt(e),l=o[t];if(l!==$y[t]){const f=l.apply(e,s);return a?ot(f):f}let u=n;o!==e&&(a?u=function(f,d){return n.call(this,ot(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(o,u,r);return a&&i?i(c):c}function Iu(e,t,n,r){const i=ea(e);let s=n;return i!==e&&(zt(e)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,e)}):s=function(o,a,l){return n.call(this,o,ot(a),l,e)}),i[t](s,...r)}function Pa(e,t,n){const r=Ce(e);dt(r,"iterate",gs);const i=r[t](...n);return(i===-1||i===!1)&&Lc(n[0])?(n[0]=Ce(n[0]),r[t](...n)):i}function qi(e,t,n=[]){An(),kc();const r=Ce(e)[t].apply(e,n);return Ac(),In(),r}const Wy=Tc("__proto__,__v_isRef,__isVue"),Vh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ln));function Qy(e){Ln(e)||(e=String(e));const t=Ce(this);return dt(t,"has",e),t.hasOwnProperty(e)}class Bh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?nv:Wh:s?$h:Hh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=de(t);if(!i){let l;if(o&&(l=Hy[n]))return l;if(n==="hasOwnProperty")return Qy}const a=Reflect.get(t,n,Qe(t)?t:r);return(Ln(n)?Vh.has(n):Wy(n))||(i||dt(t,"get",n),s)?a:Qe(a)?o&&Cc(n)?a:a.value:Be(a)?i?Qh(a):Fn(a):a}}class qh extends Bh{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=Mn(s);if(!zt(r)&&!Mn(r)&&(s=Ce(s),r=Ce(r)),!de(t)&&Qe(s)&&!Qe(r))return l?!1:(s.value=r,!0)}const o=de(t)&&Cc(n)?Number(n)e,Qs=e=>Reflect.getPrototypeOf(e);function Xy(e,t,n){return function(...r){const i=this.__v_raw,s=Ce(i),o=li(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?Tl:t?Oo:ot;return!t&&dt(s,"iterate",l?_l:Rr),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Us(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jy(e,t){const n={get(i){const s=this.__v_raw,o=Ce(s),a=Ce(i);e||(sr(i,a)&&dt(o,"get",i),dt(o,"get",a));const{has:l}=Qs(o),u=t?Tl:e?Oo:ot;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&dt(Ce(i),"iterate",Rr),Reflect.get(i,"size",i)},has(i){const s=this.__v_raw,o=Ce(s),a=Ce(i);return e||(sr(i,a)&&dt(o,"has",i),dt(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=Ce(a),u=t?Tl:e?Oo:ot;return!e&&dt(l,"iterate",Rr),a.forEach((c,f)=>i.call(s,u(c),u(f),o))}};return rt(n,e?{add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear")}:{add(i){!t&&!zt(i)&&!Mn(i)&&(i=Ce(i));const s=Ce(this);return Qs(s).has.call(s,i)||(s.add(i),xn(s,"add",i,i)),this},set(i,s){!t&&!zt(s)&&!Mn(s)&&(s=Ce(s));const o=Ce(this),{has:a,get:l}=Qs(o);let u=a.call(o,i);u||(i=Ce(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?sr(s,c)&&xn(o,"set",i,s):xn(o,"add",i,s),this},delete(i){const s=Ce(this),{has:o,get:a}=Qs(s);let l=o.call(s,i);l||(i=Ce(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&xn(s,"delete",i,void 0),u},clear(){const i=Ce(this),s=i.size!==0,o=i.clear();return s&&xn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Xy(i,e,t)}),n}function Rc(e,t){const n=Jy(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Ae(n,i)&&i in r?n:r,i,s)}const Zy={get:Rc(!1,!1)},ev={get:Rc(!1,!0)},tv={get:Rc(!0,!1)};const Hh=new WeakMap,$h=new WeakMap,Wh=new WeakMap,nv=new WeakMap;function rv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function iv(e){return e.__v_skip||!Object.isExtensible(e)?0:rv(Py(e))}function Fn(e){return Mn(e)?e:Dc(e,!1,Gy,Zy,Hh)}function cn(e){return Dc(e,!1,Ky,ev,$h)}function Qh(e){return Dc(e,!0,Yy,tv,Wh)}function Dc(e,t,n,r,i){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=iv(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function Dr(e){return Mn(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function Lc(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function sv(e){return!Ae(e,"__v_skip")&&Object.isExtensible(e)&&Oh(e,"__v_skip",!0),e}const ot=e=>Be(e)?Fn(e):e,Oo=e=>Be(e)?Qh(e):e;function Qe(e){return e?e.__v_isRef===!0:!1}function Ie(e){return Uh(e,!1)}function fn(e){return Uh(e,!0)}function Uh(e,t){return Qe(e)?e:new ov(e,t)}class ov{constructor(t,n){this.dep=new Mc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:ot(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||zt(t)||Mn(t);t=r?t:Ce(t),sr(t,n)&&(this._rawValue=t,this._value=r?t:ot(t),this.dep.trigger())}}function Me(e){return Qe(e)?e.value:e}function av(e){return ye(e)?e():Me(e)}const lv={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Qe(i)&&!Qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Gh(e){return Dr(e)?e:new Proxy(e,lv)}class cv{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qy(Ce(this._object),this._key)}}class uv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Yh(e,t,n){return Qe(e)?e:ye(e)?new uv(e):Be(e)&&arguments.length>1?fv(e,t,n):Ie(e)}function fv(e,t,n){const r=e[t];return Qe(r)?r:new cv(e,t,n)}class dv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Mc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return Dh(this,!0),!0}get value(){const t=this.dep.track();return Nh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function hv(e,t,n=!1){let r,i;return ye(e)?r=e:(r=e.get,i=e.set),new dv(r,i,n)}const Gs={},Co=new WeakMap;let Er;function pv(e,t=!1,n=Er){if(n){let r=Co.get(n);r||Co.set(n,r=[]),r.push(e)}}function mv(e,t,n=Le){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=S=>i?S:zt(S)||i===!1||i===0?On(S,1):On(S);let c,f,d,p,m=!1,y=!1;if(Qe(e)?(f=()=>e.value,m=zt(e)):Dr(e)?(f=()=>u(e),m=!0):de(e)?(y=!0,m=e.some(S=>Dr(S)||zt(S)),f=()=>e.map(S=>{if(Qe(S))return S.value;if(Dr(S))return u(S);if(ye(S))return l?l(S,2):S()})):ye(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){An();try{d()}finally{In()}}const S=Er;Er=c;try{return l?l(e,3,[p]):e(p)}finally{Er=S}}:f=un,t&&i){const S=f,_=i===!0?1/0:i;f=()=>On(S(),_)}const E=Pc(),v=()=>{c.stop(),E&&E.active&&Oc(E.effects,c)};if(s&&t){const S=t;t=(..._)=>{S(..._),v()}}let w=y?new Array(e.length).fill(Gs):Gs;const g=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const _=c.run();if(i||m||(y?_.some((P,M)=>sr(P,w[M])):sr(_,w))){d&&d();const P=Er;Er=c;try{const M=[_,w===Gs?void 0:y&&w[0]===Gs?[]:w,p];w=_,l?l(t,3,M):t(...M)}finally{Er=P}}}else c.run()};return a&&a(g),c=new Mh(f),c.scheduler=o?()=>o(g,!1):g,p=S=>pv(S,!1,c),d=c.onStop=()=>{const S=Co.get(c);if(S){if(l)l(S,4);else for(const _ of S)_();Co.delete(c)}},t?r?g(!0):w=c.run():o?o(g.bind(null,!0),!0):c.run(),v.pause=c.pause.bind(c),v.resume=c.resume.bind(c),v.stop=v,v}function On(e,t=1/0,n){if(t<=0||!Be(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Qe(e))On(e.value,t,n);else if(de(e))for(let r=0;r{On(r,t,n)});else if(xh(e)){for(const r in e)On(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&On(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.16 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Fs(e,t,n,r){try{return r?e(...r):e()}catch(i){Fi(i,t,n)}}function Yt(e,t,n,r){if(ye(e)){const i=Fs(e,t,n,r);return i&&Ko(i)&&i.catch(s=>{Fi(s,t,n)}),i}if(de(e)){const i=[];for(let s=0;s>>1,i=St[r],s=ys(i);s=ys(n)?St.push(e):St.splice(yv(t),0,e),e.flags|=1,Xh()}}function Xh(){Po||(Po=Kh.then(Jh))}function xl(e){de(e)?fi.push(...e):$n&&e.id===-1?$n.splice(Xr+1,0,e):e.flags&1||(fi.push(e),e.flags|=1),Xh()}function Mu(e,t,n=rn+1){for(;nys(n)-ys(r));if(fi.length=0,$n){$n.push(...t);return}for($n=t,Xr=0;Xr<$n.length;Xr++){const n=$n[Xr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$n=null,Xr=0}}const ys=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Jh(e){try{for(rn=0;rn{r._d&&Uu(-1);const s=Ao(t);let o;try{o=e(...i)}finally{Ao(s),r._d&&Uu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Xk(e,t){if(et===null)return e;const n=oa(et),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,rs=e=>e&&(e.disabled||e.disabled===""),Ru=e=>e&&(e.defer||e.defer===""),Du=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lu=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ol=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},np={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:m,createText:y,createComment:E}}=u,v=rs(t.props);let{shapeFlag:w,children:g,dynamicChildren:S}=t;if(e==null){const _=t.el=y(""),P=t.anchor=y("");p(_,n,r),p(P,n,r);const M=(A,k)=>{w&16&&(i&&i.isCE&&(i.ce._teleportTarget=A),c(g,A,k,i,s,o,a,l))},R=()=>{const A=t.target=Ol(t.props,m),k=rp(A,t,y,p);A&&(o!=="svg"&&Du(A)?o="svg":o!=="mathml"&&Lu(A)&&(o="mathml"),v||(M(A,k),uo(t,!1)))};v&&(M(n,P),uo(t,!0)),Ru(t.props)?(t.el.__isMounted=!1,Je(()=>{R(),delete t.el.__isMounted},s)):R()}else{if(Ru(t.props)&&e.el.__isMounted===!1){Je(()=>{np.process(e,t,n,r,i,s,o,a,l,u)},s);return}t.el=e.el,t.targetStart=e.targetStart;const _=t.anchor=e.anchor,P=t.target=e.target,M=t.targetAnchor=e.targetAnchor,R=rs(e.props),A=R?n:P,k=R?_:M;if(o==="svg"||Du(P)?o="svg":(o==="mathml"||Lu(P))&&(o="mathml"),S?(d(e.dynamicChildren,S,A,i,s,o,a),qc(e,t,!0)):l||f(e,t,A,k,i,s,o,a,!1),v)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ys(t,n,_,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=Ol(t.props,m);B&&Ys(t,B,null,u,0)}else R&&Ys(t,P,M,u,1);uo(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(i(u),i(c)),s&&i(l),o&16){const p=s||!rs(d);for(let m=0;m{e.isMounted=!0}),Hr(()=>{e.isUnmounting=!0}),e}const Lt=[Function,Array],ip={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},sp=e=>{const t=e.subTree;return t.component?sp(t.component):t},wv={name:"BaseTransition",props:ip,setup(e,{slots:t}){const n=mr(),r=bv();return()=>{const i=t.default&&lp(t.default(),!0);if(!i||!i.length)return;const s=op(i),o=Ce(e),{mode:a}=o;if(r.isLeaving)return ka(s);const l=Fu(s);if(!l)return ka(s);let u=Cl(l,o,r,n,f=>u=f);l.type!==Xe&&Ci(l,u);let c=n.subTree&&Fu(n.subTree);if(c&&c.type!==Xe&&!Ut(l,c)&&sp(n).type!==Xe){let f=Cl(c,o,r,n);if(Ci(c,f),a==="out-in"&&l.type!==Xe)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},ka(s);a==="in-out"&&l.type!==Xe?f.delayLeave=(d,p,m)=>{const y=ap(r,c);y[String(c.key)]=c,d[Wn]=()=>{p(),d[Wn]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function op(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xe){t=n;break}}return t}const Sv=wv;function ap(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Cl(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:E,onAppear:v,onAfterAppear:w,onAppearCancelled:g}=t,S=String(e.key),_=ap(n,e),P=(A,k)=>{A&&Yt(A,r,9,k)},M=(A,k)=>{const B=k[1];P(A,k),de(A)?A.every(z=>z.length<=1)&&B():A.length<=1&&B()},R={mode:o,persisted:a,beforeEnter(A){let k=l;if(!n.isMounted)if(s)k=E||l;else return;A[Wn]&&A[Wn](!0);const B=_[S];B&&Ut(e,B)&&B.el[Wn]&&B.el[Wn](),P(k,[A])},enter(A){let k=u,B=c,z=f;if(!n.isMounted)if(s)k=v||u,B=w||c,z=g||f;else return;let G=!1;const ue=A[Ks]=pe=>{G||(G=!0,pe?P(z,[A]):P(B,[A]),R.delayedLeave&&R.delayedLeave(),A[Ks]=void 0)};k?M(k,[A,ue]):ue()},leave(A,k){const B=String(e.key);if(A[Ks]&&A[Ks](!0),n.isUnmounting)return k();P(d,[A]);let z=!1;const G=A[Wn]=ue=>{z||(z=!0,k(),ue?P(y,[A]):P(m,[A]),A[Wn]=void 0,_[B]===e&&delete _[B])};_[B]=e,p?M(p,[A,G]):G()},clone(A){const k=Cl(A,t,n,r,i);return i&&i(k),k}};return R}function ka(e){if(Ns(e))return e=Rt(e),e.children=null,e}function Fu(e){if(!Ns(e))return tp(e.type)&&e.children?op(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ye(n.default))return n.default()}}function Ci(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ci(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lp(e,t=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;svs(m,t&&(de(t)?t[y]:t),n,r,i));return}if(or(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&vs(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?oa(r.component):r.el,o=i?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=Ce(f),p=f===Le?()=>!1:m=>Ae(d,m);if(u!=null&&u!==l&&(We(u)?(c[u]=null,p(u)&&(f[u]=null)):Qe(u)&&(u.value=null)),ye(l))Fs(l,a,12,[o,c]);else{const m=We(l),y=Qe(l);if(m||y){const E=()=>{if(e.f){const v=m?p(l)?f[l]:c[l]:l.value;i?de(v)&&Oc(v,s):de(v)?v.includes(s)||v.push(s):m?(c[l]=[s],p(l)&&(f[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else m?(c[l]=o,p(l)&&(f[l]=o)):y&&(l.value=o,e.k&&(c[e.k]=o))};o?(E.id=-1,Je(E,n)):E()}}}let Nu=!1;const Kr=()=>{Nu||(console.error("Hydration completed but contains mismatches."),Nu=!0)},Ev=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",_v=e=>e.namespaceURI.includes("MathML"),Xs=e=>{if(e.nodeType===1){if(Ev(e))return"svg";if(_v(e))return"mathml"}},ni=e=>e.nodeType===8;function Tv(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:l,createComment:u}}=e,c=(g,S)=>{if(!S.hasChildNodes()){n(null,g,S),ko(),S._vnode=g;return}f(S.firstChild,g,null,null,null),ko(),S._vnode=g},f=(g,S,_,P,M,R=!1)=>{R=R||!!S.dynamicChildren;const A=ni(g)&&g.data==="[",k=()=>y(g,S,_,P,M,A),{type:B,ref:z,shapeFlag:G,patchFlag:ue}=S;let pe=g.nodeType;S.el=g,ue===-2&&(R=!1,S.dynamicChildren=null);let $=null;switch(B){case Fr:pe!==3?S.children===""?(l(S.el=i(""),o(g),g),$=g):$=k():(g.data!==S.children&&(Kr(),g.data=S.children),$=s(g));break;case Xe:w(g)?($=s(g),v(S.el=g.content.firstChild,g,_)):pe!==8||A?$=k():$=s(g);break;case ss:if(A&&(g=s(g),pe=g.nodeType),pe===1||pe===3){$=g;const K=!S.children.length;for(let J=0;J{R=R||!!S.dynamicChildren;const{type:A,props:k,patchFlag:B,shapeFlag:z,dirs:G,transition:ue}=S,pe=A==="input"||A==="option";if(pe||B!==-1){G&&sn(S,null,_,"created");let $=!1;if(w(g)){$=Ap(null,ue)&&_&&_.vnode.props&&_.vnode.props.appear;const J=g.content.firstChild;if($){const me=J.getAttribute("class");me&&(J.$cls=me),ue.beforeEnter(J)}v(J,g,_),S.el=g=J}if(z&16&&!(k&&(k.innerHTML||k.textContent))){let J=p(g.firstChild,S,g,_,P,M,R);for(;J;){Js(g,1)||Kr();const me=J;J=J.nextSibling,a(me)}}else if(z&8){let J=S.children;J[0]===` `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(J=J.slice(1)),g.textContent!==J&&(Js(g,0)||Kr(),g.textContent=S.children)}if(k){if(pe||!R||B&48){const J=g.tagName.includes("-");for(const me in k)(pe&&(me.endsWith("value")||me==="indeterminate")||Ms(me)&&!ci(me)||me[0]==="."||J)&&r(g,me,null,k[me],void 0,_)}else if(k.onClick)r(g,"onClick",null,k.onClick,void 0,_);else if(B&4&&Dr(k.style))for(const J in k.style)k.style[J]}let K;(K=k&&k.onVnodeBeforeMount)&&xt(K,_,S),G&&sn(S,null,_,"beforeMount"),((K=k&&k.onVnodeMounted)||G||$)&&Lp(()=>{K&&xt(K,_,S),$&&ue.enter(g),G&&sn(S,null,_,"mounted")},P)}return g.nextSibling},p=(g,S,_,P,M,R,A)=>{A=A||!!S.dynamicChildren;const k=S.children,B=k.length;for(let z=0;z{const{slotScopeIds:A}=S;A&&(M=M?M.concat(A):A);const k=o(g),B=p(s(g),S,k,_,P,M,R);return B&&ni(B)&&B.data==="]"?s(S.anchor=B):(Kr(),l(S.anchor=u("]"),k,B),B)},y=(g,S,_,P,M,R)=>{if(Js(g.parentElement,1)||Kr(),S.el=null,R){const B=E(g);for(;;){const z=s(g);if(z&&z!==B)a(z);else break}}const A=s(g),k=o(g);return a(g),n(null,S,k,A,_,P,Xs(k),M),_&&(_.vnode.el=S.el,sa(_,S.el)),A},E=(g,S="[",_="]")=>{let P=0;for(;g;)if(g=s(g),g&&ni(g)&&(g.data===S&&P++,g.data===_)){if(P===0)return s(g);P--}return g},v=(g,S,_)=>{const P=S.parentNode;P&&P.replaceChild(g,S);let M=_;for(;M;)M.vnode.el===S&&(M.vnode.el=M.subTree.el=g),M=M.parent},w=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,f]}const zu="data-allow-mismatch",xv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Js(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(zu);)e=e.parentElement;const n=e&&e.getAttribute(zu);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(xv[t])}}Zo().requestIdleCallback;Zo().cancelIdleCallback;function Ov(e,t){if(ni(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ni(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const or=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function he(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let m;return u||(m=u=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((E,v)=>{l(y,()=>E(d()),()=>v(y),f+1)});throw y}).then(y=>m!==u&&u?u:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return Zt({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(m,y,E){const v=s?()=>{const g=s(()=>{E()},S=>Ov(m,S));g&&(y.bum||(y.bum=[])).push(g),(y.u||(y.u=[])).push(()=>!0)}:E;c?v():p().then(()=>!y.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const m=Ze;if(zc(m),c)return()=>Aa(c,m);const y=g=>{u=null,Fi(g,m,13,!r)};if(a&&m.suspense||ki)return p().then(g=>()=>Aa(g,m)).catch(g=>(y(g),()=>r?$e(r,{error:g}):null));const E=Ie(!1),v=Ie(),w=Ie(!!i);return i&&setTimeout(()=>{w.value=!1},i),o!=null&&setTimeout(()=>{if(!E.value&&!v.value){const g=new Error(`Async component timed out after ${o}ms.`);y(g),v.value=g}},o),p().then(()=>{E.value=!0,m.parent&&Ns(m.parent.vnode)&&m.parent.update()}).catch(g=>{y(g),v.value=g}),()=>{if(E.value&&c)return Aa(c,m);if(v.value&&r)return $e(r,{error:v.value});if(n&&!w.value)return $e(n)}}})}function Aa(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=$e(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const Ns=e=>e.type.__isKeepAlive,Cv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=mr(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(w,g,S,_,P)=>{const M=w.component;u(w,g,S,0,a),l(M.vnode,w,g,S,M,a,_,w.slotScopeIds,P),Je(()=>{M.isDeactivated=!1,M.a&&ui(M.a);const R=w.props&&w.props.onVnodeMounted;R&&xt(R,M.parent,w)},a)},r.deactivate=w=>{const g=w.component;Mo(g.m),Mo(g.a),u(w,d,null,1,a),Je(()=>{g.da&&ui(g.da);const S=w.props&&w.props.onVnodeUnmounted;S&&xt(S,g.parent,w),g.isDeactivated=!0},a)};function p(w){Ia(w),c(w,n,a,!0)}function m(w){i.forEach((g,S)=>{const _=Fl(g.type);_&&!w(_)&&y(S)})}function y(w){const g=i.get(w);g&&(!o||!Ut(g,o))?p(g):o&&Ia(o),i.delete(w),s.delete(w)}ar(()=>[e.include,e.exclude],([w,g])=>{w&&m(S=>Xi(w,S)),g&&m(S=>!Xi(g,S))},{flush:"post",deep:!0});let E=null;const v=()=>{E!=null&&(Ro(n.subTree.type)?Je(()=>{i.set(E,Zs(n.subTree))},n.subTree.suspense):i.set(E,Zs(n.subTree)))};return Kt(v),na(v),Hr(()=>{i.forEach(w=>{const{subTree:g,suspense:S}=n,_=Zs(g);if(w.type===_.type&&w.key===_.key){Ia(_);const P=_.component.da;P&&Je(P,S);return}p(w)})}),()=>{if(E=null,!t.default)return o=null;const w=t.default(),g=w[0];if(w.length>1)return o=null,w;if(!zr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let S=Zs(g);if(S.type===Xe)return o=null,S;const _=S.type,P=Fl(or(S)?S.type.__asyncResolved||{}:_),{include:M,exclude:R,max:A}=e;if(M&&(!P||!Xi(M,P))||R&&P&&Xi(R,P))return S.shapeFlag&=-257,o=S,g;const k=S.key==null?_:S.key,B=i.get(k);return S.el&&(S=Rt(S),g.shapeFlag&128&&(g.ssContent=S)),E=k,B?(S.el=B.el,S.component=B.component,S.transition&&Ci(S,S.transition),S.shapeFlag|=512,s.delete(k),s.add(k)):(s.add(k),A&&s.size>parseInt(A,10)&&y(s.values().next().value)),S.shapeFlag|=256,o=S,Ro(g.type)?g:S}}},Pv=Cv;function Xi(e,t){return de(e)?e.some(n=>Xi(n,t)):We(e)?e.split(",").includes(t):Cy(e)?(e.lastIndex=0,e.test(t)):!1}function cp(e,t){fp(e,"a",t)}function up(e,t){fp(e,"da",t)}function fp(e,t,n=Ze){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ta(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ns(i.parent.vnode)&&kv(r,t,n,i),i=i.parent}}function kv(e,t,n,r){const i=ta(t,e,r,!0);jc(()=>{Oc(r[t],i)},n)}function Ia(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zs(e){return e.shapeFlag&128?e.ssContent:e}function ta(e,t,n=Ze,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{An();const a=jr(n),l=Yt(t,n,e,o);return a(),In(),l});return r?i.unshift(s):i.push(s),s}}const Nn=e=>(t,n=Ze)=>{(!ki||e==="sp")&&ta(e,(...r)=>t(...r),n)},Av=Nn("bm"),Kt=Nn("m"),dp=Nn("bu"),na=Nn("u"),Hr=Nn("bum"),jc=Nn("um"),Iv=Nn("sp"),Mv=Nn("rtg"),Rv=Nn("rtc");function hp(e,t=Ze){ta("ec",e,t)}const pp="components";function Zk(e,t){return gp(pp,e,!0,t)||e}const mp=Symbol.for("v-ndc");function Dv(e){return We(e)?gp(pp,e,!1)||e:e||mp}function gp(e,t,n=!0,r=!1){const i=et||Ze;if(i){const s=i.type;{const a=Fl(s,!1);if(a&&(a===t||a===Vt(t)||a===Jo(Vt(t))))return s}const o=ju(i[e]||s[e],t)||ju(i.appContext[e],t);return!o&&r?s:o}}function ju(e,t){return e&&(e[t]||e[Vt(t)]||e[Jo(Vt(t))])}function eA(e,t,n,r){let i;const s=n,o=de(e);if(o||We(e)){const a=o&&Dr(e);let l=!1,u=!1;a&&(l=!zt(e),u=Mn(e),e=ea(e)),i=new Array(e.length);for(let c=0,f=e.length;ct(a,l,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,u=a.length;l{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return e}function nA(e,t,n={},r,i){if(et.ce||et.parent&&or(et.parent)&&et.parent.ce)return t!=="default"&&(n.name=t),It(),Cn(ht,null,[$e("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),It();const o=s&&yp(s(n)),a=n.key||o&&o.key,l=Cn(ht,{key:(a&&!Ln(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function yp(e){return e.some(t=>zr(t)?!(t.type===Xe||t.type===ht&&!yp(t.children)):!0)?e:null}const Pl=e=>e?$p(e)?oa(e):Pl(e.parent):null,is=rt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Pl(e.parent),$root:e=>Pl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bp(e),$forceUpdate:e=>e.f||(e.f=()=>{Fc(e.update)}),$nextTick:e=>e.n||(e.n=cr.bind(e.proxy)),$watch:e=>tb.bind(e)}),Ma=(e,t)=>e!==Le&&!e.__isScriptSetup&&Ae(e,t),Lv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ma(r,t))return o[t]=1,r[t];if(i!==Le&&Ae(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&Ae(u,t))return o[t]=3,s[t];if(n!==Le&&Ae(n,t))return o[t]=4,n[t];kl&&(o[t]=0)}}const c=is[t];let f,d;if(c)return t==="$attrs"&&dt(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Le&&Ae(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,Ae(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Ma(i,t)?(i[t]=n,!0):r!==Le&&Ae(r,t)?(r[t]=n,!0):Ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==Le&&Ae(e,o)||Ma(t,o)||(a=s[0])&&Ae(a,o)||Ae(r,o)||Ae(is,o)||Ae(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vu(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function rA(e){const t=mr();let n=e();return Dl(),Ko(n)&&(n=n.catch(r=>{throw jr(t),r})),[n,()=>jr(t)]}let kl=!0;function Fv(e){const t=bp(e),n=e.proxy,r=e.ctx;kl=!1,t.beforeCreate&&Bu(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:m,activated:y,deactivated:E,beforeDestroy:v,beforeUnmount:w,destroyed:g,unmounted:S,render:_,renderTracked:P,renderTriggered:M,errorCaptured:R,serverPrefetch:A,expose:k,inheritAttrs:B,components:z,directives:G,filters:ue}=t;if(u&&Nv(u,r,null),o)for(const K in o){const J=o[K];ye(J)&&(r[K]=J.bind(n))}if(i){const K=i.call(n,n);Be(K)&&(e.data=Fn(K))}if(kl=!0,s)for(const K in s){const J=s[K],me=ye(J)?J.bind(n,n):ye(J.get)?J.get.bind(n,n):un,at=!ye(J)&&ye(J.set)?J.set.bind(n):un,it=pt({get:me,set:at});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>it.value,set:qe=>it.value=qe})}if(a)for(const K in a)vp(a[K],r,n,K);if(l){const K=ye(l)?l.call(n):l;Reflect.ownKeys(K).forEach(J=>{jt(J,K[J])})}c&&Bu(c,e,"c");function $(K,J){de(J)?J.forEach(me=>K(me.bind(n))):J&&K(J.bind(n))}if($(Av,f),$(Kt,d),$(dp,p),$(na,m),$(cp,y),$(up,E),$(hp,R),$(Rv,P),$(Mv,M),$(Hr,w),$(jc,S),$(Iv,A),de(k))if(k.length){const K=e.exposed||(e.exposed={});k.forEach(J=>{Object.defineProperty(K,J,{get:()=>n[J],set:me=>n[J]=me})})}else e.exposed||(e.exposed={});_&&e.render===un&&(e.render=_),B!=null&&(e.inheritAttrs=B),z&&(e.components=z),G&&(e.directives=G),A&&zc(e)}function Nv(e,t,n=un){de(e)&&(e=Al(e));for(const r in e){const i=e[r];let s;Be(i)?"default"in i?s=tt(i.from||r,i.default,!0):s=tt(i.from||r):s=tt(i),Qe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function Bu(e,t,n){Yt(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vp(e,t,n,r){let i=r.includes(".")?Mp(n,r):()=>n[r];if(We(e)){const s=t[e];ye(s)&&ar(i,s)}else if(ye(e))ar(i,e.bind(n));else if(Be(e))if(de(e))e.forEach(s=>vp(s,t,n,r));else{const s=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(s)&&ar(i,s,e)}}function bp(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Io(l,u,o,!0)),Io(l,t,o)),Be(t)&&s.set(t,l),l}function Io(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Io(e,s,n,!0),i&&i.forEach(o=>Io(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=zv[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const zv={data:qu,props:Hu,emits:Hu,methods:Ji,computed:Ji,beforeCreate:bt,created:bt,beforeMount:bt,mounted:bt,beforeUpdate:bt,updated:bt,beforeDestroy:bt,beforeUnmount:bt,destroyed:bt,unmounted:bt,activated:bt,deactivated:bt,errorCaptured:bt,serverPrefetch:bt,components:Ji,directives:Ji,watch:Vv,provide:qu,inject:jv};function qu(e,t){return t?e?function(){return rt(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function jv(e,t){return Ji(Al(e),Al(t))}function Al(e){if(de(e)){const t={};for(let n=0;n1)return n&&ye(t)?t.call(r&&r.proxy):t}}function ra(){return!!(Ze||et||Lr)}const Sp={},Ep=()=>Object.create(Sp),_p=e=>Object.getPrototypeOf(e)===Sp;function Hv(e,t,n,r=!1){const i={},s=Ep();e.propsDefaults=Object.create(null),Tp(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:cn(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function $v(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=Ce(i),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=xp(f,t,!0);rt(o,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Be(e)&&r.set(e,ai),ai;if(de(s))for(let c=0;ce[0]==="_"||e==="$stable",Bc=e=>de(e)?e.map(Mt):[Mt(e)],Qv=(e,t,n)=>{if(t._n)return t;const r=Nc((...i)=>Bc(t(...i)),n);return r._c=!1,r},Op=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Vc(i))continue;const s=e[i];if(ye(s))t[i]=Qv(i,s,r);else if(s!=null){const o=Bc(s);t[i]=()=>o}}},Cp=(e,t)=>{const n=Bc(t);e.slots.default=()=>n},Pp=(e,t,n)=>{for(const r in t)(n||!Vc(r))&&(e[r]=t[r])},Uv=(e,t,n)=>{const r=e.slots=Ep();if(e.vnode.shapeFlag&32){const i=t._;i?(Pp(r,t,n),n&&Oh(r,"_",i,!0)):Op(t,r)}else t&&Cp(e,t)},Gv=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Pp(i,t,n):(s=!t.$stable,Op(t,i)),o=t}else t&&(Cp(e,t),o={default:1});if(s)for(const a in i)!Vc(a)&&o[a]==null&&delete i[a]},Je=Lp;function Yv(e){return kp(e)}function Kv(e){return kp(e,Tv)}function kp(e,t){const n=Zo();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=un,insertStaticContent:m}=e,y=(O,C,F,Q=null,q=null,U=null,ne=void 0,Z=null,X=!!C.dynamicChildren)=>{if(O===C)return;O&&!Ut(O,C)&&(Q=W(O),qe(O,q,U,!0),O=null),C.patchFlag===-2&&(X=!1,C.dynamicChildren=null);const{type:Y,ref:h,shapeFlag:b}=C;switch(Y){case Fr:E(O,C,F,Q);break;case Xe:v(O,C,F,Q);break;case ss:O==null&&w(C,F,Q,ne);break;case ht:z(O,C,F,Q,q,U,ne,Z,X);break;default:b&1?_(O,C,F,Q,q,U,ne,Z,X):b&6?G(O,C,F,Q,q,U,ne,Z,X):(b&64||b&128)&&Y.process(O,C,F,Q,q,U,ne,Z,X,oe)}h!=null&&q&&vs(h,O&&O.ref,U,C||O,!C)},E=(O,C,F,Q)=>{if(O==null)r(C.el=a(C.children),F,Q);else{const q=C.el=O.el;C.children!==O.children&&u(q,C.children)}},v=(O,C,F,Q)=>{O==null?r(C.el=l(C.children||""),F,Q):C.el=O.el},w=(O,C,F,Q)=>{[O.el,O.anchor]=m(O.children,C,F,Q,O.el,O.anchor)},g=({el:O,anchor:C},F,Q)=>{let q;for(;O&&O!==C;)q=d(O),r(O,F,Q),O=q;r(C,F,Q)},S=({el:O,anchor:C})=>{let F;for(;O&&O!==C;)F=d(O),i(O),O=F;i(C)},_=(O,C,F,Q,q,U,ne,Z,X)=>{C.type==="svg"?ne="svg":C.type==="math"&&(ne="mathml"),O==null?P(C,F,Q,q,U,ne,Z,X):A(O,C,q,U,ne,Z,X)},P=(O,C,F,Q,q,U,ne,Z)=>{let X,Y;const{props:h,shapeFlag:b,transition:T,dirs:x}=O;if(X=O.el=o(O.type,U,h&&h.is,h),b&8?c(X,O.children):b&16&&R(O.children,X,null,Q,q,Ra(O,U),ne,Z),x&&sn(O,null,Q,"created"),M(X,O,O.scopeId,ne,Q),h){for(const N in h)N!=="value"&&!ci(N)&&s(X,N,null,h[N],U,Q);"value"in h&&s(X,"value",null,h.value,U),(Y=h.onVnodeBeforeMount)&&xt(Y,Q,O)}x&&sn(O,null,Q,"beforeMount");const I=Ap(q,T);I&&T.beforeEnter(X),r(X,C,F),((Y=h&&h.onVnodeMounted)||I||x)&&Je(()=>{Y&&xt(Y,Q,O),I&&T.enter(X),x&&sn(O,null,Q,"mounted")},q)},M=(O,C,F,Q,q)=>{if(F&&p(O,F),Q)for(let U=0;U{for(let Y=X;Y{const Z=C.el=O.el;let{patchFlag:X,dynamicChildren:Y,dirs:h}=C;X|=O.patchFlag&16;const b=O.props||Le,T=C.props||Le;let x;if(F&&yr(F,!1),(x=T.onVnodeBeforeUpdate)&&xt(x,F,C,O),h&&sn(C,O,F,"beforeUpdate"),F&&yr(F,!0),(b.innerHTML&&T.innerHTML==null||b.textContent&&T.textContent==null)&&c(Z,""),Y?k(O.dynamicChildren,Y,Z,F,Q,Ra(C,q),U):ne||J(O,C,Z,null,F,Q,Ra(C,q),U,!1),X>0){if(X&16)B(Z,b,T,F,q);else if(X&2&&b.class!==T.class&&s(Z,"class",null,T.class,q),X&4&&s(Z,"style",b.style,T.style,q),X&8){const I=C.dynamicProps;for(let N=0;N{x&&xt(x,F,C,O),h&&sn(C,O,F,"updated")},Q)},k=(O,C,F,Q,q,U,ne)=>{for(let Z=0;Z{if(C!==F){if(C!==Le)for(const U in C)!ci(U)&&!(U in F)&&s(O,U,C[U],null,q,Q);for(const U in F){if(ci(U))continue;const ne=F[U],Z=C[U];ne!==Z&&U!=="value"&&s(O,U,Z,ne,q,Q)}"value"in F&&s(O,"value",C.value,F.value,q)}},z=(O,C,F,Q,q,U,ne,Z,X)=>{const Y=C.el=O?O.el:a(""),h=C.anchor=O?O.anchor:a("");let{patchFlag:b,dynamicChildren:T,slotScopeIds:x}=C;x&&(Z=Z?Z.concat(x):x),O==null?(r(Y,F,Q),r(h,F,Q),R(C.children||[],F,h,q,U,ne,Z,X)):b>0&&b&64&&T&&O.dynamicChildren?(k(O.dynamicChildren,T,F,q,U,ne,Z),(C.key!=null||q&&C===q.subTree)&&qc(O,C,!0)):J(O,C,F,h,q,U,ne,Z,X)},G=(O,C,F,Q,q,U,ne,Z,X)=>{C.slotScopeIds=Z,O==null?C.shapeFlag&512?q.ctx.activate(C,F,Q,ne,X):ue(C,F,Q,q,U,ne,X):pe(O,C,X)},ue=(O,C,F,Q,q,U,ne)=>{const Z=O.component=vb(O,Q,q);if(Ns(O)&&(Z.ctx.renderer=oe),bb(Z,!1,ne),Z.asyncDep){if(q&&q.registerDep(Z,$,ne),!O.el){const X=Z.subTree=$e(Xe);v(null,X,C,F)}}else $(Z,O,C,F,q,U,ne)},pe=(O,C,F)=>{const Q=C.component=O.component;if(ab(O,C,F))if(Q.asyncDep&&!Q.asyncResolved){K(Q,C,F);return}else Q.next=C,Q.update();else C.el=O.el,Q.vnode=C},$=(O,C,F,Q,q,U,ne)=>{const Z=()=>{if(O.isMounted){let{next:b,bu:T,u:x,parent:I,vnode:N}=O;{const se=Ip(O);if(se){b&&(b.el=N.el,K(O,b,ne)),se.asyncDep.then(()=>{O.isUnmounted||Z()});return}}let L=b,V;yr(O,!1),b?(b.el=N.el,K(O,b,ne)):b=N,T&&ui(T),(V=b.props&&b.props.onVnodeBeforeUpdate)&&xt(V,I,b,N),yr(O,!0);const ee=Da(O),te=O.subTree;O.subTree=ee,y(te,ee,f(te.el),W(te),O,q,U),b.el=ee.el,L===null&&sa(O,ee.el),x&&Je(x,q),(V=b.props&&b.props.onVnodeUpdated)&&Je(()=>xt(V,I,b,N),q)}else{let b;const{el:T,props:x}=C,{bm:I,m:N,parent:L,root:V,type:ee}=O,te=or(C);if(yr(O,!1),I&&ui(I),!te&&(b=x&&x.onVnodeBeforeMount)&&xt(b,L,C),yr(O,!0),T&&Fe){const se=()=>{O.subTree=Da(O),Fe(T,O.subTree,O,q,null)};te&&ee.__asyncHydrate?ee.__asyncHydrate(T,O,se):se()}else{V.ce&&V.ce._injectChildStyle(ee);const se=O.subTree=Da(O);y(null,se,F,Q,O,q,U),C.el=se.el}if(N&&Je(N,q),!te&&(b=x&&x.onVnodeMounted)){const se=C;Je(()=>xt(b,L,se),q)}(C.shapeFlag&256||L&&or(L.vnode)&&L.vnode.shapeFlag&256)&&O.a&&Je(O.a,q),O.isMounted=!0,C=F=Q=null}};O.scope.on();const X=O.effect=new Mh(Z);O.scope.off();const Y=O.update=X.run.bind(X),h=O.job=X.runIfDirty.bind(X);h.i=O,h.id=O.uid,X.scheduler=()=>Fc(h),yr(O,!0),Y()},K=(O,C,F)=>{C.component=O;const Q=O.vnode.props;O.vnode=C,O.next=null,$v(O,C.props,Q,F),Gv(O,C.children,F),An(),Mu(O),In()},J=(O,C,F,Q,q,U,ne,Z,X=!1)=>{const Y=O&&O.children,h=O?O.shapeFlag:0,b=C.children,{patchFlag:T,shapeFlag:x}=C;if(T>0){if(T&128){at(Y,b,F,Q,q,U,ne,Z,X);return}else if(T&256){me(Y,b,F,Q,q,U,ne,Z,X);return}}x&8?(h&16&&yt(Y,q,U),b!==Y&&c(F,b)):h&16?x&16?at(Y,b,F,Q,q,U,ne,Z,X):yt(Y,q,U,!0):(h&8&&c(F,""),x&16&&R(b,F,Q,q,U,ne,Z,X))},me=(O,C,F,Q,q,U,ne,Z,X)=>{O=O||ai,C=C||ai;const Y=O.length,h=C.length,b=Math.min(Y,h);let T;for(T=0;Th?yt(O,q,U,!0,!1,b):R(C,F,Q,q,U,ne,Z,X,b)},at=(O,C,F,Q,q,U,ne,Z,X)=>{let Y=0;const h=C.length;let b=O.length-1,T=h-1;for(;Y<=b&&Y<=T;){const x=O[Y],I=C[Y]=X?Qn(C[Y]):Mt(C[Y]);if(Ut(x,I))y(x,I,F,null,q,U,ne,Z,X);else break;Y++}for(;Y<=b&&Y<=T;){const x=O[b],I=C[T]=X?Qn(C[T]):Mt(C[T]);if(Ut(x,I))y(x,I,F,null,q,U,ne,Z,X);else break;b--,T--}if(Y>b){if(Y<=T){const x=T+1,I=xT)for(;Y<=b;)qe(O[Y],q,U,!0),Y++;else{const x=Y,I=Y,N=new Map;for(Y=I;Y<=T;Y++){const ge=C[Y]=X?Qn(C[Y]):Mt(C[Y]);ge.key!=null&&N.set(ge.key,Y)}let L,V=0;const ee=T-I+1;let te=!1,se=0;const fe=new Array(ee);for(Y=0;Y=ee){qe(ge,q,U,!0);continue}let ve;if(ge.key!=null)ve=N.get(ge.key);else for(L=I;L<=T;L++)if(fe[L-I]===0&&Ut(ge,C[L])){ve=L;break}ve===void 0?qe(ge,q,U,!0):(fe[ve-I]=Y+1,ve>=se?se=ve:te=!0,y(ge,C[ve],F,null,q,U,ne,Z,X),V++)}const Se=te?Xv(fe):ai;for(L=Se.length-1,Y=ee-1;Y>=0;Y--){const ge=I+Y,ve=C[ge],He=ge+1{const{el:U,type:ne,transition:Z,children:X,shapeFlag:Y}=O;if(Y&6){it(O.component.subTree,C,F,Q);return}if(Y&128){O.suspense.move(C,F,Q);return}if(Y&64){ne.move(O,C,F,oe);return}if(ne===ht){r(U,C,F);for(let b=0;bZ.enter(U),q);else{const{leave:b,delayLeave:T,afterLeave:x}=Z,I=()=>{O.ctx.isUnmounted?i(U):r(U,C,F)},N=()=>{b(U,()=>{I(),x&&x()})};T?T(U,I,N):N()}else r(U,C,F)},qe=(O,C,F,Q=!1,q=!1)=>{const{type:U,props:ne,ref:Z,children:X,dynamicChildren:Y,shapeFlag:h,patchFlag:b,dirs:T,cacheIndex:x}=O;if(b===-2&&(q=!1),Z!=null&&(An(),vs(Z,null,F,O,!0),In()),x!=null&&(C.renderCache[x]=void 0),h&256){C.ctx.deactivate(O);return}const I=h&1&&T,N=!or(O);let L;if(N&&(L=ne&&ne.onVnodeBeforeUnmount)&&xt(L,C,O),h&6)Ur(O.component,F,Q);else{if(h&128){O.suspense.unmount(F,Q);return}I&&sn(O,null,C,"beforeUnmount"),h&64?O.type.remove(O,C,F,oe,Q):Y&&!Y.hasOnce&&(U!==ht||b>0&&b&64)?yt(Y,C,F,!1,!0):(U===ht&&b&384||!q&&h&16)&&yt(X,C,F),Q&&Pt(O)}(N&&(L=ne&&ne.onVnodeUnmounted)||I)&&Je(()=>{L&&xt(L,C,O),I&&sn(O,null,C,"unmounted")},F)},Pt=O=>{const{type:C,el:F,anchor:Q,transition:q}=O;if(C===ht){Bt(F,Q);return}if(C===ss){S(O);return}const U=()=>{i(F),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(O.shapeFlag&1&&q&&!q.persisted){const{leave:ne,delayLeave:Z}=q,X=()=>ne(F,U);Z?Z(O.el,U,X):X()}else U()},Bt=(O,C)=>{let F;for(;O!==C;)F=d(O),i(O),O=F;i(C)},Ur=(O,C,F)=>{const{bum:Q,scope:q,job:U,subTree:ne,um:Z,m:X,a:Y,parent:h,slots:{__:b}}=O;Mo(X),Mo(Y),Q&&ui(Q),h&&de(b)&&b.forEach(T=>{h.renderCache[T]=void 0}),q.stop(),U&&(U.flags|=8,qe(ne,O,C,F)),Z&&Je(Z,C),Je(()=>{O.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},yt=(O,C,F,Q=!1,q=!1,U=0)=>{for(let ne=U;ne{if(O.shapeFlag&6)return W(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const C=d(O.anchor||O.el),F=C&&C[ep];return F?d(F):C};let ie=!1;const re=(O,C,F)=>{O==null?C._vnode&&qe(C._vnode,null,null,!0):y(C._vnode||null,O,C,null,null,null,F),C._vnode=O,ie||(ie=!0,Mu(),ko(),ie=!1)},oe={p:y,um:qe,m:it,r:Pt,mt:ue,mc:R,pc:J,pbc:k,n:W,o:e};let Te,Fe;return t&&([Te,Fe]=t(oe)),{render:re,hydrate:Te,createApp:qv(re,Te)}}function Ra({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ap(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qc(e,t,n=!1){const r=e.children,i=t.children;if(de(r)&&de(i))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Ip(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ip(t)}function Mo(e){if(e)for(let t=0;ttt(Jv);function eb(e,t){return Hc(e,null,t)}function ar(e,t,n){return Hc(e,t,n)}function Hc(e,t,n=Le){const{immediate:r,deep:i,flush:s,once:o}=n,a=rt({},n),l=t&&r||!t&&s!=="post";let u;if(ki){if(s==="sync"){const p=Zv();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=un,p.resume=un,p.pause=un,p}}const c=Ze;a.call=(p,m,y)=>Yt(p,c,m,y);let f=!1;s==="post"?a.scheduler=p=>{Je(p,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,m)=>{m?p():Fc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=mv(e,t,a);return ki&&(u?u.push(d):l&&d()),d}function tb(e,t,n){const r=this.proxy,i=We(e)?e.includes(".")?Mp(r,e):()=>r[e]:e.bind(r,r);let s;ye(t)?s=t:(s=t.handler,n=t);const o=jr(this),a=Hc(i,s.bind(r),n);return o(),a}function Mp(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;it==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vt(t)}Modifiers`]||e[`${pr(t)}Modifiers`];function rb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let i=n;const s=t.startsWith("update:"),o=s&&nb(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>We(c)?c.trim():c)),o.number&&(i=n.map(Sl)));let a,l=r[a=Ta(t)]||r[a=Ta(Vt(t))];!l&&s&&(l=r[a=Ta(pr(t))]),l&&Yt(l,e,6,i);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Yt(u,e,6,i)}}function Rp(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!ye(e)){const l=u=>{const c=Rp(u,t,!0);c&&(a=!0,rt(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Be(e)&&r.set(e,null),null):(de(s)?s.forEach(l=>o[l]=null):rt(o,s),Be(e)&&r.set(e,o),o)}function ia(e,t){return!e||!Ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,pr(t))||Ae(e,t))}function Da(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:m,inheritAttrs:y}=e,E=Ao(e);let v,w;try{if(n.shapeFlag&4){const S=i||r,_=S;v=Mt(u.call(_,S,c,f,p,d,m)),w=a}else{const S=t;v=Mt(S.length>1?S(f,{attrs:a,slots:o,emit:l}):S(f,null)),w=t.props?a:sb(a)}}catch(S){os.length=0,Fi(S,e,1),v=$e(Xe)}let g=v;if(w&&y!==!1){const S=Object.keys(w),{shapeFlag:_}=g;S.length&&_&7&&(s&&S.some(xc)&&(w=ob(w,s)),g=Rt(g,w,!1,!0))}return n.dirs&&(g=Rt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Ci(g,n.transition),v=g,Ao(E),v}function ib(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Ms(n))&&((t||(t={}))[n]=e[n]);return t},ob=(e,t)=>{const n={};for(const r in e)(!xc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ab(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Wu(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let Ml=0;const lb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,l,u){if(e==null)cb(t,n,r,i,s,o,a,l,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ub(e,t,n,r,i,o,a,l,u)}},hydrate:fb,normalize:db},$c=lb;function bs(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function cb(e,t,n,r,i,s,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=Dp(e,i,r,t,f,n,s,o,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,s,o),d.deps>0?(bs(e,"onPending"),bs(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,o),di(d,e.ssFallback)):d.resolve(!1,!0)}function ub(e,t,n,r,i,s,o,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:E,isHydrating:v}=f;if(y)f.pendingBranch=d,Ut(d,y)?(l(y,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():E&&(v||(l(m,p,n,r,i,null,s,o,a),di(f,p)))):(f.pendingId=Ml++,v?(f.isHydrating=!1,f.activeBranch=y):u(y,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),E?(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(l(m,p,n,r,i,null,s,o,a),di(f,p))):m&&Ut(d,m)?(l(m,d,n,r,i,f,s,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(m&&Ut(d,m))l(m,d,n,r,i,f,s,o,a),di(f,d);else if(bs(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ml++,l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:g}=f;w>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},w):w===0&&f.fallback(p)}}function Dp(e,t,n,r,i,s,o,a,l,u,c=!1){const{p:f,m:d,um:p,n:m,o:{parentNode:y,remove:E}}=u;let v;const w=hb(e);w&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Ch(e.props.timeout):void 0,S=s,_={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Ml++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(P=!1,M=!1){const{vnode:R,activeBranch:A,pendingBranch:k,pendingId:B,effects:z,parentComponent:G,container:ue}=_;let pe=!1;_.isHydrating?_.isHydrating=!1:P||(pe=A&&k.transition&&k.transition.mode==="out-in",pe&&(A.transition.afterLeave=()=>{B===_.pendingId&&(d(k,ue,s===S?m(A):s,0),xl(z))}),A&&(y(A.el)===ue&&(s=m(A)),p(A,G,_,!0)),pe||d(k,ue,s,0)),di(_,k),_.pendingBranch=null,_.isInFallback=!1;let $=_.parent,K=!1;for(;$;){if($.pendingBranch){$.effects.push(...z),K=!0;break}$=$.parent}!K&&!pe&&xl(z),_.effects=[],w&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),bs(R,"onResolve")},fallback(P){if(!_.pendingBranch)return;const{vnode:M,activeBranch:R,parentComponent:A,container:k,namespace:B}=_;bs(M,"onFallback");const z=m(R),G=()=>{_.isInFallback&&(f(null,P,k,z,A,null,B,a,l),di(_,P))},ue=P.transition&&P.transition.mode==="out-in";ue&&(R.transition.afterLeave=G),_.isInFallback=!0,p(R,A,null,!0),ue||G()},move(P,M,R){_.activeBranch&&d(_.activeBranch,P,M,R),_.container=P},next(){return _.activeBranch&&m(_.activeBranch)},registerDep(P,M,R){const A=!!_.pendingBranch;A&&_.deps++;const k=P.vnode.el;P.asyncDep.catch(B=>{Fi(B,P,0)}).then(B=>{if(P.isUnmounted||_.isUnmounted||_.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:z}=P;Ll(P,B),k&&(z.el=k);const G=!k&&P.subTree.el;M(P,z,y(k||P.subTree.el),k?null:m(P.subTree),_,o,R),G&&E(G),sa(P,z.el),A&&--_.deps===0&&_.resolve()})},unmount(P,M){_.isUnmounted=!0,_.activeBranch&&p(_.activeBranch,n,P,M),_.pendingBranch&&p(_.pendingBranch,n,P,M)}};return _}function fb(e,t,n,r,i,s,o,a,l){const u=t.suspense=Dp(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,s,o);return u.deps===0&&u.resolve(!1,!0),c}function db(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Qu(r?n.default:n),e.ssFallback=r?Qu(n.fallback):$e(Xe)}function Qu(e){let t;if(ye(e)){const n=Pi&&e._c;n&&(e._d=!1,It()),e=e(),n&&(e._d=!0,t=Ot,Fp())}return de(e)&&(e=ib(e)),e=Mt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Lp(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):xl(e)}function di(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,sa(r,i))}function hb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ht=Symbol.for("v-fgt"),Fr=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),ss=Symbol.for("v-stc"),os=[];let Ot=null;function It(e=!1){os.push(Ot=e?null:[])}function Fp(){os.pop(),Ot=os[os.length-1]||null}let Pi=1;function Uu(e,t=!1){Pi+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Np(e){return e.dynamicChildren=Pi>0?Ot||ai:null,Fp(),Pi>0&&Ot&&Ot.push(e),e}function Do(e,t,n,r,i,s){return Np(jp(e,t,n,r,i,s,!0))}function Cn(e,t,n,r,i){return Np($e(e,t,n,r,i,!0))}function zr(e){return e?e.__v_isVNode===!0:!1}function Ut(e,t){return e.type===t.type&&e.key===t.key}const zp=({key:e})=>e??null,fo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||Qe(e)||ye(e)?{i:et,r:e,k:t,f:!!n}:e:null);function jp(e,t=null,n=null,r=0,i=null,s=e===ht?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zp(t),ref:t&&fo(t),scopeId:Zh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:et};return a?(Wc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),Pi>0&&!o&&Ot&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ot.push(l),l}const $e=pb;function pb(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===mp)&&(e=Xe),zr(e)){const a=Rt(e,t,!0);return n&&Wc(a,n),Pi>0&&!s&&Ot&&(a.shapeFlag&6?Ot[Ot.indexOf(e)]=a:Ot.push(a)),a.patchFlag=-2,a}if(_b(e)&&(e=e.__vccOpts),t){t=Vp(t);let{class:a,style:l}=t;a&&!We(a)&&(t.class=Ls(a)),Be(l)&&(Lc(l)&&!de(l)&&(l=rt({},l)),t.style=Ds(l))}const o=We(e)?1:Ro(e)?128:tp(e)?64:Be(e)?4:ye(e)?2:0;return jp(e,t,n,r,i,o,s,!0)}function Vp(e){return e?Lc(e)||_p(e)?rt({},e):e:null}function Rt(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=e,u=t?Hp(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&zp(u),ref:t&&t.ref?n&&s?de(s)?s.concat(fo(t)):[s,fo(t)]:fo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ht?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ci(c,l.clone(c)),c}function Bp(e=" ",t=0){return $e(Fr,null,e,t)}function qp(e,t){const n=$e(ss,null,e);return n.staticCount=t,n}function mb(e="",t=!1){return t?(It(),Cn(Xe,null,e)):$e(Xe,null,e)}function Mt(e){return e==null||typeof e=="boolean"?$e(Xe):de(e)?$e(ht,null,e.slice()):zr(e)?Qn(e):$e(Fr,null,String(e))}function Qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rt(e)}function Wc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Wc(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!_p(t)?t._ctx=et:i===3&&et&&(et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:et},n=32):(t=String(t),r&64?(n=16,t=[Bp(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hp(...e){const t={};for(let n=0;nZe||et;let Lo,Rl;{const e=Zo(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};Lo=t("__VUE_INSTANCE_SETTERS__",n=>Ze=n),Rl=t("__VUE_SSR_SETTERS__",n=>ki=n)}const jr=e=>{const t=Ze;return Lo(e),e.scope.on(),()=>{e.scope.off(),Lo(t)}},Dl=()=>{Ze&&Ze.scope.off(),Lo(null)};function $p(e){return e.vnode.shapeFlag&4}let ki=!1;function bb(e,t=!1,n=!1){t&&Rl(t);const{props:r,children:i}=e.vnode,s=$p(e);Hv(e,r,s,t),Uv(e,i,n||t);const o=s?wb(e,t):void 0;return t&&Rl(!1),o}function wb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lv);const{setup:r}=n;if(r){An();const i=e.setupContext=r.length>1?Eb(e):null,s=jr(e),o=Fs(r,e,0,[e.props,i]),a=Ko(o);if(In(),s(),(a||e.sp)&&!or(e)&&zc(e),a){if(o.then(Dl,Dl),t)return o.then(l=>{Ll(e,l)}).catch(l=>{Fi(l,e,0)});e.asyncDep=o}else Ll(e,o)}else Wp(e)}function Ll(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=Gh(t)),Wp(e)}function Wp(e,t,n){const r=e.type;e.render||(e.render=r.render||un);{const i=jr(e);An();try{Fv(e)}finally{In(),i()}}}const Sb={get(e,t){return dt(e,"get",""),e[t]}};function Eb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sb),slots:e.slots,emit:e.emit,expose:t}}function oa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gh(sv(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in is)return is[n](e)},has(t,n){return n in t||n in is}})):e.proxy}function Fl(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function _b(e){return ye(e)&&"__vccOpts"in e}const pt=(e,t)=>hv(e,t,ki);function xe(e,t,n){const r=arguments.length;return r===2?Be(t)&&!de(t)?zr(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zr(n)&&(n=[n]),$e(e,t,n))}const Tb="3.5.16";/** * @vue/runtime-dom v3.5.16 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Nl;const Gu=typeof window<"u"&&window.trustedTypes;if(Gu)try{Nl=Gu.createPolicy("vue",{createHTML:e=>e})}catch{}const Qp=Nl?e=>Nl.createHTML(e):e=>e,xb="http://www.w3.org/2000/svg",Ob="http://www.w3.org/1998/Math/MathML",_n=typeof document<"u"?document:null,Yu=_n&&_n.createElement("template"),Cb={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 i=t==="svg"?_n.createElementNS(xb,e):t==="mathml"?_n.createElementNS(Ob,e):n?_n.createElement(e,{is:n}):_n.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>_n.createTextNode(e),createComment:e=>_n.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_n.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Yu.innerHTML=Qp(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Yu.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bn="transition",Hi="animation",ws=Symbol("_vtc"),Up={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},Pb=rt({},ip,Up),kb=e=>(e.displayName="Transition",e.props=Pb,e),Ab=kb((e,{slots:t})=>xe(Sv,Ib(e),t)),vr=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ku=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function Ib(e){const t={};for(const z in e)z in Up||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=Mb(i),y=m&&m[0],E=m&&m[1],{onBeforeEnter:v,onEnter:w,onEnterCancelled:g,onLeave:S,onLeaveCancelled:_,onBeforeAppear:P=v,onAppear:M=w,onAppearCancelled:R=g}=t,A=(z,G,ue,pe)=>{z._enterCancelled=pe,br(z,G?c:a),br(z,G?u:o),ue&&ue()},k=(z,G)=>{z._isLeaving=!1,br(z,f),br(z,p),br(z,d),G&&G()},B=z=>(G,ue)=>{const pe=z?M:w,$=()=>A(G,z,ue);vr(pe,[G,$]),Xu(()=>{br(G,z?l:s),vn(G,z?c:a),Ku(pe)||Ju(G,r,y,$)})};return rt(t,{onBeforeEnter(z){vr(v,[z]),vn(z,s),vn(z,o)},onBeforeAppear(z){vr(P,[z]),vn(z,l),vn(z,u)},onEnter:B(!1),onAppear:B(!0),onLeave(z,G){z._isLeaving=!0;const ue=()=>k(z,G);vn(z,f),z._enterCancelled?(vn(z,d),tf()):(tf(),vn(z,d)),Xu(()=>{z._isLeaving&&(br(z,f),vn(z,p),Ku(S)||Ju(z,r,E,ue))}),vr(S,[z,ue])},onEnterCancelled(z){A(z,!1,void 0,!0),vr(g,[z])},onAppearCancelled(z){A(z,!0,void 0,!0),vr(R,[z])},onLeaveCancelled(z){k(z),vr(_,[z])}})}function Mb(e){if(e==null)return null;if(Be(e))return[La(e.enter),La(e.leave)];{const t=La(e);return[t,t]}}function La(e){return Ch(e)}function vn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ws]||(e[ws]=new Set)).add(t)}function br(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ws];n&&(n.delete(t),n.size||(e[ws]=void 0))}function Xu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rb=0;function Ju(e,t,n,r){const i=e._endId=++Rb,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=Db(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[m]||"").split(", "),i=r(`${Bn}Delay`),s=r(`${Bn}Duration`),o=Zu(i,s),a=r(`${Hi}Delay`),l=r(`${Hi}Duration`),u=Zu(a,l);let c=null,f=0,d=0;t===Bn?o>0&&(c=Bn,f=o,d=s.length):t===Hi?u>0&&(c=Hi,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?Bn:Hi:null,d=c?c===Bn?s.length:l.length:0);const p=c===Bn&&/\b(transform|all)(,|$)/.test(r(`${Bn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function Zu(e,t){for(;e.lengthef(n)+ef(e[r])))}function ef(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tf(){return document.body.offsetHeight}function Lb(e,t,n){const r=e[ws];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fo=Symbol("_vod"),Gp=Symbol("_vsh"),iA={beforeMount(e,{value:t},{transition:n}){e[Fo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$i(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),$i(e,!0),r.enter(e)):r.leave(e,()=>{$i(e,!1)}):$i(e,t))},beforeUnmount(e,{value:t}){$i(e,t)}};function $i(e,t){e.style.display=t?e[Fo]:"none",e[Gp]=!t}const Fb=Symbol(""),Nb=/(^|;)\s*display\s*:/;function zb(e,t,n){const r=e.style,i=We(n);let s=!1;if(n&&!i){if(t)if(We(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&ho(r,a,"")}else for(const o in t)n[o]==null&&ho(r,o,"");for(const o in n)o==="display"&&(s=!0),ho(r,o,n[o])}else if(i){if(t!==n){const o=r[Fb];o&&(n+=";"+o),r.cssText=n,s=Nb.test(n)}}else t&&e.removeAttribute("style");Fo in e&&(e[Fo]=s?r.display:"",e[Gp]&&(r.display="none"))}const nf=/\s*!important$/;function ho(e,t,n){if(de(n))n.forEach(r=>ho(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jb(e,t);nf.test(n)?e.setProperty(pr(r),n.replace(nf,""),"important"):e[r]=n}}const rf=["Webkit","Moz","ms"],Fa={};function jb(e,t){const n=Fa[t];if(n)return n;let r=Vt(t);if(r!=="filter"&&r in e)return Fa[t]=r;r=Jo(r);for(let i=0;iNa||(Hb.then(()=>Na=0),Na=Date.now());function Wb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Yt(Qb(r,n.value),t,5,[r])};return n.value=e,n.attached=$b(),n}function Qb(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const uf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ub=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?Lb(e,r,o):t==="style"?zb(e,n,r):Ms(t)?xc(t)||Bb(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gb(e,t,r,o))?(af(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&of(e,t,r,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!We(r))?af(e,Vt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),of(e,t,r,o))};function Gb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&uf(t)&&ye(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return uf(t)&&We(n)?!1:t in e}const ff=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>ui(t,n):t};function Yb(e){e.target.composing=!0}function df(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const za=Symbol("_assign"),sA={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[za]=ff(i);const s=r||i.props&&i.props.type==="number";Jr(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Sl(a)),e[za](a)}),n&&Jr(e,"change",()=>{e.value=e.value.trim()}),t||(Jr(e,"compositionstart",Yb),Jr(e,"compositionend",df),Jr(e,"change",df))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[za]=ff(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Sl(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},Kb=["ctrl","shift","alt","meta"],Xb={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)=>Kb.some(n=>e[`${n}Key`]&&!t.includes(n))},oA=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const s=pr(i.key);if(t.some(o=>o===s||Jb[o]===s))return e(i)})},Yp=rt({patchProp:Ub},Cb);let as,hf=!1;function Zb(){return as||(as=Yv(Yp))}function ew(){return as=hf?as:Kv(Yp),hf=!0,as}const tw=(...e)=>{const t=Zb().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Xp(r);if(!i)return;const s=t._component;!ye(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Kp(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},nw=(...e)=>{const t=ew().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Xp(r);if(i)return n(i,!0,Kp(i))},t};function Kp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xp(e){return We(e)?document.querySelector(e):e}const rw=/"(?:_|\\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*:/,iw=/"(?: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*:/,sw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ow(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){aw(e);return}return t}function aw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function No(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(!sw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(rw.test(e)||iw.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ow)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const lw=/#/g,cw=/&/g,uw=/\//g,fw=/=/g,Qc=/\+/g,dw=/%5e/gi,hw=/%60/gi,pw=/%7c/gi,mw=/%20/gi;function gw(e){return encodeURI(""+e).replace(pw,"|")}function zl(e){return gw(typeof e=="string"?e:JSON.stringify(e)).replace(Qc,"%2B").replace(mw,"+").replace(lw,"%23").replace(cw,"%26").replace(hw,"`").replace(dw,"^").replace(uw,"%2F")}function ja(e){return zl(e).replace(fw,"%3D")}function zo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function yw(e){return zo(e.replace(Qc," "))}function vw(e){return zo(e.replace(Qc," "))}function Jp(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 i=yw(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=vw(r[2]||"");t[i]===void 0?t[i]=s:Array.isArray(t[i])?t[i].push(s):t[i]=[t[i],s]}return t}function bw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ja(e)}=${zl(n)}`).join("&"):`${ja(e)}=${zl(t)}`:ja(e)}function ww(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>bw(t,e[t])).filter(Boolean).join("&")}const Sw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ew=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_w=/^([/\\]\s*){2,}[^/\\]/,Tw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,xw=/\/$|\/\?|\/#/,Ow=/^\.?\//;function $r(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Sw.test(e):Ew.test(e)||(t.acceptRelative?_w.test(e):!1)}function Cw(e){return!!e&&Tw.test(e)}function jl(e="",t){return t?xw.test(e):e.endsWith("/")}function Ss(e="",t){if(!t)return(jl(e)?e.slice(0,-1):e)||"/";if(!jl(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");i!==-1&&(n=e.slice(0,i),r=e.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function Pw(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(jl(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;const[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function kw(e,t){if(Zp(t)||$r(e))return e;const n=Ss(t);return e.startsWith(n)?e:Gc(n,e)}function pf(e,t){if(Zp(t))return e;const n=Ss(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Uc(e,t){const n=nm(e),r={...Jp(n.search),...t};return n.search=ww(r),Mw(n)}function Zp(e){return!e||e==="/"}function Aw(e){return e&&e!=="/"}function Gc(e,...t){let n=e||"";for(const r of t.filter(i=>Aw(i)))if(n){const i=r.replace(Ow,"");n=Pw(n)+i}else n=r;return n}function em(...e){var o,a,l,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let i=0;for(const c of n)if(!(!c||c==="/")){for(const[f,d]of c.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&$r(r[0]))continue;r.pop(),i--;continue}if(f===1&&((o=r[r.length-1])!=null&&o.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),i++}}let s=r.join("/");return i>=0?(a=n[0])!=null&&a.startsWith("/")&&!s.startsWith("/")?s="/"+s:(l=n[0])!=null&&l.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,(u=n[n.length-1])!=null&&u.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Iw(e,t){return zo(Ss(e))===zo(Ss(t))}const tm=Symbol.for("ufo:protocolRelative");function nm(e="",t){const n=e.match(/^[\s\0]*(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(!$r(e,{acceptRelative:!0}))return mf(e);const[,r="",i,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=mf(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:u,hash:c,[tm]:!r}}function mf(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Mw(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",i=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[tm]?(e.protocol||"")+"//":"")+i+s+t+n+r}class Rw extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Dw(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",o=`${i}: ${s}${t?` ${t}`:""}`,a=new Rw(o,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[m]}});return a}const Lw=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function gf(e="GET"){return Lw.has(e.toUpperCase())}function Fw(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 Nw=new Set(["image/svg","application/xml","application/xhtml","application/html"]),zw=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function jw(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return zw.test(t)?"json":Nw.has(t)||t.startsWith("text/")?"text":"blob"}function Vw(e,t,n,r){const i=Bw((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let s;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(s={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:s,params:s,headers:i}}function Bw(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[i,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(i,s);return r}async function eo(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const qw=new Set([408,409,425,429,500,502,503,504]),Hw=new Set([101,204,205,304]);function rm(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=gf(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):qw.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)),s(a.request,{...a.options,retry:c-1})}}const u=Dw(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(l,u={}){const c={request:l,options:Vw(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await eo(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=kw(c.request,c.options.baseURL)),c.options.query&&(c.request=Uc(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&gf(c.options.method)&&(Fw(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const p=new r;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await eo(c,c.options.onRequestError),await i(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!Hw.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||jw(c.response.headers.get("content-type")||"");switch(p){case"json":{const m=await c.response.text(),y=c.options.parseResponse||No;c.response._data=y(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await eo(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await eo(c,c.options.onResponseError),await i(c)):c.response},o=async function(l,u){return(await s(l,u))._data};return o.raw=s,o.native=(...a)=>t(...a),o.create=(a={},l={})=>rm({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),o}const jo=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")}(),$w=jo.fetch?(...e)=>jo.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Ww=jo.Headers,Qw=jo.AbortController,Uw=rm({fetch:$w,Headers:Ww,AbortController:Qw}),Gw=Uw,Yw=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Vo=Yw().app,Kw=()=>Vo.baseURL,Xw=()=>Vo.buildAssetsDir,Yc=(...e)=>em(im(),Xw(),...e),im=(...e)=>{const t=Vo.cdnURL||Vo.baseURL;return e.length?em(t,...e):t};globalThis.__buildAssetsURL=Yc,globalThis.__publicAssetsURL=im;globalThis.$fetch||(globalThis.$fetch=Gw.create({baseURL:Kw()}));"global"in globalThis||(globalThis.global=globalThis);function Vl(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Vl(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const Jw={run:e=>e()},Zw=()=>Jw,sm=typeof console.createTask<"u"?console.createTask:Zw;function e0(e,t){const n=t.shift(),r=sm(n);return e.reduce((i,s)=>i.then(()=>r.run(()=>s(...t))),Promise.resolve())}function t0(e,t){const n=t.shift(),r=sm(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}function Va(e,t){for(const n of[...e])n(t)}class n0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(t,i),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const i of r)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Vl(t),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(t){const n=Vl(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(e0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(t0,t,...n)}callHookWith(t,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Va(this._before,i);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&Va(this._after,i)}):(this._after&&i&&Va(this._after,i),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function om(){return new n0}function r0(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let i;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?i=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(i){const o=i.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return i?i.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const l=()=>{t=o},u=()=>t===o?l:void 0;Bl.add(u);try{const c=i?i.run(o,a):a();return n||(t=void 0),await c}finally{Bl.delete(u)}}}}function i0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=r0({...e,...r})),t[n]}}}const Bo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},yf="__unctx__",s0=Bo[yf]||(Bo[yf]=i0()),o0=(e,t={})=>s0.get(e,t),vf="__unctx_async_handlers__",Bl=Bo[vf]||(Bo[vf]=new Set);function hi(e){const t=[];for(const i of Bl){const s=i();s&&t.push(s)}const n=()=>{for(const i of t)i()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const a0=!1,bf=!1,l0=!1,lA={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},cA={value:null,errorValue:null,deep:!0},c0=null,uA={},u0="#__nuxt",am="nuxt-app",wf=36e5,f0="vite:preloadError";function lm(e=am){return o0(e,{asyncContext:!1})}const d0="__nuxt_plugin";function h0(e){var i;let t=0;const n={_id:e.id||am||"nuxt-app",_scope:jy(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.4"},get vue(){return n.vueApp.version}},payload:cn({...((i=e.ssrContext)==null?void 0:i.payload)||{},data:cn({}),state:Fn({}),once:new Set,_errors:cn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Pc()?n._scope.run(()=>Sf(n,s)):Sf(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:cn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=om(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const a="$"+s;to(n,a,o),to(n.vueApp.config.globalProperties,a,o)},to(n.vueApp,"$nuxt",n),to(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(f0,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=Ue);const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function p0(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function m0(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function g0(e,t){const n=new Set,r=[],i=[],s=[];let o=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.has(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=m0(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(o++,await a(p)))})))});l.parallel?i.push(f.catch(d=>s.push(d))):await f}}for(const l of t)p0(e,l);for(const l of t)await a(l);if(await Promise.all(i),o)for(let l=0;l{}),e,{[d0]:!0,_name:t})}function Sf(e,t,n){const r=()=>t();return lm(e._id).set(e),e.vueApp.runWithContext(r)}function cm(e){var n;let t;return ra()&&(t=(n=mr())==null?void 0:n.appContext.app.$nuxt),t||(t=lm(e).tryUse()),t||null}function Ue(e){const t=cm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function gr(e){return Ue().$config}function to(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function y0(e,t){return{ctx:{table:e},matchAll:n=>fm(n,e)}}function um(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,i])=>[r,um(i)])):new Map(Object.entries(e[n]));return t}function v0(e){return y0(um(e))}function fm(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,o]of Ef(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(o);for(const[s,o]of Ef(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...fm(a,o))}const i=t.static.get(e);return i&&r.push(i),r.filter(Boolean)}function Ef(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ba(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 ql(e,t,n=".",r){if(!Ba(t))return ql(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:Ba(o)&&Ba(i[s])?i[s]=ql(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function b0(e){return(...t)=>t.reduce((n,r)=>ql(n,r,"",e),{})}const aa=b0();function w0(e,t){try{return t in e}catch{return!1}}class Hl extends Error{constructor(n,r={}){super(n,r);Vn(this,"statusCode",500);Vn(this,"fatal",!1);Vn(this,"unhandled",!1);Vn(this,"statusMessage");Vn(this,"data");Vn(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:$l(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=dm(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}Vn(Hl,"__h3_error__",!0);function S0(e){if(typeof e=="string")return new Hl(e);if(E0(e))return e;const t=new Hl(e.message??e.statusMessage??"",{cause:e.cause||e});if(w0(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=$l(e.statusCode,t.statusCode):e.status&&(t.statusCode=$l(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;dm(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 E0(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const _0=/[^\u0009\u0020-\u007E]/g;function dm(e=""){return e.replace(_0,"")}function $l(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const hm=Symbol("layout-meta"),Vr=Symbol("route"),Ct=()=>{var e;return(e=Ue())==null?void 0:e.$router},la=()=>ra()?tt(Vr,Ue()._route):Ue()._route;const T0=()=>{try{if(Ue()._processingMiddleware)return!0}catch{return!1}return!1},x0=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?O0(e):Ct().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=$r(n,{acceptRelative:!0}),i=(t==null?void 0:t.external)||r;if(i){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Cw(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=T0();if(!i&&s){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=nm(e);return{path:l,...u&&{query:Jp(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const o=Ct(),a=Ue();return i?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)};function O0(e){return Uc(e.path||"",e.query||{})+(e.hash||"")}const pm="__nuxt_error",ca=()=>Yh(Ue().payload,"error"),_r=e=>{const t=Nr(e);try{const n=Ue(),r=ca();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},C0=async(e={})=>{const t=Ue(),n=ca();t.callHook("app:error:cleared",e),e.redirect&&await Ct().replace(e.redirect),n.value=c0},mm=e=>!!e&&typeof e=="object"&&pm in e,Nr=e=>{const t=S0(e);return Object.defineProperty(t,pm,{value:!0,configurable:!1,writable:!1}),t},P0=gt({name:"nuxt-graphql-middleware-provide-state",order:-9999,setup(){return{provide:{graphqlState:{fetchOptions:{}}}}}});function _f(e){const t=A0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let i=0;i>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 I0=-1,M0=-2,R0=-3,D0=-4,L0=-5,F0=-6;function N0(e,t){return z0(JSON.parse(e),t)}function z0(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function i(s,o=!1){if(s===I0)return;if(s===R0)return NaN;if(s===D0)return 1/0;if(s===L0)return-1/0;if(s===F0)return-0;if(o)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[s]=u(i(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let p=1;p`${r}:${String(i)}`).join(",")}`}function qo(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let i;if(t&&(i=t(n,e)),Array.isArray(i))return i.map(s=>qo(s,t));if((i==null?void 0:i.constructor)===Object){const s={};for(const o of Object.keys(i))s[o]=qo(i[o],t,o);return s}return i}function G0(e,t){const n=e==="style"?new Map:new Set;function r(i){const s=i.trim();if(s)if(e==="style"){const[o,...a]=s.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else s.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(i=>r(i)):t&&typeof t=="object"&&Object.entries(t).forEach(([i,s])=>{s&&s!=="false"&&(e==="style"?n.set(i.trim(),s):r(i))}),n}function ym(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=G0(n,r);return}if(H0.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let o=t.type;if(t.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(r)}else e[n]=r;return}const i=String(r),s=n.startsWith("data-");i==="true"||i===""?e.props[n]=s?i:!0:!r&&s&&i==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function Y0(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=ym({tag:e,props:{}},n);return r.key&&j0.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(i=>({...r,props:{...r.props,content:i}})):r}function K0(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(i,s)=>{for(let o=0;o{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])r.push(Y0(i,o))}),r.flat()}const Ql=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Of={base:-10,title:10},X0={critical:-8,high:-1,low:2},Cf={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}},J0=/@import/,Wi=e=>e===""||e===!0;function Z0(e,t){var s;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=X0[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Cf;if(t.tag in Of)n=Of[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Cf.meta[o])}else t.tag==="link"&&t.props.rel?n=i.link[t.props.rel]:t.tag==="script"?Wi(t.props.async)?n=i.script.async:t.props.src&&!Wi(t.props.defer)&&!Wi(t.props.async)&&t.props.type!=="module"&&!((s=t.props.type)!=null&&s.endsWith("json"))?n=i.script.sync:Wi(t.props.defer)&&t.props.src&&!Wi(t.props.async)&&(n=i.script.defer):t.tag==="style"&&(n=t.innerHTML&&J0.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Pf(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 eS(e={}){var a;const t=om();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,i=new Map,s=[],o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Pf(o,l),push(l,u){const c={...u||{}};delete c.head;const f=c._index??o._entryCount++,d={_i:f,input:l,options:c},p={_poll(m=!1){o.dirty=!0,!m&&s.push(f),t.callHook("entries:updated",o)},dispose(){r.delete(f)&&p._poll(!0)},patch(m){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=m,r.set(f,d),p._poll())}};return p.patch(l),p},async resolveTags(){var p;const l={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",l);s.length;){const m=s.shift(),y=r.get(m);if(y){const E={tags:K0(y.input,e.propResolvers||[]).map(v=>Object.assign(v,y.options)),entry:y};await t.callHook("entries:normalize",E),y._tags=E.tags.map((v,w)=>(v._w=Z0(o,v),v._p=(y._i<<10)+w,v._d=Wl(v),v))}}let u=!1;l.entries.flatMap(m=>(m._tags||[]).map(y=>({...y,props:{...y.props}}))).sort(Ql).reduce((m,y)=>{const E=String(y._d||y._p);if(!m.has(E))return m.set(E,y);const v=m.get(E);if(((y==null?void 0:y.tagDuplicateStrategy)||(W0.has(y.tag)?"merge":null)||(y.key&&y.key===v.key?"merge":null))==="merge"){const g={...v.props};Object.entries(y.props).forEach(([S,_])=>g[S]=S==="style"?new Map([...v.props.style||new Map,..._]):S==="class"?new Set([...v.props.class||new Set,..._]):_),m.set(E,{...y,props:g})}else y._p>>10===v._p>>10&&y.tag==="meta"&&gm(E)?(m.set(E,Object.assign([...Array.isArray(v)?v:[v],y],y)),u=!0):(y._w===v._w?y._p>v._p:(y==null?void 0:y._w)<(v==null?void 0:v._w))&&m.set(E,y);return m},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(o._title=c==null?void 0:c.textContent,f){const m=f==null?void 0:f.textContent;if(o._titleTemplate=m,m){let y=typeof m=="function"?m(c==null?void 0:c.textContent):m;typeof y=="string"&&!o.plugins.has("template-params")&&(y=y.replace("%s",(c==null?void 0:c.textContent)||"")),c?y===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:y}):(f.tag="title",f.textContent=y)}}l.tags=Array.from(l.tagMap.values()),u&&(l.tags=l.tags.flat().sort(Ql)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const m of l.tags){const{innerHTML:y,tag:E,props:v}=m;if(B0.has(E)&&!(Object.keys(v).length===0&&!m.innerHTML&&!m.textContent)&&!(E==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(E==="script"&&y){if((p=v.type)!=null&&p.endsWith("json")){const w=typeof y=="string"?y:JSON.stringify(y);m.innerHTML=w.replace(/Pf(o,l)),o.hooks.callHook("init",o),(a=e.init)==null||a.forEach(l=>l&&o.push(l)),o}function tS(e={}){const t=[];let n=-1;const r=(i=!1)=>({get(s,o,a){if(!i){const l=Reflect.get(s,o,a);if(typeof l<"u")return l;n++,t[n]=[]}return t[n].push({type:"get",key:o}),new Proxy(()=>{},r(!0))},apply(s,o,a){t[n].push({type:"apply",key:"",args:a})}});return{proxy:new Proxy(e||{},r()),stack:t}}function nS(e){const t={get(n,r,i){const s=Reflect.get(n,r,i);return typeof s=="object"?new Proxy(s,t):s},apply(n,r,i){Reflect.apply(n,r,i)}};return new Proxy(e,t)}function rS(e,t){t.forEach(n=>{let r=e,i=e;n.forEach(({type:s,key:o,args:a})=>{s==="get"?(i=r,r=r[o]):s==="apply"&&(r=r.call(i,...a))})})}function iS(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}const sS=["preconnect","dns-prefetch"];function oS(e,t,n){var m,y,E;const r=typeof t=="string"?{src:t}:t,i=n||{},s=iS(r),o=(m=e._scripts)==null?void 0:m[s];if(o)return o.setupTriggerHandler(i.trigger),o;(y=i.beforeInit)==null||y.call(i);const a=v=>{d.status=v,e.hooks.callHook("script:updated",p)};$0.forEach(v=>{const w=v,g=typeof r[w]=="function"?r[w].bind(i.eventContext):null;r[w]=S=>{a(v==="onload"?"loaded":v==="onerror"?"error":"loading"),g==null||g(S)}});const l={loaded:[],error:[]},u=new Set,c=(v,w,g)=>{if(!e.ssr){if(g!=null&&g.key){const S=`${g==null?void 0:g.key}:${g.key}`;if(u.has(S))return;u.add(S)}if(l[v]){const S=l[v].push(w);return()=>{var _;return(_=l[v])==null?void 0:_.splice(S-1,1)}}return w(d.instance),()=>{}}},f=new Promise(v=>{if(e.ssr)return;const w=S=>requestAnimationFrame(()=>v(S)),g=e.hooks.hook("script:updated",({script:S})=>{const _=S.status;if(S.id===s&&(_==="loaded"||_==="error")){if(_==="loaded")if(typeof i.use=="function"){const P=i.use();P&&w(P)}else w({});else _==="error"&&v(!1);g()}})}),d={_loadPromise:f,instance:!e.ssr&&((E=i==null?void 0:i.use)==null?void 0:E.call(i))||null,proxy:null,id:s,status:"awaitingLoad",remove(){var v,w,g;return(v=d._triggerAbortController)==null||v.abort(),d._triggerPromises=[],(w=d._warmupEl)==null||w.dispose(),d.entry?(d.entry.dispose(),d.entry=void 0,a("removed"),(g=e._scripts)==null||delete g[s],!0):!1},warmup(v){const{src:w}=r,g=!w.startsWith("/")||w.startsWith("//"),S=v&&sS.includes(v);let _=w;if(!v||S&&!g)return;if(S){const M=new URL(w);_=`${M.protocol}//${M.host}`}const P={href:_,rel:v,crossorigin:typeof r.crossorigin<"u"?r.crossorigin:g?"anonymous":void 0,referrerpolicy:typeof r.referrerpolicy<"u"?r.referrerpolicy:g?"no-referrer":void 0,fetchpriority:typeof r.fetchpriority<"u"?r.fetchpriority:"low",integrity:r.integrity,as:v==="preload"?"script":void 0};return d._warmupEl=e.push({link:[P]},{head:e,tagPriority:"high"}),d._warmupEl},load(v){var w;if((w=d._triggerAbortController)==null||w.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}]},i)}return v&&c("loaded",v),f},onLoaded(v,w){return c("loaded",v,w)},onError(v,w){return c("error",v,w)},setupTriggerHandler(v){if(d.status==="awaitingLoad")if((typeof v>"u"||v==="client")&&!e.ssr||v==="server")d.load();else if(v instanceof Promise){if(e.ssr)return;d._triggerAbortController||(d._triggerAbortController=new AbortController,d._triggerAbortPromise=new Promise(g=>{d._triggerAbortController.signal.addEventListener("abort",()=>{d._triggerAbortController=null,g()})})),d._triggerPromises=d._triggerPromises||[];const w=d._triggerPromises.push(Promise.race([v.then(g=>typeof g>"u"||g?d.load:void 0),d._triggerAbortPromise]).catch(()=>{}).then(g=>{g==null||g()}).finally(()=>{var g;(g=d._triggerPromises)==null||g.splice(w,1)}))}else typeof v=="function"&&v(d.load)},_cbs:l};f.then(v=>{var w,g;v!==!1?(d.instance=v,(w=l.loaded)==null||w.forEach(S=>S(v)),l.loaded=null):((g=l.error)==null||g.forEach(S=>S()),l.error=null)});const p={script:d};if(d.setupTriggerHandler(i.trigger),i.use){const{proxy:v,stack:w}=tS(e.ssr?{}:i.use()||{});d.proxy=v,d.onLoaded(g=>{rS(g,w),d.proxy=nS(g)})}return!i.warmupStrategy&&(typeof i.trigger>"u"||i.trigger==="client")&&(i.warmupStrategy="preload"),i.warmupStrategy&&d.warmup(i.warmupStrategy),e._scripts=Object.assign(e._scripts||{},{[s]:d}),d}const Un="%separator",aS=new RegExp(`${Un}(?:\\s*${Un})*`,"g");function lS(e,t,n=!1){var i;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=(i=e[t.substring(0,s)])==null?void 0:i[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/{if(a===Un||!s.includes(a))return a;const l=lS(t,a.slice(1),r);return l!==void 0?l:a}).trim(),o&&(e.endsWith(Un)&&(e=e.slice(0,-Un.length)),e.startsWith(Un)&&(e=e.slice(Un.length)),e=e.replace(aS,n||"").trim()),e}const kf=e=>e.includes(":key")?e:e.split(":").join(":key:"),cS={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const i=String(r);if(i.startsWith("before:")){const s=kf(i.slice(7)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p-1,t=!0)}else if(i.startsWith("after:")){const s=kf(i.slice(6)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Ql))}}},uS={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Ul(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Ul(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await Ul(e[r]);return n}return e}const fS={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Ul(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},dS={meta:"content",link:"href",htmlAttrs:"lang"},hS=["innerHTML","textContent"],pS=e=>({key:"template-params",hooks:{"entries:normalize":t=>{var r,i,s;const n=((i=(r=t.tags.filter(o=>o.tag==="templateParams"&&o.mode==="server"))==null?void 0:r[0])==null?void 0:i.props)||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...((s=e._ssrPayload)==null?void 0:s.templateParams)||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{var s;const r=((s=t.get("templateParams"))==null?void 0:s.props)||{},i=r.separator||"|";delete r.separator,r.pageTitle=no(r.pageTitle||e._title||"",r,i);for(const o of n){if(o.processTemplateParams===!1)continue;const a=dS[o.tag];if(a&&typeof o.props[a]=="string")o.props[a]=no(o.props[a],r,i);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const l of hS)typeof o[l]=="string"&&(o[l]=no(o[l],r,i,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=no(n.textContent,e._templateParams,e._separator))}}}),mS=(e,t)=>Qe(t)?av(t):t,Kc="usehead";function gS(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Kc,e)}}.install}function vm(){if(ra()){const e=tt(Kc);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 yS(e,t={}){const n=t.head||vm();return n.ssr?n.push(e||{},t):vS(n,e,t)}function vS(e,t,n={}){const r=Ie(!1);let i;return eb(()=>{const o=r.value?{}:qo(t,mS);i?i.patch(o):i=e.push(o,n)}),mr()&&(Hr(()=>{i.dispose()}),up(()=>{r.value=!0}),cp(()=>{r.value=!1})),i}function bS(e,t){if(!t)return;const n=(r,i)=>{if(!e._cbs[r])return i(e.instance),()=>{};let s=e._cbs[r].push(i);const o=()=>{var a;s&&((a=e._cbs[r])==null||a.splice(s-1,1),s=null)};return To(o),o};e.onLoaded=r=>n("loaded",r),e.onError=r=>n("error",r),To(()=>{var r;(r=e._triggerAbortController)==null||r.abort()})}function wS(e,t){const n=typeof e=="string"?{src:e}:e,r=t||{},i=(r==null?void 0:r.head)||vm();r.head=i;const s=mr();if(r.eventContext=s,s&&typeof r.trigger>"u")r.trigger=Kt;else if(Qe(r.trigger)){const a=r.trigger;let l;r.trigger=new Promise(u=>{l=ar(a,c=>{c&&u(!0)},{immediate:!0}),To(()=>u(!1),!0)}).then(u=>(l==null||l(),u))}i._scriptStatusWatcher=i._scriptStatusWatcher||i.hooks.hook("script:updated",({script:a})=>{a._statusRef.value=a.status});const o=oS(i,n,r);return o._statusRef=o._statusRef||Ie(o.status),bS(o,s),new Proxy(o,{get(a,l,u){return Reflect.get(a,l==="status"?"_statusRef":l,u)}})}function Xc(e){var n;const t=e||cm();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(ra())return tt(Kc)}))}function fA(e,t={}){const n=Xc(t.nuxt);if(n)return yS(e,{head:n,...t})}const SS="modulepreload",ES=function(e,t){return new URL(e,t).href},Af={},le=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let o=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=o(n.map(c=>{if(c=ES(c,r),c in Af)return;Af[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let y=a.length-1;y>=0;y--){const E=a[y];if(E.href===c&&(!f||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":SS,f||(m.as="script"),m.crossOrigin="",m.href=c,u&&m.setAttribute("nonce",u),document.head.appendChild(m),f)return new Promise((y,E)=>{m.addEventListener("load",y),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};let po,mo;function _S(){return po=$fetch(Yc(`builds/meta/${gr().app.buildId}.json`),{responseType:"json"}),po.then(e=>{mo=v0(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),po}function ua(){return po||_S()}async function Jc(e){const t=typeof e=="string"?e:e.path;if(await ua(),!mo)return console.error("[nuxt] Error creating app manifest matcher.",mo),{};try{return aa({},...mo.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function If(e,t={}){if(!await wm(e))return null;const r=await xS(e,t);return await bm(r)||null}const TS="_payload.json";async function xS(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||$r(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=gr(),i=t.hash||(t.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,o=s&&await wm(e)?s:r.app.baseURL;return Gc(o,n.pathname,TS+(i?`?${i}`:""))}async function bm(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(Sm));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function wm(e=la().path){const t=Ue();return e=Ss(e),(await ua()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Jc({path:e});return!!r.prerender&&!r.redirect})}let wr=null;async function OS(){var r;if(wr)return wr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Sm(e.textContent||""),n=e.dataset.src?await bm(e.dataset.src):void 0;return wr={...t,...n,...window.__NUXT__},(r=wr.config)!=null&&r.public&&(wr.config.public=Fn(wr.config.public)),wr}async function Sm(e){return await N0(e,Ue()._payloadRevivers)}function CS(e,t){Ue()._payloadRevivers[e]=t}const PS=[["NuxtError",e=>Nr(e)],["EmptyShallowRef",e=>fn(e==="_"?void 0:e==="0n"?BigInt(0):No(e))],["EmptyRef",e=>Ie(e==="_"?void 0:e==="0n"?BigInt(0):No(e))],["ShallowRef",e=>fn(e)],["ShallowReactive",e=>cn(e)],["Ref",e=>Ie(e)],["Reactive",e=>Fn(e)]],kS=gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,i]of PS)CS(r,i);Object.assign(e.payload,([t,n]=hi(()=>e.runWithContext(OS)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Zc(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 i=>{var p;const s=new Map,o=new Promise(m=>{e.resolveTags().then(y=>{m(y.map(E=>{const v=s.get(E._d)||0,w={tag:E,id:(v?`${E._d}:${v}`:E._d)||xf(E),shouldRender:!0};return E._d&&gm(E._d)&&s.set(E._d,v+1),w}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const m of["body","head"]){const y=(p=n[m])==null?void 0:p.children;for(const E of y){const v=E.tagName.toLowerCase();if(!Tf.has(v))continue;const w=ym({tag:v,props:{}},{innerHTML:E.innerHTML,...E.getAttributeNames().reduce((g,S)=>(g[S]=E.getAttribute(S),g),{})||{}});if(w.key=E.getAttribute("data-hid")||void 0,w._d=Wl(w)||xf(w),a.elMap.has(w._d)){let g=1,S=w._d;for(;a.elMap.has(S);)S=`${w._d}:${g++}`;a.elMap.set(S,E)}else a.elMap.set(w._d,E)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(m,y,E){const v=`${m}:${y}`;a.sideEffects[v]=E,delete a.pendingSideEffects[v]}function u({id:m,$el:y,tag:E}){const v=E.tag.endsWith("Attrs");a.elMap.set(m,y),v||(E.textContent&&E.textContent!==y.textContent&&(y.textContent=E.textContent),E.innerHTML&&E.innerHTML!==y.innerHTML&&(y.innerHTML=E.innerHTML),l(m,"el",()=>{y==null||y.remove(),a.elMap.delete(m)}));for(const w in E.props){if(!Object.prototype.hasOwnProperty.call(E.props,w))continue;const g=E.props[w];if(w.startsWith("on")&&typeof g=="function"){const _=y==null?void 0:y.dataset;if(_&&_[`${w}fired`]){const P=w.slice(0,-5);g.call(y,new Event(P.substring(2)))}y.getAttribute(`data-${w}`)!==""&&((E.tag==="bodyAttrs"?n.defaultView:y).addEventListener(w.substring(2),g.bind(y)),y.setAttribute(`data-${w}`,""));continue}const S=`attr:${w}`;if(w==="class"){if(!g)continue;for(const _ of g)v&&l(m,`${S}:${_}`,()=>y.classList.remove(_)),!y.classList.contains(_)&&y.classList.add(_)}else if(w==="style"){if(!g)continue;for(const[_,P]of g)l(m,`${S}:${_}`,()=>{y.style.removeProperty(_)}),y.style.setProperty(_,P)}else g!==!1&&g!==null&&(y.getAttribute(w)!==g&&y.setAttribute(w,g===!0?"":String(g)),v&&l(m,S,()=>y.removeAttribute(w)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await o;for(const m of d){const{tag:y,shouldRender:E,id:v}=m;if(E){if(y.tag==="title"){n.title=y.textContent,l("title","",()=>n.title=a.title);continue}m.$el=m.$el||a.elMap.get(v),m.$el?u(m):Tf.has(y.tag)&&c.push(m)}}for(const m of c){const y=m.tag.tagPosition||"head";m.$el=n.createElement(m.tag.tag),u(m),f[y]=f[y]||n.createDocumentFragment(),f[y].appendChild(m.$el)}for(const m of d)await e.hooks.callHook("dom:renderTag",m,n,l);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 m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),i()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function AS(e={}){var r,i,s;const t=((r=e.domOptions)==null?void 0:r.render)||Zc;e.document=e.document||(typeof window<"u"?document:void 0);const n=((s=(i=e.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return eS({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function IS(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function MS(e={}){const t=AS({domOptions:{render:IS(()=>Zc(t),n=>setTimeout(n,0))},...e});return t.install=gS(t),t}const RS={disableDefaults:!0,disableCapoSorting:!1,plugins:[uS,fS,pS,cS]},DS=gt({name:"nuxt:head",enforce:"pre",setup(e){const t=MS(RS);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Zc(t)};t.hooks.hook("dom:beforeRender",i=>{i.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 Zr=typeof document<"u";function Em(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function LS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Em(e.default)}const Pe=Object.assign;function qa(e,t){const n={};for(const r in t){const i=t[r];n[r]=Xt(i)?i.map(e):e(i)}return n}const ls=()=>{},Xt=Array.isArray,_m=/#/g,FS=/&/g,NS=/\//g,zS=/=/g,jS=/\?/g,Tm=/\+/g,VS=/%5B/g,BS=/%5D/g,xm=/%5E/g,qS=/%60/g,Om=/%7B/g,HS=/%7C/g,Cm=/%7D/g,$S=/%20/g;function eu(e){return encodeURI(""+e).replace(HS,"|").replace(VS,"[").replace(BS,"]")}function WS(e){return eu(e).replace(Om,"{").replace(Cm,"}").replace(xm,"^")}function Gl(e){return eu(e).replace(Tm,"%2B").replace($S,"+").replace(_m,"%23").replace(FS,"%26").replace(qS,"`").replace(Om,"{").replace(Cm,"}").replace(xm,"^")}function QS(e){return Gl(e).replace(zS,"%3D")}function US(e){return eu(e).replace(_m,"%23").replace(jS,"%3F")}function GS(e){return e==null?"":US(e).replace(NS,"%2F")}function Es(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const YS=/\/$/,KS=e=>e.replace(YS,"");function Ha(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=eE(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:Es(o)}}function XS(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function JS(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ai(t.matched[r],n.matched[i])&&Pm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ai(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ZS(e[n],t[n]))return!1;return!0}function ZS(e,t){return Xt(e)?Rf(e,t):Xt(t)?Rf(t,e):e===t}function Rf(e,t){return Xt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function eE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var _s;(function(e){e.pop="pop",e.push="push"})(_s||(_s={}));var cs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cs||(cs={}));function tE(e){if(!e)if(Zr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),KS(e)}const nE=/^[^#]+#/;function rE(e,t){return e.replace(nE,"#")+t}function iE(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 fa=()=>({left:window.scrollX,top:window.scrollY});function sE(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=iE(i,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 Df(e,t){return(history.state?history.state.position-t:-1)+e}const Yl=new Map;function oE(e,t){Yl.set(e,t)}function aE(e){const t=Yl.get(e);return Yl.delete(e),t}let lE=()=>location.protocol+"//"+location.host;function km(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Mf(l,"")}return Mf(n,e)+r+i}function cE(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const p=km(e,location),m=n.value,y=t.value;let E=0;if(d){if(n.value=p,t.value=d,o&&o===m){o=null;return}E=y?d.position-y.position:0}else r(p);i.forEach(v=>{v(n.value,m,{delta:E,type:_s.pop,direction:E?E>0?cs.forward:cs.back:cs.unknown})})};function l(){o=n.value}function u(d){i.push(d);const p=()=>{const m=i.indexOf(d);m>-1&&i.splice(m,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(Pe({},d.state,{scroll:fa()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Lf(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?fa():null}}function uE(e){const{history:t,location:n}=window,r={value:km(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:lE()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),i.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function o(l,u){const c=Pe({},t.state,Lf(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=Pe({},i.value,t.state,{forward:l,scroll:fa()});s(c.current,c,!0);const f=Pe({},Lf(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function fE(e){e=tE(e);const t=uE(e),n=cE(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Pe({location:"",base:e,go:r,createHref:rE.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function dE(e){return typeof e=="string"||e&&typeof e=="object"}function Am(e){return typeof e=="string"||typeof e=="symbol"}const Im=Symbol("");var Ff;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ff||(Ff={}));function Ii(e,t){return Pe(new Error,{type:e,[Im]:!0},t)}function bn(e,t){return e instanceof Error&&Im in e&&(t==null||!!(e.type&t))}const Nf="[^/]+?",hE={sensitive:!1,strict:!1,start:!0,end:!0},pE=/[.+*?^${}()[\]/\\]/g;function mE(e,t){const n=Pe({},hE,t),r=[];let i=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function Mm(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const yE={type:0,value:""},vE=/[a-zA-Z0-9_]/;function bE(e){if(!e)return[[]];if(e==="/")return[[yE]];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 i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{o(g)}:ls}function o(f){if(Am(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const d=TE(f,n);n.splice(d,0,f),f.record.name&&!Bf(f)&&r.set(f.record.name,f)}function u(f,d){let p,m={},y,E;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Ii(1,{location:f});E=p.record.name,m=Pe(jf(d.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&jf(f.params,p.keys.map(g=>g.name))),y=p.stringify(m)}else if(f.path!=null)y=f.path,p=n.find(g=>g.re.test(y)),p&&(m=p.parse(y),E=p.record.name);else{if(p=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!p)throw Ii(1,{location:f,currentLocation:d});E=p.record.name,m=Pe({},d.params,f.params),y=p.stringify(m)}const v=[];let w=p;for(;w;)v.unshift(w.record),w=w.parent;return{name:E,path:y,params:m,matched:v,meta:_E(v)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:i}}function jf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:EE(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 EE(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 Bf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _E(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function qf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function TE(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Mm(e,t[s])<0?r=s:n=s+1}const i=xE(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function xE(e){let t=e;for(;t=t.parent;)if(Rm(t)&&Mm(e,t)===0)return t}function Rm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function OE(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;is&&Gl(s)):[r&&Gl(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function CE(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const PE=Symbol(""),$f=Symbol(""),da=Symbol(""),tu=Symbol(""),Kl=Symbol("");function Qi(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gn(e,t,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Ii(4,{from:n,to:t})):d instanceof Error?l(d):dE(d)?l(Ii(2,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},c=s(()=>e.call(r&&r.instances[i],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function $a(e,t,n,r,i=s=>s()){const s=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Em(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Gn(c,n,r,o,a,i))}else{let u=l();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=LS(c)?c.default:c;o.mods[a]=c,o.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Gn(p,n,r,o,a,i)()}))}}return s}function Wf(e){const t=tt(da),n=tt(tu),r=pt(()=>{const l=Me(e.to);return t.resolve(l)}),i=pt(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Ai.bind(null,c));if(d>-1)return d;const p=Qf(l[u-2]);return u>1&&Qf(c)===p&&f[f.length-1].path!==p?f.findIndex(Ai.bind(null,l[u-2])):d}),s=pt(()=>i.value>-1&&RE(n.params,r.value.params)),o=pt(()=>i.value>-1&&i.value===n.matched.length-1&&Pm(n.params,r.value.params));function a(l={}){if(ME(l)){const u=t[Me(e.replace)?"replace":"push"](Me(e.to)).catch(ls);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:pt(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function kE(e){return e.length===1?e[0]:e}const AE=Zt({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:Wf,setup(e,{slots:t}){const n=Fn(Wf(e)),{options:r}=tt(da),i=pt(()=>({[Uf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Uf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&kE(t.default(n));return e.custom?s:xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),IE=AE;function ME(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 RE(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Xt(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Qf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Uf=(e,t,n)=>e??t??n,DE=Zt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tt(Kl),i=pt(()=>e.route||r.value),s=tt($f,0),o=pt(()=>{let u=Me(s);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=pt(()=>i.value.matched[o.value]);jt($f,pt(()=>o.value+1)),jt(PE,a),jt(Kl,i);const l=Ie();return ar(()=>[l.value,a.value,e.name],([u,c,f],[d,p,m])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Ai(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Gf(n.default,{Component:d,route:u});const p=f.props[c],m=p?p===!0?u.params:typeof p=="function"?p(u):p:null,E=xe(d,Pe({},m,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Gf(n.default,{Component:E,route:u})||E}}});function Gf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Dm=DE;function LE(e){const t=SE(e.routes,e),n=e.parseQuery||OE,r=e.stringifyQuery||Hf,i=e.history,s=Qi(),o=Qi(),a=Qi(),l=fn(Nt);let u=Nt;Zr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=qa.bind(null,W=>""+W),f=qa.bind(null,GS),d=qa.bind(null,Es);function p(W,ie){let re,oe;return Am(W)?(re=t.getRecordMatcher(W),oe=ie):oe=W,t.addRoute(oe,re)}function m(W){const ie=t.getRecordMatcher(W);ie&&t.removeRoute(ie)}function y(){return t.getRoutes().map(W=>W.record)}function E(W){return!!t.getRecordMatcher(W)}function v(W,ie){if(ie=Pe({},ie||l.value),typeof W=="string"){const C=Ha(n,W,ie.path),F=t.resolve({path:C.path},ie),Q=i.createHref(C.fullPath);return Pe(C,F,{params:d(F.params),hash:Es(C.hash),redirectedFrom:void 0,href:Q})}let re;if(W.path!=null)re=Pe({},W,{path:Ha(n,W.path,ie.path).path});else{const C=Pe({},W.params);for(const F in C)C[F]==null&&delete C[F];re=Pe({},W,{params:f(C)}),ie.params=f(ie.params)}const oe=t.resolve(re,ie),Te=W.hash||"";oe.params=c(d(oe.params));const Fe=XS(r,Pe({},W,{hash:WS(Te),path:oe.path})),O=i.createHref(Fe);return Pe({fullPath:Fe,hash:Te,query:r===Hf?CE(W.query):W.query||{}},oe,{redirectedFrom:void 0,href:O})}function w(W){return typeof W=="string"?Ha(n,W,l.value.path):Pe({},W)}function g(W,ie){if(u!==W)return Ii(8,{from:ie,to:W})}function S(W){return M(W)}function _(W){return S(Pe(w(W),{replace:!0}))}function P(W){const ie=W.matched[W.matched.length-1];if(ie&&ie.redirect){const{redirect:re}=ie;let oe=typeof re=="function"?re(W):re;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=w(oe):{path:oe},oe.params={}),Pe({query:W.query,hash:W.hash,params:oe.path!=null?{}:W.params},oe)}}function M(W,ie){const re=u=v(W),oe=l.value,Te=W.state,Fe=W.force,O=W.replace===!0,C=P(re);if(C)return M(Pe(w(C),{state:typeof C=="object"?Pe({},Te,C.state):Te,force:Fe,replace:O}),ie||re);const F=re;F.redirectedFrom=ie;let Q;return!Fe&&JS(r,oe,re)&&(Q=Ii(16,{to:F,from:oe}),it(oe,oe,!0,!1)),(Q?Promise.resolve(Q):k(F,oe)).catch(q=>bn(q)?bn(q,2)?q:at(q):J(q,F,oe)).then(q=>{if(q){if(bn(q,2))return M(Pe({replace:O},w(q.to),{state:typeof q.to=="object"?Pe({},Te,q.to.state):Te,force:Fe}),ie||F)}else q=z(F,oe,!0,O,Te);return B(F,oe,q),q})}function R(W,ie){const re=g(W,ie);return re?Promise.reject(re):Promise.resolve()}function A(W){const ie=Bt.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(W):W()}function k(W,ie){let re;const[oe,Te,Fe]=FE(W,ie);re=$a(oe.reverse(),"beforeRouteLeave",W,ie);for(const C of oe)C.leaveGuards.forEach(F=>{re.push(Gn(F,W,ie))});const O=R.bind(null,W,ie);return re.push(O),yt(re).then(()=>{re=[];for(const C of s.list())re.push(Gn(C,W,ie));return re.push(O),yt(re)}).then(()=>{re=$a(Te,"beforeRouteUpdate",W,ie);for(const C of Te)C.updateGuards.forEach(F=>{re.push(Gn(F,W,ie))});return re.push(O),yt(re)}).then(()=>{re=[];for(const C of Fe)if(C.beforeEnter)if(Xt(C.beforeEnter))for(const F of C.beforeEnter)re.push(Gn(F,W,ie));else re.push(Gn(C.beforeEnter,W,ie));return re.push(O),yt(re)}).then(()=>(W.matched.forEach(C=>C.enterCallbacks={}),re=$a(Fe,"beforeRouteEnter",W,ie,A),re.push(O),yt(re))).then(()=>{re=[];for(const C of o.list())re.push(Gn(C,W,ie));return re.push(O),yt(re)}).catch(C=>bn(C,8)?C:Promise.reject(C))}function B(W,ie,re){a.list().forEach(oe=>A(()=>oe(W,ie,re)))}function z(W,ie,re,oe,Te){const Fe=g(W,ie);if(Fe)return Fe;const O=ie===Nt,C=Zr?history.state:{};re&&(oe||O?i.replace(W.fullPath,Pe({scroll:O&&C&&C.scroll},Te)):i.push(W.fullPath,Te)),l.value=W,it(W,ie,re,O),at()}let G;function ue(){G||(G=i.listen((W,ie,re)=>{if(!Ur.listening)return;const oe=v(W),Te=P(oe);if(Te){M(Pe(Te,{replace:!0,force:!0}),oe).catch(ls);return}u=oe;const Fe=l.value;Zr&&oE(Df(Fe.fullPath,re.delta),fa()),k(oe,Fe).catch(O=>bn(O,12)?O:bn(O,2)?(M(Pe(w(O.to),{force:!0}),oe).then(C=>{bn(C,20)&&!re.delta&&re.type===_s.pop&&i.go(-1,!1)}).catch(ls),Promise.reject()):(re.delta&&i.go(-re.delta,!1),J(O,oe,Fe))).then(O=>{O=O||z(oe,Fe,!1),O&&(re.delta&&!bn(O,8)?i.go(-re.delta,!1):re.type===_s.pop&&bn(O,20)&&i.go(-1,!1)),B(oe,Fe,O)}).catch(ls)}))}let pe=Qi(),$=Qi(),K;function J(W,ie,re){at(W);const oe=$.list();return oe.length?oe.forEach(Te=>Te(W,ie,re)):console.error(W),Promise.reject(W)}function me(){return K&&l.value!==Nt?Promise.resolve():new Promise((W,ie)=>{pe.add([W,ie])})}function at(W){return K||(K=!W,ue(),pe.list().forEach(([ie,re])=>W?re(W):ie()),pe.reset()),W}function it(W,ie,re,oe){const{scrollBehavior:Te}=e;if(!Zr||!Te)return Promise.resolve();const Fe=!re&&aE(Df(W.fullPath,0))||(oe||!re)&&history.state&&history.state.scroll||null;return cr().then(()=>Te(W,ie,Fe)).then(O=>O&&sE(O)).catch(O=>J(O,W,ie))}const qe=W=>i.go(W);let Pt;const Bt=new Set,Ur={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:y,resolve:v,options:e,push:S,replace:_,go:qe,back:()=>qe(-1),forward:()=>qe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:$.add,isReady:me,install(W){const ie=this;W.component("RouterLink",IE),W.component("RouterView",Dm),W.config.globalProperties.$router=ie,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Me(l)}),Zr&&!Pt&&l.value===Nt&&(Pt=!0,S(i.location).catch(Te=>{}));const re={};for(const Te in Nt)Object.defineProperty(re,Te,{get:()=>l.value[Te],enumerable:!0});W.provide(da,ie),W.provide(tu,cn(re)),W.provide(Kl,l);const oe=W.unmount;Bt.add(W),W.unmount=function(){Bt.delete(W),Bt.size<1&&(u=Nt,G&&G(),G=null,l.value=Nt,Pt=!1,K=!1),oe()}}};function yt(W){return W.reduce((ie,re)=>ie.then(()=>A(re)),Promise.resolve())}return Ur}function FE(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;oAi(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Ai(u,l))||i.push(l))}return[n,r,i]}function dA(){return tt(da)}function Lm(e){return tt(tu)}const NE=/(:\w+)\([^)]+\)/g,zE=/(:\w+)[?+*]/g,jE=/:\w+/g,VE=(e,t)=>t.path.replace(NE,"$1").replace(zE,"$1").replace(jE,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Xl=(e,t)=>{const n=e.route.matched.find(i=>{var s;return((s=i.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&VE(e.route,n));return typeof r=="function"?r(e.route):r},BE=(e,t)=>({default:()=>e?xe(Pv,e===!0?{}:e,t):t});function nu(e){return Array.isArray(e)?e:[e]}const qE={layout:"bip"},HE={layout:"bip",pageTransition:{name:"page",mode:"out-in"}},$E={layout:"bip",pageTransition:{name:"page",mode:"out-in"}},WE={layout:"bip",pageTransition:{name:"page",mode:"out-in"}},j=null,be={},Wa=[{name:"error",path:"/error",component:()=>le(()=>import("./CbWirfMo.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"index",path:"/",component:()=>le(()=>import("./De8UPmOk.js"),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53]),import.meta.url)},{name:"bip",path:"/bip",meta:qE||{},component:()=>le(()=>import("./3YDCuLPS.js"),__vite__mapDeps([54,10]),import.meta.url)},{name:"topic-slug",path:"/:topic()/:slug(.*)*",component:()=>le(()=>import("./DFr61ep8.js"),__vite__mapDeps([55,56,1,8,10,57,6,7,9,11,20,21,22,58,59,3,4,5,12,13,14,15,16,17,18,19,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,60,61]),import.meta.url)},{name:"topic-faq-slug",path:"/:topic()/faq/:slug(.*)*",component:()=>le(()=>import("./Cabo9r31.js"),__vite__mapDeps([62,56,1,8,10,57,6,7,9,11,20,21,22,58,59,3,4,5,12,13,14,15,16,17,18,19,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,60]),import.meta.url)},{name:"topic-nabory-slug",path:"/:topic()/nabory/:slug(.*)*",component:()=>le(()=>import("./DN2lUqzh.js"),__vite__mapDeps([63,56,1,8,10,57,6,7,9,11,20,21,22,58,59,3,4,5,12,13,14,15,16,17,18,19,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,60]),import.meta.url)},{name:"bip-strona-stronabip",path:"/bip/strona/:stronabip(.*)*",meta:HE||{},component:()=>le(()=>import("./DmwYlmgS.js"),__vite__mapDeps([64,65,66,8,10,67]),import.meta.url)},{name:"topic-wiadomosci-slug",path:"/:topic()/wiadomosci/:slug(.*)*",component:()=>le(()=>import("./CbH0XenM.js"),__vite__mapDeps([68,56,1,8,10,57,6,7,9,11,20,21,22,3,4,5,12,13,14,15,16,17,18,19,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,60]),import.meta.url)},{name:"topic-wydarzenia-slug",path:"/:topic()/wydarzenia/:slug(.*)*",component:()=>le(()=>import("./4CvtwIH8.js"),__vite__mapDeps([69,56,1,8,10,57,6,7,9,11,20,21,22,3,4,5,12,13,14,15,16,17,18,19,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,60,70]),import.meta.url)},{name:"bip-dokument-dokumentbip",path:"/bip/dokument/:dokumentbip(.*)*",meta:$E||{},component:()=>le(()=>import("./DntlK-Qf.js"),__vite__mapDeps([71,65,66,8,10,72]),import.meta.url)},{name:"bip-register-registerslug",path:"/bip/:register()/:registerslug(.*)*",meta:WE||{},component:()=>le(()=>import("./CTs4MQkq.js"),__vite__mapDeps([73,1,23,8,66,10,74]),import.meta.url)},{name:j==null?void 0:j.name,path:"/skorzystaj-z-programu/:pathMatch(.*)",component:be},{name:j==null?void 0:j.name,path:"/wp-content/uploads/:pathMatch(.*)",component:be},{name:j==null?void 0:j.name,path:"/realizuje-projekt/:pathMatch(.*)",component:be},{name:j==null?void 0:j.name,path:"/dowiedz-sie-wiecej/:pathMatch(.*)",component:be},{name:j==null?void 0:j.name,path:"/wiadomosci/:pathMatch(.*)",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czym-jest-strategia-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-do-konkursow-w-ramach-zit-aw-moga-skladac-wnioski-podmioty-spoza-aglomeracji-walbrzyskiej/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/jaka-jest-zaleznosc-miedzy-strategia-zit-aw-a-rpo-wd-2014-2020/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/jaka-jest-zaleznosc-miedzy-ipaw-a-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-moge-otrzymac-dofinansowanie-na-juz-zrealizowany-projekt/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/jak-dlugo-bedzie-trwal-nabor-wnioskow-o-dofinansowanie/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/jakim-przedsiebiorcom-z-sektora-msp-jestes/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czym-sa-inteligentne-specjalizacje-regionu/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/co-to-jest-oprogramowanie-dedykowane/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/szkoly-i-uczelnie-artystyczne-w-poddzialaniu-4-3-4-dziedzictwo-kulturowe-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/ponizej-zamieszczamy-odpowiedzi-na-pytania-dotyczace-naborow-w-ramach-dzialan-10-1-przygotowane-przez-iz-rpo-wd-2014-2020/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/ponizej-zamieszczamy-odpowiedzi-na-pytania-dotyczace-naborow-w-ramach-dzialan-4-3-przygotowane-przez-iz-rpo-wd-2014-2020-ktore-moga-byc-pomocne-wnioskodawcom-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/ponizej-zamieszczamy-odpowiedzi-na-pytania-dotyczace-naborow-w-ramach-dzialan-7-1-przygotowane-przez-iz-rpo-wd-2014-2020-ktore-moga-byc-pomocne-wnioskodawcom-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/materialy-pomocnicze-opracowane-przez-krajowa-agencje-poszanowania-energii-s-a-zwiazane-z-realizacja-projektow-termomodernizacyjnych-w-formule-esco/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/ponizej-zamieszczamy-odpowiedzi-na-pytania-dotyczace-naborow-w-ramach-dzialan-3-3-przygotowane-przez-iz-rpo-wd-2014-2020-ktore-moga-byc-pomocne-wnioskodawcom-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/ponizej-zamieszczamy-odpowiedzi-na-pytania-dotyczace-naborow-w-ramach-dzialan-2-1-przygotowane-przez-iz-rpo-wd-2014-2020-ktore-moga-byc-pomocne-wnioskodawcom-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-pod-wzgledem-formalnym-mozna-ubiegac-sie-o-dotacje-dla-projektu-w-ramach-poddzialania-3-3-4-dla-ktorego-opracowano-projekt-budowlany-i-pozyskano-pozwolenie-na-budowe-w-2010-r-a-audyt-aktualizow/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-dotyczace-rewitalizacji-budynkow-mieszkalnych/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-w-ramach-poddzialania-6-3-4-kwalifikowalne-beda-koszty-zwiazane-z-odwodnieniem-budynku/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-dotyczace-rewitalizacji-zalaczniki-srodowiskowe/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-w-sprawie-problemow-interpretacyjnych-dotyczacych-zapisow-%c2%a7-16-ust-7-wzoru-umowy-o-dofinansowanie-w-poddzialaniu-3-3-4-w-kwestii-zasad-udzielania-zamowien-publicznych-o-wartosci-do-20-0/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-dotyczace-konkursu-w-ramach-rpo-wd-2014-2020-7-1-4-inwestycje-w-edukacje-przedszkolna-podstawowa-i-gimnazjalna-zit-aw-infrastruktura-przedszkolna/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-o-kwalifikowalnosc-kosztow-w-projekcie/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytania-odnosnie-dzialania-2-1-4/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/roboty-budowlane-w-10-2-4/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytanie-dotyczace-naboru-nr-rpds-07-01-04-ip-03-02-07616/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/zapytanie-o-kwalifikowalnosc-3-3-4/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytania-dotyczace-dzialania-6-3-b-remont-odnowa-czesci-wspolnych-wielorodzinnych-budynkow-mieszkalnych/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/odpowiedzi-na-pytania-zadane-w-trakcie-spotkania-informacyjnego-w-dn-06-09-2016r-nabor-3-3-4-b-i-c-zit-aw/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/kiedy-wymagane-jest-swiadectwo-charakterystyki-energetycznej-budynku-dzialanie-3-3-c/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/watpliwosc-dotyczy-wskaznika-produktu-liczba-zmodernizowanych-zrodel-ciepla-dzialanie-3-3-b/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/pytania-i-odpowiedzi-w-ramach-dzialania-6-3-b/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/jakie-wydatki-sa-kwalifikowalne-na-czesci-zwiazane-z-prowadzeniem-dzialalnosci-administracyjnej-w-schemacie-6-3-a/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-dopuszczalna-bedzie-rozbieznosc-w-kwotach-podanych-przy-projektach-w-lpr-a-kwotach-ktore-zostaly-ustalone-na-podstawie-aktualnych-kosztorysow-inwestorskich/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czesto-zadawane-pytania-w-ramach-poddzialania-6-3-4-schemat-a-i-c/",component:be},{name:j==null?void 0:j.name,path:"/pytania-i-odpowiedzi/czy-w-przypadku-gdy-w-ramach-rewitalizacji-przebudowujemymodernizujemy-droge-i-musimy-wykonac-rowniez-kanalizacje-sanitarna-i-przylacza-czy-koszty-z-tym-zwiazane-sa-kwalifikowalne-ponadto-fragment/",component:be},{name:j==null?void 0:j.name,path:"/granty-dla-wspolnot-mieszkaniowych/wydarzenia/spotkanie-doradczo-informacyjne-29-04-2025-swidnica/",component:be},{name:j==null?void 0:j.name,path:"/granty-dla-wspolnot-mieszkaniowych/wydarzenia/spotkanie-doradczo-informacyjne-24-04-2025-nowa-ruda/",component:be},{name:j==null?void 0:j.name,path:"/granty-dla-wspolnot-mieszkaniowych/wydarzenia/spotkanie-doradczo-informacyjne-07-05-2025-walbrzych/",component:be}],Fm=(e,t)=>({default:()=>{var n;return e?xe(Ab,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),QE=/(:\w+)\([^)]+\)/g,UE=/(:\w+)[?+*]/g,GE=/:\w+/g;function Yf(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(QE,"$1").replace(UE,"$1").replace(GE,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function YE(e,t){return e===t||t===Nt?!1:Yf(e)!==Yf(t)?!0:!e.matched.every((r,i)=>{var s,o;return r.components&&r.components.default===((o=(s=t.matched[i])==null?void 0:s.components)==null?void 0:o.default)})}function KE(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return Nm(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function Nm(e,t=[],n=!1){var r;if(e&&e.nodeName){if(JE(e))return t;if(!XE(e)){const i=e.cloneNode(!0);n&&((r=i.querySelectorAll)==null||r.call(i,"[data-island-slot]").forEach(s=>{s.innerHTML=""})),t.push(i.outerHTML)}Nm(e.nextSibling,t,n)}return t}function Qa(e,t){const n=e?KE(e):[t];return n?qp(n.join(""),n.length):xe("div")}function XE(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function JE(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const ZE={scrollBehavior(e,t,n){var l;const r=Ue(),i=((l=Ct().options)==null?void 0:l.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:zm(e.hash),behavior:i}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let o=n||void 0;!o&&YE(e,t)&&(o={left:0,top:0});const a=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===Nt){u(Kf(e,"instant",o));return}r.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>u(Kf(e,"instant",o)))})})}};function zm(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 Kf(e,t,n){return n||(e.hash?{el:e.hash,top:zm(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const e_={hashMode:!1,scrollBehaviorType:"auto"},nn={...e_,...ZE},t_=async(e,t)=>{var o;let n,r;if(!((o=e.meta)!=null&&o.validate))return;const i=([n,r]=hi(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;const s=Nr({fatal:!0,statusCode:i&&i.statusCode||404,statusMessage:i&&i.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s},n_=async(e,t)=>{if(e.query.preview==="true"){const n=gr(),r=e.query.p;return x0(`${n.public.wordpressUrl}/generate?redirect_uri=${n.public.frontendSiteUrl}/preview?preview_id=${r}`,{external:!0})}},r_=async e=>{let t,n;const r=([t,n]=hi(()=>Jc({path:e.path})),t=await t,n(),t);if(r.redirect)return $r(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},i_=[t_,n_,r_],us={};function s_(e,t,n){const{pathname:r,search:i,hash:s}=t,o=e.indexOf("#");if(o>-1){const u=s.includes(e.slice(o))?e.slice(o).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),pf(c,"")}const a=pf(r,e),l=!n||Iw(a,n)?a:n;return l+(l.includes("?")?"":i)+s}const o_=gt({name:"nuxt:router",enforce:"pre",async setup(e){var E;let t,n,r=gr().app.baseURL;const i=((E=nn.history)==null?void 0:E.call(nn,r))??fE(r),s=nn.routes?([t,n]=hi(()=>nn.routes(Wa)),t=await t,n(),t??Wa):Wa;let o;const a=LE({...nn,scrollBehavior:(v,w,g)=>{if(w===Nt){o=g;return}if(nn.scrollBehavior){if(a.options.scrollBehavior=nn.scrollBehavior,"scrollRestoration"in window.history){const S=a.beforeEach(()=>{S(),window.history.scrollRestoration="manual"})}return nn.scrollBehavior(v,Nt,o||g)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=fn(a.currentRoute.value);a.afterEach((v,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=s_(r,window.location,e.payload.path),c=fn(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((v,w)=>{var g,S,_,P;((S=(g=v.matched[0])==null?void 0:g.components)==null?void 0:S.default)===((P=(_=w.matched[0])==null?void 0:_.components)==null?void 0:P.default)&&f()});const d={};for(const v in c.value)Object.defineProperty(d,v,{get:()=>c.value[v],enumerable:!0});e._route=cn(d),e._middleware||(e._middleware={global:[],named:{}});const p=ca();a.afterEach(async(v,w,g)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(C0),g&&await e.callHook("page:loading:end")});try{[t,n]=hi(()=>a.isReady()),await t,n()}catch(v){[t,n]=hi(()=>e.runWithContext(()=>_r(v))),await t,n()}const m=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const y=e.payload.state._layout;return a.beforeEach(async(v,w)=>{var g;await e.callHook("page:loading:start"),v.meta=Fn(v.meta),e.isHydrating&&y&&!Mn(v.meta.layout)&&(v.meta.layout=y),e._processingMiddleware=!0;{const S=new Set([...i_,...e._middleware.global]);for(const _ of v.matched){const P=_.meta.middleware;if(P)for(const M of nu(P))S.add(M)}{const _=await e.runWithContext(()=>Jc({path:v.path}));if(_.appMiddleware)for(const P in _.appMiddleware)_.appMiddleware[P]?S.add(P):S.delete(P)}for(const _ of S){const P=typeof _=="string"?e._middleware.named[_]||await((g=us[_])==null?void 0:g.call(us).then(M=>M.default||M)):_;if(!P)throw new Error(`Unknown route middleware: '${_}'.`);try{const M=await e.runWithContext(()=>P(v,w));if(!e.payload.serverRendered&&e.isHydrating&&(M===!1||M instanceof Error)){const R=M||Nr({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>_r(R)),!1}if(M===!0)continue;if(M===!1)return M;if(M)return mm(M)&&M.fatal&&await e.runWithContext(()=>_r(M)),M}catch(M){const R=Nr(M);return R.fatal&&await e.runWithContext(()=>_r(R)),R}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(v,w)=>{v.matched.length===0&&await e.runWithContext(()=>_r(Nr({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await a.replace({...m,force:!0}),a.options.scrollBehavior=nn.scrollBehavior}catch(v){await e.runWithContext(()=>_r(v))}}),{provide:{router:a}}}}),Xf=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),hA=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ha=e=>{const t=Ue();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Xf(()=>e())}):Xf(()=>e())},a_=gt({name:"nuxt:payload",setup(e){const t=new Set;Ct().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const i=await If(n.path);if(i){for(const s of t)delete e.static.data[s];for(const s in i.data)s in e.static.data||t.add(s),e.static.data[s]=i.data[s]}}),ha(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:i}=new URL(r,window.location.href);i===window.location.hostname&&await If(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(ua,1e3)})}}),l_=gt(()=>{const e=Ct();ha(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),c_=gt(e=>{let t;async function n(){const r=await ua();t&&clearTimeout(t),t=setTimeout(n,wf);try{const i=await $fetch(Yc("builds/latest.json")+`?${Date.now()}`);i.id!==r.id&&e.hooks.callHook("app:manifest:update",i)}catch{}}ha(()=>{t=setTimeout(n,wf)})});function u_(e={}){const t=e.path||window.location.pathname;let n={};try{n=No(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:Gc(n.app.baseURL,s.fullPath);u_({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(i)}),t.onError((s,o)=>{r.has(s)&&i(o)})}}),d_=Symbol.for("nuxt:client-only"),ro="
",pA=Zt({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=fn(!1);Kt(()=>{r.value=!0});const i=mr();return i&&(i._nuxtClientOnly=!0),jt(d_,!0),()=>{var l;if(r.value){const u=(l=t.default)==null?void 0:l.call(t);return u&&u.length===1?[Rt(u[0],n)]:u}const s=t.fallback||t.placeholder;if(s)return s();const o=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return Do(a,n,o)}}}),Ua=new WeakMap;function h_(e){if(Ua.has(e))return Ua.get(e);const t={...e};return t.render?t.render=(n,r,i,s,o,a)=>{var l;if(s.mounted$??n.mounted$){const u=(l=e.render)==null?void 0:l.bind(n)(n,r,i,s,o,a);return u.children===null||typeof u.children=="string"?Rt(u):xe(u)}return Qa(n._.vnode.el,ro)}:t.template&&(t.template=` `),t.setup=(n,r)=>{var l;const i=Ue(),s=fn(i.isHydrating===!1),o=mr();if(i.isHydrating){const u={...o.attrs},c=p_(o);for(const f in u)delete o.attrs[f];Kt(()=>{Object.assign(o.attrs,u),o.vnode.dirs=c})}Kt(()=>{s.value=!0});const a=((l=e.setup)==null?void 0:l.call(e,n,r))||{};return Ko(a)?Promise.resolve(a).then(u=>typeof u!="function"?(u||(u={}),u.mounted$=s,u):(...c)=>{if(s.value||!i.isHydrating){const f=u(...c);return f.children===null||typeof f.children=="string"?Rt(f):xe(f)}return Qa(o==null?void 0:o.vnode.el,ro)}):typeof a=="function"?(...u)=>{if(s.value){const c=a(...u);return c.children===null||typeof c.children=="string"?Rt(c,r.attrs):xe(c,r.attrs)}return Qa(o==null?void 0:o.vnode.el,ro)}:Object.assign(a,{mounted$:s})},Ua.set(e,t),t}function p_(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const m_="$s";function g_(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const i=m_+n,s=Ue(),o=Yh(s.payload.state,i);if(o.value===void 0&&r){const a=r();if(Qe(a))return s.payload.state[i]=a,a;o.value=a}return o}function y_(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function v_(e,t=Ct()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const i=t._preloadPromises||(t._preloadPromises=[]);if(i.length>4)return Promise.all(i).then(()=>v_(e,t));t._routePreloaded.add(n);const s=r.map(o=>{var a;return(a=o.components)==null?void 0:a.default}).filter(o=>typeof o=="function");for(const o of s){const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a)));i.push(a)}await Promise.all(i)}function b_(e={}){var u;const t=fn(""),n=fn(e.politeness||"polite"),r=Xc();function i(c="",f="polite"){t.value=c,n.value=f}function s(c){return i(c,"polite")}function o(c){return i(c,"assertive")}function a(){var c;i((c=document==null?void 0:document.title)==null?void 0:c.trim(),n.value)}function l(){var c;(c=r==null?void 0:r.hooks)==null||c.removeHook("dom:rendered",a)}return a(),(u=r==null?void 0:r.hooks)==null||u.hook("dom:rendered",()=>{a()}),{_cleanup:l,message:t,politeness:n,set:i,polite:s,assertive:o}}function w_(e={}){const t=Ue(),n=t._routeAnnouncer||(t._routeAnnouncer=b_(e));return e.politeness!==n.politeness.value&&(n.politeness.value=e.politeness||"polite"),Pc()&&(t._routeAnnouncerDeps||(t._routeAnnouncerDeps=0),t._routeAnnouncerDeps++,To(()=>{t._routeAnnouncerDeps--,t._routeAnnouncerDeps===0&&(n._cleanup(),delete t._routeAnnouncer)})),n}function S_(){return gr().public["nuxt-scripts"]}function E_(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}function __(e,t){var o,a;e=typeof e=="string"?{src:e}:e,t=aa(t,(o=S_())==null?void 0:o.defaultScriptOptions);const n=String(E_(e)),r=Ue();if(t.head=t.head||Xc(),!t.head)throw new Error("useScript() has been called without Nuxt context.");r.$scripts=r.$scripts||Fn({}),(a=r.$scripts)!=null&&a[n],(t.trigger==="onNuxtReady"||t.trigger==="client")&&(t.warmupStrategy||(t.warmupStrategy="preload"),t.trigger==="onNuxtReady"&&(t.trigger=ha));const i=wS(e,t),s=i.remove;return i.remove=()=>(r.$scripts[n]=void 0,s()),r.$scripts[n]=i,i}const Ni=Object.freeze(Object.assign(()=>{},{__mock__:!0})),T_=Ni,Sr=Ni,Ga=Ni,wn=Ni,Ya=Ni,Ka=Ni;function x_(e){return(gr().public.scripts||{})[e]}function O_(e,t,n){const r=x_(e),i=Object.assign(n||{},typeof r=="object"?r:{}),s=t(i),o=aa(i.scriptInput,s.scriptInput,{key:e}),a=Object.assign((i==null?void 0:i.scriptOptions)||{},s.scriptOptions||{}),l=a.beforeInit;return a.beforeInit=()=>{var u;l==null||l(),(u=s.clientInit)==null||u.call(s)},__(o,a)}T_({id:Sr(),l:wn(Sr()),auth:wn(Sr()),preview:wn(Sr()),cookiesWin:wn(Ka([Ga(),Ya("x")])),debug:wn(Ka([Ga(),Ya("x")])),npa:wn(Ka([Ga(),Ya("1")])),dataLayer:wn(Sr()),envName:wn(Sr()),authReferrerPolicy:wn(Sr())});function C_(e){return O_((e==null?void 0:e.key)||"googleTagManager",t=>{const n=(t==null?void 0:t.l)??(t==null?void 0:t.dataLayer)??"dataLayer";return{scriptInput:{src:Uc("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}),performanceMarkFeature:"nuxt-third-parties-gtm",tagPriority:1},clientInit:()=>{var i;window[n]=window[n]||[];function r(...s){window[n].push(s)}(i=e==null?void 0:e.onBeforeGtmStart)==null||i.call(e,r),window[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"})}}},e)}const P_=gt({name:"scripts:init",env:{islands:!1},parallel:!0,setup(){return{provide:{$scripts:{googleTagManager:C_({id:"GTM-NNVD5R4"})}}}}}),k_=he(()=>le(()=>import("./Cc-JKjuk.js"),__vite__mapDeps([48,45,10,46,49]),import.meta.url).then(e=>e.default||e.default||e)),A_=he(()=>le(()=>import("./LgAD3WAH.js"),__vite__mapDeps([44,45,10,46,47]),import.meta.url).then(e=>e.default||e.default||e)),I_=he(()=>le(()=>import("./k07scFdv.js"),__vite__mapDeps([45,10,46]),import.meta.url).then(e=>e.default||e.default||e)),M_=he(()=>le(()=>import("./ChXkWz3B.js"),__vite__mapDeps([75,10,76]),import.meta.url).then(e=>e.default||e.default||e)),R_=he(()=>le(()=>import("./-Yc3KmlZ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),D_=he(()=>le(()=>import("./DqGdBCRQ.js"),__vite__mapDeps([32,10,33]),import.meta.url).then(e=>e.default||e.default||e)),L_=he(()=>le(()=>import("./BbTnt9ex.js"),__vite__mapDeps([27,1,5,6,7,8,9,10,11,28,29]),import.meta.url).then(e=>e.default||e.default||e)),F_=he(()=>le(()=>import("./C2QFGxjV.js"),__vite__mapDeps([30,5,6,7,8,9,10,11,1,28,31]),import.meta.url).then(e=>e.default||e.default||e)),N_=he(()=>le(()=>import("./NZThnFAD.js").then(e=>e.a),__vite__mapDeps([36,1,5,6,7,8,9,10,11,15,37]),import.meta.url).then(e=>e.default||e.default||e)),z_=he(()=>le(()=>import("./CnIqZT84.js"),__vite__mapDeps([34,10,35]),import.meta.url).then(e=>e.default||e.default||e)),j_=he(()=>le(()=>import("./d6LKkfEr.js"),__vite__mapDeps([4,5,6,7,8,9,10,11,1,12,13,14,15,16,17,18]),import.meta.url).then(e=>e.default||e.default||e)),V_=he(()=>le(()=>import("./DlbkS-0F.js"),__vite__mapDeps([38,1,5,6,7,8,9,10,11,15,39]),import.meta.url).then(e=>e.default||e.default||e)),B_=he(()=>le(()=>import("./BbokrZP3.js"),__vite__mapDeps([40,5,6,7,8,9,10,11,1,41,15,42,43]),import.meta.url).then(e=>e.default||e.default||e)),q_=he(()=>le(()=>import("./D-YHms4J.js"),__vite__mapDeps([25,6,7,8,9,10,11,26]),import.meta.url).then(e=>e.default||e.default||e)),H_=he(()=>le(()=>import("./Chi3DWGb.js"),__vite__mapDeps([19,1,20,21,10,22,9,14,23,8,24]),import.meta.url).then(e=>e.default||e.default||e)),$_=he(()=>le(()=>import("./R8MIIEYt.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11,1,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50]),import.meta.url).then(e=>e.default||e.default||e)),W_=he(()=>le(()=>import("./BBngof9B.js"),__vite__mapDeps([77,4,5,6,7,8,9,10,11,1,12,13,14,15,16,17,18]),import.meta.url).then(e=>e.default||e.default||e)),Q_=he(()=>le(()=>import("./DM_ptKcp.js"),__vite__mapDeps([78,10,79]),import.meta.url).then(e=>e.default||e.default||e)),U_=he(()=>le(()=>import("./BdaW4IZT.js"),__vite__mapDeps([5,6,7,8,9,10,11,1]),import.meta.url).then(e=>e.default||e.default||e)),G_=he(()=>le(()=>import("./jq5QhqM_.js"),__vite__mapDeps([65,66,8,10]),import.meta.url).then(e=>e.default||e.default||e)),Y_=he(()=>le(()=>import("./CrJtmWrP.js"),__vite__mapDeps([80,81,1]),import.meta.url).then(e=>e.default||e.default||e)),K_=he(()=>le(()=>import("./JQv12HPw.js"),__vite__mapDeps([82,83,1,10,84,85,20,21,22,51,52,86,87,88,89,90,91]),import.meta.url).then(e=>e.default||e.default||e)),X_=he(()=>le(()=>import("./Dl9Mca7U.js"),__vite__mapDeps([92,1,93,10,94,95]),import.meta.url).then(e=>e.default||e.default||e)),J_=he(()=>le(()=>import("./Oh9VfVeg.js"),__vite__mapDeps([56,1,8,10,57]),import.meta.url).then(e=>e.default||e.default||e)),Z_=he(()=>le(()=>import("./4u3lARME.js"),__vite__mapDeps([96,10]),import.meta.url).then(e=>e.default||e.default||e)),eT=he(()=>le(()=>import("./rsNiW3bt.js"),[],import.meta.url).then(e=>e.default||e.default||e)),tT=he(()=>le(()=>import("./CT7autq8.js"),__vite__mapDeps([6,7,8,9,10,11]),import.meta.url).then(e=>e.default||e.default||e)),nT=he(()=>le(()=>import("./Cdb82QJk.js"),__vite__mapDeps([97,7,8,10,98]),import.meta.url).then(e=>e.default||e.default||e)),rT=he(()=>le(()=>import("./CpJkiTWR.js"),__vite__mapDeps([89,1,10,90]),import.meta.url).then(e=>e.default||e.default||e)),iT=he(()=>le(()=>import("./DDti6oad.js"),__vite__mapDeps([83,1,10,84]),import.meta.url).then(e=>e.default||e.default||e)),sT=he(()=>le(()=>import("./BO_Ye5iW.js"),__vite__mapDeps([99,66,8,10,100]),import.meta.url).then(e=>e.default||e.default||e)),oT=he(()=>le(()=>import("./DaTkuXe_.js"),__vite__mapDeps([101,93,1,10,94,102]),import.meta.url).then(e=>e.default||e.default||e)),aT=he(()=>le(()=>import("./CFC6v6il.js"),__vite__mapDeps([85,1,20,21,10,22,51,52,86]),import.meta.url).then(e=>e.default||e.default||e)),lT=he(()=>le(()=>import("./Cj50WEVh.js"),__vite__mapDeps([13,1,14,15,8,10,16]),import.meta.url).then(e=>e.default||e.default||e)),cT=he(()=>le(()=>import("./un3sdaim.js"),__vite__mapDeps([12,13,1,14,15,8,10,16,17]),import.meta.url).then(e=>e.default||e.default||e)),uT=he(()=>le(()=>import("./COcKA9C1.js"),__vite__mapDeps([103,1,52]),import.meta.url).then(e=>e.default||e.default||e)),fT=he(()=>le(()=>import("./Dul3vl6g.js"),__vite__mapDeps([41,1,15,8,10,42]),import.meta.url).then(e=>e.default||e.default||e)),dT=he(()=>le(()=>import("./ByJJgsDr.js"),__vite__mapDeps([104,10]),import.meta.url).then(e=>e.default||e.default||e)),hT=he(()=>le(()=>import("./Dtm11UFW.js"),__vite__mapDeps([87,10,88]),import.meta.url).then(e=>e.default||e.default||e)),pT=he(()=>le(()=>import("./BDbIk6AL.js").then(e=>e.a),__vite__mapDeps([105,1,10,106]),import.meta.url).then(e=>e.default||e.default||e)),mT=he(()=>le(()=>import("./DwcE6_I7.js"),__vite__mapDeps([107,10,108]),import.meta.url).then(e=>e.default||e.default||e)),gT=he(()=>le(()=>import("./-d4SDXYY.js"),__vite__mapDeps([109,83,1,10,84,85,20,21,22,51,52,86,87,88,89,90,110]),import.meta.url).then(e=>e.default||e.default||e)),yT=he(()=>le(()=>import("./BgBFBVMn.js"),[],import.meta.url).then(e=>e.default||e.default||e)),vT=he(()=>le(()=>import("./Dic8u-Z8.js"),__vite__mapDeps([20,21,10,22]),import.meta.url).then(e=>e.default||e.default||e)),bT=he(()=>le(()=>import("./C3MkL1Ay.js"),__vite__mapDeps([58,1,21,10,59]),import.meta.url).then(e=>e.default||e.default||e)),wT=he(()=>le(()=>import("./DbF02Voz.js"),__vite__mapDeps([111,10,112]),import.meta.url).then(e=>e.default||e.default||e)),ST=he(()=>le(()=>import("./DRYQT7cg.js"),__vite__mapDeps([93,1,10,94]),import.meta.url).then(e=>e.default||e.default||e)),ET=[["BlockCoreImage",k_],["BlockGallery",A_],["BlockImage",I_],["BlockList",M_],["BlockParagraph",R_],["IpawCf7Form",D_],["IpawDocumentList",L_],["IpawDocumentListV2",F_],["IpawEventList",N_],["IpawEventRegistration",z_],["IpawNewsList",j_],["IpawProjectFundingList",V_],["IpawQAList",B_],["IpawSection",q_],["IpawTopicCards",H_],["BlockRenderer",$_],["BlockRendererOd",W_],["BackgroundSvg",Q_],["BaseBlockWithHeader",U_],["BipAttachment",G_],["BipBreadcrumbs",Y_],["BipHeader",K_],["BipMobileNavigation",X_],["Breadcrumbs",J_],["CoreParagraph",Z_],["DocumentAttachment",eT],["HeaderWithIcon",tT],["HeaderWithIconOld",nT],["Logo",rT],["MainNavigation",iT],["MetryczkaCollapsible",sT],["MobileMenu",oT],["MobileNavigation",aT],["NewsItem",lT],["NewsList",cT],["PostList",uT],["QAList",fT],["RawHtml",dT],["SearchPopup",hT],["SiteFooter",pT],["SiteFooterold",mT],["SiteHeader",gT],["ThemeTriangle",yT],["TopicCard",vT],["TopicHeader",bT],["TopicHeaderSimple",wT],["TreeNode",ST]],_T=gt({name:"nuxt:global-components",setup(e){for(const[t,n]of ET)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),rr={bip:he(()=>le(()=>import("./CRmnnmvz.js"),__vite__mapDeps([113,1,105,10,106,82,83,84,85,20,21,22,51,52,86,87,88,89,90,91,93,94,81,92,95,114]),import.meta.url).then(e=>e.default||e)),default:he(()=>le(()=>import("./jL-6uN8-.js"),__vite__mapDeps([115,109,83,1,10,84,85,20,21,22,51,52,86,87,88,89,90,110,105,106,116]),import.meta.url).then(e=>e.default||e))},TT=gt({name:"nuxt:prefetch",setup(e){const t=Ct();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var i;const r=(i=n==null?void 0:n.meta)==null?void 0:i.layout;r&&typeof rr[r]=="function"&&await rr[r]()})}),e.hooks.hook("link:prefetch",n=>{if($r(n))return;const r=t.resolve(n);if(!r)return;const i=r.meta.layout;let s=nu(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof us[o]=="function"&&us[o]();typeof i=="string"&&i in rr&&y_(rr[i])})}});var Jl=function(e,t){return Jl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Jl(e,t)};function hn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Jl(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var D=function(){return D=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]=OT){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=io("debug"),e.log=io("log"),e.warn=io("warn"),e.error=io("error")})(Or||(Or={}));var ru="3.13.7";function Qt(e){try{return e()}catch{}}const Zl=Qt(function(){return globalThis})||Qt(function(){return window})||Qt(function(){return self})||Qt(function(){return global})||Qt(function(){return Qt.constructor("return this")()});var Zf=new Map;function ec(e){var t=Zf.get(e)||1;return Zf.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function Bm(e,t){t===void 0&&(t=0);var n=ec("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("")}function so(e){return function(t){for(var n=[],r=1;r"}}function iu(e,t){if(t===void 0&&(t=[]),!!e)return Zl[ed]&&Zl[ed](e,t.map(qm))}function su(e,t){if(t===void 0&&(t=[]),!!e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:ru,message:e,args:t.map(qm)})))}function CT(e,t){if(!!!e)throw new Error(t)}const Hm={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},PT=new Set(Object.keys(Hm));function td(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&PT.has(t)}var nd;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(nd||(nd={}));var Ve;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(Ve||(Ve={}));function rd(e){return e===9||e===32}function kT(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,s=r.length>1&&r.slice(1).every(p=>p.length===0||rd(p.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=a||l,c=!i||e.length>70||u||s||o;let f="";const d=i&&rd(e.charCodeAt(0));return(c&&!d||s)&&(f+=` `),f+=n,(c||u)&&(f+=` `),'"""'+f+'"""'}const AT=10,$m=2;function IT(e){return pa(e,[])}function pa(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return MT(e,t);default:return String(e)}}function MT(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(RT(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:pa(r,n)}else if(Array.isArray(e))return LT(e,n);return DT(e,n)}function RT(e){return typeof e.toJSON=="function"}function DT(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>$m?"["+FT(e)+"]":"{ "+n.map(([i,s])=>i+": "+pa(s,t)).join(", ")+" }"}function LT(e,t){if(e.length===0)return"[]";if(t.length>$m)return"[Array]";const n=Math.min(AT,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function FT(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}function NT(e){return`"${e.replace(zT,jT)}"`}const zT=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function jT(e){return VT[e.charCodeAt(0)]}const VT=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],ma=Object.freeze({});function Jt(e,t,n=Hm){const r=new Map;for(const v of Object.values(Ve))r.set(v,BT(t,v));let i,s=Array.isArray(e),o=[e],a=-1,l=[],u=e,c,f;const d=[],p=[];do{a++;const v=a===o.length,w=v&&l.length!==0;if(v){if(c=p.length===0?void 0:d[d.length-1],u=f,f=p.pop(),w)if(s){u=u.slice();let S=0;for(const[_,P]of l){const M=_-S;P===null?(u.splice(M,1),S++):u[M]=P}}else{u=Object.defineProperties({},Object.getOwnPropertyDescriptors(u));for(const[S,_]of l)u[S]=_}a=i.index,o=i.keys,l=i.edits,s=i.inArray,i=i.prev}else if(f){if(c=s?a:o[a],u=f[c],u==null)continue;d.push(c)}let g;if(!Array.isArray(u)){var m,y;td(u)||CT(!1,`Invalid AST Node: ${IT(u)}.`);const S=v?(m=r.get(u.kind))===null||m===void 0?void 0:m.leave:(y=r.get(u.kind))===null||y===void 0?void 0:y.enter;if(g=S==null?void 0:S.call(t,u,c,f,d,p),g===ma)break;if(g===!1){if(!v){d.pop();continue}}else if(g!==void 0&&(l.push([c,g]),!v))if(td(g))u=g;else{d.pop();continue}}if(g===void 0&&w&&l.push([c,u]),v)d.pop();else{var E;i={inArray:s,index:a,keys:o,edits:l,prev:i},s=Array.isArray(u),o=s?u:(E=n[u.kind])!==null&&E!==void 0?E:[],a=-1,l=[],f&&p.push(f),f=u}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function BT(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function qT(e){return Jt(e,$T)}const HT=80,$T={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ae(e.definitions,` `)},OperationDefinition:{leave(e){const t=_e("(",ae(e.variableDefinitions,", "),")"),n=ae([e.operation,ae([e.name,t]),ae(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+_e(" = ",n)+_e(" ",ae(r," "))},SelectionSet:{leave:({selections:e})=>qt(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const s=_e("",e,": ")+t;let o=s+_e("(",ae(n,", "),")");return o.length>HT&&(o=s+_e(`( `,go(ae(n,` `)),` )`)),ae([o,ae(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+_e(" ",ae(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>ae(["...",_e("on ",e),ae(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${_e("(",ae(n,", "),")")} on ${t} ${_e("",ae(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?kT(e):NT(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ae(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ae(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+_e("(",ae(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>_e("",e,` `)+ae(["schema",ae(t," "),qt(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>_e("",e,` `)+ae(["scalar",t,ae(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>_e("",e,` `)+ae(["type",t,_e("implements ",ae(n," & ")),ae(r," "),qt(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>_e("",e,` `)+t+(id(n)?_e(`( `,go(ae(n,` `)),` )`):_e("(",ae(n,", "),")"))+": "+r+_e(" ",ae(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>_e("",e,` `)+ae([t+": "+n,_e("= ",r),ae(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>_e("",e,` `)+ae(["interface",t,_e("implements ",ae(n," & ")),ae(r," "),qt(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>_e("",e,` `)+ae(["union",t,ae(n," "),_e("= ",ae(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>_e("",e,` `)+ae(["enum",t,ae(n," "),qt(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>_e("",e,` `)+ae([t,ae(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>_e("",e,` `)+ae(["input",t,ae(n," "),qt(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>_e("",e,` `)+"directive @"+t+(id(n)?_e(`( `,go(ae(n,` `)),` )`):_e("(",ae(n,", "),")"))+(r?" repeatable":"")+" on "+ae(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ae(["extend schema",ae(e," "),qt(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ae(["extend scalar",e,ae(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ae(["extend type",e,_e("implements ",ae(t," & ")),ae(n," "),qt(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ae(["extend interface",e,_e("implements ",ae(t," & ")),ae(n," "),qt(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>ae(["extend union",e,ae(t," "),_e("= ",ae(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>ae(["extend enum",e,ae(t," "),qt(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>ae(["extend input",e,ae(t," "),qt(n)]," ")}};function ae(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function qt(e){return _e(`{ `,go(ae(e,` `)),` }`)}function _e(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function go(e){return _e(" ",e.replace(/\n/g,` `))}function id(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` `)))!==null&&t!==void 0?t:!1}function sd(e){return e.kind===Ve.FIELD||e.kind===Ve.FRAGMENT_SPREAD||e.kind===Ve.INLINE_FRAGMENT}function zs(e,t){var n=e.directives;return!n||!n.length?!0:UT(n).every(function(r){var i=r.directive,s=r.ifArgument,o=!1;return s.value.kind==="Variable"?(o=t&&t[s.value.name.value],ce(o!==void 0,78,i.name.value)):o=s.value.value,i.name.value==="skip"?!o:o})}function Ts(e,t,n){var r=new Set(e),i=r.size;return Jt(t,{Directive:function(s){if(r.delete(s.name.value)&&(!n||!r.size))return ma}}),n?!r.size:r.sizeObject.create(null),{forEach:KT,slice:od}=Array.prototype,{hasOwnProperty:XT}=Object.prototype;class zn{constructor(t=!0,n=YT){this.weakness=t,this.makeData=n}lookup(){return this.lookupArray(arguments)}lookupArray(t){let n=this;return KT.call(t,r=>n=n.getChildTrie(r)),XT.call(n,"data")?n.data:n.data=this.makeData(od.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r=0});function Ye(e){return e!==null&&typeof e=="object"}function ex(e,t){var n=t,r=[];e.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw _t(85,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&r.push(s)}),typeof n>"u"&&(ce(r.length===1,86,r.length),n=r[0].name.value);var i=D(D({},e),{definitions:mt([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function zi(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function ya(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return ce(r,87,n),r||null}default:return null}}function tx(e){var t=!0;return Jt(e,{FragmentSpread:function(n){if(t=!!n.directives&&n.directives.some(function(r){return r.name.value==="unmask"}),!t)return ma}}),t}function nx(){}class tc{constructor(t=1/0,n=nx){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}get size(){return this.map.size}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}function nc(){}const rx=nc,ix=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}},sx=typeof WeakMap<"u"?WeakMap:Map,ox=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:nc,unregister:nc}},ax=10024;class Ho{constructor(t=1/0,n=rx){this.max=t,this.dispose=n,this.map=new sx,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const r=this.unfinalizedNodes.values();for(let i=0;i0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new ox(this.deleteNode.bind(this))}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(t,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(t){t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.size--;const n=t.key||t.keyRef&&t.keyRef.deref();this.dispose(t.value,n),t.keyRef?this.registry.unregister(t):this.unfinalizedNodes.delete(t),n&&this.map.delete(n)}delete(t){const n=this.map.get(t);return n?(this.deleteNode(n),!0):!1}scheduleFinalization(t){this.unfinalizedNodes.add(t),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var Ja=new WeakSet;function Qm(e){e.size<=(e.max||-1)||Ja.has(e)||(Ja.add(e),setTimeout(function(){e.clean(),Ja.delete(e)},100))}var Um=function(e,t){var n=new Ho(e,t);return n.set=function(r,i){var s=Ho.prototype.set.call(this,r,i);return Qm(this),s},n},lx=function(e,t){var n=new tc(e,t);return n.set=function(r,i){var s=tc.prototype.set.call(this,r,i);return Qm(this),s},n},cx=Symbol.for("apollo.cacheSize"),Rn=D({},Zl[cx]),Tr={};function Gm(e,t){Tr[e]=t}var ux=globalThis.__DEV__!==!1?px:void 0,fx=globalThis.__DEV__!==!1?mx:void 0,dx=globalThis.__DEV__!==!1?Ym:void 0;function hx(){var e={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(e).map(function(t){var n=t[0],r=t[1];return[n,Rn[n]||r]}))}function px(){var e,t,n,r,i;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:hx(),sizes:D({print:(e=Tr.print)===null||e===void 0?void 0:e.call(Tr),parser:(t=Tr.parser)===null||t===void 0?void 0:t.call(Tr),canonicalStringify:(n=Tr.canonicalStringify)===null||n===void 0?void 0:n.call(Tr),links:ic(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Xm(this.queryManager.documentTransform)}},(i=(r=this.cache).getMemoryInternals)===null||i===void 0?void 0:i.call(r))}}function Ym(){return{cache:{fragmentQueryDocuments:Xn(this.getFragmentDoc)}}}function mx(){var e=this.config.fragments;return D(D({},Ym.apply(this)),{addTypenameDocumentTransform:Xm(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Xn(this.storeReader.executeSelectionSet),executeSubSelectedArray:Xn(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Xn(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Xn(e==null?void 0:e.findFragmentSpreads),lookup:Xn(e==null?void 0:e.lookup),transform:Xn(e==null?void 0:e.transform)}})}function gx(e){return!!e&&"dirtyKey"in e}function Xn(e){return gx(e)?e.size:void 0}function Km(e){return e!=null}function Xm(e){return rc(e).map(function(t){return{cache:t}})}function rc(e){return e?mt(mt([Xn(e==null?void 0:e.performWork)],rc(e==null?void 0:e.left),!0),rc(e==null?void 0:e.right),!0).filter(Km):[]}function ic(e){var t;return e?mt(mt([(t=e==null?void 0:e.getMemoryInternals)===null||t===void 0?void 0:t.call(e)],ic(e==null?void 0:e.left),!0),ic(e==null?void 0:e.right),!0).filter(Km):[]}var lr=Object.assign(function(t){return JSON.stringify(t,yx)},{reset:function(){ri=new lx(Rn.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Gm("canonicalStringify",function(){return ri.size});var ri;lr.reset();function yx(e,t){if(t&&typeof t=="object"){var n=Object.getPrototypeOf(t);if(n===Object.prototype||n===null){var r=Object.keys(t);if(r.every(vx))return t;var i=JSON.stringify(r),s=ri.get(i);if(!s){r.sort();var o=JSON.stringify(r);s=ri.get(o)||r,ri.set(i,s),ri.set(o,s)}var a=Object.create(n);return s.forEach(function(l){a[l]=t[l]}),a}}return t}function vx(e,t,n){return t===0||n[t-1]<=e}function pi(e){return{__ref:String(e)}}function Re(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function bx(e){return Ye(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function wx(e){return e.kind==="StringValue"}function Sx(e){return e.kind==="BooleanValue"}function Ex(e){return e.kind==="IntValue"}function _x(e){return e.kind==="FloatValue"}function Tx(e){return e.kind==="Variable"}function xx(e){return e.kind==="ObjectValue"}function Ox(e){return e.kind==="ListValue"}function Cx(e){return e.kind==="EnumValue"}function Px(e){return e.kind==="NullValue"}function Mi(e,t,n,r){if(Ex(n)||_x(n))e[t.value]=Number(n.value);else if(Sx(n)||wx(n))e[t.value]=n.value;else if(xx(n)){var i={};n.fields.map(function(o){return Mi(i,o.name,o.value,r)}),e[t.value]=i}else if(Tx(n)){var s=(r||{})[n.name.value];e[t.value]=s}else if(Ox(n))e[t.value]=n.values.map(function(o){var a={};return Mi(a,t,o,r),a[t.value]});else if(Cx(n))e[t.value]=n.value;else if(Px(n))e[t.value]=null;else throw _t(96,t.value,n.kind)}function kx(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(s){var o=s.name,a=s.value;return Mi(n[i.name.value],o,a,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var s=i.name,o=i.value;return Mi(r,s,o,t)})),Jm(e.name.value,r,n)}var Ax=["connection","include","skip","client","rest","export","nonreactive"],Ui=lr,Jm=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(a){i[a]=t[a]}),"".concat(n.connection.key,"(").concat(Ui(i),")")}else return n.connection.key;var s=e;if(t){var o=Ui(t);s+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(a){Ax.indexOf(a)===-1&&(n[a]&&Object.keys(n[a]).length?s+="@".concat(a,"(").concat(Ui(n[a]),")"):s+="@".concat(a))}),s},{setStringify:function(e){var t=Ui;return Ui=e,t}});function va(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,s=r.value;return Mi(n,i,s,t)}),n}return null}function Dn(e){return e.alias?e.alias.value:e.name.value}function sc(e,t,n){for(var r,i=0,s=t.selections;iclass{constructor(){this.id=["slot",Mx++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=st;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===ad)break;return t!==st&&(st.slots[this.id]=n),!0}return st&&(st.slots[this.id]=ad),!1}getValue(){if(this.hasValue())return st.slots[this.id]}withValue(t,n,r,i){const s={__proto__:null,[this.id]:t},o=st;st={parent:o,slots:s};try{return n.apply(i,r)}finally{st=o}}static bind(t){const n=st;return function(){const r=st;try{return st=n,t.apply(this,arguments)}finally{st=r}}}static noContext(t,n,r){if(st){const i=st;try{return st=null,t.apply(r,n)}finally{st=i}}else return t.apply(r,n)}};function ld(e){try{return e()}catch{}}const Za="@wry/context:Slot",Dx=ld(()=>globalThis)||ld(()=>global)||Object.create(null),cd=Dx,Vs=cd[Za]||Array[Za]||function(e){try{Object.defineProperty(cd,Za,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(Rx()),{bind:gA,noContext:yA}=Vs,ba=new Vs,{hasOwnProperty:Lx}=Object.prototype,lu=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function cu(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const xs=[],Fx=100;function Ri(e,t){if(!e)throw new Error(t||"assertion failure")}function tg(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function ng(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function rg(e){return e.slice(0)}class wa{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++wa.count}peek(){if(this.value.length===1&&!fr(this))return ud(this),this.value[0]}recompute(t){return Ri(!this.recomputing,"already recomputing"),ud(this),fr(this)?Nx(this,t):ng(this.value)}setDirty(){this.dirty||(this.dirty=!0,ig(this),cu(this))}dispose(){this.setDirty(),cg(this),uu(this,(t,n)=>{t.setDirty(),ug(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=xs.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(lu(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),xs.push(this.deps),this.deps=null)}}wa.count=0;function ud(e){const t=ba.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),fr(e)?og(t,e):ag(t,e),t}function Nx(e,t){return cg(e),ba.withValue(e,zx,[e,t]),Vx(e,t)&&jx(e),ng(e.value)}function zx(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&e.value.length===1&&(r=rg(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!tg(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function fr(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function jx(e){e.dirty=!1,!fr(e)&&sg(e)}function ig(e){uu(e,og)}function sg(e){uu(e,ag)}function uu(e,t){const n=e.parents.size;if(n){const r=lu(e.parents);for(let i=0;i0&&e.childValues.forEach((t,n)=>{ug(e,n)}),e.forgetDeps(),Ri(e.dirtyChildren===null)}function ug(e,t){t.parents.delete(e),e.childValues.delete(t),lg(e,t)}function Vx(e,t){if(typeof e.subscribe=="function")try{cu(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const Bx={setDirty:!0,dispose:!0,forget:!0};function fg(e){const t=new Map;function n(r){const i=ba.getValue();if(i){let s=t.get(r);s||t.set(r,s=new Set),i.dependOn(s)}}return n.dirty=function(i,s){const o=t.get(i);if(o){const a=s&&Lx.call(Bx,s)?s:"setDirty";lu(o).forEach(l=>l[a]()),t.delete(i),cu(o)}},n}let fd;function qx(...e){return(fd||(fd=new zn(typeof WeakMap=="function"))).lookupArray(e)}const el=new Set;function Os(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=qx,normalizeResult:i,subscribe:s,cache:o=tc}=Object.create(null)){const a=typeof o=="function"?new o(t,d=>d.dispose()):o,l=function(){const d=r.apply(null,n?n.apply(null,arguments):arguments);if(d===void 0)return e.apply(null,arguments);let p=a.get(d);p||(a.set(d,p=new wa(e)),p.normalizeResult=i,p.subscribe=s,p.forget=()=>a.delete(d));const m=p.recompute(Array.prototype.slice.call(arguments));return a.set(d,p),el.add(a),ba.hasValue()||(el.forEach(y=>y.clean()),el.clear()),m};Object.defineProperty(l,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:s,cache:a});function u(d){const p=d&&a.get(d);p&&p.setDirty()}l.dirtyKey=u,l.dirty=function(){u(r.apply(null,arguments))};function c(d){const p=d&&a.get(d);if(p)return p.peek()}l.peekKey=c,l.peek=function(){return c(r.apply(null,arguments))};function f(d){return d?a.delete(d):!1}return l.forgetKey=f,l.forget=function(){return f(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}function Hx(e){return e}var dg=function(){function e(t,n){n===void 0&&(n=Object.create(null)),this.resultCache=ou?new WeakSet:new Set,this.transform=t,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),this.cached=n.cache!==!1,this.resetCache()}return e.prototype.getCacheKey=function(t){return[t]},e.identity=function(){return new e(Hx,{cache:!1})},e.split=function(t,n,r){return r===void 0&&(r=e.identity()),Object.assign(new e(function(i){var s=t(i)?n:r;return s.transformDocument(i)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new zn(Wr);this.performWork=Os(e.prototype.performWork.bind(this),{makeCacheKey:function(r){var i=t.getCacheKey(r);if(i)return ce(Array.isArray(i),77),n.lookupArray(i)},max:Rn["documentTransform.cache"],cache:Ho})}},e.prototype.performWork=function(t){return ji(t),this.transform(t)},e.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var n=this.performWork(t);return this.resultCache.add(n),n},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(r){return t.transformDocument(n.transformDocument(r))},{cache:!1}),{left:this,right:t})},e}(),fs,Cr=Object.assign(function(e){var t=fs.get(e);return t||(t=qT(e),fs.set(e,t)),t},{reset:function(){fs=new Um(Rn.print||2e3)}});Cr.reset();globalThis.__DEV__!==!1&&Gm("print",function(){return fs?fs.size:0});var Ke=Array.isArray;function dn(e){return Array.isArray(e)&&e.length>0}var dd={kind:Ve.FIELD,name:{kind:Ve.NAME,value:"__typename"}};function hg(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===Ve.FRAGMENT_SPREAD&&hg(t[n.name.value],t)})}function $x(e){return hg(Br(e)||eg(e),zi(Vi(e)))?null:e}function Wx(e){var t=new Map,n=new Map;return e.forEach(function(r){r&&(r.name?t.set(r.name,r):r.test&&n.set(r.test,r))}),function(r){var i=t.get(r.name.value);return!i&&n.size&&n.forEach(function(s,o){o(r)&&(i=s)}),i}}function hd(e){var t=new Map;return function(r){r===void 0&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function pg(e,t){ji(t);for(var n=hd(""),r=hd(""),i=function(v){for(var w=0,g=void 0;w=0;--o)t.definitions[o].kind===Ve.OPERATION_DEFINITION&&++s;var a=Wx(e),l=function(v){return dn(v)&&v.map(a).some(function(w){return w&&w.remove})},u=new Map,c=!1,f={enter:function(v){if(l(v.directives))return c=!0,null}},d=Jt(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,w,g,S,_){var P=i(_);P&&P.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,w,g,S,_){if(l(v.directives))return c=!0,null;var P=i(_);P&&P.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,w,g,S){u.set(JSON.stringify(S),v)},leave:function(v,w,g,S){var _=u.get(JSON.stringify(S));if(v===_)return v;if(s>0&&v.selectionSet.selections.every(function(P){return P.kind===Ve.FIELD&&P.name.value==="__typename"}))return r(v.name.value).removed=!0,c=!0,null}},Directive:{leave:function(v){if(a(v))return c=!0,null}}});if(!c)return t;var p=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(w){p(r(w)).transitiveVars.forEach(function(g){v.transitiveVars.add(g)})})),v},m=new Set;d.definitions.forEach(function(v){v.kind===Ve.OPERATION_DEFINITION?p(n(v.name&&v.name.value)).fragmentSpreads.forEach(function(w){m.add(w)}):v.kind===Ve.FRAGMENT_DEFINITION&&s===0&&!r(v.name.value).removed&&m.add(v.name.value)}),m.forEach(function(v){p(r(v)).fragmentSpreads.forEach(function(w){m.add(w)})});var y=function(v){return!!(!m.has(v)||r(v).removed)},E={enter:function(v){if(y(v.name.value))return null}};return $x(Jt(d,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var w=p(n(v.name&&v.name.value)).transitiveVars;if(w.size1)for(var r=new dr,i=1;i=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xx(e,t){if(e){if(typeof e=="string")return md(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return md(e,t)}}function md(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,a=!1,l=arguments[1],u=l;return new s(function(c){return i.subscribe({next:function(f){var d=!a;if(a=!0,!d||o)try{u=r(u,f)}catch(p){return c.error(p)}else u=f},error:function(f){c.error(f)},complete:function(){if(!a&&!o)return c.error(new TypeError("Cannot reduce an empty sequence"));c.next(u),c.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,s=new Array(i),o=0;o=0&&a.splice(d,1),u()}});a.push(f)},error:function(c){o.error(c)},complete:function(){u()}});function u(){l.closed&&a.length===0&&o.complete()}return function(){a.forEach(function(c){return c.unsubscribe()}),l.unsubscribe()}})},t[oc]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var s=$o(r,oc);if(s){var o=s.call(r);if(Object(o)!==o)throw new TypeError(o+" is not an object");return Zx(o)&&o.constructor===i?o:new i(function(a){return o.subscribe(a)})}if(pu("iterator")&&(s=$o(r,Jx),s))return new i(function(a){yo(function(){if(!a.closed){for(var l=Kx(s.call(r)),u;!(u=l()).done;){var c=u.value;if(a.next(c),a.closed)return}a.complete()}})});if(Array.isArray(r))return new i(function(a){yo(function(){if(!a.closed){for(var l=0;l=0;--a){var l=o[a],u=!isNaN(+l),c=u?[]:{};c[l]=s,s=c}n=r.merge(n,s)}),n}function vo(e){var t=cc(e);return dn(t)}function cc(e){var t=dn(e.errors)?e.errors.slice(0):[];return mi(e)&&dn(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function Li(){for(var e=[],t=0;t-1;){if(E=void 0,M=[a.slice(0,y),a.slice(y+o.length)],E=M[0],a=M[1],v=E.indexOf(`\r \r `),w=PO(E.slice(0,v)),g=w["content-type"],g&&g.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(S=E.slice(v),S){if(_=Tg(e,S),Object.keys(_).length>1||"data"in _||"incremental"in _||"errors"in _||"payload"in _)if(uO(_)){if(P={},"payload"in _){if(Object.keys(_).length===1&&_.payload===null)return[2];P=D({},_.payload)}"errors"in _&&(P=D(D({},P),{extensions:D(D({},"extensions"in P?P.extensions:null),(R={},R[gu]=_.errors,R))})),t(P)}else t(_);else if(Object.keys(_).length===1&&"hasNext"in _&&!_.hasNext)return[2]}y=a.indexOf(o)}return[3,1];case 3:return[2]}})})}function PO(e){var t={};return e.split(` `).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),s=n.slice(r+1).trim();t[i]=s}}),t}function Tg(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Eg(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function kO(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function AO(e){return function(t){return t.text().then(function(n){return Tg(t,n)}).then(function(n){return!Array.isArray(n)&&!Ed.call(n,"data")&&!Ed.call(n,"errors")&&Eg(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var fc=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=_t(42,t,i.message);throw r.parseError=i,r}return n},IO={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},MO={accept:"*/*","content-type":"application/json"},RO={method:"POST"},DO={http:IO,headers:MO,options:RO},LO=function(e,t){return t(e)};function FO(e,t){for(var n=[],r=2;r"u")throw _t(40)},jO=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function VO(e,t){var n=[],r=function(f,d){n.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=fc(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var s=void 0;try{s=fc(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",s)}var o="",a=e,l=e.indexOf("#");l!==-1&&(o=e.substr(l),a=e.substr(0,l));var u=a.indexOf("?")===-1?"?":"&",c=a+u+n.join("&")+o;return{newURI:c}}var _d=Qt(function(){return fetch}),xg=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,s=i===void 0?LO:i,o=e.includeExtensions,a=e.preserveHeaderCase,l=e.useGETForQueries,u=e.includeUnusedVariables,c=u===void 0?!1:u,f=kn(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&zO(r||_d);var d={http:{includeExtensions:o,preserveHeaderCase:a},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new Bs(function(p){var m=jO(p,n),y=p.getContext(),E={};if(y.clientAwareness){var v=y.clientAwareness,w=v.name,g=v.version;w&&(E["apollographql-client-name"]=w),g&&(E["apollographql-client-version"]=g)}var S=D(D({},E),y.headers),_={http:y.http,options:y.fetchOptions,credentials:y.credentials,headers:S};if(Ts(["client"],p.query)){var P=mg(p.query);if(!P)return il(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=P}var M=FO(p,s,DO,d,_),R=M.options,A=M.body;A.variables&&!c&&(A.variables=pO(A.variables,p.query));var k;!R.signal&&typeof AbortController<"u"&&(k=new AbortController,R.signal=k.signal);var B=function(me){return me.kind==="OperationDefinition"&&me.operation==="mutation"},z=function(me){return me.kind==="OperationDefinition"&&me.operation==="subscription"},G=z(js(p.query)),ue=Ts(["defer"],p.query);if(l&&!p.query.definitions.some(B)&&(R.method="GET"),ue||G){R.headers=R.headers||{};var pe="multipart/mixed;";G&&ue&&globalThis.__DEV__!==!1&&ce.warn(41),G?pe+="boundary=graphql;subscriptionSpec=1.0,application/json":ue&&(pe+="deferSpec=20220824,application/json"),R.headers.accept=pe}if(R.method==="GET"){var $=VO(m,A),K=$.newURI,J=$.parseError;if(J)return il(J);m=K}else try{R.body=fc(A,"Payload")}catch(me){return il(me)}return new ze(function(me){var at=r||Qt(function(){return fetch})||_d,it=me.next.bind(me);return at(m,R).then(function(qe){var Pt;p.setContext({response:qe});var Bt=(Pt=qe.headers)===null||Pt===void 0?void 0:Pt.get("content-type");return Bt!==null&&/^multipart\/mixed/i.test(Bt)?CO(qe,it):AO(p)(qe).then(it)}).then(function(){k=void 0,me.complete()}).catch(function(qe){k=void 0,kO(qe,me)}),function(){k&&k.abort()}})})},BO=function(e){hn(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,xg(n).request)||this;return r.options=n,r}return t}(Bs);const{toString:Td,hasOwnProperty:qO}=Object.prototype,xd=Function.prototype.toString,dc=new Map;function je(e,t){try{return hc(e,t)}finally{dc.clear()}}function hc(e,t){if(e===t)return!0;const n=Td.call(e),r=Td.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Cd(e,t))return!0;const i=Od(e),s=Od(t),o=i.length;if(o!==s.length)return!1;for(let a=0;a=0&&e.indexOf(t,n)===n}function Cd(e,t){let n=dc.get(e);if(n){if(n.has(t))return!0}else dc.set(e,n=new Set);return n.add(t),!1}function Og(e,t,n,r){var i=t.data,s=kn(t,["data"]),o=n.data,a=kn(n,["data"]);return je(s,a)&&bo(js(e).selectionSet,i,o,{fragmentMap:zi(Vi(e)),variables:r})}function bo(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every(function(s){if(i.has(s)||(i.add(s),!zs(s,r.variables))||Pd(s))return!0;if(ur(s)){var o=Dn(s),a=t&&t[o],l=n&&n[o],u=s.selectionSet;if(!u)return je(a,l);var c=Array.isArray(a),f=Array.isArray(l);if(c!==f)return!1;if(c&&f){var d=a.length;if(l.length!==d)return!1;for(var p=0;p"u"&&(ce(i.length===1,49,i.length),r=i[0].name.value);var s=i.find(function(o){return o.name.value===r});return ce(!!s,50,r),e==null||je(e,{})?e:Ag(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:zi(Vi(t)),cache:n,mutableTargets:new Cg,knownChanged:new Pg})}function YO(e,t,n){var r;if(!n.fragmentMatches)return globalThis.__DEV__!==!1&&kg(),e;var i=Br(t);return ce(i,51),e==null?e:Ag(e,i.selectionSet,{operationType:i.operation,operationName:(r=i.name)===null||r===void 0?void 0:r.value,fragmentMap:zi(Vi(t)),cache:n,mutableTargets:new Cg,knownChanged:new Pg})}var Mg=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Os(ex,{max:Rn["cache.fragmentQueryDocuments"]||1e3,cache:Ho})}return e.prototype.lookupFragment=function(t){return null},e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(D(D({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.watchFragment=function(t){var n=this,r=t.fragment,i=t.fragmentName,s=t.from,o=t.optimistic,a=o===void 0?!0:o,l=kn(t,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(r,i),c=typeof s>"u"||typeof s=="string"?s:this.identify(s),f=!!t[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var d=i||eg(r).name.value;c||globalThis.__DEV__!==!1&&ce.warn(1,d)}var p=D(D({},l),{returnPartialData:!0,id:c,query:u,optimistic:a}),m;return new ze(function(y){return n.watch(D(D({},p),{immediate:!0,callback:function(E){var v=f?Ig(E.result,r,n,i):E.result;if(!(m&&Og(u,{data:m.result},{data:v},t.variables))){var w={data:v,complete:!!E.complete};E.missing&&(w.missing=Sa(E.missing.map(function(g){return g.missing}))),m=D(D({},E),{result:v}),y.next(w)}}}))})},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(D(D({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=kn(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,s=t.fragmentName,o=kn(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,s),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),s=n(i);return s==null?i:(r.writeQuery(D(D({},t),{data:s})),s)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),s=n(i);return s==null?i:(r.writeFragment(D(D({},t),{data:s})),s)}})},e}();globalThis.__DEV__!==!1&&(Mg.prototype.getMemoryInternals=dx);var Rg=function(e){hn(t,e);function t(n,r,i,s){var o,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=s,Array.isArray(a.path)){a.missing=a.message;for(var l=a.path.length-1;l>=0;--l)a.missing=(o={},o[a.path[l]]=a.missing,o)}else a.missing=a.path;return a.__proto__=t.prototype,a}return t}(Error),nt=Object.prototype.hasOwnProperty;function Ki(e){return e==null}function Dg(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=Ki(r)?Ki(i)?void 0:{_id:i}:{id:r}),Ki(r)&&!Ki(i)&&(r=i),!Ki(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var Lg={dataIdFromObject:Dg,addTypename:!0,resultCaching:!0,canonizeResults:!1};function KO(e){return Li(Lg,e)}function Fg(e){var t=e.canonizeResults;return t===void 0?Lg.canonizeResults:t}function XO(e,t){return Re(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var Ng=/^[_a-z][_0-9a-z]*/i;function hr(e){var t=e.match(Ng);return t?t[0]:e}function pc(e,t,n){return Ye(t)?Ke(t)?t.every(function(r){return pc(e,r,n)}):e.selections.every(function(r){if(ur(r)&&zs(r,n)){var i=Dn(r);return nt.call(t,i)&&(!r.selectionSet||pc(r.selectionSet,t[i],n))}return!0}):!1}function ii(e){return Ye(e)&&!Re(e)&&!Ke(e)}function JO(){return new dr}function zg(e,t){var n=zi(Vi(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var wo=Object.create(null),sl=function(){return wo},Ad=Object.create(null),Cs=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,s){return Wo(Re(i)?r.get(i.__ref,s):i&&i[s])},this.canRead=function(i){return Re(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return pi(i);if(Re(i))return i;var o=r.policies.identify(i)[0];if(o){var a=pi(o);return s&&r.merge(o,i),a}}}return e.prototype.toObject=function(){return D({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),nt.call(this.data,t)){var r=this.data[t];if(r&&nt.call(r,n))return r[n]}if(n==="__typename"&&nt.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof qn)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),nt.call(this.data,t))return this.data[t];if(this instanceof qn)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;Re(t)&&(t=t.__ref),Re(n)&&(n=n.__ref);var s=typeof t=="string"?this.lookup(i=t):t,o=typeof n=="string"?this.lookup(i=n):n;if(o){ce(typeof i=="string",2);var a=new dr(eC).merge(s,o);if(this.data[i]=a,a!==s&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);s||(l.__exists=1),Object.keys(o).forEach(function(u){if(!s||s[u]!==a[u]){l[u]=1;var c=hr(u);c!==u&&!r.policies.hasKeyArgs(a.__typename,c)&&(l[c]=1),a[u]===void 0&&!(r instanceof qn)&&delete a[u]}}),l.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===a.__typename&&delete l.__typename,Object.keys(l).forEach(function(u){return r.group.dirty(i,u)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var s=Object.create(null),o=!1,a=!0,l={DELETE:wo,INVALIDATE:Ad,isReference:Re,toReference:this.toReference,canRead:this.canRead,readField:function(u,c){return r.policies.readField(typeof u=="string"?{fieldName:u,from:c||pi(t)}:u,{store:r})}};if(Object.keys(i).forEach(function(u){var c=hr(u),f=i[u];if(f!==void 0){var d=typeof n=="function"?n:n[u]||n[c];if(d){var p=d===sl?wo:d(Wo(f),D(D({},l),{fieldName:c,storeFieldName:u,storage:r.getStorage(t,u)}));if(p===Ad)r.group.dirty(t,u);else if(p===wo&&(p=void 0),p!==f&&(s[u]=p,o=!0,f=p,globalThis.__DEV__!==!1)){var m=function(_){if(r.lookup(_.__ref)===void 0)return globalThis.__DEV__!==!1&&ce.warn(3,_),!0};if(Re(p))m(p);else if(Array.isArray(p))for(var y=!1,E=void 0,v=0,w=p;v0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof qn?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(o){nt.call(r,o)&&(Object.keys(t.findChildRefIds(o)).forEach(n.add,n),delete r[o])});var i=Object.keys(r);if(i.length){for(var s=this;s instanceof qn;)s=s.parent;i.forEach(function(o){return s.delete(o)})}return i},e.prototype.findChildRefIds=function(t){if(!nt.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(s){Re(s)&&(n[s.__ref]=!0),Ye(s)&&Object.keys(s).forEach(function(o){var a=s[o];Ye(a)&&i.add(a)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),jg=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?fg():null,this.keyMaker=new zn(Wr)},e.prototype.depend=function(t,n){if(this.d){this.d(ol(t,n));var r=hr(n);r!==n&&this.d(ol(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(ol(t,n),n==="__exists"?"forget":"setDirty")},e}();function ol(e,t){return t+"#"+e}function Id(e,t){hs(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){hn(r,n);function r(i){var s=i.policies,o=i.resultCaching,a=o===void 0?!0:o,l=i.seed,u=n.call(this,s,new jg(a))||this;return u.stump=new ZO(u),u.storageTrie=new zn(Wr),l&&u.replace(l),u}return r.prototype.addLayer=function(i,s){return this.stump.addLayer(i,s)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(Cs||(Cs={}));var qn=function(e){hn(t,e);function t(n,r,i,s){var o=e.call(this,r.policies,s)||this;return o.id=n,o.parent=r,o.replay=i,o.group=s,i(o),o}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var o=r.data[s],a=i.lookup(s);a?o?o!==a&&Object.keys(o).forEach(function(l){je(o[l],a[l])||r.group.dirty(s,l)}):(r.group.dirty(s,"__exists"),Object.keys(a).forEach(function(l){r.group.dirty(s,l)})):r.delete(s)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return D(D({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return nt.call(this.data,n)?D(D({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(Cs),ZO=function(e){hn(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new jg(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(n,r){return this.parent.merge(n,r)},t}(qn);function eC(e,t,n){var r=e[n],i=t[n];return je(r,i)?r:i}function hs(e){return!!(e instanceof Cs&&e.group.caching)}function tC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nC(e){return Ye(e)?Ke(e)?e.slice(0):D({__proto__:Object.getPrototypeOf(e)},e):e}var Md=function(){function e(){this.known=new(ou?WeakSet:Set),this.pool=new zn(Wr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return Ye(t)&&this.known.has(t)},e.prototype.pass=function(t){if(Ye(t)){var n=nC(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(Ye(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var s=t.map(this.admit,this),o=this.pool.lookupArray(s);return o.array||(this.known.add(o.array=s),globalThis.__DEV__!==!1&&Object.freeze(s)),o.array}case null:case Object.prototype:{if(this.known.has(t))return t;var a=Object.getPrototypeOf(t),l=[a],u=this.sortedKeys(t);l.push(u.json);var c=l.length;u.sorted.forEach(function(p){l.push(n.admit(t[p]))});var o=this.pool.lookupArray(l);if(!o.object){var f=o.object=Object.create(a);this.known.add(f),u.sorted.forEach(function(p,m){f[p]=l[c+m]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return o.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}();function Rd(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rC=function(){function e(t){var n=this;this.knownResults=new(Wr?WeakMap:Map),this.config=Li(t,{addTypename:t.addTypename!==!1,canonizeResults:Fg(t)}),this.canon=t.canon||new Md,this.executeSelectionSet=Os(function(r){var i,s=r.context.canonizeResults,o=Rd(r);o[3]=!s;var a=(i=n.executeSelectionSet).peek.apply(i,o);return a?s?D(D({},a),{result:n.canon.admit(a.result)}):a:(Id(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize||Rn["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Rd,makeCacheKey:function(r,i,s,o){if(hs(s.store))return s.store.makeCacheKey(r,Re(i)?i.__ref:i,s.varString,o)}}),this.executeSubSelectedArray=Os(function(r){return Id(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize||Rn["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(r){var i=r.field,s=r.array,o=r.context;if(hs(o.store))return o.store.makeCacheKey(i,s,o.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Md},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,s=i===void 0?"ROOT_QUERY":i,o=t.variables,a=t.returnPartialData,l=a===void 0?!0:a,u=t.canonizeResults,c=u===void 0?this.config.canonizeResults:u,f=this.config.cache.policies;o=D(D({},au(Zm(r))),o);var d=pi(s),p=this.executeSelectionSet({selectionSet:js(r).selectionSet,objectOrReference:d,enclosingRef:d,context:D({store:n,query:r,policies:f,variables:o,varString:lr(o),canonizeResults:c},zg(r,this.config.fragments))}),m;if(p.missing&&(m=[new Rg(iC(p.missing),p.missing,r,o)],!l))throw m[0];return{result:p.result,complete:!m,missing:m}},e.prototype.isFresh=function(t,n,r,i){if(hs(i.store)&&this.knownResults.get(t)===r){var s=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(s&&t===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,s=t.enclosingRef,o=t.context;if(Re(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var a=o.variables,l=o.policies,u=o.store,c=u.getFieldValue(i,"__typename"),f=[],d,p=new dr;this.config.addTypename&&typeof c=="string"&&!l.rootIdsByTypename[c]&&f.push({__typename:c});function m(g,S){var _;return g.missing&&(d=p.merge(d,(_={},_[S]=g.missing,_))),g.result}var y=new Set(r.selections);y.forEach(function(g){var S,_;if(zs(g,a))if(ur(g)){var P=l.readField({fieldName:g.name.value,field:g,variables:o.variables,from:i},o),M=Dn(g);P===void 0?fu.added(g)||(d=p.merge(d,(S={},S[M]="Can't find field '".concat(g.name.value,"' on ").concat(Re(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),S))):Ke(P)?P.length>0&&(P=m(n.executeSubSelectedArray({field:g,array:P,enclosingRef:s,context:o}),M)):g.selectionSet?P!=null&&(P=m(n.executeSelectionSet({selectionSet:g.selectionSet,objectOrReference:P,enclosingRef:Re(P)?P:s,context:o}),M)):o.canonizeResults&&(P=n.canon.pass(P)),P!==void 0&&f.push((_={},_[M]=P,_))}else{var R=ya(g,o.lookupFragment);if(!R&&g.kind===Ve.FRAGMENT_SPREAD)throw _t(10,g.name.value);R&&l.fragmentMatches(R,c)&&R.selectionSet.selections.forEach(y.add,y)}});var E=Sa(f),v={result:E,missing:d},w=o.canonizeResults?this.canon.admit(v):Wo(v);return w.result&&this.knownResults.set(w.result,r),w},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,s=t.enclosingRef,o=t.context,a,l=new dr;function u(c,f){var d;return c.missing&&(a=l.merge(a,(d={},d[f]=c.missing,d))),c.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(c,f){return c===null?null:Ke(c)?u(n.executeSubSelectedArray({field:r,array:c,enclosingRef:s,context:o}),f):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:c,enclosingRef:Re(c)?c:s,context:o}),f):(globalThis.__DEV__!==!1&&sC(o.store,r,c),c)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:a}},e}();function iC(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function sC(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){Ye(i)&&(ce(!Re(i),11,XO(e,i),t.name.value),Object.values(i).forEach(r.add,r))})}}var vu=new Vs,Dd=new WeakMap;function ps(e){var t=Dd.get(e);return t||Dd.set(e,t={vars:new Set,dep:fg()}),t}function Ld(e){ps(e).vars.forEach(function(t){return t.forgetCache(e)})}function oC(e){ps(e).vars.forEach(function(t){return t.attachCache(e)})}function aC(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(l){ps(l).dep.dirty(r),lC(l)});var o=Array.from(n);n.clear(),o.forEach(function(l){return l(e)})}}else{var a=vu.getValue();a&&(i(a),ps(a).dep(r))}return e};r.onNextChange=function(s){return n.add(s),function(){n.delete(s)}};var i=r.attachCache=function(s){return t.add(s),ps(s).vars.add(r),r};return r.forgetCache=function(s){return t.delete(s)},r}function lC(e){e.broadcastWatches&&e.broadcastWatches()}var Fd=Object.create(null);function bu(e){var t=JSON.stringify(e);return Fd[t]||(Fd[t]=Object.create(null))}function Nd(e){var t=bu(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(o,a){return r.readField(a,o)},s=r.keyObject=wu(e,function(o){var a=gi(r.storeObject,o,i);return a===void 0&&n!==r.storeObject&&nt.call(n,o[0])&&(a=gi(n,o,Bg)),ce(a!==void 0,5,o.join("."),n),a});return"".concat(r.typename,":").concat(JSON.stringify(s))})}function zd(e){var t=bu(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,s=r.variables,o=r.fieldName,a=wu(e,function(u){var c=u[0],f=c.charAt(0);if(f==="@"){if(i&&dn(i.directives)){var d=c.slice(1),p=i.directives.find(function(v){return v.name.value===d}),m=p&&va(p,s);return m&&gi(m,u.slice(1))}return}if(f==="$"){var y=c.slice(1);if(s&&nt.call(s,y)){var E=u.slice(0);return E[0]=y,gi(s,E)}return}if(n)return gi(n,u)}),l=JSON.stringify(a);return(n||l!=="{}")&&(o+=":"+l),o})}function wu(e,t){var n=new dr;return Vg(e).reduce(function(r,i){var s,o=t(i);if(o!==void 0){for(var a=i.length-1;a>=0;--a)o=(s={},s[i[a]]=o,s);r=n.merge(r,o)}return r},Object.create(null))}function Vg(e){var t=bu(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,s){Ke(i)?(Vg(i).forEach(function(o){return n.push(r.concat(o))}),r.length=0):(r.push(i),Ke(e[s+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function Bg(e,t){return e[t]}function gi(e,t,n){return n=n||Bg,qg(t.reduce(function r(i,s){return Ke(i)?i.map(function(o){return r(o,s)}):i&&n(i,s)},e))}function qg(e){return Ye(e)?Ke(e)?e.map(qg):wu(Object.keys(e).sort(),function(t){return gi(e,t)}):e}function mc(e){return e.args!==void 0?e.args:e.field?va(e.field,e.variables):null}var cC=function(){},jd=function(e,t){return t.fieldName},Vd=function(e,t,n){var r=n.mergeObjects;return r(e,t)},Bd=function(e,t){return t},uC=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=D({dataIdFromObject:Dg},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,s=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var o=n&&n.storeObject||t,a=D(D({},n),{typename:s,storeObject:o,readField:n&&n.readField||function(){var f=Su(arguments,o);return i.readField(f,{store:i.cache.data,variables:f.variables})}}),l,u=s&&this.getTypePolicy(s),c=u&&u.keyFn||this.config.dataIdFromObject;return yu.withValue(!0,function(){for(;c;){var f=c(D(D({},t),o),a);if(Ke(f))c=Nd(f);else{l=f;break}}}),l=l?String(l):void 0,a.keyObject?[l,a.keyObject]:[l]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,l=kn(i,["queryType","mutationType","subscriptionType"]);s&&n.setRootTypename("Query",r),o&&n.setRootTypename("Mutation",r),a&&n.setRootTypename("Subscription",r),nt.call(n.toBeAdded,r)?n.toBeAdded[r].push(l):n.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),s=n.keyFields,o=n.fields;function a(l,u){l.merge=typeof u=="function"?u:u===!0?Vd:u===!1?Bd:l.merge}a(i,n.merge),i.keyFn=s===!1?cC:Ke(s)?Nd(s):typeof s=="function"?s:i.keyFn,o&&Object.keys(o).forEach(function(l){var u=r.getFieldPolicy(t,l,!0),c=o[l];if(typeof c=="function")u.read=c;else{var f=c.keyArgs,d=c.read,p=c.merge;u.keyFn=f===!1?jd:Ke(f)?zd(f):typeof f=="function"?f:u.keyFn,typeof d=="function"&&(u.read=d),a(u,p)}u.read&&u.merge&&(u.keyFn=u.keyFn||jd)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(ce(!i||i===t,6,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var s=i.match(Ng);(!s||s[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!nt.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(o,a){if(o.test(t)){var l=n.supertypeMap.get(a);l&&l.forEach(function(u){return i.add(u)})}})),i&&i.size&&i.forEach(function(o){var a=n.getTypePolicy(o),l=a.fields,u=kn(a,["fields"]);Object.assign(r,u),Object.assign(r.fields,l)})}var s=this.toBeAdded[t];return s&&s.length&&s.splice(0).forEach(function(o){n.updateTypePolicy(t,o)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var s=this;if(!t.typeCondition)return!0;if(!n)return!1;var o=t.typeCondition.name.value;if(n===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(n,!0),l=[a],u=function(m){var y=s.getSupertypeSet(m,!1);y&&y.size&&l.indexOf(y)<0&&l.push(y)},c=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d1?i:t}:(o=D({},r),nt.call(o,"from")||(o.from=t)),globalThis.__DEV__!==!1&&o.from===void 0&&globalThis.__DEV__!==!1&&ce.warn(8,Bm(Array.from(e))),o.variables===void 0&&(o.variables=n),o}function Hg(e){return function(n,r){if(Ke(n)||Ke(r))throw _t(9);if(Ye(n)&&Ye(r)){var i=e.getFieldValue(n,"__typename"),s=e.getFieldValue(r,"__typename"),o=i&&s&&i!==s;if(o)return r;if(Re(n)&&ii(r))return e.merge(n.__ref,r),n;if(ii(n)&&Re(r))return e.merge(n,r.__ref),r;if(ii(n)&&ii(r))return D(D({},n),r)}return r}}function al(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:D(D({},e),{clientOnly:t,deferred:n})),i}var fC=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,s=n.result,o=n.dataId,a=n.variables,l=n.overwrite,u=Br(i),c=JO();a=D(D({},au(u)),a);var f=D(D({store:t,written:Object.create(null),merge:function(p,m){return c.merge(p,m)},variables:a,varString:lr(a)},zg(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:s||Object.create(null),dataId:o,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:f});if(!Re(d))throw _t(12,s);return f.incomingById.forEach(function(p,m){var y=p.storeObject,E=p.mergeTree,v=p.fieldNodeSet,w=pi(m);if(E&&E.map.size){var g=r.applyMerges(E,w,y,f);if(Re(g))return;y=g}if(globalThis.__DEV__!==!1&&!f.overwrite){var S=Object.create(null);v.forEach(function(M){M.selectionSet&&(S[M.name.value]=!0)});var _=function(M){return S[hr(M)]===!0},P=function(M){var R=E&&E.map.get(M);return!!(R&&R.info&&R.info.merge)};Object.keys(y).forEach(function(M){_(M)&&!P(M)&&dC(w,y,M,f.store)})}t.merge(m,y)}),t.retain(d.__ref),d},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,s=t.selectionSet,o=t.context,a=t.mergeTree,l=this.cache.policies,u=Object.create(null),c=r&&l.rootTypenamesById[r]||sc(i,s,o.fragmentMap)||r&&o.store.get(r,"__typename");typeof c=="string"&&(u.__typename=c);var f=function(){var g=Su(arguments,u,o.variables);if(Re(g.from)){var S=o.incomingById.get(g.from.__ref);if(S){var _=l.readField(D(D({},g),{from:S.storeObject}),o);if(_!==void 0)return _}}return l.readField(g,o)},d=new Set;this.flattenFields(s,i,o,c).forEach(function(g,S){var _,P=Dn(S),M=i[P];if(d.add(S),M!==void 0){var R=l.getStoreFieldName({typename:c,fieldName:S.name.value,field:S,variables:g.variables}),A=Hd(a,R),k=n.processFieldValue(M,S,S.selectionSet?al(g,!1,!1):g,A),B=void 0;S.selectionSet&&(Re(k)||ii(k))&&(B=f("__typename",k));var z=l.getMergeFunction(c,S.name.value,B);z?A.info={field:S,typename:c,merge:z}:$d(a,R),u=g.merge(u,(_={},_[R]=k,_))}else globalThis.__DEV__!==!1&&!g.clientOnly&&!g.deferred&&!fu.added(S)&&!l.getReadFunction(c,S.name.value)&&globalThis.__DEV__!==!1&&ce.error(13,Dn(S),i)});try{var p=l.identify(i,{typename:c,selectionSet:s,fragmentMap:o.fragmentMap,storeObject:u,readField:f}),m=p[0],y=p[1];r=r||m,y&&(u=o.merge(u,y))}catch(g){if(!r)throw g}if(typeof r=="string"){var E=pi(r),v=o.written[r]||(o.written[r]=[]);if(v.indexOf(s)>=0||(v.push(s),this.reader&&this.reader.isFresh(i,E,s,o)))return E;var w=o.incomingById.get(r);return w?(w.storeObject=o.merge(w.storeObject,u),w.mergeTree=gc(w.mergeTree,a),d.forEach(function(g){return w.fieldNodeSet.add(g)})):o.incomingById.set(r,{storeObject:u,mergeTree:Qo(a)?void 0:a,fieldNodeSet:d}),E}return u},e.prototype.processFieldValue=function(t,n,r,i){var s=this;return!n.selectionSet||t===null?globalThis.__DEV__!==!1?bg(t):t:Ke(t)?t.map(function(o,a){var l=s.processFieldValue(o,n,r,Hd(i,a));return $d(i,a),l}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=sc(n,t,r.fragmentMap));var s=new Map,o=this.cache.policies,a=new zn(!1);return function l(u,c){var f=a.lookup(u,c.clientOnly,c.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(d){if(zs(d,r.variables)){var p=c.clientOnly,m=c.deferred;if(!(p&&m)&&dn(d.directives)&&d.directives.forEach(function(v){var w=v.name.value;if(w==="client"&&(p=!0),w==="defer"){var g=va(v,r.variables);(!g||g.if!==!1)&&(m=!0)}}),ur(d)){var y=s.get(d);y&&(p=p&&y.clientOnly,m=m&&y.deferred),s.set(d,al(r,p,m))}else{var E=ya(d,r.lookupFragment);if(!E&&d.kind===Ve.FRAGMENT_SPREAD)throw _t(14,d.name.value);E&&o.fragmentMatches(E,i,n,r.variables)&&l(E.selectionSet,al(r,p,m))}}}))}(t,r),s},e.prototype.applyMerges=function(t,n,r,i,s){var o,a=this;if(t.map.size&&!Re(r)){var l=!Ke(r)&&(Re(n)||ii(n))?n:void 0,u=r;l&&!s&&(s=[Re(l)?l.__ref:l]);var c,f=function(d,p){return Ke(d)?typeof p=="number"?d[p]:void 0:i.store.getFieldValue(d,String(p))};t.map.forEach(function(d,p){var m=f(l,p),y=f(u,p);if(y!==void 0){s&&s.push(p);var E=a.applyMerges(d,m,y,i,s);E!==y&&(c=c||new Map,c.set(p,E)),s&&ce(s.pop()===p)}}),c&&(r=Ke(u)?u.slice(0):D({},u),c.forEach(function(d,p){r[p]=d}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,s&&(o=i.store).getStorage.apply(o,s)):r},e}(),$g=[];function Hd(e,t){var n=e.map;return n.has(t)||n.set(t,$g.pop()||{map:new Map}),n.get(t)}function gc(e,t){if(e===t||!t||Qo(t))return e;if(!e||Qo(e))return t;var n=e.info&&t.info?D(D({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,s={info:n,map:i};if(r){var o=new Set(t.map.keys());e.map.forEach(function(a,l){s.map.set(l,gc(a,t.map.get(l))),o.delete(l)}),o.forEach(function(a){s.map.set(a,gc(t.map.get(a),e.map.get(a)))})}return s}function Qo(e){return!e||!(e.info||e.map.size)}function $d(e,t){var n=e.map,r=n.get(t);r&&Qo(r)&&($g.push(r),n.delete(t))}var Wd=new Set;function dC(e,t,n,r){var i=function(f){var d=r.getFieldValue(f,n);return typeof d=="object"&&d},s=i(e);if(s){var o=i(t);if(o&&!Re(s)&&!je(s,o)&&!Object.keys(s).every(function(f){return r.getFieldValue(o,f)!==void 0})){var a=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=hr(n),u="".concat(a,".").concat(l);if(!Wd.has(u)){Wd.add(u);var c=[];!Ke(s)&&!Ke(o)&&[s,o].forEach(function(f){var d=r.getFieldValue(f,"__typename");typeof d=="string"&&!c.includes(d)&&c.push(d)}),globalThis.__DEV__!==!1&&ce.warn(15,l,a,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",u,D({},s),D({},o))}}}}var Wg=function(e){hn(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new dg(fu),r.assumeImmutableResults=!0,r.makeVar=aC,r.txCount=0,r.config=KO(n),r.addTypename=!!r.config.addTypename,r.policies=new uC({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new Cs.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,s=this.config.fragments;this.storeWriter=new fC(this,this.storeReader=new rC({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Fg(this.config),canon:n?void 0:i&&i.canon,fragments:s}),s),this.maybeBroadcastWatch=Os(function(o,a){return r.broadcastWatch(o,a)},{max:this.config.resultCacheMaxSize||Rn["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(o){var a=o.optimistic?r.optimisticData:r.data;if(hs(a)){var l=o.optimistic,u=o.id,c=o.variables;return a.makeCacheKey(o.query,o.callback,lr({optimistic:l,id:u,variables:c}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(o){return o.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(D(D({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(s){if(s instanceof Rg)return null;throw s}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(nt.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return this.storeReader.diffQueryAgainstStore(D(D({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||oC(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&Ld(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){var r;lr.reset(),Cr.reset(),this.addTypenameTransform.resetCache(),(r=this.config.fragments)===null||r===void 0||r.resetCaches();var i=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),i},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(Re(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(r){globalThis.__DEV__!==!1&&ce.warn(r)}},t.prototype.evict=function(n){if(!n.id){if(nt.call(n,"id"))return!1;n=D(D({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),lr.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),Ld(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,s=n.optimistic,o=s===void 0?!0:s,a=n.removeOptimistic,l=n.onWatchUpdated,u,c=function(d){var p=r,m=p.data,y=p.optimisticData;++r.txCount,d&&(r.data=r.optimisticData=d);try{return u=i(r)}finally{--r.txCount,r.data=m,r.optimisticData=y}},f=new Set;return l&&!this.txCount&&this.broadcastWatches(D(D({},n),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof o=="string"?this.optimisticData=this.optimisticData.addLayer(o,c):o===!1?c(this.data):c(),typeof a=="string"&&(this.optimisticData=this.optimisticData.removeLayer(a)),l&&f.size?(this.broadcastWatches(D(D({},n),{onWatchUpdated:function(d,p){var m=l.call(this,d,p);return m!==!1&&f.delete(d),m}})),f.size&&f.forEach(function(d){return r.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(n),u},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){return this.addTypenameToDocument(this.addFragmentsToDocument(n))},t.prototype.fragmentMatches=function(n,r){return this.policies.fragmentMatches(n,r)},t.prototype.lookupFragment=function(n){var r;return((r=this.config.fragments)===null||r===void 0?void 0:r.lookup(n))||null},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.addFragmentsToDocument=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.addTypenameToDocument=function(n){return this.addTypename?this.addTypenameTransform.transformDocument(n):n},t.prototype.broadcastWatch=function(n,r){var i=n.lastDiff,s=this.diff(n);r&&(n.optimistic&&typeof r.optimistic=="string"&&(s.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,s,i)===!1)||(!i||!je(i.result,s.result))&&n.callback(n.lastDiff=s,i)},t}(Mg);globalThis.__DEV__!==!1&&(Wg.prototype.getMemoryInternals=fx);var ke;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(ke||(ke={}));function si(e){return e?e<7:!1}var Qd=Object.assign,hC=Object.hasOwnProperty,So=function(e){hn(t,e);function t(n){var r=n.queryManager,i=n.queryInfo,s=n.options,o=this,a=t.inactiveOnCreation.getValue();o=e.call(this,function(v){a&&(r.queries.set(o.queryId,i),a=!1);try{var w=v._subscription._observer;w&&!w.error&&(w.error=pC)}catch{}var g=!o.observers.size;o.observers.add(v);var S=o.last;return S&&S.error?v.error&&v.error(S.error):S&&S.result&&v.next&&v.next(o.maskResult(S.result)),g&&o.reobserve().catch(function(){}),function(){o.observers.delete(v)&&!o.observers.size&&o.tearDownQuery()}})||this,o.observers=new Set,o.subscriptions=new Set,o.dirty=!1,o.queryInfo=i,o.queryManager=r,o.waitForOwnResult=ll(s.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var l=r.defaultOptions.watchQuery,u=l===void 0?{}:l,c=u.fetchPolicy,f=c===void 0?"cache-first":c,d=s.fetchPolicy,p=d===void 0?f:d,m=s.initialFetchPolicy,y=m===void 0?p==="standby"?f:p:m;o.options=D(D({},s),{initialFetchPolicy:y,fetchPolicy:p}),o.queryId=i.queryId||r.generateQueryId();var E=Br(o.query);return o.queryName=E&&E.name&&E.name.value,o}return Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var n=this;return new Promise(function(r,i){var s={next:function(a){r(a),n.observers.delete(s),n.observers.size||n.queryManager.removeQuery(n.queryId),setTimeout(function(){o.unsubscribe()},0)},error:i},o=n.subscribe(s)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(n){n===void 0&&(n=!0);var r=this.getLastResult(!0),i=this.queryInfo.networkStatus||r&&r.networkStatus||ke.ready,s=D(D({},r),{loading:si(i),networkStatus:i}),o=this.options.fetchPolicy,a=o===void 0?"cache-first":o;if(!(ll(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),je(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===ke.loading&&(a==="cache-first"||a==="cache-only")&&(s.networkStatus=ke.ready,s.loading=!1)):s.partial=!0,s.networkStatus===ke.ready&&(s.error||s.errors)&&(s.networkStatus=ke.error),globalThis.__DEV__!==!1&&!l.complete&&!this.options.partialRefetch&&!s.loading&&!s.data&&!s.error&&Qg(l.missing)}return n&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(n){return n===void 0&&(n=!0),this.maskResult(this.getCurrentFullResult(n))},t.prototype.isDifferentFromLastResult=function(n,r){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query),s=this.queryManager.dataMasking,o=s?i.nonReactiveQuery:this.query,a=s||i.hasNonreactiveDirective?!Og(o,this.last.result,n,this.variables):!je(this.last.result,n);return a||r&&!je(this.last.variables,r)},t.prototype.getLast=function(n,r){var i=this.last;if(i&&i[n]&&(!r||je(i.variables,this.variables)))return i[n]},t.prototype.getLastResult=function(n){return this.getLast("result",n)},t.prototype.getLastError=function(n){return this.getLast("error",n)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(n){var r,i={pollInterval:0},s=this.options.fetchPolicy;if(s==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&n&&hC.call(n,"variables")){var o=Zm(this.query),a=o.variableDefinitions;(!a||!a.some(function(l){return l.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&ce.warn(21,n,((r=o.name)===null||r===void 0?void 0:r.value)||o)}return n&&!je(this.options.variables,n)&&(i.variables=this.options.variables=D(D({},this.options.variables),n)),this.queryInfo.resetLastWrite(),this.reobserve(i,ke.refetch)},t.prototype.fetchMore=function(n){var r=this,i=D(D({},n.query?n:D(D(D(D({},this.options),{query:this.options.query}),n),{variables:D(D({},this.options.variables),n.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var s=this.queryManager.generateQueryId();this.lastQuery=n.query?this.transformDocument(this.options.query):i.query;var o=this.queryInfo,a=o.networkStatus;o.networkStatus=ke.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var l=new Set,u=n==null?void 0:n.updateQuery,c=this.options.fetchPolicy!=="no-cache";return c||ce(u,22),this.queryManager.fetchQuery(s,i,ke.fetchMore).then(function(f){if(r.queryManager.removeQuery(s),o.networkStatus===ke.fetchMore&&(o.networkStatus=a),c)r.queryManager.cache.batch({update:function(m){var y=n.updateQuery;y?m.updateQuery({query:r.query,variables:r.variables,returnPartialData:!0,optimistic:!1},function(E){return y(E,{fetchMoreResult:f.data,variables:i.variables})}):m.writeQuery({query:i.query,variables:i.variables,data:f.data})},onWatchUpdated:function(m){l.add(m.query)}});else{var d=r.getLast("result"),p=u(d.data,{fetchMoreResult:f.data,variables:i.variables});r.reportResult(D(D({},d),{networkStatus:a,loading:si(a),data:p}),r.variables)}return r.maskResult(f)}).finally(function(){c&&!l.has(r.query)&&r.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(n){var r=this,i=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:function(s){var o=n.updateQuery;o&&r.updateQuery(function(a,l){return o(a,D({subscriptionData:s},l))})},error:function(s){if(n.onError){n.onError(s);return}globalThis.__DEV__!==!1&&ce.error(23,s)}});return this.subscriptions.add(i),function(){r.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(n){return this.reobserve(n)},t.prototype.silentSetOptions=function(n){var r=Li(this.options,n||{});Qd(this.options,r)},t.prototype.setVariables=function(n){return je(this.variables,n)?this.observers.size?this.result():Promise.resolve():(this.options.variables=n,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},ke.setVariables):Promise.resolve())},t.prototype.updateQuery=function(n){var r=this.queryManager,i=r.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),s=i.result,o=i.complete,a=n(s,{variables:this.variables,complete:!!o,previousData:s});a&&(r.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(n){this.options.pollInterval=n,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(n,r){if(r.nextFetchPolicy){var i=r.fetchPolicy,s=i===void 0?"cache-first":i,o=r.initialFetchPolicy,a=o===void 0?s:o;s==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy(s,{reason:n,options:r,observable:this,initialFetchPolicy:a}):n==="variables-changed"?r.fetchPolicy=a:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy},t.prototype.fetch=function(n,r,i){var s=this.queryManager.getOrCreateQuery(this.queryId);return s.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(s,n,r,i)},t.prototype.updatePolling=function(){var n=this;if(!this.queryManager.ssrMode){var r=this,i=r.pollingInfo,s=r.options.pollInterval;if(!s||!this.hasObservers()){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===s)){ce(s,24);var o=i||(this.pollingInfo={});o.interval=s;var a=function(){var u,c;n.pollingInfo&&(!si(n.queryInfo.networkStatus)&&!(!((c=(u=n.options).skipPollAttempt)===null||c===void 0)&&c.call(u))?n.reobserve({fetchPolicy:n.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},ke.poll).then(l,l):l())},l=function(){var u=n.pollingInfo;u&&(clearTimeout(u.timeout),u.timeout=setTimeout(a,u.interval))};l()}}},t.prototype.updateLastResult=function(n,r){r===void 0&&(r=this.variables);var i=this.getLastError();return i&&this.last&&!je(r,this.last.variables)&&(i=void 0),this.last=D({result:this.queryManager.assumeImmutableResults?n:bg(n),variables:r},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(n,r){var i=this;this.isTornDown=!1;var s=r===ke.refetch||r===ke.fetchMore||r===ke.poll,o=this.options.variables,a=this.options.fetchPolicy,l=Li(this.options,n||{}),u=s?l:Qd(this.options,l),c=this.transformDocument(u.query);this.lastQuery=c,s||(this.updatePolling(),n&&n.variables&&!je(n.variables,o)&&u.fetchPolicy!=="standby"&&(u.fetchPolicy===a||typeof u.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",u),r===void 0&&(r=ke.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=ll(u.fetchPolicy));var f=function(){i.concast===m&&(i.waitForOwnResult=!1)},d=u.variables&&D({},u.variables),p=this.fetch(u,r,c),m=p.concast,y=p.fromLink,E={next:function(v){je(i.variables,d)&&(f(),i.reportResult(v,d))},error:function(v){je(i.variables,d)&&(_g(v)||(v=new xr({networkError:v})),f(),i.reportError(v,d))}};return!s&&(y||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=m,this.observer=E),m.addObserver(E),m},t.prototype.reobserve=function(n,r){return iO(this.reobserveAsConcast(n,r).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var n=[],r=0;r0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(n){return this.queryManager.transform(n)},t.prototype.maskResult=function(n){return n&&"data"in n?D(D({},n),{data:this.queryManager.maskOperation({document:this.query,data:n.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):n},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var n=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},t.prototype.notify=function(){if(this.cancelNotifyTimeout(),this.dirty&&(this.options.fetchPolicy=="cache-only"||this.options.fetchPolicy=="cache-and-network"||!si(this.queryInfo.networkStatus))){var n=this.queryInfo.getDiff();n.fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()}this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var n=this.options,r=n.fetchPolicy,i=n.nextFetchPolicy;return r==="cache-and-network"||r==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(s,o){return this.nextFetchPolicy=i,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(s,o):r}}):this.reobserve()},t.inactiveOnCreation=new Vs,t}(ze);wg(So);function pC(e){globalThis.__DEV__!==!1&&ce.error(25,e.message,e.stack)}function Qg(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&ce.debug(26,e)}function ll(e){return e==="network-only"||e==="no-cache"||e==="standby"}var oi=new(Wr?WeakMap:Map);function cl(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return oi.set(e,(oi.get(e)+1)%1e15),n.apply(this,arguments)})}var ul=function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=t.cache;oi.has(r)||(oi.set(r,0),cl(r,"evict"),cl(r,"modify"),cl(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||ke.loading;return this.variables&&this.networkStatus!==ke.loading&&!je(this.variables,t.variables)&&(n=ke.setVariables),je(t.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&je(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&n.options.fetchPolicy==="no-cache")return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n,r,i=this.lastDiff&&this.lastDiff.diff;t&&!t.complete&&(!((n=this.observableQuery)===null||n===void 0)&&n.getLastError())||(this.updateLastDiff(t),je(i&&i.result,t&&t.result)||(r=this.observableQuery)===null||r===void 0||r.scheduleNotify())},e.prototype.setObservableQuery=function(t){t!==this.observableQuery&&(this.observableQuery=t,t&&(t.queryInfo=this))},e.prototype.stop=function(){var t;if(!this.stopped){this.stopped=!0,(t=this.observableQuery)===null||t===void 0||t.resetNotifications(),this.cancel();var n=this.observableQuery;n&&n.stopPolling()}},e.prototype.cancel=function(){var t;(t=this.cancelWatch)===null||t===void 0||t.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=D(D({},this.getDiffOptions(t)),{watcher:this,callback:function(s){return n.setDiff(s)}});(!this.lastWatch||!je(i,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===oi.get(this.cache)&&je(n,r.variables)&&je(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var s=this,o,a=new dr,l=dn(t.errors)?t.errors.slice(0):[];if((o=this.observableQuery)===null||o===void 0||o.resetNotifications(),"incremental"in t&&dn(t.incremental)){var u=Sg(this.getDiff().result,t);t.data=u}else if("hasNext"in t&&t.hasNext){var c=this.getDiff();t.data=a.merge(c.result,t.data)}this.graphQLErrors=l,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(yc(t,r.errorPolicy)?this.cache.performTransaction(function(f){if(s.shouldWrite(t,r.variables))f.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),s.lastWrite={result:t,variables:r.variables,dmCount:oi.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){t.data=s.lastDiff.diff.result;return}var d=s.getDiffOptions(r.variables),p=f.diff(d);!s.stopped&&je(s.variables,r.variables)&&s.updateWatch(r.variables),s.updateLastDiff(p,d),p.complete&&(t.data=p.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=ke.ready},e.prototype.markError=function(t){var n;return this.networkStatus=ke.error,this.lastWrite=void 0,(n=this.observableQuery)===null||n===void 0||n.resetNotifications(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function yc(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!vo(e);return!r&&n&&e.data&&(r=!0),r}var mC=Object.prototype.hasOwnProperty,Ud=Object.create(null),gC=function(){function e(t){var n=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Um(Rn["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new zn(!1),this.noCacheWarningsByQueryId=new Set;var r=new dg(function(s){return n.cache.transformDocument(s)},{cache:!1});this.cache=t.cache,this.link=t.link,this.defaultOptions=t.defaultOptions,this.queryDeduplication=t.queryDeduplication,this.clientAwareness=t.clientAwareness,this.localState=t.localState,this.ssrMode=t.ssrMode,this.assumeImmutableResults=t.assumeImmutableResults,this.dataMasking=t.dataMasking;var i=t.documentTransform;this.documentTransform=i?r.concat(i).concat(r):r,this.defaultContext=t.defaultContext||Object.create(null),(this.onBroadcast=t.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(_t(27))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){return Yn(this,arguments,void 0,function(n){var r,i,s,o,a,l,u,c=n.mutation,f=n.variables,d=n.optimisticResponse,p=n.updateQueries,m=n.refetchQueries,y=m===void 0?[]:m,E=n.awaitRefetchQueries,v=E===void 0?!1:E,w=n.update,g=n.onQueryUpdated,S=n.fetchPolicy,_=S===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.fetchPolicy)||"network-only":S,P=n.errorPolicy,M=P===void 0?((u=this.defaultOptions.mutate)===null||u===void 0?void 0:u.errorPolicy)||"none":P,R=n.keepRootFields,A=n.context;return Kn(this,function(k){switch(k.label){case 0:return ce(c,28),ce(_==="network-only"||_==="no-cache",29),r=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),i=this.getDocumentInfo(c).hasClientExports,f=this.getVariables(c,f),i?[4,this.localState.addExportedVariables(c,f,A)]:[3,2];case 1:f=k.sent(),k.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[r]={mutation:c,variables:f,loading:!0,error:null}),o=d&&this.markMutationOptimistic(d,{mutationId:r,document:c,variables:f,fetchPolicy:_,errorPolicy:M,context:A,updateQueries:p,update:w,keepRootFields:R}),this.broadcastQueries(),a=this,[2,new Promise(function(B,z){return nl(a.getObservableFromLink(c,D(D({},A),{optimisticResponse:o?d:void 0}),f,{},!1),function(G){if(vo(G)&&M==="none")throw new xr({graphQLErrors:cc(G)});s&&(s.loading=!1,s.error=null);var ue=D({},G);return typeof y=="function"&&(y=y(ue)),M==="ignore"&&vo(ue)&&delete ue.errors,a.markMutationResult({mutationId:r,result:ue,document:c,variables:f,fetchPolicy:_,errorPolicy:M,context:A,update:w,updateQueries:p,awaitRefetchQueries:v,refetchQueries:y,removeOptimistic:o?r:void 0,onQueryUpdated:g,keepRootFields:R})}).subscribe({next:function(G){a.broadcastQueries(),(!("hasNext"in G)||G.hasNext===!1)&&B(D(D({},G),{data:a.maskOperation({document:c,data:G.data,fetchPolicy:_,id:r})}))},error:function(G){s&&(s.loading=!1,s.error=G),o&&a.cache.removeOptimistic(r),a.broadcastQueries(),z(G instanceof xr?G:new xr({networkError:G}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,s=[],o=t.fetchPolicy==="no-cache";if(!o&&yc(i,t.errorPolicy)){if(mi(i)||s.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),mi(i)&&dn(i.incremental)){var a=n.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;a.result&&(l=Sg(a.result,i)),typeof l<"u"&&(i.data=l,s.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var u=t.updateQueries;u&&this.queries.forEach(function(f,d){var p=f.observableQuery,m=p&&p.queryName;if(!(!m||!mC.call(u,m))){var y=u[m],E=r.queries.get(d),v=E.document,w=E.variables,g=n.diff({query:v,variables:w,returnPartialData:!0,optimistic:!1}),S=g.result,_=g.complete;if(_&&S){var P=y(S,{mutationResult:i,queryName:v&&Zi(v)||void 0,queryVariables:w});P&&s.push({result:P,dataId:"ROOT_QUERY",query:v,variables:w})}}})}if(s.length>0||(t.refetchQueries||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(f){o||s.forEach(function(y){return f.write(y)});var d=t.update,p=!cO(i)||mi(i)&&!i.hasNext;if(d){if(!o){var m=f.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});m.complete&&(i=D(D({},i),{data:m.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}p&&d(f,i,{context:t.context,variables:t.variables})}!o&&!t.keepRootFields&&p&&f.modify({id:"ROOT_MUTATION",fields:function(y,E){var v=E.fieldName,w=E.DELETE;return v==="__typename"?y:w}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(f){return c.push(f)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(c).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables,{IGNORE:Ud}):t;return i===Ud?!1:(this.cache.recordOptimisticTransaction(function(s){try{r.markMutationResult(D(D({},n),{result:{data:i}}),s)}catch(o){globalThis.__DEV__!==!1&&ce.error(o)}},n.mutationId),!0)},e.prototype.fetchQuery=function(t,n,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(t),n,r).concast.promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},e.prototype.getDocumentInfo=function(t){var n=this.transformCache;if(!n.has(t)){var r={hasClientExports:WT(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:Ts(["nonreactive"],t),nonReactiveQuery:Ux(t),clientQuery:this.localState.clientQuery(t),serverQuery:pg([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],t),defaultVars:au(Br(t)),asQuery:D(D({},t),{definitions:t.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?D(D({},i),{operation:"query"}):i})})};n.set(t,r)}return n.get(t)},e.prototype.getVariables=function(t,n){return D(D({},this.getDocumentInfo(t).defaultVars),n)},e.prototype.watchQuery=function(t){var n=this.transform(t.query);t=D(D({},t),{variables:this.getVariables(n,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var r=new ul(this),i=new So({queryManager:this,queryInfo:r,options:t});return i.lastQuery=n,So.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:n,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(t,n){var r=this;n===void 0&&(n=this.generateQueryId()),ce(t.query,30),ce(t.query.kind==="Document",31),ce(!t.returnPartialData,32),ce(!t.pollInterval,33);var i=this.transform(t.query);return this.fetchQuery(n,D(D({},t),{query:i})).then(function(s){return s&&D(D({},s),{data:r.maskOperation({document:i,data:s.data,fetchPolicy:t.fetchPolicy,id:n})})}).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}),this.cancelPendingFetches(_t(34)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=ke.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,s=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){if(typeof a=="string")i.set(a,a),s.set(a,!1);else if(bx(a)){var l=Cr(n.transform(a));i.set(l,Zi(a)),s.set(l,!1)}else Ye(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,l){var u=a.observableQuery,c=a.document;if(u){if(t==="all"){r.set(l,u);return}var f=u.queryName,d=u.options.fetchPolicy;if(d==="standby"||t==="active"&&!u.hasObservers())return;(t==="active"||f&&s.has(f)||c&&s.has(Cr(c)))&&(r.set(l,u),f&&s.set(f,!0),c&&s.set(Cr(c),!0))}}),o.size&&o.forEach(function(a){var l=ec("legacyOneTimeQuery"),u=n.getOrCreateQuery(l).init({document:a.query,variables:a.variables}),c=new So({queryManager:n,queryInfo:u,options:D(D({},a),{fetchPolicy:"network-only"})});ce(c.queryId===l),u.setObservableQuery(c),r.set(l,c)}),globalThis.__DEV__!==!1&&s.size&&s.forEach(function(a,l){if(!a){var u=i.get(l);u?globalThis.__DEV__!==!1&&ce.warn(35,u):globalThis.__DEV__!==!1&&ce.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,s){var o=i.options.fetchPolicy;i.resetLastResults(),(t||o!=="standby"&&o!=="cache-only")&&r.push(i.refetch()),(n.queries.get(s)||i.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.variables,s=t.fetchPolicy,o=t.errorPolicy,a=o===void 0?"none":o,l=t.context,u=l===void 0?{}:l,c=t.extensions,f=c===void 0?{}:c;r=this.transform(r),i=this.getVariables(r,i);var d=function(m){return n.getObservableFromLink(r,u,m,f).map(function(y){s!=="no-cache"&&(yc(y,a)&&n.cache.write({query:r,result:y.data,dataId:"ROOT_SUBSCRIPTION",variables:m}),n.broadcastQueries());var E=vo(y),v=xO(y);if(E||v){var w={};if(E&&(w.graphQLErrors=y.errors),v&&(w.protocolErrors=y.extensions[gu]),a==="none"||v)throw new xr(w)}return a==="ignore"&&delete y.errors,y})};if(this.getDocumentInfo(r).hasClientExports){var p=this.localState.addExportedVariables(r,i,u).then(d);return new ze(function(m){var y=null;return p.then(function(E){return y=E.subscribe(m)},m.error),function(){return y&&y.unsubscribe()}})}return d(i)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){var n;this.fetchCancelFns.delete(t),this.queries.has(t)&&((n=this.queries.get(t))===null||n===void 0||n.stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){var n;return(n=t.observableQuery)===null||n===void 0?void 0:n.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i,s){var o=this,a;s===void 0&&(s=(a=n==null?void 0:n.queryDeduplication)!==null&&a!==void 0?a:this.queryDeduplication);var l,u=this.getDocumentInfo(t),c=u.serverQuery,f=u.clientQuery;if(c){var d=this,p=d.inFlightLinkObservables,m=d.link,y={query:c,variables:r,operationName:Zi(c)||void 0,context:this.prepareContext(D(D({},n),{forceFetch:!s})),extensions:i};if(n=y.context,s){var E=Cr(c),v=lr(r),w=p.lookup(E,v);if(l=w.observable,!l){var g=new ti([uc(m,y)]);l=w.observable=g,g.beforeNext(function S(_,P){_==="next"&&"hasNext"in P&&P.hasNext?g.beforeNext(S):p.remove(E,v)})}}else l=new ti([uc(m,y)])}else l=new ti([ze.of({data:{}})]),n=this.prepareContext(n);return f&&(l=nl(l,function(S){return o.localState.runResolvers({document:f,remoteResult:S,context:n,variables:r})})),l},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(r.query);return nl(this.getObservableFromLink(s,r.context,r.variables),function(o){var a=cc(o),l=a.length>0,u=r.errorPolicy;if(i>=t.lastRequestId){if(l&&u==="none")throw t.markError(new xr({graphQLErrors:a}));t.markResult(o,s,r,n),t.markReady()}var c={data:o.data,loading:!1,networkStatus:ke.ready};return l&&u==="none"&&(c.data=void 0),l&&u!=="ignore"&&(c.errors=a,c.networkStatus=ke.error),c},function(o){var a=_g(o)?o:new xr({networkError:o});throw i>=t.lastRequestId&&t.markError(a),a})},e.prototype.fetchConcastWithInfo=function(t,n,r,i){var s=this;r===void 0&&(r=ke.loading),i===void 0&&(i=n.query);var o=this.getVariables(i,n.variables),a=this.defaultOptions.watchQuery,l=n.fetchPolicy,u=l===void 0?a&&a.fetchPolicy||"cache-first":l,c=n.errorPolicy,f=c===void 0?a&&a.errorPolicy||"none":c,d=n.returnPartialData,p=d===void 0?!1:d,m=n.notifyOnNetworkStatusChange,y=m===void 0?!1:m,E=n.context,v=E===void 0?{}:E,w=Object.assign({},n,{query:i,variables:o,fetchPolicy:u,errorPolicy:f,returnPartialData:p,notifyOnNetworkStatusChange:y,context:v}),g=function(R){w.variables=R;var A=s.fetchQueryByPolicy(t,w,r);return w.fetchPolicy!=="standby"&&A.sources.length>0&&t.observableQuery&&t.observableQuery.applyNextFetchPolicy("after-fetch",n),A},S=function(){return s.fetchCancelFns.delete(t.queryId)};this.fetchCancelFns.set(t.queryId,function(R){S(),setTimeout(function(){return _.cancel(R)})});var _,P;if(this.getDocumentInfo(w.query).hasClientExports)_=new ti(this.localState.addExportedVariables(w.query,w.variables,w.context).then(g).then(function(R){return R.sources})),P=!0;else{var M=g(w.variables);P=M.fromLink,_=new ti(M.sources)}return _.promise.then(S,S),{concast:_,fromLink:P}},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,s=t.optimistic,o=s===void 0?!1:s,a=t.removeOptimistic,l=a===void 0?o?ec("refetchQueries"):void 0:a,u=t.onQueryUpdated,c=new Map;i&&this.getObservableQueries(i).forEach(function(d,p){c.set(p,{oq:d,lastDiff:(n.queries.get(p)||d.queryInfo).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:o&&l||!1,removeOptimistic:l,onWatchUpdated:function(d,p,m){var y=d.watcher instanceof ul&&d.watcher.observableQuery;if(y){if(u){c.delete(y.queryId);var E=u(y,p,m);return E===!0&&(E=y.refetch()),E!==!1&&f.set(y,E),E}u!==null&&c.set(y.queryId,{oq:y,lastDiff:m,diff:p})}}}),c.size&&c.forEach(function(d,p){var m=d.oq,y=d.lastDiff,E=d.diff,v;u&&(E||(E=n.cache.diff(m.queryInfo.getDiffOptions())),v=u(m,E,y)),(!u||v===!0)&&(v=m.refetch()),v!==!1&&f.set(m,v),p.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(p)}),l&&this.cache.removeOptimistic(l),f},e.prototype.maskOperation=function(t){var n,r,i,s=t.document,o=t.data;if(globalThis.__DEV__!==!1){var a=t.fetchPolicy,l=t.id,u=(n=Br(s))===null||n===void 0?void 0:n.operation,c=((r=u==null?void 0:u[0])!==null&&r!==void 0?r:"o")+l;this.dataMasking&&a==="no-cache"&&!tx(s)&&!this.noCacheWarningsByQueryId.has(c)&&(this.noCacheWarningsByQueryId.add(c),globalThis.__DEV__!==!1&&ce.warn(37,(i=Zi(s))!==null&&i!==void 0?i:"Unnamed ".concat(u??"operation")))}return this.dataMasking?YO(o,s,this.cache):o},e.prototype.maskFragment=function(t){var n=t.data,r=t.fragment,i=t.fragmentName;return this.dataMasking?Ig(n,r,this.cache,i):n},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,s=n.query,o=n.variables,a=n.fetchPolicy,l=n.refetchWritePolicy,u=n.errorPolicy,c=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,p=t.networkStatus;t.init({document:s,variables:o,networkStatus:r});var m=function(){return t.getDiff()},y=function(S,_){_===void 0&&(_=t.networkStatus||ke.loading);var P=S.result;globalThis.__DEV__!==!1&&!c&&!je(P,{})&&Qg(S.missing);var M=function(R){return ze.of(D({data:R,loading:si(_),networkStatus:_},S.complete?null:{partial:!0}))};return P&&i.getDocumentInfo(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:P},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(R){return M(R.data||void 0)}):u==="none"&&_===ke.refetch&&Array.isArray(S.missing)?M(void 0):M(P)},E=a==="no-cache"?0:r===ke.refetch&&l!=="merge"?1:2,v=function(){return i.getResultsFromLink(t,E,{query:s,variables:o,context:f,fetchPolicy:a,errorPolicy:u})},w=d&&typeof p=="number"&&p!==r&&si(r);switch(a){default:case"cache-first":{var g=m();return g.complete?{fromLink:!1,sources:[y(g,t.markReady())]}:c||w?{fromLink:!0,sources:[y(g),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var g=m();return g.complete||c||w?{fromLink:!0,sources:[y(g),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[y(m(),t.markReady())]};case"network-only":return w?{fromLink:!0,sources:[y(m()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return w?{fromLink:!0,sources:[y(t.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new ul(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return D(D(D({},this.defaultContext),n),{clientAwareness:this.clientAwareness})},e}(),yC=function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,s=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),s&&this.setFragmentMatcher(s)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=pd(n.resolvers,r)}):this.resolvers=pd(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){return Yn(this,arguments,void 0,function(n){var r=n.document,i=n.remoteResult,s=n.context,o=n.variables,a=n.onlyRunForcedResolvers,l=a===void 0?!1:a;return Kn(this,function(u){return r?[2,this.resolveDocument(r,i.data,s,o,this.fragmentMatcher,l).then(function(c){return D(D({},i),{data:c.result})})]:[2,i]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return Ts(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return mg(t)},e.prototype.prepareContext=function(t){var n=this.cache;return D(D({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t){return Yn(this,arguments,void 0,function(n,r,i){return r===void 0&&(r={}),i===void 0&&(i={}),Kn(this,function(s){return n?[2,this.resolveDocument(n,this.buildRootValueFromCache(n,r)||{},this.prepareContext(i),r).then(function(o){return D(D({},r),o.exportedVariables)})]:[2,D({},r)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return Jt(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return ma}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:Qx(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n){return Yn(this,arguments,void 0,function(r,i,s,o,a,l){var u,c,f,d,p,m,y,E,v,w,g;return s===void 0&&(s={}),o===void 0&&(o={}),a===void 0&&(a=function(){return!0}),l===void 0&&(l=!1),Kn(this,function(S){return u=js(r),c=Vi(r),f=zi(c),d=this.collectSelectionsToResolve(u,f),p=u.operation,m=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",y=this,E=y.cache,v=y.client,w={fragmentMap:f,context:D(D({},s),{cache:E,client:v}),variables:o,fragmentMatcher:a,defaultOperationType:m,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:l},g=!1,[2,this.resolveSelectionSet(u.selectionSet,g,i,w).then(function(_){return{result:_,exportedVariables:w.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r,i){return Yn(this,void 0,void 0,function(){var s,o,a,l,u,c=this;return Kn(this,function(f){return s=i.fragmentMap,o=i.context,a=i.variables,l=[r],u=function(d){return Yn(c,void 0,void 0,function(){var p,m;return Kn(this,function(y){return!n&&!i.selectionsToResolve.has(d)?[2]:zs(d,a)?ur(d)?[2,this.resolveField(d,n,r,i).then(function(E){var v;typeof E<"u"&&l.push((v={},v[Dn(d)]=E,v))})]:(Ix(d)?p=d:(p=s[d.name.value],ce(p,19,d.name.value)),p&&p.typeCondition&&(m=p.typeCondition.name.value,i.fragmentMatcher(r,m,o))?[2,this.resolveSelectionSet(p.selectionSet,n,r,i).then(function(E){l.push(E)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(u)).then(function(){return Sa(l)})]})})},e.prototype.resolveField=function(t,n,r,i){return Yn(this,void 0,void 0,function(){var s,o,a,l,u,c,f,d,p,m=this;return Kn(this,function(y){return r?(s=i.variables,o=t.name.value,a=Dn(t),l=o!==a,u=r[a]||r[o],c=Promise.resolve(u),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(f=r.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[f],d&&(p=d[l?o:a],p&&(c=Promise.resolve(vu.withValue(this.cache,p,[r,va(t,s),i.context,{field:t,fragmentMap:i.fragmentMap}]))))),[2,c.then(function(E){var v,w;if(E===void 0&&(E=u),t.directives&&t.directives.forEach(function(S){S.name.value==="export"&&S.arguments&&S.arguments.forEach(function(_){_.name.value==="as"&&_.value.kind==="StringValue"&&(i.exportedVariables[_.value.value]=E)})}),!t.selectionSet||E==null)return E;var g=(w=(v=t.directives)===null||v===void 0?void 0:v.some(function(S){return S.name.value==="client"}))!==null&&w!==void 0?w:!1;if(Array.isArray(E))return m.resolveSubSelectedArray(t,n||g,E,i);if(t.selectionSet)return m.resolveSelectionSet(t.selectionSet,n||g,E,i)})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(t,n,r,i){var s=this;return Promise.all(r.map(function(o){if(o===null)return null;if(Array.isArray(o))return s.resolveSubSelectedArray(t,n,o,i);if(t.selectionSet)return s.resolveSelectionSet(t.selectionSet,n,o,i)}))},e.prototype.collectSelectionsToResolve=function(t,n){var r=function(o){return!Array.isArray(o)},i=this.selectionsToResolveCache;function s(o){if(!i.has(o)){var a=new Set;i.set(o,a),Jt(o,{Directive:function(l,u,c,f,d){l.name.value==="client"&&d.forEach(function(p){r(p)&&sd(p)&&a.add(p)})},FragmentSpread:function(l,u,c,f,d){var p=n[l.name.value];ce(p,20,l.name.value);var m=s(p);m.size>0&&(d.forEach(function(y){r(y)&&sd(y)&&a.add(y)}),a.add(l),m.forEach(function(y){a.add(y)}))}})}return i.get(o)}return s(t)},e}(),Gd=!1,Ug=function(){function e(t){var n=this,r;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw _t(16);var i=t.uri,s=t.credentials,o=t.headers,a=t.cache,l=t.documentTransform,u=t.ssrMode,c=u===void 0?!1:u,f=t.ssrForceFetchDelay,d=f===void 0?0:f,p=t.connectToDevTools,m=t.queryDeduplication,y=m===void 0?!0:m,E=t.defaultOptions,v=t.defaultContext,w=t.assumeImmutableResults,g=w===void 0?a.assumeImmutableResults:w,S=t.resolvers,_=t.typeDefs,P=t.fragmentMatcher,M=t.name,R=t.version,A=t.devtools,k=t.dataMasking,B=t.link;B||(B=i?new BO({uri:i,credentials:s,headers:o}):Bs.empty()),this.link=B,this.cache=a,this.disableNetworkFetches=c||d>0,this.queryDeduplication=y,this.defaultOptions=E||Object.create(null),this.typeDefs=_,this.devtoolsConfig=D(D({},A),{enabled:(r=A==null?void 0:A.enabled)!==null&&r!==void 0?r:p}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),d&&setTimeout(function(){return n.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=ru,this.localState=new yC({cache:a,client:this,resolvers:S,fragmentMatcher:P}),this.queryManager=new gC({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:l,queryDeduplication:y,ssrMode:c,dataMasking:!!k,clientAwareness:{name:M,version:R},localState:this.localState,assumeImmutableResults:g,onBroadcast:this.devtoolsConfig.enabled?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this,!Gd&&globalThis.__DEV__!==!1&&(Gd=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var r=window.navigator,i=r&&r.userAgent,s=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?s="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(s="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),s&&globalThis.__DEV__!==!1&&ce.log("Download the Apollo DevTools for a better development experience: %s",s)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=rl(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=D(D({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=rl(this.defaultOptions.query,t)),ce(t.fetchPolicy!=="cache-and-network",17),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=D(D({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=rl(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){var n=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(t).map(function(i){return D(D({},i),{data:n.queryManager.maskOperation({document:t.query,data:i.data,fetchPolicy:t.fetchPolicy,id:r})})})},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.watchFragment=function(t){var n;return this.cache.watchFragment(D(D({},t),(n={},n[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,n)))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){var n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.writeFragment=function(t){var n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return uc(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];n.forEach(function(o,a){r.push(a),i.push(o)});var s=Promise.all(i);return s.queries=r,s.results=i,s.catch(function(o){globalThis.__DEV__!==!1&&ce.debug(18,o)}),s},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();globalThis.__DEV__!==!1&&(Ug.prototype.getMemoryInternals=ux);const vC=gt(e=>{const n=xg({uri:gr().public.wordpressGraphQLUrl}),r=new Ug({link:n,cache:new Wg,credentials:"include",defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}}});e.provide("apolloClient",r)});function Yd(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Eu(e,t){e===void 0&&(e={}),t===void 0&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Yd(t[r])&&Yd(e[r])&&Object.keys(t[r]).length>0&&Eu(e[r],t[r])})}const Gg={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Qr(){const e=typeof document<"u"?document:{};return Eu(e,Gg),e}const bC={document:Gg,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Tt(){const e=typeof window<"u"?window:{};return Eu(e,bC),e}function wC(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function SC(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function vc(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Uo(){return Date.now()}function EC(e){const t=Tt();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function _C(e,t){t===void 0&&(t="x");const n=Tt();let r,i,s;const o=EC(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function ao(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function TC(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function At(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(d,p)=>u==="next"&&d>=p||u==="prev"&&d<=p,f=()=>{a=new Date().getTime(),o===null&&(o=a);const d=Math.max(Math.min((a-o)/l,1),0),p=.5-Math.cos(d*Math.PI)/2;let m=s+p*(n-s);if(c(m,n)&&(m=n),t.wrapperEl.scrollTo({[r]:m}),c(m,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:m})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(f)};f()}function Pn(e,t){t===void 0&&(t="");const n=Tt(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(i=>i.matches(t)):r}function xC(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function OC(e,t){const n=Tt();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=xC(e,t))),r}function Go(e){try{console.warn(e);return}catch{}}function bc(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:wC(t)),n}function CC(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function PC(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function ir(e,t){return Tt().getComputedStyle(e,null).getPropertyValue(t)}function Kd(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function kC(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Xd(e,t,n){const r=Tt();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function vA(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function Jd(e,t){t===void 0&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let fl;function AC(){const e=Tt(),t=Qr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Kg(){return fl||(fl=AC()),fl}let dl;function IC(e){let{userAgent:t}=e===void 0?{}:e;const n=Kg(),r=Tt(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let m=i==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&m&&n.touch&&y.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),m=!1),u&&!p&&(o.os="android",o.android=!0),(c||d||f)&&(o.os="ios",o.ios=!0),o}function Xg(e){return e===void 0&&(e={}),dl||(dl=IC(e)),dl}let hl;function MC(){const e=Tt(),t=Xg();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=r(),o=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function Jg(){return hl||(hl=MC()),hl}function RC(e){let{swiper:t,on:n,emit:r}=e;const i=Tt();let s=null,o=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(f=>{o=i.requestAnimationFrame(()=>{const{width:d,height:p}=t;let m=d,y=p;f.forEach(E=>{let{contentBoxSize:v,contentRect:w,target:g}=E;g&&g!==t.el||(m=w?w.width:(v[0]||v).inlineSize,y=w?w.height:(v[0]||v).blockSize)}),(m!==d||y!==p)&&a()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function DC(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=Tt(),a=function(c,f){f===void 0&&(f={});const d=o.MutationObserver||o.WebkitMutationObserver,p=new d(m=>{if(t.__preventObserver__)return;if(m.length===1){i("observerUpdate",m[0]);return}const y=function(){i("observerUpdate",m[0])};o.requestAnimationFrame?o.requestAnimationFrame(y):o.setTimeout(y,0)});p.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:t.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),s.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=kC(t.hostEl);for(let f=0;f{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var LC={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function FC(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(ir(r,"padding-left")||0,10)-parseInt(ir(r,"padding-right")||0,10),n=n-parseInt(ir(r,"padding-top")||0,10)-parseInt(ir(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function NC(){const e=this;function t(k,B){return parseFloat(k.getPropertyValue(e.getDirectionLabel(B))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=Pn(i,`.${e.params.slideClass}, swiper-slide`),f=l?e.virtual.slides.length:c.length;let d=[];const p=[],m=[];let y=n.slidesOffsetBefore;typeof y=="function"&&(y=n.slidesOffsetBefore.call(e));let E=n.slidesOffsetAfter;typeof E=="function"&&(E=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,w=e.slidesGrid.length;let g=n.spaceBetween,S=-y,_=0,P=0;if(typeof s>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*s:typeof g=="string"&&(g=parseFloat(g)),e.virtualSize=-g,c.forEach(k=>{o?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(lo(r,"--swiper-centered-offset-before",""),lo(r,"--swiper-centered-offset-after",""));const M=n.grid&&n.grid.rows>1&&e.grid;M?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let R;const A=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(k=>typeof n.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k1&&d.push(e.virtualSize-s)}if(l&&n.loop){const k=m[0]+g;if(n.slidesPerGroup>1){const B=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),z=k*n.slidesPerGroup;for(let G=0;G!n.cssMode||n.loop?!0:z!==c.length-1).forEach(B=>{B.style[k]=`${g}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;m.forEach(z=>{k+=z+(g||0)}),k-=g;const B=k>s?k-s:0;d=d.map(z=>z<=0?-y:z>B?B+E:z)}if(n.centerInsufficientSlides){let k=0;m.forEach(z=>{k+=z+(g||0)}),k-=g;const B=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(k+B{d[ue]=G-z}),p.forEach((G,ue)=>{p[ue]=G+z})}}if(Object.assign(e,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){lo(r,"--swiper-centered-offset-before",`${-d[0]}px`),lo(r,"--swiper-centered-offset-after",`${e.size/2-m[m.length-1]/2}px`);const k=-e.snapGrid[0],B=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(z=>z+k),e.slidesGrid=e.slidesGrid.map(z=>z+B)}if(f!==u&&e.emit("slidesLengthChange"),d.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==w&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const k=`${n.containerModifierClass}backface-hidden`,B=e.el.classList.contains(k);f<=n.maxBackfaceHiddenSlides?B||e.el.classList.add(k):B&&e.el.classList.remove(k)}}function zC(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(s=0;st.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(s=0;si?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function jC(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function VC(e){e===void 0&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:s}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let o=-e;i&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&p<=t.size-t.slidesSizesGrid[l],E=p>=0&&p1&&m<=t.size||p<=0&&m>=t.size;E&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l)),Zd(u,E,n.slideVisibleClass),Zd(u,y,n.slideFullyVisibleClass),u.progress=i?-f:f,u.originalProgress=i?-d:d}}function BC(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,f=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=f||i>=1,c&&(i=0),f&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),f=t.getSlideIndexByData(t.slides.length-1),d=t.slidesGrid[c],p=t.slidesGrid[f],m=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);y>=d?a=(y-d)/m:a=(y+m-p)/m,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}const pl=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function qC(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=f=>Pn(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(s)if(n.loop){let f=i-e.virtual.slidesBefore;f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${f}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(l=t.find(f=>f.column===i),c=t.find(f=>f.column===i+1),u=t.find(f=>f.column===i-1)):l=t[i];l&&(o||(c=PC(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=CC(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(f=>{pl(f,f===l,n.slideActiveClass),pl(f,f===c,n.slideNextClass),pl(f,f===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Eo=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},ml=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},wc=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=i,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&ml(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const a=(o%n+n)%n;(as)&&ml(e,a)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function $C(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=t;let l=e,u;const c=p=>{let m=p-t.virtual.slidesBefore;return m<0&&(m=t.virtual.slides.length+m),m>=t.virtual.slides.length&&(m-=t.virtual.slides.length),m};if(typeof l>"u"&&(l=HC(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===s&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const f=t.grid&&i.grid&&i.grid.rows>1;let d;if(t.virtual&&i.virtual.enabled&&i.loop)d=c(l);else if(f){const p=t.slides.find(y=>y.column===l);let m=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(t.slides.indexOf(p),0)),d=Math.floor(m/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?d=parseInt(p,10):d=l}else d=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:d,previousIndex:s,activeIndex:l}),t.initialized&&wc(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==d&&t.emit("realIndexChange"),t.emit("slideChange"))}function WC(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;al?c=l:r&&eo?a="next":s"u"&&(t=s.params.speed);const y=Math.min(s.params.slidesPerGroupSkip,o);let E=y+Math.floor((o-y)/s.params.slidesPerGroup);E>=l.length&&(E=l.length-1);const v=-l[E];if(a.normalizeSlideIndex)for(let M=0;M=A&&R=A&&R=A&&(o=M)}if(s.initialized&&o!==f&&(!s.allowSlideNext&&(d?v>s.translate&&v>s.minTranslate():vs.translate&&v>s.maxTranslate()&&(f||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(v);let w;o>f?w="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[M?"scrollLeft":"scrollTop"]=R})):p[M?"scrollLeft":"scrollTop"]=R,g&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return Yg({swiper:s,targetPosition:R,side:M?"left":"top"}),!0;p.scrollTo({[M?"left":"top"]:R,behavior:"smooth"})}return!0}const P=Jg().isSafari;return g&&!i&&P&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,w),t===0?s.transitionEnd(n,w):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(R){!s||s.destroyed||R.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,w))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function iP(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const d=o*i.params.grid.rows;a=i.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===d).column}else a=i.getSlideIndexByData(o);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-ap.getAttribute("data-swiper-slide-index")*1===d).column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function sP(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function oP(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=a?r.translate:-r.translate;function d(w){return w<0?-Math.floor(Math.abs(w)):Math.floor(w)}const p=d(f),m=s.map(w=>d(w)),y=i.freeMode&&i.freeMode.enabled;let E=s[m.indexOf(p)-1];if(typeof E>"u"&&(i.cssMode||y)){let w;s.forEach((g,S)=>{p>=g&&(w=S)}),typeof w<"u"&&(E=y?s[w]:s[w>0?w-1:w])}let v=0;if(typeof E<"u"&&(v=o.indexOf(E),v<0&&(v=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&r.isBeginning){const w=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(w,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(v,e,t,n)}),!0;return r.slideTo(v,e,t,n)}function aP(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function lP(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function cP(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(Pn(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),vc(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(Pn(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),vc(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var uP={slideTo:rP,slideToLoop:iP,slideNext:sP,slidePrev:oP,slideReset:aP,slideToClosest:lP,slideToClickedSlide:cP};function fP(e,t){const n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const s=()=>{Pn(i,`.${r.slideClass}, swiper-slide`).forEach((d,p)=>{d.setAttribute("data-swiper-slide-index",p)})},o=n.grid&&r.grid&&r.grid.rows>1,a=r.slidesPerGroup*(o?r.grid.rows:1),l=n.slides.length%a!==0,u=o&&n.slides.length%r.grid.rows!==0,c=f=>{for(let d=0;d1;c.length"u"?s=u.getSlideIndex(c.find($=>$.classList.contains(m.slideActiveClass))):A=s;const k=r==="next"||!r,B=r==="prev"||!r;let z=0,G=0;const pe=(S?c[s].column:s)+(y&&typeof i>"u"?-v/2+.5:0);if(pe=0;me-=1)c[me].column===J&&_.push(me)}else _.push(M-K-1)}}else if(pe+v>M-g){G=Math.max(pe-(M-g*2),w),R&&(G=Math.max(G,v-M+E+1));for(let $=0;${J.column===K&&P.push(me)}):P.push(K)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&c.length{c[$].swiperLoopMoveDOM=!0,p.prepend(c[$]),c[$].swiperLoopMoveDOM=!1}),k&&P.forEach($=>{c[$].swiperLoopMoveDOM=!0,p.append(c[$]),c[$].swiperLoopMoveDOM=!1}),u.recalcSlides(),m.slidesPerView==="auto"?u.updateSlides():S&&(_.length>0&&B||P.length>0&&k)&&u.slides.forEach(($,K)=>{u.grid.updateSlide(K,$,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),n){if(_.length>0&&B){if(typeof t>"u"){const $=u.slidesGrid[A],J=u.slidesGrid[A+z]-$;l?u.setTranslate(u.translate-J):(u.slideTo(A+Math.ceil(z),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-J,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-J))}else if(i){const $=S?_.length/m.grid.rows:_.length;u.slideTo(u.activeIndex+$,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(P.length>0&&k)if(typeof t>"u"){const $=u.slidesGrid[A],J=u.slidesGrid[A-G]-$;l?u.setTranslate(u.translate-J):(u.slideTo(A-G,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-J,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-J))}else{const $=S?P.length/m.grid.rows:P.length;u.slideTo(u.activeIndex-$,0,!1,!0)}}if(u.allowSlidePrev=f,u.allowSlideNext=d,u.controller&&u.controller.control&&!a){const $={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(K=>{!K.destroyed&&K.params.loop&&K.loopFix({...$,slideTo:K.params.slidesPerView===m.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...$,slideTo:u.controller.control.params.slidesPerView===m.slidesPerView?n:!1})}u.emit("loopFix")}function hP(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var pP={loopCreate:fP,loopFix:dP,loopDestroy:hP};function mP(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function gP(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var yP={setGrabCursor:mP,unsetGrabCursor:gP};function vP(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Qr()||r===Tt())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function eh(e,t,n){const r=Tt(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function bP(e){const t=this,n=Qr();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){eh(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=t;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=r.target;if(s.touchEventsTarget==="wrapper"&&!OC(l,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,d=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(d?vP(f,l):l.closest(f))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,m=o.currentY;if(!eh(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=m,i.touchStartTime=Uo(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let y=!0;l.matches(i.focusableElements)&&(y=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(i.focusableElements))&&n.activeElement.blur();const E=y&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||E)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function wP(e){const t=Qr(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(_=>_.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=f;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f}),r.touchStartTime=Uo());return}if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(fs.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(o&&(c>s.startX&&-n.translate<=n.maxTranslate()||c=n.minTranslate()))return;if(!o&&(cs.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=f;const d=s.currentX-s.startX,p=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(d**2+p**2)"u"){let _;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:d*d+p*p>=25&&(_=Math.atan2(Math.abs(p),Math.abs(d))*180/Math.PI,r.isScrolling=n.isHorizontal()?_>i.touchAngle:90-_>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let m=n.isHorizontal()?d:p,y=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),y=Math.abs(y)*(o?1:-1)),s.diff=m,m*=i.touchRatio,o&&(m=-m,y=-y);const E=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=y>0?"prev":"next";const v=n.params.loop&&!i.cssMode,w=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(v&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const _=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(_)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),i._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&E!==n.touchesDirection&&v&&w&&Math.abs(m)>=1){Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=m+r.startTranslate;let g=!0,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=0),m>0?(v&&w&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(i.slidesPerView!=="auto"&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(g=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+m)**S))):m<0&&(v&&w&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(i.slidesPerView!=="auto"&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(m)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function SP(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].find(_=>_.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const f=Uo(),d=f-n.touchStartTime;if(t.allowClick){const _=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(_&&_[0]||r.target,_),t.emit("tap click",r),d<300&&f-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Uo(),vc(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(o.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const m=p>=-t.maxTranslate()&&!t.params.loop;let y=0,E=t.slidesSizesGrid[0];for(let _=0;_=u[_]&&p=u[_])&&(y=_,E=u[u.length-1]-u[u.length-2])}let v=null,w=null;o.rewind&&(t.isBeginning?w=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const g=(p-u[y])/E,S=yo.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(g>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?v:y+S):t.slideTo(y)),t.swipeDirection==="prev"&&(g>1-o.longSwipesRatio?t.slideTo(y+S):w!==null&&g<0&&Math.abs(g)>o.longSwipesRatio?t.slideTo(w):t.slideTo(y))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(y+S):t.slideTo(y):(t.swipeDirection==="next"&&t.slideTo(v!==null?v:y+S),t.swipeDirection==="prev"&&t.slideTo(w!==null?w:y))}}function th(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function EP(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function _P(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function TP(e){const t=this;Eo(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function xP(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ey=(e,t)=>{const n=Qr(),{params:r,el:i,wrapperEl:s,device:o}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;!i||typeof i=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&s[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",th,!0):e[u]("observerUpdate",th,!0),i[l]("load",e.onLoad,{capture:!0}))};function OP(){const e=this,{params:t}=e;e.onTouchStart=bP.bind(e),e.onTouchMove=wP.bind(e),e.onTouchEnd=SP.bind(e),e.onDocumentTouchStart=xP.bind(e),t.cssMode&&(e.onScroll=_P.bind(e)),e.onClick=EP.bind(e),e.onLoad=TP.bind(e),ey(e,"on")}function CP(){ey(this,"off")}var PP={attachEvents:OP,detachEvents:CP};const nh=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function kP(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=Qr(),a=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:o.querySelector(r.breakpointsBase),u=e.getBreakpoint(s,a,l);if(!u||e.currentBreakpoint===u)return;const f=(u in s?s[u]:void 0)||e.originalParams,d=nh(e,r),p=nh(e,f),m=e.params.grabCursor,y=f.grabCursor,E=r.enabled;d&&!p?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&p&&(i.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!y?e.unsetGrabCursor():!m&&y&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof f[P]>"u")return;const M=r[P]&&r[P].enabled,R=f[P]&&f[P].enabled;M&&!R&&e[P].disable(),!M&&R&&e[P].enable()});const v=f.direction&&f.direction!==r.direction,w=r.loop&&(f.slidesPerView!==r.slidesPerView||v),g=r.loop;v&&n&&e.changeDirection(),At(e.params,f);const S=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),E&&!S?e.disable():!E&&S&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",f),n&&(w?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&_?(e.loopCreate(t),e.updateSlides()):g&&!_&&e.loopDestroy()),e.emit("breakpoint",f)}function AP(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=Tt(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function RP(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=MP(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function DP(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var LP={addClasses:RP,removeClasses:DP};function FP(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var NP={checkOverflow:FP},Sc={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function zP(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){At(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in s)){At(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),At(t,r)}}const gl={eventsEmitter:LC,update:QC,translate:JC,transition:nP,slide:uP,loop:pP,grabCursor:yP,events:PP,breakpoints:IP,checkOverflow:NP,classes:LP},yl={};let _u=class Sn{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(f=>{const d=At({},n,{el:f});c.push(new Sn(d))}),c}const a=this;a.__swiper__=!0,a.support=Kg(),a.device=Xg({userAgent:n.userAgent}),a.browser=Jg(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:zP(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=At({},Sc,l);return a.params=At({},u,yl,n),a.originalParams=At({},a.params),a.passedParams=At({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=Pn(n,`.${r.slideClass}, swiper-slide`),s=Kd(i[0]);return Kd(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Pn(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=s[u]?Math.ceil(s[u].swiperSlideSize):0,d;for(let p=u+1;pl&&(d=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!d&&(f+=s[p].swiperSlideSize,c+=1,f>l&&(d=!0))}else if(t==="current")for(let f=u+1;f=0;f-=1)o[u]-o[f]{o.complete&&Eo(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Pn(r,i())[0];return!o&&n.params.createElements&&(o=bc("div",n.params.wrapperClass),r.append(o),Pn(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||ir(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||ir(r,"direction")==="rtl"),wrongRTL:ir(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Eo(n,s):s.addEventListener("load",o=>{Eo(n,o.target)})}),wc(n),n.initialized=!0,wc(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),SC(r)),r.destroyed=!0),null}static extendDefaults(t){At(yl,t)}static get extendedDefaults(){return yl}static get defaults(){return Sc}static installModule(t){Sn.prototype.__modules__||(Sn.prototype.__modules__=[]);const n=Sn.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Sn.installModule(n)),Sn):(Sn.installModule(t),Sn)}};Object.keys(gl).forEach(e=>{Object.keys(gl[e]).forEach(t=>{_u.prototype[t]=gl[e][t]})});_u.use([RC,DC]);const ty=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function qr(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function yi(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:qr(t[r])&&qr(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:yi(e[r],t[r]):e[r]=t[r]})}function ny(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function ry(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function iy(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function sy(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function jP(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function VP(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(A=>A!=="children"&&A!=="direction"&&A!=="wrapperClass"),{params:c,pagination:f,navigation:d,scrollbar:p,virtual:m,thumbs:y}=t;let E,v,w,g,S,_,P,M;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&c.thumbs&&(!c.thumbs.swiper||c.thumbs.swiper.destroyed)&&(E=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(v=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(w=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(g=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(S=!0);const R=A=>{t[A]&&(t[A].destroy(),A==="navigation"?(t.isElement&&(t[A].prevEl.remove(),t[A].nextEl.remove()),c[A].prevEl=void 0,c[A].nextEl=void 0,t[A].prevEl=void 0,t[A].nextEl=void 0):(t.isElement&&t[A].el.remove(),c[A].el=void 0,t[A].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?_=!0:!c.loop&&r.loop?P=!0:M=!0),u.forEach(A=>{if(qr(c[A])&&qr(r[A]))Object.assign(c[A],r[A]),(A==="navigation"||A==="pagination"||A==="scrollbar")&&"enabled"in r[A]&&!r[A].enabled&&R(A);else{const k=r[A];(k===!0||k===!1)&&(A==="navigation"||A==="pagination"||A==="scrollbar")?k===!1&&R(A):c[A]=r[A]}}),u.includes("controller")&&!v&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&m&&c.virtual.enabled?(m.slides=n,m.update(!0)):i.includes("virtual")&&m&&c.virtual.enabled&&(n&&(m.slides=n),m.update(!0)),i.includes("children")&&n&&c.loop&&(M=!0),E&&y.init()&&y.update(!0),v&&(t.controller.control=c.controller.control),w&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),f.init(),f.render(),f.update()),g&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),S&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),Jd(s,t.hostEl.constructor.nextButtonSvg),s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),Jd(o,t.hostEl.constructor.prevButtonSvg),o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),d.init(),d.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(_||M)&&t.loopDestroy(),(P||M)&&t.loopCreate(),t.update()}function rh(e,t){e===void 0&&(e={});const n={on:{}},r={},i={};yi(n,Sc),n._emitClasses=!0,n.init=!1;const s={},o=ty.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?qr(e[l])?(n[l]={},i[l]={},yi(n[l],e[l]),yi(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:s[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:s,events:r}}function BP(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:a}=e;ny(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),ry(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),iy(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}function qP(e,t,n,r,i){const s=[];if(!t)return s;const o=l=>{s.indexOf(l)<0&&s.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return ty.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(qr(e[l])&&qr(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?o(l):(u.forEach(f=>{e[l][f]!==t[l][f]&&o(l)}),c.forEach(f=>{e[l][f]!==t[l][f]&&o(l)}))}else e[l]!==t[l]&&o(l)}),s}const HP=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function vl(e,t,n){e===void 0&&(e={});const r=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},s=(o,a)=>{Array.isArray(o)&&o.forEach(l=>{const u=typeof l.type=="symbol";a==="default"&&(a="container-end"),u&&l.children?s(l.children,a):l.type&&(l.type.name==="SwiperSlide"||l.type.name==="AsyncComponentWrapper")||l.componentOptions&&l.componentOptions.tag==="SwiperSlide"?r.push(l):i[a]&&i[a].push(l)})};return Object.keys(e).forEach(o=>{if(typeof e[o]!="function")return;const a=e[o]();s(a,o)}),n.value=t.value,t.value=r,{slides:r,slots:i}}function $P(e,t,n){if(!n)return null;const r=c=>{let f=c;return c<0?f=t.length+c:f>=t.length&&(f=f-t.length),f},i=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,a=e.value.params.loop?-t.length:0,l=e.value.params.loop?t.length*2:t.length,u=[];for(let c=a;c=s&&c<=o&&u.length{if(c.props||(c.props={}),c.props.style||(c.props.style={}),c.props.swiperRef=e,c.props.style=i,c.type)return xe(c.type,{...c.props},c.children);if(c.componentOptions)return xe(c.componentOptions.Ctor,{...c.props},c.componentOptions.children)})}const WP={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopAddBlankSlides:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,t){let{slots:n,emit:r}=t;const{tag:i,wrapperTag:s}=e,o=Ie("swiper"),a=Ie(null),l=Ie(!1),u=Ie(!1),c=Ie(null),f=Ie(null),d=Ie(null),p={value:[]},m={value:[]},y=Ie(null),E=Ie(null),v=Ie(null),w=Ie(null),{params:g,passedParams:S}=rh(e);vl(n,p,m),d.value=S,m.value=p.value;const _=()=>{vl(n,p,m),l.value=!0};g.onAny=function(R){for(var A=arguments.length,k=new Array(A>1?A-1:0),B=1;B{a.value=A},renderExternalUpdate:!1};yi(f.value.params.virtual,R),yi(f.value.originalParams.virtual,R)}na(()=>{!u.value&&f.value&&(f.value.emitSlidesClasses(),u.value=!0);const{passedParams:R}=rh(e),A=qP(R,d.value,p.value,m.value,k=>k.props&&k.props.key);d.value=R,(A.length||l.value)&&f.value&&!f.value.destroyed&&VP({swiper:f.value,slides:p.value,passedParams:R,changedParams:A,nextEl:y.value,prevEl:E.value,scrollbarEl:w.value,paginationEl:v.value}),l.value=!1}),jt("swiper",f),ar(a,()=>{cr(()=>{HP(f.value)})}),Kt(()=>{c.value&&(BP({el:c.value,nextEl:y.value,prevEl:E.value,paginationEl:v.value,scrollbarEl:w.value,swiper:f.value},g),r("swiper",f.value))}),Hr(()=>{f.value&&!f.value.destroyed&&f.value.destroy(!0,!1)});function M(R){return g.virtual?$P(f,R,a.value):(R.forEach((A,k)=>{A.props||(A.props={}),A.props.swiperRef=f,A.props.swiperSlideIndex=k}),R)}return()=>{const{slides:R,slots:A}=vl(n,p,m);return xe(i,{ref:c,class:sy(o.value)},[A["container-start"],xe(s,{class:jP(g.wrapperClass)},[A["wrapper-start"],M(R),A["wrapper-end"]]),ny(e)&&[xe("div",{ref:E,class:"swiper-button-prev"}),xe("div",{ref:y,class:"swiper-button-next"})],iy(e)&&xe("div",{ref:w,class:"swiper-scrollbar"}),ry(e)&&xe("div",{ref:v,class:"swiper-pagination"}),A["container-end"]])}}},QP={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:n}=t,r=!1;const{swiperRef:i}=e,s=Ie(null),o=Ie("swiper-slide"),a=Ie(!1);function l(f,d,p){d===s.value&&(o.value=p)}Kt(()=>{!i||!i.value||(i.value.on("_slideClass",l),r=!0)}),dp(()=>{r||!i||!i.value||(i.value.on("_slideClass",l),r=!0)}),na(()=>{!s.value||!i||!i.value||(typeof e.swiperSlideIndex<"u"&&(s.value.swiperSlideIndex=e.swiperSlideIndex),i.value.destroyed&&o.value!=="swiper-slide"&&(o.value="swiper-slide"))}),Hr(()=>{!i||!i.value||i.value.off("_slideClass",l)});const u=pt(()=>({isActive:o.value.indexOf("swiper-slide-active")>=0,isVisible:o.value.indexOf("swiper-slide-visible")>=0,isPrev:o.value.indexOf("swiper-slide-prev")>=0,isNext:o.value.indexOf("swiper-slide-next")>=0}));jt("swiperSlide",u);const c=()=>{a.value=!0};return()=>xe(e.tag,{class:sy(`${o.value}`),ref:s,"data-swiper-slide-index":typeof e.virtualIndex>"u"&&i&&i.value&&i.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:c},e.zoom?xe("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},[n.default&&n.default(u.value),e.lazy&&!a.value&&xe("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(u.value),e.lazy&&!a.value&&xe("div",{class:"swiper-lazy-preloader"})])}},UP=gt(e=>{e.vueApp.component("Swiper",WP),e.vueApp.component("SwiperSlide",QP)}),GP=gt(()=>{});var Ea=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},qs=typeof window>"u"||"Deno"in globalThis;function Ht(){}function YP(e,t){return typeof e=="function"?e(t):e}function KP(e){return typeof e=="number"&&e>=0&&e!==1/0}function XP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ih(e,t){return typeof e=="function"?e(t):e}function JP(e,t){return typeof e=="function"?e(t):e}function sh(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Tu(o,t.options))return!1}else if(!ks(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function oh(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ps(t.options.mutationKey)!==Ps(s))return!1}else if(!ks(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Tu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ps)(e)}function Ps(e){return JSON.stringify(e,(t,n)=>Ec(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ks(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ks(e[n],t[n])):!1}function oy(e,t){if(e===t)return e;const n=ah(e)&&ah(t);if(n||Ec(e)&&Ec(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function ek(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?oy(e,t):t}function tk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function nk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var xu=Symbol();function ay(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===xu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Pr,Jn,vi,mh,rk=(mh=class extends Ea{constructor(){super();Oe(this,Pr);Oe(this,Jn);Oe(this,vi);we(this,vi,t=>{if(!qs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){H(this,Jn)||this.setEventListener(H(this,vi))}onUnsubscribe(){var t;this.hasListeners()||((t=H(this,Jn))==null||t.call(this),we(this,Jn,void 0))}setEventListener(t){var n;we(this,vi,t),(n=H(this,Jn))==null||n.call(this),we(this,Jn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){H(this,Pr)!==t&&(we(this,Pr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof H(this,Pr)=="boolean"?H(this,Pr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Pr=new WeakMap,Jn=new WeakMap,vi=new WeakMap,mh),ly=new rk,bi,Zn,wi,gh,ik=(gh=class extends Ea{constructor(){super();Oe(this,bi,!0);Oe(this,Zn);Oe(this,wi);we(this,wi,t=>{if(!qs&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){H(this,Zn)||this.setEventListener(H(this,wi))}onUnsubscribe(){var t;this.hasListeners()||((t=H(this,Zn))==null||t.call(this),we(this,Zn,void 0))}setEventListener(t){var n;we(this,wi,t),(n=H(this,Zn))==null||n.call(this),we(this,Zn,t(this.setOnline.bind(this)))}setOnline(t){H(this,bi)!==t&&(we(this,bi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return H(this,bi)}},bi=new WeakMap,Zn=new WeakMap,wi=new WeakMap,gh),Yo=new ik;function sk(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function ok(e){return Math.min(1e3*2**e,3e4)}function cy(e){return(e??"online")==="online"?Yo.isOnline():!0}var uy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function bl(e){return e instanceof uy}function fy(e){let t=!1,n=0,r=!1,i;const s=sk(),o=y=>{var E;r||(d(new uy(y)),(E=e.abort)==null||E.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>ly.isFocused()&&(e.networkMode==="always"||Yo.isOnline())&&e.canRun(),c=()=>cy(e.networkMode)&&e.canRun(),f=y=>{var E;r||(r=!0,(E=e.onSuccess)==null||E.call(e,y),i==null||i(),s.resolve(y))},d=y=>{var E;r||(r=!0,(E=e.onError)==null||E.call(e,y),i==null||i(),s.reject(y))},p=()=>new Promise(y=>{var E;i=v=>{(r||u())&&y(v)},(E=e.onPause)==null||E.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),m=()=>{if(r)return;let y;const E=n===0?e.initialPromise:void 0;try{y=E??e.fn()}catch(v){y=Promise.reject(v)}Promise.resolve(y).then(f).catch(v=>{var P;if(r)return;const w=e.retry??(qs?0:3),g=e.retryDelay??ok,S=typeof g=="function"?g(n,v):g,_=w===!0||typeof w=="number"&&nu()?void 0:p()).then(()=>{t?d(v):m()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?m():p().then(m),s)}}var ak=e=>setTimeout(e,0);function lk(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=ak;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Et=lk(),kr,yh,dy=(yh=class{constructor(){Oe(this,kr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),KP(this.gcTime)&&we(this,kr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qs?1/0:5*60*1e3))}clearGcTimeout(){H(this,kr)&&(clearTimeout(H(this,kr)),we(this,kr,void 0))}},kr=new WeakMap,yh),Si,Ei,Ft,Ar,ut,As,Ir,$t,En,vh,ck=(vh=class extends dy{constructor(t){super();Oe(this,$t);Oe(this,Si);Oe(this,Ei);Oe(this,Ft);Oe(this,Ar);Oe(this,ut);Oe(this,As);Oe(this,Ir);we(this,Ir,!1),we(this,As,t.defaultOptions),this.setOptions(t.options),this.observers=[],we(this,Ar,t.client),we(this,Ft,H(this,Ar).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,we(this,Si,fk(this.options)),this.state=t.state??H(this,Si),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=H(this,ut))==null?void 0:t.promise}setOptions(t){this.options={...H(this,As),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&H(this,Ft).remove(this)}setData(t,n){const r=ek(this.state.data,t,this.options);return ct(this,$t,En).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ct(this,$t,En).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=H(this,ut))==null?void 0:r.promise;return(i=H(this,ut))==null||i.cancel(t),n?n.then(Ht).catch(Ht):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(H(this,Si))}isActive(){return this.observers.some(t=>JP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!XP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=H(this,ut))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=H(this,ut))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),H(this,Ft).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(H(this,ut)&&(H(this,Ir)?H(this,ut).cancel({revert:!0}):H(this,ut).cancelRetry()),this.scheduleGc()),H(this,Ft).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ct(this,$t,En).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(H(this,ut))return H(this,ut).continueRetry(),H(this,ut).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(we(this,Ir,!0),r.signal)})},s=()=>{const f=ay(this.options,n),d={client:H(this,Ar),queryKey:this.queryKey,meta:this.meta};return i(d),we(this,Ir,!1),this.options.persister?this.options.persister(f,d,this):f(d)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:H(this,Ar),state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),we(this,Ei,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&ct(this,$t,En).call(this,{type:"fetch",meta:(c=o.fetchOptions)==null?void 0:c.meta});const a=f=>{var d,p,m,y;bl(f)&&f.silent||ct(this,$t,En).call(this,{type:"error",error:f}),bl(f)||((p=(d=H(this,Ft).config).onError)==null||p.call(d,f,this),(y=(m=H(this,Ft).config).onSettled)==null||y.call(m,this.state.data,f,this)),this.scheduleGc()};return we(this,ut,fy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var d,p,m,y;if(f===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(E){a(E);return}(p=(d=H(this,Ft).config).onSuccess)==null||p.call(d,f,this),(y=(m=H(this,Ft).config).onSettled)==null||y.call(m,f,this.state.error,this),this.scheduleGc()},onError:a,onFail:(f,d)=>{ct(this,$t,En).call(this,{type:"failed",failureCount:f,error:d})},onPause:()=>{ct(this,$t,En).call(this,{type:"pause"})},onContinue:()=>{ct(this,$t,En).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),H(this,ut).start()}},Si=new WeakMap,Ei=new WeakMap,Ft=new WeakMap,Ar=new WeakMap,ut=new WeakMap,As=new WeakMap,Ir=new WeakMap,$t=new WeakSet,En=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...uk(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return bl(i)&&i.revert&&H(this,Ei)?{...H(this,Ei),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Et.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),H(this,Ft).notify({query:this,type:"updated",action:t})})},vh);function uk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:cy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function fk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var on,bh,hy=(bh=class extends Ea{constructor(n={}){super();Oe(this,on);this.config=n,we(this,on,new Map)}build(n,r,i){const s=r.queryKey,o=r.queryHash??Tu(s,r);let a=this.get(o);return a||(a=new ck({client:n,queryKey:s,queryHash:o,options:n.defaultQueryOptions(r),state:i,defaultOptions:n.getQueryDefaults(s)}),this.add(a)),a}add(n){H(this,on).has(n.queryHash)||(H(this,on).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=H(this,on).get(n.queryHash);r&&(n.destroy(),r===n&&H(this,on).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Et.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return H(this,on).get(n)}getAll(){return[...H(this,on).values()]}find(n){const r={exact:!0,...n};return this.getAll().find(i=>sh(r,i))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(i=>sh(n,i)):r}notify(n){Et.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){Et.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Et.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},on=new WeakMap,bh),an,wt,Mr,ln,Hn,wh,dk=(wh=class extends dy{constructor(t){super();Oe(this,ln);Oe(this,an);Oe(this,wt);Oe(this,Mr);this.mutationId=t.mutationId,we(this,wt,t.mutationCache),we(this,an,[]),this.state=t.state||hk(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){H(this,an).includes(t)||(H(this,an).push(t),this.clearGcTimeout(),H(this,wt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){we(this,an,H(this,an).filter(n=>n!==t)),this.scheduleGc(),H(this,wt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){H(this,an).length||(this.state.status==="pending"?this.scheduleGc():H(this,wt).remove(this))}continue(){var t;return((t=H(this,Mr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,c,f,d,p,m,y,E,v,w,g,S,_,P,M,R;const n=()=>{ct(this,ln,Hn).call(this,{type:"continue"})};we(this,Mr,fy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,k)=>{ct(this,ln,Hn).call(this,{type:"failed",failureCount:A,error:k})},onPause:()=>{ct(this,ln,Hn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>H(this,wt).canRun(this)}));const r=this.state.status==="pending",i=!H(this,Mr).canStart();try{if(r)n();else{ct(this,ln,Hn).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=H(this,wt).config).onMutate)==null?void 0:o.call(s,t,this));const k=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));k!==this.state.context&&ct(this,ln,Hn).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const A=await H(this,Mr).start();return await((c=(u=H(this,wt).config).onSuccess)==null?void 0:c.call(u,A,t,this.state.context,this)),await((d=(f=this.options).onSuccess)==null?void 0:d.call(f,A,t,this.state.context)),await((m=(p=H(this,wt).config).onSettled)==null?void 0:m.call(p,A,null,this.state.variables,this.state.context,this)),await((E=(y=this.options).onSettled)==null?void 0:E.call(y,A,null,t,this.state.context)),ct(this,ln,Hn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((w=(v=H(this,wt).config).onError)==null?void 0:w.call(v,A,t,this.state.context,this)),await((S=(g=this.options).onError)==null?void 0:S.call(g,A,t,this.state.context)),await((P=(_=H(this,wt).config).onSettled)==null?void 0:P.call(_,void 0,A,this.state.variables,this.state.context,this)),await((R=(M=this.options).onSettled)==null?void 0:R.call(M,void 0,A,t,this.state.context)),A}finally{ct(this,ln,Hn).call(this,{type:"error",error:A})}}finally{H(this,wt).runNext(this)}}},an=new WeakMap,wt=new WeakMap,Mr=new WeakMap,ln=new WeakSet,Hn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Et.batch(()=>{H(this,an).forEach(r=>{r.onMutationUpdate(t)}),H(this,wt).notify({mutation:this,type:"updated",action:t})})},wh);function hk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Tn,Wt,Is,Sh,py=(Sh=class extends Ea{constructor(n={}){super();Oe(this,Tn);Oe(this,Wt);Oe(this,Is);this.config=n,we(this,Tn,new Set),we(this,Wt,new Map),we(this,Is,0)}build(n,r,i){const s=new dk({mutationCache:this,mutationId:++Ws(this,Is)._,options:n.defaultMutationOptions(r),state:i});return this.add(s),s}add(n){H(this,Tn).add(n);const r=co(n);if(typeof r=="string"){const i=H(this,Wt).get(r);i?i.push(n):H(this,Wt).set(r,[n])}this.notify({type:"added",mutation:n})}remove(n){if(H(this,Tn).delete(n)){const r=co(n);if(typeof r=="string"){const i=H(this,Wt).get(r);if(i)if(i.length>1){const s=i.indexOf(n);s!==-1&&i.splice(s,1)}else i[0]===n&&H(this,Wt).delete(r)}}this.notify({type:"removed",mutation:n})}canRun(n){const r=co(n);if(typeof r=="string"){const i=H(this,Wt).get(r),s=i==null?void 0:i.find(o=>o.state.status==="pending");return!s||s===n}else return!0}runNext(n){var i;const r=co(n);if(typeof r=="string"){const s=(i=H(this,Wt).get(r))==null?void 0:i.find(o=>o!==n&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Et.batch(()=>{H(this,Tn).forEach(n=>{this.notify({type:"removed",mutation:n})}),H(this,Tn).clear(),H(this,Wt).clear()})}getAll(){return Array.from(H(this,Tn))}find(n){const r={exact:!0,...n};return this.getAll().find(i=>oh(r,i))}findAll(n={}){return this.getAll().filter(r=>oh(n,r))}notify(n){Et.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return Et.batch(()=>Promise.all(n.map(r=>r.continue().catch(Ht))))}},Tn=new WeakMap,Wt=new WeakMap,Is=new WeakMap,Sh);function co(e){var t;return(t=e.options.scope)==null?void 0:t.id}function ch(e){return{onFetch:(t,n)=>{var c,f,d,p,m;const r=t.options,i=(d=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:d.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const E=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},v=ay(t.options,t.fetchOptions),w=async(g,S,_)=>{if(y)return Promise.reject();if(S==null&&g.pages.length)return Promise.resolve(g);const P={client:t.client,queryKey:t.queryKey,pageParam:S,direction:_?"backward":"forward",meta:t.options.meta};E(P);const M=await v(P),{maxPages:R}=t.options,A=_?nk:tk;return{pages:A(g.pages,M,R),pageParams:A(g.pageParams,S,R)}};if(i&&s.length){const g=i==="backward",S=g?pk:uh,_={pages:s,pageParams:o},P=S(r,_);a=await w(_,P,g)}else{const g=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:uh(r,a);if(l>0&&S==null)break;a=await w(a,S),l++}while(l{var y,E;return(E=(y=t.options).persister)==null?void 0:E.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function uh(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function pk(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Ge,er,tr,_i,Ti,nr,xi,Oi,Eh,mk=(Eh=class{constructor(t={}){Oe(this,Ge);Oe(this,er);Oe(this,tr);Oe(this,_i);Oe(this,Ti);Oe(this,nr);Oe(this,xi);Oe(this,Oi);we(this,Ge,t.queryCache||new hy),we(this,er,t.mutationCache||new py),we(this,tr,t.defaultOptions||{}),we(this,_i,new Map),we(this,Ti,new Map),we(this,nr,0)}mount(){Ws(this,nr)._++,H(this,nr)===1&&(we(this,xi,ly.subscribe(async t=>{t&&(await this.resumePausedMutations(),H(this,Ge).onFocus())})),we(this,Oi,Yo.subscribe(async t=>{t&&(await this.resumePausedMutations(),H(this,Ge).onOnline())})))}unmount(){var t,n;Ws(this,nr)._--,H(this,nr)===0&&((t=H(this,xi))==null||t.call(this),we(this,xi,void 0),(n=H(this,Oi))==null||n.call(this),we(this,Oi,void 0))}isFetching(t){return H(this,Ge).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return H(this,er).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const n=this.defaultQueryOptions({queryKey:t});return(r=H(this,Ge).get(n.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),r=H(this,Ge).build(this,n),i=r.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(ih(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(i))}getQueriesData(t){return H(this,Ge).findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.defaultQueryOptions({queryKey:t}),s=H(this,Ge).get(i.queryHash),o=s==null?void 0:s.state.data,a=YP(n,o);if(a!==void 0)return H(this,Ge).build(this,i).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Et.batch(()=>H(this,Ge).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t){var r;const n=this.defaultQueryOptions({queryKey:t});return(r=H(this,Ge).get(n.queryHash))==null?void 0:r.state}removeQueries(t){const n=H(this,Ge);Et.batch(()=>{n.findAll(t).forEach(r=>{n.remove(r)})})}resetQueries(t,n){const r=H(this,Ge);return Et.batch(()=>(r.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const r={revert:!0,...n},i=Et.batch(()=>H(this,Ge).findAll(t).map(s=>s.cancel(r)));return Promise.all(i).then(Ht).catch(Ht)}invalidateQueries(t,n={}){return Et.batch(()=>(H(this,Ge).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},n)))}refetchQueries(t,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},i=Et.batch(()=>H(this,Ge).findAll(t).filter(s=>!s.isDisabled()).map(s=>{let o=s.fetch(void 0,r);return r.throwOnError||(o=o.catch(Ht)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(i).then(Ht)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const r=H(this,Ge).build(this,n);return r.isStaleByTime(ih(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Ht).catch(Ht)}fetchInfiniteQuery(t){return t.behavior=ch(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Ht).catch(Ht)}ensureInfiniteQueryData(t){return t.behavior=ch(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Yo.isOnline()?H(this,er).resumePausedMutations():Promise.resolve()}getQueryCache(){return H(this,Ge)}getMutationCache(){return H(this,er)}getDefaultOptions(){return H(this,tr)}setDefaultOptions(t){we(this,tr,t)}setQueryDefaults(t,n){H(this,_i).set(Ps(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...H(this,_i).values()],r={};return n.forEach(i=>{ks(t,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(t,n){H(this,Ti).set(Ps(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...H(this,Ti).values()],r={};return n.forEach(i=>{ks(t,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const n={...H(this,tr).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Tu(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===xu&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...H(this,tr).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){H(this,Ge).clear(),H(this,er).clear()}},Ge=new WeakMap,er=new WeakMap,tr=new WeakMap,_i=new WeakMap,Ti=new WeakMap,nr=new WeakMap,xi=new WeakMap,Oi=new WeakMap,Eh);function gk(e){return e}function yk(e,t,n){var l;if(typeof t!="object"||t===null)return;const r=e.getMutationCache(),i=e.getQueryCache(),s=((l=e.getDefaultOptions().hydrate)==null?void 0:l.deserializeData)??gk,o=t.mutations||[],a=t.queries||[];o.forEach(({state:u,...c})=>{var f,d;r.build(e,{...(f=e.getDefaultOptions().hydrate)==null?void 0:f.mutations,...(d=n==null?void 0:n.defaultOptions)==null?void 0:d.mutations,...c},u)}),a.forEach(({queryKey:u,state:c,queryHash:f,meta:d,promise:p})=>{var E,v;let m=i.get(f);const y=c.data===void 0?c.data:s(c.data);if(m){if(m.state.dataUpdatedAt_c(i,t,String(s),r+1));if(typeof e=="object"&&Sk(e)){const i=Object.entries(e).map(([s,o])=>[s,_c(o,t,s,r+1)]);return Object.fromEntries(i)}return e}function wk(e,t){return _c(e,t)}function Ee(e,t=!1){return wk(e,(n,r,i)=>{if(i===1&&r==="queryKey")return Ee(n,!0);if(t&&Ek(n))return Ee(n(),t);if(Qe(n))return Ee(Me(n),t)})}function Sk(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Ek(e){return typeof e=="function"}var _k=class extends hy{find(e){return super.find(Ee(e))}findAll(e={}){return super.findAll(Ee(e))}},Tk=class extends py{find(e){return super.find(Ee(e))}findAll(e={}){return super.findAll(Ee(e))}},my=class extends mk{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new _k,mutationCache:e.mutationCache||new Tk};super(t),this.isRestoring=Ie(!1)}isFetching(e={}){return super.isFetching(Ee(e))}isMutating(e={}){return super.isMutating(Ee(e))}getQueryData(e){return super.getQueryData(Ee(e))}ensureQueryData(e){return super.ensureQueryData(Ee(e))}getQueriesData(e){return super.getQueriesData(Ee(e))}setQueryData(e,t,n={}){return super.setQueryData(Ee(e),t,Ee(n))}setQueriesData(e,t,n={}){return super.setQueriesData(Ee(e),t,Ee(n))}getQueryState(e){return super.getQueryState(Ee(e))}removeQueries(e={}){return super.removeQueries(Ee(e))}resetQueries(e={},t={}){return super.resetQueries(Ee(e),Ee(t))}cancelQueries(e={},t={}){return super.cancelQueries(Ee(e),Ee(t))}invalidateQueries(e={},t={}){const n=Ee(e),r=Ee(t);if(super.invalidateQueries({...n,refetchType:"none"},r),n.refetchType==="none")return Promise.resolve();const i={...n,type:n.refetchType??n.type??"active"};return cr().then(()=>super.refetchQueries(i,r))}refetchQueries(e={},t={}){return super.refetchQueries(Ee(e),Ee(t))}fetchQuery(e){return super.fetchQuery(Ee(e))}prefetchQuery(e){return super.prefetchQuery(Ee(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(Ee(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(Ee(e))}setDefaultOptions(e){super.setDefaultOptions(Ee(e))}setQueryDefaults(e,t){super.setQueryDefaults(Ee(e),Ee(t))}getQueryDefaults(e){return super.getQueryDefaults(Ee(e))}setMutationDefaults(e,t){super.setMutationDefaults(Ee(e),Ee(t))}getMutationDefaults(e){return super.getMutationDefaults(Ee(e))}},xk={install:(e,t={})=>{const n=bk(t.queryClientKey);let r;if("queryClient"in t&&t.queryClient)r=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;r=new my(o)}qs||r.mount();let i=()=>{};if(t.clientPersister){r.isRestoring.value=!0;const[o,a]=t.clientPersister(r);i=o,a.then(()=>{var l;r.isRestoring.value=!1,(l=t.clientPersisterOnSuccess)==null||l.call(t,r)})}const s=()=>{r.unmount(),i()};if(e.onUnmount)e.onUnmount(s);else{const o=e.unmount;e.unmount=function(){s(),o()}}e.provide(n,r)}};const Ok=gt(e=>{const t=g_("vue-query"),n=new my({defaultOptions:{queries:{staleTime:5e3}}}),r={queryClient:n};e.vueApp.use(xk,r),e.hooks.hook("app:created",()=>{yk(n,t.value)})});var _o={exports:{}},Ck=_o.exports,fh;function Pk(){return fh||(fh=1,function(e,t){(function(n,r){e.exports=r()})(Ck,function(){function n(h,b){if(!(h instanceof b))throw new TypeError("Cannot call a class as a function")}function r(h,b){for(var T=0;T1&&arguments[1]!==void 0?arguments[1]:null,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,x=h[a]=h[a]||[],I={all:x,evt:null,found:null};return b&&T&&J(x)>0&&u(x,function(N,L){if(N.eventName==b&&N.fn.toString()==T.toString())return I.found=!0,I.evt=L,!1}),I}function f(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=b.onElement,x=b.withCallback,I=b.avoidDuplicate,N=I===void 0||I,L=b.once,V=L!==void 0&&L,ee=b.useCapture,te=ee!==void 0&&ee,se=arguments.length>2?arguments[2]:void 0,fe=T||[];function Se(ge){k(x)&&x.call(se,ge,this),V&&Se.destroy()}return B(fe)&&(fe=document.querySelectorAll(fe)),Se.destroy=function(){u(fe,function(ge){var ve=c(ge,h,Se);ve.found&&ve.all.splice(ve.evt,1),ge.removeEventListener&&ge.removeEventListener(h,Se,te)})},u(fe,function(ge){var ve=c(ge,h,Se);(ge.addEventListener&&N&&!ve.found||!N)&&(ge.addEventListener(h,Se,te),ve.all.push({eventName:h,fn:Se}))}),Se}function d(h,b){u(b.split(" "),function(T){return h.classList.add(T)})}function p(h,b){u(b.split(" "),function(T){return h.classList.remove(T)})}function m(h,b){return h.classList.contains(b)}function y(h,b){for(;h!==document.body;){if(!(h=h.parentElement))return!1;if(typeof h.matches=="function"?h.matches(b):h.msMatchesSelector(b))return h}}function E(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",T=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!h||b==="")return!1;if(b==="none")return k(T)&&T(),!1;var x=P(),I=b.split(" ");u(I,function(N){d(h,"g"+N)}),f(x,{onElement:h,avoidDuplicate:!1,once:!0,withCallback:function(N,L){u(I,function(V){p(L,"g"+V)}),k(T)&&T()}})}function v(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(b==="")return h.style.webkitTransform="",h.style.MozTransform="",h.style.msTransform="",h.style.OTransform="",h.style.transform="",!1;h.style.webkitTransform=b,h.style.MozTransform=b,h.style.msTransform=b,h.style.OTransform=b,h.style.transform=b}function w(h){h.style.display="block"}function g(h){h.style.display="none"}function S(h){var b=document.createDocumentFragment(),T=document.createElement("div");for(T.innerHTML=h;T.firstChild;)b.appendChild(T.firstChild);return b}function _(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function P(){var h,b=document.createElement("fakeelement"),T={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(h in T)if(b.style[h]!==void 0)return T[h]}function M(h,b,T,x){if(h())b();else{var I;T||(T=100);var N=setInterval(function(){h()&&(clearInterval(N),I&&clearTimeout(I),b())},T)}}function R(h,b,T){if($(h))console.error("Inject assets error");else if(k(b)&&(T=b,b=!1),B(b)&&b in window)k(T)&&T();else{var x;if(h.indexOf(".css")!==-1){if((x=document.querySelectorAll('link[href="'+h+'"]'))&&x.length>0)return void(k(T)&&T());var I=document.getElementsByTagName("head")[0],N=I.querySelectorAll('link[rel="stylesheet"]'),L=document.createElement("link");return L.rel="stylesheet",L.type="text/css",L.href=h,L.media="all",N?I.insertBefore(L,N[0]):I.appendChild(L),void(k(T)&&T())}if((x=document.querySelectorAll('script[src="'+h+'"]'))&&x.length>0){if(k(T)){if(B(b))return M(function(){return window[b]!==void 0},function(){T()}),!1;T()}}else{var V=document.createElement("script");V.type="text/javascript",V.src=h,V.onload=function(){if(k(T)){if(B(b))return M(function(){return window[b]!==void 0},function(){T()}),!1;T()}},document.body.appendChild(V)}}}function A(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function k(h){return typeof h=="function"}function B(h){return typeof h=="string"}function z(h){return!(!h||!h.nodeType||h.nodeType!=1)}function G(h){return Array.isArray(h)}function ue(h){return h&&h.length&&isFinite(h.length)}function pe(h){return o(h)==="object"&&h!=null&&!k(h)&&!G(h)}function $(h){return h==null}function K(h,b){return h!==null&&hasOwnProperty.call(h,b)}function J(h){if(pe(h)){if(h.keys)return h.keys().length;var b=0;for(var T in h)K(h,T)&&b++;return b}return h.length}function me(h){return!isNaN(parseFloat(h))&&isFinite(h)}function at(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,b=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!b.length)return!1;if(b.length==1)return b[0];typeof h=="string"&&(h=parseInt(h));var T=[];u(b,function(V){T.push(V.getAttribute("data-taborder"))});var x=Math.max.apply(Math,T.map(function(V){return parseInt(V)})),I=h<0?1:h+1;I>x&&(I="1");var N=T.filter(function(V){return V>=parseInt(I)}),L=N.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(L,'"]'))}function it(h){if(h.events.hasOwnProperty("keyboard"))return!1;h.events.keyboard=f("keydown",{onElement:window,withCallback:function(b,T){var x=(b=b||window.event).keyCode;if(x==9){var I=document.querySelector(".gbtn.focused");if(!I){var N=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if(N=="input"||N=="textarea"||N=="button")return}b.preventDefault();var L=document.querySelectorAll(".gbtn[data-taborder]");if(!L||L.length<=0)return;if(!I){var V=at();return void(V&&(V.focus(),d(V,"focused")))}var ee=at(I.getAttribute("data-taborder"));p(I,"focused"),ee&&(ee.focus(),d(ee,"focused"))}x==39&&h.nextSlide(),x==37&&h.prevSlide(),x==27&&h.close()}})}var qe=i(function h(b,T){var x=this,I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(n(this,h),this.img=b,this.slide=T,this.onclose=I,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(N){return x.dragStart(N)},!1),this.img.addEventListener("mouseup",function(N){return x.dragEnd(N)},!1),this.img.addEventListener("mousemove",function(N){return x.drag(N)},!1),this.img.addEventListener("click",function(N){return x.slide.classList.contains("dragging-nav")?(x.zoomOut(),!1):x.zoomedIn?void(x.zoomedIn&&!x.dragging&&x.zoomOut()):x.zoomIn()},!1),this.img.setZoomEvents=!0},[{key:"zoomIn",value:function(){var h=this.widowWidth();if(!(this.zoomedIn||h<=768)){var b=this.img;if(b.setAttribute("data-style",b.getAttribute("style")),b.style.maxWidth=b.naturalWidth+"px",b.style.maxHeight=b.naturalHeight+"px",b.naturalWidth>h){var T=h/2-b.naturalWidth/2;this.setTranslate(this.img.parentNode,T,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&typeof this.onclose=="function"&&this.onclose()}},{key:"dragStart",value:function(h){h.preventDefault(),this.zoomedIn?(h.type==="touchstart"?(this.initialX=h.touches[0].clientX-this.xOffset,this.initialY=h.touches[0].clientY-this.yOffset):(this.initialX=h.clientX-this.xOffset,this.initialY=h.clientY-this.yOffset),h.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(h){var b=this;h.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){b.dragging=!1,b.img.isDragging=!1,b.img.classList.remove("dragging")},100)}},{key:"drag",value:function(h){this.active&&(h.preventDefault(),h.type==="touchmove"?(this.currentX=h.touches[0].clientX-this.initialX,this.currentY=h.touches[0].clientY-this.initialY):(this.currentX=h.clientX-this.initialX,this.currentY=h.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(h){if(this.zoomedIn){var b=h.clientX-this.img.naturalWidth/2,T=h.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,b,T)}}},{key:"setTranslate",value:function(h,b,T){h.style.transform="translate3d("+b+"px, "+T+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),Pt=i(function h(){var b=this,T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n(this,h);var x=T.dragEl,I=T.toleranceX,N=I===void 0?40:I,L=T.toleranceY,V=L===void 0?65:L,ee=T.slide,te=ee===void 0?null:ee,se=T.instance,fe=se===void 0?null:se;this.el=x,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=N,this.toleranceY=V,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=te,this.instance=fe,this.el.addEventListener("mousedown",function(Se){return b.dragStart(Se)},!1),this.el.addEventListener("mouseup",function(Se){return b.dragEnd(Se)},!1),this.el.addEventListener("mousemove",function(Se){return b.drag(Se)},!1)},[{key:"dragStart",value:function(h){if(this.slide.classList.contains("zoomed"))this.active=!1;else{h.type==="touchstart"?(this.initialX=h.touches[0].clientX-this.xOffset,this.initialY=h.touches[0].clientY-this.yOffset):(this.initialX=h.clientX-this.xOffset,this.initialY=h.clientY-this.yOffset);var b=h.target.nodeName.toLowerCase();h.target.classList.contains("nodrag")||y(h.target,".nodrag")||["input","select","textarea","button","a"].indexOf(b)!==-1?this.active=!1:(h.preventDefault(),(h.target===this.el||b!=="img"&&y(h.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=y(h.target,".ginner-container")))}}},{key:"dragEnd",value:function(h){var b=this;h&&h.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,this.doSlideChange=="right"&&this.instance.prevSlide(),this.doSlideChange=="left"&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){b.instance.preventOutsideClick=!1,b.toleranceReached=!1,b.lastDirection=null,b.dragging=!1,b.el.isDragging=!1,b.el.classList.remove("dragging"),b.slide.classList.remove("dragging-nav"),b.dragContainer.style.transform="",b.dragContainer.style.transition=""},100)}},{key:"drag",value:function(h){if(this.active){h.preventDefault(),this.slide.classList.add("dragging-nav"),h.type==="touchmove"?(this.currentX=h.touches[0].clientX-this.initialX,this.currentY=h.touches[0].clientY-this.initialY):(this.currentX=h.clientX-this.initialX,this.currentY=h.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var b=Math.abs(this.currentX),T=Math.abs(this.currentY);if(b>0&&b>=Math.abs(this.currentY)&&(!this.lastDirection||this.lastDirection=="x")){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var x=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&x&&(this.doSlideChange=x),this.instance.settings.dragAutoSnap&&x)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),x=="right"&&this.instance.prevSlide(),void(x=="left"&&this.instance.nextSlide())}if(this.toleranceY>0&&T>0&&T>=b&&(!this.lastDirection||this.lastDirection=="y")){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var I=this.shouldClose();return!this.instance.settings.dragAutoSnap&&I&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&I&&this.instance.close())}}}},{key:"shouldChange",value:function(){var h=!1;if(Math.abs(this.currentX)>=this.toleranceX){var b=this.currentX>0?"right":"left";(b=="left"&&this.slide!==this.slide.parentNode.lastChild||b=="right"&&this.slide!==this.slide.parentNode.firstChild)&&(h=b)}return h}},{key:"shouldClose",value:function(){var h=!1;return Math.abs(this.currentY)>=this.toleranceY&&(h=!0),h}},{key:"setTranslate",value:function(h,b,T){var x=arguments.length>3&&arguments[3]!==void 0&&arguments[3];h.style.transition=x?"all .2s ease":"",h.style.transform="translate3d(".concat(b,"px, ").concat(T,"px, 0)")}}]);function Bt(h,b,T,x){var I=h.querySelector(".gslide-media"),N=new Image,L="gSlideTitle_"+T,V="gSlideDesc_"+T;N.addEventListener("load",function(){k(x)&&x()},!1),N.src=b.href,b.sizes!=""&&b.srcset!=""&&(N.sizes=b.sizes,N.srcset=b.srcset),N.alt="",$(b.alt)||b.alt===""||(N.alt=b.alt),b.title!==""&&N.setAttribute("aria-labelledby",L),b.description!==""&&N.setAttribute("aria-describedby",V),b.hasOwnProperty("_hasCustomWidth")&&b._hasCustomWidth&&(N.style.width=b.width),b.hasOwnProperty("_hasCustomHeight")&&b._hasCustomHeight&&(N.style.height=b.height),I.insertBefore(N,I.firstChild)}function Ur(h,b,T,x){var I=this,N=h.querySelector(".ginner-container"),L="gvideo"+T,V=h.querySelector(".gslide-media"),ee=this.getAllPlayers();d(N,"gvideo-container"),V.insertBefore(S('
'),V.firstChild);var te=h.querySelector(".gvideo-wrapper");R(this.settings.plyr.css,"Plyr");var se=b.href,fe=b==null?void 0:b.videoProvider,Se=!1;V.style.maxWidth=b.width,R(this.settings.plyr.js,"Plyr",function(){if(!fe&&se.match(/vimeo\.com\/([0-9]*)/)&&(fe="vimeo"),!fe&&(se.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||se.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||se.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||se.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/))&&(fe="youtube"),fe==="local"||!fe){fe="local";var ge='")}var ve=Se||S('
'));d(te,"".concat(fe,"-video gvideo")),te.appendChild(ve),te.setAttribute("data-id",L),te.setAttribute("data-index",T);var He=K(I.settings.plyr,"config")?I.settings.plyr.config:{},Dt=new Plyr("#"+L,He);Dt.on("ready",function(kt){ee[L]=kt.detail.plyr,k(x)&&x()}),M(function(){return h.querySelector("iframe")&&h.querySelector("iframe").dataset.ready=="true"},function(){I.resize(h)}),Dt.on("enterfullscreen",yt),Dt.on("exitfullscreen",yt)})}function yt(h){var b=y(h.target,".gslide-media");h.type==="enterfullscreen"&&d(b,"fullscreen"),h.type==="exitfullscreen"&&p(b,"fullscreen")}function W(h,b,T,x){var I,N=this,L=h.querySelector(".gslide-media"),V=!(!K(b,"href")||!b.href)&&b.href.split("#").pop().trim(),ee=!(!K(b,"content")||!b.content)&&b.content;if(ee&&(B(ee)&&(I=S('
'.concat(ee,"
"))),z(ee))){ee.style.display=="none"&&(ee.style.display="block");var te=document.createElement("div");te.className="ginlined-content",te.appendChild(ee),I=te}if(V){var se=document.getElementById(V);if(!se)return!1;var fe=se.cloneNode(!0);fe.style.height=b.height,fe.style.maxWidth=b.width,d(fe,"ginlined-content"),I=fe}if(!I)return console.error("Unable to append inline slide content",b),!1;L.style.height=b.height,L.style.width=b.width,L.appendChild(I),this.events["inlineclose"+V]=f("click",{onElement:L.querySelectorAll(".gtrigger-close"),withCallback:function(Se){Se.preventDefault(),N.close()}}),k(x)&&x()}function ie(h,b,T,x){var I=h.querySelector(".gslide-media"),N=function(L){var V=L.url,ee=L.allow,te=L.callback,se=L.appendTo,fe=document.createElement("iframe");return fe.className="vimeo-video gvideo",fe.src=V,fe.style.width="100%",fe.style.height="100%",ee&&fe.setAttribute("allow",ee),fe.onload=function(){fe.onload=null,d(fe,"node-ready"),k(te)&&te()},se&&se.appendChild(fe),fe}({url:b.href,callback:x});I.parentNode.style.maxWidth=b.width,I.parentNode.style.height=b.height,I.appendChild(N)}var re=i(function h(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n(this,h),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},pe(b)&&(this.defaults=l(this.defaults,b))},[{key:"sourceType",value:function(h){var b=h;return(h=h.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)!==null?"image":h.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||h.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||h.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||h.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/)||h.match(/vimeo\.com\/([0-9]*)/)||h.match(/\.(mp4|ogg|webm|mov)/)!==null?"video":h.match(/\.(mp3|wav|wma|aac|ogg)/)!==null?"audio":h.indexOf("#")>-1&&b.split("#").pop().trim()!==""?"inline":h.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(h,b){var T=this,x=l({descPosition:b.descPosition},this.defaults);if(pe(h)&&!z(h)){K(h,"type")||(K(h,"content")&&h.content?h.type="inline":K(h,"href")&&(h.type=this.sourceType(h.href)));var I=l(x,h);return this.setSize(I,b),I}var N="",L=h.getAttribute("data-glightbox"),V=h.nodeName.toLowerCase();if(V==="a"&&(N=h.href),V==="img"&&(N=h.src,x.alt=h.alt),x.href=N,u(x,function(ge,ve){K(b,ve)&&ve!=="width"&&(x[ve]=b[ve]);var He=h.dataset[ve];$(He)||(x[ve]=T.sanitizeValue(He))}),x.content&&(x.type="inline"),!x.type&&N&&(x.type=this.sourceType(N)),$(L)){if(!x.title&&V=="a"){var ee=h.title;$(ee)||ee===""||(x.title=ee)}if(!x.title&&V=="img"){var te=h.alt;$(te)||te===""||(x.title=te)}}else{var se=[];u(x,function(ge,ve){se.push(";\\s?"+ve)}),se=se.join("\\s?:|"),L.trim()!==""&&u(x,function(ge,ve){var He=L,Dt=new RegExp("s?"+ve+"s?:s?(.*?)("+se+"s?:|$)"),kt=He.match(Dt);if(kt&&kt.length&&kt[1]){var pn=kt[1].trim().replace(/;\s*$/,"");x[ve]=T.sanitizeValue(pn)}})}if(x.description&&x.description.substring(0,1)==="."){var fe;try{fe=document.querySelector(x.description).innerHTML}catch(ge){if(!(ge instanceof DOMException))throw ge}fe&&(x.description=fe)}if(!x.description){var Se=h.querySelector(".glightbox-desc");Se&&(x.description=Se.innerHTML)}return this.setSize(x,b,h),this.slideConfig=x,x}},{key:"setSize",value:function(h,b){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,x=h.type=="video"?this.checkSize(b.videosWidth):this.checkSize(b.width),I=this.checkSize(b.height);return h.width=K(h,"width")&&h.width!==""?this.checkSize(h.width):x,h.height=K(h,"height")&&h.height!==""?this.checkSize(h.height):I,T&&h.type=="image"&&(h._hasCustomWidth=!!T.dataset.width,h._hasCustomHeight=!!T.dataset.height),h}},{key:"checkSize",value:function(h){return me(h)?"".concat(h,"px"):h}},{key:"sanitizeValue",value:function(h){return h!=="true"&&h!=="false"?h:h==="true"}}]),oe=i(function h(b,T,x){n(this,h),this.element=b,this.instance=T,this.index=x},[{key:"setContent",value:function(){var h=this,b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,T=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(m(b,"loaded"))return!1;var x=this.instance.settings,I=this.slideConfig,N=A();k(x.beforeSlideLoad)&&x.beforeSlideLoad({index:this.index,slide:b,player:!1});var L=I.type,V=I.descPosition,ee=b.querySelector(".gslide-media"),te=b.querySelector(".gslide-title"),se=b.querySelector(".gslide-desc"),fe=b.querySelector(".gdesc-inner"),Se=T,ge="gSlideTitle_"+this.index,ve="gSlideDesc_"+this.index;if(k(x.afterSlideLoad)&&(Se=function(){k(T)&&T(),x.afterSlideLoad({index:h.index,slide:b,player:h.instance.getSlidePlayerInstance(h.index)})}),I.title==""&&I.description==""?fe&&fe.parentNode.parentNode.removeChild(fe.parentNode):(te&&I.title!==""?(te.id=ge,te.innerHTML=I.title):te.parentNode.removeChild(te),se&&I.description!==""?(se.id=ve,N&&x.moreLength>0?(I.smallDescription=this.slideShortDesc(I.description,x.moreLength,x.moreText),se.innerHTML=I.smallDescription,this.descriptionEvents(se,I)):se.innerHTML=I.description):se.parentNode.removeChild(se),d(ee.parentNode,"desc-".concat(V)),d(fe.parentNode,"description-".concat(V))),d(ee,"gslide-".concat(L)),d(b,"loaded"),L!=="video"){if(L!=="external")return L==="inline"?(W.apply(this.instance,[b,I,this.index,Se]),void(I.draggable&&new Pt({dragEl:b.querySelector(".gslide-inline"),toleranceX:x.dragToleranceX,toleranceY:x.dragToleranceY,slide:b,instance:this.instance}))):void(L!=="image"?k(Se)&&Se():Bt(b,I,this.index,function(){var He=b.querySelector("img");I.draggable&&new Pt({dragEl:He,toleranceX:x.dragToleranceX,toleranceY:x.dragToleranceY,slide:b,instance:h.instance}),I.zoomable&&He.naturalWidth>He.offsetWidth&&(d(He,"zoomable"),new qe(He,b,function(){h.instance.resize()})),k(Se)&&Se()}));ie.apply(this,[b,I,this.index,Se])}else Ur.apply(this.instance,[b,I,this.index,Se])}},{key:"slideShortDesc",value:function(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50,T=arguments.length>2&&arguments[2]!==void 0&&arguments[2],x=document.createElement("div");x.innerHTML=h;var I=x.innerText,N=T;if((h=I.trim()).length<=b)return h;var L=h.substr(0,b-1);return N?(x=null,L+'... '+T+""):L}},{key:"descriptionEvents",value:function(h,b){var T=this,x=h.querySelector(".desc-more");if(!x)return!1;f("click",{onElement:x,withCallback:function(I,N){I.preventDefault();var L=document.body,V=y(N,".gslide-desc");if(!V)return!1;V.innerHTML=b.description,d(L,"gdesc-open");var ee=f("click",{onElement:[L,y(V,".gslide-description")],withCallback:function(te,se){te.target.nodeName.toLowerCase()!=="a"&&(p(L,"gdesc-open"),d(L,"gdesc-closed"),V.innerHTML=b.smallDescription,T.descriptionEvents(V,b),setTimeout(function(){p(L,"gdesc-closed")},400),ee.destroy())}})}})}},{key:"create",value:function(){return S(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){z(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var h=new re(this.instance.settings.slideExtraAttributes);return this.slideConfig=h.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);function Te(h){return Math.sqrt(h.x*h.x+h.y*h.y)}function Fe(h,b){var T=function(x,I){var N=Te(x)*Te(I);if(N===0)return 0;var L=function(V,ee){return V.x*ee.x+V.y*ee.y}(x,I)/N;return L>1&&(L=1),Math.acos(L)}(h,b);return function(x,I){return x.x*I.y-I.x*x.y}(h,b)>0&&(T*=-1),180*T/Math.PI}var O=i(function h(b){n(this,h),this.handlers=[],this.el=b},[{key:"add",value:function(h){this.handlers.push(h)}},{key:"del",value:function(h){h||(this.handlers=[]);for(var b=this.handlers.length;b>=0;b--)this.handlers[b]===h&&this.handlers.splice(b,1)}},{key:"dispatch",value:function(){for(var h=0,b=this.handlers.length;h=0)console.log("ignore drag for this touched element",h.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=h.touches[0].pageX,this.y1=h.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(h,this.element),this.preTapPosition.x!==null&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var b=this.preV;if(h.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var T={x:h.touches[1].pageX-this.x1,y:h.touches[1].pageY-this.y1};b.x=T.x,b.y=T.y,this.pinchStartLen=Te(b),this.multipointStart.dispatch(h,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout((function(){this.longTap.dispatch(h,this.element),this._preventTap=!0}).bind(this),750)}}},{key:"move",value:function(h){if(h.touches){var b=this.preV,T=h.touches.length,x=h.touches[0].pageX,I=h.touches[0].pageY;if(this.isDoubleTap=!1,T>1){var N=h.touches[1].pageX,L=h.touches[1].pageY,V={x:h.touches[1].pageX-x,y:h.touches[1].pageY-I};b.x!==null&&(this.pinchStartLen>0&&(h.zoom=Te(V)/this.pinchStartLen,this.pinch.dispatch(h,this.element)),h.angle=Fe(V,b),this.rotate.dispatch(h,this.element)),b.x=V.x,b.y=V.y,this.x2!==null&&this.sx2!==null?(h.deltaX=(x-this.x2+N-this.sx2)/2,h.deltaY=(I-this.y2+L-this.sy2)/2):(h.deltaX=0,h.deltaY=0),this.twoFingerPressMove.dispatch(h,this.element),this.sx2=N,this.sy2=L}else{if(this.x2!==null){h.deltaX=x-this.x2,h.deltaY=I-this.y2;var ee=Math.abs(this.x1-this.x2),te=Math.abs(this.y1-this.y2);(ee>10||te>10)&&(this._preventTap=!0)}else h.deltaX=0,h.deltaY=0;this.pressMove.dispatch(h,this.element)}this.touchMove.dispatch(h,this.element),this._cancelLongTap(),this.x2=x,this.y2=I,T>1&&h.preventDefault()}}},{key:"end",value:function(h){if(h.changedTouches){this._cancelLongTap();var b=this;h.touches.length<2&&(this.multipointEnd.dispatch(h,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(h.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){b.swipe.dispatch(h,b.element)},0)):(this.tapTimeout=setTimeout(function(){b._preventTap||b.tap.dispatch(h,b.element),b.isDoubleTap&&(b.doubleTap.dispatch(h,b.element),b.isDoubleTap=!1)},0),b.isDoubleTap||(b.singleTapTimeout=setTimeout(function(){b.singleTap.dispatch(h,b.element)},250))),this.touchEnd.dispatch(h,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(h){this.cancelAll(),this.touchCancel.dispatch(h,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(h,b,T,x){return Math.abs(h-b)>=Math.abs(T-x)?h-b>0?"Left":"Right":T-x>0?"Up":"Down"}},{key:"on",value:function(h,b){this[h]&&this[h].add(b)}},{key:"off",value:function(h,b){this[h]&&this[h].del(b)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]);function Q(h){var b=function(){var L,V=document.createElement("fakeelement"),ee={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(L in ee)if(V.style[L]!==void 0)return ee[L]}(),T=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,x=m(h,"gslide-media")?h:h.querySelector(".gslide-media"),I=y(x,".ginner-container"),N=h.querySelector(".gslide-description");T>769&&(x=I),d(x,"greset"),v(x,"translate3d(0, 0, 0)"),f(b,{onElement:x,once:!0,withCallback:function(L,V){p(x,"greset")}}),x.style.opacity="",N&&(N.style.opacity="")}function q(h){if(h.events.hasOwnProperty("touch"))return!1;var b,T,x,I=_(),N=I.width,L=I.height,V=!1,ee=null,te=null,se=null,fe=!1,Se=1,ge=1,ve=!1,He=!1,Dt=null,kt=null,pn=null,lt=null,mn=0,gn=0,Bi=!1,Gr=!1,en={},tn={},Ou=0,Cu=0,vy=document.getElementById("glightbox-slider"),Hs=document.querySelector(".goverlay"),by=new F(vy,{touchStart:function(De){if(V=!0,(m(De.targetTouches[0].target,"ginner-container")||y(De.targetTouches[0].target,".gslide-desc")||De.targetTouches[0].target.nodeName.toLowerCase()=="a")&&(V=!1),y(De.targetTouches[0].target,".gslide-inline")&&!m(De.targetTouches[0].target.parentNode,"gslide-inline")&&(V=!1),V){if(tn=De.targetTouches[0],en.pageX=De.targetTouches[0].pageX,en.pageY=De.targetTouches[0].pageY,Ou=De.targetTouches[0].clientX,Cu=De.targetTouches[0].clientY,ee=h.activeSlide,te=ee.querySelector(".gslide-media"),x=ee.querySelector(".gslide-inline"),se=null,m(te,"gslide-image")&&(se=te.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(te=ee.querySelector(".ginner-container")),p(Hs,"greset"),De.pageX>20&&De.pageXL){var vt=en.pageX-tn.pageX;if(Math.abs(vt)<=13)return!1}fe=!0;var jn,$s=De.targetTouches[0].clientX,wy=De.targetTouches[0].clientY,Sy=Ou-$s,Ey=Cu-wy;if(Math.abs(Sy)>Math.abs(Ey)?(Bi=!1,Gr=!0):(Gr=!1,Bi=!0),b=tn.pageX-en.pageX,mn=100*b/N,T=tn.pageY-en.pageY,gn=100*T/L,Bi&&se&&(jn=1-Math.abs(T)/L,Hs.style.opacity=jn,h.settings.touchFollowAxis&&(mn=0)),Gr&&(jn=1-Math.abs(b)/N,te.style.opacity=jn,h.settings.touchFollowAxis&&(gn=0)),!se)return v(te,"translate3d(".concat(mn,"%, 0, 0)"));v(te,"translate3d(".concat(mn,"%, ").concat(gn,"%, 0)"))}},touchEnd:function(){if(V){if(fe=!1,He||ve)return pn=Dt,void(lt=kt);var De=Math.abs(parseInt(gn)),vt=Math.abs(parseInt(mn));if(!(De>29&&se))return De<29&&vt<25?(d(Hs,"greset"),Hs.style.opacity=1,Q(te)):void 0;h.close()}},multipointEnd:function(){setTimeout(function(){ve=!1},50)},multipointStart:function(){ve=!0,Se=ge||1},pinch:function(De){if(!se||fe)return!1;ve=!0,se.scaleX=se.scaleY=Se*De.zoom;var vt=Se*De.zoom;if(He=!0,vt<=1)return He=!1,vt=1,lt=null,pn=null,Dt=null,kt=null,void se.setAttribute("style","");vt>4.5&&(vt=4.5),se.style.transform="scale3d(".concat(vt,", ").concat(vt,", 1)"),ge=vt},pressMove:function(De){if(He&&!ve){var vt=tn.pageX-en.pageX,jn=tn.pageY-en.pageY;pn&&(vt+=pn),lt&&(jn+=lt),Dt=vt,kt=jn;var $s="translate3d(".concat(vt,"px, ").concat(jn,"px, 0)");ge&&($s+=" scale3d(".concat(ge,", ").concat(ge,", 1)")),v(se,$s)}},swipe:function(De){if(!He)if(ve)ve=!1;else{if(De.direction=="Left"){if(h.index==h.elements.length-1)return Q(te);h.nextSlide()}if(De.direction=="Right"){if(h.index==0)return Q(te);h.prevSlide()}}}});h.events.touch=by}var U=A(),ne=A()!==null||document.createTouch!==void 0||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,Z=document.getElementsByTagName("html")[0],X={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'',next:' ',prev:''},slideHTML:`

`,lightboxHTML:``},Y=i(function h(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n(this,h),this.customOptions=b,this.settings=l(X,b),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1},[{key:"init",value:function(){var h=this,b=this.getSelector();b&&(this.baseEvents=f("click",{onElement:b,withCallback:function(T,x){T.preventDefault(),h.open(x)}})),this.elements=this.getElements()}},{key:"open",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.elements.length===0)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var T=me(b)?b:this.settings.startAt;if(z(h)){var x=h.getAttribute("data-gallery");x&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,x)),$(T)&&(T=this.getElementIndex(h))<0&&(T=0)}me(T)||(T=0),this.build(),E(this.overlay,this.settings.openEffect==="none"?"none":this.settings.cssEfects.fade.in);var I=document.body,N=window.innerWidth-document.documentElement.clientWidth;if(N>0){var L=document.createElement("style");L.type="text/css",L.className="gcss-styles",L.innerText=".gscrollbar-fixer {margin-right: ".concat(N,"px}"),document.head.appendChild(L),d(I,"gscrollbar-fixer")}d(I,"glightbox-open"),d(Z,"glightbox-open"),U&&(d(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(T,!0),this.elements.length===1?(d(this.prevButton,"glightbox-button-hidden"),d(this.nextButton,"glightbox-button-hidden")):(p(this.prevButton,"glightbox-button-hidden"),p(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),k(this.settings.onOpen)&&this.settings.onOpen(),ne&&this.settings.touchNavigation&&q(this),this.settings.keyboardNavigation&&it(this)}},{key:"openAt",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.open(null,h)}},{key:"showSlide",value:function(){var h=this,b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,T=arguments.length>1&&arguments[1]!==void 0&&arguments[1];w(this.loader),this.index=parseInt(b);var x=this.slidesContainer.querySelector(".current");x&&p(x,"current"),this.slideAnimateOut();var I=this.slidesContainer.querySelectorAll(".gslide")[b];if(m(I,"loaded"))this.slideAnimateIn(I,T),g(this.loader);else{w(this.loader);var N=this.elements[b],L={index:this.index,slide:I,slideNode:I,slideConfig:N.slideConfig,slideIndex:this.index,trigger:N.node,player:null};this.trigger("slide_before_load",L),N.instance.setContent(I,function(){g(h.loader),h.resize(),h.slideAnimateIn(I,T),h.trigger("slide_after_load",L)})}this.slideDescription=I.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&m(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(b+1),this.preloadSlide(b-1)),this.updateNavigationClasses(),this.activeSlide=I}},{key:"preloadSlide",value:function(h){var b=this;if(h<0||h>this.elements.length-1||$(this.elements[h]))return!1;var T=this.slidesContainer.querySelectorAll(".gslide")[h];if(m(T,"loaded"))return!1;var x=this.elements[h],I=x.type,N={index:h,slide:T,slideNode:T,slideConfig:x.slideConfig,slideIndex:h,trigger:x.node,player:null};this.trigger("slide_before_load",N),I==="video"||I==="external"?setTimeout(function(){x.instance.setContent(T,function(){b.trigger("slide_after_load",N)})},200):x.instance.setContent(T,function(){b.trigger("slide_after_load",N)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var h=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(h<0||h>this.elements.length-1))return!1;h<0?h=this.elements.length-1:h>=this.elements.length&&(h=0),this.showSlide(h)}},{key:"insertSlide",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;b<0&&(b=this.elements.length);var T=new oe(h,this,b),x=T.getConfig(),I=l({},x),N=T.create(),L=this.elements.length-1;I.index=b,I.node=!1,I.instance=T,I.slideConfig=x,this.elements.splice(b,0,I);var V=null,ee=null;if(this.slidesContainer){if(b>L)this.slidesContainer.appendChild(N);else{var te=this.slidesContainer.querySelectorAll(".gslide")[b];this.slidesContainer.insertBefore(N,te)}(this.settings.preload&&this.index==0&&b==0||this.index-1==b||this.index+1==b)&&this.preloadSlide(b),this.index===0&&b===0&&(this.index=1),this.updateNavigationClasses(),V=this.slidesContainer.querySelectorAll(".gslide")[b],ee=this.getSlidePlayerInstance(b),I.slideNode=V}this.trigger("slide_inserted",{index:b,slide:V,slideNode:V,slideConfig:x,slideIndex:b,trigger:null,player:ee}),k(this.settings.slideInserted)&&this.settings.slideInserted({index:b,slide:V,player:ee})}},{key:"removeSlide",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;if(h<0||h>this.elements.length-1)return!1;var b=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[h];b&&(this.getActiveSlideIndex()==h&&(h==this.elements.length-1?this.prevSlide():this.nextSlide()),b.parentNode.removeChild(b)),this.elements.splice(h,1),this.trigger("slide_removed",h),k(this.settings.slideRemoved)&&this.settings.slideRemoved(h)}},{key:"slideAnimateIn",value:function(h,b){var T=this,x=h.querySelector(".gslide-media"),I=h.querySelector(".gslide-description"),N={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:$(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:$(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},L={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(x.offsetWidth>0&&I&&(g(I),I.style.display=""),p(h,this.effectsClasses),b)E(h,this.settings.cssEfects[this.settings.openEffect].in,function(){T.settings.autoplayVideos&&T.slidePlayerPlay(h),T.trigger("slide_changed",{prev:N,current:L}),k(T.settings.afterSlideChange)&&T.settings.afterSlideChange.apply(T,[N,L])});else{var V=this.settings.slideEffect,ee=V!=="none"?this.settings.cssEfects[V].in:V;this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(ee=this.settings.cssEfects.slideBack.in),E(h,ee,function(){T.settings.autoplayVideos&&T.slidePlayerPlay(h),T.trigger("slide_changed",{prev:N,current:L}),k(T.settings.afterSlideChange)&&T.settings.afterSlideChange.apply(T,[N,L])})}setTimeout(function(){T.resize(h)},100),d(h,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var h=this.prevActiveSlide;p(h,this.effectsClasses),d(h,"prev");var b=this.settings.slideEffect,T=b!=="none"?this.settings.cssEfects[b].out:b;this.slidePlayerPause(h),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:$(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:$(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),k(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(T=this.settings.cssEfects.slideBack.out),E(h,T,function(){var x=h.querySelector(".ginner-container"),I=h.querySelector(".gslide-media"),N=h.querySelector(".gslide-description");x.style.transform="",I.style.transform="",p(I,"greset"),I.style.opacity="",N&&(N.style.opacity=""),p(h,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(h){var b="gvideo"+h,T=this.getAllPlayers();return!(!K(T,b)||!T[b])&&T[b]}},{key:"stopSlideVideo",value:function(h){if(z(h)){var b=h.querySelector(".gvideo-wrapper");b&&(h=b.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var T=this.getSlidePlayerInstance(h);T&&T.playing&&T.pause()}},{key:"slidePlayerPause",value:function(h){if(z(h)){var b=h.querySelector(".gvideo-wrapper");b&&(h=b.getAttribute("data-index"))}var T=this.getSlidePlayerInstance(h);T&&T.playing&&T.pause()}},{key:"playSlideVideo",value:function(h){if(z(h)){var b=h.querySelector(".gvideo-wrapper");b&&(h=b.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var T=this.getSlidePlayerInstance(h);T&&!T.playing&&T.play()}},{key:"slidePlayerPlay",value:function(h){var b;if(!U||(b=this.settings.plyr.config)!==null&&b!==void 0&&b.muted){if(z(h)){var T=h.querySelector(".gvideo-wrapper");T&&(h=T.getAttribute("data-index"))}var x=this.getSlidePlayerInstance(h);x&&!x.playing&&(x.play(),this.settings.autofocusVideos&&x.elements.container.focus())}}},{key:"setElements",value:function(h){var b=this;this.settings.elements=!1;var T=[];h&&h.length&&u(h,function(x,I){var N=new oe(x,b,I),L=N.getConfig(),V=l({},L);V.slideConfig=L,V.instance=N,V.index=I,T.push(V)}),this.elements=T,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(u(this.elements,function(){var x=S(b.settings.slideHTML);b.slidesContainer.appendChild(x)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(h){var b=!1;return u(this.elements,function(T,x){if(K(T,"node")&&T.node==h)return b=x,!0}),b}},{key:"getElements",value:function(){var h=this,b=[];this.elements=this.elements?this.elements:[],!$(this.settings.elements)&&G(this.settings.elements)&&this.settings.elements.length&&u(this.settings.elements,function(x,I){var N=new oe(x,h,I),L=N.getConfig(),V=l({},L);V.node=!1,V.index=I,V.instance=N,V.slideConfig=L,b.push(V)});var T=!1;return this.getSelector()&&(T=document.querySelectorAll(this.getSelector())),T&&u(T,function(x,I){var N=new oe(x,h,I),L=N.getConfig(),V=l({},L);V.node=x,V.index=I,V.instance=N,V.slideConfig=L,V.gallery=x.getAttribute("data-gallery"),b.push(V)}),b}},{key:"getGalleryElements",value:function(h,b){return h.filter(function(T){return T.gallery==b})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&this.settings.selector.substring(0,5)=="data-"?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var h=[];for(var b in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(b)){var T=this.settings.cssEfects[b];h.push("g".concat(T.in)),h.push("g".concat(T.out))}return h.join(" ")}},{key:"build",value:function(){var h=this;if(this.built)return!1;var b=document.body.childNodes,T=[];u(b,function(te){te.parentNode==document.body&&te.nodeName.charAt(0)!=="#"&&te.hasAttribute&&!te.hasAttribute("aria-hidden")&&(T.push(te),te.setAttribute("aria-hidden","true"))});var x=K(this.settings.svg,"next")?this.settings.svg.next:"",I=K(this.settings.svg,"prev")?this.settings.svg.prev:"",N=K(this.settings.svg,"close")?this.settings.svg.close:"",L=this.settings.lightboxHTML;L=S(L=(L=(L=L.replace(/{nextSVG}/g,x)).replace(/{prevSVG}/g,I)).replace(/{closeSVG}/g,N)),document.body.appendChild(L);var V=document.getElementById("glightbox-body");this.modal=V;var ee=V.querySelector(".gclose");this.prevButton=V.querySelector(".gprev"),this.nextButton=V.querySelector(".gnext"),this.overlay=V.querySelector(".goverlay"),this.loader=V.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=T,this.events={},d(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&ee&&(this.events.close=f("click",{onElement:ee,withCallback:function(te,se){te.preventDefault(),h.close()}})),ee&&!this.settings.closeButton&&ee.parentNode.removeChild(ee),this.nextButton&&(this.events.next=f("click",{onElement:this.nextButton,withCallback:function(te,se){te.preventDefault(),h.nextSlide()}})),this.prevButton&&(this.events.prev=f("click",{onElement:this.prevButton,withCallback:function(te,se){te.preventDefault(),h.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=f("click",{onElement:V,withCallback:function(te,se){h.preventOutsideClick||m(document.body,"glightbox-mobile")||y(te.target,".ginner-container")||y(te.target,".gbtn")||m(te.target,"gnext")||m(te.target,"gprev")||h.close()}})),u(this.elements,function(te,se){h.slidesContainer.appendChild(te.instance.create()),te.slideNode=h.slidesContainer.querySelectorAll(".gslide")[se]}),ne&&d(document.body,"glightbox-touch"),this.events.resize=f("resize",{onElement:window,withCallback:function(){h.resize()}}),this.built=!0}},{key:"resize",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if((h=h||this.activeSlide)&&!m(h,"zoomed")){var b=_(),T=h.querySelector(".gvideo-wrapper"),x=h.querySelector(".gslide-image"),I=this.slideDescription,N=b.width,L=b.height;if(N<=768?d(document.body,"glightbox-mobile"):p(document.body,"glightbox-mobile"),T||x){var V=!1;if(I&&(m(I,"description-bottom")||m(I,"description-top"))&&!m(I,"gabsolute")&&(V=!0),x){if(N<=768)x.querySelector("img");else if(V){var ee,te,se=I.offsetHeight,fe=x.querySelector("img"),Se=(ee=this.elements[this.index])===null||ee===void 0?void 0:ee.node,ge="100vh";Se&&(ge=(te=Se.getAttribute("data-height"))!==null&&te!==void 0?te:ge),fe.setAttribute("style","max-height: calc(".concat(ge," - ").concat(se,"px)")),I.setAttribute("style","max-width: ".concat(fe.offsetWidth,"px;"))}}if(T){var ve=K(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!ve){var He=T.clientWidth,Dt=T.clientHeight,kt=He/Dt;ve="".concat(He/kt,":").concat(Dt/kt)}var pn=ve.split(":"),lt=this.settings.videosWidth,mn=this.settings.videosWidth,gn=(mn=me(lt)||lt.indexOf("px")!==-1?parseInt(lt):lt.indexOf("vw")!==-1?N*parseInt(lt)/100:lt.indexOf("vh")!==-1?L*parseInt(lt)/100:lt.indexOf("%")!==-1?N*parseInt(lt)/100:parseInt(T.clientWidth))/(parseInt(pn[0])/parseInt(pn[1]));if(gn=Math.floor(gn),V&&(L-=I.offsetHeight),mn>N||gn>L||Lmn){var Bi=T.offsetWidth,Gr=T.offsetHeight,en=L/Gr,tn={width:Bi*en,height:Gr*en};T.parentNode.setAttribute("style","max-width: ".concat(tn.width,"px")),V&&I.setAttribute("style","max-width: ".concat(tn.width,"px;"))}else T.parentNode.style.maxWidth="".concat(lt),V&&I.setAttribute("style","max-width: ".concat(lt,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var h=this.loop();p(this.nextButton,"disabled"),p(this.prevButton,"disabled"),this.index==0&&this.elements.length-1==0?(d(this.prevButton,"disabled"),d(this.nextButton,"disabled")):this.index!==0||h?this.index!==this.elements.length-1||h||d(this.nextButton,"disabled"):d(this.prevButton,"disabled")}},{key:"loop",value:function(){var h=K(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return h=K(this.settings,"loop")?this.settings.loop:h,h}},{key:"close",value:function(){var h=this;if(!this.lightboxOpen){if(this.events){for(var b in this.events)this.events.hasOwnProperty(b)&&this.events[b].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&u(this.bodyHiddenChildElms,function(T){T.removeAttribute("aria-hidden")}),d(this.modal,"glightbox-closing"),E(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.out),E(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(h.activeSlide=null,h.prevActiveSlideIndex=null,h.prevActiveSlide=null,h.built=!1,h.events){for(var T in h.events)h.events.hasOwnProperty(T)&&h.events[T].destroy();h.events=null}var x=document.body;p(Z,"glightbox-open"),p(x,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),h.modal.parentNode.removeChild(h.modal),h.trigger("close"),k(h.settings.onClose)&&h.settings.onClose();var I=document.querySelector(".gcss-styles");I&&I.parentNode.removeChild(I),h.lightboxOpen=!1,h.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(h,b){var T=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!h||!k(b))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:h,once:T,callback:b})}},{key:"once",value:function(h,b){this.on(h,b,!0)}},{key:"trigger",value:function(h){var b=this,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=[];u(this.apiEvents,function(I,N){var L=I.evt,V=I.once,ee=I.callback;L==h&&(ee(T),V&&x.push(N))}),x.length&&u(x,function(I){return b.apiEvents.splice(I,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.3.1"}}]);return function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=new Y(h);return b.init(),b}})}(_o)),_o.exports}var kk=Pk();const Ak=tC(kk),Ik=gt({name:"glightbox",enforce:"post",setup(){const e=()=>Ak({touchNavigation:!0,loop:!1,autoplayVideos:!0,openEffect:"zoom",closeEffect:"fade",cssEffects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"}},preload:!0,zoomable:!0,draggable:!0,selector:".glightbox-image, [data-glightbox]"});return Kt(()=>{setTimeout(()=>{e()},500)}),{provide:{initGLightbox:e}}}}),Mk=[P0,kS,DS,o_,a_,l_,c_,f_,P_,_T,TT,vC,UP,GP,Ok,Ik],Rk=Zt({name:"NuxtRouteAnnouncer",props:{atomic:{type:Boolean,default:!1},politeness:{type:String,default:"polite"}},setup(e,{slots:t,expose:n}){const{set:r,polite:i,assertive:s,message:o,politeness:a}=w_({politeness:e.politeness});return n({set:r,polite:i,assertive:s,message:o,politeness:a}),()=>xe("span",{class:"nuxt-route-announcer",style:{position:"absolute"}},xe("span",{role:"alert","aria-live":a.value,"aria-atomic":e.atomic,style:{border:"0",clip:"rect(0 0 0 0)","clip-path":"inset(50%)",height:"1px",width:"1px",overflow:"hidden",position:"absolute","white-space":"nowrap","word-wrap":"normal",margin:"-1px",padding:"0"}},t.default?t.default({message:o.value}):o.value))}}),gy=(e="RouteProvider")=>Zt({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,i={};for(const s in t.route)Object.defineProperty(i,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return jt(Vr,cn(i)),()=>xe(t.vnode,{ref:t.vnodeRef})}}),Dk=gy(),dh=new WeakMap,Lk=Zt({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 i=Ue(),s=Ie(),o=tt(Vr,null);let a;r({pageRef:s});const l=tt(hm,null);let u;const c=i.deferHydration();if(i.isHydrating){const d=i.hooks.hookOnce("app:error",c);Ct().beforeEach(d)}e.pageKey&&ar(()=>e.pageKey,(d,p)=>{d!==p&&i.callHook("page:loading:start")});let f=!1;{const d=Ct().beforeResolve(()=>{f=!1});Hr(()=>{d()})}return()=>xe(Dm,{name:e.name,route:e.route,...t},{default:d=>{const p=Nk(o,d.route,d.Component),m=o&&o.matched.length===d.route.matched.length;if(!d.Component){if(u&&!m)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(p&&o&&(!l||l!=null&&l.isCurrent(o)))return m?u:null;const y=Xl(d,e.pageKey),E=zk(o,d.route,d.Component);!i.isHydrating&&a===y&&!E&&cr(()=>{f=!0,i.callHook("page:loading:end")}),a=y;const v=!!(e.transition??d.route.meta.pageTransition??bf),w=v&&Fk([e.transition,d.route.meta.pageTransition,bf,{onBeforeLeave(){i._runningTransition=!0},onAfterLeave(){delete i._runningTransition,i.callHook("page:transition:finish",d.Component)}}]),g=e.keepalive??d.route.meta.keepalive??l0;return u=Fm(v&&w,BE(g,xe($c,{suspensible:!0,onPending:()=>i.callHook("page:start",d.Component),onResolve:()=>{cr(()=>i.callHook("page:finish",d.Component).then(()=>{if(!f&&!E)return f=!0,i.callHook("page:loading:end")}).finally(c))}},{default:()=>{const S={key:y||void 0,vnode:n.default?jk(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:v,vnodeRef:s};if(!g)return xe(Dk,S);const _=d.Component.type,P=_;let M=dh.get(P);return M||(M=gy(_.name||_.__name),dh.set(P,M)),xe(M,S)}}))).default(),u}})}});function Fk(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?nu(n.onAfterLeave):void 0}));return aa(...t)}function Nk(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((i,s)=>{var o,a,l;return((o=i.components)==null?void 0:o.default)!==((l=(a=e.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Xl({route:t,Component:n})!==Xl({route:e,Component:n})}function zk(e,t,n){return e?t.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)})xe(rr[e.name],e.layoutProps,t.slots)}}),Bk={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},qk=Zt({name:"NuxtLayout",inheritAttrs:!1,props:Bk,setup(e,t){const n=Ue(),r=tt(Vr),s=!r||r===la()?Lm():r,o=pt(()=>{let c=Me(e.name)??(s==null?void 0:s.meta.layout)??"default";return c&&!(c in rr)&&e.fallback&&(c=Me(e.fallback)),c}),a=fn();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Ct().beforeEach(c)}let u;return()=>{const c=o.value&&o.value in rr,f=(s==null?void 0:s.meta.layoutTransition)??a0,d=u;return u=o.value,Fm(c&&f,{default:()=>xe($c,{suspensible:!0,onResolve:()=>{cr(l)}},{default:()=>xe(Hk,{layoutProps:Hp(t.attrs,{ref:a}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==d&&p===o.value,hasTransition:!!f},t.slots)})}).default()}}}),Hk=Zt({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&&jt(hm,{isCurrent:s=>n===(s.meta.layout??"default")});const r=tt(Vr);if(r&&r===la()){const s=Lm(),o={};for(const a in s){const l=a;Object.defineProperty(o,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?s[l]:r[l]})}jt(Vr,cn(o))}return()=>{var s,o;return!n||typeof n=="string"&&!(n in rr)?(o=(s=t.slots).default)==null?void 0:o.call(s):xe(Vk,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),yy="theme";function $k(){const e=Ie("#555555"),t=Ie(null),n=o=>{e.value=o},r=o=>{t.value=o},i=pt(()=>t.value||e.value),s={topicColor:e,themeOverride:t,setTopicColor:n,setThemeOverride:r,currentColor:i};return jt(yy,s),s}function EA(){const e=tt(yy);if(!e)throw new Error("useTheme must be used within a component that has called provideTheme");return e}const wl=Ie(!1);function Wk(){const e=n=>{wl.value=n},t=pt(()=>wl.value?"mourning-mode":"");return{isMourningMode:pt(()=>wl.value),setMourningMode:e,mourningModeClass:t}}const Qk=h_(Rk),Uk=Zt({__name:"app",setup(e){$k();const{mourningModeClass:t}=Wk(),n=Ie({x:0,y:0}),r=Ct(),i=Ie(!1);return Kt(()=>{const s=o=>{n.value={x:o.clientX+25,y:o.clientY+25}};document.addEventListener("mousemove",s),jc(()=>{document.removeEventListener("mousemove",s)})}),r.beforeEach(()=>{i.value=!0}),r.afterEach(()=>{setTimeout(()=>{i.value=!1},300)}),(s,o)=>{const a=Qk,l=Lk,u=qk;return It(),Do("div",{class:Ls(Me(t))},[$e(a),Me(i)?(It(),Do("div",{key:0,class:"loading-overlay",style:Ds({left:Me(n).x+"px",top:Me(n).y+"px"})},o[0]||(o[0]=[qp('
',1)]),4)):mb("",!0),$e(u,null,{default:Nc(()=>[$e(l)]),_:1})],2)}}}),Gk={__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),i=r===404,s=n.statusMessage??(i?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,c=i?he(()=>le(()=>import("./DLDT8Yvr.js"),__vite__mapDeps([117,1,10,118]),import.meta.url)):he(()=>le(()=>import("./BjWueRWY.js"),__vite__mapDeps([119,10,120]),import.meta.url));return(f,d)=>(It(),Cn(Me(c),Ly(Vp({statusCode:Me(r),statusMessage:Me(s),description:Me(o),stack:Me(a)})),null,16))}},Yk={key:0},hh={__name:"nuxt-root",setup(e){const t=()=>null,n=Ue(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Ct().beforeEach(u)}const i=!1;jt(Vr,la()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const s=ca(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b|googlebot/i;hp((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,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(mm(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>_r(u)),!1});const l=!1;return(u,c)=>(It(),Cn($c,{onResolve:Me(r)},{default:Nc(()=>[Me(o)?(It(),Do("div",Yk)):Me(s)?(It(),Cn(Me(Gk),{key:1,error:Me(s)},null,8,["error"])):Me(l)?(It(),Cn(Me(t),{key:2,context:Me(l)},null,8,["context"])):Me(i)?(It(),Cn(Dv(Me(i)),{key:3})):(It(),Cn(Me(Uk),{key:4}))]),_:1},8,["onResolve"]))}};let ph;{let e;ph=async function(){var o,a;if(e)return e;const r=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?nw(hh):tw(hh),i=h0({vueApp:r});async function s(l){var u;await i.callHook("app:error",l),(u=i.payload).error||(u.error=Nr(l))}r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await g0(i,Mk)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(u0),await i.hooks.callHook("app:mounted",r),await cr()}catch(l){s(l)}return r},e=ph().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{xe as $,Hp as A,Ls as B,Ue as C,Kt as D,cr as E,ht as F,oA as G,Ds as H,nA as I,Pn as J,bc as K,vA as L,kC as M,Jd as N,Xd as O,Vr as P,Kd as Q,tA as R,WP as S,QP as T,Ly as U,fn as V,ha as W,Xf as X,Hr as Y,hA as Z,pA as _,jp as a,Zk as a0,Jp as a1,O0 as a2,v_ as a3,$r as a4,Gc as a5,gr as a6,x0 as a7,Pw as a8,Ss as a9,lA as aa,Fn as ab,uA as ac,av as ad,xh as ae,cA as af,mr as ag,Av as ah,jc as ai,tt as aj,d_ as ak,To as al,Yh as am,Pc as an,Ab as ao,eb as ap,Xk as aq,sA as ar,aA as as,im as at,iA as au,qp as av,Jk as aw,Lk as ax,$e as b,Do as c,Bp as d,Zt as e,pt as f,Me as g,rA as h,ar as i,mb as j,Wk as k,EA as l,la as m,Ct as n,It as o,g_ as p,Cn as q,Ie as r,Nr as s,zy as t,fA as u,eA as v,Nc as w,Lm as x,dA as y,Dv as z};