slds-json-schema-renderer 1.5.2 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  (function(Ie,je){typeof exports=="object"&&typeof module<"u"?je(exports):typeof define=="function"&&define.amd?define(["exports"],je):(Ie=typeof globalThis<"u"?globalThis:Ie||self,je(Ie.JsonSchemaDocs={}))})(this,function(Ie){"use strict";/**
2
- * @vue/shared v3.5.15
2
+ * @vue/shared v3.5.16
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function je(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const it={},ss=[],Gt=()=>{},gf=()=>!1,an=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ti=t=>t.startsWith("onUpdate:"),yt=Object.assign,ei=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},yf=Object.prototype.hasOwnProperty,tt=(t,e)=>yf.call(t,e),U=Array.isArray,ns=t=>ln(t)==="[object Map]",tr=t=>ln(t)==="[object Set]",W=t=>typeof t=="function",ct=t=>typeof t=="string",ue=t=>typeof t=="symbol",at=t=>t!==null&&typeof t=="object",er=t=>(at(t)||W(t))&&W(t.then)&&W(t.catch),sr=Object.prototype.toString,ln=t=>sr.call(t),vf=t=>ln(t).slice(8,-1),nr=t=>ln(t)==="[object Object]",si=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,bs=je(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cn=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},bf=/-(\w)/g,Nt=cn(t=>t.replace(bf,(e,s)=>s?s.toUpperCase():"")),_f=/\B([A-Z])/g,Be=cn(t=>t.replace(_f,"-$1").toLowerCase()),un=cn(t=>t.charAt(0).toUpperCase()+t.slice(1)),ni=cn(t=>t?`on${un(t)}`:""),we=(t,e)=>!Object.is(t,e),ii=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ir=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},xf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Sf=t=>{const e=ct(t)?Number(t):NaN;return isNaN(e)?t:e};let or;const fn=()=>or||(or=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function oi(t){if(U(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ct(n)?Pf(n):oi(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ct(t)||at(t))return t}const Tf=/;(?![^(]*\))/g,wf=/:([^]+)/,Af=/\/\*[^]*?\*\//g;function Pf(t){const e={};return t.replace(Af,"").split(Tf).forEach(s=>{if(s){const n=s.split(wf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ct(t){let e="";if(ct(t))e=t;else if(U(t))for(let s=0;s<t.length;s++){const n=Ct(t[s]);n&&(e+=n+" ")}else if(at(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Cf=je("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function rr(t){return!!t||t===""}const ar=t=>!!(t&&t.__v_isRef===!0),Z=t=>ct(t)?t:t==null?"":U(t)||at(t)&&(t.toString===sr||!W(t.toString))?ar(t)?Z(t.value):JSON.stringify(t,lr,2):String(t),lr=(t,e)=>ar(e)?lr(t,e.value):ns(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[ri(n,o)+" =>"]=i,s),{})}:tr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>ri(s))}:ue(e)?ri(e):at(e)&&!U(e)&&!nr(e)?String(e):e,ri=(t,e="")=>{var s;return ue(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Ef={NODE_ENV:"production"};let Vt;class Mf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Vt,!e&&Vt&&(this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Vt;try{return Vt=this,e()}finally{Vt=s}}}on(){++this._on===1&&(this.prevScope=Vt,Vt=this)}off(){this._on>0&&--this._on===0&&(Vt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Vf(){return Vt}let ot;const ai=new WeakSet;class cr{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=void 0,Vt&&Vt.active&&Vt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ai.has(this)&&(ai.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||fr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gr(this),hr(this);const e=ot,s=zt;ot=this,zt=!0;try{return this.fn()}finally{dr(this),ot=e,zt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)fi(e);this.deps=this.depsTail=void 0,gr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ai.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ui(this)&&this.run()}get dirty(){return ui(this)}}let ur=0,_s,xs;function fr(t,e=!1){if(t.flags|=8,e){t.next=xs,xs=t;return}t.next=_s,_s=t}function li(){ur++}function ci(){if(--ur>0)return;if(xs){let e=xs;for(xs=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;_s;){let e=_s;for(_s=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function hr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function dr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),fi(n),Df(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function ui(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(pr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function pr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ss)||(t.globalVersion=Ss,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ui(t))))return;t.flags|=2;const e=t.dep,s=ot,n=zt;ot=t,zt=!0;try{hr(t);const i=t.fn(t._value);(e.version===0||we(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ot=s,zt=n,dr(t),t.flags&=-3}}function fi(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)fi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Df(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let zt=!0;const mr=[];function Xt(){mr.push(zt),zt=!1}function Zt(){const t=mr.pop();zt=t===void 0?!0:t}function gr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ot;ot=void 0;try{e()}finally{ot=s}}}let Ss=0;class Of{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hi{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}track(e){if(!ot||!zt||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new Of(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,yr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ot.depsTail,s.nextDep=void 0,ot.depsTail.nextDep=s,ot.depsTail=s,ot.deps===s&&(ot.deps=n)}return s}trigger(e){this.version++,Ss++,this.notify(e)}notify(e){li();try{Ef.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ci()}}}function yr(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)yr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const di=new WeakMap,Ne=Symbol(""),pi=Symbol(""),Ts=Symbol("");function At(t,e,s){if(zt&&ot){let n=di.get(t);n||di.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new hi),i.map=n,i.key=s),i.track()}}function fe(t,e,s,n,i,o){const r=di.get(t);if(!r){Ss++;return}const a=l=>{l&&l.trigger()};if(li(),e==="clear")r.forEach(a);else{const l=U(t),u=l&&si(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===Ts||!ue(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(Ts)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ne)),ns(t)&&a(r.get(pi)));break;case"delete":l||(a(r.get(Ne)),ns(t)&&a(r.get(pi)));break;case"set":ns(t)&&a(r.get(Ne));break}}ci()}function is(t){const e=J(t);return e===t?e:(At(e,"iterate",Ts),kt(t)?e:e.map(bt))}function hn(t){return At(t=J(t),"iterate",Ts),t}const Rf={__proto__:null,[Symbol.iterator](){return mi(this,Symbol.iterator,bt)},concat(...t){return is(this).concat(...t.map(e=>U(e)?is(e):e))},entries(){return mi(this,"entries",t=>(t[1]=bt(t[1]),t))},every(t,e){return he(this,"every",t,e,void 0,arguments)},filter(t,e){return he(this,"filter",t,e,s=>s.map(bt),arguments)},find(t,e){return he(this,"find",t,e,bt,arguments)},findIndex(t,e){return he(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return he(this,"findLast",t,e,bt,arguments)},findLastIndex(t,e){return he(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return he(this,"forEach",t,e,void 0,arguments)},includes(...t){return gi(this,"includes",t)},indexOf(...t){return gi(this,"indexOf",t)},join(t){return is(this).join(t)},lastIndexOf(...t){return gi(this,"lastIndexOf",t)},map(t,e){return he(this,"map",t,e,void 0,arguments)},pop(){return ws(this,"pop")},push(...t){return ws(this,"push",t)},reduce(t,...e){return vr(this,"reduce",t,e)},reduceRight(t,...e){return vr(this,"reduceRight",t,e)},shift(){return ws(this,"shift")},some(t,e){return he(this,"some",t,e,void 0,arguments)},splice(...t){return ws(this,"splice",t)},toReversed(){return is(this).toReversed()},toSorted(t){return is(this).toSorted(t)},toSpliced(...t){return is(this).toSpliced(...t)},unshift(...t){return ws(this,"unshift",t)},values(){return mi(this,"values",bt)}};function mi(t,e,s){const n=hn(t),i=n[e]();return n!==t&&!kt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=s(o.value)),o}),i}const Lf=Array.prototype;function he(t,e,s,n,i,o){const r=hn(t),a=r!==t&&!kt(t),l=r[e];if(l!==Lf[e]){const f=l.apply(t,o);return a?bt(f):f}let u=s;r!==t&&(a?u=function(f,h){return s.call(this,bt(f),h,t)}:s.length>2&&(u=function(f,h){return s.call(this,f,h,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function vr(t,e,s,n){const i=hn(t);let o=s;return i!==t&&(kt(t)?s.length>3&&(o=function(r,a,l){return s.call(this,r,a,l,t)}):o=function(r,a,l){return s.call(this,r,bt(a),l,t)}),i[e](o,...n)}function gi(t,e,s){const n=J(t);At(n,"iterate",Ts);const i=n[e](...s);return(i===-1||i===!1)&&bi(s[0])?(s[0]=J(s[0]),n[e](...s)):i}function ws(t,e,s=[]){Xt(),li();const n=J(t)[e].apply(t,s);return ci(),Zt(),n}const Ff=je("__proto__,__v_isRef,__isVue"),br=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ue));function $f(t){ue(t)||(t=String(t));const e=J(this);return At(e,"has",t),e.hasOwnProperty(t)}class _r{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?Pr:Ar:o?wr:Tr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=U(e);if(!i){let l;if(r&&(l=Rf[s]))return l;if(s==="hasOwnProperty")return $f}const a=Reflect.get(e,s,_t(e)?e:n);return(ue(s)?br.has(s):Ff(s))||(i||At(e,"get",s),o)?a:_t(a)?r&&si(s)?a:a.value:at(a)?i?Cr(a):vi(a):a}}class xr extends _r{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];if(!this._isShallow){const l=Ae(o);if(!kt(n)&&!Ae(n)&&(o=J(o),n=J(n)),!U(e)&&_t(o)&&!_t(n))return l?!1:(o.value=n,!0)}const r=U(e)&&si(s)?Number(s)<e.length:tt(e,s),a=Reflect.set(e,s,n,_t(e)?e:i);return e===J(i)&&(r?we(n,o)&&fe(e,"set",s,n):fe(e,"add",s,n)),a}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&fe(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!ue(s)||!br.has(s))&&At(e,"has",s),n}ownKeys(e){return At(e,"iterate",U(e)?"length":Ne),Reflect.ownKeys(e)}}class Sr extends _r{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const If=new xr,jf=new Sr,Bf=new xr(!0),Nf=new Sr(!0),yi=t=>t,dn=t=>Reflect.getPrototypeOf(t);function kf(t,e,s){return function(...n){const i=this.__v_raw,o=J(i),r=ns(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?yi:e?vn:bt;return!e&&At(o,"iterate",l?pi:Ne),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function pn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Uf(t,e){const s={get(i){const o=this.__v_raw,r=J(o),a=J(i);t||(we(i,a)&&At(r,"get",i),At(r,"get",a));const{has:l}=dn(r),u=e?yi:t?vn:bt;if(l.call(r,i))return u(o.get(i));if(l.call(r,a))return u(o.get(a));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!t&&At(J(i),"iterate",Ne),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=J(o),a=J(i);return t||(we(i,a)&&At(r,"has",i),At(r,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const r=this,a=r.__v_raw,l=J(a),u=e?yi:t?vn:bt;return!t&&At(l,"iterate",Ne),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return yt(s,t?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(i){!e&&!kt(i)&&!Ae(i)&&(i=J(i));const o=J(this);return dn(o).has.call(o,i)||(o.add(i),fe(o,"add",i,i)),this},set(i,o){!e&&!kt(o)&&!Ae(o)&&(o=J(o));const r=J(this),{has:a,get:l}=dn(r);let u=a.call(r,i);u||(i=J(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?we(o,c)&&fe(r,"set",i,o):fe(r,"add",i,o),this},delete(i){const o=J(this),{has:r,get:a}=dn(o);let l=r.call(o,i);l||(i=J(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&fe(o,"delete",i,void 0),u},clear(){const i=J(this),o=i.size!==0,r=i.clear();return o&&fe(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=kf(i,t,e)}),s}function mn(t,e){const s=Uf(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(tt(s,i)&&i in n?s:n,i,o)}const Hf={get:mn(!1,!1)},Kf={get:mn(!1,!0)},Wf={get:mn(!0,!1)},Gf={get:mn(!0,!0)},Tr=new WeakMap,wr=new WeakMap,Ar=new WeakMap,Pr=new WeakMap;function zf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qf(t){return t.__v_skip||!Object.isExtensible(t)?0:zf(vf(t))}function vi(t){return Ae(t)?t:yn(t,!1,If,Hf,Tr)}function Yf(t){return yn(t,!1,Bf,Kf,wr)}function Cr(t){return yn(t,!0,jf,Wf,Ar)}function gn(t){return yn(t,!0,Nf,Gf,Pr)}function yn(t,e,s,n,i){if(!at(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=qf(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function os(t){return Ae(t)?os(t.__v_raw):!!(t&&t.__v_isReactive)}function Ae(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function bi(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function Xf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&ir(t,"__v_skip",!0),t}const bt=t=>at(t)?vi(t):t,vn=t=>at(t)?Cr(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function rs(t){return Zf(t,!1)}function Zf(t,e){return _t(t)?t:new Jf(t,e)}class Jf{constructor(e,s){this.dep=new hi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:bt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||kt(e)||Ae(e);e=n?e:J(e),we(e,s)&&(this._rawValue=e,this._value=n?e:bt(e),this.dep.trigger())}}function Er(t){return _t(t)?t.value:t}const Qf={get:(t,e,s)=>e==="__v_raw"?t:Er(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Mr(t){return os(t)?t:new Proxy(t,Qf)}class th{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new hi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ss-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return fr(this,!0),!0}get value(){const e=this.dep.track();return pr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function eh(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new th(n,i,s)}const bn={},_n=new WeakMap;let ke;function sh(t,e=!1,s=ke){if(s){let n=_n.get(s);n||_n.set(s,n=[]),n.push(t)}}function nh(t,e,s=it){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=P=>i?P:kt(P)||i===!1||i===0?Pe(P,1):Pe(P);let c,f,h,p,v=!1,b=!1;if(_t(t)?(f=()=>t.value,v=kt(t)):os(t)?(f=()=>u(t),v=!0):U(t)?(b=!0,v=t.some(P=>os(P)||kt(P)),f=()=>t.map(P=>{if(_t(P))return P.value;if(os(P))return u(P);if(W(P))return l?l(P,2):P()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){Xt();try{h()}finally{Zt()}}const P=ke;ke=c;try{return l?l(t,3,[p]):t(p)}finally{ke=P}}:f=Gt,e&&i){const P=f,M=i===!0?1/0:i;f=()=>Pe(P(),M)}const A=Vf(),S=()=>{c.stop(),A&&A.active&&ei(A.effects,c)};if(o&&e){const P=e;e=(...M)=>{P(...M),S()}}let O=b?new Array(t.length).fill(bn):bn;const E=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(e){const M=c.run();if(i||v||(b?M.some((k,z)=>we(k,O[z])):we(M,O))){h&&h();const k=ke;ke=c;try{const z=[M,O===bn?void 0:b&&O[0]===bn?[]:O,p];O=M,l?l(e,3,z):e(...z)}finally{ke=k}}}else c.run()};return a&&a(E),c=new cr(f),c.scheduler=r?()=>r(E,!1):E,p=P=>sh(P,!1,c),h=c.onStop=()=>{const P=_n.get(c);if(P){if(l)l(P,4);else for(const M of P)M();_n.delete(c)}},e?n?E(!0):O=c.run():r?r(E.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function Pe(t,e=1/0,s){if(e<=0||!at(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,_t(t))Pe(t.value,e,s);else if(U(t))for(let n=0;n<t.length;n++)Pe(t[n],e,s);else if(tr(t)||ns(t))t.forEach(n=>{Pe(n,e,s)});else if(nr(t)){for(const n in t)Pe(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Pe(t[n],e,s)}return t}var Ce={NODE_ENV:"production"};const As=[];let _i=!1;function ih(t,...e){if(_i)return;_i=!0,Xt();const s=As.length?As[As.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=oh();if(n)as(n,s,11,[t+e.map(o=>{var r,a;return(a=(r=o.toString)==null?void 0:r.call(o))!=null?a:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${Oa(s,o.type)}>`).join(`
5
+ **//*! #__NO_SIDE_EFFECTS__ */function je(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const it={},ss=[],Gt=()=>{},hf=()=>!1,ln=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Qn=t=>t.startsWith("onUpdate:"),yt=Object.assign,ti=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},df=Object.prototype.hasOwnProperty,tt=(t,e)=>df.call(t,e),H=Array.isArray,ns=t=>cn(t)==="[object Map]",Jo=t=>cn(t)==="[object Set]",W=t=>typeof t=="function",ut=t=>typeof t=="string",fe=t=>typeof t=="symbol",at=t=>t!==null&&typeof t=="object",Qo=t=>(at(t)||W(t))&&W(t.then)&&W(t.catch),tr=Object.prototype.toString,cn=t=>tr.call(t),pf=t=>cn(t).slice(8,-1),er=t=>cn(t)==="[object Object]",ei=t=>ut(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=je(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},mf=/-(\w)/g,Nt=un(t=>t.replace(mf,(e,s)=>s?s.toUpperCase():"")),gf=/\B([A-Z])/g,Be=un(t=>t.replace(gf,"-$1").toLowerCase()),fn=un(t=>t.charAt(0).toUpperCase()+t.slice(1)),si=un(t=>t?`on${fn(t)}`:""),Ae=(t,e)=>!Object.is(t,e),ni=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},sr=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},yf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},vf=t=>{const e=ut(t)?Number(t):NaN;return isNaN(e)?t:e};let nr;const hn=()=>nr||(nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ii(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ut(n)?Sf(n):ii(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ut(t)||at(t))return t}const bf=/;(?![^(]*\))/g,_f=/:([^]+)/,xf=/\/\*[^]*?\*\//g;function Sf(t){const e={};return t.replace(xf,"").split(bf).forEach(s=>{if(s){const n=s.split(_f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ct(t){let e="";if(ut(t))e=t;else if(H(t))for(let s=0;s<t.length;s++){const n=Ct(t[s]);n&&(e+=n+" ")}else if(at(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Tf=je("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ir(t){return!!t||t===""}const or=t=>!!(t&&t.__v_isRef===!0),Z=t=>ut(t)?t:t==null?"":H(t)||at(t)&&(t.toString===tr||!W(t.toString))?or(t)?Z(t.value):JSON.stringify(t,rr,2):String(t),rr=(t,e)=>or(e)?rr(t,e.value):ns(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[oi(n,o)+" =>"]=i,s),{})}:Jo(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>oi(s))}:fe(e)?oi(e):at(e)&&!H(e)&&!er(e)?String(e):e,oi=(t,e="")=>{var s;return fe(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var wf={NODE_ENV:"production"};let Vt;class Af{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Vt,!e&&Vt&&(this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Vt;try{return Vt=this,e()}finally{Vt=s}}}on(){++this._on===1&&(this.prevScope=Vt,Vt=this)}off(){this._on>0&&--this._on===0&&(Vt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Pf(){return Vt}let ot;const ri=new WeakSet;class ar{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=void 0,Vt&&Vt.active&&Vt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ri.has(this)&&(ri.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||cr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,pr(this),ur(this);const e=ot,s=zt;ot=this,zt=!0;try{return this.fn()}finally{fr(this),ot=e,zt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)ui(e);this.deps=this.depsTail=void 0,pr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ri.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ci(this)&&this.run()}get dirty(){return ci(this)}}let lr=0,xs,Ss;function cr(t,e=!1){if(t.flags|=8,e){t.next=Ss,Ss=t;return}t.next=xs,xs=t}function ai(){lr++}function li(){if(--lr>0)return;if(Ss){let e=Ss;for(Ss=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;xs;){let e=xs;for(xs=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function ur(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function fr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),ui(n),Cf(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function ci(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(hr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function hr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ts)||(t.globalVersion=Ts,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ci(t))))return;t.flags|=2;const e=t.dep,s=ot,n=zt;ot=t,zt=!0;try{ur(t);const i=t.fn(t._value);(e.version===0||Ae(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ot=s,zt=n,fr(t),t.flags&=-3}}function ui(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)ui(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Cf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let zt=!0;const dr=[];function Xt(){dr.push(zt),zt=!1}function Zt(){const t=dr.pop();zt=t===void 0?!0:t}function pr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ot;ot=void 0;try{e()}finally{ot=s}}}let Ts=0;class Ef{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fi{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}track(e){if(!ot||!zt||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new Ef(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,mr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ot.depsTail,s.nextDep=void 0,ot.depsTail.nextDep=s,ot.depsTail=s,ot.deps===s&&(ot.deps=n)}return s}trigger(e){this.version++,Ts++,this.notify(e)}notify(e){ai();try{wf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{li()}}}function mr(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)mr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const hi=new WeakMap,Ne=Symbol(""),di=Symbol(""),ws=Symbol("");function At(t,e,s){if(zt&&ot){let n=hi.get(t);n||hi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new fi),i.map=n,i.key=s),i.track()}}function he(t,e,s,n,i,o){const r=hi.get(t);if(!r){Ts++;return}const a=l=>{l&&l.trigger()};if(ai(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&ei(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===ws||!fe(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(ws)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ne)),ns(t)&&a(r.get(di)));break;case"delete":l||(a(r.get(Ne)),ns(t)&&a(r.get(di)));break;case"set":ns(t)&&a(r.get(Ne));break}}li()}function is(t){const e=J(t);return e===t?e:(At(e,"iterate",ws),kt(t)?e:e.map(bt))}function dn(t){return At(t=J(t),"iterate",ws),t}const Mf={__proto__:null,[Symbol.iterator](){return pi(this,Symbol.iterator,bt)},concat(...t){return is(this).concat(...t.map(e=>H(e)?is(e):e))},entries(){return pi(this,"entries",t=>(t[1]=bt(t[1]),t))},every(t,e){return de(this,"every",t,e,void 0,arguments)},filter(t,e){return de(this,"filter",t,e,s=>s.map(bt),arguments)},find(t,e){return de(this,"find",t,e,bt,arguments)},findIndex(t,e){return de(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return de(this,"findLast",t,e,bt,arguments)},findLastIndex(t,e){return de(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return de(this,"forEach",t,e,void 0,arguments)},includes(...t){return mi(this,"includes",t)},indexOf(...t){return mi(this,"indexOf",t)},join(t){return is(this).join(t)},lastIndexOf(...t){return mi(this,"lastIndexOf",t)},map(t,e){return de(this,"map",t,e,void 0,arguments)},pop(){return As(this,"pop")},push(...t){return As(this,"push",t)},reduce(t,...e){return gr(this,"reduce",t,e)},reduceRight(t,...e){return gr(this,"reduceRight",t,e)},shift(){return As(this,"shift")},some(t,e){return de(this,"some",t,e,void 0,arguments)},splice(...t){return As(this,"splice",t)},toReversed(){return is(this).toReversed()},toSorted(t){return is(this).toSorted(t)},toSpliced(...t){return is(this).toSpliced(...t)},unshift(...t){return As(this,"unshift",t)},values(){return pi(this,"values",bt)}};function pi(t,e,s){const n=dn(t),i=n[e]();return n!==t&&!kt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=s(o.value)),o}),i}const Vf=Array.prototype;function de(t,e,s,n,i,o){const r=dn(t),a=r!==t&&!kt(t),l=r[e];if(l!==Vf[e]){const f=l.apply(t,o);return a?bt(f):f}let u=s;r!==t&&(a?u=function(f,h){return s.call(this,bt(f),h,t)}:s.length>2&&(u=function(f,h){return s.call(this,f,h,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function gr(t,e,s,n){const i=dn(t);let o=s;return i!==t&&(kt(t)?s.length>3&&(o=function(r,a,l){return s.call(this,r,a,l,t)}):o=function(r,a,l){return s.call(this,r,bt(a),l,t)}),i[e](o,...n)}function mi(t,e,s){const n=J(t);At(n,"iterate",ws);const i=n[e](...s);return(i===-1||i===!1)&&vi(s[0])?(s[0]=J(s[0]),n[e](...s)):i}function As(t,e,s=[]){Xt(),ai();const n=J(t)[e].apply(t,s);return li(),Zt(),n}const Df=je("__proto__,__v_isRef,__isVue"),yr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(fe));function Of(t){fe(t)||(t=String(t));const e=J(this);return At(e,"has",t),e.hasOwnProperty(t)}class vr{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?wr:Tr:o?Sr:xr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Mf[s]))return l;if(s==="hasOwnProperty")return Of}const a=Reflect.get(e,s,_t(e)?e:n);return(fe(s)?yr.has(s):Df(s))||(i||At(e,"get",s),o)?a:_t(a)?r&&ei(s)?a:a.value:at(a)?i?Ar(a):yi(a):a}}class br extends vr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];if(!this._isShallow){const l=Pe(o);if(!kt(n)&&!Pe(n)&&(o=J(o),n=J(n)),!H(e)&&_t(o)&&!_t(n))return l?!1:(o.value=n,!0)}const r=H(e)&&ei(s)?Number(s)<e.length:tt(e,s),a=Reflect.set(e,s,n,_t(e)?e:i);return e===J(i)&&(r?Ae(n,o)&&he(e,"set",s,n):he(e,"add",s,n)),a}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&he(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!fe(s)||!yr.has(s))&&At(e,"has",s),n}ownKeys(e){return At(e,"iterate",H(e)?"length":Ne),Reflect.ownKeys(e)}}class _r extends vr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Rf=new br,Lf=new _r,Ff=new br(!0),$f=new _r(!0),gi=t=>t,pn=t=>Reflect.getPrototypeOf(t);function If(t,e,s){return function(...n){const i=this.__v_raw,o=J(i),r=ns(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?gi:e?bn:bt;return!e&&At(o,"iterate",l?di:Ne),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function mn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function jf(t,e){const s={get(i){const o=this.__v_raw,r=J(o),a=J(i);t||(Ae(i,a)&&At(r,"get",i),At(r,"get",a));const{has:l}=pn(r),u=e?gi:t?bn:bt;if(l.call(r,i))return u(o.get(i));if(l.call(r,a))return u(o.get(a));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!t&&At(J(i),"iterate",Ne),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=J(o),a=J(i);return t||(Ae(i,a)&&At(r,"has",i),At(r,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const r=this,a=r.__v_raw,l=J(a),u=e?gi:t?bn:bt;return!t&&At(l,"iterate",Ne),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return yt(s,t?{add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear")}:{add(i){!e&&!kt(i)&&!Pe(i)&&(i=J(i));const o=J(this);return pn(o).has.call(o,i)||(o.add(i),he(o,"add",i,i)),this},set(i,o){!e&&!kt(o)&&!Pe(o)&&(o=J(o));const r=J(this),{has:a,get:l}=pn(r);let u=a.call(r,i);u||(i=J(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?Ae(o,c)&&he(r,"set",i,o):he(r,"add",i,o),this},delete(i){const o=J(this),{has:r,get:a}=pn(o);let l=r.call(o,i);l||(i=J(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&he(o,"delete",i,void 0),u},clear(){const i=J(this),o=i.size!==0,r=i.clear();return o&&he(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=If(i,t,e)}),s}function gn(t,e){const s=jf(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(tt(s,i)&&i in n?s:n,i,o)}const Bf={get:gn(!1,!1)},Nf={get:gn(!1,!0)},kf={get:gn(!0,!1)},Uf={get:gn(!0,!0)},xr=new WeakMap,Sr=new WeakMap,Tr=new WeakMap,wr=new WeakMap;function Hf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kf(t){return t.__v_skip||!Object.isExtensible(t)?0:Hf(pf(t))}function yi(t){return Pe(t)?t:vn(t,!1,Rf,Bf,xr)}function Wf(t){return vn(t,!1,Ff,Nf,Sr)}function Ar(t){return vn(t,!0,Lf,kf,Tr)}function yn(t){return vn(t,!0,$f,Uf,wr)}function vn(t,e,s,n,i){if(!at(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=Kf(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function os(t){return Pe(t)?os(t.__v_raw):!!(t&&t.__v_isReactive)}function Pe(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function vi(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function Gf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&sr(t,"__v_skip",!0),t}const bt=t=>at(t)?yi(t):t,bn=t=>at(t)?Ar(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function rs(t){return zf(t,!1)}function zf(t,e){return _t(t)?t:new qf(t,e)}class qf{constructor(e,s){this.dep=new fi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:bt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||kt(e)||Pe(e);e=n?e:J(e),Ae(e,s)&&(this._rawValue=e,this._value=n?e:bt(e),this.dep.trigger())}}function Pr(t){return _t(t)?t.value:t}const Yf={get:(t,e,s)=>e==="__v_raw"?t:Pr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Cr(t){return os(t)?t:new Proxy(t,Yf)}class Xf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new fi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ts-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return cr(this,!0),!0}get value(){const e=this.dep.track();return hr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Zf(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new Xf(n,i,s)}const _n={},xn=new WeakMap;let ke;function Jf(t,e=!1,s=ke){if(s){let n=xn.get(s);n||xn.set(s,n=[]),n.push(t)}}function Qf(t,e,s=it){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=P=>i?P:kt(P)||i===!1||i===0?Ce(P,1):Ce(P);let c,f,h,p,v=!1,b=!1;if(_t(t)?(f=()=>t.value,v=kt(t)):os(t)?(f=()=>u(t),v=!0):H(t)?(b=!0,v=t.some(P=>os(P)||kt(P)),f=()=>t.map(P=>{if(_t(P))return P.value;if(os(P))return u(P);if(W(P))return l?l(P,2):P()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){Xt();try{h()}finally{Zt()}}const P=ke;ke=c;try{return l?l(t,3,[p]):t(p)}finally{ke=P}}:f=Gt,e&&i){const P=f,M=i===!0?1/0:i;f=()=>Ce(P(),M)}const A=Pf(),S=()=>{c.stop(),A&&A.active&&ti(A.effects,c)};if(o&&e){const P=e;e=(...M)=>{P(...M),S()}}let O=b?new Array(t.length).fill(_n):_n;const E=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(e){const M=c.run();if(i||v||(b?M.some((U,z)=>Ae(U,O[z])):Ae(M,O))){h&&h();const U=ke;ke=c;try{const z=[M,O===_n?void 0:b&&O[0]===_n?[]:O,p];O=M,l?l(e,3,z):e(...z)}finally{ke=U}}}else c.run()};return a&&a(E),c=new ar(f),c.scheduler=r?()=>r(E,!1):E,p=P=>Jf(P,!1,c),h=c.onStop=()=>{const P=xn.get(c);if(P){if(l)l(P,4);else for(const M of P)M();xn.delete(c)}},e?n?E(!0):O=c.run():r?r(E.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function Ce(t,e=1/0,s){if(e<=0||!at(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,_t(t))Ce(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)Ce(t[n],e,s);else if(Jo(t)||ns(t))t.forEach(n=>{Ce(n,e,s)});else if(er(t)){for(const n in t)Ce(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Ce(t[n],e,s)}return t}var Ee={NODE_ENV:"production"};const Ps=[];let bi=!1;function th(t,...e){if(bi)return;bi=!0,Xt();const s=Ps.length?Ps[Ps.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=eh();if(n)as(n,s,11,[t+e.map(o=>{var r,a;return(a=(r=o.toString)==null?void 0:r.call(o))!=null?a:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${Va(s,o.type)}>`).join(`
6
6
  `),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(`
7
- `,...rh(i)),console.warn(...o)}Zt(),_i=!1}function oh(){let t=As[As.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function rh(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
8
- `],...ah(s))}),e}function ah({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Oa(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...lh(t.props),o]:[i+o]}function lh(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Vr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Vr(t,e,s){return ct(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=Vr(t,J(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=J(e),s?e:[`${t}=`,e])}function as(t,e,s,n){try{return n?t(...n):t()}catch(i){xn(i,e,s)}}function qt(t,e,s,n){if(W(t)){const i=as(t,e,s,n);return i&&er(i)&&i.catch(o=>{xn(o,e,s)}),i}if(U(t)){const i=[];for(let o=0;o<t.length;o++)i.push(qt(t[o],e,s,n));return i}}function xn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||it;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](t,l,u)===!1)return}a=a.parent}if(o){Xt(),as(o,null,10,[t,l,u]),Zt();return}}ch(t,s,i,n,r)}function ch(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Et=[];let Jt=-1;const ls=[];let Ee=null,cs=0;const Dr=Promise.resolve();let Sn=null;function uh(t){const e=Sn||Dr;return t?e.then(this?t.bind(this):t):e}function fh(t){let e=Jt+1,s=Et.length;for(;e<s;){const n=e+s>>>1,i=Et[n],o=Ps(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function xi(t){if(!(t.flags&1)){const e=Ps(t),s=Et[Et.length-1];!s||!(t.flags&2)&&e>=Ps(s)?Et.push(t):Et.splice(fh(e),0,t),t.flags|=1,Or()}}function Or(){Sn||(Sn=Dr.then(Fr))}function hh(t){U(t)?ls.push(...t):Ee&&t.id===-1?Ee.splice(cs+1,0,t):t.flags&1||(ls.push(t),t.flags|=1),Or()}function Rr(t,e,s=Jt+1){for(;s<Et.length;s++){const n=Et[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Et.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Lr(t){if(ls.length){const e=[...new Set(ls)].sort((s,n)=>Ps(s)-Ps(n));if(ls.length=0,Ee){Ee.push(...e);return}for(Ee=e,cs=0;cs<Ee.length;cs++){const s=Ee[cs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ee=null,cs=0}}const Ps=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Fr(t){const e=Gt;try{for(Jt=0;Jt<Et.length;Jt++){const s=Et[Jt];s&&!(s.flags&8)&&(Ce.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),as(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;Jt<Et.length;Jt++){const s=Et[Jt];s&&(s.flags&=-2)}Jt=-1,Et.length=0,Lr(),Sn=null,(Et.length||ls.length)&&Fr()}}let xt=null,$r=null;function Tn(t){const e=xt;return xt=t,$r=t&&t.type.__scopeId||null,e}function wn(t,e=xt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Sa(-1);const o=Tn(e);let r;try{r=t(...i)}finally{Tn(o),n._d&&Sa(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ue(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(Xt(),qt(l,s,8,[t.el,a,t,e]),Zt())}}const dh=Symbol("_vte"),Ir=t=>t.__isTeleport,Me=Symbol("_leaveCb"),An=Symbol("_enterCb");function ph(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wi(()=>{t.isMounted=!0}),Ai(()=>{t.isUnmounting=!0}),t}const Ut=[Function,Array],jr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},Br=t=>{const e=t.subTree;return e.component?Br(e.component):e},mh={name:"BaseTransition",props:jr,setup(t,{slots:e}){const s=ji(),n=ph();return()=>{const i=e.default&&Hr(e.default(),!0);if(!i||!i.length)return;const o=Nr(i),r=J(t),{mode:a}=r;if(n.isLeaving)return Ti(o);const l=Ur(o);if(!l)return Ti(o);let u=Si(l,r,n,s,f=>u=f);l.type!==St&&Cs(l,u);let c=s.subTree&&Ur(s.subTree);if(c&&c.type!==St&&!Ke(l,c)&&Br(s).type!==St){let f=Si(c,r,n,s);if(Cs(c,f),a==="out-in"&&l.type!==St)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Ti(o);a==="in-out"&&l.type!==St?f.delayLeave=(h,p,v)=>{const b=kr(n,c);b[String(c.key)]=c,h[Me]=()=>{p(),h[Me]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Nr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==St){e=s;break}}return e}const gh=mh;function kr(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function Si(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:v,onLeaveCancelled:b,onBeforeAppear:A,onAppear:S,onAfterAppear:O,onAppearCancelled:E}=e,P=String(t.key),M=kr(s,t),k=(L,G)=>{L&&qt(L,n,9,G)},z=(L,G)=>{const Y=G[1];k(L,G),U(L)?L.every($=>$.length<=1)&&Y():L.length<=1&&Y()},I={mode:r,persisted:a,beforeEnter(L){let G=l;if(!s.isMounted)if(o)G=A||l;else return;L[Me]&&L[Me](!0);const Y=M[P];Y&&Ke(t,Y)&&Y.el[Me]&&Y.el[Me](),k(G,[L])},enter(L){let G=u,Y=c,$=f;if(!s.isMounted)if(o)G=S||u,Y=O||c,$=E||f;else return;let st=!1;const wt=L[An]=ne=>{st||(st=!0,ne?k($,[L]):k(Y,[L]),I.delayedLeave&&I.delayedLeave(),L[An]=void 0)};G?z(G,[L,wt]):wt()},leave(L,G){const Y=String(t.key);if(L[An]&&L[An](!0),s.isUnmounting)return G();k(h,[L]);let $=!1;const st=L[Me]=wt=>{$||($=!0,G(),wt?k(b,[L]):k(v,[L]),L[Me]=void 0,M[Y]===t&&delete M[Y])};M[Y]=t,p?z(p,[L,st]):st()},clone(L){const G=Si(L,e,s,n,i);return i&&i(G),G}};return I}function Ti(t){if(Cn(t))return t=pe(t),t.children=null,t}function Ur(t){if(!Cn(t))return Ir(t.type)&&t.children?Nr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Cs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Cs(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 Hr(t,e=!1,s){let n=[],i=0;for(let o=0;o<t.length;o++){let r=t[o];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:o);r.type===ut?(r.patchFlag&128&&i++,n=n.concat(Hr(r.children,e,a))):(e||r.type!==St)&&n.push(a!=null?pe(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function yh(t,e){return W(t)?yt({name:t.name},e,{setup:t}):t}function Kr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Pn(t,e,s,n,i=!1){if(U(t)){t.forEach((v,b)=>Pn(v,e&&(U(e)?e[b]:e),s,n,i));return}if(us(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pn(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Ni(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===it?a.refs={}:a.refs,f=a.setupState,h=J(f),p=f===it?()=>!1:v=>tt(h,v);if(u!=null&&u!==l&&(ct(u)?(c[u]=null,p(u)&&(f[u]=null)):_t(u)&&(u.value=null)),W(l))as(l,a,12,[r,c]);else{const v=ct(l),b=_t(l);if(v||b){const A=()=>{if(t.f){const S=v?p(l)?f[l]:c[l]:l.value;i?U(S)&&ei(S,o):U(S)?S.includes(o)||S.push(o):v?(c[l]=[o],p(l)&&(f[l]=c[l])):(l.value=[o],t.k&&(c[t.k]=l.value))}else v?(c[l]=r,p(l)&&(f[l]=r)):b&&(l.value=r,t.k&&(c[t.k]=r))};r?(A.id=-1,Lt(A,s)):A()}}}fn().requestIdleCallback,fn().cancelIdleCallback;const us=t=>!!t.type.__asyncLoader,Cn=t=>t.type.__isKeepAlive;function vh(t,e){Wr(t,"a",e)}function bh(t,e){Wr(t,"da",e)}function Wr(t,e,s=gt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(En(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Cn(i.parent.vnode)&&_h(n,e,s,i),i=i.parent}}function _h(t,e,s,n){const i=En(e,t,n,!0);Pi(()=>{ei(n[e],i)},s)}function En(t,e,s=gt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Xt();const a=Fs(s),l=qt(e,s,t,r);return a(),Zt(),l});return n?i.unshift(o):i.push(o),o}}const de=t=>(e,s=gt)=>{(!$s||t==="sp")&&En(t,(...n)=>e(...n),s)},Gr=de("bm"),wi=de("m"),zr=de("bu"),qr=de("u"),Ai=de("bum"),Pi=de("um"),xh=de("sp"),Sh=de("rtg"),Th=de("rtc");function wh(t,e=gt){En("ec",t,e)}const Ah="components",Yr=Symbol.for("v-ndc");function Ph(t){return ct(t)?Ch(Ah,t,!1)||t:t||Yr}function Ch(t,e,s=!0,n=!1){const i=xt||gt;if(i){const o=i.type;{const a=Da(o,!1);if(a&&(a===e||a===Nt(e)||a===un(Nt(e))))return o}const r=Xr(i[t]||o[t],e)||Xr(i.appContext[t],e);return!r&&n?o:r}}function Xr(t,e){return t&&(t[e]||t[Nt(e)]||t[un(Nt(e))])}function Ve(t,e,s,n){let i;const o=s,r=U(t);if(r||ct(t)){const a=r&&os(t);let l=!1,u=!1;a&&(l=!kt(t),u=Ae(t),t=hn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?vn(bt(t[c])):bt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(at(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,o));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,o)}}else i=[];return i}function Eh(t,e,s={},n,i){if(xt.ce||xt.parent&&us(xt.parent)&&xt.parent.ce)return F(),$t(ut,null,[et("slot",s,n)],64);let o=t[e];o&&o._c&&(o._d=!1),F();const r=o&&Zr(o(s)),a=s.key||r&&r.key,l=$t(ut,{key:(a&&!ue(a)?a:`_${e}`)+""},r||[],r&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Zr(t){return t.some(e=>Rs(e)?!(e.type===St||e.type===ut&&!Zr(e.children)):!0)?t:null}const Ci=t=>t?Ca(t)?Ni(t):Ci(t.parent):null,Es=yt(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=>Ci(t.parent),$root:t=>Ci(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ea(t),$forceUpdate:t=>t.f||(t.f=()=>{xi(t.update)}),$nextTick:t=>t.n||(t.n=uh.bind(t.proxy)),$watch:t=>Jh.bind(t)}),Ei=(t,e)=>t!==it&&!t.__isScriptSetup&&tt(t,e),Mh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const p=r[e];if(p!==void 0)switch(p){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(Ei(n,e))return r[e]=1,n[e];if(i!==it&&tt(i,e))return r[e]=2,i[e];if((u=t.propsOptions[0])&&tt(u,e))return r[e]=3,o[e];if(s!==it&&tt(s,e))return r[e]=4,s[e];Mi&&(r[e]=0)}}const c=Es[e];let f,h;if(c)return e==="$attrs"&&At(t.attrs,"get",""),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(s!==it&&tt(s,e))return r[e]=4,s[e];if(h=l.config.globalProperties,tt(h,e))return h[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Ei(i,e)?(i[e]=s,!0):n!==it&&tt(n,e)?(n[e]=s,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,propsOptions:o}},r){let a;return!!s[r]||t!==it&&tt(t,r)||Ei(e,r)||(a=o[0])&&tt(a,r)||tt(n,r)||tt(Es,r)||tt(i.config.globalProperties,r)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:tt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Vh(){return Dh().attrs}function Dh(){const t=ji();return t.setupContext||(t.setupContext=Va(t))}function Jr(t){return U(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Mi=!0;function Oh(t){const e=ea(t),s=t.proxy,n=t.ctx;Mi=!1,e.beforeCreate&&Qr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:p,updated:v,activated:b,deactivated:A,beforeDestroy:S,beforeUnmount:O,destroyed:E,unmounted:P,render:M,renderTracked:k,renderTriggered:z,errorCaptured:I,serverPrefetch:L,expose:G,inheritAttrs:Y,components:$,directives:st,filters:wt}=e;if(u&&Rh(u,n,null),r)for(const Q in r){const q=r[Q];W(q)&&(n[Q]=q.bind(s))}if(i){const Q=i.call(s,s);at(Q)&&(t.data=vi(Q))}if(Mi=!0,o)for(const Q in o){const q=o[Q],ie=W(q)?q.bind(s,s):W(q.get)?q.get.bind(s,s):Gt,ts=!W(q)&&W(q.set)?q.set.bind(s):Gt,oe=vt({get:ie,set:ts});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>oe.value,set:It=>oe.value=It})}if(a)for(const Q in a)ta(a[Q],n,s,Q);if(l){const Q=W(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(q=>{Di(q,Q[q])})}c&&Qr(c,t,"c");function mt(Q,q){U(q)?q.forEach(ie=>Q(ie.bind(s))):q&&Q(q.bind(s))}if(mt(Gr,f),mt(wi,h),mt(zr,p),mt(qr,v),mt(vh,b),mt(bh,A),mt(wh,I),mt(Th,k),mt(Sh,z),mt(Ai,O),mt(Pi,P),mt(xh,L),U(G))if(G.length){const Q=t.exposed||(t.exposed={});G.forEach(q=>{Object.defineProperty(Q,q,{get:()=>s[q],set:ie=>s[q]=ie})})}else t.exposed||(t.exposed={});M&&t.render===Gt&&(t.render=M),Y!=null&&(t.inheritAttrs=Y),$&&(t.components=$),st&&(t.directives=st),L&&Kr(t)}function Rh(t,e,s=Gt){U(t)&&(t=Vi(t));for(const n in t){const i=t[n];let o;at(i)?"default"in i?o=Vs(i.from||n,i.default,!0):o=Vs(i.from||n):o=Vs(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function Qr(t,e,s){qt(U(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ta(t,e,s,n){let i=n.includes(".")?ya(s,n):()=>s[n];if(ct(t)){const o=e[t];W(o)&&Vn(i,o)}else if(W(t))Vn(i,t.bind(s));else if(at(t))if(U(t))t.forEach(o=>ta(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Vn(i,o,t)}}function ea(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!s&&!n?l=e:(l={},i.length&&i.forEach(u=>Mn(l,u,r,!0)),Mn(l,e,r)),at(e)&&o.set(e,l),l}function Mn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Mn(t,o,s,!0),i&&i.forEach(r=>Mn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Lh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Lh={data:sa,props:na,emits:na,methods:Ms,computed:Ms,beforeCreate:Mt,created:Mt,beforeMount:Mt,mounted:Mt,beforeUpdate:Mt,updated:Mt,beforeDestroy:Mt,beforeUnmount:Mt,destroyed:Mt,unmounted:Mt,activated:Mt,deactivated:Mt,errorCaptured:Mt,serverPrefetch:Mt,components:Ms,directives:Ms,watch:$h,provide:sa,inject:Fh};function sa(t,e){return e?t?function(){return yt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Fh(t,e){return Ms(Vi(t),Vi(e))}function Vi(t){if(U(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Mt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ms(t,e){return t?yt(Object.create(null),t,e):e}function na(t,e){return t?U(t)&&U(e)?[...new Set([...t,...e])]:yt(Object.create(null),Jr(t),Jr(e??{})):e}function $h(t,e){if(!t)return e;if(!e)return t;const s=yt(Object.create(null),t);for(const n in e)s[n]=Mt(t[n],e[n]);return s}function ia(){return{app:null,config:{isNativeTag:gf,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 Ih=0;function jh(t,e){return function(n,i=null){W(n)||(n=yt({},n)),i!=null&&!at(i)&&(i=null);const o=ia(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Ih++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:bd,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&W(c.install)?(r.add(c),c.install(u,...f)):W(c)&&(r.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const p=u._ceVNode||et(n,i);return p.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(p,c,h),l=!0,u._container=c,c.__vue_app__=u,Ni(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(qt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=fs;fs=u;try{return c()}finally{fs=f}}};return u}}let fs=null;function Di(t,e){if(gt){let s=gt.provides;const n=gt.parent&&gt.parent.provides;n===s&&(s=gt.provides=Object.create(n)),s[t]=e}}function Vs(t,e,s=!1){const n=gt||xt;if(n||fs){let i=fs?fs._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 s&&W(e)?e.call(n&&n.proxy):e}}const oa={},ra=()=>Object.create(oa),aa=t=>Object.getPrototypeOf(t)===oa;function Bh(t,e,s,n=!1){const i={},o=ra();t.propsDefaults=Object.create(null),la(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Yf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Nh(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=J(i),[l]=t.propsOptions;let u=!1;if((n||r>0)&&!(r&16)){if(r&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Dn(t.emitsOptions,h))continue;const p=e[h];if(l)if(tt(o,h))p!==o[h]&&(o[h]=p,u=!0);else{const v=Nt(h);i[v]=Oi(l,a,v,p,t,!1)}else p!==o[h]&&(o[h]=p,u=!0)}}}else{la(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=Be(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Oi(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!tt(e,f))&&(delete o[f],u=!0)}u&&fe(t.attrs,"set","")}function la(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(bs(l))continue;const u=e[l];let c;i&&tt(i,c=Nt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:Dn(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=J(s),u=a||it;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Oi(i,l,f,u[f],t,!tt(u,f))}}return r}function Oi(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=tt(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=Fs(i);n=u[s]=l.call(null,e),c()}}else n=l;i.ce&&i.ce._setProp(s,n)}r[0]&&(o&&!a?n=!1:r[1]&&(n===""||n===Be(s))&&(n=!0))}return n}const kh=new WeakMap;function ca(t,e,s=!1){const n=s?kh:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!W(t)){const c=f=>{l=!0;const[h,p]=ca(f,e,!0);yt(r,h),p&&a.push(...p)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return at(t)&&n.set(t,ss),ss;if(U(o))for(let c=0;c<o.length;c++){const f=Nt(o[c]);ua(f)&&(r[f]=it)}else if(o)for(const c in o){const f=Nt(c);if(ua(f)){const h=o[c],p=r[f]=U(h)||W(h)?{type:h}:yt({},h),v=p.type;let b=!1,A=!0;if(U(v))for(let S=0;S<v.length;++S){const O=v[S],E=W(O)&&O.name;if(E==="Boolean"){b=!0;break}else E==="String"&&(A=!1)}else b=W(v)&&v.name==="Boolean";p[0]=b,p[1]=A,(b||tt(p,"default"))&&a.push(f)}}const u=[r,a];return at(t)&&n.set(t,u),u}function ua(t){return t[0]!=="$"&&!bs(t)}const Ri=t=>t[0]==="_"||t==="$stable",Li=t=>U(t)?t.map(Qt):[Qt(t)],Uh=(t,e,s)=>{if(e._n)return e;const n=wn((...i)=>(Ce.NODE_ENV!=="production"&&gt&&!(s===null&&xt)&&(s&&(s.root,gt.root)),Li(e(...i))),s);return n._c=!1,n},fa=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ri(i))continue;const o=t[i];if(W(o))e[i]=Uh(i,o,n);else if(o!=null){const r=Li(o);e[i]=()=>r}}},ha=(t,e)=>{const s=Li(e);t.slots.default=()=>s},da=(t,e,s)=>{for(const n in e)(s||!Ri(n))&&(t[n]=e[n])},Hh=(t,e,s)=>{const n=t.slots=ra();if(t.vnode.shapeFlag&32){const i=e._;i?(da(n,e,s),s&&ir(n,"_",i,!0)):fa(e,n)}else e&&ha(t,e)},Kh=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=it;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:da(i,e,s):(o=!e.$stable,fa(e,i)),r=e}else e&&(ha(t,e),r={default:1});if(o)for(const a in i)!Ri(a)&&r[a]==null&&delete i[a]},Lt=od;function Wh(t){return Gh(t)}function Gh(t,e){const s=fn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:p=Gt,insertStaticContent:v}=t,b=(d,m,y,T=null,_=null,x=null,D=void 0,V=null,C=!!m.dynamicChildren)=>{if(d===m)return;d&&!Ke(d,m)&&(T=Se(d),It(d,_,x,!0),d=null),m.patchFlag===-2&&(C=!1,m.dynamicChildren=null);const{type:w,ref:B,shapeFlag:R}=m;switch(w){case On:A(d,m,y,T);break;case St:S(d,m,y,T);break;case Rn:d==null&&O(m,y,T,D);break;case ut:$(d,m,y,T,_,x,D,V,C);break;default:R&1?M(d,m,y,T,_,x,D,V,C):R&6?st(d,m,y,T,_,x,D,V,C):(R&64||R&128)&&w.process(d,m,y,T,_,x,D,V,C,on)}B!=null&&_&&Pn(B,d&&d.ref,x,m||d,!m)},A=(d,m,y,T)=>{if(d==null)n(m.el=a(m.children),y,T);else{const _=m.el=d.el;m.children!==d.children&&u(_,m.children)}},S=(d,m,y,T)=>{d==null?n(m.el=l(m.children||""),y,T):m.el=d.el},O=(d,m,y,T)=>{[d.el,d.anchor]=v(d.children,m,y,T,d.el,d.anchor)},E=({el:d,anchor:m},y,T)=>{let _;for(;d&&d!==m;)_=h(d),n(d,y,T),d=_;n(m,y,T)},P=({el:d,anchor:m})=>{let y;for(;d&&d!==m;)y=h(d),i(d),d=y;i(m)},M=(d,m,y,T,_,x,D,V,C)=>{m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),d==null?k(m,y,T,_,x,D,V,C):L(d,m,_,x,D,V,C)},k=(d,m,y,T,_,x,D,V)=>{let C,w;const{props:B,shapeFlag:R,transition:j,dirs:K}=d;if(C=d.el=r(d.type,x,B&&B.is,B),R&8?c(C,d.children):R&16&&I(d.children,C,null,T,_,Fi(d,x),D,V),K&&Ue(d,null,T,"created"),z(C,d,d.scopeId,D,T),B){for(const rt in B)rt!=="value"&&!bs(rt)&&o(C,rt,null,B[rt],x,T);"value"in B&&o(C,"value",null,B.value,x),(w=B.onVnodeBeforeMount)&&te(w,T,d)}K&&Ue(d,null,T,"beforeMount");const X=zh(_,j);X&&j.beforeEnter(C),n(C,m,y),((w=B&&B.onVnodeMounted)||X||K)&&Lt(()=>{w&&te(w,T,d),X&&j.enter(C),K&&Ue(d,null,T,"mounted")},_)},z=(d,m,y,T,_)=>{if(y&&p(d,y),T)for(let x=0;x<T.length;x++)p(d,T[x]);if(_){let x=_.subTree;if(m===x||xa(x.type)&&(x.ssContent===m||x.ssFallback===m)){const D=_.vnode;z(d,D,D.scopeId,D.slotScopeIds,_.parent)}}},I=(d,m,y,T,_,x,D,V,C=0)=>{for(let w=C;w<d.length;w++){const B=d[w]=V?De(d[w]):Qt(d[w]);b(null,B,m,y,T,_,x,D,V)}},L=(d,m,y,T,_,x,D)=>{const V=m.el=d.el;let{patchFlag:C,dynamicChildren:w,dirs:B}=m;C|=d.patchFlag&16;const R=d.props||it,j=m.props||it;let K;if(y&&He(y,!1),(K=j.onVnodeBeforeUpdate)&&te(K,y,m,d),B&&Ue(m,d,y,"beforeUpdate"),y&&He(y,!0),(R.innerHTML&&j.innerHTML==null||R.textContent&&j.textContent==null)&&c(V,""),w?G(d.dynamicChildren,w,V,y,T,Fi(m,_),x):D||q(d,m,V,null,y,T,Fi(m,_),x,!1),C>0){if(C&16)Y(V,R,j,y,_);else if(C&2&&R.class!==j.class&&o(V,"class",null,j.class,_),C&4&&o(V,"style",R.style,j.style,_),C&8){const X=m.dynamicProps;for(let rt=0;rt<X.length;rt++){const nt=X[rt],jt=R[nt],Rt=j[nt];(Rt!==jt||nt==="value")&&o(V,nt,jt,Rt,_,y)}}C&1&&d.children!==m.children&&c(V,m.children)}else!D&&w==null&&Y(V,R,j,y,_);((K=j.onVnodeUpdated)||B)&&Lt(()=>{K&&te(K,y,m,d),B&&Ue(m,d,y,"updated")},T)},G=(d,m,y,T,_,x,D)=>{for(let V=0;V<m.length;V++){const C=d[V],w=m[V],B=C.el&&(C.type===ut||!Ke(C,w)||C.shapeFlag&198)?f(C.el):y;b(C,w,B,null,T,_,x,D,!0)}},Y=(d,m,y,T,_)=>{if(m!==y){if(m!==it)for(const x in m)!bs(x)&&!(x in y)&&o(d,x,m[x],null,_,T);for(const x in y){if(bs(x))continue;const D=y[x],V=m[x];D!==V&&x!=="value"&&o(d,x,V,D,_,T)}"value"in y&&o(d,"value",m.value,y.value,_)}},$=(d,m,y,T,_,x,D,V,C)=>{const w=m.el=d?d.el:a(""),B=m.anchor=d?d.anchor:a("");let{patchFlag:R,dynamicChildren:j,slotScopeIds:K}=m;K&&(V=V?V.concat(K):K),d==null?(n(w,y,T),n(B,y,T),I(m.children||[],y,B,_,x,D,V,C)):R>0&&R&64&&j&&d.dynamicChildren?(G(d.dynamicChildren,j,y,_,x,D,V),(m.key!=null||_&&m===_.subTree)&&pa(d,m,!0)):q(d,m,y,B,_,x,D,V,C)},st=(d,m,y,T,_,x,D,V,C)=>{m.slotScopeIds=V,d==null?m.shapeFlag&512?_.ctx.activate(m,y,T,D,C):wt(m,y,T,_,x,D,C):ne(d,m,C)},wt=(d,m,y,T,_,x,D)=>{const V=d.component=hd(d,T,_);if(Cn(d)&&(V.ctx.renderer=on),dd(V,!1,D),V.asyncDep){if(_&&_.registerDep(V,mt,D),!d.el){const C=V.subTree=et(St);S(null,C,m,y)}}else mt(V,d,m,y,_,x,D)},ne=(d,m,y)=>{const T=m.component=d.component;if(nd(d,m,y))if(T.asyncDep&&!T.asyncResolved){Q(T,m,y);return}else T.next=m,T.update();else m.el=d.el,T.vnode=m},mt=(d,m,y,T,_,x,D)=>{const V=()=>{if(d.isMounted){let{next:R,bu:j,u:K,parent:X,vnode:rt}=d;{const le=ma(d);if(le){R&&(R.el=rt.el,Q(d,R,D)),le.asyncDep.then(()=>{d.isUnmounted||V()});return}}let nt=R,jt;He(d,!1),R?(R.el=rt.el,Q(d,R,D)):R=rt,j&&ii(j),(jt=R.props&&R.props.onVnodeBeforeUpdate)&&te(jt,X,R,rt),He(d,!0);const Rt=ba(d),ae=d.subTree;d.subTree=Rt,b(ae,Rt,f(ae.el),Se(ae),d,_,x),R.el=Rt.el,nt===null&&id(d,Rt.el),K&&Lt(K,_),(jt=R.props&&R.props.onVnodeUpdated)&&Lt(()=>te(jt,X,R,rt),_)}else{let R;const{el:j,props:K}=m,{bm:X,m:rt,parent:nt,root:jt,type:Rt}=d,ae=us(m);He(d,!1),X&&ii(X),!ae&&(R=K&&K.onVnodeBeforeMount)&&te(R,nt,m),He(d,!0);{jt.ce&&jt.ce._injectChildStyle(Rt);const le=d.subTree=ba(d);b(null,le,y,T,d,_,x),m.el=le.el}if(rt&&Lt(rt,_),!ae&&(R=K&&K.onVnodeMounted)){const le=m;Lt(()=>te(R,nt,le),_)}(m.shapeFlag&256||nt&&us(nt.vnode)&&nt.vnode.shapeFlag&256)&&d.a&&Lt(d.a,_),d.isMounted=!0,m=y=T=null}};d.scope.on();const C=d.effect=new cr(V);d.scope.off();const w=d.update=C.run.bind(C),B=d.job=C.runIfDirty.bind(C);B.i=d,B.id=d.uid,C.scheduler=()=>xi(B),He(d,!0),w()},Q=(d,m,y)=>{m.component=d;const T=d.vnode.props;d.vnode=m,d.next=null,Nh(d,m.props,T,y),Kh(d,m.children,y),Xt(),Rr(d),Zt()},q=(d,m,y,T,_,x,D,V,C=!1)=>{const w=d&&d.children,B=d?d.shapeFlag:0,R=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){ts(w,R,y,T,_,x,D,V,C);return}else if(j&256){ie(w,R,y,T,_,x,D,V,C);return}}K&8?(B&16&&re(w,_,x),R!==w&&c(y,R)):B&16?K&16?ts(w,R,y,T,_,x,D,V,C):re(w,_,x,!0):(B&8&&c(y,""),K&16&&I(R,y,T,_,x,D,V,C))},ie=(d,m,y,T,_,x,D,V,C)=>{d=d||ss,m=m||ss;const w=d.length,B=m.length,R=Math.min(w,B);let j;for(j=0;j<R;j++){const K=m[j]=C?De(m[j]):Qt(m[j]);b(d[j],K,y,null,_,x,D,V,C)}w>B?re(d,_,x,!0,!1,R):I(m,y,T,_,x,D,V,C,R)},ts=(d,m,y,T,_,x,D,V,C)=>{let w=0;const B=m.length;let R=d.length-1,j=B-1;for(;w<=R&&w<=j;){const K=d[w],X=m[w]=C?De(m[w]):Qt(m[w]);if(Ke(K,X))b(K,X,y,null,_,x,D,V,C);else break;w++}for(;w<=R&&w<=j;){const K=d[R],X=m[j]=C?De(m[j]):Qt(m[j]);if(Ke(K,X))b(K,X,y,null,_,x,D,V,C);else break;R--,j--}if(w>R){if(w<=j){const K=j+1,X=K<B?m[K].el:T;for(;w<=j;)b(null,m[w]=C?De(m[w]):Qt(m[w]),y,X,_,x,D,V,C),w++}}else if(w>j)for(;w<=R;)It(d[w],_,x,!0),w++;else{const K=w,X=w,rt=new Map;for(w=X;w<=j;w++){const Bt=m[w]=C?De(m[w]):Qt(m[w]);Bt.key!=null&&rt.set(Bt.key,w)}let nt,jt=0;const Rt=j-X+1;let ae=!1,le=0;const rn=new Array(Rt);for(w=0;w<Rt;w++)rn[w]=0;for(w=K;w<=R;w++){const Bt=d[w];if(jt>=Rt){It(Bt,_,x,!0);continue}let ce;if(Bt.key!=null)ce=rt.get(Bt.key);else for(nt=X;nt<=j;nt++)if(rn[nt-X]===0&&Ke(Bt,m[nt])){ce=nt;break}ce===void 0?It(Bt,_,x,!0):(rn[ce-X]=w+1,ce>=le?le=ce:ae=!0,b(Bt,m[ce],y,null,_,x,D,V,C),jt++)}const pf=ae?qh(rn):ss;for(nt=pf.length-1,w=Rt-1;w>=0;w--){const Bt=X+w,ce=m[Bt],mf=Bt+1<B?m[Bt+1].el:T;rn[w]===0?b(null,ce,y,mf,_,x,D,V,C):ae&&(nt<0||w!==pf[nt]?oe(ce,y,mf,2):nt--)}}},oe=(d,m,y,T,_=null)=>{const{el:x,type:D,transition:V,children:C,shapeFlag:w}=d;if(w&6){oe(d.component.subTree,m,y,T);return}if(w&128){d.suspense.move(m,y,T);return}if(w&64){D.move(d,m,y,on);return}if(D===ut){n(x,m,y);for(let R=0;R<C.length;R++)oe(C[R],m,y,T);n(d.anchor,m,y);return}if(D===Rn){E(d,m,y);return}if(T!==2&&w&1&&V)if(T===0)V.beforeEnter(x),n(x,m,y),Lt(()=>V.enter(x),_);else{const{leave:R,delayLeave:j,afterLeave:K}=V,X=()=>{d.ctx.isUnmounted?i(x):n(x,m,y)},rt=()=>{R(x,()=>{X(),K&&K()})};j?j(x,X,rt):rt()}else n(x,m,y)},It=(d,m,y,T=!1,_=!1)=>{const{type:x,props:D,ref:V,children:C,dynamicChildren:w,shapeFlag:B,patchFlag:R,dirs:j,cacheIndex:K}=d;if(R===-2&&(_=!1),V!=null&&(Xt(),Pn(V,null,y,d,!0),Zt()),K!=null&&(m.renderCache[K]=void 0),B&256){m.ctx.deactivate(d);return}const X=B&1&&j,rt=!us(d);let nt;if(rt&&(nt=D&&D.onVnodeBeforeUnmount)&&te(nt,m,d),B&6)es(d.component,y,T);else{if(B&128){d.suspense.unmount(y,T);return}X&&Ue(d,null,m,"beforeUnmount"),B&64?d.type.remove(d,m,y,on,T):w&&!w.hasOnce&&(x!==ut||R>0&&R&64)?re(w,m,y,!1,!0):(x===ut&&R&384||!_&&B&16)&&re(C,m,y),T&&nn(d)}(rt&&(nt=D&&D.onVnodeUnmounted)||X)&&Lt(()=>{nt&&te(nt,m,d),X&&Ue(d,null,m,"unmounted")},y)},nn=d=>{const{type:m,el:y,anchor:T,transition:_}=d;if(m===ut){Qn(y,T);return}if(m===Rn){P(d);return}const x=()=>{i(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:D,delayLeave:V}=_,C=()=>D(y,x);V?V(d.el,x,C):C()}else x()},Qn=(d,m)=>{let y;for(;d!==m;)y=h(d),i(d),d=y;i(m)},es=(d,m,y)=>{const{bum:T,scope:_,job:x,subTree:D,um:V,m:C,a:w,parent:B,slots:{__:R}}=d;ga(C),ga(w),T&&ii(T),B&&U(R)&&R.forEach(j=>{B.renderCache[j]=void 0}),_.stop(),x&&(x.flags|=8,It(D,d,m,y)),V&&Lt(V,m),Lt(()=>{d.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},re=(d,m,y,T=!1,_=!1,x=0)=>{for(let D=x;D<d.length;D++)It(d[D],m,y,T,_)},Se=d=>{if(d.shapeFlag&6)return Se(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=h(d.anchor||d.el),y=m&&m[dh];return y?h(y):m};let Te=!1;const $e=(d,m,y)=>{d==null?m._vnode&&It(m._vnode,null,null,!0):b(m._vnode||null,d,m,null,null,null,y),m._vnode=d,Te||(Te=!0,Rr(),Lr(),Te=!1)},on={p:b,um:It,m:oe,r:nn,mt:wt,mc:I,pc:q,pbc:G,n:Se,o:t};return{render:$e,hydrate:void 0,createApp:jh($e)}}function Fi({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function He({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function zh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function pa(t,e,s=!1){const n=t.children,i=e.children;if(U(n)&&U(i))for(let o=0;o<n.length;o++){const r=n[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=De(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&pa(r,a)),a.type===On&&(a.el=r.el),a.type===St&&!a.el&&(a.el=r.el)}}function qh(t){const e=t.slice(),s=[0];let n,i,o,r,a;const l=t.length;for(n=0;n<l;n++){const u=t[n];if(u!==0){if(i=s[s.length-1],t[i]<u){e[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)a=o+r>>1,t[s[a]]<u?o=a+1:r=a;u<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=e[r];return s}function ma(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ma(e)}function ga(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Yh=Symbol.for("v-scx"),Xh=()=>Vs(Yh);function Zh(t,e){return $i(t,null,e)}function Vn(t,e,s){return $i(t,e,s)}function $i(t,e,s=it){const{immediate:n,deep:i,flush:o,once:r}=s,a=yt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const p=Xh();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Gt,p.resume=Gt,p.pause=Gt,p}}const c=gt;a.call=(p,v,b)=>qt(p,c,v,b);let f=!1;o==="post"?a.scheduler=p=>{Lt(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,v)=>{v?p():xi(p)}),a.augmentJob=p=>{e&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const h=nh(t,e,a);return $s&&(u?u.push(h):l&&h()),h}function Jh(t,e,s){const n=this.proxy,i=ct(t)?t.includes(".")?ya(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=Fs(this),a=$i(i,o.bind(n),s);return r(),a}function ya(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Qh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Nt(e)}Modifiers`]||t[`${Be(e)}Modifiers`];function td(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||it;let i=s;const o=e.startsWith("update:"),r=o&&Qh(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ct(c)?c.trim():c)),r.number&&(i=s.map(xf)));let a,l=n[a=ni(e)]||n[a=ni(Nt(e))];!l&&o&&(l=n[a=ni(Be(e))]),l&&qt(l,t,6,i);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,qt(u,t,6,i)}}function va(t,e,s=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!W(t)){const l=u=>{const c=va(u,e,!0);c&&(a=!0,yt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(at(t)&&n.set(t,null),null):(U(o)?o.forEach(l=>r[l]=null):yt(r,o),at(t)&&n.set(t,r),r)}function Dn(t,e){return!t||!an(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,Be(e))||tt(t,e))}function A_(){}function ba(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:p,ctx:v,inheritAttrs:b}=t,A=Tn(t);let S,O;try{if(s.shapeFlag&4){const P=i||n,M=Ce.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(P,{get(k,z,I){return ih(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(k,z,I)}}):P;S=Qt(u.call(M,P,c,Ce.NODE_ENV!=="production"?gn(f):f,p,h,v)),O=a}else{const P=e;Ce.NODE_ENV,S=Qt(P.length>1?P(Ce.NODE_ENV!=="production"?gn(f):f,Ce.NODE_ENV!=="production"?{get attrs(){return gn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):P(Ce.NODE_ENV!=="production"?gn(f):f,null)),O=e.props?a:ed(a)}}catch(P){Ds.length=0,xn(P,t,1),S=et(St)}let E=S;if(O&&b!==!1){const P=Object.keys(O),{shapeFlag:M}=E;P.length&&M&7&&(o&&P.some(ti)&&(O=sd(O,o)),E=pe(E,O,!1,!0))}return s.dirs&&(E=pe(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(s.dirs):s.dirs),s.transition&&Cs(E,s.transition),S=E,Tn(A),S}const ed=t=>{let e;for(const s in t)(s==="class"||s==="style"||an(s))&&((e||(e={}))[s]=t[s]);return e},sd=(t,e)=>{const s={};for(const n in t)(!ti(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function nd(t,e,s){const{props:n,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?_a(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(r[h]!==n[h]&&!Dn(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?_a(n,r,u):!0:!!r;return!1}function _a(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(e[o]!==t[o]&&!Dn(s,o))return!0}return!1}function id({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const xa=t=>t.__isSuspense;function od(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):hh(t)}const ut=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),Rn=Symbol.for("v-stc"),Ds=[];let Ft=null;function F(t=!1){Ds.push(Ft=t?null:[])}function rd(){Ds.pop(),Ft=Ds[Ds.length-1]||null}let Os=1;function Sa(t,e=!1){Os+=t,t<0&&Ft&&e&&(Ft.hasOnce=!0)}function Ta(t){return t.dynamicChildren=Os>0?Ft||ss:null,rd(),Os>0&&Ft&&Ft.push(t),t}function N(t,e,s,n,i,o){return Ta(g(t,e,s,n,i,o,!0))}function $t(t,e,s,n,i){return Ta(et(t,e,s,n,i,!0))}function Rs(t){return t?t.__v_isVNode===!0:!1}function Ke(t,e){return t.type===e.type&&t.key===e.key}const wa=({key:t})=>t??null,Ln=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||_t(t)||W(t)?{i:xt,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===ut?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&wa(e),ref:e&&Ln(e),scopeId:$r,slotScopeIds:null,children:s,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:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xt};return a?(Ii(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ct(s)?8:16),Os>0&&!r&&Ft&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ft.push(l),l}const et=ad;function ad(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Yr)&&(t=St),Rs(t)){const a=pe(t,e,!0);return s&&Ii(a,s),Os>0&&!o&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(t)]=a:Ft.push(a)),a.patchFlag=-2,a}if(vd(t)&&(t=t.__vccOpts),e){e=ld(e);let{class:a,style:l}=e;a&&!ct(a)&&(e.class=Ct(a)),at(l)&&(bi(l)&&!U(l)&&(l=yt({},l)),e.style=oi(l))}const r=ct(t)?1:xa(t)?128:Ir(t)?64:at(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function ld(t){return t?bi(t)||aa(t)?yt({},t):t:null}function pe(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Aa(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&wa(u),ref:e&&e.ref?s&&o?U(o)?o.concat(Ln(e)):[o,Ln(e)]:Ln(e):o,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!==ut?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pe(t.ssContent),ssFallback:t.ssFallback&&pe(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Cs(c,l.clone(c)),c}function Ls(t=" ",e=0){return et(On,null,t,e)}function cd(t,e){const s=et(Rn,null,t);return s.staticCount=e,s}function Ht(t="",e=!1){return e?(F(),$t(St,null,t)):et(St,null,t)}function Qt(t){return t==null||typeof t=="boolean"?et(St):U(t)?et(ut,null,t.slice()):Rs(t)?De(t):et(On,null,String(t))}function De(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:pe(t)}function Ii(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(U(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Ii(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!aa(e)?e._ctx=xt:i===3&&xt&&(xt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:xt},s=32):(e=String(e),n&64?(s=16,e=[Ls(e)]):s=8);t.children=e,t.shapeFlag|=s}function Aa(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Ct([e.class,n.class]));else if(i==="style")e.style=oi([e.style,n.style]);else if(an(i)){const o=e[i],r=n[i];r&&o!==r&&!(U(o)&&o.includes(r))&&(e[i]=o?[].concat(o,r):r)}else i!==""&&(e[i]=n[i])}return e}function te(t,e,s,n=null){qt(t,e,7,[s,n])}const ud=ia();let fd=0;function hd(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ud,o={uid:fd++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Mf(!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:ca(n,i),emitsOptions:va(n,i),emit:null,emitted:null,propsDefaults:it,inheritAttrs:n.inheritAttrs,ctx:it,data:it,props:it,attrs:it,slots:it,refs:it,setupState:it,setupContext:null,suspense:s,suspenseId:s?s.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 o.ctx={_:o},o.root=e?e.root:o,o.emit=td.bind(null,o),t.ce&&t.ce(o),o}let gt=null;const ji=()=>gt||xt;let Fn,Bi;{const t=fn(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};Fn=e("__VUE_INSTANCE_SETTERS__",s=>gt=s),Bi=e("__VUE_SSR_SETTERS__",s=>$s=s)}const Fs=t=>{const e=gt;return Fn(t),t.scope.on(),()=>{t.scope.off(),Fn(e)}},Pa=()=>{gt&&gt.scope.off(),Fn(null)};function Ca(t){return t.vnode.shapeFlag&4}let $s=!1;function dd(t,e=!1,s=!1){e&&Bi(e);const{props:n,children:i}=t.vnode,o=Ca(t);Bh(t,n,o,e),Hh(t,i,s||e);const r=o?pd(t,e):void 0;return e&&Bi(!1),r}function pd(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mh);const{setup:n}=s;if(n){Xt();const i=t.setupContext=n.length>1?Va(t):null,o=Fs(t),r=as(n,t,0,[t.props,i]),a=er(r);if(Zt(),o(),(a||t.sp)&&!us(t)&&Kr(t),a){if(r.then(Pa,Pa),e)return r.then(l=>{Ea(t,l)}).catch(l=>{xn(l,t,0)});t.asyncDep=r}else Ea(t,r)}else Ma(t)}function Ea(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:at(e)&&(t.setupState=Mr(e)),Ma(t)}function Ma(t,e,s){const n=t.type;t.render||(t.render=n.render||Gt);{const i=Fs(t);Xt();try{Oh(t)}finally{Zt(),i()}}}const md={get(t,e){return At(t,"get",""),t[e]}};function Va(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,md),slots:t.slots,emit:t.emit,expose:e}}function Ni(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Mr(Xf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Es)return Es[s](t)},has(e,s){return s in e||s in Es}})):t.proxy}const gd=/(?:^|[-_])(\w)/g,yd=t=>t.replace(gd,e=>e.toUpperCase()).replace(/[-_]/g,"");function Da(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function Oa(t,e,s=!1){let n=Da(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t&&t.parent){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?yd(n):s?"App":"Anonymous"}function vd(t){return W(t)&&"__vccOpts"in t}const vt=(t,e)=>eh(t,e,$s);function ki(t,e,s){const n=arguments.length;return n===2?at(e)&&!U(e)?Rs(e)?et(t,null,[e]):et(t,e):et(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Rs(s)&&(s=[s]),et(t,e,s))}const bd="3.5.15";let Ui;const Ra=typeof window<"u"&&window.trustedTypes;if(Ra)try{Ui=Ra.createPolicy("vue",{createHTML:t=>t})}catch{}const La=Ui?t=>Ui.createHTML(t):t=>t,_d="http://www.w3.org/2000/svg",xd="http://www.w3.org/1998/Math/MathML",me=typeof document<"u"?document:null,Fa=me&&me.createElement("template"),Sd={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?me.createElementNS(_d,t):e==="mathml"?me.createElementNS(xd,t):s?me.createElement(t,{is:s}):me.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>me.createTextNode(t),createComment:t=>me.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>me.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,o){const r=s?s.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Fa.innerHTML=La(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Fa.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,s)}return[r?r.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Oe="transition",Is="animation",js=Symbol("_vtc"),$a={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},Td=yt({},jr,$a),wd=(t=>(t.displayName="Transition",t.props=Td,t))((t,{slots:e})=>ki(gh,Ad(t),e)),We=(t,e=[])=>{U(t)?t.forEach(s=>s(...e)):t&&t(...e)},Ia=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function Ad(t){const e={};for(const $ in t)$ in $a||(e[$]=t[$]);if(t.css===!1)return e;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:h=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,v=Pd(i),b=v&&v[0],A=v&&v[1],{onBeforeEnter:S,onEnter:O,onEnterCancelled:E,onLeave:P,onLeaveCancelled:M,onBeforeAppear:k=S,onAppear:z=O,onAppearCancelled:I=E}=e,L=($,st,wt,ne)=>{$._enterCancelled=ne,Ge($,st?c:a),Ge($,st?u:r),wt&&wt()},G=($,st)=>{$._isLeaving=!1,Ge($,f),Ge($,p),Ge($,h),st&&st()},Y=$=>(st,wt)=>{const ne=$?z:O,mt=()=>L(st,$,wt);We(ne,[st,mt]),ja(()=>{Ge(st,$?l:o),ge(st,$?c:a),Ia(ne)||Ba(st,n,b,mt)})};return yt(e,{onBeforeEnter($){We(S,[$]),ge($,o),ge($,r)},onBeforeAppear($){We(k,[$]),ge($,l),ge($,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave($,st){$._isLeaving=!0;const wt=()=>G($,st);ge($,f),$._enterCancelled?(ge($,h),Ua()):(Ua(),ge($,h)),ja(()=>{$._isLeaving&&(Ge($,f),ge($,p),Ia(P)||Ba($,n,A,wt))}),We(P,[$,wt])},onEnterCancelled($){L($,!1,void 0,!0),We(E,[$])},onAppearCancelled($){L($,!0,void 0,!0),We(I,[$])},onLeaveCancelled($){G($),We(M,[$])}})}function Pd(t){if(t==null)return null;if(at(t))return[Hi(t.enter),Hi(t.leave)];{const e=Hi(t);return[e,e]}}function Hi(t){return Sf(t)}function ge(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[js]||(t[js]=new Set)).add(e)}function Ge(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[js];s&&(s.delete(e),s.size||(t[js]=void 0))}function ja(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Cd=0;function Ba(t,e,s,n){const i=t._endId=++Cd,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ed(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Ed(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${Oe}Delay`),o=n(`${Oe}Duration`),r=Na(i,o),a=n(`${Is}Delay`),l=n(`${Is}Duration`),u=Na(a,l);let c=null,f=0,h=0;e===Oe?r>0&&(c=Oe,f=r,h=o.length):e===Is?u>0&&(c=Is,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Oe:Is:null,h=c?c===Oe?o.length:l.length:0);const p=c===Oe&&/\b(transform|all)(,|$)/.test(n(`${Oe}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:p}}function Na(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>ka(s)+ka(t[n])))}function ka(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ua(){return document.body.offsetHeight}function Md(t,e,s){const n=t[js];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ha=Symbol("_vod"),Vd=Symbol("_vsh"),Dd=Symbol(""),Od=/(^|;)\s*display\s*:/;function Rd(t,e,s){const n=t.style,i=ct(s);let o=!1;if(s&&!i){if(e)if(ct(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&$n(n,a,"")}else for(const r in e)s[r]==null&&$n(n,r,"");for(const r in s)r==="display"&&(o=!0),$n(n,r,s[r])}else if(i){if(e!==s){const r=n[Dd];r&&(s+=";"+r),n.cssText=s,o=Od.test(s)}}else e&&t.removeAttribute("style");Ha in t&&(t[Ha]=o?n.display:"",t[Vd]&&(n.display="none"))}const Ka=/\s*!important$/;function $n(t,e,s){if(U(s))s.forEach(n=>$n(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Ld(t,e);Ka.test(s)?t.setProperty(Be(n),s.replace(Ka,""),"important"):t[n]=s}}const Wa=["Webkit","Moz","ms"],Ki={};function Ld(t,e){const s=Ki[e];if(s)return s;let n=Nt(e);if(n!=="filter"&&n in t)return Ki[e]=n;n=un(n);for(let i=0;i<Wa.length;i++){const o=Wa[i]+n;if(o in t)return Ki[e]=o}return e}const Ga="http://www.w3.org/1999/xlink";function za(t,e,s,n,i,o=Cf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Ga,e.slice(6,e.length)):t.setAttributeNS(Ga,e,s):s==null||o&&!rr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":ue(s)?String(s):s)}function qa(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?La(s):s);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let r=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=rr(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{t[e]=s}catch{}r&&t.removeAttribute(i||e)}function Fd(t,e,s,n){t.addEventListener(e,s,n)}function $d(t,e,s,n){t.removeEventListener(e,s,n)}const Ya=Symbol("_vei");function Id(t,e,s,n,i=null){const o=t[Ya]||(t[Ya]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=jd(e);if(n){const u=o[e]=kd(n,i);Fd(t,a,u,l)}else r&&($d(t,a,r,l),o[e]=void 0)}}const Xa=/(?:Once|Passive|Capture)$/;function jd(t){let e;if(Xa.test(t)){e={};let n;for(;n=t.match(Xa);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Be(t.slice(2)),e]}let Wi=0;const Bd=Promise.resolve(),Nd=()=>Wi||(Bd.then(()=>Wi=0),Wi=Date.now());function kd(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;qt(Ud(n,s.value),e,5,[n])};return s.value=t,s.attached=Nd(),s}function Ud(t,e){if(U(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Za=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Hd=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Md(t,n,r):e==="style"?Rd(t,s,n):an(e)?ti(e)||Id(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Kd(t,e,n,r))?(qa(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&za(t,e,n,r,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ct(n))?qa(t,Nt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),za(t,e,n,r))};function Kd(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Za(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||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 Za(e)&&ct(s)?!1:e in t}const Wd=yt({patchProp:Hd},Sd);let Ja;function Gd(){return Ja||(Ja=Wh(Wd))}const Qa=(...t)=>{const e=Gd().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=qd(n);if(!i)return;const o=e._component;!W(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,zd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function zd(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function qd(t){return ct(t)?document.querySelector(t):t}const Yd={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Xd={class:"slds-grid slds-grid_align-spread slds-wrap"},Zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jd={key:0,class:"slds-text-color_weak"},Qd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={class:"slds-text-color_weak"},ep={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},sp={class:"slds-text-color_weak"},np={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(F(),N("footer",Yd,[g("div",Xd,[g("div",Zd,[t.description?(F(),N("span",Jd,Z(t.description),1)):Ht("",!0)]),g("div",Qd,[g("span",tp,Z(t.schemaCount)+" schema"+Z(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",ep,[g("span",sp," Generated at: "+Z(e(t.generatedAt)),1)])])]))}},tl="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='100'%20width='100'%20viewBox='0%200%201000%201000'%20fill='%23fff'%3e%3cpath%20d='M738%20200H262c-34%200-62%2028-62%2062v476c0%2034%2028%2062%2062%2062h476c34%200%2062-28%2062-62V262c0-34-28-62-62-62zm-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21zm434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021zM467%20633l-66-66%2066-66c4-4%204-10%200-14l-28-28c-4-4-10-4-14%200l-73%2073-15%2015-13%2013c-2%202-3%205-3%207%200%203%201%205%203%207l102%20102c4%204%2010%204%2014%200l28-28c3-5%203-11-1-15zm210-74-13-13-15-15-73-73c-4-4-10-4-14%200l-28%2028c-4%204-4%2010%200%2014l66%2066-66%2066c-4%204-4%2010%200%2014l28%2028c4%204%2010%204%2014%200l102-102c2-2%203-5%203-7z'/%3e%3c/svg%3e",ip={class:"slds-page-header"},op={class:"slds-page-header__row"},rp={class:"slds-page-header__col-title"},ap={class:"slds-media"},lp={class:"slds-media__body"},cp={class:"slds-page-header__name"},up={class:"slds-page-header__name-title"},fp=["title"],hp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(F(),N("header",ip,[g("div",op,[g("div",rp,[g("div",ap,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:tl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",lp,[g("div",cp,[g("div",up,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},Z(t.title),9,fp)])])])])])])]))}},el=t=>e=>typeof e=="string"&&e.startsWith(t),Gi=el("--"),dp=el("var(--"),zi=t=>dp(t)?pp.test(t.split("/*")[0].trim()):!1,pp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Bs={};function sl(t){for(const e in t)Bs[e]=t[e],Gi(e)&&(Bs[e].isCSSVariable=!0)}function Ns(t,e){const s=typeof t=="string"?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Vs(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Di(n,r),r)]}const[mp,gp]=Ns("Motion"),[yp,C_]=Ns("LayoutGroup");function nl(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}class ye{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(){}beforeUnmount(){}}function ks(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=ks(i,e,s);return o?{...n,...o}:n},{});if(typeof t=="object")return t;if(t&&e){const n=e[t];return typeof n=="function"?n(s):n}}function vp(t,e){return typeof t!=typeof e?!0:Array.isArray(t)&&Array.isArray(e)?!bp(t,e):t!==e}function bp(t,e){const s=e.length;if(s!==t.length)return!1;for(let n=0;n<s;n++)if(e[n]!==t[n])return!1;return!0}function il(t){return t==null?void 0:t.startsWith("--")}const _p=t=>t;function xp(t){return typeof t=="number"}const Sp=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],Tp=new Set(Sp);function ol(t){return Tp.has(t)}function wp(t,e){const s=t.animate,n=e.animate;if(s===n)return!1;if(!s||!n)return!0;if(typeof s=="object"||typeof n=="object"){const i=Object.keys(s),o=Object.keys(n);return i.length!==o.length?!0:i.some(r=>{if(r==="transition")return!1;const a=s[r],l=n[r];return a!==l})}return s!==n}class Ap{constructor(e){this.features=[];const{features:s=[],lazyMotionContext:n}=e.options,i=s.concat(n.features.value);this.features=i.map(r=>new r(e));const o=this.features;Vn(n.features,r=>{r.forEach(a=>{if(!i.includes(a)){i.push(a);const l=new a(e);o.push(l),e.isMounted()&&(l.beforeMount(),l.mount())}})},{flush:"pre"})}mount(){this.features.forEach(e=>e.mount())}beforeMount(){this.features.forEach(e=>{var s;return(s=e.beforeMount)==null?void 0:s.call(e)})}unmount(){this.features.forEach(e=>e.unmount())}update(){this.features.forEach(e=>{var s;return(s=e.update)==null?void 0:s.call(e)})}beforeUpdate(){this.features.forEach(e=>e.beforeUpdate())}beforeUnmount(){this.features.forEach(e=>e.beforeUnmount())}}const qi=new WeakMap,[Pp,E_]=Ns("AnimatePresenceContext");function Cp(t){return typeof t=="string"||t===!1||Array.isArray(t)}const Dt=t=>t,In=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ep(t,e){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,f=!1,h=!1)=>{const v=h&&i?s:n;return f&&r.add(c),v.has(c)||v.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[s,n]=[n,s],s.forEach(l),s.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const ve={},Mp=40;function rl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=In.reduce((E,P)=>(E[P]=Ep(o),E),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:p,postRender:v}=r,b=()=>{const E=ve.useManualTiming?i.timestamp:performance.now();s=!1,ve.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(E-i.timestamp,Mp),1)),i.timestamp=E,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),p.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(b))},A=()=>{s=!0,n=!0,i.isProcessing||t(b)};return{schedule:In.reduce((E,P)=>{const M=r[P];return E[P]=(k,z=!1,I=!1)=>(s||A(),M.schedule(k,z,I)),E},{}),cancel:E=>{for(let P=0;P<In.length;P++)r[In[P]].cancel(E)},state:i,steps:r}}const{schedule:lt,cancel:be,state:Tt,steps:Yi}=rl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Dt,!0),al=new WeakMap;let Vp=0;const Xi=new Set;class Dp{constructor(e,s){var n;this.element=null,this.isSafeToRemove=!1,this.isVShow=!1,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=Dt,this.id=`motion-state-${Vp++}`,this.options=e,this.parent=s,(n=s==null?void 0:s.children)==null||n.add(this),this.depth=(s==null?void 0:s.depth)+1||0;const o=(e.initial===void 0&&e.variants?this.context.initial:e.initial)===!1?["initial","animate"]:["initial"];this.initTarget(o),this.featureManager=new Ap(this),this.type=ol(this.options.as)?"svg":"html"}get context(){if(!this._context){const e={get:(s,n)=>{var i;return Cp(this.options[n])?this.options[n]:(i=this.parent)==null?void 0:i.context[n]}};this._context=new Proxy({},e)}return this._context}initTarget(e){this.baseTarget=e.reduce((s,n)=>({...s,...ks(this.options[n]||this.context[n],this.options.variants)}),{}),this.target={}}updateOptions(e){var s;this.options=e,(s=this.visualElement)==null||s.update({...this.options,whileTap:this.options.whilePress,reducedMotionConfig:this.options.motionConfig.reduceMotion},{isPresent:!qi.has(this.element)})}beforeMount(){this.featureManager.beforeMount()}mount(e,s,n=!1){var i;this.element=e,this.updateOptions(s),this.featureManager.mount(),!n&&this.options.animate&&((i=this.startAnimation)==null||i.call(this)),this.options.layoutId&&(Xi.add(this.options.layoutId),lt.render(()=>{Xi.clear()}))}clearAnimation(){var e,s;this.currentProcess&&be(this.currentProcess),this.currentProcess=null,(s=(e=this.visualElement)==null?void 0:e.variantChildren)==null||s.forEach(n=>{n.state.clearAnimation()})}startAnimation(){this.clearAnimation(),this.currentProcess=lt.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(e=!1){const s=this.options.layoutId&&!Xi.has(this.options.layoutId);(()=>{const i=()=>{var o,r,a;e&&Array.from(this.children).reverse().forEach(this.unmountChild),(r=(o=this.parent)==null?void 0:o.children)==null||r.delete(this),al.delete(this.element),this.featureManager.unmount(),(a=this.visualElement)==null||a.unmount(),this.clearAnimation()};s?Promise.resolve().then(i):i()})()}unmountChild(e){e.unmount(!0)}beforeUpdate(){this.featureManager.beforeUpdate()}update(e){const s=wp(this.options,e);this.updateOptions(e),this.featureManager.update(),s&&this.startAnimation()}setActive(e,s,n=!0){var i;!this.element||this.activeStates[e]===s||(this.activeStates[e]=s,(i=this.visualElement.variantChildren)==null||i.forEach(o=>{o.state.setActive(e,s,!1)}),n&&this.animateUpdates({isFallback:!s&&e!=="exit"&&this.visualElement.isControllingVariants,isExit:e==="exit"&&this.activeStates.exit}))}isMounted(){return!!this.element}willUpdate(e){var s;(this.options.layout||this.options.layoutId)&&((s=this.visualElement.projection)==null||s.willUpdate())}}const ze=new WeakMap;function ll(t,e,s){return new CustomEvent(t,{detail:{target:e,isExit:s}})}const cl={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>`${t}deg`},Op={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>`${t}px`},rotate:cl,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:_p},skew:cl},Rp=["translate","scale","rotate","skew"],Lp=["","X","Y","Z"],Zi=new Map,jn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];Rp.forEach(t=>{Lp.forEach(e=>{jn.push(t+e),Zi.set(t+e,Op[t])})});const Fp=new Set(jn),$p=t=>Fp.has(t),ul={x:"translateX",y:"translateY",z:"translateZ"};function Ip([t],[e]){return jn.indexOf(t)-jn.indexOf(e)}function jp(t,[e,s]){return`${t} ${e}(${s})`}function Bp(t){return t.sort(Ip).reduce(jp,"").trim()}const fl={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0};function hl(t){return{test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}}const Np=hl("%"),Ji=hl("px"),dt=t=>!!(t&&t.getVelocity),kp={get:(t,e)=>{let s=il(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!s&&s!=="0"){const n=Zi.get(e);n&&(s=n.initialValue)}return s},set:(t,e,s)=>{il(e)?t.style.setProperty(e,s):t.style[e]=s}};function Up(t){var e;const s={},n=[];for(let i in t){let o=t[i];o=dt(o)?o.get():o,$p(i)&&i in ul&&(i=ul[i]);let r=Array.isArray(o)?o[0]:o;const a=Zi.get(i);a?(r=xp(o)?(e=a.toDefaultUnit)==null?void 0:e.call(a,o):o,n.push([i,r])):s[i]=r}return n.length&&(s.transform=Bp(n)),Object.keys(s).length===0?null:s}const Hp={fill:!0,stroke:!0,opacity:!0,"stroke-width":!0,"fill-opacity":!0,"stroke-opacity":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,cx:!0,cy:!0,r:!0,d:!0,x1:!0,y1:!0,x2:!0,y2:!0,points:!0,"path-length":!0,viewBox:!0,width:!0,height:!0,"preserve-aspect-ratio":!0,"clip-path":!0,filter:!0,mask:!0,"stop-color":!0,"stop-opacity":!0,"gradient-transform":!0,"gradient-units":!0,"spread-method":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,"text-anchor":!0,"dominant-baseline":!0,"font-family":!0,"font-size":!0,"font-weight":!0,"letter-spacing":!0,"vector-effect":!0};function Kp(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Wp(t,e,s=1,n=0){t.pathLength=1,delete t["path-length"],t["stroke-dashoffset"]=Ji.transform(-n);const i=Ji.transform(e),o=Ji.transform(s);t["stroke-dasharray"]=`${i} ${o}`}function Gp(t){const e={},s={};for(const n in t){const i=Kp(n);if(i in Hp){const o=t[n];e[i]=dt(o)?o.get():o}else s[n]=t[n]}return e["path-length"]!==void 0&&Wp(e,e["path-length"],e["path-spacing"],e["path-offset"]),{attrs:e,style:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qi=t=>typeof t<"u";function zp({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function qp(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function Yp(t,e){return zp(qp(t.getBoundingClientRect(),e))}const dl={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},to={};for(const t in dl)to[t]={isEnabled:e=>dl[t].some(s=>!!e[s])};const pl=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:pl(),y:pl()}),ml=()=>({min:0,max:0}),ht=()=>({x:ml(),y:ml()}),Xp=typeof window<"u",eo={current:null},gl={current:!1};function Zp(){if(gl.current=!0,!!Xp)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eo.current=t.matches;t.addListener(e),e()}else eo.current=!1}function Jp(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Qp(t){return typeof t=="string"||Array.isArray(t)}const tm=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function yl(t){return Jp(t.animate)||tm.some(e=>Qp(t[e]))}function em(t){return!!(yl(t)||t.variants)}let Bn;function sm(){Bn=void 0}const Ot={now:()=>(Bn===void 0&&Ot.set(Tt.isProcessing||ve.useManualTiming?Tt.timestamp:performance.now()),Bn),set:t=>{Bn=t,queueMicrotask(sm)}};function so(t,e){t.indexOf(e)===-1&&t.push(e)}function Nn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}class no{constructor(){this.subscriptions=[]}add(e){return so(this.subscriptions,e),()=>Nn(this.subscriptions,e)}notify(e,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function vl(t,e){return e?t*(1e3/e):0}const bl=30,nm=t=>!isNaN(parseFloat(t));class im{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{var o,r;const a=Ot.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty();i&&((r=this.events.renderRequest)==null||r.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Ot.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=nm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new no);const n=this.events[e].add(s);return e==="change"?()=>{n(),lt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,s){this.passiveEffect=e,this.stopPassiveEffect=s}set(e,s=!0){!s||!this.passiveEffect?this.updateAndNotify(e,s):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Ot.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>bl)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,bl);return vl(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,s;(e=this.dependents)==null||e.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ds(t,e){return new im(t,e)}function om(t,e,s){for(const n in e){const i=e[n],o=s[n];if(dt(i))t.addValue(n,i);else if(dt(o))t.addValue(n,ds(i,{owner:t}));else if(o!==i)if(t.hasValue(n)){const r=t.getValue(n);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(n);t.addValue(n,ds(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}function _l(t){const e=[{},{}];return t==null||t.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function xl(t,e,s,n){if(typeof e=="function"){const[i,o]=_l(n);e=e(s!==void 0?s:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=_l(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function rm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const qe=t=>t*180/Math.PI,io=t=>{const e=qe(Math.atan2(t[1],t[0]));return oo(e)},am={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:io,rotateZ:io,skewX:t=>qe(Math.atan(t[1])),skewY:t=>qe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},oo=t=>(t=t%360,t<0&&(t+=360),t),Sl=io,Tl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),wl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),lm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Tl,scaleY:wl,scale:t=>(Tl(t)+wl(t))/2,rotateX:t=>oo(qe(Math.atan2(t[6],t[5]))),rotateY:t=>oo(qe(Math.atan2(-t[2],t[0]))),rotateZ:Sl,rotate:Sl,skewX:t=>qe(Math.atan(t[4])),skewY:t=>qe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ro(t){return t.includes("scale")?1:0}function ao(t,e){if(!t||t==="none")return ro(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=lm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=am,i=a}if(!i)return ro(e);const o=n[e],r=i[1].split(",").map(um);return typeof o=="function"?o(r):r[o]}const cm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return ao(s,e)};function um(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set(ps),Re=(t,e,s)=>s>e?e:s<t?t:s,gs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Us={...gs,transform:t=>Re(0,1,t)},kn={...gs,default:1},Hs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=Hs("deg"),_e=Hs("%"),H=Hs("px"),fm=Hs("vh"),hm=Hs("vw"),Al={..._e,parse:t=>_e.parse(t)/100,transform:t=>_e.transform(t*100)},Pl=t=>t===gs||t===H,dm=new Set(["x","y","z"]),pm=ps.filter(t=>!dm.has(t));function mm(t){const e=[];return pm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Ye={width:({x:t},{paddingLeft:e="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),height:({y:t},{paddingTop:e="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ao(e,"x"),y:(t,{transform:e})=>ao(e,"y")};Ye.translateX=Ye.x,Ye.translateY=Ye.y;const Xe=new Set;let lo=!1,co=!1,uo=!1;function Cl(){if(co){const t=Array.from(Xe).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=mm(n);i.length&&(s.set(n,i),n.render())}),t.forEach(n=>n.measureInitialState()),e.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{var a;(a=n.getValue(o))==null||a.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}co=!1,lo=!1,Xe.forEach(t=>t.complete(uo)),Xe.clear()}function El(){Xe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(co=!0)})}function gm(){uo=!0,El(),Cl(),uo=!1}class fo{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Xe.add(this),lo||(lo=!0,lt.read(El),lt.resolveKeyframes(Cl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i==null?void 0:i.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}rm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Xe.delete(this)}cancel(){this.state==="scheduled"&&(Xe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Ml=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Vl=t=>/^0[^.\s]+$/u.test(t),Ks=t=>Math.round(t*1e5)/1e5,ho=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ym(t){return t==null}const vm=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,po=(t,e)=>s=>!!(typeof s=="string"&&vm.test(s)&&s.startsWith(t)||e&&!ym(s)&&Object.prototype.hasOwnProperty.call(s,e)),Dl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ho);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},bm=t=>Re(0,255,t),mo={...gs,transform:t=>Math.round(bm(t))},Ze={test:po("rgb","red"),parse:Dl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+mo.transform(t)+", "+mo.transform(e)+", "+mo.transform(s)+", "+Ks(Us.transform(n))+")"};function _m(t){let e="",s="",n="",i="";return t.length>5?(e=t.substring(1,3),s=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),s=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,s+=s,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(s,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const go={test:po("#"),parse:_m,transform:Ze.transform},ys={test:po("hsl","hue"),parse:Dl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+_e.transform(Ks(e))+", "+_e.transform(Ks(s))+", "+Ks(Us.transform(n))+")"},Pt={test:t=>Ze.test(t)||go.test(t)||ys.test(t),parse:t=>Ze.test(t)?Ze.parse(t):ys.test(t)?ys.parse(t):go.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ze.transform(t):ys.transform(t)},xm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Sm(t){var e,s;return isNaN(t)&&typeof t=="string"&&(((e=t.match(ho))==null?void 0:e.length)||0)+(((s=t.match(xm))==null?void 0:s.length)||0)>0}const Ol="number",Rl="color",Tm="var",wm="var(",Ll="${}",Am=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ws(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Am,l=>(Pt.test(l)?(n.color.push(o),i.push(Rl),s.push(Pt.parse(l))):l.startsWith(wm)?(n.var.push(o),i.push(Tm),s.push(l)):(n.number.push(o),i.push(Ol),s.push(parseFloat(l))),++o,Ll)).split(Ll);return{values:s,split:a,indexes:n,types:i}}function Fl(t){return Ws(t).values}function $l(t){const{split:e,types:s}=Ws(t),n=e.length;return i=>{let o="";for(let r=0;r<n;r++)if(o+=e[r],i[r]!==void 0){const a=s[r];a===Ol?o+=Ks(i[r]):a===Rl?o+=Pt.transform(i[r]):o+=i[r]}return o}}const Pm=t=>typeof t=="number"?0:t;function Cm(t){const e=Fl(t);return $l(t)(e.map(Pm))}const Fe={test:Sm,parse:Fl,createTransformer:$l,getAnimatableNone:Cm},Em={test:t=>t==="auto",parse:t=>t},Il=t=>e=>e.test(t),jl=[gs,H,_e,Le,hm,fm,Em],Bl=t=>jl.find(Il(t)),Mm=[...jl,Pt,Fe],Vm=t=>Mm.find(Il(t)),Dm=new Set(["brightness","contrast","saturate","opacity"]);function Om(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ho)||[];if(!n)return t;const i=s.replace(n,"");let o=Dm.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const Rm=/\b([a-z-]*)\(.*?\)/gu,yo={...Fe,getAnimatableNone:t=>{const e=t.match(Rm);return e?e.map(Om).join(" "):t}},Nl={...gs,transform:Math.round},vo={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,radius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,backgroundPositionX:H,backgroundPositionY:H,...{rotate:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:kn,scaleX:kn,scaleY:kn,scaleZ:kn,skew:Le,skewX:Le,skewY:Le,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:Us,originX:Al,originY:Al,originZ:H},zIndex:Nl,fillOpacity:Us,strokeOpacity:Us,numOctaves:Nl},Lm={...vo,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:yo,WebkitFilter:yo},kl=t=>Lm[t];function Ul(t,e){let s=kl(t);return s!==yo&&(s=Fe),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const Hl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Kl{scrapeMotionValuesFromProps(e,s,n){return{}}constructor({parent:e,props:s,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fo,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ot.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,lt.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=s.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=yl(s),this.isVariantNode=em(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(s,{},this);for(const h in f){const p=f[h];l[h]!==void 0&&dt(p)&&p.set(l[h],!1)}}mount(e){this.current=e,ze.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,n)=>this.bindToMotionValue(n,s)),gl.current||Zp(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:eo.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),be(this.notifyUpdate),be(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const s=this.features[e];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(e,s){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&lt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=s.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o(),r&&r(),s.owner&&s.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in to){const s=to[e];if(!s)continue;const{isEnabled:n,Feature:i}=s;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ht()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,s){this.latestValues[e]=s}update(e,s){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let n=0;n<Hl.length;n++){const i=Hl[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=om(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=ds(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(Ml(n)||Vl(n))?n=parseFloat(n):!Vm(n)&&Fe.test(s)&&(n=Ul(e,s)),this.setBaseTarget(e,dt(n)?n.get():n)),dt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){var s;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const r=xl(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);r&&(i=r[e])}if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!dt(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new no),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}}const Wl=new Set(["width","height","top","left","right","bottom",...ps]);let bo=()=>{};const Fm=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $m(t){const e=Fm.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Gl(t,e,s=1){const[n,i]=$m(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return Ml(r)?parseFloat(r):r}return zi(i)?Gl(i,e,s+1):i}function Im(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Vl(t):!0}const jm=new Set(["auto","none","0"]);function Bm(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!jm.has(o)&&Ws(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=Ul(s,i)}class Nm extends fo{constructor(e,s,n,i,o){super(e,s,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:s,name:n}=this;if(!s||!s.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),zi(u))){const c=Gl(u,s.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Wl.has(n)||e.length!==2)return;const[i,o]=e,r=Bl(i),a=Bl(o);if(r!==a)if(Pl(r)&&Pl(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else Ye[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||Im(e[i]))&&n.push(i);n.length&&Bm(e,n,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ye[n](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:s,name:n,unresolvedKeyframes:i}=this;if(!s||!s.current)return;const o=s.getValue(n);o&&o.jump(this.measuredOrigin,!1);const r=i.length-1,a=i[r];i[r]=Ye[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(e=this.removedTransforms)!=null&&e.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class zl extends Kl{constructor(){super(...arguments),this.KeyframeResolver=Nm}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){return e.style?e.style[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;dt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}const ql=(t,e)=>e&&typeof t=="number"?e.transform(t):t,km={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Um=ps.length;function Hm(t,e,s){let n="",i=!0;for(let o=0;o<Um;o++){const r=ps[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(r.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||s){const u=ql(a,vo[r]);if(!l){i=!1;const c=km[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Yl(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ms.has(l)){r=!0;continue}else if(Gi(l)){i[l]=u;continue}else{const c=ql(u,vo[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Hm(e,t.transform,s):n.transform&&(n.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;n.transformOrigin=`${l} ${u} ${c}`}}function Xl(t,{style:e,vars:s},n,i){Object.assign(t.style,e,i&&i.getProjectionStyles(n));for(const o in s)t.style.setProperty(o,s[o])}function Km(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Bs[t]||t==="opacity")}function Zl(t,e,s){var n;const{style:i}=t,o={};for(const r in i)(dt(i[r])||e.style&&dt(e.style[r])||Km(r,t)||((n=s==null?void 0:s.getValue(r))==null?void 0:n.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function Wm(t){return window.getComputedStyle(t)}class Jl extends zl{constructor(){super(...arguments),this.type="html",this.renderInstance=Xl}readValueFromInstance(e,s){var n;if(ms.has(s))return(n=this.projection)!=null&&n.isProjecting?ro(s):cm(e,s);{const i=Wm(e),o=(Gi(s)?i.getPropertyValue(s):i[s])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Yp(e,s)}build(e,s,n){Yl(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Zl(e,s,n)}}const _o=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Gm={offset:"stroke-dashoffset",array:"stroke-dasharray"},zm={offset:"strokeDashoffset",array:"strokeDasharray"};function qm(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?Gm:zm;t[o.offset]=H.transform(-n);const r=H.transform(e),a=H.transform(s);t[o.array]=`${r} ${a}`}function Ym(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Yl(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h}=t;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&qm(f,i,o,r,!1)}const Ql=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Xm=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Zm(t,e,s,n){Xl(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(Ql.has(i)?i:_o(i),e.attrs[i])}function Jm(t,e,s){const n=Zl(t,e,s);for(const i in t)if(dt(t[i])||dt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class tc extends zl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ht}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=kl(s);return n&&n.default||0}return s=Ql.has(s)?s:_o(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Jm(e,s,n)}build(e,s,n){Ym(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Zm(e,s,n,i)}mount(e){this.isSVGTag=Xm(e.tagName),super.mount(e)}}function Qm(t,e){return ol(t)?new tc(e):new Jl(e)}function xo(t){return typeof t=="object"&&!Array.isArray(t)}function So(t,e,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=(s==null?void 0:s[t])??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}function ec(t,e,s,n){return typeof t=="string"&&xo(e)?So(t,s,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function tg(t,e,s){return t*(e+1)}function sc(t,e,s,n){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?s:n.get(e)??t}const pt=(t,e,s)=>t+(e-t)*s,eg=(t,e,s)=>{const n=e-t;return((s-t)%n+n)%n+t},nc=t=>Array.isArray(t)&&typeof t[0]!="number";function ic(t,e){return nc(t)?t[eg(0,t.length,e)]:t}function sg(t,e,s){for(let n=0;n<t.length;n++){const i=t[n];i.at>e&&i.at<s&&(Nn(t,i),n--)}}function ng(t,e,s,n,i,o){sg(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:pt(i,o,n[r]),easing:ic(s,r)})}function ig(t,e){for(let s=0;s<t.length;s++)t[s]=t[s]/(e+1)}function og(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const Un=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};function oc(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Un(0,e,n);t.push(pt(s,1,i))}}function rc(t){const e=[0];return oc(e,t.length-1),e}const Hn=2e4;function To(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Hn;)e+=s,n=t.next(e);return e>=Hn?1/0:e}const Yt=t=>t*1e3,ee=t=>t/1e3;function ac(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(To(n),Hn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:ee(i)}}function wo(t){return typeof t=="function"&&"applyToOptions"in t}const rg="easeInOut";function ag(t,{defaultTransition:e={},...s}={},n,i){const o=e.duration||.3,r=new Map,a=new Map,l={},u=new Map;let c=0,f=0,h=0;for(let p=0;p<t.length;p++){const v=t[p];if(typeof v=="string"){u.set(v,f);continue}else if(!Array.isArray(v)){u.set(v.name,sc(f,v.at,c,u));continue}let[b,A,S={}]=v;S.at!==void 0&&(f=sc(f,S.at,c,u));let O=0;const E=(P,M,k,z=0,I=0)=>{const L=lg(P),{delay:G=0,times:Y=rc(L),type:$="keyframes",repeat:st,repeatType:wt,repeatDelay:ne=0,...mt}=M;let{ease:Q=e.ease||"easeOut",duration:q}=M;const ie=typeof G=="function"?G(z,I):G,ts=L.length,oe=wo($)?$:i==null?void 0:i[$];if(ts<=2&&oe){let es=100;if(ts===2&&fg(L)){const Te=L[1]-L[0];es=Math.abs(Te)}const re={...mt};q!==void 0&&(re.duration=Yt(q));const Se=ac(re,es,oe);Q=Se.ease,q=Se.duration}q??(q=o);const It=f+ie;Y.length===1&&Y[0]===0&&(Y[1]=1);const nn=Y.length-L.length;if(nn>0&&oc(Y,nn),L.length===1&&L.unshift(null),st){q=tg(q,st);const es=[...L],re=[...Y];Q=Array.isArray(Q)?[...Q]:[Q];const Se=[...Q];for(let Te=0;Te<st;Te++){L.push(...es);for(let $e=0;$e<es.length;$e++)Y.push(re[$e]+(Te+1)),Q.push($e===0?"linear":ic(Se,$e-1))}ig(Y,st)}const Qn=It+q;ng(k,L,Q,Y,It,Qn),O=Math.max(ie+q,O),h=Math.max(Qn,h)};if(dt(b)){const P=lc(b,a);E(A,S,cc("default",P))}else{const P=ec(b,A,n,l),M=P.length;for(let k=0;k<M;k++){A=A,S=S;const z=P[k],I=lc(z,a);for(const L in A)E(A[L],cg(S,L),cc(L,I),k,M)}}c=f,f+=O}return a.forEach((p,v)=>{for(const b in p){const A=p[b];A.sort(og);const S=[],O=[],E=[];for(let M=0;M<A.length;M++){const{at:k,value:z,easing:I}=A[M];S.push(z),O.push(Un(0,h,k)),E.push(I||"easeOut")}O[0]!==0&&(O.unshift(0),S.unshift(S[0]),E.unshift(rg)),O[O.length-1]!==1&&(O.push(1),S.push(null)),r.has(v)||r.set(v,{keyframes:{},transition:{}});const P=r.get(v);P.keyframes[b]=S,P.transition[b]={...e,duration:h,ease:E,times:O,...s}}}),r}function lc(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function cc(t,e){return e[t]||(e[t]=[]),e[t]}function lg(t){return Array.isArray(t)?t:[t]}function cg(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const ug=t=>typeof t=="number",fg=t=>t.every(ug),hg=t=>Array.isArray(t);function dg(t,e,s){const n=t.getProps();return xl(n,e,n.custom,t)}function pg(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ds(s))}function mg(t){return hg(t)?t[t.length-1]||0:t}function gg(t,e){const s=dg(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=mg(o[r]);pg(t,r,a)}}function yg(t){return!!(dt(t)&&t.add)}function vg(t,e){const s=t.getValue("willChange");if(yg(s))return s.add(e);if(!s&&ve.WillChange){const n=new ve.WillChange("auto");t.addValue("willChange",n),n.add(e)}}const bg="data-"+_o("framerAppearId");function uc(t){return t.props[bg]}const _g=t=>t!==null;function xg(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(_g),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}const Sg={type:"spring",stiffness:500,damping:25,restSpeed:10},Tg=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),wg={type:"keyframes",duration:.8},Ag={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pg=(t,{keyframes:e})=>e.length>2?wg:ms.has(t)?t.startsWith("scale")?Tg(e[1]):Sg:Ag;function Cg({when:t,delay:e,delayChildren:s,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Ao(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}function Po(t,e,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s<2/3?t+(e-t)*(2/3-s)*6:t}function Eg({hue:t,saturation:e,lightness:s,alpha:n}){t/=360,e/=100,s/=100;let i=0,o=0,r=0;if(!e)i=o=r=s;else{const a=s<.5?s*(1+e):s+e-s*e,l=2*s-a;i=Po(l,a,t+1/3),o=Po(l,a,t),r=Po(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Kn(t,e){return s=>s>0?e:t}const Co=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Mg=[go,Ze,ys],Vg=t=>Mg.find(e=>e.test(t));function fc(t){const e=Vg(t);if(!e)return!1;let s=e.parse(t);return e===ys&&(s=Eg(s)),s}const hc=(t,e)=>{const s=fc(t),n=fc(e);if(!s||!n)return Kn(t,e);const i={...s};return o=>(i.red=Co(s.red,n.red,o),i.green=Co(s.green,n.green,o),i.blue=Co(s.blue,n.blue,o),i.alpha=pt(s.alpha,n.alpha,o),Ze.transform(i))},Eo=new Set(["none","hidden"]);function Dg(t,e){return Eo.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}const Og=(t,e)=>s=>e(t(s)),Gs=(...t)=>t.reduce(Og);function Rg(t,e){return s=>pt(t,e,s)}function Mo(t){return typeof t=="number"?Rg:typeof t=="string"?zi(t)?Kn:Pt.test(t)?hc:$g:Array.isArray(t)?dc:typeof t=="object"?Pt.test(t)?hc:Lg:Kn}function dc(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>Mo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Lg(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=Mo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Fg(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const $g=(t,e)=>{const s=Fe.createTransformer(e),n=Ws(t),i=Ws(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?Eo.has(t)&&!i.values.length||Eo.has(e)&&!n.values.length?Dg(t,e):Gs(dc(Fg(n,i),i.values),s):Kn(t,e)};function pc(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?pt(t,e,s):Mo(t)(t,e)}const Ig=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>lt.update(e,s),stop:()=>be(e),now:()=>Tt.isProcessing?Tt.timestamp:Ot.now()}},mc=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=t(o/(i-1))+", ";return`linear(${n.substring(0,n.length-2)})`},jg=5;function gc(t,e,s){const n=Math.max(e-jg,0);return vl(s-t(n),e-n)}const ft={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},yc=.001;function Bg({duration:t=ft.duration,bounce:e=ft.bounce,velocity:s=ft.velocity,mass:n=ft.mass}){let i,o,r=1-e;r=Re(ft.minDamping,ft.maxDamping,r),t=Re(ft.minDuration,ft.maxDuration,ee(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,p=Vo(u,r),v=Math.exp(-f);return yc-h/p*v},o=u=>{const f=u*r*t,h=f*s+s,p=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),b=Vo(Math.pow(u,2),r);return(-i(u)+yc>0?-1:1)*((h-p)*v)/b}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-.001+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=kg(i,o,a);if(t=Yt(t),isNaN(l))return{stiffness:ft.stiffness,damping:ft.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Ng=12;function kg(t,e,s){let n=s;for(let i=1;i<Ng;i++)n=n-t(n)/e(n);return n}function Vo(t,e){return t*Math.sqrt(1-e*e)}const Ug=["duration","bounce"],Hg=["stiffness","damping","mass"];function vc(t,e){return e.some(s=>t[s]!==void 0)}function Kg(t){let e={velocity:ft.velocity,stiffness:ft.stiffness,damping:ft.damping,mass:ft.mass,isResolvedFromDuration:!1,...t};if(!vc(t,Hg)&&vc(t,Ug))if(t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*Re(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ft.mass,stiffness:i,damping:o}}else{const s=Bg(t);e={...e,...s,mass:ft.mass},e.isResolvedFromDuration=!0}return e}function zs(t=ft.visualDuration,e=ft.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:h,isResolvedFromDuration:p}=Kg({...s,velocity:-ee(s.velocity||0)}),v=h||0,b=u/(2*Math.sqrt(l*c)),A=r-o,S=ee(Math.sqrt(l/c)),O=Math.abs(A)<5;n||(n=O?ft.restSpeed.granular:ft.restSpeed.default),i||(i=O?ft.restDelta.granular:ft.restDelta.default);let E;if(b<1){const M=Vo(S,b);E=k=>{const z=Math.exp(-b*S*k);return r-z*((v+b*S*A)/M*Math.sin(M*k)+A*Math.cos(M*k))}}else if(b===1)E=M=>r-Math.exp(-S*M)*(A+(v+S*A)*M);else{const M=S*Math.sqrt(b*b-1);E=k=>{const z=Math.exp(-b*S*k),I=Math.min(M*k,300);return r-z*((v+b*S*A)*Math.sinh(I)+M*A*Math.cosh(I))/M}}const P={calculatedDuration:p&&f||null,next:M=>{const k=E(M);if(p)a.done=M>=f;else{let z=M===0?v:0;b<1&&(z=M===0?Yt(v):gc(E,M,k));const I=Math.abs(z)<=n,L=Math.abs(r-k)<=i;a.done=I&&L}return a.value=a.done?r:k,a},toString:()=>{const M=Math.min(To(P),Hn),k=mc(z=>P.next(M*z).value,M,30);return M+"ms "+k},toTransition:()=>{}};return P}zs.applyToOptions=t=>{const e=ac(t,100,zs);return t.ease=e.ease,t.duration=Yt(e.duration),t.type="keyframes",t};function Do({keyframes:t,velocity:e=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=t[0],h={done:!1,value:f},p=I=>a!==void 0&&I<a||l!==void 0&&I>l,v=I=>a===void 0?l:l===void 0||Math.abs(a-I)<Math.abs(l-I)?a:l;let b=s*e;const A=f+b,S=r===void 0?A:r(A);S!==A&&(b=S-f);const O=I=>-b*Math.exp(-I/n),E=I=>S+O(I),P=I=>{const L=O(I),G=E(I);h.done=Math.abs(L)<=u,h.value=h.done?S:G};let M,k;const z=I=>{p(h.value)&&(M=I,k=zs({keyframes:[h.value,v(h.value)],velocity:gc(E,I,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:I=>{let L=!1;return!k&&M===void 0&&(L=!0,P(I),z(I)),M!==void 0&&I>=M?k.next(I-M):(!L&&P(I),h)}}}function Wg(t,e,s){const n=[],i=s||ve.mix||pc,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||Dt:e;a=Gs(l,a)}n.push(a)}return n}function Gg(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(bo(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Wg(e,n,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const h=Un(t[f],t[f+1],c);return a[f](h)};return s?c=>u(Re(t[0],t[o-1],c)):u}function zg(t,e){return t.map(s=>s*e)}const bc=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,qg=1e-7,Yg=12;function Xg(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=bc(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>qg&&++a<Yg);return r}function qs(t,e,s,n){if(t===e&&s===n)return Dt;const i=o=>Xg(o,0,1,t,s);return o=>o===0||o===1?o:bc(i(o),e,n)}const Zg=qs(.42,0,1,1),Jg=qs(0,0,.58,1),_c=qs(.42,0,.58,1),xc=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Sc=t=>e=>1-t(1-e),Tc=qs(.33,1.53,.69,.99),Oo=Sc(Tc),wc=xc(Oo),Ac=t=>(t*=2)<1?.5*Oo(t):.5*(2-Math.pow(2,-10*(t-1))),Ro=t=>1-Math.sin(Math.acos(t)),Pc=Sc(Ro),Cc=xc(Ro),Ec=t=>Array.isArray(t)&&typeof t[0]=="number",Qg={linear:Dt,easeIn:Zg,easeInOut:_c,easeOut:Jg,circIn:Ro,circInOut:Cc,circOut:Pc,backIn:Oo,backInOut:wc,backOut:Tc,anticipate:Ac},ty=t=>typeof t=="string",Mc=t=>{if(Ec(t)){bo(t.length===4);const[e,s,n,i]=t;return qs(e,s,n,i)}else if(ty(t))return Qg[t];return t};function ey(t,e){return t.map(()=>e||_c).splice(0,t.length-1)}function Ys({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=nc(n)?n.map(Mc):Mc(n),o={done:!1,value:e[0]},r=zg(s&&s.length===e.length?s:rc(e),t),a=Gg(r,e,{ease:Array.isArray(i)?i:ey(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const sy=t=>t!==null;function Lo(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(sy),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const ny={decay:Do,inertia:Do,tween:Ys,keyframes:Ys,spring:zs};function Vc(t){typeof t.type=="string"&&(t.type=ny[t.type])}class Fo{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const iy=t=>t/100;class $o extends Fo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=(s=!0)=>{var n,i;if(s){const{motionValue:o}=this.options;o&&o.updatedAt!==Ot.now()&&this.tick(Ot.now())}this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(n=this.options).onStop)==null||i.call(n))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Vc(e);const{type:s=Ys,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Ys;l!==Ys&&typeof a[0]!="number"&&(this.mixKeyframes=Gs(iy,pc(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=To(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:p,type:v,onUpdate:b,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const S=this.currentTime-u*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?S<0:S>i;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,P=n;if(f){const I=Math.min(this.currentTime,i)/a;let L=Math.floor(I),G=I%1;!G&&I>=1&&(G=1),G===1&&L--,L=Math.min(L,f+1),!!(L%2)&&(h==="reverse"?(G=1-G,p&&(G-=p/a)):h==="mirror"&&(P=r)),E=Re(0,1,G)*a}const M=O?{done:!1,value:c[0]}:P.next(E);o&&(M.value=o(M.value));let{done:k}=M;!O&&l!==null&&(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return z&&v!==Do&&(M.value=Lo(c,this.options,A,this.speed)),b&&b(M.value),z&&this.finish(),M}then(e,s){return this.finished.then(e,s)}get duration(){return ee(this.calculatedDuration)}get time(){return ee(this.currentTime)}set time(e){var s;e=Yt(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(s=this.driver)==null||s.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Ot.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=ee(this.currentTime))}play(){var e,s;if(this.isStopped)return;const{driver:n=Ig,startTime:i}=this.options;this.driver||(this.driver=n(r=>this.tick(r))),(s=(e=this.options).onPlay)==null||s.call(e);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ot.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(e=this.options).onComplete)==null||s.call(e)}cancel(){var e,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(e=this.options).onCancel)==null||s.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),e.observe(this)}}const oy=t=>t.startsWith("--");function ry(t,e,s){oy(e)?t.style.setProperty(e,s):t.style[e]=s}function Io(t){let e;return()=>(e===void 0&&(e=t()),e)}const ay=Io(()=>window.ScrollTimeline!==void 0),ly={};function cy(t,e){const s=Io(t);return()=>ly[e]??s()}const Dc=cy(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Xs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Oc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xs([0,.65,.55,1]),circOut:Xs([.55,0,1,.45]),backIn:Xs([.31,.01,.66,-.59]),backOut:Xs([.33,1.53,.69,.99])};function Rc(t,e){if(t)return typeof t=="function"?Dc()?mc(t,e):"ease-out":Ec(t)?Xs(t):Array.isArray(t)?t.map(s=>Rc(s,e)||Oc.easeOut):Oc[t]}function uy(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=Rc(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),t.animate(c,h)}function fy({type:t,...e}){return wo(t)&&Dc()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class hy extends Fo{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,bo(typeof e.type!="string");const u=fy(e);this.animation=uy(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Lo(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):ry(s,n,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,s;(s=(e=this.animation).finish)==null||s.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,s;this.isPseudoElement||(s=(e=this.animation).commitStyles)==null||s.call(e)}get duration(){var e,s;const n=((s=(e=this.animation.effect)==null?void 0:e.getComputedTiming)==null?void 0:s.call(e).duration)||0;return ee(Number(n))}get time(){return ee(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Yt(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&ay()?(this.animation.timeline=e,Dt):s(this)}}const Lc={anticipate:Ac,backInOut:wc,circInOut:Cc};function dy(t){return t in Lc}function py(t){typeof t.ease=="string"&&dy(t.ease)&&(t.ease=Lc[t.ease])}const Fc=10;class my extends hy{constructor(e){py(e),Vc(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new $o({...r,autoplay:!1}),l=Yt(this.finishedTime??this.time);s.setWithVelocity(a.sample(l-Fc).value,a.sample(l).value,Fc),a.stop()}}const $c=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Fe.test(t)||t==="0")&&!t.startsWith("url("));function gy(t){const e=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==e)return!0}function yy(t,e,s,n){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=$c(i,e),a=$c(o,e);return!r||!a?!1:gy(t)||(s==="spring"||wo(s))&&n}function Ic(t){return typeof t=="object"&&t!==null}function jc(t){return Ic(t)&&"offsetHeight"in t}const vy=new Set(["opacity","clipPath","filter","transform"]),by=Io(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function _y(t){var e;const{motionValue:s,name:n,repeatDelay:i,repeatType:o,damping:r,type:a}=t;if(!jc((e=s==null?void 0:s.owner)==null?void 0:e.current))return!1;const{onUpdate:l,transformTemplate:u}=s.owner.getProps();return by()&&n&&vy.has(n)&&(n!=="transform"||!u)&&!l&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}const xy=40;class Sy extends Fo{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var h;super(),this.stop=()=>{var b,A;this._animation&&(this._animation.stop(),(b=this.stopTimeline)==null||b.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Ot.now();const p={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},v=(c==null?void 0:c.KeyframeResolver)||fo;this.keyframeResolver=new v(a,(b,A,S)=>this.onKeyframesResolved(b,A,p,!S),l,u,c),(h=this.keyframeResolver)==null||h.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Ot.now(),yy(e,o,r,a)||((ve.instantAnimations||!l)&&(c==null||c(Lo(e,n,s))),e[0]=e[e.length-1],n.duration=0,n.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>xy?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},p=!u&&_y(h)?new my({...h,element:h.motionValue.owner.current}):new $o(h);p.finished.then(()=>this.notifyFinished()).catch(Dt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),gm()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const jo=(t,e,s,n={},i,o)=>r=>{const a=Ao(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-Yt(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Cg(a)||Object.assign(c,Pg(t,c)),c.duration&&(c.duration=Yt(c.duration)),c.repeatDelay&&(c.repeatDelay=Yt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),(ve.instantAnimations||ve.skipAnimations)&&(f=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=xg(c.keyframes,a);if(h!==void 0){lt.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new $o(c):new Sy(c)};function Ty({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function wy(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:r,...a}=e;n&&(o=n);const l=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const c in a){const f=t.getValue(c,t.latestValues[c]??null),h=a[c];if(h===void 0||u&&Ty(u,c))continue;const p={delay:s,...Ao(o||{},c)},v=f.get();if(v!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===v&&!p.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const S=uc(t);if(S){const O=window.MotionHandoffAnimation(S,c,lt);O!==null&&(p.startTime=O,b=!0)}}vg(t,c),f.start(jo(c,f,h,t.shouldReduceMotion&&Wl.has(c)?{type:!1}:p,t,b));const A=f.animation;A&&l.push(A)}return r&&Promise.all(l).then(()=>{lt.update(()=>{r&&gg(t,r)})}),l}function Ay(t,e){return t in e}class Py extends Kl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(Ay(s,e)){const n=e[s];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,s){delete s.output[e]}measureInstanceViewportBox(){return ht()}build(e,s){Object.assign(e.output,s)}renderInstance(e,{output:s}){Object.assign(e,s)}sortInstanceNodePosition(){return 0}}function Bo(t){return Ic(t)&&"ownerSVGElement"in t}function Bc(t){return Bo(t)&&t.tagName==="svg"}function Cy(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Bo(t)&&!Bc(t)?new tc(e):new Jl(e);s.mount(t),ze.set(t,s)}function Ey(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new Py(e);s.mount(t),ze.set(t,s)}function Nc(t,e,s){const n=dt(t)?t:ds(t);return n.start(jo("",n,e,s)),n.animation}function My(t,e){return dt(t)||typeof t=="number"||typeof t=="string"&&!xo(e)}function kc(t,e,s,n){const i=[];if(My(t,e))i.push(Nc(t,xo(e)&&e.default||e,s&&(s.default||s)));else{const o=ec(t,e,n),r=o.length;for(let a=0;a<r;a++){const l=o[a],u=l instanceof Element?Cy:Ey;ze.has(l)||u(l);const c=ze.get(l),f={...s};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,r)),i.push(...wy(c,{...e,transition:f},{}))}}return i}function Vy(t,e,s){const n=[];return ag(t,e,s,{spring:zs}).forEach(({keyframes:o,transition:r},a)=>{n.push(...kc(a,o,r))}),n}class Dy{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,s){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=s}attachTimeline(e){const s=this.animations.map(n=>n.attachTimeline(e));return()=>{s.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let s=0;s<this.animations.length;s++)e=Math.max(e,this.animations[s].duration);return e}runAll(e){this.animations.forEach(s=>s[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Oy extends Dy{then(e,s){return this.finished.finally(e).then(()=>{})}}function Ry(t){return Array.isArray(t)&&t.some(Array.isArray)}function Ly(t){function e(s,n,i){let o=[];return Ry(s)?o=Vy(s,n,t):o=kc(s,n,i,t),new Oy(o)}return e}const Fy=Ly(),$y=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class Iy extends ye{constructor(e){var s;super(e),this.animateUpdates=({controlActiveState:n,directAnimate:i,directTransition:o,controlDelay:r=0,isFallback:a,isExit:l}={})=>{const u=this.state.target;this.state.target={...this.state.baseTarget};let c={};c=this.resolveStateAnimation({controlActiveState:n,directAnimate:i,directTransition:o});const f=this.createAnimationFactories(u,c,r),{getChildAnimations:h,childAnimations:p}=this.setupChildAnimations(c,this.state.activeStates,a);return this.executeAnimations({factories:f,getChildAnimations:h,childAnimations:p,transition:c,controlActiveState:n,isExit:l})},this.state.visualElement=Qm(this.state.options.as,{presenceContext:null,parent:(s=this.state.parent)==null?void 0:s.visualElement,props:{...this.state.options,whileTap:this.state.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.state.baseTarget}},reducedMotionConfig:this.state.options.motionConfig.reduceMotion}),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){const{animate:e}=this.state.options;nl(e)&&(this.unmountControls=e.subscribe(this.state))}executeAnimations({factories:e,getChildAnimations:s,transition:n,controlActiveState:i,isExit:o=!1}){const r=()=>Promise.all(e.map(f=>f()).filter(Boolean)),a={...this.state.target},l=this.state.element,u=f=>{var h,p;l.dispatchEvent(ll("motionstart",a)),(p=(h=this.state.options).onAnimationStart)==null||p.call(h,a),f.then(()=>{var v,b;l.dispatchEvent(ll("motioncomplete",a,o)),(b=(v=this.state.options).onAnimationComplete)==null||b.call(v,a)}).catch(Dt)},c=()=>{const f=n!=null&&n.when?(n.when==="beforeChildren"?r():s()).then(()=>n.when==="beforeChildren"?s():r()):Promise.all([r(),s()]);return u(f),f};return i?c:c()}setupChildAnimations(e,s,n){var i;if(!((i=this.state.visualElement.variantChildren)!=null&&i.size)||!s)return{getChildAnimations:()=>Promise.resolve(),childAnimations:[]};const{staggerChildren:o=0,staggerDirection:r=1,delayChildren:a=0}=e||{},l=(this.state.visualElement.variantChildren.size-1)*o,u=r===1?(f=0)=>f*o:(f=0)=>l-f*o,c=Array.from(this.state.visualElement.variantChildren).map((f,h)=>{const p=a+u(h);return f.state.animateUpdates({controlActiveState:s,controlDelay:n?0:p})}).filter(Boolean);return{getChildAnimations:()=>Promise.all(c.map(f=>f==null?void 0:f())),childAnimations:c}}createAnimationFactories(e,s,n){const i=[];return Object.keys(this.state.target).forEach(o=>{var r;if(!vp(e[o],this.state.target[o]))return;(r=this.state.baseTarget)[o]??(r[o]=kp.get(this.state.element,o));const a=this.state.target[o]==="none"&&Qi(fl[o])?fl[o]:this.state.target[o];i.push(()=>{var l;return Fy(this.state.element,{[o]:a},{...(s==null?void 0:s[o])||s,delay:(((l=s==null?void 0:s[o])==null?void 0:l.delay)||(s==null?void 0:s.delay)||0)+n})})}),i}resolveStateAnimation({controlActiveState:e,directAnimate:s,directTransition:n}){let i=this.state.options.transition,o={};const{variants:r,custom:a,transition:l,animatePresenceContext:u}=this.state.options,c=Qi(a)?a:u==null?void 0:u.custom;return this.state.activeStates={...this.state.activeStates,...e},$y.forEach(f=>{if(!this.state.activeStates[f]||nl(this.state.options[f]))return;const h=this.state.options[f];let p=Qi(h)?ks(h,r,c):void 0;if(this.state.visualElement.isVariantNode){const v=ks(this.state.context[f],r,c);p=v?Object.assign(v||{},p):o}p&&(f!=="initial"&&(i=p.transition||this.state.options.transition||{}),o=Object.assign(o,p))}),s&&(o=ks(s,r,c),i=o.transition||n||l),Object.entries(o).forEach(([f,h])=>{f!=="transition"&&(this.state.target[f]=h)}),i}mount(){const{element:e}=this.state;al.set(e,this.state),ze.get(e)||(this.state.visualElement.mount(e),ze.set(e,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.state.options,{animate:s}=this.state.visualElement.prevProps||{};e!==s&&this.updateAnimationControlsSubscription()}unmount(){var e;(e=this.unmountControls)==null||e.call(this)}}const jy={y:!1};function By(){return jy.y}const Uc=(t,e)=>e?t===e?!0:Uc(t,e.parentElement):!1,Ny=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Hc(t,e){const s=So(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}const ky=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Uy(t){return ky.has(t.tagName)||t.tabIndex!==-1}const Wn=new WeakSet;function Kc(t){return e=>{e.key==="Enter"&&t(e)}}function No(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Hy=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Kc(()=>{if(Wn.has(s))return;No(s,"down");const i=Kc(()=>{No(s,"up")}),o=()=>No(s,"cancel");s.addEventListener("keyup",i,e),s.addEventListener("blur",o,e)});s.addEventListener("keydown",n,e),s.addEventListener("blur",()=>s.removeEventListener("keydown",n),e)};function Wc(t){return Ny(t)&&!0}function Ky(t,e,s={}){const[n,i,o]=Hc(t,s),r=a=>{const l=a.currentTarget;if(!Wc(a))return;Wn.add(l);const u=e(l,a),c=(p,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Wn.has(l)&&Wn.delete(l),Wc(p)&&typeof u=="function"&&u(p,{success:v})},f=p=>{c(p,l===window||l===document||s.useGlobalTarget||Uc(l,p.target))},h=p=>{c(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),jc(a)&&(a.addEventListener("focus",u=>Hy(u,i)),!Uy(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Gc(t){return{point:{x:t.pageX,y:t.pageY}}}function zc(t,e,s){const n=t.options;n.whilePress&&t.setActive("whilePress",s==="Start");const i=`onPress${s==="End"?"":s}`,o=n[i];o&&lt.postRender(()=>o(e,Gc(e)))}class Wy extends ye{isActive(){const{whilePress:e,onPress:s,onPressCancel:n,onPressStart:i}=this.state.options;return!!(e||s||n||i)}constructor(e){super(e)}mount(){this.register()}update(){const{whilePress:e,onPress:s,onPressCancel:n,onPressStart:i}=this.state.options;e||s||n||i||this.register()}register(){const e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=Ky(e,(s,n)=>(zc(this.state,n,"Start"),(i,{success:o})=>zc(this.state,i,o?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function qc(t){return!(t.pointerType==="touch"||By())}function Gy(t,e,s={}){const[n,i,o]=Hc(t,s),r=a=>{if(!qc(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=f=>{qc(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return n.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}function Yc(t,e,s){const n=t.options;n.whileHover&&t.setActive("whileHover",s==="Start");const i=`onHover${s}`,o=n[i];o&&lt.postRender(()=>o(e,Gc(e)))}class zy extends ye{isActive(){const{whileHover:e,onHoverStart:s,onHoverEnd:n}=this.state.options;return!!(e||s||n)}constructor(e){super(e)}mount(){this.register()}update(){const{whileHover:e,onHoverStart:s,onHoverEnd:n}=this.state.visualElement.prevProps;e||s||n||this.register()}register(){const e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=Gy(e,(s,n)=>(Yc(this.state,n,"Start"),i=>{Yc(this.state,i,"End")})))}}const qy={some:0,all:1};function Yy(t,e,{root:s,margin:n,amount:i="some"}={}){const o=So(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const h=e(c.target,c);typeof h=="function"?r.set(c.target,h):l.unobserve(c.target)}else typeof f=="function"&&(f(c),r.delete(c.target))})},l=new IntersectionObserver(a,{root:s,rootMargin:n,threshold:typeof i=="number"?i:qy[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function Xc(t,e,s){const n=t.options;n.whileInView&&t.setActive("whileInView",s==="Enter");const i=`onViewport${s}`,o=n[i];o&&lt.postRender(()=>o(e))}class Xy extends ye{isActive(){return!!this.state.options.whileInView}constructor(e){super(e)}startObserver(){const e=this.state.element;if(!e||!this.isActive())return;this.unmount();const{once:s,...n}=this.state.options.inViewOptions||{};this.unmount=Yy(e,(i,o)=>{if(Xc(this.state,o,"Enter"),!s)return r=>{Xc(this.state,o,"Leave")}},n)}mount(){this.startObserver()}update(){const{props:e,prevProps:s}=this.state.visualElement;["amount","margin","root"].some(Zy(e,s))&&this.startObserver()}}function Zy({inViewOptions:t={}},{inViewOptions:e={}}={}){return s=>t[s]!==e[s]}function Gn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}class Jy extends ye{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.state.element.matches(":focus-visible")}catch{e=!0}e&&(this.state.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&(this.state.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Gs(Gn(this.state.element,"focus",()=>this.onFocus()),Gn(this.state.element,"blur",()=>this.onBlur()))}}const Qy=(t,e)=>t.depth-e.depth;class tv{constructor(){this.children=[],this.isDirty=!1}add(e){so(this.children,e),this.isDirty=!0}remove(e){Nn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Qy),this.isDirty=!1,this.children.forEach(e)}}function ev(t,e){const s=Ot.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(be(n),t(o-e))};return lt.setup(n,!0),()=>be(n)}function ko(t){return dt(t)?t.get():t}const Zc=["TopLeft","TopRight","BottomLeft","BottomRight"],sv=Zc.length,Jc=t=>typeof t=="string"?parseFloat(t):t,Qc=t=>typeof t=="number"||H.test(t);function nv(t,e,s,n,i,o){i?(t.opacity=pt(0,s.opacity??1,iv(n)),t.opacityExit=pt(e.opacity??1,0,ov(n))):o&&(t.opacity=pt(e.opacity??1,s.opacity??1,n));for(let r=0;r<sv;r++){const a=`border${Zc[r]}Radius`;let l=tu(e,a),u=tu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Qc(l)===Qc(u)?(t[a]=Math.max(pt(Jc(l),Jc(u),n),0),(_e.test(u)||_e.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=pt(e.rotate||0,s.rotate||0,n))}function tu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const iv=eu(0,.5,Pc),ov=eu(.5,.95,Dt);function eu(t,e,s){return n=>n<t?0:n>e?1:s(Un(t,e,n))}function su(t,e){t.min=e.min,t.max=e.max}function Kt(t,e){su(t.x,e.x),su(t.y,e.y)}function nu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Uo(t){return t===void 0||t===1}function Ho({scale:t,scaleX:e,scaleY:s}){return!Uo(t)||!Uo(e)||!Uo(s)}function Je(t){return Ho(t)||iu(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iu(t){return ou(t.x)||ou(t.y)}function ou(t){return t&&t!=="0%"}function zn(t,e,s){const n=t-s,i=e*n;return s+i}function ru(t,e,s,n,i){return i!==void 0&&(t=zn(t,i,n)),zn(t,s,n)+e}function Ko(t,e=0,s=1,n,i){t.min=ru(t.min,e,s,n,i),t.max=ru(t.max,e,s,n,i)}function au(t,{x:e,y:s}){Ko(t.x,e.translate,e.scale,e.originPoint),Ko(t.y,s.translate,s.scale,s.originPoint)}const lu=.999999999999,cu=1.0000000000001;function rv(t,e,s,n=!1){const i=s.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=s[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&vs(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,au(t,r)),n&&Je(o.latestValues)&&vs(t,o.latestValues))}e.x<cu&&e.x>lu&&(e.x=1),e.y<cu&&e.y>lu&&(e.y=1)}function qn(t,e){t.min=t.min+e,t.max=t.max+e}function uu(t,e,s,n,i=.5){const o=pt(t.min,t.max,i);Ko(t,e,s,o,n)}function vs(t,e){uu(t.x,e.x,e.scaleX,e.scale,e.originX),uu(t.y,e.y,e.scaleY,e.scale,e.originY)}const fu=1e-4,av=1-fu,lv=1+fu,hu=.01,cv=0-hu,uv=0+hu;function Wt(t){return t.max-t.min}function fv(t,e,s){return Math.abs(t-e)<=s}function du(t,e,s,n=.5){t.origin=n,t.originPoint=pt(e.min,e.max,t.origin),t.scale=Wt(s)/Wt(e),t.translate=pt(s.min,s.max,t.origin)-t.originPoint,(t.scale>=av&&t.scale<=lv||isNaN(t.scale))&&(t.scale=1),(t.translate>=cv&&t.translate<=uv||isNaN(t.translate))&&(t.translate=0)}function Zs(t,e,s,n){du(t.x,e.x,s.x,n?n.originX:void 0),du(t.y,e.y,s.y,n?n.originY:void 0)}function pu(t,e,s){t.min=s.min+e.min,t.max=t.min+Wt(e)}function hv(t,e,s){pu(t.x,e.x,s.x),pu(t.y,e.y,s.y)}function mu(t,e,s){t.min=e.min-s.min,t.max=t.min+Wt(e)}function Js(t,e,s){mu(t.x,e.x,s.x),mu(t.y,e.y,s.y)}function gu(t,e,s,n,i){return t-=e,t=zn(t,1/s,n),i!==void 0&&(t=zn(t,1/i,n)),t}function dv(t,e=0,s=1,n=.5,i,o=t,r=t){if(_e.test(e)&&(e=parseFloat(e),e=pt(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=pt(o.min,o.max,n);t===o&&(a-=e),t.min=gu(t.min,e,s,a,i),t.max=gu(t.max,e,s,a,i)}function yu(t,e,[s,n,i],o,r){dv(t,e[s],e[n],e[i],e.scale,o,r)}const pv=["x","scaleX","originX"],mv=["y","scaleY","originY"];function vu(t,e,s,n){yu(t.x,e,pv,s?s.x:void 0,n?n.x:void 0),yu(t.y,e,mv,s?s.y:void 0,n?n.y:void 0)}function bu(t){return t.translate===0&&t.scale===1}function _u(t){return bu(t.x)&&bu(t.y)}function xu(t,e){return t.min===e.min&&t.max===e.max}function gv(t,e){return xu(t.x,e.x)&&xu(t.y,e.y)}function Su(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Tu(t,e){return Su(t.x,e.x)&&Su(t.y,e.y)}function wu(t){return Wt(t.x)/Wt(t.y)}function Au(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class yv{constructor(){this.members=[]}add(e){so(this.members,e),e.scheduleRender()}remove(e){if(Nn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(e){const s=this.members.findIndex(i=>e===i);if(s===0)return!1;let n;for(let i=s;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,s&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:n}=e;s.onExitComplete&&s.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function vv(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=(s==null?void 0:s.z)||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:h,skewX:p,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),h&&(n+=`rotateY(${h}deg) `),p&&(n+=`skewX(${p}deg) `),v&&(n+=`skewY(${v}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}function Pu(t){return[t("x"),t("y")]}const Yn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},{schedule:bv}=rl(queueMicrotask,!1),Wo=["","X","Y","Z"],_v={visibility:"hidden"},xv=1e3;let Sv=0;function Go(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function Cu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=uc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",lt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&Cu(n)}function Eu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=Sv++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Av),this.nodes.forEach(Vv),this.nodes.forEach(Dv),this.nodes.forEach(Pv)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new tv)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new no),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Bo(r)&&!Bc(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c;const f=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,c&&c(),c=ev(f,250),Yn.hasAnimatedSinceResize&&(Yn.hasAnimatedSinceResize=!1,this.nodes.forEach(Vu))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||$v,{onLayoutAnimationStart:b,onLayoutAnimationComplete:A}=u.getProps(),S=!this.targetLayout||!Tu(this.targetLayout,p),O=!f&&h;if(this.options.layoutRoot||this.resumeFrom||O||f&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...Ao(v,"layout"),onPlay:b,onComplete:A};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(c,O)}else f||Vu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),be(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Ov),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Cu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Mu);return}this.isUpdating||this.nodes.forEach(Ev),this.isUpdating=!1,this.nodes.forEach(Mv),this.nodes.forEach(Tv),this.nodes.forEach(wv),this.clearAllSnapshots();const a=Ot.now();Tt.delta=Re(0,1e3/60,a-Tt.timestamp),Tt.timestamp=a,Tt.isProcessing=!0,Yi.update.process(Tt),Yi.preRender.process(Tt),Yi.render.process(Tt),Tt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Cv),this.sharedNodes.forEach(Rv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,lt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){lt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Wt(this.snapshot.measuredBox.x)&&!Wt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ht(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!_u(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Je(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Iv(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var r;const{visualElement:a}=this.options;if(!a)return ht();const l=a.measureViewportBox();if(!(((r=this.scroll)==null?void 0:r.wasRoot)||this.path.some(jv))){const{scroll:c}=this.root;c&&(qn(l.x,c.offset.x),qn(l.y,c.offset.y))}return l}removeElementScroll(r){var a;const l=ht();if(Kt(l,r),(a=this.scroll)!=null&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:h}=c;c!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Kt(l,r),qn(l.x,f.offset.x),qn(l.y,f.offset.y))}return l}applyTransform(r,a=!1){const l=ht();Kt(l,r);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&vs(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Je(c.latestValues)&&vs(l,c.latestValues)}return Je(this.latestValues)&&vs(l,this.latestValues),l}removeTransform(r){const a=ht();Kt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Je(u.latestValues))continue;Ho(u.latestValues)&&u.updateSnapshot();const c=ht(),f=u.measurePageBox();Kt(c,f),vu(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Je(this.latestValues)&&vu(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Tt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(r||u&&this.isSharedProjectionDirty||this.isProjectionDirty||(a=this.parent)!=null&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:h}=this.options;if(!(!this.layout||!(f||h))){if(this.resolvedRelativeTargetAt=Tt.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ht(),this.relativeTargetOrigin=ht(),Js(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ht(),this.targetWithTransforms=ht()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),hv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Kt(this.target,this.layout.layoutBox),au(this.target,this.targetDelta)):Kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ht(),this.relativeTargetOrigin=ht(),Js(this.relativeTargetOrigin,this.target,p.target),Kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Ho(this.parent.latestValues)||iu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var r;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||(r=this.parent)!=null&&r.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Tt.timestamp&&(u=!1),u)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Kt(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,p=this.treeScale.y;rv(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=ht());const{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(nu(this.prevProjectionDelta.x,this.projectionDelta.x),nu(this.prevProjectionDelta.y,this.projectionDelta.y)),Zs(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==p||!Au(this.projectionDelta.x,this.prevProjectionDelta.x)||!Au(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hs(),this.projectionDelta=hs(),this.projectionDeltaWithTransform=hs()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=hs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=ht(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,b=p!==v,A=this.getStack(),S=!A||A.members.length<=1,O=!!(b&&!S&&this.options.crossfade===!0&&!this.path.some(Fv));this.animationProgress=0;let E;this.mixTargetDelta=P=>{const M=P/1e3;Du(f.x,r.x,M),Du(f.y,r.y,M),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Js(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Lv(this.relativeTarget,this.relativeTargetOrigin,h,M),E&&gv(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=ht()),Kt(E,this.relativeTarget)),b&&(this.animationValues=c,nv(c,u,this.latestValues,M,O,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(!1),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(!1),this.pendingAnimation&&(be(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=lt.update(()=>{Yn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ds(0)),this.currentAnimation=Nc(this.motionValue,[0,1e3],{...r,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),r.onUpdate&&r.onUpdate(c)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xv),this.currentAnimation.stop(!1)),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=r;if(!(!a||!l||!u)){if(this!==r&&this.layout&&u&&$u(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ht();const f=Wt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Wt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}Kt(a,l),vs(a,c),Zs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new yv),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())==null?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())==null?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Go("z",r,u,this.animationValues);for(let c=0;c<Wo.length;c++)Go(`rotate${Wo[c]}`,r,u,this.animationValues),Go(`skew${Wo[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}getProjectionStyles(r){if(!this.instance||this.isSVG)return;if(!this.isVisible)return _v;const a={visibility:""},l=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=ko(r==null?void 0:r.pointerEvents)||"",a.transform=l?l(this.latestValues,""):"none",a;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=ko(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Je(this.latestValues)&&(p.transform=l?l({},""):"none",this.hasProjected=!1),p}const c=u.animationValues||u.latestValues;this.applyTransformsToTarget(),a.transform=vv(this.projectionDeltaWithTransform,this.treeScale,c),l&&(a.transform=l(c,a.transform));const{x:f,y:h}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?a.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:a.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const p in Bs){if(c[p]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:A}=Bs[p],S=a.transform==="none"?c[p]:v(c[p],u);if(b){const O=b.length;for(let E=0;E<O;E++)a[b[E]]=S}else A?this.options.visualElement.renderState.vars[p]=S:a[p]=S}return this.options.layoutId&&(a.pointerEvents=u===this?ko(r==null?void 0:r.pointerEvents)||"":"none"),a}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)==null?void 0:a.stop(!1)}),this.root.nodes.forEach(Mu),this.root.sharedNodes.clear()}}}function Tv(t){t.updateLayout()}function wv(t){var e;const s=((e=t.resumeFrom)==null?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&s&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:o}=t.options,r=s.source!==t.layout.source;o==="size"?Pu(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Wt(h);h.min=n[f].min,h.max=h.min+p}):$u(o,s.layoutBox,n)&&Pu(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Wt(n[f]);h.max=h.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=hs();Zs(a,n,s.layoutBox);const l=hs();r?Zs(l,t.applyTransform(i,!0),s.measuredBox):Zs(l,n,s.layoutBox);const u=!_u(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const v=ht();Js(v,s.layoutBox,h.layoutBox);const b=ht();Js(b,n,p.layoutBox),Tu(v,b)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=v,t.relativeParent=f)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:s,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function Av(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Pv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Cv(t){t.clearSnapshot()}function Mu(t){t.clearMeasurements()}function Ev(t){t.isLayoutDirty=!1}function Mv(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Vu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vv(t){t.resolveTargetDelta()}function Dv(t){t.calcProjection()}function Ov(t){t.resetSkewAndRotation()}function Rv(t){t.removeLeadSnapshot()}function Du(t,e,s){t.translate=pt(e.translate,0,s),t.scale=pt(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Ou(t,e,s,n){t.min=pt(e.min,s.min,n),t.max=pt(e.max,s.max,n)}function Lv(t,e,s,n){Ou(t.x,e.x,s.x,n),Ou(t.y,e.y,s.y,n)}function Fv(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const $v={duration:.45,ease:[.4,0,.1,1]},Ru=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Lu=Ru("applewebkit/")&&!Ru("chrome/")?Math.round:Dt;function Fu(t){t.min=Lu(t.min),t.max=Lu(t.max)}function Iv(t){Fu(t.x),Fu(t.y)}function $u(t,e,s){return t==="position"||t==="preserve-aspect"&&!fv(wu(e),wu(s),.2)}function jv(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}function Bv(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const Nv=Eu({attachResizeListener:(t,e)=>Bv(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zo={current:void 0},kv=Eu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!zo.current){const t=new Nv({});t.mount(window),t.setOptions({layoutScroll:!0}),zo.current=t}return zo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function Iu(t){if(t)return t.options.allowProjection!==!1?t.projection:Iu(t.parent)}function ju(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Qs={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(H.test(t))t=parseFloat(t);else return t;const s=ju(t,e.target.x),n=ju(t,e.target.y);return`${s}% ${n}%`}},Uv={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Fe.parse(t);if(i.length>5)return n;const o=Fe.createTransformer(t),r=typeof i[0]!="number"?1:0,a=s.x.scale*e.x,l=s.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=pt(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Bu={borderRadius:{...Qs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qs,borderTopRightRadius:Qs,borderBottomLeftRadius:Qs,borderBottomRightRadius:Qs,boxShadow:Uv};function tn(t){return typeof t=="object"&&t!==null&&"nodeType"in t}class Hv extends ye{constructor(e){super(e),sl(Bu)}initProjection(){const e=this.state.options;this.state.visualElement.projection=new kv(this.state.visualElement.latestValues,e["data-framer-portal-id"]?void 0:Iu(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){const e=this.state.options;this.state.visualElement.projection.setOptions({layout:e.layout,layoutId:e.layoutId,alwaysMeasureLayout:!!e.drag||e.dragConstraints&&tn(e.dragConstraints),visualElement:this.state.visualElement,animationType:typeof e.layout=="string"?e.layout:"both",layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{var s;if(!((s=this.state.visualElement.projection)!=null&&s.isPresent)){const n=qi.get(this.state.element);this.state.isSafeToRemove=!0,n&&n({detail:{isExit:!0}},!0)}}})}update(){this.setOptions()}mount(){var e;(e=this.state.visualElement.projection)==null||e.mount(this.state.element)}}function Nu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function qo(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function Kv(t){return e=>Nu(e)&&t(e,qo(e))}function en(t,e,s,n){return Gn(t,e,Kv(s),n)}function ku(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}const Uu=ku("dragHorizontal"),Hu=ku("dragVertical");function Wv(t){let e=!1;if(t==="y")e=Hu();else if(t==="x")e=Uu();else{const s=Uu(),n=Hu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function Yo(t){return t.max-t.min}function Gv(t,e,s){return s>e?e:s<t?t:s}function Xn(t,e,s){return t+(e-t)*s}function Ku(t,e,s){const n=e-t;return n===0?1:(s-t)/n}function zv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?Xn(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?Xn(s,t,n.max):Math.min(t,s)),t}const Xo=.35;function qv(t,{top:e,left:s,bottom:n,right:i}){return{x:Wu(t.x,s,i),y:Wu(t.y,e,n)}}function Wu(t,e,s){return{min:e!==void 0?t.min+e:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function Yv(t=Xo){return t===!1?t=0:t===!0&&(t=Xo),{x:Gu(t,"left","right"),y:Gu(t,"top","bottom")}}function Gu(t,e,s){return{min:zu(t,e),max:zu(t,s)}}function zu(t,e){return typeof t=="number"?t:t[e]||0}function Xv(t,e){const s={};return e.min!==void 0&&(s.min=e.min-t.min),e.max!==void 0&&(s.max=e.max-t.min),s}function Zv(t,e){return{x:qu(t.x,e.x),y:qu(t.y,e.y)}}function qu(t,e){let s=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([s,n]=[n,s]),{min:s,max:n}}function Jv(t,e){let s=.5;const n=Yo(t),i=Yo(e);return i>n?s=Ku(e.min,e.max-n,t.min):n>i&&(s=Ku(t.min,t.max-i,e.min)),Gv(0,1,s)}const Yu=(t,e)=>Math.abs(t-e);function Qv(t,e){const s=Yu(t.x,e.x),n=Yu(t.y,e.y);return Math.sqrt(s**2+n**2)}class Xu{constructor(e,s,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Jo(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,p=Qv(f.offset,{x:0,y:0})>=3;if(!h&&!p)return;const{point:v}=f,{timestamp:b}=Tt;this.history.push({...v,timestamp:b});const{onStart:A,onMove:S}=this.handlers;h||(A&&A(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Zo(h,this.transformPagePoint),lt.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:p,onSessionEnd:v,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=Jo(f.type==="pointercancel"?this.lastMoveEventInfo:Zo(h,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,A),v&&v(f,A)},!Nu(e))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.contextWindow=i||window;const r=qo(e),a=Zo(r,this.transformPagePoint),{point:l}=a,{timestamp:u}=Tt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=s;c&&c(e,Jo(a,this.history)),this.removeListeners=Gs(en(this.contextWindow,"pointermove",this.handlePointerMove),en(this.contextWindow,"pointerup",this.handlePointerUp),en(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),be(this.updatePoint)}}function Zo(t,e){return e?{point:e(t.point)}:t}function Zu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Jo({point:t},e){return{point:t,delta:Zu(t,Ju(e)),offset:Zu(t,t0(e)),velocity:e0(e,.1)}}function t0(t){return t[0]}function Ju(t){return t[t.length-1]}function e0(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=Ju(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>Yt(e)));)s--;if(!n)return{x:0,y:0};const o=ee(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}const Qu=()=>({min:0,max:0});function s0(){return{x:Qu(),y:Qu()}}function se(t){return[t("x"),t("y")]}function n0(t){return!!(dt(t)&&t.add)}function tf(t,e){const s=t.getValue("willChange");if(n0(s))return s.add(e)}function ef({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function i0(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function o0({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function sf(t,e){t.min=t.min+e,t.max=t.max+e}function r0(t,e){return ef(i0(t.getBoundingClientRect(),e))}function a0(t,e,s){const n=r0(t,s),{scroll:i}=e;return i&&(sf(n.x,i.offset.x),sf(n.y,i.offset.y)),n}function nf(t){return!qi.has(t.current)}function of({current:t}){return t?t.ownerDocument.defaultView:null}const l0=new WeakMap;class c0{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=s0(),this.visualElement=e}start(e,{snapToCursor:s=!1}={}){if(!nf(this.visualElement))return;const n=u=>{const{dragSnapToOrigin:c}=this.getProps();c?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(qo(u,"page").point)},i=(u,c)=>{const{drag:f,dragPropagation:h,onDragStart:p}=this.getProps();if(f&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Wv(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),se(b=>{let A=this.getAxisMotionValue(b).get()||0;if(Np.test(A)){const{projection:S}=this.visualElement;if(S&&S.layout){const O=S.layout.layoutBox[b];O&&(A=Yo(O)*(parseFloat(A)/100))}}this.originPoint[b]=A}),p&&lt.postRender(()=>p(u,c)),tf(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},o=(u,c)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:p,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:b}=c;if(h&&this.currentDirection===null){this.currentDirection=u0(b),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,b),this.updateAxis("y",c.point,b),this.visualElement.render(),v&&v(u,c)},r=(u,c)=>this.stop(u,c),a=()=>se(u=>{var c;return this.getAnimationState(u)==="paused"&&((c=this.getAxisMotionValue(u).animation)==null?void 0:c.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Xu(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:of(this.visualElement)})}stop(e,s){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&lt.postRender(()=>o(e,s))}cancel(){this.isDragging=!1;const{projection:e,animationState:s}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.visualElement.state.setActive("whileDrag",!1)}updateAxis(e,s,n){const{drag:i}=this.getProps();if(!n||!Zn(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=zv(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:s,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)==null?void 0:e.layout,o=this.constraints;s&&tn(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&i?this.constraints=qv(i.layoutBox,s):this.constraints=!1,this.elastic=Yv(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&se(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Xv(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:s}=this.getProps();if(!e||!tn(e))return!1;const n=e,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=a0(n,i.root,this.visualElement.getTransformPagePoint());let r=Zv(i.layout.layoutBox,o);if(s){const a=s(o0(r));this.hasMutatedConstraints=!!a,a&&(r=ef(a))}return r}startAnimation(e){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=se(c=>{if(!Zn(c,s,this.currentDirection))return;let f=l&&l[c]||{};r&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,v={type:"inertia",velocity:n?e[c]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(e,s){const n=this.getAxisMotionValue(e);return tf(this.visualElement,e),n.start(jo(e,n,0,s,this.visualElement,!1))}stopAnimation(){nf(this.visualElement)&&se(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){se(e=>{var s;return(s=this.getAxisMotionValue(e).animation)==null?void 0:s.pause()})}getAnimationState(e){var s;return(s=this.getAxisMotionValue(e).animation)==null?void 0:s.state}getAxisMotionValue(e){const s=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[s]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){se(s=>{const{drag:n}=this.getProps();if(!Zn(s,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(s);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[s];o.set(e[s]-Xn(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!tn(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};se(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=Jv({min:l,max:l},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),se(r=>{if(!Zn(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(Xn(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;l0.set(this.visualElement,this);const e=this.visualElement.current,s=en(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();tn(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),lt.read(n);const r=Gn(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(se(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{r(),s(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=Xo,dragMomentum:a=!0}=e;return{...e,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Zn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function u0(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}class f0 extends ye{constructor(e){super(e),this.removeGroupControls=Dt,this.removeListeners=Dt,this.controls=new c0(e.visualElement)}mount(){const{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Dt}unmount(){this.removeGroupControls(),this.removeListeners()}}class h0 extends ye{constructor(e){super(e),sl(Bu)}beforeUpdate(){this.state.willUpdate("beforeUpdate")}update(){this.didUpdate()}didUpdate(){var e,s;(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&((s=(e=this.state.visualElement.projection)==null?void 0:e.root)==null||s.didUpdate())}mount(){var e;const s=this.state.options,n=this.state.options.layoutGroup;if(s.layout||s.layoutId){const i=this.state.visualElement.projection;i&&(i.promote(),(e=n==null?void 0:n.group)==null||e.add(i)),Yn.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){const e=this.state.visualElement.projection;e&&(this.state.willUpdate("beforeUnmount"),this.state.options.layoutId?(e.isPresent=!1,e.relegate()):this.state.options.layout&&(this.state.isSafeToRemove=!0))}unmount(){const e=this.state.options.layoutGroup,s=this.state.visualElement.projection;s&&(e!=null&&e.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(s),this.didUpdate())}}function rf(t){return(e,s)=>{t&&lt.postRender(()=>t(e,s))}}class d0 extends ye{constructor(){super(...arguments),this.removePointerDownListener=Dt}onPointerDown(e){this.session=new Xu(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:of(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:rf((e,s)=>{const{onPanSessionStart:n}=this.state.options;n&&n(e,s)}),onStart:rf((e,s)=>{const{onPanStart:n}=this.state.options;n&&n(e,s)}),onMove:(e,s)=>{const{onPan:n}=this.state.options;n&&n(e,s)},onEnd:(e,s)=>{const{onPanEnd:n}=this.state.options;delete this.session,n&&lt.postRender(()=>n(e,s))}}}mount(){this.removePointerDownListener=en(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const p0=[Iy,Wy,zy,Xy,Jy,Hv,d0,f0,h0],m0={reduceMotion:"never",transition:void 0,nonce:void 0},[g0,O_]=Ns("MotionConfig");function y0(){return g0(vt(()=>m0))}function Jn(t){return(t==null?void 0:t.nodeType)===3||(t==null?void 0:t.nodeType)===8?Jn(t.nextSibling):t}const[v0,R_]=Ns("LazyMotionContext");function b0(t){const e=mp(null),s=yp({}),n=y0(),i=Pp({}),o=v0({features:rs([]),strict:!1}),r=Vh();function a(){return s.id&&t.layoutId?`${s.id}-${t.layoutId}`:t.layoutId||void 0}function l(){return{...t,lazyMotionContext:o,layoutId:a(),transition:t.transition??n.value.transition,layoutGroup:s,motionConfig:n.value,inViewOptions:t.inViewOptions??n.value.inViewOptions,animatePresenceContext:i,initial:i.initial===!1?i.initial:t.initial===!0?void 0:t.initial}}function u(){return{...r,...l()}}const c=new Dp(u(),e);gp(c);function f(){var p;const v=c.type==="svg",b={...r};Object.keys(r).forEach(O=>{dt(r[O])&&(b[O]=r[O].get())});let A={...t.style,...v?{}:((p=c.visualElement)==null?void 0:p.latestValues)||c.baseTarget};if(v){const{attrs:O,style:E}=Gp({...c.isMounted()?c.target:c.baseTarget,...A});(E.transform||O.transformOrigin)&&(E.transformOrigin=O.transformOrigin??"50% 50%",delete O.transformOrigin),E.transform&&(E.transformBox=E.transformBox??"fill-box",delete O.transformBox),Object.assign(b,O),A=E}t.drag&&t.dragListener!==!1&&Object.assign(A,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const S=Up(A);return S&&(b.style=S),b}const h=ji().proxy;return Gr(()=>{c.beforeMount()}),wi(()=>{c.mount(Jn(h.$el),u(),x0(h))}),Ai(()=>c.beforeUnmount()),Pi(()=>{const p=Jn(h.$el);p!=null&&p.isConnected||c.unmount()}),zr(()=>{c.beforeUpdate()}),qr(()=>{c.update(u())}),{getProps:l,getAttrs:f,layoutGroup:s,state:c}}const _0={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},hover:{type:[String,Array,Object]},press:{type:[String,Array,Object]},inView:{type:[String,Array,Object]},focus:{type:[String,Array,Object]},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object],default:({hover:t})=>t},whilePress:{type:[String,Array,Object],default:({press:t})=>t},whileInView:{type:[String,Array,Object],default:({inView:t})=>t},whileFocus:{type:[String,Array,Object],default:({focus:t})=>t},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},layoutGroup:{type:Object},motionConfig:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:[String,Number,Object,Array]},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};function x0(t){var e;const s=((e=Jn(t.$el))==null?void 0:e.style.display)==="none";return t.$.vnode.transition&&s}const S0=new Map,T0=new Map;function w0(t){if(!Array.isArray(t))return[t];const e=[];for(const s of t)Array.isArray(s)?e.push(...s):e.push(s);return e}const A0=["area","img","input"];function P0(t,e,s){var n,i;if(typeof t=="string"&&A0.includes(t))return ki(t,e);if(t==="template"){if(!s.default)return null;const o=w0(s.default()),r=o.findIndex(c=>c.type!==St);if(r===-1)return o;const a=o[r];(n=a.props)==null||delete n.ref;const l=a.props?Aa(e,a.props):e;e.class&&((i=a.props)!=null&&i.class)&&delete a.props.class;const u=pe(a,l);for(const c in l)c.startsWith("on")&&(u.props||(u.props={}),u.props[c]=l[c]);return o.length===1?u:(o[r]=u,o)}return null}function af(t,e={}){var s;const n=typeof t=="string",i=n?t:t.name||"",o=((s=e.features)==null?void 0:s.length)>0?S0:T0;if(n&&(o!=null&&o.has(t)))return o.get(t);const r=yh({inheritAttrs:!1,props:{..._0,features:{type:Object,default:()=>e.features||[]},as:{type:[String,Object],default:t||"div"}},name:i?`motion.${i}`:"Motion",setup(a,{slots:l}){const{getProps:u,getAttrs:c,state:f}=b0(a);function h(){const p=f.element;if((!(typeof a.as=="object")||a.asChild)&&p){const{style:b}=c();if(b)for(const[A,S]of Object.entries(b))p.style[A]=S}}return()=>{const p=u(),v=c(),b=a.asChild?"template":a.as,A={...e.forwardMotionProps||a.forwardMotionProps?p:{},...v,onVnodeUpdated:h},S=P0(b,A,l);return S!==null?S:ki(b,{...A},l)}}});return n&&(o==null||o.set(t,r)),r}function C0(t=[]){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>af(n,{...i,features:t}):af(s,{features:t})}})}const lf=C0(p0);lf.create("div");const E0={class:"slds-navigation-list--vertical"},M0={class:"slds-navigation-list__item-content"},V0={class:"slds-navigation-list__item-title"},D0={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){var a;const s=t,n=e,i=rs(((a=s.selectedSchema)==null?void 0:a.fileName)||null);function o(l){i.value=l.fileName,n("selectSchema",l)}function r(l){var u;return((u=l.schema)==null?void 0:u.title)||l.fileName||"Untitled Schema"}return(l,u)=>(F(),N("div",E0,[u[0]||(u[0]=g("div",{class:"slds-navigation-list__item"},[g("div",{class:"slds-navigation-list__item-content"},[g("div",{class:"slds-navigation-list__item-title"},[g("span",{class:"slds-text-heading_small"},"Schemas")])])],-1)),(F(!0),N(ut,null,Ve(t.schemas,c=>(F(),N("div",{key:c.fileName,class:"slds-navigation-list__item"},[g("div",M0,[g("div",V0,[et(Er(lf).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Ct(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===c.fileName}]),onClick:f=>o(c)},{default:wn(()=>[Ls(Z(r(c)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},cf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M514%20425%20285%2055a28%2028%200%200%200-50%200L6%20425c-14%2023%200%2055%2025%2055h458c25%200%2040-32%2025-55zm-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030zm30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010v130z'/%3e%3c/svg%3e",uf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},O0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},R0={class:"slds-notify__content"},ff=uf({__name:"NoPropertiesMessage",props:{title:{type:String,default:"No Properties Defined"},message:{type:String,default:"This object doesn't have any properties defined in the schema."}},setup(t){return(e,s)=>(F(),N("div",O0,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:cf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",R0,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),L0={key:0,class:"slds-m-top_medium"},F0={class:"slds-box slds-theme_shade"},$0={class:"slds-grid slds-wrap slds-gutters"},I0={class:"constraint-item"},j0={class:"slds-text-title_caps slds-text-color_default"},B0={class:"slds-text-body_regular slds-m-top_xx-small"},Qo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>{const a={};return["minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","pattern","minItems","maxItems","uniqueItems","minProperties","maxProperties"].forEach(u=>{e.schema[u]!==void 0&&(a[u]=e.schema[u])}),a}),n=vt(()=>Object.entries(s.value).length!==0);function i(a){return a.replace(/([A-Z])/g," $1").replace(/^./,l=>l.toUpperCase())}function o(a){return typeof a=="boolean"?a?"Yes":"No":typeof a=="string"&&a.startsWith("^")?`Pattern: ${a}`:a}function r(a){return typeof a=="boolean"?a?"slds-badge_success":"slds-badge_inverse":typeof a=="number"?"slds-badge_warning":typeof a=="string"&&a.startsWith("^")?"slds-badge_info":""}return(a,l)=>n.value?(F(),N("div",L0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",F0,[g("div",$0,[(F(!0),N(ut,null,Ve(s.value,(u,c)=>(F(),N("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",I0,[g("div",j0,Z(i(c)),1),g("div",B0,[g("span",{class:Ct(["slds-badge",r(u)])},Z(o(u)),3)])])]))),128))])])])):Ht("",!0)}},N0={class:"array-schema"},k0={class:"slds-box slds-theme_shade"},U0={class:"slds-grid slds-gutters"},H0={key:0,class:"slds-col"},K0={class:"slds-badge"},W0={key:1,class:"slds-m-top_medium"},G0={class:"slds-text-title_caps slds-m-bottom_xx-small"},z0={key:3,class:"slds-m-top_medium"},q0={key:4,class:"slds-m-top_medium"},Y0={key:0,class:"slds-m-top_xx-small"},X0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=vt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(F(),N("div",N0,[g("div",k0,[g("div",U0,[o[1]||(o[1]=g("div",{class:"slds-col"},[g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type "),g("div",{class:"slds-badge"}," array ")],-1)),t.schema.items?(F(),N("div",H0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",K0,Z(n.value),1)])):Ht("",!0)])]),s.value?(F(),$t(Qo,{key:0,schema:t.schema},null,8,["schema"])):Ht("",!0),t.schema.items?(F(),N("div",W0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(F(!0),N(ut,{key:0},Ve(t.schema.items,(r,a)=>(F(),N("div",{key:a,class:"slds-m-bottom_medium"},[g("div",G0," Index "+Z(a),1),et(xe,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(F(),$t(xe,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(F(),$t(ff,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(F(),N("div",z0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),et(xe,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ht("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(F(),N("div",q0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(F(),N("div",Y0,[g("span",{class:Ct(t.schema.additionalItems?"status-allowed":"status-denied")},Z(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(F(),$t(xe,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ht("",!0)]))}},Z0={class:"slds-box slds-theme_shade"},J0={class:"slds-text-heading_small slds-m-bottom_small"},Q0={class:"slds-tabs_default"},tb={class:"slds-tabs_default__nav",role:"tablist"},eb=["aria-selected","aria-controls","onClick"],sb={class:"slds-tabs_default__title"},nb=["id"],ib={class:"slds-p-around_medium"},ob={class:"slds-text-title_caps slds-m-bottom_small"},rb={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=rs(0),i=vt(()=>e.schema[s.value]||[]);Zh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=vt(()=>{switch(s.value){case"oneOf":return"One Of (Choose One)";case"anyOf":return"Any Of (Choose Any)";case"allOf":return"All Of (Must Match All)";default:return s.value}}),r=vt(()=>{switch(e.compositionType){case"oneOf":return"slds-badge_success";case"anyOf":return"slds-badge_warning";case"allOf":return"slds-badge_inverse";default:return""}});function a(u){return Array.isArray(u.type)?u.type.join(" | "):u.type||"object"}function l(u,c){return u.title?u.title:`Option ${c+1}`}return(u,c)=>(F(),N("div",Z0,[g("div",J0,[g("span",{class:Ct(["slds-badge",r.value])},Z(o.value),3)]),g("div",Q0,[g("ul",tb,[(F(!0),N(ut,null,Ve(i.value,(f,h)=>(F(),N("li",{key:h,class:Ct(["slds-tabs_default__item",{"slds-is-active":n.value===h}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===h,"aria-controls":`tab-${h}`,onClick:p=>n.value=h},[g("span",sb,Z(l(f,h)),1)],8,eb)],2))),128))]),(F(!0),N(ut,null,Ve(i.value,(f,h)=>(F(),N("div",{id:`tab-${h}`,key:h,class:Ct(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",ib,[g("div",ob," Schema Type: "+Z(a(f)),1),et(xe,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,nb))),128))])]))}},ab={class:"slds-box slds-theme_shade"},lb={class:"slds-grid slds-wrap slds-gutters"},cb={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},ub={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},fb={key:1,class:"slds-badge slds-badge_inverse"},hb={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.const),n=vt(()=>typeof s.value=="object"&&s.value!==null),i=vt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(F(),N("div",ab,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",lb,[g("div",cb,[n.value?(F(),N("pre",ub,[g("code",null,Z(i.value),1)])):(F(),N("div",fb,Z(i.value),1))])])]))}},db={class:"slds-box slds-theme_shade"},pb={class:"slds-grid slds-wrap slds-gutters"},mb={class:"slds-badge slds-badge_inverse"},gb={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.enum);return(n,i)=>(F(),N("div",db,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",pb,[(F(!0),N(ut,null,Ve(s.value,(o,r)=>(F(),N("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",mb,Z(o),1)]))),128))])]))}},yb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M476%20178%20271%20385c-6%206-16%206-22%200L44%20178c-6-6-6-16%200-22l22-22c6-6%2016-6%2022%200l161%20163c6%206%2016%206%2022%200l161-163c6-6%2016-6%2022%200l22%2022c5%207%205%2016%200%2022z'/%3e%3c/svg%3e",vb={key:0},bb={key:1},_b={class:"slds-box slds-m-top_small"},xb={class:"slds-table_container"},Sb={class:"slds-table slds-table_cell-buffer slds-table_bordered"},Tb=["onClick"],wb=["title"],Ab={class:"slds-truncate"},Pb={class:"slds-badge"},Cb=["title"],Eb={class:"slds-truncate"},Mb={key:0,class:"slds-badge slds-badge_success"},Vb={key:1,class:"slds-badge slds-badge_inverse"},Db={key:0},Ob={colspan:"4",class:"slds-p-around_medium"},Rb={class:"slds-box slds-theme_shade"},Lb={key:2},Fb={key:3},$b={key:0},Ib={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=rs({}),n=vt(()=>e.schema.properties&&Object.keys(e.schema.properties).length>0||e.schema.patternProperties&&Object.keys(e.schema.patternProperties).length>0);function i(a){return e.schema.required&&e.schema.required.includes(a)}function o(a){return a.type?a.type:Qe.hasComposition(a)?"composition":Qe.isEnum(a)?"enum":Qe.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(F(),N("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),et(Qo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(F(),N("div",vb,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,Z(t.schema.required.join(", ")),1)])):Ht("",!0),n.value?(F(),N("div",bb,[g("div",_b,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",xb,[g("table",Sb,[l[1]||(l[1]=g("thead",null,[g("tr",{class:"slds-line-height_reset"},[g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Property"}," Property ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Type"}," Type ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Description"}," Description ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Required"}," Required ")])])],-1)),g("tbody",null,[(F(!0),N(ut,null,Ve(t.schema.properties,(u,c)=>(F(),N(ut,{key:c},[g("tr",{class:"slds-hint-parent is-interactive",onClick:f=>r(c)},[g("td",null,[g("div",{class:"slds-truncate",title:c},[g("img",{src:yb,class:Ct(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),Ls(" "+Z(c),1)],8,wb)]),g("td",null,[g("div",Ab,[g("span",Pb,Z(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},Z(u.description||"No description"),9,Cb)]),g("td",null,[g("div",Eb,[i(c)?(F(),N("span",Mb,"Required")):(F(),N("span",Vb,"Optional"))])])],8,Tb),et(wd,null,{default:wn(()=>[s.value[c]?(F(),N("tr",Db,[g("td",Ob,[g("div",Rb,[et(xe,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ht("",!0)]),_:2},1024)],64))),128))])])])])])):Ht("",!0),t.schema.patternProperties?(F(),N("div",Lb,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(F(!0),N(ut,null,Ve(t.schema.patternProperties,(u,c)=>(F(),N("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,Z(c),1)])]),et(xe,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ht("",!0),t.schema.additionalProperties!==void 0?(F(),N("div",Fb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(F(),N("div",$b,[g("span",{class:Ct(t.schema.additionalProperties?"status-allowed":"status-denied")},Z(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(F(),$t(xe,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ht("",!0),n.value?Ht("",!0):(F(),$t(ff,{key:4}))]))}},jb={class:"slds-box slds-m-top_small"},Bb={class:"slds-box slds-theme_shade"},Nb={class:"slds-text-body_regular"},kb={class:"slds-grid slds-gutters"},Ub={class:"slds-col"},Hb={class:"slds-badge"},Kb={class:"slds-col"},sn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),N("div",jb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",Bb,[g("div",Nb,[g("div",kb,[g("div",Ub,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",Hb,Z(t.schema.type),1)]),g("div",Kb,[s[1]||(s[1]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Description ",-1)),g("div",null,Z(t.schema.description||"No description"),1)])])])]),et(Qo,{schema:t.schema},null,8,["schema"])]))}},Wb={object:Ib,array:X0,string:sn,number:sn,integer:sn,boolean:sn,null:sn},Qe={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>Qe.hasComposition(t)?rb:Qe.isEnum(t)?gb:Qe.isConst(t)?hb:Wb[t.type]||null},Gb={class:"slds-grid slds-grid_vertical"},zb={class:"slds-col slds-size_1-of-1"},qb={class:"slds-card"},Yb={class:"slds-card__body slds-card__body_inner"},Xb={__name:"SchemaLayout",setup(t){return(e,s)=>(F(),N("div",Gb,[g("div",zb,[g("div",qb,[g("div",Yb,[Eh(e.$slots,"default")])])])]))}},Zb={class:"slds-box"},Jb={class:"slds-box slds-theme_shade"},Qb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(F(),N("div",Zb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[Ls(" Schema in plain with all "),g("code",null,"$ref"),Ls(" references already resolved ")],-1)),g("pre",Jb,[g("code",null,Z(s.value),1)])]))}},t_={class:"slds-page-header"},e_={class:"slds-page-header__row"},s_={class:"slds-page-header__col-title"},n_={class:"slds-media"},i_={class:"slds-media__body"},o_={class:"slds-page-header__name"},r_={class:"slds-page-header__name-title"},a_={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},l_={class:"slds-page-header__meta-text"},c_={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),N("div",t_,[g("div",e_,[g("div",s_,[g("div",n_,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:tl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",i_,[g("div",o_,[g("div",r_,[g("h1",a_,Z(t.schema.title||"Schema"),1)])]),g("div",l_,Z(t.schema.description||"No description provided"),1)])])])])]))}},u_={class:"slds-tabs_default__nav",role:"tablist"},f_={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(F(),N("ul",u_,[g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="visual"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"visual-tab",onClick:s[0]||(s[0]=n=>e.$emit("update:modelValue","visual"))},s[2]||(s[2]=[g("span",{class:"slds-tabs_default__title"},"Visual",-1)]))],2),g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="plain"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"plain-tab",onClick:s[1]||(s[1]=n=>e.$emit("update:modelValue","plain"))},s[3]||(s[3]=[g("span",{class:"slds-tabs_default__title"},"Plain JSON",-1)]))],2)]))}},h_={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},d_={class:"slds-notify__content"},p_=uf({__name:"UnknownSchemaMessage",props:{title:{type:String,default:"Unknown schema"},message:{type:String,default:"This schema doesen't have proper handling yet."}},setup(t){return(e,s)=>(F(),N("div",h_,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:cf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",d_,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),m_={class:"slds-tabs_default"},g_={class:"slds-p-around_medium"},y_={class:"slds-m-top_medium"},v_={class:"slds-p-around_medium"},xe={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=rs("visual"),n=vt(()=>e.isRoot?e.schema:e.rootSchema);Di("rootSchema",n);const i=vt(()=>Qe.getComponentForSchema(e.schema));return(o,r)=>(F(),$t(Xb,null,{default:wn(()=>[g("div",m_,[et(f_,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Ct({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",g_,[et(c_,{schema:t.schema},null,8,["schema"]),g("div",y_,[i.value?(F(),$t(Ph(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(F(),$t(p_,{key:1}))])])],2),g("div",{class:Ct({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",v_,[et(Qb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},b_={class:"slds-grid slds-grid_vertical"},__={class:"slds-grid slds-gutters slds-grid_vertical-fill"},x_={class:"slds-col slds-size_2-of-12"},S_={class:"slds-col slds-size_10-of-12"},T_={key:1,class:"slds-p-around_medium"},hf={__name:"App",props:{title:{type:String,default:"JSON Schema Documentation"},description:{type:String,default:""},schemas:{type:Array,default:()=>[]},generatedAt:{type:String,default:()=>new Date().toISOString()}},setup(t){const e=t,s=rs(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(F(),N("div",b_,[et(hp,{title:t.title},null,8,["title"]),g("div",__,[g("div",x_,[et(D0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",S_,[s.value?(F(),$t(xe,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(F(),N("div",T_,o[0]||(o[0]=[cd('<div class="slds-text-align_center"><svg viewBox="0 0 454 272" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="40" fill="#F9F9F9"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="30" fill="#ECEBEA"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="20" fill="#D9D7D5"></circle></g></svg></div><div class="slds-text-align_center slds-m-top_medium"><h3 class="slds-text-heading_medium"> No Schema Selected </h3><p class="slds-text-body_regular slds-m-top_small"> Select a schema from the sidebar to view its documentation. </p></div>',2)])))])]),et(np,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function df(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&Qa(hf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",df):df(),Ie.App=hf,Ie.createApp=Qa,Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"})});
7
+ `,...sh(i)),console.warn(...o)}Zt(),bi=!1}function eh(){let t=Ps[Ps.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function sh(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
8
+ `],...nh(s))}),e}function nh({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Va(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...ih(t.props),o]:[i+o]}function ih(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Er(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Er(t,e,s){return ut(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=Er(t,J(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=J(e),s?e:[`${t}=`,e])}function as(t,e,s,n){try{return n?t(...n):t()}catch(i){Sn(i,e,s)}}function qt(t,e,s,n){if(W(t)){const i=as(t,e,s,n);return i&&Qo(i)&&i.catch(o=>{Sn(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(qt(t[o],e,s,n));return i}}function Sn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||it;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](t,l,u)===!1)return}a=a.parent}if(o){Xt(),as(o,null,10,[t,l,u]),Zt();return}}oh(t,s,i,n,r)}function oh(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Et=[];let Jt=-1;const ls=[];let Me=null,cs=0;const Mr=Promise.resolve();let Tn=null;function rh(t){const e=Tn||Mr;return t?e.then(this?t.bind(this):t):e}function ah(t){let e=Jt+1,s=Et.length;for(;e<s;){const n=e+s>>>1,i=Et[n],o=Cs(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function _i(t){if(!(t.flags&1)){const e=Cs(t),s=Et[Et.length-1];!s||!(t.flags&2)&&e>=Cs(s)?Et.push(t):Et.splice(ah(e),0,t),t.flags|=1,Vr()}}function Vr(){Tn||(Tn=Mr.then(Rr))}function lh(t){H(t)?ls.push(...t):Me&&t.id===-1?Me.splice(cs+1,0,t):t.flags&1||(ls.push(t),t.flags|=1),Vr()}function Dr(t,e,s=Jt+1){for(;s<Et.length;s++){const n=Et[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Et.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Or(t){if(ls.length){const e=[...new Set(ls)].sort((s,n)=>Cs(s)-Cs(n));if(ls.length=0,Me){Me.push(...e);return}for(Me=e,cs=0;cs<Me.length;cs++){const s=Me[cs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Me=null,cs=0}}const Cs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Rr(t){const e=Gt;try{for(Jt=0;Jt<Et.length;Jt++){const s=Et[Jt];s&&!(s.flags&8)&&(Ee.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),as(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;Jt<Et.length;Jt++){const s=Et[Jt];s&&(s.flags&=-2)}Jt=-1,Et.length=0,Or(),Tn=null,(Et.length||ls.length)&&Rr()}}let xt=null,Lr=null;function wn(t){const e=xt;return xt=t,Lr=t&&t.type.__scopeId||null,e}function An(t,e=xt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&_a(-1);const o=wn(e);let r;try{r=t(...i)}finally{wn(o),n._d&&_a(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ue(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(Xt(),qt(l,s,8,[t.el,a,t,e]),Zt())}}const ch=Symbol("_vte"),Fr=t=>t.__isTeleport,Ve=Symbol("_leaveCb"),Pn=Symbol("_enterCb");function uh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ti(()=>{t.isMounted=!0}),wi(()=>{t.isUnmounting=!0}),t}const Ut=[Function,Array],$r={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},Ir=t=>{const e=t.subTree;return e.component?Ir(e.component):e},fh={name:"BaseTransition",props:$r,setup(t,{slots:e}){const s=Ii(),n=uh();return()=>{const i=e.default&&kr(e.default(),!0);if(!i||!i.length)return;const o=jr(i),r=J(t),{mode:a}=r;if(n.isLeaving)return Si(o);const l=Nr(o);if(!l)return Si(o);let u=xi(l,r,n,s,f=>u=f);l.type!==St&&Es(l,u);let c=s.subTree&&Nr(s.subTree);if(c&&c.type!==St&&!Ke(l,c)&&Ir(s).type!==St){let f=xi(c,r,n,s);if(Es(c,f),a==="out-in"&&l.type!==St)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Si(o);a==="in-out"&&l.type!==St?f.delayLeave=(h,p,v)=>{const b=Br(n,c);b[String(c.key)]=c,h[Ve]=()=>{p(),h[Ve]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function jr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==St){e=s;break}}return e}const hh=fh;function Br(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function xi(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:v,onLeaveCancelled:b,onBeforeAppear:A,onAppear:S,onAfterAppear:O,onAppearCancelled:E}=e,P=String(t.key),M=Br(s,t),U=(L,G)=>{L&&qt(L,n,9,G)},z=(L,G)=>{const Y=G[1];U(L,G),H(L)?L.every($=>$.length<=1)&&Y():L.length<=1&&Y()},I={mode:r,persisted:a,beforeEnter(L){let G=l;if(!s.isMounted)if(o)G=A||l;else return;L[Ve]&&L[Ve](!0);const Y=M[P];Y&&Ke(t,Y)&&Y.el[Ve]&&Y.el[Ve](),U(G,[L])},enter(L){let G=u,Y=c,$=f;if(!s.isMounted)if(o)G=S||u,Y=O||c,$=E||f;else return;let st=!1;const wt=L[Pn]=ie=>{st||(st=!0,ie?U($,[L]):U(Y,[L]),I.delayedLeave&&I.delayedLeave(),L[Pn]=void 0)};G?z(G,[L,wt]):wt()},leave(L,G){const Y=String(t.key);if(L[Pn]&&L[Pn](!0),s.isUnmounting)return G();U(h,[L]);let $=!1;const st=L[Ve]=wt=>{$||($=!0,G(),wt?U(b,[L]):U(v,[L]),L[Ve]=void 0,M[Y]===t&&delete M[Y])};M[Y]=t,p?z(p,[L,st]):st()},clone(L){const G=xi(L,e,s,n,i);return i&&i(G),G}};return I}function Si(t){if(En(t))return t=me(t),t.children=null,t}function Nr(t){if(!En(t))return Fr(t.type)&&t.children?jr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Es(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Es(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 kr(t,e=!1,s){let n=[],i=0;for(let o=0;o<t.length;o++){let r=t[o];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:o);r.type===ft?(r.patchFlag&128&&i++,n=n.concat(kr(r.children,e,a))):(e||r.type!==St)&&n.push(a!=null?me(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function dh(t,e){return W(t)?yt({name:t.name},e,{setup:t}):t}function Ur(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Cn(t,e,s,n,i=!1){if(H(t)){t.forEach((v,b)=>Cn(v,e&&(H(e)?e[b]:e),s,n,i));return}if(us(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Cn(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Bi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===it?a.refs={}:a.refs,f=a.setupState,h=J(f),p=f===it?()=>!1:v=>tt(h,v);if(u!=null&&u!==l&&(ut(u)?(c[u]=null,p(u)&&(f[u]=null)):_t(u)&&(u.value=null)),W(l))as(l,a,12,[r,c]);else{const v=ut(l),b=_t(l);if(v||b){const A=()=>{if(t.f){const S=v?p(l)?f[l]:c[l]:l.value;i?H(S)&&ti(S,o):H(S)?S.includes(o)||S.push(o):v?(c[l]=[o],p(l)&&(f[l]=c[l])):(l.value=[o],t.k&&(c[t.k]=l.value))}else v?(c[l]=r,p(l)&&(f[l]=r)):b&&(l.value=r,t.k&&(c[t.k]=r))};r?(A.id=-1,Lt(A,s)):A()}}}hn().requestIdleCallback,hn().cancelIdleCallback;const us=t=>!!t.type.__asyncLoader,En=t=>t.type.__isKeepAlive;function ph(t,e){Hr(t,"a",e)}function mh(t,e){Hr(t,"da",e)}function Hr(t,e,s=gt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Mn(e,n,s),s){let i=s.parent;for(;i&&i.parent;)En(i.parent.vnode)&&gh(n,e,s,i),i=i.parent}}function gh(t,e,s,n){const i=Mn(e,t,n,!0);Ai(()=>{ti(n[e],i)},s)}function Mn(t,e,s=gt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Xt();const a=$s(s),l=qt(e,s,t,r);return a(),Zt(),l});return n?i.unshift(o):i.push(o),o}}const pe=t=>(e,s=gt)=>{(!Is||t==="sp")&&Mn(t,(...n)=>e(...n),s)},Kr=pe("bm"),Ti=pe("m"),Wr=pe("bu"),Gr=pe("u"),wi=pe("bum"),Ai=pe("um"),yh=pe("sp"),vh=pe("rtg"),bh=pe("rtc");function _h(t,e=gt){Mn("ec",t,e)}const xh="components",zr=Symbol.for("v-ndc");function Sh(t){return ut(t)?Th(xh,t,!1)||t:t||zr}function Th(t,e,s=!0,n=!1){const i=xt||gt;if(i){const o=i.type;{const a=Ma(o,!1);if(a&&(a===e||a===Nt(e)||a===fn(Nt(e))))return o}const r=qr(i[t]||o[t],e)||qr(i.appContext[t],e);return!r&&n?o:r}}function qr(t,e){return t&&(t[e]||t[Nt(e)]||t[fn(Nt(e))])}function De(t,e,s,n){let i;const o=s,r=H(t);if(r||ut(t)){const a=r&&os(t);let l=!1,u=!1;a&&(l=!kt(t),u=Pe(t),t=dn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?bn(bt(t[c])):bt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(at(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,o));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,o)}}else i=[];return i}function wh(t,e,s={},n,i){if(xt.ce||xt.parent&&us(xt.parent)&&xt.parent.ce)return F(),$t(ft,null,[et("slot",s,n)],64);let o=t[e];o&&o._c&&(o._d=!1),F();const r=o&&Yr(o(s)),a=s.key||r&&r.key,l=$t(ft,{key:(a&&!fe(a)?a:`_${e}`)+""},r||[],r&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Yr(t){return t.some(e=>Ls(e)?!(e.type===St||e.type===ft&&!Yr(e.children)):!0)?t:null}const Pi=t=>t?Aa(t)?Bi(t):Pi(t.parent):null,Ms=yt(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=>Pi(t.parent),$root:t=>Pi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Qr(t),$forceUpdate:t=>t.f||(t.f=()=>{_i(t.update)}),$nextTick:t=>t.n||(t.n=rh.bind(t.proxy)),$watch:t=>qh.bind(t)}),Ci=(t,e)=>t!==it&&!t.__isScriptSetup&&tt(t,e),Ah={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const p=r[e];if(p!==void 0)switch(p){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(Ci(n,e))return r[e]=1,n[e];if(i!==it&&tt(i,e))return r[e]=2,i[e];if((u=t.propsOptions[0])&&tt(u,e))return r[e]=3,o[e];if(s!==it&&tt(s,e))return r[e]=4,s[e];Ei&&(r[e]=0)}}const c=Ms[e];let f,h;if(c)return e==="$attrs"&&At(t.attrs,"get",""),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(s!==it&&tt(s,e))return r[e]=4,s[e];if(h=l.config.globalProperties,tt(h,e))return h[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Ci(i,e)?(i[e]=s,!0):n!==it&&tt(n,e)?(n[e]=s,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,propsOptions:o}},r){let a;return!!s[r]||t!==it&&tt(t,r)||Ci(e,r)||(a=o[0])&&tt(a,r)||tt(n,r)||tt(Ms,r)||tt(i.config.globalProperties,r)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:tt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Ph(){return Ch().attrs}function Ch(){const t=Ii();return t.setupContext||(t.setupContext=Ea(t))}function Xr(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ei=!0;function Eh(t){const e=Qr(t),s=t.proxy,n=t.ctx;Ei=!1,e.beforeCreate&&Zr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:p,updated:v,activated:b,deactivated:A,beforeDestroy:S,beforeUnmount:O,destroyed:E,unmounted:P,render:M,renderTracked:U,renderTriggered:z,errorCaptured:I,serverPrefetch:L,expose:G,inheritAttrs:Y,components:$,directives:st,filters:wt}=e;if(u&&Mh(u,n,null),r)for(const Q in r){const q=r[Q];W(q)&&(n[Q]=q.bind(s))}if(i){const Q=i.call(s,s);at(Q)&&(t.data=yi(Q))}if(Ei=!0,o)for(const Q in o){const q=o[Q],oe=W(q)?q.bind(s,s):W(q.get)?q.get.bind(s,s):Gt,ts=!W(q)&&W(q.set)?q.set.bind(s):Gt,re=vt({get:oe,set:ts});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>re.value,set:It=>re.value=It})}if(a)for(const Q in a)Jr(a[Q],n,s,Q);if(l){const Q=W(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(q=>{Vi(q,Q[q])})}c&&Zr(c,t,"c");function mt(Q,q){H(q)?q.forEach(oe=>Q(oe.bind(s))):q&&Q(q.bind(s))}if(mt(Kr,f),mt(Ti,h),mt(Wr,p),mt(Gr,v),mt(ph,b),mt(mh,A),mt(_h,I),mt(bh,U),mt(vh,z),mt(wi,O),mt(Ai,P),mt(yh,L),H(G))if(G.length){const Q=t.exposed||(t.exposed={});G.forEach(q=>{Object.defineProperty(Q,q,{get:()=>s[q],set:oe=>s[q]=oe})})}else t.exposed||(t.exposed={});M&&t.render===Gt&&(t.render=M),Y!=null&&(t.inheritAttrs=Y),$&&(t.components=$),st&&(t.directives=st),L&&Ur(t)}function Mh(t,e,s=Gt){H(t)&&(t=Mi(t));for(const n in t){const i=t[n];let o;at(i)?"default"in i?o=Ds(i.from||n,i.default,!0):o=Ds(i.from||n):o=Ds(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function Zr(t,e,s){qt(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Jr(t,e,s,n){let i=n.includes(".")?ma(s,n):()=>s[n];if(ut(t)){const o=e[t];W(o)&&Dn(i,o)}else if(W(t))Dn(i,t.bind(s));else if(at(t))if(H(t))t.forEach(o=>Jr(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Dn(i,o,t)}}function Qr(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!s&&!n?l=e:(l={},i.length&&i.forEach(u=>Vn(l,u,r,!0)),Vn(l,e,r)),at(e)&&o.set(e,l),l}function Vn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Vn(t,o,s,!0),i&&i.forEach(r=>Vn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Vh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Vh={data:ta,props:ea,emits:ea,methods:Vs,computed:Vs,beforeCreate:Mt,created:Mt,beforeMount:Mt,mounted:Mt,beforeUpdate:Mt,updated:Mt,beforeDestroy:Mt,beforeUnmount:Mt,destroyed:Mt,unmounted:Mt,activated:Mt,deactivated:Mt,errorCaptured:Mt,serverPrefetch:Mt,components:Vs,directives:Vs,watch:Oh,provide:ta,inject:Dh};function ta(t,e){return e?t?function(){return yt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Dh(t,e){return Vs(Mi(t),Mi(e))}function Mi(t){if(H(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Mt(t,e){return t?[...new Set([].concat(t,e))]:e}function Vs(t,e){return t?yt(Object.create(null),t,e):e}function ea(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:yt(Object.create(null),Xr(t),Xr(e??{})):e}function Oh(t,e){if(!t)return e;if(!e)return t;const s=yt(Object.create(null),t);for(const n in e)s[n]=Mt(t[n],e[n]);return s}function sa(){return{app:null,config:{isNativeTag:hf,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 Rh=0;function Lh(t,e){return function(n,i=null){W(n)||(n=yt({},n)),i!=null&&!at(i)&&(i=null);const o=sa(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Rh++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:md,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&W(c.install)?(r.add(c),c.install(u,...f)):W(c)&&(r.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const p=u._ceVNode||et(n,i);return p.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(p,c,h),l=!0,u._container=c,c.__vue_app__=u,Bi(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(qt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=fs;fs=u;try{return c()}finally{fs=f}}};return u}}let fs=null;function Vi(t,e){if(gt){let s=gt.provides;const n=gt.parent&&gt.parent.provides;n===s&&(s=gt.provides=Object.create(n)),s[t]=e}}function Ds(t,e,s=!1){const n=gt||xt;if(n||fs){let i=fs?fs._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 s&&W(e)?e.call(n&&n.proxy):e}}const na={},ia=()=>Object.create(na),oa=t=>Object.getPrototypeOf(t)===na;function Fh(t,e,s,n=!1){const i={},o=ia();t.propsDefaults=Object.create(null),ra(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Wf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function $h(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=J(i),[l]=t.propsOptions;let u=!1;if((n||r>0)&&!(r&16)){if(r&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(On(t.emitsOptions,h))continue;const p=e[h];if(l)if(tt(o,h))p!==o[h]&&(o[h]=p,u=!0);else{const v=Nt(h);i[v]=Di(l,a,v,p,t,!1)}else p!==o[h]&&(o[h]=p,u=!0)}}}else{ra(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=Be(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Di(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!tt(e,f))&&(delete o[f],u=!0)}u&&he(t.attrs,"set","")}function ra(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(_s(l))continue;const u=e[l];let c;i&&tt(i,c=Nt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:On(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=J(s),u=a||it;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Di(i,l,f,u[f],t,!tt(u,f))}}return r}function Di(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=tt(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=$s(i);n=u[s]=l.call(null,e),c()}}else n=l;i.ce&&i.ce._setProp(s,n)}r[0]&&(o&&!a?n=!1:r[1]&&(n===""||n===Be(s))&&(n=!0))}return n}const Ih=new WeakMap;function aa(t,e,s=!1){const n=s?Ih:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!W(t)){const c=f=>{l=!0;const[h,p]=aa(f,e,!0);yt(r,h),p&&a.push(...p)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return at(t)&&n.set(t,ss),ss;if(H(o))for(let c=0;c<o.length;c++){const f=Nt(o[c]);la(f)&&(r[f]=it)}else if(o)for(const c in o){const f=Nt(c);if(la(f)){const h=o[c],p=r[f]=H(h)||W(h)?{type:h}:yt({},h),v=p.type;let b=!1,A=!0;if(H(v))for(let S=0;S<v.length;++S){const O=v[S],E=W(O)&&O.name;if(E==="Boolean"){b=!0;break}else E==="String"&&(A=!1)}else b=W(v)&&v.name==="Boolean";p[0]=b,p[1]=A,(b||tt(p,"default"))&&a.push(f)}}const u=[r,a];return at(t)&&n.set(t,u),u}function la(t){return t[0]!=="$"&&!_s(t)}const Oi=t=>t[0]==="_"||t==="$stable",Ri=t=>H(t)?t.map(Qt):[Qt(t)],jh=(t,e,s)=>{if(e._n)return e;const n=An((...i)=>(Ee.NODE_ENV!=="production"&&gt&&!(s===null&&xt)&&(s&&(s.root,gt.root)),Ri(e(...i))),s);return n._c=!1,n},ca=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Oi(i))continue;const o=t[i];if(W(o))e[i]=jh(i,o,n);else if(o!=null){const r=Ri(o);e[i]=()=>r}}},ua=(t,e)=>{const s=Ri(e);t.slots.default=()=>s},fa=(t,e,s)=>{for(const n in e)(s||!Oi(n))&&(t[n]=e[n])},Bh=(t,e,s)=>{const n=t.slots=ia();if(t.vnode.shapeFlag&32){const i=e._;i?(fa(n,e,s),s&&sr(n,"_",i,!0)):ca(e,n)}else e&&ua(t,e)},Nh=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=it;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:fa(i,e,s):(o=!e.$stable,ca(e,i)),r=e}else e&&(ua(t,e),r={default:1});if(o)for(const a in i)!Oi(a)&&r[a]==null&&delete i[a]},Lt=ed;function kh(t){return Uh(t)}function Uh(t,e){const s=hn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:p=Gt,insertStaticContent:v}=t,b=(d,m,y,T=null,_=null,x=null,D=void 0,V=null,C=!!m.dynamicChildren)=>{if(d===m)return;d&&!Ke(d,m)&&(T=Te(d),It(d,_,x,!0),d=null),m.patchFlag===-2&&(C=!1,m.dynamicChildren=null);const{type:w,ref:B,shapeFlag:R}=m;switch(w){case Rn:A(d,m,y,T);break;case St:S(d,m,y,T);break;case Ln:d==null&&O(m,y,T,D);break;case ft:$(d,m,y,T,_,x,D,V,C);break;default:R&1?M(d,m,y,T,_,x,D,V,C):R&6?st(d,m,y,T,_,x,D,V,C):(R&64||R&128)&&w.process(d,m,y,T,_,x,D,V,C,rn)}B!=null&&_&&Cn(B,d&&d.ref,x,m||d,!m)},A=(d,m,y,T)=>{if(d==null)n(m.el=a(m.children),y,T);else{const _=m.el=d.el;m.children!==d.children&&u(_,m.children)}},S=(d,m,y,T)=>{d==null?n(m.el=l(m.children||""),y,T):m.el=d.el},O=(d,m,y,T)=>{[d.el,d.anchor]=v(d.children,m,y,T,d.el,d.anchor)},E=({el:d,anchor:m},y,T)=>{let _;for(;d&&d!==m;)_=h(d),n(d,y,T),d=_;n(m,y,T)},P=({el:d,anchor:m})=>{let y;for(;d&&d!==m;)y=h(d),i(d),d=y;i(m)},M=(d,m,y,T,_,x,D,V,C)=>{m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),d==null?U(m,y,T,_,x,D,V,C):L(d,m,_,x,D,V,C)},U=(d,m,y,T,_,x,D,V)=>{let C,w;const{props:B,shapeFlag:R,transition:j,dirs:K}=d;if(C=d.el=r(d.type,x,B&&B.is,B),R&8?c(C,d.children):R&16&&I(d.children,C,null,T,_,Li(d,x),D,V),K&&Ue(d,null,T,"created"),z(C,d,d.scopeId,D,T),B){for(const rt in B)rt!=="value"&&!_s(rt)&&o(C,rt,null,B[rt],x,T);"value"in B&&o(C,"value",null,B.value,x),(w=B.onVnodeBeforeMount)&&te(w,T,d)}K&&Ue(d,null,T,"beforeMount");const X=Hh(_,j);X&&j.beforeEnter(C),n(C,m,y),((w=B&&B.onVnodeMounted)||X||K)&&Lt(()=>{w&&te(w,T,d),X&&j.enter(C),K&&Ue(d,null,T,"mounted")},_)},z=(d,m,y,T,_)=>{if(y&&p(d,y),T)for(let x=0;x<T.length;x++)p(d,T[x]);if(_){let x=_.subTree;if(m===x||ba(x.type)&&(x.ssContent===m||x.ssFallback===m)){const D=_.vnode;z(d,D,D.scopeId,D.slotScopeIds,_.parent)}}},I=(d,m,y,T,_,x,D,V,C=0)=>{for(let w=C;w<d.length;w++){const B=d[w]=V?Oe(d[w]):Qt(d[w]);b(null,B,m,y,T,_,x,D,V)}},L=(d,m,y,T,_,x,D)=>{const V=m.el=d.el;let{patchFlag:C,dynamicChildren:w,dirs:B}=m;C|=d.patchFlag&16;const R=d.props||it,j=m.props||it;let K;if(y&&He(y,!1),(K=j.onVnodeBeforeUpdate)&&te(K,y,m,d),B&&Ue(m,d,y,"beforeUpdate"),y&&He(y,!0),(R.innerHTML&&j.innerHTML==null||R.textContent&&j.textContent==null)&&c(V,""),w?G(d.dynamicChildren,w,V,y,T,Li(m,_),x):D||q(d,m,V,null,y,T,Li(m,_),x,!1),C>0){if(C&16)Y(V,R,j,y,_);else if(C&2&&R.class!==j.class&&o(V,"class",null,j.class,_),C&4&&o(V,"style",R.style,j.style,_),C&8){const X=m.dynamicProps;for(let rt=0;rt<X.length;rt++){const nt=X[rt],jt=R[nt],Rt=j[nt];(Rt!==jt||nt==="value")&&o(V,nt,jt,Rt,_,y)}}C&1&&d.children!==m.children&&c(V,m.children)}else!D&&w==null&&Y(V,R,j,y,_);((K=j.onVnodeUpdated)||B)&&Lt(()=>{K&&te(K,y,m,d),B&&Ue(m,d,y,"updated")},T)},G=(d,m,y,T,_,x,D)=>{for(let V=0;V<m.length;V++){const C=d[V],w=m[V],B=C.el&&(C.type===ft||!Ke(C,w)||C.shapeFlag&198)?f(C.el):y;b(C,w,B,null,T,_,x,D,!0)}},Y=(d,m,y,T,_)=>{if(m!==y){if(m!==it)for(const x in m)!_s(x)&&!(x in y)&&o(d,x,m[x],null,_,T);for(const x in y){if(_s(x))continue;const D=y[x],V=m[x];D!==V&&x!=="value"&&o(d,x,V,D,_,T)}"value"in y&&o(d,"value",m.value,y.value,_)}},$=(d,m,y,T,_,x,D,V,C)=>{const w=m.el=d?d.el:a(""),B=m.anchor=d?d.anchor:a("");let{patchFlag:R,dynamicChildren:j,slotScopeIds:K}=m;K&&(V=V?V.concat(K):K),d==null?(n(w,y,T),n(B,y,T),I(m.children||[],y,B,_,x,D,V,C)):R>0&&R&64&&j&&d.dynamicChildren?(G(d.dynamicChildren,j,y,_,x,D,V),(m.key!=null||_&&m===_.subTree)&&ha(d,m,!0)):q(d,m,y,B,_,x,D,V,C)},st=(d,m,y,T,_,x,D,V,C)=>{m.slotScopeIds=V,d==null?m.shapeFlag&512?_.ctx.activate(m,y,T,D,C):wt(m,y,T,_,x,D,C):ie(d,m,C)},wt=(d,m,y,T,_,x,D)=>{const V=d.component=ld(d,T,_);if(En(d)&&(V.ctx.renderer=rn),cd(V,!1,D),V.asyncDep){if(_&&_.registerDep(V,mt,D),!d.el){const C=V.subTree=et(St);S(null,C,m,y)}}else mt(V,d,m,y,_,x,D)},ie=(d,m,y)=>{const T=m.component=d.component;if(Qh(d,m,y))if(T.asyncDep&&!T.asyncResolved){Q(T,m,y);return}else T.next=m,T.update();else m.el=d.el,T.vnode=m},mt=(d,m,y,T,_,x,D)=>{const V=()=>{if(d.isMounted){let{next:R,bu:j,u:K,parent:X,vnode:rt}=d;{const ce=da(d);if(ce){R&&(R.el=rt.el,Q(d,R,D)),ce.asyncDep.then(()=>{d.isUnmounted||V()});return}}let nt=R,jt;He(d,!1),R?(R.el=rt.el,Q(d,R,D)):R=rt,j&&ni(j),(jt=R.props&&R.props.onVnodeBeforeUpdate)&&te(jt,X,R,rt),He(d,!0);const Rt=ya(d),le=d.subTree;d.subTree=Rt,b(le,Rt,f(le.el),Te(le),d,_,x),R.el=Rt.el,nt===null&&td(d,Rt.el),K&&Lt(K,_),(jt=R.props&&R.props.onVnodeUpdated)&&Lt(()=>te(jt,X,R,rt),_)}else{let R;const{el:j,props:K}=m,{bm:X,m:rt,parent:nt,root:jt,type:Rt}=d,le=us(m);He(d,!1),X&&ni(X),!le&&(R=K&&K.onVnodeBeforeMount)&&te(R,nt,m),He(d,!0);{jt.ce&&jt.ce._injectChildStyle(Rt);const ce=d.subTree=ya(d);b(null,ce,y,T,d,_,x),m.el=ce.el}if(rt&&Lt(rt,_),!le&&(R=K&&K.onVnodeMounted)){const ce=m;Lt(()=>te(R,nt,ce),_)}(m.shapeFlag&256||nt&&us(nt.vnode)&&nt.vnode.shapeFlag&256)&&d.a&&Lt(d.a,_),d.isMounted=!0,m=y=T=null}};d.scope.on();const C=d.effect=new ar(V);d.scope.off();const w=d.update=C.run.bind(C),B=d.job=C.runIfDirty.bind(C);B.i=d,B.id=d.uid,C.scheduler=()=>_i(B),He(d,!0),w()},Q=(d,m,y)=>{m.component=d;const T=d.vnode.props;d.vnode=m,d.next=null,$h(d,m.props,T,y),Nh(d,m.children,y),Xt(),Dr(d),Zt()},q=(d,m,y,T,_,x,D,V,C=!1)=>{const w=d&&d.children,B=d?d.shapeFlag:0,R=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){ts(w,R,y,T,_,x,D,V,C);return}else if(j&256){oe(w,R,y,T,_,x,D,V,C);return}}K&8?(B&16&&ae(w,_,x),R!==w&&c(y,R)):B&16?K&16?ts(w,R,y,T,_,x,D,V,C):ae(w,_,x,!0):(B&8&&c(y,""),K&16&&I(R,y,T,_,x,D,V,C))},oe=(d,m,y,T,_,x,D,V,C)=>{d=d||ss,m=m||ss;const w=d.length,B=m.length,R=Math.min(w,B);let j;for(j=0;j<R;j++){const K=m[j]=C?Oe(m[j]):Qt(m[j]);b(d[j],K,y,null,_,x,D,V,C)}w>B?ae(d,_,x,!0,!1,R):I(m,y,T,_,x,D,V,C,R)},ts=(d,m,y,T,_,x,D,V,C)=>{let w=0;const B=m.length;let R=d.length-1,j=B-1;for(;w<=R&&w<=j;){const K=d[w],X=m[w]=C?Oe(m[w]):Qt(m[w]);if(Ke(K,X))b(K,X,y,null,_,x,D,V,C);else break;w++}for(;w<=R&&w<=j;){const K=d[R],X=m[j]=C?Oe(m[j]):Qt(m[j]);if(Ke(K,X))b(K,X,y,null,_,x,D,V,C);else break;R--,j--}if(w>R){if(w<=j){const K=j+1,X=K<B?m[K].el:T;for(;w<=j;)b(null,m[w]=C?Oe(m[w]):Qt(m[w]),y,X,_,x,D,V,C),w++}}else if(w>j)for(;w<=R;)It(d[w],_,x,!0),w++;else{const K=w,X=w,rt=new Map;for(w=X;w<=j;w++){const Bt=m[w]=C?Oe(m[w]):Qt(m[w]);Bt.key!=null&&rt.set(Bt.key,w)}let nt,jt=0;const Rt=j-X+1;let le=!1,ce=0;const an=new Array(Rt);for(w=0;w<Rt;w++)an[w]=0;for(w=K;w<=R;w++){const Bt=d[w];if(jt>=Rt){It(Bt,_,x,!0);continue}let ue;if(Bt.key!=null)ue=rt.get(Bt.key);else for(nt=X;nt<=j;nt++)if(an[nt-X]===0&&Ke(Bt,m[nt])){ue=nt;break}ue===void 0?It(Bt,_,x,!0):(an[ue-X]=w+1,ue>=ce?ce=ue:le=!0,b(Bt,m[ue],y,null,_,x,D,V,C),jt++)}const uf=le?Kh(an):ss;for(nt=uf.length-1,w=Rt-1;w>=0;w--){const Bt=X+w,ue=m[Bt],ff=Bt+1<B?m[Bt+1].el:T;an[w]===0?b(null,ue,y,ff,_,x,D,V,C):le&&(nt<0||w!==uf[nt]?re(ue,y,ff,2):nt--)}}},re=(d,m,y,T,_=null)=>{const{el:x,type:D,transition:V,children:C,shapeFlag:w}=d;if(w&6){re(d.component.subTree,m,y,T);return}if(w&128){d.suspense.move(m,y,T);return}if(w&64){D.move(d,m,y,rn);return}if(D===ft){n(x,m,y);for(let R=0;R<C.length;R++)re(C[R],m,y,T);n(d.anchor,m,y);return}if(D===Ln){E(d,m,y);return}if(T!==2&&w&1&&V)if(T===0)V.beforeEnter(x),n(x,m,y),Lt(()=>V.enter(x),_);else{const{leave:R,delayLeave:j,afterLeave:K}=V,X=()=>{d.ctx.isUnmounted?i(x):n(x,m,y)},rt=()=>{R(x,()=>{X(),K&&K()})};j?j(x,X,rt):rt()}else n(x,m,y)},It=(d,m,y,T=!1,_=!1)=>{const{type:x,props:D,ref:V,children:C,dynamicChildren:w,shapeFlag:B,patchFlag:R,dirs:j,cacheIndex:K}=d;if(R===-2&&(_=!1),V!=null&&(Xt(),Cn(V,null,y,d,!0),Zt()),K!=null&&(m.renderCache[K]=void 0),B&256){m.ctx.deactivate(d);return}const X=B&1&&j,rt=!us(d);let nt;if(rt&&(nt=D&&D.onVnodeBeforeUnmount)&&te(nt,m,d),B&6)es(d.component,y,T);else{if(B&128){d.suspense.unmount(y,T);return}X&&Ue(d,null,m,"beforeUnmount"),B&64?d.type.remove(d,m,y,rn,T):w&&!w.hasOnce&&(x!==ft||R>0&&R&64)?ae(w,m,y,!1,!0):(x===ft&&R&384||!_&&B&16)&&ae(C,m,y),T&&on(d)}(rt&&(nt=D&&D.onVnodeUnmounted)||X)&&Lt(()=>{nt&&te(nt,m,d),X&&Ue(d,null,m,"unmounted")},y)},on=d=>{const{type:m,el:y,anchor:T,transition:_}=d;if(m===ft){Jn(y,T);return}if(m===Ln){P(d);return}const x=()=>{i(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:D,delayLeave:V}=_,C=()=>D(y,x);V?V(d.el,x,C):C()}else x()},Jn=(d,m)=>{let y;for(;d!==m;)y=h(d),i(d),d=y;i(m)},es=(d,m,y)=>{const{bum:T,scope:_,job:x,subTree:D,um:V,m:C,a:w,parent:B,slots:{__:R}}=d;pa(C),pa(w),T&&ni(T),B&&H(R)&&R.forEach(j=>{B.renderCache[j]=void 0}),_.stop(),x&&(x.flags|=8,It(D,d,m,y)),V&&Lt(V,m),Lt(()=>{d.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},ae=(d,m,y,T=!1,_=!1,x=0)=>{for(let D=x;D<d.length;D++)It(d[D],m,y,T,_)},Te=d=>{if(d.shapeFlag&6)return Te(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=h(d.anchor||d.el),y=m&&m[ch];return y?h(y):m};let we=!1;const $e=(d,m,y)=>{d==null?m._vnode&&It(m._vnode,null,null,!0):b(m._vnode||null,d,m,null,null,null,y),m._vnode=d,we||(we=!0,Dr(),Or(),we=!1)},rn={p:b,um:It,m:re,r:on,mt:wt,mc:I,pc:q,pbc:G,n:Te,o:t};return{render:$e,hydrate:void 0,createApp:Lh($e)}}function Li({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function He({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Hh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ha(t,e,s=!1){const n=t.children,i=e.children;if(H(n)&&H(i))for(let o=0;o<n.length;o++){const r=n[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=Oe(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&ha(r,a)),a.type===Rn&&(a.el=r.el),a.type===St&&!a.el&&(a.el=r.el)}}function Kh(t){const e=t.slice(),s=[0];let n,i,o,r,a;const l=t.length;for(n=0;n<l;n++){const u=t[n];if(u!==0){if(i=s[s.length-1],t[i]<u){e[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)a=o+r>>1,t[s[a]]<u?o=a+1:r=a;u<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=e[r];return s}function da(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:da(e)}function pa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Wh=Symbol.for("v-scx"),Gh=()=>Ds(Wh);function zh(t,e){return Fi(t,null,e)}function Dn(t,e,s){return Fi(t,e,s)}function Fi(t,e,s=it){const{immediate:n,deep:i,flush:o,once:r}=s,a=yt({},s),l=e&&n||!e&&o!=="post";let u;if(Is){if(o==="sync"){const p=Gh();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Gt,p.resume=Gt,p.pause=Gt,p}}const c=gt;a.call=(p,v,b)=>qt(p,c,v,b);let f=!1;o==="post"?a.scheduler=p=>{Lt(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,v)=>{v?p():_i(p)}),a.augmentJob=p=>{e&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const h=Qf(t,e,a);return Is&&(u?u.push(h):l&&h()),h}function qh(t,e,s){const n=this.proxy,i=ut(t)?t.includes(".")?ma(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=$s(this),a=Fi(i,o.bind(n),s);return r(),a}function ma(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Yh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Nt(e)}Modifiers`]||t[`${Be(e)}Modifiers`];function Xh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||it;let i=s;const o=e.startsWith("update:"),r=o&&Yh(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ut(c)?c.trim():c)),r.number&&(i=s.map(yf)));let a,l=n[a=si(e)]||n[a=si(Nt(e))];!l&&o&&(l=n[a=si(Be(e))]),l&&qt(l,t,6,i);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,qt(u,t,6,i)}}function ga(t,e,s=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!W(t)){const l=u=>{const c=ga(u,e,!0);c&&(a=!0,yt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(at(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):yt(r,o),at(t)&&n.set(t,r),r)}function On(t,e){return!t||!ln(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,Be(e))||tt(t,e))}function b_(){}function ya(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:p,ctx:v,inheritAttrs:b}=t,A=wn(t);let S,O;try{if(s.shapeFlag&4){const P=i||n,M=Ee.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(P,{get(U,z,I){return th(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(U,z,I)}}):P;S=Qt(u.call(M,P,c,Ee.NODE_ENV!=="production"?yn(f):f,p,h,v)),O=a}else{const P=e;Ee.NODE_ENV,S=Qt(P.length>1?P(Ee.NODE_ENV!=="production"?yn(f):f,Ee.NODE_ENV!=="production"?{get attrs(){return yn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):P(Ee.NODE_ENV!=="production"?yn(f):f,null)),O=e.props?a:Zh(a)}}catch(P){Os.length=0,Sn(P,t,1),S=et(St)}let E=S;if(O&&b!==!1){const P=Object.keys(O),{shapeFlag:M}=E;P.length&&M&7&&(o&&P.some(Qn)&&(O=Jh(O,o)),E=me(E,O,!1,!0))}return s.dirs&&(E=me(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(s.dirs):s.dirs),s.transition&&Es(E,s.transition),S=E,wn(A),S}const Zh=t=>{let e;for(const s in t)(s==="class"||s==="style"||ln(s))&&((e||(e={}))[s]=t[s]);return e},Jh=(t,e)=>{const s={};for(const n in t)(!Qn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Qh(t,e,s){const{props:n,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?va(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(r[h]!==n[h]&&!On(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?va(n,r,u):!0:!!r;return!1}function va(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(e[o]!==t[o]&&!On(s,o))return!0}return!1}function td({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const ba=t=>t.__isSuspense;function ed(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):lh(t)}const ft=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),Ln=Symbol.for("v-stc"),Os=[];let Ft=null;function F(t=!1){Os.push(Ft=t?null:[])}function sd(){Os.pop(),Ft=Os[Os.length-1]||null}let Rs=1;function _a(t,e=!1){Rs+=t,t<0&&Ft&&e&&(Ft.hasOnce=!0)}function xa(t){return t.dynamicChildren=Rs>0?Ft||ss:null,sd(),Rs>0&&Ft&&Ft.push(t),t}function k(t,e,s,n,i,o){return xa(g(t,e,s,n,i,o,!0))}function $t(t,e,s,n,i){return xa(et(t,e,s,n,i,!0))}function Ls(t){return t?t.__v_isVNode===!0:!1}function Ke(t,e){return t.type===e.type&&t.key===e.key}const Sa=({key:t})=>t??null,Fn=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ut(t)||_t(t)||W(t)?{i:xt,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===ft?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Sa(e),ref:e&&Fn(e),scopeId:Lr,slotScopeIds:null,children:s,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:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xt};return a?($i(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ut(s)?8:16),Rs>0&&!r&&Ft&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ft.push(l),l}const et=nd;function nd(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===zr)&&(t=St),Ls(t)){const a=me(t,e,!0);return s&&$i(a,s),Rs>0&&!o&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(t)]=a:Ft.push(a)),a.patchFlag=-2,a}if(pd(t)&&(t=t.__vccOpts),e){e=id(e);let{class:a,style:l}=e;a&&!ut(a)&&(e.class=Ct(a)),at(l)&&(vi(l)&&!H(l)&&(l=yt({},l)),e.style=ii(l))}const r=ut(t)?1:ba(t)?128:Fr(t)?64:at(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function id(t){return t?vi(t)||oa(t)?yt({},t):t:null}function me(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Ta(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Sa(u),ref:e&&e.ref?s&&o?H(o)?o.concat(Fn(e)):[o,Fn(e)]:Fn(e):o,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!==ft?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&me(t.ssContent),ssFallback:t.ssFallback&&me(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Es(c,l.clone(c)),c}function Fs(t=" ",e=0){return et(Rn,null,t,e)}function od(t,e){const s=et(Ln,null,t);return s.staticCount=e,s}function Ht(t="",e=!1){return e?(F(),$t(St,null,t)):et(St,null,t)}function Qt(t){return t==null||typeof t=="boolean"?et(St):H(t)?et(ft,null,t.slice()):Ls(t)?Oe(t):et(Rn,null,String(t))}function Oe(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:me(t)}function $i(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(H(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),$i(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!oa(e)?e._ctx=xt:i===3&&xt&&(xt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:xt},s=32):(e=String(e),n&64?(s=16,e=[Fs(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ta(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Ct([e.class,n.class]));else if(i==="style")e.style=ii([e.style,n.style]);else if(ln(i)){const o=e[i],r=n[i];r&&o!==r&&!(H(o)&&o.includes(r))&&(e[i]=o?[].concat(o,r):r)}else i!==""&&(e[i]=n[i])}return e}function te(t,e,s,n=null){qt(t,e,7,[s,n])}const rd=sa();let ad=0;function ld(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||rd,o={uid:ad++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Af(!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:aa(n,i),emitsOptions:ga(n,i),emit:null,emitted:null,propsDefaults:it,inheritAttrs:n.inheritAttrs,ctx:it,data:it,props:it,attrs:it,slots:it,refs:it,setupState:it,setupContext:null,suspense:s,suspenseId:s?s.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 o.ctx={_:o},o.root=e?e.root:o,o.emit=Xh.bind(null,o),t.ce&&t.ce(o),o}let gt=null;const Ii=()=>gt||xt;let $n,ji;{const t=hn(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};$n=e("__VUE_INSTANCE_SETTERS__",s=>gt=s),ji=e("__VUE_SSR_SETTERS__",s=>Is=s)}const $s=t=>{const e=gt;return $n(t),t.scope.on(),()=>{t.scope.off(),$n(e)}},wa=()=>{gt&&gt.scope.off(),$n(null)};function Aa(t){return t.vnode.shapeFlag&4}let Is=!1;function cd(t,e=!1,s=!1){e&&ji(e);const{props:n,children:i}=t.vnode,o=Aa(t);Fh(t,n,o,e),Bh(t,i,s||e);const r=o?ud(t,e):void 0;return e&&ji(!1),r}function ud(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Ah);const{setup:n}=s;if(n){Xt();const i=t.setupContext=n.length>1?Ea(t):null,o=$s(t),r=as(n,t,0,[t.props,i]),a=Qo(r);if(Zt(),o(),(a||t.sp)&&!us(t)&&Ur(t),a){if(r.then(wa,wa),e)return r.then(l=>{Pa(t,l)}).catch(l=>{Sn(l,t,0)});t.asyncDep=r}else Pa(t,r)}else Ca(t)}function Pa(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:at(e)&&(t.setupState=Cr(e)),Ca(t)}function Ca(t,e,s){const n=t.type;t.render||(t.render=n.render||Gt);{const i=$s(t);Xt();try{Eh(t)}finally{Zt(),i()}}}const fd={get(t,e){return At(t,"get",""),t[e]}};function Ea(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,fd),slots:t.slots,emit:t.emit,expose:e}}function Bi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Cr(Gf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ms)return Ms[s](t)},has(e,s){return s in e||s in Ms}})):t.proxy}const hd=/(?:^|[-_])(\w)/g,dd=t=>t.replace(hd,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ma(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function Va(t,e,s=!1){let n=Ma(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t&&t.parent){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?dd(n):s?"App":"Anonymous"}function pd(t){return W(t)&&"__vccOpts"in t}const vt=(t,e)=>Zf(t,e,Is);function Ni(t,e,s){const n=arguments.length;return n===2?at(e)&&!H(e)?Ls(e)?et(t,null,[e]):et(t,e):et(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ls(s)&&(s=[s]),et(t,e,s))}const md="3.5.16";let ki;const Da=typeof window<"u"&&window.trustedTypes;if(Da)try{ki=Da.createPolicy("vue",{createHTML:t=>t})}catch{}const Oa=ki?t=>ki.createHTML(t):t=>t,gd="http://www.w3.org/2000/svg",yd="http://www.w3.org/1998/Math/MathML",ge=typeof document<"u"?document:null,Ra=ge&&ge.createElement("template"),vd={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?ge.createElementNS(gd,t):e==="mathml"?ge.createElementNS(yd,t):s?ge.createElement(t,{is:s}):ge.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>ge.createTextNode(t),createComment:t=>ge.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ge.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,o){const r=s?s.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Ra.innerHTML=Oa(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Ra.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,s)}return[r?r.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Re="transition",js="animation",Bs=Symbol("_vtc"),La={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},bd=yt({},$r,La),_d=(t=>(t.displayName="Transition",t.props=bd,t))((t,{slots:e})=>Ni(hh,xd(t),e)),We=(t,e=[])=>{H(t)?t.forEach(s=>s(...e)):t&&t(...e)},Fa=t=>t?H(t)?t.some(e=>e.length>1):t.length>1:!1;function xd(t){const e={};for(const $ in t)$ in La||(e[$]=t[$]);if(t.css===!1)return e;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:h=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,v=Sd(i),b=v&&v[0],A=v&&v[1],{onBeforeEnter:S,onEnter:O,onEnterCancelled:E,onLeave:P,onLeaveCancelled:M,onBeforeAppear:U=S,onAppear:z=O,onAppearCancelled:I=E}=e,L=($,st,wt,ie)=>{$._enterCancelled=ie,Ge($,st?c:a),Ge($,st?u:r),wt&&wt()},G=($,st)=>{$._isLeaving=!1,Ge($,f),Ge($,p),Ge($,h),st&&st()},Y=$=>(st,wt)=>{const ie=$?z:O,mt=()=>L(st,$,wt);We(ie,[st,mt]),$a(()=>{Ge(st,$?l:o),ye(st,$?c:a),Fa(ie)||Ia(st,n,b,mt)})};return yt(e,{onBeforeEnter($){We(S,[$]),ye($,o),ye($,r)},onBeforeAppear($){We(U,[$]),ye($,l),ye($,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave($,st){$._isLeaving=!0;const wt=()=>G($,st);ye($,f),$._enterCancelled?(ye($,h),Na()):(Na(),ye($,h)),$a(()=>{$._isLeaving&&(Ge($,f),ye($,p),Fa(P)||Ia($,n,A,wt))}),We(P,[$,wt])},onEnterCancelled($){L($,!1,void 0,!0),We(E,[$])},onAppearCancelled($){L($,!0,void 0,!0),We(I,[$])},onLeaveCancelled($){G($),We(M,[$])}})}function Sd(t){if(t==null)return null;if(at(t))return[Ui(t.enter),Ui(t.leave)];{const e=Ui(t);return[e,e]}}function Ui(t){return vf(t)}function ye(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Bs]||(t[Bs]=new Set)).add(e)}function Ge(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Bs];s&&(s.delete(e),s.size||(t[Bs]=void 0))}function $a(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Td=0;function Ia(t,e,s,n){const i=t._endId=++Td,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=wd(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function wd(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${Re}Delay`),o=n(`${Re}Duration`),r=ja(i,o),a=n(`${js}Delay`),l=n(`${js}Duration`),u=ja(a,l);let c=null,f=0,h=0;e===Re?r>0&&(c=Re,f=r,h=o.length):e===js?u>0&&(c=js,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Re:js:null,h=c?c===Re?o.length:l.length:0);const p=c===Re&&/\b(transform|all)(,|$)/.test(n(`${Re}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:p}}function ja(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Ba(s)+Ba(t[n])))}function Ba(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Na(){return document.body.offsetHeight}function Ad(t,e,s){const n=t[Bs];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ka=Symbol("_vod"),Pd=Symbol("_vsh"),Cd=Symbol(""),Ed=/(^|;)\s*display\s*:/;function Md(t,e,s){const n=t.style,i=ut(s);let o=!1;if(s&&!i){if(e)if(ut(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&In(n,a,"")}else for(const r in e)s[r]==null&&In(n,r,"");for(const r in s)r==="display"&&(o=!0),In(n,r,s[r])}else if(i){if(e!==s){const r=n[Cd];r&&(s+=";"+r),n.cssText=s,o=Ed.test(s)}}else e&&t.removeAttribute("style");ka in t&&(t[ka]=o?n.display:"",t[Pd]&&(n.display="none"))}const Ua=/\s*!important$/;function In(t,e,s){if(H(s))s.forEach(n=>In(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Vd(t,e);Ua.test(s)?t.setProperty(Be(n),s.replace(Ua,""),"important"):t[n]=s}}const Ha=["Webkit","Moz","ms"],Hi={};function Vd(t,e){const s=Hi[e];if(s)return s;let n=Nt(e);if(n!=="filter"&&n in t)return Hi[e]=n;n=fn(n);for(let i=0;i<Ha.length;i++){const o=Ha[i]+n;if(o in t)return Hi[e]=o}return e}const Ka="http://www.w3.org/1999/xlink";function Wa(t,e,s,n,i,o=Tf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Ka,e.slice(6,e.length)):t.setAttributeNS(Ka,e,s):s==null||o&&!ir(s)?t.removeAttribute(e):t.setAttribute(e,o?"":fe(s)?String(s):s)}function Ga(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Oa(s):s);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let r=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=ir(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{t[e]=s}catch{}r&&t.removeAttribute(i||e)}function Dd(t,e,s,n){t.addEventListener(e,s,n)}function Od(t,e,s,n){t.removeEventListener(e,s,n)}const za=Symbol("_vei");function Rd(t,e,s,n,i=null){const o=t[za]||(t[za]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=Ld(e);if(n){const u=o[e]=Id(n,i);Dd(t,a,u,l)}else r&&(Od(t,a,r,l),o[e]=void 0)}}const qa=/(?:Once|Passive|Capture)$/;function Ld(t){let e;if(qa.test(t)){e={};let n;for(;n=t.match(qa);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Be(t.slice(2)),e]}let Ki=0;const Fd=Promise.resolve(),$d=()=>Ki||(Fd.then(()=>Ki=0),Ki=Date.now());function Id(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;qt(jd(n,s.value),e,5,[n])};return s.value=t,s.attached=$d(),s}function jd(t,e){if(H(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Ya=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Bd=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Ad(t,n,r):e==="style"?Md(t,s,n):ln(e)?Qn(e)||Rd(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Nd(t,e,n,r))?(Ga(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Wa(t,e,n,r,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ut(n))?Ga(t,Nt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Wa(t,e,n,r))};function Nd(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Ya(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||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 Ya(e)&&ut(s)?!1:e in t}const kd=yt({patchProp:Bd},vd);let Xa;function Ud(){return Xa||(Xa=kh(kd))}const Za=(...t)=>{const e=Ud().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Kd(n);if(!i)return;const o=e._component;!W(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,Hd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function Hd(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Kd(t){return ut(t)?document.querySelector(t):t}const Wd={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Gd={class:"slds-grid slds-grid_align-spread slds-wrap"},zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},qd={key:0,class:"slds-text-color_weak"},Yd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Xd={class:"slds-text-color_weak"},Zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jd={class:"slds-text-color_weak"},Qd={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(F(),k("footer",Wd,[g("div",Gd,[g("div",zd,[t.description?(F(),k("span",qd,Z(t.description),1)):Ht("",!0)]),g("div",Yd,[g("span",Xd,Z(t.schemaCount)+" schema"+Z(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",Zd,[g("span",Jd," Generated at: "+Z(e(t.generatedAt)),1)])])]))}},Ja="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='100'%20width='100'%20viewBox='0%200%201000%201000'%20fill='%23fff'%3e%3cpath%20d='M738%20200H262c-34%200-62%2028-62%2062v476c0%2034%2028%2062%2062%2062h476c34%200%2062-28%2062-62V262c0-34-28-62-62-62zm-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21zm434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021zM467%20633l-66-66%2066-66c4-4%204-10%200-14l-28-28c-4-4-10-4-14%200l-73%2073-15%2015-13%2013c-2%202-3%205-3%207%200%203%201%205%203%207l102%20102c4%204%2010%204%2014%200l28-28c3-5%203-11-1-15zm210-74-13-13-15-15-73-73c-4-4-10-4-14%200l-28%2028c-4%204-4%2010%200%2014l66%2066-66%2066c-4%204-4%2010%200%2014l28%2028c4%204%2010%204%2014%200l102-102c2-2%203-5%203-7z'/%3e%3c/svg%3e",tp={class:"slds-page-header"},ep={class:"slds-page-header__row"},sp={class:"slds-page-header__col-title"},np={class:"slds-media"},ip={class:"slds-media__body"},op={class:"slds-page-header__name"},rp={class:"slds-page-header__name-title"},ap=["title"],lp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(F(),k("header",tp,[g("div",ep,[g("div",sp,[g("div",np,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:Ja,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",ip,[g("div",op,[g("div",rp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},Z(t.title),9,ap)])])])])])])]))}},Qa=t=>e=>typeof e=="string"&&e.startsWith(t),Wi=Qa("--"),cp=Qa("var(--"),Gi=t=>cp(t)?up.test(t.split("/*")[0].trim()):!1,up=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ns={};function tl(t){for(const e in t)Ns[e]=t[e],Wi(e)&&(Ns[e].isCSSVariable=!0)}function ks(t,e){const s=typeof t=="string"?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Ds(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Vi(n,r),r)]}const[fp,hp]=ks("Motion"),[dp,x_]=ks("LayoutGroup");function el(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}class ve{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(){}beforeUnmount(){}}function Us(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Us(i,e,s);return o?{...n,...o}:n},{});if(typeof t=="object")return t;if(t&&e){const n=e[t];return typeof n=="function"?n(s):n}}function pp(t,e){return typeof t!=typeof e?!0:Array.isArray(t)&&Array.isArray(e)?!mp(t,e):t!==e}function mp(t,e){const s=e.length;if(s!==t.length)return!1;for(let n=0;n<s;n++)if(e[n]!==t[n])return!1;return!0}function sl(t){return t==null?void 0:t.startsWith("--")}const gp=t=>t;function yp(t){return typeof t=="number"}const vp=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],bp=new Set(vp);function nl(t){return bp.has(t)}function _p(t,e){const s=t.animate,n=e.animate;if(s===n)return!1;if(!s||!n)return!0;if(typeof s=="object"||typeof n=="object"){const i=Object.keys(s),o=Object.keys(n);return i.length!==o.length?!0:i.some(r=>{if(r==="transition")return!1;const a=s[r],l=n[r];return a!==l})}return s!==n}class xp{constructor(e){this.features=[];const{features:s=[],lazyMotionContext:n}=e.options,i=s.concat(n.features.value);this.features=i.map(r=>new r(e));const o=this.features;Dn(n.features,r=>{r.forEach(a=>{if(!i.includes(a)){i.push(a);const l=new a(e);o.push(l),e.isMounted()&&(l.beforeMount(),l.mount())}})},{flush:"pre"})}mount(){this.features.forEach(e=>e.mount())}beforeMount(){this.features.forEach(e=>{var s;return(s=e.beforeMount)==null?void 0:s.call(e)})}unmount(){this.features.forEach(e=>e.unmount())}update(){this.features.forEach(e=>{var s;return(s=e.update)==null?void 0:s.call(e)})}beforeUpdate(){this.features.forEach(e=>e.beforeUpdate())}beforeUnmount(){this.features.forEach(e=>e.beforeUnmount())}}const zi=new WeakMap,[Sp,S_]=ks("AnimatePresenceContext");function Tp(t){return typeof t=="string"||t===!1||Array.isArray(t)}const Dt=t=>t,jn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function wp(t,e){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,f=!1,h=!1)=>{const v=h&&i?s:n;return f&&r.add(c),v.has(c)||v.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[s,n]=[n,s],s.forEach(l),s.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const be={},Ap=40;function il(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=jn.reduce((E,P)=>(E[P]=wp(o),E),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:p,postRender:v}=r,b=()=>{const E=be.useManualTiming?i.timestamp:performance.now();s=!1,be.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(E-i.timestamp,Ap),1)),i.timestamp=E,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),p.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(b))},A=()=>{s=!0,n=!0,i.isProcessing||t(b)};return{schedule:jn.reduce((E,P)=>{const M=r[P];return E[P]=(U,z=!1,I=!1)=>(s||A(),M.schedule(U,z,I)),E},{}),cancel:E=>{for(let P=0;P<jn.length;P++)r[jn[P]].cancel(E)},state:i,steps:r}}const{schedule:lt,cancel:_e,state:Tt,steps:qi}=il(typeof requestAnimationFrame<"u"?requestAnimationFrame:Dt,!0),ol=new WeakMap;let Pp=0;const Yi=new Set;class Cp{constructor(e,s){var n;this.element=null,this.isSafeToRemove=!1,this.isVShow=!1,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=Dt,this.id=`motion-state-${Pp++}`,this.options=e,this.parent=s,(n=s==null?void 0:s.children)==null||n.add(this),this.depth=(s==null?void 0:s.depth)+1||0;const o=(e.initial===void 0&&e.variants?this.context.initial:e.initial)===!1?["initial","animate"]:["initial"];this.initTarget(o),this.featureManager=new xp(this),this.type=nl(this.options.as)?"svg":"html"}get context(){if(!this._context){const e={get:(s,n)=>{var i;return Tp(this.options[n])?this.options[n]:(i=this.parent)==null?void 0:i.context[n]}};this._context=new Proxy({},e)}return this._context}initTarget(e){this.baseTarget=e.reduce((s,n)=>({...s,...Us(this.options[n]||this.context[n],this.options.variants)}),{}),this.target={}}updateOptions(e){var s;this.options=e,(s=this.visualElement)==null||s.update({...this.options,whileTap:this.options.whilePress,reducedMotionConfig:this.options.motionConfig.reduceMotion},{isPresent:!zi.has(this.element)})}beforeMount(){this.featureManager.beforeMount()}mount(e,s,n=!1){var i;this.element=e,this.updateOptions(s),this.featureManager.mount(),!n&&this.options.animate&&((i=this.startAnimation)==null||i.call(this)),this.options.layoutId&&(Yi.add(this.options.layoutId),lt.render(()=>{Yi.clear()}))}clearAnimation(){var e,s;this.currentProcess&&_e(this.currentProcess),this.currentProcess=null,(s=(e=this.visualElement)==null?void 0:e.variantChildren)==null||s.forEach(n=>{n.state.clearAnimation()})}startAnimation(){this.clearAnimation(),this.currentProcess=lt.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(e=!1){const s=this.options.layoutId&&!Yi.has(this.options.layoutId);(()=>{const i=()=>{var o,r,a;e&&Array.from(this.children).reverse().forEach(this.unmountChild),(r=(o=this.parent)==null?void 0:o.children)==null||r.delete(this),ol.delete(this.element),this.featureManager.unmount(),(a=this.visualElement)==null||a.unmount(),this.clearAnimation()};s?Promise.resolve().then(i):i()})()}unmountChild(e){e.unmount(!0)}beforeUpdate(){this.featureManager.beforeUpdate()}update(e){const s=_p(this.options,e);this.updateOptions(e),this.featureManager.update(),s&&this.startAnimation()}setActive(e,s,n=!0){var i;!this.element||this.activeStates[e]===s||(this.activeStates[e]=s,(i=this.visualElement.variantChildren)==null||i.forEach(o=>{o.state.setActive(e,s,!1)}),n&&this.animateUpdates({isFallback:!s&&e!=="exit"&&this.visualElement.isControllingVariants,isExit:e==="exit"&&this.activeStates.exit}))}isMounted(){return!!this.element}willUpdate(e){var s;(this.options.layout||this.options.layoutId)&&((s=this.visualElement.projection)==null||s.willUpdate())}}const ze=new WeakMap;function rl(t,e,s){return new CustomEvent(t,{detail:{target:e,isExit:s}})}const al={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>`${t}deg`},Ep={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>`${t}px`},rotate:al,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:gp},skew:al},Mp=["translate","scale","rotate","skew"],Vp=["","X","Y","Z"],Xi=new Map,Bn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];Mp.forEach(t=>{Vp.forEach(e=>{Bn.push(t+e),Xi.set(t+e,Ep[t])})});const Dp=new Set(Bn),Op=t=>Dp.has(t),ll={x:"translateX",y:"translateY",z:"translateZ"};function Rp([t],[e]){return Bn.indexOf(t)-Bn.indexOf(e)}function Lp(t,[e,s]){return`${t} ${e}(${s})`}function Fp(t){return t.sort(Rp).reduce(Lp,"").trim()}const cl={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0},Hs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Le=Hs("deg"),ee=Hs("%"),N=Hs("px"),$p=Hs("vh"),Ip=Hs("vw"),ul={...ee,parse:t=>ee.parse(t)/100,transform:t=>ee.transform(t*100)},pt=t=>!!(t&&t.getVelocity),jp={get:(t,e)=>{let s=sl(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!s&&s!=="0"){const n=Xi.get(e);n&&(s=n.initialValue)}return s},set:(t,e,s)=>{sl(e)?t.style.setProperty(e,s):t.style[e]=s}};function Bp(t){var e;const s={},n=[];for(let i in t){let o=t[i];o=pt(o)?o.get():o,Op(i)&&i in ll&&(i=ll[i]);let r=Array.isArray(o)?o[0]:o;const a=Xi.get(i);a?(r=yp(o)?(e=a.toDefaultUnit)==null?void 0:e.call(a,o):o,n.push([i,r])):s[i]=r}return n.length&&(s.transform=Fp(n)),Object.keys(s).length===0?null:s}const Np={fill:!0,stroke:!0,opacity:!0,"stroke-width":!0,"fill-opacity":!0,"stroke-opacity":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,cx:!0,cy:!0,r:!0,d:!0,x1:!0,y1:!0,x2:!0,y2:!0,points:!0,"path-length":!0,viewBox:!0,width:!0,height:!0,"preserve-aspect-ratio":!0,"clip-path":!0,filter:!0,mask:!0,"stop-color":!0,"stop-opacity":!0,"gradient-transform":!0,"gradient-units":!0,"spread-method":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,"text-anchor":!0,"dominant-baseline":!0,"font-family":!0,"font-size":!0,"font-weight":!0,"letter-spacing":!0,"vector-effect":!0};function kp(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Up(t,e,s=1,n=0){t.pathLength=1,delete t["path-length"],t["stroke-dashoffset"]=N.transform(-n);const i=N.transform(e),o=N.transform(s);t["stroke-dasharray"]=`${i} ${o}`}function Hp(t){const e={},s={};for(const n in t){const i=kp(n);if(i in Np){const o=t[n];e[i]=pt(o)?o.get():o}else s[n]=t[n]}return e["path-length"]!==void 0&&Up(e,e["path-length"],e["path-spacing"],e["path-offset"]),{attrs:e,style:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zi=t=>typeof t<"u";function Kp({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Wp(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function Gp(t,e){return Kp(Wp(t.getBoundingClientRect(),e))}const fl={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ji={};for(const t in fl)Ji[t]={isEnabled:e=>fl[t].some(s=>!!e[s])};const hl=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:hl(),y:hl()}),dl=()=>({min:0,max:0}),dt=()=>({x:dl(),y:dl()}),zp=typeof window<"u",Qi={current:null},pl={current:!1};function qp(){if(pl.current=!0,!!zp)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Qi.current=t.matches;t.addListener(e),e()}else Qi.current=!1}function Yp(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Xp(t){return typeof t=="string"||Array.isArray(t)}const Zp=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function ml(t){return Yp(t.animate)||Zp.some(e=>Xp(t[e]))}function Jp(t){return!!(ml(t)||t.variants)}let Nn;function Qp(){Nn=void 0}const Ot={now:()=>(Nn===void 0&&Ot.set(Tt.isProcessing||be.useManualTiming?Tt.timestamp:performance.now()),Nn),set:t=>{Nn=t,queueMicrotask(Qp)}};function to(t,e){t.indexOf(e)===-1&&t.push(e)}function kn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}class eo{constructor(){this.subscriptions=[]}add(e){return to(this.subscriptions,e),()=>kn(this.subscriptions,e)}notify(e,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function gl(t,e){return e?t*(1e3/e):0}const yl=30,tm=t=>!isNaN(parseFloat(t));class em{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{var o,r;const a=Ot.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty();i&&((r=this.events.renderRequest)==null||r.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Ot.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=tm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new eo);const n=this.events[e].add(s);return e==="change"?()=>{n(),lt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,s){this.passiveEffect=e,this.stopPassiveEffect=s}set(e,s=!0){!s||!this.passiveEffect?this.updateAndNotify(e,s):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Ot.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>yl)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,yl);return gl(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,s;(e=this.dependents)==null||e.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ds(t,e){return new em(t,e)}function sm(t,e,s){for(const n in e){const i=e[n],o=s[n];if(pt(i))t.addValue(n,i);else if(pt(o))t.addValue(n,ds(i,{owner:t}));else if(o!==i)if(t.hasValue(n)){const r=t.getValue(n);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(n);t.addValue(n,ds(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}function vl(t){const e=[{},{}];return t==null||t.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function bl(t,e,s,n){if(typeof e=="function"){const[i,o]=vl(n);e=e(s!==void 0?s:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=vl(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function nm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const qe=t=>t*180/Math.PI,so=t=>{const e=qe(Math.atan2(t[1],t[0]));return no(e)},im={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:so,rotateZ:so,skewX:t=>qe(Math.atan(t[1])),skewY:t=>qe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},no=t=>(t=t%360,t<0&&(t+=360),t),_l=so,xl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Sl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),om={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:xl,scaleY:Sl,scale:t=>(xl(t)+Sl(t))/2,rotateX:t=>no(qe(Math.atan2(t[6],t[5]))),rotateY:t=>no(qe(Math.atan2(-t[2],t[0]))),rotateZ:_l,rotate:_l,skewX:t=>qe(Math.atan(t[4])),skewY:t=>qe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function io(t){return t.includes("scale")?1:0}function oo(t,e){if(!t||t==="none")return io(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=om,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=im,i=a}if(!i)return io(e);const o=n[e],r=i[1].split(",").map(am);return typeof o=="function"?o(r):r[o]}const rm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return oo(s,e)};function am(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set(ps),xe=(t,e,s)=>s>e?e:s<t?t:s,gs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ks={...gs,transform:t=>xe(0,1,t)},Un={...gs,default:1},Tl=t=>t===gs||t===N,lm=new Set(["x","y","z"]),cm=ps.filter(t=>!lm.has(t));function um(t){const e=[];return cm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Ye={width:({x:t},{paddingLeft:e="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),height:({y:t},{paddingTop:e="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>oo(e,"x"),y:(t,{transform:e})=>oo(e,"y")};Ye.translateX=Ye.x,Ye.translateY=Ye.y;const Xe=new Set;let ro=!1,ao=!1,lo=!1;function wl(){if(ao){const t=Array.from(Xe).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=um(n);i.length&&(s.set(n,i),n.render())}),t.forEach(n=>n.measureInitialState()),e.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{var a;(a=n.getValue(o))==null||a.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}ao=!1,ro=!1,Xe.forEach(t=>t.complete(lo)),Xe.clear()}function Al(){Xe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ao=!0)})}function fm(){lo=!0,Al(),wl(),lo=!1}class co{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Xe.add(this),ro||(ro=!0,lt.read(Al),lt.resolveKeyframes(wl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i==null?void 0:i.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}nm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Xe.delete(this)}cancel(){this.state==="scheduled"&&(Xe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Pl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Cl=t=>/^0[^.\s]+$/u.test(t),Ws=t=>Math.round(t*1e5)/1e5,uo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hm(t){return t==null}const dm=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,fo=(t,e)=>s=>!!(typeof s=="string"&&dm.test(s)&&s.startsWith(t)||e&&!hm(s)&&Object.prototype.hasOwnProperty.call(s,e)),El=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(uo);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},pm=t=>xe(0,255,t),ho={...gs,transform:t=>Math.round(pm(t))},Ze={test:fo("rgb","red"),parse:El("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+ho.transform(t)+", "+ho.transform(e)+", "+ho.transform(s)+", "+Ws(Ks.transform(n))+")"};function mm(t){let e="",s="",n="",i="";return t.length>5?(e=t.substring(1,3),s=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),s=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,s+=s,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(s,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const po={test:fo("#"),parse:mm,transform:Ze.transform},ys={test:fo("hsl","hue"),parse:El("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ee.transform(Ws(e))+", "+ee.transform(Ws(s))+", "+Ws(Ks.transform(n))+")"},Pt={test:t=>Ze.test(t)||po.test(t)||ys.test(t),parse:t=>Ze.test(t)?Ze.parse(t):ys.test(t)?ys.parse(t):po.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ze.transform(t):ys.transform(t)},gm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ym(t){var e,s;return isNaN(t)&&typeof t=="string"&&(((e=t.match(uo))==null?void 0:e.length)||0)+(((s=t.match(gm))==null?void 0:s.length)||0)>0}const Ml="number",Vl="color",vm="var",bm="var(",Dl="${}",_m=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gs(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(_m,l=>(Pt.test(l)?(n.color.push(o),i.push(Vl),s.push(Pt.parse(l))):l.startsWith(bm)?(n.var.push(o),i.push(vm),s.push(l)):(n.number.push(o),i.push(Ml),s.push(parseFloat(l))),++o,Dl)).split(Dl);return{values:s,split:a,indexes:n,types:i}}function Ol(t){return Gs(t).values}function Rl(t){const{split:e,types:s}=Gs(t),n=e.length;return i=>{let o="";for(let r=0;r<n;r++)if(o+=e[r],i[r]!==void 0){const a=s[r];a===Ml?o+=Ws(i[r]):a===Vl?o+=Pt.transform(i[r]):o+=i[r]}return o}}const xm=t=>typeof t=="number"?0:t;function Sm(t){const e=Ol(t);return Rl(t)(e.map(xm))}const Fe={test:ym,parse:Ol,createTransformer:Rl,getAnimatableNone:Sm},Tm={test:t=>t==="auto",parse:t=>t},Ll=t=>e=>e.test(t),Fl=[gs,N,ee,Le,Ip,$p,Tm],$l=t=>Fl.find(Ll(t)),wm=[...Fl,Pt,Fe],Am=t=>wm.find(Ll(t)),Pm=new Set(["brightness","contrast","saturate","opacity"]);function Cm(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(uo)||[];if(!n)return t;const i=s.replace(n,"");let o=Pm.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const Em=/\b([a-z-]*)\(.*?\)/gu,mo={...Fe,getAnimatableNone:t=>{const e=t.match(Em);return e?e.map(Cm).join(" "):t}},Il={...gs,transform:Math.round},go={borderWidth:N,borderTopWidth:N,borderRightWidth:N,borderBottomWidth:N,borderLeftWidth:N,borderRadius:N,radius:N,borderTopLeftRadius:N,borderTopRightRadius:N,borderBottomRightRadius:N,borderBottomLeftRadius:N,width:N,maxWidth:N,height:N,maxHeight:N,top:N,right:N,bottom:N,left:N,padding:N,paddingTop:N,paddingRight:N,paddingBottom:N,paddingLeft:N,margin:N,marginTop:N,marginRight:N,marginBottom:N,marginLeft:N,backgroundPositionX:N,backgroundPositionY:N,...{rotate:Le,rotateX:Le,rotateY:Le,rotateZ:Le,scale:Un,scaleX:Un,scaleY:Un,scaleZ:Un,skew:Le,skewX:Le,skewY:Le,distance:N,translateX:N,translateY:N,translateZ:N,x:N,y:N,z:N,perspective:N,transformPerspective:N,opacity:Ks,originX:ul,originY:ul,originZ:N},zIndex:Il,fillOpacity:Ks,strokeOpacity:Ks,numOctaves:Il},Mm={...go,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:mo,WebkitFilter:mo},jl=t=>Mm[t];function Bl(t,e){let s=jl(t);return s!==mo&&(s=Fe),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const Nl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class kl{scrapeMotionValuesFromProps(e,s,n){return{}}constructor({parent:e,props:s,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=co,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ot.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,lt.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=s.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=ml(s),this.isVariantNode=Jp(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(s,{},this);for(const h in f){const p=f[h];l[h]!==void 0&&pt(p)&&p.set(l[h],!1)}}mount(e){this.current=e,ze.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,n)=>this.bindToMotionValue(n,s)),pl.current||qp(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qi.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),_e(this.notifyUpdate),_e(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const s=this.features[e];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(e,s){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&lt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=s.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o(),r&&r(),s.owner&&s.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ji){const s=Ji[e];if(!s)continue;const{isEnabled:n,Feature:i}=s;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):dt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,s){this.latestValues[e]=s}update(e,s){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let n=0;n<Nl.length;n++){const i=Nl[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=sm(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=ds(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(Pl(n)||Cl(n))?n=parseFloat(n):!Am(n)&&Fe.test(s)&&(n=Bl(e,s)),this.setBaseTarget(e,pt(n)?n.get():n)),pt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){var s;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const r=bl(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);r&&(i=r[e])}if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!pt(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new eo),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}}const Ul=new Set(["width","height","top","left","right","bottom",...ps]);let yo=()=>{};const Vm=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dm(t){const e=Vm.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Hl(t,e,s=1){const[n,i]=Dm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return Pl(r)?parseFloat(r):r}return Gi(i)?Hl(i,e,s+1):i}function Om(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Cl(t):!0}const Rm=new Set(["auto","none","0"]);function Lm(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!Rm.has(o)&&Gs(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=Bl(s,i)}class Fm extends co{constructor(e,s,n,i,o){super(e,s,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:s,name:n}=this;if(!s||!s.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="string"&&(u=u.trim(),Gi(u))){const c=Hl(u,s.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Ul.has(n)||e.length!==2)return;const[i,o]=e,r=$l(i),a=$l(o);if(r!==a)if(Tl(r)&&Tl(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else Ye[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||Om(e[i]))&&n.push(i);n.length&&Lm(e,n,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ye[n](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:s,name:n,unresolvedKeyframes:i}=this;if(!s||!s.current)return;const o=s.getValue(n);o&&o.jump(this.measuredOrigin,!1);const r=i.length-1,a=i[r];i[r]=Ye[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(e=this.removedTransforms)!=null&&e.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class Kl extends kl{constructor(){super(...arguments),this.KeyframeResolver=Fm}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){return e.style?e.style[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;pt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}const Wl=(t,e)=>e&&typeof t=="number"?e.transform(t):t,$m={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Im=ps.length;function jm(t,e,s){let n="",i=!0;for(let o=0;o<Im;o++){const r=ps[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(r.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||s){const u=Wl(a,go[r]);if(!l){i=!1;const c=$m[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Gl(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ms.has(l)){r=!0;continue}else if(Wi(l)){i[l]=u;continue}else{const c=Wl(u,go[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=jm(e,t.transform,s):n.transform&&(n.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;n.transformOrigin=`${l} ${u} ${c}`}}function zl(t,{style:e,vars:s},n,i){Object.assign(t.style,e,i&&i.getProjectionStyles(n));for(const o in s)t.style.setProperty(o,s[o])}function Bm(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Ns[t]||t==="opacity")}function ql(t,e,s){var n;const{style:i}=t,o={};for(const r in i)(pt(i[r])||e.style&&pt(e.style[r])||Bm(r,t)||((n=s==null?void 0:s.getValue(r))==null?void 0:n.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function Nm(t){return window.getComputedStyle(t)}class Yl extends Kl{constructor(){super(...arguments),this.type="html",this.renderInstance=zl}readValueFromInstance(e,s){var n;if(ms.has(s))return(n=this.projection)!=null&&n.isProjecting?io(s):rm(e,s);{const i=Nm(e),o=(Wi(s)?i.getPropertyValue(s):i[s])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Gp(e,s)}build(e,s,n){Gl(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return ql(e,s,n)}}const vo=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),km={offset:"stroke-dashoffset",array:"stroke-dasharray"},Um={offset:"strokeDashoffset",array:"strokeDasharray"};function Hm(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?km:Um;t[o.offset]=N.transform(-n);const r=N.transform(e),a=N.transform(s);t[o.array]=`${r} ${a}`}function Km(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Gl(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h}=t;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&Hm(f,i,o,r,!1)}const Xl=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Wm=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Gm(t,e,s,n){zl(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(Xl.has(i)?i:vo(i),e.attrs[i])}function zm(t,e,s){const n=ql(t,e,s);for(const i in t)if(pt(t[i])||pt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Zl extends Kl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=jl(s);return n&&n.default||0}return s=Xl.has(s)?s:vo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return zm(e,s,n)}build(e,s,n){Km(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Gm(e,s,n,i)}mount(e){this.isSVGTag=Wm(e.tagName),super.mount(e)}}function qm(t,e){return nl(t)?new Zl(e):new Yl(e)}function bo(t){return typeof t=="object"&&!Array.isArray(t)}function _o(t,e,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=(s==null?void 0:s[t])??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}function Jl(t,e,s,n){return typeof t=="string"&&bo(e)?_o(t,s,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function Ym(t,e,s){return t*(e+1)}function Ql(t,e,s,n){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?s:n.get(e)??t}const ct=(t,e,s)=>t+(e-t)*s,Xm=(t,e,s)=>{const n=e-t;return((s-t)%n+n)%n+t},tc=t=>Array.isArray(t)&&typeof t[0]!="number";function ec(t,e){return tc(t)?t[Xm(0,t.length,e)]:t}function Zm(t,e,s){for(let n=0;n<t.length;n++){const i=t[n];i.at>e&&i.at<s&&(kn(t,i),n--)}}function Jm(t,e,s,n,i,o){Zm(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:ct(i,o,n[r]),easing:ec(s,r)})}function Qm(t,e){for(let s=0;s<t.length;s++)t[s]=t[s]/(e+1)}function tg(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const vs=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};function sc(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=vs(0,e,n);t.push(ct(s,1,i))}}function nc(t){const e=[0];return sc(e,t.length-1),e}const Hn=2e4;function xo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Hn;)e+=s,n=t.next(e);return e>=Hn?1/0:e}const Yt=t=>t*1e3,se=t=>t/1e3;function ic(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(xo(n),Hn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:se(i)}}function So(t){return typeof t=="function"&&"applyToOptions"in t}const eg="easeInOut";function sg(t,{defaultTransition:e={},...s}={},n,i){const o=e.duration||.3,r=new Map,a=new Map,l={},u=new Map;let c=0,f=0,h=0;for(let p=0;p<t.length;p++){const v=t[p];if(typeof v=="string"){u.set(v,f);continue}else if(!Array.isArray(v)){u.set(v.name,Ql(f,v.at,c,u));continue}let[b,A,S={}]=v;S.at!==void 0&&(f=Ql(f,S.at,c,u));let O=0;const E=(P,M,U,z=0,I=0)=>{const L=ng(P),{delay:G=0,times:Y=nc(L),type:$="keyframes",repeat:st,repeatType:wt,repeatDelay:ie=0,...mt}=M;let{ease:Q=e.ease||"easeOut",duration:q}=M;const oe=typeof G=="function"?G(z,I):G,ts=L.length,re=So($)?$:i==null?void 0:i[$];if(ts<=2&&re){let es=100;if(ts===2&&rg(L)){const we=L[1]-L[0];es=Math.abs(we)}const ae={...mt};q!==void 0&&(ae.duration=Yt(q));const Te=ic(ae,es,re);Q=Te.ease,q=Te.duration}q??(q=o);const It=f+oe;Y.length===1&&Y[0]===0&&(Y[1]=1);const on=Y.length-L.length;if(on>0&&sc(Y,on),L.length===1&&L.unshift(null),st){q=Ym(q,st);const es=[...L],ae=[...Y];Q=Array.isArray(Q)?[...Q]:[Q];const Te=[...Q];for(let we=0;we<st;we++){L.push(...es);for(let $e=0;$e<es.length;$e++)Y.push(ae[$e]+(we+1)),Q.push($e===0?"linear":ec(Te,$e-1))}Qm(Y,st)}const Jn=It+q;Jm(U,L,Q,Y,It,Jn),O=Math.max(oe+q,O),h=Math.max(Jn,h)};if(pt(b)){const P=oc(b,a);E(A,S,rc("default",P))}else{const P=Jl(b,A,n,l),M=P.length;for(let U=0;U<M;U++){A=A,S=S;const z=P[U],I=oc(z,a);for(const L in A)E(A[L],ig(S,L),rc(L,I),U,M)}}c=f,f+=O}return a.forEach((p,v)=>{for(const b in p){const A=p[b];A.sort(tg);const S=[],O=[],E=[];for(let M=0;M<A.length;M++){const{at:U,value:z,easing:I}=A[M];S.push(z),O.push(vs(0,h,U)),E.push(I||"easeOut")}O[0]!==0&&(O.unshift(0),S.unshift(S[0]),E.unshift(eg)),O[O.length-1]!==1&&(O.push(1),S.push(null)),r.has(v)||r.set(v,{keyframes:{},transition:{}});const P=r.get(v);P.keyframes[b]=S,P.transition[b]={...e,duration:h,ease:E,times:O,...s}}}),r}function oc(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function rc(t,e){return e[t]||(e[t]=[]),e[t]}function ng(t){return Array.isArray(t)?t:[t]}function ig(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const og=t=>typeof t=="number",rg=t=>t.every(og),ag=t=>Array.isArray(t);function lg(t,e,s){const n=t.getProps();return bl(n,e,n.custom,t)}function cg(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ds(s))}function ug(t){return ag(t)?t[t.length-1]||0:t}function fg(t,e){const s=lg(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=ug(o[r]);cg(t,r,a)}}function hg(t){return!!(pt(t)&&t.add)}function dg(t,e){const s=t.getValue("willChange");if(hg(s))return s.add(e);if(!s&&be.WillChange){const n=new be.WillChange("auto");t.addValue("willChange",n),n.add(e)}}const pg="data-"+vo("framerAppearId");function ac(t){return t.props[pg]}const mg=t=>t!==null;function gg(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(mg),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}const yg={type:"spring",stiffness:500,damping:25,restSpeed:10},vg=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),bg={type:"keyframes",duration:.8},_g={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xg=(t,{keyframes:e})=>e.length>2?bg:ms.has(t)?t.startsWith("scale")?vg(e[1]):yg:_g;function Sg({when:t,delay:e,delayChildren:s,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function To(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}function wo(t,e,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s<2/3?t+(e-t)*(2/3-s)*6:t}function Tg({hue:t,saturation:e,lightness:s,alpha:n}){t/=360,e/=100,s/=100;let i=0,o=0,r=0;if(!e)i=o=r=s;else{const a=s<.5?s*(1+e):s+e-s*e,l=2*s-a;i=wo(l,a,t+1/3),o=wo(l,a,t),r=wo(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Kn(t,e){return s=>s>0?e:t}const Ao=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},wg=[po,Ze,ys],Ag=t=>wg.find(e=>e.test(t));function lc(t){const e=Ag(t);if(!e)return!1;let s=e.parse(t);return e===ys&&(s=Tg(s)),s}const cc=(t,e)=>{const s=lc(t),n=lc(e);if(!s||!n)return Kn(t,e);const i={...s};return o=>(i.red=Ao(s.red,n.red,o),i.green=Ao(s.green,n.green,o),i.blue=Ao(s.blue,n.blue,o),i.alpha=ct(s.alpha,n.alpha,o),Ze.transform(i))},Po=new Set(["none","hidden"]);function Pg(t,e){return Po.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}const Cg=(t,e)=>s=>e(t(s)),zs=(...t)=>t.reduce(Cg);function Eg(t,e){return s=>ct(t,e,s)}function Co(t){return typeof t=="number"?Eg:typeof t=="string"?Gi(t)?Kn:Pt.test(t)?cc:Dg:Array.isArray(t)?uc:typeof t=="object"?Pt.test(t)?cc:Mg:Kn}function uc(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>Co(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Mg(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=Co(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Vg(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const Dg=(t,e)=>{const s=Fe.createTransformer(e),n=Gs(t),i=Gs(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?Po.has(t)&&!i.values.length||Po.has(e)&&!n.values.length?Pg(t,e):zs(uc(Vg(n,i),i.values),s):Kn(t,e)};function fc(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ct(t,e,s):Co(t)(t,e)}const Og=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>lt.update(e,s),stop:()=>_e(e),now:()=>Tt.isProcessing?Tt.timestamp:Ot.now()}},hc=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=t(o/(i-1))+", ";return`linear(${n.substring(0,n.length-2)})`},Rg=5;function dc(t,e,s){const n=Math.max(e-Rg,0);return gl(s-t(n),e-n)}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},pc=.001;function Lg({duration:t=ht.duration,bounce:e=ht.bounce,velocity:s=ht.velocity,mass:n=ht.mass}){let i,o,r=1-e;r=xe(ht.minDamping,ht.maxDamping,r),t=xe(ht.minDuration,ht.maxDuration,se(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,p=Eo(u,r),v=Math.exp(-f);return pc-h/p*v},o=u=>{const f=u*r*t,h=f*s+s,p=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),b=Eo(Math.pow(u,2),r);return(-i(u)+pc>0?-1:1)*((h-p)*v)/b}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-.001+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=$g(i,o,a);if(t=Yt(t),isNaN(l))return{stiffness:ht.stiffness,damping:ht.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Fg=12;function $g(t,e,s){let n=s;for(let i=1;i<Fg;i++)n=n-t(n)/e(n);return n}function Eo(t,e){return t*Math.sqrt(1-e*e)}const Ig=["duration","bounce"],jg=["stiffness","damping","mass"];function mc(t,e){return e.some(s=>t[s]!==void 0)}function Bg(t){let e={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...t};if(!mc(t,jg)&&mc(t,Ig))if(t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*xe(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ht.mass,stiffness:i,damping:o}}else{const s=Lg(t);e={...e,...s,mass:ht.mass},e.isResolvedFromDuration=!0}return e}function qs(t=ht.visualDuration,e=ht.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:h,isResolvedFromDuration:p}=Bg({...s,velocity:-se(s.velocity||0)}),v=h||0,b=u/(2*Math.sqrt(l*c)),A=r-o,S=se(Math.sqrt(l/c)),O=Math.abs(A)<5;n||(n=O?ht.restSpeed.granular:ht.restSpeed.default),i||(i=O?ht.restDelta.granular:ht.restDelta.default);let E;if(b<1){const M=Eo(S,b);E=U=>{const z=Math.exp(-b*S*U);return r-z*((v+b*S*A)/M*Math.sin(M*U)+A*Math.cos(M*U))}}else if(b===1)E=M=>r-Math.exp(-S*M)*(A+(v+S*A)*M);else{const M=S*Math.sqrt(b*b-1);E=U=>{const z=Math.exp(-b*S*U),I=Math.min(M*U,300);return r-z*((v+b*S*A)*Math.sinh(I)+M*A*Math.cosh(I))/M}}const P={calculatedDuration:p&&f||null,next:M=>{const U=E(M);if(p)a.done=M>=f;else{let z=M===0?v:0;b<1&&(z=M===0?Yt(v):dc(E,M,U));const I=Math.abs(z)<=n,L=Math.abs(r-U)<=i;a.done=I&&L}return a.value=a.done?r:U,a},toString:()=>{const M=Math.min(xo(P),Hn),U=hc(z=>P.next(M*z).value,M,30);return M+"ms "+U},toTransition:()=>{}};return P}qs.applyToOptions=t=>{const e=ic(t,100,qs);return t.ease=e.ease,t.duration=Yt(e.duration),t.type="keyframes",t};function Mo({keyframes:t,velocity:e=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=t[0],h={done:!1,value:f},p=I=>a!==void 0&&I<a||l!==void 0&&I>l,v=I=>a===void 0?l:l===void 0||Math.abs(a-I)<Math.abs(l-I)?a:l;let b=s*e;const A=f+b,S=r===void 0?A:r(A);S!==A&&(b=S-f);const O=I=>-b*Math.exp(-I/n),E=I=>S+O(I),P=I=>{const L=O(I),G=E(I);h.done=Math.abs(L)<=u,h.value=h.done?S:G};let M,U;const z=I=>{p(h.value)&&(M=I,U=qs({keyframes:[h.value,v(h.value)],velocity:dc(E,I,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:I=>{let L=!1;return!U&&M===void 0&&(L=!0,P(I),z(I)),M!==void 0&&I>=M?U.next(I-M):(!L&&P(I),h)}}}function Ng(t,e,s){const n=[],i=s||be.mix||fc,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||Dt:e;a=zs(l,a)}n.push(a)}return n}function kg(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(yo(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Ng(e,n,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const h=vs(t[f],t[f+1],c);return a[f](h)};return s?c=>u(xe(t[0],t[o-1],c)):u}function Ug(t,e){return t.map(s=>s*e)}const gc=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,Hg=1e-7,Kg=12;function Wg(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=gc(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>Hg&&++a<Kg);return r}function Ys(t,e,s,n){if(t===e&&s===n)return Dt;const i=o=>Wg(o,0,1,t,s);return o=>o===0||o===1?o:gc(i(o),e,n)}const Gg=Ys(.42,0,1,1),zg=Ys(0,0,.58,1),yc=Ys(.42,0,.58,1),vc=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,bc=t=>e=>1-t(1-e),_c=Ys(.33,1.53,.69,.99),Vo=bc(_c),xc=vc(Vo),Sc=t=>(t*=2)<1?.5*Vo(t):.5*(2-Math.pow(2,-10*(t-1))),Do=t=>1-Math.sin(Math.acos(t)),Tc=bc(Do),wc=vc(Do),Ac=t=>Array.isArray(t)&&typeof t[0]=="number",qg={linear:Dt,easeIn:Gg,easeInOut:yc,easeOut:zg,circIn:Do,circInOut:wc,circOut:Tc,backIn:Vo,backInOut:xc,backOut:_c,anticipate:Sc},Yg=t=>typeof t=="string",Pc=t=>{if(Ac(t)){yo(t.length===4);const[e,s,n,i]=t;return Ys(e,s,n,i)}else if(Yg(t))return qg[t];return t};function Xg(t,e){return t.map(()=>e||yc).splice(0,t.length-1)}function Xs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=tc(n)?n.map(Pc):Pc(n),o={done:!1,value:e[0]},r=Ug(s&&s.length===e.length?s:nc(e),t),a=kg(r,e,{ease:Array.isArray(i)?i:Xg(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const Zg=t=>t!==null;function Oo(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(Zg),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const Jg={decay:Mo,inertia:Mo,tween:Xs,keyframes:Xs,spring:qs};function Cc(t){typeof t.type=="string"&&(t.type=Jg[t.type])}class Ro{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const Qg=t=>t/100;class Lo extends Ro{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,n;const{motionValue:i}=this.options;i&&i.updatedAt!==Ot.now()&&this.tick(Ot.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(n=(s=this.options).onStop)==null||n.call(s))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Cc(e);const{type:s=Xs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Xs;l!==Xs&&typeof a[0]!="number"&&(this.mixKeyframes=zs(Qg,fc(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=xo(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:p,type:v,onUpdate:b,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const S=this.currentTime-u*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?S<0:S>i;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,P=n;if(f){const I=Math.min(this.currentTime,i)/a;let L=Math.floor(I),G=I%1;!G&&I>=1&&(G=1),G===1&&L--,L=Math.min(L,f+1),!!(L%2)&&(h==="reverse"?(G=1-G,p&&(G-=p/a)):h==="mirror"&&(P=r)),E=xe(0,1,G)*a}const M=O?{done:!1,value:c[0]}:P.next(E);o&&(M.value=o(M.value));let{done:U}=M;!O&&l!==null&&(U=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return z&&v!==Mo&&(M.value=Oo(c,this.options,A,this.speed)),b&&b(M.value),z&&this.finish(),M}then(e,s){return this.finished.then(e,s)}get duration(){return se(this.calculatedDuration)}get time(){return se(this.currentTime)}set time(e){var s;e=Yt(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(s=this.driver)==null||s.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Ot.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=se(this.currentTime))}play(){var e,s;if(this.isStopped)return;const{driver:n=Og,startTime:i}=this.options;this.driver||(this.driver=n(r=>this.tick(r))),(s=(e=this.options).onPlay)==null||s.call(e);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ot.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(e=this.options).onComplete)==null||s.call(e)}cancel(){var e,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(e=this.options).onCancel)==null||s.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),e.observe(this)}}const ty=t=>t.startsWith("--");function ey(t,e,s){ty(e)?t.style.setProperty(e,s):t.style[e]=s}function Fo(t){let e;return()=>(e===void 0&&(e=t()),e)}const sy=Fo(()=>window.ScrollTimeline!==void 0),ny={};function iy(t,e){const s=Fo(t);return()=>ny[e]??s()}const Ec=iy(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Mc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function Vc(t,e){if(t)return typeof t=="function"?Ec()?hc(t,e):"ease-out":Ac(t)?Zs(t):Array.isArray(t)?t.map(s=>Vc(s,e)||Mc.easeOut):Mc[t]}function oy(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=Vc(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),t.animate(c,h)}function ry({type:t,...e}){return So(t)&&Ec()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ay extends Ro{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,yo(typeof e.type!="string");const u=ry(e);this.animation=oy(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Oo(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):ey(s,n,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,s;(s=(e=this.animation).finish)==null||s.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,s;this.isPseudoElement||(s=(e=this.animation).commitStyles)==null||s.call(e)}get duration(){var e,s;const n=((s=(e=this.animation.effect)==null?void 0:e.getComputedTiming)==null?void 0:s.call(e).duration)||0;return se(Number(n))}get time(){return se(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Yt(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&sy()?(this.animation.timeline=e,Dt):s(this)}}const Dc={anticipate:Sc,backInOut:xc,circInOut:wc};function ly(t){return t in Dc}function cy(t){typeof t.ease=="string"&&ly(t.ease)&&(t.ease=Dc[t.ease])}const Oc=10;class uy extends ay{constructor(e){cy(e),Cc(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new Lo({...r,autoplay:!1}),l=Yt(this.finishedTime??this.time);s.setWithVelocity(a.sample(l-Oc).value,a.sample(l).value,Oc),a.stop()}}const Rc=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Fe.test(t)||t==="0")&&!t.startsWith("url("));function fy(t){const e=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==e)return!0}function hy(t,e,s,n){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Rc(i,e),a=Rc(o,e);return!r||!a?!1:fy(t)||(s==="spring"||So(s))&&n}function Lc(t){return typeof t=="object"&&t!==null}function Fc(t){return Lc(t)&&"offsetHeight"in t}const dy=new Set(["opacity","clipPath","filter","transform"]),py=Fo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function my(t){var e;const{motionValue:s,name:n,repeatDelay:i,repeatType:o,damping:r,type:a}=t;if(!Fc((e=s==null?void 0:s.owner)==null?void 0:e.current))return!1;const{onUpdate:l,transformTemplate:u}=s.owner.getProps();return py()&&n&&dy.has(n)&&(n!=="transform"||!u)&&!l&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}const gy=40;class yy extends Ro{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var h;super(),this.stop=()=>{var b,A;this._animation&&(this._animation.stop(),(b=this.stopTimeline)==null||b.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Ot.now();const p={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},v=(c==null?void 0:c.KeyframeResolver)||co;this.keyframeResolver=new v(a,(b,A,S)=>this.onKeyframesResolved(b,A,p,!S),l,u,c),(h=this.keyframeResolver)==null||h.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Ot.now(),hy(e,o,r,a)||((be.instantAnimations||!l)&&(c==null||c(Oo(e,n,s))),e[0]=e[e.length-1],n.duration=0,n.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>gy?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},p=!u&&my(h)?new uy({...h,element:h.motionValue.owner.current}):new Lo(h);p.finished.then(()=>this.notifyFinished()).catch(Dt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),fm()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const $o=(t,e,s,n={},i,o)=>r=>{const a=To(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-Yt(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Sg(a)||Object.assign(c,xg(t,c)),c.duration&&(c.duration=Yt(c.duration)),c.repeatDelay&&(c.repeatDelay=Yt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),(be.instantAnimations||be.skipAnimations)&&(f=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=gg(c.keyframes,a);if(h!==void 0){lt.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new Lo(c):new yy(c)};function vy({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function by(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:r,...a}=e;n&&(o=n);const l=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const c in a){const f=t.getValue(c,t.latestValues[c]??null),h=a[c];if(h===void 0||u&&vy(u,c))continue;const p={delay:s,...To(o||{},c)},v=f.get();if(v!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===v&&!p.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const S=ac(t);if(S){const O=window.MotionHandoffAnimation(S,c,lt);O!==null&&(p.startTime=O,b=!0)}}dg(t,c),f.start($o(c,f,h,t.shouldReduceMotion&&Ul.has(c)?{type:!1}:p,t,b));const A=f.animation;A&&l.push(A)}return r&&Promise.all(l).then(()=>{lt.update(()=>{r&&fg(t,r)})}),l}function _y(t,e){return t in e}class xy extends kl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(_y(s,e)){const n=e[s];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,s){delete s.output[e]}measureInstanceViewportBox(){return dt()}build(e,s){Object.assign(e.output,s)}renderInstance(e,{output:s}){Object.assign(e,s)}sortInstanceNodePosition(){return 0}}function Io(t){return Lc(t)&&"ownerSVGElement"in t}function $c(t){return Io(t)&&t.tagName==="svg"}function Sy(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Io(t)&&!$c(t)?new Zl(e):new Yl(e);s.mount(t),ze.set(t,s)}function Ty(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new xy(e);s.mount(t),ze.set(t,s)}function Ic(t,e,s){const n=pt(t)?t:ds(t);return n.start($o("",n,e,s)),n.animation}function wy(t,e){return pt(t)||typeof t=="number"||typeof t=="string"&&!bo(e)}function jc(t,e,s,n){const i=[];if(wy(t,e))i.push(Ic(t,bo(e)&&e.default||e,s&&(s.default||s)));else{const o=Jl(t,e,n),r=o.length;for(let a=0;a<r;a++){const l=o[a],u=l instanceof Element?Sy:Ty;ze.has(l)||u(l);const c=ze.get(l),f={...s};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,r)),i.push(...by(c,{...e,transition:f},{}))}}return i}function Ay(t,e,s){const n=[];return sg(t,e,s,{spring:qs}).forEach(({keyframes:o,transition:r},a)=>{n.push(...jc(a,o,r))}),n}class Py{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,s){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=s}attachTimeline(e){const s=this.animations.map(n=>n.attachTimeline(e));return()=>{s.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let s=0;s<this.animations.length;s++)e=Math.max(e,this.animations[s].duration);return e}runAll(e){this.animations.forEach(s=>s[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Cy extends Py{then(e,s){return this.finished.finally(e).then(()=>{})}}function Ey(t){return Array.isArray(t)&&t.some(Array.isArray)}function My(t){function e(s,n,i){let o=[];return Ey(s)?o=Ay(s,n,t):o=jc(s,n,i,t),new Cy(o)}return e}const Vy=My(),Dy=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class Oy extends ve{constructor(e){var s;super(e),this.animateUpdates=({controlActiveState:n,directAnimate:i,directTransition:o,controlDelay:r=0,isFallback:a,isExit:l}={})=>{const u=this.state.target;this.state.target={...this.state.baseTarget};let c={};c=this.resolveStateAnimation({controlActiveState:n,directAnimate:i,directTransition:o});const f=this.createAnimationFactories(u,c,r),{getChildAnimations:h,childAnimations:p}=this.setupChildAnimations(c,this.state.activeStates,a);return this.executeAnimations({factories:f,getChildAnimations:h,childAnimations:p,transition:c,controlActiveState:n,isExit:l})},this.state.visualElement=qm(this.state.options.as,{presenceContext:null,parent:(s=this.state.parent)==null?void 0:s.visualElement,props:{...this.state.options,whileTap:this.state.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.state.baseTarget}},reducedMotionConfig:this.state.options.motionConfig.reduceMotion}),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){const{animate:e}=this.state.options;el(e)&&(this.unmountControls=e.subscribe(this.state))}executeAnimations({factories:e,getChildAnimations:s,transition:n,controlActiveState:i,isExit:o=!1}){const r=()=>Promise.all(e.map(f=>f()).filter(Boolean)),a={...this.state.target},l=this.state.element,u=f=>{var h,p;l.dispatchEvent(rl("motionstart",a)),(p=(h=this.state.options).onAnimationStart)==null||p.call(h,a),f.then(()=>{var v,b;l.dispatchEvent(rl("motioncomplete",a,o)),(b=(v=this.state.options).onAnimationComplete)==null||b.call(v,a)}).catch(Dt)},c=()=>{const f=n!=null&&n.when?(n.when==="beforeChildren"?r():s()).then(()=>n.when==="beforeChildren"?s():r()):Promise.all([r(),s()]);return u(f),f};return i?c:c()}setupChildAnimations(e,s,n){var i;if(!((i=this.state.visualElement.variantChildren)!=null&&i.size)||!s)return{getChildAnimations:()=>Promise.resolve(),childAnimations:[]};const{staggerChildren:o=0,staggerDirection:r=1,delayChildren:a=0}=e||{},l=(this.state.visualElement.variantChildren.size-1)*o,u=r===1?(f=0)=>f*o:(f=0)=>l-f*o,c=Array.from(this.state.visualElement.variantChildren).map((f,h)=>{const p=a+u(h);return f.state.animateUpdates({controlActiveState:s,controlDelay:n?0:p})}).filter(Boolean);return{getChildAnimations:()=>Promise.all(c.map(f=>f==null?void 0:f())),childAnimations:c}}createAnimationFactories(e,s,n){const i=[];return Object.keys(this.state.target).forEach(o=>{var r;if(!pp(e[o],this.state.target[o]))return;(r=this.state.baseTarget)[o]??(r[o]=jp.get(this.state.element,o));const a=this.state.target[o]==="none"&&Zi(cl[o])?cl[o]:this.state.target[o];i.push(()=>{var l;return Vy(this.state.element,{[o]:a},{...(s==null?void 0:s[o])||s,delay:(((l=s==null?void 0:s[o])==null?void 0:l.delay)||(s==null?void 0:s.delay)||0)+n})})}),i}resolveStateAnimation({controlActiveState:e,directAnimate:s,directTransition:n}){let i=this.state.options.transition,o={};const{variants:r,custom:a,transition:l,animatePresenceContext:u}=this.state.options,c=Zi(a)?a:u==null?void 0:u.custom;return this.state.activeStates={...this.state.activeStates,...e},Dy.forEach(f=>{if(!this.state.activeStates[f]||el(this.state.options[f]))return;const h=this.state.options[f];let p=Zi(h)?Us(h,r,c):void 0;if(this.state.visualElement.isVariantNode){const v=Us(this.state.context[f],r,c);p=v?Object.assign(v||{},p):o}p&&(f!=="initial"&&(i=p.transition||this.state.options.transition||{}),o=Object.assign(o,p))}),s&&(o=Us(s,r,c),i=o.transition||n||l),Object.entries(o).forEach(([f,h])=>{f!=="transition"&&(this.state.target[f]=h)}),i}mount(){const{element:e}=this.state;ol.set(e,this.state),ze.get(e)||(this.state.visualElement.mount(e),ze.set(e,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.state.options,{animate:s}=this.state.visualElement.prevProps||{};e!==s&&this.updateAnimationControlsSubscription()}unmount(){var e;(e=this.unmountControls)==null||e.call(this)}}const Ry={y:!1};function Ly(){return Ry.y}const Bc=(t,e)=>e?t===e?!0:Bc(t,e.parentElement):!1,Fy=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Nc(t,e){const s=_o(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}const $y=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Iy(t){return $y.has(t.tagName)||t.tabIndex!==-1}const Wn=new WeakSet;function kc(t){return e=>{e.key==="Enter"&&t(e)}}function jo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const jy=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=kc(()=>{if(Wn.has(s))return;jo(s,"down");const i=kc(()=>{jo(s,"up")}),o=()=>jo(s,"cancel");s.addEventListener("keyup",i,e),s.addEventListener("blur",o,e)});s.addEventListener("keydown",n,e),s.addEventListener("blur",()=>s.removeEventListener("keydown",n),e)};function Uc(t){return Fy(t)&&!0}function By(t,e,s={}){const[n,i,o]=Nc(t,s),r=a=>{const l=a.currentTarget;if(!Uc(a))return;Wn.add(l);const u=e(l,a),c=(p,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Wn.has(l)&&Wn.delete(l),Uc(p)&&typeof u=="function"&&u(p,{success:v})},f=p=>{c(p,l===window||l===document||s.useGlobalTarget||Bc(l,p.target))},h=p=>{c(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),Fc(a)&&(a.addEventListener("focus",u=>jy(u,i)),!Iy(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Hc(t){return{point:{x:t.pageX,y:t.pageY}}}function Kc(t,e,s){const n=t.options;n.whilePress&&t.setActive("whilePress",s==="Start");const i=`onPress${s==="End"?"":s}`,o=n[i];o&&lt.postRender(()=>o(e,Hc(e)))}class Ny extends ve{isActive(){const{whilePress:e,onPress:s,onPressCancel:n,onPressStart:i}=this.state.options;return!!(e||s||n||i)}constructor(e){super(e)}mount(){this.register()}update(){const{whilePress:e,onPress:s,onPressCancel:n,onPressStart:i}=this.state.options;e||s||n||i||this.register()}register(){const e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=By(e,(s,n)=>(Kc(this.state,n,"Start"),(i,{success:o})=>Kc(this.state,i,o?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function Wc(t){return!(t.pointerType==="touch"||Ly())}function ky(t,e,s={}){const[n,i,o]=Nc(t,s),r=a=>{if(!Wc(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=f=>{Wc(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return n.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}function Gc(t,e,s){const n=t.options;n.whileHover&&t.setActive("whileHover",s==="Start");const i=`onHover${s}`,o=n[i];o&&lt.postRender(()=>o(e,Hc(e)))}class Uy extends ve{isActive(){const{whileHover:e,onHoverStart:s,onHoverEnd:n}=this.state.options;return!!(e||s||n)}constructor(e){super(e)}mount(){this.register()}update(){const{whileHover:e,onHoverStart:s,onHoverEnd:n}=this.state.visualElement.prevProps;e||s||n||this.register()}register(){const e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=ky(e,(s,n)=>(Gc(this.state,n,"Start"),i=>{Gc(this.state,i,"End")})))}}const Hy={some:0,all:1};function Ky(t,e,{root:s,margin:n,amount:i="some"}={}){const o=_o(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const h=e(c.target,c);typeof h=="function"?r.set(c.target,h):l.unobserve(c.target)}else typeof f=="function"&&(f(c),r.delete(c.target))})},l=new IntersectionObserver(a,{root:s,rootMargin:n,threshold:typeof i=="number"?i:Hy[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function zc(t,e,s){const n=t.options;n.whileInView&&t.setActive("whileInView",s==="Enter");const i=`onViewport${s}`,o=n[i];o&&lt.postRender(()=>o(e))}class Wy extends ve{isActive(){return!!this.state.options.whileInView}constructor(e){super(e)}startObserver(){const e=this.state.element;if(!e||!this.isActive())return;this.unmount();const{once:s,...n}=this.state.options.inViewOptions||{};this.unmount=Ky(e,(i,o)=>{if(zc(this.state,o,"Enter"),!s)return r=>{zc(this.state,o,"Leave")}},n)}mount(){this.startObserver()}update(){const{props:e,prevProps:s}=this.state.visualElement;["amount","margin","root"].some(Gy(e,s))&&this.startObserver()}}function Gy({inViewOptions:t={}},{inViewOptions:e={}}={}){return s=>t[s]!==e[s]}function Gn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}class zy extends ve{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.state.element.matches(":focus-visible")}catch{e=!0}e&&(this.state.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&(this.state.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=zs(Gn(this.state.element,"focus",()=>this.onFocus()),Gn(this.state.element,"blur",()=>this.onBlur()))}}const qy=(t,e)=>t.depth-e.depth;class Yy{constructor(){this.children=[],this.isDirty=!1}add(e){to(this.children,e),this.isDirty=!0}remove(e){kn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(qy),this.isDirty=!1,this.children.forEach(e)}}function Xy(t,e){const s=Ot.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(_e(n),t(o-e))};return lt.setup(n,!0),()=>_e(n)}function Bo(t){return pt(t)?t.get():t}const qc=["TopLeft","TopRight","BottomLeft","BottomRight"],Zy=qc.length,Yc=t=>typeof t=="string"?parseFloat(t):t,Xc=t=>typeof t=="number"||N.test(t);function Jy(t,e,s,n,i,o){i?(t.opacity=ct(0,s.opacity??1,Qy(n)),t.opacityExit=ct(e.opacity??1,0,tv(n))):o&&(t.opacity=ct(e.opacity??1,s.opacity??1,n));for(let r=0;r<Zy;r++){const a=`border${qc[r]}Radius`;let l=Zc(e,a),u=Zc(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Xc(l)===Xc(u)?(t[a]=Math.max(ct(Yc(l),Yc(u),n),0),(ee.test(u)||ee.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ct(e.rotate||0,s.rotate||0,n))}function Zc(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Qy=Jc(0,.5,Tc),tv=Jc(.5,.95,Dt);function Jc(t,e,s){return n=>n<t?0:n>e?1:s(vs(t,e,n))}function Qc(t,e){t.min=e.min,t.max=e.max}function Kt(t,e){Qc(t.x,e.x),Qc(t.y,e.y)}function tu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function No(t){return t===void 0||t===1}function ko({scale:t,scaleX:e,scaleY:s}){return!No(t)||!No(e)||!No(s)}function Je(t){return ko(t)||eu(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eu(t){return su(t.x)||su(t.y)}function su(t){return t&&t!=="0%"}function zn(t,e,s){const n=t-s,i=e*n;return s+i}function nu(t,e,s,n,i){return i!==void 0&&(t=zn(t,i,n)),zn(t,s,n)+e}function Uo(t,e=0,s=1,n,i){t.min=nu(t.min,e,s,n,i),t.max=nu(t.max,e,s,n,i)}function iu(t,{x:e,y:s}){Uo(t.x,e.translate,e.scale,e.originPoint),Uo(t.y,s.translate,s.scale,s.originPoint)}const ou=.999999999999,ru=1.0000000000001;function ev(t,e,s,n=!1){const i=s.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=s[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&bs(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,iu(t,r)),n&&Je(o.latestValues)&&bs(t,o.latestValues))}e.x<ru&&e.x>ou&&(e.x=1),e.y<ru&&e.y>ou&&(e.y=1)}function qn(t,e){t.min=t.min+e,t.max=t.max+e}function au(t,e,s,n,i=.5){const o=ct(t.min,t.max,i);Uo(t,e,s,o,n)}function bs(t,e){au(t.x,e.x,e.scaleX,e.scale,e.originX),au(t.y,e.y,e.scaleY,e.scale,e.originY)}const lu=1e-4,sv=1-lu,nv=1+lu,cu=.01,iv=0-cu,ov=0+cu;function Wt(t){return t.max-t.min}function rv(t,e,s){return Math.abs(t-e)<=s}function uu(t,e,s,n=.5){t.origin=n,t.originPoint=ct(e.min,e.max,t.origin),t.scale=Wt(s)/Wt(e),t.translate=ct(s.min,s.max,t.origin)-t.originPoint,(t.scale>=sv&&t.scale<=nv||isNaN(t.scale))&&(t.scale=1),(t.translate>=iv&&t.translate<=ov||isNaN(t.translate))&&(t.translate=0)}function Js(t,e,s,n){uu(t.x,e.x,s.x,n?n.originX:void 0),uu(t.y,e.y,s.y,n?n.originY:void 0)}function fu(t,e,s){t.min=s.min+e.min,t.max=t.min+Wt(e)}function av(t,e,s){fu(t.x,e.x,s.x),fu(t.y,e.y,s.y)}function hu(t,e,s){t.min=e.min-s.min,t.max=t.min+Wt(e)}function Qs(t,e,s){hu(t.x,e.x,s.x),hu(t.y,e.y,s.y)}function du(t,e,s,n,i){return t-=e,t=zn(t,1/s,n),i!==void 0&&(t=zn(t,1/i,n)),t}function lv(t,e=0,s=1,n=.5,i,o=t,r=t){if(ee.test(e)&&(e=parseFloat(e),e=ct(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ct(o.min,o.max,n);t===o&&(a-=e),t.min=du(t.min,e,s,a,i),t.max=du(t.max,e,s,a,i)}function pu(t,e,[s,n,i],o,r){lv(t,e[s],e[n],e[i],e.scale,o,r)}const cv=["x","scaleX","originX"],uv=["y","scaleY","originY"];function mu(t,e,s,n){pu(t.x,e,cv,s?s.x:void 0,n?n.x:void 0),pu(t.y,e,uv,s?s.y:void 0,n?n.y:void 0)}function gu(t){return t.translate===0&&t.scale===1}function yu(t){return gu(t.x)&&gu(t.y)}function vu(t,e){return t.min===e.min&&t.max===e.max}function fv(t,e){return vu(t.x,e.x)&&vu(t.y,e.y)}function bu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function _u(t,e){return bu(t.x,e.x)&&bu(t.y,e.y)}function xu(t){return Wt(t.x)/Wt(t.y)}function Su(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class hv{constructor(){this.members=[]}add(e){to(this.members,e),e.scheduleRender()}remove(e){if(kn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(e){const s=this.members.findIndex(i=>e===i);if(s===0)return!1;let n;for(let i=s;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,s&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:n}=e;s.onExitComplete&&s.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function dv(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=(s==null?void 0:s.z)||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:h,skewX:p,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),h&&(n+=`rotateY(${h}deg) `),p&&(n+=`skewX(${p}deg) `),v&&(n+=`skewY(${v}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}function Tu(t){return[t("x"),t("y")]}const Yn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},{schedule:pv}=il(queueMicrotask,!1),Ho=["","X","Y","Z"],mv={visibility:"hidden"},gv=1e3;let yv=0;function Ko(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function wu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=ac(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",lt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&wu(n)}function Au({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=yv++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(_v),this.nodes.forEach(Av),this.nodes.forEach(Pv),this.nodes.forEach(xv)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Yy)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new eo),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Io(r)&&!$c(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c;const f=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,c&&c(),c=Xy(f,250),Yn.hasAnimatedSinceResize&&(Yn.hasAnimatedSinceResize=!1,this.nodes.forEach(Cu))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Dv,{onLayoutAnimationStart:b,onLayoutAnimationComplete:A}=u.getProps(),S=!this.targetLayout||!_u(this.targetLayout,p),O=!f&&h;if(this.options.layoutRoot||this.resumeFrom||O||f&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...To(v,"layout"),onPlay:b,onComplete:A};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(c,O)}else f||Cu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),_e(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Cv),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Pu);return}this.isUpdating||this.nodes.forEach(Tv),this.isUpdating=!1,this.nodes.forEach(wv),this.nodes.forEach(vv),this.nodes.forEach(bv),this.clearAllSnapshots();const a=Ot.now();Tt.delta=xe(0,1e3/60,a-Tt.timestamp),Tt.timestamp=a,Tt.isProcessing=!0,qi.update.process(Tt),qi.preRender.process(Tt),qi.render.process(Tt),Tt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Sv),this.sharedNodes.forEach(Ev)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,lt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){lt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Wt(this.snapshot.measuredBox.x)&&!Wt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutCorrected=dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!yu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Je(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Ov(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var r;const{visualElement:a}=this.options;if(!a)return dt();const l=a.measureViewportBox();if(!(((r=this.scroll)==null?void 0:r.wasRoot)||this.path.some(Rv))){const{scroll:c}=this.root;c&&(qn(l.x,c.offset.x),qn(l.y,c.offset.y))}return l}removeElementScroll(r){var a;const l=dt();if(Kt(l,r),(a=this.scroll)!=null&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:h}=c;c!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Kt(l,r),qn(l.x,f.offset.x),qn(l.y,f.offset.y))}return l}applyTransform(r,a=!1){const l=dt();Kt(l,r);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&bs(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Je(c.latestValues)&&bs(l,c.latestValues)}return Je(this.latestValues)&&bs(l,this.latestValues),l}removeTransform(r){const a=dt();Kt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Je(u.latestValues))continue;ko(u.latestValues)&&u.updateSnapshot();const c=dt(),f=u.measurePageBox();Kt(c,f),mu(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Je(this.latestValues)&&mu(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Tt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(r||u&&this.isSharedProjectionDirty||this.isProjectionDirty||(a=this.parent)!=null&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:h}=this.options;if(!(!this.layout||!(f||h))){if(this.resolvedRelativeTargetAt=Tt.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),Qs(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=dt(),this.targetWithTransforms=dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),av(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Kt(this.target,this.layout.layoutBox),iu(this.target,this.targetDelta)):Kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),Qs(this.relativeTargetOrigin,this.target,p.target),Kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ko(this.parent.latestValues)||eu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var r;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||(r=this.parent)!=null&&r.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Tt.timestamp&&(u=!1),u)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Kt(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,p=this.treeScale.y;ev(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=dt());const{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(tu(this.prevProjectionDelta.x,this.projectionDelta.x),tu(this.prevProjectionDelta.y,this.projectionDelta.y)),Js(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==p||!Su(this.projectionDelta.x,this.prevProjectionDelta.x)||!Su(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hs(),this.projectionDelta=hs(),this.projectionDeltaWithTransform=hs()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=hs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=dt(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,b=p!==v,A=this.getStack(),S=!A||A.members.length<=1,O=!!(b&&!S&&this.options.crossfade===!0&&!this.path.some(Vv));this.animationProgress=0;let E;this.mixTargetDelta=P=>{const M=P/1e3;Eu(f.x,r.x,M),Eu(f.y,r.y,M),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qs(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Mv(this.relativeTarget,this.relativeTargetOrigin,h,M),E&&fv(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=dt()),Kt(E,this.relativeTarget)),b&&(this.animationValues=c,Jy(c,u,this.latestValues,M,O,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(_e(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=lt.update(()=>{Yn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ds(0)),this.currentAnimation=Ic(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),r.onUpdate&&r.onUpdate(c)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=r;if(!(!a||!l||!u)){if(this!==r&&this.layout&&u&&Ru(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||dt();const f=Wt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Wt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}Kt(a,l),bs(a,c),Js(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new hv),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())==null?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())==null?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ko("z",r,u,this.animationValues);for(let c=0;c<Ho.length;c++)Ko(`rotate${Ho[c]}`,r,u,this.animationValues),Ko(`skew${Ho[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}getProjectionStyles(r){if(!this.instance||this.isSVG)return;if(!this.isVisible)return mv;const a={visibility:""},l=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=Bo(r==null?void 0:r.pointerEvents)||"",a.transform=l?l(this.latestValues,""):"none",a;const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){const p={};return this.options.layoutId&&(p.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,p.pointerEvents=Bo(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Je(this.latestValues)&&(p.transform=l?l({},""):"none",this.hasProjected=!1),p}const c=u.animationValues||u.latestValues;this.applyTransformsToTarget(),a.transform=dv(this.projectionDeltaWithTransform,this.treeScale,c),l&&(a.transform=l(c,a.transform));const{x:f,y:h}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?a.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:a.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const p in Ns){if(c[p]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:A}=Ns[p],S=a.transform==="none"?c[p]:v(c[p],u);if(b){const O=b.length;for(let E=0;E<O;E++)a[b[E]]=S}else A?this.options.visualElement.renderState.vars[p]=S:a[p]=S}return this.options.layoutId&&(a.pointerEvents=u===this?Bo(r==null?void 0:r.pointerEvents)||"":"none"),a}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Pu),this.root.sharedNodes.clear()}}}function vv(t){t.updateLayout()}function bv(t){var e;const s=((e=t.resumeFrom)==null?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&s&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:o}=t.options,r=s.source!==t.layout.source;o==="size"?Tu(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Wt(h);h.min=n[f].min,h.max=h.min+p}):Ru(o,s.layoutBox,n)&&Tu(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Wt(n[f]);h.max=h.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=hs();Js(a,n,s.layoutBox);const l=hs();r?Js(l,t.applyTransform(i,!0),s.measuredBox):Js(l,n,s.layoutBox);const u=!yu(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const v=dt();Qs(v,s.layoutBox,h.layoutBox);const b=dt();Qs(b,n,p.layoutBox),_u(v,b)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=v,t.relativeParent=f)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:s,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function _v(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function xv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Sv(t){t.clearSnapshot()}function Pu(t){t.clearMeasurements()}function Tv(t){t.isLayoutDirty=!1}function wv(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Cu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Av(t){t.resolveTargetDelta()}function Pv(t){t.calcProjection()}function Cv(t){t.resetSkewAndRotation()}function Ev(t){t.removeLeadSnapshot()}function Eu(t,e,s){t.translate=ct(e.translate,0,s),t.scale=ct(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Mu(t,e,s,n){t.min=ct(e.min,s.min,n),t.max=ct(e.max,s.max,n)}function Mv(t,e,s,n){Mu(t.x,e.x,s.x,n),Mu(t.y,e.y,s.y,n)}function Vv(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Dv={duration:.45,ease:[.4,0,.1,1]},Vu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Du=Vu("applewebkit/")&&!Vu("chrome/")?Math.round:Dt;function Ou(t){t.min=Du(t.min),t.max=Du(t.max)}function Ov(t){Ou(t.x),Ou(t.y)}function Ru(t,e,s){return t==="position"||t==="preserve-aspect"&&!rv(xu(e),xu(s),.2)}function Rv(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}function Lv(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const Fv=Au({attachResizeListener:(t,e)=>Lv(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Wo={current:void 0},$v=Au({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Wo.current){const t=new Fv({});t.mount(window),t.setOptions({layoutScroll:!0}),Wo.current=t}return Wo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function Lu(t){if(t)return t.options.allowProjection!==!1?t.projection:Lu(t.parent)}function Fu(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const tn={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(N.test(t))t=parseFloat(t);else return t;const s=Fu(t,e.target.x),n=Fu(t,e.target.y);return`${s}% ${n}%`}},Iv={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Fe.parse(t);if(i.length>5)return n;const o=Fe.createTransformer(t),r=typeof i[0]!="number"?1:0,a=s.x.scale*e.x,l=s.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=ct(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},$u={borderRadius:{...tn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tn,borderTopRightRadius:tn,borderBottomLeftRadius:tn,borderBottomRightRadius:tn,boxShadow:Iv};function en(t){return typeof t=="object"&&t!==null&&"nodeType"in t}class jv extends ve{constructor(e){super(e),tl($u)}initProjection(){const e=this.state.options;this.state.visualElement.projection=new $v(this.state.visualElement.latestValues,e["data-framer-portal-id"]?void 0:Lu(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){const e=this.state.options;this.state.visualElement.projection.setOptions({layout:e.layout,layoutId:e.layoutId,alwaysMeasureLayout:!!e.drag||e.dragConstraints&&en(e.dragConstraints),visualElement:this.state.visualElement,animationType:typeof e.layout=="string"?e.layout:"both",layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{var s;if(!((s=this.state.visualElement.projection)!=null&&s.isPresent)){const n=zi.get(this.state.element);this.state.isSafeToRemove=!0,n&&n({detail:{isExit:!0}},!0)}}})}update(){this.setOptions()}mount(){var e;(e=this.state.visualElement.projection)==null||e.mount(this.state.element)}}function Iu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function Go(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function Bv(t){return e=>Iu(e)&&t(e,Go(e))}function sn(t,e,s,n){return Gn(t,e,Bv(s),n)}function ju(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}const Bu=ju("dragHorizontal"),Nu=ju("dragVertical");function Nv(t){let e=!1;if(t==="y")e=Nu();else if(t==="x")e=Bu();else{const s=Bu(),n=Nu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function zo(t){return t.max-t.min}function kv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ct(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ct(s,t,n.max):Math.min(t,s)),t}const qo=.35;function Uv(t,{top:e,left:s,bottom:n,right:i}){return{x:ku(t.x,s,i),y:ku(t.y,e,n)}}function ku(t,e,s){return{min:e!==void 0?t.min+e:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function Hv(t=qo){return t===!1?t=0:t===!0&&(t=qo),{x:Uu(t,"left","right"),y:Uu(t,"top","bottom")}}function Uu(t,e,s){return{min:Hu(t,e),max:Hu(t,s)}}function Hu(t,e){return typeof t=="number"?t:t[e]||0}function Kv(t,e){const s={};return e.min!==void 0&&(s.min=e.min-t.min),e.max!==void 0&&(s.max=e.max-t.min),s}function Wv(t,e){return{x:Ku(t.x,e.x),y:Ku(t.y,e.y)}}function Ku(t,e){let s=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([s,n]=[n,s]),{min:s,max:n}}function Gv(t,e){let s=.5;const n=zo(t),i=zo(e);return i>n?s=vs(e.min,e.max-n,t.min):n>i&&(s=vs(t.min,t.max-i,e.min)),xe(0,1,s)}const Wu=(t,e)=>Math.abs(t-e);function zv(t,e){const s=Wu(t.x,e.x),n=Wu(t.y,e.y);return Math.sqrt(s**2+n**2)}class Gu{constructor(e,s,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Xo(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,p=zv(f.offset,{x:0,y:0})>=3;if(!h&&!p)return;const{point:v}=f,{timestamp:b}=Tt;this.history.push({...v,timestamp:b});const{onStart:A,onMove:S}=this.handlers;h||(A&&A(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Yo(h,this.transformPagePoint),lt.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:p,onSessionEnd:v,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=Xo(f.type==="pointercancel"?this.lastMoveEventInfo:Yo(h,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,A),v&&v(f,A)},!Iu(e))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.contextWindow=i||window;const r=Go(e),a=Yo(r,this.transformPagePoint),{point:l}=a,{timestamp:u}=Tt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=s;c&&c(e,Xo(a,this.history)),this.removeListeners=zs(sn(this.contextWindow,"pointermove",this.handlePointerMove),sn(this.contextWindow,"pointerup",this.handlePointerUp),sn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),_e(this.updatePoint)}}function Yo(t,e){return e?{point:e(t.point)}:t}function zu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Xo({point:t},e){return{point:t,delta:zu(t,qu(e)),offset:zu(t,qv(e)),velocity:Yv(e,.1)}}function qv(t){return t[0]}function qu(t){return t[t.length-1]}function Yv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=qu(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>Yt(e)));)s--;if(!n)return{x:0,y:0};const o=se(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}const Yu=()=>({min:0,max:0});function Xv(){return{x:Yu(),y:Yu()}}function ne(t){return[t("x"),t("y")]}function Zv(t){return!!(pt(t)&&t.add)}function Xu(t,e){const s=t.getValue("willChange");if(Zv(s))return s.add(e)}function Zu({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Jv(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function Qv({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ju(t,e){t.min=t.min+e,t.max=t.max+e}function t0(t,e){return Zu(Jv(t.getBoundingClientRect(),e))}function e0(t,e,s){const n=t0(t,s),{scroll:i}=e;return i&&(Ju(n.x,i.offset.x),Ju(n.y,i.offset.y)),n}function Qu(t){return!zi.has(t.current)}function tf({current:t}){return t?t.ownerDocument.defaultView:null}const s0=new WeakMap;class n0{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Xv(),this.visualElement=e}start(e,{snapToCursor:s=!1}={}){if(!Qu(this.visualElement))return;const n=u=>{const{dragSnapToOrigin:c}=this.getProps();c?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(Go(u,"page").point)},i=(u,c)=>{const{drag:f,dragPropagation:h,onDragStart:p}=this.getProps();if(f&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Nv(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ne(b=>{let A=this.getAxisMotionValue(b).get()||0;if(ee.test(A)){const{projection:S}=this.visualElement;if(S&&S.layout){const O=S.layout.layoutBox[b];O&&(A=zo(O)*(parseFloat(A)/100))}}this.originPoint[b]=A}),p&&lt.postRender(()=>p(u,c)),Xu(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},o=(u,c)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:p,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:b}=c;if(h&&this.currentDirection===null){this.currentDirection=i0(b),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,b),this.updateAxis("y",c.point,b),this.visualElement.render(),v&&v(u,c)},r=(u,c)=>this.stop(u,c),a=()=>ne(u=>{var c;return this.getAnimationState(u)==="paused"&&((c=this.getAxisMotionValue(u).animation)==null?void 0:c.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Gu(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:tf(this.visualElement)})}stop(e,s){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&lt.postRender(()=>o(e,s))}cancel(){this.isDragging=!1;const{projection:e,animationState:s}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.visualElement.state.setActive("whileDrag",!1)}updateAxis(e,s,n){const{drag:i}=this.getProps();if(!n||!Xn(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=kv(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:s,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)==null?void 0:e.layout,o=this.constraints;s&&en(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&i?this.constraints=Uv(i.layoutBox,s):this.constraints=!1,this.elastic=Hv(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&ne(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Kv(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:s}=this.getProps();if(!e||!en(e))return!1;const n=e,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=e0(n,i.root,this.visualElement.getTransformPagePoint());let r=Wv(i.layout.layoutBox,o);if(s){const a=s(Qv(r));this.hasMutatedConstraints=!!a,a&&(r=Zu(a))}return r}startAnimation(e){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ne(c=>{if(!Xn(c,s,this.currentDirection))return;let f=l&&l[c]||{};r&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,v={type:"inertia",velocity:n?e[c]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(e,s){const n=this.getAxisMotionValue(e);return Xu(this.visualElement,e),n.start($o(e,n,0,s,this.visualElement,!1))}stopAnimation(){Qu(this.visualElement)&&ne(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ne(e=>{var s;return(s=this.getAxisMotionValue(e).animation)==null?void 0:s.pause()})}getAnimationState(e){var s;return(s=this.getAxisMotionValue(e).animation)==null?void 0:s.state}getAxisMotionValue(e){const s=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[s]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){ne(s=>{const{drag:n}=this.getProps();if(!Xn(s,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(s);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[s];o.set(e[s]-ct(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!en(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ne(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=Gv({min:l,max:l},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ne(r=>{if(!Xn(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(ct(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;s0.set(this.visualElement,this);const e=this.visualElement.current,s=sn(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();en(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),lt.read(n);const r=Gn(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ne(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{r(),s(),o(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=qo,dragMomentum:a=!0}=e;return{...e,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Xn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function i0(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}class o0 extends ve{constructor(e){super(e),this.removeGroupControls=Dt,this.removeListeners=Dt,this.controls=new n0(e.visualElement)}mount(){const{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Dt}unmount(){this.removeGroupControls(),this.removeListeners()}}class r0 extends ve{constructor(e){super(e),tl($u)}beforeUpdate(){this.state.willUpdate("beforeUpdate")}update(){this.didUpdate()}didUpdate(){var e,s;(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&((s=(e=this.state.visualElement.projection)==null?void 0:e.root)==null||s.didUpdate())}mount(){var e;const s=this.state.options,n=this.state.options.layoutGroup;if(s.layout||s.layoutId){const i=this.state.visualElement.projection;i&&(i.promote(),(e=n==null?void 0:n.group)==null||e.add(i)),Yn.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){const e=this.state.visualElement.projection;e&&(this.state.willUpdate("beforeUnmount"),this.state.options.layoutId?(e.isPresent=!1,e.relegate()):this.state.options.layout&&(this.state.isSafeToRemove=!0))}unmount(){const e=this.state.options.layoutGroup,s=this.state.visualElement.projection;s&&(e!=null&&e.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(s),this.didUpdate())}}function ef(t){return(e,s)=>{t&&lt.postRender(()=>t(e,s))}}class a0 extends ve{constructor(){super(...arguments),this.removePointerDownListener=Dt}onPointerDown(e){this.session=new Gu(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:tf(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:ef((e,s)=>{const{onPanSessionStart:n}=this.state.options;n&&n(e,s)}),onStart:ef((e,s)=>{const{onPanStart:n}=this.state.options;n&&n(e,s)}),onMove:(e,s)=>{const{onPan:n}=this.state.options;n&&n(e,s)},onEnd:(e,s)=>{const{onPanEnd:n}=this.state.options;delete this.session,n&&lt.postRender(()=>n(e,s))}}}mount(){this.removePointerDownListener=sn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const l0=[Oy,Ny,Uy,Wy,zy,jv,a0,o0,r0],c0={reduceMotion:"never",transition:void 0,nonce:void 0},[u0,P_]=ks("MotionConfig");function f0(){return u0(vt(()=>c0))}function Zn(t){return(t==null?void 0:t.nodeType)===3||(t==null?void 0:t.nodeType)===8?Zn(t.nextSibling):t}const[h0,C_]=ks("LazyMotionContext");function d0(t){const e=fp(null),s=dp({}),n=f0(),i=Sp({}),o=h0({features:rs([]),strict:!1}),r=Ph();function a(){return s.id&&t.layoutId?`${s.id}-${t.layoutId}`:t.layoutId||void 0}function l(){return{...t,lazyMotionContext:o,layoutId:a(),transition:t.transition??n.value.transition,layoutGroup:s,motionConfig:n.value,inViewOptions:t.inViewOptions??n.value.inViewOptions,animatePresenceContext:i,initial:i.initial===!1?i.initial:t.initial===!0?void 0:t.initial}}function u(){return{...r,...l()}}const c=new Cp(u(),e);hp(c);function f(){var p;const v=c.type==="svg",b={...r};Object.keys(r).forEach(O=>{pt(r[O])&&(b[O]=r[O].get())});let A={...t.style,...v?{}:((p=c.visualElement)==null?void 0:p.latestValues)||c.baseTarget};if(v){const{attrs:O,style:E}=Hp({...c.isMounted()?c.target:c.baseTarget,...A});(E.transform||O.transformOrigin)&&(E.transformOrigin=O.transformOrigin??"50% 50%",delete O.transformOrigin),E.transform&&(E.transformBox=E.transformBox??"fill-box",delete O.transformBox),Object.assign(b,O),A=E}t.drag&&t.dragListener!==!1&&Object.assign(A,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const S=Bp(A);return S&&(b.style=S),b}const h=Ii().proxy;return Kr(()=>{c.beforeMount()}),Ti(()=>{c.mount(Zn(h.$el),u(),m0(h))}),wi(()=>c.beforeUnmount()),Ai(()=>{const p=Zn(h.$el);p!=null&&p.isConnected||c.unmount()}),Wr(()=>{c.beforeUpdate()}),Gr(()=>{c.update(u())}),{getProps:l,getAttrs:f,layoutGroup:s,state:c}}const p0={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},hover:{type:[String,Array,Object]},press:{type:[String,Array,Object]},inView:{type:[String,Array,Object]},focus:{type:[String,Array,Object]},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object],default:({hover:t})=>t},whilePress:{type:[String,Array,Object],default:({press:t})=>t},whileInView:{type:[String,Array,Object],default:({inView:t})=>t},whileFocus:{type:[String,Array,Object],default:({focus:t})=>t},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},layoutGroup:{type:Object},motionConfig:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:[String,Number,Object,Array]},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};function m0(t){var e;const s=((e=Zn(t.$el))==null?void 0:e.style.display)==="none";return t.$.vnode.transition&&s}const g0=new Map,y0=new Map;function v0(t){if(!Array.isArray(t))return[t];const e=[];for(const s of t)Array.isArray(s)?e.push(...s):e.push(s);return e}const b0=["area","img","input"];function _0(t,e,s){var n,i;if(typeof t=="string"&&b0.includes(t))return Ni(t,e);if(t==="template"){if(!s.default)return null;const o=v0(s.default()),r=o.findIndex(c=>c.type!==St);if(r===-1)return o;const a=o[r];(n=a.props)==null||delete n.ref;const l=a.props?Ta(e,a.props):e;e.class&&((i=a.props)!=null&&i.class)&&delete a.props.class;const u=me(a,l);for(const c in l)c.startsWith("on")&&(u.props||(u.props={}),u.props[c]=l[c]);return o.length===1?u:(o[r]=u,o)}return null}function sf(t,e={}){var s;const n=typeof t=="string",i=n?t:t.name||"",o=((s=e.features)==null?void 0:s.length)>0?g0:y0;if(n&&(o!=null&&o.has(t)))return o.get(t);const r=dh({inheritAttrs:!1,props:{...p0,features:{type:Object,default:()=>e.features||[]},as:{type:[String,Object],default:t||"div"}},name:i?`motion.${i}`:"Motion",setup(a,{slots:l}){const{getProps:u,getAttrs:c,state:f}=d0(a);function h(){const p=f.element;if((!(typeof a.as=="object")||a.asChild)&&p){const{style:b}=c();if(b)for(const[A,S]of Object.entries(b))p.style[A]=S}}return()=>{const p=u(),v=c(),b=a.asChild?"template":a.as,A={...e.forwardMotionProps||a.forwardMotionProps?p:{},...v,onVnodeUpdated:h},S=_0(b,A,l);return S!==null?S:Ni(b,{...A},l)}}});return n&&(o==null||o.set(t,r)),r}function x0(t=[]){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>sf(n,{...i,features:t}):sf(s,{features:t})}})}const nf=x0(l0);nf.create("div");const S0={class:"slds-navigation-list--vertical"},T0={class:"slds-navigation-list__item-content"},w0={class:"slds-navigation-list__item-title"},A0={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){var a;const s=t,n=e,i=rs(((a=s.selectedSchema)==null?void 0:a.fileName)||null);function o(l){i.value=l.fileName,n("selectSchema",l)}function r(l){var u;return((u=l.schema)==null?void 0:u.title)||l.fileName||"Untitled Schema"}return(l,u)=>(F(),k("div",S0,[u[0]||(u[0]=g("div",{class:"slds-navigation-list__item"},[g("div",{class:"slds-navigation-list__item-content"},[g("div",{class:"slds-navigation-list__item-title"},[g("span",{class:"slds-text-heading_small"},"Schemas")])])],-1)),(F(!0),k(ft,null,De(t.schemas,c=>(F(),k("div",{key:c.fileName,class:"slds-navigation-list__item"},[g("div",T0,[g("div",w0,[et(Pr(nf).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Ct(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===c.fileName}]),onClick:f=>o(c)},{default:An(()=>[Fs(Z(r(c)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},of="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M514%20425%20285%2055a28%2028%200%200%200-50%200L6%20425c-14%2023%200%2055%2025%2055h458c25%200%2040-32%2025-55zm-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030zm30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010v130z'/%3e%3c/svg%3e",rf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},P0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},C0={class:"slds-notify__content"},af=rf({__name:"NoPropertiesMessage",props:{title:{type:String,default:"No Properties Defined"},message:{type:String,default:"This object doesn't have any properties defined in the schema."}},setup(t){return(e,s)=>(F(),k("div",P0,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:of,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",C0,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),E0={key:0,class:"slds-m-top_medium"},M0={class:"slds-box slds-theme_shade"},V0={class:"slds-grid slds-wrap slds-gutters"},D0={class:"constraint-item"},O0={class:"slds-text-title_caps slds-text-color_default"},R0={class:"slds-text-body_regular slds-m-top_xx-small"},Zo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>{const a={};return["minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","pattern","minItems","maxItems","uniqueItems","minProperties","maxProperties"].forEach(u=>{e.schema[u]!==void 0&&(a[u]=e.schema[u])}),a}),n=vt(()=>Object.entries(s.value).length!==0);function i(a){return a.replace(/([A-Z])/g," $1").replace(/^./,l=>l.toUpperCase())}function o(a){return typeof a=="boolean"?a?"Yes":"No":typeof a=="string"&&a.startsWith("^")?`Pattern: ${a}`:a}function r(a){return typeof a=="boolean"?a?"slds-badge_success":"slds-badge_inverse":typeof a=="number"?"slds-badge_warning":typeof a=="string"&&a.startsWith("^")?"slds-badge_info":""}return(a,l)=>n.value?(F(),k("div",E0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",M0,[g("div",V0,[(F(!0),k(ft,null,De(s.value,(u,c)=>(F(),k("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",D0,[g("div",O0,Z(i(c)),1),g("div",R0,[g("span",{class:Ct(["slds-badge",r(u)])},Z(o(u)),3)])])]))),128))])])])):Ht("",!0)}},L0={class:"array-schema"},F0={class:"slds-box slds-theme_shade"},$0={class:"slds-grid slds-gutters"},I0={key:0,class:"slds-col"},j0={class:"slds-badge"},B0={key:1,class:"slds-m-top_medium"},N0={class:"slds-text-title_caps slds-m-bottom_xx-small"},k0={key:3,class:"slds-m-top_medium"},U0={key:4,class:"slds-m-top_medium"},H0={key:0,class:"slds-m-top_xx-small"},K0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=vt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(F(),k("div",L0,[g("div",F0,[g("div",$0,[o[1]||(o[1]=g("div",{class:"slds-col"},[g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type "),g("div",{class:"slds-badge"}," array ")],-1)),t.schema.items?(F(),k("div",I0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",j0,Z(n.value),1)])):Ht("",!0)])]),s.value?(F(),$t(Zo,{key:0,schema:t.schema},null,8,["schema"])):Ht("",!0),t.schema.items?(F(),k("div",B0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(F(!0),k(ft,{key:0},De(t.schema.items,(r,a)=>(F(),k("div",{key:a,class:"slds-m-bottom_medium"},[g("div",N0," Index "+Z(a),1),et(Se,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(F(),$t(Se,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(F(),$t(af,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(F(),k("div",k0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),et(Se,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ht("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(F(),k("div",U0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(F(),k("div",H0,[g("span",{class:Ct(t.schema.additionalItems?"status-allowed":"status-denied")},Z(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(F(),$t(Se,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ht("",!0)]))}},W0={class:"slds-box slds-theme_shade"},G0={class:"slds-text-heading_small slds-m-bottom_small"},z0={class:"slds-tabs_default"},q0={class:"slds-tabs_default__nav",role:"tablist"},Y0=["aria-selected","aria-controls","onClick"],X0={class:"slds-tabs_default__title"},Z0=["id"],J0={class:"slds-p-around_medium"},Q0={class:"slds-text-title_caps slds-m-bottom_small"},tb={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=rs(0),i=vt(()=>e.schema[s.value]||[]);zh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=vt(()=>{switch(s.value){case"oneOf":return"One Of (Choose One)";case"anyOf":return"Any Of (Choose Any)";case"allOf":return"All Of (Must Match All)";default:return s.value}}),r=vt(()=>{switch(e.compositionType){case"oneOf":return"slds-badge_success";case"anyOf":return"slds-badge_warning";case"allOf":return"slds-badge_inverse";default:return""}});function a(u){return Array.isArray(u.type)?u.type.join(" | "):u.type||"object"}function l(u,c){return u.title?u.title:`Option ${c+1}`}return(u,c)=>(F(),k("div",W0,[g("div",G0,[g("span",{class:Ct(["slds-badge",r.value])},Z(o.value),3)]),g("div",z0,[g("ul",q0,[(F(!0),k(ft,null,De(i.value,(f,h)=>(F(),k("li",{key:h,class:Ct(["slds-tabs_default__item",{"slds-is-active":n.value===h}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===h,"aria-controls":`tab-${h}`,onClick:p=>n.value=h},[g("span",X0,Z(l(f,h)),1)],8,Y0)],2))),128))]),(F(!0),k(ft,null,De(i.value,(f,h)=>(F(),k("div",{id:`tab-${h}`,key:h,class:Ct(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",J0,[g("div",Q0," Schema Type: "+Z(a(f)),1),et(Se,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,Z0))),128))])]))}},eb={class:"slds-box slds-theme_shade"},sb={class:"slds-grid slds-wrap slds-gutters"},nb={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},ib={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},ob={key:1,class:"slds-badge slds-badge_inverse"},rb={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.const),n=vt(()=>typeof s.value=="object"&&s.value!==null),i=vt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(F(),k("div",eb,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",sb,[g("div",nb,[n.value?(F(),k("pre",ib,[g("code",null,Z(i.value),1)])):(F(),k("div",ob,Z(i.value),1))])])]))}},ab={class:"slds-box slds-theme_shade"},lb={class:"slds-grid slds-wrap slds-gutters"},cb={class:"slds-badge slds-badge_inverse"},ub={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>e.schema.enum);return(n,i)=>(F(),k("div",ab,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",lb,[(F(!0),k(ft,null,De(s.value,(o,r)=>(F(),k("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",cb,Z(o),1)]))),128))])]))}},fb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M476%20178%20271%20385c-6%206-16%206-22%200L44%20178c-6-6-6-16%200-22l22-22c6-6%2016-6%2022%200l161%20163c6%206%2016%206%2022%200l161-163c6-6%2016-6%2022%200l22%2022c5%207%205%2016%200%2022z'/%3e%3c/svg%3e",hb={key:0},db={key:1},pb={class:"slds-box slds-m-top_small"},mb={class:"slds-table_container"},gb={class:"slds-table slds-table_cell-buffer slds-table_bordered"},yb=["onClick"],vb=["title"],bb={class:"slds-truncate"},_b={class:"slds-badge"},xb=["title"],Sb={class:"slds-truncate"},Tb={key:0,class:"slds-badge slds-badge_success"},wb={key:1,class:"slds-badge slds-badge_inverse"},Ab={key:0},Pb={colspan:"4",class:"slds-p-around_medium"},Cb={class:"slds-box slds-theme_shade"},Eb={key:2},Mb={key:3},Vb={key:0},Db={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=rs({}),n=vt(()=>e.schema.properties&&Object.keys(e.schema.properties).length>0||e.schema.patternProperties&&Object.keys(e.schema.patternProperties).length>0);function i(a){return e.schema.required&&e.schema.required.includes(a)}function o(a){return a.type?a.type:Qe.hasComposition(a)?"composition":Qe.isEnum(a)?"enum":Qe.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(F(),k("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),et(Zo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(F(),k("div",hb,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,Z(t.schema.required.join(", ")),1)])):Ht("",!0),n.value?(F(),k("div",db,[g("div",pb,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",mb,[g("table",gb,[l[1]||(l[1]=g("thead",null,[g("tr",{class:"slds-line-height_reset"},[g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Property"}," Property ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Type"}," Type ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Description"}," Description ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Required"}," Required ")])])],-1)),g("tbody",null,[(F(!0),k(ft,null,De(t.schema.properties,(u,c)=>(F(),k(ft,{key:c},[g("tr",{class:"slds-hint-parent is-interactive",onClick:f=>r(c)},[g("td",null,[g("div",{class:"slds-truncate",title:c},[g("img",{src:fb,class:Ct(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),Fs(" "+Z(c),1)],8,vb)]),g("td",null,[g("div",bb,[g("span",_b,Z(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},Z(u.description||"No description"),9,xb)]),g("td",null,[g("div",Sb,[i(c)?(F(),k("span",Tb,"Required")):(F(),k("span",wb,"Optional"))])])],8,yb),et(_d,null,{default:An(()=>[s.value[c]?(F(),k("tr",Ab,[g("td",Pb,[g("div",Cb,[et(Se,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ht("",!0)]),_:2},1024)],64))),128))])])])])])):Ht("",!0),t.schema.patternProperties?(F(),k("div",Eb,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(F(!0),k(ft,null,De(t.schema.patternProperties,(u,c)=>(F(),k("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,Z(c),1)])]),et(Se,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ht("",!0),t.schema.additionalProperties!==void 0?(F(),k("div",Mb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(F(),k("div",Vb,[g("span",{class:Ct(t.schema.additionalProperties?"status-allowed":"status-denied")},Z(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(F(),$t(Se,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ht("",!0),n.value?Ht("",!0):(F(),$t(af,{key:4}))]))}},Ob={class:"slds-box slds-m-top_small"},Rb={class:"slds-box slds-theme_shade"},Lb={class:"slds-text-body_regular"},Fb={class:"slds-grid slds-gutters"},$b={class:"slds-col"},Ib={class:"slds-badge"},jb={class:"slds-col"},nn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),k("div",Ob,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",Rb,[g("div",Lb,[g("div",Fb,[g("div",$b,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",Ib,Z(t.schema.type),1)]),g("div",jb,[s[1]||(s[1]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Description ",-1)),g("div",null,Z(t.schema.description||"No description"),1)])])])]),et(Zo,{schema:t.schema},null,8,["schema"])]))}},Bb={object:Db,array:K0,string:nn,number:nn,integer:nn,boolean:nn,null:nn},Qe={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>Qe.hasComposition(t)?tb:Qe.isEnum(t)?ub:Qe.isConst(t)?rb:Bb[t.type]||null},Nb={class:"slds-grid slds-grid_vertical"},kb={class:"slds-col slds-size_1-of-1"},Ub={class:"slds-card"},Hb={class:"slds-card__body slds-card__body_inner"},Kb={__name:"SchemaLayout",setup(t){return(e,s)=>(F(),k("div",Nb,[g("div",kb,[g("div",Ub,[g("div",Hb,[wh(e.$slots,"default")])])])]))}},Wb={class:"slds-box"},Gb={class:"slds-box slds-theme_shade"},zb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=vt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(F(),k("div",Wb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[Fs(" Schema in plain with all "),g("code",null,"$ref"),Fs(" references already resolved ")],-1)),g("pre",Gb,[g("code",null,Z(s.value),1)])]))}},qb={class:"slds-page-header"},Yb={class:"slds-page-header__row"},Xb={class:"slds-page-header__col-title"},Zb={class:"slds-media"},Jb={class:"slds-media__body"},Qb={class:"slds-page-header__name"},t_={class:"slds-page-header__name-title"},e_={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},s_={class:"slds-page-header__meta-text"},n_={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),k("div",qb,[g("div",Yb,[g("div",Xb,[g("div",Zb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:Ja,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",Jb,[g("div",Qb,[g("div",t_,[g("h1",e_,Z(t.schema.title||"Schema"),1)])]),g("div",s_,Z(t.schema.description||"No description provided"),1)])])])])]))}},i_={class:"slds-tabs_default__nav",role:"tablist"},o_={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(F(),k("ul",i_,[g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="visual"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"visual-tab",onClick:s[0]||(s[0]=n=>e.$emit("update:modelValue","visual"))},s[2]||(s[2]=[g("span",{class:"slds-tabs_default__title"},"Visual",-1)]))],2),g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="plain"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"plain-tab",onClick:s[1]||(s[1]=n=>e.$emit("update:modelValue","plain"))},s[3]||(s[3]=[g("span",{class:"slds-tabs_default__title"},"Plain JSON",-1)]))],2)]))}},r_={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},a_={class:"slds-notify__content"},l_=rf({__name:"UnknownSchemaMessage",props:{title:{type:String,default:"Unknown schema"},message:{type:String,default:"This schema doesen't have proper handling yet."}},setup(t){return(e,s)=>(F(),k("div",r_,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:of,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",a_,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),c_={class:"slds-tabs_default"},u_={class:"slds-p-around_medium"},f_={class:"slds-m-top_medium"},h_={class:"slds-p-around_medium"},Se={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=rs("visual"),n=vt(()=>e.isRoot?e.schema:e.rootSchema);Vi("rootSchema",n);const i=vt(()=>Qe.getComponentForSchema(e.schema));return(o,r)=>(F(),$t(Kb,null,{default:An(()=>[g("div",c_,[et(o_,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Ct({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",u_,[et(n_,{schema:t.schema},null,8,["schema"]),g("div",f_,[i.value?(F(),$t(Sh(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(F(),$t(l_,{key:1}))])])],2),g("div",{class:Ct({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",h_,[et(zb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},d_={class:"slds-grid slds-grid_vertical"},p_={class:"slds-grid slds-gutters slds-grid_vertical-fill"},m_={class:"slds-col slds-size_2-of-12"},g_={class:"slds-col slds-size_10-of-12"},y_={key:1,class:"slds-p-around_medium"},lf={__name:"App",props:{title:{type:String,default:"JSON Schema Documentation"},description:{type:String,default:""},schemas:{type:Array,default:()=>[]},generatedAt:{type:String,default:()=>new Date().toISOString()}},setup(t){const e=t,s=rs(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(F(),k("div",d_,[et(lp,{title:t.title},null,8,["title"]),g("div",p_,[g("div",m_,[et(A0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",g_,[s.value?(F(),$t(Se,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(F(),k("div",y_,o[0]||(o[0]=[od('<div class="slds-text-align_center"><svg viewBox="0 0 454 272" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="40" fill="#F9F9F9"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="30" fill="#ECEBEA"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="20" fill="#D9D7D5"></circle></g></svg></div><div class="slds-text-align_center slds-m-top_medium"><h3 class="slds-text-heading_medium"> No Schema Selected </h3><p class="slds-text-body_regular slds-m-top_small"> Select a schema from the sidebar to view its documentation. </p></div>',2)])))])]),et(Qd,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function cf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&Za(lf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",cf):cf(),Ie.App=lf,Ie.createApp=Za,Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"})});