PageSourceSearch

https://blog.thorchain.org/_nuxt/CzmLbeac.js

js thorchain.org collected 2026-10-02 03:32:09 UTC 648,206 bytes, 106 lines download raw bytes

vendor: 5,553 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./2DUO9hL6.js","./CpbhIgpj.js","./BzRYNgvS.js","./wIJK0uQT.js","./BULYW6Ga.js","./DTefkDn7.js","./DKyxbFA_.js","./BSIz5Qtj.js","./CTATYhup.js","./CmZaxeWU.js","./BeH_VUNf.js","./yGRlSzQ7.js","./CSzzGtwK.js","./B-ySbOAc.js","./Ynb9zp-D.js","./D_Gu-pgO.js","./BCaRlKa6.js","./CW2RnHHi.js","./CqkleIqs.js","./CRUF9u2F.js"])))=>i.map(i=>d[i]);
2(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(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 n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();function Rg(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const Ze={},Zo=[],ti=()=>{},Eb=()=>!1,Ec=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Pg=t=>t.startsWith("onUpdate:"),Vt=Object.assign,Og=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},NC=Object.prototype.hasOwnProperty,rt=(t,e)=>NC.call(t,e),Re=Array.isArray,ea=t=>Tc(t)==="[object Map]",Tb=t=>Tc(t)==="[object Set]",FC=t=>Tc(t)==="[object RegExp]",Me=t=>typeof t=="function",St=t=>typeof t=="string",ji=t=>typeof t=="symbol",ut=t=>t!==null&&typeof t=="object",Mg=t=>(ut(t)||Me(t))&&Me(t.then)&&Me(t.catch),Cb=Object.prototype.toString,Tc=t=>Cb.call(t),jC=t=>Tc(t).slice(8,-1),Ab=t=>Tc(t)==="[object Object]",Wf=t=>St(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ta=Rg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qf=t=>{const e=Object.create(null);return(r=>e[r]||(e[r]=t(r)))},HC=/-\w/g,hn=qf(t=>t.replace(HC,e=>e.slice(1).toUpperCase())),BC=/\B([A-Z])/g,Cs=qf(t=>t.replace(BC,"-$1").toLowerCase()),Gf=qf(t=>t.charAt(0).toUpperCase()+t.slice(1)),Td=qf(t=>t?`on${Gf(t)}`:""),zr=(t,e)=>!Object.is(t,e),ra=(t,...e)=>{for(let r=0;r<t.length;r++)t[r](...e)},kb=(t,e,r,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:r})},Ig=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Rb=t=>{const e=St(t)?Number(t):NaN;return isNaN(e)?t:e};let wy;const Yf=()=>wy||(wy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ps(t){if(Re(t)){const e={};for(let r=0;r<t.length;r++){const n=t[r],i=St(n)?WC(n):ps(n);if(i)for(const s in i)e[s]=i[s]}return e}else if(St(t)||ut(t))return t}const UC=/;(?![^(]*\))/g,zC=/:([^]+)/,VC=/\/\*[^]*?\*\//g;function WC(t){const e={};return t.replace(VC,"").split(UC).forEach(r=>{if(r){const n=r.split(zC);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function ki(t){let e="";if(St(t))e=t;else if(Re(t))for(let r=0;r<t.length;r++){const n=ki(t[r]);n&&(e+=n+" ")}else if(ut(t))for(const r in t)t[r]&&(e+=r+" ");return e.trim()}function vV(t){if(!t)return null;let{class:e,style:r}=t;return e&&!St(e)&&(t.class=ki(e)),r&&(t.style=ps(r)),t}const qC="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",GC=Rg(qC);function Pb(t){return!!t||t===""}const Ob=t=>!!(t&&t.__v_isRef===!0),Kf=t=>St(t)?t:t==null?"":Re(t)||ut(t)&&(t.toString===Cb||!Me(t.toString))?Ob(t)?Kf(t.value):JSON.stringify(t,Mb,2):String(t),Mb=(t,e)=>Ob(e)?Mb(t,e.value):ea(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i],s)=>(r[Cd(n,s)+" =>"]=i,r),{})}:Tb(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>Cd(r))}:ji(e)?Cd(e):ut(e)&&!Re(e)&&!Ab(e)?String(e):e,Cd=(t,e="")=>{var r;return ji(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};let _r;class Ib{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_r,!e&&_r&&(this.index=(_r.scopes||(_r.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].pause();for(e=0,r=this.effects.length;e<r;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].resume();for(e=0,r=this.effects.length;e<r;e++)this.effects[e].resume()}}run(e){if(this._active){const r=_r;try{return _r=this,e()}finally{_r=r}}}on(){++this._on===1&&(this.prevScope=_r,_r=this)}off(){this._on>0&&--this._on===0&&(_r=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function $g(t){return new Ib(t)}function Hi(){return _r}function yo(t,e=!1){_r&&_r.cleanups.push(t)}let ht;const Ad=new WeakSet;class $b{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler
vendor: 4,148 bytes, line 2
2=void 0,_r&&_r.active&&_r.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ad.has(this)&&(Ad.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Lb(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,xy(this),Nb(this);const e=ht,r=Ln;ht=this,Ln=!0;try{return this.fn()}finally{Fb(this),ht=e,Ln=r,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ng(e);this.deps=this.depsTail=void 0,xy(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ad.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yh(this)&&this.run()}get dirty(){return Yh(this)}}let Db=0,Tl,Cl;function Lb(t,e=!1){if(t.flags|=8,e){t.next=Cl,Cl=t;return}t.next=Tl,Tl=t}function Dg(){Db++}function Lg(){if(--Db>0)return;if(Cl){let e=Cl;for(Cl=void 0;e;){const r=e.next;e.next=void 0,e.flags&=-9,e=r}}let t;for(;Tl;){let e=Tl;for(Tl=void 0;e;){const r=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=r}}if(t)throw t}function Nb(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Fb(t){let e,r=t.depsTail,n=r;for(;n;){const i=n.prevDep;n.version===-1?(n===r&&(r=i),Ng(n),YC(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=r}function Yh(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(jb(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function jb(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===tc)||(t.globalVersion=tc,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Yh(t))))return;t.flags|=2;const e=t.dep,r=ht,n=Ln;ht=t,Ln=!0;try{Nb(t);const i=t.fn(t._value);(e.version===0||zr(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ht=r,Ln=n,Fb(t),t.flags&=-3}}function Ng(t,e=!1){const{dep:r,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),r.subs===t&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let s=r.computed.deps;s;s=s.nextDep)Ng(s,!0)}!e&&!--r.sc&&r.map&&r.map.delete(r.key)}function YC(t){const{prevDep:e,nextDep:r}=t;e&&(e.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=e,t.nextDep=void 0)}let Ln=!0;const Hb=[];function Mi(){Hb.push(Ln),Ln=!1}function Ii(){const t=Hb.pop();Ln=t===void 0?!0:t}function xy(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const r=ht;ht=void 0;try{e()}finally{ht=r}}}let tc=0;class KC{constructor(e,r){this.sub=e,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xf{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ht||!Ln||ht===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==ht)r=this.activeLink=new KC(ht,this),ht.deps?(r.prevDep=ht.depsTail,ht.depsTail.nextDep=r,ht.depsTail=r):ht.deps=ht.depsTail=r,Bb(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=ht.depsTail,r.nextDep=void 0,ht.depsTail.nextDep=r,ht.depsTail=r,ht.deps===r&&(ht.deps=n)}return r}trigger(e){this.version++,tc++,this.notify(e)}notify(e){Dg();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Lg()}}}function Bb(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Bb(n)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}const Yu=new WeakMap,Zs=Symbol(""),Kh=Symbol(""),rc=Symbol("");function br(t,e,r){if(Ln&&ht){let n=Yu.get(t);n||Yu.set(t,n=new Map);let i=n.get(r);i||(n.set(r,i=new Xf),i.map=n,i.key=r),i.track()}}function bi(t,e,r,n,i,s){const o=Yu.get(t);if(!o){tc++;return}const a=l=>{l&&l.trigger()};if(Dg(),e==="clear")o.forEach(a);else{const l=Re(t),c=l&&Wf(r);if(l&&r==="length"){const u=Number(n);o.forEach((d,h)=>{(h==="length"||h===rc||!ji(h)&&h>=u)&&a(d)})}else switch((r!==void 0||o.has(void 0))&&a(o.get(r)),c&&a(o.get(rc
vendor: 3,743 bytes, line 2
2)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Zs)),ea(t)&&a(o.get(Kh)));break;case"delete":l||(a(o.get(Zs)),ea(t)&&a(o.get(Kh)));break;case"set":ea(t)&&a(o.get(Zs));break}}Lg()}function XC(t,e){const r=Yu.get(t);return r&&r.get(e)}function Po(t){const e=Ye(t);return e===t?e:(br(e,"iterate",rc),un(t)?e:e.map(Fn))}function Qf(t){return br(t=Ye(t),"iterate",rc),t}function ts(t,e){return si(t)?ri(t)?_a(Fn(e)):_a(e):Fn(e)}const QC={__proto__:null,[Symbol.iterator](){return kd(this,Symbol.iterator,t=>ts(this,t))},concat(...t){return Po(this).concat(...t.map(e=>Re(e)?Po(e):e))},entries(){return kd(this,"entries",t=>(t[1]=ts(this,t[1]),t))},every(t,e){return fi(this,"every",t,e,void 0,arguments)},filter(t,e){return fi(this,"filter",t,e,r=>r.map(n=>ts(this,n)),arguments)},find(t,e){return fi(this,"find",t,e,r=>ts(this,r),arguments)},findIndex(t,e){return fi(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return fi(this,"findLast",t,e,r=>ts(this,r),arguments)},findLastIndex(t,e){return fi(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return fi(this,"forEach",t,e,void 0,arguments)},includes(...t){return Rd(this,"includes",t)},indexOf(...t){return Rd(this,"indexOf",t)},join(t){return Po(this).join(t)},lastIndexOf(...t){return Rd(this,"lastIndexOf",t)},map(t,e){return fi(this,"map",t,e,void 0,arguments)},pop(){return Ka(this,"pop")},push(...t){return Ka(this,"push",t)},reduce(t,...e){return Sy(this,"reduce",t,e)},reduceRight(t,...e){return Sy(this,"reduceRight",t,e)},shift(){return Ka(this,"shift")},some(t,e){return fi(this,"some",t,e,void 0,arguments)},splice(...t){return Ka(this,"splice",t)},toReversed(){return Po(this).toReversed()},toSorted(t){return Po(this).toSorted(t)},toSpliced(...t){return Po(this).toSpliced(...t)},unshift(...t){return Ka(this,"unshift",t)},values(){return kd(this,"values",t=>ts(this,t))}};function kd(t,e,r){const n=Qf(t),i=n[e]();return n!==t&&!un(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=r(s.value)),s}),i}const JC=Array.prototype;function fi(t,e,r,n,i,s){const o=Qf(t),a=o!==t&&!un(t),l=o[e];if(l!==JC[e]){const d=l.apply(t,s);return a?Fn(d):d}let c=r;o!==t&&(a?c=function(d,h){return r.call(this,ts(t,d),h,t)}:r.length>2&&(c=function(d,h){return r.call(this,d,h,t)}));const u=l.call(o,c,n);return a&&i?i(u):u}function Sy(t,e,r,n){const i=Qf(t);let s=r;return i!==t&&(un(t)?r.length>3&&(s=function(o,a,l){return r.call(this,o,a,l,t)}):s=function(o,a,l){return r.call(this,o,ts(t,a),l,t)}),i[e](s,...n)}function Rd(t,e,r){const n=Ye(t);br(n,"iterate",rc);const i=n[e](...r);return(i===-1||i===!1)&&Jf(r[0])?(r[0]=Ye(r[0]),n[e](...r)):i}function Ka(t,e,r=[]){Mi(),Dg();const n=Ye(t)[e].apply(t,r);return Lg(),Ii(),n}const ZC=Rg("__proto__,__v_isRef,__isVue"),Ub=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ji));function eA(t){ji(t)||(t=String(t));const e=Ye(this);return br(e,"has",t),e.hasOwnProperty(t)}class zb{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,n){if(r==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(i?s?uA:Gb:s?qb:Wb).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=Re(e);if(!i){let l;if(o&&(l=QC[r]))return l;if(r==="hasOwnProperty")return eA}const a=Reflect.get(e,r,ct(e)?e:n);if((ji(r)?Ub.has(r):ZC(r))||(i||br(e,"get",r),s))return a;if(ct(a)){const l=o&&Wf(r)?a:a.value;return i&&ut(l)?Qh(l):l}return ut(a)?i?Qh(a):Tr(a):a}}class Vb extends zb{constructor(e=!1){super(!1,e)}set(e,r,n,i){let s=e[r];const o=Re(e)&&Wf(r);if(!this._isShallow){const c=si(s);
vendor: 4,143 bytes, line 2
2if(!un(n)&&!si(n)&&(s=Ye(s),n=Ye(n)),!o&&ct(s)&&!ct(n))return c||(s.value=n),!0}const a=o?Number(r)<e.length:rt(e,r),l=Reflect.set(e,r,n,ct(e)?e:i);return e===Ye(i)&&(a?zr(n,s)&&bi(e,"set",r,n):bi(e,"add",r,n)),l}deleteProperty(e,r){const n=rt(e,r);e[r];const i=Reflect.deleteProperty(e,r);return i&&n&&bi(e,"delete",r,void 0),i}has(e,r){const n=Reflect.has(e,r);return(!ji(r)||!Ub.has(r))&&br(e,"has",r),n}ownKeys(e){return br(e,"iterate",Re(e)?"length":Zs),Reflect.ownKeys(e)}}class tA extends zb{constructor(e=!1){super(!0,e)}set(e,r){return!0}deleteProperty(e,r){return!0}}const rA=new Vb,nA=new tA,iA=new Vb(!0);const Xh=t=>t,Bc=t=>Reflect.getPrototypeOf(t);function sA(t,e,r){return function(...n){const i=this.__v_raw,s=Ye(i),o=ea(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...n),u=r?Xh:e?_a:Fn;return!e&&br(s,"iterate",l?Kh:Zs),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function Uc(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function oA(t,e){const r={get(i){const s=this.__v_raw,o=Ye(s),a=Ye(i);t||(zr(i,a)&&br(o,"get",i),br(o,"get",a));const{has:l}=Bc(o),c=e?Xh:t?_a:Fn;if(l.call(o,i))return c(s.get(i));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&br(Ye(i),"iterate",Zs),i.size},has(i){const s=this.__v_raw,o=Ye(s),a=Ye(i);return t||(zr(i,a)&&br(o,"has",i),br(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=Ye(a),c=e?Xh:t?_a:Fn;return!t&&br(l,"iterate",Zs),a.forEach((u,d)=>i.call(s,c(u),c(d),o))}};return Vt(r,t?{add:Uc("add"),set:Uc("set"),delete:Uc("delete"),clear:Uc("clear")}:{add(i){!e&&!un(i)&&!si(i)&&(i=Ye(i));const s=Ye(this);return Bc(s).has.call(s,i)||(s.add(i),bi(s,"add",i,i)),this},set(i,s){!e&&!un(s)&&!si(s)&&(s=Ye(s));const o=Ye(this),{has:a,get:l}=Bc(o);let c=a.call(o,i);c||(i=Ye(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,s),c?zr(s,u)&&bi(o,"set",i,s):bi(o,"add",i,s),this},delete(i){const s=Ye(this),{has:o,get:a}=Bc(s);let l=o.call(s,i);l||(i=Ye(i),l=o.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return l&&bi(s,"delete",i,void 0),c},clear(){const i=Ye(this),s=i.size!==0,o=i.clear();return s&&bi(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{r[i]=sA(i,t,e)}),r}function Fg(t,e){const r=oA(t,e);return(n,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(rt(r,i)&&i in n?r:n,i,s)}const aA={get:Fg(!1,!1)},lA={get:Fg(!1,!0)},cA={get:Fg(!0,!1)};const Wb=new WeakMap,qb=new WeakMap,Gb=new WeakMap,uA=new WeakMap;function fA(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dA(t){return t.__v_skip||!Object.isExtensible(t)?0:fA(jC(t))}function Tr(t){return si(t)?t:jg(t,!1,rA,aA,Wb)}function In(t){return jg(t,!1,iA,lA,qb)}function Qh(t){return jg(t,!0,nA,cA,Gb)}function jg(t,e,r,n,i){if(!ut(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=dA(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?n:r);return i.set(t,a),a}function ri(t){return si(t)?ri(t.__v_raw):!!(t&&t.__v_isReactive)}function si(t){return!!(t&&t.__v_isReadonly)}function un(t){return!!(t&&t.__v_isShallow)}function Jf(t){return t?!!t.__v_raw:!1}function Ye(t){const e=t&&t.__v_raw;return e?Ye(e):t}function Hg(t){return!rt(t,"__v_skip")&&Object.isExtensible(t)&&kb(t,"__v_skip",!0),t}const Fn=t=>ut(t)?Tr(t):t,_a=t=>ut(t)?Qh(t):t;function ct(t){return t?t.__v_isRef===!0:!1}function st(t){return Yb(t,!1)}function wt(t){return Yb(t,!0)}function Yb(t,e){return ct(t)?t:new hA(t,e)}class hA{constructor(e,r){this.dep=new Xf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?e:Ye(e),this._value=r?e:Fn(e),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(e){const r=this._rawValue,n=this.__v_isShallow||un(e)||si(e);e=n?e:Ye(e),zr(e,r)&&(this._rawValue=e,this._value=n?e:Fn(e),this.dep.trigger())}}function ge(t){return ct(t)?t.value:t}function Oe(t){return Me(t)?t():ge(t)}
vendor: 5,251 bytes, line 2
2const pA={get:(t,e,r)=>e==="__v_raw"?t:ge(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return ct(i)&&!ct(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function Kb(t){return ri(t)?t:new Proxy(t,pA)}class gA{constructor(e){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Xf,{get:n,set:i}=e(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Bg(t){return new gA(t)}function Xb(t){const e=Re(t)?new Array(t.length):{};for(const r in t)e[r]=Qb(t,r);return e}class mA{constructor(e,r,n){this._object=e,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=Ye(e);let i=!0,s=e;if(!Re(e)||!Wf(String(r)))do i=!Jf(s)||un(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let e=this._object[this._key];return this._shallow&&(e=ge(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&ct(this._raw[this._key])){const r=this._object[this._key];if(ct(r)){r.value=e;return}}this._object[this._key]=e}get dep(){return XC(this._raw,this._key)}}class yA{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ug(t,e,r){return ct(t)?t:Me(t)?new yA(t):ut(t)&&arguments.length>1?Qb(t,e,r):st(t)}function Qb(t,e,r){return new mA(t,e,r)}class _A{constructor(e,r,n){this.fn=e,this.setter=r,this._value=void 0,this.dep=new Xf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tc-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ht!==this)return Lb(this,!0),!0}get value(){const e=this.dep.track();return jb(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function vA(t,e,r=!1){let n,i;return Me(t)?n=t:(n=t.get,i=t.set),new _A(n,i,r)}const zc={},Ku=new WeakMap;let Hs;function bA(t,e=!1,r=Hs){if(r){let n=Ku.get(r);n||Ku.set(r,n=[]),n.push(t)}}function wA(t,e,r=Ze){const{immediate:n,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=r,c=v=>i?v:un(v)||i===!1||i===0?wi(v,1):wi(v);let u,d,h,f,g=!1,p=!1;if(ct(t)?(d=()=>t.value,g=un(t)):ri(t)?(d=()=>c(t),g=!0):Re(t)?(p=!0,g=t.some(v=>ri(v)||un(v)),d=()=>t.map(v=>{if(ct(v))return v.value;if(ri(v))return c(v);if(Me(v))return l?l(v,2):v()})):Me(t)?e?d=l?()=>l(t,2):t:d=()=>{if(h){Mi();try{h()}finally{Ii()}}const v=Hs;Hs=u;try{return l?l(t,3,[f]):t(f)}finally{Hs=v}}:d=ti,e&&i){const v=d,w=i===!0?1/0:i;d=()=>wi(v(),w)}const b=Hi(),_=()=>{u.stop(),b&&b.active&&Og(b.effects,u)};if(s&&e){const v=e;e=(...w)=>{v(...w),_()}}let y=p?new Array(t.length).fill(zc):zc;const m=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(e){const w=u.run();if(i||g||(p?w.some((E,x)=>zr(E,y[x])):zr(w,y))){h&&h();const E=Hs;Hs=u;try{const x=[w,y===zc?void 0:p&&y[0]===zc?[]:y,f];y=w,l?l(e,3,x):e(...x)}finally{Hs=E}}}else u.run()};return a&&a(m),u=new $b(d),u.scheduler=o?()=>o(m,!1):m,f=v=>bA(v,!1,u),h=u.onStop=()=>{const v=Ku.get(u);if(v){if(l)l(v,4);else for(const w of v)w();Ku.delete(u)}},e?n?m(!0):y=u.run():o?o(m.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function wi(t,e=1/0,r){if(e<=0||!ut(t)||t.__v_skip||(r=r||new Map,(r.get(t)||0)>=e))return t;if(r.set(t,e),e--,ct(t))wi(t.value,e,r);else if(Re(t))for(let n=0;n<t.length;n++)wi(t[n],e,r);else if(Tb(t)||ea(t))t.forEach(n=>{wi(n,e,r)});else if(Ab(t)){for(const n in t)wi(t[n],e,r);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&wi(t[n],e,r)}return t}function Cc(t,e,r,n){try{return n?t(...n):t()}catch(i){ja(i,e,r)}}function jn(t,e,r,n){if(Me(t)){const i=Cc(t,e,r,n);return i&&Mg(i)&&i.catch(s=>{ja(s,e,r)}),i}if(Re(t)){const i=[];for(let s=0;s<t.length;s++)i.push(jn(t[s],e,r,n));return i}}function ja(t,e,r,n=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Ze;if(e){let a=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](t,l,c)===!1)return}a=a.parent}if(s){Mi(),Cc(s,null,10,[t,l,c]),Ii();return}}xA(t,r,i,n,o)}function xA(t,e,r,n=!0,i=!1){if(i)throw t;console.error(t)}const Lr=[];let qn=-1;const na=[];let rs=null,Bo=0;const Jb=Promise.resolve();let Xu=null;function oi(t){const e=Xu||Jb;return t?e.then(this?t.bind(this):t):e}function SA(t){let e=qn+1,r=Lr.length;for(;e<r;){const n=e+r>>>1,i=Lr[n],s=ic(i);s<t||s===t&&i.flags&2?e=n+1:r=n}return e}function zg(t){if(!(t.flags&1)){const e=ic(t),r=Lr[Lr.length-1];!r||!(t.flags&2)&&e>=ic(r)?Lr.push(t):Lr.splice(SA(e),0,t),t.flags|=1,Zb()}}function Zb(){Xu||(Xu=Jb.then(ew))}function nc(t){Re(t)?na.push(...t):rs&&t.id===-1?rs.splice(Bo+1,0,t):t.flags&1||(na.push(t),t.flags|=1),Zb()}function Ey(t,e,r=qn+1){for(;r<Lr.length;r++){const n=Lr[r];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Lr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Qu(t){if(na.length){const e=[...new Set(na)].sort((r,n)=>ic(r)-ic(n));if(na.length=0,rs){rs.push(...e);return}for(rs=e,Bo=0;Bo<rs.length;Bo++){const r=rs[Bo];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}rs=null,Bo=0}}const ic=t=>
vendor: 30,725 bytes, lines 2-4
2t.id==null?t.flags&2?-1:1/0:t.id;function ew(t){try{for(qn=0;qn<Lr.length;qn++){const e=Lr[qn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Cc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;qn<Lr.length;qn++){const e=Lr[qn];e&&(e.flags&=-2)}qn=-1,Lr.length=0,Qu(),Xu=null,(Lr.length||na.length)&&ew()}}let lr=null,tw=null;function Ju(t){const e=lr;return lr=t,tw=t&&t.type.__scopeId||null,e}function Ha(t,e=lr,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&nf(-1);const s=Ju(e);let o;try{o=t(...i)}finally{Ju(s),n._d&&nf(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function bV(t,e){if(lr===null)return t;const r=id(lr),n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,o,a,l=Ze]=e[i];s&&(Me(s)&&(s={mounted:s,updated:s}),s.deep&&wi(o),n.push({dir:s,instance:r,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Gn(t,e,r,n){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[n];l&&(Mi(),jn(l,r,8,[t.el,a,t,e]),Ii())}}function Ri(t,e){if(ar){let r=ar.provides;const n=ar.parent&&ar.parent.provides;n===r&&(r=ar.provides=Object.create(n)),r[t]=e}}function zt(t,e,r=!1){const n=Ar();if(n||eo){let i=eo?eo._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return r&&Me(e)?e.call(n&&n.proxy):e}}function To(){return!!(Ar()||eo)}const EA=Symbol.for("v-scx"),TA=()=>zt(EA);function Zf(t,e){return ed(t,null,e)}function CA(t,e){return ed(t,null,{flush:"sync"})}function Nt(t,e,r){return ed(t,e,r)}function ed(t,e,r=Ze){const{immediate:n,deep:i,flush:s,once:o}=r,a=Vt({},r),l=e&&n||!e&&s!=="post";let c;if(wa){if(s==="sync"){const f=TA();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!l){const f=()=>{};return f.stop=ti,f.resume=ti,f.pause=ti,f}}const u=ar;a.call=(f,g,p)=>jn(f,u,g,p);let d=!1;s==="post"?a.scheduler=f=>{rr(f,u&&u.suspense)}:s!=="sync"&&(d=!0,a.scheduler=(f,g)=>{g?f():zg(f)}),a.augmentJob=f=>{e&&(f.flags|=4),d&&(f.flags|=2,u&&(f.id=u.uid,f.i=u))};const h=wA(t,e,a);return wa&&(c?c.push(h):l&&h()),h}function AA(t,e,r){const n=this.proxy,i=St(t)?t.includes(".")?rw(n,t):()=>n[t]:t.bind(n,n);let s;Me(e)?s=e:(s=e.handler,r=e);const o=vo(this),a=ed(i,s.bind(n),r);return o(),a}function rw(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i<r.length&&n;i++)n=n[r[i]];return n}}const kA=Symbol("_vte"),nw=t=>t.__isTeleport,yi=Symbol("_leaveCb"),Vc=Symbol("_enterCb");function iw(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ai(()=>{t.isMounted=!0}),As(()=>{t.isUnmounting=!0}),t}const mn=[Function,Array],sw={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mn,onEnter:mn,onAfterEnter:mn,onEnterCancelled:mn,onBeforeLeave:mn,onLeave:mn,onAfterLeave:mn,onLeaveCancelled:mn,onBeforeAppear:mn,onAppear:mn,onAfterAppear:mn,onAppearCancelled:mn},ow=t=>{const e=t.subTree;return e.component?ow(e.component):e},RA={name:"BaseTransition",props:sw,setup(t,{slots:e}){const r=Ar(),n=iw();return()=>{const i=e.default&&Vg(e.default(),!0);if(!i||!i.length)return;const s=aw(i),o=Ye(t),{mode:a}=o;if(n.isLeaving)return Pd(s);const l=Ty(s);if(!l)return Pd(s);let c=sc(l,o,n,r,d=>c=d);l.type!==Ut&&bs(l,c);let u=r.subTree&&Ty(r.subTree);if(u&&u.type!==Ut&&!$n(u,l)&&ow(r).type!==Ut){let d=sc(u,o,n,r);if(bs(u,d),a==="out-in"&&l.type!==Ut)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete d.afterLeave,u=void 0},Pd(s);a==="in-out"&&l.type!==Ut?d.delayLeave=(h,f,g)=>{const p=lw(n,u);p[String(u.key)]=u,h[yi]=()=>{f(),h[yi]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function aw(t){let e=t[0];if(t.length>1){for(const r of t)if(r.type!==Ut){e=r;break}}return e}const PA=RA;function lw(t,e){const{leavingVNodes:r}=t;let n=r.get(e.type);return n||(n=Object.create(null),r.set(e.type,n)),n}function sc(t,e,r,n,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:b,onAppear:_,onAfterAppear:y,onAppearCancelled:m}=e,v=String(t.key),w=lw(r,t),E=(T,P)=>{T&&jn(T,n,9,P)},x=(T,P)=>{const F=P[1];E(T,P),Re(T)?T.every(O=>O.length<=1)&&F():T.length<=1&&F()},S={mode:o,persisted:a,beforeEnter(T){let P=l;if(!r.isMounted)if(s)P=b||l;else return;T[yi]&&T[yi](!0);const F=w[v];F&&$n(t,F)&&F.el[yi]&&F.el[yi](),E(P,[T])},enter(T){let P=c,F=u,O=d;if(!r.isMounted)if(s)P=_||c,F=y||u,O=m||d;else return;let H=!1;const Y=T[Vc]=B=>{H||(H=!0,B?E(O,[T]):E(F,[T]),S.delayedLeave&&S.delayedLeave(),T[Vc]=void 0)};P?x(P,[T,Y]):Y()},leave(T,P){const F=String(t.key);if(T[Vc]&&T[Vc](!0),r.isUnmounting)return P();E(h,[T]);let O=!1;const H=T[yi]=Y=>{O||(O=!0,P(),Y?E(p,[T]):E(g,[T]),T[yi]=void 0,w[F]===t&&delete w[F])};w[F]=t,f?x(f,[T,H]):H()},clone(T){const P=sc(T,e,r,n,i);return i&&i(P),P}};return S}function Pd(t){if(Ac(t))return t=fn(t),t.children=null,t}function Ty(t){if(!Ac(t))return nw(t.type)&&t.children?aw(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:r}=t;if(r){if(e&16)return r[0];if(e&32&&Me(r.default))return r.default()}}function bs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,bs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Vg(t,e=!1,r){let n=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=r==null?o.key:String(r)+String(o.key!=null?o.key:s);o.type===Bt?(o.patchFlag&128&&i++,n=n.concat(Vg(o.children,e,a))):(e||o.type!==Ut)&&n.push(a!=null?fn(o,{key:a}):o)}if(i>1)for(let s=0;s<n.length;s++)n[s].patchFlag=-2;return n}function Cr(t,e){return Me(t)?Vt({name:t.name},e,{setup:t}):t}function wV(){const t=Ar();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Wg(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Jh(t){const e=Ar(),r=wt(null);if(e){const i=e.refs===Ze?e.refs={}:e.refs;Object.defineProperty(i,t,{enumerable:!0,get:()=>r.value,set:s=>r.value=s})}return r}const Zu=new WeakMap;function ia(t,e,r,n,i=!1){if(Re(t)){t.forEach((g,p)=>ia(g,e&&(Re(e)?e[p]:e),r,n,i));return}if(Pi(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ia(t,e,r,n.component.subTree);return}const s=n.shapeFlag&4?id(n.component):n.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ze?a.refs={}:a.refs,d=a.setupState,h=Ye(d),f=d===Ze?Eb:g=>rt(h,g);if(c!=null&&c!==l){if(Cy(e),St(c))u[c]=null,f(c)&&(d[c]=null);else if(ct(c)){c.value=null;const g=e;g.k&&(u[g.k]=null)}}if(Me(l))Cc(l,a,12,[o,u]);else{const g=St(l),p=ct(l);if(g||p){const b=()=>{if(t.f){const _=g?f(l)?d[l]:u[l]:l.value;if(i)Re(_)&&Og(_,s);else if(Re(_))_.includes(s)||_.push(s);else if(g)u[l]=[s],f(l)&&(d[l]=u[l]);else{const y=[s];l.value=y,t.k&&(u[t.k]=y)}}else g?(u[l]=o,f(l)&&(d[l]=o)):p&&(l.value=o,t.k&&(u[t.k]=o))};if(o){const _=()=>{b(),Zu.delete(t)};_.id=-1,Zu.set(t,_),rr(_,r)}else Cy(t),b()}}}function Cy(t){const e=Zu.get(t);e&&(e.flags|=8,Zu.delete(t))}let Ay=!1;const Oo=()=>{Ay||(console.error("Hydration completed but contains mismatches."),Ay=!0)},OA=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",MA=t=>t.namespaceURI.includes("MathML"),Wc=t=>{if(t.nodeType===1){if(OA(t))return"svg";if(MA(t))return"mathml"}},Yo=t=>t.nodeType===8;function IA(t){const{mt:e,p:r,o:{patchProp:n,createText:i,nextSibling:s,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(m,v)=>{if(!v.hasChildNodes()){r(null,m,v),Qu(),v._vnode=m;return}d(v.firstChild,m,null,null,null),Qu(),v._vnode=m},d=(m,v,w,E,x,S=!1)=>{S=S||!!v.dynamicChildren;const T=Yo(m)&&m.data==="[",P=()=>p(m,v,w,E,x,T),{type:F,ref:O,shapeFlag:H,patchFlag:Y}=v;let B=m.nodeType;v.el=m,Y===-2&&(S=!1,v.dynamicChildren=null);let A=null;switch(F){case to:B!==3?v.children===""?(l(v.el=i(""),o(m),m),A=m):A=P():(m.data!==v.children&&(Oo(),m.data=v.children),A=s(m));break;case Ut:y(m)?(A=s(m),_(v.el=m.content.firstChild,m,w)):B!==8||T?A=P():A=s(m);break;case kl:if(T&&(m=s(m),B=m.nodeType),B===1||B===3){A=m;const I=!v.children.length;for(let $=0;$<v.staticCount;$++)I&&(v.children+=A.nodeType===1?A.outerHTML:A.data),$===v.staticCount-1&&(v.anchor=A),A=s(A);return T?s(A):A}else P();break;case Bt:T?A=g(m,v,w,E,x,S):A=P();break;default:if(H&1)(B!==1||v.type.toLowerCase()!==m.tagName.toLowerCase())&&!y(m)?A=P():A=h(m,v,w,E,x,S);else if(H&6){v.slotScopeIds=x;const I=o(m);if(T?A=b(m):Yo(m)&&m.data==="teleport start"?A=b(m,m.data,"teleport end"):A=s(m),e(v,I,null,w,E,Wc(I),S),Pi(v)&&!v.type.__asyncResolved){let $;T?($=pt(Bt),$.anchor=A?A.previousSibling:I.lastChild):$=m.nodeType===3?Uw(""):pt("div"),$.el=m,v.component.subTree=$}}else H&64?B!==8?A=P():A=v.type.hydrate(m,v,w,E,x,S,t,f):H&128&&(A=v.type.hydrate(m,v,w,E,Wc(o(m)),x,S,t,d))}return O!=null&&ia(O,null,E,v),A},h=(m,v,w,E,x,S)=>{S=S||!!v.dynamicChildren;const{type:T,props:P,patchFlag:F,shapeFlag:O,dirs:H,transition:Y}=v,B=T==="input"||T==="option";if(B||F!==-1){H&&Gn(v,null,w,"created");let A=!1;if(y(m)){A=Iw(null,Y)&&w&&w.vnode.props&&w.vnode.props.appear;const $=m.content.firstChild;if(A){const X=$.getAttribute("class");X&&($.$cls=X),Y.beforeEnter($)}_($,m,w),v.el=m=$}if(O&16&&!(P&&(P.innerHTML||P.textContent))){let $=f(m.firstChild,v,m,w,E,x,S);for(;$;){qc(m,1)||Oo();const X=$;$=$.nextSibling,a(X)}}else if(O&8){let $=v.children;$[0]===`
3`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&($=$.slice(1));const{textContent:X}=m;X!==$&&X!==$.replace(/\r\n|\r/g,`
4`)&&(qc(m,0)||Oo(),m.textContent=v.children)}if(P){if(B||!S||F&48){const $=m.tagName.includes("-");for(const X in P)(B&&(X.endsWith("value")||X==="indeterminate")||Ec(X)&&!ta(X)||X[0]==="."||$)&&n(m,X,null,P[X],void 0,w)}else if(P.onClick)n(m,"onClick",null,P.onClick,void 0,w);else if(F&4&&ri(P.style))for(const $ in P.style)P.style[$]}let I;(I=P&&P.onVnodeBeforeMount)&&Br(I,w,v),H&&Gn(v,null,w,"beforeMount"),((I=P&&P.onVnodeMounted)||H||A)&&Fw(()=>{I&&Br(I,w,v),A&&Y.enter(m),H&&Gn(v,null,w,"mounted")},E)}return m.nextSibling},f=(m,v,w,E,x,S,T)=>{T=T||!!v.dynamicChildren;const P=v.children,F=P.length;for(let O=0;O<F;O++){const H=T?P[O]:P[O]=rn(P[O]),Y=H.type===to;m?(Y&&!T&&O+1<F&&rn(P[O+1]).type===to&&(l(i(m.data.slice(H.children.length)),w,s(m)),m.data=H.children),m=d(m,H,E,x,S,T)):Y&&!H.children?l(H.el=i(""),w):(qc(w,1)||Oo(),r(null,H,w,null,E,x,Wc(w),S))}return m},g=(m,v,w,E,x,S)=>{const{slotScopeIds:T}=v;T&&(x=x?x.concat(T):T);const P=o(m),F=f(s(m),v,P,w,E,x,S);return F&&Yo(F)&&F.data==="]"?s(v.anchor=F):(Oo(),l(v.anchor=c("]"),P,F),F)},p=(m,v,w,E,x,S)=>{if(qc(m.parentElement,1)||Oo(),v.el=null,S){const F=b(m);for(;;){const O=s(m);if(O&&O!==F)a(O);else break}}const T=s(m),P=o(m);return a(m),r(null,v,P,T,w,E,Wc(P),x),w&&(w.vnode.el=v.el,nd(w,v.el)),T},b=(m,v="[",w="]")=>{let E=0;for(;m;)if(m=s(m),m&&Yo(m)&&(m.data===v&&E++,m.data===w)){if(E===0)return s(m);E--}return m},_=(m,v,w)=>{const E=v.parentNode;E&&E.replaceChild(m,v);let x=w;for(;x;)x.vnode.el===v&&(x.vnode.el=x.subTree.el=m),x=x.parent},y=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,d]}const ky="data-allow-mismatch",$A={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function qc(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(ky);)t=t.parentElement;const r=t&&t.getAttribute(ky);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return e===0&&n.includes("children")?!0:n.includes($A[e])}}Yf().requestIdleCallback;Yf().cancelIdleCallback;function DA(t,e){if(Yo(t)&&t.data==="["){let r=1,n=t.nextSibling;for(;n;){if(n.nodeType===1){if(e(n)===!1)break}else if(Yo(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else e(t)}const Pi=t=>!!t.type.__asyncLoader;function LA(t){Me(t)&&(t={loader:t});const{loader:e,loadingComponent:r,errorComponent:n,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:l}=t;let c=null,u,d=0;const h=()=>(d++,c=null,f()),f=()=>{let g;return c||(g=c=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((b,_)=>{l(p,()=>b(h()),()=>_(p),d+1)});throw p}).then(p=>g!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Cr({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(g,p,b){let _=!1;(p.bu||(p.bu=[])).push(()=>_=!0);const y=()=>{_||b()},m=s?()=>{const v=s(y,w=>DA(g,w));v&&(p.bum||(p.bum=[])).push(v)}:y;u?m():f().then(()=>!p.isUnmounted&&m())},get __asyncResolved(){return u},setup(){const g=ar;if(Wg(g),u)return()=>Gc(u,g);const p=m=>{c=null,ja(m,g,13,!n)};if(a&&g.suspense||wa)return f().then(m=>()=>Gc(m,g)).catch(m=>(p(m),()=>n?pt(n,{error:m}):null));const b=st(!1),_=st(),y=st(!!i);return i&&setTimeout(()=>{y.value=!1},i),o!=null&&setTimeout(()=>{if(!b.value&&!_.value){const m=new Error(`Async component timed out after ${o}ms.`);p(m),_.value=m}},o),f().then(()=>{b.value=!0,g.parent&&Ac(g.parent.vnode)&&g.parent.update()}).catch(m=>{p(m),_.value=m}),()=>{if(b.value&&u)return Gc(u,g);if(_.value&&n)return pt(n,{error:_.value});if(r&&!y.value)return Gc(r,g)}}})}function Gc(t,e){const{ref:r,props:n,children:i,ce:s}=e.vnode,o=pt(t,n,i);return o.ref=r,o.ce=s,delete e.vnode.ce,o}const Ac=t=>t.type.__isKeepAlive,NA={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const r=Ar(),n=r.ctx;if(!n.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const i=new Map,s=new Set;let o=null;const a=r.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=n,h=d("div");n.activate=(y,m,v,w,E)=>{const x=y.component;c(y,m,v,0,a),l(x.vnode,y,m,v,x,a,w,y.slotScopeIds,E),rr(()=>{x.isDeactivated=!1,x.a&&ra(x.a);const S=y.props&&y.props.onVnodeMounted;S&&Br(S,x.parent,y)},a)},n.deactivate=y=>{const m=y.component;tf(m.m),tf(m.a),c(y,h,null,1,a),rr(()=>{m.da&&ra(m.da);const v=y.props&&y.props.onVnodeUnmounted;v&&Br(v,m.parent,y),m.isDeactivated=!0},a)};function f(y){Od(y),u(y,r,a,!0)}function g(y){i.forEach((m,v)=>{const w=ap(Pi(m)?m.type.__asyncResolved||{}:m.type);w&&!y(w)&&p(v)})}function p(y){const m=i.get(y);m&&(!o||!$n(m,o))?f(m):o&&Od(o),i.delete(y),s.delete(y)}Nt(()=>[t.include,t.exclude],([y,m])=>{y&&g(v=>ol(y,v)),m&&g(v=>!ol(m,v))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&(rf(r.subTree.type)?rr(()=>{i.set(b,Yc(r.subTree))},r.subTree.suspense):i.set(b,Yc(r.subTree)))};return ai(_),qg(_),As(()=>{i.forEach(y=>{const{subTree:m,suspense:v}=r,w=Yc(m);if(y.type===w.type&&y.key===w.key){Od(w);const E=w.component.da;E&&rr(E,v);return}f(y)})}),()=>{if(b=null,!e.default)return o=null;const y=e.default(),m=y[0];if(y.length>1)return o=null,y;if(!_o(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return o=null,m;let v=Yc(m);if(v.type===Ut)return o=null,v;const w=v.type,E=ap(Pi(v)?v.type.__asyncResolved||{}:w),{include:x,exclude:S,max:T}=t;if(x&&(!E||!ol(x,E))||S&&E&&ol(S,E))return v.shapeFlag&=-257,o=v,m;const P=v.key==null?w:v.key,F=i.get(P);return v.el&&(v=fn(v),m.shapeFlag&128&&(m.ssContent=v)),b=P,F?(v.el=F.el,v.component=F.component,v.transition&&bs(v,v.transition),v.shapeFlag|=512,s.delete(P),s.add(P)):(s.add(P),T&&s.size>parseInt(T,10)&&p(s.values().next().value)),v.shapeFlag|=256,o=v,rf(m.type)?m:v}}},FA=NA;function ol(t,e){return Re(t)?t.some(r=>ol(r,e)):St(t)?t.split(",").includes(e):FC(t)?(t.lastIndex=0,t.test(e)):!1}function cw(t,e){fw(t,"a",e)}function uw(t,e){fw(t,"da",e)}function fw(t,e,r=ar){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(td(e,n,r),r){let i=r.parent;for(;i&&i.parent;)Ac(i.parent.vnode)&&jA(n,e,r,i),i=i.parent}}function jA(t,e,r,n){const i=td(e,t,n,!0);Gg(()=>{Og(n[e],i)},r)}function Od(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Yc(t){return t.shapeFlag&128?t.ssContent:t}function td(t,e,r=ar,n=!1){if(r){const i=r[t]||(r[t]=[]),s=e.__weh||(e.__weh=(...o)=>{Mi();const a=vo(r),l=jn(e,r,t,o);return a(),Ii(),l});return n?i.unshift(s):i.push(s),s}}const Bi=t=>(e,r=ar)=>{(!wa||t==="sp")&&td(t,(...n)=>e(...n),r)},dw=Bi("bm"),ai=Bi("m"),HA=Bi("bu"),qg=Bi("u"),As=Bi("bum"),Gg=Bi("um"),BA=Bi("sp"),UA=Bi("rtg"),zA=Bi("rtc");function hw(t,e=ar){td("ec",t,e)}const Yg="components",VA="directives";function Ry(t,e){return Kg(Yg,t,!0,e)||t}const pw=Symbol.for("v-ndc");function gw(t){return St(t)?Kg(Yg,t,!1)||t:t||pw}function xV(t){return Kg(VA,t)}function Kg(t,e,r=!0,n=!1){const i=lr||ar;if(i){const s=i.type;if(t===Yg){const a=ap(s,!1);if(a&&(a===e||a===hn(e)||a===Gf(hn(e))))return s}const o=Py(i[t]||s[t],e)||Py(i.appContext[t],e);return!o&&n?s:o}}function Py(t,e){return t&&(t[e]||t[hn(e)]||t[Gf(hn(e))])}function mw(t,e,r,n){let i;const s=r,o=Re(t);if(o||St(t)){const a=o&&ri(t);let l=!1,c=!1;a&&(l=!un(t),c=si(t),t=Qf(t)),i=new Array(t.length);for(let u=0,d=t.length;u<d;u++)i[u]=e(l?c?_a(Fn(t[u])):Fn(t[u]):t[u],u,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(ut(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,s));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=e(t[u],u,l,s)}}else i=[];return i}function WA(t,e,r={},n,i){if(lr.ce||lr.parent&&Pi(lr.parent)&&lr.parent.ce){const c=Object.keys(r).length>0;return vt(),Vr(Bt,null,[pt("slot",r,n)],c?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),vt();const o=s&&yw(s(r)),a=r.key||o&&o.key,l=Vr(Bt,{key:(a&&!ji(a)?a:`_${e}`)+(!o&&n?"_fb":"")},o||[],o&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function yw(t){return t.some(e=>_o(e)?!(e.type===Ut||e.type===Bt&&!yw(e.children)):!0)?t:null}const Zh=t=>t?zw(t)?id(t):Zh(t.parent):null,Al=Vt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zh(t.parent),$root:t=>Zh(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>bw(t),$forceUpdate:t=>t.f||(t.f=()=>{zg(t.update)}),$nextTick:t=>t.n||(t.n=oi.bind(t.proxy)),$watch:t=>AA.bind(t)}),Md=(t,e)=>t!==Ze&&!t.__isScriptSetup&&rt(t,e),qA={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:n,data:i,props:s,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return i[e];case 4:return r[e];case 3:return s[e]}else{if(Md(n,e))return o[e]=1,n[e];if(i!==Ze&&rt(i,e))return o[e]=2,i[e];if(rt(s,e))return o[e]=3,s[e];if(r!==Ze&&rt(r,e))return o[e]=4,r[e];ep&&(o[e]=0)}}const c=Al[e];let u,d;if(c)return e==="$attrs"&&br(t.attrs,"get",""),c(t);if((u=a.__cssModules)&&(u=u[e]))return u;if(r!==Ze&&rt(r,e))return o[e]=4,r[e];if(d=l.config.globalProperties,rt(d,e))return d[e]},set({_:t},e,r){const{data:n,setupState:i,ctx:s}=t;return Md(i,e)?(i[e]=r,!0):n!==Ze&&rt(n,e)?(n[e]=r,!0):rt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:i,props:s,type:o}},a){let l;return!!(r[a]||t!==Ze&&a[0]!=="$"&&rt(t,a)||Md(e,a)||rt(s,a)||rt(n,a)||rt(Al,a)||rt(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:rt(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function oc(t){return Re(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}function _w(t,e){const r=oc(t);for(const n in e){if(n.startsWith("__skip"))continue;let i=r[n];i?Re(i)||Me(i)?i=r[n]={type:i,default:e[n]}:i.default=e[n]:i===null&&(i=r[n]={default:e[n]}),i&&e[`__skip_${n}`]&&(i.skipFactory=!0)}return r}function SV(t,e){return!t||!e?t||e:Re(t)&&Re(e)?t.concat(e):Vt({},oc(t),oc(e))}function GA(t){const e=Ar();let r=t();return sp(),Mg(r)&&(r=r.catch(n=>{throw vo(e),n})),[r,()=>vo(e)]}let ep=!0;function YA(t){const e=bw(t),r=t.proxy,n=t.ctx;ep=!1,e.beforeCreate&&Oy(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:g,activated:p,deactivated:b,beforeDestroy:_,beforeUnmount:y,destroyed:m,unmounted:v,render:w,renderTracked:E,renderTriggered:x,errorCaptured:S,serverPrefetch:T,expose:P,inheritAttrs:F,components:O,directives:H,filters:Y}=e;if(c&&KA(c,n,null),o)for(const I in o){const $=o[I];Me($)&&(n[I]=$.bind(r))}if(i){const I=i.call(r,r);ut(I)&&(t.data=Tr(I))}if(ep=!0,s)for(const I in s){const $=s[I],X=Me($)?$.bind(r,r):Me($.get)?$.get.bind(r,r):ti,M=!Me($)&&Me($.set)?$.set.bind(r):ti,K=ke({get:X,set:M});Object.defineProperty(n,I,{enumerable:!0,configurable:!0,get:()=>K.value,set:te=>K.value=te})}if(a)for(const I in a)vw(a[I],n,r,I);if(l){const I=Me(l)?l.call(r):l;Reflect.ownKeys(I).forEach($=>{Ri($,I[$])})}u&&Oy(u,t,"c");function A(I,$){Re($)?$.forEach(X=>I(X.bind(r))):$&&I($.bind(r))}if(A(dw,d),A(ai,h),A(HA,f),A(qg,g),A(cw,p),A(uw,b),A(hw,S),A(zA,E),A(UA,x),A(As,y),A(Gg,v),A(BA,T),Re(P))if(P.length){const I=t.exposed||(t.exposed={});P.forEach($=>{Object.defineProperty(I,$,{get:()=>r[$],set:X=>r[$]=X,enumerable:!0})})}else t.exposed||(t.exposed={});w&&t.render===ti&&(t.render=w),F!=null&&(t.inheritAttrs=F),O&&(t.components=O),H&&(t.directives=H),T&&Wg(t)}function KA(t,e,r=ti){Re(t)&&(t=tp(t));for(const n in t){const i=t[n];let s;ut(i)?"default"in i?s=zt(i.from||n,i.default,!0):s=zt(i.from||n):s=zt(i),ct(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[n]=s}}function Oy(t,e,r){jn(Re(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function vw(t,e,r,n){let i=n.includes(".")?rw(r,n):()=>r[n];if(St(t)){const s=e[t];Me(s)&&Nt(i,s)}else if(Me(t))Nt(i,t.bind(r));else if(ut(t))if(Re(t))t.forEach(s=>vw(s,e,r,n));else{const s=Me(t.handler)?t.handler.bind(r):e[t.handler];Me(s)&&Nt(i,s,t)}}function bw(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!r&&!n?l=e:(l={},i.length&&i.forEach(c=>ef(l,c,o,!0)),ef(l,e,o)),ut(e)&&s.set(e,l),l}function ef(t,e,r,n=!1){const{mixins:i,extends:s}=e;s&&ef(t,s,r,!0),i&&i.forEach(o=>ef(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const a=XA[o]||r&&r[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const XA={data:My,props:Iy,emits:Iy,methods:al,computed:al,beforeCreate:Pr,created:Pr,beforeMount:Pr,mounted:Pr,beforeUpdate:Pr,updated:Pr,beforeDestroy:Pr,beforeUnmount:Pr,destroyed:Pr,unmounted:Pr,activated:Pr,deactivated:Pr,errorCaptured:Pr,serverPrefetch:Pr,components:al,directives:al,watch:JA,provide:My,inject:QA};function My(t,e){return e?t?function(){return Vt(Me(t)?t.call(this,this):t,Me(e)?e.call(this,this):e)}:e:t}function QA(t,e){return al(tp(t),tp(e))}function tp(t){if(Re(t)){const e={};for(let r=0;r<t.length;r++)e[t[r]]=t[r];return e}return t}function Pr(t,e){return t?[...new Set([].concat(t,e))]:e}function al(t,e){return t?Vt(Object.create(null),t,e):e}function Iy(t,e){return t?Re(t)&&Re(e)?[...new Set([...t,...e])]:Vt(Object.create(null),oc(t),oc(e??{})):e}function JA(t,e){if(!t)return e;if(!e)return t;const r=Vt(Object.create(null),t);for(const n in e)r[n]=Pr(t[n],e[n]);return r}function ww(){return{app:null,config:{isNativeTag:Eb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ZA=0;function ek(t,e){return function(n,i=null){Me(n)||(n=Vt({},n)),i!=null&&!ut(i)&&(i=null);const s=ww(),o=new WeakSet,a=[];let l=!1;const c=s.app={_uid:ZA++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:Ik,get config(){return s.config},set config(u){},use(u,...d){return o.has(u)||(u&&Me(u.install)?(o.add(u),u.install(c,...d)):Me(u)&&(o.add(u),u(c,...d))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,d){return d?(s.components[u]=d,c):s.components[u]},directive(u,d){return d?(s.directives[u]=d,c):s.directives[u]},mount(u,d,h){if(!l){const f=c._ceVNode||pt(n,i);return f.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),d&&e?e(f,u):t(f,u,h),l=!0,c._container=u,u.__vue_app__=c,id(f.component)}},onUnmount(u){a.push(u)},unmount(){l&&(jn(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,d){return s.provides[u]=d,c},runWithContext(u){const d=eo;eo=c;try{return u()}finally{eo=d}}};return c}}let eo=null;function EV(t,e,r=Ze){const n=Ar(),i=hn(e),s=Cs(e),o=xw(t,i),a=Bg((l,c)=>{let u,d=Ze,h;return CA(()=>{const f=t[i];zr(u,f)&&(u=f,c())}),{get(){return l(),r.get?r.get(u):u},set(f){const g=r.set?r.set(f):f;if(!zr(g,u)&&!(d!==Ze&&zr(f,d)))return;const p=n.vnode.props;p&&(e in p||i in p||s in p)&&(`onUpdate:${e}`in p||`onUpdate:${i}`in p||`onUpdate:${s}`in p)||(u=f,c()),n.emit(`update:${e}`,g),zr(f,g)&&zr(f,d)&&!zr(g,h)&&c(),d=f,h=g}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Ze:a,done:!1}:{done:!0}}}},a}const xw=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${hn(e)}Modifiers`]||t[`${Cs(e)}Modifiers`];function tk(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||Ze;let i=r;const s=e.startsWith("update:"),o=s&&xw(n,e.slice(7));o&&(o.trim&&(i=r.map(u=>St(u)?u.trim():u)),o.number&&(i=r.map(Ig)));let a,l=n[a=Td(e)]||n[a=Td(hn(e))];!l&&s&&(l=n[a=Td(Cs(e))]),l&&jn(l,t,6,i);const c=n[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,jn(c,t,6,i)}}const rk=new WeakMap;function Sw(t,e,r=!1){const n=r?rk:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!Me(t)){const l=c=>{const u=Sw(c,e,!0);u&&(a=!0,Vt(o,u))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(ut(t)&&n.set(t,null),null):(Re(s)?s.forEach(l=>o[l]=null):Vt(o,s),ut(t)&&n.set(t,o),o)}function rd(t,e){return!t||!Ec(e)?!1:(e=e.slice(2).replace(/Once$/,""),rt(t,e[0].toLowerCase()+e.slice(1))||rt(t,Cs(e))||rt(t,e))}function Id(t){const{type:e,vnode:r,proxy:n,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:f,ctx:g,inheritAttrs:p}=t,b=Ju(t);let _,y;try{if(r.shapeFlag&4){const v=i||n,w=v;_=rn(c.call(w,v,u,d,f,h,g)),y=a}else{const v=e;_=rn(v.length>1?v(d,{attrs:a,slots:o,emit:l}):v(d,null)),y=e.props?a:ik(a)}}catch(v){Rl.length=0,ja(v,t,1),_=pt(Ut)}let m=_;if(y&&p!==!1){const v=Object.keys(y),{shapeFlag:w}=m;v.length&&w&7&&(s&&v.some(Pg)&&(y=sk(y,s)),m=fn(m,y,!1,!0))}return r.dirs&&(m=fn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(r.dirs):r.dirs),r.transition&&bs(m,r.transition),_=m,Ju(b),_}function nk(t,e=!0){let r;for(let n=0;n<t.length;n++){const i=t[n];if(_o(i)){if(i.type!==Ut||i.children==="v-if"){if(r)return;r=i}}else return}return r}const ik=t=>{let e;for(const r in t)(r==="class"||r==="style"||Ec(r))&&((e||(e={}))[r]=t[r]);return e},sk=(t,e)=>{const r={};for(const n in t)(!Pg(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function ok(t,e,r){const{props:n,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?$y(n,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(o[h]!==n[h]&&!rd(c,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?$y(n,o,c):!0:!!o;return!1}function $y(t,e,r){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==t[s]&&!rd(r,s))return!0}return!1}function nd({vnode:t,parent:e},r){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=r,e=e.parent;else break}}const Ew={},Tw=()=>Object.create(Ew),Cw=t=>Object.getPrototypeOf(t)===Ew;function ak(t,e,r,n=!1){const i={},s=Tw();t.propsDefaults=Object.create(null),Aw(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);r?t.props=n?i:In(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function lk(t,e,r,n){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=Ye(i),[l]=t.propsOptions;let c=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(rd(t.emitsOptions,h))continue;const f=e[h];if(l)if(rt(s,h))f!==s[h]&&(s[h]=f,c=!0);else{const g=hn(h);i[g]=rp(l,a,g,f,t,!1)}else f!==s[h]&&(s[h]=f,c=!0)}}}else{Aw(t,e,i,s)&&(c=!0);let u;for(const d in a)(!e||!rt(e,d)&&((u=Cs(d))===d||!rt(e,u)))&&(l?r&&(r[d]!==void 0||r[u]!==void 0)&&(i[d]=rp(l,a,d,void 0,t,!0)):delete i[d]);if(s!==a)for(const d in s)(!e||!rt(e,d))&&(delete s[d],c=!0)}c&&bi(t.attrs,"set","")}function Aw(t,e,r,n){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(ta(l))continue;const c=e[l];let u;i&&rt(i,u=hn(l))?!s||!s.includes(u)?r[u]=c:(a||(a={}))[u]=c:rd(t.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,o=!0)}if(s){const l=Ye(r),c=a||Ze;for(let u=0;u<s.length;u++){const d=s[u];r[d]=rp(i,l,d,c[d],t,!rt(c,d))}}return o}function rp(t,e,r,n,i,s){const o=t[r];if(o!=null){const a=rt(o,"default");if(a&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&Me(l)){const{propsDefaults:c}=i;if(r in c)n=c[r];else{const u=vo(i);n=c[r]=l.call(null,e),u()}}else n=l;i.ce&&i.ce._setProp(r,n)}o[0]&&(s&&!a?n=!1:o[1]&&(n===""||n===Cs(r))&&(n=!0))}return n}const ck=new WeakMap;function kw(t,e,r=!1){const n=r?ck:e.propsCache,i=n.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!Me(t)){const u=d=>{l=!0;const[h,f]=kw(d,e,!0);Vt(o,h),f&&a.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return ut(t)&&n.set(t,Zo),Zo;if(Re(s))for(let u=0;u<s.length;u++){const d=hn(s[u]);Dy(d)&&(o[d]=Ze)}else if(s)for(const u in s){const d=hn(u);if(Dy(d)){const h=s[u],f=o[d]=Re(h)||Me(h)?{type:h}:Vt({},h),g=f.type;let p=!1,b=!0;if(Re(g))for(let _=0;_<g.length;++_){const y=g[_],m=Me(y)&&y.name;if(m==="Boolean"){p=!0;break}else m==="String"&&(b=!1)}else p=Me(g)&&g.name==="Boolean";f[0]=p,f[1]=b,(p||rt(f,"default"))&&a.push(d)}}const c=[o,a];return ut(t)&&n.set(t,c),c}function Dy(t){return t[0]!=="$"&&!ta(t)}const Xg=t=>t==="_"||t==="_ctx"||t==="$stable",Qg=t=>Re(t)?t.map(rn):[rn(t)],uk=(t,e,r)=>{if(e._n)return e;const n=Ha((...i)=>Qg(e(...i)),r);return n._c=!1,n},Rw=(t,e,r)=>{const n=t._ctx;for(const i in t){if(Xg(i))continue;const s=t[i];if(Me(s))e[i]=uk(i,s,n);else if(s!=null){const o=Qg(s);e[i]=()=>o}}},Pw=(t,e)=>{const r=Qg(e);t.slots.default=()=>r},Ow=(t,e,r)=>{for(const n in e)(r||!Xg(n))&&(t[n]=e[n])},fk=(t,e,r)=>{const n=t.slots=Tw();if(t.vnode.shapeFlag&32){const i=e._;i?(Ow(n,e,r),r&&kb(n,"_",i,!0)):Rw(e,n)}else e&&Pw(t,e)},dk=(t,e,r)=>{const{vnode:n,slots:i}=t;let s=!0,o=Ze;if(n.shapeFlag&32){const a=e._;a?r&&a===1?s=!1:Ow(i,e,r):(s=!e.$stable,Rw(e,i)),o=e}else e&&(Pw(t,e),o={default:1});
vendor: 4,517 bytes, line 4
4if(s)for(const a in i)!Xg(a)&&o[a]==null&&delete i[a]},rr=Fw;function hk(t){return Mw(t)}function pk(t){return Mw(t,IA)}function Mw(t,e){const r=Yf();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=ti,insertStaticContent:g}=t,p=(C,k,L,G=null,R=null,V=null,le=void 0,ae=null,Z=!!k.dynamicChildren)=>{if(C===k)return;C&&!$n(C,k)&&(G=N(C),te(C,R,V,!0),C=null),k.patchFlag===-2&&(Z=!1,k.dynamicChildren=null);const{type:W,ref:Ce,shapeFlag:fe}=k;switch(W){case to:b(C,k,L,G);break;case Ut:_(C,k,L,G);break;case kl:C==null&&y(k,L,G,le);break;case Bt:O(C,k,L,G,R,V,le,ae,Z);break;default:fe&1?w(C,k,L,G,R,V,le,ae,Z):fe&6?H(C,k,L,G,R,V,le,ae,Z):(fe&64||fe&128)&&W.process(C,k,L,G,R,V,le,ae,Z,se)}Ce!=null&&R?ia(Ce,C&&C.ref,V,k||C,!k):Ce==null&&C&&C.ref!=null&&ia(C.ref,null,V,C,!0)},b=(C,k,L,G)=>{if(C==null)n(k.el=a(k.children),L,G);else{const R=k.el=C.el;k.children!==C.children&&c(R,k.children)}},_=(C,k,L,G)=>{C==null?n(k.el=l(k.children||""),L,G):k.el=C.el},y=(C,k,L,G)=>{[C.el,C.anchor]=g(C.children,k,L,G,C.el,C.anchor)},m=({el:C,anchor:k},L,G)=>{let R;for(;C&&C!==k;)R=h(C),n(C,L,G),C=R;n(k,L,G)},v=({el:C,anchor:k})=>{let L;for(;C&&C!==k;)L=h(C),i(C),C=L;i(k)},w=(C,k,L,G,R,V,le,ae,Z)=>{if(k.type==="svg"?le="svg":k.type==="math"&&(le="mathml"),C==null)E(k,L,G,R,V,le,ae,Z);else{const W=C.el&&C.el._isVueCE?C.el:null;try{W&&W._beginPatch(),T(C,k,R,V,le,ae,Z)}finally{W&&W._endPatch()}}},E=(C,k,L,G,R,V,le,ae)=>{let Z,W;const{props:Ce,shapeFlag:fe,transition:de,dirs:_e}=C;if(Z=C.el=o(C.type,V,Ce&&Ce.is,Ce),fe&8?u(Z,C.children):fe&16&&S(C.children,Z,null,G,R,$d(C,V),le,ae),_e&&Gn(C,null,G,"created"),x(Z,C,C.scopeId,le,G),Ce){for(const Ne in Ce)Ne!=="value"&&!ta(Ne)&&s(Z,Ne,null,Ce[Ne],V,G);"value"in Ce&&s(Z,"value",null,Ce.value,V),(W=Ce.onVnodeBeforeMount)&&Br(W,G,C)}_e&&Gn(C,null,G,"beforeMount");const Se=Iw(R,de);Se&&de.beforeEnter(Z),n(Z,k,L),((W=Ce&&Ce.onVnodeMounted)||Se||_e)&&rr(()=>{W&&Br(W,G,C),Se&&de.enter(Z),_e&&Gn(C,null,G,"mounted")},R)},x=(C,k,L,G,R)=>{if(L&&f(C,L),G)for(let V=0;V<G.length;V++)f(C,G[V]);if(R){let V=R.subTree;if(k===V||rf(V.type)&&(V.ssContent===k||V.ssFallback===k)){const le=R.vnode;x(C,le,le.scopeId,le.slotScopeIds,R.parent)}}},S=(C,k,L,G,R,V,le,ae,Z=0)=>{for(let W=Z;W<C.length;W++){const Ce=C[W]=ae?ns(C[W]):rn(C[W]);p(null,Ce,k,L,G,R,V,le,ae)}},T=(C,k,L,G,R,V,le)=>{const ae=k.el=C.el;let{patchFlag:Z,dynamicChildren:W,dirs:Ce}=k;Z|=C.patchFlag&16;const fe=C.props||Ze,de=k.props||Ze;let _e;if(L&&Os(L,!1),(_e=de.onVnodeBeforeUpdate)&&Br(_e,L,k,C),Ce&&Gn(k,C,L,"beforeUpdate"),L&&Os(L,!0),(fe.innerHTML&&de.innerHTML==null||fe.textContent&&de.textContent==null)&&u(ae,""),W?P(C.dynamicChildren,W,ae,L,G,$d(k,R),V):le||$(C,k,ae,null,L,G,$d(k,R),V,!1),Z>0){if(Z&16)F(ae,fe,de,L,R);else if(Z&2&&fe.class!==de.class&&s(ae,"class",null,de.class,R),Z&4&&s(ae,"style",fe.style,de.style,R),Z&8){const Se=k.dynamicProps;for(let Ne=0;Ne<Se.length;Ne++){const $e=Se[Ne],it=fe[$e],yt=de[$e];(yt!==it||$e==="value")&&s(ae,$e,it,yt,R,L)}}Z&1&&C.children!==k.children&&u(ae,k.children)}else!le&&W==null&&F(ae,fe,de,L,R);((_e=de.onVnodeUpdated)||Ce)&&rr(()=>{_e&&Br(_e,L,k,C),Ce&&Gn(k,C,L,"updated")},G)},P=(C,k,L,G,R,V,le)=>{for(let ae=0;ae<k.length;ae++){const Z=C[ae],W=k[ae],Ce=Z.el&&(Z.type===Bt||!$n(Z,W)||Z.shapeFlag&198)?d(Z.el):L;p(Z,W,Ce,null,G,R,V,le,!0)}},F=(C,k,L,G,R)=>{if(k!==L){if(k!==Ze)for(const V in k)!ta(V)&&!(V in L)&&s(C,V,k[V],null,R,G);for(const V in L){if(ta(V))continue;const le=L[V],ae=k[V];le!==ae&&V!=="value"&&s(C,V,ae,le,R,G)}"value"in L&&s(C,"value",k.value,L.value,R)}},O=(C,k,L,G,R,V,le,ae,Z)=>{const W=k.el=C?C.el:a(""),Ce=k.anchor=C?C.anchor:a("");let{patchFlag:fe,dynamicChildren:de,slotScopeIds:_e}=k;_e&&(ae=ae?ae.concat(_e):_e),C==null?(n(W,L,G),n(Ce,L,G),S(k.children||[],L,Ce,R,V,le,ae,Z)):fe>0&&fe&64&&de&&C.dynamicChildren&&C.dynamicChildren.length===de.length?(P(C.dynamicChildren,de,L,R,V,le,ae),(k.key!=null||R&&k===R.subTree)&&$w(C,k,!0)):$(C,k,L,Ce,R,V,le,ae,Z)},H=(C,k,L,G,R,V,le,ae,Z)=>{k.slotScopeIds=ae,C==null?k.shapeFlag&512?R.ctx.activate(k,L,G,le,Z):Y(k,L,G,R,V,le,Z):B(C,k,Z)},Y=(C,k,L,G,R,V,le)=>{const ae=C.component=Ak(C,G,R);if(Ac(C)&&(ae.ctx.renderer=se),kk(ae,!1,le),ae.asyncDep){if(R&&R.registerDep(ae,A,le),!C.el){const Z=ae.subTree=pt(Ut);_(null,Z,k,L),C.placeholder=Z.el}}else A(ae,C,k,L,R,V,le)},B=(C,k,L)=>{const G=k.component=C.component;if(ok(C,k,L))if(G.asyncDep&&!G.asyncResolved){I(G,k,L);return}
vendor: 32,221 bytes, line 4
4else G.next=k,G.update();else k.el=C.el,G.vnode=k},A=(C,k,L,G,R,V,le)=>{const ae=()=>{if(C.isMounted){let{next:fe,bu:de,u:_e,parent:Se,vnode:Ne}=C;{const Rt=Dw(C);if(Rt){fe&&(fe.el=Ne.el,I(C,fe,le)),Rt.asyncDep.then(()=>{C.isUnmounted||ae()});return}}let $e=fe,it;Os(C,!1),fe?(fe.el=Ne.el,I(C,fe,le)):fe=Ne,de&&ra(de),(it=fe.props&&fe.props.onVnodeBeforeUpdate)&&Br(it,Se,fe,Ne),Os(C,!0);const yt=Id(C),Xe=C.subTree;C.subTree=yt,p(Xe,yt,d(Xe.el),N(Xe),C,R,V),fe.el=yt.el,$e===null&&nd(C,yt.el),_e&&rr(_e,R),(it=fe.props&&fe.props.onVnodeUpdated)&&rr(()=>Br(it,Se,fe,Ne),R)}else{let fe;const{el:de,props:_e}=k,{bm:Se,m:Ne,parent:$e,root:it,type:yt}=C,Xe=Pi(k);if(Os(C,!1),Se&&ra(Se),!Xe&&(fe=_e&&_e.onVnodeBeforeMount)&&Br(fe,$e,k),Os(C,!0),de&&xe){const Rt=()=>{C.subTree=Id(C),xe(de,C.subTree,C,R,null)};Xe&&yt.__asyncHydrate?yt.__asyncHydrate(de,C,Rt):Rt()}else{it.ce&&it.ce._def.shadowRoot!==!1&&it.ce._injectChildStyle(yt);const Rt=C.subTree=Id(C);p(null,Rt,L,G,C,R,V),k.el=Rt.el}if(Ne&&rr(Ne,R),!Xe&&(fe=_e&&_e.onVnodeMounted)){const Rt=k;rr(()=>Br(fe,$e,Rt),R)}(k.shapeFlag&256||$e&&Pi($e.vnode)&&$e.vnode.shapeFlag&256)&&C.a&&rr(C.a,R),C.isMounted=!0,k=L=G=null}};C.scope.on();const Z=C.effect=new $b(ae);C.scope.off();const W=C.update=Z.run.bind(Z),Ce=C.job=Z.runIfDirty.bind(Z);Ce.i=C,Ce.id=C.uid,Z.scheduler=()=>zg(Ce),Os(C,!0),W()},I=(C,k,L)=>{k.component=C;const G=C.vnode.props;C.vnode=k,C.next=null,lk(C,k.props,G,L),dk(C,k.children,L),Mi(),Ey(C),Ii()},$=(C,k,L,G,R,V,le,ae,Z=!1)=>{const W=C&&C.children,Ce=C?C.shapeFlag:0,fe=k.children,{patchFlag:de,shapeFlag:_e}=k;if(de>0){if(de&128){M(W,fe,L,G,R,V,le,ae,Z);return}else if(de&256){X(W,fe,L,G,R,V,le,ae,Z);return}}_e&8?(Ce&16&&ye(W,R,V),fe!==W&&u(L,fe)):Ce&16?_e&16?M(W,fe,L,G,R,V,le,ae,Z):ye(W,R,V,!0):(Ce&8&&u(L,""),_e&16&&S(fe,L,G,R,V,le,ae,Z))},X=(C,k,L,G,R,V,le,ae,Z)=>{C=C||Zo,k=k||Zo;const W=C.length,Ce=k.length,fe=Math.min(W,Ce);let de;for(de=0;de<fe;de++){const _e=k[de]=Z?ns(k[de]):rn(k[de]);p(C[de],_e,L,null,R,V,le,ae,Z)}W>Ce?ye(C,R,V,!0,!1,fe):S(k,L,G,R,V,le,ae,Z,fe)},M=(C,k,L,G,R,V,le,ae,Z)=>{let W=0;const Ce=k.length;let fe=C.length-1,de=Ce-1;for(;W<=fe&&W<=de;){const _e=C[W],Se=k[W]=Z?ns(k[W]):rn(k[W]);if($n(_e,Se))p(_e,Se,L,null,R,V,le,ae,Z);else break;W++}for(;W<=fe&&W<=de;){const _e=C[fe],Se=k[de]=Z?ns(k[de]):rn(k[de]);if($n(_e,Se))p(_e,Se,L,null,R,V,le,ae,Z);else break;fe--,de--}if(W>fe){if(W<=de){const _e=de+1,Se=_e<Ce?k[_e].el:G;for(;W<=de;)p(null,k[W]=Z?ns(k[W]):rn(k[W]),L,Se,R,V,le,ae,Z),W++}}else if(W>de)for(;W<=fe;)te(C[W],R,V,!0),W++;else{const _e=W,Se=W,Ne=new Map;for(W=Se;W<=de;W++){const ft=k[W]=Z?ns(k[W]):rn(k[W]);ft.key!=null&&Ne.set(ft.key,W)}let $e,it=0;const yt=de-Se+1;let Xe=!1,Rt=0;const Jt=new Array(yt);for(W=0;W<yt;W++)Jt[W]=0;for(W=_e;W<=fe;W++){const ft=C[W];if(it>=yt){te(ft,R,V,!0);continue}let It;if(ft.key!=null)It=Ne.get(ft.key);else for($e=Se;$e<=de;$e++)if(Jt[$e-Se]===0&&$n(ft,k[$e])){It=$e;break}It===void 0?te(ft,R,V,!0):(Jt[It-Se]=W+1,It>=Rt?Rt=It:Xe=!0,p(ft,k[It],L,null,R,V,le,ae,Z),it++)}const jr=Xe?gk(Jt):Zo;for($e=jr.length-1,W=yt-1;W>=0;W--){const ft=Se+W,It=k[ft],hr=k[ft+1],Ie=ft+1<Ce?hr.el||Lw(hr):G;Jt[W]===0?p(null,It,L,Ie,R,V,le,ae,Z):Xe&&($e<0||W!==jr[$e]?K(It,L,Ie,2):$e--)}}},K=(C,k,L,G,R=null)=>{const{el:V,type:le,transition:ae,children:Z,shapeFlag:W}=C;if(W&6){K(C.component.subTree,k,L,G);return}if(W&128){C.suspense.move(k,L,G);return}if(W&64){le.move(C,k,L,se);return}if(le===Bt){n(V,k,L);for(let fe=0;fe<Z.length;fe++)K(Z[fe],k,L,G);n(C.anchor,k,L);return}if(le===kl){m(C,k,L);return}if(G!==2&&W&1&&ae)if(G===0)ae.beforeEnter(V),n(V,k,L),rr(()=>ae.enter(V),R);else{const{leave:fe,delayLeave:de,afterLeave:_e}=ae,Se=()=>{C.ctx.isUnmounted?i(V):n(V,k,L)},Ne=()=>{V._isLeaving&&V[yi](!0),fe(V,()=>{Se(),_e&&_e()})};de?de(V,Se,Ne):Ne()}else n(V,k,L)},te=(C,k,L,G=!1,R=!1)=>{const{type:V,props:le,ref:ae,children:Z,dynamicChildren:W,shapeFlag:Ce,patchFlag:fe,dirs:de,cacheIndex:_e}=C;if(fe===-2&&(R=!1),ae!=null&&(Mi(),ia(ae,null,L,C,!0),Ii()),_e!=null&&(k.renderCache[_e]=void 0),Ce&256){k.ctx.deactivate(C);return}const Se=Ce&1&&de,Ne=!Pi(C);let $e;if(Ne&&($e=le&&le.onVnodeBeforeUnmount)&&Br($e,k,C),Ce&6)me(C.component,L,G);else{if(Ce&128){C.suspense.unmount(L,G);return}Se&&Gn(C,null,k,"beforeUnmount"),Ce&64?C.type.remove(C,k,L,se,G):W&&!W.hasOnce&&(V!==Bt||fe>0&&fe&64)?ye(W,k,L,!1,!0):(V===Bt&&fe&384||!R&&Ce&16)&&ye(Z,k,L),G&&ue(C)}(Ne&&($e=le&&le.onVnodeUnmounted)||Se)&&rr(()=>{$e&&Br($e,k,C),Se&&Gn(C,null,k,"unmounted")},L)},ue=C=>{const{type:k,el:L,anchor:G,transition:R}=C;if(k===Bt){oe(L,G);return}if(k===kl){v(C);return}const V=()=>{i(L),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(C.shapeFlag&1&&R&&!R.persisted){const{leave:le,delayLeave:ae}=R,Z=()=>le(L,V);ae?ae(C.el,V,Z):Z()}else V()},oe=(C,k)=>{let L;for(;C!==k;)L=h(C),i(C),C=L;i(k)},me=(C,k,L)=>{const{bum:G,scope:R,job:V,subTree:le,um:ae,m:Z,a:W}=C;tf(Z),tf(W),G&&ra(G),R.stop(),V&&(V.flags|=8,te(le,C,k,L)),ae&&rr(ae,k),rr(()=>{C.isUnmounted=!0},k)},ye=(C,k,L,G=!1,R=!1,V=0)=>{for(let le=V;le<C.length;le++)te(C[le],k,L,G,R)},N=C=>{if(C.shapeFlag&6)return N(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const k=h(C.anchor||C.el),L=k&&k[kA];return L?h(L):k};let q=!1;const Q=(C,k,L)=>{let G;C==null?k._vnode&&(te(k._vnode,null,null,!0),G=k._vnode.component):p(k._vnode||null,C,k,null,null,null,L),k._vnode=C,q||(q=!0,Ey(G),Qu(),q=!1)},se={p,um:te,m:K,r:ue,mt:Y,mc:S,pc:$,pbc:P,n:N,o:t};let he,xe;return e&&([he,xe]=e(se)),{render:Q,hydrate:he,createApp:ek(Q,he)}}function $d({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function Os({effect:t,job:e},r){r?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Iw(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function $w(t,e,r=!1){const n=t.children,i=e.children;if(Re(n)&&Re(i))for(let s=0;s<n.length;s++){const o=n[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=ns(i[s]),a.el=o.el),!r&&a.patchFlag!==-2&&$w(o,a)),a.type===to&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(t.type===Bt?1:0)),a.type===Ut&&!a.el&&(a.el=o.el)}}function gk(t){const e=t.slice(),r=[0];let n,i,s,o,a;const l=t.length;for(n=0;n<l;n++){const c=t[n];if(c!==0){if(i=r[r.length-1],t[i]<c){e[n]=i,r.push(n);continue}for(s=0,o=r.length-1;s<o;)a=s+o>>1,t[r[a]]<c?s=a+1:o=a;c<t[r[s]]&&(s>0&&(e[n]=r[s-1]),r[s]=n)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=e[o];return r}function Dw(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Dw(e)}function tf(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Lw(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Lw(e.subTree):null}const rf=t=>t.__isSuspense;let np=0;const mk={name:"Suspense",__isSuspense:!0,process(t,e,r,n,i,s,o,a,l,c){if(t==null)yk(e,r,n,i,s,o,a,l,c);else{if(s&&s.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}_k(t,e,r,n,i,o,a,l,c)}},hydrate:vk,normalize:bk},Jg=mk;function ac(t,e){const r=t.props&&t.props[e];Me(r)&&r()}function yk(t,e,r,n,i,s,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=t.suspense=Nw(t,i,n,e,d,r,s,o,a,l);c(null,h.pendingBranch=t.ssContent,d,null,n,h,s,o),h.deps>0?(ac(t,"onPending"),ac(t,"onFallback"),c(null,t.ssFallback,e,r,n,null,s,o),sa(h,t.ssFallback)):h.resolve(!1,!0)}function _k(t,e,r,n,i,s,o,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const h=e.ssContent,f=e.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:b,isHydrating:_}=d;if(p)d.pendingBranch=h,$n(p,h)?(l(p,h,d.hiddenContainer,null,i,d,s,o,a),d.deps<=0?d.resolve():b&&(_||(l(g,f,r,n,i,null,s,o,a),sa(d,f)))):(d.pendingId=np++,_?(d.isHydrating=!1,d.activeBranch=p):c(p,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,h,d.hiddenContainer,null,i,d,s,o,a),d.deps<=0?d.resolve():(l(g,f,r,n,i,null,s,o,a),sa(d,f))):g&&$n(g,h)?(l(g,h,r,n,i,d,s,o,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,i,d,s,o,a),d.deps<=0&&d.resolve()));else if(g&&$n(g,h))l(g,h,r,n,i,d,s,o,a),sa(d,h);else if(ac(e,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=np++,l(null,h,d.hiddenContainer,null,i,d,s,o,a),d.deps<=0)d.resolve();else{const{timeout:y,pendingId:m}=d;y>0?setTimeout(()=>{d.pendingId===m&&d.fallback(f)},y):y===0&&d.fallback(f)}}function Nw(t,e,r,n,i,s,o,a,l,c,u=!1){const{p:d,m:h,um:f,n:g,o:{parentNode:p,remove:b}}=c;let _;const y=wk(t);y&&e&&e.pendingBranch&&(_=e.pendingId,e.deps++);const m=t.props?Rb(t.props.timeout):void 0,v=s,w={vnode:t,parent:e,parentComponent:r,namespace:o,container:n,hiddenContainer:i,deps:0,pendingId:np++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,x=!1){const{vnode:S,activeBranch:T,pendingBranch:P,pendingId:F,effects:O,parentComponent:H,container:Y,isInFallback:B}=w;let A=!1;w.isHydrating?w.isHydrating=!1:E||(A=T&&P.transition&&P.transition.mode==="out-in",A&&(T.transition.afterLeave=()=>{F===w.pendingId&&(h(P,Y,s===v?g(T):s,0),nc(O),B&&S.ssFallback&&(S.ssFallback.el=null))}),T&&(p(T.el)===Y&&(s=g(T)),f(T,H,w,!0),!A&&B&&S.ssFallback&&rr(()=>S.ssFallback.el=null,w)),A||h(P,Y,s,0)),sa(w,P),w.pendingBranch=null,w.isInFallback=!1;let I=w.parent,$=!1;for(;I;){if(I.pendingBranch){I.effects.push(...O),$=!0;break}I=I.parent}!$&&!A&&nc(O),w.effects=[],y&&e&&e.pendingBranch&&_===e.pendingId&&(e.deps--,e.deps===0&&!x&&e.resolve()),ac(S,"onResolve")},fallback(E){if(!w.pendingBranch)return;const{vnode:x,activeBranch:S,parentComponent:T,container:P,namespace:F}=w;ac(x,"onFallback");const O=g(S),H=()=>{w.isInFallback&&(d(null,E,P,O,T,null,F,a,l),sa(w,E))},Y=E.transition&&E.transition.mode==="out-in";Y&&(S.transition.afterLeave=H),w.isInFallback=!0,f(S,T,null,!0),Y||H()},move(E,x,S){w.activeBranch&&h(w.activeBranch,E,x,S),w.container=E},next(){return w.activeBranch&&g(w.activeBranch)},registerDep(E,x,S){const T=!!w.pendingBranch;T&&w.deps++;const P=E.vnode.el;E.asyncDep.catch(F=>{ja(F,E,0)}).then(F=>{if(E.isUnmounted||w.isUnmounted||w.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:O}=E;op(E,F),P&&(O.el=P);const H=!P&&E.subTree.el;x(E,O,p(P||E.subTree.el),P?null:g(E.subTree),w,o,S),H&&(O.placeholder=null,b(H)),nd(E,O.el),T&&--w.deps===0&&w.resolve()})},unmount(E,x){w.isUnmounted=!0,w.activeBranch&&f(w.activeBranch,r,E,x),w.pendingBranch&&f(w.pendingBranch,r,E,x)}};return w}function vk(t,e,r,n,i,s,o,a,l){const c=e.suspense=Nw(e,n,r,t.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=l(t,c.pendingBranch=e.ssContent,r,c,s,o);return c.deps===0&&c.resolve(!1,!0),u}function bk(t){const{shapeFlag:e,children:r}=t,n=e&32;t.ssContent=Ly(n?r.default:r),t.ssFallback=n?Ly(r.fallback):pt(Ut)}function Ly(t){let e;if(Me(t)){const r=va&&t._c;r&&(t._d=!1,vt()),t=t(),r&&(t._d=!0,e=Wr,jw())}return Re(t)&&(t=nk(t)),t=rn(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(r=>r!==t)),t}function Fw(t,e){e&&e.pendingBranch?Re(t)?e.effects.push(...t):e.effects.push(t):nc(t)}function sa(t,e){t.activeBranch=e;const{vnode:r,parentComponent:n}=t;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;r.el=i,n&&n.subTree===r&&(n.vnode.el=i,nd(n,i))}function wk(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Bt=Symbol.for("v-fgt"),to=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),kl=Symbol.for("v-stc"),Rl=[];let Wr=null;function vt(t=!1){Rl.push(Wr=t?null:[])}function jw(){Rl.pop(),Wr=Rl[Rl.length-1]||null}let va=1;function nf(t,e=!1){va+=t,t<0&&Wr&&e&&(Wr.hasOnce=!0)}function Hw(t){return t.dynamicChildren=va>0?Wr||Zo:null,jw(),va>0&&Wr&&Wr.push(t),t}function Jn(t,e,r,n,i,s){return Hw(ro(t,e,r,n,i,s,!0))}function Vr(t,e,r,n,i){return Hw(pt(t,e,r,n,i,!0))}function _o(t){return t?t.__v_isVNode===!0:!1}function $n(t,e){return t.type===e.type&&t.key===e.key}const Bw=({key:t})=>t??null,Cu=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?St(t)||ct(t)||Me(t)?{i:lr,r:t,k:e,f:!!r}:t:null);function ro(t,e=null,r=null,n=0,i=null,s=t===Bt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Bw(e),ref:e&&Cu(e),scopeId:tw,slotScopeIds:null,children:r,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:lr};return a?(Zg(l,r),s&128&&t.normalize(l)):r&&(l.shapeFlag|=St(r)?8:16),va>0&&!o&&Wr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Wr.push(l),l}const pt=xk;function xk(t,e=null,r=null,n=0,i=null,s=!1){if((!t||t===pw)&&(t=Ut),_o(t)){const a=fn(t,e,!0);return r&&Zg(a,r),va>0&&!s&&Wr&&(a.shapeFlag&6?Wr[Wr.indexOf(t)]=a:Wr.push(a)),a.patchFlag=-2,a}if(Mk(t)&&(t=t.__vccOpts),e){e=Sk(e);let{class:a,style:l}=e;a&&!St(a)&&(e.class=ki(a)),ut(l)&&(Jf(l)&&!Re(l)&&(l=Vt({},l)),e.style=ps(l))}const o=St(t)?1:rf(t)?128:nw(t)?64:ut(t)?4:Me(t)?2:0;return ro(t,e,r,n,i,o,s,!0)}function Sk(t){return t?Jf(t)||Cw(t)?Vt({},t):t:null}function fn(t,e,r=!1,n=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,c=e?ba(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Bw(c),ref:e&&e.ref?r&&s?Re(s)?s.concat(Cu(e)):[s,Cu(e)]:Cu(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Bt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&fn(t.ssContent),ssFallback:t.ssFallback&&fn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&bs(u,l.clone(u)),u}function Uw(t=" ",e=0){return pt(to,null,t,e)}function Ek(t,e){const r=pt(kl,null,t);return r.staticCount=e,r}function sf(t="",e=!1){return e?(vt(),Vr(Ut,null,t)):pt(Ut,null,t)}function rn(t){return t==null||typeof t=="boolean"?pt(Ut):Re(t)?pt(Bt,null,t.slice()):_o(t)?ns(t):pt(to,null,String(t))}function ns(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:fn(t)}function Zg(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(Re(e))r=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Zg(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!Cw(e)?e._ctx=lr:i===3&&lr&&(lr.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Me(e)?(e={default:e,_ctx:lr},r=32):(e=String(e),n&64?(r=16,e=[Uw(e)]):r=8);t.children=e,t.shapeFlag|=r}function ba(...t){const e={};for(let r=0;r<t.length;r++){const n=t[r];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=ki([e.class,n.class]));else if(i==="style")e.style=ps([e.style,n.style]);else if(Ec(i)){const s=e[i],o=n[i];o&&s!==o&&!(Re(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=n[i])}return e}function Br(t,e,r,n=null){jn(t,e,7,[r,n])}const Tk=ww();let Ck=0;function Ak(t,e,r){const n=t.type,i=(e?e.appContext:t.appContext)||Tk,s={uid:Ck++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ib(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kw(n,i),emitsOptions:Sw(n,i),emit:null,emitted:null,propsDefaults:Ze,inheritAttrs:n.inheritAttrs,ctx:Ze,data:Ze,props:Ze,attrs:Ze,slots:Ze,refs:Ze,setupState:Ze,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=tk.bind(null,s),t.ce&&t.ce(s),s}let ar=null;const Ar=()=>ar||lr;let of,ip;{const t=Yf(),e=(r,n)=>{let i;return(i=t[r])||(i=t[r]=[]),i.push(n),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};of=e("__VUE_INSTANCE_SETTERS__",r=>ar=r),ip=e("__VUE_SSR_SETTERS__",r=>wa=r)}const vo=t=>{const e=ar;return of(t),t.scope.on(),()=>{t.scope.off(),of(e)}},sp=()=>{ar&&ar.scope.off(),of(null)};function zw(t){return t.vnode.shapeFlag&4}let wa=!1;function kk(t,e=!1,r=!1){e&&ip(e);const{props:n,children:i}=t.vnode,s=zw(t);ak(t,n,s,e),fk(t,i,r||e);const o=s?Rk(t,e):void 0;return e&&ip(!1),o}function Rk(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,qA);const{setup:n}=r;if(n){Mi();const i=t.setupContext=n.length>1?Ok(t):null,s=vo(t),o=Cc(n,t,0,[t.props,i]),a=Mg(o);if(Ii(),s(),(a||t.sp)&&!Pi(t)&&Wg(t),a){if(o.then(sp,sp),e)return o.then(l=>{op(t,l)}).catch(l=>{ja(l,t,0)});t.asyncDep=o}else op(t,o)}else Vw(t)}function op(t,e,r){Me(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ut(e)&&(t.setupState=Kb(e)),Vw(t)}function Vw(t,e,r){const n=t.type;t.render||(t.render=n.render||ti);{const i=vo(t);Mi();try{YA(t)}finally{Ii(),i()}}}const Pk={get(t,e){return br(t,"get",""),t[e]}};function Ok(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,Pk),slots:t.slots,emit:t.emit,expose:e}}function id(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Kb(Hg(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Al)return Al[r](t)},has(e,r){return r in e||r in Al}})):t.proxy}function ap(t,e=!0){return Me(t)?t.displayName||t.name:t.name||e&&t.__name}function Mk(t){return Me(t)&&"__vccOpts"in t}const ke=(t,e)=>vA(t,e,wa);function gt(t,e,r){try{nf(-1);const n=arguments.length;return n===2?ut(e)&&!Re(e)?_o(e)?pt(t,null,[e]):pt(t,e):pt(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&_o(r)&&(r=[r]),pt(t,e,r))}finally{nf(1)}}const Ik="3.5.26";let lp;const Ny=typeof window<"u"&&window.trustedTypes;if(Ny)try{lp=Ny.createPolicy("vue",{createHTML:t=>t})}catch{}const Ww=lp?t=>lp.createHTML(t):t=>t,$k="http://www.w3.org/2000/svg",Dk="http://www.w3.org/1998/Math/MathML",gi=typeof document<"u"?document:null,Fy=gi&&gi.createElement("template"),Lk={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const i=e==="svg"?gi.createElementNS($k,t):e==="mathml"?gi.createElementNS(Dk,t):r?gi.createElement(t,{is:r}):gi.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>gi.createTextNode(t),createComment:t=>gi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>gi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,i,s){const o=r?r.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Fy.innerHTML=Ww(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Fy.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},qi="transition",Xa="animation",xa=Symbol("_vtc"),qw={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},Gw=Vt({},sw,qw),Nk=t=>(t.displayName="Transition",t.props=Gw,t),Fk=Nk((t,{slots:e})=>gt(PA,Yw(t),e)),Ms=(t,e=[])=>{Re(t)?t.forEach(r=>r(...e)):t&&t(...e)},jy=t=>t?Re(t)?t.some(e=>e.length>1):t.length>1:!1;function Yw(t){const e={};for(const O in t)O in qw||(e[O]=t[O]);if(t.css===!1)return e;const{name:r="v",type:n,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=t,g=jk(i),p=g&&g[0],b=g&&g[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:m,onLeave:v,onLeaveCancelled:w,onBeforeAppear:E=_,onAppear:x=y,onAppearCancelled:S=m}=e,T=(O,H,Y,B)=>{O._enterCancelled=B,Qi(O,H?u:a),Qi(O,H?c:o),Y&&Y()},P=(O,H)=>{O._isLeaving=!1,Qi(O,d),Qi(O,f),Qi(O,h),H&&H()},F=O=>(H,Y)=>{const B=O?x:y,A=()=>T(H,O,Y);Ms(B,[H,A]),Hy(()=>{Qi(H,O?l:s),Vn(H,O?u:a),jy(B)||By(H,n,p,A)})};return Vt(e,{onBeforeEnter(O){Ms(_,[O]),Vn(O,s),Vn(O,o)},onBeforeAppear(O){Ms(E,[O]),Vn(O,l),Vn(O,c)},onEnter:F(!1),onAppear:F(!0),onLeave(O,H){O._isLeaving=!0;const Y=()=>P(O,H);Vn(O,d),O._enterCancelled?(Vn(O,h),cp(O)):(cp(O),Vn(O,h)),Hy(()=>{O._isLeaving&&(Qi(O,d),Vn(O,f),jy(v)||By(O,n,b,Y))}),Ms(v,[O,Y])},onEnterCancelled(O){T(O,!1,void 0,!0),Ms(m,[O])},onAppearCancelled(O){T(O,!0,void 0,!0),Ms(S,[O])},onLeaveCancelled(O){P(O),Ms(w,[O])}})}function jk(t){if(t==null)return null;if(ut(t))return[Dd(t.enter),Dd(t.leave)];{const e=Dd(t);return[e,e]}}function Dd(t){return Rb(t)}function Vn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[xa]||(t[xa]=new Set)).add(e)}function Qi(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const r=t[xa];r&&(r.delete(e),r.size||(t[xa]=void 0))}function Hy(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Hk=0;function By(t,e,r,n){const i=t._endId=++Hk,s=()=>{i===t._endId&&n()};if(r!=null)return setTimeout(s,r);const{type:o,timeout:a,propCount:l}=Kw(t,e);if(!o)return n();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,h),s()},h=f=>{f.target===t&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),t.addEventListener(c,h)}function Kw(t,e){const r=window.getComputedStyle(t),n=g=>(r[g]||"").split(", "),i=n(`${qi}Delay`),s=n(`${qi}Duration`),o=Uy(i,s),a=n(`${Xa}Delay`),l=n(`${Xa}Duration`),c=Uy(a,l);let u=null,d=0,h=0;e===qi?o>0&&(u=qi,d=o,h=s.length):e===Xa?c>0&&(u=Xa,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?qi:Xa:null,h=u?u===qi?s.length:l.length:0);const f=u===qi&&/\b(?:transform|all)(?:,|$)/.test(n(`${qi}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function Uy(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((r,n)=>zy(r)+zy(t[n])))}function zy(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function cp(t){return(t?t.ownerDocument:document).body.offsetHeight}function Bk(t,e,r){const n=t[xa];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const af=Symbol("_vod"),Xw=Symbol("_vsh"),TV={name:"show",beforeMount(t,{value:e},{transition:r}){t[af]=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):Qa(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),Qa(t,!0),n.enter(t)):n.leave(t,()=>{Qa(t,!1)}):Qa(t,e))},beforeUnmount(t,{value:e}){Qa(t,e)}};function Qa(t,e){t.style.display=e?t[af]:"none",t[Xw]=!e}const Uk=Symbol(""),zk=/(?:^|;)\s*display\s*:/;function Vk(t,e,r){const n=t.style,i=St(r);let s=!1;if(r&&!i){if(e)if(St(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();r[a]==null&&Au(n,a,"")}else for(const o in e)r[o]==null&&Au(n,o,"");for(const o in r)o==="display"&&(s=!0),Au(n,o,r[o])}else if(i){if(e!==r){const o=n[Uk];o&&(r+=";"+o),n.cssText=r,s=zk.test(r)}}else e&&t.removeAttribute("style");af in t&&(t[af]=s?n.display:"",t[Xw]&&(n.display="none"))}const Vy=/\s*!important$/;function Au(t,e,r){if(Re(r))r.forEach(n=>Au(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=Wk(t,e);Vy.test(r)?t.setProperty(Cs(n),r.replace(Vy,""),"important"):t[n]=r}}const Wy=["Webkit","Moz","ms"],Ld={};function Wk(t,e){const r=Ld[e];if(r)return r;let n=hn(e);if(n!=="filter"&&n in t)return Ld[e]=n;n=Gf(n);for(let i=0;i<Wy.length;i++){const s=Wy[i]+n;if(s in t)return Ld[e]=s}return e}const qy="http://www.w3.org/1999/xlink";function Gy(t,e,r,n,i,s=GC(e)){n&&e.startsWith("xlink:")?r==null?t.removeAttributeNS(qy,e.slice(6,e.length)):t.setAttributeNS(qy,e,r):r==null||s&&!Pb(r)?t.removeAttribute(e):t.setAttribute(e,s?"":ji(r)?String(r):r)}function Yy(t,e,r,n,i){if(e==="innerHTML"||e==="textContent"){r!=null&&(t[e]=e==="innerHTML"?Ww(r):r);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=r==null?t.type==="checkbox"?"on":"":String(r);(a!==l||!("_value"in t))&&(t.value=l),r==null&&t.removeAttribute(e),t._value=r;return}let o=!1;if(r===""||r==null){const a=typeof t[e];a==="boolean"?r=Pb(r):r==null&&a==="string"?(r="",o=!0):a==="number"&&(r=0,o=!0)}try{t[e]=r}catch{}o&&t.removeAttribute(i||e)}function Uo(t,e,r,n){t.addEventListener(e,r,n)}function qk(t,e,r,n){t.removeEventListener(e,r,n)}const Ky=Symbol("_vei");function Gk(t,e,r,n,i=null){const s=t[Ky]||(t[Ky]={}),o=s[e];if(n&&o)o.value=n;else{const[a,l]=Yk(e);if(n){const c=s[e]=Qk(n,i);Uo(t,a,c,l)}else o&&(qk(t,a,o,l),s[e]=void 0)}}const Xy=/(?:Once|Passive|Capture)$/;function Yk(t){let e;if(Xy.test(t)){e={};let n;for(;n=t.match(Xy);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Cs(t.slice(2)),e]}let Nd=0;const Kk=Promise.resolve(),Xk=()=>Nd||(Kk.then(()=>Nd=0),Nd=Date.now());function Qk(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;jn(Jk(n,r.value),e,5,[n])};return r.value=t,r.attached=Xk(),r}function Jk(t,e){if(Re(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Qy=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Zk=(t,e,r,n,i,s)=>{const o=i==="svg";e==="class"?Bk(t,n,o):e==="style"?Vk(t,r,n):Ec(e)?Pg(e)||Gk(t,e,r,n,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):eR(t,e,n,o))?(Yy(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Gy(t,e,n,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!St(n))?Yy(t,hn(e),n,s,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Gy(t,e,n,o))};function eR(t,e,r,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Qy(e)&&Me(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Qy(e)&&St(r)?!1:e in t}const Qw=new WeakMap,Jw=new WeakMap,lf=Symbol("_moveCb"),Jy=Symbol("_enterCb"),tR=t=>(delete t.props.mode,t),rR=tR({name:"TransitionGroup",props:Vt({},Gw,{tag:String,moveClass:String}),setup(t,{slots:e}){const r=Ar(),n=iw();let i,s;return qg(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!oR(i[0].el,r.vnode.el,o)){i=[];return}i.forEach(nR),i.forEach(iR);const a=i.filter(sR);cp(r.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Vn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[lf]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[lf]=null,Qi(c,o))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const o=Ye(t),a=Yw(o);let l=o.tag||Bt;if(i=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(i.push(u),bs(u,sc(u,a,n,r)),Qw.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}s=e.default?Vg(e.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&bs(u,sc(u,a,n,r))}return pt(l,null,s)}}}),CV=rR;function nR(t){const e=t.el;e[lf]&&e[lf](),e[Jy]&&e[Jy]()}function iR(t){Jw.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop})}function sR(t){const e=Qw.get(t),r=Jw.get(t),n=e.left-r.left,i=e.top-r.top;if(n||i){const s=t.el.style;return s.transform=s.webkitTransform=`translate(${n}px,${i}px)`,s.transitionDuration="0s",t}}function oR(t,e,r){const n=t.cloneNode(),i=t[xa];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(n);const{hasTransform:o}=Kw(n);return s.removeChild(n),o}const Zy=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Re(e)?r=>ra(e,r):e};function aR(t){t.target.composing=!0}function e_(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Fd=Symbol("_assign");function t_(t,e,r){return e&&(t=t.trim()),r&&(t=Ig(t)),t}const AV={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t[Fd]=Zy(i);const s=n||i.props&&i.props.type==="number";Uo(t,e?"change":"input",o=>{o.target.composing||t[Fd](t_(t.value,r,s))}),(r||s)&&Uo(t,"change",()=>{t.value=t_(t.value,r,s)}),e||(Uo(t,"compositionstart",aR),Uo(t,"compositionend",e_),Uo(t,"change",e_))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:n,trim:i,number:s}},o){if(t[Fd]=Zy(o),t.composing)return;const a=(s||t.type==="number")&&!/^0\d/.test(t.value)?Ig(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(n&&e===r||i&&t.value.trim()===l)||(t.value=l))}},lR=["ctrl","shift","alt","meta"],cR={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>lR.some(r=>t[`${r}Key`]&&!e.includes(r))},kV=(t,e)=>{const r=t._withMods||(t._withMods={}),n=e.join(".");return r[n]||(r[n]=((i,...s)=>{for(let o=0;o<e.length;o++){const a=cR[e[o]];if(a&&a(i,e))return}return t(i,...s)}))},Zw=Vt({patchProp:Zk},Lk);let Pl,r_=!1;function uR(){return Pl||(Pl=hk(Zw))}function fR(){return Pl=r_?Pl:pk(Zw),r_=!0,Pl}const dR=((...t)=>{const e=uR().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=tx(n);if(!i)return;const s=e._component;!Me(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=r(i,!1,ex(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e}),hR=((...t)=>{const e=fR().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=tx(n);if(i)return r(i,!0,ex(i))},e});function ex(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function tx(t){return St(t)?document.querySelector(t):t}const pR=/"(?:_|\\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*:/,gR=/"(?: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*:/,mR=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yR(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){_R(t);return}return e}function _R(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function vR(t,e={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const r=t.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!mR.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(pR.test(t)||gR.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,yR)}return JSON.parse(t)}catch(n){if(e.strict)throw n;return t}}const rx=/#/g,nx=/&/g,bR=/\//g,wR=/=/g,xR=/\?/g,sd=/\+/g,SR=/%5e/gi,ER=/%60/gi,TR=/%7c/gi,CR=/%20/gi,AR=/%2f/gi,kR=/%252f/gi;function ix(t){return encodeURI(""+t).replace(TR,"|")}function up(t){return ix(typeof t=="string"?t:JSON.stringify(t)).replace(sd,"%2B").replace(CR,"+").replace(rx,"%23").replace(nx,"%26").replace(ER,"`").replace(SR,"^").replace(bR,"%2F")}
4function jd(t){return up(t).replace(wR,"%3D")}function RR(t){return ix(t).replace(rx,"%23").replace(xR,"%3F").replace(kR,"%2F").replace(nx,"%26").replace(sd,"%2B")}function lc(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function PR(t){return lc(t.replace(AR,"%252F"))}function OR(t){return lc(t.replace(sd," "))}function MR(t){return lc(t.replace(sd," "))}function em(t=""){const e=Object.create(null);t[0]==="?"&&(t=t.slice(1));for(const r of t.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const i=OR(n[1]);if(i==="__proto__"||i==="constructor")continue;const s=MR(n[2]||"");e[i]===void 0?e[i]=s:Array.isArray(e[i])?e[i].push(s):e[i]=[e[i],s]}return e}function IR(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${jd(t)}=${up(r)}`).join("&"):`${jd(t)}=${up(e)}`:jd(t)}function $R(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>IR(e,t[e])).filter(Boolean).join("&")}const DR=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,LR=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,NR=/^([/\\]\s*){2,}[^/\\]/,FR=/^[\s\0]*(blob|data|javascript|vbscript):$/i,jR=/\/$|\/\?|\/#/,HR=/^\.?\//;function Ui(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?DR.test(t):LR.test(t)||(e.acceptRelative?NR.test(t):!1)}function BR(t){return!!t&&FR.test(t)}function fp(t="",e){return e?jR.test(t):t.endsWith("/")}function cc(t="",e){if(!e)return(fp(t)?t.slice(0,-1):t)||"/";if(!fp(t,!0))return t||"/";let r=t,n="";const i=t.indexOf("#");i!==-1&&(r=t.slice(0,i),n=t.slice(i));const[s,...o]=r.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+n}function sx(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(fp(t,!0))return t||"/";let r=t,n="";const i=t.indexOf("#");if(i!==-1&&(r=t.slice(0,i),n=t.slice(i),!r))return n;const[s,...o]=r.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+n}function UR(t,e){if(ax(e)||Ui(t))return t;const r=cc(e);if(t.startsWith(r)){const n=t[r.length];if(!n||n==="/"||n==="?")return t}return od(r,t)}function n_(t,e){if(ax(e))return t;const r=cc(e);if(!t.startsWith(r))return t;const n=t[r.length];return n&&n!=="/"&&n!=="?"?t:"/"+t.slice(r.length).replace(/^\/+/,"")}function ox(t,e){const r=tm(t),n={...em(r.search),...e};return r.search=$R(n),VR(r)}function ax(t){return!t||t==="/"}function zR(t){return t&&t!=="/"}function od(t,...e){let r=t||"";for(const n of e.filter(i=>zR(i)))if(r){const i=n.replace(HR,"");r=sx(r)+i}else r=n;return r}function lx(...t){const e=/\/(?!\/)/,r=t.filter(Boolean),n=[];let i=0;for(const o of r)if(!(!o||o==="/")){for(const[a,l]of o.split(e).entries())if(!(!l||l===".")){if(l===".."){if(n.length===1&&Ui(n[0]))continue;n.pop(),i--;continue}if(a===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+l;continue}n.push(l),i++}}let s=n.join("/");return i>=0?r[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:r[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,r[r.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function cx(t,e){return lc(cc(t))===lc(cc(e))}const ux=Symbol.for("ufo:protocolRelative");function tm(t="",e){const r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,d,h=""]=r;return{protocol:d.toLowerCase(),pathname:h,href:d+h,auth:"",host:"",search:"",hash:""}}if(!Ui(t,{acceptRelative:!0}))return i_(t);const[,n="",i,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=i_(a);return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:c,hash:u,[ux]:!n}}function i_(t=""){const[e="",r="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:n}}function VR(t){const e=t.pathname||"",r=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",i=t.auth?t.auth+"@":"",s=t.host||"";return(t.protocol||t[ux]?(t.protocol||"")+"//":"")+i+s+e+r+n}class WR extends Error{constructor(e,r){super(e,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function qR(t){const e=t.error?.message||t.error?.toString()||"",r=t.request?.method||t.options?.method||"GET",n=t.request?.url||String(t.request)||"/",i=`[${r}] ${JSON.stringify(n)}`,s=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${i}: ${s}${e?` ${e}`:""}`,a=new WR(o,t.error?{cause:t.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return t[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return t.response&&t.response[c]}});return a}const GR=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function s_(t="GET"){return GR.has(t.toUpperCase())}function YR(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer||t instanceof FormData||t instanceof URLSearchParams?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const KR=new Set(["image/svg","application/xml","application/xhtml","application/html"]),XR=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function QR(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return XR.test(e)?"json":e==="text/event-stream"?"stream":KR.has(e)||e.startsWith("text/")?"text":"blob"}function JR(t,e,r,n){const i=ZR(e?.headers??t?.headers,r?.headers,n);let s;return(r?.query||r?.params||e?.params||e?.query)&&(s={...r?.params,...r?.query,...e?.params,...e?.query}),{...r,...e,query:s,params:s,headers:i}}function ZR(t,e,r){if(!e)return new r(t);const n=new r(e);if(t)for(const[i,s]of Symbol.iterator in t||Array.isArray(t)?t:new r(t))n.set(i,s);return n}async function Kc(t,e){if(e)if(Array.isArray(e))for(const r of e)await r(t);else await e(t)}const eP=new Set([408,409,425,429,500,502,503,504]),tP=new Set([101,204,205,304]);function fx(t={}){const{fetch:e=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=t;async function i(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=s_(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):eP.has(d))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(f=>setTimeout(f,h)),s(a.request,{...a.options,retry:u-1})}}const c=qR(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:JR(l,c,t.defaults,r),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Kc(u,u.options.onRequest),u.options.headers instanceof r||(u.options.headers=new r(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=UR(u.request,u.options.baseURL)),u.options.query&&(u.request=ox(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&s_(u.options.method))if(YR(u.options.body)){const f=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=f==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),f||u.options.headers.set("content-type","application/json"),u.o
4ptions.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let d;if(!u.options.signal&&u.options.timeout){const f=new n;d=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,f.abort(g)},u.options.timeout),u.options.signal=f.signal}try{u.response=await e(u.request,u.options)}catch(f){return u.error=f,u.options.onRequestError&&await Kc(u,u.options.onRequestError),await i(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!tP.has(u.response.status)&&u.options.method!=="HEAD"){const f=(u.options.parseResponse?"json":u.options.responseType)||QR(u.response.headers.get("content-type")||"");switch(f){case"json":{const g=await u.response.text(),p=u.options.parseResponse||vR;u.response._data=p(g);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[f]()}}return u.options.onResponse&&await Kc(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Kc(u,u.options.onResponseError),await i(u)):u.response},o=async function(l,c){return(await s(l,c))._data};return o.raw=s,o.native=(...a)=>e(...a),o.create=(a={},l={})=>fx({...t,...l,defaults:{...t.defaults,...l.defaults,...a}}),o}const cf=(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")})(),rP=cf.fetch?(...t)=>cf.fetch(...t):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),nP=cf.Headers,iP=cf.AbortController,sP=fx({fetch:rP,Headers:nP,AbortController:iP}),oP=sP,aP=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,rm=()=>aP().app,lP=()=>rm().baseURL,cP=()=>rm().buildAssetsDir,nm=(...t)=>lx(dx(),cP(),...t),dx=(...t)=>{const e=rm(),r=e.cdnURL||e.baseURL;return t.length?lx(r,...t):r};globalThis.__buildAssetsURL=nm,globalThis.__publicAssetsURL=dx;globalThis.$fetch||(globalThis.$fetch=oP.create({baseURL:lP()}));"global"in globalThis||(globalThis.global=globalThis);function dp(t,e={},r){for(const n in t){const i=t[n],s=r?`${r}:${n}`:n;typeof i=="object"&&i!==null?dp(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const hx=(()=>{if(console.createTask)return console.createTask;const t={run:e=>e()};return()=>t})();function px(t,e,r,n){for(let i=r;i<t.length;i+=1)try{const s=n?n.run(()=>t[i](...e)):t[i](...e);if(s&&typeof s.then=="function")return Promise.resolve(s).then(()=>px(t,e,i+1,n))}catch(s){return Promise.reject(s)}}function uP(t,e,r){if(t.length>0)return px(t,e,0,hx(r))}function fP(t,e,r){if(t.length>0){const n=hx(r);return Promise.all(t.map(i=>n.run(()=>i(...e))))}}function Hd(t,e){for(const r of[...t])r(e)}var dP=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,e,r={}){if(!t||typeof e!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let r,n=(...i)=>(typeof r=="function"&&r(),r=void 0,n=void 0,e(...i));return r=this.hook(t,n),r}removeHook(t,e){const r=this._hooks[t];if(r){const n=r.indexOf(e);n!==-1&&r.splice(n,1),r.length===0&&(this._hooks[t]=void 0)}}clearHook(t){this._hooks[t]=void 0}deprecateHook(t,e){this._deprecatedHooks[t]=typeof e=="string"?{to:e}:e;const r=this._hooks[t]||[];this._hooks[t]=void 0;for(const n of r)this.hook(t,n)}deprecateHooks(t){for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=dp(t),r=Object.keys(e).map(n=>this.hook(n,e[n]));return()=>{for(const n of r)n();r.length=0}}removeHooks(t){const e=dp(t);for(const r in e)this.removeHook(r,e[r])}removeAllHooks(){this._hooks={}}callHook(t,...e){return this.callHookWith(uP,t,e)}callHookParallel(t,...e){return this.callHookWith(fP,t,e)}callHookWith(t,e,r){const n=this._before||this._after?{name:e,args:r,context:{}}:void 0;this._before&&Hd(this._before,n);const i=t(this._hooks[e]?[...this._hooks[e]]:[],r,e);return i instanceof Promise?i.finally(()=>{this._after&&n&&Hd(this._after,n)}):(this._after&&n&&Hd(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const e=this._before.indexOf(t);e!==-1&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const e=this._after.indexOf(t);e!==-1&&this._after.splice(e,1)}}}};function gx(){return new dP}function hP(t={}){let e,r=!1;const n=o=>
4{if(e&&e!==o)throw new Error("Context conflict")};let i;if(t.asyncContext){const o=t.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 e};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||n(o),e=o,r=!0},unset:()=>{e=void 0,r=!1},call:(o,a)=>{n(o),e=o;try{return i?i.run(o,a):a()}finally{r||(e=void 0)}},async callAsync(o,a){e=o;const l=()=>{e=o},c=()=>e===o?l:void 0;hp.add(c);try{const u=i?i.run(o,a):a();return r||(e=void 0),await u}finally{hp.delete(c)}}}}function pP(t={}){const e={};return{get(r,n={}){return e[r]||(e[r]=hP({...t,...n})),e[r]}}}const uf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},o_="__unctx__",gP=uf[o_]||(uf[o_]=pP()),mP=(t,e={})=>gP.get(t,e),a_="__unctx_async_handlers__",hp=uf[a_]||(uf[a_]=new Set);function Ol(t){const e=[];for(const i of hp){const s=i();s&&e.push(s)}const r=()=>{for(const i of e)i()};let n=t();return n&&typeof n=="object"&&"catch"in n&&(n=n.catch(i=>{throw r(),i})),[n,r]}const l_=!1,c_=!1,yP=!1,u_={id:"__nuxt-loader"},_P=!0,vP={trailingSlash:"remove",componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},bP={deep:!1},wP={},xP="#__nuxt",mx="nuxt-app",f_=36e5,SP="vite:preloadError";function yx(t=mx){return mP(t,{asyncContext:!1})}const EP="__nuxt_plugin";function TP(t){let e=0;const r={_id:t.id||mx||"nuxt-app",_scope:$g(),provide:void 0,versions:{get nuxt(){return"4.4.6"},get vue(){return r.vueApp.version}},payload:In({...t.ssrContext?.payload||{},data:In({}),state:Tr({}),once:new Set,_errors:In({})}),static:{data:{}},runWithContext(i){return r._scope.active&&!Hi()?r._scope.run(()=>d_(r,i)):d_(r,i)},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};e++;let i=!1;return()=>{if(!i&&(i=!0,e--,e===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:In({}),_state:In({}),_payloadRevivers:{},...t};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(r.payload[s],i[s]);break;default:r.payload[s]=i[s]}}r.hooks=gx(),r.hook=r.hooks.hook;{const i=r.hooks.callHook;r.hooks.callHook=(s,...o)=>Promise.resolve().then(()=>i(s,...o))}r.callHook=r.hooks.callHook,r.provide=(i,s)=>{const o="$"+i;Xc(r,o,s),Xc(r.vueApp.config.globalProperties,o,s)},Xc(r.vueApp,"$nuxt",r),Xc(r.vueApp.config.globalProperties,"$nuxt",r);{window.addEventListener(SP,s=>{r.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=qe;const i=r.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});r.hook("app:mounted",i)}const n=r.payload.config;return r.provide("config",n),r}function CP(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function AP(t,e){if(typeof e=="function"){const{provide:r}=await t.runWithContext(()=>e(t))||{};if(r&&typeof r=="object")for(const n in r)t.provide(n,r[n])}}async function kP(t,e){const r=new Set,n=[],i=[];let s,o=0;async function a(l){const c=l.dependsOn?.filter(u=>e.some(d=>d._name===u)&&!r.has(u))??[];if(c.length>0)n.push([new Set(c),l]);else{const u=AP(t,l).then(async()=>{l._name&&(r.add(l._name),await Promise.all(n.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(o++,await a(h)))})))}).catch(d=>{if(!l.parallel&&!t.payload.error)throw d;s||=d});l.parallel?i.push(u):await u}}for(const l of e)CP(t,l);for(const l of e)await a(l);if(await Promise.all(i),o)for(let l=0;l<o;l++)await Promise.all(i);if(s)throw t.payload.error||s}function mt(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[EP]:!0,_name:e})}const RP=mt;function d_(t,e,r){const n=()=>e();return yx(t._id).set(t),t.vueApp.runWithContext(n)}function PP(t){let e;return To()&&(e=Ar()?.appContext.app.$nuxt),e||=yx(t).tryUse(),e||null}function qe(t){const e=PP(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function An(t){return qe().$config}function Xc(t,e,r){Object.defineProperty(t,e,{get:()=>r})}function Bd(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function pp(t,e,r=".",n){if(!Bd(e))return pp(t,{},r,n);const i={...e};for(const s of Object.keys(t)){if(s==="__proto__"||s==="constructor")continue;const o=t[s];o!=null&&(n&&n(i,s,o,r)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:Bd(o)&&Bd(i[s])?i[s]=pp(o,i[s],(r?`${r}.`:"")+s.toString(),n):i[s]=o))}return i}function OP(t){return(...e)=>e.reduce((r,n)=>pp(r,n,"",t),{})}const kc=OP();function MP(t,e){try{return e in t}catch{return!1}}
4class h_ extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,r={}){super(e,r),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const e={message:this.message,statusCode:gp(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=_x(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}function IP(t){if(typeof t=="string")return new h_(t);if($P(t))return t;const e=new h_(t.message??t.statusMessage??"",{cause:t.cause||t});if(MP(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=gp(t.statusCode,e.statusCode):t.status&&(e.statusCode=gp(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const r=e.statusMessage;_x(e.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function $P(t){return t?.constructor?.__h3_error__===!0}const DP=/[^\u0009\u0020-\u007E]/g;function _x(t=""){return t.replace(DP,"")}function gp(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const vx=Symbol("layout-meta"),bo=Symbol("route");function LP(t){return Array.isArray(t)?t:[t]}import.meta.url.replace(/\/app\/.*$/,"/");const fr=()=>qe()?.$router,$i=()=>To()?zt(bo,qe()._route):qe()._route;const NP=()=>{try{if(qe()._processingMiddleware)return!0}catch{return!1}return!1},FP=(t,e)=>{t||="/";const r=typeof t=="string"?t:"path"in t?mp(t):fr().resolve(t).href;if(e?.open){const{target:c="_blank",windowFeatures:u={}}=e.open,d=[];for(const[h,f]of Object.entries(u))f!==void 0&&d.push(`${h.toLowerCase()}=${f}`);return open(r,c,d.join(", ")),Promise.resolve()}const n=Ui(r,{acceptRelative:!0}),i=e?.external||n;if(i){if(!e?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(r,window.location.href);if(c&&BR(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const s=NP();if(!i&&s){if(e?.replace){if(typeof t=="string"){const{pathname:c,search:u,hash:d}=tm(t);return{path:c,...u&&{query:em(u)},...d&&{hash:d},replace:!0}}return{...t,replace:!0}}return t}const o=fr(),a=qe();if(i)return a._scope.stop(),e?.replace?location.replace(r):location.href=r,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof t=="string"?bx(t):t;return e?.replace?o.replace(l):o.push(l)};function mp(t){return ox(t.path||"",t.query||{})+(t.hash||"")}function bx(t){const e=tm(t);return RR(PR(e.pathname))+e.search+e.hash}const wx="__nuxt_error",Ba=()=>Ug(qe().payload,"error"),Bs=t=>{const e=gs(t);try{const r=Ba();qe().hooks.callHook("app:error",e),r.value||=e}catch{throw e}return e},jP=async(t={})=>{const e=qe(),r=Ba();e.callHook("app:error:cleared",t),t.redirect&&await fr().replace(t.redirect),r.value=void 0},xx=t=>!!t&&typeof t=="object"&&wx in t,gs=t=>{typeof t!="string"&&t.statusText&&(t.message??=t.statusText);const e=IP(t);return Object.defineProperty(e,wx,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(e,"status",{get:()=>e.statusCode,configurable:!0}),Object.defineProperty(e,"statusText",{get:()=>e.statusMessage,configurable:!0}),e};let Sx;const Sa=t=>Sx=t,Ex=Symbol();function yp(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Ml;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ml||(Ml={}));function HP(){const t=$g(!0),e=t.run(()=>st({}));let r=[],n=[];const i=Hg({install(s){Sa(i),i._a=s,s.provide(Ex,i),s.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(s){return this._a?r.push(s):n.push(s),this},_p:r,_a:null,_e:t,_s:new Map,state:e});return i}const Tx=()=>{};function p_(t,e,r,n=Tx){t.add(e);const i=()=>{t.delete(e)&&n()};return!r&&Hi()&&yo(i),i}function Mo(t,...e){t.forEach(r=>{r(...e)})}const BP=t=>t(),g_=Symbol(),Ud=Symbol();function _p(t,e){t instanceof Map&&e instanceof Map?e.forEach((r,n)=>t.set(n,r)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const r in e){if(!e.hasOwnProperty(r))continue;const n=e[r],i=t[r];yp(i)&&yp(n)&&t.hasOwnProperty(r)&&!ct(n)&&!ri(n)?t[r]=_p(i,n):t[r]=n}return t}const UP=Symbol();function zP(t){return!yp(t)||!Object.prototype.hasOwnProperty.call(t,UP)}const{assign:Ji}=Object;function VP(t){return!!(ct(t)&&t.effect)}function WP(t,e,r,n){const{state:i,actions:s,getters:o}=e,a=r.state.value[t];let l;function c(){a||(r.state.value[t]=i?i():{});const u=Xb(r.state.value[t]);return Ji(u,s,Object.keys(o||{}).reduce((d,h)=>(d[h]=Hg(ke(()=>{Sa(r);const f=r._s.get(t);return o[h].call(f,f)})),d),{}))}return l=Cx(t,c,e,r,n,!0),l}function Cx(t,e,r={},n,i,s){let o;const a=Ji({actions:{}},r),l={deep:!0};let c,u,d=new Set,h=new Set,f;const g=n.state.value[t];!s&&!g&&(n.state.value[t]={}),st({});let p;function b(S){let T;c=u=!1,typeof S=="function"?(S(n.state.value[t]),T={type:Ml.patchFunction,storeId:t,events:f}):(_p(n.state.value[t],S),T={type:Ml.patchObject,payload:S,storeId:t,events:f});const P=p=Symbol();oi().then(()=>{p===P&&(c=!0)}),u=!0,Mo(d,T,n.state.value[t])}const _=s?function(){const{state:T}=r,P=T?T():{};this.$patch(F=>{Ji(F,P)})}:Tx;function y(){o.stop(),d.clear(),h.clear(),n._s.delete(t)}const m=(S,T="")=>{if(g_ in S)return S[Ud]=T,S;const P=function(){Sa(n);const F=Array.from(arguments),O=new Set,H=new Set;function Y(I){O.add(I)}function B(I){H.add(I)}Mo(h,{args:F,name:P[Ud],store:w,after:Y,onError:B});let A;
4try{A=S.apply(this&&this.$id===t?this:w,F)}catch(I){throw Mo(H,I),I}return A instanceof Promise?A.then(I=>(Mo(O,I),I)).catch(I=>(Mo(H,I),Promise.reject(I))):(Mo(O,A),A)};return P[g_]=!0,P[Ud]=T,P},v={_p:n,$id:t,$onAction:p_.bind(null,h),$patch:b,$reset:_,$subscribe(S,T={}){const P=p_(d,S,T.detached,()=>F()),F=o.run(()=>Nt(()=>n.state.value[t],O=>{(T.flush==="sync"?u:c)&&S({storeId:t,type:Ml.direct,events:f},O)},Ji({},l,T)));return P},$dispose:y},w=Tr(v);n._s.set(t,w);const x=(n._a&&n._a.runWithContext||BP)(()=>n._e.run(()=>(o=$g()).run(()=>e({action:m}))));for(const S in x){const T=x[S];if(ct(T)&&!VP(T)||ri(T))s||(g&&zP(T)&&(ct(T)?T.value=g[S]:_p(T,g[S])),n.state.value[t][S]=T);else if(typeof T=="function"){const P=m(T,S);x[S]=P,a.actions[S]=T}}return Ji(w,x),Ji(Ye(w),x),Object.defineProperty(w,"$state",{get:()=>n.state.value[t],set:S=>{b(T=>{Ji(T,S)})}}),n._p.forEach(S=>{Ji(w,o.run(()=>S({store:w,app:n._a,pinia:n,options:a})))}),g&&s&&r.hydrate&&r.hydrate(w.$state,g),c=!0,u=!0,w}function qP(t,e,r){let n;const i=typeof e=="function";n=i?r:e;function s(o,a){const l=To();return o=o||(l?zt(Ex,null):null),o&&Sa(o),o=Sx,o._s.has(t)||(i?Cx(t,e,n,o):WP(t,n,o)),o._s.get(t)}return s.$id=t,s}const GP=-1,YP=-2,KP=-3,XP=-4,QP=-5,JP=-6,ZP=-7,Ax=2**32-1,vp=Ax-1;function eO(t){return!(!Number.isInteger(t)||t<0||t>vp)}function tO(t){return!(!Number.isInteger(t)||t<0||t>Ax)}function rO(t){return Uint8Array.fromBase64(t).buffer}function nO(t){return Uint8Array.from(Buffer.from(t,"base64")).buffer}function iO(t){const e=atob(t),r=e.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=e.charCodeAt(i);return n.buffer}const sO=typeof Uint8Array.fromBase64=="function",oO=typeof process=="object"&&process.versions?.node!==void 0,aO=sO?rO:oO?nO:iO;function lO(t,e){return cO(JSON.parse(t),e)}function cO(t,e){if(typeof t=="number")return s(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const r=t,n=Array(r.length);let i=null;function s(o,a=!1){if(o===GP)return;if(o===KP)return NaN;if(o===XP)return 1/0;if(o===QP)return-1/0;if(o===JP)return-0;if(a||typeof o!="number")throw new Error("Invalid input");if(o in n)return n[o];const l=r[o];if(!l||typeof l!="object")n[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=e&&Object.hasOwn(e,c)?e[c]:void 0;if(u){let d=l[1];if(typeof d!="number"&&(d=r.push(l[1])-1),i??=new Set,i.has(d))throw new Error("Invalid circular reference");return i.add(d),n[o]=u(s(d)),i.delete(d),n[o]}switch(c){case"Date":n[o]=new Date(l[1]);break;case"Set":const d=new Set;n[o]=d;for(let g=1;g<l.length;g+=1)d.add(s(l[g]));break;case"Map":const h=new Map;n[o]=h;for(let g=1;g<l.length;g+=2)h.set(s(l[g]),s(l[g+1]));break;case"RegExp":n[o]=new RegExp(l[1],l[2]);break;case"Object":{const g=l[1];if(typeof r[g]=="object"&&r[g][0]!=="BigInt")throw new Error("Invalid input");n[o]=Object(s(g));break}case"BigInt":n[o]=BigInt(l[1]);break;case"null":const f=Object.create(null);n[o]=f;for(let g=1;g<l.length;g+=2){if(l[g]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");f[l[g]]=s(l[g+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(r[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const g=globalThis[c],p=s(l[1]);n[o]=l[2]!==void 0?new g(p,l[2],l[3]):new g(p);break}case"ArrayBuffer":{const g=l[1];if(typeof g!="string")throw new Error("Invalid ArrayBuffer encoding");const p=aO(g);n[o]=p;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const g=c.slice(9);n[o]=Temporal[g].from(l[1]);break}case"URL":{const g=new URL(l[1]);n[o]=g;break}case"URLSearchParams":{const g=new URLSearchParams(l[1]);n[o]=g;break}default:throw new Error(`Unknown type ${c}`)}}else if(l[0]===ZP){const c=l[1];if(!tO(c))throw new Error("Invalid input");const u=[];n[o]=u,u[vp]=void 0,delete u[vp];for(let d=2;d<l.length;d+=2){const h=l[d];if(!eO(h)||h>=c)throw new Error("Invalid input");u[h]=s(l[d+1])}u.length=c}else{const c=new Array(l.length);n[o]=c;for(let u=0;u<l.length;u+=1){const d=l[u];d!==YP&&(c[u]=s(d))}}else{const c={};n[o]=c;
4for(const u of Object.keys(l)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=l[u];c[u]=s(d)}}return n[o]}return s(0)}const uO=new Set(["link","style","script","noscript"]),fO=new Set(["title","titleTemplate","script","style","noscript"]),bp=new Set(["base","meta","link","style","script","noscript"]),dO=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),hO=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),pO=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),gO=new Set(["templateParams","htmlAttrs","bodyAttrs"]),im=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),uc={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},mO={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},kx={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>`${Si(t)}=${e}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:t,value:e})=>t==="seconds"?`${e}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>typeof e=="boolean"?Si(t):`${Si(t)}:${e}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:t,value:e})=>`${Si(t)} ${e}`}},charset:{}};function Si(t){const e=t.replace(/([A-Z])/g,"-$1").toLowerCase(),r=e.indexOf("-");return r===-1?e:uc.META.has(e.slice(0,r))||uc.OG.has(e.slice(0,r))?t.replace(/([A-Z])/g,":$1").toLowerCase():e}function Rx(t){return Object.fromEntries(Object.entries(t).filter(([e,r])=>String(r)!=="false"&&e))}function wp(t){return Array.isArray(t)?t.map(wp):!t||typeof t!="object"?t:Object.fromEntries(Object.entries(t).map(([e,r])=>[Si(e),wp(r)]))}function Px(t,e={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:i,resolve:s}=e;return Object.entries(t).map(([o,a])=>{if(s){const c=s({key:o,value:a});if(c!==void 0)return c}const l=typeof a=="object"?Px(a,e):typeof a=="number"?a.toString():typeof a=="string"&&i?`${i}${a.replace(new RegExp(i,"g"),`\\${i}`)}${i}`:a;return`${o}${n}${l}`}).join(r)}function m_(t,e){const r=Rx(e),n=Si(t),i=Ox(n);if(!im.has(n))return[{[i]:n,...r}];const s=Object.fromEntries(Object.entries(r).map(([o,a])=>[`${t}${o==="url"?"":`${o[0].toUpperCase()}${o.slice(1)}`}`,a]));return ff(s||{}).sort((o,a)=>(o[i]?.length||0)-(a[i]?.length||0))}function Ox(t){if(kx[t]?.metaKey==="http-equiv"||uc.HTTP_EQUIV.has(t))return"http-equiv";const e=Si(t),r=e.indexOf(":");return r===-1?"name":uc.OG.has(e.slice(0,r))?"property":"name"}function yO(t){return mO[t]||Si(t)}function _O(t,e){return e==="refresh"?`${t.seconds};url=${t.url}`:Px(wp(t),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...kx[e]?.unpack})}function ff(t){const e=[],r={};for(const[i,s]of Object.entries(t)){if(Array.isArray(s)){if(i==="themeColor"){s.forEach(o=>{typeof o=="object"&&o!==null&&e.push({name:"theme-color",...o})});continue}for(const o of s)if(typeof o=="object"&&o!==null){const a=[],l=[];for(const[c,u]of Object.entries(o)){const d=`${i}${c==="url"?"":`:${c}`}`,h=ff({[d]:u});(c==="url"?a:l).push(...h)}e.push(...a,...l)}else e.push(...typeof o=="string"?ff({[i]:o}):m_(i,o));continue}if(typeof s=="object"&&s)if(uc.MEDIA.has(i)){const o=i.startsWith("twitter")?"twitter":"og",a=i.replace(/^(og|twitter)/,"").toLowerCase(),l=o==="twitter"?"name":"property";s.url&&e.push({[l]:`${o}:${a}`,content:s.url}),s.secureUrl&&e.push({[l]:`${o}:${a}:secure_url`,content:s.secureUrl});for(const[c,u]of Object.entries(s))c!=="url"&&c!=="secureUrl"&&e.push({[l]:`${o}:${a}:${c}`,content:u})}else im.has(Si(i))?e.push(...m_(i,s)):r[i]=Rx(s);else r[i]=s}const n=Object.entries(r).map(([i,s])=>
4{if(i==="charset")return{charset:s===null?"_null":s};const o=Ox(i),a=yO(i),l=s===null?"_null":typeof s=="object"?_O(s,i):typeof s=="number"?s.toString():s;return o==="http-equiv"?{"http-equiv":a,content:l}:{[o]:a,content:l}});return[...e,...n].map(i=>"content"in i&&i.content==="_null"?{...i,content:null}:i)}const vO={key:"flatMeta",hooks:{"entries:normalize":t=>{const e=[];t.tags=t.tags.map(r=>r.tag!=="_flatMeta"?r:(e.push(ff(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...e)}}},bO=["name","property","http-equiv"],wO=new Set(["viewport","description","keywords","robots"]);function Mx(t){const e=t.split(":");return e.length?im.has(e[1]):!1}function xp(t){const{props:e,tag:r}=t;if(hO.has(r))return r;if(r==="link"&&e.rel==="canonical")return"canonical";if(r==="link"&&e.rel==="alternate"){if(e.hreflang)return`alternate:${e.hreflang}`;if(e.type)return`alternate:${e.type}:${e.href||""}`}if(e.charset)return"charset";if(t.tag==="meta"){for(const n of bO)if(e[n]!==void 0){const i=e[n],s=i&&typeof i=="string"&&i.includes(":"),o=i&&wO.has(i),l=!(s||o)&&t.key?`:key:${t.key}`:"";return`${r}:${i}${l}`}}if(t.key)return`${r}:key:${t.key}`;if(e.id)return`${r}:id:${e.id}`;if(r==="link"&&e.rel==="alternate")return`alternate:${e.href||""}`;if(fO.has(r)){const n=t.textContent||t.innerHTML;if(n)return`${r}:content:${n}`}}function Ix(t){const e=t._h||t._d;if(e)return e;const r=t.textContent||t.innerHTML;return r||`${t.tag}:${Object.entries(t.props).map(([n,i])=>`${n}:${String(i)}`).join(",")}`}function df(t,e,r){typeof t==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(t=t());const i=e?e(r,t):t;if(Array.isArray(i))return i.map(s=>df(s,e));if(i?.constructor===Object){const s={};for(const o of Object.keys(i))s[o]=df(i[o],e,o);return s}return i}function xO(t,e){const r=t==="style"?new Map:new Set;function n(i){if(i==null||i===void 0)return;const s=String(i).trim();if(s)if(t==="style"){const[o,...a]=s.split(":").map(l=>l?l.trim():"");o&&a.length&&r.set(o,a.join(":"))}else s.split(" ").filter(Boolean).forEach(o=>r.add(o))}return typeof e=="string"?t==="style"?e.split(";").forEach(n):n(e):Array.isArray(e)?e.forEach(i=>n(i)):e&&typeof e=="object"&&Object.entries(e).forEach(([i,s])=>{s&&s!=="false"&&(t==="style"?r.set(String(i).trim(),String(s)):n(i))}),r}function $x(t,e){if(t.props=t.props||{},!e)return t;if(t.tag==="templateParams")return t.props=e,t;const r=bp.has(t.tag)||t.tag==="htmlAttrs"||t.tag==="bodyAttrs";return Object.entries(e).forEach(([n,i])=>{if(n==="__proto__"||n==="constructor"||n==="prototype")return;if(i===null){t.props[n]=null;return}if(n==="class"||n==="style"){t.props[n]=xO(n,i);return}if(pO.has(n)){if((n==="textContent"||n==="innerHTML")&&typeof i=="object"){let c=e.type;if(e.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;e.type=c,t.props.type=c,t[n]=JSON.stringify(i)}else t[n]=i;return}const s=n.startsWith("data-"),o=r&&!s?n.toLowerCase():n,a=String(i),l=t.tag==="meta"&&o==="content";a==="true"||a===""?t.props[o]=s||l?a:!0:!i&&s&&a==="false"?t.props[o]="false":i!==void 0&&(t.props[o]=i)}),t}function SO(t,e){const r=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},n=$x({tag:t,props:{}},r);return n.key&&uO.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(i=>({...n,props:{...n.props,content:i}})):n}function EO(t,e){if(!t)return[];typeof t=="function"&&(t=t());const r=(i,s)=>{for(let o=0;o<e.length;o++)s=e[o](i,s);return s};t=r(void 0,t);const n=[];return t=df(t,r),Object.entries(t||{}).forEach(([i,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])n.push(SO(i,o))}),n.flat()}const y_=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,__={base:-10,title:10},TO={critical:-8,high:-1,low:2},v_={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}},CO=/@import/,Ja=t=>t===""||t===!0;function AO(t,e){if(typeof e.tagPriority=="number")return e.tagPriority;let r=100;const n=TO[e.tagPriority]||0,i=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:v_;if(e.tag in __)r=__[e.tag];else if(e.tag==="meta"){const s=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;s&&(r=v_.meta[s])}else if(e.tag==="link"&&e.props.rel)r=i.link[e.props.rel];else if(e.tag==="script"){const s=String(e.props.type);Ja(e.props.async)?r=i.script.async:e.props.src&&!Ja(e.props.defer)&&!Ja(e.props.async)&&s!=="module"&&!s.endsWith("json")||e.innerHTML&&!s.endsWith("json")?r=i.script.sync:(Ja(e.props.defer)&&e.props.src&&!Ja(e.props.async)||s==="module")&&(r=i.script.defer)}else e.tag==="style"&&(r=e.innerHTML&&CO.test(e.innerHTML)?i.style.imported:i.style.sync);return(r||100)+n}function b_(t,e){const r=typeof e=="function"?e(t):e,n=r.key||String(t.plugins.size+1);t.plugins.get(n)||(t.plugins.set(n,r),t.hooks.addHooks(r.hooks||{}))}function kO(t={}){const e=gx();e.addHooks(t.hooks||{});const r=!t.document,n=new Map,i=new Map,s=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:t,hooks:e,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>b_(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,d={_i:u,input:a,options:c},h={_poll(f=!1){o.dirty=!0,!f&&s.add(u),e.callHook("entries:updated",o)},dispose(){n.delete(u)&&o.invalidate()},patch(f){(!c.mode||c.mode==="server"&&r||c.mode==="client"&&!r)&&(d.input=f,n.set(u,d),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await e.callHook("entries:resolve",a);s.size;){const h=s.values().next().value;s.delete(h);const f=n.get(h);if(f){const g={tags:EO(f.input,t.propResolvers||[]).map(p=>Object.assign(p,f.options)),entry:f};await e.callHook("entries:normalize",g),f._tags=g.tags.map((p,b)=>(p._w=AO(o,p),p._p=(f._i<<10)+b,p._d=xp(p),p._d||(p._h=Ix(p)),p))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(f=>({...f,props:{...f.props}}))).sort(y_).reduce((h,f)=>{const g=f._d||f._h;if(!h.has(g))return h.set(g,f);const p=h.get(g);if((f?.tagDuplicateStrategy||(gO.has(f.tag)?"merge":null)||(f.key&&f.key===p.key?"merge":null))==="merge"){const _={...p.props};
4Object.entries(f.props).forEach(([y,m])=>_[y]=y==="style"?new Map([...p.props.style||new Map,...m]):y==="class"?new Set([...p.props.class||new Set,...m]):m),h.set(g,{...f,props:_})}else f._p>>10===p._p>>10&&f.tag==="meta"&&Mx(g)?(h.set(g,Object.assign([...Array.isArray(p)?p:[p],f],f)),l=!0):(f._w===p._w?f._p>p._p:f?._w<p?._w)&&h.set(g,f);return h},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const h=u?.textContent;if(o._titleTemplate=h,h){let f=typeof h=="function"?h(c?.textContent):h;typeof f=="string"&&!o.plugins.has("template-params")&&(f=f.replace("%s",c?.textContent||"")),c?f===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:f}):(u.tag="title",u.textContent=f)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(y_)),await e.callHook("tags:beforeResolve",a),await e.callHook("tags:resolve",a),await e.callHook("tags:afterResolve",a);const d=[];for(const h of a.tags){const{innerHTML:f,tag:g,props:p}=h;if(dO.has(g)&&!(Object.keys(p).length===0&&!h.innerHTML&&!h.textContent)&&!(g==="meta"&&!p.content&&!p["http-equiv"]&&!p.charset)){if(g==="script"&&f){if(String(p.type).endsWith("json")){const b=typeof f=="string"?f:JSON.stringify(f);h.innerHTML=b.replace(/</g,"\\u003C")}else typeof f=="string"&&(h.innerHTML=f.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));h._d=xp(h)}d.push(h)}}return d},invalidate(){for(const a of n.values())s.add(a._i);o.dirty=!0,e.callHook("entries:updated",o)}};return(t?.plugins||[]).forEach(a=>b_(o,a)),o.hooks.callHook("init",o),t.init?.forEach(a=>a&&o.push(a)),o}const RO=(t,e)=>ct(e)?Oe(e):e,sm="usehead";function PO(t){return{install(r){r.config.globalProperties.$unhead=t,r.config.globalProperties.$head=t,r.provide(sm,t)}}.install}function Dx(){if(To()){const t=zt(sm);if(t)return t}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Lx(t,e={}){const r=e.head||Dx();return r.ssr?r.push(t||{},e):OO(r,t,e)}function OO(t,e,r={}){const n=st(!1);let i;return Zf(()=>{const o=n.value?{}:df(e,RO);i?i.patch(o):i=t.push(o,r)}),Ar()&&(As(()=>{i.dispose()}),uw(()=>{n.value=!0}),cw(()=>{n.value=!1})),i}function MO(t={},e={}){(e.head||Dx()).use(vO);const{title:n,titleTemplate:i,...s}=t;return Lx({title:n,titleTemplate:i,_flatMeta:s},e)}function Ua(t){const e=t||qe();return e.ssrContext?.head||e.runWithContext(()=>{if(To()){const r=zt(sm);if(!r)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return r}})}function om(t,e={}){const r=e.head||Ua(e.nuxt);return Lx(t,{head:r,...e})}function Nx(t,e={}){const r=e.head||Ua(e.nuxt);return MO(t,{head:r,...e})}const IO=(()=>{const t={},e={prerender:!1};return(r,n)=>{let i=[];return n.charCodeAt(n.length-1)===47&&(n=n.slice(0,-1)||"/"),n==="/.well-known/ai-catalog.json"?i.unshift({data:t}):n==="/robots.txt"?i.unshift({data:t}):n==="/pricing.md"?i.unshift({data:t}):n==="/AGENTS.md"?i.unshift({data:t}):n==="/llms.txt"?i.unshift({data:t}):n==="/llms-full.txt"?i.unshift({data:t}):n==="/openapi.json"?i.unshift({data:t}):n==="/.well-known/agent-rules"?i.unshift({data:t}):n==="/.well-known/ai-plugin.json"?i.unshift({data:t}):n==="/.well-known/mcp-server-card"?i.unshift({data:t}):n==="/.well-known/mcp-server-card.json"?i.unshift({data:t}):n==="/.well-known/mcp/server-card.json"?i.unshift({data:t}):n==="/.well-known/mcp.json"?i.unshift({data:t}):n==="/mcp"?i.unshift({data:e}):n==="/__sitemap__/style.xsl"?i.unshift({data:t}):n==="/sitemap.xml"?i.unshift({data:t}):n==="/_nuxt"&&i.unshift({data:t}),i}})(),Fx=t=>kc({},...IO("",t).map(e=>e.data).reverse()),$O=Fx;let ku;function DO(){let t;return t=$fetch(nm(`builds/meta/${An().app.buildId}.json`),{responseType:"json"}).then(e=>{if(!e||typeof e!="object"||!Array.isArray(e.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return e}),ku=t,t.catch(e=>{ku===t&&(ku=void 0),console.error("[nuxt] Error fetching app manifest.",e)}),t}function am(){return ku||DO()}function ad(t){const e=typeof t=="string"?t:t.path;try{return $O(e)}catch(r){return console.error("[nuxt] Error matching route rules.",r),{}}}async function w_(t,e={}){if(await FO(t)){const r=await NO(t,e);return await jx(r)||null}return null}const LO="_payload.json";async function NO(t,e={}
4){const r=new URL(t,"http://localhost");if(r.host!=="localhost"||Ui(r.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const n=An(),i=e.hash||(e.fresh?Date.now():n.app.buildId),s=n.app.cdnURL,o=s&&await jO(t)?s:n.app.baseURL;return od(o,r.pathname,LO+(i?`?${i}`:""))}async function jx(t){try{if(_P){const e=await fetch(t,{cache:"force-cache"});return e.ok?await Ux(await e.text()):null}}catch(e){console.warn("[nuxt] Cannot load payload ",t,e)}return null}function Hx(t){if(t.redirect)return!1;if(t.prerender)return!0}async function Bx(t){t=t==="/"?t:t.replace(/\/$/,"");try{return(await am()).prerendered.includes(t)}catch{return!1}}async function FO(t=$i().path){const e=ad({path:t});if(e.ssr===!1)return!1;const r=Hx(e);return r!==void 0?r:e.payload?!0:await Bx(t)}async function jO(t=$i().path){const e=Hx(ad({path:t}));return e!==void 0?e:await Bx(t)}let Is=null;async function HO(){if(Is)return Is;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await Ux(t.textContent||""),r=t.dataset.src?await jx(t.dataset.src):void 0;return Is={...e,...r,...window.__NUXT__},Is.config?.public&&(Is.config.public=Tr(Is.config.public)),Is}async function Ux(t){return await lO(t,qe()._payloadRevivers)}function zx(t,e){qe()._payloadRevivers[t]=e}const BO=RP(()=>{zx("skipHydrate",t=>{})});function x_(t){try{return JSON.parse(t)}catch{return t}}const UO=[["NuxtError",t=>gs(t)],["EmptyShallowRef",t=>wt(t==="_"?void 0:t==="0n"?BigInt(0):x_(t))],["EmptyRef",t=>st(t==="_"?void 0:t==="0n"?BigInt(0):x_(t))],["ShallowRef",t=>wt(t)],["ShallowReactive",t=>In(t)],["Ref",t=>st(t)],["Reactive",t=>Tr(t)]],zO=mt({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,r;for(const[n,i]of UO)zx(n,i);Object.assign(t.payload,([e,r]=Ol(()=>t.runWithContext(HO)),e=await e,r(),e)),delete window.__NUXT__}});async function lm(t,e={}){const r=e.document||t.resolvedOptions.document;if(!r||!t.dirty)return;const n={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async i=>{const s=new Map,o=new Promise(f=>{t.resolveTags().then(g=>{f(g.map(p=>{const b=s.get(p._d)||0,_={tag:p,id:(b?`${p._d}:${b}`:p._d)||p._h,shouldRender:!0};return p._d&&Mx(p._d)&&s.set(p._d,b+1),_}))})});let a=t._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const f of["body","head"]){const g=r[f]?.children;for(const p of g){const b=p.tagName.toLowerCase();if(!bp.has(b))continue;const _=$x({tag:b,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((y,m)=>(y[m]=p.getAttribute(m),y),{})||{}});if(_.key=p.getAttribute("data-hid")||void 0,_._d=xp(_)||Ix(_),a.elMap.has(_._d)){let y=1,m=_._d;for(;a.elMap.has(m);)m=`${_._d}:${y++}`;a.elMap.set(m,p)}else a.elMap.set(_._d,p)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(f,g,p){const b=`${f}:${g}`;a.sideEffects[b]=p,delete a.pendingSideEffects[b]}function c({id:f,$el:g,tag:p}){const b=p.tag.endsWith("Attrs");a.elMap.set(f,g),b||(p.textContent&&p.textContent!==g.textContent&&(g.textContent=p.textContent),p.innerHTML&&p.innerHTML!==g.innerHTML&&(g.innerHTML=p.innerHTML),l(f,"el",()=>{g?.remove(),a.elMap.delete(f)}));for(const _ in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,_))continue;const y=p.props[_];if(_.startsWith("on")&&typeof y=="function"){const v=g?.dataset;if(v&&v[`${_}fired`]){const w=_.slice(0,-5);y.call(g,new Event(w.substring(2)))}g.getAttribute(`data-${_}`)!==""&&((p.tag==="bodyAttrs"?r.defaultView:g).addEventListener(_.substring(2),y.bind(g)),g.setAttribute(`data-${_}`,""));continue}const m=`attr:${_}`;if(_==="class"){if(!y)continue;for(const v of y)b&&l(f,`${m}:${v}`,()=>g.classList.remove(v)),!g.classList.contains(v)&&g.classList.add(v)}else if(_==="style"){if(!y)continue;for(const[v,w]of y)l(f,`${m}:${v}`,()=>{g.style.removeProperty(v)}),g.style.setProperty(v,w)}else y!==!1&&y!==null&&(g.getAttribute(_)!==y&&g.setAttribute(_,y===!0?"":String(y)),b&&l(f,m,()=>g.removeAttribute(_)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const f of h){const{tag:g,shouldRender:p,id:b}=f;if(p){if(g.tag==="title"){r.title=g.textContent,l("title","",()=>r.title=a.title);continue}f.$el=f.$el||a.elMap.get(b),f.$el?c(f):bp.has(g.tag)&&u.push(f)}}for(const f of u){const g=f.tag.tagPosition||"head";f.$el=r.createElement(f.tag.tag),c(f),d[g]=d[g]||r.createDocumentFragment(),d[g].appendChild(f.$el)}for(const f of h)await t.hooks.callHook("dom:renderTag",f,r,l);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const f in a.pendingSideEffects)a.pendingSideEffects[f]();t._dom=a,await t.hooks.callHook("dom:rendered",{renders:h}),i()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function VO(t={}){const e=t.domOptions?.render||lm;t.document=t.document||(typeof window<"u"?document:void 0);const r=t.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return kO({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[r?JSON.parse(r):!1,...t.init||[]]})}function WO(t,e){let r=0;return()=>{const n=++r;e(()=>{r===n&&t()})}}function qO(t={}){const e=VO({domOptions:{render:WO(()=>lm(e),r=>setTimeout(r,0))},...t});return e.install=PO(e),e}const GO={disableDefaults:!0},YO=mt({name:"nuxt:head",enforce:"pre",setup(t){const e=qO(GO);t.vueApp.use(e);{let r=!0;const n=async()=>{r=!1,await lm(e)};e.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!r}),t.hooks.hook("page:start",()=>{r=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||n()}),t.hooks.hook("app:error",n),t.hooks.hook("app:suspense:resolve",n);const i=e.push.bind(e);e.push=((s,o)=>{const a=i(s,o),l=a.dispose.bind(a);return a.dispose=()=>{const c=t["~transitionPromise"];c?c.then(l):l()},a})}}});const zo=typeof document<"u";function Vx(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function KO(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Vx(t.default)}const et=Object.assign;function zd(t,e){const r={};for(const n in e){const i=e[n];r[n]=Hn(i)?i.map(t):t(i)}return r}const Il=()=>{},Hn=Array.isArray;function S_(t,e){const r={};for(const n in t)r[n]=n in e?e[n]:t[n];return r}let Pt=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const Wx=Symbol("");Pt.MATCHER_NOT_FOUND+"",Pt.NAVIGATION_GUARD_REDIRECT+"",Pt.NAVIGATION_ABORTED+"",Pt.NAVIGATION_CANCELLED+"",Pt.NAVIGATION_DUPLICATED+"";function Ea(t,e){return et(new Error,{type:t,[Wx]:!0},e)}function di(t,e){return t instanceof Error&&Wx in t&&(e==null||!!(t.type&e))}const XO=["params","query","hash"];function QO(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const r of XO)r in t&&(e[r]=t[r]);return JSON.stringify(e,null,2)}const JO=Symbol(""),E_=Symbol(""),cm=Symbol(""),um=Symbol(""),Sp=Symbol("");function qx(t){return zt(um)}const ZO={trailing:!0};function eM(t,e=25,r={}){if(r={...ZO,...r},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let n,i,s=[],o,a;const l=(d,h)=>(o=tM(t,d,h),o.finally(()=>
4{if(o=null,r.trailing&&a&&!i){const f=l(d,a);return a=null,f}}),o),c=function(...d){return r.trailing&&(a=d),o||new Promise(h=>{const f=!i&&r.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const g=r.leading?n:l(this,d);a=null;for(const p of s)p(g);s=[]},e),f?(n=l(this,d),h(n)):s.push(h)})},u=d=>{d&&(clearTimeout(d),i=null)};return c.isPending=()=>!!i,c.cancel=()=>{u(i),s=[],a=null},c.flush=()=>{if(u(i),!a||o)return;const d=a;return a=null,l(this,d)},c}async function tM(t,e,r){return await t.apply(e,r)}const Gx=/#/g,rM=/&/g,nM=/\//g,iM=/=/g,sM=/\?/g,Yx=/\+/g,oM=/%5B/g,aM=/%5D/g,Kx=/%5E/g,lM=/%60/g,Xx=/%7B/g,cM=/%7C/g,Qx=/%7D/g,uM=/%20/g;function fm(t){return t==null?"":encodeURI(""+t).replace(cM,"|").replace(oM,"[").replace(aM,"]")}function fM(t){return fm(t).replace(Xx,"{").replace(Qx,"}").replace(Kx,"^")}function Ep(t){return fm(t).replace(Yx,"%2B").replace(uM,"+").replace(Gx,"%23").replace(rM,"%26").replace(lM,"`").replace(Xx,"{").replace(Qx,"}").replace(Kx,"^")}function dM(t){return Ep(t).replace(iM,"%3D")}function hM(t){return fm(t).replace(Gx,"%23").replace(sM,"%3F")}function pM(t){return hM(t).replace(nM,"%2F")}function hf(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const gM=/\/$/,mM=t=>t.replace(gM,"");function Vd(t,e,r="/"){let n,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(n=e.slice(0,l),s=e.slice(l,a>0?a:e.length),i=t(s.slice(1))),a>=0&&(n=n||e.slice(0,a),o=e.slice(a,e.length)),n=bM(n??e,r),{fullPath:n+s+o,path:n,query:i,hash:hf(o)}}function yM(t,e){const r=e.query?t(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function T_(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function _M(t,e,r){const n=e.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&Ta(e.matched[n],r.matched[i])&&Jx(e.params,r.params)&&t(e.query)===t(r.query)&&e.hash===r.hash}function Ta(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Jx(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r in t)if(!vM(t[r],e[r]))return!1;return!0}function vM(t,e){return Hn(t)?C_(t,e):Hn(e)?C_(e,t):(t&&t.valueOf())===(e&&e.valueOf())}function C_(t,e){return Hn(e)?t.length===e.length&&t.every((r,n)=>r===e[n]):t.length===1&&t[0]===e}function bM(t,e){if(t.startsWith("/"))return t;if(!t)return e;const r=e.split("/"),n=t.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let s=r.length-1,o,a;for(o=0;o<n.length;o++)if(a=n[o],a!==".")if(a==="..")s>1&&s--;else break;return r.slice(0,s).join("/")+"/"+n.slice(o).join("/")}const bn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Tp=(function(t){return t.pop="pop",t.push="push",t})({}),Wd=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function wM(t){if(!t)if(zo){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),mM(t)}const xM=/^[^#]+#/;function SM(t,e){return t.replace(xM,"#")+e}function EM(t,e){const r=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-r.left-(e.left||0),top:n.top-r.top-(e.top||0)}}const ld=()=>({left:window.scrollX,top:window.scrollY});function TM(t){let e;if("el"in t){const r=t.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;e=EM(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}
vendor: 20,597 bytes, line 4
4function A_(t,e){return(history.state?history.state.position-e:-1)+t}const Cp=new Map;function CM(t,e){Cp.set(t,e)}function AM(t){const e=Cp.get(t);return Cp.delete(t),e}function kM(t){return typeof t=="string"||t&&typeof t=="object"}function Zx(t){return typeof t=="string"||typeof t=="symbol"}function RM(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;n<r.length;++n){const i=r[n].replace(Yx," "),s=i.indexOf("="),o=hf(s<0?i:i.slice(0,s)),a=s<0?null:hf(i.slice(s+1));if(o in e){let l=e[o];Hn(l)||(l=e[o]=[l]),l.push(a)}else e[o]=a}return e}function k_(t){let e="";for(let r in t){const n=t[r];if(r=dM(r),n==null){n!==void 0&&(e+=(e.length?"&":"")+r);continue}(Hn(n)?n.map(i=>i&&Ep(i)):[n&&Ep(n)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+r,i!=null&&(e+="="+i))})}return e}function PM(t){const e={};for(const r in t){const n=t[r];n!==void 0&&(e[r]=Hn(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return e}function Za(){let t=[];function e(n){return t.push(n),()=>{const i=t.indexOf(n);i>-1&&t.splice(i,1)}}function r(){t=[]}return{add:e,list:()=>t.slice(),reset:r}}function is(t,e,r,n,i,s=o=>o()){const o=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Ea(Pt.NAVIGATION_ABORTED,{from:r,to:e})):h instanceof Error?l(h):kM(h)?l(Ea(Pt.NAVIGATION_GUARD_REDIRECT,{from:e,to:h})):(o&&n.enterCallbacks[i]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>t.call(n&&n.instances[i],e,r,c));let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function qd(t,e,r,n,i=s=>s()){const s=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(Vx(l)){const c=(l.__vccOpts||l)[e];c&&s.push(is(c,r,n,o,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const d=KO(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const h=(d.__vccOpts||d)[e];return h&&is(h,r,n,o,a,i)()}))}}return s}function OM(t,e){const r=[],n=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(t.matched.find(c=>Ta(c,a))?n.push(a):r.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Ta(c,l))||i.push(l))}return[r,n,i]}let MM=()=>location.protocol+"//"+location.host;function e1(t,e){const{pathname:r,search:n,hash:i}=e,s=t.indexOf("#");if(s>-1){let o=i.includes(t.slice(s))?t.slice(s).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),T_(a,"")}return T_(r,t)+n+i}function IM(t,e,r,n){let i=[],s=[],o=null;const a=({state:h})=>{const f=e1(t,location),g=r.value,p=e.value;let b=0;if(h){if(r.value=f,e.value=h,o&&o===g){o=null;return}b=p?h.position-p.position:0}else n(f);i.forEach(_=>{_(r.value,g,{delta:b,type:Tp.pop,direction:b?b>0?Wd.forward:Wd.back:Wd.unknown})})};function l(){o=r.value}function c(h){i.push(h);const f=()=>{const g=i.indexOf(h);g>-1&&i.splice(g,1)};return s.push(f),f}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(et({},h.state,{scroll:ld()}),"")}}function d(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function R_(t,e,r,n=!1,i=!1){return{back:t,current:e,forward:r,replaced:n,position:window.history.length,scroll:i?ld():null}}function $M(t){const{history:e,location:r}=window,n={value:e1(t,r)},i={value:e.state};i.value||s(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const d=t.indexOf("#"),h=d>-1?(r.host&&document.querySelector("base")?t:t.slice(d))+l:MM()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(f){console.error(f),r[u?"replace":"assign"](h)}}function o(l,c){s(l,et({},e.state,R_(i.value.back,l,i.value.forward,!0),c,{position:i.value.position}),!0),n.value=l}function a(l,c){const u=et({},i.value,e.state,{forward:l,scroll:ld()});s(u.current,u,!0),s(l,et({},R_(n.value,l,null),{position:u.position+1},c),!1),n.value=l}return{location:n,state:i,push:a,replace:o}}function DM(t){t=wM(t);const e=$M(t),r=IM(t,e.state,e.location,e.replace);function n(s,o=!0){o||r.pauseListeners(),history.go(s)}const i=et({location:"",base:t,go:n,createHref:SM.bind(null,t)},e,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}let Ks=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Zt=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Zt||{});const LM={type:Ks.Static,value:""},NM=/[a-zA-Z0-9_]/;function FM(t){if(!t)return[[]];if(t==="/")return[[LM]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(f){throw new Error(`ERR (${r})/"${c}": ${f}`)}let r=Zt.Static,n=r;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function d(){c&&(r===Zt.Static?s.push({type:Ks.Static,value:c}):r===Zt.Param||r===Zt.ParamRegExp||r===Zt.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Ks.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<t.length;)switch(l=t[a++],r){case Zt.Static:l==="\\"?(n=r,r=Zt.EscapeNext):l==="/"?(c&&d(),o()):l===":"?(d(),r=Zt.Param):h();break;case Zt.EscapeNext:h(),r=n;break;case Zt.Param:l==="("?r=Zt.ParamRegExp:NM.test(l)?h():(d(),r=Zt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Zt.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:r=Zt.ParamRegExpEnd:u+=l;break;case Zt.ParamRegExpEnd:d(),r=Zt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}return r===Zt.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),d(),o(),i}const P_="[^/]+?",jM={sensitive:!1,strict:!1,start:!0,end:!0};var Mr=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(Mr||{});const HM=/[.+*?^${}()[\]/\\]/g;function BM(t,e){const r=et({},jM,e),n=[];let i=r.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[Mr.Root];r.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const h=c[d];let f=Mr.Segment+(r.sensitive?Mr.BonusCaseSensitive:0);if(h.type===Ks.Static)d||(i+="/"),i+=h.value.replace(HM,"\\$&"),f+=Mr.Static;else if(h.type===Ks.Param){const{value:g,repeatable:p,optional:b,regexp:_}=h;s.push({name:g,repeatable:p,optional:b});const y=_||P_;if(y!==P_){f+=Mr.BonusCustomRegExp;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${g}" (${y}): `+v.message)}}let m=p?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(m=b&&c.length<2?`(?:/${m})`:"/"+m),b&&(m+="?"),i+=m,f+=Mr.Dynamic,b&&(f+=Mr.BonusOptional),p&&(f+=Mr.BonusRepeatable),y===".*"&&(f+=Mr.BonusWildcard)}u.push(f)}n.push(u)}if(r.strict&&r.end){const c=n.length-1;n[c][n[c].length-1]+=Mr.BonusStrict}r.strict||(i+="/?"),r.end?i+="$":r.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,r.sensitive?"":"i");function a(c){const u=c.match(o),d={};if(!u)return null;for(let h=1;h<u.length;h++){const f=u[h]||"",g=s[h-1];d[g.name]=f&&g.repeatable?f.split("/"):f}return d}function l(c){let u="",d=!1;for(const h of t){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const f of h)if(f.type===Ks.Static)u+=f.value;else if(f.type===Ks.Param){const{value:g,repeatable:p,optional:b}=f,_=g in c?c[g]:"";if(Hn(_)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const y=Hn(_)?_.join("/"):_;if(!y)if(b)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=y}}return u||"/"}return{re:o,score:n,keys:s,parse:a,stringify:l}}function UM(t,e){let r=0;for(;r<t.length&&r<e.length;){const n=e[r]-t[r];if(n)return n;r++}return t.length<e.length?t.length===1&&t[0]===Mr.Static+Mr.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===Mr.Static+Mr.Segment?1:-1:0}function t1(t,e){let r=0;const n=t.score,i=e.score;for(;r<n.length&&r<i.length;){const s=UM(n[r],i[r]);if(s)return s;r++}if(Math.abs(i.length-n.length)===1){if(O_(n))return 1;if(O_(i))return-1}return i.length-n.length}function O_(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const zM={strict:!1,end:!0,sensitive:!1};function VM(t,e,r){const n=BM(FM(t.path),r),i=et(n,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function WM(t,e){const r=[],n=new Map;e=S_(zM,e);function i(d){return n.get(d)}function s(d,h,f){const g=!f,p=I_(d);p.aliasOf=f&&f.record;const b=S_(e,d),_=[p];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const w of v)_.push(I_(et({},p,{components:f?f.record.components:p.components,path:w,aliasOf:f?f.record:p})))}let y,m;for(const v of _){const{path:w}=v;if(h&&w[0]!=="/"){const E=h.record.path,x=E[E.length-1]==="/"?"":"/";v.path=h.record.path+(w&&x+w)}if(y=VM(v,h,b),f?f.alias.push(y):(m=m||y,m!==y&&m.alias.push(y),g&&d.name&&!$_(y)&&o(d.name)),r1(y)&&l(y),p.children){const E=p.children;for(let x=0;x<E.length;x++)s(E[x],y,f&&f.children[x])}f=f||y}return m?()=>{o(m)}:Il}function o(d){if(Zx(d)){const h=n.get(d);h&&(n.delete(d),r.splice(r.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=r.indexOf(d);h>-1&&(r.splice(h,1),d.record.name&&n.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return r}function l(d){const h=YM(d,r);r.splice(h,0,d),d.record.name&&!$_(d)&&n.set(d.record.name,d)}function c(d,h){let f,g={},p,b;if("name"in d&&d.name){if(f=n.get(d.name),!f)throw Ea(Pt.MATCHER_NOT_FOUND,{location:d});b=f.record.name,g=et(M_(h.params,f.keys.filter(m=>!m.optional).concat(f.parent?f.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),d.params&&M_(d.params,f.keys.map(m=>m.name))),p=f.stringify(g)}else if(d.path!=null)p=d.path,f=r.find(m=>m.re.test(p)),f&&(g=f.parse(p),b=f.record.name,f.keys.forEach(m=>{m.optional&&!g[m.name]&&delete g[m.name]}));else{if(f=h.name?n.get(h.name):r.find(m=>m.re.test(h.path)),!f)throw Ea(Pt.MATCHER_NOT_FOUND,{location:d,currentLocation:h});b=f.record.name,g=et({},h.params,d.params),p=f.stringify(g)}const _=[];let y=f;for(;y;)_.unshift(y.record),y=y.parent;return{name:b,path:p,params:g,matched:_,meta:GM(_)}}t.forEach(d=>s(d));function u(){r.length=0,n.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function M_(t,e){const r={};for(const n of e)n in t&&(r[n]=t[n]);return r}function I_(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:qM(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function qM(t){const e={},r=t.props||!1;if("component"in t)e.default=r;else for(const n in t.components)e[n]=typeof r=="object"?r[n]:r;return e}function $_(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function GM(t){return t.reduce((e,r)=>et(e,r.meta),{})}function YM(t,e){let r=0,n=e.length;for(;r!==n;){const s=r+n>>1;t1(t,e[s])<0?n=s:r=s+1}const i=KM(t);return i&&(n=e.lastIndexOf(i,n-1)),n}function KM(t){let e=t;for(;e=e.parent;)if(r1(e)&&t1(t,e)===0)return e}function r1({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function D_(t){const e=zt(cm),r=zt(um),n=ke(()=>{const l=ge(t.to);return e.resolve(l)}),i=ke(()=>{const{matched:l}=n.value,{length:c}=l,u=l[c-1],d=r.matched;if(!u||!d.length)return-1;const h=d.findIndex(Ta.bind(null,u));if(h>-1)return h;const f=L_(l[c-2]);return c>1&&L_(u)===f&&d[d.length-1].path!==f?d.findIndex(Ta.bind(null,l[c-2])):h}),s=ke(()=>i.value>-1&&eI(r.params,n.value.params)),o=ke(()=>i.value>-1&&i.value===r.matched.length-1&&Jx(r.params,n.value.params));function a(l={}){if(ZM(l)){const c=e[ge(t.replace)?"replace":"push"](ge(t.to)).catch(Il);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:ke(()=>n.value.href),isActive:s,isExactActive:o,navigate:a}}function XM(t){return t.length===1?t[0]:t}const QM=Cr({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:D_,setup(t,{slots:e}){const r=Tr(D_(t)),{options:n}=zt(cm),i=ke(()=>({[N_(t.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[N_(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const s=e.default&&XM(e.default(r));return t.custom?s:gt("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},s)}}}),JM=QM;function ZM(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function eI(t,e){for(const r in e){const n=e[r],i=t[r];if(typeof n=="string"){if(n!==i)return!1}else if(!Hn(i)||i.length!==n.length||n.some((s,o)=>s.valueOf()!==i[o].valueOf()))return!1}return!0}function L_(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const N_=(t,e,r)=>t??e??r,tI=Cr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:r}){const n=zt(Sp),i=ke(()=>t.route||n.value),s=zt(E_,0),o=ke(()=>{let c=ge(s);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=ke(()=>i.value.matched[o.value]);Ri(E_,ke(()=>o.value+1)),Ri(JO,a),Ri(Sp,i);const l=st();return Nt(()=>[l.value,a.value,t.name],([c,u,d],[h,f,g])=>{u&&(u.instances[d]=c,f&&f!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!Ta(u,f)||!h)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,h=d&&d.components[u];if(!h)return F_(r.default,{Component:h,route:c});const f=d.props[u],g=f?f===!0?c.params:typeof f=="function"?f(c):f:null,b=gt(h,et({},g,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return F_(r.default,{Component:b,route:c})||b}}});function F_(t,e){if(!t)return null;const r=t(e);return r.length===1?r[0]:r}const n1=tI;function rI(t){const e=WM(t.routes,t),r=t.parseQuery||RM,n=t.stringifyQuery||k_,i=t.history,s=Za(),o=Za(),a=Za(),l=wt(bn);let c=bn;zo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=zd.bind(null,N=>""+N),d=zd.bind(null,pM),h=zd.bind(null,hf);function f(N,q){let Q,se;return Zx(N)?(Q=e.getRecordMatcher(N),se=q):se=N,e.addRoute(se,Q)}function g(N){const q=e.getRecordMatcher(N);q&&e.removeRoute(q)}function p(){return e.getRoutes().map(N=>N.record)}function b(N){return!!e.getRecordMatcher(N)}function _(N,q){if(q=et({},q||l.value),typeof N=="string"){const k=Vd(r,N,q.path),L=e.resolve({path:k.path},q),G=i.createHref(k.fullPath);return et(k,L,{params:h(L.params),redirectedFrom:void 0,href:G})}let Q;if(N.path!=null)Q=et({},N,{path:Vd(r,N.path,q.path).path});else{const k=et({},N.params);for(const L in k)k[L]==null&&delete k[L];Q=et({},N,{params:d(k)}),q.params=d(q.params)}const se=e.resolve(Q,q),he=N.hash||"";se.params=u(h(se.params));const xe=yM(n,et({},N,{hash:fM(he),path:se.path})),C=i.createHref(xe);return et({fullPath:xe,hash:he,query:n===k_?PM(N.query):N.query||{}},se,{redirectedFrom:void 0,href:C})}function y(N){return typeof N=="string"?Vd(r,N,l.value.path):et({},N)}function m(N,q){if(c!==N)return Ea(Pt.NAVIGATION_CANCELLED,{from:q,to:N})}function v(N){return x(N)}function w(N){return v(et(y(N),{replace:!0}))}function E(N,q){const Q=N.matched[N.matched.length-1];if(Q&&Q.redirect){const{redirect:se}=Q;let he=typeof se=="function"?se(N,q):se;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=y(he):{path:he},he.params={}),et({query:N.query,hash:N.hash,params:he.path!=null?{}:N.params},he)}}function x(N,q){const Q=c=_(N),se=l.value,he=N.state,xe=N.force,C=N.replace===!0,k=E(Q,se);if(k)return x(et(y(k),{state:typeof k=="object"?et({},he,k.state):he,force:xe,replace:C}),q||Q);const L=Q;L.redirectedFrom=q;let G;return!xe&&_M(n,se,Q)&&(G=Ea(Pt.NAVIGATION_DUPLICATED,{to:L,from:se}),K(se,se,!0,!1)),(G?Promise.resolve(G):P(L,se)).catch(R=>di(R)?di(R,Pt.NAVIGATION_GUARD_REDIRECT)?R:M(R):$(R,L,se)).then(R=>{if(R){if(di(R,Pt.NAVIGATION_GUARD_REDIRECT))return x(et({replace:C},y(R.to),{state:typeof R.to=="object"?et({},he,R.to.state):he,force:xe}),q||L)}else R=O(L,se,!0,C,he);return F(L,se,R),R})}function S(N,q){const Q=m(N,q);return Q?Promise.reject(Q):Promise.resolve()}function T(N){const q=oe.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(N):N()}function P(N,q){let Q;const[se,he,xe]=OM(N,q);Q=qd(se.reverse(),"beforeRouteLeave",N,q);for(const k of se)k.leaveGuards.forEach(L=>{Q.push(is(L,N,q))});const C=S.bind(null,N,q);return Q.push(C),ye(Q).then(()=>{Q=[];for(const k of s.list())Q.push(is(k,N,q));return Q.push(C),ye(Q)}).then(()=>{Q=qd(he,"beforeRouteUpdate",N,q);for(const k of he)k.updateGuards.forEach(L=>{Q.push(is(L,N,q))});return Q.push(C),ye(Q)}).then(()=>{Q=[];for(const k of xe)if(k.beforeEnter)if(Hn(k.beforeEnter))for(const L of k.beforeEnter)Q.push(is(L,N,q));else Q.push(is(k.beforeEnter,N,q));return Q.push(C),ye(Q)}).then(()=>(N.matched.forEach(k=>k.enterCallbacks={}),Q=qd(xe,"beforeRouteEnter",N,q,T),Q.push(C),ye(Q))).then(()=>{Q=[];for(const k of o.list())Q.push(is(k,N,q));return Q.push(C),ye(Q)}).catch(k=>di(k,Pt.NAVIGATION_CANCELLED)?k:Promise.reject(k))}function F(N,q,Q){a.list().forEach(se=>T(()=>se(N,q,Q)))}function O(N,q,Q,se,he){const xe=m(N,q);if(xe)return xe;const C=q===bn,k=zo?history.state:{};Q&&(se||C?i.replace(N.fullPath,et({scroll:C&&k&&k.scroll},he)):i.push(N.fullPath,he)),l.value=N,K(N,q,Q,C),M()}let H;function Y(){H||(H=i.listen((N,q,Q)=>{if(!me.listening)return;const se=_(N),he=E(se,me.currentRoute.value);if(he){x(et(he,{replace:!0,force:!0}),se).catch(Il);return}c=se;const xe=l.value;zo&&CM(A_(xe.fullPath,Q.delta),ld()),P(se,xe).catch(C=>di(C,Pt.NAVIGATION_ABORTED|Pt.NAVIGATION_CANCELLED)?C:di(C,Pt.NAVIGATION_GUARD_REDIRECT)?(x(et(y(C.to),{force:!0}),se).then(k=>{di(k,Pt.NAVIGATION_ABORTED|Pt.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Tp.pop&&i.go(-1,!1)}).catch(Il),Promise.reject()):(Q.delta&&i.go(-Q.delta,!1),$(C,se,xe))).then(C=>{C=C||O(se,xe,!1),C&&(Q.delta&&!di(C,Pt.NAVIGATION_CANCELLED)?i.go(-Q.delta,!1):Q.type===Tp.pop&&di(C,Pt.NAVIGATION_ABORTED|Pt.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),F(se,xe,C)}).catch(Il)}))}let B=Za(),A=Za(),I;function $(N,q,Q){M(N);const se=A.list();return se.length?se.forEach(he=>he(N,q,Q)):console.error(N),Promise.reject(N)}function X(){return I&&l.value!==bn?Promise.resolve():new Promise((N,q)=>{B.add([N,q])})}function M(N){return I||(I=!N,Y(),B.list().forEach(([q,Q])=>N?Q(N):q()),B.reset()),N}function K(N,q,Q,se){const{scrollBehavior:he}=t;if(!zo||!he)return Promise.resolve();const xe=!Q&&AM(A_(N.fullPath,0))||(se||!Q)&&history.state&&history.state.scroll||null;return oi().then(()=>he(N,q,xe)).then(C=>C&&TM(C)).catch(C=>$(C,N,q))}const te=N=>i.go(N);let ue;const oe=new Set,me={currentRoute:l,listening:!0,addRoute:f,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:p,resolve:_,options:t,push:v,replace:w,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:A.add,isReady:X,install(N){N.component("RouterLink",JM),N.c
4omponent("RouterView",n1),N.config.globalProperties.$router=me,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ge(l)}),zo&&!ue&&l.value===bn&&(ue=!0,v(i.location).catch(se=>{}));const q={};for(const se in bn)Object.defineProperty(q,se,{get:()=>l.value[se],enumerable:!0});N.provide(cm,me),N.provide(um,In(q)),N.provide(Sp,l);const Q=N.unmount;oe.add(N),N.unmount=function(){oe.delete(N),oe.size<1&&(c=bn,H&&H(),H=null,l.value=bn,ue=!1,I=!1),Q()}}};function ye(N){return N.reduce((q,Q)=>q.then(()=>T(Q)),Promise.resolve())}return me}const nI=/(:\w+)\([^)]+\)/g,iI=/(:\w+)[?+*]/g,sI=/:\w+/g,oI=(t,e)=>e.path.replace(nI,"$1").replace(iI,"$1").replace(sI,r=>t.params[r.slice(1)]?.toString()||""),Ap=(t,e)=>{const r=t.route.matched.find(i=>i.components?.default===t.Component.type),n=e??r?.meta.key??(r&&oI(t.route,r));return typeof n=="function"?n(t.route):n},aI=(t,e)=>({default:()=>t?gt(FA,t===!0?{}:t,e):e});function i1(t){return Array.isArray(t)?t:[t]}const lI="modulepreload",cI=function(t,e){return new URL(t,e).href},j_={},Te=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let c=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");i=c(r.map(u=>{if(u=cI(u,n),u in j_)return;j_[u]=!0;const d=u.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(n)for(let g=o.length-1;g>=0;g--){const p=o[g];if(p.href===u&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":lI,d||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),d)return new Promise((g,p)=>{f.addEventListener("load",g),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}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 e().catch(s)})},Gd=[{name:"authors-slug",path:"/authors/:slug()",component:()=>Te(()=>import("./2DUO9hL6.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"blog-slug",path:"/blog/:slug()",component:()=>Te(()=>import("./BULYW6Ga.js"),__vite__mapDeps([4,1,2,5,3,6,7,8]),import.meta.url)},{name:"pricing",path:"/pricing",component:()=>Te(()=>import("./84Z1sryF.js"),[],import.meta.url)},{name:"slug",path:"/:slug()",component:()=>Te(()=>import("./CmZaxeWU.js"),__vite__mapDeps([9,10,6,1,2,7,5,3,8]),import.meta.url)},{name:"index",path:"/",component:()=>Te(()=>import("./yGRlSzQ7.js"),__vite__mapDeps([11,10,6,1,2,7]),import.meta.url)}];const Yd=t=>typeof t=="function",uI=t=>t!==null&&typeof t=="object",fI=t=>(uI(t)||Yd(t))&&Yd(t.then)&&Yd(t.catch),dI=Object.prototype.toString,hI=t=>dI.call(t),pI=t=>hI(t)==="[object Object]",s1=(t,e)=>({default:()=>t?gt(Fk,t===!0?{}:t,e):e.default?.()}),gI=/(:\w+)\([^)]+\)/g,mI=/(:\w+)[?+*]/g,yI=/:\w+/g;function H_(t){const e=t?.meta.key??t.path.replace(gI,"$1").replace(mI,"$1").replace(yI,r=>t.params[r.slice(1)]?.toString()||"");return typeof e=="function"?e(t):e}function _I(t,e){return t===e||e===bn?!1:H_(t)!==H_(e)?!0:!t.matched.every((n,i)=>n.components&&n.components.default===e.matched[i]?.components?.default)}function vI(t,e=!1){if(t){if(t.nodeName==="#comment"&&t.nodeValue==="[")return o1(t,[],e);if(e){const r=t.cloneNode(!0);return r.querySelectorAll("[data-island-slot]").forEach(n=>{n.innerHTML=""}),[r.outerHTML]}return[t.outerHTML]}}function o1(t,e=[],r=!1){if(t&&t.nodeName){if(xI(t))return e;if(!wI(t)){const n=t.cloneNode(!0);r&&n.querySelectorAll?.("[data-island-slot]").forEach(i=>{i.innerHTML=""}),e.push(n.outerHTML)}o1(t.nextSibling,e,r)}return e}function bI(t,e){const r=t?vI(t):[e];return r?Ek(r.join(""),r.length):gt("div")}function wI(t){return t.nodeName==="#comment"&&t.nodeValue==="["}function xI(t){return t.nodeName==="#comment"&&t.nodeValue==="]"}function B_(t){return Array.isArray(t)?t:[t]}function a1(t){const e=[];for(const r of t)r&&e.push({...r,onAfterLeave:r.onAfterLeave?B_(r.onAfterLeave):void 0,onBeforeLeave:r.onBeforeLeave?B_(r.onBeforeLeave):void 0});return kc(...e)}
4const SI={scrollBehavior(t,e,r){const n=qe(),i=fr().options?.scrollBehaviorType??"auto";return t.path.replace(/\/$/,"")===e.path.replace(/\/$/,"")?e.hash&&!t.hash?{left:0,top:0}:t.hash?{el:t.hash,top:l1(t.hash),behavior:i}:!1:(typeof t.meta.scrollToTop=="function"?t.meta.scrollToTop(t,e):t.meta.scrollToTop)===!1?!1:e===bn?U_(t,e,r,i):new Promise(o=>{const a=()=>{requestAnimationFrame(()=>o(U_(t,e,r,i)))};n.hooks.hookOnce("page:loading:end",()=>{const l=n["~transitionPromise"];l?l.then(a):a()})})}};function l1(t){try{const e=document.querySelector(t);if(e)return(Number.parseFloat(getComputedStyle(e).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function U_(t,e,r,n){return r||(t.hash?{el:t.hash,top:l1(t.hash),behavior:_I(t,e)?n:"instant"}:{left:0,top:0})}const EI={hashMode:!1,scrollBehaviorType:"auto"},Gi={...EI,...SI},TI=async(t,e)=>{let r,n;if(!t.meta?.validate)return;const i=([r,n]=Ol(()=>Promise.resolve(t.meta.validate(t))),r=await r,n(),r);if(i===!0)return;const s=gs({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${t.fullPath}`,data:{path:t.fullPath}});return typeof window<"u"&&window.history.pushState({},"",e.fullPath),s},CI=t=>{const e=ad({path:t.path});if(e.redirect){const r=e.redirect.includes("#")?e.redirect:e.redirect+t.hash;return Ui(r,{acceptRelative:!0})?(window.location.href=r,!1):r}},AI=[TI,CI],kp={};function kI(t,e,r){const{pathname:n,search:i,hash:s}=e,o=t.indexOf("#");if(o>-1){const c=s.includes(t.slice(o))?t.slice(o).length:1;let u=s.slice(c);return u[0]!=="/"&&(u="/"+u),n_(u,"")}const a=n_(n,t),l=!r||cx(a,r)?a:r;return l+(l.includes("?")?"":i)+s}const RI=mt({name:"nuxt:router",enforce:"pre",async setup(t){let e,r,n=An().app.baseURL;const i=Gi.history?.(n)??DM(n),s=Gi.routes?([e,r]=Ol(()=>Gi.routes(Gd)),e=await e,r(),e??Gd):Gd;let o;const a=rI({...Gi,scrollBehavior:(_,y,m)=>{if(y===bn){o=m;return}if(Gi.scrollBehavior){if(a.options.scrollBehavior=Gi.scrollBehavior,"scrollRestoration"in window.history){const v=a.beforeEach(()=>{v(),window.history.scrollRestoration="manual"})}return Gi.scrollBehavior(_,bn,o||m)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),t.vueApp.use(a);const l=wt(a.currentRoute.value);a.afterEach((_,y)=>{l.value=y}),Object.defineProperty(t.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=kI(n,window.location,t.payload.path),u=wt(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};a.afterEach((_,y)=>{const m=_.matched.at(-1)?.components?.default,v=y.matched.at(-1)?.components?.default;if(m===v){d();return}_.matched.length<y.matched.length&&_.matched.every((w,E)=>w.components?.default===y.matched[E]?.components?.default)&&d()});const h={sync:d};for(const _ in u.value)Object.defineProperty(h,_,{get:()=>u.value[_],enumerable:!0});t._route=In(h),t._middleware||={global:[],named:{}};const f=Ba();a.afterEach(async(_,y,m)=>{delete t._processingMiddleware,!t.isHydrating&&f.value&&await t.runWithContext(jP),m&&await t.callHook("page:loading:end")});try{[e,r]=Ol(()=>a.isReady()),await e,r()}catch(_){[e,r]=Ol(()=>t.runWithContext(()=>Bs(_))),await e,r()}const g=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value,p=t.isHydrating&&t.payload.prerenderedAt&&t.payload.path&&c!==t.payload.path&&cx(a.currentRoute.value.path,t.payload.path);d();const b=t.payload.state._layout;return a.beforeEach(async(_,y)=>{await t.callHook("page:loading:start"),_.meta=Tr(_.meta),t.isHydrating&&b&&!si(_.meta.layout)&&(_.meta.layout=b),t._processingMiddleware=!0;{const m=new Set([...AI,...t._middleware.global]);for(const w of _.matched){const E=w.meta.middleware;if(E)for(const x of i1(E))m.add(x)}const v=ad({path:_.path});if(v.appMiddleware)for(const w in v.appMiddleware)v.appMiddleware[w]?m.add(w):m.delete(w);for(const w of m){const E=typeof w=="string"?t._middleware.named[w]||await kp[w]?.().then(x=>x.default||x):w;if(!E)throw new Error(`Unknown route middleware: '${w}'.`);try{const x=await t.runWithContext(()=>E(_,y));if(!t.payload.serverRendered&&t.isHydrating&&(x===!1||x instanceof Error)){const S=x||gs({status:404,statusText:`Page Not Found: ${c}`});return await t.runWithContext(()=>Bs(S)),!1}if(x===!0)continue;if(x===!1)return x;if(x)return xx(x)&&x.fatal&&await t.runWithContext(()=>Bs(x)),x}catch(x){const S=gs(x);return S.fatal&&await t.runWithContext(()=>Bs(S)),S}}}}),a.onError(async()=>{delete t._processingMiddleware,await t.callHook("page:loading:end")}),a.afterEach(_=>{if(_.matched.length===0&&!f.value)return t.runWithContext(()=>Bs(gs({status:404,fatal:!1,statusText:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),t.hooks.hookOnce("app:created",async()=>{try{if("name"in g&&(g.name=void 0),p){const _=a.resolve(t.payload.path);"name"in _&&(_.name=void 0),await a.replace({..._,force:!0}),t.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...g,force:!0})})}else await a.replace({...g,force:!0});a.options.scrollBehavior=Gi.scrollBehavior}catch(_){await t.runWithContext(()=>Bs(_))}}),{provide:{router:a}}}});function Rp(t){return typeof t=="string"?`'${t}'`:new PI().serialize(t)}const PI=(function(){class t{#e=new Map;compare(r,n){const i=typeof r,s=typeof n;
4return i==="string"&&s==="string"?r.localeCompare(n):i==="number"&&s==="number"?r-n:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(n,!0))}serialize(r,n){if(r===null)return"null";switch(typeof r){case"string":return n?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const n=Object.prototype.toString.call(r);if(n!=="[object Object]")return this.serializeBuiltInType(n.length<10?`unknown:${n}`:n.slice(8,-1),r);const i=r.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const o=r.toJSON();return s+(o!==null&&typeof o=="object"?this.$object(o):`(${this.serialize(o)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,n){const i=this["$"+r];if(i)return i.call(this,n);if(typeof n?.entries=="function")return this.serializeObjectEntries(r,n.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,n){const i=Array.from(n).sort((o,a)=>this.compare(o[0],a[0]));let s=`${r}{`;for(let o=0;o<i.length;o++){const[a,l]=i[o];s+=`${this.serialize(a,!0)}:${this.serialize(l)}`,o<i.length-1&&(s+=",")}return s+"}"}$object(r){let n=this.#e.get(r);return n===void 0&&(this.#e.set(r,`#${this.#e.size}`),n=this.serializeObject(r),this.#e.set(r,n)),n}$function(r){const n=Function.prototype.toString.call(r);return n.slice(-15)==="[native code] }"?`${r.name||""}()[native]`:`${r.name}(${r.length})${n.replace(/\s*\n\s*/g,"")}`}$Array(r){let n="[";for(let i=0;i<r.length;i++)n+=this.serialize(r[i]),i<r.length-1&&(n+=",");return n+"]"}$Date(r){try{return`Date(${r.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(r){return`ArrayBuffer[${new Uint8Array(r).join(",")}]`}$Set(r){return`Set${this.$Array(Array.from(r).sort((n,i)=>this.compare(n,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}for(const e of["Error","RegExp","URL"])t.prototype["$"+e]=function(r){return`${e}(${r})`};for(const e of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+e]=function(r){return`${e}[${r.join(",")}]`};for(const e of["BigInt64Array","BigUint64Array"])t.prototype["$"+e]=function(r){return`${e}[${r.join("n,")}${r.length>0?"n":""}]`};return t})();function OI(t,e){return t===e||Rp(t)===Rp(e)}const MI=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],II=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],$I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",$s=[];class DI{_data=new Qc;_hash=new Qc([...MI]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);const r=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(r/4294967296),this._data.words[(n+64>>>9<<4)+15]=r,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,r){const n=this._hash.words;let i=n[0],s=n[1],o=n[2],a=n[3],l=n[4],c=n[5],u=n[6],d=n[7];for(let h=0;h<64;h++){if(h<16)$s[h]=e[r+h]|0;else{const m=$s[h-15],v=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,w=$s[h-2],E=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;$s[h]=v+$s[h-7]+E+$s[h-16]}const f=l&c^~l&u,g=i&s^i&o^s&o,p=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=d+b+f+II[h]+$s[h],y=p+g;d=u,u=c,c=l,l=a+_|0,a=o,o=s,s=i,i=_+y|0}n[0]=n[0]+i|0,n[1]=n[1]+s|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0,n[5]=n[5]+c|0,n[6]=n[6]+u|
40,n[7]=n[7]+d|0}_append(e){typeof e=="string"&&(e=Qc.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let r,n=this._data.sigBytes/64;e?n=Math.ceil(n):n=Math.max((n|0)-this._minBufferSize,0);const i=n*16,s=Math.min(i*4,this._data.sigBytes);if(i){for(let o=0;o<i;o+=16)this._doProcessBlock(this._data.words,o);r=this._data.words.splice(0,i),this._data.sigBytes-=s}return new Qc(r,s)}}let Qc=class c1{words;sigBytes;constructor(e,r){e=this.words=e||[],this.sigBytes=r===void 0?e.length*4:r}static fromUtf8(e){const r=unescape(encodeURIComponent(e)),n=r.length,i=[];for(let s=0;s<n;s++)i[s>>>2]|=(r.charCodeAt(s)&255)<<24-s%4*8;return new c1(i,n)}toBase64(){const e=[];for(let r=0;r<this.sigBytes;r+=3){const n=this.words[r>>>2]>>>24-r%4*8&255,i=this.words[r+1>>>2]>>>24-(r+1)%4*8&255,s=this.words[r+2>>>2]>>>24-(r+2)%4*8&255,o=n<<16|i<<8|s;for(let a=0;a<4&&r*8+a*6<this.sigBytes*8;a++)e.push($I.charAt(o>>>6*(3-a)&63))}return e.join("")}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let r=0;r<e.sigBytes;r++){const n=e.words[r>>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=n<<24-(this.sigBytes+r)%4*8}else for(let r=0;r<e.sigBytes;r+=4)this.words[this.sigBytes+r>>>2]=e.words[r>>>2];this.sigBytes+=e.sigBytes}};function LI(t){return new DI().finalize(t).toBase64()}function qs(t){return LI(Rp(t))}const u1=Symbol.for("nuxt:client-only"),NI="<div></div>";function FI(t){return t.nodeName==="#comment"&&t.nodeValue==="placeholder"}function Kd(t){return t&&!FI(t)?bI(t,NI):gt("div")}const RV=Cr({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:e,attrs:r}){const n=wt(!1);ai(()=>{n.value=!0});const i=Ar();return i&&(i._nuxtClientOnly=!0),Ri(u1,!0),()=>{if(n.value){const l=e.default?.();return l&&l.length===1?[fn(l[0],r)]:l}const s=e.fallback||e.placeholder;if(s)return gt(s);const o=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return Jn(a,r,o)}}}),Xd=new WeakMap;function jI(t){if(Xd.has(t))return Xd.get(t);const e={...t};if(e.render)e.render=(r,n,i,s,o,a)=>{if(s.mounted$??r.mounted$){const l=t.render?.bind(r)(r,n,i,s,o,a);return l.children===null||typeof l.children=="string"?fn(l):gt(l)}return Kd(r._.vnode.el)};else{const r="<div></div>";e.template&&=`
5      <template v-if="mounted$">${t.template}</template>
6      <template v-else>${r}</template>
7    `}return e.setup=(r,n)=>{const i=qe(),s=wt(i.isHydrating===!1),o=Ar();if(i.isHydrating){const l={...o.attrs},c=HI(o);for(const u in l)delete o.attrs[u];ai(()=>{Object.assign(o.attrs,l),o.vnode.dirs=c})}ai(()=>{s.value=!0});const a=t.setup?.(r,n)||{};return fI(a)?Promise.resolve(a).then(l=>typeof l!="function"?(l||={},l.mounted$=s,l):(...c)=>{if(s.value||!i.isHydrating){const u=l(...c);return u.children===null||typeof u.children=="string"?fn(u):gt(u)}return Kd(o?.vnode.el)}):typeof a=="function"?(...l)=>{if(s.value){const c=a(...l),u=e.inheritAttrs!==!1?n.attrs:void 0;return c.children===null||typeof c.children=="string"?fn(c,u):gt(c,u)}return Kd(o?.vnode.el)}:Object.assign(a,{mounted$:s})},Xd.set(t,e),e}function HI(t){if(!t||!t.vnode.dirs)return null;const e=t.vnode.dirs;return t.vnode.dirs=null,e}const Pp=globalThis.requestIdleCallback||(t=>{const e=Date.now(),r={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(r)},1)}),BI=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),ks=t=>{const e=qe();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{Pp(()=>t())}):Pp(()=>t())};function f1(t){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${t.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>t.factory})}const d1=f1({name:"createUseAsyncData",factory(t={}){function e(...r){const n=typeof r[r.length-1]=="string"?r.pop():void 0;UI(r[0],r[1])&&r.unshift(n);let[i,s,o={}]=r,a=!1;const l=ct(i)||typeof i=="function",c=l?ke(()=>Oe(i)):{value:i};if(!c.value||typeof c.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a non-empty string.");if(typeof s!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const u=typeof t=="function",d=qe(),h=u?t(o):t;if(!u)for(const m in h)h[m]!==void 0&&o[m]===void 0&&(o[m]=h[m]);if(o.server??=!0,o.default??=WI,o.getCachedData??=g1,o.lazy??=!1,o.immediate??=!0,o.deep??=bP.deep,o.dedupe??="cancel",u)for(const m in h)h[m]!==void 0&&(o[m]=h[m]);d._asyncData[c.value];function f(){const m={cause:"initial",dedupe:o.dedupe},v=d._asyncData[c.value];return v?._init?m.cachedData=v._initialCachedData:(m.cachedData=o.getCachedData(c.value,d,{cause:"initial"}),d._asyncData[c.value]=z_(d,c.value,s,o,m.cachedData),d._asyncData[c.value]._initialCachedData=m.cachedData),()=>d._asyncData[c.value].execute(m)}const g=f(),p=d._asyncData[c.value];p._deps++;const b=o.server!==!1&&d.payload.serverRendered;{let m=function(P){const F=d._asyncData[P];F?._deps&&(F._deps--,F._deps===0&&F?._off())};const v=Ar();if(v&&b&&o.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const P=v._nuxtOnBeforeMountCbs;dw(()=>{P.forEach(F=>{F()}),P.splice(0,P.length)}),Gg(()=>P.splice(0,P.length))}const w=v&&(v._nuxtClientOnly||zt(u1,!1));b&&d.isHydrating&&(p.error.value||p.data.value!==void 0)?p.status.value=p.error.value?"error":"success":v&&(!w&&d.payload.serverRendered&&d.isHydrating||o.lazy)&&o.immediate?v._nuxtOnBeforeMountCbs.push(g):o.immediate&&p.status.value!=="success"&&g();const E=Hi(),x=()=>{},S=l?Nt(c,(P,F)=>
7{if((P||F)&&P!==F){a=!0;const O=d._asyncData[F]?.data.value!==void 0,H=d._asyncDataPromises[F]!==void 0,Y={cause:"initial",dedupe:o.dedupe};if(!d._asyncData[P]?._init){let A;F&&O?A=d._asyncData[F].data.value:(A=o.getCachedData(P,d,{cause:"initial"}),Y.cachedData=A),d._asyncData[P]=z_(d,P,s,o,A)}d._asyncData[P]._deps++,F&&m(F),o._keyTriggersExecute!==!1&&(o.immediate||O||H)&&d._asyncData[P].execute(Y),nc(()=>{a=!1})}},{flush:"sync"}):x,T=o.watch?Nt(o.watch,()=>{a||(d._asyncData[c.value]?._execute.isPending()&&nc(()=>{d._asyncData[c.value]?._execute.flush()}),d._asyncData[c.value]?._execute({cause:"watch",dedupe:o.dedupe}))}):x;E&&yo(()=>{S(),T(),m(c.value)})}const _={data:Jc(()=>d._asyncData[c.value]?.data),pending:Jc(()=>d._asyncData[c.value]?.pending),status:Jc(()=>d._asyncData[c.value]?.status),error:Jc(()=>d._asyncData[c.value]?.error),refresh:(...m)=>d._asyncData[c.value]?._init?d._asyncData[c.value].execute(...m):f()(),execute:(...m)=>_.refresh(...m),clear:()=>{const m=d._asyncData[c.value];if(m?._abortController)try{m._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{m._abortController=void 0}p1(d,c.value)}},y=Promise.resolve(d._asyncDataPromises[c.value]).then(()=>_);return Object.assign(y,_),Object.defineProperties(y,{then:{enumerable:!0,value:y.then.bind(y)},catch:{enumerable:!0,value:y.catch.bind(y)},finally:{enumerable:!0,value:y.finally.bind(y)}}),y}return e}}),h1=d1.__nuxt_factory();d1.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function Jc(t){return ke({get(){return t()?.value},set(e){const r=t();r&&(r.value=e)}})}function UI(t,e){return!(typeof t=="string"||typeof t=="object"&&t!==null||typeof t=="function"&&typeof e=="function")}async function zI(t){await new Promise(r=>ks(r));const e=t?LP(t):void 0;await qe().hooks.callHookParallel("app:data:refresh",e)}function p1(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=void 0),t._asyncData[e]&&(t._asyncData[e].data.value=ge(t._asyncData[e]._default()),t._asyncData[e].error.value=void 0,t._asyncData[e].status.value="idle",t._asyncData[e]._initialCachedData=void 0),e in t._asyncDataPromises&&(t._asyncDataPromises[e]=void 0)}function VI(t,e){const r={};for(const n of e)r[n]=t[n];return r}function z_(t,e,r,n,i){t.payload._errors[e]??=void 0;const s=n.getCachedData!==g1,o=r,a=n.deep?st:wt,l=i!==void 0,c=t.hook("app:data:refresh",async d=>{(!d||d.includes(e))&&await u.execute({cause:"refresh:hook"})}),u={data:a(l?i:n.default()),pending:ke(()=>u.status.value==="pending"),error:Ug(t.payload._errors,e),status:wt("idle"),execute:(...d)=>{const[h,f=void 0]=d,g=h&&f===void 0&&typeof h=="object"?h:{};if(t._asyncDataPromises[e]&&(g.dedupe??n.dedupe)==="defer")return t._asyncDataPromises[e];
7{const _="cachedData"in g?g.cachedData:n.getCachedData(e,t,{cause:g.cause??"refresh:manual"});if(_!==void 0)return t.payload.data[e]=u.data.value=_,u.error.value=void 0,u.status.value="success",Promise.resolve(_)}u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const p=new AbortController,b=new Promise((_,y)=>{try{const m=g.timeout??n.timeout,v=qI([u._abortController?.signal,g?.signal],p.signal,m);if(v.aborted){const w=v.reason;y(w instanceof Error?w:new DOMException(String(w??"Aborted"),"AbortError"));return}return v.addEventListener("abort",()=>{const w=v.reason;y(w instanceof Error?w:new DOMException(String(w??"Aborted"),"AbortError"))},{once:!0,signal:p.signal}),Promise.resolve(o(t,{signal:v})).then(_,y)}catch(m){y(m)}}).then(async _=>{if(t._asyncDataPromises[e]!==b)return;let y=_;n.transform&&(y=await n.transform(_)),n.pick&&(y=VI(y,n.pick)),t.payload.data[e]=y,u.data.value=y,u.error.value=void 0,u.status.value="success"}).catch(_=>{if(t._asyncDataPromises[e]!==b||u._abortController?.signal.aborted)return t._asyncDataPromises[e];if(typeof DOMException<"u"&&_ instanceof DOMException&&_.name==="AbortError")return u.status.value="idle",t._asyncDataPromises[e];u.error.value=gs(_),u.data.value=ge(n.default()),u.status.value="error"}).finally(()=>{p.abort(),t._asyncDataPromises[e]===b&&delete t._asyncDataPromises[e]});return t._asyncDataPromises[e]=b,t._asyncDataPromises[e]},_execute:eM((...d)=>u.execute(...d),0,{leading:!0}),_default:n.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),t._asyncData[e]?._init&&(t._asyncData[e]._init=!1),s||oi(()=>{t._asyncData[e]?._init||(p1(t,e),u.execute=()=>Promise.resolve())})}};return u}const WI=()=>{},g1=(t,e,r)=>{if(e.isHydrating)return e.payload.data[t];if(r.cause!=="refresh:manual"&&r.cause!=="refresh:hook")return e.static.data[t]};function qI(t,e,r){const n=t.filter(o=>!!o);if(typeof r=="number"&&r>=0){const o=AbortSignal.timeout?.(r);o&&n.push(o)}if(AbortSignal.any)return AbortSignal.any(n);const i=new AbortController;for(const o of n)if(o.aborted){const a=o.reason??new DOMException("Aborted","AbortError");try{i.abort(a)}catch{i.abort()}return i.signal}const s=()=>{const a=n.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{i.abort(a)}catch{i.abort()}};for(const o of n)o.addEventListener?.("abort",s,{once:!0,signal:e});return i.signal}const GI="$s";function za(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);const[r,n]=t;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(n!==void 0&&typeof n!="function")throw new Error("[nuxt] [useState] init must be a function: "+n);const i=GI+r,s=qe(),o=Ug(s.payload.state,i);if(n&&(s._state[i]??={_default:n}),o.value===void 0&&n){const a=n();if(ct(a))return s.payload.state[i]=a,a;o.value=a}return o}function YI(t){return{}}function KI(t){const e=[Oe(t.method)?.toUpperCase()||"GET",Oe(t.baseURL)];for(const r of[t.query||t.params]){const n=Oe(r);if(!n)continue;const i={};for(const[s,o]of Object.entries(n))i[Oe(s)]=Oe(o);e.push(i)}if(t.body){const r=Oe(t.body);if(!r)e.push(qs(r));else if(r instanceof ArrayBuffer)e.push(qs(Object.fromEntries([...new Uint8Array(r).entries()].map(([n,i])=>[n,i.toString()]))));else if(r instanceof FormData){const n=[];for(const i of r.entries()){const[s,o]=i;n.push([s,o instanceof File?`${o.name}:${o.size}:${o.lastModified}`:o])}e.push(qs(n))}else if(pI(r))e.push(qs(Tr(r)));else try{e.push(qs(r))}catch{console.warn("[useFetch] Failed to hash body",r)}}return e}const m1=f1({name:"createUseFetch",factory(t={}){function e(r,n,i){const[s={},o]=typeof n=="string"?[{},n]:[n,i],a=typeof t=="function"?t(s):t,{server:l,lazy:c,default:u,transform:d,pick:h,watch:f,immediate:g,getCachedData:p,deep:b,dedupe:_,timeout:y,...m}={...typeof t=="function"?{}:a,...s,...typeof t=="function"?a:{}},v=ke(()=>Oe(r)),w=ke(()=>Oe(m.key)||"$f"+qs([o,typeof v.value=="string"?v.value:"",...KI(m)]));if(!m.baseURL&&typeof v.value=="string"&&v.value[0]==="/"&&v.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const E=Tr({...wP,...m,cache:typeof m.cache=="boolean"?void 0:m.cache}),x={server:l,lazy:c,default:u,transform:d,pick:h,immediate:g,getCachedData:p,deep:b,dedupe:_,timeout:y,watch:f===!1?[]:[...f||[],E]};return f===!1&&(x._keyTriggersExecute=!1),h1(w,(T,{signal:P})=>(m.$fetch||globalThis.$fetch)(v.value,{signal:P,...E}),x)}return e}});m1.__nuxt_factory();m1.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});const XI=3456e4;function QI(t,e,r){const n=t.indexOf(";",e);return n===-1?r:n}function JI(t,e,r){const n=t.indexOf("=",e);return n<r?n:-1}function V_(t,e,r){if(e===r)return"";let n=e,i=r;do{const s=t.charCodeAt(n);if(s!==32&&s!==9)break}while(++n<i);for(;i>n;){const s=t.charCodeAt(i-1);if(s!==32&&s!==9)break;i--}return t.slice(n,i)}const ZI=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function e$(t,e){const r=new ZI,n=t.length;if(n<2)return r;const i=e?.decode||t$,s=e?.allowMultiple||!1;let o=0;do{const a=JI(t,o,n);if(a===-1)break;const l=QI(t,o,n);if(a>l){o=t.lastIndexOf(";",a-1)+1;continue}const c=V_(t,o,a);if(e?.filter&&!e.filter(c)){o=l+1;continue}const u=i(V_(t,a+1,l));if(s){const d=r[c];d===void 0?r[c]=u:Array.isArray(d)?d.push(u):r[c]=[d,u]}else r[c]===void 0&&(r[c]=u);o=l+1}while(o<n);return r}function t$(t){if(!t.includes("%"))return t;try{return decodeURIComponent(t)}catch{return t}}const r$=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,n$=/^[\u0021-\u003A\u003C-\u007E]*$/,i$=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s$=/^[\u0020-\u003A\u003C-\u007E]*$/,o$=Object.prototype.toString;function W_(t,e,r){const n=r,i=n?.stringify||JSON.stringify,s={...r,name:t,value:e==null?"":typeof e=="string"?e:i(e)},o=n?.encode||encodeURIComponent;if(!r$.test(s.name))throw new TypeError(`argument name is invali
7d: ${s.name}`);const a=s.value?o(s.value):"";if(!n$.test(a))throw new TypeError(`argument val is invalid: ${s.value}`);if(!s.secure){if(s.partitioned)throw new TypeError("Partitioned cookies must have the Secure attribute");if(s.sameSite&&String(s.sameSite).toLowerCase()==="none")throw new TypeError("SameSite=None cookies must have the Secure attribute");if(s.name.length>9&&s.name.charCodeAt(0)===95&&s.name.charCodeAt(1)===95){const c=s.name.toLowerCase();if(c.startsWith("__secure-")||c.startsWith("__host-"))throw new TypeError(`${s.name} cookies must have the Secure attribute`)}}if(s.name.length>7&&s.name.charCodeAt(0)===95&&s.name.charCodeAt(1)===95&&s.name.toLowerCase().startsWith("__host-")){if(s.path!=="/")throw new TypeError("__Host- cookies must have Path=/");if(s.domain)throw new TypeError("__Host- cookies must not have a Domain attribute")}let l=s.name+"="+a;if(s.maxAge!==void 0){if(!Number.isInteger(s.maxAge))throw new TypeError(`option maxAge is invalid: ${s.maxAge}`);l+="; Max-Age="+Math.max(0,Math.min(s.maxAge,XI))}if(s.domain){if(!i$.test(s.domain))throw new TypeError(`option domain is invalid: ${s.domain}`);l+="; Domain="+s.domain}if(s.path){if(!s$.test(s.path))throw new TypeError(`option path is invalid: ${s.path}`);l+="; Path="+s.path}if(s.expires){if(!a$(s.expires)||!Number.isFinite(s.expires.valueOf()))throw new TypeError(`option expires is invali
7d: ${s.expires}`);l+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(l+="; HttpOnly"),s.secure&&(l+="; Secure"),s.partitioned&&(l+="; Partitioned"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():void 0){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${s.priority}`)}if(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${s.sameSite}`)}return l}function a$(t){return o$.call(t)==="[object Date]"}function On(t){if(typeof t!="object")return t;var e,r,n=Object.prototype.toString.call(t);if(n==="[object Object]"){if(t.constructor!==Object&&typeof t.constructor=="function"){r=new t.constructor;for(e in t)t.hasOwnProperty(e)&&r[e]!==t[e]&&(r[e]=On(t[e]))}else{r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:On(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=On(t[e])}return r}if(n==="[object Array]"){for(e=t.length,r=Array(e);e--;)r[e]=On(t[e]);return r}return n==="[object Set]"?(r=new Set,t.forEach(function(i){r.add(On(i))}),r):n==="[object Map]"?(r=new Map,t.forEach(function(i,s){r.set(On(s),On(i))}),r):n==="[object Date]"?new Date(+t):n==="[object RegExp]"?(r=new RegExp(t.source,t.flags),r.lastIndex=t.lastIndex,r):n==="[object DataView]"?new t.constructor(On(t.buffer)):n==="[object ArrayBuffer]"?t.slice(0):n.slice(-6)==="Array]"?new t.constructor(t):t}function l$(t){if(t!=="undefined")try{const e=JSON.parse(t);return typeof e=="number"&&String(e)!==t?t:e}catch{return t}}const c$={path:"/",watch:!0,decode:t=>t&&l$(decodeURIComponent(t)),encode:t=>{if(typeof t!="string"||t==="undefined")return encodeURIComponent(JSON.stringify(t));try{if(typeof JSON.parse(t)!="string")return encodeURIComponent(JSON.stringify(t))}catch{}return encodeURIComponent(t)},refresh:!1},Zc=globalThis.cookieStore;function u$(t,e){const r={...c$,...e};r.filter??=c=>c===t;const n=q_(r)||{};let i;r.maxAge!==void 0?i=r.maxAge*1e3:r.expires&&(i=r.expires.getTime()-Date.now());const s=i!==void 0&&i<=0,o=s||n[t]===void 0||n[t]===null,a=On(s?void 0:n[t]??r.default?.()),l=i&&!s?g$(a,i,r.watch&&r.watch!=="shallow"):st(a);{let c=null;try{!Zc&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${t}`))}catch{}const u=(g=!1)=>{if(!g&&(r.readonly||OI(l.value,n[t])))return;const p=l.value===null||l.value===void 0?void 0:r.encode(l.value);p$(t,p,r),n[t]=On(l.value),c?.postMessage({value:r.encode(l.value)})},d=g=>{const p=g.refresh?q_(r)?.[t]:r.decode(g.value);h=!0,l.value=p,n[t]=On(p),oi(()=>{h=!1})};let h=!1;const f=!!Hi();if(f&&yo(()=>{h=!0,u(),c?.close()}),Zc){const g=p=>{const b=p.changed.find(y=>y.name===t),_=p.deleted.find(y=>y.name===t);b&&d({value:b.value}),_&&d({value:null})};Zc.addEventListener("change",g),f&&yo(()=>Zc.removeEventListener("change",g))}else c&&(c.onmessage=({data:g})=>d(g));r.watch&&Nt(l,()=>{h||u(r.refresh)},{deep:r.watch!=="shallow"}),o&&u(o)}return l}function q_(t={}){return e$(document.cookie,t)}const f$=t=>t;function d$(t){const{encode:e,decode:r,...n}=t;return{...n,encode:f$}}function h$(t,e,r={}){const n=d$(r);return e===void 0?W_(t,"",{...n,maxAge:-1}):W_(t,e,n)}function p$(t,e,r={}){document.cookie=h$(t,e,r)}const G_=2147483647;function g$(t,e,r){let n,i,s=0;const o=r?st(t):{value:t};return Hi()&&yo(()=>{i?.(),clearTimeout(n)}),Bg((a,l)=>{r&&(i=Nt(o,l));function c(){const d=e-s,h=d<G_?d:G_;n=setTimeout(()=>{if(s+=h,s<e)return c();o.value=void 0,l()},h)}function u(){s=0,clearTimeout(n),c()}return{get(){return a(),o.value},set(d){u(),o.value=d,l()}}})}function m$(t){if(t?.__asyncLoader&&!t.__asyncResolved)return t.__asyncLoader()}async function y1(t,e=fr()){const{path:r,matched:n}=e.resolve(t);if(!n.length||(e._routePreloaded||=new Set,e._routePreloaded.has(r)))return;const i=e._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>y1(t,e));e._routePreloaded.add(r);for(const s of n){const o=s.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a),1));i.push(a)}await Promise.all(i)}function y$(t={}){const e=t.path||window.location.pathname;let r={};try{r=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||r?.path!==e||r?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:qe().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}function _$(t){return new URL(globalThis.location.href)}function v$(t={}){const e=wt(""),r=wt(t.politeness||"polite"),n=Ua();function i(c="",u="polite"){e.value=c,r.value=u}function s(c){i(c,"polite")}function o(c){i(c,"assertive")}function a(){i(document?.title?.trim(),r.value)}function l(){n?.hooks?.removeHook("dom:rendered",a)}return a(),n?.hooks?.hook("dom:rendered",a),{_cleanup:l,message:e,politeness:r,set:i,polite:s,assertive:o}}function b$(t={}){const e=qe(),r=e._routeAnnouncer||=v$(t);return t.politeness&&t.politeness!==r.politeness.value&&(r.politeness.value=t.politeness),Hi()&&(e._routeAnnouncerDeps||=0,e._routeAnnouncerDeps++,yo(()=>{e._routeAnnouncerDeps--,e._routeAnnouncerDeps===0&&(r._cleanup(),delete e._routeAnnouncer)}
7)),r}const w$=(...t)=>t.find(e=>e!==void 0);function x$(t){const e=t.componentName||"NuxtLink";function r(s){return typeof s=="string"&&s.startsWith("#")}function n(s,o,a){const l=a??t.trailingSlash;if(!s||l!=="append"&&l!=="remove")return s;if(typeof s=="string")return eu(s,l);const c="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:eu(c,l)}}function i(s){const o=fr(),a=An(),l=ke(()=>!!ge(s.target)&&ge(s.target)!=="_self"),c=ke(()=>{const b=ge(s.to)||ge(s.href)||"";return typeof b=="string"&&Ui(b,{acceptRelative:!0})}),u=Ry("RouterLink"),d=typeof u!="string"?u.useLink:void 0,h=ke(()=>{if(ge(s.external))return!0;const b=ge(s.to)||ge(s.href)||"";return typeof b=="object"?!1:b===""||c.value}),f=ke(()=>{const b=ge(s.to)||ge(s.href)||"";return h.value?b:n(b,o.resolve,ge(s.trailingSlash))}),g=h.value?void 0:d?.({...s,to:f,viewTransition:ge(s.viewTransition)}),p=ke(()=>{const b=ge(s.trailingSlash)??t.trailingSlash;if(!f.value||c.value||r(f.value))return f.value;if(h.value){const _=typeof f.value=="object"&&"path"in f.value?mp(f.value):f.value,y=typeof _=="object"?o.resolve(_).href:_;return eu(y,b)}return typeof f.value=="object"?o.resolve(f.value)?.href??null:eu(od(a.app.baseURL,f.value),b)});return{to:f,hasTarget:l,isAbsoluteUrl:c,isExternal:h,href:p,isActive:g?.isActive??ke(()=>f.value===o.currentRoute.value.path),isExactActive:g?.isExactActive??ke(()=>f.value===o.currentRoute.value.path),route:g?.route??ke(()=>o.resolve(f.value)),async navigate(b){await FP(p.value,{replace:ge(s.replace),external:h.value||l.value})}}}return Cr({name:e,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(s,{slots:o}){const a=fr(),{to:l,href:c,navigate:u,isExternal:d,hasTarget:h,isAbsoluteUrl:f}=i(s),g=wt(!1),p=st(null),b=m=>{p.value=s.custom?m?.$el?.nextElementSibling:m?.$el};function _(m){return!g.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===m:s.prefetchOn?.[m]??t.prefetchOn?.[m])&&(s.prefetch??t.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!T$()}async function y(m=qe()){if(g.value)return;g.value=!0;const v=typeof l.value=="string"?l.value:d.value?mp(l.value):a.resolve(l.value).fullPath,w=d.value?new URL(v,window.location.href).href:v;await Promise.all([m.hooks.callHook("link:prefetch",w)?.catch(()=>{}),!d.value&&!h.value&&y1(l.value,a).catch(()=>{})])}if(_("visibility")){const m=qe();let v,w=null;ai(()=>{const E=S$();ks(()=>{v=Pp(()=>{p?.value?.tagName&&(w=E.observe(p.value,async()=>{w?.(),w=null,await y(m)}))})})}),As(()=>{v&&BI(v),w?.(),w=null})}return()=>{if(!d.value&&!h.value&&!r(l.value)){const w={ref:b,to:l.value,activeClass:s.activeClass||t.activeClass,exactActiveClass:s.exactActiveClass||t.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
7return s.custom||(_("interaction")&&(w.onPointerenter=y.bind(null,void 0),w.onFocus=y.bind(null,void 0)),g.value&&(w.class=s.prefetchedClass||t.prefetchedClass),w.rel=s.rel||void 0),gt(Ry("RouterLink"),w,o.default)}const m=s.target||null,v=w$(s.noRel?"":s.rel,t.externalRelAttribute,f.value||h.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:c.value,navigate:u,prefetch:y,get route(){if(!c.value)return;const w=new URL(c.value,window.location.href);return{path:w.pathname,fullPath:w.pathname,get query(){return em(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:v,target:m,isExternal:d.value||h.value,isActive:!1,isExactActive:!1}):null:gt("a",{ref:p,href:c.value||null,rel:v,target:m,onClick:async w=>{if(!(d.value||h.value)){w.preventDefault();try{const E=bx(c.value);return await(s.replace?a.replace(E):a.push(E))}finally{if(r(l.value)){const E=l.value.slice(1);let x=E;try{x=decodeURIComponent(E)}catch{}document.getElementById(x)?.focus()}}}}},o.default?.())}}})}const Qd=x$(vP);function eu(t,e){const r=e==="append"?sx:cc;return Ui(t)&&!t.startsWith("http")?t:r(t,!0)}function S$(){const t=qe();if(t._observer)return t._observer;let e=null;const r=new Map,n=(s,o)=>(e||=new IntersectionObserver(a=>{for(const l of a){const c=r.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}}),r.set(s,o),e.observe(s),()=>{r.delete(s),e?.unobserve(s),r.size===0&&(e?.disconnect(),e=null)});return t._observer={observe:n}}const E$=/2g/;function T$(){const t=navigator.connection;return!!(t&&(t.saveData||E$.test(t.effectiveType)))}const C$=/#/g,A$=/&/g,k$=/\//g,R$=/=/g,P$=/\+/g,O$=/%5e/gi,M$=/%60/gi,I$=/%7c/gi,$$=/%20/gi;function D$(t){return encodeURI(""+t).replace(I$,"|")}function Op(t){return D$(typeof t=="string"?t:JSON.stringify(t)).replace(P$,"%2B").replace($$,"+").replace(C$,"%23").replace(A$,"%26").replace(M$,"`").replace(O$,"^").replace(k$,"%2F")}function Jd(t){return Op(t).replace(R$,"%3D")}function L$(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${Jd(t)}=${Op(r)}`).join("&"):`${Jd(t)}=${Op(e)}`:Jd(t)}function N$(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>L$(e,t[e])).filter(Boolean).join("&")}const F$=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,_1=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,j$=/^([/\\]\s*){2,}[^/\\]/,H$=/^\.?\//;function cd(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?F$.test(t):_1.test(t)||(e.acceptRelative?j$.test(t):!1)}function B$(t="",e){return t.endsWith("/")}function dm(t="",e){return(B$(t)?t.slice(0,-1):t)||"/"}function hm(t="",e){return t.endsWith("/")?t:t+"/"}function U$(t=""){return t.startsWith("/")}function z$(t=""){return U$(t)?t:"/"+t}function Y_(t,e){if(V$(e)||cd(t))return t;const r=dm(e);if(t.startsWith(r)){const n=t[r.length];if(!n||n==="/"||n==="?")return t}return q$(r,t)}function V$(t){return!t||t==="/"}function W$(t){return t&&t!=="/"}function q$(t,...e){let r=t||"";for(const n of e.filter(i=>W$(i)))if(r){const i=n.replace(H$,"");r=hm(r)+i}else r=n;return r}function G$(t){return Y$(t,"https://")}function Y$(t,e){let r=t.match(_1);return r||(r=t.match(/^\/{2,}/)),r?e+t.slice(r[0].length):e+t}const K$=Symbol.for("ufo:protocolRelative");function v1(t="",e){const r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,d,h=""]=r;return{protocol:d.toLowerCase(),pathname:h,href:d+h,auth:"",host:"",search:"",hash:""}}if(!cd(t,{acceptRelative:!0}))return K_(t);const[,n="",i,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}
7=K_(a);return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:l,search:c,hash:u,[K$]:!n}}function K_(t=""){const[e="",r="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:n}}function X$(t){typeof t.indexable<"u"&&(t.indexable=String(t.indexable)!=="false"),typeof t.trailingSlash<"u"&&!t.trailingSlash&&(t.trailingSlash=String(t.trailingSlash)!=="false"),t.url&&!cd(String(t.url),{acceptRelative:!0,strict:!1})&&(t.url=G$(String(t.url)));const e=Object.keys(t).sort((n,i)=>n.localeCompare(i)),r={};for(const n of e)r[n]=t[n];return r}function Q$(t){const r=[];function n(s){if(!s||typeof s!="object"||Object.keys(s).length===0)return()=>{};s._context;const o={};for(const a in s){const l=s[a];typeof l<"u"&&l!==""&&(o[a]=l)}return Object.keys(o).filter(a=>!a.startsWith("_")).length===0?()=>{}:(r.push(o),()=>{const a=r.indexOf(o);a!==-1&&r.splice(a,1)})}function i(s){const o={};s?.debug&&(o._context={}),o._priority={};for(const a in r.sort((l,c)=>(l._priority||0)-(c._priority||0)))for(const l in r[a]){const c=l,u=s?.resolveRefs?Oe(r[a][l]):r[a][l];!l.startsWith("_")&&typeof u<"u"&&u!==""&&(o[l]=u,typeof r[a]._priority<"u"&&r[a]._priority!==-1&&(o._priority[c]=r[a]._priority),s?.debug&&(o._context[c]=r[a]._context?.[c]||r[a]._context||"anonymous"))}return s?.skipNormalize?o:X$(o)}return{stack:r,push:n,get:i}}const J$=mt({name:"nuxt-site-config:init",enforce:"pre",async setup(t){const e=Q$(),r=za("site-config");{const n=r.value||window.__NUXT_SITE_CONFIG__||{};for(const i in n)i[0]!=="_"&&e.push({[i]:n[i],_priority:n._priority?.[i]||-1})}return{provide:{nuxtSiteConfig:e}}}});function Rc(t,e){return Hi()?(yo(t,e),!0):!1}const Zd=new WeakMap,Z$=(...t)=>{var e;const r=t[0],n=(e=Ar())===null||e===void 0?void 0:e.proxy,i=n??Hi();if(i==null&&!To())throw new Error("injectLocal must be called in setup");return i&&Zd.has(i)&&r in Zd.get(i)?Zd.get(i)[r]:zt(...t)},b1=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pm=t=>t!=null,eD=Object.prototype.toString,tD=t=>eD.call(t)==="[object Object]",Sn=()=>{};function X_(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function PV(t,e,r=!1){return e.reduce((n,i)=>(i in t&&(!r||t[i]!==void 0)&&(n[i]=t[i]),n),{})}function Q_(t){return Object.entries(t)}function Ru(t){return Array.isArray(t)?t:[t]}function rD(t,e={}){if(!ct(t))return Xb(t);const r=Array.isArray(t.value)?Array.from({length:t.value.length}):{};for(const n in t.value)r[n]=Bg(()=>({get(){return t.value[n]},set(i){var s;if(!((s=Oe(e.replaceRef))!==null&&s!==void 0)||s)if(Array.isArray(t.value)){const o=[...t.value];o[n]=i,t.value=o}else{const o={...t.value,[n]:i};Object.setPrototypeOf(o,Object.getPrototypeOf(t.value)),t.value=o}else t.value[n]=i}}));return r}const nD=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,iD=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function sD(t,e,r,n){let i=t<12?"AM":"PM";return n&&(i=i.split("").reduce((s,o)=>s+=`${o}.`,"")),r?i.toLowerCase():i}function Ds(t){const e=["th","st","nd","rd"],r=t%100;return t+(e[(r-20)%10]||e[r]||e[0])}function oD(t,e,r={}){var n;const i=t.getFullYear(),s=t.getMonth(),o=t.getDate(),a=t.getHours(),l=t.getMinutes(),c=t.getSeconds(),u=t.getMilliseconds(),d=t.getDay(),h=(n=r.customMeridiem)!==null&&n!==void 0?n:sD,f=p=>{var b;return(b=p.split(" ")[1])!==null&&b!==void 0?b:""},g={Yo:()=>Ds(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>Ds(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(Oe(r.locales),{month:"short"}),MMMM:()=>t.toLocaleDateString(Oe(r.locales),{month:"long"}),D:()=>String(o),Do:()=>Ds(o),DD:()=>`${o}`.padStart(2,"0"),H:()=>String(a),Ho:()=>Ds(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>Ds(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>Ds(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>Ds(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${u}`.padStart(3,"0"),d:()=>d,dd:()=>t.toLocaleDateString(Oe(r.locales),{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(Oe(r.locales),{weekday:"short"}),dddd:()=>t.toLocaleDateString(Oe(r.locales),{weekday:"long"}),A:()=>h(a,l),AA:()=>h(a,l,!1,!0),a:()=>h(a,l,!0),aa:()=>h(a,l,!0,!0),z:()=>f(t.toLocaleDateString(Oe(r.locales),{timeZoneName:"shortOffset"})),zz:()=>f(t.toLocaleDateString(Oe(r.locales),{timeZoneName:"shortOffset"})),zzz:()=>f(t.toLocaleDateString(Oe(r.locales),{timeZoneName:"shortOffset"})),zzzz:()=>f(t.toLocaleDateString(Oe(r.locales),{timeZoneName:"longOffset"}))};return e.replace(iD,(p,b)=>{var _,y;return(_=b??((y=g[p])===null||y===void 0?void 0:y.call(g)))!==null&&_!==void 0?_:p})}function aD(t){if(t===null)return new Date(NaN);if(t===void 0)return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){const e=t.match(nD);if(e){const r=e[2]-1||0,n=(e[7]||"0").substring(0,3);return new Date(e[1],r,e[3]||1,e[4]||0,e[5]||0,e[6]||0,n)}}return new Date(t)}function OV(t,e="HH:mm:ss",r={}){return ke(()=>oD(aD(Oe(t)),Oe(e),r))}function lD(t,e,r){return Nt(t,e,{...r,immediate:!0})}function cD(t,e,r){const n=Nt(t,(i,s,o)=>
7{i&&(r?.once&&oi(()=>n()),e(i,s,o))},{...r,once:!1});return n}const Co=b1?window:void 0;function ni(t){var e;const r=Oe(t);return(e=r?.$el)!==null&&e!==void 0?e:r}function Ei(...t){const e=(n,i,s,o)=>(n.addEventListener(i,s,o),()=>n.removeEventListener(i,s,o)),r=ke(()=>{const n=Ru(Oe(t[0])).filter(i=>i!=null);return n.every(i=>typeof i!="string")?n:void 0});return lD(()=>{var n,i;return[(n=(i=r.value)===null||i===void 0?void 0:i.map(s=>ni(s)))!==null&&n!==void 0?n:[Co].filter(s=>s!=null),Ru(Oe(r.value?t[1]:t[0])),Ru(ge(r.value?t[2]:t[1])),Oe(r.value?t[3]:t[2])]},([n,i,s,o],a,l)=>{if(!n?.length||!i?.length||!s?.length)return;const c=tD(o)?{...o}:o,u=n.flatMap(d=>i.flatMap(h=>s.map(f=>e(d,h,f,c))));l(()=>{u.forEach(d=>d())})},{flush:"post"})}function uD(){const t=wt(!1),e=Ar();return e&&ai(()=>{t.value=!0},e),t}function gm(t){const e=uD();return ke(()=>(e.value,!!t()))}function fD(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function MV(...t){let e,r,n={};t.length===3?(e=t[0],r=t[1],n=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,r=t[0],n=t[1]):(e=t[0],r=t[1]):(e=!0,r=t[0]);const{target:i=Co,eventName:s="keydown",passive:o=!1,dedupe:a=!1}=n,l=fD(e);return Ei(i,s,u=>{u.repeat&&Oe(a)||l(u)&&r(u)},o)}const dD=Symbol("vueuse-ssr-width");function hD(){const t=To()?Z$(dD,null):null;return typeof t=="number"?t:void 0}function IV(t,e={}){const{window:r=Co,ssrWidth:n=hD()}=e,i=gm(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=wt(typeof n=="number"),o=wt(),a=wt(!1),l=c=>{a.value=c.matches};return Zf(()=>{if(s.value){s.value=!i.value,a.value=Oe(t).split(",").some(c=>{const u=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||h);return d&&f&&(f=n>=X_(d[1])),h&&f&&(f=n<=X_(h[1])),u?!f:f});return}i.value&&(o.value=r.matchMedia(Oe(t)),a.value=o.value.matches)}),Ei(o,"change",l,{passive:!0}),ke(()=>a.value)}function $V(t,e={}){var r;const{pointerTypes:n,preventDefault:i,stopPropagation:s,exact:o,onMove:a,onEnd:l,onStart:c,initialValue:u,axis:d="both",draggingElement:h=Co,containerElement:f,handle:g=t,buttons:p=[0]}=e,b=st((r=Oe(u))!==null&&r!==void 0?r:{x:0,y:0}),_=st(),y=x=>n?n.includes(x.pointerType):!0,m=x=>{Oe(i)&&x.preventDefault(),Oe(s)&&x.stopPropagation()},v=x=>{var S;if(!Oe(p).includes(x.button)||Oe(e.disabled)||!y(x)||Oe(o)&&x.target!==Oe(t))return;const T=Oe(f),P=T==null||(S=T.getBoundingClientRect)===null||S===void 0?void 0:S.call(T),F=Oe(t).getBoundingClientRect(),O={x:x.clientX-(T?F.left-P.left+T.scrollLeft:F.left),y:x.clientY-(T?F.top-P.top+T.scrollTop:F.top)};c?.(O,x)!==!1&&(_.value=O,m(x))},w=x=>{if(Oe(e.disabled)||!y(x)||!_.value)return;const S=Oe(f),T=Oe(t).getBoundingClientRect();let{x:P,y:F}=b.value;(d==="x"||d==="both")&&(P=x.clientX-_.value.x,S&&(P=Math.min(Math.max(0,P),S.scrollWidth-T.width))),(d==="y"||d==="both")&&(F=x.clientY-_.value.y,S&&(F=Math.min(Math.max(0,F),S.scrollHeight-T.height))),b.value={x:P,y:F},a?.(b.value,x),m(x)},E=x=>{Oe(e.disabled)||!y(x)||_.value&&(_.value=void 0,l?.(b.value,x),m(x))};if(b1){const x=()=>{var S;return{capture:(S=e.capture)!==null&&S!==void 0?S:!0,passive:!Oe(i)}};Ei(g,"pointerdown",v,x),Ei(h,"pointermove",w,x),Ei(h,"pointerup",E,x)}return{...rD(b),position:b,isDragging:ke(()=>!!_.value),style:ke(()=>`left:${b.value.x}px;top:${b.value.y}px;`)}}function pD(t,e,r={}){const{window:n=Co,...i}=r;let s;const o=gm(()=>n&&"ResizeObserver"in n),a=()=>{s&&(s.disconnect(),s=void 0)},l=Nt(ke(()=>{const u=Oe(t);return Array.isArray(u)?u.map(d=>ni(d)):[ni(u)]}),u=>{if(a(),o.value&&n){s=new ResizeObserver(e);for(const d of u)d&&s.observe(d,i)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Rc(c),{isSupported:o,stop:c}}function DV(t,e,r={}){const{root:n,rootMargin:i="0px",threshold:s=0,window:o=Co,immediate:a=!0}=r,l=gm(()=>o&&"IntersectionObserver"in o),c=ke(()=>Ru(Oe(t)).map(ni).filter(pm));let u=Sn;const d=wt(a),h=l.value?Nt(()=>[c.value,ni(n),d.value],([g,p])=>{if(u(),!d.value||!g.length)return;const b=new IntersectionObserver(e,{root:ni(p),rootMargin:i,threshold:s});g.forEach(_=>_&&b.observe(_)),u=()=>{b.disconnect(),u=Sn}},{immediate:a,flush:"post"}):Sn,f=()=>{u(),h(),d.value=!1};return Rc(f),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:f}}const gD={page:t=>[t.pageX,t.pageY],client:t=>[t.clientX,t.clientY],screen:t=>[t.screenX,t.screenY],movement:t=>t instanceof MouseEvent?[t.movementX,t.movementY]:null};function LV(t={}){const{type:e="page",touch:r=!0,resetOnTouchEnds:n=!1,initialValue:i={x:0,y:0},window:s=Co,target:o=s,scroll:a=!0,eventFilter:l}=t;
7let c=null,u=0,d=0;const h=wt(i.x),f=wt(i.y),g=wt(null),p=typeof e=="function"?e:gD[e],b=x=>{const S=p(x);c=x,S&&([h.value,f.value]=S,g.value="mouse"),s&&(u=s.scrollX,d=s.scrollY)},_=x=>{if(x.touches.length>0){const S=p(x.touches[0]);S&&([h.value,f.value]=S,g.value="touch")}},y=()=>{if(!c||!s)return;const x=p(c);c instanceof MouseEvent&&x&&(h.value=x[0]+s.scrollX-u,f.value=x[1]+s.scrollY-d)},m=()=>{h.value=i.x,f.value=i.y},v=l?x=>l(()=>b(x),{}):x=>b(x),w=l?x=>l(()=>_(x),{}):x=>_(x),E=l?()=>l(()=>y(),{}):()=>y();if(o){const x={passive:!0};Ei(o,["mousemove","dragover"],v,x),r&&e!=="movement"&&(Ei(o,["touchstart","touchmove"],w,x),n&&Ei(o,"touchend",m,x)),a&&e==="page"&&Ei(s,"scroll",E,x)}return{x:h,y:f,sourceType:g}}function tu(t){return`${t.charAt(0).toUpperCase()}${t.slice(1)}`}const mD=t=>{const e=Tr({}),r=Q_(t.breakpoints).sort((o,a)=>a[1]-o[1]),n=Q_(t.heightBreakpoints).sort((o,a)=>a[1]-o[1]),i=(o,a)=>{e[`is${tu(o)}Up`]=a,e[`is${tu(o)}Down`]=!a},s=o=>{e.orientation=o,e.isPortrait=o==="portrait",e.isLandscape=o==="landscape"};return r.forEach(([o,a])=>{i(o,t.defaultWindowWidth>=a)}),n.forEach(([o,a])=>{i(`${o}Height`,t.defaultWindowHeight>=a)}),s("portrait"),e.current=ke(()=>r.find(o=>e[`is${tu(o[0])}Up`]===!0)?.[0]||"under-minimum"),e.heightCurrent=ke(()=>n.find(o=>e[`is${tu(o[0])}HeightUp`]===!0)?.[0]||"under-minimum"),ks(()=>{r.forEach(([a,l])=>{const c=window.matchMedia(`(min-width: ${l}px)`);i(a,c.matches),c.addEventListener("change",({matches:u})=>{i(a,u)})}),n.forEach(([a,l])=>{const c=window.matchMedia(`(min-height: ${l}px)`);i(`${a}Height`,c.matches),c.addEventListener("change",({matches:u})=>{i(`${a}Height`,u)})});const o=window.matchMedia("(orientation: portrait)");s(o.matches?"portrait":"landscape"),o.addEventListener("change",({matches:a})=>{s(a?"portrait":"landscape")})}),e},yD=mt({name:"device",enforce:"pre",setup:()=>{const t=An().public.breakpoints;return{provide:{breakpoints:mD({breakpoints:t.breakpoints,heightBreakpoints:t.heightBreakpoints,defaultWindowWidth:t.defaultWindowWidth,defaultWindowHeight:t.defaultWindowHeight})}}}}),_D=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,vD=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c([\- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac([ \-/])|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/([klu])|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t([\- ov])|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[23]|n30(0|2)|n50([025])|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan([adt])|pdxg|pg(13|-([1-8c]))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c([\-01])|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i,bD=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,wD=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c([\- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac([ \-/])|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/([klu])|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t([\- ov])|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[23]|n30(0|2)|n50([025])|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan([adt])|pdxg|pg(13|-([1-8c]))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c([\-01])|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i,xD=t=>_D.test(t)||vD.test(t.slice(0,4)),SD=t=>bD.test(t)||wD.test(t.slice(0,4)),ED=t=>/iPad|iPhone|iPod/.test(t),TD=t=>/android/i.test(t),CD=t=>/Windows/.test(t),AD=t=>/Mac OS X/.test(t),kD=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function RD(t){for(const e of kD)if(e.regex.test(t))return e.name;return""}function J_(t){const{defaultUserAgent:e,headers:r}=t||{};let n=!1,i=!1,s=!1,o=!1;if(e==="Amazon CloudFront")r["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,i=!0),r["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,i=!0),r["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,i=!1),r["cloudfront-is-ios-viewer"]==="true"&&(s=!0),r["cloudfront-is-android-viewer"]==="true"&&(o=!0);else if(r&&r["cf-device-type"])switch(r["cf-device-type"]){case"mobile":n=!0,i=!0;break;case"tablet":n=!1,i=!0;break;
7case"desktop":n=!1,i=!1;break}else n=xD(e),i=SD(e),s=ED(e),o=TD(e);const a=CD(e),l=AD(e),c=RD(e);return{userAgent:e,isMobile:n,isMobileOrTablet:i,isTablet:!n&&i,isDesktop:!i,isIos:s,isAndroid:o,isWindows:a,isMacOS:l,isApple:l||s,isDesktopOrTablet:!n,isSafari:c==="Safari",isFirefox:c==="Firefox",isEdge:c==="Edge",isChrome:c==="Chrome",isSamsung:c==="Samsung"}}const PD=t=>{const e=za(()=>t.defaultUserAgent,"$l_mTUefzEm");e.value!==navigator.userAgent&&qe().hook("page:finish",()=>{const n=J_({defaultUserAgent:navigator.userAgent,headers:t.headers});Object.entries(n).forEach(([i,s])=>{r[i]=s})});const r=Tr(J_({defaultUserAgent:e.value,headers:t.headers}));return r},OD=mt({name:"device",enforce:"pre",setup:()=>{const t=An().public.device;return{provide:{device:PD({defaultUserAgent:t.defaultUserAgent,headers:YI()})}}}}),MD=mt({name:"nuxt:payload",setup(t){const e=new Set;fr().beforeResolve(async(r,n)=>{if(r.path===n.path)return;const i=await w_(r.path);if(i){for(const s of e)delete t.static.data[s];for(const s in i.data)s in t.static.data||e.add(s),t.static.data[s]=i.data[s]}}),ks(()=>{t.hooks.hook("link:prefetch",async r=>{const{hostname:n}=new URL(r,window.location.href);n===window.location.hostname&&await w_(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(am,1e3)})}}),ID=mt(()=>{const t=fr();ks(()=>{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),$D=mt(t=>{let e;async function r(){let n;try{n=await am()}catch(i){const s=i;if(!("status"in s&&(s.status===404||s.status===403)))throw s}e&&clearTimeout(e),e=setTimeout(r,f_);try{const i=await $fetch(nm("builds/latest.json")+`?${Date.now()}`);i.id!==n?.id&&(t.hooks.callHook("app:manifest:update",i),e&&clearTimeout(e))}catch{}}ks(()=>{e=setTimeout(r,f_)})}),DD=mt({name:"nuxt:chunk-reload",setup(t){const e=fr(),r=An(),n=new Set;e.beforeEach(()=>{n.clear()}),t.hook("app:chunkError",({error:s})=>{n.add(s)});function i(s){const o=od(r.app.baseURL,s.fullPath);y$({path:o,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(i)}),e.onError((s,o)=>{n.has(s)&&i(o)})}}),LD=mt({name:"pinia",setup(t){const e=HP();return t.vueApp.use(e),Sa(e),t.payload&&t.payload.pinia&&(e.state.value=t.payload.pinia),{provide:{pinia:e}}},hooks:{"app:rendered"(){const t=qe();t.payload.pinia=Ye(t.$pinia).state.value,Sa(void 0)}}});const eh="%separator";function ND(t,e,r=!1){let n;if(e==="s"||e==="pageTitle")n=t.pageTitle;else if(e.includes(".")){const i=e.indexOf(".");n=t[e.substring(0,i)]?.[e.substring(i+1)]}else n=t[e];if(n!==void 0)return r?(n||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):n||""}function ru(t,e,r,n=!1){if(typeof t!="string"||!t.includes("%"))return t;let i=t;try{i=decodeURI(t)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return t;const o=t.includes(eh);return t=t.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===eh||!s.includes(a))return a;const l=ND(e,a.slice(1),n);return l!==void 0?l:a}).trim(),o&&(t=t.split(eh).map(a=>a.trim()).filter(a=>a!=="").join(r?` ${r} `:" ")),t}const FD={meta:"content",link:"href",htmlAttrs:"lang"},jD=["innerHTML","textContent"],HD=t=>({key:"template-params",hooks:{"entries:normalize":e=>{const r=e.tags.filter(n=>n.tag==="templateParams"&&n.mode==="server")?.[0]?.props||{};Object.keys(r).length&&(t._ssrPayload={templateParams:{...t._ssrPayload?.templateParams||{},...r}})},"tags:resolve":({tagMap:e,tags:r})=>{const n=e.get("templateParams")?.props||{},i=n.separator||"|";delete n.separator,n.pageTitle=ru(n.pageTitle||t._title||"",n,i);for(const s of r){if(s.processTemplateParams===!1)continue;const o=FD[s.tag];if(o&&typeof s.props[o]=="string")s.props[o]=ru(s.props[o],n,i);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const a of jD)typeof s[a]=="string"&&(s[a]=ru(s[a],n,i,s.tag==="script"&&s.props.type.endsWith("json")))}t._templateParams=n,t._separator=i},"tags:afterResolve":({tagMap:e})=>{const r=e.get("title");r?.textContent&&r.processTemplateParams!==!1&&(r.textContent=ru(r.textContent,t._templateParams,t._separator))}}}),BD=mt({name:"scripts:init",env:{islands:!1},parallel:!0,setup(){return{provide:{scripts:{}}}}}),UD=mt({name:"nuxt:global-components"}),os={default:LA(()=>Te(()=>import("./CSzzGtwK.js"),__vite__mapDeps([12,13,14,15,16,8,2,7]),import.meta.url).then(t=>t.default||t))},zD=mt({name:"nuxt:prefetch",setup(t){const e=fr();t.hooks.hook("app:mounted",()=>{e.beforeEach(async r=>{const n=r?.meta?.layout;n&&typeof os[n]=="function"&&await os[n]()})}),t.hooks.hook("link:prefetch",r=>{if(Ui(r))return;const n=e.resolve(r);if(!n)return;const i=n.meta.layout;let s=i1(n.meta.middleware);s=s.filter(o=>
vendor: 6,686 bytes, line 7
7typeof o=="string");for(const o of s)typeof kp[o]=="function"&&kp[o]();typeof i=="string"&&i in os&&m$(os[i])})}});function mm(t){const e=Tr({});return Zf(()=>{const r=qe().$nuxtSiteConfig.get(kc({resolveRefs:!0},t));e&&r&&Object.assign(e,r)}),delete e._priority,e}const VD=mt(()=>{const t=Ua();if(!t)return;const e=mm(),r={meta:[],templateParams:{site:e,siteUrl:e.url,siteName:e.name}};e.separator&&(r.templateParams.separator=e.separator),e.titleSeparator&&(r.templateParams.titleSeparator=e.titleSeparator),e.description&&(r.templateParams.siteDescription=e.description,r.meta.push({name:"description",content:"%site.description",tagPriority:"low"})),t.push(r)});function mi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w1(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var dn={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ca={duration:.5,overwrite:!1,delay:0},ym,ur,bt,En=1e8,lt=1/En,Mp=Math.PI*2,WD=Mp/4,qD=0,x1=Math.sqrt,GD=Math.cos,YD=Math.sin,nr=function(e){return typeof e=="string"},Ot=function(e){return typeof e=="function"},Di=function(e){return typeof e=="number"},_m=function(e){return typeof e>"u"},li=function(e){return typeof e=="object"},qr=function(e){return e!==!1},vm=function(){return typeof window<"u"},nu=function(e){return Ot(e)||nr(e)},S1=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Sr=Array.isArray,KD=/random\([^)]+\)/g,XD=/,\s*/g,Z_=/(?:-?\.?\d|\.)+/gi,E1=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ko=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,th=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,T1=/[+-]=-?[.\d]+/,QD=/[^,'"\[\]\s]+/gi,JD=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ct,Yn,Ip,bm,pn={},pf={},C1,A1=function(e){return(pf=Aa(e,pn))&&Xr},wm=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},fc=function(e,r){return!r&&console.warn(e)},k1=function(e,r){return e&&(pn[e]=r)&&pf&&(pf[e]=r)||pn},dc=function(){return 0},ZD={suppressEvents:!0,isStart:!0,kill:!1},Pu={suppressEvents:!0,kill:!1},eL={suppressEvents:!0},xm={},ms=[],$p={},R1,tn={},rh={},ev=30,Ou=[],Sm="",Em=function(e){var r=e[0],n,i;if(li(r)||Ot(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=Ou.length;i--&&!Ou[i].targetTest(r););n=Ou[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Z1(e[i],n)))||e.splice(i,1);return e},no=function(e){return e._gsap||Em(Tn(e))[0]._gsap},P1=function(e,r,n){return(n=e[r])&&Ot(n)?e[r]():_m(n)&&e.getAttribute&&e.getAttribute(r)||n},Gr=function(e,r){return(e=e.split(",")).forEach(r)||e},Dt=function(e){return Math.round(e*1e5)/1e5||0},Tt=function(e){return Math.round(e*1e7)/1e7||0},oa=function(e,r){var n=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},tL=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},gf=function(){var e=ms.length,r=ms.slice(0),n,i;for($p={},ms.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Tm=function(e){return!!(e._initted||e._startAt||e.add)},O1=function(e,r,n,i){ms.length&&!ur&&gf(),e.render(r,n,!!(ur&&r<0&&Tm(e))),ms.length&&!ur&&gf()},M1=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(QD).length<2?r:nr(e)?e.trim():e},I1=function(e){return e},gn=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},rL=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Aa=function(e,r){for(var n in r)e[n]=r[n];return e},tv=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=li(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},mf=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},$l=function(e){var r=e.parent||Ct,n=e.keyframes?rL(Sr(e.keyframes)):gn;if(qr(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},nL=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},$1=function(e,r,n,i,s){var o=e[i],a;if(s)for(a=r[s];o&&o[s]>a;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[i]=r,r._prev=o,r.parent=r._dp=e,r},ud=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=r._prev,o=r._next;s?s._next=o:e[n]===r&&(e[n]=o),o?o._prev=s:e[i]===r&&(e[i]=s),r._next=r._prev=r.parent=null},ws=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},io=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},iL=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},Dp=function(e,r,n,i){return e._startAt&&(ur?e._startAt.revert(Pu):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},sL=function t(e){return!e||e._ts&&t(e.parent)},rv=function(e){return e._repeat?ka(e._tTime,e=e.duration()+e._rDelay)*e:0},ka=function(e,r){var n=Math.floor(e=Tt(e/r));return e&&n===e?n-1:n},yf=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},fd=function(e){return e._end=Tt(e._start+(e._tDur/Math.abs(e._ts||e._rts||lt)||0))},dd=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Tt(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),fd(e),n._dirty||io(n,e)),e},D1=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=yf(e.rawTime(),r),(!r._dur||Pc(0,r.totalDuration(),n)-r._tTime>lt)&&r.render(n,!0)),io(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-lt}},Qn=function(e,r,n,i){return r.parent&&ws(r),r._start=Tt((Di(n)?n:n||e!==Ct?vn(e,n,r):e._time)+r._delay),r._end=Tt(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),$1(e,r,"_first","_last",e._sort?"_start":0),Lp(r)||(e._recent=r),i||D1(e,r),e._ts<0&&dd(e,e._tTime),e},L1=function(e,r){return(pn.ScrollTrigger||wm("scrollTrigger",r))&&pn.ScrollTrigger.create(r,e)},N1=function(e,r,n,i,s){if(Am(e,r,s),!e._initted)return 1;if(!n&&e._pt&&!ur&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&R1!==sn.frame)return ms.push(e),e._lazy=[s,i],1},oL=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Lp=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},aL=function(e,r,n,i){var s=e.ratio,o=r<0||!r&&(!e._start&&oL(e)&&!(!e._initted&&Lp(e))||(e._ts<0||e._dp._ts<0)&&!Lp(e))?0:1,a=e._rDelay,l=0,c,u,d;if(a&&e._repeat&&(l=Pc(0,e._tDur,r),u=ka(l,a),e._yoyo&&u&1&&(o=1-o),u!==ka(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 2,207 bytes, line 7
7date())),o!==s||ur||i||e._zTime===lt||!r&&e._zTime){if(!e._initted&&N1(e,r,i,n,l))return;for(d=e._zTime,e._zTime=r||(n?lt:0),n||(n=r&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;r<0&&Dp(e,r,n,!0),e._onUpdate&&!n&&ln(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&&ln(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===o&&(o&&ws(e,1),!n&&!ur&&(ln(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},lL=function(e,r,n){var i;if(n>r)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},Ra=function(e,r,n,i){var s=e._repeat,o=Tt(r)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Tt(o*(s+1)+e._rDelay*s):o,a>0&&!i&&dd(e,e._tTime=e._tDur*a),e.parent&&fd(e),n||io(e.parent,e),e},nv=function(e){return e instanceof Nr?io(e):Ra(e,e._dur)},cL={_start:0,endTime:dc,totalDuration:dc},vn=function t(e,r,n){var i=e.labels,s=e._recent||cL,o=e.duration()>=En?s.endTime(!1):e._dur,a,l,c;return nr(r)&&(isNaN(r)||r in i)?(l=r.charAt(0),c=r.substr(-1)==="%",a=r.indexOf("="),l==="<"||l===">"?(a>=0&&(r=r.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(c?(a<0?s:n).totalDuration()/100:1)):a<0?(r in i||(i[r]=o),i[r]):(l=parseFloat(r.charAt(a-1)+r.substr(a+1)),c&&n&&(l=l/100*(Sr(n)?n[0]:n).totalDuration()),a>1?t(e,r.substr(0,a-1),n)+l:o+l)):r==null?o:+r},Dl=function(e,r,n){var i=Di(r[1]),s=(i?2:1)+(e<2?0:1),o=r[s],a,l;if(i&&(o.duration=r[1]),o.parent=n,e){for(a=o,l=n;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=qr(l.vars.inherit)&&l.parent;o.immediateRender=qr(a.immediateRender),e<2?o.runBackwards=1:o.startAt=r[s-1]}return new Ht(r[0],o,r[s+1])},Rs=function(e,r){return e||e===0?r(e):r},Pc=function(e,r,n){return n<e?e:n>r?r:n},wr=function(e,r){return!nr(e)||!(r=JD.exec(e))?"":r[1]},uL=function(e,r,n){return Rs(n,function(i){return Pc(e,r,i)})},Np=[].slice,F1=function(e,r){return e&&li(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&li(e[0]))&&!e.nodeType&&e!==Yn},fL=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var s;
vendor: 5,867 bytes, line 7
7return nr(i)&&!r||F1(i,1)?(s=n).push.apply(s,Tn(i)):n.push(i)})||n},Tn=function(e,r,n){return bt&&!r&&bt.selector?bt.selector(e):nr(e)&&!n&&(Ip||!Pa())?Np.call((r||bm).querySelectorAll(e),0):Sr(e)?fL(e,n):F1(e)?Np.call(e,0):e?[e]:[]},Fp=function(e){return e=Tn(e)[0]||fc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Tn(r,n.querySelectorAll?n:n===e?fc("Invalid scope")||bm.createElement("div"):e)}},j1=function(e){return e.sort(function(){return .5-Math.random()})},H1=function(e){if(Ot(e))return e;var r=li(e)?e:{each:e},n=so(r.ease),i=r.from||0,s=parseFloat(r.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,c=r.axis,u=i,d=i;return nr(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],d=i[1]),function(h,f,g){var p=(g||r).length,b=o[p],_,y,m,v,w,E,x,S,T;if(!b){if(T=r.grid==="auto"?0:(r.grid||[1,En])[1],!T){for(x=-En;x<(x=g[T++].getBoundingClientRect().left)&&T<p;);T<p&&T--}for(b=o[p]=[],_=l?Math.min(T,p)*u-.5:i%T,y=T===En?0:l?p*d/T-.5:i/T|0,x=0,S=En,E=0;E<p;E++)m=E%T-_,v=y-(E/T|0),b[E]=w=c?Math.abs(c==="y"?v:m):x1(m*m+v*v),w>x&&(x=w),w<S&&(S=w);i==="random"&&j1(b),b.max=x-S,b.min=S,b.v=p=(parseFloat(r.amount)||parseFloat(r.each)*(T>p?p-1:c?c==="y"?p/T:T:Math.max(T,p/T))||0)*(i==="edges"?-1:1),b.b=p<0?s-p:s,b.u=wr(r.amount||r.each)||0,n=n&&p<0?X1(n):n}return p=(b[h]-b.min)/b.max||0,Tt(b.b+(n?n(p):p)*b.v)+b.u}},jp=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Tt(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Di(n)?0:wr(n))}},B1=function(e,r){var n=Sr(e),i,s;return!n&&li(e)&&(i=n=e.radius||En,e.values?(e=Tn(e.values),(s=!Di(e[0]))&&(i*=i)):e=jp(e.increment)),Rs(r,n?Ot(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),c=En,u=0,d=e.length,h,f;d--;)s?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),h<c&&(c=h,u=d);return u=!i||c<=i?e[u]:o,s||u===o||Di(o)?u:u+wr(o)}:jp(e))},U1=function(e,r,n,i){return Rs(Sr(e)?!r:n===!0?!!(n=0):!i,function(){return Sr(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*i)/i})},dL=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(i){return r.reduce(function(s,o){return o(s)},i)}},hL=function(e,r){return function(n){return e(parseFloat(n))+(r||wr(n))}},pL=function(e,r,n){return V1(e,r,0,1,n)},z1=function(e,r,n){return Rs(n,function(i){return e[~~r(i)]})},gL=function t(e,r,n){var i=r-e;return Sr(e)?z1(e,t(0,e.length),r):Rs(n,function(s){return(i+(s-e)%i)%i+e})},mL=function t(e,r,n){var i=r-e,s=i*2;return Sr(e)?z1(e,t(0,e.length-1),r):Rs(n,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},hc=function(e){return e.replace(KD,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(XD);return U1(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},V1=function(e,r,n,i,s){var o=r-e,a=i-n;return Rs(s,function(l){return n+((l-e)/o*a||0)})},yL=function t(e,r,n,i){var s=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!s){var o=nr(e),a={},l,c,u,d,h;if(n===!0&&(i=1)&&(n=null),o)e={p:e},r={p:r};else if(Sr(e)&&!Sr(r)){for(u=[],d=e.length,h=d-2,c=1;c<d;c++)u.push(t(e[c-1],e[c]));d--,s=function(g){g*=d;var p=Math.min(h,~~g);return u[p](g-p)},n=r}else i||(e=Aa(Sr(e)?[]:{},e));if(!u){for(l in r)Cm.call(a,e,l,"get",r[l]);s=function(g){return Pm(g,a)||(o?e.p:e)}}}return Rs(n,s)},iv=function(e,r,n){var i=e.labels,s=En,o,a,l;for(o in i)a=i[o]-r,a<0==!!n&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},ln=function(e,r,n){var i=e.vars,s=i[r],o=bt,a=e._ctx,l,c,u;if(s)return l=i[r+"Params"],c=i.callbackScope||e,n&&ms.length&&gf(),a&&(bt=a),u=l?s.apply(c,l):s.call(c),bt=o,u},ll=function(e){return ws(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ur),e.progress()<1&&ln(e,"onInterrupt"),e},Xo,W1=[],q1=function(e){if(e)if(e=!e.name&&e.default||e,vm()||e.headless){var r=e.name,n=Ot(e),i=r&&!n&&e.init?function(){this._props=[]}:e,s={init:dc,render:Pm,add:Cm,kill:IL,modifier:ML,rawVars:0},o={targetTest:0,get:0,getSetter:Rm,aliases:{},register:0};if(Pa(),e!==i){if(tn[r])return;gn(i,gn(mf(e,s),o)),Aa(i.prototype,Aa(s,mf(e,o))),tn[i.prop=r]=i,e.targetTest&&(Ou.push(i),xm[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}k1(r,i),e.register&&e.register(Xr,i,Yr)}else W1.push(e)},ot=255,cl={aqua:[0,ot,ot],lime:[0,ot,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ot],navy:[0,0,128],white:[ot,ot,ot],olive:[128,128,0],yellow:[ot,ot,0],orange:[ot,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ot,0,0],pink:[ot,192,203],cyan:[0,ot,ot],transparent:[ot,ot,ot,0]},nh=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*ot+.5|0},G1=function(e,r,n){var i=e?Di(e)?[e>>16,e>>8&ot,e&ot]:0:cl.black,s,o,a,l,c,u,d,h,f,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),cl[e])i=cl[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&ot,i&ot,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&ot,e&ot]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Z_),!r)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=nh(l+1/3,s,o),i[1]=nh(l,s,o),i[2]=nh(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(E1),n&&i.length<4&&(i[3]=1),i}else i=e.match(Z_)||cl.transparent;i=i.map(Number)}return r&&!g&&(s=i[0]/ot,o=i[1]/ot,a=i[2]/ot,d=Math.max(s,o,a),h=Math.min(s,o,a),u=(d+h)/2,d===h?l=c=0:(f=d-h,c=u>.5?f/(2-d-h):f/(d+h),l=d===s?(o-a)/f+(o<a?6:0):d===o?(a-s)/f+2:(s-o)/f+4,l*=60),i[0]=~~(l+.5),i[1]=~~(c*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},Y1=function(e){var r=[],n=[],i=-1;
vendor: 4,552 bytes, line 7
7return e.split(ys).forEach(function(s){var o=s.match(Ko)||[];r.push.apply(r,o),n.push(i+=o.length+1)}),r.c=n,r},sv=function(e,r,n){var i="",s=(e+i).match(ys),o=r?"hsla(":"rgba(",a=0,l,c,u,d;if(!s)return e;if(s=s.map(function(h){return(h=G1(h,r,1))&&o+(r?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),n&&(u=Y1(e),l=n.c,l.join(i)!==u.c.join(i)))for(c=e.replace(ys,"1").split(Ko),d=c.length-1;a<d;a++)i+=c[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(u.length?u:s.length?s:n).shift());if(!c)for(c=e.split(ys),d=c.length-1;a<d;a++)i+=c[a]+s[a];return i+c[d]},ys=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in cl)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),_L=/hsl[a]?\(/,K1=function(e){var r=e.join(" "),n;if(ys.lastIndex=0,ys.test(r))return n=_L.test(r),e[1]=sv(e[1],n),e[0]=sv(e[0],n,Y1(e[1])),!0},pc,sn=(function(){var t=Date.now,e=500,r=33,n=t(),i=n,s=1e3/240,o=s,a=[],l,c,u,d,h,f,g=function p(b){var _=t()-i,y=b===!0,m,v,w,E;if((_>e||_<0)&&(n+=_-r),i+=_,w=i-n,m=w-o,(m>0||y)&&(E=++d.frame,h=w-d.time*1e3,d.time=w=w/1e3,o+=m+(m>=s?4:s-m),v=1),y||(l=c(p)),v)for(f=0;f<a.length;f++)a[f](w,h,E,b)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(b){return h/(1e3/(b||60))},wake:function(){C1&&(!Ip&&vm()&&(Yn=Ip=window,bm=Yn.document||{},pn.gsap=Xr,(Yn.gsapVersions||(Yn.gsapVersions=[])).push(Xr.version),A1(pf||Yn.GreenSockGlobals||!Yn.gsap&&Yn||{}),W1.forEach(q1)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(b){return setTimeout(b,o-d.time*1e3+1|0)},pc=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),pc=0,c=dc},lagSmoothing:function(b,_){e=b||1/0,r=Math.min(_||33,e)},fps:function(b){s=1e3/(b||240),o=d.time*1e3+s},add:function(b,_,y){var m=_?function(v,w,E,x){b(v,w,E,x),d.remove(m)}:b;return d.remove(b),a[y?"unshift":"push"](m),Pa(),m},remove:function(b,_){~(_=a.indexOf(b))&&a.splice(_,1)&&f>=_&&f--},_listeners:a},d})(),Pa=function(){return!pc&&sn.wake()},Ke={},vL=/^[\d.\-M][\d.\-,\s]/,bL=/["']/g,wL=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],s=1,o=n.length,a,l,c;s<o;s++)l=n[s],a=s!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),r[i]=isNaN(c)?c.replace(bL,"").trim():+c,i=l.substr(a+1).trim();return r},xL=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)},SL=function(e){var r=(e+"").split("("),n=Ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[wL(r[1])]:xL(e).split(",").map(M1)):Ke._CE&&vL.test(e)?Ke._CE("",e):n},X1=function(e){return function(r){return 1-e(1-r)}},Q1=function t(e,r){for(var n=e._first,i;n;)n instanceof Nr?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},so=function(e,r){return e&&(Ot(e)?e:Ke[e]||SL(e))||r},Ao=function(e,r,n,i){n===void 0&&(n=function(l){return 1-r(1-l)}),i===void 0&&(i=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var s={easeIn:r,easeOut:n,easeInOut:i},o;return Gr(e,function(a){Ke[a]=pn[a]=s,Ke[o=a.toLowerCase()]=n;for(var l in s)Ke[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Ke[a+"."+l]=s[l]}),s},J1=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},ih=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/Mp*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*YD((u-o)*s)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:J1(a);return s=Mp/s,l.config=function(c,u){return t(e,c,u)},l},sh=function t(e,r){r===void 0&&(r=1.70158);var n=function(o){return o?--o*o*((r+1)*o+r)+1:0},i=e==="out"?n:e==="in"?function(s){return 1-n(1-s)}:J1(n);return i.config=function(s){return t(e,s)},i};Gr("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Ao(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});Ke.Linear.easeNone=Ke.none=Ke.Linear.easeIn;Ao("Elastic",ih("in"),ih("out"),ih());(function(t,e){var r=1/e,n=2*r,i=2.5*r,s=function(a){return a<r?t*a*a:a<n?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};Ao("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Ao("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});Ao("Circ",function(t){return-(x1(1-t*t)-1)});Ao("Sine",function(t){return t===1?1:-GD(t*WD)+1});Ao("Back",sh("in"),sh("out"),sh());
vendor: 5,094 bytes, line 7
7Ke.SteppedEase=Ke.steps=pn.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),s=r?1:0,o=1-lt;return function(a){return((i*Pc(0,o,a)|0)+s)*n}}};Ca.ease=Ke["quad.out"];Gr("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Sm+=t+","+t+"Params,"});var Z1=function(e,r){this.id=qD++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:P1,this.set=r?r.getSetter:Rm},gc=(function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Ra(this,+r.duration,1,1),this.data=r.data,bt&&(this._ctx=bt,bt.data.push(this)),pc||sn.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Ra(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(Pa(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(dd(this,n),!s._dp||s.parent||D1(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Qn(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===lt||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),O1(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+rv(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+rv(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?ka(this._tTime,s)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-lt?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?yf(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-lt?0:this._rts,this.totalTime(Pc(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),fd(this),iL(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Pa(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==lt&&(this._tTime-=lt)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Tt(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Qn(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(qr(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?yf(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=eL);var i=ur;return ur=n,Tm(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),ur=i,this},e.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,nv(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,nv(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(vn(this,n),qr(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,qr(i)),this._dur||(this._zTime=-lt),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-lt:0)),this):this._rts<0}
vendor: 2,802 bytes, line 7
7,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-lt,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-lt)},e.eventCallback=function(n,i,s){var o=this.vars;return arguments.length>1?(i?(o[n]=i,s&&(o[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete o[n],this):o[n]},e.then=function(n){var i=this,s=i._prom;return new Promise(function(o){var a=Ot(n)?n:I1,l=function(){var u=i.then;i.then=null,s&&s(),Ot(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),o(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){ll(this)},t})();gn(gc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-lt,_prom:0,_ps:!1,_rts:1});var Nr=(function(t){w1(e,t);function e(n,i){var s;return n===void 0&&(n={}),s=t.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=qr(n.sortChildren),Ct&&Qn(n.parent||Ct,mi(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&L1(mi(s),n.scrollTrigger),s}var r=e.prototype;return r.to=function(i,s,o){return Dl(0,arguments,this),this},r.from=function(i,s,o){return Dl(1,arguments,this),this},r.fromTo=function(i,s,o,a){return Dl(2,arguments,this),this},r.set=function(i,s,o){return s.duration=0,s.parent=this,$l(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ht(i,s,vn(this,o),1),this},r.call=function(i,s,o){return Qn(this,Ht.delayedCall(0,i,s),o)},r.staggerTo=function(i,s,o,a,l,c,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Ht(i,o,vn(this,l)),this},r.staggerFrom=function(i,s,o,a,l,c,u){return o.runBackwards=1,$l(o).immediateRender=qr(o.immediateRender),this.staggerTo(i,s,o,a,l,c,u)},r.staggerFromTo=function(i,s,o,a,l,c,u,d){return a.startAt=o,$l(a).immediateRender=qr(a.immediateRender),this.staggerTo(i,s,a,l,c,u,d)},r.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Tt(i),d=this._zTime<0!=i<0&&(this._initted||!c),h,f,g,p,b,_,y,m,v,w,E,x;if(this!==Ct&&u>l&&i>=0&&(u=l),u!==this._tTime||o||d){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),h=u,v=this._start,m=this._ts,_=!m,d&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,b=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(b*100+i,s,o);if(h=Tt(u%b),u===l?(p=this._repeat,h=c):(w=Tt(u/b),p=~~w,p&&p===w&&(h=c,p--),h>c&&(h=c)),w=ka(this._tTime,b),!a&&this._tTime&&w!==p&&this._tTime-w*b-this._dur<=0&&(w=p),E&&p&1&&(h=c-h,x=1),p!==w&&!this._lock){var S=E&&w&1,T=S===(E&&p&1);
vendor: 6,865 bytes, line 7
7if(p<w&&(S=!S),a=S?0:u%c?c:u,this._lock=1,this.render(a||(x?0:Tt(p*b)),s,!c)._lock=0,this._tTime=u,!s&&this.parent&&ln(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(this.invalidate()._lock=1,w=p),a&&a!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,T&&(this._lock=2,a=S?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!_)return this;Q1(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=lL(this,Tt(a),Tt(h)),y&&(u-=h-(h=y._start))),this._tTime=u,this._time=h,this._act=!m,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&c&&!s&&!w&&(ln(this,"onStart"),this._tTime!==u))return this;if(h>=a&&i>=0)for(f=this._first;f;){if(g=f._next,(f._act||h>=f._start)&&f._ts&&y!==f){if(f.parent!==this)return this.render(i,s,o);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,s,o),h!==this._time||!this._ts&&!_){y=0,g&&(u+=this._zTime=-lt);break}}f=g}else{f=this._last;for(var P=i<0?i:h;f;){if(g=f._prev,(f._act||P<=f._end)&&f._ts&&y!==f){if(f.parent!==this)return this.render(i,s,o);if(f.render(f._ts>0?(P-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(P-f._start)*f._ts,s,o||ur&&Tm(f)),h!==this._time||!this._ts&&!_){y=0,g&&(u+=this._zTime=P?-lt:lt);break}}f=g}}if(y&&!s&&(this.pause(),y.render(h>=a?0:-lt)._zTime=h>=a?1:-1,this._ts))return this._start=v,fd(this),this.render(i,s,o);this._onUpdate&&!s&&ln(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(v===this._start||Math.abs(m)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&ws(this,1),!s&&!(i<0&&!a)&&(u||a||!l)&&(ln(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,s){var o=this;if(Di(s)||(s=vn(this,s,i)),!(i instanceof gc)){if(Sr(i))return i.forEach(function(a){return o.add(a,s)}),this;if(nr(i))return this.addLabel(i,s);if(Ot(i))i=Ht.delayedCall(0,i);else return this}return this!==i?Qn(this,i,s):this},r.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-En);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ht?s&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,s,o)))),c=c._next;return l},r.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},r.remove=function(i){return nr(i)?this.removeLabel(i):Ot(i)?this.killTweensOf(i):(i.parent===this&&ud(this,i),i===this._recent&&(this._recent=this._last),io(this))},r.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Tt(sn.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},r.addLabel=function(i,s){return this.labels[i]=vn(this,s),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,s,o){var a=Ht.delayedCall(0,s||dc,o);return a.data="isPause",this._hasPause=1,Qn(this,a,vn(this,i))},r.removePause=function(i){var s=this._first;for(i=vn(this,i);s;)s._start===i&&s.data==="isPause"&&ws(s),s=s._next},r.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)as!==a[l]&&a[l].kill(i,s);return this},r.getTweensOf=function(i,s){for(var o=[],a=Tn(i),l=this._first,c=Di(s),u;l;)l instanceof Ht?tL(l._targets,a)&&(c?(!as||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(u=l.getTweensOf(a,s)).length&&o.push.apply(o,u),l=l._next;return o},r.tweenTo=function(i,s){s=s||{};var o=this,a=vn(o,i),l=s,c=l.startAt,u=l.onStart,d=l.onStartParams,h=l.immediateRender,f,g=Ht.to(o,gn({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||lt,onStart:function(){if(o.pause(),!f){var b=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());g._dur!==b&&Ra(g,b,0,1).render(g._time,!0,!0),f=1}u&&u.apply(g,d||[])}},s));return h?g.render(0):g},r.tweenFromTo=function(i,s,o){return this.tweenTo(s,gn({startAt:{time:vn(this,i)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),iv(this,vn(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),iv(this,vn(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+lt)},r.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,l=this.labels,c;for(i=Tt(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in l)l[c]>=o&&(l[c]+=i);return io(this)},r.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),io(this)},r.totalDuration=function(i){var s=0,o=this,a=o._last,l=En,c,u,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(d=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Qn(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(s-=u,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=Tt(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=c;Ra(o,o===Ct&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(Ct._ts&&(O1(Ct,yf(i,Ct)),R1=sn.frame),sn.frame>=ev){ev+=dn.autoSleep||120;var s=Ct._first;if((!s||!s._ts)&&dn.autoSleep&&sn._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||sn.sleep()}}},e})(gc);gn(Nr.prototype,{_lock:0,_hasPause:0,_forcing:0});var EL=function(e,r,n,i,s,o,a){var l=new Yr(this._pt,e,r,0,1,sS,null,s),c=0,u=0,d,h,f,g,p,b,_,y;for(l.b=n,l.e=i,n+="",i+="",(_=~i.indexOf("random("))&&(i=hc(i)),o&&(y=[n,i],o(y,e,r),n=y[0],i=y[1]),h=n.match(th)||[];d=th.exec(i);)g=d[0],p=i.substring(c,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),g!==h[u++]&&(b=parseFloat(h[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:b,c:g.charAt(1)==="="?oa(b,g)-b:parseFloat(g)-b,m:f&&f<4?Math.round:0},c=th.lastIndex);return l.c=c<i.length?i.substring(c,i.length):"",l.fp=a,(T1.test(i)||_)&&(l.e=0),this._pt=l,l},Cm=function(e,r,n,i,s,o,a,l,c,u){Ot(i)&&(i=i(s||0,e,o));var d=e[r],h=n!=="get"?n:Ot(d)?c?e[r.indexOf("set")||!Ot(e["get"+r.substr(3)])?r:"get"+r.substr(3)](c):e[r]():d,f=Ot(d)?c?RL:nS:km,g;if(nr(i)&&(~i.indexOf("random(")&&(i=hc(i)),i.charAt(1)==="="&&(g=oa(h,i)+(wr(h)||0),(g||g===0)&&(i=g))),!u||h!==i||Hp)return!isNaN(h*i)&&i!==""?(g=new Yr(this._pt,e,r,+h||0,i-(h||0),typeof d=="boolean"?O
vendor: 1,543 bytes, line 7
7L:iS,0,f),c&&(g.fp=c),a&&g.modifier(a,this,e),this._pt=g):(!d&&!(r in e)&&wm(r,i),EL.call(this,e,r,h,i,f,l||dn.stringFilter,c))},TL=function(e,r,n,i,s){if(Ot(e)&&(e=Ll(e,s,r,n,i)),!li(e)||e.style&&e.nodeType||Sr(e)||S1(e))return nr(e)?Ll(e,s,r,n,i):e;var o={},a;for(a in e)o[a]=Ll(e[a],s,r,n,i);return o},eS=function(e,r,n,i,s,o){var a,l,c,u;if(tn[e]&&(a=new tn[e]).init(s,a.rawVars?r[e]:TL(r[e],i,s,o,n),n,i,o)!==!1&&(n._pt=l=new Yr(n._pt,s,e,0,1,a.render,a,0,a.priority),n!==Xo))for(c=n._ptLookup[n._targets.indexOf(s)],u=a._props.length;u--;)c[a._props[u]]=l;return a},as,Hp,Am=function t(e,r,n){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,c=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,h=i.keyframes,f=i.autoRevert,g=e._dur,p=e._startAt,b=e._targets,_=e.parent,y=_&&_.data==="nested"?_.vars.targets:b,m=e._overwrite==="auto"&&!ym,v=e.timeline,w,E,x,S,T,P,F,O,H,Y,B,A,I;if(v&&(!h||!s)&&(s="none"),e._ease=so(s,Ca.ease),e._yEase=d?X1(so(d===!0?s:d,Ca.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!v&&!!i.runBackwards,!v||h&&!i.stagger){if(O=b[0]?no(b[0]).harness:0,A=O&&i[O.prop],w=mf(i,xm),p&&(p._zTime<0&&p.progress(1),r<0&&u&&a&&!f?p.render(-1,!0):p.revert(u&&g?Pu:ZD),p._lazy=0),o){if(ws(e._startAt=Ht.set(b,gn({data:"isStart",overwrite:!1,parent:_,immediateRender:!0,lazy:!p&&qr(l),startAt:null,delay:0,onUpdate:c&&function(){return ln(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ur||!a&&!f)&&e._startAt.revert(Pu),a&&g&&r<=0&&n<=0){r&&(e._zTime=r);return}}
vendor: 4,173 bytes, line 7
7else if(u&&g&&!p){if(r&&(a=!1),x=gn({overwrite:!1,data:"isFromStart",lazy:a&&!p&&qr(l),immediateRender:a,stagger:0,parent:_},w),A&&(x[O.prop]=A),ws(e._startAt=Ht.set(b,x)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ur?e._startAt.revert(Pu):e._startAt.render(-1,!0)),e._zTime=r,!a)t(e._startAt,lt,lt);else if(!r)return}for(e._pt=e._ptCache=0,l=g&&qr(l)||l&&!g,E=0;E<b.length;E++){if(T=b[E],F=T._gsap||Em(b)[E]._gsap,e._ptLookup[E]=Y={},$p[F.id]&&ms.length&&gf(),B=y===b?E:y.indexOf(T),O&&(H=new O).init(T,A||w,e,B,y)!==!1&&(e._pt=S=new Yr(e._pt,T,H.name,0,1,H.render,H,0,H.priority),H._props.forEach(function($){Y[$]=S}),H.priority&&(P=1)),!O||A)for(x in w)tn[x]&&(H=eS(x,w,e,B,T,y))?H.priority&&(P=1):Y[x]=S=Cm.call(e,T,x,"get",w[x],B,y,0,i.stringFilter);e._op&&e._op[E]&&e.kill(T,e._op[E]),m&&e._pt&&(as=e,Ct.killTweensOf(T,Y,e.globalTime(r)),I=!e.parent,as=0),e._pt&&l&&($p[F.id]=1)}P&&oS(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!I,h&&r<=0&&v.render(En,!0,!0)},CL=function(e,r,n,i,s,o,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,d,h,f;if(!c)for(c=e._ptCache[r]=[],h=e._ptLookup,f=e._targets.length;f--;){if(u=h[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return Hp=1,e.vars[r]="+=0",Am(e,a),Hp=0,l?fc(r+" not eligible for reset"):1;c.push(u)}for(f=c.length;f--;)d=c[f],u=d._pt||d,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=n-u.s,d.e&&(d.e=Dt(n)+wr(d.e)),d.b&&(d.b=u.s+wr(d.b))},AL=function(e,r){var n=e[0]?no(e[0]).harness:0,i=n&&n.aliases,s,o,a,l;if(!i)return r;s=Aa({},r);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},kL=function(e,r,n,i){var s=r.ease||i||"power1.inOut",o,a;if(Sr(r))a=n[e]||(n[e]=[]),r.forEach(function(l,c){return a.push({t:c/(r.length-1)*100,v:l,e:s})});else for(o in r)a=n[o]||(n[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:r[o],e:s})},Ll=function(e,r,n,i,s){return Ot(e)?e.call(r,n,i,s):nr(e)&&~e.indexOf("random(")?hc(e):e},tS=Sm+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",rS={};Gr(tS+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return rS[t]=1});var Ht=(function(t){w1(e,t);function e(n,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:$l(i))||this;var l=a.vars,c=l.duration,u=l.delay,d=l.immediateRender,h=l.stagger,f=l.overwrite,g=l.keyframes,p=l.defaults,b=l.scrollTrigger,_=l.yoyoEase,y=i.parent||Ct,m=(Sr(n)||S1(n)?Di(n[0]):"length"in i)?[n]:Tn(n),v,w,E,x,S,T,P,F;if(a._targets=m.length?Em(m):fc("GSAP target "+n+" not found. https://gsap.com",!dn.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,g||h||nu(c)||nu(u)){if(i=a.vars,v=a.timeline=new Nr({data:"nested",defaults:p||{},targets:y&&y.data==="nested"?y.vars.targets:m}),v.kill(),v.parent=v._dp=mi(a),v._start=0,h||nu(c)||nu(u)){if(x=m.length,P=h&&H1(h),li(h))for(S in h)~tS.indexOf(S)&&(F||(F={}),F[S]=h[S]);for(w=0;w<x;w++)E=mf(i,rS),E.stagger=0,_&&(E.yoyoEase=_),F&&Aa(E,F),T=m[w],E.duration=+Ll(c,mi(a),w,T,m),E.delay=(+Ll(u,mi(a),w,T,m)||0)-a._delay,!h&&x===1&&E.delay&&(a._delay=u=E.delay,a._start+=u,E.delay=0),v.to(T,E,P?P(w,T,m):0),v._ease=Ke.none;v.duration()?c=u=0:a.timeline=0}else if(g){$l(gn(v.vars.defaults,{ease:"none"})),v._ease=so(g.ease||i.ease||"none");var O=0,H,Y,B;if(Sr(g))g.forEach(function(A){return v.to(m,A,">")}),v.duration();else{E={};for(S in g)S==="ease"||S==="easeEach"||kL(S,g[S],E,g.easeEach);for(S in E)for(H=E[S].sort(function(A,I){return A.t-I.t}),O=0,w=0;w<H.length;w++)Y=H[w],B={ease:Y.e,duration:(Y.t-(w?H[w-1].t:0))/100*c},B[S]=Y.v,v.to(m,B,O),O+=B.duration;v.duration()<c&&v.to({},{duration:c-v.duration()})}}c||a.duration(c=v.duration())}else a.timeline=0;return f===!0&&!ym&&(as=mi(a),Ct.killTweensOf(m),as=0),Qn(y,mi(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!c&&!g&&a._start===Tt(y._time)&&qr(d)&&sL(mi(a))&&y.data!=="nested")&&(a._tTime=-lt,a.render(Math.max(0,-u)||0)),b&&L1(mi(a),b),a}var r=e.prototype;return r.render=function(i,s,o){var a=this._time,l=this._tDur,c=this._dur,u=i<0,d=i>l-lt&&!u?l:i<lt?0:i,h,f,g,p,b,_,y,m,v;if(!c)aL(this,i,s,o);else if(d!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if
vendor: 13,501 bytes, line 7
7(h=d,m=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+i,s,o);if(h=Tt(d%p),d===l?(g=this._repeat,h=c):(b=Tt(d/p),g=~~b,g&&g===b?(h=c,g--):h>c&&(h=c)),_=this._yoyo&&g&1,_&&(v=this._yEase,h=c-h),b=ka(this._tTime,p),h===a&&!o&&this._initted&&g===b)return this._tTime=d,this;g!==b&&(m&&this._yEase&&Q1(m,_),this.vars.repeatRefresh&&!_&&!this._lock&&h!==p&&this._initted&&(this._lock=o=1,this.render(Tt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(N1(this,u?i:h,o,s,d))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==b))return this;if(c!==this._dur)return this.render(i,s,o)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(v||this._ease)(h/c),this._from&&(this.ratio=y=1-y),!a&&d&&!s&&!b&&(ln(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(y,f.d),f=f._next;m&&m.render(i<0?i:m._dur*m._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&Dp(this,i,s,o),ln(this,"onUpdate")),this._repeat&&g!==b&&this.vars.onRepeat&&!s&&this.parent&&ln(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&Dp(this,i,!0,!0),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ws(this,1),!s&&!(u&&!a)&&(d||a||_)&&(ln(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},r.resetTo=function(i,s,o,a,l){pc||sn.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Am(this,c),u=this._ease(c/this._dur),CL(this,i,s,o,a,u,c,l)?this.resetTo(i,s,o,a,1):(dd(this,0),this.parent||$1(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?ll(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ur),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,as&&as.vars.overwrite!==!0)._first||ll(this),this.parent&&o!==this.timeline.totalDuration()&&Ra(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Tn(i):a,c=this._ptLookup,u=this._pt,d,h,f,g,p,b,_;if((!s||s==="all")&&nL(a,l))return s==="all"&&(this._pt=0),ll(this);for(d=this._op=this._op||[],s!=="all"&&(nr(s)&&(p={},Gr(s,function(y){return p[y]=1}),s=p),s=AL(a,s)),_=a.length;_--;)if(~l.indexOf(a[_])){h=c[_],s==="all"?(d[_]=s,g=h,f={}):(f=d[_]=d[_]||{},g=s);for(p in g)b=h&&h[p],b&&((!("kill"in b.d)||b.d.kill(p)===!0)&&ud(this,b,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&u&&ll(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Dl(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return Dl(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return Ct.killTweensOf(i,s,o)},e})(gc);gn(Ht.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Gr("staggerTo,staggerFrom,staggerFromTo",function(t){Ht[t]=function(){var e=new Nr,r=Np.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var km=function(e,r,n){return e[r]=n},nS=function(e,r,n){return e[r](n)},RL=function(e,r,n,i){return e[r](i.fp,n)},PL=function(e,r,n){return e.setAttribute(r,n)},Rm=function(e,r){return Ot(e[r])?nS:_m(e[r])&&e.setAttribute?PL:km},iS=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},OL=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},sS=function(e,r){var n=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=r.c}r.set(r.t,r.p,i,r)},Pm=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},ML=function(e,r,n,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,r,n),s=o},IL=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?ud(this,r,"_pt"):r.dep||(n=1),r=i;return!n},$L=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},oS=function(e){for(var r=e._pt,n,i,s,o;r;){for(n=r._next,i=s;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:s=r,(r._next=i)?i._prev=r:o=r,r=n}e._pt=s},Yr=(function(){function t(r,n,i,s,o,a,l,c,u){this.t=n,this.s=s,this.c=o,this.p=i,this.r=a||iS,this.d=l||this,this.set=c||km,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=$L,this.m=n,this.mt=s,this.tween=i},t})();Gr(Sm+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return xm[t]=1});pn.TweenMax=pn.TweenLite=Ht;pn.TimelineLite=pn.TimelineMax=Nr;Ct=new Nr({sortChildren:!1,defaults:Ca,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});dn.stringFilter=K1;var oo=[],Mu={},DL=[],ov=0,LL=0,oh=function(e){return(Mu[e]||DL).map(function(r){return r()})},Bp=function(){var e=Date.now(),r=[];e-ov>2&&(oh("matchMediaInit"),oo.forEach(function(n){var i=n.queries,s=n.conditions,o,a,l,c;for(a in i)o=Yn.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,c=1);c&&(n.revert(),l&&r.push(n))}),oh("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),ov=e,oh("matchMedia"))},aS=(function(){function t(r,n){this.selector=n&&Fp(n),this.data=[],this._r=[],this.isReverted=!1,this.id=LL++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,i,s){Ot(n)&&(s=i,i=n,n=Ot);var o=this,a=function(){var c=bt,u=o.selector,d;return c&&c!==o&&c.data.push(o),s&&(o.selector=Fp(s)),bt=o,d=i.apply(o,arguments),Ot(d)&&o._r.push(d),bt=c,o.selector=u,o.isReverted=!1,d};return o.last=a,n===Ot?a(o,function(l){return o.add(null,l)}):n?o[n]=a:a},e.ignore=function(n){var i=bt;bt=null,n(this),bt=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof t?n.push.apply(n,i.getTweens()):i instanceof Ht&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var s=this;if(n?(function(){for(var a=s.getTweens(),l=s.data.length,c;l--;)c=s.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),l=s.data.length;l--;)c=s.data[l],c instanceof Nr?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Ht)&&c.revert&&c.revert(n);s._r.forEach(function(u){return u(n,s)}),s.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=oo.length;o--;)oo[o].id===this.id&&oo.splice(o,1)},e.revert=function(n){this.kill(n||{})},t})(),NL=(function(){function t(r){this.contexts=[],this.scope=r,bt&&bt.data.push(this)}var e=t.prototype;return e.add=function(n,i,s){li(n)||(n={matches:n});var o=new aS(0,s||this.scope),a=o.conditions={},l,c,u;bt&&!o.selector&&(o.selector=bt.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=n;for(c in n)c==="all"?u=1:(l=Yn.matchMedia(n[c]),l&&(oo.indexOf(o)<0&&oo.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Bp):l.addEventListener("change",Bp)));return u&&i(o,function(d){return o.add(null,d)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},t})(),_f={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(i){return q1(i)})},timeline:function(e){return new Nr(e)},getTweensOf:function(e,r){return Ct.getTweensOf(e,r)},getProperty:function(e,r,n,i){nr(e)&&(e=Tn(e)[0]);var s=no(e||{}).get,o=n?I1:M1;return n==="native"&&(n=""),e&&(r?o((tn[r]&&tn[r].get||s)(e,r,n,i)):function(a,l,c){return o((tn[a]&&tn[a].get||s)(e,a,l,c))})},quickSetter:function(e,r,n){if(e=Tn(e),e.length>1){var i=e.map(function(u){return Xr.quickSetter(u,r,n)}),s=i.length;return function(u){for(var d=s;d--;)i[d](u)}}e=e[0]||{};var o=tn[r],a=no(e),l=a.harness&&(a.harness.aliases||{})[r]||r,c=o?function(u){var d=new o;Xo._pt=0,d.init(e,n?u+n:u,Xo,0,[e]),d.render(1,d),Xo._pt&&Pm(1,Xo)}:a.set(e,l);return o?c:function(u){return c(e,l,n?u+n:u,a,1)}},quickTo:function(e,r,n){var i,s=Xr.to(e,gn((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),o=function(l,c,u){return s.resetTo(r,l,c,u)};return o.tween=s,o},isTweening:function(e){return Ct.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=so(e.ease,Ca.ease)),tv(Ca,e||{})},config:function(e){return tv(dn,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!tn[a]&&!pn[a]&&fc(r+" effect requires "+a+" plugin.")}),rh[r]=function(a,l,c){return n(Tn(a),gn(l||{},s),c)},o&&(Nr.prototype[r]=function(a,l,c){return this.add(rh[r](a,li(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,r){Ke[e]=so(r)},parseEase:function(e,r){return arguments.length?so(e,r):Ke},getById:function(e){return Ct.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new Nr(e),i,s;for(n.smoothChildTiming=qr(e.smoothChildTiming),Ct.remove(n),n._dp=0,n._time=n._tTime=Ct._time,i=Ct._first;i;)s=i._next,(r||!(!i._dur&&i instanceof Ht&&i.vars.onComplete===i._targets[0]))&&Qn(n,i,i._start-i._delay),i=s;return Qn(Ct,n,0),n},context:function(e,r){return e?new aS(e,r):bt},matchMedia:function(e){return new NL(e)},matchMediaRefresh:function(){return oo.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||Bp()},addEventListener:function(e,r){var n=Mu[e]||(Mu[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=Mu[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:gL,wrapYoyo:mL,distribute:H1,random:U1,snap:B1,normalize:pL,getUnit:wr,clamp:uL,splitColor:G1,toArray:Tn,selector:Fp,mapRange:V1,pipe:dL,unitize:hL,interpolate:yL,shuffle:j1},install:A1,effects:rh,ticker:sn,updateRoot:Nr.updateRoot,plugins:tn,globalTimeline:Ct,core:{PropTween:Yr,globals:k1,Tween:Ht,Timeline:Nr,Animation:gc,getCache:no,_removeLinkedListItem:ud,reverting:function(){return ur},context:function(e){return e&&bt&&(bt.data.push(e),e._ctx=bt),bt},suppressOverwrites:function(e){return ym=e}}};Gr("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return _f[t]=Ht[t]});sn.add(Nr.updateRoot);Xo=_f.to({},{duration:0});var FL=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},jL=function(e,r){var n=e._targets,i,s,o;for(i in r)for(s=n.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=FL(o,i)),o&&o.modifier&&o.modifier(r[i],e,n[s],i))},ah=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,c;if(nr(s)&&(l={},Gr(s,function(u){return l[u]=1}),s=l),r){l={};for(c in s)l[c]=r(s[c]);s=l}jL(a,s)}}}},Xr=_f.registerPlugin({name:"attr",init:function(e,r,n,i,s){var o,a,l;this.tween=n;for(o in r)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",r[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,r){for(var n=r._pt;n;)ur?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},ah("roundProps",jp),ah("modifiers"),ah("snap",B1))||_f;Ht.version=Nr.version=Xr.version="3.14.2";C1=1;vm()&&Pa();Ke.Power0;Ke.Power1;Ke.Power2;Ke.Power3;Ke.Power4;Ke.Linear;Ke.Quad;Ke.Cubic;Ke.Quart;Ke.Quint;Ke.Strong;Ke.Elastic;Ke.Back;Ke.SteppedEase;Ke.Bounce;Ke.Sine;Ke.Expo;Ke.Circ;var av,ls,aa,Om,Xs,lv,Mm,HL=function(){return typeof window<"u"},Li={},Us=180/Math.PI,la=Math.PI/180,Io=Math.atan2,cv=1e8,Im=/([A-Z])/g,BL=/(left|right|width|margin|padding|x)/i,UL=/[\s,\(]\S/,Zn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Up=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},zL=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},VL=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},WL=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},qL=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},lS=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},cS=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},GL=function(e,r,n){return e.style[r]=n},YL=function(e,r,n){return e.style.setProperty(r,n)},KL=function(e,r,n){return e._gsap[r]=n},XL=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},QL=function(e,r,n,i,s){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},JL=function(e,r,n,i,s){var o=e._gsap;o[r]=n,o.renderTransform(s,o)},kt="transform",Kr=kt+"Origin",ZL=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;
vendor: 5,562 bytes, line 7
7if(e in Li&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Zn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return n.tfm[a]=_i(i,a)}):this.tfm[e]=o.x?o[e]:_i(i,e),e===Kr&&(this.tfm.zOrigin=o.zOrigin);else return Zn.transform.split(",").forEach(function(a){return t.call(n,a,r)});if(this.props.indexOf(kt)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Kr,r,"")),e=kt}(s||r)&&this.props.push(e,r,s[e])},uS=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},eN=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?r[e[s]](e[s+2]):r[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Im,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=Mm(),(!s||!s.isStart)&&!n[kt]&&(uS(n),i.zOrigin&&n[Kr]&&(n[Kr]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},fS=function(e,r){var n={target:e,props:[],revert:eN,save:ZL};return e._gsap||Xr.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},dS,zp=function(e,r){var n=ls.createElementNS?ls.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ls.createElement(e);return n&&n.style?n:ls.createElement(e)},cn=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Im,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,Oa(r)||r,1)||""},uv="O,Moz,ms,Ms,Webkit".split(","),Oa=function(e,r,n){var i=r||Xs,s=i.style,o=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(uv[o]+e in s););return o<0?null:(o===3?"ms":o>=0?uv[o]:"")+e},Vp=function(){HL()&&window.document&&(av=window,ls=av.document,aa=ls.documentElement,Xs=zp("div")||{style:{}},zp("div"),kt=Oa(kt),Kr=kt+"Origin",Xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",dS=!!Oa("perspective"),Mm=Xr.core.reverting,Om=1)},fv=function(e){var r=e.ownerSVGElement,n=zp("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",n.appendChild(i),aa.appendChild(n);try{s=i.getBBox()}catch{}return n.removeChild(i),aa.removeChild(n),s},dv=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},hS=function(e){var r,n;try{r=e.getBBox()}catch{r=fv(e),n=1}return r&&(r.width||r.height)||n||(r=fv(e)),r&&!r.width&&!r.x&&!r.y?{x:+dv(e,["x","cx","x1"])||0,y:+dv(e,["y","cy","y1"])||0,width:0,height:0}:r},pS=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&hS(e))},xs=function(e,r){if(r){var n=e.style,i;r in Li&&r!==Kr&&(r=kt),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(Im,"-$1").toLowerCase())):n.removeAttribute(r)}},cs=function(e,r,n,i,s,o){var a=new Yr(e._pt,r,n,0,1,o?cS:lS);return e._pt=a,a.b=i,a.e=s,e._props.push(n),a},hv={deg:1,rad:1,turn:1},tN={grid:1,flex:1},Ss=function t(e,r,n,i){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",a=Xs.style,l=BL.test(r),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,h=i==="px",f=i==="%",g,p,b,_;if(i===o||!s||hv[i]||hv[o])return s;if(o!=="px"&&!h&&(s=t(e,r,n,"px")),_=e.getCTM&&pS(e),(f||o==="%")&&(Li[r]||~r.indexOf("adius")))return g=_?e.getBBox()[l?"width":"height"]:e[u],Dt(f?s/g*d:s/100*g);if(a[l?"width":"height"]=d+(h?o:i),p=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,_&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ls||!p.appendChild)&&(p=ls.body),b=p._gsap,b&&f&&b.width&&l&&b.time===sn.time&&!b.uncache)return Dt(s/b.width*d);if(f&&(r==="height"||r==="width")){var y=e.style[r];e.style[r]=d+i,g=e[u],y?e.style[r]=y:xs(e,r)}else(f||o==="%")&&!tN[cn(p,"display")]&&(a.position=cn(e,"position")),p===e&&(a.position="static"),p.appendChild(Xs),g=Xs[u],p.removeChild(Xs),a.position="absolute";return l&&f&&(b=no(p),b.time=sn.time,b.width=p[u]),Dt(h?g*s/d:g&&s?d/g*s:0)},_i=function(e,r,n,i){var s;return Om||Vp(),r in Zn&&r!=="transform"&&(r=Zn[r],~r.indexOf(",")&&(r=r.split(",")[0])),Li[r]&&r!=="transform"?(s=yc(e,i),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:bf(cn(e,Kr))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=vf[r]&&vf[r](e,r,n)||cn(e,r)||P1(e,r)||(r==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?Ss(e,r,s,n)+n:s},rN=function(e,r,n,i){if(!n||n==="none"){var s=Oa(r,e,1),o=s&&cn(e,s,1);o&&o!==n?(r=s,n=o):r==="borderColor"&&(n=cn(e,"borderTopColor"))}var a=new Yr(this._pt,e.style,r,0,1,sS),l=0,c=0,u,d,h,f,g,p,b,_,y,m,v,w;if(a.b=n,a.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=cn(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[r],e.style[r]=i,i=cn(e,r)||i,p?e.style[r]=p:xs(e,r)),u=[n,i],K1(u),n=u[0],i=u[1],h=n.match(Ko)||[],w=i.match(Ko)||[],w.length){for(;d=Ko.exec(i);)b=d[0],y=i.substring(l,d.index),g?g=(g+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(g=1),b!==(p=h[c++]||"")&&(f=parseFloat(p)||0,v=p.substr((f+"").length),b.charAt(1)==="="&&(b=oa(f,b)+v),_=parseFloat(b),m=b.substr((_+"").length),l=Ko.lastIndex-m.length,m||(m=m||dn.units[r]||v,l===i.length&&(i+=m,a.e+=m)),v!==m&&(f=Ss(e,r,p,m)||0),a._pt={_next:a._pt,p:y||c===1?y:",",s:f,c:_-f,m:g&&g<4||r==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=r==="display"&&i==="none"?cS:lS;return T1.test(i)&&(a.e=0),this._pt=a,a}
vendor: 7,470 bytes, line 7
7,pv={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nN=function(e){var r=e.split(" "),n=r[0],i=r[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),r[0]=pv[n]||n,r[1]=pv[i]||i,r.join(" ")},iN=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,s=r.u,o=n._gsap,a,l,c;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),c=s.length;--c>-1;)a=s[c],Li[a]&&(l=1,a=a==="transformOrigin"?Kr:kt),xs(n,a);l&&(xs(n,kt),o&&(o.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",yc(n,1),o.uncache=1,uS(i)))}},vf={clearProps:function(e,r,n,i,s){if(s.data!=="isFromStart"){var o=e._pt=new Yr(e._pt,r,n,0,0,iN);return o.u=i,o.pr=-10,o.tween=s,e._props.push(n),1}}},mc=[1,0,0,1,0,0],gS={},mS=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},gv=function(e){var r=cn(e,kt);return mS(r)?mc:r.substr(7).match(E1).map(Dt)},$m=function(e,r){var n=e._gsap||no(e),i=e.style,s=gv(e),o,a,l,c;return n.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?mc:s):(s===mc&&!e.offsetParent&&e!==aa&&!n.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,aa.appendChild(e)),s=gv(e),l?i.display=l:xs(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):aa.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Wp=function(e,r,n,i,s,o){var a=e._gsap,l=s||$m(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],g=l[1],p=l[2],b=l[3],_=l[4],y=l[5],m=r.split(" "),v=parseFloat(m[0])||0,w=parseFloat(m[1])||0,E,x,S,T;n?l!==mc&&(x=f*b-g*p)&&(S=v*(b/x)+w*(-p/x)+(p*y-b*_)/x,T=v*(-g/x)+w*(f/x)-(f*y-g*_)/x,v=S,w=T):(E=hS(e),v=E.x+(~m[0].indexOf("%")?v/100*E.width:v),w=E.y+(~(m[1]||m[0]).indexOf("%")?w/100*E.height:w)),i||i!==!1&&a.smooth?(_=v-c,y=w-u,a.xOffset=d+(_*f+y*p)-_,a.yOffset=h+(_*g+y*b)-y):a.xOffset=a.yOffset=0,a.xOrigin=v,a.yOrigin=w,a.smooth=!!i,a.origin=r,a.originIsAbsolute=!!n,e.style[Kr]="0px 0px",o&&(cs(o,a,"xOrigin",c,v),cs(o,a,"yOrigin",u,w),cs(o,a,"xOffset",d,a.xOffset),cs(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",v+" "+w)},yc=function(e,r){var n=e._gsap||new Z1(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,s=n.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=cn(e,Kr)||"0",u,d,h,f,g,p,b,_,y,m,v,w,E,x,S,T,P,F,O,H,Y,B,A,I,$,X,M,K,te,ue,oe,me;return u=d=h=p=b=_=y=m=v=0,f=g=1,n.svg=!!(e.getCTM&&pS(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[kt]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[kt]!=="none"?l[kt]:"")),i.scale=i.rotate=i.translate="none"),x=$m(e,n.svg),n.svg&&(n.uncache?($=e.getBBox(),c=n.xOrigin-$.x+"px "+(n.yOrigin-$.y)+"px",I=""):I=!r&&e.getAttribute("data-svg-origin"),Wp(e,I||c,!!I||n.originIsAbsolute,n.smooth!==!1,x)),w=n.xOrigin||0,E=n.yOrigin||0,x!==mc&&(F=x[0],O=x[1],H=x[2],Y=x[3],u=B=x[4],d=A=x[5],x.length===6?(f=Math.sqrt(F*F+O*O),g=Math.sqrt(Y*Y+H*H),p=F||O?Io(O,F)*Us:0,y=H||Y?Io(H,Y)*Us+p:0,y&&(g*=Math.abs(Math.cos(y*la))),n.svg&&(u-=w-(w*F+E*H),d-=E-(w*O+E*Y))):(me=x[6],ue=x[7],M=x[8],K=x[9],te=x[10],oe=x[11],u=x[12],d=x[13],h=x[14],S=Io(me,te),b=S*Us,S&&(T=Math.cos(-S),P=Math.sin(-S),I=B*T+M*P,$=A*T+K*P,X=me*T+te*P,M=B*-P+M*T,K=A*-P+K*T,te=me*-P+te*T,oe=ue*-P+oe*T,B=I,A=$,me=X),S=Io(-H,te),_=S*Us,S&&(T=Math.cos(-S),P=Math.sin(-S),I=F*T-M*P,$=O*T-K*P,X=H*T-te*P,oe=Y*P+oe*T,F=I,O=$,H=X),S=Io(O,F),p=S*Us,S&&(T=Math.cos(S),P=Math.sin(S),I=F*T+O*P,$=B*T+A*P,O=O*T-F*P,A=A*T-B*P,F=I,B=$),b&&Math.abs(b)+Math.abs(p)>359.9&&(b=p=0,_=180-_),f=Dt(Math.sqrt(F*F+O*O+H*H)),g=Dt(Math.sqrt(A*A+me*me)),S=Io(B,A),y=Math.abs(S)>2e-4?S*Us:0,v=oe?1/(oe<0?-oe:oe):0),n.svg&&(I=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!mS(cn(e,kt)),I&&e.setAttribute("transform",I))),Math.abs(y)>90&&Math.abs(y)<270&&(s?(f*=-1,y+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,y+=y<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=d-((n.yPercent=d&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=h+o,n.scaleX=Dt(f),n.scaleY=Dt(g),n.rotation=Dt(p)+a,n.rotationX=Dt(b)+a,n.rotationY=Dt(_)+a,n.skewX=y+a,n.skewY=m+a,n.transformPerspective=v+o,(n.zOrigin=parseFloat(c.split(" ")[2])||!r&&n.zOrigin||0)&&(i[Kr]=bf(c)),n.xOffset=n.yOffset=0,n.force3D=dn.force3D,n.renderTransform=n.svg?oN:dS?yS:sN,n.uncache=0,n},bf=function(e){return(e=e.split(" "))[0]+" "+e[1]},lh=function(e,r,n){var i=wr(r);return Dt(parseFloat(r)+parseFloat(Ss(e,"x",n+"px",i)))+i},sN=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,yS(e,r)},Ls="0deg",el="0px",Ns=") ",yS=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,l=n.z,c=n.rotation,u=n.rotationY,d=n.rotationX,h=n.skewX,f=n.skewY,g=n.scaleX,p=n.scaleY,b=n.transformPerspective,_=n.force3D,y=n.target,m=n.zOrigin,v="",w=_==="auto"&&e&&e!==1||_===!0;if(m&&(d!==Ls||u!==Ls)){var E=parseFloat(u)*la,x=Math.sin(E),S=Math.cos(E),T;E=parseFloat(d)*la,T=Math.cos(E),o=lh(y,o,x*T*-m),a=lh(y,a,-Math.sin(E)*-m),l=lh(y,l,S*T*-m+m)}b!==el&&(v+="perspective("+b+Ns),(i||s)&&(v+="translate("+i+"%, "+s+"%) "),(w||o!==el||a!==el||l!==el)&&(v+=l!==el||w?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+Ns),c!==Ls&&(v+="rotate("+c+Ns),u!==Ls&&(v+="rotateY("+u+Ns),d!==Ls&&(v+="rotateX("+d+Ns),(h!==Ls||f!==Ls)&&(v+="skew("+h+", "+f+Ns),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Ns),y.style[kt]=v||"translate(0, 0)"},oN=function(e,r){var n=r||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,l=n.rotation,c=n.skewX,u=n.skewY,d=n.scaleX,h=n.scaleY,f=n.target,g=n.xOrigin,p=n.yOrigin,b=n.xOffset,_=n.yOffset,y=n.forceCSS,m=parseFloat(o),v=parseFloat(a),w,E,x,S,T;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=la,c*=la,w=Math.cos(l)*d,E=Math.sin(l)*d,x=Math.sin(l-c)*-h,S=Math.cos(l-c)*h,c&&(u*=la,T=Math.tan(c-u),T=Math.sqrt(1+T*T),x*=T,S*=T,u&&(T=Math.tan(u),T=Math.sqrt(1+T*T),w*=T,E*=T)),w=Dt(w),E=Dt(E),x=Dt(x),S=Dt(S)):(w=d,S=h,E=x=0),(m&&!~(o+"").indexOf("px")||v&&!~(a+"").indexOf("px"))&&(m=Ss(f,"x",o,"px"),v=Ss(f,"y",a,"px")),(g||p||b||_)&&(m=Dt(m+g-(g*w+p*x)+b),v=Dt(v+p-(g*E+p*S)+_)),(i||s)&&(T=f.getBBox(),m=Dt(m+i/100*T.width),v=Dt(v+s/100*T.height)),T="matrix("+w+","+E+","+x+","+S+","+m+","+v+")",f.setAttribute("transform",T),y&&(f.style[kt]=T)},aN=function(e,r,n,i,s){var o=360,a=nr(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?Us:1),c=l-i,u=i+c+"deg",d,h;return a&&(d=s.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*cv)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*cv)%o-~~(c/o)*o)),e._pt=h=new Yr(e._pt,r,n,i,c,zL),h.e=u,h.u="deg",e._props.push(n),h},mv=function(e,r){for(var n in r)e[n]=r[n];return e},lN=function(e,r,n){var i=mv({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,l,c,u,d,h,f,g;i.svg?(c=n.getAttribute("transform"),n.setAttribute("transform",""),o[kt]=r,a=yc(n,1),xs(n,kt),n.setAttribute("transform",c)):(c=getComputedStyle(n)[kt],o[kt]=r,a=yc(n,1),o[kt]=c);for(l in Li)c=i[l],u=a[l],c!==u&&s.indexOf(l)<0&&(f=wr(c),g=wr(u),d=f!==g?Ss(n,l,c,g):parseFloat(c),h=
vendor: 15,359 bytes, line 7
7parseFloat(u),e._pt=new Yr(e._pt,a,l,d,h-d,Up),e._pt.u=g||0,e._props.push(l));mv(a,i)};Gr("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(a){return e<2?t+a:"border"+a+t});vf[e>1?"border"+t:t]=function(a,l,c,u,d){var h,f;if(arguments.length<4)return h=o.map(function(g){return _i(a,g,c)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(u+"").split(" "),f={},o.forEach(function(g,p){return f[g]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var _S={name:"css",register:Vp,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,s){var o=this._props,a=e.style,l=n.vars.startAt,c,u,d,h,f,g,p,b,_,y,m,v,w,E,x,S,T;Om||Vp(),this.styles=this.styles||fS(e),S=this.styles.props,this.tween=n;for(p in r)if(p!=="autoRound"&&(u=r[p],!(tn[p]&&eS(p,r,n,i,e,s)))){if(f=typeof u,g=vf[p],f==="function"&&(u=u.call(n,i,e,s),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=hc(u)),g)g(this,e,p,u,n)&&(x=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",ys.lastIndex=0,ys.test(c)||(b=wr(c),_=wr(u),_?b!==_&&(c=Ss(e,p,c,_)+_):b&&(u+=b)),this.add(a,"setProperty",c,u,i,s,0,0,p),o.push(p),S.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(n,i,e,s):l[p],nr(c)&&~c.indexOf("random(")&&(c=hc(c)),wr(c+"")||c==="auto"||(c+=dn.units[p]||wr(_i(e,p))||""),(c+"").charAt(1)==="="&&(c=_i(e,p))):c=_i(e,p),h=parseFloat(c),y=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),y&&(u=u.substr(2)),d=parseFloat(u),p in Zn&&(p==="autoAlpha"&&(h===1&&_i(e,"visibility")==="hidden"&&d&&(h=0),S.push("visibility",0,a.visibility),cs(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Zn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),m=p in Li,m){if(this.styles.save(p),T=u,f==="string"&&u.substring(0,6)==="var(--"){if(u=cn(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var P=e.style.perspective;e.style.perspective=u,u=cn(e,"perspective"),P?e.style.perspective=P:xs(e,"perspective")}d=parseFloat(u)}if(v||(w=e._gsap,w.renderTransform&&!r.parseTransform||yc(e,r.parseTransform),E=r.smoothOrigin!==!1&&w.smooth,v=this._pt=new Yr(this._pt,a,kt,0,1,w.renderTransform,w,0,-1),v.dep=1),p==="scale")this._pt=new Yr(this._pt,w,"scaleY",w.scaleY,(y?oa(w.scaleY,y+d):d)-w.scaleY||0,Up),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){S.push(Kr,0,a[Kr]),u=nN(u),w.svg?Wp(e,u,0,E,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==w.zOrigin&&cs(this,w,"zOrigin",w.zOrigin,_),cs(this,a,p,bf(c),bf(u)));continue}else if(p==="svgOrigin"){Wp(e,u,1,E,0,this);continue}else if(p in gS){aN(this,w,p,h,y?oa(h,y+u):u);continue}else if(p==="smoothOrigin"){cs(this,w,"smooth",w.smooth,u);continue}else if(p==="force3D"){w[p]=u;continue}else if(p==="transform"){lN(this,u,e);continue}}else p in a||(p=Oa(p)||p);if(m||(d||d===0)&&(h||h===0)&&!UL.test(u)&&p in a)b=(c+"").substr((h+"").length),d||(d=0),_=wr(u)||(p in dn.units?dn.units[p]:b),b!==_&&(h=Ss(e,p,c,_)),this._pt=new Yr(this._pt,m?w:a,p,h,(y?oa(h,y+d):d)-h,!m&&(_==="px"||p==="zIndex")&&r.autoRound!==!1?qL:Up),this._pt.u=_||0,m&&T!==u?(this._pt.b=c,this._pt.e=T,this._pt.r=WL):b!==_&&_!=="%"&&(this._pt.b=c,this._pt.r=VL);else if(p in a)rN.call(this,e,p,c,y?y+u:u);else if(p in e)this.add(e,p,c||e[p],y?y+u:u,i,s);else if(p!=="parseTransform"){wm(p,u);continue}m||(p in a?S.push(p,0,a[p]):typeof e[p]=="function"?S.push(p,2,e[p]()):S.push(p,1,c||e[p])),o.push(p)}}x&&oS(this)},render:function(e,r){if(r.tween._time||!Mm())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:_i,aliases:Zn,getSetter:function(e,r,n){var i=Zn[r];return i&&i.indexOf(",")<0&&(r=i),r in Li&&r!==Kr&&(e._gsap.x||_i(e,"x"))?n&&lv===n?r==="scale"?XL:KL:(lv=n||{})&&(r==="scale"?QL:JL):e.style&&!_m(e.style[r])?GL:~r.indexOf("-")?YL:Rm(e,r)},core:{_removeProperty:xs,_getMatrix:$m}};Xr.utils.checkPrefix=Oa;Xr.core.getStyleSaver=fS;(function(t,e,r,n){var i=Gr(t+","+e+","+r,function(s){Li[s]=1});Gr(e,function(s){dn.units[s]="deg",gS[s]=1}),Zn[i[13]]=t+","+e,Gr(n,function(s){var o=s.split(":");Zn[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Gr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){dn.units[t]="px"});Xr.registerPlugin(_S);var Qt=Xr.registerPlugin(_S)||Xr;Qt.core.Tween;function cN(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function uN(t,e,r){return e&&cN(t.prototype,e),t}var cr,Iu,on,us,fs,ca,vS,zs,Nl,bS,Ti,Pn,wS,xS=function(){return cr||typeof window<"u"&&(cr=window.gsap)&&cr.registerPlugin&&cr},SS=1,Qo=[],Be=[],ii=[],Fl=Date.now,qp=function(e,r){return r},fN=function(){var e=Nl.core,r=e.bridge||{},n=e._scrollers,i=e._proxies;n.push.apply(n,Be),i.push.apply(i,ii),Be=n,ii=i,qp=function(o,a){return r[o](a)}},_s=function(e,r){return~ii.indexOf(e)&&ii[ii.indexOf(e)+1][r]},jl=function(e){return!!~bS.indexOf(e)},Or=function(e,r,n,i,s){return e.addEventListener(r,n,{passive:i!==!1,capture:!!s})},kr=function(e,r,n,i){return e.removeEventListener(r,n,!!i)},iu="scrollLeft",su="scrollTop",Gp=function(){return Ti&&Ti.isPressed||Be.cache++},wf=function(e,r){var n=function i(s){if(s||s===0){SS&&(on.history.scrollRestoration="manual");var o=Ti&&Ti.isPressed;s=i.v=Math.round(s)||(Ti&&Ti.iOS?1:0),e(s),i.cacheID=Be.cache,o&&qp("ss",s)}else(r||Be.cache!==i.cacheID||qp("ref"))&&(i.cacheID=Be.cache,i.v=e());return i.v+i.offset};return n.offset=0,e&&n},Fr={s:iu,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:wf(function(t){return arguments.length?on.scrollTo(t,Xt.sc()):on.pageXOffset||us[iu]||fs[iu]||ca[iu]||0})},Xt={s:su,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Fr,sc:wf(function(t){return arguments.length?on.scrollTo(Fr.sc(),t):on.pageYOffset||us[su]||fs[su]||ca[su]||0})},Ur=function(e,r){return(r&&r._ctx&&r._ctx.selector||cr.utils.toArray)(e)[0]||(typeof e=="string"&&cr.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},dN=function(e,r){for(var n=r.length;n--;)if(r[n]===e||r[n].contains(e))return!0;return!1},Es=function(e,r){var n=r.s,i=r.sc;jl(e)&&(e=us.scrollingElement||fs);var s=Be.indexOf(e),o=i===Xt.sc?1:2;!~s&&(s=Be.push(e)-1),Be[s+o]||Or(e,"scroll",Gp);var a=Be[s+o],l=a||(Be[s+o]=wf(_s(e,n),!0)||(jl(e)?i:wf(function(c){return arguments.length?e[n]=c:e[n]})));return l.target=e,a||(l.smooth=cr.getProperty(e,"scrollBehavior")==="smooth"),l},Yp=function(e,r,n){var i=e,s=e,o=Fl(),a=o,l=r||50,c=Math.max(500,l*3),u=function(g,p){var b=Fl();p||b-o>l?(s=i,i=g,a=o,o=b):n?i+=g:i=s+(g-s)/(b-a)*(o-a)},d=function(){s=i=n?0:i,a=o=0},h=function(g){var p=a,b=s,_=Fl();return(g||g===0)&&g!==i&&u(g),o===a||_-a>c?0:(i+(n?b:-b))/((n?_:o)-p)*1e3};return{update:u,reset:d,getVelocity:h}},tl=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},yv=function(e){var r=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(n)?r:n},ES=function(){Nl=cr.core.globals().ScrollTrigger,Nl&&Nl.core&&fN()},TS=function(e){return cr=e||xS(),!Iu&&cr&&typeof document<"u"&&document.body&&(on=window,us=document,fs=us.documentElement,ca=us.body,bS=[on,us,fs,ca],cr.utils.clamp,wS=cr.core.context||function(){},zs="onpointerenter"in ca?"pointer":"mouse",vS=Lt.isTouch=on.matchMedia&&on.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in on||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Pn=Lt.eventTypes=("ontouchstart"in fs?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in fs?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return SS=0},500),ES(),Iu=1),Iu};Fr.op=Xt;Be.cache=0;var Lt=(function(){function t(r){this.init(r)}var e=t.prototype;return e.init=function(n){Iu||TS(cr)||console.warn("Please gsap.registerPlugin(Observer)"),Nl||ES();var i=n.tolerance,s=n.dragMinimum,o=n.type,a=n.target,l=n.lineHeight,c=n.debounce,u=n.preventDefault,d=n.onStop,h=n.onStopDelay,f=n.ignore,g=n.wheelSpeed,p=n.event,b=n.onDragStart,_=n.onDragEnd,y=n.onDrag,m=n.onPress,v=n.onRelease,w=n.onRight,E=n.onLeft,x=n.onUp,S=n.onDown,T=n.onChangeX,P=n.onChangeY,F=n.onChange,O=n.onToggleX,H=n.onToggleY,Y=n.onHover,B=n.onHoverEnd,A=n.onMove,I=n.ignoreCheck,$=n.isNormalizer,X=n.onGestureStart,M=n.onGestureEnd,K=n.onWheel,te=n.onEnable,ue=n.onDisable,oe=n.onClick,me=n.scrollSpeed,ye=n.capture,N=n.allowClicks,q=n.lockAxis,Q=n.onLockAxis;this.target=a=Ur(a)||fs,this.vars=n,f&&(f=cr.utils.toArray(f)),i=i||1e-9,s=s||0,g=g||1,me=me||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(on.getComputedStyle(ca).lineHeight)||22);var se,he,xe,C,k,L,G,R=this,V=0,le=0,ae=n.passive||!u&&n.passive!==!1,Z=Es(a,Fr),W=Es(a,Xt),Ce=Z(),fe=W(),de=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Pn[0]==="pointerdown",_e=jl(a),Se=a.ownerDocument||us,Ne=[0,0,0],$e=[0,0,0],it=0,yt=function(){return it=Fl()},Xe=function(U,re){return(R.event=U)&&f&&dN(U.target,f)||re&&de&&U.pointerType!=="touch"||I&&I(U,re)},Rt=function(){R._vx.reset(),R._vy.reset(),he.pause(),d&&d(R)},Jt=function(){var U=R.deltaX=yv(Ne),re=R.deltaY=yv($e),z=Math.abs(U)>=i,ce=Math.abs(re)>=i;F&&(z||ce)&&F(R,U,re,Ne,$e),z&&(w&&R.deltaX>0&&w(R),E&&R.deltaX<0&&E(R),T&&T(R),O&&R.deltaX<0!=V<0&&O(R),V=R.deltaX,Ne[0]=Ne[1]=Ne[2]=0),ce&&(S&&R.deltaY>0&&S(R),x&&R.deltaY<0&&x(R),P&&P(R),H&&R.deltaY<0!=le<0&&H(R),le=R.deltaY,$e[0]=$e[1]=$e[2]=0),(C||xe)&&(A&&A(R),xe&&(b&&xe===1&&b(R),y&&y(R),xe=0),C=!1),L&&!(L=!1)&&Q&&Q(R),k&&(K(R),k=!1),se=0},jr=function(U,re,z){Ne[z]+=U,$e[z]+=re,R._vx.update(U),R._vy.update(re),c?se||(se=requestAnimationFrame(Jt)):Jt()},ft=function(U,re){q&&!G&&(R.axis=G=Math.abs(U)>Math.abs(re)?"x":"y",L=!0),G!=="y"&&(Ne[2]+=U,R._vx.update(U,!0)),G!=="x"&&($e[2]+=re,R._vy.update(re,!0)),c?se||(se=requestAnimationFrame(Jt)):Jt()},It=function(U){if(!Xe(U,1)){U=tl(U,u);var re=U.clientX,z=U.clientY,ce=re-R.x,J=z-R.y,pe=R.isDragging;R.x=re,R.y=z,(pe||(ce||J)&&(Math.abs(R.startX-re)>=s||Math.abs(R.startY-z)>=s))&&(xe||(xe=pe?2:1),pe||(R.isDragging=!0),ft(ce,J))}},hr=R.onPress=function(j){Xe(j,1)||j&&j.button||(R.axis=G=null,he.pause(),R.isPressed=!0,j=tl(j),V=le=0,R.startX=R.x=j.clientX,R.startY=R.y=j.clientY,R._vx.reset(),R._vy.reset(),Or($?a:Se,Pn[1],It,ae,!0),R.deltaX=R.deltaY=0,m&&m(R))},Ie=R.onRelease=function(j){if(!Xe(j,1)){kr($?a:Se,Pn[1],It,!0);var U=!isNaN(R.y-R.startY),re=R.isDragging,z=re&&(Math.abs(R.x-R.startX)>3||Math.abs(R.y-R.startY)>3),ce=tl(j);!z&&U&&(R._vx.reset(),R._vy.reset(),u&&N&&cr.delayedCall(.08,function(){if(Fl()-it>300&&!j.defaultPrevented){if(j.target.click)j.target.click();else if(Se.createEvent){var J=Se.createEvent("MouseEvents");J.initMouseEvent("click",!0,!0,on,1,ce.screenX,ce.screenY,ce.clientX,ce.clientY,!1,!1,!1,!1,0,null),j.target.dispatchEvent(J)}}})),R.isDragging=R.isGesturing=R.isPressed=!1,d&&re&&!$&&he.restart(!0),xe&&Jt(),_&&re&&_(R),v&&v(R,z)}},Qr=function(U){return U.touches&&U.touches.length>1&&(R.isGesturing=!0)&&X(U,R.isDragging)},Et=function(){return(R.isGesturing=!1)||M(R)},pr=function(U){if(!Xe(U)){var re=Z(),z=W();jr((re-Ce)*me,(z-fe)*me,1),Ce=re,fe=z,d&&he.restart(!0)}},Hr=function(U){if(!Xe(U)){U=tl(U,u),K&&(k=!0);var re=(U.deltaMode===1?l:U.deltaMode===2?on.innerHeight:1)*g;jr(U.deltaX*re,U.deltaY*re,0),d&&!$&&he.restart(!0)}},Bn=function(U){if(!Xe(U)){var re=U.clientX,z=U.clientY,ce=re-R.x,J=z-R.y;R.x=re,R.y=z,C=!0,d&&he.restart(!0),(ce||J)&&ft(ce,J)}},Ae=function(U){R.event=U,Y(R)},D=function(U){R.event=U,B(R)},ee=function(U){return Xe(U)||tl(U,u)&&oe(R)};he=R._dc=cr.delayedCall(h||.25,Rt).pause(),R.deltaX=R.deltaY=0,R._vx=Yp(0,50,!0),R._vy=Yp(0,50,!0),R.scrollX=Z,R.scrollY=W,R.isDragging=R.isGesturing=R.isPressed=!1,wS(this),R.enable=function(j){return R.isEnabled||(Or(_e?Se:a,"scroll",Gp),o.indexOf("scroll")>=0&&Or(_e?Se:a,"scroll",pr,ae,ye),o.indexOf("wheel")>=0&&Or(a,"wheel",Hr,ae,ye),(o.indexOf("touch")>=0&&vS||o.indexOf("pointer")>=0)&&(Or(a,Pn[0],hr,ae,ye),Or(Se,Pn[2],Ie),Or(Se,Pn[3],Ie),N&&Or(a,"click",yt,!0,!0),oe&&Or(a,"click",ee),X&&Or(Se,"gesturestart",Qr),M&&Or(Se,"gestureend",Et),Y&&Or(a,zs+"enter",Ae),B&&Or(a,zs+"leave",D),A&&Or(a,zs+"move",Bn)),R.isEnabled=!0,R.isDragging=R.isGesturing=R.isPressed=C=xe=!1,R._vx.reset(),R._vy.reset(),Ce=Z(),fe=W(),j&&j.type&&hr(j),te&&te(R)),R},R.disable=function(){R.isEnabled&&(Qo.filter(function(j){return j!==R&&jl(j.target)}).length||kr(_e?Se:a,"scroll",Gp),R.isPressed&&(R._vx.reset(),R._vy.reset(),kr($?a:Se,Pn[1],It,!0)),kr(_e?Se:a,"scroll",pr,ye),kr(a,"wheel",Hr,ye),kr(a,Pn[0],hr,ye),kr(Se,Pn[2],Ie),kr(Se,Pn[3],Ie),kr(a,"click",yt,!0),kr(a,"click",ee),kr(Se,"gesturestart",Qr),kr(Se,"gestureend",Et),kr(a,zs+"enter",Ae),kr(a,zs+"leave",D),kr(a,zs+"move",Bn),R.isEnabled=R.isPressed=R.isDragging=!1,ue&&ue(R))},R.kill=R.revert=function(){R.disable();var j=Qo.indexOf(R);j>=0&&Qo.splice(j,1),Ti===R&&(Ti=0)},Qo.push(R),$&&jl(a)&&(Ti=R),R.enable(p)},uN(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t})();Lt.version="3.14.2";Lt.create=function(t){return new Lt(t)};Lt.register=TS;Lt.getAll=function(){return Qo.slice()};Lt.getById=function(t){return Qo.filter(function(e){return e.vars.id===t})[0]};xS()&&cr.registerPlugin(Lt);var we,Vo,He,dt,nn,tt,Dm,xf,_c,Hl,ul,ou,yr,hd,Kp,$r,_v,vv,Wo,CS,ch,AS,Ir,Xp,kS,RS,Zi,Qp,Lm,ua,Nm,Bl,Jp,uh,au=1,vr=Date.now,fh=vr(),Cn=0,fl=0,bv=function(e,r,n){var i=en(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return n["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},wv=function(e,r){return r&&(!en(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},hN=function t(){return fl&&requestAnimationFrame(t)},xv=function(){return hd=1},Sv=function(){return hd=0},Kn=function(e){return e},dl=function(e){return Math.round(e*1e5)/1e5||0},PS=function(){return typeof window<"u"},OS=function(){return we||PS()&&(we=window.gsap)&&we.registerPlugin&&we},wo=function(e){return!!~Dm.indexOf(e)},MS=function(e){return(e==="Height"?Nm:He["inner"+e])||nn["client"+e]||tt["client"+e]},IS=function(e){return _s(e,"getBoundingClientRect")||(wo(e)?function(){return Fu.width=He.innerWidth,Fu.height=Nm,Fu}:function(){return xi(e)})},pN=function(e,r,n){var i=n.d,s=n.d2,o=n.a;return(o=_s(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(r?MS(s):e["client"+s])||0}},gN=function(e,r){return!r||~ii.indexOf(e)?IS(e):function(){return Fu}},ei=function(e,r){var n=r.s,i=r.d2,s=r.d,o=r.a;return Math.max(0,(n="scroll"+i)&&(o=_s(e,n))?o()-IS(e)()[s]:wo(e)?(nn[n]||tt[n])-MS(i):e[n]-e["offset"+i])},lu=function(e,r){for(var n=0;n<Wo.length;n+=3)(!r||~r.indexOf(Wo[n+1]))&&e(Wo[n],Wo[n+1],Wo[n+2])},en=function(e){return typeof e=="string"},xr=function(e){return typeof e=="function"},hl=function(e){return typeof e=="number"},Vs=function(e){return typeof e=="object"},rl=function(e,r,n){return e&&e.progress(r?0:1)&&n&&e.pause()},dh=function(e,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return r(e)}):r(e);
vendor: 8,690 bytes, line 7
7n&&n.totalTime&&(e.callbackAnimation=n)}},$o=Math.abs,$S="left",DS="top",Fm="right",jm="bottom",ao="width",lo="height",Ul="Right",zl="Left",Vl="Top",Wl="Bottom",jt="padding",wn="margin",Ma="Width",Hm="Height",Gt="px",xn=function(e){return He.getComputedStyle(e)},mN=function(e){var r=xn(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Ev=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},xi=function(e,r){var n=r&&xn(e)[Kp]!=="matrix(1, 0, 0, 1, 0, 0)"&&we.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return n&&n.progress(0).kill(),i},Sf=function(e,r){var n=r.d2;return e["offset"+n]||e["client"+n]||0},LS=function(e){var r=[],n=e.labels,i=e.duration(),s;for(s in n)r.push(n[s]/i);return r},yN=function(e){return function(r){return we.utils.snap(LS(e),r)}},Bm=function(e){var r=we.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(i,s){return i-s});return n?function(i,s,o){o===void 0&&(o=.001);var a;if(!s)return r(i);if(s>0){for(i-=o,a=0;a<n.length;a++)if(n[a]>=i)return n[a];return n[a-1]}else for(a=n.length,i+=o;a--;)if(n[a]<=i)return n[a];return n[0]}:function(i,s,o){o===void 0&&(o=.001);var a=r(i);return!s||Math.abs(a-i)<o||a-i<0==s<0?a:r(s<0?i-e:i+e)}},_N=function(e){return function(r,n){return Bm(LS(e))(r,n.direction)}},cu=function(e,r,n,i){return n.split(",").forEach(function(s){return e(r,s,i)})},tr=function(e,r,n,i,s){return e.addEventListener(r,n,{passive:!i,capture:!!s})},er=function(e,r,n,i){return e.removeEventListener(r,n,!!i)},uu=function(e,r,n){n=n&&n.wheelHandler,n&&(e(r,"wheel",n),e(r,"touchmove",n))},Tv={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},fu={toggleActions:"play",anticipatePin:0},Ef={top:0,left:0,center:.5,bottom:1,right:1},$u=function(e,r){if(en(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=r/100),e=e.substr(0,n-1)),e=i+(e in Ef?Ef[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},du=function(e,r,n,i,s,o,a,l){var c=s.startColor,u=s.endColor,d=s.fontSize,h=s.indent,f=s.fontWeight,g=dt.createElement("div"),p=wo(n)||_s(n,"pinType")==="fixed",b=e.indexOf("scroller")!==-1,_=p?tt:n,y=e.indexOf("start")!==-1,m=y?c:u,v="border-color:"+m+";font-size:"+d+";color:"+m+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((b||l)&&p?"fixed;":"absolute;"),(b||l||!p)&&(v+=(i===Xt?Fm:jm)+":"+(o+parseFloat(h))+"px;"),a&&(v+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=y,g.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),g.style.cssText=v,g.innerText=r||r===0?e+"-"+r:e,_.children[0]?_.insertBefore(g,_.children[0]):_.appendChild(g),g._offset=g["offset"+i.op.d2],Du(g,0,i,y),g},Du=function(e,r,n,i){var s={display:"block"},o=n[i?"os2":"p2"],a=n[i?"p2":"os2"];e._isFlipped=i,s[n.a+"Percent"]=i?-100:0,s[n.a]=i?"1px":0,s["border"+o+Ma]=1,s["border"+a+Ma]=0,s[n.p]=r+"px",we.set(e,s)},je=[],Zp={},vc,Cv=function(){return vr()-Cn>34&&(vc||(vc=requestAnimationFrame(Oi)))},Do=function(){(!Ir||!Ir.isPressed||Ir.startX>tt.clientWidth)&&(Be.cache++,Ir?vc||(vc=requestAnimationFrame(Oi)):Oi(),Cn||So("scrollStart"),Cn=vr())},hh=function(){RS=He.innerWidth,kS=He.innerHeight},pl=function(e){Be.cache++,(e===!0||!yr&&!AS&&!dt.fullscreenElement&&!dt.webkitFullscreenElement&&(!Xp||RS!==He.innerWidth||Math.abs(He.innerHeight-kS)>He.innerHeight*.25))&&xf.restart(!0)},xo={},vN=[],NS=function t(){return er(ze,"scrollEnd",t)||Qs(!0)},So=function(e){return xo[e]&&xo[e].map(function(r){return r()})||vN},Zr=[],FS=function(e){for(var r=0;r<Zr.length;r+=5)(!e||Zr[r+4]&&Zr[r+4].query===e)&&(Zr[r].style.cssText=Zr[r+1],Zr[r].getBBox&&Zr[r].setAttribute("transform",Zr[r+2]||""),Zr[r+3].uncache=1)},jS=function(){return Be.forEach(function(e){return xr(e)&&++e.cacheID&&(e.rec=e())})},Um=function(e,r){var n;for($r=0;$r<je.length;$r++)n=je[$r],n&&(!r||n._ctx===r)&&(e?n.kill(1):n.revert(!0,!0));Bl=!0,r&&FS(r),r||So("revert")},HS=function(e,r){Be.cache++,(r||!Dr)&&Be.forEach(function(n){return xr(n)&&n.cacheID++&&(n.rec=0)}),en(e)&&(He.history.scrollRestoration=Lm=e)},Dr,co=0,Av,bN=function(){if(Av!==co){var e=Av=co;requestAnimationFrame(function(){return e===co&&Qs(!0)})}},BS=function(){tt.appendChild(ua),Nm=!Ir&&ua.offsetHeight||He.innerHeight,tt.removeChild(ua)},kv=function(e){return _c(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},Qs=function(e,r){if(nn=dt.documentElement,tt=dt.body,Dm=[He,dt,nn,tt],Cn&&!e&&!Bl){tr(ze,"scrollEnd",NS);return}BS(),Dr=ze.isRefreshing=!0,Bl||jS();var n=So("refreshInit");CS&&ze.sort(),r||Um(),Be.forEach(function(i){xr(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),je.slice(0).forEach(function(i){return i.refresh()}),Bl=!1,je.forEach(function(i){if(i._subPinOffset&&i.pin){var s=i.vars.horizontal?"offsetWidth":"offsetHeight",o=i.pin[s];i.revert(!0,1),i.adjustPinSpacing(i.pin[s]-o),i.refresh()}}),Jp=1,kv(!0),je.forEach(function(i){var s=ei(i.scroller,i._dir),o=i.vars.end==="max"||i._endClamp&&i.end>s,a=i._startClamp&&i.start>=s;(o||a)&&i.setPositions(a?s-1:i.start,o?Math.max(a?s:i.start+1,s):i.end,!0)}),kv(!1),Jp=0,n.forEach(function(i){return i&&i.render&&i.render(-1)}),Be.forEach(function(i){xr(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),HS(Lm,1),xf.pause(),co++,Dr=2,Oi(2),je.forEach(function(i){return xr(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Dr=ze.isRefreshing=!1,So("refresh")},eg=0,Lu=1,ql,Oi=function(e){if(e===2||!Dr&&!Bl){ze.isUpdating=!0,ql&&ql.update(0);var r=je.length,n=vr(),i=n-fh>=50,s=r&&je[0].scroll();if(Lu=eg>s?-1:1,Dr||(eg=s),i&&(Cn&&!hd&&n-Cn>200&&(Cn=0,So("scrollEnd")),ul=fh,fh=n),Lu<0){for($r=r;$r-- >0;)je[$r]&&je[$r].update(0,i);Lu=1}else for($r=0;$r<r;$r++)je[$r]&&je[$r].update(0,i);ze.isUpdating=!1}vc=0},tg=[$S,DS,jm,Fm,wn+Wl,wn+Ul,wn+Vl,wn+zl,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Nu=tg.concat([ao,lo,"boxSizing","max"+Ma,"max"+Hm,"position",wn,jt,jt+Vl,jt+Ul,jt+Wl,jt+zl]),wN=function(e,r,n){fa(n);var i=e._gsap;if(i.spacerIsNative)fa(i.spacerState);else if(e._gsap.swappedIn){var s=r.parentNode;s&&(s.insertBefore(e,r),s.removeChild(r))}e._gsap.swappedIn=!1},ph=function(e,r,n,i){if(!e._gsap.swappedIn){for(var s=tg.length,o=r.style,a=e.style,l;s--;)l=tg[s],o[l]=n[l];o.position=n.position==="absolute"?"absolute":"relative",n.display==="inline"&&(o.display="inline-block"),a[jm]=a[Fm]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[ao]=Sf(e,Fr)+Gt,o[lo]=Sf(e,Xt)+Gt,o[jt]=a[wn]=a[DS]=a[$S]="0",fa(i),a[ao]=a["max"+Ma]=n[ao],a[lo]=a["max"+Hm]=n[lo],a[jt]=n[jt],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},xN=/([A-Z])/g,fa=function(e){if(e){var r=e.t.style,n=e.length,i=0,s,o;for((e.t._gsap||we.core.getCache(e.t)).uncache=1;i<n;i+=2)o=e[i+1],s=e[i],o?r[s]=o:r[s]&&r.removeProperty(s.replace(xN,"-$1").toLowerCase())}},hu=function(e){for(var r=Nu.length,n=e.style,i=[],s=0;s<r;s++)i.push(Nu[s],n[Nu[s]]);return i.t=e,i},SN=function(e,r,n){for(var i=[],s=e.length,o=n?8:0,a;o<s;o+=2)a=e[o],i.push(a,a in r?r[a]:e[o+1]);return i.t=e.t,i},Fu={left:0,top:0},Rv=function(e,r,n,i,s,o,a,l,c,u,d,h,f,g){xr(e)&&(e=e(l)),en(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?$u("0"+e.substr(3),n):0));var p=f?f.time():0,b,_,y;if(f&&f.seek(0),isNaN(e)||(e=+e),hl(e))f&&(e=we.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),a&&Du(a,n,i,!0);else{xr(r)&&(r=r(l));var m=(e||"0").split(" "),v,w,E,x;y=Ur(r,l)||tt,v=xi(y)||{},(!v||!v.left&&!v.top)&&xn(y).display==="none"&&(x=y.style.display,y.style.display="block",v=xi(y),x?y.style.display=x:y.style.removeProperty("display")),w=$u(m[0],v[i.d]),E=$u(m[1]||"0",n),e=v[i.p]-c[i.p]-u+w+s-E,a&&Du(a,E,i,n-E<20||a._isStart&&E>20),n-=n-E}if(g&&(l[g]=e||-.001,e<0&&(e=0)),o){var S=e+n,T=o._isStart;b="scroll"+i.d2,Du(o,S,i,T&&S>20||!T&&(d?Math.max(tt[b],nn[b]):o.parentNode[b])<=S+1),d&&(c=xi(a),d&&(o.style[i.op.p]=c[i.op.p]-i.op.m-o._offset+Gt))}return f&&y&&(b=xi(y),f.seek(h),_=xi(y),f._caScrollDist=b[i.p]-_[i.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},EN=/(webkit|moz|length|cssText|inset)/i,Pv=function(e,r,n,i){if(e.parentNode!==r){var s=e.style,o,a;if(r===tt){e._stOrig=s.cssText,a=xn(e);
vendor: 5,370 bytes, line 7
7for(o in a)!+o&&!EN.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=n,s.left=i}else s.cssText=e._stOrig;we.core.getCache(e).uncache=1,r.appendChild(e)}},US=function(e,r,n){var i=r,s=i;return function(o){var a=Math.round(e());return a!==i&&a!==s&&Math.abs(a-i)>3&&Math.abs(a-s)>3&&(o=a,n&&n()),s=i,i=Math.round(o),i}},pu=function(e,r,n){var i={};i[r.p]="+="+n,we.set(e,i)},Ov=function(e,r){var n=Es(e,r),i="_scroll"+r.p2,s=function o(a,l,c,u,d){var h=o.tween,f=l.onComplete,g={};c=c||n();var p=US(n,c,function(){h.kill(),o.tween=0});return d=u&&d||0,u=u||a-c,h&&h.kill(),l[i]=a,l.inherit=!1,l.modifiers=g,g[i]=function(){return p(c+u*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){Be.cache++,o.tween&&Oi()},l.onComplete=function(){o.tween=0,f&&f.call(h)},h=o.tween=we.to(e,l),h};return e[i]=n,n.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},tr(e,"wheel",n.wheelHandler),ze.isTouch&&tr(e,"touchmove",n.wheelHandler),s},ze=(function(){function t(r,n){Vo||t.register(we)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Qp(this),this.init(r,n)}var e=t.prototype;return e.init=function(n,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!fl){this.update=this.refresh=this.kill=Kn;return}n=Ev(en(n)||hl(n)||n.nodeType?{trigger:n}:n,fu);var s=n,o=s.onUpdate,a=s.toggleClass,l=s.id,c=s.onToggle,u=s.onRefresh,d=s.scrub,h=s.trigger,f=s.pin,g=s.pinSpacing,p=s.invalidateOnRefresh,b=s.anticipatePin,_=s.onScrubComplete,y=s.onSnapComplete,m=s.once,v=s.snap,w=s.pinReparent,E=s.pinSpacer,x=s.containerAnimation,S=s.fastScrollEnd,T=s.preventOverlaps,P=n.horizontal||n.containerAnimation&&n.horizontal!==!1?Fr:Xt,F=!d&&d!==0,O=Ur(n.scroller||He),H=we.core.getCache(O),Y=wo(O),B=("pinType"in n?n.pinType:_s(O,"pinType")||Y&&"fixed")==="fixed",A=[n.onEnter,n.onLeave,n.onEnterBack,n.onLeaveBack],I=F&&n.toggleActions.split(" "),$="markers"in n?n.markers:fu.markers,X=Y?0:parseFloat(xn(O)["border"+P.p2+Ma])||0,M=this,K=n.onRefreshInit&&function(){return n.onRefreshInit(M)},te=pN(O,Y,P),ue=gN(O,Y),oe=0,me=0,ye=0,N=Es(O,P),q,Q,se,he,xe,C,k,L,G,R,V,le,ae,Z,W,Ce,fe,de,_e,Se,Ne,$e,it,yt,Xe,Rt,Jt,jr,ft,It,hr,Ie,Qr,Et,pr,Hr,Bn,Ae,D;if(M._startClamp=M._endClamp=!1,M._dir=P,b*=45,M.scroller=O,M.scroll=x?x.time.bind(x):N,he=N(),M.vars=n,i=i||n.animation,"refreshPriority"in n&&(CS=1,n.refreshPriority===-9999&&(ql=M)),H.tweenScroll=H.tweenScroll||{top:Ov(O,Xt),left:Ov(O,Fr)},M.tweenTo=q=H.tweenScroll[P.p],M.scrubDuration=function(z){Qr=hl(z)&&z,Qr?Ie?Ie.duration(z):Ie=we.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Qr,paused:!0,onComplete:function(){return _&&_(M)}}):(Ie&&Ie.progress(1).kill(),Ie=0)},i&&(i.vars.lazy=!1,i._initted&&!M.isReverted||i.vars.immediateRender!==!1&&n.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),M.animation=i.pause(),i.scrollTrigger=M,M.scrubDuration(d),It=0,l||(l=i.vars.id)),v&&((!Vs(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in tt.style&&we.set(Y?[tt,nn]:O,{scrollBehavior:"auto"}),Be.forEach(function(z){return xr(z)&&z.target===(Y?dt.scrollingElement||nn:O)&&(z.smooth=!1)}),se=xr(v.snapTo)?v.snapTo:v.snapTo==="labels"?yN(i):v.snapTo==="labelsDirectional"?_N(i):v.directional!==!1?function(z,ce){return Bm(v.snapTo)(z,vr()-me<500?0:ce.direction)}:we.utils.snap(v.snapTo),Et=v.duration||{min:.1,max:2},Et=Vs(Et)?Hl(Et.min,Et.max):Hl(Et,Et),pr=we.delayedCall(v.delay||Qr/2||.1,function(){var z=N(),ce=vr()-me<500,J=q.tween;if((ce||Math.abs(M.getVelocity())<10)&&!J&&!hd&&oe!==z){var pe=(z-C)/Z,Pe=i&&!F?i.totalProgress():pe,Ee=ce?0:(Pe-hr)/(vr()-ul)*1e3||0,Le=we.utils.clamp(-pe,1-pe,$o(Ee/2)*Ee/.185),Qe=pe+(v.inertia===!1?0:Le),Je,Ve,We=v,nt=We.onStart,De=We.onInterrupt,ir=We.onComplete;if(Je=se(Qe,M),hl(Je)||(Je=Qe),Ve=Math.max(0,Math.round(C+Je*Z)),z<=k&&z>=C&&Ve!==z){if(J&&!J._initted&&J.data<=$o(Ve-z))return;v.inertia===!1&&(Le=Je-pe),q(Ve,{duration:Et($o(Math.max($o(Qe-Pe),$o(Je-Pe))*.185/Ee/.05||0)),ease:v.ease||"power3",data:$o(Ve-z),onInterrupt:function(){return pr.restart(!0)&&De&&De(M)},onComplete:function(){M.update(),oe=N(),i&&!F&&(Ie?Ie.resetTo("totalProgress",Je,i._tTime/i._tDur):i.progress(Je)),It=hr=i&&!F?i.totalProgress():M.progress,y&&y(M),ir&&ir(M)}},z,Le*Z,Ve-z-Le*Z),nt&&nt(M,q.tween)}}else M.isActive&&oe!==z&&pr.restart(!0)}).pause()),l&&(Zp[l]=M),h=M.trigger=Ur(h||f!==!0&&f),D=h&&h._gsap&&h._gsap.stRevert,D&&(D=D(M)),f=f===!0?h:Ur(f),en(a)&&(a={targets:h,className:a}),f&&(g===!1||g===wn||(g=!g&&f.parentNode&&f.parentNode.style&&xn(f.parentNode).display==="flex"?!1:jt),M.pin=f,Q=we.core.getCache(f),Q.spacer?W=Q.pinState:(E&&(E=Ur(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),Q.spacerIsNative=!!E,E&&(Q.spacerState=hu(E))),Q.spacer=de=E||dt.createElement("div"),de.classList.add("pin-spacer"),l&&de.classList.add("pin-spacer-"+l),Q.pinState=W=hu(f)),n.force3D!==!1&&we.set(f,{force3D:!0}),M.spacer=de=Q.spacer,ft=xn(f),yt=ft[g+P.os2],Se=we.getProperty(f),Ne=we.quickSetter(f,P.a,Gt),ph(f,de,ft),fe=hu(f)),$){le=Vs($)?Ev($,Tv):Tv,R=du("scroller-start",l,O,P,le,0),V=du("scroller-end",l,O,P,le,0,R),_e=R["offset"+P.op.d2];var ee=Ur(_s(O,"content")||O);L=this.markerStart=du("start",l,ee,P,le,_e,0,x),G=this.markerEnd=du("end",l,ee,P,le,_e,0,x),x&&(Ae=we.quickSetter([L,G],P.a,Gt)),!B&&!(ii.length&&_s(O,"fixedMarkers")===!0)&&(mN(Y?tt:O),we.set([R,V],{force3D:!0}),Rt=we.quickSetter(R,P.a,Gt),jr=we.quickSetter(V,P.a,Gt))}
vendor: 4,788 bytes, line 7
7if(x){var j=x.vars.onUpdate,U=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){M.update(0,0,1),j&&j.apply(x,U||[])})}if(M.previous=function(){return je[je.indexOf(M)-1]},M.next=function(){return je[je.indexOf(M)+1]},M.revert=function(z,ce){if(!ce)return M.kill(!0);var J=z!==!1||!M.enabled,pe=yr;J!==M.isReverted&&(J&&(Hr=Math.max(N(),M.scroll.rec||0),ye=M.progress,Bn=i&&i.progress()),L&&[L,G,R,V].forEach(function(Pe){return Pe.style.display=J?"none":"block"}),J&&(yr=M,M.update(J)),f&&(!w||!M.isActive)&&(J?wN(f,de,W):ph(f,de,xn(f),Xe)),J||M.update(J),yr=pe,M.isReverted=J)},M.refresh=function(z,ce,J,pe){if(!((yr||!M.enabled)&&!ce)){if(f&&z&&Cn){tr(t,"scrollEnd",NS);return}!Dr&&K&&K(M),yr=M,q.tween&&!J&&(q.tween.kill(),q.tween=0),Ie&&Ie.pause(),p&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(Wi){return Wi.vars.immediateRender&&Wi.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),M.isReverted||M.revert(!0,!0),M._subPinOffset=!1;var Pe=te(),Ee=ue(),Le=x?x.duration():ei(O,P),Qe=Z<=.01||!Z,Je=0,Ve=pe||0,We=Vs(J)?J.end:n.end,nt=n.endTrigger||h,De=Vs(J)?J.start:n.start||(n.start===0||!h?0:f?"0 0":"0 100%"),ir=M.pinnedContainer=n.pinnedContainer&&Ur(n.pinnedContainer,M),_t=h&&Math.max(0,je.indexOf(M))||0,sr=_t,or,gr,Ps,jc,mr,Wt,Un,Ed,by,Ga,zn,Ya,Hc;for($&&Vs(J)&&(Ya=we.getProperty(R,P.p),Hc=we.getProperty(V,P.p));sr-- >0;)Wt=je[sr],Wt.end||Wt.refresh(0,1)||(yr=M),Un=Wt.pin,Un&&(Un===h||Un===f||Un===ir)&&!Wt.isReverted&&(Ga||(Ga=[]),Ga.unshift(Wt),Wt.revert(!0,!0)),Wt!==je[sr]&&(_t--,sr--);for(xr(De)&&(De=De(M)),De=bv(De,"start",M),C=Rv(De,h,Pe,P,N(),L,R,M,Ee,X,B,Le,x,M._startClamp&&"_startClamp")||(f?-.001:0),xr(We)&&(We=We(M)),en(We)&&!We.indexOf("+=")&&(~We.indexOf(" ")?We=(en(De)?De.split(" ")[0]:"")+We:(Je=$u(We.substr(2),Pe),We=en(De)?De:(x?we.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,C):C)+Je,nt=h)),We=bv(We,"end",M),k=Math.max(C,Rv(We||(nt?"100% 0":Le),nt,Pe,P,N()+Je,G,V,M,Ee,X,B,Le,x,M._endClamp&&"_endClamp"))||-.001,Je=0,sr=_t;sr--;)Wt=je[sr]||{},Un=Wt.pin,Un&&Wt.start-Wt._pinPush<=C&&!x&&Wt.end>0&&(or=Wt.end-(M._startClamp?Math.max(0,Wt.start):Wt.start),(Un===h&&Wt.start-Wt._pinPush<C||Un===ir)&&isNaN(De)&&(Je+=or*(1-Wt.progress)),Un===f&&(Ve+=or));if(C+=Je,k+=Je,M._startClamp&&(M._startClamp+=Je),M._endClamp&&!Dr&&(M._endClamp=k||-.001,k=Math.min(k,ei(O,P))),Z=k-C||(C-=.01)&&.001,Qe&&(ye=we.utils.clamp(0,1,we.utils.normalize(C,k,Hr))),M._pinPush=Ve,L&&Je&&(or={},or[P.a]="+="+Je,ir&&(or[P.p]="-="+N()),we.set([L,G],or)),f&&!(Jp&&M.end>=ei(O,P)))or=xn(f),jc=P===Xt,Ps=N(),$e=parseFloat(Se(P.a))+Ve,!Le&&k>1&&(zn=(Y?dt.scrollingElement||nn:O).style,zn={style:zn,value:zn["overflow"+P.a.toUpperCase()]},Y&&xn(tt)["overflow"+P.a.toUpperCase()]!=="scroll"&&(zn.style["overflow"+P.a.toUpperCase()]="scroll")),ph(f,de,or),fe=hu(f),gr=xi(f,!0),Ed=B&&Es(O,jc?Fr:Xt)(),g?(Xe=[g+P.os2,Z+Ve+Gt],Xe.t=de,sr=g===jt?Sf(f,P)+Z+Ve:0,sr&&(Xe.push(P.d,sr+Gt),de.style.flexBasis!=="auto"&&(de.style.flexBasis=sr+Gt)),fa(Xe),ir&&je.forEach(function(Wi){Wi.pin===ir&&Wi.vars.pinSpacing!==!1&&(Wi._subPinOffset=!0)}),B&&N(Hr)):(sr=Sf(f,P),sr&&de.style.flexBasis!=="auto"&&(de.style.flexBasis=sr+Gt)),B&&(mr={top:gr.top+(jc?Ps-C:Ed)+Gt,left:gr.left+(jc?Ed:Ps-C)+Gt,boxSizing:"border-box",position:"fixed"},mr[ao]=mr["max"+Ma]=Math.ceil(gr.width)+Gt,mr[lo]=mr["max"+Hm]=Math.ceil(gr.height)+Gt,mr[wn]=mr[wn+Vl]=mr[wn+Ul]=mr[wn+Wl]=mr[wn+zl]="0",mr[jt]=or[jt],mr[jt+Vl]=or[jt+Vl],mr[jt+Ul]=or[jt+Ul],mr[jt+Wl]=or[jt+Wl],mr[jt+zl]=or[jt+zl],Ce=SN(W,mr,w),Dr&&N(0)),i?(by=i._initted,ch(1),i.render(i.duration(),!0,!0),it=Se(P.a)-$e+Z+Ve,Jt=Math.abs(Z-it)>1,B&&Jt&&Ce.splice(Ce.length-2,2),i.render(0,!0,!0),by||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),ch(0)):it=Z,zn&&(zn.value?zn.style["overflow"+P.a.toUpperCase()]=zn.value:zn.style.removeProperty("overflow-"+P.a));else if(h&&N()&&!x)for(gr=h.parentNode;gr&&gr!==tt;)gr._pinOffset&&(C-=gr._pinOffset,k-=gr._pinOffset),gr=gr.parentNode;Ga&&Ga.forEach(function(Wi){return Wi.revert(!1,!0)}),M.start=C,M.end=k,he=xe=Dr?Hr:N(),!x&&!Dr&&(he<Hr&&N(Hr),M.scroll.rec=0),M.revert(!1,!0),me=vr(),pr&&(oe=-1,pr.restart(!0)),yr=0,i&&F&&(i._initted||Bn)&&i.progress()!==Bn&&i.progress(Bn||0,!0).render(i.time(),!0,!0),(Qe||ye!==M.progress||x||p||i&&!i._initted)&&(i&&!F&&(i._initted||ye||i.vars.immediateRender!==!1)&&i.totalProgress(x&&C<-.001&&!ye?we.utils.normalize(C,k,0):ye,!0),M.progress=Qe||(he-C)/Z===ye?0:ye),f&&g&&(de._pinOffset=Math.round(M.progress*it)),Ie&&Ie.invalidate(),isNaN(Ya)||(Ya-=we.getProperty(R,P.p),Hc-=we.getProperty(V,P.p),pu(R,P,Ya),pu(L,P,Ya-(pe||0)),pu(V,P,Hc),pu(G,P,Hc-(pe||0))),Qe&&!Dr&&M.update(),u&&!Dr&&!ae&&(ae=!0,u(M),ae=!1)}},M.getVelocity=function(){return(N()-xe)/(vr()-ul)*1e3||0}
vendor: 10,673 bytes, line 7
7,M.endAnimation=function(){rl(M.callbackAnimation),i&&(Ie?Ie.progress(1):i.paused()?F||rl(i,M.direction<0,1):rl(i,i.reversed()))},M.labelToScroll=function(z){return i&&i.labels&&(C||M.refresh()||C)+i.labels[z]/i.duration()*Z||0},M.getTrailing=function(z){var ce=je.indexOf(M),J=M.direction>0?je.slice(0,ce).reverse():je.slice(ce+1);return(en(z)?J.filter(function(pe){return pe.vars.preventOverlaps===z}):J).filter(function(pe){return M.direction>0?pe.end<=C:pe.start>=k})},M.update=function(z,ce,J){if(!(x&&!J&&!z)){var pe=Dr===!0?Hr:M.scroll(),Pe=z?0:(pe-C)/Z,Ee=Pe<0?0:Pe>1?1:Pe||0,Le=M.progress,Qe,Je,Ve,We,nt,De,ir,_t;if(ce&&(xe=he,he=x?N():pe,v&&(hr=It,It=i&&!F?i.totalProgress():Ee)),b&&f&&!yr&&!au&&Cn&&(!Ee&&C<pe+(pe-xe)/(vr()-ul)*b?Ee=1e-4:Ee===1&&k>pe+(pe-xe)/(vr()-ul)*b&&(Ee=.9999)),Ee!==Le&&M.enabled){if(Qe=M.isActive=!!Ee&&Ee<1,Je=!!Le&&Le<1,De=Qe!==Je,nt=De||!!Ee!=!!Le,M.direction=Ee>Le?1:-1,M.progress=Ee,nt&&!yr&&(Ve=Ee&&!Le?0:Ee===1?1:Le===1?2:3,F&&(We=!De&&I[Ve+1]!=="none"&&I[Ve+1]||I[Ve],_t=i&&(We==="complete"||We==="reset"||We in i))),T&&(De||_t)&&(_t||d||!i)&&(xr(T)?T(M):M.getTrailing(T).forEach(function(Ps){return Ps.endAnimation()})),F||(Ie&&!yr&&!au?(Ie._dp._time-Ie._start!==Ie._time&&Ie.render(Ie._dp._time-Ie._start),Ie.resetTo?Ie.resetTo("totalProgress",Ee,i._tTime/i._tDur):(Ie.vars.totalProgress=Ee,Ie.invalidate().restart())):i&&i.totalProgress(Ee,!!(yr&&(me||z)))),f){if(z&&g&&(de.style[g+P.os2]=yt),!B)Ne(dl($e+it*Ee));else if(nt){if(ir=!z&&Ee>Le&&k+1>pe&&pe+1>=ei(O,P),w)if(!z&&(Qe||ir)){var sr=xi(f,!0),or=pe-C;Pv(f,tt,sr.top+(P===Xt?or:0)+Gt,sr.left+(P===Xt?0:or)+Gt)}else Pv(f,de);fa(Qe||ir?Ce:fe),Jt&&Ee<1&&Qe||Ne($e+(Ee===1&&!ir?it:0))}}v&&!q.tween&&!yr&&!au&&pr.restart(!0),a&&(De||m&&Ee&&(Ee<1||!uh))&&_c(a.targets).forEach(function(Ps){return Ps.classList[Qe||m?"add":"remove"](a.className)}),o&&!F&&!z&&o(M),nt&&!yr?(F&&(_t&&(We==="complete"?i.pause().totalProgress(1):We==="reset"?i.restart(!0).pause():We==="restart"?i.restart(!0):i[We]()),o&&o(M)),(De||!uh)&&(c&&De&&dh(M,c),A[Ve]&&dh(M,A[Ve]),m&&(Ee===1?M.kill(!1,1):A[Ve]=0),De||(Ve=Ee===1?1:3,A[Ve]&&dh(M,A[Ve]))),S&&!Qe&&Math.abs(M.getVelocity())>(hl(S)?S:2500)&&(rl(M.callbackAnimation),Ie?Ie.progress(1):rl(i,We==="reverse"?1:!Ee,1))):F&&o&&!yr&&o(M)}if(jr){var gr=x?pe/x.duration()*(x._caScrollDist||0):pe;Rt(gr+(R._isFlipped?1:0)),jr(gr)}Ae&&Ae(-pe/x.duration()*(x._caScrollDist||0))}},M.enable=function(z,ce){M.enabled||(M.enabled=!0,tr(O,"resize",pl),Y||tr(O,"scroll",Do),K&&tr(t,"refreshInit",K),z!==!1&&(M.progress=ye=0,he=xe=oe=N()),ce!==!1&&M.refresh())},M.getTween=function(z){return z&&q?q.tween:Ie},M.setPositions=function(z,ce,J,pe){if(x){var Pe=x.scrollTrigger,Ee=x.duration(),Le=Pe.end-Pe.start;z=Pe.start+Le*z/Ee,ce=Pe.start+Le*ce/Ee}M.refresh(!1,!1,{start:wv(z,J&&!!M._startClamp),end:wv(ce,J&&!!M._endClamp)},pe),M.update()},M.adjustPinSpacing=function(z){if(Xe&&z){var ce=Xe.indexOf(P.d)+1;Xe[ce]=parseFloat(Xe[ce])+z+Gt,Xe[1]=parseFloat(Xe[1])+z+Gt,fa(Xe)}},M.disable=function(z,ce){if(z!==!1&&M.revert(!0,!0),M.enabled&&(M.enabled=M.isActive=!1,ce||Ie&&Ie.pause(),Hr=0,Q&&(Q.uncache=1),K&&er(t,"refreshInit",K),pr&&(pr.pause(),q.tween&&q.tween.kill()&&(q.tween=0)),!Y)){for(var J=je.length;J--;)if(je[J].scroller===O&&je[J]!==M)return;er(O,"resize",pl),Y||er(O,"scroll",Do)}},M.kill=function(z,ce){M.disable(z,ce),Ie&&!ce&&Ie.kill(),l&&delete Zp[l];var J=je.indexOf(M);J>=0&&je.splice(J,1),J===$r&&Lu>0&&$r--,J=0,je.forEach(function(pe){return pe.scroller===M.scroller&&(J=1)}),J||Dr||(M.scroll.rec=0),i&&(i.scrollTrigger=null,z&&i.revert({kill:!1}),ce||i.kill()),L&&[L,G,R,V].forEach(function(pe){return pe.parentNode&&pe.parentNode.removeChild(pe)}),ql===M&&(ql=0),f&&(Q&&(Q.uncache=1),J=0,je.forEach(function(pe){return pe.pin===f&&J++}),J||(Q.spacer=0)),n.onKill&&n.onKill(M)},je.push(M),M.enable(!1,!1),D&&D(M),i&&i.add&&!Z){var re=M.update;M.update=function(){M.update=re,Be.cache++,C||k||M.refresh()},we.delayedCall(.01,M.update),Z=.01,C=k=0}else M.refresh();f&&bN()},t.register=function(n){return Vo||(we=n||OS(),PS()&&window.document&&t.enable(),Vo=fl),Vo},t.defaults=function(n){if(n)for(var i in n)fu[i]=n[i];return fu},t.disable=function(n,i){fl=0,je.forEach(function(o){return o[i?"kill":"disable"](n)}),er(He,"wheel",Do),er(dt,"scroll",Do),clearInterval(ou),er(dt,"touchcancel",Kn),er(tt,"touchstart",Kn),cu(er,dt,"pointerdown,touchstart,mousedown",xv),cu(er,dt,"pointerup,touchend,mouseup",Sv),xf.kill(),lu(er);for(var s=0;s<Be.length;s+=3)uu(er,Be[s],Be[s+1]),uu(er,Be[s],Be[s+2])},t.enable=function(){if(He=window,dt=document,nn=dt.documentElement,tt=dt.body,we&&(_c=we.utils.toArray,Hl=we.utils.clamp,Qp=we.core.context||Kn,ch=we.core.suppressOverwrites||Kn,Lm=He.history.scrollRestoration||"auto",eg=He.pageYOffset||0,we.core.globals("ScrollTrigger",t),tt)){fl=1,ua=document.createElement("div"),ua.style.height="100vh",ua.style.position="absolute",BS(),hN(),Lt.register(we),t.isTouch=Lt.isTouch,Zi=Lt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Xp=Lt.isTouch===1,tr(He,"wheel",Do),Dm=[He,dt,nn,tt],we.matchMedia?(t.matchMedia=function(c){var u=we.matchMedia(),d;for(d in c)u.add(d,c[d]);return u},we.addEventListener("matchMediaInit",function(){jS(),Um()}),we.addEventListener("matchMediaRevert",function(){return FS()}),we.addEventListener("matchMedia",function(){Qs(0,1),So("matchMedia")}),we.matchMedia().add("(orientation: portrait)",function(){return hh(),hh})):console.warn("Requires GSAP 3.11.0 or later"),hh(),tr(dt,"scroll",Do);var n=tt.hasAttribute("style"),i=tt.style,s=i.borderTopStyle,o=we.core.Animation.prototype,a,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",a=xi(tt),Xt.m=Math.round(a.top+Xt.sc())||0,Fr.m=Math.round(a.left+Fr.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),n||(tt.setAttribute("style",""),tt.removeAttribute("style")),ou=setInterval(Cv,250),we.delayedCall(.5,function(){return au=0}),tr(dt,"touchcancel",Kn),tr(tt,"touchstart",Kn),cu(tr,dt,"pointerdown,touchstart,mousedown",xv),cu(tr,dt,"pointerup,touchend,mouseup",Sv),Kp=we.utils.checkPrefix("transform"),Nu.push(Kp),Vo=vr(),xf=we.delayedCall(.2,Qs).pause(),Wo=[dt,"visibilitychange",function(){var c=He.innerWidth,u=He.innerHeight;dt.hidden?(_v=c,vv=u):(_v!==c||vv!==u)&&pl()},dt,"DOMContentLoaded",Qs,He,"load",Qs,He,"resize",pl],lu(tr),je.forEach(function(c){return c.enable(0,1)}),l=0;l<Be.length;l+=3)uu(er,Be[l],Be[l+1]),uu(er,Be[l],Be[l+2])}},t.config=function(n){"limitCallbacks"in n&&(uh=!!n.limitCallbacks);var i=n.syncInterval;i&&clearInterval(ou)||(ou=i)&&setInterval(Cv,i),"ignoreMobileResize"in n&&(Xp=t.isTouch===1&&n.ignoreMobileResize),"autoRefreshEvents"in n&&(lu(er)||lu(tr,n.autoRefreshEvents||"none"),AS=(n.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(n,i){var s=Ur(n),o=Be.indexOf(s),a=wo(s);~o&&Be.splice(o,a?6:2),i&&(a?ii.unshift(He,i,tt,i,nn,i):ii.unshift(s,i))},t.clearMatchMedia=function(n){je.forEach(function(i){return i._ctx&&i._ctx.query===n&&i._ctx.kill(!0,!0)})},t.isInViewport=function(n,i,s){var o=(en(n)?Ur(n):n).getBoundingClientRect(),a=o[s?ao:lo]*i||0;return s?o.right-a>0&&o.left+a<He.innerWidth:o.bottom-a>0&&o.top+a<He.innerHeight},t.positionInViewport=function(n,i,s){en(n)&&(n=Ur(n));var o=n.getBoundingClientRect(),a=o[s?ao:lo],l=i==null?a/2:i in Ef?Ef[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return s?(o.left+l)/He.innerWidth:(o.top+l)/He.innerHeight},t.killAll=function(n){if(je.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),n!==!0){var i=xo.killAll||[];xo={},i.forEach(function(s){return s()})}},t})();ze.version="3.14.2";ze.saveStyles=function(t){return t?_c(t).forEach(function(e){if(e&&e.style){var r=Zr.indexOf(e);r>=0&&Zr.splice(r,5),Zr.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),we.core.getCache(e),Qp())}}):Zr};ze.revert=function(t,e){return Um(!t,e)};ze.create=function(t,e){return new ze(t,e)};ze.refresh=function(t){return t?pl(!0):(Vo||ze.register())&&Qs(!0)};ze.update=function(t){return++Be.cache&&Oi(t===!0?2:0)};ze.clearScrollMemory=HS;ze.maxScroll=function(t,e){return ei(t,e?Fr:Xt)};ze.getScrollFunc=function(t,e){return Es(Ur(t),e?Fr:Xt)};ze.getById=function(t){return Zp[t]};ze.getAll=function(){return je.filter(function(t){return t.vars.id!=="ScrollSmoother"})};ze.isScrolling=function(){return!!Cn};ze.snapDirectional=Bm;ze.addEventListener=function(t,e){var r=xo[t]||(xo[t]=[]);~r.indexOf(e)||r.push(e)};ze.removeEventListener=function(t,e){var r=xo[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)};ze.batch=function(t,e){var r=[],n={},i=e.interval||.016,s=e.batchMax||1e9,o=function(c,u){var d=[],h=[],f=we.delayedCall(i,function(){u(d,h),d=[],h=[]}).pause();return function(g){d.length||f.restart(!0),d.push(g.trigger),h.push(g),s<=d.length&&f.progress(1)}},a;for(a in e)n[a]=a.substr(0,2)==="on"&&xr(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return xr(s)&&(s=s(),tr(ze,"refresh",function(){return s=e.batchMax()})),_c(t).forEach(function(l){var c={};for(a in n)c[a]=n[a];c.trigger=l,r.push(ze.create(c))}),r};var Mv=function(e,r,n,i){return r>i?e(i):r<0&&e(0),n>i?(i-r)/(n-r):n<0?r/(r-n):1},gh=function t(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(Lt.isTouch?" pinch-zoom":""):"none",e===nn&&t(tt,r)},gu={auto:1,scroll:1},TN=function(e){var r=e.event,n=e.target,i=e.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||we.core.getCache(s),a=vr(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==tt&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(gu[(l=xn(s)).overflowY]||gu[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==n&&!wo(s)&&(gu[(l=xn(s)).overflowY]||gu[l.overflowX]),o._isScrollT=a}(o._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},zS=function(e,r,n,i){return Lt.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&TN,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return n&&tr(dt,Lt.eventTypes[0],$v,!1,!0)},onDisable:function(){return er(dt,Lt.eventTypes[0],$v,!0)}})},CN=/(input|label|select|textarea)/i,Iv,$v=function(e){var r=CN.test(e.target.tagName);(r||Iv)&&(e._gsapAllow=!0,Iv=r)},AN=function(e){Vs(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,n=r.normalizeScrollX,i=r.momentum,s=r.allowNestedScroll,o=r.onRelease,a,l,c=Ur(e.target)||nn,u=we.core.globals().ScrollSmoother,d=u&&u.get(),h=Zi&&(e.content&&Ur(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Es(c,Xt),g=Es(c,Fr),p=1,b=(Lt.isTouch&&He.visualVie
vendor: 1,087 bytes, line 7
7wport?He.visualViewport.scale*He.visualViewport.width:He.outerWidth)/He.innerWidth,_=0,y=xr(i)?function(){return i(a)}:function(){return i||2.8},m,v,w=zS(c,e.type,!0,s),E=function(){return v=!1},x=Kn,S=Kn,T=function(){l=ei(c,Xt),S=Hl(Zi?1:0,l),n&&(x=Hl(0,ei(c,Fr))),m=co},P=function(){h._gsap.y=dl(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},F=function(){if(v){requestAnimationFrame(E);var $=dl(a.deltaY/2),X=S(f.v-$);if(h&&X!==f.v+f.offset){f.offset=X-f.v;var M=dl((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+M+", 0, 1)",h._gsap.y=M+"px",f.cacheID=Be.cache,Oi()}return!0}f.offset&&P(),v=!0},O,H,Y,B,A=function(){T(),O.isActive()&&O.vars.scrollY>l&&(f()>l?O.progress(1)&&f(l):O.resetTo("scrollY",l))};return h&&we.set(h,{y:"+=0"}),e.ignoreCheck=function(I){return Zi&&I.type==="touchmove"&&F()||p>1.05&&I.type!=="touchstart"||a.isGesturing||I.touches&&I.touches.length>1},e.onPress=function(){v=!1;var I=p;
7p=dl((He.visualViewport&&He.visualViewport.scale||1)/b),O.pause(),I!==p&&gh(c,p>1.01?!0:n?!1:"x"),H=g(),Y=f(),T(),m=co},e.onRelease=e.onGestureStart=function(I,$){if(f.offset&&P(),!$)B.restart(!0);else{Be.cache++;var X=y(),M,K;n&&(M=g(),K=M+X*.05*-I.velocityX/.227,X*=Mv(g,M,K,ei(c,Fr)),O.vars.scrollX=x(K)),M=f(),K=M+X*.05*-I.velocityY/.227,X*=Mv(f,M,K,ei(c,Xt)),O.vars.scrollY=S(K),O.invalidate().duration(X).play(.01),(Zi&&O.vars.scrollY>=l||M>=l-1)&&we.to({},{onUpdate:A,duration:X})}o&&o(I)},e.onWheel=function(){O._ts&&O.pause(),vr()-_>1e3&&(m=0,_=vr())},e.onChange=function(I,$,X,M,K){if(co!==m&&T(),$&&n&&g(x(M[2]===$?H+(I.startX-I.x):g()+$-M[1])),X){f.offset&&P();var te=K[2]===X,ue=te?Y+I.startY-I.y:f()+X-K[1],oe=S(ue);te&&ue!==oe&&(Y+=oe-ue),f(oe)}(X||$)&&Oi()},e.onEnable=function(){gh(c,n?!1:"x"),ze.addEventListener("refresh",A),tr(He,"resize",A),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=g.smooth=!1),w.enable()},e.onDisable=function(){gh(c,!0),er(He,"resize",A),ze.removeEventListener("refresh",A),w.kill()},e.lockAxis=e.lockAxis!==!1,a=new Lt(e),a.iOS=Zi,Zi&&!f()&&f(1),Zi&&we.ticker.add(Kn),B=a._dc,O=we.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:n?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:US(f,f(),function(){return O.pause()})},onUpdate:Oi,onComplete:B.vars.onComplete}),a};ze.sort=function(t){if(xr(t))return je.sort(t);var e=He.pageYOffset||0;return ze.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+He.innerHeight}),je.sort(t||function(r,n){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((n.vars.containerAnimation?1e6:n._sortY)+(n.vars.refreshPriority||0)*-1e6)})};ze.observe=function(t){return new Lt(t)};ze.normalizeScroll=function(t){if(typeof t>"u")return Ir;if(t===!0&&Ir)return Ir.enable();if(t===!1){Ir&&Ir.kill(),Ir=t;return}var e=t instanceof Lt?t:AN(t);return Ir&&Ir.target===e.target&&Ir.kill(),wo(e.target)&&(Ir=e),e};ze.core={_getVelocityProp:Yp,_inputObserver:zS,_scrollers:Be,_proxies:ii,bridge:{ss:function(){Cn||So("scrollStart"),Cn=vr()},ref:function(){return yr}}};OS()&&we.registerPlugin(ze);Qt.registerPlugin(ze);Qt.config({force3D:!0,nullTargetWarn:!1});Qt.ticker.lagSmoothing(0);const pd=()=>kc({},An().public.sanity),zm=()=>{const{visualEditing:t}=pd();if(!t)return;const e=za("sanity-preview",()=>!1),r=ke({get(){return t.previewMode===!1?!0:e.value},set(i){e.value=i}});return Tr({enabled:r,inFrame:!!(window.self!==window.top||window.opener),token:t.token,previewMode:t.previewMode,previewModeId:t.previewModeId})};function kN(){return zm()?.enabled??!1}let nl,Lo,Dv=typeof Symbol=="function"?Symbol():"_split",rg,RN=()=>rg||sg.register(window.gsap),Lv=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,bc=t=>typeof t=="string"?bc(document.querySelectorAll(t)):"length"in t?Array.from(t).reduce((e,r)=>(typeof r=="string"?e.push(...bc(r)):e.push(r),e),[]):[t],Nv=t=>bc(t).filter(e=>e instanceof HTMLElement),ng=[],mh=function(){},PN={add:t=>t()},ON=/\s+/g,Fv=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Tf={left:0,top:0,width:0,height:0},MN=(t,e)=>{for(;++e<t.length&&t[e]===Tf;);return t[e]||Tf},jv=({element:t,html:e,ariaL:r,ariaH:n})=>{t.innerHTML=e,r?t.setAttribute("aria-label",r):t.removeAttribute("aria-label"),n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")},Hv=(t,e)=>{if(e){let r=new Set(t.join("").match(e)||ng),n=t.length,i,s,o,a;if(r.size)for(;--n>-1;){s=t[n];for(o of r)if(o.startsWith(s)&&o.length>s.length){for(i=0,a=s;o.startsWith(a+=t[n+ ++i])&&a.length<o.length;);if(i&&a.length===o.length){t[n]=o,t.splice(n+1,i);break}}}}return t},Bv=t=>window.getComputedStyle(t).display==="inline"&&(t.style.display="inline-block"),No=(t,e,r)=>e.insertBefore(typeof t=="string"?document.createTextNode(t):t,r),ig=(t,e,r)=>{let n=e[t+"sClass"]||"",{tag:i="div",aria:s="auto",propIndex:o=!1}=e,a=t==="line"?"block":"inline-block",l=n.indexOf("++")>-1,c=u=>{let d=document.createElement(i),h=r.length+1;return n&&(d.className=n+(l?" "+n+h:"")),o&&d.style.setProperty("--"+t,h+""),s!=="none"&&d.setAttribute("aria-hidden","true"),i!=="span"&&(d.style.position="relative",d.style.display=a),d.textContent=u,r.push(d),d};return l&&(n=n.replace("++","")),c.collection=r,c},IN=(t,e,r,n)=>{let i=ig("line",r,n),s=window.getComputedStyle(t).textAlign||"left";return(o,a)=>{let l=i("");for(l.style.textAlign=s,t.insertBefore(l,e[o]);o<a;o++)l.appendChild(e[o]);l.normalize()}},VS=(t,e,r,n,i,s,o,a,l,c)=>{var u;let d=Array.from(t.childNodes),h=0,{wordDelimiter:f,reduceWhiteSpace:g=!0,prepareText:p}=e,b=t.getBoundingClientRect(),_=b,y=!g&&window.getComputedStyle(t).whiteSpace.substring(0,3)==="pre",m=0,v=r.collection,w,E,x,S,T,P,F,O,H,Y,B,A,I,$,X,M,K,te;for(typeof f=="object"?(x=f.delimiter||f,E=f.replaceWith||""):E=f===""?"":f||" ",w=E!==" ";h<d.length;h++)if(S=d[h],S.nodeType===3){for(X=S.textContent||"",g?X=X.replace(ON," "):y&&(X=X.replace(/\n/g,E+`
8`)),p&&(X=p(X,t)),S.textContent=X,T=E||x?X.split(x||E):X.match(a)||ng,K=T[T.length-1],O=w?K.slice(-1)===" ":!K,K||T.pop(),_=b,F=w?T[0].charAt(0)===" ":!T[0],F&&No(" ",t,S),T[0]||T.shift(),Hv(T,l),s&&c||(S.textContent=""),H=1;H<=T.length;H++)if(M=T[H-1],!g&&y&&M.charAt(0)===`
9`&&((u=S.previousSibling)==null||u.remove(),No(document.createElement("br"),t,S),M=M.slice(1)),!g&&M==="")No(E,t,S);else if(M===" ")t.insertBefore(document.createTextNode(" "),S);else{if(w&&M.charAt(0)===" "&&No(" ",t,S),m&&H===1&&!F&&v.indexOf(m.parentNode)>-1?(P=v[v.length-1],P.appendChild(document.createTextNode(n?"":M
vendor: 3,363 bytes, line 9
9))):(P=r(n?"":M),No(P,t,S),m&&H===1&&!F&&P.insertBefore(m,P.firstChild)),n)for(B=Lv?Hv([...Lv.segment(M)].map(ue=>ue.segment),l):M.match(a)||ng,te=0;te<B.length;te++)P.appendChild(B[te]===" "?document.createTextNode(" "):n(B[te]));if(s&&c){if(X=S.textContent=X.substring(M.length+1,X.length),Y=P.getBoundingClientRect(),Y.top>_.top&&Y.left<=_.left){for(A=t.cloneNode(),I=t.childNodes[0];I&&I!==P;)$=I,I=I.nextSibling,A.appendChild($);t.parentNode.insertBefore(A,t),i&&Bv(A)}_=Y}(H<T.length||O)&&No(H>=T.length?" ":w&&M.slice(-1)===" "?" "+E:E,t,S)}t.removeChild(S),m=0}else S.nodeType===1&&(o&&o.indexOf(S)>-1?(v.indexOf(S.previousSibling)>-1&&v[v.length-1].appendChild(S),m=S):(VS(S,e,r,n,i,s,o,a,l,!0),m=0),i&&Bv(S))};const WS=class qS{constructor(e,r){this.isSplit=!1,RN(),this.elements=Nv(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=r,this.elements.forEach(o=>{var a;r.overwrite!==!1&&((a=o[Dv])==null||a._data.orig.filter(({element:l})=>l===o).forEach(jv)),o[Dv]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let n=[],i,s=()=>{let o=n.length,a;for(;o--;){a=n[o];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:n,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(s,200)})},mh(this),this.split(r)}split(e){return(this._ctx||PN).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:r="chars,words,lines",aria:n="auto",deepSlice:i=!0,smartWrap:s,onSplit:o,autoSplit:a=!1,specialChars:l,mask:c}=this.vars,u=r.indexOf("lines")>-1,d=r.indexOf("chars")>-1,h=r.indexOf("words")>-1,f=d&&!h&&!u,g=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),p=g?new RegExp(g.source+"|"+Fv.source,"gu"):Fv,b=!!e.ignore&&Nv(e.ignore),{orig:_,animTime:y,obs:m}=this._data,v;(d||h||u)&&(this.elements.forEach((w,E)=>{_[E]={element:w,html:w.innerHTML,ariaL:w.getAttribute("aria-label"),ariaH:w.getAttribute("aria-hidden")},n==="auto"?w.setAttribute("aria-label",(w.textContent||"").trim()):n==="hidden"&&w.setAttribute("aria-hidden","true");let x=[],S=[],T=[],P=d?ig("char",e,x):null,F=ig("word",e,S),O,H,Y,B;if(VS(w,e,F,P,f,i&&(u||f),b,p,g,!1),u){let A=bc(w.childNodes),I=IN(w,A,e,T),$,X=[],M=0,K=A.map(oe=>oe.nodeType===1?oe.getBoundingClientRect():Tf),te=Tf,ue;for(O=0;O<A.length;O++)$=A[O],$.nodeType===1&&($.nodeName==="BR"?((!O||A[O-1].nodeName!=="BR")&&(X.push($),I(M,O+1)),M=O+1,te=MN(K,O)):(ue=K[O],O&&ue.top>te.top&&ue.left<te.left+te.width-1&&(I(M,O),M=O),te=ue));M<O&&I(M,O),X.forEach(oe=>{var me;return(me=oe.parentNode)==null?void 0:me.removeChild(oe)})}if(!h){for(O=0;O<S.length;O++)if(H=S[O],d||!H.nextSibling||H.nextSibling.nodeType!==3)if(s&&!u){for(Y=document.createElement("span"),Y.style.whiteSpace="nowrap";H.firstChild;)Y.appendChild(H.firstChild);H.replaceWith(Y)}else H.replaceWith(...H.childNodes);else B=H.nextSibling,B&&B.nodeType===3&&(B.textContent=(H.textContent||"")+(B.textContent||""),H.remove());S.length=0,w.normalize()}this.lines.push(...T),this.words.push(...S),this.chars.push(...x)}),c&&this[c]&&this.masks.push(...this[c].map(w=>{let E=w.cloneNode();return w.replaceWith(E),E.appendChild(w),w.className&&(E.className=w.className.trim()+"-mask"),E.style.overflow="clip",E}))),this.isSplit=!0,Lo&&u&&(a?Lo.addEventListener("loadingdone",this._split):Lo.status==="loading"&&console.warn("SplitText c
9alled before fonts loaded")),(v=o&&o(this))&&v.totalTime&&(this._data.anim=y?v.totalTime(y):v),u&&a&&this.elements.forEach((w,E)=>{_[E].width=w.offsetWidth,m&&m.observe(w)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Lo?.removeEventListener("loadingdone",this._split)}revert(){var e,r;if(this.isSplit){let{orig:n,anim:i}=this._data;this.kill(),n.forEach(jv),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,i&&(this._data.animTime=i.totalTime(),i.revert()),(r=(e=this.vars).onRevert)==null||r.call(e,this)}return this}static create(e,r){return new qS(e,r)}static register(e){nl=nl||e||window.gsap,nl&&(bc=nl.utils.toArray,mh=nl.core.context||mh),!rg&&window.innerWidth>0&&(Lo=document.fonts,rg=!0)}};WS.version="3.14.2";let sg=WS;function $N(t,e){Qt.registerPlugin(sg);const r=st(null);let n;const i=new Promise(a=>{n=a});let s=Sn;Nt([()=>ni(t)],async([a])=>{if(!a)return;s(),await document.fonts.ready;const l=sg.create(a,{...e});r.value=l,n(l),s=()=>{r.value?.revert()}},{immediate:!0});function o(){s()}return{ready:i,splitTextInstance:r,stop:o}}function DN({el:t,tl:e,duration:r=1,fromY:n=0,fromX:i=0,fromScale:s=1,transformOrigin:o="center center"}){Qt.set(t,{autoAlpha:0}),e.call(()=>{t.classList.add("tmp-no-transitions")}).fromTo(t,{y:n,x:i,scale:s},{y:0,x:0,scale:1,transformOrigin:o,duration:r,ease:"power2.out"},0).fromTo(t,{autoAlpha:0},{autoAlpha:1,duration:.4,ease:"linear"},"<").set(t,{clearProps:"opacity,visibility,y,x"}).call(()=>{t.classList.remove("tmp-no-transitions")})}function LN({el:t,tl:e}){let r=Promise.resolve();return cD(()=>!kN(),()=>{r=$N(t,{type:"lines",reduceWhiteSpace:window.getComputedStyle(t).whiteSpace==="normal",onSplit(i){Qt.set(i.lines,{opacity:0,y:50,scaleY:1.15,transformOrigin:"top center"}),e.to(i?.lines||[],{opacity:1,y:0,scaleY:1,duration:.8,stagger:{each:.08},ease:"power3"},0).call(()=>{i.revert()})}}).ready.then(()=>{})},{immediate:!0}),r}function NN({el:t,tl:e}){e.to(t,{duration:2,scrambleText:{text:"{original}",chars:"123456789"}})}const FN={fade:DN,title:LN,"scramble-text":NN},jN=new Set(["title"]);function Vm(t,e={}){const{$viewportObserver:r}=qe(),{intersectionObserver:n}=An().public,i=ke(()=>ni(t));let{activeClass:s,threshold:o=0,offset:a=0,once:l,onEnter:c=Sn,onLeave:u=Sn}={...n,...e},d=Sn,h=Sn;const f=wt(!1),g=y=>{const m=y[0];m&&(f.value=m.isIntersecting&&m.intersectionRatio>=o)},p=()=>{a=window.innerHeight/8},b=Nt(()=>[i.value,r.isActive.value],([y,m])=>{if(d(),!m||!y)return;a==="auto"&&(p(),h=pD(y,p).stop),Nt(()=>f.value,w=>{w?(s&&y.classList.add(s),l&&_(),c({target:y})):(s&&y.classList.remove(s),u({target:y}))});const v=new IntersectionObserver(g,{rootMargin:`0px 0px ${-a}px 0px`,threshold:o});v.observe(y),d=()=>{v.disconnect(),h(),d=Sn}},{immediate:!0}),_=()=>{d(),b(),h()};return Rc(_),{stop:_,isIntersecting:f}}function HN(t,e){const{observerTarget:r,observerOptions:n,preset:i,animation:s,animationOptions:o,timelineVars:a,disabled:l}=e;let c=Sn;const u=Nt([()=>ni(t),()=>ni(r),()=>Oe(o),()=>Oe(l)],([h,f,g,p])=>{if(c(),!h||p)return;const b=Qt.timeline({paused:!0,...a}),_=!!(i&&jN.has(i)&&window.matchMedia("(max-width: 767px)").matches);let y=!0;const m=async()=>{await(i&&FN[i]||s)?.({el:h,tl:b,...g}),y&&b.then(()=>{E(),u()})};_||m();const{offset:v="auto",threshold:w}=n??{},E=Vm(f||h,{offset:v,threshold:w,activeClass:!1,once:!0,onEnter:async()=>{_&&await m(),y&&b.play()}}).stop;c=()=>{y=!1,E(),b.revert(),c=Sn}},{immediate:!0,deep:!0}),d=()=>{c(),u()};return Rc(d),{stop:d}}const BN={mounted(t,e){HN(t,e.value)}},UN=mt({name:"gsap",setup:t=>{const{$device:e}=qe();ks(()=>{Qt.ticker.fps(e.isMobileOrTablet?30:60)}),t.vueApp.directive("animation",BN)}}),zN={mounted(t,e){Vm(t,e.value)}},VN=mt({name:"intersection-observer",setup:t=>{t.vueApp.directive("observe",zN);const e=wt(!1);return{provide:{viewportObserver:{startWatching:()=>e.value=!0,stopWatching:()=>e.value=!1,isActive:e}}}}});var WN="1.3.17";function GS(t,e,r){return Math.max(t,Math.min(e,r))}function qN(t,e,r){return(1-r)*t+r*e}function GN(t,e,r,n){return qN(t,e,1-Math.exp(-r*n))}function YN(t,e){return(t%e+e)%e}var KN=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const r=GS(0,this.currentTime/this.duration,1);e=r>=1;const n=e?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else this.lerp?(this.value=GN(this.value,this.to,this.lerp*60,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:r,duration:n,easing:i,onStart:s,onUpdate:o}){this.from=this.value=t,this.to=e,this.lerp=r,this.duration=n,this.easing=i,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=o}};function XN(t,e){let r;return function(...n){let i=this;clearTimeout(r),r=setTimeout(()=>{r=void 0,t.apply(i,n)},e)}}var QN=class{constructor(t,e,{autoResize:r=!0,debounce:n=250}={}){this.wrapper=t,this.content=e,r&&(this.debouncedResize=XN(this.resize,n),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},YS=class{events={};emit(t,...e){let r=this.events[t]||[];for(let n=0,i=r.length;n<i;n++)r[n]?.(...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter(r=>e!==r)}}off(t,e){this.events[t]=this.events[t]?.filter(r=>e!==r)}destroy(){this.events={}}},Uv=100/6,Yi={passive:!1},JN=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Yi),this.element.addEventListener("touchstart",this.onTouchStart,Yi),this.element.addEventListener("touchmove",this.onTouchMove,Yi),this.element.addEventListener("touchend",this.onTouchEnd,Yi)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new YS;on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,Yi),this.element.removeEventListener("touchstart",this.onTouchStart,Yi),this.element.removeEventListener("touchmove",this.onTouchMove,Yi),this.element.removeEventListener("touchend",this.onTouchEnd,Yi)}onTouchStart=t=>{const{clientX:e,clientY:r}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{const{clientX:e,clientY:r}=t.targetTouches?t.targetTouches[0]:t,n=-(e-this.touchStart.x)*this.options.touchMultiplier,i=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=r,this.lastDelta={x:n,y:i},this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:r,deltaMode:n}=t;const i=n===1?Uv:n===2?this.window.width:1,s=n===1?Uv:n===2?this.window.height:1;e*=i,r*=s,e*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:r,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},zv=t=>Math.min(1,1.001-Math.pow(2,-10*t)),ZN=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new KN;emitter=new YS;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:r=t,smoothWheel:n=!0,syncTouch:i=!1,syncTouchLerp:s=.075,touchInertiaExponent:o=1.7,duration:a,easing:l,lerp:c=.
91,infinite:u=!1,orientation:d="vertical",gestureOrientation:h=d==="horizontal"?"both":"vertical",touchMultiplier:f=1,wheelMultiplier:g=1,autoResize:p=!0,prevent:b,virtualScroll:_,overscroll:y=!0,autoRaf:m=!1,anchors:v=!1,autoToggle:w=!1,allowNestedScroll:E=!1,__experimental__naiveDimensions:x=!1,naiveDimensions:S=x,stopInertiaOnNavigate:T=!1}={}){window.lenisVersion=WN,(!t||t===document.documentElement)&&(t=window),typeof a=="number"&&typeof l!="function"?l=zv:typeof l=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:t,content:e,eventsTarget:r,smoothWheel:n,syncTouch:i,syncTouchLerp:s,touchInertiaExponent:o,duration:a,easing:l,lerp:c,infinite:u,gestureOrientation:h,orientation:d,touchMultiplier:f,wheelMultiplier:g,autoResize:p,prevent:b,virtualScroll:_,overscroll:y,autoRaf:m,anchors:v,autoToggle:w,allowNestedScroll:E,naiveDimensions:S,stopInertiaOnNavigate:T},this.dimensions=new QN(t,e,{autoResize:p}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new JN(r,{touchMultiplier:f,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0})),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){const t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName.includes("overflow")&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{const r=t.composedPath().filter(n=>n instanceof HTMLAnchorElement&&n.getAttribute("href"));if(this.options.anchors){const n=r.find(i=>i.getAttribute("href")?.includes("#"));if(n){const i=n.getAttribute("href");if(i){const s=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,o=`#${i.split("#")[1]}`;this.scrollTo(o,s)}}}this.options.stopInertiaOnNavigate&&r.find(i=>i.host===window.location.host)&&this.reset()};onPointerDown=t=>{t.button===1&&this.reset()};onVirtualScroll=t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:e,deltaY:r,event:n}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:r,event:n}),n.ctrlKey||n.lenisStopPropagation)return;const i=n.type.includes("touch"),s=n.type.includes("wheel");this.isTouching=n.type==="touchstart"||n.type==="touchmove";const o=e===0&&r===0;if(this.options.syncTouch&&i&&n.type==="touchstart"&&o&&!this.isStopped&&!this.isLocked){this.reset();return}const l=this.options.gestureOrientation==="vertical"&&r===0||this.options.gestureOrientation==="horizontal"&&e===0;if(o||l)return;let c=n.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const u=this.options.prevent;if(c.find(b=>b instanceof HTMLElement&&(typeof u=="function"&&u?.(b)||b.hasAttribute?.("data-lenis-prevent")||i&&b.hasAttribute?.("data-lenis-prevent-touch")||s&&b.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(b,{deltaX:e,deltaY:r}))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let h=r;this.options.gestureOrientation==="both"?h=Math.abs(r)>Math.abs(e)?r:e:this.options.gestureOrientation==="horizontal"&&(h=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&r>0||this.animatedScroll===this.limit&&r<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();const f=i&&this.options.syncTouch,p=i&&n.type==="touchend";p&&(h=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+h,{programmatic:!1,...f?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
9()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{const e=t-(this.time||t);this.time=t,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:r=!1,lock:n=!1,programmatic:i=!0,lerp:s=i?this.options.lerp:void 0,duration:o=i?this.options.duration:void 0,easing:a=i?this.options.easing:void 0,onStart:l,onComplete:c,force:u=!1,userData:d}={}){if(!((this.isStopped||this.isLocked)&&!u)){if(typeof t=="string"&&["top","left","start","#"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let h;if(typeof t=="string"?(h=document.querySelector(t),h||(t==="#top"?t=0:console.warn("Lenis: Target not found",t))):t instanceof HTMLElement&&t?.nodeType&&(h=t),h){if(this.options.wrapper!==window){const g=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?g.left:g.top}const f=h.getBoundingClientRect();t=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=e,t=Math.round(t),this.options.infinite){if(i){this.targetScroll=this.animatedScroll=this.scroll;const h=t-this.animatedScroll;h>this.limit/2?t=t-this.limit:h<-this.limit/2&&(t=t+this.limit)}}else t=GS(0,t,this.limit);if(t===this.targetScroll){l?.(this),c?.(this);return}if(this.userData=d??{},r){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}i||(this.targetScroll=t),typeof o=="number"&&typeof a!="function"?a=zv:typeof a=="function"&&typeof o!="number"&&(o=1),this.animate.fromTo(this.animatedScroll,t,{duration:o,easing:a,lerp:s,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(h,f)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=h-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=h,this.setScroll(this.scroll),i&&(this.targetScroll=h),f||this.emit(),f&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(t,{deltaX:e,deltaY:r}){const n=Date.now(),i=t._lenis??={};let s,o,a,l,c,u,d,h;const f=this.options.gestureOrientation;if(n-(i.time??0)>2e3){i.time=Date.now();const w=window.getComputedStyle(t);i.computedStyle=w;const E=w.overflowX,x=w.overflowY;if(s=["auto","overlay","scroll"].includes(E),o=["auto","overlay","scroll"].includes(x),i.hasOverflowX=s,i.hasOverflowY=o,!s&&!o||f==="vertical"&&!o||f==="horizontal"&&!s)return!1;c=t.scrollWidth,u=t.scrollHeight,d=t.clientWidth,h=t.clientHeight,a=c>d,l=u>h,i.isScrollableX=a,i.isScrollableY=l,i.scrollWidth=c,i.scrollHeight=u,i.clientWidth=d,i.clientHeight=h}else a=i.isScrollableX,l=i.isScrollableY,s=i.hasOverflowX,o=i.hasOverflowY,c=i.scrollWidth,u=i.scrollHeight,d=i.clientWidth,h=i.clientHeight;if(!s&&!o||!a&&!l||f==="vertical"&&(!o||!l)||f==="horizontal"&&(!s||!a))return!1;let g;if(f==="horizontal")g="x";else if(f==="vertical")g="y";else{const w=e!==0,E=r!==0;w&&s&&a&&(g="x"),E&&o&&l&&(g="y")}
9if(!g)return!1;let p,b,_,y,m;if(g==="x")p=t.scrollLeft,b=c-d,_=e,y=s,m=a;else if(g==="y")p=t.scrollTop,b=u-h,_=r,y=o,m=l;else return!1;return(_>0?p<b:p>0)&&y&&m}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?YN(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};const e2=mt({name:"lenis",setup:()=>{const t=new ZN({prevent:e=>e.hasAttribute("data-lenis-auto-prevent")&&e.scrollHeight>e.clientHeight,lerp:0,easing:e=>e===1?1:1-2**(-10*e),duration:1.5,autoResize:!0,naiveDimensions:!0,wheelMultiplier:1,smoothWheel:!0,touchMultiplier:2});return om({htmlAttrs:{class:"[scrollbar-width:none] [&::-webkit-scrollbar]:hidden"}}),ks(()=>{Qt.ticker.add(e=>{t.raf(e*1e3)})}),t.on("scroll",ze.update),{provide:{lenis:t}}}}),Vv="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function t2(t){const[,e,r,n]=t.split("-");if(!e||!r||!n)throw new Error(`Malformed asset _ref '${t}'. Expected an id like "${Vv}".`);const[i,s]=r.split("x"),o=+i,a=+s;if(!(isFinite(o)&&isFinite(a)))throw new Error(`Malformed asset _ref '${t}'. Expected an id like "${Vv}".`);return{id:e,width:o,height:a,format:n}}const r2=t=>{const e=t;return e?typeof e._ref=="string":!1},n2=t=>{const e=t;return e?typeof e._id=="string":!1},i2=t=>{const e=t;return e&&e.asset?typeof e.asset.url=="string":!1},s2=t=>{if(typeof t=="object"&&t!==null){const e=t;return e._upload&&(!e.asset||!e.asset._ref)}return!1};function o2(t){if(!t)return null;let e;if(typeof t=="string"&&a2(t))e={asset:{_ref:Wv(t)}};else if(typeof t=="string")e={asset:{_ref:t}};else if(r2(t))e={asset:t};else if(n2(t))e={asset:{_ref:t._id||""}};else if(i2(t))e={asset:{_ref:Wv(t.asset.url)}};else if(typeof t.asset=="object")e={...t};else return null;const r=t;return r.crop&&(e.crop=r.crop),r.hotspot&&(e.hotspot=r.hotspot),l2(e)}function a2(t){return/^https?:\/\//.test(`${t}`)}function Wv(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}function l2(t){if(t.crop&&t.hotspot)return t;const e={...t};return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}const KS=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]];function c2(t){let e={...t||{}};const r=e.source;delete e.source;const n=o2(r);if(!n){if(r&&s2(r))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw new Error(`Unable to resolve image URL from source (${JSON.stringify(r)})`)}const i=n.asset._ref||n.asset._id||"",s=t2(i),o=Math.round(n.crop.left*s.width),a=Math.round(n.crop.top*s.height),l={left:o,top:a,width:Math.round(s.width-n.crop.right*s.width-o),height:Math.round(s.height-n.crop.bottom*s.height-a)},c=n.hotspot.height*s.height/2,u=n.hotspot.width*s.width/2,d=n.hotspot.x*s.width,h=n.hotspot.y*s.height,f={left:d-u,top:h-c,right:d+u,bottom:h+c};return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...f2({crop:l,hotspot:f},e)}),u2({...e,asset:s})}function u2(t){const e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=t.vanityName?`/${t.vanityName}`:"",n=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${r}`,i=t.mediaLibraryId?`${e}/media-libraries/${t.mediaLibraryId}/images/${n}`:`${e}/images/${t.projectId}/${t.dataset}/${n}`,s=[];if(t.rect){const{left:a,top:l,width:c,height:u}=t.rect;(a!==0||l!==0||u!==t.asset.height||c!==t.asset.width)&&s.push(`rect=${a},${l},${c},${u}`)}
9t.bg&&s.push(`bg=${t.bg}`),t.focalPoint&&(s.push(`fp-x=${t.focalPoint.x}`),s.push(`fp-y=${t.focalPoint.y}`));const o=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return o&&s.push(`flip=${o}`),KS.forEach(a=>{const[l,c]=a;typeof t[l]<"u"?s.push(`${c}=${encodeURIComponent(t[l])}`):typeof t[c]<"u"&&s.push(`${c}=${encodeURIComponent(t[c])}`)}),s.length===0?i:`${i}?${s.join("&")}`}function f2(t,e){let r;const n=e.width,i=e.height;if(!(n&&i))return{width:n,height:i,rect:t.crop};const s=t.crop,o=t.hotspot,a=n/i;if(s.width/s.height>a){const l=Math.round(s.height),c=Math.round(l*a),u=Math.max(0,Math.round(s.top)),d=Math.round((o.right-o.left)/2+o.left);let h=Math.max(0,Math.round(d-c/2));h<s.left?h=s.left:h+c>s.left+s.width&&(h=s.left+s.width-c),r={left:h,top:u,width:c,height:l}}else{const l=s.width,c=Math.round(l/a),u=Math.max(0,Math.round(s.left)),d=Math.round((o.bottom-o.top)/2+o.top);let h=Math.max(0,Math.round(d-c/2));h<s.top?h=s.top:h+c>s.top+s.height&&(h=s.top+s.height-c),r={left:u,top:h,width:l,height:c}}return{width:n,height:i,rect:r}}const d2=["clip","crop","fill","fillmax","max","scale","min"],h2=["top","bottom","left","right","center","focalpoint","entropy"],p2=["format"];function g2(t){return t&&"config"in t?typeof t.config=="function":!1}function m2(t){return t&&"clientConfig"in t?typeof t.clientConfig=="object":!1}function qv(t){const{apiHost:e,projectId:r,dataset:n}=t,i={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},s=t["~experimental_resource"];if(s?.type==="media-library"){if(typeof s.id!="string"||s.id.length===0)throw new Error('Media library clients must include an id in "~experimental_resource"');return{...i,mediaLibraryId:s.id}}return{...i,projectId:r,dataset:n}}function y2(t){const e=KS;for(const r of e){const[n,i]=r;if(t===n||t===i)return n}return t}function XS(t){let e={};return g2(t)?e=qv(t.config()):m2(t)?e=qv(t.clientConfig):e=t||{},e}function _2(t,e){const r=XS(e);return new t(null,r)}function v2(t){return _2(Cf,t)}function b2(t,e){const r=e.baseUrl||t.baseUrl,n={baseUrl:r};for(const i in e)if(e.hasOwnProperty(i)){const s=y2(i);n[s]=e[i]}return{baseUrl:r,...n}}class Cf{options;constructor(e,r){this.options=e?{...e.options||{},...r||{}}:{...r||{}}}withOptions(e){const r=b2(this.options,e);return new Cf(this,r)}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){const r=XS(e),n={...this.options};return delete n.baseUrl,delete n.projectId,delete n.dataset,delete n.mediaLibraryId,new Cf(null,{...r,...n})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&e!==1?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,r){return this.withOptions({focalPoint:{x:e,y:r}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,r){return this.withOptions({width:e,height:r})}blur(e){return this.withOptions({blur:e})}sharpen(e){return this.withOptions({sharpen:e})}rect(e,r,n,i){return this.withOptions({rect:{left:e,top:r,width:n,height:i}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(d2.indexOf(e)===-1)throw new Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(h2.indexOf(e)===-1)throw new Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(p2.indexOf(e)===-1)throw new Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(e!==1)throw new Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return c2(this.options)}toString(){return this.url()}}const w2=t=>{if(!t)return;const e=new Map;return{notify(r,n){e.forEach(i=>
9{const s=()=>{i.lastLiveEventId=n};i.callback(r,s)})},subscribe(r,n){return e.set(r,{lastLiveEventId:void 0,callback:n}),{getLastLiveEventId:()=>e.get(r)?.lastLiveEventId,unsubscribe:()=>{e.delete(r)}}}}};var yh={},Gv,Yv;function x2(){return Yv||(Yv=1,Gv={kValues:Symbol("values"),kStorage:Symbol("kStorage"),kStorages:Symbol("kStorages"),kTransfromer:Symbol("kTransformer"),kTTL:Symbol("kTTL"),kOnDedupe:Symbol("kOnDedupe"),kOnError:Symbol("kOnError"),kOnHit:Symbol("kOnHit"),kOnMiss:Symbol("kOnMiss"),kStale:Symbol("kStale")}),Gv}var _h={exports:{}},Kv;function QS(){return Kv||(Kv=1,(function(t,e){const{hasOwnProperty:r}=Object.prototype,n=_();n.configure=_,n.stringify=n,n.default=n,e.stringify=n,e.configure=_,t.exports=n;const i=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function s(y){return y.length<5e3&&!i.test(y)?`"${y}"`:JSON.stringify(y)}function o(y,m){if(y.length>200||m)return y.sort(m);for(let v=1;v<y.length;v++){const w=y[v];let E=v;for(;E!==0&&y[E-1]>w;)y[E]=y[E-1],E--;y[E]=w}return y}const a=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function l(y){return a.call(y)!==void 0&&y.length!==0}function c(y,m,v){y.length<v&&(v=y.length);const w=m===","?"":" ";let E=`"0":${w}${y[0]}`;for(let x=1;x<v;x++)E+=`${m}"${x}":${w}${y[x]}`;return E}function u(y){if(r.call(y,"circularValue")){const m=y.circularValue;if(typeof m=="string")return`"${m}"`;if(m==null)return m;if(m===Error||m===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}function d(y){let m;if(r.call(y,"deterministic")&&(m=y.deterministic,typeof m!="boolean"&&typeof m!="function"))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return m===void 0?!0:m}function h(y,m){let v;if(r.call(y,m)&&(v=y[m],typeof v!="boolean"))throw new TypeError(`The "${m}" argument must be of type boolean`);return v===void 0?!0:v}function f(y,m){let v;if(r.call(y,m)){if(v=y[m],typeof v!="number")throw new TypeError(`The "${m}" argument must be of type number`);if(!Number.isInteger(v))throw new TypeError(`The "${m}" argument must be an integer`);if(v<1)throw new RangeError(`The "${m}" argument must be >= 1`)}return v===void 0?1/0:v}function g(y){return y===1?"1 item":`${y} items`}function p(y){const m=new Set;for(const v of y)(typeof v=="string"||typeof v=="number")&&m.add(String(v));return m}function b(y){if(r.call(y,"strict")){const m=y.strict;if(typeof m!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(m)return v=>{let w=`Object can not safely be stringified. Received type ${typeof v}`;throw typeof v!="function"&&(w+=` (${v.toString()})`),new Error(w)}}}function _(y){y={...y};const m=b(y);m&&(y.bigint===void 0&&(y.bigint=!1),"circularValue"in y||(y.circularValue=Error));const v=u(y),w=h(y,"bigint"),E=d(y),x=typeof E=="function"?E:void 0,S=f(y,"maximumDepth"),T=f(y,"maximumBreadth");function P(B,A,I,$,X,M){let K=A[B];switch(typeof K=="object"&&K!==null&&typeof K.toJSON=="function"&&(K=K.toJSON(B)),K=$.call(A,B,K),typeof K){case"string":return s(K);case"object":{if(K===null)return"null";if(I.indexOf(K)!==-1)return v;let te="",ue=",";const oe=M;if(Array.isArray(K)){if(K.length===0)return"[]";if(S<I.length+1)return'"[Array]"';I.push(K),X!==""&&(M+=X,te+=`
10${M}`,ue=`,
11${M}`);const se=Math.min(K.length,T);let he=0;for(;he<se-1;he++){const C=P(String(he),K,I,$,X,M);te+=C!==void 0?C:"null",te+=ue}const xe=P(String(he),K,I,$,X,M);if(te+=xe!==void 0?xe:"null",K.length-1>T){const C=K.length-T-1;te+=`${ue}"... ${g(C)} not stringified"`}return X!==""&&(te+=`
12${oe}`),I.pop(),`[${te}]`}let me=Object.keys(K);const ye=me.length;if(ye===0)return"{}";if(S<I.length+1)return'"[Object]"';let N="",q="";X!==""&&(M+=X,ue=`,
13${M}`,N=" ");const Q=Math.min(ye,T);E&&!l(K)&&(me=o(me,x)),I.push(K);for(let se=0;se<Q;se++){const he=me[se],xe=P(he,K,I,$,X,M);xe!==void 0&&(te+=`${q}${s(he)}:${N}${xe}`,q=ue)}if(ye>T){const se=ye-T;te+=`${q}"...":${N}"${g(se)} not stringified"`,q=ue}return X!==""&&q.length>1&&(te=`
14${M}${te}
15${oe}`),I.pop(),`{${te}}`}case"number":return isFinite(K)?String(K):m?m(K):"null";case"boolean":return K===!0?"true":"false";case"undefined":return;case"bigint":if(w)return String(K);default:return m?m(K):void 0}}function F(B,A,I,$,X,M){switch(typeof A=="object"&&A!==null&&typeof A.toJSON=="function"&&(A=A.toJSON(B)),typeof A){case"string":return s(A);case"object":{if(A===null)return"null";if(I.indexOf(A)!==-1)return v;const K=M;let te="",ue=",";if(Array.isArray(A)){if(A.length===0)return"[]";if(S<I.length+1)return'"[Array]"';I.push(A),X!==""&&(M+=X,te+=`
16${M}`,ue=`,
17${M}`);const ye=Math.min(A.length,T);let N=0;for(;N<ye-1;N++){const Q=F(String(N),A[N],I,$,X,M);te+=Q!==void 0?Q:"null",te+=ue}const q=F(String(N),A[N],I,$,X,M);if(te+=q!==void 0?q:"null",A.length-1>T){const Q=A.length-T-1;te+=`${ue}"... ${g(Q)} not stringified"`}return X!==""&&(te+=`
18${K}`),I.pop(),`[${te}]`}I.push(A);let oe="";X!==""&&(M+=X,ue=`,
19${M}`,oe=" ");let me="";for(const ye of $){const N=F(ye,A[ye],I,$,X,M);N!==void 0&&(te+=`${me}${s(ye)}:${oe}${N}`,me=ue)}return X!==""&&me.length>1&&(te=`
20${M}${te}
21${K}`),I.pop(),`{${te}}`}case"number":return isFinite(A)?String(A):m?m(A):"null";case"boolean":return A===!0?"true":"false";case"undefined":return;case"bigint":if(w)return String(A);default:return m?m(A):void 0}}function O(B,A,I,$,X){switch(typeof A){case"string":return s(A);case"object":{if(A===null)return"null";if(typeof A.toJSON=="function"){if(A=A.toJSON(B),typeof A!="object")return O(B,A,I,$,X);if(A===null)return"null"}if(I.indexOf(A)!==-1)return v;const M=X;if(Array.isArray(A)){if(A.length===0)return"[]";if(S<I.length+1)return'"[Array]"';I.push(A),X+=$;let N=`
22${X}`;const q=`,
23${X}`,Q=Math.min(A.length,T);let se=0;for(;se<Q-1;se++){const xe=O(String(se),A[se],I,$,X);N+=xe!==void 0?xe:"null",N+=q}const he=O(String(se),A[se],I,$,X);if(N+=he!==void 0?he:"null",A.length-1>T){const xe=A.length-T-1;N+=`${q}"... ${g(xe)} not stringified"`}return N+=`
24${M}`,I.pop(),`[${N}]`}let K=Object.keys(A);const te=K.length;if(te===0)return"{}";if(S<I.length+1)return'"[Object]"';X+=$;const ue=`,
25${X}`;let oe="",me="",ye=Math.min(te,T);l(A)&&(oe+=c(A,ue,T),K=K.slice(A.length),ye-=A.length,me=ue),E&&(K=o(K,x)),I.push(A);for(let N=0;N<ye;N++){const q=K[N],Q=O(q,A[q],I,$,X);Q!==void 0&&(oe+=`${me}${s(q)}: ${Q}`,me=ue)}if(te>T){const N=te-T;oe+=`${me}"...": "${g(N)} not stringified"`,me=ue}return me!==""&&(oe=`
26${X}${oe}
27${M}`),I.pop(),`{${oe}}`}case"number":return isFinite(A)?String(A):m?m(A):"null";case"boolean":return A===!0?"true":"false";case"undefined":return;case"bigint":if(w)return String(A);default:return m?m(A):void 0}}function H(B,A,I){switch(typeof A){case"string":return s(A);case"object":{if(A===null)return"null";if(typeof A.toJSON=="function"){if(A=A.toJSON(B),typeof A!="object")return H(B,A,I);if(A===null)return"null"}if(I.indexOf(A)!==-1)return v;let $="";const X=A.length!==void 0;if(X&&Array.isArray(A)){if(A.length===0)return"[]";if(S<I.length+1)return'"[Array]"';I.push(A);const oe=Math.min(A.length,T);let me=0;for(;me<oe-1;me++){const N=H(String(me),A[me],I);$+=N!==void 0?N:"null",$+=","}const ye=H(String(me),A[me],I);if($+=ye!==void 0?ye:"null",A.length-1>T){const N=A.length-T-1;$+=`,"... ${g(N)} not stringified"`}return I.pop(),`[${$}]`}let M=Object.keys(A);const K=M.length;if(K===0)return"{}";if(S<I.length+1)return'"[Object]"';let te="",ue=Math.min(K,T);X&&l(A)&&($+=c(A,",",T),M=M.slice(A.length),ue-=A.length,te=","),E&&(M=o(M,x)),I.push(A);for(let oe=0;oe<ue;oe++){const me=M[oe],ye=H(me,A[me],I);ye!==void 0&&($+=`${te}${s(me)}:${ye}`,te=",")}if(K>T){const oe=K-T;$+=`${te}"...":"${g(oe)} not stringified"`}return I.pop(),`{${$}}`}case"number":return isFinite(A)?String(A):m?m(A):"null";case"boolean":return A===!0?"true":"false";case"undefined":return;case"bigint":if(w)return String(A);default:return m?m(A):void 0}}function Y(B,A,I){if(arguments.length>1){let $="";if(typeof I=="number"?$=" ".repeat(Math.min(I,10)):typeof I=="str
27ing"&&($=I.slice(0,10)),A!=null){if(typeof A=="function")return P("",{"":B},[],A,$,"");if(Array.isArray(A))return F("",B,[],p(A),$,"")}if($.length!==0)return O("",B,[],$,"")}return H("",B,[])}return Y}})(_h,_h.exports)),_h.exports}var vh,Xv;function Af(){if(Xv)return vh;Xv=1;function t(l,c){const u=[];let d=0;for(let h=0;h<l.length;h++)for(let f=d;f<c.length;f++)l[h]===c[f]&&(u.push(f),d=f+1);return u}function e(l,c){const u=[];let d=0;for(let h=0;h<l.length;h++)for(let f=d;f<c.length;f++)l[h]!==c[f]&&(u.push(c[f]),d=f+1);return u}function r(l,c){let u=0,d=l.length-1;for(;u<=d;){const h=(u+d)/2|0;if(l[h]===c)return h;l[h]<c?u=h+1:d=h-1}return-1}function n(l){return l*Math.random()|0}function i(l,c){return l=Math.floor(l),c=Math.floor(c),l+n(1+c-l)}function s(l,c){if(l.length<1||c<1)return[];const u=Math.min(l.length,c),d=i(1,u),h=new Set;for(let g=0;g<d;g++)h.add(n(l.length));const f=[];for(const g of h)f.push(l[g]);return f}function o(l,c){if(l==="*"||l.length===c.length&&l===c)return!0;let u=0,d=0;for(;u<l.length&&d<c.length;){if(l[u]===c[d]){u++,d++;continue}if(l[u]==="*"){if(l[u+1]===c[d]){u++;continue}d++;continue}return!1}return u>=l.length-1}function a(){const l=()=>{};return{fatal:l,error:l,warn:l,info:l,debug:l,trace:l}}return vh={findNotMatching:e,findMatchingIndexes:t,bsearchIndex:r,wildcardMatch:o,randomSubset:s,abstractLogging:a,isServerSide:typeof window>"u"},vh}var bh,Qv;function JS(){if(Qv)return bh;Qv=1;class t{constructor(r){this.options=r}async get(r){throw new Error("storage get method not implemented")}async set(r,n,i,s){throw new Error("storage set method not implemented")}async remove(r){throw new Error("storage remove method not implemented")}async invalidate(r){throw new Error("storage invalidate method not implemented")}async clear(r){throw new Error("storage clear method not implemented")}async refresh(){throw new Error("storage refresh method not implemented")}}return bh=t,bh}var wh,Jv;function S2(){if(Jv)return wh;Jv=1;const t=QS(),e=JS(),{findNotMatching:r,randomSubset:n,abstractLogging:i}=Af(),s=64,o=64,a=60;class l extends e{constructor(u={}){if(!u.client||typeof u.client!="object")throw new Error("Redis client is required");if(super(u),u.invalidation&&u.invalidation.referencesTTL&&(typeof u.invalidation.referencesTTL!="number"||u.invalidation.referencesTTL<1))throw new Error("invalidation.referencesTTL must be a positive integer greater than 1");this.log=u.log||i(),this.store=u.client,this.invalidation=!!u.invalidation,this.referencesTTL=u.invalidation&&u.invalidation.referencesTTL||a}getReferenceKeyLabel(u){return`r:${u}`}getKeyReferenceLabel(u){return`k:${u}`}async get(u){this.log.debug({msg:"acd/storage/redis.get",key:u});try{const d=await this.store.get(u);if(!d){if(!this.invalidation)return;this.clearReferences(u);return}return JSON.parse(d)}catch(d){this.log.error({msg:"acd/storage/redis.get error",err:d,key:u})}}async getTTL(u){this.log.debug({msg:"acd/storage/memory.getTTL",key:u});let d=await this.store.pttl(u);return d<0?0:(d=Math.ceil(d/1e3),d)}async set(u,d,h,f){if(this.log.debug({msg:"acd/storage/redis.set key",key:u,value:d,ttl:h,references:f}),h=Number(h),!(!h||h<0))try{if(await this.store.set(u,t(d),"EX",h),!f||f.length<1)return;if(!this.invalidation){this.log.warn({msg:"acd/storage/redis.set, invalidation is disabled, references are useless",key:u,references:f});return}const g=[],p=await this.store.smembers(this.getKeyReferenceLabel(u));if(this.log.debug({msg:"acd/storage/redis.set current references",key:u,currentReferences:p}),p.length>1){p.sort(),f.sort();const y=r(f,p);for(const m of y)g.push(["srem",this.getReferenceKeyLabel(m),u]);g.push(["del",this.getKeyReferenceLabel(u)])}const b=p.length>1?r(p,f):f;this.log.debug({msg:"acd/storage/redis.set references to add",key:u,referencesToAdd:b});for(let y=0;y<b.length;y++){const m=b[y],v=this.getReferenceKeyLabel(m);g.push(["sadd",v,u]),g.push(["expire",v,this.referencesTTL])}const _=this.getKeyReferenceLabel(u);g.push(["sadd",_,f]),g.push(["expire",_,h]),this.log.debug({msg:"acd/storage/redis.set references writes",writes:g}),await this.store.pipeline(g).exec()}catch(g){this.log.error({msg:"acd/storage/redis.set error",err:g,key:u,ttl:h,references:f})}}async remove(u){this.log.debug({msg:"acd/storage/redis.remove",key:u});try{const d=await this.store.del(u)>0;return d&&this.invalidation&&await this.clearReferences(u),d}catch(d){this.log.error({msg:"acd/storage/redis.remove error",err:d,key:u})}}
27async invalidate(u){if(!this.invalidation)return this.log.warn({msg:"acd/storage/redis.invalidate, exit due invalidation is disabled"}),[];this.log.debug({msg:"acd/storage/redis.invalidate",references:u});try{return Array.isArray(u)?await this._invalidateReferences(u):await this._invalidateReference(u)}catch(d){return this.log.error({msg:"acd/storage/redis.invalidate error",err:d,references:u}),[]}}async _invalidateReferences(u,d=!0){const h=u.map(b=>["smembers",d?this.getReferenceKeyLabel(b):b]),f=await this.store.pipeline(h).exec();this.log.debug({msg:"acd/storage/redis._invalidateReferences keys",keys:f});const g=[],p=[];for(let b=0;b<f.length;b++){const _=f[b][1];if(_){this.log.debug({msg:"acd/storage/redis._invalidateReferences got keys to be invalidated",keys:_});for(let y=0;y<_.length;y++){const m=_[y];this.log.debug({msg:"acd/storage/redis._invalidateReferences del key"+m}),p.push(m),g.push(["del",m])}}}return await this.store.pipeline(g).exec(),await this.clearReferences(p),p}async _invalidateReference(u){let d;if(u.includes("*")){const g=await this.store.keys(this.getReferenceKeyLabel(u));return this._invalidateReferences(g,!1)}else d=await this.store.smembers(this.getReferenceKeyLabel(u));this.log.debug({msg:"acd/storage/redis._invalidateReference keys",keys:d});const h=[],f=[];for(let g=0;g<d.length;g++){const p=d[g];this.log.debug({msg:"acd/storage/redis._invalidateReference del key"+p}),f.push(p),h.push(["del",p])}return await this.store.pipeline(h).exec(),await this.clearReferences(f),f}async clear(u){this.log.debug({msg:"acd/storage/redis.clear",name:u});try{if(!u){await this.store.flushall();return}const d=await this.store.keys(`${u}*`);this.log.debug({msg:"acd/storage/redis.clear keys",keys:d});const h=d.map(f=>["del",f]);if(await this.store.pipeline(h).exec(),!this.invalidation)return;await this.clearReferences(d)}catch(d){this.log.error({msg:"acd/storage/redis.clear error",err:d,name:u})}}async refresh(){try{await this.store.flushall()}catch(u){this.log.error({msg:"acd/storage/redis.refresh error",err:u})}}async clearReferences(u){try{if(!u){this.log.warn({msg:"acd/storage/redis.clearReferences invalid call due to empty key"});return}Array.isArray(u)||(u=[u]);const d=u.map(g=>["smembers",this.getKeyReferenceLabel(g)]),h=await this.store.pipeline(d).exec();this.log.debug({msg:"acd/storage/redis.clearReferences references",keys:u,referencesKeys:h});const f={};for(let g=0;g<u.length;g++){for(let b=0;b<h[g][1].length;b++){const _=this.getReferenceKeyLabel(h[g][1][b]);f[_]||(f[_]=["srem",_,u])}const p=this.getKeyReferenceLabel(u[g]);f[p]=["del",p]}this.log.debug({msg:"acd/storage/redis.clearReferences writes pipeline",writes:f}),await this.store.pipeline(Object.values(f)).exec()}catch(d){this.log.error({msg:"acd/storage/redis.clearReferences error",err:d})}}async gc(u="lazy",d={}){if(this.log.debug({msg:"acd/storage/redis.gc",mode:u,options:d}),!this.invalidation){this.log.warn({msg:"acd/storage/redis.gc does not run due to invalidation is disabled"});return}u!=="strict"&&u!=="lazy"&&(u="lazy");const h={references:{scanned:[],removed:[]},keys:{scanned:new Set,removed:new Set},loops:0,cursor:0,error:null};try{let f=0,g=o;if(d.chunk&&(typeof d.chunk!="number"||d.chunk<1))return h.error=new Error("chunk must be a positive integer greater than 1"),h;
27if(d.lazy){if(d.lazy.chunk){if(typeof d.lazy.chunk!="number"||d.lazy.chunk<1)return h.error=new Error("lazy.chunk must be a positive integer greater than 1"),h;g=d.lazy.chunk}if(d.lazy.cursor){if(typeof d.lazy.cursor!="number"||d.lazy.cursor<0)return h.error=new Error("lazy.cursor must be a positive integer greater than 0"),h;f=d.lazy.cursor}}const p=d.chunk||s,b=Math.min(g,p),_=f;let y=-1,m=-1;do{h.loops++;const v=await this.store.scan(f,"match","r:*","count",b);f=Number(v[0]),y=v[1].length;const w=u==="lazy"?n(v[1],g):v[1];h.references.scanned=h.references.scanned.concat(w);let E=[];for(let B=0;B<w.length;B++){const A=w[B];E.push(["smembers",A])}const x=await this.store.pipeline(E).exec(),S={},T={};for(let B=0;B<x.length;B++){const A=x[B],I=w[B];T[I]=A[1];for(let $=0;$<A[1].length;$++){const X=A[1][$];S[X]?S[X].push(I):S[X]=[I],h.keys.scanned.add(X)}}const P=Object.keys(S);E=P.map(B=>["exists",B]);const F=await this.store.pipeline(E).exec(),O={};for(let B=0;B<P.length;B++){const A=P[B];if(F[B][1]!==1)for(let I=0;I<S[A].length;I++){const $=S[A][I];O[$]?O[$].push(A):O[$]=[A],h.keys.removed.add(A)}}const H=Object.keys(O),Y=[];for(let B=0;B<H.length;B++){const A=H[B];T[A].length===O[A].length?(Y.push(["del",A]),h.references.removed.push(A)):Y.push(["srem",A,O[A]])}if(await this.store.pipeline(Y).exec(),m=Y.length,u==="lazy"&&h.references.scanned.length>=g)break}while(_!==f&&y>0&&m>0);h.cursor=f,h.keys.scanned=Array.from(h.keys.scanned),h.keys.removed=Array.from(h.keys.removed)}catch(f){this.log.error({msg:"acd/storage/redis.gc error",err:f}),h.error=f}return h}}return wh=l,wh}var xh,Zv;function E2(){if(Zv)return xh;Zv=1;function t(e){if(typeof e!="function")throw new Error("obliterator/iterator: expecting a function!");this.next=e}return typeof Symbol<"u"&&(t.prototype[Symbol.iterator]=function(){return this}),t.of=function(){var e=arguments,r=e.length,n=0;return new t(function(){return n>=r?{done:!0}:{done:!1,value:e[n++]}})},t.empty=function(){var e=new t(function(){return{done:!0}});return e},t.fromSequence=function(e){var r=0,n=e.length;return new t(function(){return r>=n?{done:!0}:{done:!1,value:e[r++]}})},t.is=function(e){return e instanceof t?!0:typeof e=="object"&&e!==null&&typeof e.next=="function"},xh=t,xh}var Sh={},e0;function T2(){return e0||(e0=1,Sh.ARRAY_BUFFER_SUPPORT=typeof ArrayBuffer<"u",Sh.SYMBOL_SUPPORT=typeof Symbol<"u"),Sh}var Eh,t0;function ZS(){if(t0)return Eh;t0=1;var t=T2(),e=t.ARRAY_BUFFER_SUPPORT,r=t.SYMBOL_SUPPORT;return Eh=function(n,i){var s,o,a,l,c;if(!n)throw new Error("obliterator/forEach: invalid iterable.");if(typeof i!="function")throw new Error("obliterator/forEach: expecting a callback.");if(Array.isArray(n)||e&&ArrayBuffer.isView(n)||typeof n=="string"||n.toString()==="[object Arguments]"){for(a=0,l=n.length;a<l;a++)i(n[a],a);return}if(typeof n.forEach=="function"){n.forEach(i);return}if(r&&Symbol.iterator in n&&typeof n.next!="function"&&(n=n[Symbol.iterator]()),typeof n.next=="function"){for(s=n,a=0;c=s.next(),c.done!==!0;)i(c.value,a),a++;return}for(o in n)n.hasOwnProperty(o)&&i(n[o],o)},Eh}var r0={},n0;function eE(){return n0||(n0=1,(function(t){var e=Math.pow(2,8)-1,r=Math.pow(2,16)-1,n=Math.pow(2,32)-1,i=Math.pow(2,7)-1,s=Math.pow(2,15)-1,o=Math.pow(2,31)-1;t.getPointerArray=function(l){var c=l-1;if(c<=e)return Uint8Array;
27if(c<=r)return Uint16Array;if(c<=n)return Uint32Array;throw new Error("mnemonist: Pointer Array of size > 4294967295 is not supported.")},t.getSignedPointerArray=function(l){var c=l-1;return c<=i?Int8Array:c<=s?Int16Array:c<=o?Int32Array:Float64Array},t.getNumberType=function(l){return l===(l|0)?Math.sign(l)===-1?l<=127&&l>=-128?Int8Array:l<=32767&&l>=-32768?Int16Array:Int32Array:l<=255?Uint8Array:l<=65535?Uint16Array:Uint32Array:Float64Array};var a={Uint8Array:1,Int8Array:2,Uint16Array:3,Int16Array:4,Uint32Array:5,Int32Array:6,Float32Array:7,Float64Array:8};t.getMinimalRepresentation=function(l,c){var u=null,d=0,h,f,g,p,b;for(p=0,b=l.length;p<b;p++)g=c?c(l[p]):l[p],f=t.getNumberType(g),h=a[f.name],h>d&&(d=h,u=f);return u},t.isTypedArray=function(l){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView(l)},t.concat=function(){var l=0,c,u,d;for(c=0,d=arguments.length;c<d;c++)l+=arguments[c].length;var h=new arguments[0].constructor(l);for(c=0,u=0;c<d;c++)h.set(arguments[c],u),u+=arguments[c].length;return h},t.indices=function(l){for(var c=t.getPointerArray(l),u=new c(l),d=0;d<l;d++)u[d]=d;return u}})(r0)),r0}var Fo={},i0;function C2(){if(i0)return Fo;i0=1;var t=ZS(),e=eE();function r(o){return Array.isArray(o)||e.isTypedArray(o)}function n(o){if(typeof o.length=="number")return o.length;if(typeof o.size=="number")return o.size}function i(o){var a=n(o),l=typeof a=="number"?new Array(a):[],c=0;return t(o,function(u){l[c++]=u}),l}function s(o){var a=n(o),l=typeof a=="number"?e.getPointerArray(a):Array,c=typeof a=="number"?new Array(a):[],u=typeof a=="number"?new l(a):[],d=0;return t(o,function(h){c[d]=h,u[d]=d++}),[c,u]}return Fo.isArrayLike=r,Fo.guessLength=n,Fo.toArray=i,Fo.toArrayWithIndices=s,Fo}var Th,s0;function A2(){if(s0)return Th;s0=1;var t=E2(),e=ZS(),r=eE(),n=C2();function i(s,o,a){if(arguments.length<2&&(a=s,s=null,o=null),this.capacity=a,typeof this.capacity!="number"||this.capacity<=0)throw new Error("mnemonist/lru-cache: capacity should be positive number.");if(!isFinite(this.capacity)||Math.floor(this.capacity)!==this.capacity)throw new Error("mnemonist/lru-cache: capacity should be a finite positive integer.");var l=r.getPointerArray(a);this.forward=new l(a),this.backward=new l(a),this.K=typeof s=="function"?new s(a):new Array(a),this.V=typeof o=="function"?new o(a):new Array(a),this.size=0,this.head=0,this.tail=0,this.items={}}return i.prototype.clear=function(){this.size=0,this.head=0,this.tail=0,this.items={}},i.prototype.splayOnTop=function(s){var o=this.head;if(this.head===s)return this;var a=this.backward[s],l=this.forward[s];return this.tail===s?this.tail=a:this.backward[l]=a,this.forward[a]=l,this.backward[o]=s,this.head=s,this.forward[s]=o,this},i.prototype.set=function(s,o){var a=this.items[s];if(typeof a<"u"){this.splayOnTop(a),this.V[a]=o;return}this.size<this.capacity?a=this.size++:(a=this.tail,this.tail=this.backward[a],delete this.items[this.K[a]]),this.items[s]=a,this.K[a]=s,this.V[a]=o,this.forward[a]=this.head,this.backward[this.head]=a,this.head=a},i.prototype.setpop=function(s,o){var a=null,l=null,c=this.items[s];return typeof c<"u"?(this.splayOnTop(c),a=this.V[c],this.V[c]=o,{evicted:!1,key:s,value:a}):(this.size<this.capacity?c=this.size++:(c=this.tail,this.tail=this.backward[c],a=this.V[c],l=this.K[c],delete this.items[l]),this.items[s]=c,this.K[c]=s,this.V[c]=o,this.forward[c]=this.head,this.backward[this.head]=c,this.head=c,l?{evicted:!0,key:l,value:a}:null)},i.prototype.has=function(s){return s in this.items},i.prototype.get=function(s){var o=this.items[s];if(!(typeof o>"u"))return this.splayOnTop(o),this.V[o]},i.prototype.peek=function(s){var o=this.items[s];if(!(typeof o>"u"))return this.V[o]},i.prototype.forEach=function(s,o){o=arguments.length>1?o:this;for(var a=0,l=this.size,c=this.head,u=this.K,d=this.V,h=this.forward;a<l;)s.call(o,d[c],u[c],this),c=h[c],a++},i.prototype.keys=function(){var s=0,o=this.size,a=this.head,l=this.K,c=this.forward;return new t(function(){if(s>=o)return{done:!0};var u=l[a];return s++,s<o&&(a=c[a]),{done:!1,value:u}})},i.prototype.values=function(){var s=0,o=this.size,a=this.head,l=this.V,c=this.forward;return new t(function(){if(s>=o)return{done:!0};var u=l[a];return s++,s<o&&(a=c[a]),{done:!1,value:u}})},i.prototype.entries=function(){var s=0,o=this.size,a=this.head,l=this.K,c=this.V,u=this.forward;return new t(function(){if(s>=o)return{done:!0};var d=l[a],h=c[a];return s++,s<o&&(a=u[a]),{done:!1,value:[d,h]}})},typeof Symbol<"u"&&(i.prototype[Symbol.iterator]=i.prototype.entries),i.prototype.inspect=function(){for(var s=new Map,o=this.entries(),a;a=o.next(),!a.done;)s.set(a.value[0],a.value[1]);return Object.defineProperty(s,"constructor",{value:i,enumerable:!1}),s},typeof Symbol<"u"&&(i.prototype[Symbol.for("nodejs.util.inspect.custom")]=i.prototype.inspect),i.from=function(s,o,a,l){if(arguments.length<2){if(l=n.guessLength(s),typeof l!="number")throw new Error("mnemonist/lru-cache.from: could not guess iterable length. Please provide desired capacity as last argument.")}else arguments.length===2&&(l=o,o=null,a=null);var c=new i(o,a,l);return e(s,function(u,d){c.set(d,u)}),c},Th=i,Th}var Ch,o0;function k2(){if(o0)return Ch;o0=1;const t=A2(),{abstractLogging:e}=Af(),r=JS(),{findMatchingIndexes:n,findNotMatching:i,bsearchIndex:s,wildcardMatch:o}=Af(),a=typeof globalThis.setImmediate<"u"?globalThis.setImmediate:(f,...g)=>setTimeout(f,0,...g),l=1024;class c extends r{constructor(g={}){if(g.size&&(typeof g.size!="number"||g.size<1))throw new Error("size must be a positive integer greater than 0");super(g),this.size=g.size||l,this.log=g.log||e(),this.invalidation=g.
27invalidation||!1,this.init()}init(){this.store=new t(this.size),this.invalidation&&(this.keysReferences=new Map,this.referencesKeys=new Map)}get(g){this.log.debug({msg:"acd/storage/memory.get",key:g});const p=this.store.get(g);if(p){if(this.log.debug({msg:"acd/storage/memory.get, entry",entry:p,now:d()}),p.start+p.ttl>d())return this.log.debug({msg:"acd/storage/memory.get, key is NOT expired",key:g,entry:p}),p.value;this.log.debug({msg:"acd/storage/memory.get, key is EXPIRED",key:g,entry:p}),a(()=>this.remove(g))}}getTTL(g){this.log.debug({msg:"acd/storage/memory.getTTL",key:g});const p=this.store.peek(g);let b=0;return p&&(b=p.start+p.ttl-d(),b<0&&(b=0)),b}set(g,p,b,_){if(this.log.debug({msg:"acd/storage/memory.set",key:g,value:p,ttl:b,references:_}),b=Number(b),!b||b<0)return;const y=this.store.has(g),m=this.store.setpop(g,{value:p,ttl:b,start:d()});if(this.log.debug({msg:"acd/storage/memory.set, evicted",removed:m}),m&&m.evicted&&(this.log.debug({msg:"acd/storage/memory.set, remove evicted key",key:m.key}),this._removeReferences([m.key])),!_||_.length<1)return;if(!this.invalidation){this.log.warn({msg:"acd/storage/memory.set, invalidation is disabled, references are useless"});return}_=[...new Set(_)];let v;if(y&&(v=this.keysReferences.get(g),this.log.debug({msg:"acd/storage/memory.set, current keys-references",key:g,references:v}),v)){v.sort(),_.sort();const E=i(_,v);for(const x of E){const S=this.referencesKeys.get(x);if(!S)continue;const T=s(S,g);if(!(T<0)){if(S.splice(T,1),S.length<1){this.referencesKeys.delete(x);continue}this.referencesKeys.set(x,S)}}}const w=v?i(v,_):_;for(let E=0;E<w.length;E++){const x=w[E];let S=this.referencesKeys.get(x);S?(this.log.debug({msg:"acd/storage/memory.set, add reference-key",key:g,reference:x}),S.push(g)):S=[g],this.log.debug({msg:"acd/storage/memory.set, set reference-keys",keys:S,reference:x}),this.referencesKeys.set(x,S)}this.keysReferences.set(g,_)}remove(g){this.log.debug({msg:"acd/storage/memory.remove",key:g});const p=this._removeKey(g);return this._removeReferences([g]),p}_removeKey(g){return this.log.debug({msg:"acd/storage/memory._removeKey",key:g}),this.store.has(g)?(this.store.set(g,void 0),!0):!1}_removeReferences(g){if(!this.invalidation)return;this.log.debug({msg:"acd/storage/memory._removeReferences",keys:g});const p=new Set;for(let b=0;b<g.length;b++){const _=g[b],y=this.keysReferences.get(_);if(y){for(let m=0;m<y.length;m++)p.add(y[m]);this.log.debug({msg:"acd/storage/memory._removeReferences, delete key-references",key:_}),this.keysReferences.delete(_)}}this._removeReferencesKeys([...p],g)}_removeReferencesKeys(g,p){p.sort(),this.log.debug({msg:"acd/storage/memory._removeReferencesKeys",references:g,keys:p});for(let b=0;b<g.length;b++){const _=g[b],y=this.referencesKeys.get(_);if(this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, get reference-key",reference:_,keys:p,referencesKeys:y}),!y)continue;const m=n(p,y);if(this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, removing",reference:_,referencesToRemove:m,referencesKeys:y}),m.length===y.length){this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, delete",reference:_}),this.referencesKeys.delete(_);continue}for(let v=m.length-1;v>=0;v--)this.log.debug({msg:"acd/storage/memory._removeReferencesKeys, remove",reference:_,referencesKeys:y,at:m[v]}),y.splice(m[v],1)}}invalidate(g){return this.invalidation?(this.log.debug({msg:"acd/storage/memory.invalidate",references:g}),Array.isArray(g)?this._invalidateReferences(g):this._invalidateReference(g)):(this.log.warn({msg:"acd/storage/memory.invalidate, exit due invalidation is disabled"}),[])}_invalidateReferences(g){const p=[];for(let b=0;b<g.length;b++){const _=g[b],y=this.referencesKeys.get(_);if(this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove keys on reference",reference:_,keys:y}),!!y){for(let m=0;m<y.length;m++){const v=y[m];this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove key on reference",reference:_,key:v}),this._removeKey(v)&&p.push(v)}this.log.debug({msg:"acd/storage/memory._invalidateReferences, remove references of",reference:_,keys:y}
27),this._removeReferences([...y])}}return p}_invalidateReference(g){if(g.includes("*")){const _=[];for(const y of this.referencesKeys.keys())o(g,y)&&_.push(y);return this._invalidateReferences(_)}const p=this.referencesKeys.get(g),b=[];if(this.log.debug({msg:"acd/storage/memory._invalidateReference, remove keys on reference",reference:g,keys:p}),!p)return b;for(let _=0;_<p.length;_++){const y=p[_];this.log.debug({msg:"acd/storage/memory._invalidateReference, remove key on reference",reference:g,key:y}),this._removeKey(y)&&b.push(y)}return this.log.debug({msg:"acd/storage/memory._invalidateReference, remove references of",reference:g,keys:p}),this._removeReferences([...p]),b}clear(g){if(this.log.debug({msg:"acd/storage/memory.clear",name:g}),!g){if(this.store.clear(),!this.invalidation)return;this.referencesKeys.clear(),this.keysReferences.clear();return}const p=[];this.store.forEach((_,y)=>{this.log.debug({msg:"acd/storage/memory.clear, iterate key",key:y}),y.indexOf(g)===0&&(this.log.debug({msg:"acd/storage/memory.clear, remove key",key:y}),p.push(y))});const b=[];for(let _=0;_<p.length;_++)this._removeKey(p[_])&&b.push(p[_]);return this._removeReferences(b),b}refresh(){this.log.debug({msg:"acd/storage/memory.refresh"}),this.init()}}let u;function d(){if(u!==void 0)return u;u=Math.floor(Date.now()/1e3);const f=setTimeout(h,1e3);return typeof f.unref=="function"&&f.unref(),u}function h(){u=void 0}return Ch=c,Ch}var Ah,a0;function tE(){if(a0)return Ah;a0=1;const{isServerSide:t}=Af();let e;t&&(e=S2());const r=k2(),n={redis:"redis"};function i(s,o){if(!t&&s===n.redis)throw new Error("Redis storage is not supported in the browser");return s===n.redis?new e(o):new r(o)}return Ah=i,Ah}var l0;function R2(){if(l0)return yh;l0=1;const{kValues:t,kStorage:e,kStorages:r,kTransfromer:n,kTTL:i,kOnDedupe:s,kOnError:o,kOnHit:a,kOnMiss:l,kStale:c}=x2(),u=QS(),d=tE();class h{constructor(_={}){if(!_.storage)throw new Error("storage is required");if(_.ttl&&typeof _.ttl=="number"&&(_.ttl<0||!Number.isInteger(_.ttl)))throw new Error("ttl must be a positive integer greater than 0");if(_.onDedupe&&typeof _.onDedupe!="function")throw new Error("onDedupe must be a function");if(_.onError&&typeof _.onError!="function")throw new Error("onError must be a function");if(_.onHit&&typeof _.onHit!="function")throw new Error("onHit must be a function");if(_.onMiss&&typeof _.onMiss!="function")throw new Error("onMiss must be a function");if(typeof _.stale=="number"&&!(Math.floor(_.stale)===_.stale&&_.stale>=0))throw new Error("stale must be an integer greater or equal to 0");this[t]={},this[e]=_.storage,this[r]=new Map,this[r].set("_default",_.storage),this[n]=_.transformer,this[i]=_.ttl||0,this[s]=_.onDedupe||p,this[o]=_.onError||p,this[a]=_.onHit||p,this[l]=_.onMiss||p,this[c]=_.stale||0}define(_,y,m){if(typeof y=="function"&&(m=y,y={}),_&&this[_])throw new Error(`${_} is already defined in the cache or it is a forbidden name`);if(y=y||{},typeof m!="function")throw new TypeError(`Missing the function parameter for '${_}'`);const v=y.serialize;if(v&&typeof v!="function")throw new TypeError("serialize must be a function");const w=y.references;if(w&&typeof w!="function")throw new TypeError("references must be a function");if(typeof y.ttl!="function"&&y.ttl&&(typeof y.ttl!="number"||y.ttl<0||!Number.isInteger(y.ttl)))throw new Error("ttl must be a positive integer greater than 0");let E;y.storage?(E=d(y.storage.type,y.storage.options),this[r].set(_,E)):E=this[e];const x=y.ttl!==void 0?y.ttl:this[i],S=y.stale!==void 0?y.stale:this[c],T=y.onDedupe||this[s],P=y.onError||this[o],F=y.onHit||this[a],O=y.onMiss||this[l],H=y.transformer||this[n],Y=new f(m,_,v,w,E,H,x,T,P,F,O,S);return this[t][_]=Y,this[_]=Y.add.bind(Y),this}async clear(_,y){if(_){if(!this[t][_])throw new Error(`${_} is not defined in the cache`);await this[t][_].clear(y);return}const m=[];for(const v of Object.values(this[t]))m.push(v.clear());await Promise.all(m)}async get(_,y){if(!this[t][_])throw new Error(`${_} is not defined in the cache`);return this[t][_].get(y)}async set(_,y,m,v,w){if(!this[t][_])throw new Error(`${_} is not defined in the cache`);return this[t][_].set(y,m,v,w)}
27async invalidate(_,y){if(!this[t][_])throw new Error(`${_} is not defined in the cache`);return this[t][_].invalidate(y)}async invalidateAll(_,y="_default"){if(!this[r].has(y))throw new Error(`${y} storage is not defined in the cache`);await this[r].get(y).invalidate(_)}}class f{constructor(_,y,m,v,w,E,x,S,T,P,F,O){this.dedupes=new Map,this.func=_,this.name=y,this.serialize=m,this.references=v,this.storage=w,this.transformer=E,this.ttl=x,this.onDedupe=S,this.onError=T,this.onHit=P,this.onMiss=F,this.stale=O}getKey(_){const y=this.serialize?this.serialize(_):_;return typeof y=="string"?y:u(y)}getStorageKey(_){return`${this.name}~${_}`}getStorageName(){return`${this.name}~`}add(_){try{const y=this.getKey(_);let m=this.dedupes.get(y);return m?this.onDedupe(y):(m=new g,this.buildPromise(m,_,y),this.dedupes.set(y,m)),m.promise}catch(y){this.onError(y)}}async wrapFunction(_,y){const m=this.getStorageKey(y);if(this.ttl>0||typeof this.ttl=="function"){const v=await this.get(m);if(v!==void 0){this.onHit(y);const w=typeof this.stale=="function"?this.stale(v):this.stale;return w>0&&await this.storage.getTTL(m)<=w&&this._wrapFunction(m,_,y).catch(p),v}else this.onMiss(y)}return this._wrapFunction(m,_,y)}async _wrapFunction(_,y,m){const v=await this.func(y,m),w=typeof this.stale=="function"?this.stale(v):this.stale;let E=typeof this.ttl=="function"?this.ttl(v):this.ttl;if(E==null||typeof E!="number"||!Number.isInteger(E))return this.onError(new Error("ttl must be an integer")),v;if(E+=w,E<1)return v;if(!this.references)return await this.set(_,v,E),v;try{let x=this.references(y,m,v),S=v;x&&typeof x.then=="function"&&(x=await x),this.transformer&&(S=this.transformer.serialize(v)),await this.storage.set(_,S,E,x)}catch(x){this.onError(x)}return v}buildPromise(_,y,m){_.promise=this.wrapFunction(y,m),_.promise.then(v=>(this.dedupes.delete(m),v)).catch(v=>{this.onError(v),this.dedupes.delete(m);const w=this.storage.remove(this.getStorageKey(m));w&&typeof w.catch=="function"&&w.catch(p)})}async clear(_){if(_){const y=this.getKey(_);this.dedupes.delete(y),await this.storage.remove(this.getStorageKey(y));return}await this.storage.clear(this.getStorageName()),this.dedupes.clear()}async get(_){const y=await this.storage.get(_);return this.transformer&&y?await this.transformer.deserialize(y):y}async set(_,y,m,v){return this.transformer&&(y=this.transformer.serialize(y)),this.storage.set(_,y,m,v)}async invalidate(_){return this.storage.invalidate(_)}}class g{constructor(){this.promise=null}}function p(){}return yh.Cache=h,yh}var kh,c0;function P2(){if(c0)return kh;c0=1;const{Cache:t}=R2(),e=tE();function r(n){n?n.storage||(n.storage={type:"memory"}):n={storage:{type:"memory"}};const i=e(n.storage.type,n.storage.options);return new t({...n,storage:i})}return kh={Cache:t,createCache:r,createStorage:e},kh}var O2=P2();let Rh=0,u0=[];function M2(){return Rh+=1,()=>{if(Rh-=1,Rh===0){let t=u0;u0=[];for(let e of t)e()}}}let Rn=[],Ki=0;const mu=4;let rE=t=>{let e=[],r={get(){return r.lc||r.listen(()=>{})(),r.value},lc:0,listen(n){return r.lc=e.push(n),()=>{for(let s=Ki+mu;s<Rn.length;)Rn[s]===n?Rn.splice(s,mu):s+=mu;let i=e.indexOf(n);~i&&(e.splice(i,1),--r.lc||r.off())}},notify(n,i){let s=!Rn.length;for(let o of e)Rn.push(o,r.value,n,i);if(s){for(Ki=0;Ki<Rn.length;Ki+=mu)Rn[Ki](Rn[Ki+1],Rn[Ki+2],Rn[Ki+3]);Rn.length=0}},off(){},set(n){let i=r.value;i!==n&&(r.value=n,r.notify(i))},subscribe(n){let i=r.listen(n);return n(r.value),i},value:t};return r};const I2=5,yu=6,_u=10;let $2=(t,e,r,n)=>(t.events=t.events||{},t.events[r+_u]||(t.events[r+_u]=n(i=>{t.events[r].reduceRight((s,o)=>(o(s),s),{shared:{},...i})})),t.events[r]=t.events[r]||[],t.events[r].push(e),()=>{let i=t.events[r],s=i.indexOf(e);i.splice(s,1),i.length||(delete t.events[r],t.events[r+_u](),delete t.events[r+_u])}),D2=1e3,L2=(t,e)=>$2(t,r=>{let n=e(r);n&&t.events[yu].push(n)},I2,r=>{let n=t.listen;t.listen=(...s)=>(!t.lc&&!t.active&&(t.active=!0,r()),n(...s));let i=t.off;return t.events[yu]=[],t.off=()=>{i(),setTimeout(()=>{if(t.active&&!t.lc){t.active=!1;for(let s of t.events[yu])s();t.events[yu]=[]}},D2)},()=>{t.listen=n,t.off=i}}),N2=(t={})=>{let e=rE(t);return e.setKey=function(r,n){let i=e.value;typeof n>"u"&&r in e.value?(e.value={...e.value},delete e.value[r],e.notify(i,r)):e.value[r]!==n&&(e.value={...e.value,[r]:n},e.notify(i,r))},e};const og=typeof document>
27"u"?"server":"browser",F2=t=>{const{ssr:e,setFetcher:r}=t;return n=>{if(og==="server")throw new Error("Live mode is not supported in server environments");if(e&&!n.client)throw new Error("The `client` option in `enableLiveMode` is required");const i=n.client||t.client||void 0,s=new AbortController;let o;return Te(async()=>{const{enableLiveMode:a}=await import("./C_7CViXm.js");return{enableLiveMode:a}},[],import.meta.url).then(({enableLiveMode:a})=>{s.signal.aborted||(o=a({...n,client:i,setFetcher:r,ssr:e}))}),()=>{s.abort(),o?.()}}};function f0(t){return t.withConfig({allowReconfigure:!1})}const j2=t=>{const{ssr:e=!1,tag:r="core-loader"}=t;if(e&&t.client)throw new TypeError("`client` option is not allowed when `ssr: true`, use `setServerClient` from your server entry point instead");if(!e&&t.client===!1)throw new TypeError("You must set `ssr: true` when `client: false` is used");if(!e&&!t.client)throw new TypeError("`client` is required");let n=e?void 0:f0(t.client);function i(d){return O2.createCache().define("fetch",async h=>{if(!d)throw new Error("You have to set the Sanity client with `setServerClient` before any data fetching is done");const{query:f,params:g={},perspective:p,useCdn:b,stega:_}=JSON.parse(h),{result:y,resultSourceMap:m}=await d.fetch(f,g,{tag:r,filterResponse:!1,perspective:p,useCdn:b,stega:_});return{result:y,resultSourceMap:m}})}function s(){const d=n?.config().perspective||"published";return o.instance=i(n),{hydrate:(h,f,g)=>({loading:g?.data===void 0||g?.sourceMap===void 0,error:void 0,data:g?.data,sourceMap:g?.sourceMap,perspective:d}),fetch:(h,f,g,p)=>{if(p.signal.aborted)return;const b=M2();g.setKey("loading",!0),g.setKey("error",void 0),o.instance.fetch(JSON.stringify({query:h,params:f})).then(_=>{p.signal.aborted||(g.setKey("data",_.result),g.setKey("sourceMap",_.resultSourceMap),g.setKey("perspective",d))}).catch(_=>{g.setKey("error",_)}).finally(()=>{g.setKey("loading",!1),b()})}}}const o={instance:i(n)},a=rE(n?s():void 0),l=F2({client:n||void 0,ssr:e,setFetcher:d=>{const h=a.get();return a.set(d),()=>a.set(h)}}),c=(d,h={},f)=>{const g=a.get(),p=N2(g?g.hydrate(d,h,f):{loading:!1,error:typeof f?.data>"u"?new Error("The `initial` option is required when `ssr: true`"):void 0,data:f?.data,sourceMap:f?.sourceMap,perspective:f?.perspective});return L2(p,()=>{let b=new AbortController;const _=a.subscribe(y=>{!y||b.signal.aborted||(b.abort(),b=new AbortController,y.fetch(d,h,p,b))});return()=>{b.abort(),_()}}),p},u={instance:void 0,canPreviewDrafts:!1};return{createFetcherStore:c,enableLiveMode:l,setServerClient:d=>{if(og!=="server")throw new Error("`setServerClient` can only be called in server environments, detected: "+JSON.stringify(og));if(!e)throw new Error("`setServerClient` can only be called when `ssr: true`");u.instance=n=f0(d),u.canPreviewDrafts=!!n.config().token,a.set(s())},unstable__cache:o,unstable__serverClient:u}},d0=(t,e,r)=>t?j2({tag:"nuxt-loader",client:!1,ssr:!0}):void 0,nE=!(typeof navigator>"u")&&navigator.product==="ReactNative",iE={timeout:nE?6e4:12e4},H2=function(t){const e={...iE,...typeof t=="string"?{url:t}:t};if(e.timeout=sE(e.timeout),e.query){const{url:r,searchParams:n}=(function(i){const s=i.indexOf("?");if(s===-1)return{url:i,searchParams:new URLSearchParams};const o=i.slice(0,s),a=i.slice(s+1);if(!nE)return{url:o,searchParams:new URLSearchParams(a)};if(typeof decodeURIComponent!="function")throw new Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");const l=new URLSearchParams;for(const c of a.split("&")){const[u,d]=c.split("=");u&&l.append(h0(u),h0(d||""))}return{url:o,searchParams:l}})(e.url);for(const[i,s]of Object.entries(e.query)){if(s!==void 0)if(Array.isArray(s))for(const a of s)n.append(i,a);else n.append(i,s);const o=n.toString();o&&(e.url=`${r}?${o}`)}}return e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e};function h0(t){return decodeURIComponent(t.replace(/\+/g," "))}function sE(t){if(t===!1||t===0)return!1;if(t.connect||t.socket)return t;const e=Number(t);return isNaN(e)?sE(iE.timeout):{connect:e,socket:e}}const B2=/^https?:\/\//i,U2=function(t){if(!B2.test(t.url))throw new Error(`"${t.url}" is not a valid URL`)};function oE(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}const z2=["request","response","progress","error","abort"],p0=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];function aE(t,e){const r=[],n=p0.reduce((s,o)=>(s[o]=s[o]||[],s),{processOptions:[H2],validateOptions:[U2]});function i(s){const o=z2.reduce((f,g)=>(f[g]=(function(){const p=Object.create(null);let b=0;return{publish:function(_){for(const y in p)p[y](_)},subscribe:function(_){const y=b++;return p[y]=_,function(){delete p[y]}}}})(),f),{}),a=(f=>function(g,p,...b){const _=g==="onError";let y=p;for(let m=0;m<f[g].length&&(y=(0,f[g][m])(y,...b),!_||y);m++);return y})(n),l=a("processOptions",s);a("validateOptions",l);const c={options:l,channels:o,applyMiddleware:a};let u;const d=o.request.subscribe(f=>{u=e(f,(g,p)=>((b,_,y)=>{let m=b,v=_;if(!m)try{v=a("onResponse",_,y)}catch(w){v=null,m=w}m=m&&a("onError",m,y),m?o.error.publish(m):v&&o.response.publish(v)})(g,p,f))});o.abort.subscribe(()=>{d(),u&&u.abort()});const h=a("onReturn",o,c);return h===o&&o.request.publish(c),h}return i.use=function(s){if(!s)throw new Error("Tried to add middleware that resolved to fal
27sey value");if(typeof s=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(s.onReturn&&n.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return p0.forEach(o=>{s[o]&&n[o].push(s[o])}),r.push(s),i},i.clone=()=>aE(r,e),t.forEach(i.use),i}var g0,m0,V2=oE((function(){if(m0)return g0;m0=1;var t=function(r){return r.replace(/^\s+|\s+$/g,"")},e=function(r){return Object.prototype.toString.call(r)==="[object Array]"};return g0=function(r){if(!r)return{};for(var n=Object.create(null),i=t(r).split(`
28`),s=0;s<i.length;s++){var o=i[s],a=o.indexOf(":"),l=t(o.slice(0,a)).toLowerCase(),c=t(o.slice(a+1));typeof n[l]>"u"?n[l]=c:e(n[l])?n[l].push(c):n[l]=[n[l],c]}return n}})());let ag=class{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#n;#i={};#r;#s={};#o;open(e,r,n){this.#e=e,this.#t=r,this.#n="",this.readyState=1,this.onreadystatechange?.(),this.#r=void 0}abort(){this.#r&&this.#r.abort()}getAllResponseHeaders(){return this.#n}setRequestHeader(e,r){this.#i[e]=r}setInit(e,r=!0){this.#s=e,this.#o=r}send(e){const r=this.responseType!=="arraybuffer",n={...this.#s,method:this.#e,headers:this.#i,body:e};typeof AbortController=="function"&&this.#o&&(this.#r=new AbortController,typeof EventTarget<"u"&&this.#r.signal instanceof EventTarget&&(n.signal=this.#r.signal)),typeof document<"u"&&(n.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,n).then(i=>(i.headers.forEach((s,o)=>{this.#n+=`${o}: ${s}\r
29`}),this.status=i.status,this.statusText=i.statusText,this.readyState=3,this.onreadystatechange?.(),r?i.text():i.arrayBuffer())).then(i=>{typeof i=="string"?this.responseText=i:this.response=i,this.readyState=4,this.onreadystatechange?.()}).catch(i=>{i.name!=="AbortError"?this.onerror?.(i):this.onabort?.()})}};const lg=typeof XMLHttpRequest=="function"?"xhr":"fetch",W2=lg==="xhr"?XMLHttpRequest:ag,q2=(t,e)=>{const r=t.options,n=t.applyMiddleware("finalizeOptions",r),i={},s=t.applyMiddleware("interceptRequest",void 0,{adapter:lg,context:t});if(s){const p=setTimeout(e,0,null,s);return{abort:()=>clearTimeout(p)}}let o=new W2;o instanceof ag&&typeof n.fetch=="object"&&o.setInit(n.fetch,n.useAbortSignal??!0);const a=n.headers,l=n.timeout;let c=!1,u=!1,d=!1;if(o.onerror=p=>{g(o instanceof ag?p instanceof Error?p:new Error(`Request error while attempting to reach is ${n.url}`,{cause:p}):new Error(`Request error while attempting to reach is ${n.url}${p.lengthComputable?`(${p.loaded} of ${p.total} bytes transferred)`:""}`))},o.ontimeout=p=>{g(new Error(`Request timeout while attempting to reach ${n.url}${p.lengthComputable?`(${p.loaded} of ${p.total} bytes transferred)`:""}`))},o.onabort=()=>{f(!0),c=!0},o.onreadystatechange=function(){l&&(f(),i.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),l.socket)),!c&&o&&o.readyState===4&&o.status!==0&&(function(){if(!(c||u||d)){if(o.status===0)return void g(new Error("Unknown XHR error"));f(),u=!0,e(null,{body:o.response||(o.responseType===""||o.responseType==="text"?o.responseText:""),url:n.url,method:n.method,headers:V2(o.getAllResponseHeaders()),statusCode:o.status,statusMessage:o.statusText})}})()},o.open(n.method,n.url,!0),o.withCredentials=!!n.withCredentials,a&&o.setRequestHeader)for(const p in a)a.hasOwnProperty(p)&&o.setRequestHeader(p,a[p]);return n.rawBody&&(o.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:n,adapter:lg,request:o,context:t}),o.send(n.body||null),l&&(i.connect=setTimeout(()=>h("ETIMEDOUT"),l.connect)),{abort:function(){c=!0,o&&o.abort()}};function h(p){d=!0,o.abort();const b=new Error(p==="ESOCKETTIMEDOUT"?`Socket timed out on request to ${n.url}`:`Connection timed out on request to ${n.url}`);b.code=p,t.channels.error.publish(b)}function f(p){(p||c||o&&o.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function g(p){if(u)return;f(!0),u=!0,o=null;const b=p||new Error(`Network error while attempting to reach ${n.url}`);b.isNetworkError=!0,b.request=n,e(b)}},G2=(t=[],e=q2)=>aE(t,e);var Y2={},y0,_0,v0,b0,w0,Ph={exports:{}};w0||(w0=1,(function(t,e){e.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;n.splice(1,0,i,"color: inherit");let s=0,o=0;n[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(s++,a==="%c"&&(o=s))}),n.splice(o,0,i)},e.save=function(n){try{n?e.storage.setItem("debug",n):e.storage.removeItem("debug")}catch{}},e.load=function(){let n;try{n=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!n&&typeof process<"u"&&"env"in process&&(n=Y2.DEBUG),n},e.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;
29if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let n;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(n=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(n[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=(function(){try{return localStorage}catch{}})(),e.destroy=(()=>{let n=!1;return()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=(b0?v0:(b0=1,v0=function(n){function i(a){let l,c,u,d=null;function h(...f){if(!h.enabled)return;const g=h,p=Number(new Date),b=p-(l||p);g.diff=b,g.prev=l,g.curr=p,l=p,f[0]=i.coerce(f[0]),typeof f[0]!="string"&&f.unshift("%O");let _=0;f[0]=f[0].replace(/%([a-zA-Z%])/g,(y,m)=>{if(y==="%%")return"%";_++;const v=i.formatters[m];if(typeof v=="function"){const w=f[_];y=v.call(g,w),f.splice(_,1),_--}return y}),i.formatArgs.call(g,f),(g.log||i.log).apply(g,f)}return h.namespace=a,h.useColors=i.useColors(),h.color=i.selectColor(a),h.extend=s,h.destroy=i.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(c!==i.namespaces&&(c=i.namespaces,u=i.enabled(a)),u),set:f=>{d=f}}),typeof i.init=="function"&&i.init(h),h}function s(a,l){const c=i(this.namespace+(typeof l>"u"?":":l)+a);return c.log=this.log,c}function o(a,l){let c=0,u=0,d=-1,h=0;for(;c<a.length;)if(u<l.length&&(l[u]===a[c]||l[u]==="*"))l[u]==="*"?(d=u,h=c,u++):(c++,u++);else{if(d===-1)return!1;u=d+1,h++,c=h}for(;u<l.length&&l[u]==="*";)u++;return u===l.length}return i.debug=i,i.default=i,i.coerce=function(a){return a instanceof Error?a.stack||a.message:a},i.disable=function(){const a=[...i.names,...i.skips.map(l=>"-"+l)].join(",");return i.enable(""),a},i.enable=function(a){i.save(a),i.namespaces=a,i.names=[],i.skips=[];const l=(typeof a=="string"?a:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const c of l)c[0]==="-"?i.skips.push(c.slice(1)):i.names.push(c)},i.enabled=function(a){for(const l of i.skips)if(o(a,l))return!1;for(const l of i.names)if(o(a,l))return!0;return!1},i.humanize=(function(){if(_0)return y0;_0=1;var a=1e3,l=60*a,c=60*l,u=24*c,d=7*u;function h(f,g,p,b){var _=g>=1.5*p;return Math.round(f/p)+" "+b+(_?"s":"")}return y0=function(f,g){g=g||{};var p,b,_=typeof f;if(_==="string"&&f.length>0)return(function(y){if(!((y=String(y)).length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(m){var v=parseFloat(m[1]);switch((m[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*v;case"weeks":case"week":case"w":return v*d;case"days":case"day":case"d":return v*u;case"hours":case"hour":case"hrs":case"hr":case"h":return v*c;case"minutes":case"minute":case"mins":case"min":case"m":return v*l;case"seconds":case"second":case"secs":case"sec":case"s":return v*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return v;default:return}}}})(f);if(_==="number"&&isFinite(f))return g.long?(p=f,(b=Math.abs(p))>=u?h(p,b,u,"day"):b>=c?h(p,b,c,"hour"):b>=l?h(p,b,l,"minute"):b>=a?h(p,b,a,"second"):p+" ms"):(function(y){var m=Math.abs(y);return m>=u?Math.round(y/u)+"d":m>=c?Math.round(y/c)+"h":m>=l?Math.round(y/l)+"m":m>=a?Math.round(y/a)+"s":y+"ms"})(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))}})(),i.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}
29,Object.keys(n).forEach(a=>{i[a]=n[a]}),i.names=[],i.skips=[],i.formatters={},i.selectColor=function(a){let l=0;for(let c=0;c<a.length;c++)l=(l<<5)-l+a.charCodeAt(c),l|=0;return i.colors[Math.abs(l)%i.colors.length]},i.enable(i.load()),i}))(e);const{formatters:r}=t.exports;r.j=function(n){try{return JSON.stringify(n)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}})(Ph,Ph.exports)),Ph.exports;const K2=typeof Buffer>"u"?()=>!1:t=>Buffer.isBuffer(t);function x0(t){return Object.prototype.toString.call(t)==="[object Object]"}function X2(t){if(x0(t)===!1)return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(x0(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)}const Q2=["boolean","string","number"];function J2(){return{processOptions:t=>{const e=t.body;return!e||typeof e.pipe=="function"||K2(e)||Q2.indexOf(typeof e)===-1&&!Array.isArray(e)&&!X2(e)?t:Object.assign({},t,{body:JSON.stringify(t.body),headers:Object.assign({},t.headers,{"Content-Type":"application/json"})})}}}function Z2(t){return{onResponse:r=>{const n=r.headers["content-type"]||"",i=t&&t.force||n.indexOf("application/json")!==-1;return r.body&&n&&i?Object.assign({},r,{body:e(r.body)}):r},processOptions:r=>Object.assign({},r,{headers:Object.assign({Accept:"application/json"},r.headers)})};function e(r){try{return JSON.parse(r)}catch(n){throw n.message=`Failed to parsed response body as JSON: ${n.message}`,n}}}let gl={};typeof globalThis<"u"?gl=globalThis:typeof window<"u"?gl=window:typeof global<"u"?gl=global:typeof self<"u"&&(gl=self);var eF=gl;function tF(t={}){const e=t.implementation||eF.Observable;if(!e)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new e(i=>(r.error.subscribe(s=>i.error(s)),r.progress.subscribe(s=>i.next(Object.assign({type:"progress"},s))),r.response.subscribe(s=>{i.next(Object.assign({type:"response"},s)),i.complete()}),r.request.publish(n),()=>r.abort.publish()))}}function rF(){return{onRequest:t=>{if(t.adapter!=="xhr")return;const e=t.request,r=t.context;function n(i){return s=>{const o=s.lengthComputable?s.loaded/s.total*100:-1;r.channels.progress.publish({stage:i,percent:o,total:s.total,loaded:s.loaded,lengthComputable:s.lengthComputable})}}"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=n("upload")),"onprogress"in e&&(e.onprogress=n("download"))}}}var lE=(t,e,r)=>(r.method==="GET"||r.method==="HEAD")&&(t.isNetworkError||!1);function nF(t){return 100*Math.pow(2,t)+100*Math.random()}const Wm=(t={})=>(e=>{const r=e.maxRetries||5,n=e.retryDelay||nF,i=e.shouldRetry;return{onError:(s,o)=>{const a=o.options,l=a.maxRetries||r,c=a.retryDelay||n,u=a.shouldRetry||i,d=a.attemptNumber||0;if((h=a.body)!==null&&typeof h=="object"&&typeof h.pipe=="function"||!u(s,d,a)||d>=l)return s;var h;const f=Object.assign({},o,{options:Object.assign({},a,{attemptNumber:d+1})});return setTimeout(()=>o.channels.request.publish(f),c(d)),null}}})({shouldRetry:lE,...t});Wm.shouldRetry=lE;var cg=function(t,e){return cg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},cg(t,e)};function zi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");cg(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function iF(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function cE(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){r.label=c[1];break}if(c[0]===6&&r.label<s[1]){r.label=s[1],s=c;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(c);break}s[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(u){c=[6,u],i=0}finally{n=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Ia(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ni(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function Fi(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function da(t){return this instanceof da?(this.v=t,this):new da(t)}function sF(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){n[f]&&(i[f]=function(p){return new Promise(function(b,_){s.push([f,p,b,_])>1||l(f,p)})},g&&(i[f]=g(i[f])))}function l(f,g){try{c(n[f](g))}catch(p){h(s[0][3],p)}}function c(f){f.value instanceof da?Promise.resolve(f.value.v).then(u,d):h(s[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,g){f(g),s.shift(),s.length&&l(s[0][0],s[0][1])}}function oF(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Ia=="function"?Ia(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);
vendor: 6,226 bytes, lines 29-31
29function n(s){r[s]=t[s]&&function(o){return new Promise(function(a,l){o=t[s](o),i(a,l,o.done,o.value)})}}function i(s,o,a,l){Promise.resolve(l).then(function(c){s({value:c,done:a})},o)}}function xt(t){return typeof t=="function"}function qm(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Oh=qm(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
30`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
31  `):"",this.name="UnsubscriptionError",this.errors=r}});function kf(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Oc=(function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,i,s;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Ia(o),l=a.next();!l.done;l=a.next()){var c=l.value;c.remove(this)}}catch(p){e={error:p}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}else o.remove(this);var u=this.initialTeardown;if(xt(u))try{u()}catch(p){s=p instanceof Oh?p.errors:[p]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var h=Ia(d),f=h.next();!f.done;f=h.next()){var g=f.value;try{S0(g)}catch(p){s=s??[],p instanceof Oh?s=Fi(Fi([],Ni(s)),Ni(p.errors)):s.push(p)}}}catch(p){n={error:p}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(s)throw new Oh(s)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)S0(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&kf(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&kf(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=(function(){var e=new t;return e.closed=!0,e})(),t})(),uE=Oc.EMPTY;function fE(t){return t instanceof Oc||t&&"closed"in t&&xt(t.remove)&&xt(t.add)&&xt(t.unsubscribe)}function S0(t){xt(t)?t():t.unsubscribe()}var aF={Promise:void 0},lF={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Fi([t,e],Ni(r)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function dE(t){lF.setTimeout(function(){throw t})}function E0(){}function ju(t){t()}var Gm=(function(t){zi(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,fE(r)&&r.add(n)):n.destination=fF,n}return e.create=function(r,n,i){return new $a(r,n,i)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e})(Oc),cF=(function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){vu(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){vu(n)}else vu(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){vu(r)}},t})(),$a=(function(t){zi(e,t);function e(r,n,i){var s=t.call(this)||this,o;return xt(r)||!r?o={next:r??void 0,error:n??void 0,complete:i??void 0}:o=r,s.destination=new cF(o),s}return e})(Gm);function vu(t){dE(t)}function uF(t){throw t}var fF={closed:!0,next:E0,error:uF,complete:E0},Ym=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function gd(t){return t}function dF(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return hE(t)}function hE(t){return t.length===0?gd:t.length===1?t[0]:function(r){return t.reduce(function(n,i){return i(n)},r)}}var Mt=(function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var i=this,s=pF(e)?e:new $a(e,r,n);return ju(function(){var o=i,a=o.operator,l=o.source;s.add(a?a.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=T0(r),new r(function(i,s){var o=new $a({next:function(a){try{e(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:i});n.subscribe(o)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[Ym]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return hE(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=T0(e),new e(function(n,i){var s;r.subscribe(function(o){return s=o},function(o){return i(o)},function(){return n(s)})})},t.create=function(e){return new t(e)},t})();function T0(t){var e;return(e=t??aF.Promise)!==null&&e!==void 0?e:Promise}function hF(t){return t&&xt(t.next)&&xt(t.error)&&xt(t.complete)}function pF(t){return t&&t instanceof Gm||hF(t)&&fE(t)}function gF(t){return xt(t?.lift)}function ci(t){return function(e){if(gF(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ts(t,e,r,n,i){return new mF(t,e,r,n,i)}var mF=(function(t){zi(e,t);function e(r,n,i,s,o,a){var l=t.call(this,r)||this;return l.onFinalize=o,l.shouldUnsubscribe=a,l._next=n?function(c){try{n(c)}catch(u){r.error(u)}}
vendor: 4,735 bytes, line 31
31:t.prototype._next,l._error=s?function(c){try{s(c)}catch(u){r.error(u)}finally{this.unsubscribe()}}:t.prototype._error,l._complete=i?function(){try{i()}catch(c){r.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,l}return e.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},e})(Gm),yF=qm(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Km=(function(t){zi(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new C0(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new yF},e.prototype.next=function(r){var n=this;ju(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Ia(n.currentObservers),a=o.next();!a.done;a=o.next()){var l=a.value;l.next(r)}}catch(c){i={error:c}}finally{try{a&&!a.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}}})},e.prototype.error=function(r){var n=this;ju(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},e.prototype.complete=function(){var r=this;ju(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,o=i.isStopped,a=i.observers;return s||o?uE:(this.currentObservers=null,a.push(r),new Oc(function(){n.currentObservers=null,kf(a,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,o=n.isStopped;i?r.error(s):o&&r.complete()},e.prototype.asObservable=function(){var r=new Mt;return r.source=this,r},e.create=function(r,n){return new C0(r,n)},e})(Mt),C0=(function(t){zi(e,t);function e(r,n){var i=t.call(this)||this;return i.destination=r,i.source=n,i}return e.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},e.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:uE},e})(Km),Xm={now:function(){return(Xm.delegate||Date).now()},delegate:void 0},_F=(function(t){zi(e,t);function e(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Xm);var s=t.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return e.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,o=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;i||(s.push(r),!o&&s.push(a.now()+l)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,o=i._buffer,a=o.slice(),l=0;l<a.length&&!r.closed;l+=s?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,o=r._infiniteTimeWindow,a=(o?1:2)*n;if(n<1/0&&a<s.length&&s.splice(0,s.length-a),!o){for(var l=i.now(),c=0,u=1;u<s.length&&s[u]<=l;u+=2)c=u;c&&s.splice(0,c+1)}},e})(Km),vF=(function(t){zi(e,t);function e(r,n){return t.call(this)||this}return e.prototype.schedule=function(r,n){return this},e})(Oc),A0={setInterval:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setInterval.apply(void 0,Fi([t,e],Ni(r)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},bF=(function(t){zi(e,t);function e(r,n){var i=t.call(this,r,n)||this;
vendor: 4,818 bytes, line 31
31return i.scheduler=r,i.work=n,i.pending=!1,i}return e.prototype.schedule=function(r,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var s=this.id,o=this.scheduler;return s!=null&&(this.id=this.recycleAsyncId(o,s,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,n),this},e.prototype.requestAsyncId=function(r,n,i){return i===void 0&&(i=0),A0.setInterval(r.flush.bind(r,this),i)},e.prototype.recycleAsyncId=function(r,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&A0.clearInterval(n)},e.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(r,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(r,n){var i=!1,s;try{this.work(r)}catch(o){i=!0,s=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),s},e.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,i=r.scheduler,s=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,kf(s,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e})(vF),k0=(function(){function t(e,r){r===void 0&&(r=t.now),this.schedulerActionCtor=e,this.now=r}return t.prototype.schedule=function(e,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,e).schedule(n,r)},t.now=Xm.now,t})(),wF=(function(t){zi(e,t);function e(r,n){n===void 0&&(n=k0.now);var i=t.call(this,r,n)||this;return i.actions=[],i._active=!1,i}return e.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var i;this._active=!0;do if(i=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,i){for(;r=n.shift();)r.unsubscribe();throw i}},e})(k0),xF=new wF(bF),SF=xF,EF=new Mt(function(t){return t.complete()});function TF(t){return t&&xt(t.schedule)}function Qm(t){return t[t.length-1]}function CF(t){return xt(Qm(t))?t.pop():void 0}function Jm(t){return TF(Qm(t))?t.pop():void 0}function AF(t,e){return typeof Qm(t)=="number"?t.pop():e}var pE=(function(t){return t&&typeof t.length=="number"&&typeof t!="function"});function gE(t){return xt(t?.then)}function mE(t){return xt(t[Ym])}function yE(t){return Symbol.asyncIterator&&xt(t?.[Symbol.asyncIterator])}function _E(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function kF(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vE=kF();function bE(t){return xt(t?.[vE])}function wE(t){return sF(this,arguments,function(){var r,n,i,s;return cE(this,function(o){switch(o.label){case 0:r=t.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,da(r.read())];case 3:return n=o.sent(),i=n.value,s=n.done,s?[4,da(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,da(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function xE(t){return xt(t?.getReader)}function ui(t){if(t instanceof Mt)return t;if(t!=null){if(mE(t))return RF(t);if(pE(t))return PF(t);if(gE(t))return OF(t);if(yE(t))return SE(t);if(bE(t))return MF(t);if(xE(t))return IF(t)}throw _E(t)}function RF(t){return new Mt(function(e){var r=t[Ym]();if(xt(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function PF(t){return new Mt(function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function OF(t){return new Mt(function(e){t.then(function(r){e.closed||(e.next(r),e.complete())},function(r){return e.error(r)}).then(null,dE)})}function MF(t){return new Mt(function(e){var r,n;try{for(var i=Ia(t),s=i.next();!s.done;s=i.next()){var o=s.value;if(e.next(o),e.closed)return}}catch(a){r={error:a}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}e.complete()})}function SE(t){return new Mt(function(e){$F(t,e).catch(function(r){return e.error(r)})})}function IF(t){return SE(wE(t))}function $F(t,e){var r,n,i,s;return iF(this,void 0,void 0,function(){var o,a;return cE(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=oF(t),l.label=1;case 1:return[4,r.next()];case 2:if(n=l.sent(),!!n.done)return[3,4];if(o=n.value,e.next(o),e.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),i={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),n&&!n.done&&(s=r.return)?[4,s.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];
vendor: 5,250 bytes, line 31
31case 10:return[7];case 11:return e.complete(),[2]}})})}function uo(t,e,r,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var s=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(s),!i)return s}function EE(t,e){return e===void 0&&(e=0),ci(function(r,n){r.subscribe(Ts(n,function(i){return uo(n,t,function(){return n.next(i)},e)},function(){return uo(n,t,function(){return n.complete()},e)},function(i){return uo(n,t,function(){return n.error(i)},e)}))})}function TE(t,e){return e===void 0&&(e=0),ci(function(r,n){n.add(t.schedule(function(){return r.subscribe(n)},e))})}function DF(t,e){return ui(t).pipe(TE(e),EE(e))}function LF(t,e){return ui(t).pipe(TE(e),EE(e))}function NF(t,e){return new Mt(function(r){var n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function FF(t,e){return new Mt(function(r){var n;return uo(r,e,function(){n=t[vE](),uo(r,e,function(){var i,s,o;try{i=n.next(),s=i.value,o=i.done}catch(a){r.error(a);return}o?r.complete():r.next(s)},0,!0)}),function(){return xt(n?.return)&&n.return()}})}function CE(t,e){if(!t)throw new Error("Iterable cannot be null");return new Mt(function(r){uo(r,e,function(){var n=t[Symbol.asyncIterator]();uo(r,e,function(){n.next().then(function(i){i.done?r.complete():r.next(i.value)})},0,!0)})})}function jF(t,e){return CE(wE(t),e)}function HF(t,e){if(t!=null){if(mE(t))return DF(t,e);if(pE(t))return NF(t,e);if(gE(t))return LF(t,e);if(yE(t))return CE(t,e);if(bE(t))return FF(t,e);if(xE(t))return jF(t,e)}throw _E(t)}function Mc(t,e){return e?HF(t,e):ui(t)}function ha(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Jm(t);return Mc(t,r)}function AE(t,e){var r=xt(t)?t:function(){return t},n=function(i){return i.error(r())};return new Mt(n)}function BF(t){return!!t&&(t instanceof Mt||xt(t.lift)&&xt(t.subscribe))}var kE=qm(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function Ue(t,e){return new Promise(function(r,n){var i=!1,s;t.subscribe({next:function(o){s=o,i=!0},error:n,complete:function(){i?r(s):n(new kE)}})})}function Mh(t,e){return new Promise(function(r,n){var i=new $a({next:function(s){r(s),i.unsubscribe()},error:n,complete:function(){n(new kE)}});t.subscribe(i)})}function UF(t){return t instanceof Date&&!isNaN(t)}function Er(t,e){return ci(function(r,n){var i=0;r.subscribe(Ts(n,function(s){n.next(t.call(e,s,i++))}))})}var zF=Array.isArray;function VF(t,e){return zF(e)?t.apply(void 0,Fi([],Ni(e))):t(e)}function WF(t){return Er(function(e){return VF(t,e)})}function qF(t,e,r){return r===void 0&&(r=gd),function(n){R0(e,function(){for(var i=t.length,s=new Array(i),o=i,a=i,l=function(u){R0(e,function(){var d=Mc(t[u],e),h=!1;d.subscribe(Ts(n,function(f){s[u]=f,h||(h=!0,a--),a||n.next(r(s.slice()))},function(){--o||n.complete()}))},n)},c=0;c<i;c++)l(c)})}}function R0(t,e,r){e()}function GF(t,e,r,n,i,s,o,a){var l=[],c=0,u=0,d=!1,h=function(){d&&!l.length&&!c&&e.complete()},f=function(p){return c<n?g(p):l.push(p)},g=function(p){c++;var b=!1;ui(r(p,u++)).subscribe(Ts(e,function(_){e.next(_)},function(){b=!0},void 0,function(){if(b)try{c--;for(var _=function(){var y=l.shift();o||g(y)};l.length&&c<n;)_();h()}catch(y){e.error(y)}}))};return t.subscribe(Ts(e,f,function(){d=!0,h()})),function(){}}function fo(t,e,r){return r===void 0&&(r=1/0),xt(e)?fo(function(n,i){return Er(function(s,o){return e(n,s,i,o)})(ui(t(n,i)))},r):(typeof e=="number"&&(r=e),ci(function(n,i){return GF(n,i,t,r)}))}function RE(t){return t===void 0&&(t=1/0),fo(gd,t)}function YF(){return RE(1)}function KF(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return YF()(Mc(t,Jm(t)))}function PE(t){return new Mt(function(e){ui(t()).subscribe(e)})}function XF(t,e,r){return r===void 0&&(r=SF),new Mt(function(n){var i=UF(t)?+t-r.now():t;i<0&&(i=0);var s=0;return r.schedule(function(){n.closed||(n.next(s++),n.complete())},i)})}function QF(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Jm(t),n=AF(t,1/0),i=t;return i.length?i.length===1?ui(i[0]):RE(n)(Mc(i,r)):EF}var JF=Array.isArray;function ZF(t){return t.length===1&&JF(t[0])?t[0]:t}function Va(t,e){return ci(function(r,n){var i=0;r.subscribe(Ts(n,function(s){return t.call(e,s,i++)&&n.next(s)}))})}function Rf(t){return ci(function(e,r){var n=null,i=!1,s;n=e.subscribe(Ts(r,void 0,void 0,function(o){s=ui(t(o,Rf(t)(e))),n?(n.unsubscribe(),n=null,s.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,s.subscribe(r))})}function OE(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=CF(t);return r?dF(OE.apply(void 0,Fi([],Ni(t))),WF(r)):ci(function(n,i){qF(Fi([n],Ni(ZF(t))))(i)})}function ej(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return OE.apply(void 0,Fi([],Ni(t)))}function ME(t){return ci(function(e,r){try{e.subscribe(r)}finally{r.add(t)}})}function IE(t){t===void 0&&(t={});var e=t.connector,r=e===void 0?function(){return new Km}:e,n=t.resetOnError,i=n===void 0?!0:n,s=t.resetOnComplete,o=s===void 0?!0:s,a=t.resetOnRefCountZero,l=a===void 0?!0:a;return function(c){var u,d,h,f=0,g=!1,p=!1,b=function(){d?.unsubscribe(),d=void 0},_=function(){b(),u=h=void 0,g=p=!1},y=function(){var m=u;_(),m?.unsubscribe()};
31return ci(function(m,v){f++,!p&&!g&&b();var w=h=h??r();v.add(function(){f--,f===0&&!p&&!g&&(d=Ih(y,l))}),w.subscribe(v),!u&&f>0&&(u=new $a({next:function(E){return w.next(E)},error:function(E){p=!0,b(),d=Ih(_,i,E),w.error(E)},complete:function(){g=!0,b(),d=Ih(_,o),w.complete()}}),ui(m).subscribe(u))})(c)}}function Ih(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(e===!0){t();return}if(e!==!1){var i=new $a({next:function(){i.unsubscribe(),t()}});return ui(e.apply(void 0,Fi([],Ni(r)))).subscribe(i)}}function tj(t,e,r){var n,i=!1;return n=t,IE({connector:function(){return new _F(n,e,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function rj(t,e,r){var n=xt(t)||e||r?{next:t,error:e,complete:r}:t;return n?ci(function(i,s){var o;(o=n.subscribe)===null||o===void 0||o.call(n);var a=!0;i.subscribe(Ts(s,function(l){var c;(c=n.next)===null||c===void 0||c.call(n,l),s.next(l)},function(){var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),s.complete()},function(l){var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),s.error(l)},function(){var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):gd}function $E(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var DE={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},LE={0:8203,1:8204,2:8205,3:65279};new Array(4).fill(String.fromCodePoint(LE[0])).join("");Object.fromEntries(Object.entries(LE).map(t=>t.reverse()));Object.fromEntries(Object.entries(DE).map(t=>t.reverse()));var nj=`${Object.values(DE).map(t=>`\\u{${t.toString(16)}}`).join("")}`,P0=new RegExp(`[${nj}]{4,}`,"gu");function ij(t){var e;return{cleaned:t.replace(P0,""),encoded:((e=t.match(P0))==null?void 0:e[0])||""}}function sj(t){return t&&JSON.parse(ij(JSON.stringify(t)).cleaned)}function oj(t){return sj(t)}const aj="drafts",lj="versions",Da=".",Pf=`${aj}${Da}`,NE=`${lj}${Da}`;function md(t){return t.startsWith(Pf)}function yd(t){return t.startsWith(NE)}function FE(t){if(yd(t)){const e=_d(t);return Pf+e}return md(t)?t:Pf+t}function Ic(t,e){if(e==="drafts"||e==="published")throw new Error('Version can not be "published" or "drafts"');return`${NE}${e}${Da}${_d(t)}`}function jE(t){if(!yd(t))return;const[e,r,...n]=t.split(Da);return r}function _d(t){return yd(t)?t.split(Da).slice(2).join(Da):md(t)?t.slice(Pf.length):t}let cj=t=>crypto.getRandomValues(new Uint8Array(t)),uj=(t,e,r)=>{let n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*e/t.length);return(s=e)=>{let o="";for(;;){let a=r(i),l=i|0;for(;l--;)if(o+=t[a[l]&n]||"",o.length===s)return o}}},fj=(t,e=21)=>uj(t,e,cj);const O0=/\r\n|[\n\r\u2028\u2029]/;function dj(t,e,r){const n=t.split(O0),i={start:M0(e.start,n),end:e.end?M0(e.end,n):void 0},{start:s,end:o,markerLines:a}=hj(i,n),l=`${o}`.length;return t.split(O0,o).slice(s,o).map((c,u)=>{const d=s+1+u,h=` ${` ${d}`.slice(-l)} |`,f=a[d],g=!a[d+1];if(!f)return` ${h}${c.length>0?` ${c}`:""}`;let p="";if(Array.isArray(f)){const b=c.slice(0,Math.max(f[0]-1,0)).replace(/[^\t]/g," "),_=f[1]||1;p=[`
32 `,h.replace(/\d/g," ")," ",b,"^".repeat(_)].join(""),g&&r&&(p+=" "+r)}return[">",h,c.length>0?` ${c}`:"",p].join("")}).join(`
33`)}function hj(t,e){const r={...t.start},n={...r,...t.end},i=2,s=3,o=r.line??-1,a=r.column??0,l=n.line,c=n.column;let u=Math.max(o-(i+1),0),d=Math.min(e.length,l+s);o===-1&&(u=0),l===-1&&(d=e.length);const h=l-o,f={};if(h)for(let g=0;g<=h;g++){const p=g+o;if(!a)f[p]=!0;else if(g===0){const b=e[p-1].length;f[p]=[a,b-a+1]}else if(g===h)f[p]=[0,c];else{const b=e[p-g].length;f[p]=[0,b]}}else a===c?a?f[o]=[a,0]:f[o]=!0:f[o]=[a,c-a];return{start:u,end:d,markerLines:f}}function M0(t,e){let r=0;for(let n=0;n<e.length;n++){const i=e[n].length+1;if(r+i>t)return{line:n+1,column:t-r};r+=i}return{line:e.length,column:e[e.length-1]?.length??0}}const $h=5;class pj extends Error{response;statusCode=400;responseBody;details;constructor(e,r){const n=HE(e,r);super(n.message),Object.assign(this,n)}}class gj extends Error{response;statusCode=500;responseBody;details;constructor(e){const r=HE(e);super(r.message),Object.assign(this,r)}}function HE(t,e){const r=t.body,n={response:t,statusCode:t.statusCode,responseBody:_j(r,t),message:"",details:void 0};if(!$E(r))return n.message=Dh(t,r),n;const i=r.error;if(typeof i=="string"&&typeof r.message=="string")return n.message=`${i} - ${r.message}`,n;if(typeof i!="object"||i===null)return typeof i=="string"?n.message=i:typeof r.message=="string"?n.message=r.message:n.message=Dh(t,r),n;
33if(mj(i)||yj(i)){const s=i.items||[],o=s.slice(0,$h).map(l=>l.error?.description).filter(Boolean);let a=o.length?`:
34- ${o.join(`
35- `)}`:"";return s.length>$h&&(a+=`
36...and ${s.length-$h} more`),n.message=`${i.description}${a}`,n.details=r.error,n}if(BE(i)){const s=e?.options?.query?.tag;return n.message=UE(i,s),n.details=r.error,n}return"description"in i&&typeof i.description=="string"?(n.message=i.description,n.details=i,n):(n.message=Dh(t,r),n)}function mj(t){return"type"in t&&t.type==="mutationError"&&"description"in t&&typeof t.description=="string"}function yj(t){return"type"in t&&t.type==="actionError"&&"description"in t&&typeof t.description=="string"}function BE(t){return $E(t)&&t.type==="queryParseError"&&typeof t.query=="string"&&typeof t.start=="number"&&typeof t.end=="number"}function UE(t,e){const{query:r,start:n,end:i,description:s}=t;if(!r||typeof n>"u")return`GROQ query parse error: ${s}`;const o=e?`
37
38Tag: ${e}`:"";return`GROQ query parse error:
39${dj(r,{start:n,end:i},s)}${o}`}function Dh(t,e){const r=typeof e=="string"?` (${vj(e,100)})`:"",n=t.statusMessage?` ${t.statusMessage}`:"";return`${t.method}-request to ${t.url} resulted in HTTP ${t.statusCode}${n}${r}`}function _j(t,e){return(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")!==-1?JSON.stringify(t,null,2):t}function vj(t,e){return t.length>e?`${t.slice(0,e)}…`:t}class bj extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;const r=new URL(`https://sanity.io/manage/project/${e}/api`);if(typeof location<"u"){const{origin:n}=location;r.searchParams.set("cors","add"),r.searchParams.set("origin",n),this.addOriginUrl=r,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${r}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${r}`}}const wj={onResponse:(t,e)=>{if(t.statusCode>=500)throw new gj(t);if(t.statusCode>=400)throw new pj(t,e);return t}};function xj(t={}){const e={},r=n=>t.ignoreWarnings===void 0?!1:(Array.isArray(t.ignoreWarnings)?t.ignoreWarnings:[t.ignoreWarnings]).some(i=>typeof i=="string"?n.includes(i):i instanceof RegExp?i.test(n):!1);return{onResponse:n=>{const i=n.headers["x-sanity-warning"],s=Array.isArray(i)?i:[i];for(const o of s)!o||e[o]||r(o)||(e[o]=!0,console.warn(o));return n}}}function I0(t,e={}){return G2([Wm({shouldRetry:Sj}),...t,xj(e),J2(),Z2(),rF(),wj,tF({implementation:Mt})])}function Sj(t,e,r){if(r.maxRetries===0)return!1;const n=r.method==="GET"||r.method==="HEAD",i=(r.uri||r.url).startsWith("/data/query"),s=t.response&&(t.response.statusCode===429||t.response.statusCode===502||t.response.statusCode===503);return(n||i)&&s?!0:Wm.shouldRetry(t,e,r)}const Ej="https://www.sanity.io/help/";function Zm(t){return Ej+t}const $0=["image","file"],D0=["before","after","replace"],zE=t=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},Tj=t=>{if(!/^[-a-z0-9]+$/i.test(t))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},Cj=t=>{if($0.indexOf(t)===-1)throw new Error(`Invalid asset type: ${t}. Must be one of ${$0.join(", ")}`)},Gl=(t,e)=>{if(e===null||typeof e!="object"||Array.isArray(e))throw new Error(`${t}() takes an object of properties`)},Of=(t,e)=>{if(typeof e!="string"||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(e)||e.includes(".."))throw new Error(`${t}(): "${e}" is not a valid document ID`)},La=(t,e)=>{if(!e._id)throw new Error(`${t}() requires that the document contains an ID ("_id" property)`);Of(t,e._id)},Aj=(t,e)=>{if(typeof e!="string")throw new Error(`\`${t}()\`: \`${e}\` is not a valid document type`)},VE=(t,e)=>{if(!e._type)throw new Error(`\`${t}()\` requires that the document contains a type (\`_type\` property)`);Aj(t,e._type)},kj=(t,e)=>{if(e._id&&e._id!==t)throw new Error(`The provided document ID (\`${e._id}
39\`) does not match the generated version ID (\`${t}\`)`)},Rj=(t,e,r)=>{const n="insert(at, selector, items)";if(D0.indexOf(t)===-1){const i=D0.map(s=>`"${s}"`).join(", ");throw new Error(`${n} takes an "at"-argument which is one of: ${i}`)}if(typeof e!="string")throw new Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw new Error(`${n} takes an "items"-argument which must be an array`)},ko=t=>{if(t.dataset)return t.dataset;const e=t.resource;if(e&&e.type==="dataset"){const r=e.id.split(".");if(r.length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return r[1]}throw new Error("`dataset` must be provided to perform queries")},WE=t=>{if(typeof t!="string"||!/^[a-z0-9._-]{1,75}$/i.test(t))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t},qE=t=>{const e=t.resource;if(!e)throw new Error("`resource` must be provided to perform resource queries");const{type:r,id:n}=e;switch(r){case"dataset":{if(n.split(".").length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return}case"dashboard":case"media-library":case"canvas":return;default:throw new Error(`Unsupported resource type: ${r.toString()}`)}},Js=(t,e)=>{if(e.resource)throw new Error(`\`${t}\` does not support resource-based operations`)};function Pj(t){let e=!1,r;return(...n)=>(e||(r=t(...n),e=!0),r)}const Vi=t=>Pj((...e)=>console.warn(t.join(" "),...e)),Oj=Vi(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),Mj=Vi(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),Ij=Vi(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),$j=Vi(["The `previewDrafts` perspective has been renamed to  `drafts` and will be removed in a future API version"]),Dj=Vi(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${Zm("js-client-browser-token")} for more information and how to hide this warning.`]),Lj=Vi(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),Nj=Vi(["Using the Sanity client without specifying an API version is deprecated.",`See ${Zm("js-client-api-version")}`]),Fj=Vi(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."]),jj=Vi(["The `~experimental_resource` configuration property has been renamed to `resource`.","Please update your client configuration to use `resource` instead. Support for `~experimental_resource` will be removed in a future version."]),Hj="apicdn.sanity.io",Yl={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},Bj=["localhost","127.0.0.1","0.0.0.0"],Uj=t=>Bj.indexOf(t)!==-1;function zj(t){if(t==="1"||t==="X")return;const e=new Date(t);if(!(/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}function GE(t){if(Array.isArray(t)&&t.length>1&&t.includes("raw"))throw new TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}const YE=(t,e)=>{const r={...e,...t,stega:{...typeof e.stega=="boolean"?{enabled:e.stega}:e.stega||Yl.stega,...typeof t.stega=="boolean"?{enabled:t.stega}:t.stega||{}}};r.apiVersion||Nj();const n={...Yl,...r};n["~experimental_resource"]&&!n.resource&&(jj(),n.resource=n["~experimental_resource"]);const i=n.resource,s=n.useProjectHostname&&!i;if(typeof Promise>"u"){const f=Zm("js-client-promise-polyfill");throw new Error(`No native Promise-implementation found, polyfill needed - see ${f}`)}if(s&&!n.projectId)throw new Error("Configuration must contain `projectId`");if(i&&qE(n),typeof n.perspective<"u"&&GE(n.perspective),"encodeSourceMap"in n)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in n)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");
39if(typeof n.stega.enabled!="boolean")throw new Error(`stega.enabled must be a boolean, received ${n.stega.enabled}`);if(n.stega.enabled&&n.stega.studioUrl===void 0)throw new Error("stega.studioUrl must be defined when stega.enabled is true");if(n.stega.enabled&&typeof n.stega.studioUrl!="string"&&typeof n.stega.studioUrl!="function")throw new Error(`stega.studioUrl must be a string or a function, received ${n.stega.studioUrl}`);const o=typeof window<"u"&&window.location&&window.location.hostname,a=o&&Uj(window.location.hostname),l=!!n.token;n.withCredentials&&l&&(Lj(),n.withCredentials=!1),o&&a&&l&&n.ignoreBrowserTokenWarning!==!0?Dj():typeof n.useCdn>"u"&&Mj(),s&&Tj(n.projectId),n.dataset&&zE(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?WE(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion=`${n.apiVersion}`.replace(/^v/,""),n.isDefaultApi=n.apiHost===Yl.apiHost,n.useCdn===!0&&n.withCredentials&&Oj(),n.useCdn=n.useCdn!==!1&&!n.withCredentials,zj(n.apiVersion);const c=n.apiHost.split("://",2),u=c[0],d=c[1],h=n.isDefaultApi?Hj:d;return s?(n.url=`${u}://${n.projectId}.${d}/v${n.apiVersion}`,n.cdnUrl=`${u}://${n.projectId}.${h}/v${n.apiVersion}`):(n.url=`${n.apiHost}/v${n.apiVersion}`,n.cdnUrl=n.url),n};
39class KE extends Error{name="ConnectionFailedError"}class Vj extends Error{name="DisconnectError";reason;constructor(e,r,n={}){super(e,n),this.reason=r}}class Wj extends Error{name="ChannelError";data;constructor(e,r){super(e),this.data=r}}class qj extends Error{name="MessageError";data;constructor(e,r,n={}){super(e,n),this.data=r}}class L0 extends Error{name="MessageParseError"}const Gj=["channelError","disconnect"];function XE(t,e){return PE(()=>{const r=t();return BF(r)?r:ha(r)}).pipe(fo(r=>Yj(r,e)))}function Yj(t,e){return new Mt(r=>{const n=e.includes("open"),i=e.includes("reconnect");function s(c){if("data"in c){const[u,d]=N0(c);r.error(u?new L0("Unable to parse EventSource error message",{cause:d}):new qj((d?.data).message,d));return}t.readyState===t.CLOSED?r.error(new KE("EventSource connection failed")):i&&r.next({type:"reconnect"})}function o(){r.next({type:"open"})}function a(c){const[u,d]=N0(c);if(u){r.error(new L0("Unable to parse EventSource message",{cause:u}));return}if(c.type==="channelError"){const h=new URL(t.url).searchParams.get("tag");r.error(new Wj(Kj(d?.data,h),d.data));return}if(c.type==="disconnect"){r.error(new Vj(`Server disconnected client: ${d.data?.reason||"unknown error"}`));return}r.next({type:c.type,id:c.lastEventId,...d.data?{data:d.data}:{}})}t.addEventListener("error",s),n&&t.addEventListener("open",o);const l=[...new Set([...Gj,...e])].filter(c=>c!=="error"&&c!=="open"&&c!=="reconnect");return l.forEach(c=>t.addEventListener(c,a)),()=>{t.removeEventListener("error",s),n&&t.removeEventListener("open",o),l.forEach(c=>t.removeEventListener(c,a)),t.close()}})}function N0(t){try{const e=typeof t.data=="string"&&JSON.parse(t.data);return[null,{type:t.type,id:t.lastEventId,...Xj(e)?{}:{data:e}}]}catch(e){return[e,null]}}function Kj(t,e){const r=t.error;return r?BE(r)?UE(r,e):r.description?r.description:typeof r=="string"?r:JSON.stringify(r,null,2):t.message||"Unknown listener error"}function Xj(t){for(const e in t)return!1;return!0}function QE(t){if(typeof t=="string")return{id:t};if(Array.isArray(t))return{query:"*[_id in $ids]",params:{ids:t}};if(typeof t=="object"&&t!==null&&"query"in t&&typeof t.query=="string")return"params"in t&&typeof t.params=="object"&&t.params!==null?{query:t.query,params:t.params}:{query:t.query};const e=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(`
40`);throw new Error(`Unknown selection - must be one of:
41
42${e}`)}class JE{selection;operations;constructor(e,r={}){this.selection=e,this.operations=r}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return Gl("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,r,n){return Rj(e,r,n),this._assign("insert",{[e]:r,items:n})}append(e,r){return this.insert("after",`${e}[-1]`,r)}prepend(e,r){return this.insert("before",`${e}[0]`,r)}splice(e,r,n,i){const s=typeof n>"u"||n===-1,o=r<0?r-1:r,a=s?-1:Math.max(0,r+n),l=o<0&&a>=0?"":a,c=`${e}[${o}:${l}]`;return this.insert("replace",c,i||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...QE(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,r,n=!0){return Gl(e,r),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},n&&this.operations[e]||{},r)}),this}_set(e,r){return this._assign(e,r,!1)}}class ho extends JE{#e;constructor(e,r,n){super(e,r),this.#e=n}clone(){return new ho(this.selection,{...this.operations},this.#e)}commit(e){if(!this.#e)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const r=typeof this.selection=="string",n=Object.assign({returnFirst:r,returnDocuments:!0},e);return this.#e.mutate({patch:this.serialize()},n)}}class ds extends JE{#e;constructor(e,r,n){super(e,r),this.#e=n}clone(){return new ds(this.selection,{...this.operations},this.#e)}commit(e){if(!this.#e)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");
42const r=typeof this.selection=="string",n=Object.assign({returnFirst:r,returnDocuments:!0},e);return this.#e.mutate({patch:this.serialize()},n)}}const ZE={returnDocuments:!1};class eT{operations;trxId;constructor(e=[],r){this.operations=e,this.trxId=r}create(e){return Gl("create",e),this._add({create:e})}createIfNotExists(e){const r="createIfNotExists";return Gl(r,e),La(r,e),this._add({[r]:e})}createOrReplace(e){const r="createOrReplace";return Gl(r,e),La(r,e),this._add({[r]:e})}delete(e){return Of("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class vd extends eT{#e;constructor(e,r,n){super(e,n),this.#e=r}clone(){return new vd([...this.operations],this.#e,this.trxId)}commit(e){if(!this.#e)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#e.mutate(this.serialize(),Object.assign({transactionId:this.trxId},ZE,e||{}))}patch(e,r){const n=typeof r=="function",i=typeof e!="string"&&e instanceof ds,s=typeof e=="object"&&("query"in e||"id"in e);if(i)return this._add({patch:e.serialize()});if(n){const o=r(new ds(e,{},this.#e));if(!(o instanceof ds))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:o.serialize()})}if(s){const o=new ds(e,r||{},this.#e);return this._add({patch:o.serialize()})}return this._add({patch:{id:e,...r}})}}class bd extends eT{#e;constructor(e,r,n){super(e,n),this.#e=r}clone(){return new bd([...this.operations],this.#e,this.trxId)}commit(e){if(!this.#e)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#e.mutate(this.serialize(),Object.assign({transactionId:this.trxId},ZE,e||{}))}patch(e,r){const n=typeof r=="function";if(typeof e!="string"&&e instanceof ho)return this._add({patch:e.serialize()});if(n){const i=r(new ho(e,{},this.#e));if(!(i instanceof ho))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:i.serialize()})}return this._add({patch:{id:e,...r}})}}const Qj="X-Sanity-Project-ID";function Jj(t,e={}){const r={};t.headers&&Object.assign(r,t.headers);const n=e.token||t.token;n&&(r.Authorization=`Bearer ${n}`),!e.useGlobalApi&&!t.useProjectHostname&&t.projectId&&(r[Qj]=t.projectId);const i=!!(typeof e.withCredentials>"u"?t.withCredentials:e.withCredentials),s=typeof e.timeout>"u"?t.timeout:e.timeout;return Object.assign({},e,{headers:Object.assign({},r,e.headers||{}),timeout:typeof s>"u"?300*1e3:s,proxy:e.proxy||t.proxy,json:!0,withCredentials:i,fetch:typeof e.fetch=="object"&&typeof t.fetch=="object"?{...t.fetch,...e.fetch}:e.fetch||t.fetch})}const tT=({query:t,params:e={},options:r={}})=>{const n=new URLSearchParams,{tag:i,includeMutations:s,returnQuery:o,...a}=r;i&&n.append("tag",i),n.append("query",t);for(const[l,c]of Object.entries(e))c!==void 0&&n.append(`$${l}`,JSON.stringify(c));for(const[l,c]of Object.entries(a))c&&n.append(l,`${c}`);return o===!1&&n.append("returnQuery","false"),s===!1&&n.append("includeMutations","false"),`?${n}`},Zj=(t,e)=>t===!1?void 0:typeof t>"u"?e:t,eH=(t={})=>({dryRun:t.dryRun,returnIds:!0,returnDocuments:Zj(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}),ey=t=>t.type==="response",tH=t=>t.body,rH=(t,e)=>t.reduce((r,n)=>(r[e(n)]=n,r),Object.create(null)),nH=11264;function rT(t,e,r,n,i={},s={}){const o="stega"in s?{...r||{},...typeof s.stega=="boolean"?{enabled:s.stega}:s.stega||{}}:r,a=o.enabled?oj(i):i,l=s.filterResponse===!1?g=>g:g=>g.result,{cache:c,next:u,...d}={useAbortSignal:typeof s.signal<"u",resultSourceMap:o.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:s.filterResponse===!1&&s.returnQuery!==!1},h=typeof c<"u"||typeof u<"u"?{...d,fetch:{cache:c,next:u}}:d,f=Ro(t,e,"query",{query:n,params:a},h);return o.enabled?f.pipe(ej(Mc(Te(()=>import("./NqPyB4H0.js"),[],import.meta.url).then(function(g){return g.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:g})=>g))),Er(([g,p])=>{const b=p(g.result,g.resultSourceMap,o);return l({...g,result:b})})):f.pipe(Er(l))}function Na(t,e,r,n={}){const i=(()=>
42{if(!n.releaseId)return r;const o=jE(r);if(!o){if(md(r))throw new Error(`The document ID (\`${r}\`) is a draft, but \`options.releaseId\` is set as \`${n.releaseId}\``);return Ic(r,n.releaseId)}if(o!==n.releaseId)throw new Error(`The document ID (\`${r}\`) is already a version of \`${o}\` release, but this does not match the provided \`options.releaseId\` (\`${n.releaseId}\`)`);return r})(),s={uri:kn(t,"doc",i),json:!0,tag:n.tag,signal:n.signal,query:n.includeAllVersions!==void 0?{includeAllVersions:n.includeAllVersions}:void 0};return Dc(t,e,s).pipe(Va(ey),Er(o=>{const a=o.body.documents;return a?n.includeAllVersions?a:a[0]:n.includeAllVersions?[]:void 0}))}function nT(t,e,r,n={}){const i={uri:kn(t,"doc",r.join(",")),json:!0,tag:n.tag,signal:n.signal};return Dc(t,e,i).pipe(Va(ey),Er(s=>{const o=rH(s.body.documents||[],a=>a._id);return r.map(a=>o[a]||null)}))}function iT(t,e,r,n={}){return Ro(t,e,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:r}},n)}function sT(t,e,r,n){return La("createIfNotExists",r),wd(t,e,r,"createIfNotExists",n)}function oT(t,e,r,n){return La("createOrReplace",r),wd(t,e,r,"createOrReplace",n)}function aT(t,e,r,n,i){return La("createVersion",r),VE("createVersion",r),Fj(),At(t,e,{actionType:"sanity.action.document.version.create",publishedId:n,document:r},i)}function lT(t,e,r,n,i,s,o){if(!n)throw new Error("`createVersion()` requires `baseId` when no `document` is provided");if(!r)throw new Error("`createVersion()` requires `publishedId` when `baseId` is provided");Of("createVersion",n),Of("createVersion",r);const a={actionType:"sanity.action.document.version.create",publishedId:r,baseId:n,versionId:i?Ic(r,i):FE(r),ifBaseRevisionId:s};return At(t,e,a,o)}function cT(t,e,r,n){return Ro(t,e,"mutate",{mutations:[{delete:QE(r)}]},n)}function uT(t,e,r,n=!1,i){return At(t,e,{actionType:"sanity.action.document.version.discard",versionId:r,purge:n},i)}function fT(t,e,r,n){return La("replaceVersion",r),VE("replaceVersion",r),At(t,e,{actionType:"sanity.action.document.version.replace",document:r},n)}function dT(t,e,r,n,i){return At(t,e,{actionType:"sanity.action.document.version.unpublish",versionId:r,publishedId:n},i)}function hT(t,e,r,n){let i;r instanceof ds||r instanceof ho?i={patch:r.serialize()}:r instanceof vd||r instanceof bd?i=r.serialize():i=r;const s=Array.isArray(i)?i:[i],o=n&&n.transactionId||void 0;return Ro(t,e,"mutate",{mutations:s,transactionId:o},n)}function At(t,e,r,n){const i=Array.isArray(r)?r:[r],s=n&&n.transactionId||void 0,o=n&&n.skipCrossDatasetReferenceValidation||void 0,a=n&&n.dryRun||void 0;return Ro(t,e,"actions",{actions:i,transactionId:s,skipCrossDatasetReferenceValidation:o,dryRun:a},n)}function Ro(t,e,r,n,i={}){const s=r==="mutate",o=r==="actions",a=r==="query",l=s||o?"":tT(n),c=!s&&!o&&l.length<nH,u=c?l:"",d=i.returnFirst,{timeout:h,token:f,tag:g,headers:p,returnQuery:b,lastLiveEventId:_,cacheMode:y}=i,m=kn(t,r,u),v={method:c?"GET":"POST",uri:m,json:!0,body:c?void 0:n,query:s&&eH(i),timeout:h,headers:p,token:f,tag:g,returnQuery:b,perspective:i.perspective,resultSourceMap:i.resultSourceMap,lastLiveEventId:Array.isArray(_)?_[0]:_,cacheMode:y,canUseCdn:a,signal:i.signal,fetch:i.fetch,useAbortSignal:i.useAbortSignal,useCdn:i.useCdn};return Dc(t,e,v).pipe(Va(ey),Er(tH),Er(w=>{if(!s)return w;const E=w.results||[];if(i.returnDocuments)return d?E[0]&&E[0].document:E.map(T=>T.document);const x=d?"documentId":"documentIds",S=d?E[0]&&E[0].id:E.map(T=>T.id);return{transactionId:w.transactionId,results:E,[x]:S}}))}function wd(t,e,r,n,i={}){const s={[n]:r},o=Object.assign({returnFirst:!0,returnDocuments:!0},i);return Ro(t,e,"mutate",{mutations:[s]},o)}const $c=t=>{const e=t.config();return e.dataset!==void 0&&e.projectId!==void 0||e.resource!==void 0},pT=(t,e)=>$c(t)&&e.startsWith(kn(t,"query")),iH=(t,e)=>$c(t)&&e.startsWith(kn(t,"mutate")),sH=(t,e)=>$c(t)&&e.startsWith(kn(t,"doc","")),oH=(t,e)=>$c(t)&&e.startsWith(kn(t,"listen")),aH=(t,e)=>$c(t)&&e.startsWith(kn(t,"history","")),lH=(t,e)=>e.startsWith("/data/")||pT(t,e)||iH(t,e)||sH(t,e)||oH(t,e)||aH(t,e);function Dc(t,e,r){const n=r.url||r.uri,i=t.config(),s=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&lH(t,n):r.canUseCdn;let o=(r.useCdn??i.useCdn)&&s;const a=r.tag&&i.requestTagPrefix?[i.requestTagPrefix,r.tag].join("."):r.tag||i.requestTagPrefix;if(a&&r.tag!==null&&(r.query={tag:WE(a),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&pT(t,n)){const u=r.resultSourceMap??i.resultSourceMap;u!==void 0&&u!==!1&&(r.query={resultSourceMap:u,...r.query});const d=r.perspective||i.perspective;typeof d<"u"&&(d==="previewDrafts"&&$j(),GE(d),r.query={perspective:Array.isArray(d)?d.join(","):d,...r.query},(Array.isArray(d)&&d.length>0||d==="previewDrafts"||d==="drafts")&&o&&(o=!1,Ij())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),r.returnQuery===!1&&(r.query={returnQuery:"false",...r.query}),o&&r.cacheMode=="noStale"&&(r.query={cacheMode:"noStale",...r.query})}const l=Jj(i,Object.assign({}
42,r,{url:ty(t,n,o)})),c=new Mt(u=>e(l,i.requester).subscribe(u));return r.signal?c.pipe(cH(r.signal)):c}function dr(t,e,r){return Dc(t,e,r).pipe(Va(n=>n.type==="response"),Er(n=>n.body))}function kn(t,e,r){const n=t.config();if(n.resource){qE(n);const o=dH(n),a=r!==void 0?`${e}/${r}`:e;return`${o}/${a}`.replace(/\/($|\?)/,"$1")}const i=ko(n),s=`/${e}/${i}`;return`/data${r!==void 0?`${s}/${r}`:s}`.replace(/\/($|\?)/,"$1")}function ty(t,e,r=!1){const{url:n,cdnUrl:i}=t.config();return`${r?i:n}/${e.replace(/^\//,"")}`}function cH(t){return e=>new Mt(r=>{const n=()=>r.error(fH(t));if(t&&t.aborted){n();return}const i=e.subscribe(r);return t.addEventListener("abort",n),()=>{t.removeEventListener("abort",n),i.unsubscribe()}})}const uH=!!globalThis.DOMException;function fH(t){if(uH)return new DOMException(t?.reason??"The operation was aborted.","AbortError");const e=new Error(t?.reason??"The operation was aborted.");return e.name="AbortError",e}const dH=t=>{const e=t.resource;if(!e)throw new Error("`resource` must be provided to perform resource queries");const{type:r,id:n}=e;switch(r){case"dataset":{const i=n.split(".");if(i.length!==2)throw new Error('Dataset ID must be in the format "project.dataset"');return`/projects/${i[0]}/datasets/${i[1]}`}case"canvas":return`/canvases/${n}`;case"media-library":return`/media-libraries/${n}`;case"dashboard":return`/dashboards/${n}`;default:throw new Error(`Unsupported resource type: ${r.toString()}`)}};function gT(t,e,r){const n=ko(t.config());return dr(t,e,{method:"POST",uri:`/agent/action/generate/${n}`,body:r})}function hH(t,e,r){const n=ko(t.config());return dr(t,e,{method:"POST",uri:`/agent/action/patch/${n}`,body:r})}function pH(t,e,r){const n=ko(t.config());return dr(t,e,{method:"POST",uri:`/agent/action/prompt/${n}`,body:r})}function mT(t,e,r){const n=ko(t.config());return dr(t,e,{method:"POST",uri:`/agent/action/transform/${n}`,body:r})}function yT(t,e,r){const n=ko(t.config());return dr(t,e,{method:"POST",uri:`/agent/action/translate/${n}`,body:r})}class gH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}generate(e){return gT(this.#e,this.#t,e)}transform(e){return mT(this.#e,this.#t,e)}translate(e){return yT(this.#e,this.#t,e)}}class mH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}generate(e){return Ue(gT(this.#e,this.#t,e))}transform(e){return Ue(mT(this.#e,this.#t,e))}translate(e){return Ue(yT(this.#e,this.#t,e))}prompt(e){return Ue(pH(this.#e,this.#t,e))}patch(e){return Ue(hH(this.#e,this.#t,e))}}class yH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}upload(e,r,n){return _T(this.#e,this.#t,e,r,n)}}class _H{#e;#t;constructor(e,r){this.#e=e,this.#t=r}upload(e,r,n){const i=_T(this.#e,this.#t,e,r,n);return Ue(i.pipe(Va(s=>s.type==="response"),Er(s=>s.body.document)))}}function _T(t,e,r,n,i={}){Cj(r);let s=i.extract||void 0;s&&!s.length&&(s=["none"]);const o=t.config(),a=bH(i,n),{tag:l,label:c,title:u,description:d,creditLine:h,filename:f,source:g}=a,p=o.resource?.type==="media-library",b=p?{title:u,filename:f}:{label:c,title:u,description:d,filename:f,meta:s,creditLine:h};return g&&!p&&(b.sourceId=g.id,b.sourceName=g.name,b.sourceUrl=g.url),Dc(t,e,{tag:l,method:"POST",timeout:a.timeout||0,uri:vH(o,r),headers:a.contentType?{"Content-Type":a.contentType}:{},query:b,body:n})}function vH(t,e){const r=e==="image"?"images":"files",n=t.resource;if(n){const{type:s,id:o}=n;switch(s){case"dataset":throw new Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${o}/assets/${r}`;case"media-library":return`/media-libraries/${o}/upload`;case"dashboard":return`/dashboards/${o}/assets/${r}`;default:throw new Error(`Unsupported resource type: ${s.toString()}`)}}const i=ko(t);return`assets/${r}/${i}`}function bH(t,e){return typeof File>"u"||!(e instanceof File)?t:Object.assign({filename:t.preserveFilename===!1?void 0:e.name,contentType:e.type},t)}var wH=(t,e)=>Object.keys(e).concat(Object.keys(t)).reduce((r,n)=>(r[n]=typeof t[n]>"u"?e[n]:t[n],r),{});const xH=(t,e)=>e.reduce((r,n)=>(typeof t[n]>"u"||(r[n]=t[n]),r),{}),vT=PE(()=>Te(()=>import("./CW2RnHHi.js").then(t=>t.b),__vite__mapDeps([17,18,19]),import.meta.url)).pipe(Er(({default:t})=>t),tj(1));function bT(){return function(t){return t.pipe(Rf((e,r)=>e instanceof KE?KF(ha({type:"reconnect"}),XF(1e3).pipe(fo(()=>r))):AE(()=>e)))}}const SH=14800,EH=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","tag"],TH={includeResult:!0};function wT(t,e,r={}){const{url:n,token:i,withCredentials:s,requestTagPrefix:o,headers:a}=this.config(),l=r.tag&&o?[o,r.tag].join("."):r.tag,c={...wH(r,TH),tag:l},u=xH(c,EH),d=tT({query:t,params:e,options:{tag:l,...u}}),h=`${n}${kn(this,"listen",d)}`;if(h.length>SH)return AE(()=>new Error("Query too large for listener"));const f=c.events?c.events:["mutation"],g={};return s&&(g.withCredentials=!0),(i||a)&&(g.headers={},i&&(g.headers.Authorization=`Bearer ${i}`),a&&Object.assign(g.headers,a)),XE(()=>(typeof EventSource>"u"||g.headers?vT:ha(EventSource)).pipe(Er(p=>
42new p(h,g))),f).pipe(bT(),Va(p=>f.includes(p.type)),Er(p=>({type:p.type,..."data"in p?p.data:{}})))}function CH(t,e){return AH(typeof t=="function"?{predicate:t,...e}:t)}function AH(t){return e=>{let r,n=!1;const{predicate:i,...s}=t,o=e.pipe(rj(l=>{t.predicate(l)&&(n=!0,r=l)}),ME(()=>{n=!1,r=void 0}),IE(s)),a=new Mt(l=>{n&&l.next(r),l.complete()});return QF(o,a)}}const F0="2021-03-25";class xT{#e;constructor(e){this.#e=e}events({includeDrafts:e=!1,tag:r}={}){Js("live",this.#e.config());const{projectId:n,apiVersion:i,token:s,withCredentials:o,requestTagPrefix:a,headers:l}=this.#e.config(),c=i.replace(/^v/,"");if(c!=="X"&&c<F0)throw new Error(`The live events API requires API version ${F0} or later. The current API version is ${c}. Please update your API version to use this feature.`);if(e&&!s&&!o)throw new Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");const u=kn(this.#e,"live/events"),d=new URL(this.#e.getUrl(u,!1)),h=r&&a?[a,r].join("."):r;h&&d.searchParams.set("tag",h),e&&d.searchParams.set("includeDrafts","true");const f={};e&&o&&(f.withCredentials=!0),(e&&s||l)&&(f.headers={},e&&s&&(f.headers.Authorization=`Bearer ${s}`),l&&Object.assign(f.headers,l));const g=`${d.href}::${JSON.stringify(f)}`,p=Lh.get(g);if(p)return p;const b=XE(()=>(typeof EventSource>"u"||f.headers?vT:ha(EventSource)).pipe(Er(m=>new m(d.href,f))),["message","restart","welcome","reconnect","goaway"]),_=kH(d,{method:"OPTIONS",mode:"cors",credentials:f.withCredentials?"include":"omit",headers:f.headers}).pipe(Rf(()=>{throw new bj({projectId:n})})),y=b.pipe(bT(),fo(m=>m.type==="reconnect"?_.pipe(fo(()=>ha(m))):ha(m)),Rf(m=>_.pipe(fo(()=>{throw m}))),Er(m=>{if(m.type==="message"){const{data:v,...w}=m;return{...w,tags:v.tags}}return m})).pipe(ME(()=>Lh.delete(g)),CH({predicate:m=>m.type==="welcome"}));return Lh.set(g,y),y}}function kH(t,e){return new Mt(r=>{const n=new AbortController,i=n.signal;return fetch(t,{...e,signal:n.signal}).then(s=>{r.next(s),r.complete()},s=>{i.aborted||r.error(s)}),()=>n.abort()})}const Lh=new Map;class RH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}create(e,r){return pa(this.#e,this.#t,"PUT",e,r)}edit(e,r){return pa(this.#e,this.#t,"PATCH",e,r)}delete(e){return pa(this.#e,this.#t,"DELETE",e)}list(){Js("dataset",this.#e.config());const e=this.#e.config(),r=e.projectId;let n="/datasets";return e.useProjectHostname===!1&&(n=`/projects/${r}/datasets`),dr(this.#e,this.#t,{uri:n,tag:null})}}class PH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}create(e,r){return Js("dataset",this.#e.config()),Ue(pa(this.#e,this.#t,"PUT",e,r))}edit(e,r){return Js("dataset",this.#e.config()),Ue(pa(this.#e,this.#t,"PATCH",e,r))}delete(e){return Js("dataset",this.#e.config()),Ue(pa(this.#e,this.#t,"DELETE",e))}list(){Js("dataset",this.#e.config());const e=this.#e.config(),r=e.projectId;let n="/datasets";return e.useProjectHostname===!1&&(n=`/projects/${r}/datasets`),Ue(dr(this.#e,this.#t,{uri:n,tag:null}))}}function pa(t,e,r,n,i){return Js("dataset",t.config()),zE(n),dr(t,e,{method:r,uri:`/datasets/${n}`,body:i,tag:null})}class ST{#e;#t;constructor(e,r){this.#e=e,this.#t=r}getPlaybackInfo(e,r={}){const n=this.#e.config(),i=(n.resource||n["~experimental_resource"])?.id,{instanceId:s,library
42Id:o}=$H(e),a=o||i;if(!a)throw new Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");const l=DH(s,a),c=LH(r);return dr(this.#e,this.#t,{method:"GET",uri:l,query:c})}}class OH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}getPlaybackInfo(e,r={}){return Ue(new ST(this.#e.observable,this.#t).getPlaybackInfo(e,r))}}const MH=/^media-library:(ml[^:]+):([^:]+)$/;function IH(t){return typeof t=="object"&&"_ref"in t}function $H(t){const e=IH(t)?t._ref:t,r=MH.exec(e);if(r){const[,n,i]=r;return{libraryId:n,instanceId:i}}if(typeof t=="string"&&t.startsWith("video-"))return{instanceId:t};throw new Error(`Invalid video asset instance identifier "${e}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}function DH(t,e){return`/media-libraries/${e}/video/${t}/playback-info`}function LH(t){const e={};if(t.transformations){const{thumbnail:r,animated:n,storyboard:i}=t.transformations;r&&(r.width&&(e.thumbnailWidth=r.width),r.height&&(e.thumbnailHeight=r.height),r.time!==void 0&&(e.thumbnailTime=r.time),r.fit&&(e.thumbnailFit=r.fit),r.format&&(e.thumbnailFormat=r.format)),n&&(n.width&&(e.animatedWidth=n.width),n.height&&(e.animatedHeight=n.height),n.start!==void 0&&(e.animatedStart=n.start),n.end!==void 0&&(e.animatedEnd=n.end),n.fps&&(e.animatedFps=n.fps),n.format&&(e.animatedFormat=n.format)),i&&i.format&&(e.storyboardFormat=i.format)}return t.expiration&&(e.expiration=t.expiration),e}class NH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}list(e){const r={},n="/projects";return e?.includeMembers===!1&&(r.includeMembers="false"),e?.organizationId&&(r.organizationId=e.organizationId),dr(this.#e,this.#t,{uri:n,query:r})}getById(e){return dr(this.#e,this.#t,{uri:`/projects/${e}`})}}class FH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}list(e){const r={},n="/projects";return e?.includeMembers===!1&&(r.includeMembers="false"),e?.organizationId&&(r.organizationId=e.organizationId),Ue(dr(this.#e,this.#t,{uri:n,query:r}))}getById(e){return Ue(dr(this.#e,this.#t,{uri:`/projects/${e}`}))}}const j0=fj("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),Mf=(t,e)=>e?Ic(t,e):FE(t);function If(t,{releaseId:e,publishedId:r,document:n}){if(r&&n._id){const i=Mf(r,e);return kj(i,n),i}if(n._id){const i=md(n._id),s=yd(n._id);if(!i&&!s)throw new Error(`\`${t}()\` requires a document with an \`_id\` that is a version or draft ID`);if(e){if(i)throw new Error(`\`${t}()\` was called with a document ID (\`${n._id}\`) that is a draft ID, but a release ID (\`${e}\`) was also provided.`);const o=jE(n._id);if(o!==e)throw new Error(`\`${t}()\` was called with a document ID (\`${n._id}\`) that is a version ID, but the release ID (\`${e}\`) does not match the document's version ID (\`${o}\`).`)}return n._id}if(r)return Mf(r,e);throw new Error(`\`${t}()\` requires either a publishedId or a document with an \`_id\``)}const jH=(t,e)=>{if(typeof t=="object"&&t!==null&&("releaseId"in t||"metadata"in t)){const{releaseId:r=j0(),metadata:n={}}=t;return[r,n,e]}return[j0(),{},t]},ET=(t,e)=>{const[r,n,i]=jH(t,e),s={...n,releaseType:n.releaseType||"undecided"};return{action:{actionType:"sanity.action.release.create",releaseId:r,metadata:s},options:i}};class HH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}get({releaseId:e},r){return Na(this.#e,this.#t,`_.releases.${e}`,r)}create(e,r){const{action:n,options:i}=ET(e,r),{releaseId:s,metadata:o}=n;return At(this.#e,this.#t,n,i).pipe(Er(a=>({...a,releaseId:s,metadata:o})))}edit({releaseId:e,patch:r},n){const i={actionType:"sanity.action.release.edit",releaseId:e,patch:r};return At(this.#e,this.#t,i,n)}publish({releaseId:e},r){const n={actionType:"sanity.action.release.publish",releaseId:e};return At(this.#e,this.#t,n,r)}archive({releaseId:e},r){const n={actionType:"sanity.action.release.archive",releaseId:e};return At(this.#e,this.#t,n,r)}unarchive({releaseId:e},r){const n={actionType:"sanity.action.release.unarchive",releaseId:e};return At(this.#e,this.#t,n,r)}schedule({releaseId:e,publishAt:r},n){const i={actionType:"sanity.action.release.schedule",releaseId:e,publishAt:r};return At(this.#e,this.#t,i,n)}unschedule({releaseId:e},r){const n={actionType:"sanity.action.release.unschedule",releaseId:e};return At(this.#e,this.#t,n,r)}delete({releaseId:e},r){const n={actionType:"sanity.action.release.delete",releaseId:e};return At(this.#e,this.#t,n,r)}fetchDocuments({releaseId:e},r){return iT(this.#e,this.#t,e,r)}}
42class BH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}get({releaseId:e},r){return Ue(Na(this.#e,this.#t,`_.releases.${e}`,r))}async create(e,r){const{action:n,options:i}=ET(e,r),{releaseId:s,metadata:o}=n;return{...await Ue(At(this.#e,this.#t,n,i)),releaseId:s,metadata:o}}edit({releaseId:e,patch:r},n){const i={actionType:"sanity.action.release.edit",releaseId:e,patch:r};return Ue(At(this.#e,this.#t,i,n))}publish({releaseId:e},r){const n={actionType:"sanity.action.release.publish",releaseId:e};return Ue(At(this.#e,this.#t,n,r))}archive({releaseId:e},r){const n={actionType:"sanity.action.release.archive",releaseId:e};return Ue(At(this.#e,this.#t,n,r))}unarchive({releaseId:e},r){const n={actionType:"sanity.action.release.unarchive",releaseId:e};return Ue(At(this.#e,this.#t,n,r))}schedule({releaseId:e,publishAt:r},n){const i={actionType:"sanity.action.release.schedule",releaseId:e,publishAt:r};return Ue(At(this.#e,this.#t,i,n))}unschedule({releaseId:e},r){const n={actionType:"sanity.action.release.unschedule",releaseId:e};return Ue(At(this.#e,this.#t,n,r))}delete({releaseId:e},r){const n={actionType:"sanity.action.release.delete",releaseId:e};return Ue(At(this.#e,this.#t,n,r))}fetchDocuments({releaseId:e},r){return Ue(iT(this.#e,this.#t,e,r))}}class UH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}getById(e){return dr(this.#e,this.#t,{uri:`/users/${e}`})}}class zH{#e;#t;constructor(e,r){this.#e=e,this.#t=r}getById(e){return Ue(dr(this.#e,this.#t,{uri:`/users/${e}`}))}}class $f{assets;datasets;live;mediaLibrary;projects;users;agent;releases;#e;#t;listen=wT;constructor(e,r=Yl){this.config(r),this.#t=e,this.assets=new yH(this,this.#t),this.datasets=new RH(this,this.#t),this.live=new xT(this),this.mediaLibrary={video:new ST(this,this.#t)},this.projects=new NH(this,this.#t),this.users=new UH(this,this.#t),this.agent={action:new gH(this,this.#t)},this.releases=new HH(this,this.#t)}clone(){return new $f(this.#t,this.config())}config(e){if(e===void 0)return{...this.#e};if(this.#e&&this.#e.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#e=YE(e,this.#e||{}),this}withConfig(e){const r=this.config();return new $f(this.#t,{...r,...e,stega:{...r.stega||{},...typeof e?.stega=="boolean"?{enabled:e.stega}:e?.stega||{}}})}fetch(e,r,n){return rT(this,this.#t,this.#e.stega,e,r,n)}getDocument(e,r){if(r?.includeAllVersions===!0)return Na(this,this.#t,e,{...r,includeAllVersions:!0});const n={signal:r?.signal,tag:r?.tag,releaseId:r?.releaseId,...r&&"includeAllVersions"in r?{includeAllVersions:!1}:{}};return Na(this,this.#t,e,n)}getDocuments(e,r){return nT(this,this.#t,e,r)}create(e,r){return wd(this,this.#t,e,"create",r)}createIfNotExists(e,r){return sT(this,this.#t,e,r)}createOrReplace(e,r){return oT(this,this.#t,e,r)}createVersion({document:e,publishedId:r,releaseId:n,baseId:i,ifBaseRevisionId:s},o){if(!e)return lT(this,this.#t,r,i,n,s,o);const a=If("createVersion",{document:e,publishedId:r,releaseId:n}),l={...e,_id:a},c=r||_d(e._id);return aT(this,this.#t,l,c,o)}delete(e,r){return cT(this,this.#t,e,r)}discardVersion({releaseId:e,publishedId:r},n,i){const s=Mf(r,e);return uT(this,this.#t,s,n,i)}replaceVersion({document:e,publishedId:r,releaseId:n},i){const s=If("replaceVersion",{document:e,publishedId:r,releaseId:n}),o={...e,_id:s};return fT(this,this.#t,o,i)}unpublishVersion({releaseId:e,publishedId:r},n){const i=Ic(r,e);return dT(this,this.#t,i,r,n)}mutate(e,r){return hT(this,this.#t,e,r)}patch(e,r){return new ho(e,r,this)}transaction(e){return new bd(e,this)}action(e,r){return At(this,this.#t,e,r)}request(e){return dr(this,this.#t,e)}getUrl(e,r){return ty(this,e,r)}getDataUrl(e,r){return kn(this,e,r)}}class Df{assets;datasets;live;mediaLibrary;projects;users;agent;releases;observable;#e;#t;listen=wT;constructor(e,r=Yl){this.config(r),this.#t=e,this.assets=new _H(this,this.#t),this.datasets=new PH(this,this.#t),this.live=new xT(this),this.mediaLibrary={video:new OH(this,this.#t)},this.projects=new FH(this,this.#t),this.users=new zH(this,this.#t),this.agent={action:new mH(this,this.#t)},this.releases=new BH(this,this.#t),this.observable=new $f(e,r)}clone(){return new Df(this.#t,this.config())}config(e){if(e===void 0)return{...this.#e};if(this.#e&&this.#e.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#e=YE(e,this.#e||{}),this}withConfig(e){const r=this.config();return new Df(this.#t,{...r,...e,stega:{...r.stega||{},...typeof e?.stega=="boolean"?{enabled:e.stega}:e?.stega||{}}})}fetch(e,r,n){return Ue(rT(this,this.#t,this.#e.stega,e,r,n))}getDocument(e,r){if(r?.includeAllVersions===!0)return Ue(Na(this,this.#t,e,{...r,includeAllVersions:!0}));const n={signal:r?.signal,tag:r?.tag,releaseId:r?.releaseId,...r&&"includeAllVersions"in r?{includeAllVersions:!1}:{}};return Ue(Na(this,this.#t,e,n))}getDocuments(e,r){return Ue(nT(this,this.#t,e,r))}create(e,r){return Ue(wd(this,this.#t,e,"create",r))}createIfNotExists(e,r){return Ue(sT(this,this.#t,e,r))}createOrReplace(e,r){return Ue(oT(this,this.#t,e,r))}createVersion({document:e,publishedId:r,releaseId:n,baseId:i,ifBaseRevisionId:s},o){if(!e)return Mh(lT(this,this.#t,r,i,n,s,o));const a=If("createVersion",{document:e,publishedId:r,releaseId:n}),l={...e,_id:a}
42,c=r||_d(e._id);return Mh(aT(this,this.#t,l,c,o))}delete(e,r){return Ue(cT(this,this.#t,e,r))}discardVersion({releaseId:e,publishedId:r},n,i){const s=Mf(r,e);return Ue(uT(this,this.#t,s,n,i))}replaceVersion({document:e,publishedId:r,releaseId:n},i){const s=If("replaceVersion",{document:e,publishedId:r,releaseId:n}),o={...e,_id:s};return Mh(fT(this,this.#t,o,i))}unpublishVersion({releaseId:e,publishedId:r},n){const i=Ic(r,e);return Ue(dT(this,this.#t,i,r,n))}mutate(e,r){return Ue(hT(this,this.#t,e,r))}patch(e,r){return new ds(e,r,this)}transaction(e){return new vd(e,this)}action(e,r){return Ue(At(this,this.#t,e,r))}request(e){return Ue(dr(this,this.#t,e))}dataRequest(e,r,n){return Ue(Ro(this,this.#t,e,r,n))}getUrl(e,r){return ty(this,e,r)}getDataUrl(e,r){return kn(this,e,r)}}function VH(t,e){return{requester:I0(t),createClient:r=>{const n=I0(t,{ignoreWarnings:r.ignoreWarnings});return new e((i,s)=>(s||n)({maxRedirects:0,maxRetries:r.maxRetries,retryDelay:r.retryDelay,lineage:r.lineage,...i}),r)}}}var WH=[];const qH=VH(WH,Df),H0=qH.createClient,B0=t=>{const e=pd(),r={...t};let n=H0(r),i=d0(e.visualEditing);const s=w2(e.liveContent);return{client:n,config:r,fetch:(...o)=>n.fetch(...o),liveStore:s,queryStore:i,setToken(o){r.token=o,n=H0(r),i&&e.visualEditing&&(i=d0(e.visualEditing))}}};function TT(t,e){const r=typeof t=="string"?t:"default",n=qe();if(n._sanity?.[r])return n._sanity[r];n._sanity=n._sanity||{};const i=pd(),{additionalClients:s={},liveContent:o,visualEditing:a,...l}=i;return!l.disableSmartCdn&&n.$preview&&(l.useCdn=!1),r==="default"?(n._sanity.default=B0(l),n._sanity.default):(n._sanity[r]=B0(kc(s[r],l)),n._sanity[r])}const GH=mt(()=>{const t=v2(TT().client);function e(r){return t.image(r).auto("format").quality(80)}return{provide:{urlFor:e}}});var Ci,po,ry,xd,ml,Hu,Lf,Kl,Dn="transform",ug=Dn+"Origin",CT,AT=function(e){var r=e.ownerDocument||e;for(!(Dn in e.style)&&("msTransform"in e.style)&&(Dn="msTransform",ug=Dn+"Origin");r.parentNode&&(r=r.parentNode););if(po=window,Lf=new Eo,r){Ci=r,ry=r.documentElement,xd=r.body,Kl=Ci.createElementNS("http://www.w3.org/2000/svg","g"),Kl.style.transform="none";var n=r.createElement("div"),i=r.createElement("div"),s=r&&(r.body||r.firstElementChild);s&&s.appendChild&&(s.appendChild(n),n.appendChild(i),n.style.position="static",n.style.transform="translate3d(0,0,1px)",CT=i.offsetParent!==n,s.removeChild(n))}return r},YH=function(e){for(var r,n;e&&e!==xd;)n=e._gsap,n&&n.uncache&&n.get(e,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),r?r.push(n):r=[n]),e=e.parentNode;return r},kT=[],RT=[],KH=function(){return po.pageYOffset||Ci.scrollTop||ry.scrollTop||xd.scrollTop||0},XH=function(){return po.pageXOffset||Ci.scrollLeft||ry.scrollLeft||xd.scrollLeft||0},ny=function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},QH=function t(e){if(po.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return t(e)},Nh=function t(e,r){if(e.parentNode&&(Ci||AT(e))){var n=ny(e),i=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=n?r?"rect":"g":"div",o=r!==2?0:100,a=r===3?100:0,l={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},c=Ci.createElementNS?Ci.createElementNS(i.replace(/^https/,"http"),s):Ci.createElement(s);return r&&(n?(Hu||(Hu=t(e)),c.setAttribute("width",.01),c.setAttribute("height",.01),c.setAttribute("transform","translate("+o+","+a+")"),c.setAttribute("fill","transparent"),Hu.appendChild(c)):(ml||(ml=t(e),Object.assign(ml.style,l)),Object.assign(c.style,l,{width:"0.1px",height:"0.1px",top:a+"px",left:o+"px"}),ml.appendChild(c))),c}throw"Need document and parent."},JH=function(e){for(var r=new Eo,n=0;n<e.numberOfItems;n++)r.multiply(e.getItem(n).matrix);return r},ZH=function(e){var r=e.getCTM(),n;return r||(n=e.style[Dn],e.style[Dn]="none",e.appendChild(Kl),r=Kl.getCTM(),e.removeChild(Kl),n?e.style[Dn]=n:e.style.removeProperty(Dn.replace(/([A-Z])/g,"-$1").toLowerCase())),r||Lf.clone()},eB=function(e,r){var n=ny(e),i=e===n,s=n?kT:RT,o=e.parentNode,a=o&&!n&&o.shadowRoot&&o.shadowRoot.appendChild?o.shadowRoot:o,l,c,u,d,h,f;if(e===po)return e;if(s.length||s.push(Nh(e,1),Nh(e,2),Nh(e,3)),l=n?Hu:ml,n)i?(u=ZH(e),d=-u.e/u.a,h=-u.f/u.d,c=Lf):e.getBBox?(u=e.getBBox(),c=e.transform?e.transform.baseVal:{},c=c.numberOfItems?c.numberOfItems>1?JH(c):c.getItem(0).matrix:Lf,d=c.a*u.x+c.c*u.y,h=c.b*u.x+c.d*u.y):(c=new Eo,d=h=0),(i||!e.getBoundingClientRect().width?n:o).appendChild(l),l.setAttribute("transform","matrix("+c.a+","+c.b+","+c.c+","+c.d+","+(c.e+d)+","+(c.f+h)+")");else{if(d=h=0,CT)for(c=e.offsetParent,u=e;u&&(u=u.parentNode)&&u!==c&&u.parentNode;)(po.getComputedStyle(u)[Dn]+"").length>4&&(d=u.offsetLeft,h=u.offsetTop,u=0);if(f=po.getComputedStyle(e),f.position!=="absolute"&&f.position!=="fixed")for(c=e.offsetParent;o&&o!==c;)d+=o.scrollLeft||0,h+=o.scrollTop||0,o=o.parentNode;u=l.style,u.top=e.offsetTop-h+"px",u.left=e.offsetLeft-d+"px",u[Dn]=f[Dn],u[ug]=f[ug],u.position=f.position==="fixed"?"fixed":"absolute",a.appendChild(l)}return l}
42,Fh=function(e,r,n,i,s,o,a){return e.a=r,e.b=n,e.c=i,e.d=s,e.e=o,e.f=a,e},Eo=(function(){function t(r,n,i,s,o,a){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=0),s===void 0&&(s=1),o===void 0&&(o=0),a===void 0&&(a=0),Fh(this,r,n,i,s,o,a)}var e=t.prototype;return e.inverse=function(){var n=this.a,i=this.b,s=this.c,o=this.d,a=this.e,l=this.f,c=n*o-i*s||1e-10;return Fh(this,o/c,-i/c,-s/c,n/c,(s*l-o*a)/c,-(n*l-i*a)/c)},e.multiply=function(n){var i=this.a,s=this.b,o=this.c,a=this.d,l=this.e,c=this.f,u=n.a,d=n.c,h=n.b,f=n.d,g=n.e,p=n.f;return Fh(this,u*i+h*o,u*s+h*a,d*i+f*o,d*s+f*a,l+g*i+p*o,c+g*s+p*a)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(n){var i=this.a,s=this.b,o=this.c,a=this.d,l=this.e,c=this.f;return i===n.a&&s===n.b&&o===n.c&&a===n.d&&l===n.e&&c===n.f},e.apply=function(n,i){i===void 0&&(i={});var s=n.x,o=n.y,a=this.a,l=this.b,c=this.c,u=this.d,d=this.e,h=this.f;return i.x=s*a+o*c+d||0,i.y=s*l+o*u+h||0,i},t})();function Gs(t,e,r,n){if(!t||!t.parentNode||(Ci||AT(t)).documentElement===t)return new Eo;var i=YH(t),s=ny(t),o=s?kT:RT,a=eB(t),l=o[0].getBoundingClientRect(),c=o[1].getBoundingClientRect(),u=o[2].getBoundingClientRect(),d=a.parentNode,h=QH(t),f=new Eo((c.left-l.left)/100,(c.top-l.top)/100,(u.left-l.left)/100,(u.top-l.top)/100,l.left+(h?0:XH()),l.top+(h?0:KH()));if(d.removeChild(a),i)for(l=i.length;l--;)c=i[l],c.scaleX=c.scaleY=0,c.renderTransform(1,c);return e?f.inverse():f}function U0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tB(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Ge,at,an,Nn,Ai,jh,vi,fg,yl,hs,PT,dg,wc,iy,_l,Jr,vl,Bu,OT,hg,Nf=0,MT=function(){return typeof window<"u"},IT=function(){return Ge||MT()&&(Ge=window.gsap)&&Ge.registerPlugin&&Ge},ss=function(e){return typeof e=="function"},Xl=function(e){return typeof e=="object"},Mn=function(e){return typeof e>"u"},Uu=function(){return!1},Ql="transform",pg="transformOrigin",Rr=function(e){return Math.round(e*1e4)/1e4},il=Array.isArray,bu=function(e,r){var n=an.createElementNS?an.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/,"http"),e):an.createElement(e);return n.style?n:an.createElement(e)},z0=180/Math.PI,Fs=1e20,rB=new Eo,Xi=Date.now||function(){return new Date().getTime()},go=[],ga={},nB=0,iB=/^(?:a|input|textarea|button|select)$/i,V0=0,jo={},hi={},$T=function(e,r){var n={},i;for(i in e)n[i]=r?e[i]*r:e[i];return n},sB=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},W0=function t(e,r){for(var n=e.length,i;n--;)r?e[n].style.touchAction=r:e[n].style.removeProperty("touch-action"),i=e[n].children,i&&i.length&&t(i,r)},DT=function(){return go.forEach(function(e){return e()})},oB=function(e){go.push(e),go.length===1&&Ge.ticker.add(DT)},q0=function(){return!go.length&&Ge.ticker.remove(DT)},G0=function(e){for(var r=go.length;r--;)go[r]===e&&go.splice(r,1);Ge.to(q0,{overwrite:!0,delay:15,duration:0,onComplete:q0,data:"_draggable"})},aB=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},Yt=function(e,r,n,i){if(e.addEventListener){var s=wc[r];i=i||(PT?{passive:!1}:null),e.addEventListener(s||r,n,i),s&&r!==s&&e.addEventListener(r,n,i)}},Ft=function(e,r,n,i){if(e.removeEventListener){var s=wc[r];e.removeEventListener(s||r,n,i),s&&r!==s&&e.removeEventListener(r,n,i)}},yn=function(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()},lB=function(e,r){for(var n=e.length;n--;)if(e[n].identifier===r)return!0},cB=function t(e){iy=e.touches&&Nf<e.touches.length,Ft(e.target,"touchend",t)},Y0=function(e){iy=e.touches&&Nf<e.touches.length,Yt(e.target,"touchend",cB)},ma=function(e){return at.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0},ya=function(e){return at.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0},K0=function t(e,r){Yt(e,"scroll",r),Fa(e.parentNode)||t(e.parentNode,r)},X0=function t(e,r){Ft(e,"scroll",r),Fa(e.parentNode)||t(e.parentNode,r)},Fa=function(e){return!e||e===Nn||e.nodeType===9||e===an.body||e===at||!e.nodeType||!e.parentNode},Q0=function(e,r){var n=r==="x"?"Width":"Height",i="scroll"+n,s="client"+n;return Math.max(0,Fa(e)?Math.max(Nn[i],Ai[i])-(at["inner"+n]||Nn[s]||Ai[s]):e[i]-e[s])},Hh=function t(e,r){var n=Q0(e,"x"),i=Q0(e,"y");Fa(e)?e=hi:t(e.parentNode,r),e._gsMaxScrollX=n,e._gsMaxScrollY=i,r||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},Bh=function(e,r,n){var i=e.style;i&&(Mn(i[r])&&(r=yl(r,e)||r),n==null?i.removeProperty&&i.removeProperty(r.replace(/([A-Z])/g,"-$1").toLowerCase()):i[r]=n)},xc=function(e){return at.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)},js={}
42,Ho=function(e){if(e===at)return js.left=js.top=0,js.width=js.right=Nn.clientWidth||e.innerWidth||Ai.clientWidth||0,js.height=js.bottom=(e.innerHeight||0)-20<Nn.clientHeight?Nn.clientHeight:e.innerHeight||Ai.clientHeight||0,js;var r=e.ownerDocument||an,n=Mn(e.pageX)?!e.nodeType&&!Mn(e.left)&&!Mn(e.top)?e:hs(e)[0].getBoundingClientRect():{left:e.pageX-ya(r),top:e.pageY-ma(r),right:e.pageX-ya(r)+1,bottom:e.pageY-ma(r)+1};return Mn(n.right)&&!Mn(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):Mn(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n},$t=function(e,r,n){var i=e.vars,s=i[n],o=e._listeners[r],a;return ss(s)&&(a=s.apply(i.callbackScope||e,i[n+"Params"]||[e.pointerEvent])),o&&e.dispatchEvent(r)===!1&&(a=!1),a},J0=function(e,r){var n=hs(e)[0],i,s,o;return!n.nodeType&&n!==at?Mn(e.left)?(s=e.min||e.minX||e.minRotation||0,i=e.min||e.minY||0,{left:s,top:i,width:(e.max||e.maxX||e.maxRotation||0)-s,height:(e.max||e.maxY||0)-i}):(o={x:0,y:0},{left:e.left-o.x,top:e.top-o.y,width:e.width,height:e.height}):uB(n,r)},_n={},uB=function(e,r){r=hs(r)[0];var n=e.getBBox&&e.ownerSVGElement,i=e.ownerDocument||an,s,o,a,l,c,u,d,h,f,g,p,b,_;if(e===at)a=ma(i),s=ya(i),o=s+(i.documentElement.clientWidth||e.innerWidth||i.body.clientWidth||0),l=a+((e.innerHeight||0)-20<i.documentElement.clientHeight?i.documentElement.clientHeight:e.innerHeight||i.body.clientHeight||0);else{if(r===at||Mn(r))return e.getBoundingClientRect();s=a=0,n?(g=e.getBBox(),p=g.width,b=g.height):(e.viewBox&&(g=e.viewBox.baseVal)&&(s=g.x||0,a=g.y||0,p=g.width,b=g.height),p||(_=xc(e),g=_.boxSizing==="border-box",p=(parseFloat(_.width)||e.clientWidth||0)+(g?0:parseFloat(_.borderLeftWidth)+parseFloat(_.borderRightWidth)),b=(parseFloat(_.height)||e.clientHeight||0)+(g?0:parseFloat(_.borderTopWidth)+parseFloat(_.borderBottomWidth)))),o=p,l=b}return e===r?{left:s,top:a,width:o-s,height:l-a}:(c=Gs(r,!0).multiply(Gs(e)),u=c.apply({x:s,y:a}),d=c.apply({x:o,y:a}),h=c.apply({x:o,y:l}),f=c.apply({x:s,y:l}),s=Math.min(u.x,d.x,h.x,f.x),a=Math.min(u.y,d.y,h.y,f.y),{left:s,top:a,width:Math.max(u.x,d.x,h.x,f.x)-s,height:Math.max(u.y,d.y,h.y,f.y)-a})},Uh=function(e,r,n,i,s,o){var a={},l,c,u;if(r)if(s!==1&&r instanceof Array){if(a.end=l=[],u=r.length,Xl(r[0]))for(c=0;c<u;c++)l[c]=$T(r[c],s);else for(c=0;c<u;c++)l[c]=r[c]*s;n+=1.1,i-=1.1}else ss(r)?a.end=function(d){var h=r.call(e,d),f,g;if(s!==1)if(Xl(h)){f={};for(g in h)f[g]=h[g]*s;h=f}else h*=s;return h}:a.end=r;return(n||n===0)&&(a.max=n),(i||i===0)&&(a.min=i),o&&(a.velocity=0),a},fB=function t(e){var r;return!e||!e.getAttribute||e===Ai?!1:(r=e.getAttribute("data-clickable"))==="true"||r!=="false"&&(iB.test(e.nodeName+"")||e.getAttribute("contentEditable")==="true")?!0:t(e.parentNode)},wu=function(e,r){for(var n=e.length,i;n--;)i=e[n],i.ondragstart=i.onselectstart=r?null:Uu,Ge.set(i,{lazy:!0,userSelect:r?"text":"none"})},dB=function t(e){if(xc(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return t(e)},LT,gg,hB=function(e,r){e=Ge.utils.toArray(e)[0],r=r||{};var n=document.createElement("div"),i=n.style,s=e.firstChild,o=0,a=0,l=e.scrollTop,c=e.scrollLeft,u=e.scrollWidth,d=e.scrollHeight,h=0,f=0,g=0,p,b,_,y,m,v;LT&&r.force3D!==!1?(m="translate3d(",v="px,0px)"):Ql&&(m="translate(",v="px)"),this.scrollTop=function(w,E){if(!arguments.length)return-this.top();this.top(-w,E)},this.scrollLeft=function(w,E){if(!arguments.length)return-this.left();this.left(-w,E)},this.left=function(w,E){if(!arguments.length)return-(e.scrollLeft+a);var x=e.scrollLeft-c,S=a;if((x>2||x<-2)&&!E){c=e.scrollLeft,Ge.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-c),r.onKill&&r.onKill();return}w=-w,w<0?(a=w-.5|0,w=0):w>f?(a=w-f|0,w=f):a=0,(a||S)&&(this._skip||(i[Ql]=m+-a+"px,"+-o+v),a+h>=0&&(i.paddingRight=a+h+"px")),e.scrollLeft=w|0,c=e.scrollLeft},this.top=function(w,E){if(!arguments.length)return-(e.scrollTop+o);var x=e.scrollTop-l,S=o;if((x>2||x<-2)&&!E){l=e.scrollTop,Ge.killTweensOf(this,{top:1,scrollTop:1}),this.top(-l),r.onKill&&r.onKill();return}w=-w,w<0?(o=w-.5|0,w=0):w>g?(o=w-g|0,w=g):o=0,(o||S)&&(this._skip||(i[Ql]=m+-a+"px,"+-o+v)),e.scrollTop=w|0,l=e.scrollTop},this.maxScrollTop=function(){return g},this.maxScrollLeft=function(){return f},this.disable=function(){for(s=n.firstChild;s;)y=s.nextSibling,e.appendChild(s),s=y;e===n.parentNode&&e.removeChild(n)},this.enable=function(){if(s=e.firstChild,s!==n){for(;s;)y=s.nextSibling,n.appendChild(s),s=y;e.appendChild(n),this.calibrate()}}
42,this.calibrate=function(w){var E=e.clientWidth===p,x,S,T;l=e.scrollTop,c=e.scrollLeft,!(E&&e.clientHeight===b&&n.offsetHeight===_&&u===e.scrollWidth&&d===e.scrollHeight&&!w)&&((o||a)&&(S=this.left(),T=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),x=xc(e),(!E||w)&&(i.display="block",i.width="auto",i.paddingRight="0px",h=Math.max(0,e.scrollWidth-e.clientWidth),h&&(h+=parseFloat(x.paddingLeft)+(gg?parseFloat(x.paddingRight):0))),i.display="inline-block",i.position="relative",i.overflow="visible",i.verticalAlign="top",i.boxSizing="content-box",i.width="100%",i.paddingRight=h+"px",gg&&(i.paddingBottom=x.paddingBottom),p=e.clientWidth,b=e.clientHeight,u=e.scrollWidth,d=e.scrollHeight,f=e.scrollWidth-p,g=e.scrollHeight-b,_=n.offsetHeight,i.display="block",(S||T)&&(this.left(S),this.top(T)))},this.content=n,this.element=e,this._skip=!1,this.enable()},zh=function(e){if(MT()&&document.body){var r=window&&window.navigator;at=window,an=document,Nn=an.documentElement,Ai=an.body,jh=bu("div"),Bu=!!window.PointerEvent,vi=bu("div"),vi.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",vl=vi.style.cursor==="grab"?"grab":"move",_l=r&&r.userAgent.toLowerCase().indexOf("android")!==-1,dg="ontouchstart"in Nn&&"orientation"in at||r&&(r.MaxTouchPoints>0||r.msMaxTouchPoints>0),gg=(function(){var n=bu("div"),i=bu("div"),s=i.style,o=Ai,a;return s.display="inline-block",s.position="relative",n.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",n.appendChild(i),o.appendChild(n),a=i.offsetHeight+18>n.scrollHeight,o.removeChild(n),a})(),wc=(function(n){for(var i=n.split(","),s=("onpointerdown"in jh?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in jh?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":n).split(","),o={},a=4;--a>-1;)o[i[a]]=s[a],o[s[a]]=i[a];try{Nn.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){PT=1}}))}catch{}return o})("touchstart,touchmove,touchend,touchcancel"),Yt(an,"touchcancel",Uu),Yt(at,"touchmove",Uu),Ai&&Ai.addEventListener("touchstart",Uu),Yt(an,"contextmenu",function(){for(var n in ga)ga[n].isPressed&&ga[n].endDrag()}),Ge=fg=IT()}Ge?(Jr=Ge.plugins.inertia,OT=Ge.core.context||function(){},yl=Ge.utils.checkPrefix,Ql=yl(Ql),pg=yl(pg),hs=Ge.utils.toArray,hg=Ge.core.getStyleSaver,LT=!!yl("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")},pB=(function(){function t(r){this._listeners={},this.target=r||this}var e=t.prototype;return e.addEventListener=function(n,i){var s=this._listeners[n]||(this._listeners[n]=[]);~s.indexOf(i)||s.push(i)},e.removeEventListener=function(n,i){var s=this._listeners[n],o=s&&s.indexOf(i);o>=0&&s.splice(o,1)},e.dispatchEvent=function(n){var i=this,s;return(this._listeners[n]||[]).forEach(function(o){return o.call(i,{type:n,target:i.target})===!1&&(s=!1)}),s},t})(),Lc=(function(t){tB(e,t);function e(r,n){var i;i=t.call(this)||this,fg||zh(1),r=hs(r)[0],i.styles=hg&&hg(r,"transform,left,top"),Jr||(Jr=Ge.plugins.inertia),i.vars=n=$T(n||{}),i.target=r,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(n.dragResistance)||0,i.edgeResistance=isNaN(n.edgeResistance)?1:parseFloat(n.edgeResistance)||0,i.lockAxis=n.lockAxis,i.autoScroll=n.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!n.allowEventDefault,Ge.getProperty(r,"x");var s=(n.type||"x,y").toLowerCase(),o=~s.indexOf("x")||~s.indexOf("y"),a=s.indexOf("rotation")!==-1,l=a?"rotation":o?"x":"left",c=o?"y":"top",u=!!(~s.indexOf("x")||~s.indexOf("left")||s==="scroll"),d=!!(~s.indexOf("y")||~s.indexOf("top")||s==="scroll"),h=n.minimumMovement||2,f=U0(i),g=hs(n.trigger||n.handle||r),p={},b=0,_=!1,y=n.autoScrollMarginTop||40,m=n.autoScrollMarginRight||40,v=n.autoScrollMarginBottom||40,w=n.autoScrollMarginLeft||40,E=n.clickableTest||fB,x=0,S=r._gsap||Ge.core.getCache(r),T=dB(r),P=function(D,ee){return parseFloat(S.get(r,D,ee))},F=r.ownerDocument||an,O,H,Y,B,A,I,$,X,M,K,te,ue,oe,me,ye,N,q,Q,se,he,xe,C,k,L,G,R,V,le,ae,Z,W,Ce,fe,de=function(D){return yn(D),D.stopImmediatePropagation&&D.stopImmediatePropagation(),!1},_e=function Ae(D){if(f.autoScroll&&f.isDragging&&(_||q)){var ee=r,j=f.autoScroll*15,U,re,z,ce,J,pe,Pe,Ee;for(_=!1,hi.scrollTop=at.pageYOffset!=null?at.pageYOffset:F.documentElement.scrollTop!=null?F.documentElement.scrollTop:F.body.scrollTop,hi.scrollLeft=at.pageXOffset!=null?at.pageXOffset:F.documentElement.scrollLeft!=null?F.documentElement.scrollLeft:F.body.scrollLeft,ce=f.pointerX-hi.scrollLeft,J=f.pointerY-hi.scrollTop;ee&&!re;)re=Fa(ee.parentNode),U=re?hi:ee.parentNode,z=re?{bottom:Math.max(Nn.clientHeight,at.innerHe
42ight||0),right:Math.max(Nn.clientWidth,at.innerWidth||0),left:0,top:0}:U.getBoundingClientRect(),pe=Pe=0,d&&(Ee=U._gsMaxScrollY-U.scrollTop,Ee<0?Pe=Ee:J>z.bottom-v&&Ee?(_=!0,Pe=Math.min(Ee,j*(1-Math.max(0,z.bottom-J)/v)|0)):J<z.top+y&&U.scrollTop&&(_=!0,Pe=-Math.min(U.scrollTop,j*(1-Math.max(0,J-z.top)/y)|0)),Pe&&(U.scrollTop+=Pe)),u&&(Ee=U._gsMaxScrollX-U.scrollLeft,Ee<0?pe=Ee:ce>z.right-m&&Ee?(_=!0,pe=Math.min(Ee,j*(1-Math.max(0,z.right-ce)/m)|0)):ce<z.left+w&&U.scrollLeft&&(_=!0,pe=-Math.min(U.scrollLeft,j*(1-Math.max(0,ce-z.left)/w)|0)),pe&&(U.scrollLeft+=pe)),re&&(pe||Pe)&&(at.scrollTo(U.scrollLeft,U.scrollTop),Qr(f.pointerX+pe,f.pointerY+Pe)),ee=U}if(q){var Le=f.x,Qe=f.y;a?(f.deltaX=Le-parseFloat(S.rotation),f.rotation=Le,S.rotation=Le+"deg",S.renderTransform(1,S)):H?(d&&(f.deltaY=Qe-H.top(),H.top(Qe)),u&&(f.deltaX=Le-H.left(),H.left(Le))):o?(d&&(f.deltaY=Qe-parseFloat(S.y),S.y=Qe+"px"),u&&(f.deltaX=Le-parseFloat(S.x),S.x=Le+"px"),S.renderTransform(1,S)):(d&&(f.deltaY=Qe-parseFloat(r.style.top||0),r.style.top=Qe+"px"),u&&(f.deltaX=Le-parseFloat(r.style.left||0),r.style.left=Le+"px")),X&&!D&&!le&&(le=!0,$t(f,"drag","onDrag")===!1&&(u&&(f.x-=f.deltaX),d&&(f.y-=f.deltaY),Ae(!0)),le=!1)}q=!1},Se=function(D,ee){var j=f.x,U=f.y,re,z;r._gsap||(S=Ge.core.getCache(r)),S.uncache&&Ge.getProperty(r,"x"),o?(f.x=parseFloat(S.x),f.y=parseFloat(S.y)):a?f.x=f.rotation=Rr(parseFloat(S.rotation)):H?(f.y=H.top(),f.x=H.left()):(f.y=parseFloat(r.style.top||(z=xc(r))&&z.top)||0,f.x=parseFloat(r.style.left||(z||{}).left)||0),(se||he||xe)&&!ee&&(f.isDragging||f.isThrowing)&&(xe&&(jo.x=f.x,jo.y=f.y,re=xe(jo),re.x!==f.x&&(f.x=re.x,q=!0),re.y!==f.y&&(f.y=re.y,q=!0)),se&&(re=se(f.x),re!==f.x&&(f.x=re,a&&(f.rotation=re),q=!0)),he&&(re=he(f.y),re!==f.y&&(f.y=re),q=!0)),q&&_e(!0),D||(f.deltaX=f.x-j,f.deltaY=f.y-U,$t(f,"throwupdate","onThrowUpdate"))},Ne=function(D,ee,j,U){return ee==null&&(ee=-Fs),j==null&&(j=Fs),ss(D)?function(re){var z=f.isPressed?1-f.edgeResistance:1;return D.call(f,(re>j?j+(re-j)*z:re<ee?ee+(re-ee)*z:re)*U)*U}:il(D)?function(re){for(var z=D.length,ce=0,J=Fs,pe,Pe;--z>-1;)pe=D[z],Pe=pe-re,Pe<0&&(Pe=-Pe),Pe<J&&pe>=ee&&pe<=j&&(ce=z,J=Pe);return D[ce]}:isNaN(D)?function(re){return re}:function(){return D*U}},$e=function(D,ee,j,U,re,z,ce){return z=z&&z<Fs?z*z:Fs,ss(D)?function(J){var pe=f.isPressed?1-f.edgeResistance:1,Pe=J.x,Ee=J.y,Le,Qe,Je;return J.x=Pe=Pe>j?j+(Pe-j)*pe:Pe<ee?ee+(Pe-ee)*pe:Pe,J.y=Ee=Ee>re?re+(Ee-re)*pe:Ee<U?U+(Ee-U)*pe:Ee,Le=D.call(f,J),Le!==J&&(J.x=Le.x,J.y=Le.y),ce!==1&&(J.x*=ce,J.y*=ce),z<Fs&&(Qe=J.x-Pe,Je=J.y-Ee,Qe*Qe+Je*Je>z&&(J.x=Pe,J.y=Ee)),J}:il(D)?function(J){for(var pe=D.length,Pe=0,Ee=Fs,Le,Qe,Je,Ve;--pe>-1;)Je=D[pe],Le=Je.x-J.x,Qe=Je.y-J.y,Ve=Le*Le+Qe*Qe,Ve<Ee&&(Pe=pe,Ee=Ve);return Ee<=z?D[Pe]:J}:function(J){return J}},it=function(){var D,ee,j,U;$=!1,H?(H.calibrate(),f.minX=te=-H.maxScrollLeft(),f.minY=oe=-H.maxScrollTop(),f.maxX=K=f.maxY=ue=0,$=!0):n.bounds&&(D=J0(n.bounds,r.parentNode),a?(f.minX=te=D.left,f.maxX=K=D.left+D.width,f.minY=oe=f.maxY=ue=0):!Mn(n.bounds.maxX)||!Mn(n.bounds.maxY)?(D=n.bounds,f.minX=te=D.minX,f.minY=oe=D.minY,f.maxX=K=D.maxX,f.maxY=ue=D.maxY):(ee=J0(r,r.parentNode),f.minX=te=Math.round(P(l,"px")+D.left-ee.left),f.minY=oe=Math.round(P(c,"px")+D.top-ee.top),f.maxX=K=Math.round(te+(D.width-ee.width)),f.maxY=ue=Math.round(oe+(D.height-ee.height))),te>K&&(f.minX=K,f.maxX=K=te,te=f.minX),oe>ue&&(f.minY=ue,f.maxY=ue=oe,oe=f.minY),a&&(f.minRotation=te,f.maxRotation=K),$=!0),n.liveSnap&&(j=n.liveSnap===!0?n.snap||{}:n.liveSnap,U=il(j)||ss(j),a?(se=Ne(U?j:j.rotation,te,K,1),he=null):j.points?xe=$e(U?j:j.points,te,K,oe,ue,j.radius,H?-1:1):(u&&(se=Ne(U?j:j.x||j.left||j.scrollLeft,te,K,H?-1:1)),d&&(he=Ne(U?j:j.y||j.top||j.scrollTop,oe,ue,H?-1:1))))},yt=function(){f.isThrowing=!1,$t(f,"throwcomplete","onThrowComplete")},Xe=function(){f.isThrowing=!1},Rt=function(D,ee){var j,U,re,z;D&&Jr?(D===!0&&(j=n.snap||n.liveSnap||{},U=il(j)||ss(j),D={resistance:(n.throwResistance||n.resistance||1e3)/(a?10:1)},a?D.rotation=Uh(f,U?j:j.rotation,K,te,1,ee):(u&&(D[l]=Uh(f,U?j:j.points||j.x||j.left,K,te,H?-1:1,ee||f.lockedAxis==="x")),d&&(D[c]=Uh(f,U?j:j.points||j.y||j.top,ue,oe,H?-1:1,ee||f.lockedAxis==="y")),(j.points||il(j)&&Xl(j[0]))&&(D.linkedProps=l+","+c,D.radius=j.radius))),f.isThrowing=!0,z=isNaN(n.overshootTolerance)?n.edgeResistance===1?0:1-f.edgeResistance+.2:n.overshootTolerance,D.duration||(D.duration={max:Math.max(n.minDuration||0,"maxDuration"in n?n.maxDuration:2),min:isNaN(n.minDuration)?z===0||Xl(D)&&D.resistance>1e3?0:.5:n.minDuration,overshoot:z}),f.tween=re=Ge.to(H||r,{inertia:D,data:"_draggable",inherit:!1,onComplete:yt,onInterrupt:Xe,onUpdate:n.fastMode?$t:Se,onUpdateParams:n.fastMode?[f,"onthrowupdate","onThrowUpdate"]:j&&j.radius?[!1,!0]:[]}),n.fastMode||(H&&(H._skip=!0),re.render(1e9,!0,!0),Se(!0,!0),f.endX=f.x,f.endY=f.y,a&&(f.endRotation=f.x),re.play(0),Se(!0,!0),H&&(H._skip=!1))):$&&f.applyBounds()},Jt=function(D){var ee=L,j;
42L=Gs(r.parentNode,!0),D&&f.isPressed&&!L.equals(ee||new Eo)&&(j=ee.inverse().apply({x:Y,y:B}),L.apply(j,j),Y=j.x,B=j.y),L.equals(rB)&&(L=null)},jr=function(){var D=1-f.edgeResistance,ee=T?ya(F):0,j=T?ma(F):0,U,re,z;o&&(S.x=P(l,"px")+"px",S.y=P(c,"px")+"px",S.renderTransform()),Jt(!1),_n.x=f.pointerX-ee,_n.y=f.pointerY-j,L&&L.apply(_n,_n),Y=_n.x,B=_n.y,q&&(Qr(f.pointerX,f.pointerY),_e(!0)),Ce=Gs(r),H?(it(),I=H.top(),A=H.left()):(ft()?(Se(!0,!0),it()):f.applyBounds(),a?(U=r.ownerSVGElement?[S.xOrigin-r.getBBox().x,S.yOrigin-r.getBBox().y]:(xc(r)[pg]||"0 0").split(" "),N=f.rotationOrigin=Gs(r).apply({x:parseFloat(U[0])||0,y:parseFloat(U[1])||0}),Se(!0,!0),re=f.pointerX-N.x-ee,z=N.y-f.pointerY+j,A=f.x,I=f.y=Math.atan2(z,re)*z0):(I=P(c,"px"),A=P(l,"px"))),$&&D&&(A>K?A=K+(A-K)/D:A<te&&(A=te-(te-A)/D),a||(I>ue?I=ue+(I-ue)/D:I<oe&&(I=oe-(oe-I)/D))),f.startX=A=Rr(A),f.startY=I=Rr(I)},ft=function(){return f.tween&&f.tween.isActive()},It=function(){vi.parentNode&&!ft()&&!f.isDragging&&vi.parentNode.removeChild(vi)},hr=function(D,ee){var j;if(!O||f.isPressed||!D||(D.type==="mousedown"||D.type==="pointerdown")&&!ee&&Xi()-x<30&&wc[f.pointerEvent.type]){W&&D&&O&&yn(D);return}if(G=ft(),fe=!1,f.pointerEvent=D,wc[D.type]?(k=~D.type.indexOf("touch")?D.currentTarget||D.target:F,Yt(k,"touchend",Et),Yt(k,"touchmove",Ie),Yt(k,"touchcancel",Et),Yt(F,"touchstart",Y0)):(k=null,Yt(F,"mousemove",Ie)),V=null,(!Bu||!k)&&(Yt(F,"mouseup",Et),D&&D.target&&Yt(D.target,"mouseup",Et)),C=E.call(f,D.target)&&n.dragClickables===!1&&!ee,C){Yt(D.target,"change",Et),$t(f,"pressInit","onPressInit"),$t(f,"press","onPress"),wu(g,!0),W=!1;return}if(R=!k||u===d||f.vars.allowNativeTouchScrolling===!1||f.vars.allowContextMenu&&D&&(D.ctrlKey||D.which>2)?!1:u?"y":"x",W=!R&&!f.allowEventDefault,W&&(yn(D),Yt(at,"touchforcechange",yn)),D.changedTouches?(D=me=D.changedTouches[0],ye=D.identifier):D.pointerId?ye=D.pointerId:me=ye=null,Nf++,oB(_e),B=f.pointerY=D.pageY,Y=f.pointerX=D.pageX,$t(f,"pressInit","onPressInit"),(R||f.autoScroll)&&Hh(r.parentNode),r.parentNode&&f.autoScroll&&!H&&!a&&r.parentNode._gsMaxScrollX&&!vi.parentNode&&!r.getBBox&&(vi.style.width=r.parentNode.scrollWidth+"px",r.parentNode.appendChild(vi)),jr(),f.tween&&f.tween.kill(),f.isThrowing=!1,Ge.killTweensOf(H||r,p,!0),H&&Ge.killTweensOf(r,{scrollTo:1},!0),f.tween=f.lockedAxis=null,(n.zIndexBoost||!a&&!H&&n.zIndexBoost!==!1)&&(r.style.zIndex=e.zIndex++),f.isPressed=!0,X=!!(n.onDrag||f._listeners.drag),M=!!(n.onMove||f._listeners.move),n.cursor!==!1||n.activeCursor)for(j=g.length;--j>-1;)Ge.set(g[j],{cursor:n.activeCursor||n.cursor||(vl==="grab"?"grabbing":vl)});$t(f,"press","onPress"),Jr&&Jr.track(H||r,o?"x,y":a?"rotation":"top,left")},Ie=function(D){var ee=D,j,U,re,z,ce,J;if(!O||iy||!f.isPressed||!D){W&&D&&O&&yn(D);return}if(f.pointerEvent=D,j=D.changedTouches,j){if(D=j[0],D!==me&&D.identifier!==ye){for(z=j.length;--z>-1&&(D=j[z]).identifier!==ye&&D.target!==r;);if(z<0)return}}else if(D.pointerId&&ye&&D.pointerId!==ye)return;if(k&&R&&!V&&(_n.x=D.pageX-(T?ya(F):0),_n.y=D.pageY-(T?ma(F):0),L&&L.apply(_n,_n),U=_n.x,re=_n.y,ce=Math.abs(U-Y),J=Math.abs(re-B),(ce!==J&&(ce>h||J>h)||_l&&R===V)&&(V=ce>J&&u?"x":"y",R&&V!==R&&Yt(at,"touchforcechange",yn),f.vars.lockAxisOnTouchScroll!==!1&&u&&d&&(f.lockedAxis=V==="x"?"y":"x",ss(f.vars.onLockAxis)&&f.vars.onLockAxis.call(f,ee)),_l&&R===V))){Et(ee);return}!f.allowEventDefault&&(!R||V&&R!==V)&&ee.cancelable!==!1?(yn(ee),W=!0):W&&(W=!1),f.autoScroll&&(_=!0),Qr(D.pageX,D.pageY,M)},Qr=function(D,ee,j){var U=1-f.dragResistance,re=1-f.edgeResistance,z=f.pointerX,ce=f.pointerY,J=I,pe=f.x,Pe=f.y,Ee=f.endX,Le=f.endY,Qe=f.endRotation,Je=q,Ve,We,nt,De,ir,_t;f.pointerX=D,f.pointerY=ee,T&&(D-=ya(F),ee-=ma(F)),a?(De=Rr(Math.atan2(N.y-ee,D-N.x)*z0),ir=f.y-De,ir>180?(I-=360,f.y=De):ir<-180&&(I+=360,f.y=De),L&&(_t=D*L.a+ee*L.c+L.e,ee=D*L.b+ee*L.d+L.f,D=_t),f.x!==A||Math.max(Math.abs(Y-D),Math.abs(B-ee))>h?(f.y=De,nt=Rr(A+(I-De)*U)):nt=A):(L&&(_t=D*L.a+ee*L.c+L.e,ee=D*L.b+ee*L.d+L.f,D=_t),We=ee-B,Ve=D-Y,We<h&&We>-h&&(We=0),Ve<h&&Ve>-h&&(Ve=0),(f.lockAxis||f.lockedAxis)&&(Ve||We)&&(_t=f.lockedAxis,_t||(f.lockedAxis=_t=u&&Math.abs(Ve)>Math.abs(We)?"y":d?"x":null,_t&&ss(f.vars.onLockAxis)&&f.vars.onLockAxis.call(f,f.pointerEvent)),_t==="y"?We=0:_t==="x"&&(Ve=0)),nt=Rr(A+Ve*U),De=Rr(I+We*U)),(se||he||xe)&&(f.x!==nt||f.y!==De&&!a)&&(xe&&(jo.x=nt,jo.y=De,_t=xe(jo),nt=Rr(_t.x),De=Rr(_t.y)),se&&(nt=Rr(se(nt))),he&&(De=Rr(he(
42De)))),$&&(nt>K?nt=K+Math.round((nt-K)*re):nt<te&&(nt=te+Math.round((nt-te)*re)),a||(De>ue?De=Math.round(ue+(De-ue)*re):De<oe&&(De=Math.round(oe+(De-oe)*re)))),(f.x!==nt||f.y!==De&&!a)&&(a?(f.endRotation=f.x=f.endX=Rr(nt),q=!0):(d&&(f.y=f.endY=De,q=!0),u&&(f.x=f.endX=nt,q=!0)),!j||$t(f,"move","onMove")!==!1?!f.isDragging&&f.isPressed&&(f.isDragging=fe=!0,$t(f,"dragstart","onDragStart")):(f.pointerX=z,f.pointerY=ce,I=J,f.x=pe,f.y=Pe,f.endX=Ee,f.endY=Le,f.endRotation=Qe,q=Je))},Et=function Ae(D,ee){if(!O||!f.isPressed||D&&ye!=null&&!ee&&(D.pointerId&&D.pointerId!==ye&&D.target!==r||D.changedTouches&&!lB(D.changedTouches,ye))){W&&D&&O&&yn(D);return}f.isPressed=!1;var j=D,U=f.isDragging,re=f.vars.allowContextMenu&&D&&(D.ctrlKey||D.which>2),z=Ge.delayedCall(.001,It),ce,J,pe,Pe,Ee;if(k?(Ft(k,"touchend",Ae),Ft(k,"touchmove",Ie),Ft(k,"touchcancel",Ae),Ft(F,"touchstart",Y0)):Ft(F,"mousemove",Ie),Ft(at,"touchforcechange",yn),(!Bu||!k)&&(Ft(F,"mouseup",Ae),D&&D.target&&Ft(D.target,"mouseup",Ae)),q=!1,U&&(b=V0=Xi(),f.isDragging=!1),G0(_e),C&&!re){D&&(Ft(D.target,"change",Ae),f.pointerEvent=j),wu(g,!1),$t(f,"release","onRelease"),$t(f,"click","onClick"),C=!1;return}for(J=g.length;--J>-1;)Bh(g[J],"cursor",n.cursor||(n.cursor!==!1?vl:null));if(Nf--,D){if(ce=D.changedTouches,ce&&(D=ce[0],D!==me&&D.identifier!==ye)){for(J=ce.length;--J>-1&&(D=ce[J]).identifier!==ye&&D.target!==r;);if(J<0&&!ee)return}f.pointerEvent=j,f.pointerX=D.pageX,f.pointerY=D.pageY}return re&&j?(yn(j),W=!0,$t(f,"release","onRelease")):j&&!U?(W=!1,G&&(n.snap||n.bounds)&&Rt(n.inertia||n.throwProps),$t(f,"release","onRelease"),(!_l||j.type!=="touchmove")&&j.type.indexOf("cancel")===-1&&($t(f,"click","onClick"),Xi()-x<300&&$t(f,"doubleclick","onDoubleClick"),Pe=j.target||r,x=Xi(),Ee=function(){x!==ae&&f.enabled()&&!f.isPressed&&!j.defaultPrevented&&(Pe.click?Pe.click():F.createEvent&&(pe=F.createEvent("MouseEvents"),pe.initMouseEvent("click",!0,!0,at,1,f.pointerEvent.screenX,f.pointerEvent.screenY,f.pointerX,f.pointerY,!1,!1,!1,!1,0,null),Pe.dispatchEvent(pe)))},!_l&&!j.defaultPrevented&&Ge.delayedCall(.05,Ee))):(Rt(n.inertia||n.throwProps),!f.allowEventDefault&&j&&(n.dragClickables!==!1||!E.call(f,j.target))&&U&&(!R||V&&R===V)&&j.cancelable!==!1?(W=!0,yn(j)):W=!1,$t(f,"release","onRelease")),ft()&&z.duration(f.tween.duration()),U&&$t(f,"dragend","onDragEnd"),!0},pr=function(D){if(D&&f.isDragging&&!H){var ee=D.target||r.parentNode,j=ee.scrollLeft-ee._gsScrollX,U=ee.scrollTop-ee._gsScrollY;(j||U)&&(L?(Y-=j*L.a+U*L.c,B-=U*L.d+j*L.b):(Y-=j,B-=U),ee._gsScrollX+=j,ee._gsScrollY+=U,Qr(f.pointerX,f.pointerY))}},Hr=function(D){var ee=Xi(),j=ee-x<100,U=ee-b<50,re=j&&ae===x,z=f.pointerEvent&&f.pointerEvent.defaultPrevented,ce=j&&Z===x,J=D.isTrusted||D.isTrusted==null&&j&&re;if((re||U&&f.vars.suppressClickOnDrag!==!1)&&D.stopImmediatePropagation&&D.stopImmediatePropagation(),j&&!(f.pointerEvent&&f.pointerEvent.defaultPrevented)&&(!re||J&&!ce)){J&&re&&(Z=x),ae=x;return}(f.isPressed||U||j)&&(!J||!D.detail||!j||z)&&yn(D),!j&&!U&&!fe&&(D&&D.target&&(f.pointerEvent=D),$t(f,"click","onClick"))},Bn=function(D){return L?{x:D.x*L.a+D.y*L.c+L.e,y:D.x*L.b+D.y*L.d+L.f}:{x:D.x,y:D.y}};return Q=e.get(r),Q&&Q.kill(),i.startDrag=function(Ae,D){var ee,j,U,re;hr(Ae||f.pointerEvent,!0),D&&!f.hitTest(Ae||f.pointerEvent)&&(ee=Ho(Ae||f.pointerEvent),j=Ho(r),U=Bn({x:ee.left+ee.width/2,y:ee.top+ee.height/2}),re=Bn({x:j.left+j.width/2,y:j.top+j.height/2}),Y-=U.x-re.x,B-=U.y-re.y),f.isDragging||(f.isDragging=fe=!0,$t(f,"dragstart","onDragStart"))},i.drag=Ie,i.endDrag=function(Ae){return Et(Ae||f.pointerEvent,!0)},i.timeSinceDrag=function(){return f.isDragging?0:(Xi()-b)/1e3},i.timeSinceClick=function(){return(Xi()-x)/1e3},i.hitTest=function(Ae,D){return e.hitTest(f.target,Ae,D)},i.getDirection=function(Ae,D){var ee=Ae==="velocity"&&Jr?Ae:Xl(Ae)&&!a?"element":"start",j,U,re,z,ce,J;return ee==="element"&&(ce=Ho(f.target),J=Ho(Ae)),j=ee==="start"?f.x-A:ee==="velocity"?Jr.getVelocity(r,l):ce.left+ce.width/2-(J.left+J.width/2),a?j<0?"counter-clockwise":"clockwise":(D=D||2,U=ee==="start"?f.y-I:ee==="velocity"?Jr.getVelocity(r,c):ce.top+ce.height/2-(J.top+J.height/2),re=Math.abs(j/U),z=re<1/D?"":j<0?"left":"right",re<D&&(z!==""&&(z+="-"),z+=U<0?"up":"down"),z)},i.applyBounds=function(Ae,D){var ee,j,U,re,z,ce;if(Ae&&n.bounds!==Ae)return n.bounds=Ae,f.update(!0,D);if(Se(!0),it(),$&&!ft()){if(ee=f.x,j=f.y,ee>K?ee=K:ee<te&&(ee=te),j>ue?j=ue:j<oe&&(j=oe),(f.x!==ee||f.y!==j)&&(U=!0,f.x=f.endX=ee,a?f.endRotation=ee:f.y=f.endY=j,q=!0,_e(!0),f.autoScroll&&!f.isDragging))for(Hh(r.parentNode),re=r,hi.scrollTop=at.pageYOffset!=null?at.pageYOffset:F.documentElement.scrollTop!=null?F.documentElement.scrollTop:F.body.scrollTop,hi.scrollLeft=at.pageXOffset!=null?at.pageXOffset:F.documentElement.scrollLeft!=null?F.documentElement.scrollLeft:F.body.scrollLeft;re&&!ce;)ce=Fa(re.parentNode),z=ce?hi:re.parentNode,d&&z.scrollTop>z._gsMaxScrollY&&(z.scrollTop=z._gsMaxScrollY),u&&z.scrollLeft>
42z._gsMaxScrollX&&(z.scrollLeft=z._gsMaxScrollX),re=z;f.isThrowing&&(U||f.endX>K||f.endX<te||f.endY>ue||f.endY<oe)&&Rt(n.inertia||n.throwProps,U)}return f},i.update=function(Ae,D,ee){if(D&&f.isPressed){if(a)f.x=f.y=Rr(parseFloat(S.rotation));else{var j=Gs(r),U=Ce.apply({x:f.x-A,y:f.y-I}),re=Gs(r.parentNode,!0);re.apply({x:j.e-U.x,y:j.f-U.y},U),f.x=Rr(f.x-(U.x-re.e)),f.y=Rr(f.y-(U.y-re.f))}_e(!0),jr()}var z=f.x,ce=f.y;return Jt(!D),Ae?f.applyBounds():(q&&ee&&_e(!0),Se(!0)),D&&(Qr(f.pointerX,f.pointerY),q&&_e(!0)),f.isPressed&&!D&&(u&&Math.abs(z-f.x)>.01||d&&Math.abs(ce-f.y)>.01&&!a)&&jr(),f.autoScroll&&(Hh(r.parentNode,f.isDragging),_=f.isDragging,_e(!0),X0(r,pr),K0(r,pr)),f},i.enable=function(Ae){var D={lazy:!0},ee,j,U;if(n.cursor!==!1&&(D.cursor=n.cursor||vl),Ge.utils.checkPrefix("touchCallout")&&(D.touchCallout="none"),Ae!=="soft"){for(W0(g,u===d?"none":n.allowNativeTouchScrolling&&r.scrollHeight===r.clientHeight==(r.scrollWidth===r.clientHeight)||n.allowEventDefault?"manipulation":u?"pan-y":"pan-x"),j=g.length;--j>-1;)U=g[j],Bu||Yt(U,"mousedown",hr),Yt(U,"touchstart",hr),Yt(U,"click",Hr,!0),Ge.set(U,D),U.getBBox&&U.ownerSVGElement&&u!==d&&Ge.set(U.ownerSVGElement,{touchAction:n.allowNativeTouchScrolling||n.allowEventDefault?"manipulation":u?"pan-y":"pan-x"}),n.allowContextMenu||Yt(U,"contextmenu",de);wu(g,!1)}return K0(r,pr),O=!0,Jr&&Ae!=="soft"&&Jr.track(H||r,o?"x,y":a?"rotation":"top,left"),r._gsDragID=ee=r._gsDragID||"d"+nB++,ga[ee]=f,H&&(H.enable(),H.element._gsDragID=ee),(n.bounds||a)&&jr(),n.bounds&&f.applyBounds(),f},i.disable=function(Ae){for(var D=f.isDragging,ee=g.length,j;--ee>-1;)Bh(g[ee],"cursor",null);if(Ae!=="soft"){for(W0(g,null),ee=g.length;--ee>-1;)j=g[ee],Bh(j,"touchCallout",null),Ft(j,"mousedown",hr),Ft(j,"touchstart",hr),Ft(j,"click",Hr,!0),Ft(j,"contextmenu",de);wu(g,!0),k&&(Ft(k,"touchcancel",Et),Ft(k,"touchend",Et),Ft(k,"touchmove",Ie)),Ft(F,"mouseup",Et),Ft(F,"mousemove",Ie)}return X0(r,pr),O=!1,Jr&&Ae!=="soft"&&(Jr.untrack(H||r,o?"x,y":a?"rotation":"top,left"),f.tween&&f.tween.kill()),H&&H.disable(),G0(_e),f.isDragging=f.isPressed=C=!1,D&&$t(f,"dragend","onDragEnd"),f},i.enabled=function(Ae,D){return arguments.length?Ae?f.enable(D):f.disable(D):O},i.kill=function(){return f.isThrowing=!1,f.tween&&f.tween.kill(),f.disable(),Ge.set(g,{clearProps:"userSelect"}),delete ga[r._gsDragID],f},i.revert=function(){this.kill(),this.styles&&this.styles.revert()},~s.indexOf("scroll")&&(H=i.scrollProxy=new hB(r,sB({onKill:function(){f.isPressed&&Et(null)}},n)),r.style.overflowY=d&&!dg?"auto":"hidden",r.style.overflowX=u&&!dg?"auto":"hidden",r=H.content),a?p.rotation=1:(u&&(p[l]=1),d&&(p[c]=1)),S.force3D="force3D"in n?n.force3D:!0,OT(U0(i)),i.enable(),i}return e.register=function(n){Ge=n,zh()},e.create=function(n,i){return fg||zh(!0),hs(n).map(function(s){return new e(s,i)})},e.get=function(n){return ga[(hs(n)[0]||{})._gsDragID]},e.timeSinceDrag=function(){return(Xi()-V0)/1e3},e.hitTest=function(n,i,s){if(n===i)return!1;var o=Ho(n),a=Ho(i),l=o.top,c=o.left,u=o.right,d=o.bottom,h=o.width,f=o.height,g=a.left>u||a.right<c||a.top>d||a.bottom<l,p,b,_;return g||!s?!g:(_=(s+"").indexOf("%")!==-1,s=parseFloat(s)||0,p={left:Math.max(c,a.left),top:Math.max(l,a.top)},p.width=Math.min(u,a.right)-p.left,p.height=Math.min(d,a.bottom)-p.top,p.width<0||p.height<0?!1:_?(s*=.01,b=p.width*p.height,b>=h*f*s||b>=a.width*a.height*s):p.width>s&&p.height>s)},e})(pB);aB(Lc.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1});Lc.zIndex=1e3;Lc.version="3.14.2";IT()&&Ge.registerPlugin(Lc);var Xn,mg,Jl,NT,qo,Ys,yg,FT,jT=function(){return Xn||typeof window<"u"&&(Xn=window.gsap)},_g={},gB=function(e){return Math.round(e*1e4)/1e4},vg=function(e){return FT(e).id},bl=function(e){return _g[vg(typeof e=="string"?Jl(e)[0]:e)]},Z0=function(e){var r=qo,n;if(e-yg>=.05)for(yg=e;r;)n=r.g(r.t,r.p),(n!==r.v1||e-r.t1>.2)&&(r.v2=r.v1,r.v1=n,r.t2=r.t1,r.t1=e),r=r._next},mB={deg:360,rad:Math.PI*2},Vh=function(){Xn=jT(),Xn&&(Jl=Xn.utils.toArray,NT=Xn.utils.getUnit,FT=Xn.core.getCache,Ys=Xn.ticker,mg=1)},yB=function(e,r,n,i){this.t=e,this.p=r,this.g=e._gsap.get,this.rCap=mB[n||NT(this.g(e,r))],this.v1=this.v2=this.g(e,r),this.t1=this.t2=Ys.time,i&&(this._next=i,i._prev=this)},Nc=(function(){function t(r,n){mg||Vh(),this.target=Jl(r)[0],_g[vg(this.target)]=this,this._props={},n&&this.add(n)}t.register=function(n){Xn=n,Vh()};var e=t.prototype;return e.get=function(n,i){var s=this._props[n]||console.warn("Not tracking "+n+" velocity."),o,a,l;
42return o=parseFloat(i?s.v1:s.g(s.t,s.p)),a=o-parseFloat(s.v2),l=s.rCap,l&&(a=a%l,a!==a%(l/2)&&(a=a<0?a+l:a-l)),gB(a/((i?s.t1:Ys.time)-s.t2))},e.getAll=function(){var n={},i=this._props,s;for(s in i)n[s]=this.get(s);return n},e.isTracking=function(n){return n in this._props},e.add=function(n,i){var s=this._props[n];s?(s.v1=s.v2=s.g(s.t,s.p),s.t1=s.t2=Ys.time):(qo||(Ys.add(Z0),yg=Ys.time),qo=this._props[n]=new yB(this.target,n,i,qo))},e.remove=function(n){var i=this._props[n],s,o;i&&(s=i._prev,o=i._next,s&&(s._next=o),o?o._prev=s:qo===i&&(Ys.remove(Z0),qo=0),delete this._props[n])},e.kill=function(n){for(var i in this._props)this.remove(i);n||delete _g[vg(this.target)]},t.track=function(n,i,s){mg||Vh();for(var o=[],a=Jl(n),l=i.split(","),c=(s||"").split(","),u=a.length,d,h;u--;){for(d=bl(a[u])||new t(a[u]),h=l.length;h--;)d.add(l[h],c[h]||c[0]);o.push(d)}return o},t.untrack=function(n,i){var s=i&&i.split(",");Jl(n).forEach(function(o){var a=bl(o);a&&(s?s.forEach(function(l){return a.remove(l)}):a.kill(1))})},t.isTracking=function(n,i){var s=bl(n);return s&&s.isTracking(i)},t.getVelocity=function(n,i){var s=bl(n);return!s||!s.isTracking(i)?console.warn("Not tracking velocity of "+i):s.get(i)},t})();Nc.getByTarget=bl;jT()&&Xn.registerPlugin(Nc);var Kt,HT,eb,BT,bg,Zl,UT,zT,VT,sy,WT,ec,wg,qT,Ff=Nc.getByTarget,GT=function(){return Kt||typeof window<"u"&&(Kt=window.gsap)&&Kt.registerPlugin&&Kt},_B=function(e){return typeof e=="string"},Sc=function(e){return typeof e=="number"},vs=function(e){return typeof e=="object"},xg=function(e){return typeof e=="function"},vB=1,YT=Array.isArray,bB=function(e){return e},mo=1e10,tb=1/mo,KT=.05,wB=function(e){return Math.round(e*1e4)/1e4},xB=function(e,r,n){for(var i in r)!(i in e)&&i!==n&&(e[i]=r[i]);return e}
42,SB=function t(e){var r={},n,i;for(n in e)r[n]=vs(i=e[n])&&!YT(i)?t(i):i;return r},rb=function(e,r,n,i,s){var o=r.length,a=0,l=mo,c,u,d,h;if(vs(e)){for(;o--;){c=r[o],u=0;for(d in e)h=c[d]-e[d],u+=h*h;u<l&&(a=o,l=u)}if((s||mo)<mo&&s<Math.sqrt(l))return e}else for(;o--;)c=r[o],u=c-e,u<0&&(u=-u),u<l&&c>=i&&c<=n&&(a=o,l=u);return r[a]},XT=function(e,r,n,i,s,o,a){if(e.end==="auto")return e;var l=e.end,c,u;if(n=isNaN(n)?mo:n,i=isNaN(i)?-mo:i,vs(r)){if(c=r.calculated?r:(xg(l)?l(r,a):rb(r,l,n,i,o))||r,!r.calculated){for(u in c)r[u]=c[u];r.calculated=!0}c=c[s]}else c=xg(l)?l(r,a):YT(l)?rb(r,l,n,i,o):parseFloat(l);return c>n?c=n:c<i&&(c=i),{max:c,min:c,unitFactor:e.unitFactor}},jf=function(e,r,n){return isNaN(e[r])?n:+e[r]},oy=function(e,r){return r*KT*e/sy},nb=function(e,r,n){return Math.abs((r-e)*sy/n/KT)},QT={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},JT=function(e,r,n,i){if(r.linkedProps){var s=r.linkedProps.split(","),o={},a,l,c,u,d,h;for(a=0;a<s.length;a++)l=s[a],c=r[l],c&&(Sc(c.velocity)?u=c.velocity:(d=d||Ff(e),u=d&&d.isTracking(l)?d.get(l):0),h=Math.abs(u/jf(c,"resistance",i)),o[l]=parseFloat(n(e,l))+oy(u,h));return o}},EB=function(e,r,n,i,s,o){if(n===void 0&&(n=10),i===void 0&&(i=.2),s===void 0&&(s=1),_B(e)&&(e=BT(e)[0]),!e)return 0;var a=0,l=mo,c=r.inertia||r,u=VT(e).get,d=jf(c,"resistance",Zl.resistance),h,f,g,p,b,_,y,m,v,w;w=JT(e,c,u,d);for(h in c)QT[h]||(f=c[h],vs(f)||(m=m||Ff(e),m&&m.isTracking(h)?f=Sc(f)?{velocity:f}:{velocity:m.get(h)}:(p=+f||0,g=Math.abs(p/d))),vs(f)&&(Sc(f.velocity)?p=f.velocity:(m=m||Ff(e),p=m&&m.isTracking(h)?m.get(h):0),g=WT(i,n,Math.abs(p/jf(f,"resistance",d))),b=parseFloat(u(e,h))||0,_=b+oy(p,g),"end"in f&&(f=XT(f,w&&h in w?w:_,f.max,f.min,h,c.radius,p),ec===r&&(ec=c=SB(r)),c[h]=xB(f,c[h],"end")),"max"in f&&_>+f.max+tb?(v=f.unitFactor||Zl.unitFactors[h]||1,y=b>f.max&&f.min!==f.max||p*v>-15&&p*v<45?i+(n-i)*.1:nb(b,f.max,p),y+s<l&&(l=y+s)):"min"in f&&_<+f.min-tb&&(v=f.unitFactor||Zl.unitFactors[h]||1,y=b<f.min&&f.min!==f.max||p*v>-45&&p*v<15?i+(n-i)*.1:nb(b,f.min,p),y+s<l&&(l=y+s)),y>a&&(a=y)),g>a&&(a=g));return a>l&&(a=l),a>n?n:a<i?i:a},ib=function(){Kt=GT(),Kt&&(eb=Kt.parseEase,BT=Kt.utils.toArray,UT=Kt.utils.getUnit,VT=Kt.core.getCache,WT=Kt.utils.clamp,wg=Kt.core.getStyleSaver,qT=Kt.core.reverting||function(){},bg=eb("power3"),sy=bg(.05),zT=Kt.core.PropTween,Kt.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),Zl=Kt.config(),Kt.registerPlugin(Nc),HT=1)},ay={version:"3.14.2",name:"inertia",register:function(e){Kt=e,ib()},init:function(e,r,n,i,s){HT||ib();var o=Ff(e);if(r==="auto"){if(!o){console.warn("No inertia tracking on "+e+". InertiaPlugin.track(target) first.");return}r=o.getAll()}this.styles=wg&&typeof e.style=="object"&&wg(e),this.target=e,this.tween=n,ec=r;var a=e._gsap,l=a.get,c=r.duration,u=vs(c),d=r.preventOvershoot||u&&c.overshoot===0,h=jf(r,"resistance",Zl.resistance),f=Sc(c)?c:EB(e,r,u&&c.max||10,u&&c.min||.2,u&&"overshoot"in c?+c.overshoot:d?0:1),g,p,b,_,y,m,v,w,E;r=ec,ec=0,E=JT(e,r,l,h);for(g in r)QT[g]||(p=r[g],xg(p)&&(p=p(i,e,s)),Sc(p)?y=p:vs(p)&&!isNaN(p.velocity)?y=+p.velocity:o&&o.isTracking(g)?y=o.get(g):console.warn("ERROR: No velocity was defined for "+e+" property: "+g),m=oy(y,f),w=0,b=l(e,g),_=UT(b),b=parseFloat(b),vs(p)&&(v=b+m,"end"in p&&(p=XT(p,E&&g in E?E:v,p.max,p.min,g,r.radius,y)),"max"in p&&+p.max<v?d||p.preventOvershoot?m=p.max-b:w=p.max-b-m:"min"in p&&+p.min>v&&(d||p.preventOvershoot?m=p.min-b:w=p.min-b-m)),this._props.push(g),this.styles&&this.styles.save(g),this._pt=new zT(this._pt,e,g,b,0,bB,0,a.set(e,g,this)),this._pt.u=_||0,this._pt.c1=m,this._pt.c2=w);return n.duration(f),vB},render:function(e,r){var n=r._pt;if(e=bg(r.tween._time/r.tween._dur),e||!qT())for(;n;)n.set(n.t,n.p,wB(n.s+n.c1*e+n.c2*e*e)+n.u,n.d,e),n=n._next;else r.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return ay[t]=Nc[t]});GT()&&Kt.registerPlugin(ay);const TB=mt(()=>{Qt.registerPlugin(Lc),Qt.registerPlugin(ay)}),Sg="https://thorchain.org",Jo="https://blog.thorchain.org",CB=new Set(["thorchain.org","www.thorchain.org","blog.thorchain.org"]);function ZT(t){return t?.replace(/^\/+|\/+$/g,"")}function ly(t){return t?.toLowerCase().split(":")[0]}function AB(t,e){return t.toString()}function kB(t,e){const r=ZT(e);if(t==="homePage")return"/";if(r){if(t==="page"&&r==="blog")return"/";if(t==="page")return`/${r}`;if(t==="article")return`/${r}`;if(t==="author")return`/authors/${r}`}}function RB(t){return t==="article"||t==="author"?Jo:Sg}function FV(t,e,r){const n=kB(t,e);if(!n)return;const i=t==="page"&&ZT(e)==="blog"?Jo:RB(t);return AB(new URL(n,i))}function jV(t){const e=t?.trim();
42if(e)try{const r=new URL(e);return r.protocol!=="https:"||r.username||r.password||r.hash?void 0:r.toString()}catch{return}}function zu(t){return ly(t)==="blog.thorchain.org"}function PB(t){const e=ly(t);return e==="thorchain.org"||e==="www.thorchain.org"}function HV(t){const e=ly(t);return e?CB.has(e):!1}function sb(t){if(t==="/blog"||t==="/blog/")return"/";if(t.startsWith("/blog/"))return`/${t.slice(6)}`}function ob(t){if(!zu(window.location.host))return;const e=sb(window.location.pathname)??sb(t);if(!e||window.location.pathname===e)return;const r=new URL(window.location.href);r.pathname=e,window.history.replaceState(window.history.state,"",`${r.pathname}${r.search}${r.hash}`)}const OB=mt(t=>{const e=fr(),r=()=>ob(e.currentRoute.value.path);r(),t.hook("app:mounted",()=>{r(),window.requestAnimationFrame(r),window.setTimeout(r,0)}),e.afterEach(n=>{window.requestAnimationFrame(()=>ob(n.path))})});function ab(t){return t&&(typeof t.registerTool=="function"||typeof t.provideContext=="function")}function MB(t,e){return ab(t)?t:ab(e)?e:void 0}function IB(t,e){let r,n,i;const s=new Set;function o(){n?.abort(),n=void 0,r=void 0,i=void 0,s.clear()}function a(){const l=t();if(!l)return Promise.resolve();if(r!==l&&(o(),r=l,n=new AbortController),i)return i;const c=n,u=e.filter(h=>!s.has(h.name));return u.length===0?Promise.resolve():(i=(async()=>{const h={signal:c.signal};if(typeof l.registerTool=="function"){await Promise.all(u.map(async f=>{try{await l.registerTool(f,h),h.signal.aborted||s.add(f.name)}catch{}}));return}if(typeof l.provideContext=="function")try{try{await l.provideContext({tools:u},h)}catch{if(h.signal.aborted)return;await l.provideContext(u,h)}h.signal.aborted||u.forEach(f=>s.add(f.name))}catch{}})().finally(()=>{n===c&&(i=void 0)}),i)}return{register:a,dispose:o}}const Hf=[{id:"pricing",title:"THORChain pricing and fees",url:"/pricing",description:"Free public discovery access, variable transaction fees, and third-party charges."},{id:"ai_catalog",title:"THORChain AI capability catalog",url:"/.well-known/ai-catalog.json",description:"Typed catalog of the public MCP, OpenAPI description, and discovery skill."},{id:"homepage",title:"THORChain homepage",url:"/",description:"Primary public overview of THORChain and its website entry points."},{id:"swap",title:"THORChain swap",url:"/swap",description:"Public swap page and user-facing swap entry point."},{id:"ecosystem",title:"THORChain ecosystem",url:"/ecosystem",description:"Wallets, applications, partners, and ecosystem participants."},{id:"integrate",title:"THORChain integration",url:"/integrate",description:"Information for teams evaluating or integrating THORChain."},{id:"agent_rules",title:"THORChain agent rules",url:"/AGENTS.md",description:"Public rules for AI agents using THORChain website resources."},{id:"llms_summary",title:"THORChain LLM summary",url:"/llms.txt",description:"Short AI-agent resource summary for THORChain public resources."},{id:"llms_full",title:"THORChain full LLM resource map",url:"/llms-full.txt",description:"Expanded AI-agent resource map for THORChain public resources."},{id:"openapi",title:"THORChain OpenAPI discovery",url:"/openapi.json",description:"Machine-readable discovery spec for the public website resources."},{id:"mcp",title:"THORChain MCP endpoint",url:"/mcp",description:"Read-only JSON-RPC MCP endpoint for public discovery tools."},{id:"developer_docs",title:"THORChain developer documentation",url:"https://dev.thorchain.org/",description:"Official developer documentation for integrations and API usage."},{id:"protocol_docs",title:"THORChain protocol documentation",url:"https://docs.thorchain.org/",description:"Official protocol, user, and operator documentation."}],$B=[{name:"Midgard API",url:"https://gateway.liquify.com/chain/thorchain_midgard/v2/doc",description:"Swap, pool, volume, and user-facing analytics documentation."},{name:"Midgard API alternate",url:"https://midgard.thorchain.network/v2/doc",description:"Alternate public Midgard documentation endpoint."},{name:"THORNode API",url:"https://gateway.liquify.com/chain/thorchain_api/thorchain/doc",description:"THORChain-specific blockchain data documentation."},{name:"THORNode API alternate",url:"https://thornode.thorchain.network/thorchain/doc",description:"Alternate public THORNode documentation endpoint."},{name:"Tendermint RPC",url:"https://gateway.liquify.com/chain/thorchain_rpc",description:"Consensus and node status RPC endpoint reference."}],Wh={type:"object",additionalProperties:!1,properties:{},required:[]};function Eg(t){return new URL(t,window.location.origin).toString()}function lb(t,e){if(!t||typeof t!="object"||Array.isArray(t)||Object.keys(t).some(n=>n!==e))throw new Error(`Expected only the ${e} argument`);const r=t[e];if(typeof r!="string"||!r.trim()||r.length>120)throw new Error(`${e} must be a non-empty string of at most 120 characters`);return r.trim()}function DB(t){return Hf.find(e=>e.id===t)}async function cb(t,e){const r=await fetch(Eg(t),{credentials:"omit",redirect:"error",signal:AbortSignal.timeout(5e3),headers:{accept:e}});if(!r.ok)throw new Error(`Unable to fetch ${t}: ${r.status}`);return{sourceUrl:r.url,contentType:r.headers.get("content-type")||"",text:await r.text()}}
42function LB(t){const r=t.toLowerCase().split(/\s+/).filter(Boolean);return r.length===0?Hf.slice(0,8):Hf.map(n=>{const i=`${n.id} ${n.title} ${n.description} ${n.url}`.toLowerCase(),s=r.filter(o=>i.includes(o)).length;return{resource:n,score:s}}).filter(n=>n.score>0).sort((n,i)=>i.score-n.score).slice(0,8).map(n=>n.resource)}function NB(){return[{name:"get_site_summary",title:"Get THORChain site summary",description:"Return the public THORChain website and agent-discovery summary.",inputSchema:Wh,annotations:{readOnlyHint:!0,untrustedContentHint:!0},execute:async()=>cb("/llms.txt","text/plain, text/markdown, */*;q=0.1")},{name:"get_agent_rules",title:"Get THORChain agent rules",description:"Return the public THORChain AGENTS.md rules for AI clients.",inputSchema:Wh,annotations:{readOnlyHint:!0,untrustedContentHint:!0},execute:async()=>cb("/AGENTS.md","text/markdown, text/plain, */*;q=0.1")},{name:"list_public_api_references",title:"List THORChain public API references",description:"List official public THORChain API documentation references.",inputSchema:Wh,annotations:{readOnlyHint:!0},execute:async()=>({references:$B})},{name:"search_thorchain_resources",title:"Search THORChain resources",description:"Search the curated public THORChain website, documentation, and agent resource links.",inputSchema:{type:"object",additionalProperties:!1,required:["query"],properties:{query:{type:"string",minLength:1,maxLength:120,description:"Plain-language search text for public THORChain resources."}}},annotations:{readOnlyHint:!0},execute:async t=>{const e=lb(t,"query");return{query:e,results:LB(e).map(r=>({...r,url:Eg(r.url)}))}}},{name:"open_thorchain_resource",title:"Open THORChain resource",description:"Navigate the browser to a known public THORChain website, documentation, or agent resource.",inputSchema:{type:"object",additionalProperties:!1,required:["resourceId"],properties:{resourceId:{type:"string",enum:Hf.map(t=>t.id),description:"Identifier of the public THORChain resource to open."}}},annotations:{readOnlyHint:!1},execute:async t=>{const e=DB(lb(t,"resourceId"));if(!e)throw new Error("Unknown THORChain resource");const r=Eg(e.url);return window.location.assign(r),{navigated:!0,url:r}}}]}const FB=mt(t=>{const e=IB(()=>MB(document.modelContext,navigator.modelContext),NB());let r;const n=()=>{e.register()},i=()=>{clearTimeout(r),e.dispose()};n(),window.addEventListener("pagehide",i),window.addEventListener("pageshow",n),t.hook("app:mounted",()=>{n(),r=setTimeout(n,250)})}),jB=mt({enforce:"post",async setup(){const t=Ua(),e=za("nuxt-seo-utils:routeRules",()=>null);if(e.value){const{head:r,seoMeta:n}=e.value;r&&t.push(r),n&&Nx(n)}}});function HB(t,e){let r=t;cd(t,{strict:!1,acceptRelative:!0})&&(r=v1(t).pathname);const n=z$(e.base||"/");n!=="/"&&r.startsWith(n)&&(r=r.slice(n.length));let i=dm(e.absolute?e.siteUrl:"");n!=="/"&&i.endsWith(n)&&(i=i.slice(0,i.indexOf(n)));const s=e.withBase?Y_(n,i||"/"):i,o=Y_(r,s);return r==="/"&&!e.withBase?hm(o):zB(e.trailingSlash,o)}const BB=["jpg","jpeg","png","gif","bmp","webp","svg","ico","pdf","doc","docx","xls","xlsx","ppt","pptx","txt","md","markdown","zip","rar","7z","tar","gz","mp3","wav","flac","ogg","opus","m4a","aac","midi","mid","mp4","avi","mkv","mov","wmv","flv","webm","html","css","js","json","xml","tsx","jsx","ts","vue","svelte","xsl","rss","atom","php","py","rb","java","c","cpp","h","go","csv","tsv","sql","yaml","yml","woff","woff2","ttf","otf","eot","exe","msi","apk","ipa","dmg","iso","bin","bat","cmd","sh","env","htaccess","conf","toml","ini","deb","rpm","jar","war","epub","mobi","log","tmp","bak","old","sav"];function UB(t){const r=(t.split("/").pop()||t).match(/\.[0-9a-z]+$/i)?.[0];return r&&BB.includes(r.replace(".",""))}function zB(t,e){const r=v1(e);if(UB(r.pathname))return e;const n=t?hm(r.pathname):dm(r.pathname);return`${r.protocol?`${r.protocol}//`:""}${r.host||""}${n}${r.search||""}${r.hash||""}`}function VB(t){return window.location.origin}function WB(t){return VB()}function qB(t={}){const e=mm(),r=WB(),n=An().app.baseURL||"/";return i=>ke(()=>HB(ge(i),{absolute:ge(t.absolute),withBase:ge(t.withBase),siteUrl:ge(t.canonical)!==!1?e.url:r,trailingSlash:e.trailingSlash,base:n}))}function GB(){const t=mm({resolveRefs:!1}),e=()=>(Oe(t.currentLocale)||Oe(t.defaultLocale)||"en").replace(/_/g,"-");Ua().use(HD);const{canonicalQueryWhitelist:n,canonicalLowercase:i}=An().public["seo-utils"],s=$i(),o=qB({withBase:!0,absolute:!0}),a=Ba(),l=ke(()=>{if(a.value)return!1;const{query:d}=s;let h=o(s.path||"/").value||s.path;if(i)try{h=h.toLocaleLowerCase(e())}catch{h=h.toLowerCase()}const f=Object.fromEntries(Object.entries(d).filter(([p])=>n.includes(p)).sort(([p],[b])=>p.localeCompare(b)));return{rel:"canonical",href:Object.keys(f).length?`${h}?${N$(f)}`:h}}),c={tagPriority:"low"};om({htmlAttrs:{lang:e},templateParams:{site:()=>t,siteName:()=>t.name},titleTemplate:"%s %separator %siteName",link:[()=>l.value]},c);const u={ogType:"website",ogUrl:()=>{const d=l.value;return d?d.href:!1},ogLocale:()=>{const d=e();if(d){const h=d.replace("-","_");
42if(h.includes("_"))return h}return!1},ogSiteName:t.name};if(t.description&&(u.description=t.description),t.twitter){const d=t.twitter.startsWith("@")?t.twitter:`@${t.twitter}`;u.twitterCreator=d,u.twitterSite=d}Nx(u,c)}const YB=mt({name:"nuxt-seo:defaults",order:999,env:{islands:!1},setup(){GB()}}),KB=[BO,zO,YO,RI,J$,yD,OD,MD,ID,$D,DD,LD,BD,UD,zD,VD,UN,VN,e2,GH,TB,OB,FB,jB,YB],XB=Cr({name:"NuxtRouteAnnouncer",props:{atomic:{type:Boolean,default:!1},politeness:{type:String,default:"polite"}},setup(t,{slots:e,expose:r}){const{set:n,polite:i,assertive:s,message:o,politeness:a}=b$({politeness:t.politeness}),l=ke(()=>{if(a.value==="assertive")return"alert";if(a.value!=="off")return"status"});return r({set:n,polite:i,assertive:s,message:o,politeness:a}),()=>gt("span",{class:"nuxt-route-announcer",style:{position:"absolute"}},gt("span",{role:l.value,"aria-live":a.value,"aria-atomic":t.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"}},e.default?e.default({message:o.value}):o.value))}}),eC=(t="RouteProvider")=>Cr({name:t,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const r=e.renderKey,n=e.route,i={};for(const s in e.route)Object.defineProperty(i,s,{get:()=>r===e.renderKey?e.route[s]:n[s],enumerable:!0});return Ri(bo,In(i)),()=>e.vnode?gt(e.vnode,{ref:e.vnodeRef}):e.vnode}}),QB=eC(),ub=new WeakMap,JB=Cr({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(t,{attrs:e,slots:r,expose:n}){const i=qe(),s=st(),o=zt(bo,null);let a;n({pageRef:s});const l=zt(vx,null);let c;const u=i.deferHydration();let d=!1,h=!1,f=0;if(i.isHydrating){const p=i.hooks.hookOnce("app:error",u),b=fr().beforeEach(()=>{p(),b()})}t.pageKey&&Nt(()=>t.pageKey,(p,b)=>{p!==b&&i.callHook("page:loading:start")});let g=!1;{const p=fr().beforeResolve(()=>{g=!1});As(()=>{p(),u()})}return()=>gt(n1,{name:t.name,route:t.route,...e},{default:p=>{const b=ZB(o,p.route,p.Component),_=o&&o.matched.length===p.route.matched.length;if(!p.Component){if(c&&!_&&!qh(c))return c;u();return}if(c&&l&&!qh(c)&&!l.isCurrent(p.route))return c;if(b&&o&&(!l||l?.isCurrent(o)))return(_||c)&&!qh(c)?c:null;const y=Ap(p,t.pageKey),m=eU(o,p.route,p.Component);!i.isHydrating&&a===y&&!m&&oi(()=>{g||(g=!0,i.callHook("page:loading:end"))}),d&&a!==y&&h&&f++,a=y;const v=!!(t.transition??p.route.meta.pageTransition??c_),w=v&&a1([t.transition,p.route.meta.pageTransition,c_,{onAfterLeave(){i["~transitionFinish"]?.(),delete i["~transitionFinish"],delete i["~transitionPromise"],i.callHook("page:transition:finish",p.Component)}}]),E=t.keepalive??p.route.meta.keepalive??yP;return c=s1(v&&w,aI(E,gt(Jg,{key:f,suspensible:!0,onPending:()=>{d=!0,v&&!i["~transitionPromise"]&&(i["~transitionPromise"]=new Promise(x=>{i["~transitionFinish"]=x})),i.callHook("page:start",p.Component)}
42,onResolve:async()=>{d=!1,h=!0;try{await oi(),i._route.sync?.(),await i.callHook("page:finish",p.Component),!g&&!m&&(g=!0,await i.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const x={key:y||void 0,vnode:r.default?tU(r.default,p):p.Component,route:p.route,renderKey:y||void 0,trackRootNodes:v,vnodeRef:s};if(!E)return gt(QB,x);const S=p.Component.type,T=S;let P=ub.get(T);return P||(P=eC(S.name||S.__name),ub.set(T,P)),gt(P,x)}}))).default(),c}})}});function ZB(t,e,r){if(!t)return!1;const n=e.matched.findIndex(o=>o.components?.default===r?.type);if(n===-1)return!1;const i=e.matched.slice(0,n).filter(o=>o.components?.default);if(!i.length)return!1;const s=t.matched.filter(o=>o.components?.default);return i.some((o,a)=>o.components?.default!==s[a]?.components?.default)||r&&Ap({route:e,Component:r})!==Ap({route:t,Component:r})}function eU(t,e,r){return t?e.matched.findIndex(i=>i.components?.default===r?.type)<e.matched.length-1:!1}function tU(t,e){const r=t(e);return r.length===1?gt(r[0]):gt(Bt,void 0,r)}function qh(t){return!!t&&(!!t.suspense?.isUnmounted||!!t.component?.isUnmounted)}const tC=Fx,rU=Cr({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(t,e){return()=>gt(os[t.name],t.layoutProps,e.slots)}}),nU={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},rC=Cr({name:"NuxtLayout",inheritAttrs:!1,props:nU,setup(t,e){const r=qe(),n=zt(bo),s=!n||n===$i()?qx():n,o=ke(()=>{let u=ge(t.name)??s?.meta.layout??tC(s?.path).appLayout??"default";return u&&!(u in os)&&t.fallback&&(u=ge(t.fallback)),u}),a=wt();e.expose({layoutRef:a});const l=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",l),d=fr().beforeEach(()=>{u(),d()})}let c;return()=>{const d=!!o.value&&o.value in os&&!!(s?.meta.layoutTransition??l_),h=d&&a1([s?.meta.layoutTransition,l_,{onBeforeLeave(){r["~transitionPromise"]=new Promise(g=>{r["~transitionFinish"]=g})},onAfterLeave(){r["~transitionFinish"]?.(),delete r["~transitionFinish"],delete r["~transitionPromise"]}}]),f=c;return c=o.value,s1(h,{default:()=>gt(Jg,{suspensible:!0,onResolve:async()=>{await oi(l)}},{default:()=>gt(iU,{layoutProps:ba(e.attrs,s.meta.layoutProps??{},{ref:a}),key:o.value||void 0,name:o.value,shouldProvide:!t.name,isRenderingNewLayout:g=>g!==f&&g===o.value,hasTransition:d},e.slots)})}).default()}}}),iU=Cr({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(t,e){const r=t.name;t.shouldProvide&&Ri(vx,{isCurrent:s=>r===!1||r===(s.meta.layout??tC(s.path).appLayout??"default")});const n=zt(bo);if(n&&n===$i()){const s=qx(),o={};for(const a in s){const l=a;Object.defineProperty(o,l,{enumerable:!0,get:()=>t.isRenderingNewLayout(t.name)?s[l]:n[l]})}Ri(bo,In(o))}return()=>!r||typeof r=="string"&&!(r in os)?e.slots.default?.():gt(rU,{key:r,layoutProps:t.layoutProps,name:r},e.slots)}}),sU=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},oU=jI(XB),aU={};function lU(t,e){const r=oU,n=JB,i=rC;return vt(),Vr(i,null,{default:Ha(()=>[pt(r),pt(n)]),_:1})}const cU=sU(aU,[["render",lU]]);function nC(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=nC(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Gh(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=nC(t))&&(n&&(n+=" "),n+=e);return n}const fb=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,uU=t=>{const e=function(){for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];var a,l;return typeof(t==null||(a=t.hooks)===null||a===void 0?void 0:a["cx:done"])<"u"?t?.hooks["cx:done"](Gh(s)):typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?t?.hooks.onComplete(Gh(s)):Gh(s)};return{compose:function(){for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];return a=>{const l=Object.fromEntries(Object.entries(a||{}).filter(c=>{let[u]=c;return!["class","className"].includes(u)}));return e(s.map(c=>c(l)),a?.class,a?.className)}},cva:i=>s=>{var o;if(i?.variants==null)return e(i?.base,s?.class,s?.className);const{variants:a,defaultVariants:l}=i,c=Object.keys(a).map(h=>{const f=s?.[h],g=l?.[h],p=fb(f)||fb(g);return a[h][p]}),u={...l,...s&&Object.entries(s).reduce((h,f)=>{let[g,p]=f;return typeof p>"u"?h:{...h,[g]:p}},{})},d=i==null||(o=i.compoundVariants)===null||o===void 0?void 0:o.reduce((h,f)=>{let{class:g,className:p,...b}=f;return Object.entries(b).every(_=>{let[y,m]=_;const v=u[y];return Array.isArray(m)?m.includes(v):v===m})?[...h,g,p]:h},[]);return e(i?.base,c,d,s?.class,s?.className)},cx:e}},fU=(t,e)=>{const r=new Array(t.length+e.length);for(let n=0;n<t.length;n++)r[n]=t[n];for(let n=0;n<e.length;
vendor: 8,501 bytes, line 42
42n++)r[t.length+n]=e[n];return r},dU=(t,e)=>({classGroupId:t,validator:e}),iC=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),Bf="-",db=[],hU="arbitrary..",pU=t=>{const e=mU(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return gU(o);const a=o.split(Bf),l=a[0]===""&&a.length>1?1:0;return sC(a,l,e)},getConflictingClassGroupIds:(o,a)=>{if(a){const l=n[o],c=r[o];return l?c?fU(c,l):l:c||db}return r[o]||db}}},sC=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const i=t[e],s=r.nextPart.get(i);if(s){const c=sC(t,e+1,s);if(c)return c}const o=r.validators;if(o===null)return;const a=e===0?t.join(Bf):t.slice(e).join(Bf),l=o.length;for(let c=0;c<l;c++){const u=o[c];if(u.validator(a))return u.classGroupId}},gU=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),r=e.indexOf(":"),n=e.slice(0,r);return n?hU+n:void 0})(),mU=t=>{const{theme:e,classGroups:r}=t;return yU(r,e)},yU=(t,e)=>{const r=iC();for(const n in t){const i=t[n];cy(i,r,n,e)}return r},cy=(t,e,r,n)=>{const i=t.length;for(let s=0;s<i;s++){const o=t[s];_U(o,e,r,n)}},_U=(t,e,r,n)=>{if(typeof t=="string"){vU(t,e,r);return}if(typeof t=="function"){bU(t,e,r,n);return}wU(t,e,r,n)},vU=(t,e,r)=>{const n=t===""?e:oC(e,t);n.classGroupId=r},bU=(t,e,r,n)=>{if(xU(t)){cy(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push(dU(r,t))},wU=(t,e,r,n)=>{const i=Object.entries(t),s=i.length;for(let o=0;o<s;o++){const[a,l]=i[o];cy(l,oC(e,a),r,n)}},oC=(t,e)=>{let r=t;const n=e.split(Bf),i=n.length;for(let s=0;s<i;s++){const o=n[s];let a=r.nextPart.get(o);a||(a=iC(),r.nextPart.set(o,a)),r=a}return r},xU=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,SU=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=Object.create(null),n=Object.create(null);const i=(s,o)=>{r[s]=o,e++,e>t&&(e=0,n=r,r=Object.create(null))};return{get(s){let o=r[s];if(o!==void 0)return o;if((o=n[s])!==void 0)return i(s,o),o},set(s,o){s in r?r[s]=o:i(s,o)}}},Tg="!",hb=":",EU=[],pb=(t,e,r,n,i)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),TU=t=>{const{prefix:e,experimentalParseClassName:r}=t;let n=i=>{const s=[];let o=0,a=0,l=0,c;const u=i.length;for(let p=0;p<u;p++){const b=i[p];if(o===0&&a===0){if(b===hb){s.push(i.slice(l,p)),l=p+1;continue}if(b==="/"){c=p;continue}}b==="["?o++:b==="]"?o--:b==="("?a++:b===")"&&a--}const d=s.length===0?i:i.slice(l);let h=d,f=!1;d.endsWith(Tg)?(h=d.slice(0,-1),f=!0):d.startsWith(Tg)&&(h=d.slice(1),f=!0);const g=c&&c>l?c-l:void 0;return pb(s,f,h,g)};if(e){const i=e+hb,s=n;n=o=>o.startsWith(i)?s(o.slice(i.length)):pb(EU,!1,o,void 0,!0)}if(r){const i=n;n=s=>r({className:s,parseClassName:i})}return n},CU=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((r,n)=>{e.set(r,1e6+n)}),r=>{const n=[];let i=[];for(let s=0;s<r.length;s++){const o=r[s],a=o[0]==="[",l=e.has(o);a||l?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(o)):i.push(o)}return i.length>0&&(i.sort(),n.push(...i)),n}},AU=t=>({cache:SU(t.cacheSize),parseClassName:TU(t),sortModifiers:CU(t),...pU(t)}),kU=/\s+/,RU=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:s}=e,o=[],a=t.trim().split(kU);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{isExternal:d,modifiers:h,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:p}=r(u);if(d){l=u+(l.length>0?" "+l:l);continue}let b=!!p,_=n(b?g.substring(0,p):g);if(!_){if(!b){l=u+(l.length>0?" "+l:l);continue}if(_=n(g),!_){l=u+(l.length>0?" "+l:l);continue}b=!1}const y=h.length===0?"":h.length===1?h[0]:s(h).join(":"),m=f?y+Tg:y,v=m+_;if(o.indexOf(v)>-1)continue;o.push(v);const w=i(_,b);for(let E=0;E<w.length;++E){const x=w[E];o.push(m+x)}l=u+(l.length>0?" "+l:l)}return l},PU=(...t)=>{let e=0,r,n,i="";for(;e<t.length;)(r=t[e++])&&(n=aC(r))&&(i&&(i+=" "),i+=n);return i},aC=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=aC(t[n]))&&(r&&(r+=" "),r+=e);return r},gb=(t,...e)=>{let r,n,i,s;const o=l=>{const c=e.reduce((u,d)=>d(u),t());return r=AU(c),n=r.cache.get,i=r.cache.set,s=a,a(l)},a=l=>{const c=n(l);if(c)return c;const u=RU(l,r);return i(l,u),u};return s=o,(...l)=>s(PU(...l))},OU=[],qt=t=>{const e=r=>r[t]||OU;return e.isThemeGetter=!0,e},lC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,cC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,MU=/^\d+\/\d+$/,IU=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$U=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DU=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,LU=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,NU=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ws=t=>MU.test(t),Fe=t=>!!t&&!Number.isNaN(Number(t)),pi=t=>!!t&&Number.isInteger(Number(t)),Vu=t=>t.endsWith("%")&&Fe(t.slice(0,-1)),Wn=t=>IU.test(t),uC=()=>!0,FU=t=>$U.test(t)&&!DU.test(t),fC=()=>!1,jU=t=>LU.test(t),HU=t=>NU.test(t),dC=t=>!ve(t)&&!be(t),hC=t=>Wa(t,bC,fC),ve=t=>lC.test(t),es=t=>Wa(t,wC,FU),Wu=t=>Wa(t,BU,Fe),Cg=t=>Wa(t,_C,fC),pC=t=>Wa(t,vC,HU),wl=t=>Wa(t,xC,jU),be=t=>cC.test(t),Go=t=>qa(t,wC),gC=t=>qa(t,UU),Ag=t=>qa(t,_C),mC=t=>qa(t,bC),yC=t=>qa(t,vC),xl=t=>qa(t,xC,!0),Wa=(t,e,r)=>{const n=lC.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},qa=(t,e,r=!1)=>{const n=cC.exec(t);return n?n[1]?e(n[1]):r:!1},_C=t=>t==="position"||t==="percentage",vC=t=>t==="image"||t==="url",bC=t=>t==="length"||t==="size"||t==="bg-size",wC=t=>t==="length",BU=t=>t==="number",UU=t=>t==="family-name",xC=t=>t==="shadow",mb=Object.defineProperty({__proto__:null,isAny:uC,isAnyNonArbitrary:dC,isArbitraryImage:pC,isArbitraryLength:es,isArbitraryNumber:Wu,isArbitraryPosition:Cg,isArbitraryShadow:wl,isArbitrarySize:hC,isArbitraryValue:ve,isArbitraryVariable:be,isArbitraryVariableFamilyName:gC,isArbitraryVariableImage:yC,isArbitraryVariableLength:Go,isArbitraryVariablePosition:Ag,isArbitraryVariableShadow:xl,isArbitraryVariableSize:mC,isFraction:Ws,isInteger:pi,isNumber:Fe,isPercent:Vu,isTshirtSize:Wn},Symbol.toStringTag,{value:"Module"}),yb=()=>{const t=qt("color"),e=qt("font"),r=qt("text"),n=qt("font-weight"),i=qt("tracking"),s=qt("leading"),o=qt("breakpoint"),a=qt("container"),l=qt("spacing"),c=qt("radius"),u=qt("shadow"),d=qt("inset-shadow"),h=qt("text-shadow"),f=qt("drop-shadow"),g=qt("blur"),p=qt("perspective"),b=qt("aspect"),_=qt("ease"),y=qt("animate"),m=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...v(),be,ve],E=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],S=()=>[be,ve,l],T=()=>[Ws,"full","auto",...S()],P=()=>[pi,"none","subgrid",be,ve],F=()=>["auto",{span:["full",pi,be,ve]},pi,be,ve],O=()=>[pi,"auto",be,ve],H=()=>["auto","min","max","fr",be,ve],Y=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...S()],I=()=>[Ws,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],$=()=>[t,be,ve],X=()=>[...v(),Ag,Cg,{position:[be,ve]}],M=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",mC,hC,{size:[be,ve]}],te=()=>[Vu,Go,es],ue=()=>["","none","full",c,be,ve],oe=()=>["",Fe,Go,es],me=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>[Fe,Vu,Ag,Cg],q=()=>["","none",g,be,ve],Q=()=>["none",Fe,be,ve],se=()=>["none",Fe,be,ve],he=()=>[Fe,be,ve],xe=()=>[Ws,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Wn],breakpoint:[Wn],color:[uC],container:[Wn],"drop-shadow":[Wn],ease:["in","out","in-out"],font:[dC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Wn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Wn],shadow:[Wn],spacing:["px",Fe],text:[Wn],"text-shadow":[Wn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ws,ve,be,b]}
vendor: 12,851 bytes, line 42
42],container:["container"],columns:[{columns:[Fe,ve,be,a]}],"break-after":[{"break-after":m()}],"break-before":[{"break-before":m()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[pi,"auto",be,ve]}],basis:[{basis:[Ws,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Fe,Ws,"auto","initial","none",ve]}],grow:[{grow:["",Fe,be,ve]}],shrink:[{shrink:["",Fe,be,ve]}],order:[{order:[pi,"first","last","none",be,ve]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...Y(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...Y()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":Y()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[a,"screen",...I()]}],"min-w":[{"min-w":[a,"screen","none",...I()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",r,Go,es]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,be,Wu]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Vu,ve]}],"font-family":[{font:[gC,ve,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,be,ve]}],"line-clamp":[{"line-clamp":[Fe,"none",be,Wu]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",be,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",be,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[Fe,"from-font","auto",be,es]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[Fe,"auto",be,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:M()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pi,be,ve],radial:["",be,ve],conic:[pi,be,ve]},yC,pC]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:ue()}],"rounded-s":[{"rounded-s":ue()}],"rounded-e":[{"rounded-e":ue()}],"rounded-t":[{"rounded-t":ue()}],"rounded-r":[{"rounded-r":ue()}],"rounded-b":[{"rounded-b":ue()}],"rounded-l":[{"rounded-l":ue()}],"rounded-ss":[{"rounded-ss":ue()}],"rounded-se":[{"rounded-se":ue()}],"rounded-ee":[{"rounded-ee":ue()}],"rounded-es":[{"rounded-es":ue()}],"rounded-tl":[{"rounded-tl":ue()}],"rounded-tr":[{"rounded-tr":ue()}],"rounded-br":[{"rounded-br":ue()}],"rounded-bl":[{"rounded-bl":ue()}],"border-w":[{border:oe()}],"border-w-x":[{"border-x":oe()}],"border-w-y":[{"border-y":oe()}],"border-w-s":[{"border-s":oe()}],"border-w-e":[{"border-e":oe()}],"border-w-t":[{"border-t":oe()}],"border-w-r":[{"border-r":oe()}],"border-w-b":[{"border-b":oe()}],"border-w-l":[{"border-l":oe()}],"divide-x":[{"divide-x":oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Fe,be,ve]}],"outline-w":[{outline:["",Fe,Go,es]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",u,xl,wl]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",d,xl,wl]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[Fe,es]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":oe()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",h,xl,wl]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[Fe,be,ve]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":N()}],"mask-image-linear-to-pos":[{"mask-linear-to":N()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":N()}],"mask-image-t-to-pos":[{"mask-t-to":N()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":N()}],"mask-image-r-to-pos":[{"mask-r-to":N()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":N()}],"mask-image-b-to-pos":[{"mask-b-to":N()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":N()}],"mask-image-l-to-pos":[{"mask-l-to":N()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":N()}],"mask-image-x-to-pos":[{"mask-x-to":N()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":N()}],"mask-image-y-to-pos":[{"mask-y-to":N()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[be,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":N()}],"mask-image-radial-to-pos":[{"mask-radial-to":N()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[Fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":N()}],"mask-image-conic-to-pos":[{"mask-conic-to":N()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:M()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",be,ve]}],filter:[{filter:["","none",be,ve]}],blur:[{blur:q()}],brightness:[{brightness:[Fe,be,ve]}],contrast:[{contrast:[Fe,be,ve]}],"drop-shadow":[{"drop-shadow":["","none",f,xl,wl]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",Fe,be,ve]}],"hue-rotate":[{"hue-rotate":[Fe,be,ve]}],invert:[{invert:["",Fe,be,ve]}],saturate:[{saturate:[Fe,be,ve]}],sepia:[{sepia:["",Fe,be,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",be,ve]}],"backdrop-blur":[{"backdrop-blur":q()}],"backdrop-brightness":[{"backdrop-brightness":[Fe,be,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Fe,be,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Fe,be,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Fe,be,ve]}],"backdrop-invert":[{"backdrop-invert":["",Fe,be,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Fe,be,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Fe,be,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Fe,be,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",be,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Fe,"initial",be,ve]}],ease:[{ease:["linear","initial",_,be,ve]}],delay:[{delay:[Fe,be,ve]}],animate:[{animate:["none",y,be,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,be,ve]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:Q()}],"rotate-x":[{"rotate-x":Q()}],"rotate-y":[{"rotate-y":Q()}],"rotate-z":[{"rotate-z":Q()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:he()}],"skew-x":[{"skew-x":he()}],"skew-y":[{"skew-y":he()}],transform:[{transform:[be,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xe()}],"translate-x":[{"translate-x":xe()}],"translate-y":[{"translate-y":xe()}],"translate-z":[{"translate-z":xe()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}
vendor: 9,195 bytes, line 42
42],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be,ve]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[Fe,Go,es,Wu]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},uy=(t,{cacheSize:e,prefix:r,experimentalParseClassName:n,extend:i={},override:s={}})=>(Sl(t,"cacheSize",e),Sl(t,"prefix",r),Sl(t,"experimentalParseClassName",n),xu(t.theme,s.theme),xu(t.classGroups,s.classGroups),xu(t.conflictingClassGroups,s.conflictingClassGroups),xu(t.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),Sl(t,"orderSensitiveModifiers",s.orderSensitiveModifiers),Su(t.theme,i.theme),Su(t.classGroups,i.classGroups),Su(t.conflictingClassGroups,i.conflictingClassGroups),Su(t.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),SC(t,i,"orderSensitiveModifiers"),t),Sl=(t,e,r)=>{r!==void 0&&(t[e]=r)},xu=(t,e)=>{if(e)for(const r in e)Sl(t,r,e[r])},Su=(t,e)=>{if(e)for(const r in e)SC(t,e,r)},SC=(t,e,r)=>{const n=e[r];n!==void 0&&(t[r]=t[r]?t[r].concat(n):n)},EC=(t,...e)=>typeof t=="function"?gb(yb,t,...e):gb(()=>uy(yb(),t),...e);var zU=/^[\w.-]+\/[\w.-]+$/,VU=/^\[[\w.]+\/[\w.]+\]$/;function ne(t){return zU.test(t)}function WU(t){return VU.test(t)}function ie(t){return ne(t)||WU(t)}var qU={extend:{classGroups:{"fluid-p":[{"fl-p":[ne]}],"fluid-px":[{"fl-px":[ne]}],"fluid-py":[{"fl-py":[ne]}],"fluid-pt":[{"fl-pt":[ne]}],"fluid-pr":[{"fl-pr":[ne]}],"fluid-pb":[{"fl-pb":[ne]}],"fluid-pl":[{"fl-pl":[ne]}],"fluid-ps":[{"fl-ps":[ne]}],"fluid-pe":[{"fl-pe":[ne]}],"fluid-m":[{"fl-m":[ne]},{"neg-fl-m":[ne]}],"fluid-mx":[{"fl-mx":[ne]},{"neg-fl-mx":[ne]}],"fluid-my":[{"fl-my":[ne]},{"neg-fl-my":[ne]}],"fluid-mt":[{"fl-mt":[ne]},{"neg-fl-mt":[ne]}],"fluid-mr":[{"fl-mr":[ne]},{"neg-fl-mr":[ne]}],"fluid-mb":[{"fl-mb":[ne]},{"neg-fl-mb":[ne]}],"fluid-ml":[{"fl-ml":[ne]},{"neg-fl-ml":[ne]}],"fluid-ms":[{"fl-ms":[ne]},{"neg-fl-ms":[ne]}],"fluid-me":[{"fl-me":[ne]},{"neg-fl-me":[ne]}],"fluid-text":[{"fl-text":[ne]}],"fluid-leading":[{"fl-leading":[ne]}],"fluid-tracking":[{"fl-tracking":[ne]}],"fluid-w":[{"fl-w":[ne]}],"fluid-h":[{"fl-h":[ne]}],"fluid-size":[{"fl-size":[ne]}],"fluid-min-w":[{"fl-min-w":[ne]}],"fluid-max-w":[{"fl-max-w":[ne]}],"fluid-min-h":[{"fl-min-h":[ne]}],"fluid-max-h":[{"fl-max-h":[ne]}],"fluid-gap":[{"fl-gap":[ne]}],"fluid-gap-x":[{"fl-gap-x":[ne]}],"fluid-gap-y":[{"fl-gap-y":[ne]}],"fluid-inset":[{"fl-inset":[ne]},{"neg-fl-inset":[ne]}],"fluid-inset-x":[{"fl-inset-x":[ne]},{"neg-fl-inset-x":[ne]}],"fluid-inset-y":[{"fl-inset-y":[ne]},{"neg-fl-inset-y":[ne]}],"fluid-top":[{"fl-top":[ne]},{"neg-fl-top":[ne]}],"fluid-right":[{"fl-right":[ne]},{"neg-fl-right":[ne]}],"fluid-bottom":[{"fl-bottom":[ne]},{"neg-fl-bottom":[ne]}],"fluid-left":[{"fl-left":[ne]},{"neg-fl-left":[ne]}],"fluid-start":[{"fl-start":[ne]},{"neg-fl-start":[ne]}],"fluid-end":[{"fl-end":[ne]},{"neg-fl-end":[ne]}],"fluid-rounded":[{"fl-rounded":[ne]}],"fluid-rounded-t":[{"fl-rounded-t":[ne]}],"fluid-rounded-r":[{"fl-rounded-r":[ne]}],"fluid-rounded-b":[{"fl-rounded-b":[ne]}],"fluid-rounded-l":[{"fl-rounded-l":[ne]}],"fluid-rounded-tl":[{"fl-rounded-tl":[ne]}],"fluid-rounded-tr":[{"fl-rounded-tr":[ne]}],"fluid-rounded-br":[{"fl-rounded-br":[ne]}],"fluid-rounded-bl":[{"fl-rounded-bl":[ne]}],"fluid-border":[{"fl-border":[ne]}],"fluid-border-t":[{"fl-border-t":[ne]}],"fluid-border-r":[{"fl-border-r":[ne]}],"fluid-border-b":[{"fl-border-b":[ne]}],"fluid-border-l":[{"fl-border-l":[ne]}],"fluid-space-x":[{"fl-space-x":[ne]},{"neg-fl-space-x":[ne]}],"fluid-space-y":[{"fl-space-y":[ne]},{"neg-fl-space-y":[ne]}],"fluid-translate-x":[{"fl-translate-x":[ne]},{"neg-fl-translate-x":[ne]}],"fluid-translate-y":[{"fl-translate-y":[ne]},{"neg-fl-translate-y":[ne]}],"fluid-basis":[{"fl-basis":[ne]}],"fluid-scroll-m":[{"fl-scroll-m":[ne]}],"fluid-scroll-mx":[{"fl-scroll-mx":[ne]}],"fluid-scroll-my":[{"fl-scroll-my":[ne]}],"fluid-scroll-mt":[{"fl-scroll-mt":[ne]}],"fluid-scroll-mr":[{"fl-scroll-mr":[ne]}],"fluid-scroll-mb":[{"fl-scroll-mb":[ne]}],"fluid-scroll-ml":[{"fl-scroll-ml":[ne]}],"fluid-scroll-p":[{"fl-scroll-p":[ne]}],"fluid-scroll-px":[{"fl-scroll-px":[ne]}],"fluid-scroll-py":[{"fl-scroll-py":[ne]}],"fluid-scroll-pt":[{"fl-scroll-pt":[ne]}],"fluid-scroll-pr":[{"fl-scroll-pr":[ne]}],"fluid-scroll-pb":[{"fl-scroll-pb":[ne]}],"fluid-scroll-pl":[{"fl-scroll-pl":[ne]}]},conflictingClassGroups:{"fluid-p":["p"],"fluid-px":["px"],"fluid-py":["py"],"fluid-pt":["pt"],"fluid-pr":["pr"],"fluid-pb":["pb"],"fluid-pl":["pl"],"fluid-ps":["ps"],"fluid-pe":["pe"],"fluid-m":["m"],"fluid-mx":["mx"],"fluid-my":["my"],"fluid-mt":["mt"],"fluid-mr":["mr"],"fluid-mb":["mb"],"fluid-ml":["ml"],"fluid-ms":["ms"],"fluid-me":["me"],"fluid-text":["font-size"],"fluid-leading":["leading"],"fluid-tracking":["tracking"],"fluid-w":["w"],"fluid-h":["h"],"fluid-size":["size"],"fluid-min-w":["min-w"],"fluid-max-w":["max-w"],"fluid-min-h":["min-h"],"fluid-max-h":["max-h"],"fluid-gap":["gap"],"fluid-gap-x":["gap-x"],"fluid-gap-y":["ga
42p-y"],"fluid-inset":["inset"],"fluid-inset-x":["inset-x"],"fluid-inset-y":["inset-y"],"fluid-top":["top"],"fluid-right":["right"],"fluid-bottom":["bottom"],"fluid-left":["left"],"fluid-start":["start"],"fluid-end":["end"],"fluid-rounded":["rounded"],"fluid-rounded-t":["rounded-t"],"fluid-rounded-r":["rounded-r"],"fluid-rounded-b":["rounded-b"],"fluid-rounded-l":["rounded-l"],"fluid-rounded-tl":["rounded-tl"],"fluid-rounded-tr":["rounded-tr"],"fluid-rounded-br":["rounded-br"],"fluid-rounded-bl":["rounded-bl"],"fluid-border":["border-w"],"fluid-border-t":["border-w-t"],"fluid-border-r":["border-w-r"],"fluid-border-b":["border-w-b"],"fluid-border-l":["border-w-l"],"fluid-space-x":["space-x"],"fluid-space-y":["space-y"],"fluid-translate-x":["translate-x"],"fluid-translate-y":["translate-y"],"fluid-basis":["basis"],"fluid-scroll-m":["scroll-m"],"fluid-scroll-mx":["scroll-mx"],"fluid-scroll-my":["scroll-my"],"fluid-scroll-mt":["scroll-mt"],"fluid-scroll-mr":["scroll-mr"],"fluid-scroll-mb":["scroll-mb"],"fluid-scroll-ml":["scroll-ml"],"fluid-scroll-p":["scroll-p"],"fluid-scroll-px":["scroll-px"],"fluid-scroll-py":["scroll-py"],"fluid-scroll-pt":["scroll-pt"],"fluid-scroll-pr":["scroll-pr"],"fluid-scroll-pb":["scroll-pb"],"fluid-scroll-pl":["scroll-pl"],p:["fluid-p"],px:["fluid-px"],py:["fluid-py"],pt:["fluid-pt"],pr:["fluid-pr"],pb:["fluid-pb"],pl:["fluid-pl"],ps:["fluid-ps"],pe:["fluid-pe"],m:["fluid-m"],mx:["fluid-mx"],my:["fluid-my"],mt:["fluid-mt"],mr:["fluid-mr"],mb:["fluid-mb"],ml:["fluid-ml"],ms:["fluid-ms"],me:["fluid-me"],"font-size":["fluid-text"],leading:["fluid-leading"],tracking:["fluid-tracking"],w:["fluid-w"],h:["fluid-h"],size:["fluid-size"],"min-w":["fluid-min-w"],"max-w":["fluid-max-w"],"min-h":["fluid-min-h"],"max-h":["fluid-max-h"],gap:["fluid-gap"],"gap-x":["fluid-gap-x"],"gap-y":["fluid-gap-y"],inset:["fluid-inset"],"inset-x":["fluid-inset-x"],"inset-y":["fluid-inset-y"],top:["fluid-top"],right:["fluid-right"],bottom:["fluid-bottom"],left:["fluid-left"],start:["fluid-start"],end:["fluid-end"],rounded:["fluid-rounded"],"rounded-t":["fluid-rounded-t"],"rounded-r":["fluid-rounded-r"],"rounded-b":["fluid-rounded-b"],"rounded-l":["fluid-rounded-l"],"rounded-tl":["fluid-rounded-tl"],"rounded-tr":["fluid-rounded-tr"],"rounded-br":["fluid-rounded-br"],"rounded-bl":["fluid-rounded-bl"],"border-w":["fluid-border"],"border-w-t":["fluid-border-t"],"border-w-r":["fluid-border-r"],"border-w-b":["fluid-border-b"],"border-w-l":["fluid-border-l"],"space-x":["fluid-space-x"],"space-y":["fluid-space-y"],"translate-x":["fluid-translate-x"],"translate-y":["fluid-translate-y"],basis:["fluid-basis"],"scroll-m":["fluid-scroll-m"],"scroll-mx":["fluid-scroll-mx"],"scroll-my":["fluid-scroll-my"],"scroll-mt":["fluid-scroll-mt"],"scroll-mr":["fluid-scroll-mr"],"scroll-mb":["fluid-scroll-mb"],"scroll-ml":["fluid-scroll-ml"],"scroll-p":["fluid-scroll-p"],"scroll-px":["fluid-scroll-px"],"scroll-py":["fluid-scroll-py"],"scroll-pt":["fluid-scroll-pt"],"scroll-pr":["fluid-scroll-pr"],"scroll-pb":["fluid-scroll-pb"],"scroll-pl":["fluid-scroll-pl"]}}};EC(qU);function GU(t){return uy(t,{extend:{classGroups:{"fluid-p":[{"fl-p":[ie]}],"fluid-px":[{"fl-px":[ie]}],"fluid-py":[{"fl-py":[ie]}],"fluid-pt":[{"fl-pt":[ie]}],"fluid-pr":[{"fl-pr":[ie]}],"fluid-pb":[{"fl-pb":[ie]}],"fluid-pl":[{"fl-pl":[ie]}],"fluid-ps":[{"fl-ps":[ie]}],"fluid-pe":[{"fl-pe":[ie]}],"fluid-m":[{"fl-m":[ie]},{"neg-fl-m":[ie]}],"fluid-mx":[{"fl-mx":[ie]},{"neg-fl-mx":[ie]}],"fluid-my":[{"fl-my":[ie]},{"neg-fl-my":[ie]}],"fluid-mt":[{"fl-mt":[ie]},{"neg-fl-mt":[ie]}],"fluid-mr":[{"fl-mr":[ie]},{"neg-fl-mr":[ie]}],"fluid-mb":[{"fl-mb":[ie]},{"neg-fl-mb":[ie]}],"fluid-ml":[{"fl-ml":[ie]},{"neg-fl-ml":[ie]}],"fluid-ms":[{"fl-ms":[ie]},{"neg-fl-ms":[ie]}],"fluid-me":[{"fl-me":[ie]},{"neg-fl-me":[ie]}],"fluid-text":[{"fl-text":[ie]}],"fluid-leading":[{"fl-leading":[ie]}],"fluid-tracking":[{"fl-tracking":[ie]}],"fluid-w":[{"fl-w":[ie]}],"fluid-h":[{"fl-h":[ie]}],"fluid-size":[{"fl-size":[ie]}],"fluid-min-w":[{"fl-min-w":[ie]}],"fluid-max-w":[{"fl-max-w":[ie]}],"fluid-min-h":[{"fl-min-h":[ie]}],"fluid-max-h":[{"fl-max-h":[ie]}],"fluid-gap":[{"fl-gap":[ie]}],"fluid-gap-x":[{"fl-gap-x":[ie]}],"fluid-gap-y":[{"fl-gap-y":[ie]}],"fluid-inset":[{"fl-inset":[ie]},{"neg-fl-inset":[ie]}],"fluid-inset-x":[{"fl-inset-x":[ie]},{"neg-fl-inset-x":[ie]}],"fluid-inset-y":[{"fl-inset-y":[ie]},{"neg-fl-inset-y":[ie]}],"fluid-top":[{"fl-top":[ie]},{"neg-fl-top":[ie]}],"fluid-right":[{"fl-right":[ie]},{"neg-fl-right":[ie]}],"fluid-bottom":[{"fl-bottom":[ie]},{"neg-fl-bottom":[ie]}],"fluid-left":[{"fl-left":[ie]},{"neg-fl-left":[ie]}],"fluid-start":[{"fl-start":[ie]},{"neg-fl-start":[ie]}],"fluid-end":[{"fl-end":[ie]},{"neg-fl-end":[ie]}],"fluid-rounded":[{"fl-rounded":[ie]}],"fluid-rounded-t":[{"fl-rounded-t":[ie]}],"fluid-rounded-r":[{"fl-rounded-r":[ie]}],"fluid-rounded-b":[{"fl-rounded-b":[ie]}],"fluid-rounded-l":[{"fl-rounded-l":[ie]}],"fluid-rounded-tl":[{"fl-rounded-tl":[ie]}],"fluid-rounded-tr":[{"fl-rounded-tr":[ie]}],"fluid-rounded-br":[{"fl-rounded-br":[ie]}],"fluid-rounded-bl":[{"fl-rounded-bl":[ie]}],"fluid-border":[{"fl-border":[ie]}],"fluid-border-t":[{"fl-border-t":[ie]}],"fluid-border-r":[{"fl-border-r":[ie]}],"fluid-border-b":[{"fl-border-b":[ie]}],"fluid-border-l":[{"fl-border-l":[ie]}],"fluid-space-x":[{"fl-space-x":[ie]},{"neg-fl-space-x":[ie]}],"fluid-space-y":[{"fl-space-y":[ie]},{"neg-fl-space-y":[ie]}],"fluid-translate-x":[{"fl-translate-x":[ie]},{"neg-fl-translate-x":[ie]}],"fluid-translate-y":[{"fl-translate-y":[ie]},{"neg-fl-translate-y":[ie]}],"fluid-basis":[{"fl-basis":[ie]}],"fluid-scroll-m":[{"fl-scroll-m":[ie]}],"fluid-scroll-mx":[{"fl-scroll-mx":[ie]}],"fluid-scroll-my":[{"fl-scroll-my":[ie]}],"fluid-scroll-mt":[{"fl-scroll-mt":[ie]}],"fluid-scroll-mr":[{"fl-scroll-mr":[ie]}],"fluid-scroll-mb":[{"fl-scroll-mb":[ie]}],"fluid-scroll-ml":[{"fl-scroll-ml":[ie]}],"fluid-scroll-p":[{"fl-scroll-p":[ie]}],"fluid-scroll-px":[{"fl-scroll-px":[ie]}],"fluid-scroll-py":[{"fl-scroll-py":[ie]}],"fluid-scroll-pt":[{"fl-scroll-pt":[ie]}],"fluid-scroll-pr":[{"fl-scroll-pr":[ie]}],"fluid-scroll-pb":[{"fl-scroll-pb":[ie]}],"fluid-scroll-pl":[{"fl-scroll-pl":[ie]}]},conflictingClassGroups:{"fluid-p":["p"],"fluid-px":["px"],"fluid-py":["py"],"fluid-pt":["pt"],"fluid-pr":["pr"],"fluid-pb":["pb"],"fluid-pl":["pl"],"fluid-ps":["ps"],"fluid-pe":["pe"],"fluid-m":["m"],"fluid-mx":["mx"],"fluid-my":["my"],"fluid-mt":["mt"],"fluid-mr":["mr"],"fluid-mb":["mb"],"fluid-ml":["ml"],"fluid-ms":["ms"],"fluid-me":["me"],"fluid-text":["font-size"],"fluid-leading":["leading"],"fluid-tracking":["tracking"],"fluid-w":["w"],"fluid-h":["h"],"fluid-size":["size"],"fluid-min-w":["min-w"],"fluid-max-w":["max-w"],"fluid-min-h":["min-h"],"fluid-max-h":["max-h"],"fluid-gap":["gap"],"fluid-gap-x":["gap-x"],"fluid-gap-y":["ga
42p-y"],"fluid-inset":["inset"],"fluid-inset-x":["inset-x"],"fluid-inset-y":["inset-y"],"fluid-top":["top"],"fluid-right":["right"],"fluid-bottom":["bottom"],"fluid-left":["left"],"fluid-start":["start"],"fluid-end":["end"],"fluid-rounded":["rounded"],"fluid-rounded-t":["rounded-t"],"fluid-rounded-r":["rounded-r"],"fluid-rounded-b":["rounded-b"],"fluid-rounded-l":["rounded-l"],"fluid-rounded-tl":["rounded-tl"],"fluid-rounded-tr":["rounded-tr"],"fluid-rounded-br":["rounded-br"],"fluid-rounded-bl":["rounded-bl"],"fluid-border":["border-w"],"fluid-border-t":["border-w-t"],"fluid-border-r":["border-w-r"],"fluid-border-b":["border-w-b"],"fluid-border-l":["border-w-l"],"fluid-space-x":["space-x"],"fluid-space-y":["space-y"],"fluid-translate-x":["translate-x"],"fluid-translate-y":["translate-y"],"fluid-basis":["basis"],"fluid-scroll-m":["scroll-m"],"fluid-scroll-mx":["scroll-mx"],"fluid-scroll-my":["scroll-my"],"fluid-scroll-mt":["scroll-mt"],"fluid-scroll-mr":["scroll-mr"],"fluid-scroll-mb":["scroll-mb"],"fluid-scroll-ml":["scroll-ml"],"fluid-scroll-p":["scroll-p"],"fluid-scroll-px":["scroll-px"],"fluid-scroll-py":["scroll-py"],"fluid-scroll-pt":["scroll-pt"],"fluid-scroll-pr":["scroll-pr"],"fluid-scroll-pb":["scroll-pb"],"fluid-scroll-pl":["scroll-pl"],p:["fluid-p"],px:["fluid-px"],py:["fluid-py"],pt:["fluid-pt"],pr:["fluid-pr"],pb:["fluid-pb"],pl:["fluid-pl"],ps:["fluid-ps"],pe:["fluid-pe"],m:["fluid-m"],mx:["fluid-mx"],my:["fluid-my"],mt:["fluid-mt"],mr:["fluid-mr"],mb:["fluid-mb"],ml:["fluid-ml"],ms:["fluid-ms"],me:["fluid-me"],"font-size":["fluid-text"],leading:["fluid-leading"],tracking:["fluid-tracking"],w:["fluid-w"],h:["fluid-h"],size:["fluid-size"],"min-w":["fluid-min-w"],"max-w":["fluid-max-w"],"min-h":["fluid-min-h"],"max-h":["fluid-max-h"],gap:["fluid-gap"],"gap-x":["fluid-gap-x"],"gap-y":["fluid-gap-y"],inset:["fluid-inset"],"inset-x":["fluid-inset-x"],"inset-y":["fluid-inset-y"],top:["fluid-top"],right:["fluid-right"],bottom:["fluid-bottom"],left:["fluid-left"],start:["fluid-start"],end:["fluid-end"],rounded:["fluid-rounded"],"rounded-t":["fluid-rounded-t"],"rounded-r":["fluid-rounded-r"],"rounded-b":["fluid-rounded-b"],"rounded-l":["fluid-rounded-l"],"rounded-tl":["fluid-rounded-tl"],"rounded-tr":["fluid-rounded-tr"],"rounded-br":["fluid-rounded-br"],"rounded-bl":["fluid-rounded-bl"],"border-w":["fluid-border"],"border-w-t":["fluid-border-t"],"border-w-r":["fluid-border-r"],"border-w-b":["fluid-border-b"],"border-w-l":["fluid-border-l"],"space-x":["fluid-space-x"],"space-y":["fluid-space-y"],"translate-x":["fluid-translate-x"],"translate-y":["fluid-translate-y"],basis:["fluid-basis"],"scroll-m":["fluid-scroll-m"],"scroll-mx":["fluid-scroll-mx"],"scroll-my":["fluid-scroll-my"],"scroll-mt":["fluid-scroll-mt"],"scroll-mr":["fluid-scroll-mr"],"scroll-mb":["fluid-scroll-mb"],"scroll-ml":["fluid-scroll-ml"],"scroll-p":["fluid-scroll-p"],"scroll-px":["fluid-scroll-px"],"scroll-py":["fluid-scroll-py"],"scroll-pt":["fluid-scroll-pt"],"scroll-pr":["fluid-scroll-pr"],"scroll-pb":["fluid-scroll-pb"],"scroll-pl":["fluid-scroll-pl"]}}})}function YU(t){return uy(t,{extend:{theme:{radius:["2","5","10","15","20","25"],text:["white","black","neutral-565"]},classGroups:{"app-title":[{"app-title":[mb.isNumber]}],"app-text":[{"app-text":[mb.isNumber]}]},conflictingClassGroups:{"app-title":["app-text"],"app-text":["app-title"]}}})}const KU=EC(GU,YU),{cva:XU,cx:fy}=uU({hooks:{onComplete:t=>KU(t)}}),BV=t=>t,QU=["aria-hidden","innerHTML"],JU=Cr({__name:"AppSvg",props:{name:{},raw:{},ariaHidden:{default:!0},class:{}},setup(t){const e=t,r=st(),n=Object.assign({
42"/assets/svg/arrow-left.svg":()=>Te(()=>import("./Y7xjQW0f.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/arrow-right.svg":()=>Te(()=>import("./B4sEoD1x.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/arrow-top-right.svg":()=>Te(()=>import("./C2RCIDgo.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/author-placeholder_clean.svg":()=>Te(()=>import("./Cnwmf5iE.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/check.svg":()=>Te(()=>import("./BDvSLcm7.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/chevron-down.svg":()=>Te(()=>import("./DG8nDhLk.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/discord.svg":()=>Te(()=>import("./DF0wBbde.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/gitbook.svg":()=>Te(()=>import("./BmrZuUZ0.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/gitlab.svg":()=>Te(()=>import("./BMQSRnHe.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/reddit.svg":()=>Te(()=>import("./BFAy4TFB.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/avalanche.svg":()=>Te(()=>import("./LjC-gOXP.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/bitcoin-cash.svg":()=>Te(()=>import("./DtKy2FM3.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/bitcoin.svg":()=>Te(()=>import("./QAO5d-15.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/bittensor.svg":()=>Te(()=>import("./BFOj1abZ.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/bnb-smart-chain.svg":()=>Te(()=>import("./B8nQvEg2.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/circle-usdc.svg":()=>Te(()=>import("./CPWzwjJY.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/cosmos.svg":()=>Te(()=>import("./DJdfWBqP.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/dogecoin.svg":()=>Te(()=>import("./BCX4f51p.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/ethereum.svg":()=>Te(()=>import("./Bf233i0P.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/litecoin.svg":()=>Te(()=>import("./-4Wvc7mJ.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/monero.svg":()=>Te(()=>import("./D_ZdcDVf.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/solana.svg":()=>Te(()=>import("./CBGYfrMQ.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/tether-usdt.svg":()=>Te(()=>import("./Bh5n-hUj.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/tron.svg":()=>Te(()=>import("./DYeH8tSz.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/xrp-ledger.svg":()=>Te(()=>import("./BU3hbhR9.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/tech/zcash.svg":()=>Te(()=>import("./Cyrnpo3K.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/telegram.svg":()=>Te(()=>import("./Csk2nYEw.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/x.svg":()=>Te(()=>import("./CaQp-UJX.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/content/youtube.svg":()=>Te(()=>import("./CpQN0ngd.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/icon-background_clean.svg":()=>Te(()=>import("./igc5fDnT.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/minus.svg":()=>Te(()=>import("./DPrbzDMw.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/plus.svg":()=>Te(()=>import("./CCAe6Xc8.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/search.svg":()=>Te(()=>import("./DYFR5WEJ.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/small-logo-gradient_clean.svg":()=>Te(()=>import("./D1s20lCx.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/small-logo.svg":()=>Te(()=>import("./QEnIrQxf.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/arrows.svg":()=>Te(()=>import("./BOzyFkE4.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/all_clean.svg":()=>Te(()=>import("./D1kNlWed.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/avalanche_clean.svg":()=>Te(()=>import("./Tt_Vf80Q.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/bnb_clean.svg":()=>Te(()=>import("./C-U7K0oM.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/ethereum_clean.svg":()=>Te(()=>import("./dXYKlcGm.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/solana_clean.svg":()=>Te(()=>import("./DYnRy71-.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/tron_clean.svg":()=>Te(()=>import("./DLwQ5gc4.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chains/xrp_clean.svg":()=>Te(()=>import("./BpCslyRe.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/chevron.svg":()=>Te(()=>import("./D95Int2I.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/coins/btc_clean.svg":()=>Te(()=>import("./hqQA-YEv.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/coins/doge_clean.svg":()=>Te(()=>import("./D1OV9hu0.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/coins/eth_clean.svg":()=>Te(()=>import("./BJ6MZ7gA.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/coins/usdc_clean.svg":()=>Te(()=>import("./BFhX18KE.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/coins/usdt_clean.svg":()=>Te(()=>import("./D4teJAm9.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/completed.svg":()=>Te(()=>import("./CNRZtPRk.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/cross.svg":()=>Te(()=>import("./DWuclqsg.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/swap/cursor_clean.svg":()=>Te(()=>import("./D8yVAGZQ.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/text-logo.svg":()=>Te(()=>import("./S-2bFoTt.js"),[],import.meta.url).then(s=>s.default),
42"/assets/svg/uncheck.svg":()=>Te(()=>import("./tiBJ98sS.js"),[],import.meta.url)
42.then(s=>s.default)});async function i(){const s=`/assets/svg/${e.name}.svg`;try{if(!n[s])throw new Error("error");return n[s]()}catch{return}}return Zf(async()=>{r.value=e.raw||await i()}),(s,o)=>(vt(),Jn("span",{"aria-hidden":e.ariaHidden,class:ki(ge(fy)(`
43      inline-flex size-24 items-center justify-center overflow-visible text-0
44      [&>svg]:size-full
45    `,e.class)),innerHTML:ge(r)},null,10,QU))}}),ZU=Object.assign(JU,{__name:"AppSvg"});function TC(t,e){const r={};return e.forEach(n=>{r[n]=t[n]}),r}function UV(t,e){return!!t&&typeof t=="object"&&e.every(r=>typeof t[r]<"u"&&t[r]!==null)}function CC(t){if(!("props"in t))return{};const e={};for(const r in t.props)e[r]=void 0;return e}const ez=qP("menu",()=>{const t=st(!1);function e(){t.value=!0}function r(){t.value=!1}function n(){t.value=!t.value}return{isOpen:t,open:e,close:r,toggle:n}}),tz=Cr({__name:"AppLink",props:_w({email:{},tel:{},place:{},custom:{},to:{},href:{},external:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetchedClass:{},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean}},{...CC(Qd)}),setup(t){const e=t,{$lenis:r}=qe(),n=$i(),i=fr(),{close:s}=ez(),o=_$(),a=An();function l(b){const[_,y=""]=b.split("#"),[m,v=""]=_.split("?"),w=`${v?`?${v}`:""}${y?`#${y}`:""}`;if(zu(o.host))return m==="/blog"||m==="/blog/"?`/${w}`:m?.startsWith("/blog/")?`/${m.slice(6)}${w}`:m==="/"||m==="/authors"||m?.startsWith("/authors/")?b:`${Sg}${b}`;if(PB(o.host)){if(m==="/blog"||m==="/blog/")return`${Jo}/${w}`;if(m?.startsWith("/blog/"))return`${Jo}/${m.slice(6)}${w}`;if(m==="/authors"||m?.startsWith("/authors/"))return`${Jo}${b}`}return b}function c(b){if(typeof b=="string")return b.startsWith("/")?l(b):b;if(!b||typeof b!="object")return b;try{const _=i.resolve(b);if(a.public.useCanonicalBlogLinks&&"name"in b&&b.name==="blog-slug"){const y=_.fullPath.replace(/^\/blog(?=\/)/,"");return zu(o.host)?y:`${Jo}${y}`}return zu(o.host)&&"name"in b&&b.name==="index"?`${Sg}${_.fullPath}`:l(_.fullPath)}catch{return b}}function u(b){return typeof b=="string"&&/^(?:https?:|mailto:|tel:)/.test(b)}function d(b){return u(b)?(s(),!0):!1}const h=ke(()=>{const b=TC(e,Object.keys(Qd.props)),{email:_,tel:y,place:m}=e;return _?b.to=`mailto:${e.email}`:y?b.to=`tel:${e.tel}`:m?b.to=`https://www.google.com/maps/search/?api=1&query=${encodeURI(m)}`:b.to=c(b.to),b.prefetch===void 0&&b.noPrefetch===void 0&&(b.noPrefetch=!0),b});function f(b){if(!e.to)return;const _=h.value.to;if(d(_))return;i.resolve(_??e.to).fullPath===n.fullPath&&(b.preventDefault(),r.scrollTo(0),s())}const p=!!Ba().value;return(b,_)=>(vt(),Vr(ge(Qd),ba({external:p||u(ge(h).to)},ge(h),{class:"focus:outline-none",onClick:f}),{default:Ha(()=>[WA(b.$slots,"default")]),_:3},16,["external"]))}}),Eu=Object.assign(tz,{__name:"AppLink"}),rz=["aria-label"],nz=Cr({__name:"AppButton",props:_w({as:{},label:{},icon:{},iconClass:{},showAsHover:{type:Boolean},theme:{},email:{},tel:{},place:{},custom:{},to:{},href:{},external:{type:Boolean},target:{},rel:{},noRel:{type:Boolean},prefetchedClass:{},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},trailingSlash:{},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean},class:{}},{...CC(Eu),as:Eu,showAsHover:!1,theme:"default",icon:()=>({name:"arrow-top-right"})}),setup(t){const e=t,r=XU({base:"group flex-parent-center w-fit gap-10 rounded-full border transition-normal transition-[background,color,border-color] [--circle-bg-color:transparent] [--circle-color:black]",variants:{theme:{default:`
46        border-black text-black [--circle-color:black]
47        hover-focus:bg-black hover-focus:text-green-100 hover-focus:[--circle-bg-color:black]
48      `,inverse:`
49        border-white text-white [--circle-color:white]
50        hover-focus:bg-white hover-focus:text-black hover-focus:[--circle-bg-color:black] hover-focus:[--circle-color:black]
51      `,important:`
52        border-black bg-green-100 text-black [--circle-color:black]
53        hover-focus:bg-white hover-focus:text-black hover-focus:[--circle-bg-color:black]
54      `,black:`
55        border-black bg-black text-white [--circle-color:white]
56        hover-focus:bg-neutral-900 hover-focus:text-white hover-focus:[--circle-bg-color:--color-neutral-900]
57      `,white:`
58        border-white bg-white text-black [--circle-color:black]
59        hover-focus:bg-transparent hover-focus:text-white hover-focus:[--circle-bg-color:transparent] hover-focus:[--circle-color:transparent]
60      `},hasIcon:{true:"px-24 py-20",false:"p-15"}}}),n=ke(()=>TC(e,Object.keys(Eu.props)));return(i,s)=>{const o=ZU;return vt(),Vr(gw(e.as),ba({...e.as===ge(Eu)?ge(n):{},...e.showAsHover?{"data-hovered":!0}:{}},{class:ge(r)({class:e.class,theme:e.theme,hasIcon:!!e.icon})}),{default:Ha(()=>[e.label?(vt(),Jn("span",{key:0,class:"overflow-hidden","aria-label":e.label},[(vt(!0),Jn(Bt,null,mw(e.label.split(""),(a,l)=>(vt(),Jn("span",{key:l,"aria-hidden":"true",class:"inline-block whitespace-pre-wrap transition-normal text-shadow-[0_1.5em_0_currentColor] group-hover-focus:-translate-y-full",style:ps({transitionDelay:`${l*.008}s`})},Kf(a),5))),128))],8,rz)):sf("",!0),e.icon?(vt(),Jn("div",{key:1,class:ki(ge(fy)(`
61        relative flex-parent-center size-17 overflow-hidden rounded-full border border-(--circle-color) bg-(--circle-bg-color) transition-normal is-animated
62        group-hover-focus:scale-150
63      `,e.iconClass))},[pt(o,{name:e.icon.name,raw:e.icon.raw,class:"size-full fill-current transition-normal is-animated group-hover-focus:translate-x-full group-hover-focus:-translate-y-full"},null,8,["name","raw"]),pt(o,{name:e.icon.name,raw:e.icon.raw,class:"absolute top-0 left-0 size-full -translate-x-full translate-y-full fill-white transition-normal is-animated group-hover-focus:translate-0"},null,8,["name","raw"])],2)):sf("",!0)]),_:1},16,["class"])}}}),iz=Object.assign(nz,{__name:"AppButton"}),sz=["data-src","data-srcset","alt","draggable","loading","fetchpriority","width","height"],oz={key:0,class:"mt-10 text-center app-text-16"},az=Cr({__name:"CustomSanityImage",props:{assetId:{},alt:{default:""},caption:{},crop:{},hotspot:{},lqip:{},width:{},height:{},objectFit:{default:"cover"},objectPosition:{default:"center center"},draggable:{default:!1},preload:{type:[Boolean,String],default:!1},lazyload:{type:[String,Boolean],default:"observer"},lazyloadObserverOptions:{default:()=>({offset:-1500,threshold:0})},addToPageTransitionLoader:{type:[Boolean,String],default:!1},class:{}},emits:["loading","load","error"],setup(t,{expose:e,emit:r}){const n=t,i=r,{$urlFor:s}=qe(),o=Jh("root"),a=Jh("image"),l=st("idle");let c=Sn,u;const d=ke(()=>s({crop:n.crop,hotspot:n.hotspot,_ref:n.assetId}).fit("scale")),h=ke(()=>d.value.blur(50).quality(50)),f=ke(()=>[640,768,1024,1366,1600,1920].map(v=>d.value.width(v).url().concat(` ${v}w`)).join(", "));function g(){c=Vm(o,{...n.lazyloadObserverOptions,once:!0,activeClass:!1,onEnter:p}).stop}function p(){return l.value!=="loading"&&l.value!=="error"&&l.value!=="loaded"&&a.value&&(l.value="loading",a.value.dataset.src&&(a.value.src=a.value.dataset.src),a.value.dataset.srcset&&(a.value.srcset=a.value.dataset.srcset),delete a.value.dataset.src,delete a.value.dataset.srcset),u}ai(()=>{u=new Promise((v,w)=>{a.value?.addEventListener("load",v,{once:!0}),a.value?.addEventListener("error",w,{once:!0})}),u.then(v=>{l.value="loaded",i("load",v)}).catch(v=>{l.value="error",i("error",v)}).finally(()=>{c()}),n.lazyload==="observer"?g():p()}),n.preload&&om({link:[{rel:"preload",as:"image",href:d.value.url(),imagesrcset:f,...typeof n.preload=="string"?{fetchpriority:n.preload}:{}}]}),As(()=>{c()}),e({state:l,load:p});const b=ke(()=>(n.width??1)*(1-(n.crop?.left??0)-(n.crop?.right??0))),_=ke(()=>(n.height??1)*(1-(n.crop?.top??0)-(n.crop?.bottom??0))),y=ke(()=>n.preload?"eager":"lazy"),m=ke(()=>{if(n.preload==="high")return"high";if(n.preload==="low")return"low"});return(v,w)=>(vt(),Jn("figure",{ref:"root",style:ps({...n.objectFit==="initial"?{aspectRatio:(ge(b)/ge(_)).toFixed(5)}:{}}),class:ki(ge(fy)("relative overflow-hidden text-0 select-none",n.class))},[ro("div",{class:ki(["absolute size-full transition-normal",{"opacity-0":ge(l)==="loaded"}]),style:ps({background:`url(${ge(h).url()})`,backgroundPosition:n.objectPosition??"center center",backgroundSize:n.objectFit==="initial"?"100% 100%":n.objectFit,backgroundRepeat:"no-repeat"})},null,6),ro("img",{ref:"image",class:ki(["relative z-10 size-full opacity-0 transition-normal",{"opacity-100":ge(l)==="loaded"}]),"data-src":ge(d).url(),"data-srcset":ge(f),alt:n.alt,draggable:n.draggable,loading:ge(y),fetchpriority:ge(m),width:ge(b).toFixed(0),height:ge(_).toFixed(0),style:ps({objectFit:t.objectFit,objectPosition:t.objectPosition})},null,14,sz),n.caption?(vt(),Jn("figcaption",oz,Kf(n.caption),1)):sf("",!0)],6))}}),lz=Object.assign(az,{__name:"CustomSanityImage"});function dy(t,...e){const r=t.length-1;return t.slice(0,r).reduce((n,i,s)=>n+i+e[s],"")+t[r]}const cz=dy`
64  "assetId": asset->_id,
65  "alt": coalesce(alt, asset->altText, ''),
66  caption,
67  crop {
68    bottom,
69    left,
70    right,
71    top
72  },
73  hotspot {
74    width,
75    height,
76    x,
77    y
78  },
79  "lqip": asset->metadata.lqip,
80  "width": asset->metadata.dimensions.width,
81  "height": asset->metadata.dimensions.height
82`;function uz(t){if(!(!t||!t.assetId))return{...t,assetId:t.assetId}}const fz=dy`
83  defined(internalRef) => {
84    "page": internalRef->{
85      "type": _type,
86      defined(slug.current) => {
87        "slug": slug.current
88      }
89    }
90  },
91  defined(url) => { url },
92  defined(isInternal) => { isInternal },
93  defined(label) => { label },
94  defined(theme) => { theme },
95  title,
96  openInNewTab,
97  anchor,
98  getParameters
99`;function dz(t,e){if(!t)return;const r={},{asLink:n=!1}=e??{};if(t.isInternal){const{type:i,slug:s}=t.page??{},o=t.getParameters?Object.fromEntries(new URLSearchParams(t.getParameters).entries()):void 0,a={...t.anchor?{hash:t.anchor}:{},...o?{query:o}:{}};if(i==="homePage")r.to={name:"index",...a};else if(i==="page"&&s)r.to={name:"slug",params:{slug:s},...a};else if(i==="article"&&s)r.to={name:"blog-slug",params:{slug:s},...a};else if(i==="author"&&s)r.to={name:"authors-slug",params:{slug:s},...a};else return}else{if(!t.url)return;r.to=t.url}if(!n){if(!t.label)return;r.label=t.label}return r.title=t.title,r.theme=t.theme,t.openInNewTab&&(r.target="_blank"),r}const hz=dy`
100*[_type == "error"] {
101  title,
102  button { ${fz} },
103  images[] { ${cz} }
104}[0]
105`;function pz(t){if(t)return{title:t.title,button:dz(t.button),images:t.images?.map(e=>uz(e)).filter(pm)}}const gz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hy=/_key\s*==\s*['"](.*)['"]/,mz=/^\d*:\d*$/;function py(t){return typeof t=="number"||typeof t=="string"&&/^\[\d+\]$/.test(t)}function Sd(t){return typeof t=="string"?hy.test(t.trim()):typeof t=="object"&&"_key"in t}function AC(t){if(typeof t=="string"&&mz.test(t))return!0;if(!Array.isArray(t)||t.length!==2)return!1;const[e,r]=t;return(typeof e=="number"||e==="")&&(typeof r=="number"||r==="")}function yz(t,e,r){const n=typeof e=="string"?gy(e):e;if(!Array.isArray(n))throw new Error("Path must be an array or a string");let i=t;for(let s=0;s<n.length;s++){const o=n[s];if(py(o)){if(!Array.isArray(i))return r;i=i[o]}
105if(Sd(o)){if(!Array.isArray(i))return r;i=i.find(a=>a._key===o._key)}if(typeof o=="string"&&(i=typeof i=="object"&&i!==null?i[o]:void 0),typeof i>"u")return r}return i}function _z(t){if(!Array.isArray(t))throw new Error("Path is not an array");return t.reduce((e,r,n)=>{const i=typeof r;if(i==="number")return`${e}[${r}]`;if(i==="string")return`${e}${n===0?"":"."}${r}`;if(Sd(r)&&r._key)return`${e}[_key=="${r._key}"]`;if(Array.isArray(r)){const[s,o]=r;return`${e}[${s}:${o}]`}throw new Error(`Unsupported path segment \`${JSON.stringify(r)}\``)},"")}function gy(t){if(typeof t!="string")throw new Error("Path is not a string");const e=t.match(gz);if(!e)throw new Error("Invalid path string");return e.map(vz)}function vz(t){return py(t)?bz(t):Sd(t)?wz(t):AC(t)?xz(t):t}function bz(t){return Number(t.replace(/[^\d]/g,""))}function wz(t){return{_key:t.match(hy)[1]}}function xz(t){const[e,r]=t.split(":").map(n=>n===""?n:Number(n));return[e,r]}var my=Object.freeze({__proto__:null,fromString:gy,get:yz,isIndexSegment:py,isIndexTuple:AC,isKeySegment:Sd,reKeySegment:hy,toString:_z});const Sz="drafts",Ez="versions",Uf=`${Sz}.`,kC=`${Ez}.`;function RC(t){return t.startsWith(Uf)}function yy(t){return t.startsWith(kC)}function zV(t){if(yy(t)){const e=_y(t);return Uf+e}return RC(t)?t:Uf+t}function VV(t,e){if(e==="drafts"||e==="published")throw new Error('Version can not be "published" or "drafts"');return`${kC}${e}.${_y(t)}`}function WV(t){if(!yy(t))return;const[e,r]=t.split(".");return r}function _y(t){return yy(t)?t.split(".").slice(2).join("."):RC(t)?t.slice(Uf.length):t}const zf={"\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","'":"\\'","\\":"\\\\"},_b={"\\f":"\f","\\n":`
106`,"\\r":"\r","\\t":"	","\\'":"'","\\\\":"\\"};function Tz(t){return`$${t.map(e=>typeof e=="string"?`['${e.replace(/[\f\n\r\t'\\]/g,r=>zf[r])}']`:typeof e=="number"?`[${e}]`:e._key!==""?`[?(@._key=='${e._key.replace(/['\\]/g,r=>zf[r])}')]`:`[${e._index}]`).join("")}`}function Cz(t){return t.map(e=>typeof e=="string"?`['${e.replace(/[\f\n\r\t'\\]/g,r=>zf[r])}']`:typeof e=="number"?`[${e}]`:e._key!==""?`[?(@._key=='${e._key.replace(/['\\]/g,r=>zf[r])}')]`:`[${e._index}]`)}function Az(t){const e=[],r=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;let n;for(;(n=r.exec(t))!==null;){if(n[1]!==void 0){const i=n[1].replace(/\\(\\|f|n|r|t|')/g,s=>_b[s]);e.push(i);continue}if(n[2]!==void 0){e.push(parseInt(n[2],10));continue}if(n[3]!==void 0){const i=n[3].replace(/\\(\\')/g,s=>_b[s]);e.push({_key:i,_index:-1});continue}}return e}function kz(t){return t.map(e=>{if(typeof e=="string"||typeof e=="number")return e;if(e._key!=="")return{_key:e._key};if(e._index!==-1)return e._index;throw new Error(`invalid segment:${JSON.stringify(e)}`)})}function Rz(t){return(typeof t=="string"?gy(t):t).map(e=>{if(typeof e=="string"||typeof e=="number")return e;if(Array.isArray(e))throw new Error(`IndexTuple segments aren't supported:${JSON.stringify(e)}`);if(Pz(e))return e;if(e._key)return{_key:e._key,_index:-1};throw new Error(`invalid segment:${JSON.stringify(e)}`)})}function Pz(t){return typeof t=="object"&&"_key"in t&&"_index"in t}function vb(t){return t.map(e=>{if(typeof e=="string"||typeof e=="number")return e;if(e._index!==-1)return e._index;throw new Error(`invalid segment:${JSON.stringify(e)}`)})}function Oz(t,e){if(!e?.mappings)return;const r=Tz(vb(t));if(e.mappings[r]!==void 0)return{mapping:e.mappings[r],matchedPath:r,pathSuffix:""};const n=Cz(vb(t));for(let i=n.length-1;i>=0;i--){const s=`$${n.slice(0,i).join("")}`,o=e.mappings[s];if(o){const a=r.substring(s.length);return{mapping:o,matchedPath:s,pathSuffix:a}}}}function Mz(t){const{resultSourceMap:e,resultPath:r}=t,{mapping:n,pathSuffix:i}=Oz(r,e)||{};if(!n||n.source.type==="literal"||n.source.type==="unknown")return;const s=e.documents[n.source.document],o=e.paths[n.source.path];if(s&&o){const{baseUrl:a,workspace:l,tool:c}=Iz(typeof t.studioUrl=="function"?t.studioUrl(s):t.studioUrl);if(!a)return;const{_id:u,_type:d,_projectId:h,_dataset:f}=s;return{baseUrl:a,workspace:l,tool:c,id:u,type:d,path:Az(o+i),projectId:h,dataset:f}}}function Iz(t){let e=typeof t=="string"?t:t.baseUrl;return e!=="/"&&(e=e.replace(/\/$/,"")),typeof t=="string"?{baseUrl:e}:{...t,baseUrl:e}}const $z={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function Dz(t){return $z}let Lz;function Nz(t){return Lz?.get(t)}let Fz;function jz(t){return Fz?.get(t)}let Hz;function Bz(t,e){return Hz?.get(t)?.get(e)}function Uz(t){const e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&Object.getPrototypeOf(t)?.constructor?.name)??"null":e}function Vf(t,e,r,n,i){const s=i&&"input"in i?i.input:r.value,o=i?.expected??t.expects??null,a=i?.received??Uz(s),l={kind:t.kind,type:t.type,input:s,expected:o,received:a,message:`Invalid ${e}: ${o?`Expected ${o} but r`:"R"}eceived ${a}`,requirement:t.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},c=t.kind==="schema",u=i?.message??t.message??Bz(t.reference,l.lang)??(c?jz(l.lang):null)??n.message??Nz(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),c&&(r.typed=!1),r.issues?r.issues.push(l):r.issues=[l]}const bb=new WeakMap;function Fc(t){let e=bb.get(t);return e||(e={version:1,vendor:"valibot",validate(r){return t["~run"]({value:r},Dz())}},bb.set(t,e)),e}
106function PC(t,e){return{kind:"validation",type:"min_length",reference:PC,async:!1,expects:`>=${t}`,requirement:t,message:e,"~run"(r,n){return r.typed&&r.value.length<this.requirement&&Vf(this,"length",r,n,{received:`${r.value.length}`}),r}}}const zz={abortEarly:!0};function OC(t,e,r){return typeof t.fallback=="function"?t.fallback(e,r):t.fallback}function Vz(t,e){return{...t,fallback:e,get"~standard"(){return Fc(this)},"~run"(r,n){const i=t["~run"](r,n);return i.issues?{typed:!0,value:OC(this,i,n)}:i}}}function MC(t,e,r){return typeof t.default=="function"?t.default(e,r):t.default}function Wz(t,e){return!t["~run"]({value:e},zz).issues}function IC(t,e){return{kind:"schema",type:"object",reference:IC,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return Fc(this)},"~run"(r,n){const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const s in this.entries){const o=this.entries[s];if(s in i||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){const a=s in i?i[s]:MC(o),l=o["~run"]({value:a},n);if(l.issues){const c={type:"object",origin:"value",input:i,key:s,value:a};for(const u of l.issues)u.path?u.path.unshift(c):u.path=[c],r.issues?.push(u);if(r.issues||(r.issues=l.issues),n.abortEarly){r.typed=!1;break}}l.typed||(r.typed=!1),r.value[s]=l.value}else if(o.fallback!==void 0)r.value[s]=OC(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(Vf(this,"key",r,n,{input:void 0,expected:`"${s}"`,path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]}),n.abortEarly))break}}else Vf(this,"type",r,n);return r}}}function $C(t,e){return{kind:"schema",type:"optional",reference:$C,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return Fc(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=MC(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function vy(t){return{kind:"schema",type:"string",reference:vy,expects:"string",async:!1,message:t,get"~standard"(){return Fc(this)},"~run"(e,r){return typeof e.value=="string"?e.typed=!0:Vf(this,"type",e,r),e}}}function qz(...t){return{...t[0],pipe:t,get"~standard"(){return Fc(this)},"~run"(e,r){for(const n of t)if(n.kind!=="metadata"){if(e.issues&&(n.kind==="schema"||n.kind==="transformation")){e.typed=!1;break}(!e.issues||!r.abortEarly&&!r.abortPipeEarly)&&(e=n["~run"](e,r))}return e}}}const qu=qz(vy(),PC(1)),sl=$C(qu),Gz=IC({baseUrl:qu,dataset:sl,id:qu,path:qu,projectId:sl,tool:sl,type:sl,workspace:sl,perspective:Vz(vy(),"drafts")});function Yz(t){return Wz(Gz,t)}function Kz(t){return t!==null&&Array.isArray(t)}function Xz(t){let e="";for(const r of t){if(typeof r=="string"){e&&(e+="."),e+=r;continue}if(typeof r=="number"){e&&(e+=":"),e+=`${r}`;continue}if(Kz(r)){e&&(e+=":"),e+=`${r.join(",")}}`;continue}if(r._key){e&&(e+=":"),e+=`${r._key}`;continue}}return e}function Qz(t){const{id:e,path:r,baseUrl:n,tool:i,workspace:s,type:o}=t;return Yz(t)?[["id",_y(e)],["type",o],["path",Xz(my.fromString(r))],["base",encodeURIComponent(n)],["workspace",s],["tool",i]].filter(([,a])=>!!a).map(a=>a.join("=")).join(";"):void 0}const Jz=(t,e,r,n)=>{if(!e||!r)return;const i=Rz(n),s=Mz({resultPath:i,resultSourceMap:e,studioUrl:r});if(s)return Qz({baseUrl:s.baseUrl,workspace:s.workspace,tool:s.tool,type:s.type,id:s.id,path:typeof s.path=="string"?s.path:my.toString(kz(s.path))})};function DC(t,e,r,n){const i=o=>o?typeof o=="string"?my.fromString(o):o:[],s=i(n);return Object.assign(o=>Jz(t,e,r,[...s,...i(o)]),{scope:o=>DC(t,e,r,[...s,...i(o)])})}function Zz(t){return Object.fromEntries(Object.entries(t).filter(([,e])=>e!==void 0))}function eV({clientConfig:t,lastLiveEventId:e,liveContentEnabled:r,perspective:n,queryOptions:i,runtimeConfig:s,stega:o,visualEditingEnabled:a}){const l=t?.stega?.enabled&&typeof t?.stega.studioUrl<"u"&&a||void 0,c=o??l,d=n!=="published"&&n!=="raw"?s?.liveContent?.serverToken??(a?s?.visualEditing?.token:void 0):void 0,h=i?.token??d,f=i?.useCdn??(r?n==="published":void 0),g=i?.cacheMode??(r&&f?"noStale":void 0),p=i?.resultSourceMap??(a?"withKeyArraySelector":void 0);return{...i,...Zz({filterResponse:!1,returnQuery:!0,resultSourceMap:p,cacheMode:g,lastLiveEventId:e,perspective:n,stega:c,token:h,useCdn:f})}}function tV(){return za("sanity-preview-environment",()=>"checking")}function rV(){const t=tV();return ke(()=>t.value==="checking"?null:["presentation-iframe","presentation-window"].includes(t.value))}const nV="sanity-preview-perspective";function LC(t,e){return typeof t=="string"?t==="published"||t==="drafts"||t==="previewDrafts"||e&&t==="raw":Array.isArray(t)?t.every(r=>typeof r=="string"):!1}const iV=(t,e)=>{const r=typeof t=="string"&&t.includes(",")?t.split(","):t;try{return LC(r,!1)?r:e}catch(n){return console.warn("Invalid perspective:",t,r,n),e}},sV=(t,e)=>{const r=zm(),n=u$(nV,{default:()=>null,sameSite:"none",secure:!0,path:"/"});return ke({get(){return t||(r?.enabled?iV(n.value,"drafts"):e||"published")},set(i){try{if(LC(i,!0))n.value=i;else throw new Error("Invalid perspective value provided")}catch{n.value=null}}})},wb=t=>({fetch:(e,r,n)=>$fetch(t,{method:"POST",body:{query:e,params:r,options:n}})}),oV=({client:t,queryKey:e,liveStore:r})=>{const n=za(`tags:${e}`,()=>[]);let i=()=>{},s=()=>{};if(r){const a=r.subscribe(e,(l,c)=>{const u=new Set(l);n.value.some(d=>u.has(d))&&(c(),zI(e))});i=a.unsubscribe,s=a.getLastLiveEventId}return{fetchTags:async(a,l,c)=>{const{syncTags:u}=await t.fetch(a,l,{...c,resultSourceMap:!1,returnQuery:!1,stega:!1,tag:["fetch-sync-tags"].filter(
106Boolean).join(".")});n.value=u?.map(d=>`sanity:${d}`)||[]},getLastLiveEventId:s,unsubscribe:i}},aV=({onSnapshot:t,params:e,query:r,queryStore:n})=>{let i=()=>{};if(n){const s=o=>n.createFetcherStore(r,e?JSON.parse(JSON.stringify(e)):void 0,void 0).subscribe(c=>{c.data&&t(c.data,c.sourceMap)});i=s(),e&&Nt(e,(o,a,l)=>{l(()=>i()),i=s()})}return{unsubscribe:i}};function lV(t,e,r={}){const{client:n,key:i,perspective:s,stega:o,queryOptions:a,...l}=r,c=a?.perspective??s,u=a?.stega??o,d=TT(n),h=pd(),f=zm(),g=d.client.config(),p=e?Tr(e):void 0,b=i||"sanity-"+qs(t+(p?JSON.stringify(p):"")),_=sV(c,g.perspective);l.watch=l.watch||[],l.watch.push(_),p&&l.watch.push(p);const y=st(null),m=st(null),v=st(()=>{}),w=(B,A)=>{y.value=B,m.value=A||null,v.value=DC(B,A,h.visualEditing?.studioUrl)},E=h.visualEditing&&f?.enabled&&_.value!=="published"?wb(h.visualEditing.proxyEndpoint):h.queryEndpoint?wb(h.queryEndpoint):d.client;let x,S;const T=rV();Nt(T,(B,A,I)=>{I(()=>{S?.unsubscribe?.(),x?.unsubscribe()});const $=!!(f?.enabled&&h.visualEditing?.mode==="live-visual-editing"&&B===!0);if($){S=aV({onSnapshot:w,params:p,query:t,queryStore:d.queryStore});return}h.liveContent&&!$&&(x=oV({client:d.client,liveStore:d.liveStore,queryKey:b}))},{immediate:!0});const P=h1(b,async()=>{const B=eV({clientConfig:g,lastLiveEventId:x?.getLastLiveEventId(),liveContentEnabled:!!h.liveContent,perspective:_.value,queryOptions:a,runtimeConfig:h,stega:u,visualEditingEnabled:!!f?.enabled});await x?.fetchTags(t,p,{cacheMode:_.value==="published"?"noStale":void 0,filterResponse:!1,perspective:_.value,useCdn:_.value==="published"});const{result:A,resultSourceMap:I}=await E.fetch(t,p||{},B);return w(A,I),{data:A,sourceMap:I}},l),{then:F,catch:O,finally:H,...Y}=P;return Object.assign(new Promise(B=>{P.then(A=>{A.data.value&&w(A.data.value.data,A.data.value.sourceMap),B({...Y,data:y,sourceMap:m,encodeDataAttribute:v})})}),{...Y,data:y,sourceMap:m,encodeDataAttribute:v})}const El=st([]);let Tu;const kg=ke(()=>El.value.length),Gu=st(0),cV=ke(()=>kg.value===0?0:Gu.value/kg.value);function uV(){const t=()=>(Tu||(Tu=Promise.allSettled(El.value.map(n=>n().finally(()=>{Gu.value++})))),Tu),e=()=>{Gu.value=0,El.value=[],Tu=void 0};function r(n){El.value.push(n)}return{promises:El,promisesLength:kg,fullfilledPromises:Gu,promisesProgress:cV,addPromise:r,resolveAll:t,flush:e}}function fV(t){const e=(i,s,o,a)=>{t({time:i,deltaTime:s,frame:o,elapsed:a})},r=()=>{Qt.ticker.add(e)},n=()=>{Qt.ticker.remove(e)};return Rc(n),{start:r,stop:n}}const dV={class:"relative flex-parent-center min-h-screen flex-col gap-40 overflow-hidden bg-neutral-200"},hV={class:"z-10 app-title-150"},pV={class:"pointer-events-none full-parent"},gV=100,mV=50,yV=Cr({__name:"error",async setup(t){let e,r;const{data:n}=([e,r]=GA(()=>lV(hz)),e=await e,r(),e),i=ke(()=>pz(n.value)),s=Jh("image");let o={x:0,y:0},a=o;const l=o;let c=0,u=null;const{flush:d}=uV(),{start:h,stop:f}=fV(_),{hooks:g}=qe(),p=ke(()=>i.value?.images?Array.from({length:mV}).map((m,v)=>i.value.images[v%i.value.images.length]).filter(pm):[]);function b(){if(!u)return;const m=u(c),v=s.value?.[m]?.$el;v&&(Qt.killTweensOf(v),Qt.timeline().set(v,{clearProps:"all"}).set(v,{opacity:0,left:o.x,top:o.y,xPercent:-50,yPercent:-50,scale:1+Math.random()*.5}).to(v,{opacity:1,rotation:"random([-360, 360])",duration:.2},"<").to(v,{y:"120vh",ease:"back.in(.8)",rotation:"random([-360, 360])",duration:1},0),c++)}function _(){const m=Math.hypot(a.x-o.x,a.y-o.y);l.x=Qt.utils.interpolate(l.x||o.x,o.x,.1),l.y=Qt.utils.interpolate(l.y||o.y,o.y,.1),m>gV&&(b(),a=o)}function y(m){o={x:m.x,y:m.y}}return ai(()=>
106{if(!s.value)return;window.addEventListener("mousemove",y),u=Qt.utils.wrap(0,s.value.length);const m=st($i()),v=st($i());g.callHook("transition:page-initial-enter",{el:void 0,from:m.value,to:v.value,done:()=>{g.callHook("transition:page-initial-enter-done",{from:m.value,to:v.value}),d()}}),h()}),As(()=>{window.removeEventListener("mousemove",y),f()}),(m,v)=>{const w=iz,E=lz,x=rC;return vt(),Vr(x,{name:"default"},{default:Ha(()=>[ro("div",dV,[ro("h1",hV,Kf(ge(i)?.title||"404 Error"),1),ge(i)?.button?(vt(),Vr(w,ba({key:0,class:"z-10"},ge(i)?.button,{external:""}),null,16)):sf("",!0),ro("div",pV,[(vt(!0),Jn(Bt,null,mw(ge(p),(S,T)=>(vt(),Vr(E,ba({key:T},{ref_for:!0},S,{ref_for:!0,ref:"image",class:"absolute w-50 opacity-0"}),null,16))),128))])])]),_:1})}}}),_V={key:0},xb={__name:"nuxt-root",setup(t){const e=()=>null,r=qe(),n=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",n),d=fr().beforeEach(()=>{u(),d()})}const i=!1;Ri(bo,$i()),r.hooks.callHookWith(u=>u.map(d=>d()),"vue:setup",[]);const s=Ba(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(u,d,h){const f=r.vueApp.config.errorHandler;if(f&&!f.__nuxt_default)try{f(u,d,h)}catch(g){console.error("[nuxt] Error in `app.config.errorHandler`",g)}}hw((u,d,h)=>{if(r.hooks.callHook("vue:error",u,d,h)?.catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),a.test(navigator.userAgent))return r.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(xx(u)&&(u.fatal||u.unhandled))return r.runWithContext(()=>Bs(u)),l(u,d,h),!1});const c=!1;return(u,d)=>(vt(),Vr(Jg,{onResolve:ge(n)},{default:Ha(()=>[ge(o)?(vt(),Jn("div",_V)):ge(s)?(vt(),Vr(ge(yV),{key:1,error:ge(s)},null,8,["error"])):ge(c)?(vt(),Vr(ge(e),{key:2,context:ge(c)},null,8,["context"])):ge(i)?(vt(),Vr(gw(ge(i)),{key:3})):(vt(),Vr(ge(cU),{key:4}))]),_:1},8,["onResolve"]))}};let Sb;{let t;Sb=async function(){if(t)return t;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),n=r?hR(xb):dR(xb),i=TP({vueApp:n});async function s(o){await i.callHook("app:error",o),i.payload.error||=gs(o)}s.__nuxt_default=!0,n.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{n.config.errorHandler===s&&(n.config.errorHandler=void 0)}),!r&&u_.id&&i.hook("app:suspense:resolve",()=>{document.getElementById(u_.id)?.remove()});try{await kP(i,KB)}catch(o){s(o)}try{await i.hooks.callHook("app:created",n),await i.hooks.callHook("app:beforeMount",n),n.mount(xP),await i.hooks.callHook("app:mounted",n),await oi()}catch(o){s(o)}return n},t=Sb().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{ZU as $,cz as A,Jo as B,pm as C,st as D,ki as E,Bt as F,fy as G,bV as H,xV as I,UV as J,dz as K,TC as L,fz as M,LA as N,ba as O,gw as P,rV as Q,kN as R,Ha as S,RV as T,qe as U,Jh as V,uV as W,Qt as X,Nt as Y,pt as Z,Te as _,FV as a,IE as a$,Fk as a0,Eu as a1,wV as a2,AV as a3,ct as a4,kV as a5,mm as a6,wt as a7,Ru as a8,Oe as a9,Ts as aA,Ia as aB,kf as aC,EF as aD,E0 as aE,PE as aF,Er as aG,tj as aH,Ue as aI,Mh as aJ,_y as aK,VV as aL,zV as aM,AE as aN,Va as aO,ha as aP,Rf as aQ,ME as aR,ej as aS,Mc as aT,WV as aU,RC as aV,yy as aW,BF as aX,KF as aY,XF as aZ,rj as a_,ni as aa,Rc as ab,An as ac,IV as ad,ez as ae,MV as af,pD as ag,TV as ah,ps as ai,iz as aj,BV as ak,fr as al,oi as am,As as an,WA as ao,vV as ap,zI as aq,$E as ar,WF as as,Ni as at,pE as au,fo as av,ui as aw,Mt as ax,xt as ay,ci as az,_$ as b,QF as b0,dF as b1,rE as b2,gt as b3,$V as b4,fV as b5,ZN as b6,Zf as b7,DV as b8,Sn as b9,PV as ba,Vm as bb,lz as bc,sg as bd,cD as be,HN as bf,TT as bg,za as bh,h1 as bi,SV as bj,EV as bk,OV as bl,Lc as bm,LV as bn,ze as bo,CV as bp,Sk as bq,Tr as br,$N as bs,zu as c,Cr as d,lV as e,ke as f,dy as g,gs as h,HV as i,om as j,Nx as k,Jn as l,sf as m,FP as n,ge as o,uz as p,vt as q,Vr as r,jV as s,ai as t,$i as u,ro as v,GA as w,Uw as x,Kf as y,mw as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.