slds-json-schema-renderer 1.4.0 → 1.5.0

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.
@@ -2,7 +2,7 @@
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function $e(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const it={},Qe=[],Wt=()=>{},vf=()=>!1,on=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),si=t=>t.startsWith("onUpdate:"),gt=Object.assign,ni=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},bf=Object.prototype.hasOwnProperty,tt=(t,e)=>bf.call(t,e),H=Array.isArray,ts=t=>rn(t)==="[object Map]",Zo=t=>rn(t)==="[object Set]",W=t=>typeof t=="function",ct=t=>typeof t=="string",re=t=>typeof t=="symbol",lt=t=>t!==null&&typeof t=="object",Jo=t=>(lt(t)||W(t))&&W(t.then)&&W(t.catch),Qo=Object.prototype.toString,rn=t=>Qo.call(t),_f=t=>rn(t).slice(8,-1),tr=t=>rn(t)==="[object Object]",ii=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,gs=$e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),an=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},xf=/-(\w)/g,Bt=an(t=>t.replace(xf,(e,s)=>s?s.toUpperCase():"")),Sf=/\B([A-Z])/g,Ie=an(t=>t.replace(Sf,"-$1").toLowerCase()),ln=an(t=>t.charAt(0).toUpperCase()+t.slice(1)),oi=an(t=>t?`on${ln(t)}`:""),Te=(t,e)=>!Object.is(t,e),ri=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},er=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Tf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},wf=t=>{const e=ct(t)?Number(t):NaN;return isNaN(e)?t:e};let sr;const cn=()=>sr||(sr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ai(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ct(n)?Ef(n):ai(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ct(t)||lt(t))return t}const Af=/;(?![^(]*\))/g,Pf=/:([^]+)/,Cf=/\/\*[^]*?\*\//g;function Ef(t){const e={};return t.replace(Cf,"").split(Af).forEach(s=>{if(s){const n=s.split(Pf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ct(t){let e="";if(ct(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(lt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Mf=$e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function nr(t){return!!t||t===""}const ir=t=>!!(t&&t.__v_isRef===!0),J=t=>ct(t)?t:t==null?"":H(t)||lt(t)&&(t.toString===Qo||!W(t.toString))?ir(t)?J(t.value):JSON.stringify(t,or,2):String(t),or=(t,e)=>ir(e)?or(t,e.value):ts(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[li(n,o)+" =>"]=i,s),{})}:Zo(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>li(s))}:re(e)?li(e):lt(e)&&!H(e)&&!tr(e)?String(e):e,li=(t,e="")=>{var s;return re(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Vf={NODE_ENV:"production"};let Ot;class Df{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.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=Ot;try{return Ot=this,e()}finally{Ot=s}}}on(){Ot=this}off(){Ot=this.parent}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 Of(){return Ot}let ot;const ci=new WeakSet;class rr{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,Ot&&Ot.active&&Ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ci.has(this)&&(ci.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||lr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hr(this),cr(this);const e=ot,s=Gt;ot=this,Gt=!0;try{return this.fn()}finally{ur(this),ot=e,Gt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)hi(e);this.deps=this.depsTail=void 0,hr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ci.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){di(this)&&this.run()}get dirty(){return di(this)}}let ar=0,ys,vs;function lr(t,e=!1){if(t.flags|=8,e){t.next=vs,vs=t;return}t.next=ys,ys=t}function ui(){ar++}function fi(){if(--ar>0)return;if(vs){let e=vs;for(vs=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;ys;){let e=ys;for(ys=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 cr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ur(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),hi(n),Rf(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function di(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(fr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function fr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===bs))return;t.globalVersion=bs;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!di(t)){t.flags&=-3;return}const s=ot,n=Gt;ot=t,Gt=!0;try{cr(t);const i=t.fn(t._value);(e.version===0||Te(i,t._value))&&(t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ot=s,Gt=n,ur(t),t.flags&=-3}}function hi(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)hi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Rf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Gt=!0;const dr=[];function ae(){dr.push(Gt),Gt=!1}function le(){const t=dr.pop();Gt=t===void 0?!0:t}function hr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ot;ot=void 0;try{e()}finally{ot=s}}}let bs=0;class Lf{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 pi{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||!Gt||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new Lf(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,pr(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++,bs++,this.notify(e)}notify(e){ui();try{Vf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{fi()}}}function pr(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)pr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const mi=new WeakMap,je=Symbol(""),gi=Symbol(""),_s=Symbol("");function _t(t,e,s){if(Gt&&ot){let n=mi.get(t);n||mi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new pi),i.map=n,i.key=s),i.track()}}function ce(t,e,s,n,i,o){const r=mi.get(t);if(!r){bs++;return}const a=l=>{l&&l.trigger()};if(ui(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&ii(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,d)=>{(d==="length"||d===_s||!re(d)&&d>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(_s)),e){case"add":l?u&&a(r.get("length")):(a(r.get(je)),ts(t)&&a(r.get(gi)));break;case"delete":l||(a(r.get(je)),ts(t)&&a(r.get(gi)));break;case"set":ts(t)&&a(r.get(je));break}}fi()}function es(t){const e=Z(t);return e===t?e:(_t(e,"iterate",_s),Nt(t)?e:e.map(xt))}function un(t){return _t(t=Z(t),"iterate",_s),t}const Ff={__proto__:null,[Symbol.iterator](){return yi(this,Symbol.iterator,xt)},concat(...t){return es(this).concat(...t.map(e=>H(e)?es(e):e))},entries(){return yi(this,"entries",t=>(t[1]=xt(t[1]),t))},every(t,e){return ue(this,"every",t,e,void 0,arguments)},filter(t,e){return ue(this,"filter",t,e,s=>s.map(xt),arguments)},find(t,e){return ue(this,"find",t,e,xt,arguments)},findIndex(t,e){return ue(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ue(this,"findLast",t,e,xt,arguments)},findLastIndex(t,e){return ue(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ue(this,"forEach",t,e,void 0,arguments)},includes(...t){return vi(this,"includes",t)},indexOf(...t){return vi(this,"indexOf",t)},join(t){return es(this).join(t)},lastIndexOf(...t){return vi(this,"lastIndexOf",t)},map(t,e){return ue(this,"map",t,e,void 0,arguments)},pop(){return xs(this,"pop")},push(...t){return xs(this,"push",t)},reduce(t,...e){return mr(this,"reduce",t,e)},reduceRight(t,...e){return mr(this,"reduceRight",t,e)},shift(){return xs(this,"shift")},some(t,e){return ue(this,"some",t,e,void 0,arguments)},splice(...t){return xs(this,"splice",t)},toReversed(){return es(this).toReversed()},toSorted(t){return es(this).toSorted(t)},toSpliced(...t){return es(this).toSpliced(...t)},unshift(...t){return xs(this,"unshift",t)},values(){return yi(this,"values",xt)}};function yi(t,e,s){const n=un(t),i=n[e]();return n!==t&&!Nt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=s(o.value)),o}),i}const $f=Array.prototype;function ue(t,e,s,n,i,o){const r=un(t),a=r!==t&&!Nt(t),l=r[e];if(l!==$f[e]){const f=l.apply(t,o);return a?xt(f):f}let u=s;r!==t&&(a?u=function(f,d){return s.call(this,xt(f),d,t)}:s.length>2&&(u=function(f,d){return s.call(this,f,d,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function mr(t,e,s,n){const i=un(t);let o=s;return i!==t&&(Nt(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,xt(a),l,t)}),i[e](o,...n)}function vi(t,e,s){const n=Z(t);_t(n,"iterate",_s);const i=n[e](...s);return(i===-1||i===!1)&&xi(s[0])?(s[0]=Z(s[0]),n[e](...s)):i}function xs(t,e,s=[]){ae(),ui();const n=Z(t)[e].apply(t,s);return fi(),le(),n}const If=$e("__proto__,__v_isRef,__isVue"),gr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(re));function jf(t){re(t)||(t=String(t));const e=Z(this);return _t(e,"has",t),e.hasOwnProperty(t)}class yr{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?Tr:Sr:o?xr:_r).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Ff[s]))return l;if(s==="hasOwnProperty")return jf}const a=Reflect.get(e,s,yt(e)?e:n);return(re(s)?gr.has(s):If(s))||(i||_t(e,"get",s),o)?a:yt(a)?r&&ii(s)?a:a.value:lt(a)?i?wr(a):_i(a):a}}class vr extends yr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];if(!this._isShallow){const l=Be(o);if(!Nt(n)&&!Be(n)&&(o=Z(o),n=Z(n)),!H(e)&&yt(o)&&!yt(n))return l?!1:(o.value=n,!0)}const r=H(e)&&ii(s)?Number(s)<e.length:tt(e,s),a=Reflect.set(e,s,n,yt(e)?e:i);return e===Z(i)&&(r?Te(n,o)&&ce(e,"set",s,n):ce(e,"add",s,n)),a}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ce(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!re(s)||!gr.has(s))&&_t(e,"has",s),n}ownKeys(e){return _t(e,"iterate",H(e)?"length":je),Reflect.ownKeys(e)}}class br extends yr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Bf=new vr,Nf=new br,kf=new vr(!0),Uf=new br(!0),bi=t=>t,fn=t=>Reflect.getPrototypeOf(t);function Hf(t,e,s){return function(...n){const i=this.__v_raw,o=Z(i),r=ts(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?bi:e?Si:xt;return!e&&_t(o,"iterate",l?gi:je),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function dn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Kf(t,e){const s={get(i){const o=this.__v_raw,r=Z(o),a=Z(i);t||(Te(i,a)&&_t(r,"get",i),_t(r,"get",a));const{has:l}=fn(r),u=e?bi:t?Si:xt;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&&_t(Z(i),"iterate",je),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=Z(o),a=Z(i);return t||(Te(i,a)&&_t(r,"has",i),_t(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=Z(a),u=e?bi:t?Si:xt;return!t&&_t(l,"iterate",je),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return gt(s,t?{add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear")}:{add(i){!e&&!Nt(i)&&!Be(i)&&(i=Z(i));const o=Z(this);return fn(o).has.call(o,i)||(o.add(i),ce(o,"add",i,i)),this},set(i,o){!e&&!Nt(o)&&!Be(o)&&(o=Z(o));const r=Z(this),{has:a,get:l}=fn(r);let u=a.call(r,i);u||(i=Z(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?Te(o,c)&&ce(r,"set",i,o):ce(r,"add",i,o),this},delete(i){const o=Z(this),{has:r,get:a}=fn(o);let l=r.call(o,i);l||(i=Z(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&ce(o,"delete",i,void 0),u},clear(){const i=Z(this),o=i.size!==0,r=i.clear();return o&&ce(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Hf(i,t,e)}),s}function hn(t,e){const s=Kf(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 Wf={get:hn(!1,!1)},Gf={get:hn(!1,!0)},zf={get:hn(!0,!1)},qf={get:hn(!0,!0)},_r=new WeakMap,xr=new WeakMap,Sr=new WeakMap,Tr=new WeakMap;function Yf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xf(t){return t.__v_skip||!Object.isExtensible(t)?0:Yf(_f(t))}function _i(t){return Be(t)?t:mn(t,!1,Bf,Wf,_r)}function Zf(t){return mn(t,!1,kf,Gf,xr)}function wr(t){return mn(t,!0,Nf,zf,Sr)}function pn(t){return mn(t,!0,Uf,qf,Tr)}function mn(t,e,s,n,i){if(!lt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=Xf(t);if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function ss(t){return Be(t)?ss(t.__v_raw):!!(t&&t.__v_isReactive)}function Be(t){return!!(t&&t.__v_isReadonly)}function Nt(t){return!!(t&&t.__v_isShallow)}function xi(t){return t?!!t.__v_raw:!1}function Z(t){const e=t&&t.__v_raw;return e?Z(e):t}function Jf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&er(t,"__v_skip",!0),t}const xt=t=>lt(t)?_i(t):t,Si=t=>lt(t)?wr(t):t;function yt(t){return t?t.__v_isRef===!0:!1}function ns(t){return Qf(t,!1)}function Qf(t,e){return yt(t)?t:new td(t,e)}class td{constructor(e,s){this.dep=new pi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Z(e),this._value=s?e:xt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Nt(e)||Be(e);e=n?e:Z(e),Te(e,s)&&(this._rawValue=e,this._value=n?e:xt(e),this.dep.trigger())}}function Ar(t){return yt(t)?t.value:t}const ed={get:(t,e,s)=>e==="__v_raw"?t:Ar(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return yt(i)&&!yt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Pr(t){return ss(t)?t:new Proxy(t,ed)}class sd{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new pi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bs-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 lr(this,!0),!0}get value(){const e=this.dep.track();return fr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function nd(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new sd(n,i,s)}const gn={},yn=new WeakMap;let Ne;function id(t,e=!1,s=Ne){if(s){let n=yn.get(s);n||yn.set(s,n=[]),n.push(t)}}function od(t,e,s=it){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=P=>i?P:Nt(P)||i===!1||i===0?we(P,1):we(P);let c,f,d,p,y=!1,b=!1;if(yt(t)?(f=()=>t.value,y=Nt(t)):ss(t)?(f=()=>u(t),y=!0):H(t)?(b=!0,y=t.some(P=>ss(P)||Nt(P)),f=()=>t.map(P=>{if(yt(P))return P.value;if(ss(P))return u(P);if(W(P))return l?l(P,2):P()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){ae();try{d()}finally{le()}}const P=Ne;Ne=c;try{return l?l(t,3,[p]):t(p)}finally{Ne=P}}:f=Wt,e&&i){const P=f,C=i===!0?1/0:i;f=()=>we(P(),C)}const A=Of(),_=()=>{c.stop(),A&&A.active&&ni(A.effects,c)};if(o&&e){const P=e;e=(...C)=>{P(...C),_()}}let V=b?new Array(t.length).fill(gn):gn;const L=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(e){const C=c.run();if(i||y||(b?C.some((N,z)=>Te(N,V[z])):Te(C,V))){d&&d();const N=Ne;Ne=c;try{const z=[C,V===gn?void 0:b&&V[0]===gn?[]:V,p];l?l(e,3,z):e(...z),V=C}finally{Ne=N}}}else c.run()};return a&&a(L),c=new rr(f),c.scheduler=r?()=>r(L,!1):L,p=P=>id(P,!1,c),d=c.onStop=()=>{const P=yn.get(c);if(P){if(l)l(P,4);else for(const C of P)C();yn.delete(c)}},e?n?L(!0):V=c.run():r?r(L.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function we(t,e=1/0,s){if(e<=0||!lt(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,yt(t))we(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)we(t[n],e,s);else if(Zo(t)||ts(t))t.forEach(n=>{we(n,e,s)});else if(tr(t)){for(const n in t)we(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&we(t[n],e,s)}return t}var Ae={NODE_ENV:"production"};const Ss=[];let Ti=!1;function rd(t,...e){if(Ti)return;Ti=!0,ae();const s=Ss.length?Ss[Ss.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=ad();if(n)is(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(`
5
+ **//*! #__NO_SIDE_EFFECTS__ */function $e(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const it={},ts=[],Wt=()=>{},vf=()=>!1,rn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),si=t=>t.startsWith("onUpdate:"),gt=Object.assign,ni=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},bf=Object.prototype.hasOwnProperty,tt=(t,e)=>bf.call(t,e),H=Array.isArray,es=t=>an(t)==="[object Map]",Zo=t=>an(t)==="[object Set]",W=t=>typeof t=="function",ct=t=>typeof t=="string",re=t=>typeof t=="symbol",lt=t=>t!==null&&typeof t=="object",Jo=t=>(lt(t)||W(t))&&W(t.then)&&W(t.catch),Qo=Object.prototype.toString,an=t=>Qo.call(t),_f=t=>an(t).slice(8,-1),tr=t=>an(t)==="[object Object]",ii=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ys=$e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ln=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},xf=/-(\w)/g,Bt=ln(t=>t.replace(xf,(e,s)=>s?s.toUpperCase():"")),Sf=/\B([A-Z])/g,Ie=ln(t=>t.replace(Sf,"-$1").toLowerCase()),cn=ln(t=>t.charAt(0).toUpperCase()+t.slice(1)),oi=ln(t=>t?`on${cn(t)}`:""),Te=(t,e)=>!Object.is(t,e),ri=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},er=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Tf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},wf=t=>{const e=ct(t)?Number(t):NaN;return isNaN(e)?t:e};let sr;const un=()=>sr||(sr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ai(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ct(n)?Ef(n):ai(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ct(t)||lt(t))return t}const Af=/;(?![^(]*\))/g,Pf=/:([^]+)/,Cf=/\/\*[^]*?\*\//g;function Ef(t){const e={};return t.replace(Cf,"").split(Af).forEach(s=>{if(s){const n=s.split(Pf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ct(t){let e="";if(ct(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(lt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Mf=$e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function nr(t){return!!t||t===""}const ir=t=>!!(t&&t.__v_isRef===!0),Z=t=>ct(t)?t:t==null?"":H(t)||lt(t)&&(t.toString===Qo||!W(t.toString))?ir(t)?Z(t.value):JSON.stringify(t,or,2):String(t),or=(t,e)=>ir(e)?or(t,e.value):es(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[li(n,o)+" =>"]=i,s),{})}:Zo(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>li(s))}:re(e)?li(e):lt(e)&&!H(e)&&!tr(e)?String(e):e,li=(t,e="")=>{var s;return re(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Vf={NODE_ENV:"production"};let Ot;class Df{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.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=Ot;try{return Ot=this,e()}finally{Ot=s}}}on(){Ot=this}off(){Ot=this.parent}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 Of(){return Ot}let ot;const ci=new WeakSet;class rr{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,Ot&&Ot.active&&Ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ci.has(this)&&(ci.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||lr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hr(this),cr(this);const e=ot,s=Gt;ot=this,Gt=!0;try{return this.fn()}finally{ur(this),ot=e,Gt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)hi(e);this.deps=this.depsTail=void 0,hr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ci.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){di(this)&&this.run()}get dirty(){return di(this)}}let ar=0,vs,bs;function lr(t,e=!1){if(t.flags|=8,e){t.next=bs,bs=t;return}t.next=vs,vs=t}function ui(){ar++}function fi(){if(--ar>0)return;if(bs){let e=bs;for(bs=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;vs;){let e=vs;for(vs=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 cr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ur(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),hi(n),Rf(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function di(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(fr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function fr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===_s))return;t.globalVersion=_s;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!di(t)){t.flags&=-3;return}const s=ot,n=Gt;ot=t,Gt=!0;try{cr(t);const i=t.fn(t._value);(e.version===0||Te(i,t._value))&&(t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ot=s,Gt=n,ur(t),t.flags&=-3}}function hi(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)hi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Rf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Gt=!0;const dr=[];function ae(){dr.push(Gt),Gt=!1}function le(){const t=dr.pop();Gt=t===void 0?!0:t}function hr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ot;ot=void 0;try{e()}finally{ot=s}}}let _s=0;class Lf{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 pi{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||!Gt||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new Lf(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,pr(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++,_s++,this.notify(e)}notify(e){ui();try{Vf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{fi()}}}function pr(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)pr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const mi=new WeakMap,je=Symbol(""),gi=Symbol(""),xs=Symbol("");function xt(t,e,s){if(Gt&&ot){let n=mi.get(t);n||mi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new pi),i.map=n,i.key=s),i.track()}}function ce(t,e,s,n,i,o){const r=mi.get(t);if(!r){_s++;return}const a=l=>{l&&l.trigger()};if(ui(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&ii(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,d)=>{(d==="length"||d===xs||!re(d)&&d>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(xs)),e){case"add":l?u&&a(r.get("length")):(a(r.get(je)),es(t)&&a(r.get(gi)));break;case"delete":l||(a(r.get(je)),es(t)&&a(r.get(gi)));break;case"set":es(t)&&a(r.get(je));break}}fi()}function ss(t){const e=J(t);return e===t?e:(xt(e,"iterate",xs),Nt(t)?e:e.map(St))}function fn(t){return xt(t=J(t),"iterate",xs),t}const Ff={__proto__:null,[Symbol.iterator](){return yi(this,Symbol.iterator,St)},concat(...t){return ss(this).concat(...t.map(e=>H(e)?ss(e):e))},entries(){return yi(this,"entries",t=>(t[1]=St(t[1]),t))},every(t,e){return ue(this,"every",t,e,void 0,arguments)},filter(t,e){return ue(this,"filter",t,e,s=>s.map(St),arguments)},find(t,e){return ue(this,"find",t,e,St,arguments)},findIndex(t,e){return ue(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ue(this,"findLast",t,e,St,arguments)},findLastIndex(t,e){return ue(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ue(this,"forEach",t,e,void 0,arguments)},includes(...t){return vi(this,"includes",t)},indexOf(...t){return vi(this,"indexOf",t)},join(t){return ss(this).join(t)},lastIndexOf(...t){return vi(this,"lastIndexOf",t)},map(t,e){return ue(this,"map",t,e,void 0,arguments)},pop(){return Ss(this,"pop")},push(...t){return Ss(this,"push",t)},reduce(t,...e){return mr(this,"reduce",t,e)},reduceRight(t,...e){return mr(this,"reduceRight",t,e)},shift(){return Ss(this,"shift")},some(t,e){return ue(this,"some",t,e,void 0,arguments)},splice(...t){return Ss(this,"splice",t)},toReversed(){return ss(this).toReversed()},toSorted(t){return ss(this).toSorted(t)},toSpliced(...t){return ss(this).toSpliced(...t)},unshift(...t){return Ss(this,"unshift",t)},values(){return yi(this,"values",St)}};function yi(t,e,s){const n=fn(t),i=n[e]();return n!==t&&!Nt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=s(o.value)),o}),i}const $f=Array.prototype;function ue(t,e,s,n,i,o){const r=fn(t),a=r!==t&&!Nt(t),l=r[e];if(l!==$f[e]){const f=l.apply(t,o);return a?St(f):f}let u=s;r!==t&&(a?u=function(f,d){return s.call(this,St(f),d,t)}:s.length>2&&(u=function(f,d){return s.call(this,f,d,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function mr(t,e,s,n){const i=fn(t);let o=s;return i!==t&&(Nt(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,St(a),l,t)}),i[e](o,...n)}function vi(t,e,s){const n=J(t);xt(n,"iterate",xs);const i=n[e](...s);return(i===-1||i===!1)&&xi(s[0])?(s[0]=J(s[0]),n[e](...s)):i}function Ss(t,e,s=[]){ae(),ui();const n=J(t)[e].apply(t,s);return fi(),le(),n}const If=$e("__proto__,__v_isRef,__isVue"),gr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(re));function jf(t){re(t)||(t=String(t));const e=J(this);return xt(e,"has",t),e.hasOwnProperty(t)}class yr{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?Tr:Sr:o?xr:_r).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Ff[s]))return l;if(s==="hasOwnProperty")return jf}const a=Reflect.get(e,s,vt(e)?e:n);return(re(s)?gr.has(s):If(s))||(i||xt(e,"get",s),o)?a:vt(a)?r&&ii(s)?a:a.value:lt(a)?i?wr(a):_i(a):a}}class vr extends yr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];if(!this._isShallow){const l=Be(o);if(!Nt(n)&&!Be(n)&&(o=J(o),n=J(n)),!H(e)&&vt(o)&&!vt(n))return l?!1:(o.value=n,!0)}const r=H(e)&&ii(s)?Number(s)<e.length:tt(e,s),a=Reflect.set(e,s,n,vt(e)?e:i);return e===J(i)&&(r?Te(n,o)&&ce(e,"set",s,n):ce(e,"add",s,n)),a}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ce(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!re(s)||!gr.has(s))&&xt(e,"has",s),n}ownKeys(e){return xt(e,"iterate",H(e)?"length":je),Reflect.ownKeys(e)}}class br extends yr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Bf=new vr,Nf=new br,kf=new vr(!0),Uf=new br(!0),bi=t=>t,dn=t=>Reflect.getPrototypeOf(t);function Hf(t,e,s){return function(...n){const i=this.__v_raw,o=J(i),r=es(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?bi:e?Si:St;return!e&&xt(o,"iterate",l?gi:je),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function hn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Kf(t,e){const s={get(i){const o=this.__v_raw,r=J(o),a=J(i);t||(Te(i,a)&&xt(r,"get",i),xt(r,"get",a));const{has:l}=dn(r),u=e?bi:t?Si:St;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&&xt(J(i),"iterate",je),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=J(o),a=J(i);return t||(Te(i,a)&&xt(r,"has",i),xt(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?bi:t?Si:St;return!t&&xt(l,"iterate",je),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return gt(s,t?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(i){!e&&!Nt(i)&&!Be(i)&&(i=J(i));const o=J(this);return dn(o).has.call(o,i)||(o.add(i),ce(o,"add",i,i)),this},set(i,o){!e&&!Nt(o)&&!Be(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?Te(o,c)&&ce(r,"set",i,o):ce(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&&ce(o,"delete",i,void 0),u},clear(){const i=J(this),o=i.size!==0,r=i.clear();return o&&ce(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Hf(i,t,e)}),s}function pn(t,e){const s=Kf(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 Wf={get:pn(!1,!1)},Gf={get:pn(!1,!0)},zf={get:pn(!0,!1)},qf={get:pn(!0,!0)},_r=new WeakMap,xr=new WeakMap,Sr=new WeakMap,Tr=new WeakMap;function Yf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xf(t){return t.__v_skip||!Object.isExtensible(t)?0:Yf(_f(t))}function _i(t){return Be(t)?t:gn(t,!1,Bf,Wf,_r)}function Zf(t){return gn(t,!1,kf,Gf,xr)}function wr(t){return gn(t,!0,Nf,zf,Sr)}function mn(t){return gn(t,!0,Uf,qf,Tr)}function gn(t,e,s,n,i){if(!lt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=Xf(t);if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function ns(t){return Be(t)?ns(t.__v_raw):!!(t&&t.__v_isReactive)}function Be(t){return!!(t&&t.__v_isReadonly)}function Nt(t){return!!(t&&t.__v_isShallow)}function xi(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function Jf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&er(t,"__v_skip",!0),t}const St=t=>lt(t)?_i(t):t,Si=t=>lt(t)?wr(t):t;function vt(t){return t?t.__v_isRef===!0:!1}function is(t){return Qf(t,!1)}function Qf(t,e){return vt(t)?t:new td(t,e)}class td{constructor(e,s){this.dep=new pi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:St(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Nt(e)||Be(e);e=n?e:J(e),Te(e,s)&&(this._rawValue=e,this._value=n?e:St(e),this.dep.trigger())}}function Ar(t){return vt(t)?t.value:t}const ed={get:(t,e,s)=>e==="__v_raw"?t:Ar(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return vt(i)&&!vt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Pr(t){return ns(t)?t:new Proxy(t,ed)}class sd{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new pi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_s-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 lr(this,!0),!0}get value(){const e=this.dep.track();return fr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function nd(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new sd(n,i,s)}const yn={},vn=new WeakMap;let Ne;function id(t,e=!1,s=Ne){if(s){let n=vn.get(s);n||vn.set(s,n=[]),n.push(t)}}function od(t,e,s=it){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=P=>i?P:Nt(P)||i===!1||i===0?we(P,1):we(P);let c,f,d,p,y=!1,b=!1;if(vt(t)?(f=()=>t.value,y=Nt(t)):ns(t)?(f=()=>u(t),y=!0):H(t)?(b=!0,y=t.some(P=>ns(P)||Nt(P)),f=()=>t.map(P=>{if(vt(P))return P.value;if(ns(P))return u(P);if(W(P))return l?l(P,2):P()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){ae();try{d()}finally{le()}}const P=Ne;Ne=c;try{return l?l(t,3,[p]):t(p)}finally{Ne=P}}:f=Wt,e&&i){const P=f,C=i===!0?1/0:i;f=()=>we(P(),C)}const A=Of(),_=()=>{c.stop(),A&&A.active&&ni(A.effects,c)};if(o&&e){const P=e;e=(...C)=>{P(...C),_()}}let V=b?new Array(t.length).fill(yn):yn;const L=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(e){const C=c.run();if(i||y||(b?C.some((k,z)=>Te(k,V[z])):Te(C,V))){d&&d();const k=Ne;Ne=c;try{const z=[C,V===yn?void 0:b&&V[0]===yn?[]:V,p];l?l(e,3,z):e(...z),V=C}finally{Ne=k}}}else c.run()};return a&&a(L),c=new rr(f),c.scheduler=r?()=>r(L,!1):L,p=P=>id(P,!1,c),d=c.onStop=()=>{const P=vn.get(c);if(P){if(l)l(P,4);else for(const C of P)C();vn.delete(c)}},e?n?L(!0):V=c.run():r?r(L.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function we(t,e=1/0,s){if(e<=0||!lt(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,vt(t))we(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)we(t[n],e,s);else if(Zo(t)||es(t))t.forEach(n=>{we(n,e,s)});else if(tr(t)){for(const n in t)we(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&we(t[n],e,s)}return t}var Ae={NODE_ENV:"production"};const Ts=[];let Ti=!1;function rd(t,...e){if(Ti)return;Ti=!0,ae();const s=Ts.length?Ts[Ts.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=ad();if(n)os(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
- `,...ld(i)),console.warn(...o)}le(),Ti=!1}function ad(){let t=Ss[Ss.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 ld(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
8
- `],...cd(s))}),e}function cd({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,...ud(t.props),o]:[i+o]}function ud(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Cr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Cr(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}`]:yt(e)?(e=Cr(t,Z(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Z(e),s?e:[`${t}=`,e])}function is(t,e,s,n){try{return n?t(...n):t()}catch(i){vn(i,e,s)}}function zt(t,e,s,n){if(W(t)){const i=is(t,e,s,n);return i&&Jo(i)&&i.catch(o=>{vn(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(zt(t[o],e,s,n));return i}}function vn(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){ae(),is(o,null,10,[t,l,u]),le();return}}fd(t,s,i,n,r)}function fd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Et=[];let qt=-1;const os=[];let Pe=null,rs=0;const Er=Promise.resolve();let bn=null;function dd(t){const e=bn||Er;return t?e.then(this?t.bind(this):t):e}function hd(t){let e=qt+1,s=Et.length;for(;e<s;){const n=e+s>>>1,i=Et[n],o=Ts(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function wi(t){if(!(t.flags&1)){const e=Ts(t),s=Et[Et.length-1];!s||!(t.flags&2)&&e>=Ts(s)?Et.push(t):Et.splice(hd(e),0,t),t.flags|=1,Mr()}}function Mr(){bn||(bn=Er.then(Or))}function pd(t){H(t)?os.push(...t):Pe&&t.id===-1?Pe.splice(rs+1,0,t):t.flags&1||(os.push(t),t.flags|=1),Mr()}function Vr(t,e,s=qt+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 Dr(t){if(os.length){const e=[...new Set(os)].sort((s,n)=>Ts(s)-Ts(n));if(os.length=0,Pe){Pe.push(...e);return}for(Pe=e,rs=0;rs<Pe.length;rs++){const s=Pe[rs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Pe=null,rs=0}}const Ts=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Or(t){const e=Wt;try{for(qt=0;qt<Et.length;qt++){const s=Et[qt];s&&!(s.flags&8)&&(Ae.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),is(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;qt<Et.length;qt++){const s=Et[qt];s&&(s.flags&=-2)}qt=-1,Et.length=0,Dr(),bn=null,(Et.length||os.length)&&Or()}}let St=null,Rr=null;function _n(t){const e=St;return St=t,Rr=t&&t.type.__scopeId||null,e}function xn(t,e=St,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&_a(-1);const o=_n(e);let r;try{r=t(...i)}finally{_n(o),n._d&&_a(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function ke(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&&(ae(),zt(l,s,8,[t.el,a,t,e]),le())}}const md=Symbol("_vte"),Lr=t=>t.__isTeleport,Ce=Symbol("_leaveCb"),Sn=Symbol("_enterCb");function gd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ci(()=>{t.isMounted=!0}),Ei(()=>{t.isUnmounting=!0}),t}const kt=[Function,Array],Fr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},$r=t=>{const e=t.subTree;return e.component?$r(e.component):e},yd={name:"BaseTransition",props:Fr,setup(t,{slots:e}){const s=Ni(),n=gd();return()=>{const i=e.default&&Nr(e.default(),!0);if(!i||!i.length)return;const o=Ir(i),r=Z(t),{mode:a}=r;if(n.isLeaving)return Pi(o);const l=Br(o);if(!l)return Pi(o);let u=Ai(l,r,n,s,f=>u=f);l.type!==Tt&&ws(l,u);let c=s.subTree&&Br(s.subTree);if(c&&c.type!==Tt&&!He(l,c)&&$r(s).type!==Tt){let f=Ai(c,r,n,s);if(ws(c,f),a==="out-in"&&l.type!==Tt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Pi(o);a==="in-out"&&l.type!==Tt?f.delayLeave=(d,p,y)=>{const b=jr(n,c);b[String(c.key)]=c,d[Ce]=()=>{p(),d[Ce]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Ir(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==Tt){e=s;break}}return e}const vd=yd;function jr(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 Ai(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:A,onAppear:_,onAfterAppear:V,onAppearCancelled:L}=e,P=String(t.key),C=jr(s,t),N=(R,G)=>{R&&zt(R,n,9,G)},z=(R,G)=>{const Y=G[1];N(R,G),H(R)?R.every(F=>F.length<=1)&&Y():R.length<=1&&Y()},I={mode:r,persisted:a,beforeEnter(R){let G=l;if(!s.isMounted)if(o)G=A||l;else return;R[Ce]&&R[Ce](!0);const Y=C[P];Y&&He(t,Y)&&Y.el[Ce]&&Y.el[Ce](),N(G,[R])},enter(R){let G=u,Y=c,F=f;if(!s.isMounted)if(o)G=_||u,Y=V||c,F=L||f;else return;let st=!1;const bt=R[Sn]=Qt=>{st||(st=!0,Qt?N(F,[R]):N(Y,[R]),I.delayedLeave&&I.delayedLeave(),R[Sn]=void 0)};G?z(G,[R,bt]):bt()},leave(R,G){const Y=String(t.key);if(R[Sn]&&R[Sn](!0),s.isUnmounting)return G();N(d,[R]);let F=!1;const st=R[Ce]=bt=>{F||(F=!0,G(),bt?N(b,[R]):N(y,[R]),R[Ce]=void 0,C[Y]===t&&delete C[Y])};C[Y]=t,p?z(p,[R,st]):st()},clone(R){const G=Ai(R,e,s,n,i);return i&&i(G),G}};return I}function Pi(t){if(wn(t))return t=de(t),t.children=null,t}function Br(t){if(!wn(t))return Lr(t.type)&&t.children?Ir(t.children):t;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function ws(t,e){t.shapeFlag&6&&t.component?(t.transition=e,ws(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 Nr(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(Nr(r.children,e,a))):(e||r.type!==Tt)&&n.push(a!=null?de(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 bd(t,e){return W(t)?gt({name:t.name},e,{setup:t}):t}function kr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Tn(t,e,s,n,i=!1){if(H(t)){t.forEach((y,b)=>Tn(y,e&&(H(e)?e[b]:e),s,n,i));return}if(as(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Tn(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Ui(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,d=Z(f),p=f===it?()=>!1:y=>tt(d,y);if(u!=null&&u!==l&&(ct(u)?(c[u]=null,p(u)&&(f[u]=null)):yt(u)&&(u.value=null)),W(l))is(l,a,12,[r,c]);else{const y=ct(l),b=yt(l);if(y||b){const A=()=>{if(t.f){const _=y?p(l)?f[l]:c[l]:l.value;i?H(_)&&ni(_,o):H(_)?_.includes(o)||_.push(o):y?(c[l]=[o],p(l)&&(f[l]=c[l])):(l.value=[o],t.k&&(c[t.k]=l.value))}else y?(c[l]=r,p(l)&&(f[l]=r)):b&&(l.value=r,t.k&&(c[t.k]=r))};r?(A.id=-1,Rt(A,s)):A()}}}cn().requestIdleCallback,cn().cancelIdleCallback;const as=t=>!!t.type.__asyncLoader,wn=t=>t.type.__isKeepAlive;function _d(t,e){Ur(t,"a",e)}function xd(t,e){Ur(t,"da",e)}function Ur(t,e,s=mt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(An(e,n,s),s){let i=s.parent;for(;i&&i.parent;)wn(i.parent.vnode)&&Sd(n,e,s,i),i=i.parent}}function Sd(t,e,s,n){const i=An(e,t,n,!0);Mi(()=>{ni(n[e],i)},s)}function An(t,e,s=mt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ae();const a=Os(s),l=zt(e,s,t,r);return a(),le(),l});return n?i.unshift(o):i.push(o),o}}const fe=t=>(e,s=mt)=>{(!Rs||t==="sp")&&An(t,(...n)=>e(...n),s)},Hr=fe("bm"),Ci=fe("m"),Kr=fe("bu"),Wr=fe("u"),Ei=fe("bum"),Mi=fe("um"),Td=fe("sp"),wd=fe("rtg"),Ad=fe("rtc");function Pd(t,e=mt){An("ec",t,e)}const Cd="components",Gr=Symbol.for("v-ndc");function Ed(t){return ct(t)?Md(Cd,t,!1)||t:t||Gr}function Md(t,e,s=!0,n=!1){const i=St||mt;if(i){const o=i.type;{const a=Ma(o,!1);if(a&&(a===e||a===Bt(e)||a===ln(Bt(e))))return o}const r=zr(i[t]||o[t],e)||zr(i.appContext[t],e);return!r&&n?o:r}}function zr(t,e){return t&&(t[e]||t[Bt(e)]||t[ln(Bt(e))])}function Ee(t,e,s,n){let i;const o=s,r=H(t);if(r||ct(t)){const a=r&&ss(t);let l=!1;a&&(l=!Nt(t),t=un(t)),i=new Array(t.length);for(let u=0,c=t.length;u<c;u++)i[u]=e(l?xt(t[u]):t[u],u,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(lt(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 Vd(t,e,s={},n,i){if(St.ce||St.parent&&as(St.parent)&&St.parent.ce)return $(),Ft(ut,null,[et("slot",s,n)],64);let o=t[e];o&&o._c&&(o._d=!1),$();const r=o&&qr(o(s)),a=s.key||r&&r.key,l=Ft(ut,{key:(a&&!re(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 qr(t){return t.some(e=>Vs(e)?!(e.type===Tt||e.type===ut&&!qr(e.children)):!0)?t:null}const Vi=t=>t?Aa(t)?Ui(t):Vi(t.parent):null,As=gt(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=>Vi(t.parent),$root:t=>Vi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Jr(t),$forceUpdate:t=>t.f||(t.f=()=>{wi(t.update)}),$nextTick:t=>t.n||(t.n=dd.bind(t.proxy)),$watch:t=>th.bind(t)}),Di=(t,e)=>t!==it&&!t.__isScriptSetup&&tt(t,e),Dd={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(Di(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];Oi&&(r[e]=0)}}const c=As[e];let f,d;if(c)return e==="$attrs"&&_t(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(d=l.config.globalProperties,tt(d,e))return d[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Di(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)||Di(e,r)||(a=o[0])&&tt(a,r)||tt(n,r)||tt(As,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 Od(){return Rd().attrs}function Rd(){const t=Ni();return t.setupContext||(t.setupContext=Ea(t))}function Yr(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Oi=!0;function Ld(t){const e=Jr(t),s=t.proxy,n=t.ctx;Oi=!1,e.beforeCreate&&Xr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:y,activated:b,deactivated:A,beforeDestroy:_,beforeUnmount:V,destroyed:L,unmounted:P,render:C,renderTracked:N,renderTriggered:z,errorCaptured:I,serverPrefetch:R,expose:G,inheritAttrs:Y,components:F,directives:st,filters:bt}=e;if(u&&Fd(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);lt(Q)&&(t.data=_i(Q))}if(Oi=!0,o)for(const Q in o){const q=o[Q],te=W(q)?q.bind(s,s):W(q.get)?q.get.bind(s,s):Wt,Ze=!W(q)&&W(q.set)?q.set.bind(s):Wt,ee=wt({get:te,set:Ze});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>ee.value,set:$t=>ee.value=$t})}if(a)for(const Q in a)Zr(a[Q],n,s,Q);if(l){const Q=W(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(q=>{Li(q,Q[q])})}c&&Xr(c,t,"c");function pt(Q,q){H(q)?q.forEach(te=>Q(te.bind(s))):q&&Q(q.bind(s))}if(pt(Hr,f),pt(Ci,d),pt(Kr,p),pt(Wr,y),pt(_d,b),pt(xd,A),pt(Pd,I),pt(Ad,N),pt(wd,z),pt(Ei,V),pt(Mi,P),pt(Td,R),H(G))if(G.length){const Q=t.exposed||(t.exposed={});G.forEach(q=>{Object.defineProperty(Q,q,{get:()=>s[q],set:te=>s[q]=te})})}else t.exposed||(t.exposed={});C&&t.render===Wt&&(t.render=C),Y!=null&&(t.inheritAttrs=Y),F&&(t.components=F),st&&(t.directives=st),R&&kr(t)}function Fd(t,e,s=Wt){H(t)&&(t=Ri(t));for(const n in t){const i=t[n];let o;lt(i)?"default"in i?o=Cs(i.from||n,i.default,!0):o=Cs(i.from||n):o=Cs(i),yt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function Xr(t,e,s){zt(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Zr(t,e,s,n){let i=n.includes(".")?ma(s,n):()=>s[n];if(ct(t)){const o=e[t];W(o)&&Cn(i,o)}else if(W(t))Cn(i,t.bind(s));else if(lt(t))if(H(t))t.forEach(o=>Zr(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Cn(i,o,t)}}function Jr(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=>Pn(l,u,r,!0)),Pn(l,e,r)),lt(e)&&o.set(e,l),l}function Pn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Pn(t,o,s,!0),i&&i.forEach(r=>Pn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=$d[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const $d={data:Qr,props:ta,emits:ta,methods:Ps,computed:Ps,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:Ps,directives:Ps,watch:jd,provide:Qr,inject:Id};function Qr(t,e){return e?t?function(){return gt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Id(t,e){return Ps(Ri(t),Ri(e))}function Ri(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 Ps(t,e){return t?gt(Object.create(null),t,e):e}function ta(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:gt(Object.create(null),Yr(t),Yr(e??{})):e}function jd(t,e){if(!t)return e;if(!e)return t;const s=gt(Object.create(null),t);for(const n in e)s[n]=Mt(t[n],e[n]);return s}function ea(){return{app:null,config:{isNativeTag:vf,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 Bd=0;function Nd(t,e){return function(n,i=null){W(n)||(n=gt({},n)),i!=null&&!lt(i)&&(i=null);const o=ea(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Bd++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:xh,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,d){if(!l){const p=u._ceVNode||et(n,i);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(p,c,d),l=!0,u._container=c,c.__vue_app__=u,Ui(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(zt(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=ls;ls=u;try{return c()}finally{ls=f}}};return u}}let ls=null;function Li(t,e){if(mt){let s=mt.provides;const n=mt.parent&&mt.parent.provides;n===s&&(s=mt.provides=Object.create(n)),s[t]=e}}function Cs(t,e,s=!1){const n=mt||St;if(n||ls){const i=ls?ls._context.provides:n?n.parent==null?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 sa={},na=()=>Object.create(sa),ia=t=>Object.getPrototypeOf(t)===sa;function kd(t,e,s,n=!1){const i={},o=na();t.propsDefaults=Object.create(null),oa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Zf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Ud(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Z(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 d=c[f];if(En(t.emitsOptions,d))continue;const p=e[d];if(l)if(tt(o,d))p!==o[d]&&(o[d]=p,u=!0);else{const y=Bt(d);i[y]=Fi(l,a,y,p,t,!1)}else p!==o[d]&&(o[d]=p,u=!0)}}}else{oa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=Ie(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Fi(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&&ce(t.attrs,"set","")}function oa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(gs(l))continue;const u=e[l];let c;i&&tt(i,c=Bt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:En(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=Z(s),u=a||it;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Fi(i,l,f,u[f],t,!tt(u,f))}}return r}function Fi(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=Os(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===Ie(s))&&(n=!0))}return n}const Hd=new WeakMap;function ra(t,e,s=!1){const n=s?Hd: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[d,p]=ra(f,e,!0);gt(r,d),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 lt(t)&&n.set(t,Qe),Qe;if(H(o))for(let c=0;c<o.length;c++){const f=Bt(o[c]);aa(f)&&(r[f]=it)}else if(o)for(const c in o){const f=Bt(c);if(aa(f)){const d=o[c],p=r[f]=H(d)||W(d)?{type:d}:gt({},d),y=p.type;let b=!1,A=!0;if(H(y))for(let _=0;_<y.length;++_){const V=y[_],L=W(V)&&V.name;if(L==="Boolean"){b=!0;break}else L==="String"&&(A=!1)}else b=W(y)&&y.name==="Boolean";p[0]=b,p[1]=A,(b||tt(p,"default"))&&a.push(f)}}const u=[r,a];return lt(t)&&n.set(t,u),u}function aa(t){return t[0]!=="$"&&!gs(t)}const la=t=>t[0]==="_"||t==="$stable",$i=t=>H(t)?t.map(Yt):[Yt(t)],Kd=(t,e,s)=>{if(e._n)return e;const n=xn((...i)=>(Ae.NODE_ENV!=="production"&&mt&&(!s||(s.root,mt.root)),$i(e(...i))),s);return n._c=!1,n},ca=(t,e,s)=>{const n=t._ctx;for(const i in t){if(la(i))continue;const o=t[i];if(W(o))e[i]=Kd(i,o,n);else if(o!=null){const r=$i(o);e[i]=()=>r}}},ua=(t,e)=>{const s=$i(e);t.slots.default=()=>s},fa=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},Wd=(t,e,s)=>{const n=t.slots=na();if(t.vnode.shapeFlag&32){const i=e._;i?(fa(n,e,s),s&&er(n,"_",i,!0)):ca(e,n)}else e&&ua(t,e)},Gd=(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)!la(a)&&r[a]==null&&delete i[a]},Rt=ah;function zd(t){return qd(t)}function qd(t,e){const s=cn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Wt,insertStaticContent:y}=t,b=(h,m,v,T=null,x=null,S=null,D=void 0,M=null,E=!!m.dynamicChildren)=>{if(h===m)return;h&&!He(h,m)&&(T=xe(h),$t(h,x,S,!0),h=null),m.patchFlag===-2&&(E=!1,m.dynamicChildren=null);const{type:w,ref:k,shapeFlag:O}=m;switch(w){case Mn:A(h,m,v,T);break;case Tt:_(h,m,v,T);break;case Vn:h==null&&V(m,v,T,D);break;case ut:F(h,m,v,T,x,S,D,M,E);break;default:O&1?C(h,m,v,T,x,S,D,M,E):O&6?st(h,m,v,T,x,S,D,M,E):(O&64||O&128)&&w.process(h,m,v,T,x,S,D,M,E,sn)}k!=null&&x&&Tn(k,h&&h.ref,S,m||h,!m)},A=(h,m,v,T)=>{if(h==null)n(m.el=a(m.children),v,T);else{const x=m.el=h.el;m.children!==h.children&&u(x,m.children)}},_=(h,m,v,T)=>{h==null?n(m.el=l(m.children||""),v,T):m.el=h.el},V=(h,m,v,T)=>{[h.el,h.anchor]=y(h.children,m,v,T,h.el,h.anchor)},L=({el:h,anchor:m},v,T)=>{let x;for(;h&&h!==m;)x=d(h),n(h,v,T),h=x;n(m,v,T)},P=({el:h,anchor:m})=>{let v;for(;h&&h!==m;)v=d(h),i(h),h=v;i(m)},C=(h,m,v,T,x,S,D,M,E)=>{m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),h==null?N(m,v,T,x,S,D,M,E):R(h,m,x,S,D,M,E)},N=(h,m,v,T,x,S,D,M)=>{let E,w;const{props:k,shapeFlag:O,transition:j,dirs:K}=h;if(E=h.el=r(h.type,S,k&&k.is,k),O&8?c(E,h.children):O&16&&I(h.children,E,null,T,x,Ii(h,S),D,M),K&&ke(h,null,T,"created"),z(E,h,h.scopeId,D,T),k){for(const at in k)at!=="value"&&!gs(at)&&o(E,at,null,k[at],S,T);"value"in k&&o(E,"value",null,k.value,S),(w=k.onVnodeBeforeMount)&&Xt(w,T,h)}K&&ke(h,null,T,"beforeMount");const X=Yd(x,j);X&&j.beforeEnter(E),n(E,m,v),((w=k&&k.onVnodeMounted)||X||K)&&Rt(()=>{w&&Xt(w,T,h),X&&j.enter(E),K&&ke(h,null,T,"mounted")},x)},z=(h,m,v,T,x)=>{if(v&&p(h,v),T)for(let S=0;S<T.length;S++)p(h,T[S]);if(x){let S=x.subTree;if(m===S||ba(S.type)&&(S.ssContent===m||S.ssFallback===m)){const D=x.vnode;z(h,D,D.scopeId,D.slotScopeIds,x.parent)}}},I=(h,m,v,T,x,S,D,M,E=0)=>{for(let w=E;w<h.length;w++){const k=h[w]=M?Me(h[w]):Yt(h[w]);b(null,k,m,v,T,x,S,D,M)}},R=(h,m,v,T,x,S,D)=>{const M=m.el=h.el;let{patchFlag:E,dynamicChildren:w,dirs:k}=m;E|=h.patchFlag&16;const O=h.props||it,j=m.props||it;let K;if(v&&Ue(v,!1),(K=j.onVnodeBeforeUpdate)&&Xt(K,v,m,h),k&&ke(m,h,v,"beforeUpdate"),v&&Ue(v,!0),(O.innerHTML&&j.innerHTML==null||O.textContent&&j.textContent==null)&&c(M,""),w?G(h.dynamicChildren,w,M,v,T,Ii(m,x),S):D||q(h,m,M,null,v,T,Ii(m,x),S,!1),E>0){if(E&16)Y(M,O,j,v,x);else if(E&2&&O.class!==j.class&&o(M,"class",null,j.class,x),E&4&&o(M,"style",O.style,j.style,x),E&8){const X=m.dynamicProps;for(let at=0;at<X.length;at++){const nt=X[at],It=O[nt],Dt=j[nt];(Dt!==It||nt==="value")&&o(M,nt,It,Dt,x,v)}}E&1&&h.children!==m.children&&c(M,m.children)}else!D&&w==null&&Y(M,O,j,v,x);((K=j.onVnodeUpdated)||k)&&Rt(()=>{K&&Xt(K,v,m,h),k&&ke(m,h,v,"updated")},T)},G=(h,m,v,T,x,S,D)=>{for(let M=0;M<m.length;M++){const E=h[M],w=m[M],k=E.el&&(E.type===ut||!He(E,w)||E.shapeFlag&70)?f(E.el):v;b(E,w,k,null,T,x,S,D,!0)}},Y=(h,m,v,T,x)=>{if(m!==v){if(m!==it)for(const S in m)!gs(S)&&!(S in v)&&o(h,S,m[S],null,x,T);for(const S in v){if(gs(S))continue;const D=v[S],M=m[S];D!==M&&S!=="value"&&o(h,S,M,D,x,T)}"value"in v&&o(h,"value",m.value,v.value,x)}},F=(h,m,v,T,x,S,D,M,E)=>{const w=m.el=h?h.el:a(""),k=m.anchor=h?h.anchor:a("");let{patchFlag:O,dynamicChildren:j,slotScopeIds:K}=m;K&&(M=M?M.concat(K):K),h==null?(n(w,v,T),n(k,v,T),I(m.children||[],v,k,x,S,D,M,E)):O>0&&O&64&&j&&h.dynamicChildren?(G(h.dynamicChildren,j,v,x,S,D,M),(m.key!=null||x&&m===x.subTree)&&da(h,m,!0)):q(h,m,v,k,x,S,D,M,E)},st=(h,m,v,T,x,S,D,M,E)=>{m.slotScopeIds=M,h==null?m.shapeFlag&512?x.ctx.activate(m,v,T,D,E):bt(m,v,T,x,S,D,E):Qt(h,m,E)},bt=(h,m,v,T,x,S,D)=>{const M=h.component=ph(h,T,x);if(wn(h)&&(M.ctx.renderer=sn),mh(M,!1,D),M.asyncDep){if(x&&x.registerDep(M,pt,D),!h.el){const E=M.subTree=et(Tt);_(null,E,m,v)}}else pt(M,h,m,v,x,S,D)},Qt=(h,m,v)=>{const T=m.component=h.component;if(oh(h,m,v))if(T.asyncDep&&!T.asyncResolved){Q(T,m,v);return}else T.next=m,T.update();else m.el=h.el,T.vnode=m},pt=(h,m,v,T,x,S,D)=>{const M=()=>{if(h.isMounted){let{next:O,bu:j,u:K,parent:X,vnode:at}=h;{const ie=ha(h);if(ie){O&&(O.el=at.el,Q(h,O,D)),ie.asyncDep.then(()=>{h.isUnmounted||M()});return}}let nt=O,It;Ue(h,!1),O?(O.el=at.el,Q(h,O,D)):O=at,j&&ri(j),(It=O.props&&O.props.onVnodeBeforeUpdate)&&Xt(It,X,O,at),Ue(h,!0);const Dt=ya(h),ne=h.subTree;h.subTree=Dt,b(ne,Dt,f(ne.el),xe(ne),h,x,S),O.el=Dt.el,nt===null&&rh(h,Dt.el),K&&Rt(K,x),(It=O.props&&O.props.onVnodeUpdated)&&Rt(()=>Xt(It,X,O,at),x)}else{let O;const{el:j,props:K}=m,{bm:X,m:at,parent:nt,root:It,type:Dt}=h,ne=as(m);Ue(h,!1),X&&ri(X),!ne&&(O=K&&K.onVnodeBeforeMount)&&Xt(O,nt,m),Ue(h,!0);{It.ce&&It.ce._injectChildStyle(Dt);const ie=h.subTree=ya(h);b(null,ie,v,T,h,x,S),m.el=ie.el}if(at&&Rt(at,x),!ne&&(O=K&&K.onVnodeMounted)){const ie=m;Rt(()=>Xt(O,nt,ie),x)}(m.shapeFlag&256||nt&&as(nt.vnode)&&nt.vnode.shapeFlag&256)&&h.a&&Rt(h.a,x),h.isMounted=!0,m=v=T=null}};h.scope.on();const E=h.effect=new rr(M);h.scope.off();const w=h.update=E.run.bind(E),k=h.job=E.runIfDirty.bind(E);k.i=h,k.id=h.uid,E.scheduler=()=>wi(k),Ue(h,!0),w()},Q=(h,m,v)=>{m.component=h;const T=h.vnode.props;h.vnode=m,h.next=null,Ud(h,m.props,T,v),Gd(h,m.children,v),ae(),Vr(h),le()},q=(h,m,v,T,x,S,D,M,E=!1)=>{const w=h&&h.children,k=h?h.shapeFlag:0,O=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){Ze(w,O,v,T,x,S,D,M,E);return}else if(j&256){te(w,O,v,T,x,S,D,M,E);return}}K&8?(k&16&&se(w,x,S),O!==w&&c(v,O)):k&16?K&16?Ze(w,O,v,T,x,S,D,M,E):se(w,x,S,!0):(k&8&&c(v,""),K&16&&I(O,v,T,x,S,D,M,E))},te=(h,m,v,T,x,S,D,M,E)=>{h=h||Qe,m=m||Qe;const w=h.length,k=m.length,O=Math.min(w,k);let j;for(j=0;j<O;j++){const K=m[j]=E?Me(m[j]):Yt(m[j]);b(h[j],K,v,null,x,S,D,M,E)}w>k?se(h,x,S,!0,!1,O):I(m,v,T,x,S,D,M,E,O)},Ze=(h,m,v,T,x,S,D,M,E)=>{let w=0;const k=m.length;let O=h.length-1,j=k-1;for(;w<=O&&w<=j;){const K=h[w],X=m[w]=E?Me(m[w]):Yt(m[w]);if(He(K,X))b(K,X,v,null,x,S,D,M,E);else break;w++}for(;w<=O&&w<=j;){const K=h[O],X=m[j]=E?Me(m[j]):Yt(m[j]);if(He(K,X))b(K,X,v,null,x,S,D,M,E);else break;O--,j--}if(w>O){if(w<=j){const K=j+1,X=K<k?m[K].el:T;for(;w<=j;)b(null,m[w]=E?Me(m[w]):Yt(m[w]),v,X,x,S,D,M,E),w++}}else if(w>j)for(;w<=O;)$t(h[w],x,S,!0),w++;else{const K=w,X=w,at=new Map;for(w=X;w<=j;w++){const jt=m[w]=E?Me(m[w]):Yt(m[w]);jt.key!=null&&at.set(jt.key,w)}let nt,It=0;const Dt=j-X+1;let ne=!1,ie=0;const nn=new Array(Dt);for(w=0;w<Dt;w++)nn[w]=0;for(w=K;w<=O;w++){const jt=h[w];if(It>=Dt){$t(jt,x,S,!0);continue}let oe;if(jt.key!=null)oe=at.get(jt.key);else for(nt=X;nt<=j;nt++)if(nn[nt-X]===0&&He(jt,m[nt])){oe=nt;break}oe===void 0?$t(jt,x,S,!0):(nn[oe-X]=w+1,oe>=ie?ie=oe:ne=!0,b(jt,m[oe],v,null,x,S,D,M,E),It++)}const gf=ne?Xd(nn):Qe;for(nt=gf.length-1,w=Dt-1;w>=0;w--){const jt=X+w,oe=m[jt],yf=jt+1<k?m[jt+1].el:T;nn[w]===0?b(null,oe,v,yf,x,S,D,M,E):ne&&(nt<0||w!==gf[nt]?ee(oe,v,yf,2):nt--)}}},ee=(h,m,v,T,x=null)=>{const{el:S,type:D,transition:M,children:E,shapeFlag:w}=h;if(w&6){ee(h.component.subTree,m,v,T);return}if(w&128){h.suspense.move(m,v,T);return}if(w&64){D.move(h,m,v,sn);return}if(D===ut){n(S,m,v);for(let O=0;O<E.length;O++)ee(E[O],m,v,T);n(h.anchor,m,v);return}if(D===Vn){L(h,m,v);return}if(T!==2&&w&1&&M)if(T===0)M.beforeEnter(S),n(S,m,v),Rt(()=>M.enter(S),x);else{const{leave:O,delayLeave:j,afterLeave:K}=M,X=()=>n(S,m,v),at=()=>{O(S,()=>{X(),K&&K()})};j?j(S,X,at):at()}else n(S,m,v)},$t=(h,m,v,T=!1,x=!1)=>{const{type:S,props:D,ref:M,children:E,dynamicChildren:w,shapeFlag:k,patchFlag:O,dirs:j,cacheIndex:K}=h;if(O===-2&&(x=!1),M!=null&&Tn(M,null,v,h,!0),K!=null&&(m.renderCache[K]=void 0),k&256){m.ctx.deactivate(h);return}const X=k&1&&j,at=!as(h);let nt;if(at&&(nt=D&&D.onVnodeBeforeUnmount)&&Xt(nt,m,h),k&6)Je(h.component,v,T);else{if(k&128){h.suspense.unmount(v,T);return}X&&ke(h,null,m,"beforeUnmount"),k&64?h.type.remove(h,m,v,sn,T):w&&!w.hasOnce&&(S!==ut||O>0&&O&64)?se(w,m,v,!1,!0):(S===ut&&O&384||!x&&k&16)&&se(E,m,v),T&&en(h)}(at&&(nt=D&&D.onVnodeUnmounted)||X)&&Rt(()=>{nt&&Xt(nt,m,h),X&&ke(h,null,m,"unmounted")},v)},en=h=>{const{type:m,el:v,anchor:T,transition:x}=h;if(m===ut){ei(v,T);return}if(m===Vn){P(h);return}const S=()=>{i(v),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:D,delayLeave:M}=x,E=()=>D(v,S);M?M(h.el,S,E):E()}else S()},ei=(h,m)=>{let v;for(;h!==m;)v=d(h),i(h),h=v;i(m)},Je=(h,m,v)=>{const{bum:T,scope:x,job:S,subTree:D,um:M,m:E,a:w}=h;pa(E),pa(w),T&&ri(T),x.stop(),S&&(S.flags|=8,$t(D,h,m,v)),M&&Rt(M,m),Rt(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},se=(h,m,v,T=!1,x=!1,S=0)=>{for(let D=S;D<h.length;D++)$t(h[D],m,v,T,x)},xe=h=>{if(h.shapeFlag&6)return xe(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const m=d(h.anchor||h.el),v=m&&m[md];return v?d(v):m};let Se=!1;const Le=(h,m,v)=>{h==null?m._vnode&&$t(m._vnode,null,null,!0):b(m._vnode||null,h,m,null,null,null,v),m._vnode=h,Se||(Se=!0,Vr(),Dr(),Se=!1)},sn={p:b,um:$t,m:ee,r:en,mt:bt,mc:I,pc:q,pbc:G,n:xe,o:t};return{render:Le,hydrate:void 0,createApp:Nd(Le)}}function Ii({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 Ue({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Yd(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function da(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]=Me(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&da(r,a)),a.type===Mn&&(a.el=r.el)}}function Xd(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 ha(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ha(e)}function pa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Zd=Symbol.for("v-scx"),Jd=()=>Cs(Zd);function Qd(t,e){return ji(t,null,e)}function Cn(t,e,s){return ji(t,e,s)}function ji(t,e,s=it){const{immediate:n,deep:i,flush:o,once:r}=s,a=gt({},s),l=e&&n||!e&&o!=="post";let u;if(Rs){if(o==="sync"){const p=Jd();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Wt,p.resume=Wt,p.pause=Wt,p}}const c=mt;a.call=(p,y,b)=>zt(p,c,y,b);let f=!1;o==="post"?a.scheduler=p=>{Rt(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,y)=>{y?p():wi(p)}),a.augmentJob=p=>{e&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=od(t,e,a);return Rs&&(u?u.push(d):l&&d()),d}function th(t,e,s){const n=this.proxy,i=ct(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=Os(this),a=ji(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 eh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Bt(e)}Modifiers`]||t[`${Ie(e)}Modifiers`];function sh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||it;let i=s;const o=e.startsWith("update:"),r=o&&eh(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ct(c)?c.trim():c)),r.number&&(i=s.map(Tf)));let a,l=n[a=oi(e)]||n[a=oi(Bt(e))];!l&&o&&(l=n[a=oi(Ie(e))]),l&&zt(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,zt(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,gt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(lt(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):gt(r,o),lt(t)&&n.set(t,r),r)}function En(t,e){return!t||!on(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,Ie(e))||tt(t,e))}function T_(){}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:d,setupState:p,ctx:y,inheritAttrs:b}=t,A=_n(t);let _,V;try{if(s.shapeFlag&4){const P=i||n,C=Ae.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(P,{get(N,z,I){return rd(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(N,z,I)}}):P;_=Yt(u.call(C,P,c,Ae.NODE_ENV!=="production"?pn(f):f,p,d,y)),V=a}else{const P=e;Ae.NODE_ENV,_=Yt(P.length>1?P(Ae.NODE_ENV!=="production"?pn(f):f,Ae.NODE_ENV!=="production"?{get attrs(){return pn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):P(Ae.NODE_ENV!=="production"?pn(f):f,null)),V=e.props?a:nh(a)}}catch(P){Es.length=0,vn(P,t,1),_=et(Tt)}let L=_;if(V&&b!==!1){const P=Object.keys(V),{shapeFlag:C}=L;P.length&&C&7&&(o&&P.some(si)&&(V=ih(V,o)),L=de(L,V,!1,!0))}return s.dirs&&(L=de(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&ws(L,s.transition),_=L,_n(A),_}const nh=t=>{let e;for(const s in t)(s==="class"||s==="style"||on(s))&&((e||(e={}))[s]=t[s]);return e},ih=(t,e)=>{const s={};for(const n in t)(!si(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function oh(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 d=c[f];if(r[d]!==n[d]&&!En(u,d))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]&&!En(s,o))return!0}return!1}function rh({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 ah(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):pd(t)}const ut=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),Vn=Symbol.for("v-stc"),Es=[];let Lt=null;function $(t=!1){Es.push(Lt=t?null:[])}function lh(){Es.pop(),Lt=Es[Es.length-1]||null}let Ms=1;function _a(t,e=!1){Ms+=t,t<0&&Lt&&e&&(Lt.hasOnce=!0)}function xa(t){return t.dynamicChildren=Ms>0?Lt||Qe:null,lh(),Ms>0&&Lt&&Lt.push(t),t}function U(t,e,s,n,i,o){return xa(g(t,e,s,n,i,o,!0))}function Ft(t,e,s,n,i){return xa(et(t,e,s,n,i,!0))}function Vs(t){return t?t.__v_isVNode===!0:!1}function He(t,e){return t.type===e.type&&t.key===e.key}const Sa=({key:t})=>t??null,Dn=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||yt(t)||W(t)?{i:St,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&&Sa(e),ref:e&&Dn(e),scopeId:Rr,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:St};return a?(Bi(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ct(s)?8:16),Ms>0&&!r&&Lt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Lt.push(l),l}const et=ch;function ch(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Gr)&&(t=Tt),Vs(t)){const a=de(t,e,!0);return s&&Bi(a,s),Ms>0&&!o&&Lt&&(a.shapeFlag&6?Lt[Lt.indexOf(t)]=a:Lt.push(a)),a.patchFlag=-2,a}if(_h(t)&&(t=t.__vccOpts),e){e=uh(e);let{class:a,style:l}=e;a&&!ct(a)&&(e.class=Ct(a)),lt(l)&&(xi(l)&&!H(l)&&(l=gt({},l)),e.style=ai(l))}const r=ct(t)?1:ba(t)?128:Lr(t)?64:lt(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function uh(t){return t?xi(t)||ia(t)?gt({},t):t:null}function de(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(Dn(e)):[o,Dn(e)]:Dn(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&&de(t.ssContent),ssFallback:t.ssFallback&&de(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&ws(c,l.clone(c)),c}function Ds(t=" ",e=0){return et(Mn,null,t,e)}function fh(t,e){const s=et(Vn,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?($(),Ft(Tt,null,t)):et(Tt,null,t)}function Yt(t){return t==null||typeof t=="boolean"?et(Tt):H(t)?et(ut,null,t.slice()):Vs(t)?Me(t):et(Mn,null,String(t))}function Me(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:de(t)}function Bi(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),Bi(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!ia(e)?e._ctx=St:i===3&&St&&(St.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:St},s=32):(e=String(e),n&64?(s=16,e=[Ds(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=ai([e.style,n.style]);else if(on(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 Xt(t,e,s,n=null){zt(t,e,7,[s,n])}const dh=ea();let hh=0;function ph(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||dh,o={uid:hh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Df(!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:ra(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=sh.bind(null,o),t.ce&&t.ce(o),o}let mt=null;const Ni=()=>mt||St;let On,ki;{const t=cn(),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)}};On=e("__VUE_INSTANCE_SETTERS__",s=>mt=s),ki=e("__VUE_SSR_SETTERS__",s=>Rs=s)}const Os=t=>{const e=mt;return On(t),t.scope.on(),()=>{t.scope.off(),On(e)}},wa=()=>{mt&&mt.scope.off(),On(null)};function Aa(t){return t.vnode.shapeFlag&4}let Rs=!1;function mh(t,e=!1,s=!1){e&&ki(e);const{props:n,children:i}=t.vnode,o=Aa(t);kd(t,n,o,e),Wd(t,i,s);const r=o?gh(t,e):void 0;return e&&ki(!1),r}function gh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Dd);const{setup:n}=s;if(n){ae();const i=t.setupContext=n.length>1?Ea(t):null,o=Os(t),r=is(n,t,0,[t.props,i]),a=Jo(r);if(le(),o(),(a||t.sp)&&!as(t)&&kr(t),a){if(r.then(wa,wa),e)return r.then(l=>{Pa(t,l)}).catch(l=>{vn(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:lt(e)&&(t.setupState=Pr(e)),Ca(t)}function Ca(t,e,s){const n=t.type;t.render||(t.render=n.render||Wt);{const i=Os(t);ae();try{Ld(t)}finally{le(),i()}}}const yh={get(t,e){return _t(t,"get",""),t[e]}};function Ea(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,yh),slots:t.slots,emit:t.emit,expose:e}}function Ui(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Pr(Jf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in As)return As[s](t)},has(e,s){return s in e||s in As}})):t.proxy}const vh=/(?:^|[-_])(\w)/g,bh=t=>t.replace(vh,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?bh(n):s?"App":"Anonymous"}function _h(t){return W(t)&&"__vccOpts"in t}const wt=(t,e)=>nd(t,e,Rs);function Hi(t,e,s){const n=arguments.length;return n===2?lt(e)&&!H(e)?Vs(e)?et(t,null,[e]):et(t,e):et(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Vs(s)&&(s=[s]),et(t,e,s))}const xh="3.5.13";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,Sh="http://www.w3.org/2000/svg",Th="http://www.w3.org/1998/Math/MathML",he=typeof document<"u"?document:null,Ra=he&&he.createElement("template"),wh={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"?he.createElementNS(Sh,t):e==="mathml"?he.createElementNS(Th,t):s?he.createElement(t,{is:s}):he.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>he.createTextNode(t),createComment:t=>he.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>he.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]}},Ve="transition",Ls="animation",Fs=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},Ah=gt({},Fr,La),Ph=(t=>(t.displayName="Transition",t.props=Ah,t))((t,{slots:e})=>Hi(vd,Ch(t),e)),Ke=(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 Ch(t){const e={};for(const F in t)F in La||(e[F]=t[F]);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:d=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,y=Eh(i),b=y&&y[0],A=y&&y[1],{onBeforeEnter:_,onEnter:V,onEnterCancelled:L,onLeave:P,onLeaveCancelled:C,onBeforeAppear:N=_,onAppear:z=V,onAppearCancelled:I=L}=e,R=(F,st,bt,Qt)=>{F._enterCancelled=Qt,We(F,st?c:a),We(F,st?u:r),bt&&bt()},G=(F,st)=>{F._isLeaving=!1,We(F,f),We(F,p),We(F,d),st&&st()},Y=F=>(st,bt)=>{const Qt=F?z:V,pt=()=>R(st,F,bt);Ke(Qt,[st,pt]),$a(()=>{We(st,F?l:o),pe(st,F?c:a),Fa(Qt)||Ia(st,n,b,pt)})};return gt(e,{onBeforeEnter(F){Ke(_,[F]),pe(F,o),pe(F,r)},onBeforeAppear(F){Ke(N,[F]),pe(F,l),pe(F,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave(F,st){F._isLeaving=!0;const bt=()=>G(F,st);pe(F,f),F._enterCancelled?(pe(F,d),Na()):(Na(),pe(F,d)),$a(()=>{F._isLeaving&&(We(F,f),pe(F,p),Fa(P)||Ia(F,n,A,bt))}),Ke(P,[F,bt])},onEnterCancelled(F){R(F,!1,void 0,!0),Ke(L,[F])},onAppearCancelled(F){R(F,!0,void 0,!0),Ke(I,[F])},onLeaveCancelled(F){G(F),Ke(C,[F])}})}function Eh(t){if(t==null)return null;if(lt(t))return[Wi(t.enter),Wi(t.leave)];{const e=Wi(t);return[e,e]}}function Wi(t){return wf(t)}function pe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Fs]||(t[Fs]=new Set)).add(e)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Fs];s&&(s.delete(e),s.size||(t[Fs]=void 0))}function $a(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Mh=0;function Ia(t,e,s,n){const i=t._endId=++Mh,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Vh(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,d),o()},d=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function Vh(t,e){const s=window.getComputedStyle(t),n=y=>(s[y]||"").split(", "),i=n(`${Ve}Delay`),o=n(`${Ve}Duration`),r=ja(i,o),a=n(`${Ls}Delay`),l=n(`${Ls}Duration`),u=ja(a,l);let c=null,f=0,d=0;e===Ve?r>0&&(c=Ve,f=r,d=o.length):e===Ls?u>0&&(c=Ls,f=u,d=l.length):(f=Math.max(r,u),c=f>0?r>u?Ve:Ls:null,d=c?c===Ve?o.length:l.length:0);const p=c===Ve&&/\b(transform|all)(,|$)/.test(n(`${Ve}Property`).toString());return{type:c,timeout:f,propCount:d,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 Dh(t,e,s){const n=t[Fs];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ka=Symbol("_vod"),Oh=Symbol("_vsh"),Rh=Symbol(""),Lh=/(^|;)\s*display\s*:/;function Fh(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&&Rn(n,a,"")}else for(const r in e)s[r]==null&&Rn(n,r,"");for(const r in s)r==="display"&&(o=!0),Rn(n,r,s[r])}else if(i){if(e!==s){const r=n[Rh];r&&(s+=";"+r),n.cssText=s,o=Lh.test(s)}}else e&&t.removeAttribute("style");ka in t&&(t[ka]=o?n.display:"",t[Oh]&&(n.display="none"))}const Ua=/\s*!important$/;function Rn(t,e,s){if(H(s))s.forEach(n=>Rn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=$h(t,e);Ua.test(s)?t.setProperty(Ie(n),s.replace(Ua,""),"important"):t[n]=s}}const Ha=["Webkit","Moz","ms"],Gi={};function $h(t,e){const s=Gi[e];if(s)return s;let n=Bt(e);if(n!=="filter"&&n in t)return Gi[e]=n;n=ln(n);for(let i=0;i<Ha.length;i++){const o=Ha[i]+n;if(o in t)return Gi[e]=o}return e}const Ka="http://www.w3.org/1999/xlink";function Wa(t,e,s,n,i,o=Mf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Ka,e.slice(6,e.length)):t.setAttributeNS(Ka,e,s):s==null||o&&!nr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":re(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=nr(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 Ih(t,e,s,n){t.addEventListener(e,s,n)}function jh(t,e,s,n){t.removeEventListener(e,s,n)}const za=Symbol("_vei");function Bh(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]=Nh(e);if(n){const u=o[e]=Hh(n,i);Ih(t,a,u,l)}else r&&(jh(t,a,r,l),o[e]=void 0)}}const qa=/(?:Once|Passive|Capture)$/;function Nh(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):Ie(t.slice(2)),e]}let zi=0;const kh=Promise.resolve(),Uh=()=>zi||(kh.then(()=>zi=0),zi=Date.now());function Hh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;zt(Kh(n,s.value),e,5,[n])};return s.value=t,s.attached=Uh(),s}function Kh(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,Wh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Dh(t,n,r):e==="style"?Fh(t,s,n):on(e)?si(e)||Bh(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Gh(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)||!ct(n))?Ga(t,Bt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Wa(t,e,n,r))};function Gh(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==="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)&&ct(s)?!1:e in t}const zh=gt({patchProp:Wh},wh);let Xa;function qh(){return Xa||(Xa=zd(zh))}const Za=(...t)=>{const e=qh().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Xh(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,Yh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function Yh(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Xh(t){return ct(t)?document.querySelector(t):t}const Zh={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Jh={class:"slds-grid slds-grid_align-spread slds-wrap"},Qh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={key:0,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={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},ip={class:"slds-text-color_weak"},op={__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)=>($(),U("footer",Zh,[g("div",Jh,[g("div",Qh,[t.description?($(),U("span",tp,J(t.description),1)):Ut("",!0)]),g("div",ep,[g("span",sp,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",np,[g("span",ip," Generated at: "+J(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",rp={class:"slds-page-header"},ap={class:"slds-page-header__row"},lp={class:"slds-page-header__col-title"},cp={class:"slds-media"},up={class:"slds-media__body"},fp={class:"slds-page-header__name"},dp={class:"slds-page-header__name-title"},hp=["title"],pp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>($(),U("header",rp,[g("div",ap,[g("div",lp,[g("div",cp,[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",up,[g("div",fp,[g("div",dp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,hp)])])])])])])]))}},Qa=t=>e=>typeof e=="string"&&e.startsWith(t),qi=Qa("--"),mp=Qa("var(--"),Yi=t=>mp(t)?gp.test(t.split("/*")[0].trim()):!1,gp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,$s={};function tl(t){for(const e in t)$s[e]=t[e],qi(e)&&($s[e].isCSSVariable=!0)}function Is(t,e){const s=typeof t=="string"?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Cs(n,r);if(a||a===null)return a;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},r=>(Li(n,r),r)]}const[yp,vp]=Is("Motion"),[bp,A_]=Is("LayoutGroup");function el(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}class me{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(){}beforeUnmount(){}}function js(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=js(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 _p(t,e){return typeof t!=typeof e?!0:Array.isArray(t)&&Array.isArray(e)?!xp(t,e):t!==e}function xp(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 Sp=t=>t;function Tp(t){return typeof t=="number"}const wp=["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"],Ap=new Set(wp);function nl(t){return Ap.has(t)}function Pp(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 Cp{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;Cn(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 Xi=new WeakMap,[Ep,P_]=Is("AnimatePresenceContext");function Mp(t){return typeof t=="string"||t===!1||Array.isArray(t)}const Vt=t=>t;let il=Vt;const Ln=["read","resolveKeyframes","update","preRender","render","postRender"];function Vp(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,d=!1)=>{const y=d&&i?s:n;return f&&r.add(c),y.has(c)||y.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 Dp=40;function ol(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=Ln.reduce((_,V)=>(_[V]=Vp(o),_),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:f,postRender:d}=r,p=()=>{const _=performance.now();s=!1,i.delta=n?1e3/60:Math.max(Math.min(_-i.timestamp,Dp),1),i.timestamp=_,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(p))},y=()=>{s=!0,n=!0,i.isProcessing||t(p)};return{schedule:Ln.reduce((_,V)=>{const L=r[V];return _[V]=(P,C=!1,N=!1)=>(s||y(),L.schedule(P,C,N)),_},{}),cancel:_=>{for(let V=0;V<Ln.length;V++)r[Ln[V]].cancel(_)},state:i,steps:r}}const{schedule:rt,cancel:ge,state:vt,steps:Zi}=ol(typeof requestAnimationFrame<"u"?requestAnimationFrame:Vt,!0),rl=new WeakMap;let Op=0;const Ji=new Set;class Rp{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=Vt,this.id=`motion-state-${Op++}`,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 Cp(this),this.type=nl(this.options.as)?"svg":"html"}get context(){if(!this._context){const e={get:(s,n)=>{var i;return Mp(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,...js(this.options[n]||this.context[n],this.options.variants)}),{}),this.target={}}updateOptions(){var e;(e=this.visualElement)==null||e.update({...this.options,whileTap:this.options.whilePress,reducedMotionConfig:this.options.motionConfig.reduceMotion},{isPresent:!Xi.has(this.element)})}beforeMount(){this.featureManager.beforeMount()}mount(e,s,n=!1){var i;this.element=e,this.options=s,this.updateOptions(),this.featureManager.mount(),!n&&this.options.animate&&(this.type==="svg"&&this.visualElement.updateDimensions(),(i=this.startAnimation)==null||i.call(this)),this.options.layoutId&&(Ji.add(this.options.layoutId),rt.render(()=>{Ji.clear()}))}clearAnimation(){var e,s;this.currentProcess&&ge(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=rt.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(e=!1){const s=this.options.layoutId&&!Ji.has(this.options.layoutId);(()=>{e&&Array.from(this.children).reverse().forEach(this.unmountChild);const i=()=>{var o,r,a;(r=(o=this.parent)==null?void 0:o.children)==null||r.delete(this),rl.delete(this.element),this.featureManager.unmount(),(a=this.visualElement)==null||a.unmount()};s?Promise.resolve().then(i):i()})()}unmountChild(e){e.unmount(!0)}beforeUpdate(){this.featureManager.beforeUpdate()}update(e){const s=Pp(this.options,e);this.options=e,this.updateOptions(),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 Ge=new WeakMap;function al(t,e,s){return new CustomEvent(t,{detail:{target:e,isExit:s}})}const ll={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>`${t}deg`},Lp={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>`${t}px`},rotate:ll,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Sp},skew:ll},Fp=["translate","scale","rotate","skew"],$p=["","X","Y","Z"],Qi=new Map,Fn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];Fp.forEach(t=>{$p.forEach(e=>{Fn.push(t+e),Qi.set(t+e,Lp[t])})});const Ip=new Set(Fn),jp=t=>Ip.has(t),cl={x:"translateX",y:"translateY",z:"translateZ"};function Bp([t],[e]){return Fn.indexOf(t)-Fn.indexOf(e)}function Np(t,[e,s]){return`${t} ${e}(${s})`}function kp(t){return t.sort(Bp).reduce(Np,"").trim()}const ul={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0};function fl(t){return{test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}}const Up=fl("%"),to=fl("px");function $n(t){return!!(t&&t.getVelocity)}const Hp={get:(t,e)=>{let s=sl(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!s&&s!=="0"){const n=Qi.get(e);n&&(s=n.initialValue)}return s},set:(t,e,s)=>{sl(e)?t.style.setProperty(e,s):t.style[e]=s}};function Kp(t){var e;const s={},n=[];for(let i in t){let o=t[i];o=$n(o)?o.get():o,jp(i)&&i in cl&&(i=cl[i]);let r=Array.isArray(o)?o[0]:o;const a=Qi.get(i);a?(r=Tp(o)?(e=a.toDefaultUnit)==null?void 0:e.call(a,o):o,n.push([i,r])):s[i]=r}return n.length&&(s.transform=kp(n)),Object.keys(s).length===0?null:s}const Wp={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 Gp(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function zp(t,e,s=1,n=0){t.pathLength=1,delete t["path-length"],t["stroke-dashoffset"]=to.transform(-n);const i=to.transform(e),o=to.transform(s);t["stroke-dasharray"]=`${i} ${o}`}function qp(t){const e={},s={};for(const n in t){const i=Gp(n);if(i in Wp){const o=t[n];e[i]=$n(o)?o.get():o}else s[n]=t[n]}return e["path-length"]!==void 0&&zp(e,e["path-length"],e["path-spacing"],e["path-offset"]),{attributes:e,style:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const eo=t=>typeof t<"u";function Yp({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Xp(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 Zp(t,e){return Yp(Xp(t.getBoundingClientRect(),e))}const At=t=>!!(t&&t.getVelocity);function so(t,e){t.indexOf(e)===-1&&t.push(e)}function In(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),()=>In(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}}const Jp={useManualTiming:!1};let jn;function Qp(){jn=void 0}const Zt={now:()=>(jn===void 0&&Zt.set(vt.isProcessing||Jp.useManualTiming?vt.timestamp:performance.now()),jn),set:t=>{jn=t,queueMicrotask(Qp)}};function dl(t,e){return e?t*(1e3/e):0}const hl=30,tm=t=>!isNaN(parseFloat(t));class em{constructor(e,s={}){this.version="12.5.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{const o=Zt.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Zt.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 no);const n=this.events[e].add(s);return e==="change"?()=>{n(),rt.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()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>hl)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,hl);return dl(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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Bs(t,e){return new em(t,e)}const pl={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"]},io={};for(const t in pl)io[t]={isEnabled:e=>pl[t].some(s=>!!e[s])};const ml=()=>({translate:0,scale:1,origin:0,originPoint:0}),cs=()=>({x:ml(),y:ml()}),gl=()=>({min:0,max:0}),dt=()=>({x:gl(),y:gl()}),yl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),vl=t=>/^0[^.\s]+$/u.test(t),sm=typeof window<"u",oo={current:null},bl={current:!1};function nm(){if(bl.current=!0,!!sm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>oo.current=t.matches;t.addListener(e),e()}else oo.current=!1}const De=(t,e,s)=>s>e?e:s<t?t:s,us={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ns={...us,transform:t=>De(0,1,t)},Bn={...us,default:1},ks=t=>Math.round(t*1e5)/1e5,ro=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function im(t){return t==null}const om=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ao=(t,e)=>s=>!!(typeof s=="string"&&om.test(s)&&s.startsWith(t)||e&&!im(s)&&Object.prototype.hasOwnProperty.call(s,e)),_l=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ro);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},rm=t=>De(0,255,t),lo={...us,transform:t=>Math.round(rm(t))},ze={test:ao("rgb","red"),parse:_l("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+lo.transform(t)+", "+lo.transform(e)+", "+lo.transform(s)+", "+ks(Ns.transform(n))+")"};function am(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 co={test:ao("#"),parse:am,transform:ze.transform},Us=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Oe=Us("deg"),ye=Us("%"),B=Us("px"),lm=Us("vh"),cm=Us("vw"),xl={...ye,parse:t=>ye.parse(t)/100,transform:t=>ye.transform(t*100)},fs={test:ao("hsl","hue"),parse:_l("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ye.transform(ks(e))+", "+ye.transform(ks(s))+", "+ks(Ns.transform(n))+")"},Pt={test:t=>ze.test(t)||co.test(t)||fs.test(t),parse:t=>ze.test(t)?ze.parse(t):fs.test(t)?fs.parse(t):co.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ze.transform(t):fs.transform(t)},um=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function fm(t){var e,s;return isNaN(t)&&typeof t=="string"&&(((e=t.match(ro))===null||e===void 0?void 0:e.length)||0)+(((s=t.match(um))===null||s===void 0?void 0:s.length)||0)>0}const Sl="number",Tl="color",dm="var",hm="var(",wl="${}",pm=/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 Hs(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(pm,l=>(Pt.test(l)?(n.color.push(o),i.push(Tl),s.push(Pt.parse(l))):l.startsWith(hm)?(n.var.push(o),i.push(dm),s.push(l)):(n.number.push(o),i.push(Sl),s.push(parseFloat(l))),++o,wl)).split(wl);return{values:s,split:a,indexes:n,types:i}}function Al(t){return Hs(t).values}function Pl(t){const{split:e,types:s}=Hs(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===Sl?o+=ks(i[r]):a===Tl?o+=Pt.transform(i[r]):o+=i[r]}return o}}const mm=t=>typeof t=="number"?0:t;function gm(t){const e=Al(t);return Pl(t)(e.map(mm))}const Re={test:fm,parse:Al,createTransformer:Pl,getAnimatableNone:gm},ym=new Set(["brightness","contrast","saturate","opacity"]);function vm(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ro)||[];if(!n)return t;const i=s.replace(n,"");let o=ym.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const bm=/\b([a-z-]*)\(.*?\)/gu,uo={...Re,getAnimatableNone:t=>{const e=t.match(bm);return e?e.map(vm).join(" "):t}},_m={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,backgroundPositionX:B,backgroundPositionY:B},xm={rotate:Oe,rotateX:Oe,rotateY:Oe,rotateZ:Oe,scale:Bn,scaleX:Bn,scaleY:Bn,scaleZ:Bn,skew:Oe,skewX:Oe,skewY:Oe,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:Ns,originX:xl,originY:xl,originZ:B},Cl={...us,transform:Math.round},fo={..._m,...xm,zIndex:Cl,size:B,fillOpacity:Ns,strokeOpacity:Ns,numOctaves:Cl},Sm={...fo,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:uo,WebkitFilter:uo},El=t=>Sm[t];function Ml(t,e){let s=El(t);return s!==uo&&(s=Re),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const Vl=t=>e=>e.test(t),Dl=[us,B,ye,Oe,cm,lm,{test:t=>t==="auto",parse:t=>t}],Ol=t=>Dl.find(Vl(t)),Tm=[...Dl,Pt,Re],wm=t=>Tm.find(Vl(t)),ds=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hs=new Set(ds);function Am(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Pm(t){return typeof t=="string"||Array.isArray(t)}const Cm=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Rl(t){return Am(t.animate)||Cm.some(e=>Pm(t[e]))}function Em(t){return!!(Rl(t)||t.variants)}const qe=t=>t*180/Math.PI,ho=t=>{const e=qe(Math.atan2(t[1],t[0]));return po(e)},Mm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ho,rotateZ:ho,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},po=t=>(t=t%360,t<0&&(t+=360),t),Ll=ho,Fl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Vm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fl,scaleY:$l,scale:t=>(Fl(t)+$l(t))/2,rotateX:t=>po(qe(Math.atan2(t[6],t[5]))),rotateY:t=>po(qe(Math.atan2(-t[2],t[0]))),rotateZ:Ll,rotate:Ll,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 Il(t){return t.includes("scale")?1:0}function mo(t,e){if(!t||t==="none")return Il(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=Vm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Mm,i=a}if(!i)return Il(e);const o=n[e],r=i[1].split(",").map(Om);return typeof o=="function"?o(r):r[o]}const Dm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return mo(s,e)};function Om(t){return parseFloat(t.trim())}const jl=t=>t===us||t===B,Rm=new Set(["x","y","z"]),Lm=ds.filter(t=>!Rm.has(t));function Fm(t){const e=[];return Lm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const ps={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})=>mo(e,"x"),y:(t,{transform:e})=>mo(e,"y")};ps.translateX=ps.x,ps.translateY=ps.y;const Ye=new Set;let go=!1,yo=!1;function Bl(){if(yo){const t=Array.from(Ye).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Fm(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===void 0||a.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}yo=!1,go=!1,Ye.forEach(t=>t.complete()),Ye.clear()}function Nl(){Ye.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(yo=!0)})}function $m(){Nl(),Bl()}class vo{constructor(e,s,n,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ye.add(this),go||(go=!0,rt.read(Nl),rt.resolveKeyframes(Bl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;for(let o=0;o<e.length;o++)if(e[o]===null)if(o===0){const r=i==null?void 0:i.get(),a=e[e.length-1];if(r!==void 0)e[0]=r;else if(n&&s){const l=n.readValue(s,a);l!=null&&(e[0]=l)}e[0]===void 0&&(e[0]=a),i&&r===void 0&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ye.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ye.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}function Im(t,e,s){for(const n in e){const i=e[n],o=s[n];if(At(i))t.addValue(n,i);else if(At(o))t.addValue(n,Bs(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,Bs(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}function kl(t){const e=[{},{}];return t==null||t.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function Ul(t,e,s,n){if(typeof e=="function"){const[i,o]=kl(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]=kl(n);e=e(s!==void 0?s:t.custom,i,o)}return e}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=vo,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 p=Zt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,rt.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:c}=r;this.onUpdate=c,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=Rl(s),this.isVariantNode=Em(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(s,{},this);for(const p in d){const y=d[p];l[p]!==void 0&&At(y)&&y.set(l[p],!1)}}mount(e){this.current=e,Ge.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)),bl.current||nm(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:oo.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ge(this.notifyUpdate),ge(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=hs.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&rt.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 io){const s=io[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<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=Im(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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=Bs(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){var n;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(yl(i)||vl(i))?i=parseFloat(i):!wm(i)&&Re.test(s)&&(i=Ml(e,s)),this.setBaseTarget(e,At(i)?i.get():i)),At(i)?i.get():i}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=Ul(this.props,n,(s=this.presenceContext)===null||s===void 0?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&&!At(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)}}function jm(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||vl(t):!0}const Wl=new Set(["width","height","top","left","right","bottom",...ds]),Bm=new Set(["auto","none","0"]);function Nm(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!Bm.has(o)&&Hs(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=Ml(s,i)}const km=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Um(t){const e=km.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Gl(t,e,s=1){const[n,i]=Um(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return yl(r)?parseFloat(r):r}return Yi(i)?Gl(i,e,s+1):i}class zl extends vo{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(),Yi(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=Ol(i),a=Ol(o);if(r!==a)if(jl(r)&&jl(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)jm(e[i])&&n.push(i);n.length&&Nm(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=ps[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]=ps[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class ql extends Kl{constructor(){super(...arguments),this.KeyframeResolver=zl}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;At(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}const Yl=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Hm={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Km=ds.length;function Wm(t,e,s){let n="",i=!0;for(let o=0;o<Km;o++){const r=ds[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=Yl(a,fo[r]);if(!l){i=!1;const c=Hm[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Xl(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(hs.has(l)){r=!0;continue}else if(qi(l)){i[l]=u;continue}else{const c=Yl(u,fo[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Wm(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 Gm(t,{layout:e,layoutId:s}){return hs.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!$s[t]||t==="opacity")}function Jl(t,e,s){var n;const{style:i}=t,o={};for(const r in i)(At(i[r])||e.style&&At(e.style[r])||Gm(r,t)||((n=s==null?void 0:s.getValue(r))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function zm(t){return window.getComputedStyle(t)}class Ql extends ql{constructor(){super(...arguments),this.type="html",this.renderInstance=Zl}readValueFromInstance(e,s){if(hs.has(s))return Dm(e,s);{const n=zm(e),i=(qi(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Zp(e,s)}build(e,s,n){Xl(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Jl(e,s,n)}}const bo=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),qm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ym={offset:"strokeDashoffset",array:"strokeDasharray"};function Xm(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?qm:Ym;t[o.offset]=B.transform(-n);const r=B.transform(e),a=B.transform(s);t[o.array]=`${r} ${a}`}function tc(t,e,s){return typeof t=="string"?t:B.transform(e+s*t)}function Zm(t,e,s){const n=tc(e,t.x,t.width),i=tc(s,t.y,t.height);return`${n} ${i}`}function Jm(t,{attrX:e,attrY:s,attrScale:n,originX:i,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:l=0,...u},c,f){if(Xl(t,u,f),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:y}=t;d.transform&&(y&&(p.transform=d.transform),delete d.transform),y&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=Zm(y,i!==void 0?i:.5,o!==void 0?o:.5)),e!==void 0&&(d.x=e),s!==void 0&&(d.y=s),n!==void 0&&(d.scale=n),r!==void 0&&Xm(d,r,a,l,!1)}const ec=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"]),Qm=t=>typeof t=="string"&&t.toLowerCase()==="svg";function tg(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}function eg(t,e,s,n){Zl(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(ec.has(i)?i:bo(i),e.attrs[i])}function sg(t,e,s){const n=Jl(t,e,s);for(const i in t)if(At(t[i])||At(e[i])){const o=ds.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class sc extends ql{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&tg(this.current,this.renderState)}}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(hs.has(s)){const n=El(s);return n&&n.default||0}return s=ec.has(s)?s:bo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return sg(e,s,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&rt.postRender(this.updateDimensions)}build(e,s,n){Jm(e,s,this.isSVGTag,n.transformTemplate)}renderInstance(e,s,n,i){eg(e,s,n,i)}mount(e){this.isSVGTag=Qm(e.tagName),super.mount(e)}}function ng(t,e){return nl(t)?new sc(e):new Ql(e)}function _o(t){let e;return()=>(e===void 0&&(e=t()),e)}const ig=_o(()=>window.ScrollTimeline!==void 0);class og{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}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,s){const n=this.animations.map(i=>{if(ig()&&i.attachTimeline)return i.attachTimeline(e);if(typeof s=="function")return s(i)});return()=>{n.forEach((i,o)=>{i&&i(),this.animations[o].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 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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class nc extends og{then(e,s){return Promise.all(this.animations).then(e).catch(s)}}const ve=t=>t*1e3,be=t=>t/1e3,Nn=2e4;function xo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Nn;)e+=s,n=t.next(e);return e>=Nn?1/0:e}const Ks=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n},ic=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=t(Ks(0,i-1,o))+", ";return`linear(${n.substring(0,n.length-2)})`},rg=5;function oc(t,e,s){const n=Math.max(e-rg,0);return dl(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},rc=.001;function ag({duration:t=ft.duration,bounce:e=ft.bounce,velocity:s=ft.velocity,mass:n=ft.mass}){let i,o,r=1-e;r=De(ft.minDamping,ft.maxDamping,r),t=De(ft.minDuration,ft.maxDuration,be(t)),r<1?(i=u=>{const c=u*r,f=c*t,d=c-s,p=So(u,r),y=Math.exp(-f);return rc-d/p*y},o=u=>{const f=u*r*t,d=f*s+s,p=Math.pow(r,2)*Math.pow(u,2)*t,y=Math.exp(-f),b=So(Math.pow(u,2),r);return(-i(u)+rc>0?-1:1)*((d-p)*y)/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=cg(i,o,a);if(t=ve(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 lg=12;function cg(t,e,s){let n=s;for(let i=1;i<lg;i++)n=n-t(n)/e(n);return n}function So(t,e){return t*Math.sqrt(1-e*e)}const ug=["duration","bounce"],fg=["stiffness","damping","mass"];function ac(t,e){return e.some(s=>t[s]!==void 0)}function dg(t){let e={velocity:ft.velocity,stiffness:ft.stiffness,damping:ft.damping,mass:ft.mass,isResolvedFromDuration:!1,...t};if(!ac(t,fg)&&ac(t,ug))if(t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*De(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ft.mass,stiffness:i,damping:o}}else{const s=ag(t);e={...e,...s,mass:ft.mass},e.isResolvedFromDuration=!0}return e}function To(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:d,isResolvedFromDuration:p}=dg({...s,velocity:-be(s.velocity||0)}),y=d||0,b=u/(2*Math.sqrt(l*c)),A=r-o,_=be(Math.sqrt(l/c)),V=Math.abs(A)<5;n||(n=V?ft.restSpeed.granular:ft.restSpeed.default),i||(i=V?ft.restDelta.granular:ft.restDelta.default);let L;if(b<1){const C=So(_,b);L=N=>{const z=Math.exp(-b*_*N);return r-z*((y+b*_*A)/C*Math.sin(C*N)+A*Math.cos(C*N))}}else if(b===1)L=C=>r-Math.exp(-_*C)*(A+(y+_*A)*C);else{const C=_*Math.sqrt(b*b-1);L=N=>{const z=Math.exp(-b*_*N),I=Math.min(C*N,300);return r-z*((y+b*_*A)*Math.sinh(I)+C*A*Math.cosh(I))/C}}const P={calculatedDuration:p&&f||null,next:C=>{const N=L(C);if(p)a.done=C>=f;else{let z=0;b<1&&(z=C===0?ve(y):oc(L,C,N));const I=Math.abs(z)<=n,R=Math.abs(r-N)<=i;a.done=I&&R}return a.value=a.done?r:N,a},toString:()=>{const C=Math.min(xo(P),Nn),N=ic(z=>P.next(C*z).value,C,30);return C+"ms "+N}};return P}function hg(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(xo(n),Nn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:be(i)}}function kn(t){return typeof t=="function"}const pg=(t,e,s)=>{const n=e-t;return((s-t)%n+n)%n+t},lc=t=>Array.isArray(t)&&typeof t[0]!="number";function cc(t,e){return lc(t)?t[pg(0,t.length,e)]:t}const ht=(t,e,s)=>t+(e-t)*s;function uc(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ks(0,e,n);t.push(ht(s,1,i))}}function fc(t){const e=[0];return uc(e,t.length-1),e}function wo(t,e,s){var n;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;const o=(n=s==null?void 0:s[t])!==null&&n!==void 0?n:i.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function Ao(t){return typeof t=="object"&&!Array.isArray(t)}function dc(t,e,s,n){return typeof t=="string"&&Ao(e)?wo(t,s,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function mg(t,e,s){return t*(e+1)}function hc(t,e,s,n){var i;return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?s:(i=n.get(e))!==null&&i!==void 0?i:t}function gg(t,e,s){for(let n=0;n<t.length;n++){const i=t[n];i.at>e&&i.at<s&&(In(t,i),n--)}}function yg(t,e,s,n,i,o){gg(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:ht(i,o,n[r]),easing:cc(s,r)})}function vg(t,e){for(let s=0;s<t.length;s++)t[s]=t[s]/(e+1)}function bg(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const _g="easeInOut";function xg(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,d=0;for(let p=0;p<t.length;p++){const y=t[p];if(typeof y=="string"){u.set(y,f);continue}else if(!Array.isArray(y)){u.set(y.name,hc(f,y.at,c,u));continue}let[b,A,_={}]=y;_.at!==void 0&&(f=hc(f,_.at,c,u));let V=0;const L=(P,C,N,z=0,I=0)=>{const R=Sg(P),{delay:G=0,times:Y=fc(R),type:F="keyframes",repeat:st,repeatType:bt,repeatDelay:Qt=0,...pt}=C;let{ease:Q=e.ease||"easeOut",duration:q}=C;const te=typeof G=="function"?G(z,I):G,Ze=R.length,ee=kn(F)?F:i==null?void 0:i[F];if(Ze<=2&&ee){let Je=100;if(Ze===2&&Ag(R)){const Se=R[1]-R[0];Je=Math.abs(Se)}const se={...pt};q!==void 0&&(se.duration=ve(q));const xe=hg(se,Je,ee);Q=xe.ease,q=xe.duration}q??(q=o);const $t=f+te;Y.length===1&&Y[0]===0&&(Y[1]=1);const en=Y.length-R.length;if(en>0&&uc(Y,en),R.length===1&&R.unshift(null),st){q=mg(q,st);const Je=[...R],se=[...Y];Q=Array.isArray(Q)?[...Q]:[Q];const xe=[...Q];for(let Se=0;Se<st;Se++){R.push(...Je);for(let Le=0;Le<Je.length;Le++)Y.push(se[Le]+(Se+1)),Q.push(Le===0?"linear":cc(xe,Le-1))}vg(Y,st)}const ei=$t+q;yg(N,R,Q,Y,$t,ei),V=Math.max(te+q,V),d=Math.max(ei,d)};if(At(b)){const P=pc(b,a);L(A,_,mc("default",P))}else{const P=dc(b,A,n,l),C=P.length;for(let N=0;N<C;N++){A=A,_=_;const z=P[N],I=pc(z,a);for(const R in A)L(A[R],Tg(_,R),mc(R,I),N,C)}}c=f,f+=V}return a.forEach((p,y)=>{for(const b in p){const A=p[b];A.sort(bg);const _=[],V=[],L=[];for(let C=0;C<A.length;C++){const{at:N,value:z,easing:I}=A[C];_.push(z),V.push(Ks(0,d,N)),L.push(I||"easeOut")}V[0]!==0&&(V.unshift(0),_.unshift(_[0]),L.unshift(_g)),V[V.length-1]!==1&&(V.push(1),_.push(null)),r.has(y)||r.set(y,{keyframes:{},transition:{}});const P=r.get(y);P.keyframes[b]=_,P.transition[b]={...e,duration:d,ease:L,times:V,...s}}}),r}function pc(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function mc(t,e){return e[t]||(e[t]=[]),e[t]}function Sg(t){return Array.isArray(t)?t:[t]}function Tg(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const wg=t=>typeof t=="number",Ag=t=>t.every(wg);function Po(t,e){return t?t[e]||t.default||t:void 0}const Pg=t=>Array.isArray(t),Cg=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Eg=t=>Pg(t)?t[t.length-1]||0:t;function Mg(t,e,s){const n=t.getProps();return Ul(n,e,n.custom,t)}function Vg(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,Bs(s))}function Dg(t,e){const s=Mg(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Eg(o[r]);Vg(t,r,a)}}function Og(t){return!!(At(t)&&t.add)}function Rg(t,e){const s=t.getValue("willChange");if(Og(s))return s.add(e)}const Lg="data-"+bo("framerAppearId");function gc(t){return t.props[Lg]}function yc(t,e){t.timeline=e,t.onfinish=null}const Co=t=>Array.isArray(t)&&typeof t[0]=="number",Fg={linearEasing:void 0};function $g(t,e){const s=_o(t);return()=>{var n;return(n=Fg[e])!==null&&n!==void 0?n:s()}}const Un=$g(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function vc(t){return!!(typeof t=="function"&&Un()||!t||typeof t=="string"&&(t in Eo||Un())||Co(t)||Array.isArray(t)&&t.every(vc))}const Ws=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Eo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ws([0,.65,.55,1]),circOut:Ws([.55,0,1,.45]),backIn:Ws([.31,.01,.66,-.59]),backOut:Ws([.33,1.53,.69,.99])};function bc(t,e){if(t)return typeof t=="function"&&Un()?ic(t,e):Co(t)?Ws(t):Array.isArray(t)?t.map(s=>bc(s,e)||Eo.easeOut):Eo[t]}const _c=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,Ig=1e-7,jg=12;function Bg(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=_c(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>Ig&&++a<jg);return r}function Gs(t,e,s,n){if(t===e&&s===n)return Vt;const i=o=>Bg(o,0,1,t,s);return o=>o===0||o===1?o:_c(i(o),e,n)}const xc=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Sc=t=>e=>1-t(1-e),Tc=Gs(.33,1.53,.69,.99),Mo=Sc(Tc),wc=xc(Mo),Ac=t=>(t*=2)<1?.5*Mo(t):.5*(2-Math.pow(2,-10*(t-1))),Vo=t=>1-Math.sin(Math.acos(t)),Pc=Sc(Vo),Cc=xc(Vo),Ec=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Re.test(t)||t==="0")&&!t.startsWith("url("));function Ng(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 kg(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=Ec(i,e),a=Ec(o,e);return!r||!a?!1:Ng(t)||(s==="spring"||kn(s))&&n}const Ug=t=>t!==null;function Hn(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(Ug),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return!o||n===void 0?i[o]:n}const Hg=40;class Mc{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zt.now(),this.options={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Hg?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&$m(),this._resolved}onKeyframesResolved(e,s){this.resolvedAt=Zt.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:o,delay:r,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!kg(e,n,i,o))if(r)this.options.duration=0;else{l&&l(Hn(e,this.options,s)),a&&a(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,s);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:s,...c},this.onPostResolved())}onPostResolved(){}then(e,s){return this.currentFinishedPromise.then(e,s)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function Do(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 Kg({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=Do(l,a,t+1/3),o=Do(l,a,t),r=Do(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 Oo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Wg=[co,ze,fs],Gg=t=>Wg.find(e=>e.test(t));function Vc(t){const e=Gg(t);if(!e)return!1;let s=e.parse(t);return e===fs&&(s=Kg(s)),s}const Dc=(t,e)=>{const s=Vc(t),n=Vc(e);if(!s||!n)return Kn(t,e);const i={...s};return o=>(i.red=Oo(s.red,n.red,o),i.green=Oo(s.green,n.green,o),i.blue=Oo(s.blue,n.blue,o),i.alpha=ht(s.alpha,n.alpha,o),ze.transform(i))},zg=(t,e)=>s=>e(t(s)),zs=(...t)=>t.reduce(zg),Ro=new Set(["none","hidden"]);function qg(t,e){return Ro.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Yg(t,e){return s=>ht(t,e,s)}function Lo(t){return typeof t=="number"?Yg:typeof t=="string"?Yi(t)?Kn:Pt.test(t)?Dc:Jg:Array.isArray(t)?Oc:typeof t=="object"?Pt.test(t)?Dc:Xg:Kn}function Oc(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>Lo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Xg(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=Lo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Zg(t,e){var s;const n=[],i={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][i[r]],l=(s=t.values[a])!==null&&s!==void 0?s:0;n[o]=l,i[r]++}return n}const Jg=(t,e)=>{const s=Re.createTransformer(e),n=Hs(t),i=Hs(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?Ro.has(t)&&!i.values.length||Ro.has(e)&&!n.values.length?qg(t,e):zs(Oc(Zg(n,i),i.values),s):Kn(t,e)};function Rc(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ht(t,e,s):Lo(t)(t,e)}function Lc({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],d={done:!1,value:f},p=I=>a!==void 0&&I<a||l!==void 0&&I>l,y=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,_=r===void 0?A:r(A);_!==A&&(b=_-f);const V=I=>-b*Math.exp(-I/n),L=I=>_+V(I),P=I=>{const R=V(I),G=L(I);d.done=Math.abs(R)<=u,d.value=d.done?_:G};let C,N;const z=I=>{p(d.value)&&(C=I,N=To({keyframes:[d.value,y(d.value)],velocity:oc(L,I,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:I=>{let R=!1;return!N&&C===void 0&&(R=!0,P(I),z(I)),C!==void 0&&I>=C?N.next(I-C):(!R&&P(I),d)}}}const Qg=Gs(.42,0,1,1),ty=Gs(0,0,.58,1),Fc=Gs(.42,0,.58,1),ey={linear:Vt,easeIn:Qg,easeInOut:Fc,easeOut:ty,circIn:Vo,circInOut:Cc,circOut:Pc,backIn:Mo,backInOut:wc,backOut:Tc,anticipate:Ac},$c=t=>{if(Co(t)){il(t.length===4);const[e,s,n,i]=t;return Gs(e,s,n,i)}else if(typeof t=="string")return ey[t];return t};function sy(t,e,s){const n=[],i=s||Rc,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]||Vt:e;a=zs(l,a)}n.push(a)}return n}function ny(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(il(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=sy(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 d=Ks(t[f],t[f+1],c);return a[f](d)};return s?c=>u(De(t[0],t[o-1],c)):u}function iy(t,e){return t.map(s=>s*e)}function oy(t,e){return t.map(()=>e||Fc).splice(0,t.length-1)}function Wn({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=lc(n)?n.map($c):$c(n),o={done:!1,value:e[0]},r=iy(s&&s.length===e.length?s:fc(e),t),a=ny(r,e,{ease:Array.isArray(i)?i:oy(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const ry=t=>{const e=({timestamp:s})=>t(s);return{start:()=>rt.update(e,!0),stop:()=>ge(e),now:()=>vt.isProcessing?vt.timestamp:Zt.now()}},ay={decay:Lc,inertia:Lc,tween:Wn,keyframes:Wn,spring:To},ly=t=>t/100;class Fo extends Mc{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:s,motionValue:n,element:i,keyframes:o}=this.options,r=(i==null?void 0:i.KeyframeResolver)||vo,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new r(o,a,s,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:s="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,a=kn(s)?s:ay[s]||Wn;let l,u;a!==Wn&&typeof e[0]!="number"&&(l=zs(ly,Rc(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});o==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-r})),c.calculatedDuration===null&&(c.calculatedDuration=xo(c));const{calculatedDuration:f}=c,d=f+i,p=d*(n+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,s=!1){const{resolved:n}=this;if(!n){const{keyframes:I}=this.options;return{done:!0,value:I[I.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=n;if(this.startTime===null)return o.next(0);const{delay:d,repeat:p,repeatType:y,repeatDelay:b,onUpdate:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),s?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const _=this.currentTime-d*(this.speed>=0?1:-1),V=this.speed>=0?_<0:_>c;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let L=this.currentTime,P=o;if(p){const I=Math.min(this.currentTime,c)/f;let R=Math.floor(I),G=I%1;!G&&I>=1&&(G=1),G===1&&R--,R=Math.min(R,p+1),!!(R%2)&&(y==="reverse"?(G=1-G,b&&(G-=b/f)):y==="mirror"&&(P=r)),L=De(0,1,G)*f}const C=V?{done:!1,value:l[0]}:P.next(L);a&&(C.value=a(C.value));let{done:N}=C;!V&&u!==null&&(N=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return z&&i!==void 0&&(C.value=Hn(l,this.options,i)),A&&A(C.value),z&&this.finish(),C}get duration(){const{resolved:e}=this;return e?be(e.calculatedDuration):0}get time(){return be(this.currentTime)}set time(e){e=ve(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=be(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=ry,onPlay:s,startTime:n}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),s&&s();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const cy=new Set(["opacity","clipPath","filter","transform"]);function uy(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const u={[e]:s};l&&(u.offset=l);const c=bc(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"})}const fy=_o(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Gn=10,dy=2e4;function hy(t){return kn(t.type)||t.type==="spring"||!vc(t.ease)}function py(t,e){const s=new Fo({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:t[0]};const i=[];let o=0;for(;!n.done&&o<dy;)n=s.sample(o),i.push(n.value),o+=Gn;return{times:void 0,keyframes:i,duration:o-Gn,ease:"linear"}}const Ic={anticipate:Ac,backInOut:wc,circInOut:Cc};function my(t){return t in Ic}class jc extends Mc{constructor(e){super(e);const{name:s,motionValue:n,element:i,keyframes:o}=this.options;this.resolver=new zl(o,(r,a)=>this.onKeyframesResolved(r,a),s,n,i),this.resolver.scheduleResolve()}initPlayback(e,s){let{duration:n=300,times:i,ease:o,type:r,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof o=="string"&&Un()&&my(o)&&(o=Ic[o]),hy(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:y,...b}=this.options,A=py(e,b);e=A.keyframes,e.length===1&&(e[1]=e[0]),n=A.duration,i=A.times,o=A.ease,r="keyframes"}const c=uy(a.owner.current,l,e,{...this.options,duration:n,times:i,ease:o});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(yc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:f}=this.options;a.set(Hn(e,this.options,s)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:r,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:s}=e;return be(s)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:s}=e;return be(s.currentTime||0)}set time(e){const{resolved:s}=this;if(!s)return;const{animation:n}=s;n.currentTime=ve(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:s}=e;return s.playbackRate}set speed(e){const{resolved:s}=this;if(!s)return;const{animation:n}=s;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:s}=e;return s.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:s}=e;return s.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:s}=this;if(!s)return Vt;const{animation:n}=s;yc(n,e)}return Vt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:s}=e;s.playState==="finished"&&this.updateFinishedPromise(),s.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:s}=e;s.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:s,keyframes:n,duration:i,type:o,ease:r,times:a}=e;if(s.playState==="idle"||s.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...p}=this.options,y=new Fo({...p,keyframes:n,duration:i,type:o,ease:r,times:a,isGenerator:!0}),b=ve(this.time);u.setWithVelocity(y.sample(b-Gn).value,y.sample(b).value,Gn)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:s,name:n,repeatDelay:i,repeatType:o,damping:r,type:a}=e;if(!s||!s.owner||!(s.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=s.owner.getProps();return fy()&&n&&cy.has(n)&&!l&&!u&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}}const gy={type:"spring",stiffness:500,damping:25,restSpeed:10},yy=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),vy={type:"keyframes",duration:.8},by={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_y=(t,{keyframes:e})=>e.length>2?vy:hs.has(t)?t.startsWith("scale")?yy(e[1]):gy:by;function xy({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}const $o=(t,e,s,n={},i,o)=>r=>{const a=Po(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ve(l);let c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};xy(a)||(c={...c,..._y(t,c)}),c.duration&&(c.duration=ve(c.duration)),c.repeatDelay&&(c.repeatDelay=ve(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)),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const d=Hn(c.keyframes,a);if(d!==void 0)return rt.update(()=>{c.onUpdate(d),c.onComplete()}),new nc([])}return!o&&jc.supports(c)?new jc(c):new Fo(c)};function Sy({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function Ty(t,e,{delay:s=0,transitionOverride:n,type:i}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(r=n);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const f in l){const d=t.getValue(f,(o=t.latestValues[f])!==null&&o!==void 0?o:null),p=l[f];if(p===void 0||c&&Sy(c,f))continue;const y={delay:s,...Po(r||{},f)};let b=!1;if(window.MotionHandoffAnimation){const _=gc(t);if(_){const V=window.MotionHandoffAnimation(_,f,rt);V!==null&&(y.startTime=V,b=!0)}}Rg(t,f),d.start($o(f,d,p,t.shouldReduceMotion&&Wl.has(f)?{type:!1}:y,t,b));const A=d.animation;A&&u.push(A)}return a&&Promise.all(u).then(()=>{rt.update(()=>{a&&Dg(t,a)})}),u}function Bc(t){return t instanceof SVGElement&&t.tagName!=="svg"}function wy(t,e){return t in e}class Ay extends Kl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(wy(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 Py(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Bc(t)?new sc(e):new Ql(e);s.mount(t),Ge.set(t,s)}function Cy(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new Ay(e);s.mount(t),Ge.set(t,s)}function Nc(t,e,s){const n=At(t)?t:Bs(t);return n.start($o("",n,e,s)),n.animation}function Ey(t,e){return At(t)||typeof t=="number"||typeof t=="string"&&!Ao(e)}function kc(t,e,s,n){const i=[];if(Ey(t,e))i.push(Nc(t,Ao(e)&&e.default||e,s&&(s.default||s)));else{const o=dc(t,e,n),r=o.length;for(let a=0;a<r;a++){const l=o[a],u=l instanceof Element?Py:Cy;Ge.has(l)||u(l);const c=Ge.get(l),f={...s};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,r)),i.push(...Ty(c,{...e,transition:f},{}))}}return i}function My(t,e,s){const n=[];return xg(t,e,s,{spring:To}).forEach(({keyframes:o,transition:r},a)=>{n.push(...kc(a,o,r))}),n}function Vy(t){return Array.isArray(t)&&t.some(Array.isArray)}function Dy(t){function e(s,n,i){let o=[];return Vy(s)?o=My(s,n,t):o=kc(s,n,i,t),new nc(o)}return e}const Oy=Dy(),Ry=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class Ly extends me{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={};const f={...this.state.options.transition};c=this.resolveStateAnimation({controlActiveState:n,directAnimate:i,directTransition:o});const d=this.createAnimationFactories(u,c,r),{getChildAnimations:p,childAnimations:y}=this.setupChildAnimations(c,this.state.activeStates,a);return this.executeAnimations({factories:d,getChildAnimations:p,childAnimations:y,transition:f,controlActiveState:n,isExit:l})},this.state.visualElement=ng(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 d,p;l.dispatchEvent(al("motionstart",a)),(p=(d=this.state.options).onAnimationStart)==null||p.call(d,a),f.then(()=>{var y,b;l.dispatchEvent(al("motioncomplete",a,o)),(b=(y=this.state.options).onAnimationComplete)==null||b.call(y,a)}).catch(Vt)},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,d)=>{const p=a+u(d);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(!_p(e[o],this.state.target[o]))return;(r=this.state.baseTarget)[o]??(r[o]=Hp.get(this.state.element,o));const a=this.state.target[o]==="none"&&eo(ul[o])?ul[o]:this.state.target[o];i.push(()=>{var l;return Oy(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=eo(a)?a:u==null?void 0:u.custom;return this.state.activeStates={...this.state.activeStates,...e},Ry.forEach(f=>{if(!this.state.activeStates[f]||el(this.state.options[f]))return;const d=this.state.options[f];let p=eo(d)?js(d,r,c):void 0;if(this.state.visualElement.isVariantNode){const y=js(this.state.context[f],r,c);p=y?Object.assign(y||{},p):o}p&&(f!=="initial"&&(i=p.transition||this.state.options.transition||{}),o=Object.assign(o,p))}),s&&(o=js(s,r,c),i=o.transition||n||l),Object.entries(o).forEach(([f,d])=>{f!=="transition"&&(this.state.target[f]=d)}),i}mount(){const{element:e}=this.state;rl.set(e,this.state),Ge.get(e)||(this.state.visualElement.mount(e),Ge.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 Fy={y:!1};function $y(){return Fy.y}function Uc(t,e){const s=`${e}PointerCapture`;if(t.target instanceof Element&&s in t.target&&t.pointerId!==void 0)try{t.target[s](t.pointerId)}catch{}}const Hc=(t,e)=>e?t===e?!0:Hc(t,e.parentElement):!1,Iy=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Kc(t,e){const s=wo(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}const jy=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function By(t){return jy.has(t.tagName)||t.tabIndex!==-1}const qs=new WeakSet;function Wc(t){return e=>{e.key==="Enter"&&t(e)}}function Io(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ny=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Wc(()=>{if(qs.has(s))return;Io(s,"down");const i=Wc(()=>{Io(s,"up")}),o=()=>Io(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 Gc(t){return Iy(t)&&!0}function ky(t,e,s={}){const[n,i,o]=Kc(t,s),r=a=>{const l=a.currentTarget;if(!l||!Gc(a)||qs.has(l))return;qs.add(l),Uc(a,"set");const u=e(l,a),c=(p,y)=>{l.removeEventListener("pointerup",f),l.removeEventListener("pointercancel",d),Uc(p,"release"),!(!Gc(p)||!qs.has(l))&&(qs.delete(l),typeof u=="function"&&u(p,{success:y}))},f=p=>{(p.isTrusted?Uy(p,l instanceof Element?l.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?c(p,!1):c(p,!(l instanceof Element)||Hc(l,p.target))},d=p=>{c(p,!1)};l.addEventListener("pointerup",f,i),l.addEventListener("pointercancel",d,i),l.addEventListener("lostpointercapture",d,i)};return n.forEach(a=>{a=s.useGlobalTarget?window:a;let l=!1;a instanceof HTMLElement&&(l=!0,!By(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0)),a.addEventListener("pointerdown",r,i),l&&a.addEventListener("focus",u=>Ny(u,i),i)}),o}function Uy(t,e){return t.clientX<e.left||t.clientX>e.right||t.clientY<e.top||t.clientY>e.bottom}function zc(t){return{point:{x:t.pageX,y:t.pageY}}}function qc(t,e,s){const n=t.options;n.whilePress&&t.setActive("whilePress",s==="Start");const i=`onPress${s==="End"?"":s}`,o=n[i];o&&rt.postRender(()=>o(e,zc(e)))}class Hy extends me{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)=>(qc(this.state,n,"Start"),(i,{success:o})=>qc(this.state,i,o?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function Yc(t){return!(t.pointerType==="touch"||$y())}function Ky(t,e,s={}){const[n,i,o]=Kc(t,s),r=a=>{if(!Yc(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=f=>{Yc(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return n.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}function Xc(t,e,s){const n=t.options;n.whileHover&&t.setActive("whileHover",s==="Start");const i=`onHover${s}`,o=n[i];o&&rt.postRender(()=>o(e,zc(e)))}class Wy extends me{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)=>(Xc(this.state,n,"Start"),i=>{Xc(this.state,i,"End")})))}}const Gy={some:0,all:1};function zy(t,e,{root:s,margin:n,amount:i="some"}={}){const o=wo(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const d=e(c.target,c);typeof d=="function"?r.set(c.target,d):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:Gy[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&&rt.postRender(()=>o(e))}class qy extends me{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=zy(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(Yy(e,s))&&this.startObserver()}}function Yy({inViewOptions:t={}},{inViewOptions:e={}}={}){return s=>t[s]!==e[s]}function zn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}class Xy extends me{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(zn(this.state.element,"focus",()=>this.onFocus()),zn(this.state.element,"blur",()=>this.onBlur()))}}const{schedule:Zy}=ol(queueMicrotask,!1),Jy=(t,e)=>t.depth-e.depth;class Qy{constructor(){this.children=[],this.isDirty=!1}add(e){so(this.children,e),this.isDirty=!0}remove(e){In(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Jy),this.isDirty=!1,this.children.forEach(e)}}function tv(t,e){const s=Zt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(ge(n),t(o-e))};return rt.read(n,!0),()=>ge(n)}function jo(t){const e=At(t)?t.get():t;return Cg(e)?e.toValue():e}const Jc=["TopLeft","TopRight","BottomLeft","BottomRight"],ev=Jc.length,Qc=t=>typeof t=="string"?parseFloat(t):t,tu=t=>typeof t=="number"||B.test(t);function sv(t,e,s,n,i,o){i?(t.opacity=ht(0,s.opacity!==void 0?s.opacity:1,nv(n)),t.opacityExit=ht(e.opacity!==void 0?e.opacity:1,0,iv(n))):o&&(t.opacity=ht(e.opacity!==void 0?e.opacity:1,s.opacity!==void 0?s.opacity:1,n));for(let r=0;r<ev;r++){const a=`border${Jc[r]}Radius`;let l=eu(e,a),u=eu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||tu(l)===tu(u)?(t[a]=Math.max(ht(Qc(l),Qc(u),n),0),(ye.test(u)||ye.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ht(e.rotate||0,s.rotate||0,n))}function eu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const nv=su(0,.5,Pc),iv=su(.5,.95,Vt);function su(t,e,s){return n=>n<t?0:n>e?1:s(Ks(t,e,n))}function nu(t,e){t.min=e.min,t.max=e.max}function Ht(t,e){nu(t.x,e.x),nu(t.y,e.y)}function iu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Bo(t){return t===void 0||t===1}function No({scale:t,scaleX:e,scaleY:s}){return!Bo(t)||!Bo(e)||!Bo(s)}function Xe(t){return No(t)||ou(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ou(t){return ru(t.x)||ru(t.y)}function ru(t){return t&&t!=="0%"}function qn(t,e,s){const n=t-s,i=e*n;return s+i}function au(t,e,s,n,i){return i!==void 0&&(t=qn(t,i,n)),qn(t,s,n)+e}function ko(t,e=0,s=1,n,i){t.min=au(t.min,e,s,n,i),t.max=au(t.max,e,s,n,i)}function lu(t,{x:e,y:s}){ko(t.x,e.translate,e.scale,e.originPoint),ko(t.y,s.translate,s.scale,s.originPoint)}const cu=.999999999999,uu=1.0000000000001;function ov(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&&ms(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,lu(t,r)),n&&Xe(o.latestValues)&&ms(t,o.latestValues))}e.x<uu&&e.x>cu&&(e.x=1),e.y<uu&&e.y>cu&&(e.y=1)}function Yn(t,e){t.min=t.min+e,t.max=t.max+e}function fu(t,e,s,n,i=.5){const o=ht(t.min,t.max,i);ko(t,e,s,o,n)}function ms(t,e){fu(t.x,e.x,e.scaleX,e.scale,e.originX),fu(t.y,e.y,e.scaleY,e.scale,e.originY)}const du=1e-4,rv=1-du,av=1+du,hu=.01,lv=0-hu,cv=0+hu;function Kt(t){return t.max-t.min}function uv(t,e,s){return Math.abs(t-e)<=s}function pu(t,e,s,n=.5){t.origin=n,t.originPoint=ht(e.min,e.max,t.origin),t.scale=Kt(s)/Kt(e),t.translate=ht(s.min,s.max,t.origin)-t.originPoint,(t.scale>=rv&&t.scale<=av||isNaN(t.scale))&&(t.scale=1),(t.translate>=lv&&t.translate<=cv||isNaN(t.translate))&&(t.translate=0)}function Ys(t,e,s,n){pu(t.x,e.x,s.x,n?n.originX:void 0),pu(t.y,e.y,s.y,n?n.originY:void 0)}function mu(t,e,s){t.min=s.min+e.min,t.max=t.min+Kt(e)}function fv(t,e,s){mu(t.x,e.x,s.x),mu(t.y,e.y,s.y)}function gu(t,e,s){t.min=e.min-s.min,t.max=t.min+Kt(e)}function Xs(t,e,s){gu(t.x,e.x,s.x),gu(t.y,e.y,s.y)}function yu(t,e,s,n,i){return t-=e,t=qn(t,1/s,n),i!==void 0&&(t=qn(t,1/i,n)),t}function dv(t,e=0,s=1,n=.5,i,o=t,r=t){if(ye.test(e)&&(e=parseFloat(e),e=ht(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ht(o.min,o.max,n);t===o&&(a-=e),t.min=yu(t.min,e,s,a,i),t.max=yu(t.max,e,s,a,i)}function vu(t,e,[s,n,i],o,r){dv(t,e[s],e[n],e[i],e.scale,o,r)}const hv=["x","scaleX","originX"],pv=["y","scaleY","originY"];function bu(t,e,s,n){vu(t.x,e,hv,s?s.x:void 0,n?n.x:void 0),vu(t.y,e,pv,s?s.y:void 0,n?n.y:void 0)}function _u(t){return t.translate===0&&t.scale===1}function xu(t){return _u(t.x)&&_u(t.y)}function Su(t,e){return t.min===e.min&&t.max===e.max}function mv(t,e){return Su(t.x,e.x)&&Su(t.y,e.y)}function Tu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function wu(t,e){return Tu(t.x,e.x)&&Tu(t.y,e.y)}function Au(t){return Kt(t.x)/Kt(t.y)}function Pu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class gv{constructor(){this.members=[]}add(e){so(this.members,e),e.scheduleRender()}remove(e){if(In(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 yv(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:d,skewX:p,skewY:y}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),p&&(n+=`skewX(${p}deg) `),y&&(n+=`skewY(${y}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 Cu(t){return[t("x"),t("y")]}const Xn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uo=["","X","Y","Z"],vv={visibility:"hidden"},Eu=1e3;let bv=0;function Ho(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function Mu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=gc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",rt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&Mu(n)}function Vu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=bv++,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(Sv),this.nodes.forEach(Cv),this.nodes.forEach(Ev),this.nodes.forEach(Tv)},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 Qy)}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,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Bc(r),this.instance=r;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),t){let f;const d=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=tv(d,250),Xn.hasAnimatedSinceResize&&(Xn.hasAnimatedSinceResize=!1,this.nodes.forEach(Ou))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeLayoutChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||c.getDefaultTransition()||Rv,{onLayoutAnimationStart:A,onLayoutAnimationComplete:_}=c.getProps(),V=!this.targetLayout||!wu(this.targetLayout,y),L=!d&&p;if(this.options.layoutRoot||this.resumeFrom||L||d&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,L);const P={...Po(b,"layout"),onPlay:A,onComplete:_};(c.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else d||Ou(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}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,ge(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(Mv),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&&Mu(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(Du);return}this.isUpdating||this.nodes.forEach(Av),this.isUpdating=!1,this.nodes.forEach(Pv),this.nodes.forEach(_v),this.nodes.forEach(xv),this.clearAllSnapshots();const a=Zt.now();vt.delta=De(0,1e3/60,a-vt.timestamp),vt.timestamp=a,vt.isProcessing=!0,Zi.update.process(vt),Zi.preRender.process(vt),Zi.render.process(vt),vt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Zy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(wv),this.sharedNodes.forEach(Vv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Kt(this.snapshot.measuredBox.x)&&!Kt(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){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&&!xu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&(a||Xe(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)),Lv(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||r===void 0?void 0:r.wasRoot)||this.path.some(Fv))){const{scroll:c}=this.root;c&&(Yn(l.x,c.offset.x),Yn(l.y,c.offset.y))}return l}removeElementScroll(r){var a;const l=dt();if(Ht(l,r),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Ht(l,r),Yn(l.x,f.offset.x),Yn(l.y,f.offset.y))}return l}applyTransform(r,a=!1){const l=dt();Ht(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&&ms(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Xe(c.latestValues)&&ms(l,c.latestValues)}return Xe(this.latestValues)&&ms(l,this.latestValues),l}removeTransform(r){const a=dt();Ht(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Xe(u.latestValues))continue;No(u.latestValues)&&u.updateSnapshot();const c=dt(),f=u.measurePageBox();Ht(c,f),bu(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Xe(this.latestValues)&&bu(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!==vt.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===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=vt.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(),Xs(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Ht(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(),fv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ht(this.target,this.layout.layoutBox),lu(this.target,this.targetDelta)):Ht(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(),Xs(this.relativeTargetOrigin,this.target,p.target),Ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||No(this.parent.latestValues)||ou(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===void 0)&&r.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===vt.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;Ht(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,p=this.treeScale.y;ov(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:y}=a;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(iu(this.prevProjectionDelta.x,this.projectionDelta.x),iu(this.prevProjectionDelta.y,this.projectionDelta.y)),Ys(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==p||!Pu(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=cs(),this.projectionDelta=cs(),this.projectionDeltaWithTransform=cs()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=cs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=dt(),p=l?l.source:void 0,y=this.layout?this.layout.source:void 0,b=p!==y,A=this.getStack(),_=!A||A.members.length<=1,V=!!(b&&!_&&this.options.crossfade===!0&&!this.path.some(Ov));this.animationProgress=0;let L;this.mixTargetDelta=P=>{const C=P/1e3;Ru(f.x,r.x,C),Ru(f.y,r.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xs(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Dv(this.relativeTarget,this.relativeTargetOrigin,d,C),L&&mv(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=dt()),Ht(L,this.relativeTarget)),b&&(this.animationValues=c,sv(c,u,this.latestValues,C,V,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ge(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.update(()=>{Xn.hasAnimatedSinceResize=!0,this.currentAnimation=Nc(0,Eu,{...r,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},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(Eu),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&&ju(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||dt();const f=Kt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const d=Kt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+d}Ht(a,l),ms(a,c),Ys(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new gv),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||r===void 0?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())===null||r===void 0?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&&Ho("z",r,u,this.animationValues);for(let c=0;c<Uo.length;c++)Ho(`rotate${Uo[c]}`,r,u,this.animationValues),Ho(`skew${Uo[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){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return vv;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=jo(r==null?void 0:r.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=jo(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Xe(this.latestValues)&&(b.transform=c?c({},""):"none",this.hasProjected=!1),b}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=yv(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));const{x:p,y}=this.projectionDelta;u.transformOrigin=`${p.origin*100}% ${y.origin*100}% 0`,f.animationValues?u.opacity=f===this?(l=(a=d.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const b in $s){if(d[b]===void 0)continue;const{correct:A,applyTo:_,isCSSVariable:V}=$s[b],L=u.transform==="none"?d[b]:A(d[b],f);if(_){const P=_.length;for(let C=0;C<P;C++)u[_[C]]=L}else V?this.options.visualElement.renderState.vars[b]=L:u[b]=L}return this.options.layoutId&&(u.pointerEvents=f===this?jo(r==null?void 0:r.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Du),this.root.sharedNodes.clear()}}}function _v(t){t.updateLayout()}function xv(t){var e;const s=((e=t.resumeFrom)===null||e===void 0?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"?Cu(f=>{const d=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(d);d.min=n[f].min,d.max=d.min+p}):ju(o,s.layoutBox,n)&&Cu(f=>{const d=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(n[f]);d.max=d.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=cs();Ys(a,n,s.layoutBox);const l=cs();r?Ys(l,t.applyTransform(i,!0),s.measuredBox):Ys(l,n,s.layoutBox);const u=!xu(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:p}=f;if(d&&p){const y=dt();Xs(y,s.layoutBox,d.layoutBox);const b=dt();Xs(b,n,p.layoutBox),wu(y,b)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=y,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 Sv(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 Tv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function wv(t){t.clearSnapshot()}function Du(t){t.clearMeasurements()}function Av(t){t.isLayoutDirty=!1}function Pv(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ou(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Cv(t){t.resolveTargetDelta()}function Ev(t){t.calcProjection()}function Mv(t){t.resetSkewAndRotation()}function Vv(t){t.removeLeadSnapshot()}function Ru(t,e,s){t.translate=ht(e.translate,0,s),t.scale=ht(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Lu(t,e,s,n){t.min=ht(e.min,s.min,n),t.max=ht(e.max,s.max,n)}function Dv(t,e,s,n){Lu(t.x,e.x,s.x,n),Lu(t.y,e.y,s.y,n)}function Ov(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Rv={duration:.45,ease:[.4,0,.1,1]},Fu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),$u=Fu("applewebkit/")&&!Fu("chrome/")?Math.round:Vt;function Iu(t){t.min=$u(t.min),t.max=$u(t.max)}function Lv(t){Iu(t.x),Iu(t.y)}function ju(t,e,s){return t==="position"||t==="preserve-aspect"&&!uv(Au(e),Au(s),.2)}function Fv(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}function $v(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const Iv=Vu({attachResizeListener:(t,e)=>$v(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ko={current:void 0},jv=Vu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ko.current){const t=new Iv({});t.mount(window),t.setOptions({layoutScroll:!0}),Ko.current=t}return Ko.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function Bu(t){if(t)return t.options.allowProjection!==!1?t.projection:Bu(t.parent)}function Nu(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Zs={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(B.test(t))t=parseFloat(t);else return t;const s=Nu(t,e.target.x),n=Nu(t,e.target.y);return`${s}% ${n}%`}},Bv={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Re.parse(t);if(i.length>5)return n;const o=Re.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=ht(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},ku={borderRadius:{...Zs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zs,borderTopRightRadius:Zs,borderBottomLeftRadius:Zs,borderBottomRightRadius:Zs,boxShadow:Bv};function Js(t){return typeof t=="object"&&t!==null&&"nodeType"in t}class Nv extends me{constructor(e){super(e),tl(ku)}initProjection(){const e=this.state.options;this.state.visualElement.projection=new jv(this.state.visualElement.latestValues,e["data-framer-portal-id"]?void 0:Bu(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&&Js(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=Xi.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 Uu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function Wo(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function kv(t){return e=>Uu(e)&&t(e,Wo(e))}function Qs(t,e,s,n){return zn(t,e,kv(s),n)}function Hu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}const Ku=Hu("dragHorizontal"),Wu=Hu("dragVertical");function Uv(t){let e=!1;if(t==="y")e=Wu();else if(t==="x")e=Ku();else{const s=Ku(),n=Wu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function Go(t){return t.max-t.min}function Hv(t,e,s){return s>e?e:s<t?t:s}function Zn(t,e,s){return t+(e-t)*s}function Gu(t,e,s){const n=e-t;return n===0?1:(s-t)/n}function Kv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?Zn(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?Zn(s,t,n.max):Math.min(t,s)),t}const zo=.35;function Wv(t,{top:e,left:s,bottom:n,right:i}){return{x:zu(t.x,s,i),y:zu(t.y,e,n)}}function zu(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 Gv(t=zo){return t===!1?t=0:t===!0&&(t=zo),{x:qu(t,"left","right"),y:qu(t,"top","bottom")}}function qu(t,e,s){return{min:Yu(t,e),max:Yu(t,s)}}function Yu(t,e){return typeof t=="number"?t:t[e]||0}function zv(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 qv(t,e){return{x:Xu(t.x,e.x),y:Xu(t.y,e.y)}}function Xu(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 Yv(t,e){let s=.5;const n=Go(t),i=Go(e);return i>n?s=Gu(e.min,e.max-n,t.min):n>i&&(s=Gu(t.min,t.max-i,e.min)),Hv(0,1,s)}const Zu=(t,e)=>Math.abs(t-e);function Xv(t,e){const s=Zu(t.x,e.x),n=Zu(t.y,e.y);return Math.sqrt(s**2+n**2)}const Zv=t=>t*1e3;function Jv(t){return t/1e3}class Ju{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=Yo(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=Xv(f.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:y}=f,{timestamp:b}=vt;this.history.push({...y,timestamp:b});const{onStart:A,onMove:_}=this.handlers;d||(A&&A(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=qo(d,this.transformPagePoint),rt.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:p,onSessionEnd:y,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=Yo(f.type==="pointercancel"?this.lastMoveEventInfo:qo(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,A),y&&y(f,A)},!Uu(e))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.contextWindow=i||window;const r=Wo(e),a=qo(r,this.transformPagePoint),{point:l}=a,{timestamp:u}=vt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=s;c&&c(e,Yo(a,this.history)),this.removeListeners=zs(Qs(this.contextWindow,"pointermove",this.handlePointerMove),Qs(this.contextWindow,"pointerup",this.handlePointerUp),Qs(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ge(this.updatePoint)}}function qo(t,e){return e?{point:e(t.point)}:t}function Qu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yo({point:t},e){return{point:t,delta:Qu(t,tf(e)),offset:Qu(t,Qv(e)),velocity:t0(e,.1)}}function Qv(t){return t[0]}function tf(t){return t[t.length-1]}function t0(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=tf(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>Zv(e)));)s--;if(!n)return{x:0,y:0};const o=Jv(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 ef=()=>({min:0,max:0});function e0(){return{x:ef(),y:ef()}}function Jt(t){return[t("x"),t("y")]}function s0(t){return!!($n(t)&&t.add)}function sf(t,e){const s=t.getValue("willChange");if(s0(s))return s.add(e)}function nf({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function n0(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 i0({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function of(t,e){t.min=t.min+e,t.max=t.max+e}function o0(t,e){return nf(n0(t.getBoundingClientRect(),e))}function r0(t,e,s){const n=o0(t,s),{scroll:i}=e;return i&&(of(n.x,i.offset.x),of(n.y,i.offset.y)),n}function rf(t){return!Xi.has(t.current)}function af({current:t}){return t?t.ownerDocument.defaultView:null}const a0=new WeakMap;class l0{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=e0(),this.visualElement=e}start(e,{snapToCursor:s=!1}={}){if(!rf(this.visualElement))return;const n=u=>{const{dragSnapToOrigin:c}=this.getProps();c?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(Wo(u,"page").point)},i=(u,c)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Uv(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),Jt(b=>{let A=this.getAxisMotionValue(b).get()||0;if(Up.test(A)){const{projection:_}=this.visualElement;if(_&&_.layout){const V=_.layout.layoutBox[b];V&&(A=Go(V)*(parseFloat(A)/100))}}this.originPoint[b]=A}),p&&rt.postRender(()=>p(u,c)),sf(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},o=(u,c)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:b}=c;if(d&&this.currentDirection===null){this.currentDirection=c0(b),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,b),this.updateAxis("y",c.point,b),this.visualElement.render(),y&&y(u,c)},r=(u,c)=>this.stop(u,c),a=()=>Jt(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 Ju(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:af(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&&rt.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||!Jn(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&&Js(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&i?this.constraints=Wv(i.layoutBox,s):this.constraints=!1,this.elastic=Gv(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Jt(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=zv(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:s}=this.getProps();if(!e||!Js(e))return!1;const n=e,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=r0(n,i.root,this.visualElement.getTransformPagePoint());let r=qv(i.layout.layoutBox,o);if(s){const a=s(i0(r));this.hasMutatedConstraints=!!a,a&&(r=nf(a))}return r}startAnimation(e){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Jt(c=>{if(!Jn(c,s,this.currentDirection))return;let f=l&&l[c]||{};r&&(f={min:0,max:0});const d=i?200:1e6,p=i?40:1e7,y={type:"inertia",velocity:n?e[c]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(e,s){const n=this.getAxisMotionValue(e);return sf(this.visualElement,e),n.start($o(e,n,0,s,this.visualElement,!1))}stopAnimation(){rf(this.visualElement)&&Jt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Jt(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){Jt(s=>{const{drag:n}=this.getProps();if(!Jn(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]-Zn(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!Js(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Jt(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=Yv({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(),Jt(r=>{if(!Jn(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(Zn(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;a0.set(this.visualElement,this);const e=this.visualElement.current,s=Qs(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();Js(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),rt.read(n);const r=zn(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Jt(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=zo,dragMomentum:a=!0}=e;return{...e,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Jn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function c0(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}class u0 extends me{constructor(e){super(e),this.removeGroupControls=Vt,this.removeListeners=Vt,this.controls=new l0(e.visualElement)}mount(){const{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Vt}unmount(){this.removeGroupControls(),this.removeListeners()}}class f0 extends me{constructor(e){super(e),tl(ku)}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)),Xn.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&&e.group.remove(s),this.didUpdate())}}function lf(t){return(e,s)=>{t&&rt.postRender(()=>t(e,s))}}class d0 extends me{constructor(){super(...arguments),this.removePointerDownListener=Vt}onPointerDown(e){this.session=new Ju(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:af(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:lf((e,s)=>{const{onPanSessionStart:n}=this.state.options;n&&n(e,s)}),onStart:lf((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&&rt.postRender(()=>n(e,s))}}}mount(){this.removePointerDownListener=Qs(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const h0=[Ly,Hy,Wy,qy,Xy,Nv,d0,u0,f0],p0={reduceMotion:"never",transition:void 0,nonce:void 0},[m0,V_]=Is("MotionConfig");function g0(){return m0(wt(()=>p0))}function Qn(t){return(t==null?void 0:t.nodeType)===3||(t==null?void 0:t.nodeType)===8?Qn(t.nextSibling):t}const[y0,D_]=Is("LazyMotionContext");function v0(t){const e=yp(null),s=bp({}),n=g0(),i=Ep({}),o=y0({features:ns([]),strict:!1}),r=Od();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 Rp(u(),e);vp(c);function f(){var p;const y=c.type==="svg",b={...r};Object.keys(r).forEach(V=>{$n(r[V])&&(b[V]=r[V].get())});let A={...t.style,...y?{}:((p=c.visualElement)==null?void 0:p.latestValues)||c.baseTarget};if(y){const{attributes:V,style:L}=qp({...c.isMounted()?c.target:c.baseTarget,...A});Object.assign(b,V),A=L}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 _=Kp(A);return _&&(b.style=_),b}const d=Ni().proxy;return Hr(()=>{c.beforeMount()}),Ci(()=>{c.mount(Qn(d.$el),u(),_0(d))}),Ei(()=>c.beforeUnmount()),Mi(()=>{const p=Qn(d.$el);p!=null&&p.isConnected||c.unmount()}),Kr(()=>{c.beforeUpdate()}),Wr(()=>{c.update(u())}),{getProps:l,getAttrs:f,layoutGroup:s,state:c}}const b0={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 _0(t){var e;const s=((e=Qn(t.$el))==null?void 0:e.style.display)==="none";return t.$.vnode.transition&&s}const x0=new Map,S0=new Map;function T0(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 w0=["area","img","input"];function A0(t,e,s){var n,i;if(typeof t=="string"&&w0.includes(t))return Hi(t,e);if(t==="template"){if(!s.default)return null;const o=T0(s.default()),r=o.findIndex(c=>c.type!==Tt);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=de(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 cf(t,e={}){var s;const n=typeof t=="string",i=n?t:t.name||"",o=((s=e.features)==null?void 0:s.length)>0?x0:S0;if(n&&(o!=null&&o.has(t)))return o.get(t);const r=bd({inheritAttrs:!1,props:{...b0,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}=v0(a);function d(){const p=f.element;if((!(typeof a.as=="object")||a.asChild)&&p){const{style:b}=c();if(b)for(const[A,_]of Object.entries(b))p.style[A]=_}}return()=>{const p=u(),y=c(),b=a.asChild?"template":a.as,A={...e.forwardMotionProps||a.forwardMotionProps?p:{},...y,onVnodeUpdated:d},_=A0(b,A,l);return _!==null?_:Hi(b,{...A},l)}}});return n&&(o==null||o.set(t,r)),r}function P0(t=[]){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>cf(n,{...i,features:t}):cf(s,{features:t})}})}const uf=P0(h0);uf.create("div");const C0={class:"slds-navigation-list--vertical"},E0={class:"slds-navigation-list__item-content"},M0={class:"slds-navigation-list__item-title"},V0={__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=ns(((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)=>($(),U("div",C0,[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)),($(!0),U(ut,null,Ee(t.schemas,c=>($(),U("div",{key:c.fileName,class:"slds-navigation-list__item"},[g("div",E0,[g("div",M0,[et(Ar(uf).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:xn(()=>[Ds(J(r(c)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},ff="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",df=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},D0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},O0={class:"slds-notify__content"},hf=df({__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)=>($(),U("div",D0,[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:ff,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",O0,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),R0={key:0,class:"slds-m-top_medium"},L0={class:"slds-box slds-theme_shade"},F0={class:"slds-grid slds-wrap slds-gutters"},$0={class:"constraint-item"},I0={class:"slds-text-title_caps slds-text-color_default"},j0={class:"slds-text-body_regular slds-m-top_xx-small"},Xo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>{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=wt(()=>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?($(),U("div",R0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",L0,[g("div",F0,[($(!0),U(ut,null,Ee(s.value,(u,c)=>($(),U("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",$0,[g("div",I0,J(i(c)),1),g("div",j0,[g("span",{class:Ct(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):Ut("",!0)}},B0={class:"array-schema"},N0={class:"slds-box slds-theme_shade"},k0={class:"slds-grid slds-gutters"},U0={key:0,class:"slds-col"},H0={class:"slds-badge"},K0={key:1,class:"slds-m-top_medium"},W0={class:"slds-text-title_caps slds-m-bottom_xx-small"},G0={key:3,class:"slds-m-top_medium"},z0={key:4,class:"slds-m-top_medium"},q0={key:0,class:"slds-m-top_xx-small"},Y0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=wt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>($(),U("div",B0,[g("div",N0,[g("div",k0,[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?($(),U("div",U0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",H0,J(n.value),1)])):Ut("",!0)])]),s.value?($(),Ft(Xo,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?($(),U("div",K0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?($(!0),U(ut,{key:0},Ee(t.schema.items,(r,a)=>($(),U("div",{key:a,class:"slds-m-bottom_medium"},[g("div",W0," Index "+J(a),1),et(_e,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):($(),Ft(_e,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):($(),Ft(hf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?($(),U("div",G0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),et(_e,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ut("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?($(),U("div",z0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?($(),U("div",q0,[g("span",{class:Ct(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):($(),Ft(_e,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},X0={class:"slds-box slds-theme_shade"},Z0={class:"slds-text-heading_small slds-m-bottom_small"},J0={class:"slds-tabs_default"},Q0={class:"slds-tabs_default__nav",role:"tablist"},tb=["aria-selected","aria-controls","onClick"],eb={class:"slds-tabs_default__title"},sb=["id"],nb={class:"slds-p-around_medium"},ib={class:"slds-text-title_caps slds-m-bottom_small"},ob={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=ns(0),i=wt(()=>e.schema[s.value]||[]);Qd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=wt(()=>{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=wt(()=>{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)=>($(),U("div",X0,[g("div",Z0,[g("span",{class:Ct(["slds-badge",r.value])},J(o.value),3)]),g("div",J0,[g("ul",Q0,[($(!0),U(ut,null,Ee(i.value,(f,d)=>($(),U("li",{key:d,class:Ct(["slds-tabs_default__item",{"slds-is-active":n.value===d}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===d,"aria-controls":`tab-${d}`,onClick:p=>n.value=d},[g("span",eb,J(l(f,d)),1)],8,tb)],2))),128))]),($(!0),U(ut,null,Ee(i.value,(f,d)=>($(),U("div",{id:`tab-${d}`,key:d,class:Ct(["slds-tabs_default__content",{"slds-show":n.value===d,"slds-hide":n.value!==d}]),role:"tabpanel"},[g("div",nb,[g("div",ib," Schema Type: "+J(a(f)),1),et(_e,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,sb))),128))])]))}},rb={class:"slds-box slds-theme_shade"},ab={class:"slds-grid slds-wrap slds-gutters"},lb={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},cb={class:"slds-badge slds-badge_inverse"},ub={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>e.schema.const);return(n,i)=>($(),U("div",rb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",ab,[g("div",lb,[g("div",cb,J(s.value),1)])])]))}},fb={class:"slds-box slds-theme_shade"},db={class:"slds-grid slds-wrap slds-gutters"},hb={class:"slds-badge slds-badge_inverse"},pb={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>e.schema.enum);return(n,i)=>($(),U("div",fb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",db,[($(!0),U(ut,null,Ee(s.value,(o,r)=>($(),U("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",hb,J(o),1)]))),128))])]))}},mb="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",gb={key:0},yb={key:1},vb={class:"slds-box slds-m-top_small"},bb={class:"slds-table_container"},_b={class:"slds-table slds-table_cell-buffer slds-table_bordered"},xb=["onClick"],Sb=["title"],Tb={class:"slds-truncate"},wb={class:"slds-badge"},Ab=["title"],Pb={class:"slds-truncate"},Cb={key:0,class:"slds-badge slds-badge_success"},Eb={key:1,class:"slds-badge slds-badge_inverse"},Mb={key:0},Vb={colspan:"4",class:"slds-p-around_medium"},Db={class:"slds-box slds-theme_shade"},Ob={key:2},Rb={key:3},Lb={key:0},Fb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=ns({}),n=wt(()=>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:a.oneOf||a.allOf||a.anyOf?"composition":a.enum?"enum":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>($(),U("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),et(Xo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?($(),U("div",gb,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?($(),U("div",yb,[g("div",vb,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",bb,[g("table",_b,[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,[($(!0),U(ut,null,Ee(t.schema.properties,(u,c)=>($(),U(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:mb,class:Ct(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),Ds(" "+J(c),1)],8,Sb)]),g("td",null,[g("div",Tb,[g("span",wb,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,Ab)]),g("td",null,[g("div",Pb,[i(c)?($(),U("span",Cb,"Required")):($(),U("span",Eb,"Optional"))])])],8,xb),et(Ph,null,{default:xn(()=>[s.value[c]?($(),U("tr",Mb,[g("td",Vb,[g("div",Db,[et(_e,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ut("",!0)]),_:2},1024)],64))),128))])])])])])):Ut("",!0),t.schema.patternProperties?($(),U("div",Ob,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[($(!0),U(ut,null,Ee(t.schema.patternProperties,(u,c)=>($(),U("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),et(_e,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?($(),U("div",Rb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?($(),U("div",Lb,[g("span",{class:Ct(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):($(),Ft(_e,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):($(),Ft(hf,{key:4}))]))}},$b={class:"slds-box slds-m-top_small"},Ib={class:"slds-box slds-theme_shade"},jb={class:"slds-text-body_regular"},Bb={class:"slds-grid slds-gutters"},Nb={class:"slds-col"},kb={class:"slds-badge"},Ub={class:"slds-col"},tn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>($(),U("div",$b,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",Ib,[g("div",jb,[g("div",Bb,[g("div",Nb,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",kb,J(t.schema.type),1)]),g("div",Ub,[s[1]||(s[1]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Description ",-1)),g("div",null,J(t.schema.description||"No description"),1)])])])]),et(Xo,{schema:t.schema},null,8,["schema"])]))}},Hb={object:Fb,array:Y0,string:tn,number:tn,integer:tn,boolean:tn,null:tn},ti={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ti.hasComposition(t)?ob:ti.isEnum(t)?pb:ti.isConst(t)?ub:Hb[t.type]||null},Kb={class:"slds-grid slds-grid_vertical"},Wb={class:"slds-col slds-size_1-of-1"},Gb={class:"slds-card"},zb={class:"slds-card__body slds-card__body_inner"},qb={__name:"SchemaLayout",setup(t){return(e,s)=>($(),U("div",Kb,[g("div",Wb,[g("div",Gb,[g("div",zb,[Vd(e.$slots,"default")])])])]))}},Yb={class:"slds-box"},Xb={class:"slds-box slds-theme_shade"},Zb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=wt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>($(),U("div",Yb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[Ds(" Schema in plain with all "),g("code",null,"$ref"),Ds(" references already resolved ")],-1)),g("pre",Xb,[g("code",null,J(s.value),1)])]))}},Jb={class:"slds-page-header"},Qb={class:"slds-page-header__row"},t_={class:"slds-page-header__col-title"},e_={class:"slds-media"},s_={class:"slds-media__body"},n_={class:"slds-page-header__name"},i_={class:"slds-page-header__name-title"},o_={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},r_={class:"slds-page-header__meta-text"},a_={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>($(),U("div",Jb,[g("div",Qb,[g("div",t_,[g("div",e_,[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",s_,[g("div",n_,[g("div",i_,[g("h1",o_,J(t.schema.title||"Schema"),1)])]),g("div",r_,J(t.schema.description||"No description provided"),1)])])])])]))}},l_={class:"slds-tabs_default__nav",role:"tablist"},c_={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>($(),U("ul",l_,[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)]))}},u_={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},f_={class:"slds-notify__content"},d_=df({__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)=>($(),U("div",u_,[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:ff,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",f_,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),h_={class:"slds-tabs_default"},p_={class:"slds-p-around_medium"},m_={class:"slds-m-top_medium"},g_={class:"slds-p-around_medium"},_e={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=ns("visual"),n=wt(()=>e.isRoot?e.schema:e.rootSchema);Li("rootSchema",n);const i=wt(()=>ti.getComponentForSchema(e.schema));return(o,r)=>($(),Ft(qb,null,{default:xn(()=>[g("div",h_,[et(c_,{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",p_,[et(a_,{schema:t.schema},null,8,["schema"]),g("div",m_,[i.value?($(),Ft(Ed(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):($(),Ft(d_,{key:1}))])])],2),g("div",{class:Ct({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",g_,[et(Zb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},y_={class:"slds-grid slds-grid_vertical"},v_={class:"slds-grid slds-gutters slds-grid_vertical-fill"},b_={class:"slds-col slds-size_2-of-12"},__={class:"slds-col slds-size_10-of-12"},x_={key:1,class:"slds-p-around_medium"},pf={__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=ns(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>($(),U("div",y_,[et(pp,{title:t.title},null,8,["title"]),g("div",v_,[g("div",b_,[et(V0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",__,[s.value?($(),Ft(_e,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):($(),U("div",x_,o[0]||(o[0]=[fh('<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(op,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function mf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&Za(pf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",mf):mf(),Fe.App=pf,Fe.createApp=Za,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});
7
+ `,...ld(i)),console.warn(...o)}le(),Ti=!1}function ad(){let t=Ts[Ts.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 ld(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
8
+ `],...cd(s))}),e}function cd({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,...ud(t.props),o]:[i+o]}function ud(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Cr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Cr(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}`]:vt(e)?(e=Cr(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 os(t,e,s,n){try{return n?t(...n):t()}catch(i){bn(i,e,s)}}function zt(t,e,s,n){if(W(t)){const i=os(t,e,s,n);return i&&Jo(i)&&i.catch(o=>{bn(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(zt(t[o],e,s,n));return i}}function bn(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){ae(),os(o,null,10,[t,l,u]),le();return}}fd(t,s,i,n,r)}function fd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Et=[];let qt=-1;const rs=[];let Pe=null,as=0;const Er=Promise.resolve();let _n=null;function dd(t){const e=_n||Er;return t?e.then(this?t.bind(this):t):e}function hd(t){let e=qt+1,s=Et.length;for(;e<s;){const n=e+s>>>1,i=Et[n],o=ws(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function wi(t){if(!(t.flags&1)){const e=ws(t),s=Et[Et.length-1];!s||!(t.flags&2)&&e>=ws(s)?Et.push(t):Et.splice(hd(e),0,t),t.flags|=1,Mr()}}function Mr(){_n||(_n=Er.then(Or))}function pd(t){H(t)?rs.push(...t):Pe&&t.id===-1?Pe.splice(as+1,0,t):t.flags&1||(rs.push(t),t.flags|=1),Mr()}function Vr(t,e,s=qt+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 Dr(t){if(rs.length){const e=[...new Set(rs)].sort((s,n)=>ws(s)-ws(n));if(rs.length=0,Pe){Pe.push(...e);return}for(Pe=e,as=0;as<Pe.length;as++){const s=Pe[as];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Pe=null,as=0}}const ws=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Or(t){const e=Wt;try{for(qt=0;qt<Et.length;qt++){const s=Et[qt];s&&!(s.flags&8)&&(Ae.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),os(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;qt<Et.length;qt++){const s=Et[qt];s&&(s.flags&=-2)}qt=-1,Et.length=0,Dr(),_n=null,(Et.length||rs.length)&&Or()}}let Tt=null,Rr=null;function xn(t){const e=Tt;return Tt=t,Rr=t&&t.type.__scopeId||null,e}function Sn(t,e=Tt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&_a(-1);const o=xn(e);let r;try{r=t(...i)}finally{xn(o),n._d&&_a(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function ke(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&&(ae(),zt(l,s,8,[t.el,a,t,e]),le())}}const md=Symbol("_vte"),Lr=t=>t.__isTeleport,Ce=Symbol("_leaveCb"),Tn=Symbol("_enterCb");function gd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ci(()=>{t.isMounted=!0}),Ei(()=>{t.isUnmounting=!0}),t}const kt=[Function,Array],Fr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},$r=t=>{const e=t.subTree;return e.component?$r(e.component):e},yd={name:"BaseTransition",props:Fr,setup(t,{slots:e}){const s=Ni(),n=gd();return()=>{const i=e.default&&Nr(e.default(),!0);if(!i||!i.length)return;const o=Ir(i),r=J(t),{mode:a}=r;if(n.isLeaving)return Pi(o);const l=Br(o);if(!l)return Pi(o);let u=Ai(l,r,n,s,f=>u=f);l.type!==wt&&As(l,u);let c=s.subTree&&Br(s.subTree);if(c&&c.type!==wt&&!He(l,c)&&$r(s).type!==wt){let f=Ai(c,r,n,s);if(As(c,f),a==="out-in"&&l.type!==wt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Pi(o);a==="in-out"&&l.type!==wt?f.delayLeave=(d,p,y)=>{const b=jr(n,c);b[String(c.key)]=c,d[Ce]=()=>{p(),d[Ce]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Ir(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==wt){e=s;break}}return e}const vd=yd;function jr(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 Ai(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:A,onAppear:_,onAfterAppear:V,onAppearCancelled:L}=e,P=String(t.key),C=jr(s,t),k=(R,G)=>{R&&zt(R,n,9,G)},z=(R,G)=>{const Y=G[1];k(R,G),H(R)?R.every($=>$.length<=1)&&Y():R.length<=1&&Y()},I={mode:r,persisted:a,beforeEnter(R){let G=l;if(!s.isMounted)if(o)G=A||l;else return;R[Ce]&&R[Ce](!0);const Y=C[P];Y&&He(t,Y)&&Y.el[Ce]&&Y.el[Ce](),k(G,[R])},enter(R){let G=u,Y=c,$=f;if(!s.isMounted)if(o)G=_||u,Y=V||c,$=L||f;else return;let st=!1;const _t=R[Tn]=Qt=>{st||(st=!0,Qt?k($,[R]):k(Y,[R]),I.delayedLeave&&I.delayedLeave(),R[Tn]=void 0)};G?z(G,[R,_t]):_t()},leave(R,G){const Y=String(t.key);if(R[Tn]&&R[Tn](!0),s.isUnmounting)return G();k(d,[R]);let $=!1;const st=R[Ce]=_t=>{$||($=!0,G(),_t?k(b,[R]):k(y,[R]),R[Ce]=void 0,C[Y]===t&&delete C[Y])};C[Y]=t,p?z(p,[R,st]):st()},clone(R){const G=Ai(R,e,s,n,i);return i&&i(G),G}};return I}function Pi(t){if(An(t))return t=de(t),t.children=null,t}function Br(t){if(!An(t))return Lr(t.type)&&t.children?Ir(t.children):t;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function As(t,e){t.shapeFlag&6&&t.component?(t.transition=e,As(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 Nr(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(Nr(r.children,e,a))):(e||r.type!==wt)&&n.push(a!=null?de(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 bd(t,e){return W(t)?gt({name:t.name},e,{setup:t}):t}function kr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function wn(t,e,s,n,i=!1){if(H(t)){t.forEach((y,b)=>wn(y,e&&(H(e)?e[b]:e),s,n,i));return}if(ls(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&wn(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Ui(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,d=J(f),p=f===it?()=>!1:y=>tt(d,y);if(u!=null&&u!==l&&(ct(u)?(c[u]=null,p(u)&&(f[u]=null)):vt(u)&&(u.value=null)),W(l))os(l,a,12,[r,c]);else{const y=ct(l),b=vt(l);if(y||b){const A=()=>{if(t.f){const _=y?p(l)?f[l]:c[l]:l.value;i?H(_)&&ni(_,o):H(_)?_.includes(o)||_.push(o):y?(c[l]=[o],p(l)&&(f[l]=c[l])):(l.value=[o],t.k&&(c[t.k]=l.value))}else y?(c[l]=r,p(l)&&(f[l]=r)):b&&(l.value=r,t.k&&(c[t.k]=r))};r?(A.id=-1,Rt(A,s)):A()}}}un().requestIdleCallback,un().cancelIdleCallback;const ls=t=>!!t.type.__asyncLoader,An=t=>t.type.__isKeepAlive;function _d(t,e){Ur(t,"a",e)}function xd(t,e){Ur(t,"da",e)}function Ur(t,e,s=mt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Pn(e,n,s),s){let i=s.parent;for(;i&&i.parent;)An(i.parent.vnode)&&Sd(n,e,s,i),i=i.parent}}function Sd(t,e,s,n){const i=Pn(e,t,n,!0);Mi(()=>{ni(n[e],i)},s)}function Pn(t,e,s=mt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ae();const a=Rs(s),l=zt(e,s,t,r);return a(),le(),l});return n?i.unshift(o):i.push(o),o}}const fe=t=>(e,s=mt)=>{(!Ls||t==="sp")&&Pn(t,(...n)=>e(...n),s)},Hr=fe("bm"),Ci=fe("m"),Kr=fe("bu"),Wr=fe("u"),Ei=fe("bum"),Mi=fe("um"),Td=fe("sp"),wd=fe("rtg"),Ad=fe("rtc");function Pd(t,e=mt){Pn("ec",t,e)}const Cd="components",Gr=Symbol.for("v-ndc");function Ed(t){return ct(t)?Md(Cd,t,!1)||t:t||Gr}function Md(t,e,s=!0,n=!1){const i=Tt||mt;if(i){const o=i.type;{const a=Ma(o,!1);if(a&&(a===e||a===Bt(e)||a===cn(Bt(e))))return o}const r=zr(i[t]||o[t],e)||zr(i.appContext[t],e);return!r&&n?o:r}}function zr(t,e){return t&&(t[e]||t[Bt(e)]||t[cn(Bt(e))])}function Ee(t,e,s,n){let i;const o=s,r=H(t);if(r||ct(t)){const a=r&&ns(t);let l=!1;a&&(l=!Nt(t),t=fn(t)),i=new Array(t.length);for(let u=0,c=t.length;u<c;u++)i[u]=e(l?St(t[u]):t[u],u,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(lt(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 Vd(t,e,s={},n,i){if(Tt.ce||Tt.parent&&ls(Tt.parent)&&Tt.parent.ce)return F(),Ft(ut,null,[et("slot",s,n)],64);let o=t[e];o&&o._c&&(o._d=!1),F();const r=o&&qr(o(s)),a=s.key||r&&r.key,l=Ft(ut,{key:(a&&!re(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 qr(t){return t.some(e=>Ds(e)?!(e.type===wt||e.type===ut&&!qr(e.children)):!0)?t:null}const Vi=t=>t?Aa(t)?Ui(t):Vi(t.parent):null,Ps=gt(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=>Vi(t.parent),$root:t=>Vi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Jr(t),$forceUpdate:t=>t.f||(t.f=()=>{wi(t.update)}),$nextTick:t=>t.n||(t.n=dd.bind(t.proxy)),$watch:t=>th.bind(t)}),Di=(t,e)=>t!==it&&!t.__isScriptSetup&&tt(t,e),Dd={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(Di(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];Oi&&(r[e]=0)}}const c=Ps[e];let f,d;if(c)return e==="$attrs"&&xt(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(d=l.config.globalProperties,tt(d,e))return d[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Di(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)||Di(e,r)||(a=o[0])&&tt(a,r)||tt(n,r)||tt(Ps,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 Od(){return Rd().attrs}function Rd(){const t=Ni();return t.setupContext||(t.setupContext=Ea(t))}function Yr(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Oi=!0;function Ld(t){const e=Jr(t),s=t.proxy,n=t.ctx;Oi=!1,e.beforeCreate&&Xr(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:y,activated:b,deactivated:A,beforeDestroy:_,beforeUnmount:V,destroyed:L,unmounted:P,render:C,renderTracked:k,renderTriggered:z,errorCaptured:I,serverPrefetch:R,expose:G,inheritAttrs:Y,components:$,directives:st,filters:_t}=e;if(u&&Fd(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);lt(Q)&&(t.data=_i(Q))}if(Oi=!0,o)for(const Q in o){const q=o[Q],te=W(q)?q.bind(s,s):W(q.get)?q.get.bind(s,s):Wt,Je=!W(q)&&W(q.set)?q.set.bind(s):Wt,ee=yt({get:te,set:Je});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>ee.value,set:$t=>ee.value=$t})}if(a)for(const Q in a)Zr(a[Q],n,s,Q);if(l){const Q=W(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(q=>{Li(q,Q[q])})}c&&Xr(c,t,"c");function pt(Q,q){H(q)?q.forEach(te=>Q(te.bind(s))):q&&Q(q.bind(s))}if(pt(Hr,f),pt(Ci,d),pt(Kr,p),pt(Wr,y),pt(_d,b),pt(xd,A),pt(Pd,I),pt(Ad,k),pt(wd,z),pt(Ei,V),pt(Mi,P),pt(Td,R),H(G))if(G.length){const Q=t.exposed||(t.exposed={});G.forEach(q=>{Object.defineProperty(Q,q,{get:()=>s[q],set:te=>s[q]=te})})}else t.exposed||(t.exposed={});C&&t.render===Wt&&(t.render=C),Y!=null&&(t.inheritAttrs=Y),$&&(t.components=$),st&&(t.directives=st),R&&kr(t)}function Fd(t,e,s=Wt){H(t)&&(t=Ri(t));for(const n in t){const i=t[n];let o;lt(i)?"default"in i?o=Es(i.from||n,i.default,!0):o=Es(i.from||n):o=Es(i),vt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function Xr(t,e,s){zt(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Zr(t,e,s,n){let i=n.includes(".")?ma(s,n):()=>s[n];if(ct(t)){const o=e[t];W(o)&&En(i,o)}else if(W(t))En(i,t.bind(s));else if(lt(t))if(H(t))t.forEach(o=>Zr(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&En(i,o,t)}}function Jr(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=>Cn(l,u,r,!0)),Cn(l,e,r)),lt(e)&&o.set(e,l),l}function Cn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Cn(t,o,s,!0),i&&i.forEach(r=>Cn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=$d[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const $d={data:Qr,props:ta,emits:ta,methods:Cs,computed:Cs,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:Cs,directives:Cs,watch:jd,provide:Qr,inject:Id};function Qr(t,e){return e?t?function(){return gt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Id(t,e){return Cs(Ri(t),Ri(e))}function Ri(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 Cs(t,e){return t?gt(Object.create(null),t,e):e}function ta(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:gt(Object.create(null),Yr(t),Yr(e??{})):e}function jd(t,e){if(!t)return e;if(!e)return t;const s=gt(Object.create(null),t);for(const n in e)s[n]=Mt(t[n],e[n]);return s}function ea(){return{app:null,config:{isNativeTag:vf,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 Bd=0;function Nd(t,e){return function(n,i=null){W(n)||(n=gt({},n)),i!=null&&!lt(i)&&(i=null);const o=ea(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Bd++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:xh,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,d){if(!l){const p=u._ceVNode||et(n,i);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(p,c,d),l=!0,u._container=c,c.__vue_app__=u,Ui(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(zt(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=cs;cs=u;try{return c()}finally{cs=f}}};return u}}let cs=null;function Li(t,e){if(mt){let s=mt.provides;const n=mt.parent&&mt.parent.provides;n===s&&(s=mt.provides=Object.create(n)),s[t]=e}}function Es(t,e,s=!1){const n=mt||Tt;if(n||cs){const i=cs?cs._context.provides:n?n.parent==null?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 sa={},na=()=>Object.create(sa),ia=t=>Object.getPrototypeOf(t)===sa;function kd(t,e,s,n=!1){const i={},o=na();t.propsDefaults=Object.create(null),oa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Zf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Ud(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 d=c[f];if(Mn(t.emitsOptions,d))continue;const p=e[d];if(l)if(tt(o,d))p!==o[d]&&(o[d]=p,u=!0);else{const y=Bt(d);i[y]=Fi(l,a,y,p,t,!1)}else p!==o[d]&&(o[d]=p,u=!0)}}}else{oa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=Ie(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Fi(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&&ce(t.attrs,"set","")}function oa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(ys(l))continue;const u=e[l];let c;i&&tt(i,c=Bt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:Mn(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]=Fi(i,l,f,u[f],t,!tt(u,f))}}return r}function Fi(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=Rs(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===Ie(s))&&(n=!0))}return n}const Hd=new WeakMap;function ra(t,e,s=!1){const n=s?Hd: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[d,p]=ra(f,e,!0);gt(r,d),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 lt(t)&&n.set(t,ts),ts;if(H(o))for(let c=0;c<o.length;c++){const f=Bt(o[c]);aa(f)&&(r[f]=it)}else if(o)for(const c in o){const f=Bt(c);if(aa(f)){const d=o[c],p=r[f]=H(d)||W(d)?{type:d}:gt({},d),y=p.type;let b=!1,A=!0;if(H(y))for(let _=0;_<y.length;++_){const V=y[_],L=W(V)&&V.name;if(L==="Boolean"){b=!0;break}else L==="String"&&(A=!1)}else b=W(y)&&y.name==="Boolean";p[0]=b,p[1]=A,(b||tt(p,"default"))&&a.push(f)}}const u=[r,a];return lt(t)&&n.set(t,u),u}function aa(t){return t[0]!=="$"&&!ys(t)}const la=t=>t[0]==="_"||t==="$stable",$i=t=>H(t)?t.map(Yt):[Yt(t)],Kd=(t,e,s)=>{if(e._n)return e;const n=Sn((...i)=>(Ae.NODE_ENV!=="production"&&mt&&(!s||(s.root,mt.root)),$i(e(...i))),s);return n._c=!1,n},ca=(t,e,s)=>{const n=t._ctx;for(const i in t){if(la(i))continue;const o=t[i];if(W(o))e[i]=Kd(i,o,n);else if(o!=null){const r=$i(o);e[i]=()=>r}}},ua=(t,e)=>{const s=$i(e);t.slots.default=()=>s},fa=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},Wd=(t,e,s)=>{const n=t.slots=na();if(t.vnode.shapeFlag&32){const i=e._;i?(fa(n,e,s),s&&er(n,"_",i,!0)):ca(e,n)}else e&&ua(t,e)},Gd=(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)!la(a)&&r[a]==null&&delete i[a]},Rt=ah;function zd(t){return qd(t)}function qd(t,e){const s=un();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Wt,insertStaticContent:y}=t,b=(h,m,v,T=null,x=null,S=null,D=void 0,M=null,E=!!m.dynamicChildren)=>{if(h===m)return;h&&!He(h,m)&&(T=xe(h),$t(h,x,S,!0),h=null),m.patchFlag===-2&&(E=!1,m.dynamicChildren=null);const{type:w,ref:U,shapeFlag:O}=m;switch(w){case Vn:A(h,m,v,T);break;case wt:_(h,m,v,T);break;case Dn:h==null&&V(m,v,T,D);break;case ut:$(h,m,v,T,x,S,D,M,E);break;default:O&1?C(h,m,v,T,x,S,D,M,E):O&6?st(h,m,v,T,x,S,D,M,E):(O&64||O&128)&&w.process(h,m,v,T,x,S,D,M,E,nn)}U!=null&&x&&wn(U,h&&h.ref,S,m||h,!m)},A=(h,m,v,T)=>{if(h==null)n(m.el=a(m.children),v,T);else{const x=m.el=h.el;m.children!==h.children&&u(x,m.children)}},_=(h,m,v,T)=>{h==null?n(m.el=l(m.children||""),v,T):m.el=h.el},V=(h,m,v,T)=>{[h.el,h.anchor]=y(h.children,m,v,T,h.el,h.anchor)},L=({el:h,anchor:m},v,T)=>{let x;for(;h&&h!==m;)x=d(h),n(h,v,T),h=x;n(m,v,T)},P=({el:h,anchor:m})=>{let v;for(;h&&h!==m;)v=d(h),i(h),h=v;i(m)},C=(h,m,v,T,x,S,D,M,E)=>{m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),h==null?k(m,v,T,x,S,D,M,E):R(h,m,x,S,D,M,E)},k=(h,m,v,T,x,S,D,M)=>{let E,w;const{props:U,shapeFlag:O,transition:j,dirs:K}=h;if(E=h.el=r(h.type,S,U&&U.is,U),O&8?c(E,h.children):O&16&&I(h.children,E,null,T,x,Ii(h,S),D,M),K&&ke(h,null,T,"created"),z(E,h,h.scopeId,D,T),U){for(const at in U)at!=="value"&&!ys(at)&&o(E,at,null,U[at],S,T);"value"in U&&o(E,"value",null,U.value,S),(w=U.onVnodeBeforeMount)&&Xt(w,T,h)}K&&ke(h,null,T,"beforeMount");const X=Yd(x,j);X&&j.beforeEnter(E),n(E,m,v),((w=U&&U.onVnodeMounted)||X||K)&&Rt(()=>{w&&Xt(w,T,h),X&&j.enter(E),K&&ke(h,null,T,"mounted")},x)},z=(h,m,v,T,x)=>{if(v&&p(h,v),T)for(let S=0;S<T.length;S++)p(h,T[S]);if(x){let S=x.subTree;if(m===S||ba(S.type)&&(S.ssContent===m||S.ssFallback===m)){const D=x.vnode;z(h,D,D.scopeId,D.slotScopeIds,x.parent)}}},I=(h,m,v,T,x,S,D,M,E=0)=>{for(let w=E;w<h.length;w++){const U=h[w]=M?Me(h[w]):Yt(h[w]);b(null,U,m,v,T,x,S,D,M)}},R=(h,m,v,T,x,S,D)=>{const M=m.el=h.el;let{patchFlag:E,dynamicChildren:w,dirs:U}=m;E|=h.patchFlag&16;const O=h.props||it,j=m.props||it;let K;if(v&&Ue(v,!1),(K=j.onVnodeBeforeUpdate)&&Xt(K,v,m,h),U&&ke(m,h,v,"beforeUpdate"),v&&Ue(v,!0),(O.innerHTML&&j.innerHTML==null||O.textContent&&j.textContent==null)&&c(M,""),w?G(h.dynamicChildren,w,M,v,T,Ii(m,x),S):D||q(h,m,M,null,v,T,Ii(m,x),S,!1),E>0){if(E&16)Y(M,O,j,v,x);else if(E&2&&O.class!==j.class&&o(M,"class",null,j.class,x),E&4&&o(M,"style",O.style,j.style,x),E&8){const X=m.dynamicProps;for(let at=0;at<X.length;at++){const nt=X[at],It=O[nt],Dt=j[nt];(Dt!==It||nt==="value")&&o(M,nt,It,Dt,x,v)}}E&1&&h.children!==m.children&&c(M,m.children)}else!D&&w==null&&Y(M,O,j,v,x);((K=j.onVnodeUpdated)||U)&&Rt(()=>{K&&Xt(K,v,m,h),U&&ke(m,h,v,"updated")},T)},G=(h,m,v,T,x,S,D)=>{for(let M=0;M<m.length;M++){const E=h[M],w=m[M],U=E.el&&(E.type===ut||!He(E,w)||E.shapeFlag&70)?f(E.el):v;b(E,w,U,null,T,x,S,D,!0)}},Y=(h,m,v,T,x)=>{if(m!==v){if(m!==it)for(const S in m)!ys(S)&&!(S in v)&&o(h,S,m[S],null,x,T);for(const S in v){if(ys(S))continue;const D=v[S],M=m[S];D!==M&&S!=="value"&&o(h,S,M,D,x,T)}"value"in v&&o(h,"value",m.value,v.value,x)}},$=(h,m,v,T,x,S,D,M,E)=>{const w=m.el=h?h.el:a(""),U=m.anchor=h?h.anchor:a("");let{patchFlag:O,dynamicChildren:j,slotScopeIds:K}=m;K&&(M=M?M.concat(K):K),h==null?(n(w,v,T),n(U,v,T),I(m.children||[],v,U,x,S,D,M,E)):O>0&&O&64&&j&&h.dynamicChildren?(G(h.dynamicChildren,j,v,x,S,D,M),(m.key!=null||x&&m===x.subTree)&&da(h,m,!0)):q(h,m,v,U,x,S,D,M,E)},st=(h,m,v,T,x,S,D,M,E)=>{m.slotScopeIds=M,h==null?m.shapeFlag&512?x.ctx.activate(m,v,T,D,E):_t(m,v,T,x,S,D,E):Qt(h,m,E)},_t=(h,m,v,T,x,S,D)=>{const M=h.component=ph(h,T,x);if(An(h)&&(M.ctx.renderer=nn),mh(M,!1,D),M.asyncDep){if(x&&x.registerDep(M,pt,D),!h.el){const E=M.subTree=et(wt);_(null,E,m,v)}}else pt(M,h,m,v,x,S,D)},Qt=(h,m,v)=>{const T=m.component=h.component;if(oh(h,m,v))if(T.asyncDep&&!T.asyncResolved){Q(T,m,v);return}else T.next=m,T.update();else m.el=h.el,T.vnode=m},pt=(h,m,v,T,x,S,D)=>{const M=()=>{if(h.isMounted){let{next:O,bu:j,u:K,parent:X,vnode:at}=h;{const ie=ha(h);if(ie){O&&(O.el=at.el,Q(h,O,D)),ie.asyncDep.then(()=>{h.isUnmounted||M()});return}}let nt=O,It;Ue(h,!1),O?(O.el=at.el,Q(h,O,D)):O=at,j&&ri(j),(It=O.props&&O.props.onVnodeBeforeUpdate)&&Xt(It,X,O,at),Ue(h,!0);const Dt=ya(h),ne=h.subTree;h.subTree=Dt,b(ne,Dt,f(ne.el),xe(ne),h,x,S),O.el=Dt.el,nt===null&&rh(h,Dt.el),K&&Rt(K,x),(It=O.props&&O.props.onVnodeUpdated)&&Rt(()=>Xt(It,X,O,at),x)}else{let O;const{el:j,props:K}=m,{bm:X,m:at,parent:nt,root:It,type:Dt}=h,ne=ls(m);Ue(h,!1),X&&ri(X),!ne&&(O=K&&K.onVnodeBeforeMount)&&Xt(O,nt,m),Ue(h,!0);{It.ce&&It.ce._injectChildStyle(Dt);const ie=h.subTree=ya(h);b(null,ie,v,T,h,x,S),m.el=ie.el}if(at&&Rt(at,x),!ne&&(O=K&&K.onVnodeMounted)){const ie=m;Rt(()=>Xt(O,nt,ie),x)}(m.shapeFlag&256||nt&&ls(nt.vnode)&&nt.vnode.shapeFlag&256)&&h.a&&Rt(h.a,x),h.isMounted=!0,m=v=T=null}};h.scope.on();const E=h.effect=new rr(M);h.scope.off();const w=h.update=E.run.bind(E),U=h.job=E.runIfDirty.bind(E);U.i=h,U.id=h.uid,E.scheduler=()=>wi(U),Ue(h,!0),w()},Q=(h,m,v)=>{m.component=h;const T=h.vnode.props;h.vnode=m,h.next=null,Ud(h,m.props,T,v),Gd(h,m.children,v),ae(),Vr(h),le()},q=(h,m,v,T,x,S,D,M,E=!1)=>{const w=h&&h.children,U=h?h.shapeFlag:0,O=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){Je(w,O,v,T,x,S,D,M,E);return}else if(j&256){te(w,O,v,T,x,S,D,M,E);return}}K&8?(U&16&&se(w,x,S),O!==w&&c(v,O)):U&16?K&16?Je(w,O,v,T,x,S,D,M,E):se(w,x,S,!0):(U&8&&c(v,""),K&16&&I(O,v,T,x,S,D,M,E))},te=(h,m,v,T,x,S,D,M,E)=>{h=h||ts,m=m||ts;const w=h.length,U=m.length,O=Math.min(w,U);let j;for(j=0;j<O;j++){const K=m[j]=E?Me(m[j]):Yt(m[j]);b(h[j],K,v,null,x,S,D,M,E)}w>U?se(h,x,S,!0,!1,O):I(m,v,T,x,S,D,M,E,O)},Je=(h,m,v,T,x,S,D,M,E)=>{let w=0;const U=m.length;let O=h.length-1,j=U-1;for(;w<=O&&w<=j;){const K=h[w],X=m[w]=E?Me(m[w]):Yt(m[w]);if(He(K,X))b(K,X,v,null,x,S,D,M,E);else break;w++}for(;w<=O&&w<=j;){const K=h[O],X=m[j]=E?Me(m[j]):Yt(m[j]);if(He(K,X))b(K,X,v,null,x,S,D,M,E);else break;O--,j--}if(w>O){if(w<=j){const K=j+1,X=K<U?m[K].el:T;for(;w<=j;)b(null,m[w]=E?Me(m[w]):Yt(m[w]),v,X,x,S,D,M,E),w++}}else if(w>j)for(;w<=O;)$t(h[w],x,S,!0),w++;else{const K=w,X=w,at=new Map;for(w=X;w<=j;w++){const jt=m[w]=E?Me(m[w]):Yt(m[w]);jt.key!=null&&at.set(jt.key,w)}let nt,It=0;const Dt=j-X+1;let ne=!1,ie=0;const on=new Array(Dt);for(w=0;w<Dt;w++)on[w]=0;for(w=K;w<=O;w++){const jt=h[w];if(It>=Dt){$t(jt,x,S,!0);continue}let oe;if(jt.key!=null)oe=at.get(jt.key);else for(nt=X;nt<=j;nt++)if(on[nt-X]===0&&He(jt,m[nt])){oe=nt;break}oe===void 0?$t(jt,x,S,!0):(on[oe-X]=w+1,oe>=ie?ie=oe:ne=!0,b(jt,m[oe],v,null,x,S,D,M,E),It++)}const gf=ne?Xd(on):ts;for(nt=gf.length-1,w=Dt-1;w>=0;w--){const jt=X+w,oe=m[jt],yf=jt+1<U?m[jt+1].el:T;on[w]===0?b(null,oe,v,yf,x,S,D,M,E):ne&&(nt<0||w!==gf[nt]?ee(oe,v,yf,2):nt--)}}},ee=(h,m,v,T,x=null)=>{const{el:S,type:D,transition:M,children:E,shapeFlag:w}=h;if(w&6){ee(h.component.subTree,m,v,T);return}if(w&128){h.suspense.move(m,v,T);return}if(w&64){D.move(h,m,v,nn);return}if(D===ut){n(S,m,v);for(let O=0;O<E.length;O++)ee(E[O],m,v,T);n(h.anchor,m,v);return}if(D===Dn){L(h,m,v);return}if(T!==2&&w&1&&M)if(T===0)M.beforeEnter(S),n(S,m,v),Rt(()=>M.enter(S),x);else{const{leave:O,delayLeave:j,afterLeave:K}=M,X=()=>n(S,m,v),at=()=>{O(S,()=>{X(),K&&K()})};j?j(S,X,at):at()}else n(S,m,v)},$t=(h,m,v,T=!1,x=!1)=>{const{type:S,props:D,ref:M,children:E,dynamicChildren:w,shapeFlag:U,patchFlag:O,dirs:j,cacheIndex:K}=h;if(O===-2&&(x=!1),M!=null&&wn(M,null,v,h,!0),K!=null&&(m.renderCache[K]=void 0),U&256){m.ctx.deactivate(h);return}const X=U&1&&j,at=!ls(h);let nt;if(at&&(nt=D&&D.onVnodeBeforeUnmount)&&Xt(nt,m,h),U&6)Qe(h.component,v,T);else{if(U&128){h.suspense.unmount(v,T);return}X&&ke(h,null,m,"beforeUnmount"),U&64?h.type.remove(h,m,v,nn,T):w&&!w.hasOnce&&(S!==ut||O>0&&O&64)?se(w,m,v,!1,!0):(S===ut&&O&384||!x&&U&16)&&se(E,m,v),T&&sn(h)}(at&&(nt=D&&D.onVnodeUnmounted)||X)&&Rt(()=>{nt&&Xt(nt,m,h),X&&ke(h,null,m,"unmounted")},v)},sn=h=>{const{type:m,el:v,anchor:T,transition:x}=h;if(m===ut){ei(v,T);return}if(m===Dn){P(h);return}const S=()=>{i(v),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:D,delayLeave:M}=x,E=()=>D(v,S);M?M(h.el,S,E):E()}else S()},ei=(h,m)=>{let v;for(;h!==m;)v=d(h),i(h),h=v;i(m)},Qe=(h,m,v)=>{const{bum:T,scope:x,job:S,subTree:D,um:M,m:E,a:w}=h;pa(E),pa(w),T&&ri(T),x.stop(),S&&(S.flags|=8,$t(D,h,m,v)),M&&Rt(M,m),Rt(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},se=(h,m,v,T=!1,x=!1,S=0)=>{for(let D=S;D<h.length;D++)$t(h[D],m,v,T,x)},xe=h=>{if(h.shapeFlag&6)return xe(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const m=d(h.anchor||h.el),v=m&&m[md];return v?d(v):m};let Se=!1;const Le=(h,m,v)=>{h==null?m._vnode&&$t(m._vnode,null,null,!0):b(m._vnode||null,h,m,null,null,null,v),m._vnode=h,Se||(Se=!0,Vr(),Dr(),Se=!1)},nn={p:b,um:$t,m:ee,r:sn,mt:_t,mc:I,pc:q,pbc:G,n:xe,o:t};return{render:Le,hydrate:void 0,createApp:Nd(Le)}}function Ii({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 Ue({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Yd(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function da(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]=Me(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&da(r,a)),a.type===Vn&&(a.el=r.el)}}function Xd(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 ha(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ha(e)}function pa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Zd=Symbol.for("v-scx"),Jd=()=>Es(Zd);function Qd(t,e){return ji(t,null,e)}function En(t,e,s){return ji(t,e,s)}function ji(t,e,s=it){const{immediate:n,deep:i,flush:o,once:r}=s,a=gt({},s),l=e&&n||!e&&o!=="post";let u;if(Ls){if(o==="sync"){const p=Jd();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Wt,p.resume=Wt,p.pause=Wt,p}}const c=mt;a.call=(p,y,b)=>zt(p,c,y,b);let f=!1;o==="post"?a.scheduler=p=>{Rt(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,y)=>{y?p():wi(p)}),a.augmentJob=p=>{e&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=od(t,e,a);return Ls&&(u?u.push(d):l&&d()),d}function th(t,e,s){const n=this.proxy,i=ct(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=Rs(this),a=ji(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 eh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Bt(e)}Modifiers`]||t[`${Ie(e)}Modifiers`];function sh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||it;let i=s;const o=e.startsWith("update:"),r=o&&eh(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ct(c)?c.trim():c)),r.number&&(i=s.map(Tf)));let a,l=n[a=oi(e)]||n[a=oi(Bt(e))];!l&&o&&(l=n[a=oi(Ie(e))]),l&&zt(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,zt(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,gt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(lt(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):gt(r,o),lt(t)&&n.set(t,r),r)}function Mn(t,e){return!t||!rn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,Ie(e))||tt(t,e))}function w_(){}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:d,setupState:p,ctx:y,inheritAttrs:b}=t,A=xn(t);let _,V;try{if(s.shapeFlag&4){const P=i||n,C=Ae.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(P,{get(k,z,I){return rd(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(k,z,I)}}):P;_=Yt(u.call(C,P,c,Ae.NODE_ENV!=="production"?mn(f):f,p,d,y)),V=a}else{const P=e;Ae.NODE_ENV,_=Yt(P.length>1?P(Ae.NODE_ENV!=="production"?mn(f):f,Ae.NODE_ENV!=="production"?{get attrs(){return mn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):P(Ae.NODE_ENV!=="production"?mn(f):f,null)),V=e.props?a:nh(a)}}catch(P){Ms.length=0,bn(P,t,1),_=et(wt)}let L=_;if(V&&b!==!1){const P=Object.keys(V),{shapeFlag:C}=L;P.length&&C&7&&(o&&P.some(si)&&(V=ih(V,o)),L=de(L,V,!1,!0))}return s.dirs&&(L=de(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&As(L,s.transition),_=L,xn(A),_}const nh=t=>{let e;for(const s in t)(s==="class"||s==="style"||rn(s))&&((e||(e={}))[s]=t[s]);return e},ih=(t,e)=>{const s={};for(const n in t)(!si(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function oh(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 d=c[f];if(r[d]!==n[d]&&!Mn(u,d))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]&&!Mn(s,o))return!0}return!1}function rh({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 ah(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):pd(t)}const ut=Symbol.for("v-fgt"),Vn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),Dn=Symbol.for("v-stc"),Ms=[];let Lt=null;function F(t=!1){Ms.push(Lt=t?null:[])}function lh(){Ms.pop(),Lt=Ms[Ms.length-1]||null}let Vs=1;function _a(t,e=!1){Vs+=t,t<0&&Lt&&e&&(Lt.hasOnce=!0)}function xa(t){return t.dynamicChildren=Vs>0?Lt||ts:null,lh(),Vs>0&&Lt&&Lt.push(t),t}function B(t,e,s,n,i,o){return xa(g(t,e,s,n,i,o,!0))}function Ft(t,e,s,n,i){return xa(et(t,e,s,n,i,!0))}function Ds(t){return t?t.__v_isVNode===!0:!1}function He(t,e){return t.type===e.type&&t.key===e.key}const Sa=({key:t})=>t??null,On=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||vt(t)||W(t)?{i:Tt,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&&Sa(e),ref:e&&On(e),scopeId:Rr,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:Tt};return a?(Bi(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ct(s)?8:16),Vs>0&&!r&&Lt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Lt.push(l),l}const et=ch;function ch(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Gr)&&(t=wt),Ds(t)){const a=de(t,e,!0);return s&&Bi(a,s),Vs>0&&!o&&Lt&&(a.shapeFlag&6?Lt[Lt.indexOf(t)]=a:Lt.push(a)),a.patchFlag=-2,a}if(_h(t)&&(t=t.__vccOpts),e){e=uh(e);let{class:a,style:l}=e;a&&!ct(a)&&(e.class=Ct(a)),lt(l)&&(xi(l)&&!H(l)&&(l=gt({},l)),e.style=ai(l))}const r=ct(t)?1:ba(t)?128:Lr(t)?64:lt(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function uh(t){return t?xi(t)||ia(t)?gt({},t):t:null}function de(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(On(e)):[o,On(e)]:On(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&&de(t.ssContent),ssFallback:t.ssFallback&&de(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&As(c,l.clone(c)),c}function Os(t=" ",e=0){return et(Vn,null,t,e)}function fh(t,e){const s=et(Dn,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?(F(),Ft(wt,null,t)):et(wt,null,t)}function Yt(t){return t==null||typeof t=="boolean"?et(wt):H(t)?et(ut,null,t.slice()):Ds(t)?Me(t):et(Vn,null,String(t))}function Me(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:de(t)}function Bi(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),Bi(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!ia(e)?e._ctx=Tt:i===3&&Tt&&(Tt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:Tt},s=32):(e=String(e),n&64?(s=16,e=[Os(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=ai([e.style,n.style]);else if(rn(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 Xt(t,e,s,n=null){zt(t,e,7,[s,n])}const dh=ea();let hh=0;function ph(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||dh,o={uid:hh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Df(!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:ra(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=sh.bind(null,o),t.ce&&t.ce(o),o}let mt=null;const Ni=()=>mt||Tt;let Rn,ki;{const t=un(),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)}};Rn=e("__VUE_INSTANCE_SETTERS__",s=>mt=s),ki=e("__VUE_SSR_SETTERS__",s=>Ls=s)}const Rs=t=>{const e=mt;return Rn(t),t.scope.on(),()=>{t.scope.off(),Rn(e)}},wa=()=>{mt&&mt.scope.off(),Rn(null)};function Aa(t){return t.vnode.shapeFlag&4}let Ls=!1;function mh(t,e=!1,s=!1){e&&ki(e);const{props:n,children:i}=t.vnode,o=Aa(t);kd(t,n,o,e),Wd(t,i,s);const r=o?gh(t,e):void 0;return e&&ki(!1),r}function gh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Dd);const{setup:n}=s;if(n){ae();const i=t.setupContext=n.length>1?Ea(t):null,o=Rs(t),r=os(n,t,0,[t.props,i]),a=Jo(r);if(le(),o(),(a||t.sp)&&!ls(t)&&kr(t),a){if(r.then(wa,wa),e)return r.then(l=>{Pa(t,l)}).catch(l=>{bn(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:lt(e)&&(t.setupState=Pr(e)),Ca(t)}function Ca(t,e,s){const n=t.type;t.render||(t.render=n.render||Wt);{const i=Rs(t);ae();try{Ld(t)}finally{le(),i()}}}const yh={get(t,e){return xt(t,"get",""),t[e]}};function Ea(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,yh),slots:t.slots,emit:t.emit,expose:e}}function Ui(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Pr(Jf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ps)return Ps[s](t)},has(e,s){return s in e||s in Ps}})):t.proxy}const vh=/(?:^|[-_])(\w)/g,bh=t=>t.replace(vh,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?bh(n):s?"App":"Anonymous"}function _h(t){return W(t)&&"__vccOpts"in t}const yt=(t,e)=>nd(t,e,Ls);function Hi(t,e,s){const n=arguments.length;return n===2?lt(e)&&!H(e)?Ds(e)?et(t,null,[e]):et(t,e):et(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ds(s)&&(s=[s]),et(t,e,s))}const xh="3.5.13";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,Sh="http://www.w3.org/2000/svg",Th="http://www.w3.org/1998/Math/MathML",he=typeof document<"u"?document:null,Ra=he&&he.createElement("template"),wh={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"?he.createElementNS(Sh,t):e==="mathml"?he.createElementNS(Th,t):s?he.createElement(t,{is:s}):he.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>he.createTextNode(t),createComment:t=>he.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>he.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]}},Ve="transition",Fs="animation",$s=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},Ah=gt({},Fr,La),Ph=(t=>(t.displayName="Transition",t.props=Ah,t))((t,{slots:e})=>Hi(vd,Ch(t),e)),Ke=(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 Ch(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:d=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,y=Eh(i),b=y&&y[0],A=y&&y[1],{onBeforeEnter:_,onEnter:V,onEnterCancelled:L,onLeave:P,onLeaveCancelled:C,onBeforeAppear:k=_,onAppear:z=V,onAppearCancelled:I=L}=e,R=($,st,_t,Qt)=>{$._enterCancelled=Qt,We($,st?c:a),We($,st?u:r),_t&&_t()},G=($,st)=>{$._isLeaving=!1,We($,f),We($,p),We($,d),st&&st()},Y=$=>(st,_t)=>{const Qt=$?z:V,pt=()=>R(st,$,_t);Ke(Qt,[st,pt]),$a(()=>{We(st,$?l:o),pe(st,$?c:a),Fa(Qt)||Ia(st,n,b,pt)})};return gt(e,{onBeforeEnter($){Ke(_,[$]),pe($,o),pe($,r)},onBeforeAppear($){Ke(k,[$]),pe($,l),pe($,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave($,st){$._isLeaving=!0;const _t=()=>G($,st);pe($,f),$._enterCancelled?(pe($,d),Na()):(Na(),pe($,d)),$a(()=>{$._isLeaving&&(We($,f),pe($,p),Fa(P)||Ia($,n,A,_t))}),Ke(P,[$,_t])},onEnterCancelled($){R($,!1,void 0,!0),Ke(L,[$])},onAppearCancelled($){R($,!0,void 0,!0),Ke(I,[$])},onLeaveCancelled($){G($),Ke(C,[$])}})}function Eh(t){if(t==null)return null;if(lt(t))return[Wi(t.enter),Wi(t.leave)];{const e=Wi(t);return[e,e]}}function Wi(t){return wf(t)}function pe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[$s]||(t[$s]=new Set)).add(e)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[$s];s&&(s.delete(e),s.size||(t[$s]=void 0))}function $a(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Mh=0;function Ia(t,e,s,n){const i=t._endId=++Mh,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Vh(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,d),o()},d=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function Vh(t,e){const s=window.getComputedStyle(t),n=y=>(s[y]||"").split(", "),i=n(`${Ve}Delay`),o=n(`${Ve}Duration`),r=ja(i,o),a=n(`${Fs}Delay`),l=n(`${Fs}Duration`),u=ja(a,l);let c=null,f=0,d=0;e===Ve?r>0&&(c=Ve,f=r,d=o.length):e===Fs?u>0&&(c=Fs,f=u,d=l.length):(f=Math.max(r,u),c=f>0?r>u?Ve:Fs:null,d=c?c===Ve?o.length:l.length:0);const p=c===Ve&&/\b(transform|all)(,|$)/.test(n(`${Ve}Property`).toString());return{type:c,timeout:f,propCount:d,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 Dh(t,e,s){const n=t[$s];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ka=Symbol("_vod"),Oh=Symbol("_vsh"),Rh=Symbol(""),Lh=/(^|;)\s*display\s*:/;function Fh(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&&Ln(n,a,"")}else for(const r in e)s[r]==null&&Ln(n,r,"");for(const r in s)r==="display"&&(o=!0),Ln(n,r,s[r])}else if(i){if(e!==s){const r=n[Rh];r&&(s+=";"+r),n.cssText=s,o=Lh.test(s)}}else e&&t.removeAttribute("style");ka in t&&(t[ka]=o?n.display:"",t[Oh]&&(n.display="none"))}const Ua=/\s*!important$/;function Ln(t,e,s){if(H(s))s.forEach(n=>Ln(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=$h(t,e);Ua.test(s)?t.setProperty(Ie(n),s.replace(Ua,""),"important"):t[n]=s}}const Ha=["Webkit","Moz","ms"],Gi={};function $h(t,e){const s=Gi[e];if(s)return s;let n=Bt(e);if(n!=="filter"&&n in t)return Gi[e]=n;n=cn(n);for(let i=0;i<Ha.length;i++){const o=Ha[i]+n;if(o in t)return Gi[e]=o}return e}const Ka="http://www.w3.org/1999/xlink";function Wa(t,e,s,n,i,o=Mf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Ka,e.slice(6,e.length)):t.setAttributeNS(Ka,e,s):s==null||o&&!nr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":re(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=nr(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 Ih(t,e,s,n){t.addEventListener(e,s,n)}function jh(t,e,s,n){t.removeEventListener(e,s,n)}const za=Symbol("_vei");function Bh(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]=Nh(e);if(n){const u=o[e]=Hh(n,i);Ih(t,a,u,l)}else r&&(jh(t,a,r,l),o[e]=void 0)}}const qa=/(?:Once|Passive|Capture)$/;function Nh(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):Ie(t.slice(2)),e]}let zi=0;const kh=Promise.resolve(),Uh=()=>zi||(kh.then(()=>zi=0),zi=Date.now());function Hh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;zt(Kh(n,s.value),e,5,[n])};return s.value=t,s.attached=Uh(),s}function Kh(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,Wh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Dh(t,n,r):e==="style"?Fh(t,s,n):rn(e)?si(e)||Bh(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Gh(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)||!ct(n))?Ga(t,Bt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Wa(t,e,n,r))};function Gh(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==="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)&&ct(s)?!1:e in t}const zh=gt({patchProp:Wh},wh);let Xa;function qh(){return Xa||(Xa=zd(zh))}const Za=(...t)=>{const e=qh().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=Xh(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,Yh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function Yh(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Xh(t){return ct(t)?document.querySelector(t):t}const Zh={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Jh={class:"slds-grid slds-grid_align-spread slds-wrap"},Qh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={key:0,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={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},ip={class:"slds-text-color_weak"},op={__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(),B("footer",Zh,[g("div",Jh,[g("div",Qh,[t.description?(F(),B("span",tp,Z(t.description),1)):Ut("",!0)]),g("div",ep,[g("span",sp,Z(t.schemaCount)+" schema"+Z(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",np,[g("span",ip," 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",rp={class:"slds-page-header"},ap={class:"slds-page-header__row"},lp={class:"slds-page-header__col-title"},cp={class:"slds-media"},up={class:"slds-media__body"},fp={class:"slds-page-header__name"},dp={class:"slds-page-header__name-title"},hp=["title"],pp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(F(),B("header",rp,[g("div",ap,[g("div",lp,[g("div",cp,[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",up,[g("div",fp,[g("div",dp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},Z(t.title),9,hp)])])])])])])]))}},Qa=t=>e=>typeof e=="string"&&e.startsWith(t),qi=Qa("--"),mp=Qa("var(--"),Yi=t=>mp(t)?gp.test(t.split("/*")[0].trim()):!1,gp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Is={};function tl(t){for(const e in t)Is[e]=t[e],qi(e)&&(Is[e].isCSSVariable=!0)}function js(t,e){const s=typeof t=="string"?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Es(n,r);if(a||a===null)return a;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},r=>(Li(n,r),r)]}const[yp,vp]=js("Motion"),[bp,P_]=js("LayoutGroup");function el(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}class me{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(){}beforeUnmount(){}}function Bs(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Bs(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 _p(t,e){return typeof t!=typeof e?!0:Array.isArray(t)&&Array.isArray(e)?!xp(t,e):t!==e}function xp(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 Sp=t=>t;function Tp(t){return typeof t=="number"}const wp=["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"],Ap=new Set(wp);function nl(t){return Ap.has(t)}function Pp(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 Cp{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;En(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 Xi=new WeakMap,[Ep,C_]=js("AnimatePresenceContext");function Mp(t){return typeof t=="string"||t===!1||Array.isArray(t)}const Vt=t=>t;let il=Vt;const Fn=["read","resolveKeyframes","update","preRender","render","postRender"];function Vp(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,d=!1)=>{const y=d&&i?s:n;return f&&r.add(c),y.has(c)||y.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 Dp=40;function ol(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=Fn.reduce((_,V)=>(_[V]=Vp(o),_),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:f,postRender:d}=r,p=()=>{const _=performance.now();s=!1,i.delta=n?1e3/60:Math.max(Math.min(_-i.timestamp,Dp),1),i.timestamp=_,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(p))},y=()=>{s=!0,n=!0,i.isProcessing||t(p)};return{schedule:Fn.reduce((_,V)=>{const L=r[V];return _[V]=(P,C=!1,k=!1)=>(s||y(),L.schedule(P,C,k)),_},{}),cancel:_=>{for(let V=0;V<Fn.length;V++)r[Fn[V]].cancel(_)},state:i,steps:r}}const{schedule:rt,cancel:ge,state:bt,steps:Zi}=ol(typeof requestAnimationFrame<"u"?requestAnimationFrame:Vt,!0),rl=new WeakMap;let Op=0;const Ji=new Set;class Rp{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=Vt,this.id=`motion-state-${Op++}`,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 Cp(this),this.type=nl(this.options.as)?"svg":"html"}get context(){if(!this._context){const e={get:(s,n)=>{var i;return Mp(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,...Bs(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:!Xi.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&&(this.type==="svg"&&this.visualElement.updateDimensions(),(i=this.startAnimation)==null||i.call(this)),this.options.layoutId&&(Ji.add(this.options.layoutId),rt.render(()=>{Ji.clear()}))}clearAnimation(){var e,s;this.currentProcess&&ge(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=rt.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(e=!1){const s=this.options.layoutId&&!Ji.has(this.options.layoutId);(()=>{e&&Array.from(this.children).reverse().forEach(this.unmountChild);const i=()=>{var o,r,a;(r=(o=this.parent)==null?void 0:o.children)==null||r.delete(this),rl.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=Pp(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 Ge=new WeakMap;function al(t,e,s){return new CustomEvent(t,{detail:{target:e,isExit:s}})}const ll={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>`${t}deg`},Lp={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>`${t}px`},rotate:ll,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Sp},skew:ll},Fp=["translate","scale","rotate","skew"],$p=["","X","Y","Z"],Qi=new Map,$n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];Fp.forEach(t=>{$p.forEach(e=>{$n.push(t+e),Qi.set(t+e,Lp[t])})});const Ip=new Set($n),jp=t=>Ip.has(t),cl={x:"translateX",y:"translateY",z:"translateZ"};function Bp([t],[e]){return $n.indexOf(t)-$n.indexOf(e)}function Np(t,[e,s]){return`${t} ${e}(${s})`}function kp(t){return t.sort(Bp).reduce(Np,"").trim()}const ul={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0};function fl(t){return{test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}}const Up=fl("%"),to=fl("px");function In(t){return!!(t&&t.getVelocity)}const Hp={get:(t,e)=>{let s=sl(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!s&&s!=="0"){const n=Qi.get(e);n&&(s=n.initialValue)}return s},set:(t,e,s)=>{sl(e)?t.style.setProperty(e,s):t.style[e]=s}};function Kp(t){var e;const s={},n=[];for(let i in t){let o=t[i];o=In(o)?o.get():o,jp(i)&&i in cl&&(i=cl[i]);let r=Array.isArray(o)?o[0]:o;const a=Qi.get(i);a?(r=Tp(o)?(e=a.toDefaultUnit)==null?void 0:e.call(a,o):o,n.push([i,r])):s[i]=r}return n.length&&(s.transform=kp(n)),Object.keys(s).length===0?null:s}const Wp={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 Gp(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function zp(t,e,s=1,n=0){t.pathLength=1,delete t["path-length"],t["stroke-dashoffset"]=to.transform(-n);const i=to.transform(e),o=to.transform(s);t["stroke-dasharray"]=`${i} ${o}`}function qp(t){const e={},s={};for(const n in t){const i=Gp(n);if(i in Wp){const o=t[n];e[i]=In(o)?o.get():o}else s[n]=t[n]}return e["path-length"]!==void 0&&zp(e,e["path-length"],e["path-spacing"],e["path-offset"]),{attributes:e,style:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const eo=t=>typeof t<"u";function Yp({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Xp(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 Zp(t,e){return Yp(Xp(t.getBoundingClientRect(),e))}const At=t=>!!(t&&t.getVelocity);function so(t,e){t.indexOf(e)===-1&&t.push(e)}function jn(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),()=>jn(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}}const Jp={useManualTiming:!1};let Bn;function Qp(){Bn=void 0}const Zt={now:()=>(Bn===void 0&&Zt.set(bt.isProcessing||Jp.useManualTiming?bt.timestamp:performance.now()),Bn),set:t=>{Bn=t,queueMicrotask(Qp)}};function dl(t,e){return e?t*(1e3/e):0}const hl=30,tm=t=>!isNaN(parseFloat(t));class em{constructor(e,s={}){this.version="12.5.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,i=!0)=>{const o=Zt.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Zt.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 no);const n=this.events[e].add(s);return e==="change"?()=>{n(),rt.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()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>hl)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,hl);return dl(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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ns(t,e){return new em(t,e)}const pl={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"]},io={};for(const t in pl)io[t]={isEnabled:e=>pl[t].some(s=>!!e[s])};const ml=()=>({translate:0,scale:1,origin:0,originPoint:0}),us=()=>({x:ml(),y:ml()}),gl=()=>({min:0,max:0}),dt=()=>({x:gl(),y:gl()}),yl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),vl=t=>/^0[^.\s]+$/u.test(t),sm=typeof window<"u",oo={current:null},bl={current:!1};function nm(){if(bl.current=!0,!!sm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>oo.current=t.matches;t.addListener(e),e()}else oo.current=!1}const De=(t,e,s)=>s>e?e:s<t?t:s,fs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ks={...fs,transform:t=>De(0,1,t)},Nn={...fs,default:1},Us=t=>Math.round(t*1e5)/1e5,ro=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function im(t){return t==null}const om=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ao=(t,e)=>s=>!!(typeof s=="string"&&om.test(s)&&s.startsWith(t)||e&&!im(s)&&Object.prototype.hasOwnProperty.call(s,e)),_l=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ro);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},rm=t=>De(0,255,t),lo={...fs,transform:t=>Math.round(rm(t))},ze={test:ao("rgb","red"),parse:_l("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+lo.transform(t)+", "+lo.transform(e)+", "+lo.transform(s)+", "+Us(ks.transform(n))+")"};function am(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 co={test:ao("#"),parse:am,transform:ze.transform},Hs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Oe=Hs("deg"),ye=Hs("%"),N=Hs("px"),lm=Hs("vh"),cm=Hs("vw"),xl={...ye,parse:t=>ye.parse(t)/100,transform:t=>ye.transform(t*100)},ds={test:ao("hsl","hue"),parse:_l("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ye.transform(Us(e))+", "+ye.transform(Us(s))+", "+Us(ks.transform(n))+")"},Pt={test:t=>ze.test(t)||co.test(t)||ds.test(t),parse:t=>ze.test(t)?ze.parse(t):ds.test(t)?ds.parse(t):co.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ze.transform(t):ds.transform(t)},um=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function fm(t){var e,s;return isNaN(t)&&typeof t=="string"&&(((e=t.match(ro))===null||e===void 0?void 0:e.length)||0)+(((s=t.match(um))===null||s===void 0?void 0:s.length)||0)>0}const Sl="number",Tl="color",dm="var",hm="var(",wl="${}",pm=/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 Ks(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(pm,l=>(Pt.test(l)?(n.color.push(o),i.push(Tl),s.push(Pt.parse(l))):l.startsWith(hm)?(n.var.push(o),i.push(dm),s.push(l)):(n.number.push(o),i.push(Sl),s.push(parseFloat(l))),++o,wl)).split(wl);return{values:s,split:a,indexes:n,types:i}}function Al(t){return Ks(t).values}function Pl(t){const{split:e,types:s}=Ks(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===Sl?o+=Us(i[r]):a===Tl?o+=Pt.transform(i[r]):o+=i[r]}return o}}const mm=t=>typeof t=="number"?0:t;function gm(t){const e=Al(t);return Pl(t)(e.map(mm))}const Re={test:fm,parse:Al,createTransformer:Pl,getAnimatableNone:gm},ym=new Set(["brightness","contrast","saturate","opacity"]);function vm(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ro)||[];if(!n)return t;const i=s.replace(n,"");let o=ym.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const bm=/\b([a-z-]*)\(.*?\)/gu,uo={...Re,getAnimatableNone:t=>{const e=t.match(bm);return e?e.map(vm).join(" "):t}},_m={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},xm={rotate:Oe,rotateX:Oe,rotateY:Oe,rotateZ:Oe,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:Oe,skewX:Oe,skewY:Oe,distance:N,translateX:N,translateY:N,translateZ:N,x:N,y:N,z:N,perspective:N,transformPerspective:N,opacity:ks,originX:xl,originY:xl,originZ:N},Cl={...fs,transform:Math.round},fo={..._m,...xm,zIndex:Cl,size:N,fillOpacity:ks,strokeOpacity:ks,numOctaves:Cl},Sm={...fo,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:uo,WebkitFilter:uo},El=t=>Sm[t];function Ml(t,e){let s=El(t);return s!==uo&&(s=Re),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const Vl=t=>e=>e.test(t),Dl=[fs,N,ye,Oe,cm,lm,{test:t=>t==="auto",parse:t=>t}],Ol=t=>Dl.find(Vl(t)),Tm=[...Dl,Pt,Re],wm=t=>Tm.find(Vl(t)),hs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ps=new Set(hs);function Am(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Pm(t){return typeof t=="string"||Array.isArray(t)}const Cm=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Rl(t){return Am(t.animate)||Cm.some(e=>Pm(t[e]))}function Em(t){return!!(Rl(t)||t.variants)}const qe=t=>t*180/Math.PI,ho=t=>{const e=qe(Math.atan2(t[1],t[0]));return po(e)},Mm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ho,rotateZ:ho,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},po=t=>(t=t%360,t<0&&(t+=360),t),Ll=ho,Fl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Vm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fl,scaleY:$l,scale:t=>(Fl(t)+$l(t))/2,rotateX:t=>po(qe(Math.atan2(t[6],t[5]))),rotateY:t=>po(qe(Math.atan2(-t[2],t[0]))),rotateZ:Ll,rotate:Ll,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 Il(t){return t.includes("scale")?1:0}function mo(t,e){if(!t||t==="none")return Il(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=Vm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Mm,i=a}if(!i)return Il(e);const o=n[e],r=i[1].split(",").map(Om);return typeof o=="function"?o(r):r[o]}const Dm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return mo(s,e)};function Om(t){return parseFloat(t.trim())}const jl=t=>t===fs||t===N,Rm=new Set(["x","y","z"]),Lm=hs.filter(t=>!Rm.has(t));function Fm(t){const e=[];return Lm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const ms={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})=>mo(e,"x"),y:(t,{transform:e})=>mo(e,"y")};ms.translateX=ms.x,ms.translateY=ms.y;const Ye=new Set;let go=!1,yo=!1;function Bl(){if(yo){const t=Array.from(Ye).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Fm(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===void 0||a.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}yo=!1,go=!1,Ye.forEach(t=>t.complete()),Ye.clear()}function Nl(){Ye.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(yo=!0)})}function $m(){Nl(),Bl()}class vo{constructor(e,s,n,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ye.add(this),go||(go=!0,rt.read(Nl),rt.resolveKeyframes(Bl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;for(let o=0;o<e.length;o++)if(e[o]===null)if(o===0){const r=i==null?void 0:i.get(),a=e[e.length-1];if(r!==void 0)e[0]=r;else if(n&&s){const l=n.readValue(s,a);l!=null&&(e[0]=l)}e[0]===void 0&&(e[0]=a),i&&r===void 0&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ye.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ye.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}function Im(t,e,s){for(const n in e){const i=e[n],o=s[n];if(At(i))t.addValue(n,i);else if(At(o))t.addValue(n,Ns(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,Ns(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}function kl(t){const e=[{},{}];return t==null||t.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function Ul(t,e,s,n){if(typeof e=="function"){const[i,o]=kl(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]=kl(n);e=e(s!==void 0?s:t.custom,i,o)}return e}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=vo,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 p=Zt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,rt.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:c}=r;this.onUpdate=c,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=Rl(s),this.isVariantNode=Em(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(s,{},this);for(const p in d){const y=d[p];l[p]!==void 0&&At(y)&&y.set(l[p],!1)}}mount(e){this.current=e,Ge.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)),bl.current||nm(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:oo.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ge(this.notifyUpdate),ge(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=ps.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&rt.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 io){const s=io[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<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=Im(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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=Ns(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){var n;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(n=this.getBaseTargetFromProps(this.props,e))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(yl(i)||vl(i))?i=parseFloat(i):!wm(i)&&Re.test(s)&&(i=Ml(e,s)),this.setBaseTarget(e,At(i)?i.get():i)),At(i)?i.get():i}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=Ul(this.props,n,(s=this.presenceContext)===null||s===void 0?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&&!At(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)}}function jm(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||vl(t):!0}const Wl=new Set(["width","height","top","left","right","bottom",...hs]),Bm=new Set(["auto","none","0"]);function Nm(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!Bm.has(o)&&Ks(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=Ml(s,i)}const km=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Um(t){const e=km.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Gl(t,e,s=1){const[n,i]=Um(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return yl(r)?parseFloat(r):r}return Yi(i)?Gl(i,e,s+1):i}class zl extends vo{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(),Yi(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=Ol(i),a=Ol(o);if(r!==a)if(jl(r)&&jl(a))for(let l=0;l<e.length;l++){const u=e[l];typeof u=="string"&&(e[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)jm(e[i])&&n.push(i);n.length&&Nm(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=ms[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]=ms[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class ql extends Kl{constructor(){super(...arguments),this.KeyframeResolver=zl}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;At(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}const Yl=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Hm={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Km=hs.length;function Wm(t,e,s){let n="",i=!0;for(let o=0;o<Km;o++){const r=hs[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=Yl(a,fo[r]);if(!l){i=!1;const c=Hm[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Xl(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(ps.has(l)){r=!0;continue}else if(qi(l)){i[l]=u;continue}else{const c=Yl(u,fo[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Wm(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 Gm(t,{layout:e,layoutId:s}){return ps.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Is[t]||t==="opacity")}function Jl(t,e,s){var n;const{style:i}=t,o={};for(const r in i)(At(i[r])||e.style&&At(e.style[r])||Gm(r,t)||((n=s==null?void 0:s.getValue(r))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function zm(t){return window.getComputedStyle(t)}class Ql extends ql{constructor(){super(...arguments),this.type="html",this.renderInstance=Zl}readValueFromInstance(e,s){if(ps.has(s))return Dm(e,s);{const n=zm(e),i=(qi(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Zp(e,s)}build(e,s,n){Xl(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Jl(e,s,n)}}const bo=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),qm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ym={offset:"strokeDashoffset",array:"strokeDasharray"};function Xm(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?qm:Ym;t[o.offset]=N.transform(-n);const r=N.transform(e),a=N.transform(s);t[o.array]=`${r} ${a}`}function tc(t,e,s){return typeof t=="string"?t:N.transform(e+s*t)}function Zm(t,e,s){const n=tc(e,t.x,t.width),i=tc(s,t.y,t.height);return`${n} ${i}`}function Jm(t,{attrX:e,attrY:s,attrScale:n,originX:i,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:l=0,...u},c,f){if(Xl(t,u,f),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:y}=t;d.transform&&(y&&(p.transform=d.transform),delete d.transform),y&&(i!==void 0||o!==void 0||p.transform)&&(p.transformOrigin=Zm(y,i!==void 0?i:.5,o!==void 0?o:.5)),e!==void 0&&(d.x=e),s!==void 0&&(d.y=s),n!==void 0&&(d.scale=n),r!==void 0&&Xm(d,r,a,l,!1)}const ec=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"]),Qm=t=>typeof t=="string"&&t.toLowerCase()==="svg";function tg(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}function eg(t,e,s,n){Zl(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(ec.has(i)?i:bo(i),e.attrs[i])}function sg(t,e,s){const n=Jl(t,e,s);for(const i in t)if(At(t[i])||At(e[i])){const o=hs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class sc extends ql{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&tg(this.current,this.renderState)}}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ps.has(s)){const n=El(s);return n&&n.default||0}return s=ec.has(s)?s:bo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return sg(e,s,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&rt.postRender(this.updateDimensions)}build(e,s,n){Jm(e,s,this.isSVGTag,n.transformTemplate)}renderInstance(e,s,n,i){eg(e,s,n,i)}mount(e){this.isSVGTag=Qm(e.tagName),super.mount(e)}}function ng(t,e){return nl(t)?new sc(e):new Ql(e)}function _o(t){let e;return()=>(e===void 0&&(e=t()),e)}const ig=_o(()=>window.ScrollTimeline!==void 0);class og{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}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,s){const n=this.animations.map(i=>{if(ig()&&i.attachTimeline)return i.attachTimeline(e);if(typeof s=="function")return s(i)});return()=>{n.forEach((i,o)=>{i&&i(),this.animations[o].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 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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class nc extends og{then(e,s){return Promise.all(this.animations).then(e).catch(s)}}const ve=t=>t*1e3,be=t=>t/1e3,kn=2e4;function xo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<kn;)e+=s,n=t.next(e);return e>=kn?1/0:e}const Ws=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n},ic=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=t(Ws(0,i-1,o))+", ";return`linear(${n.substring(0,n.length-2)})`},rg=5;function oc(t,e,s){const n=Math.max(e-rg,0);return dl(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},rc=.001;function ag({duration:t=ft.duration,bounce:e=ft.bounce,velocity:s=ft.velocity,mass:n=ft.mass}){let i,o,r=1-e;r=De(ft.minDamping,ft.maxDamping,r),t=De(ft.minDuration,ft.maxDuration,be(t)),r<1?(i=u=>{const c=u*r,f=c*t,d=c-s,p=So(u,r),y=Math.exp(-f);return rc-d/p*y},o=u=>{const f=u*r*t,d=f*s+s,p=Math.pow(r,2)*Math.pow(u,2)*t,y=Math.exp(-f),b=So(Math.pow(u,2),r);return(-i(u)+rc>0?-1:1)*((d-p)*y)/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=cg(i,o,a);if(t=ve(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 lg=12;function cg(t,e,s){let n=s;for(let i=1;i<lg;i++)n=n-t(n)/e(n);return n}function So(t,e){return t*Math.sqrt(1-e*e)}const ug=["duration","bounce"],fg=["stiffness","damping","mass"];function ac(t,e){return e.some(s=>t[s]!==void 0)}function dg(t){let e={velocity:ft.velocity,stiffness:ft.stiffness,damping:ft.damping,mass:ft.mass,isResolvedFromDuration:!1,...t};if(!ac(t,fg)&&ac(t,ug))if(t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*De(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ft.mass,stiffness:i,damping:o}}else{const s=ag(t);e={...e,...s,mass:ft.mass},e.isResolvedFromDuration=!0}return e}function To(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:d,isResolvedFromDuration:p}=dg({...s,velocity:-be(s.velocity||0)}),y=d||0,b=u/(2*Math.sqrt(l*c)),A=r-o,_=be(Math.sqrt(l/c)),V=Math.abs(A)<5;n||(n=V?ft.restSpeed.granular:ft.restSpeed.default),i||(i=V?ft.restDelta.granular:ft.restDelta.default);let L;if(b<1){const C=So(_,b);L=k=>{const z=Math.exp(-b*_*k);return r-z*((y+b*_*A)/C*Math.sin(C*k)+A*Math.cos(C*k))}}else if(b===1)L=C=>r-Math.exp(-_*C)*(A+(y+_*A)*C);else{const C=_*Math.sqrt(b*b-1);L=k=>{const z=Math.exp(-b*_*k),I=Math.min(C*k,300);return r-z*((y+b*_*A)*Math.sinh(I)+C*A*Math.cosh(I))/C}}const P={calculatedDuration:p&&f||null,next:C=>{const k=L(C);if(p)a.done=C>=f;else{let z=0;b<1&&(z=C===0?ve(y):oc(L,C,k));const I=Math.abs(z)<=n,R=Math.abs(r-k)<=i;a.done=I&&R}return a.value=a.done?r:k,a},toString:()=>{const C=Math.min(xo(P),kn),k=ic(z=>P.next(C*z).value,C,30);return C+"ms "+k}};return P}function hg(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(xo(n),kn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:be(i)}}function Un(t){return typeof t=="function"}const pg=(t,e,s)=>{const n=e-t;return((s-t)%n+n)%n+t},lc=t=>Array.isArray(t)&&typeof t[0]!="number";function cc(t,e){return lc(t)?t[pg(0,t.length,e)]:t}const ht=(t,e,s)=>t+(e-t)*s;function uc(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ws(0,e,n);t.push(ht(s,1,i))}}function fc(t){const e=[0];return uc(e,t.length-1),e}function wo(t,e,s){var n;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;const o=(n=s==null?void 0:s[t])!==null&&n!==void 0?n:i.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function Ao(t){return typeof t=="object"&&!Array.isArray(t)}function dc(t,e,s,n){return typeof t=="string"&&Ao(e)?wo(t,s,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function mg(t,e,s){return t*(e+1)}function hc(t,e,s,n){var i;return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?s:(i=n.get(e))!==null&&i!==void 0?i:t}function gg(t,e,s){for(let n=0;n<t.length;n++){const i=t[n];i.at>e&&i.at<s&&(jn(t,i),n--)}}function yg(t,e,s,n,i,o){gg(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:ht(i,o,n[r]),easing:cc(s,r)})}function vg(t,e){for(let s=0;s<t.length;s++)t[s]=t[s]/(e+1)}function bg(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const _g="easeInOut";function xg(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,d=0;for(let p=0;p<t.length;p++){const y=t[p];if(typeof y=="string"){u.set(y,f);continue}else if(!Array.isArray(y)){u.set(y.name,hc(f,y.at,c,u));continue}let[b,A,_={}]=y;_.at!==void 0&&(f=hc(f,_.at,c,u));let V=0;const L=(P,C,k,z=0,I=0)=>{const R=Sg(P),{delay:G=0,times:Y=fc(R),type:$="keyframes",repeat:st,repeatType:_t,repeatDelay:Qt=0,...pt}=C;let{ease:Q=e.ease||"easeOut",duration:q}=C;const te=typeof G=="function"?G(z,I):G,Je=R.length,ee=Un($)?$:i==null?void 0:i[$];if(Je<=2&&ee){let Qe=100;if(Je===2&&Ag(R)){const Se=R[1]-R[0];Qe=Math.abs(Se)}const se={...pt};q!==void 0&&(se.duration=ve(q));const xe=hg(se,Qe,ee);Q=xe.ease,q=xe.duration}q??(q=o);const $t=f+te;Y.length===1&&Y[0]===0&&(Y[1]=1);const sn=Y.length-R.length;if(sn>0&&uc(Y,sn),R.length===1&&R.unshift(null),st){q=mg(q,st);const Qe=[...R],se=[...Y];Q=Array.isArray(Q)?[...Q]:[Q];const xe=[...Q];for(let Se=0;Se<st;Se++){R.push(...Qe);for(let Le=0;Le<Qe.length;Le++)Y.push(se[Le]+(Se+1)),Q.push(Le===0?"linear":cc(xe,Le-1))}vg(Y,st)}const ei=$t+q;yg(k,R,Q,Y,$t,ei),V=Math.max(te+q,V),d=Math.max(ei,d)};if(At(b)){const P=pc(b,a);L(A,_,mc("default",P))}else{const P=dc(b,A,n,l),C=P.length;for(let k=0;k<C;k++){A=A,_=_;const z=P[k],I=pc(z,a);for(const R in A)L(A[R],Tg(_,R),mc(R,I),k,C)}}c=f,f+=V}return a.forEach((p,y)=>{for(const b in p){const A=p[b];A.sort(bg);const _=[],V=[],L=[];for(let C=0;C<A.length;C++){const{at:k,value:z,easing:I}=A[C];_.push(z),V.push(Ws(0,d,k)),L.push(I||"easeOut")}V[0]!==0&&(V.unshift(0),_.unshift(_[0]),L.unshift(_g)),V[V.length-1]!==1&&(V.push(1),_.push(null)),r.has(y)||r.set(y,{keyframes:{},transition:{}});const P=r.get(y);P.keyframes[b]=_,P.transition[b]={...e,duration:d,ease:L,times:V,...s}}}),r}function pc(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function mc(t,e){return e[t]||(e[t]=[]),e[t]}function Sg(t){return Array.isArray(t)?t:[t]}function Tg(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const wg=t=>typeof t=="number",Ag=t=>t.every(wg);function Po(t,e){return t?t[e]||t.default||t:void 0}const Pg=t=>Array.isArray(t),Cg=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Eg=t=>Pg(t)?t[t.length-1]||0:t;function Mg(t,e,s){const n=t.getProps();return Ul(n,e,n.custom,t)}function Vg(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,Ns(s))}function Dg(t,e){const s=Mg(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Eg(o[r]);Vg(t,r,a)}}function Og(t){return!!(At(t)&&t.add)}function Rg(t,e){const s=t.getValue("willChange");if(Og(s))return s.add(e)}const Lg="data-"+bo("framerAppearId");function gc(t){return t.props[Lg]}function yc(t,e){t.timeline=e,t.onfinish=null}const Co=t=>Array.isArray(t)&&typeof t[0]=="number",Fg={linearEasing:void 0};function $g(t,e){const s=_o(t);return()=>{var n;return(n=Fg[e])!==null&&n!==void 0?n:s()}}const Hn=$g(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function vc(t){return!!(typeof t=="function"&&Hn()||!t||typeof t=="string"&&(t in Eo||Hn())||Co(t)||Array.isArray(t)&&t.every(vc))}const Gs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Eo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gs([0,.65,.55,1]),circOut:Gs([.55,0,1,.45]),backIn:Gs([.31,.01,.66,-.59]),backOut:Gs([.33,1.53,.69,.99])};function bc(t,e){if(t)return typeof t=="function"&&Hn()?ic(t,e):Co(t)?Gs(t):Array.isArray(t)?t.map(s=>bc(s,e)||Eo.easeOut):Eo[t]}const _c=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,Ig=1e-7,jg=12;function Bg(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=_c(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>Ig&&++a<jg);return r}function zs(t,e,s,n){if(t===e&&s===n)return Vt;const i=o=>Bg(o,0,1,t,s);return o=>o===0||o===1?o:_c(i(o),e,n)}const xc=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Sc=t=>e=>1-t(1-e),Tc=zs(.33,1.53,.69,.99),Mo=Sc(Tc),wc=xc(Mo),Ac=t=>(t*=2)<1?.5*Mo(t):.5*(2-Math.pow(2,-10*(t-1))),Vo=t=>1-Math.sin(Math.acos(t)),Pc=Sc(Vo),Cc=xc(Vo),Ec=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Re.test(t)||t==="0")&&!t.startsWith("url("));function Ng(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 kg(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=Ec(i,e),a=Ec(o,e);return!r||!a?!1:Ng(t)||(s==="spring"||Un(s))&&n}const Ug=t=>t!==null;function Kn(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(Ug),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return!o||n===void 0?i[o]:n}const Hg=40;class Mc{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zt.now(),this.options={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Hg?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&$m(),this._resolved}onKeyframesResolved(e,s){this.resolvedAt=Zt.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:o,delay:r,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!kg(e,n,i,o))if(r)this.options.duration=0;else{l&&l(Kn(e,this.options,s)),a&&a(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,s);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:s,...c},this.onPostResolved())}onPostResolved(){}then(e,s){return this.currentFinishedPromise.then(e,s)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function Do(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 Kg({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=Do(l,a,t+1/3),o=Do(l,a,t),r=Do(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Wn(t,e){return s=>s>0?e:t}const Oo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Wg=[co,ze,ds],Gg=t=>Wg.find(e=>e.test(t));function Vc(t){const e=Gg(t);if(!e)return!1;let s=e.parse(t);return e===ds&&(s=Kg(s)),s}const Dc=(t,e)=>{const s=Vc(t),n=Vc(e);if(!s||!n)return Wn(t,e);const i={...s};return o=>(i.red=Oo(s.red,n.red,o),i.green=Oo(s.green,n.green,o),i.blue=Oo(s.blue,n.blue,o),i.alpha=ht(s.alpha,n.alpha,o),ze.transform(i))},zg=(t,e)=>s=>e(t(s)),qs=(...t)=>t.reduce(zg),Ro=new Set(["none","hidden"]);function qg(t,e){return Ro.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Yg(t,e){return s=>ht(t,e,s)}function Lo(t){return typeof t=="number"?Yg:typeof t=="string"?Yi(t)?Wn:Pt.test(t)?Dc:Jg:Array.isArray(t)?Oc:typeof t=="object"?Pt.test(t)?Dc:Xg:Wn}function Oc(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>Lo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Xg(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=Lo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Zg(t,e){var s;const n=[],i={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][i[r]],l=(s=t.values[a])!==null&&s!==void 0?s:0;n[o]=l,i[r]++}return n}const Jg=(t,e)=>{const s=Re.createTransformer(e),n=Ks(t),i=Ks(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?Ro.has(t)&&!i.values.length||Ro.has(e)&&!n.values.length?qg(t,e):qs(Oc(Zg(n,i),i.values),s):Wn(t,e)};function Rc(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ht(t,e,s):Lo(t)(t,e)}function Lc({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],d={done:!1,value:f},p=I=>a!==void 0&&I<a||l!==void 0&&I>l,y=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,_=r===void 0?A:r(A);_!==A&&(b=_-f);const V=I=>-b*Math.exp(-I/n),L=I=>_+V(I),P=I=>{const R=V(I),G=L(I);d.done=Math.abs(R)<=u,d.value=d.done?_:G};let C,k;const z=I=>{p(d.value)&&(C=I,k=To({keyframes:[d.value,y(d.value)],velocity:oc(L,I,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:I=>{let R=!1;return!k&&C===void 0&&(R=!0,P(I),z(I)),C!==void 0&&I>=C?k.next(I-C):(!R&&P(I),d)}}}const Qg=zs(.42,0,1,1),ty=zs(0,0,.58,1),Fc=zs(.42,0,.58,1),ey={linear:Vt,easeIn:Qg,easeInOut:Fc,easeOut:ty,circIn:Vo,circInOut:Cc,circOut:Pc,backIn:Mo,backInOut:wc,backOut:Tc,anticipate:Ac},$c=t=>{if(Co(t)){il(t.length===4);const[e,s,n,i]=t;return zs(e,s,n,i)}else if(typeof t=="string")return ey[t];return t};function sy(t,e,s){const n=[],i=s||Rc,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]||Vt:e;a=qs(l,a)}n.push(a)}return n}function ny(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(il(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=sy(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 d=Ws(t[f],t[f+1],c);return a[f](d)};return s?c=>u(De(t[0],t[o-1],c)):u}function iy(t,e){return t.map(s=>s*e)}function oy(t,e){return t.map(()=>e||Fc).splice(0,t.length-1)}function Gn({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=lc(n)?n.map($c):$c(n),o={done:!1,value:e[0]},r=iy(s&&s.length===e.length?s:fc(e),t),a=ny(r,e,{ease:Array.isArray(i)?i:oy(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const ry=t=>{const e=({timestamp:s})=>t(s);return{start:()=>rt.update(e,!0),stop:()=>ge(e),now:()=>bt.isProcessing?bt.timestamp:Zt.now()}},ay={decay:Lc,inertia:Lc,tween:Gn,keyframes:Gn,spring:To},ly=t=>t/100;class Fo extends Mc{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:s,motionValue:n,element:i,keyframes:o}=this.options,r=(i==null?void 0:i.KeyframeResolver)||vo,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new r(o,a,s,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:s="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,a=Un(s)?s:ay[s]||Gn;let l,u;a!==Gn&&typeof e[0]!="number"&&(l=qs(ly,Rc(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});o==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-r})),c.calculatedDuration===null&&(c.calculatedDuration=xo(c));const{calculatedDuration:f}=c,d=f+i,p=d*(n+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,s=!1){const{resolved:n}=this;if(!n){const{keyframes:I}=this.options;return{done:!0,value:I[I.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=n;if(this.startTime===null)return o.next(0);const{delay:d,repeat:p,repeatType:y,repeatDelay:b,onUpdate:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),s?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const _=this.currentTime-d*(this.speed>=0?1:-1),V=this.speed>=0?_<0:_>c;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let L=this.currentTime,P=o;if(p){const I=Math.min(this.currentTime,c)/f;let R=Math.floor(I),G=I%1;!G&&I>=1&&(G=1),G===1&&R--,R=Math.min(R,p+1),!!(R%2)&&(y==="reverse"?(G=1-G,b&&(G-=b/f)):y==="mirror"&&(P=r)),L=De(0,1,G)*f}const C=V?{done:!1,value:l[0]}:P.next(L);a&&(C.value=a(C.value));let{done:k}=C;!V&&u!==null&&(k=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return z&&i!==void 0&&(C.value=Kn(l,this.options,i)),A&&A(C.value),z&&this.finish(),C}get duration(){const{resolved:e}=this;return e?be(e.calculatedDuration):0}get time(){return be(this.currentTime)}set time(e){e=ve(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=be(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=ry,onPlay:s,startTime:n}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),s&&s();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const cy=new Set(["opacity","clipPath","filter","transform"]);function uy(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const u={[e]:s};l&&(u.offset=l);const c=bc(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"})}const fy=_o(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),zn=10,dy=2e4;function hy(t){return Un(t.type)||t.type==="spring"||!vc(t.ease)}function py(t,e){const s=new Fo({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:t[0]};const i=[];let o=0;for(;!n.done&&o<dy;)n=s.sample(o),i.push(n.value),o+=zn;return{times:void 0,keyframes:i,duration:o-zn,ease:"linear"}}const Ic={anticipate:Ac,backInOut:wc,circInOut:Cc};function my(t){return t in Ic}class jc extends Mc{constructor(e){super(e);const{name:s,motionValue:n,element:i,keyframes:o}=this.options;this.resolver=new zl(o,(r,a)=>this.onKeyframesResolved(r,a),s,n,i),this.resolver.scheduleResolve()}initPlayback(e,s){let{duration:n=300,times:i,ease:o,type:r,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof o=="string"&&Hn()&&my(o)&&(o=Ic[o]),hy(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:y,...b}=this.options,A=py(e,b);e=A.keyframes,e.length===1&&(e[1]=e[0]),n=A.duration,i=A.times,o=A.ease,r="keyframes"}const c=uy(a.owner.current,l,e,{...this.options,duration:n,times:i,ease:o});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(yc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:f}=this.options;a.set(Kn(e,this.options,s)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:r,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:s}=e;return be(s)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:s}=e;return be(s.currentTime||0)}set time(e){const{resolved:s}=this;if(!s)return;const{animation:n}=s;n.currentTime=ve(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:s}=e;return s.playbackRate}set speed(e){const{resolved:s}=this;if(!s)return;const{animation:n}=s;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:s}=e;return s.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:s}=e;return s.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:s}=this;if(!s)return Vt;const{animation:n}=s;yc(n,e)}return Vt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:s}=e;s.playState==="finished"&&this.updateFinishedPromise(),s.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:s}=e;s.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:s,keyframes:n,duration:i,type:o,ease:r,times:a}=e;if(s.playState==="idle"||s.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...p}=this.options,y=new Fo({...p,keyframes:n,duration:i,type:o,ease:r,times:a,isGenerator:!0}),b=ve(this.time);u.setWithVelocity(y.sample(b-zn).value,y.sample(b).value,zn)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:s,name:n,repeatDelay:i,repeatType:o,damping:r,type:a}=e;if(!s||!s.owner||!(s.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=s.owner.getProps();return fy()&&n&&cy.has(n)&&!l&&!u&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}}const gy={type:"spring",stiffness:500,damping:25,restSpeed:10},yy=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),vy={type:"keyframes",duration:.8},by={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_y=(t,{keyframes:e})=>e.length>2?vy:ps.has(t)?t.startsWith("scale")?yy(e[1]):gy:by;function xy({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}const $o=(t,e,s,n={},i,o)=>r=>{const a=Po(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ve(l);let c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};xy(a)||(c={...c,..._y(t,c)}),c.duration&&(c.duration=ve(c.duration)),c.repeatDelay&&(c.repeatDelay=ve(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)),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const d=Kn(c.keyframes,a);if(d!==void 0)return rt.update(()=>{c.onUpdate(d),c.onComplete()}),new nc([])}return!o&&jc.supports(c)?new jc(c):new Fo(c)};function Sy({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function Ty(t,e,{delay:s=0,transitionOverride:n,type:i}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(r=n);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const f in l){const d=t.getValue(f,(o=t.latestValues[f])!==null&&o!==void 0?o:null),p=l[f];if(p===void 0||c&&Sy(c,f))continue;const y={delay:s,...Po(r||{},f)};let b=!1;if(window.MotionHandoffAnimation){const _=gc(t);if(_){const V=window.MotionHandoffAnimation(_,f,rt);V!==null&&(y.startTime=V,b=!0)}}Rg(t,f),d.start($o(f,d,p,t.shouldReduceMotion&&Wl.has(f)?{type:!1}:y,t,b));const A=d.animation;A&&u.push(A)}return a&&Promise.all(u).then(()=>{rt.update(()=>{a&&Dg(t,a)})}),u}function Bc(t){return t instanceof SVGElement&&t.tagName!=="svg"}function wy(t,e){return t in e}class Ay extends Kl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(wy(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 Py(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Bc(t)?new sc(e):new Ql(e);s.mount(t),Ge.set(t,s)}function Cy(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new Ay(e);s.mount(t),Ge.set(t,s)}function Nc(t,e,s){const n=At(t)?t:Ns(t);return n.start($o("",n,e,s)),n.animation}function Ey(t,e){return At(t)||typeof t=="number"||typeof t=="string"&&!Ao(e)}function kc(t,e,s,n){const i=[];if(Ey(t,e))i.push(Nc(t,Ao(e)&&e.default||e,s&&(s.default||s)));else{const o=dc(t,e,n),r=o.length;for(let a=0;a<r;a++){const l=o[a],u=l instanceof Element?Py:Cy;Ge.has(l)||u(l);const c=Ge.get(l),f={...s};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,r)),i.push(...Ty(c,{...e,transition:f},{}))}}return i}function My(t,e,s){const n=[];return xg(t,e,s,{spring:To}).forEach(({keyframes:o,transition:r},a)=>{n.push(...kc(a,o,r))}),n}function Vy(t){return Array.isArray(t)&&t.some(Array.isArray)}function Dy(t){function e(s,n,i){let o=[];return Vy(s)?o=My(s,n,t):o=kc(s,n,i,t),new nc(o)}return e}const Oy=Dy(),Ry=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class Ly extends me{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:d,childAnimations:p}=this.setupChildAnimations(c,this.state.activeStates,a);return this.executeAnimations({factories:f,getChildAnimations:d,childAnimations:p,transition:c,controlActiveState:n,isExit:l})},this.state.visualElement=ng(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 d,p;l.dispatchEvent(al("motionstart",a)),(p=(d=this.state.options).onAnimationStart)==null||p.call(d,a),f.then(()=>{var y,b;l.dispatchEvent(al("motioncomplete",a,o)),(b=(y=this.state.options).onAnimationComplete)==null||b.call(y,a)}).catch(Vt)},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,d)=>{const p=a+u(d);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(!_p(e[o],this.state.target[o]))return;(r=this.state.baseTarget)[o]??(r[o]=Hp.get(this.state.element,o));const a=this.state.target[o]==="none"&&eo(ul[o])?ul[o]:this.state.target[o];i.push(()=>{var l;return Oy(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=eo(a)?a:u==null?void 0:u.custom;return this.state.activeStates={...this.state.activeStates,...e},Ry.forEach(f=>{if(!this.state.activeStates[f]||el(this.state.options[f]))return;const d=this.state.options[f];let p=eo(d)?Bs(d,r,c):void 0;if(this.state.visualElement.isVariantNode){const y=Bs(this.state.context[f],r,c);p=y?Object.assign(y||{},p):o}p&&(f!=="initial"&&(i=p.transition||this.state.options.transition||{}),o=Object.assign(o,p))}),s&&(o=Bs(s,r,c),i=o.transition||n||l),Object.entries(o).forEach(([f,d])=>{f!=="transition"&&(this.state.target[f]=d)}),i}mount(){const{element:e}=this.state;rl.set(e,this.state),Ge.get(e)||(this.state.visualElement.mount(e),Ge.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 Fy={y:!1};function $y(){return Fy.y}function Uc(t,e){const s=`${e}PointerCapture`;if(t.target instanceof Element&&s in t.target&&t.pointerId!==void 0)try{t.target[s](t.pointerId)}catch{}}const Hc=(t,e)=>e?t===e?!0:Hc(t,e.parentElement):!1,Iy=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Kc(t,e){const s=wo(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}const jy=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function By(t){return jy.has(t.tagName)||t.tabIndex!==-1}const Ys=new WeakSet;function Wc(t){return e=>{e.key==="Enter"&&t(e)}}function Io(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ny=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Wc(()=>{if(Ys.has(s))return;Io(s,"down");const i=Wc(()=>{Io(s,"up")}),o=()=>Io(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 Gc(t){return Iy(t)&&!0}function ky(t,e,s={}){const[n,i,o]=Kc(t,s),r=a=>{const l=a.currentTarget;if(!l||!Gc(a)||Ys.has(l))return;Ys.add(l),Uc(a,"set");const u=e(l,a),c=(p,y)=>{l.removeEventListener("pointerup",f),l.removeEventListener("pointercancel",d),Uc(p,"release"),!(!Gc(p)||!Ys.has(l))&&(Ys.delete(l),typeof u=="function"&&u(p,{success:y}))},f=p=>{(p.isTrusted?Uy(p,l instanceof Element?l.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?c(p,!1):c(p,!(l instanceof Element)||Hc(l,p.target))},d=p=>{c(p,!1)};l.addEventListener("pointerup",f,i),l.addEventListener("pointercancel",d,i),l.addEventListener("lostpointercapture",d,i)};return n.forEach(a=>{a=s.useGlobalTarget?window:a;let l=!1;a instanceof HTMLElement&&(l=!0,!By(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0)),a.addEventListener("pointerdown",r,i),l&&a.addEventListener("focus",u=>Ny(u,i),i)}),o}function Uy(t,e){return t.clientX<e.left||t.clientX>e.right||t.clientY<e.top||t.clientY>e.bottom}function zc(t){return{point:{x:t.pageX,y:t.pageY}}}function qc(t,e,s){const n=t.options;n.whilePress&&t.setActive("whilePress",s==="Start");const i=`onPress${s==="End"?"":s}`,o=n[i];o&&rt.postRender(()=>o(e,zc(e)))}class Hy extends me{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)=>(qc(this.state,n,"Start"),(i,{success:o})=>qc(this.state,i,o?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function Yc(t){return!(t.pointerType==="touch"||$y())}function Ky(t,e,s={}){const[n,i,o]=Kc(t,s),r=a=>{if(!Yc(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=f=>{Yc(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return n.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}function Xc(t,e,s){const n=t.options;n.whileHover&&t.setActive("whileHover",s==="Start");const i=`onHover${s}`,o=n[i];o&&rt.postRender(()=>o(e,zc(e)))}class Wy extends me{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)=>(Xc(this.state,n,"Start"),i=>{Xc(this.state,i,"End")})))}}const Gy={some:0,all:1};function zy(t,e,{root:s,margin:n,amount:i="some"}={}){const o=wo(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const d=e(c.target,c);typeof d=="function"?r.set(c.target,d):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:Gy[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&&rt.postRender(()=>o(e))}class qy extends me{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=zy(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(Yy(e,s))&&this.startObserver()}}function Yy({inViewOptions:t={}},{inViewOptions:e={}}={}){return s=>t[s]!==e[s]}function qn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}class Xy extends me{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=qs(qn(this.state.element,"focus",()=>this.onFocus()),qn(this.state.element,"blur",()=>this.onBlur()))}}const{schedule:Zy}=ol(queueMicrotask,!1),Jy=(t,e)=>t.depth-e.depth;class Qy{constructor(){this.children=[],this.isDirty=!1}add(e){so(this.children,e),this.isDirty=!0}remove(e){jn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Jy),this.isDirty=!1,this.children.forEach(e)}}function tv(t,e){const s=Zt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(ge(n),t(o-e))};return rt.read(n,!0),()=>ge(n)}function jo(t){const e=At(t)?t.get():t;return Cg(e)?e.toValue():e}const Jc=["TopLeft","TopRight","BottomLeft","BottomRight"],ev=Jc.length,Qc=t=>typeof t=="string"?parseFloat(t):t,tu=t=>typeof t=="number"||N.test(t);function sv(t,e,s,n,i,o){i?(t.opacity=ht(0,s.opacity!==void 0?s.opacity:1,nv(n)),t.opacityExit=ht(e.opacity!==void 0?e.opacity:1,0,iv(n))):o&&(t.opacity=ht(e.opacity!==void 0?e.opacity:1,s.opacity!==void 0?s.opacity:1,n));for(let r=0;r<ev;r++){const a=`border${Jc[r]}Radius`;let l=eu(e,a),u=eu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||tu(l)===tu(u)?(t[a]=Math.max(ht(Qc(l),Qc(u),n),0),(ye.test(u)||ye.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ht(e.rotate||0,s.rotate||0,n))}function eu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const nv=su(0,.5,Pc),iv=su(.5,.95,Vt);function su(t,e,s){return n=>n<t?0:n>e?1:s(Ws(t,e,n))}function nu(t,e){t.min=e.min,t.max=e.max}function Ht(t,e){nu(t.x,e.x),nu(t.y,e.y)}function iu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Bo(t){return t===void 0||t===1}function No({scale:t,scaleX:e,scaleY:s}){return!Bo(t)||!Bo(e)||!Bo(s)}function Xe(t){return No(t)||ou(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ou(t){return ru(t.x)||ru(t.y)}function ru(t){return t&&t!=="0%"}function Yn(t,e,s){const n=t-s,i=e*n;return s+i}function au(t,e,s,n,i){return i!==void 0&&(t=Yn(t,i,n)),Yn(t,s,n)+e}function ko(t,e=0,s=1,n,i){t.min=au(t.min,e,s,n,i),t.max=au(t.max,e,s,n,i)}function lu(t,{x:e,y:s}){ko(t.x,e.translate,e.scale,e.originPoint),ko(t.y,s.translate,s.scale,s.originPoint)}const cu=.999999999999,uu=1.0000000000001;function ov(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&&gs(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,lu(t,r)),n&&Xe(o.latestValues)&&gs(t,o.latestValues))}e.x<uu&&e.x>cu&&(e.x=1),e.y<uu&&e.y>cu&&(e.y=1)}function Xn(t,e){t.min=t.min+e,t.max=t.max+e}function fu(t,e,s,n,i=.5){const o=ht(t.min,t.max,i);ko(t,e,s,o,n)}function gs(t,e){fu(t.x,e.x,e.scaleX,e.scale,e.originX),fu(t.y,e.y,e.scaleY,e.scale,e.originY)}const du=1e-4,rv=1-du,av=1+du,hu=.01,lv=0-hu,cv=0+hu;function Kt(t){return t.max-t.min}function uv(t,e,s){return Math.abs(t-e)<=s}function pu(t,e,s,n=.5){t.origin=n,t.originPoint=ht(e.min,e.max,t.origin),t.scale=Kt(s)/Kt(e),t.translate=ht(s.min,s.max,t.origin)-t.originPoint,(t.scale>=rv&&t.scale<=av||isNaN(t.scale))&&(t.scale=1),(t.translate>=lv&&t.translate<=cv||isNaN(t.translate))&&(t.translate=0)}function Xs(t,e,s,n){pu(t.x,e.x,s.x,n?n.originX:void 0),pu(t.y,e.y,s.y,n?n.originY:void 0)}function mu(t,e,s){t.min=s.min+e.min,t.max=t.min+Kt(e)}function fv(t,e,s){mu(t.x,e.x,s.x),mu(t.y,e.y,s.y)}function gu(t,e,s){t.min=e.min-s.min,t.max=t.min+Kt(e)}function Zs(t,e,s){gu(t.x,e.x,s.x),gu(t.y,e.y,s.y)}function yu(t,e,s,n,i){return t-=e,t=Yn(t,1/s,n),i!==void 0&&(t=Yn(t,1/i,n)),t}function dv(t,e=0,s=1,n=.5,i,o=t,r=t){if(ye.test(e)&&(e=parseFloat(e),e=ht(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ht(o.min,o.max,n);t===o&&(a-=e),t.min=yu(t.min,e,s,a,i),t.max=yu(t.max,e,s,a,i)}function vu(t,e,[s,n,i],o,r){dv(t,e[s],e[n],e[i],e.scale,o,r)}const hv=["x","scaleX","originX"],pv=["y","scaleY","originY"];function bu(t,e,s,n){vu(t.x,e,hv,s?s.x:void 0,n?n.x:void 0),vu(t.y,e,pv,s?s.y:void 0,n?n.y:void 0)}function _u(t){return t.translate===0&&t.scale===1}function xu(t){return _u(t.x)&&_u(t.y)}function Su(t,e){return t.min===e.min&&t.max===e.max}function mv(t,e){return Su(t.x,e.x)&&Su(t.y,e.y)}function Tu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function wu(t,e){return Tu(t.x,e.x)&&Tu(t.y,e.y)}function Au(t){return Kt(t.x)/Kt(t.y)}function Pu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class gv{constructor(){this.members=[]}add(e){so(this.members,e),e.scheduleRender()}remove(e){if(jn(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 yv(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:d,skewX:p,skewY:y}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),p&&(n+=`skewX(${p}deg) `),y&&(n+=`skewY(${y}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 Cu(t){return[t("x"),t("y")]}const Zn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uo=["","X","Y","Z"],vv={visibility:"hidden"},Eu=1e3;let bv=0;function Ho(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function Mu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=gc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",rt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&Mu(n)}function Vu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=bv++,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(Sv),this.nodes.forEach(Cv),this.nodes.forEach(Ev),this.nodes.forEach(Tv)},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 Qy)}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,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Bc(r),this.instance=r;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),t){let f;const d=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=tv(d,250),Zn.hasAnimatedSinceResize&&(Zn.hasAnimatedSinceResize=!1,this.nodes.forEach(Ou))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeLayoutChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||c.getDefaultTransition()||Rv,{onLayoutAnimationStart:A,onLayoutAnimationComplete:_}=c.getProps(),V=!this.targetLayout||!wu(this.targetLayout,y),L=!d&&p;if(this.options.layoutRoot||this.resumeFrom||L||d&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,L);const P={...Po(b,"layout"),onPlay:A,onComplete:_};(c.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else d||Ou(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}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,ge(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(Mv),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&&Mu(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(Du);return}this.isUpdating||this.nodes.forEach(Av),this.isUpdating=!1,this.nodes.forEach(Pv),this.nodes.forEach(_v),this.nodes.forEach(xv),this.clearAllSnapshots();const a=Zt.now();bt.delta=De(0,1e3/60,a-bt.timestamp),bt.timestamp=a,bt.isProcessing=!0,Zi.update.process(bt),Zi.preRender.process(bt),Zi.render.process(bt),bt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Zy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(wv),this.sharedNodes.forEach(Vv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Kt(this.snapshot.measuredBox.x)&&!Kt(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){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&&!xu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&(a||Xe(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)),Lv(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||r===void 0?void 0:r.wasRoot)||this.path.some(Fv))){const{scroll:c}=this.root;c&&(Xn(l.x,c.offset.x),Xn(l.y,c.offset.y))}return l}removeElementScroll(r){var a;const l=dt();if(Ht(l,r),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Ht(l,r),Xn(l.x,f.offset.x),Xn(l.y,f.offset.y))}return l}applyTransform(r,a=!1){const l=dt();Ht(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&&gs(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Xe(c.latestValues)&&gs(l,c.latestValues)}return Xe(this.latestValues)&&gs(l,this.latestValues),l}removeTransform(r){const a=dt();Ht(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Xe(u.latestValues))continue;No(u.latestValues)&&u.updateSnapshot();const c=dt(),f=u.measurePageBox();Ht(c,f),bu(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Xe(this.latestValues)&&bu(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!==bt.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===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=bt.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(),Zs(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Ht(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(),fv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ht(this.target,this.layout.layoutBox),lu(this.target,this.targetDelta)):Ht(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(),Zs(this.relativeTargetOrigin,this.target,p.target),Ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||No(this.parent.latestValues)||ou(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===void 0)&&r.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===bt.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;Ht(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,p=this.treeScale.y;ov(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:y}=a;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(iu(this.prevProjectionDelta.x,this.projectionDelta.x),iu(this.prevProjectionDelta.y,this.projectionDelta.y)),Xs(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==p||!Pu(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=us(),this.projectionDelta=us(),this.projectionDeltaWithTransform=us()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=us();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=dt(),p=l?l.source:void 0,y=this.layout?this.layout.source:void 0,b=p!==y,A=this.getStack(),_=!A||A.members.length<=1,V=!!(b&&!_&&this.options.crossfade===!0&&!this.path.some(Ov));this.animationProgress=0;let L;this.mixTargetDelta=P=>{const C=P/1e3;Ru(f.x,r.x,C),Ru(f.y,r.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Zs(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Dv(this.relativeTarget,this.relativeTargetOrigin,d,C),L&&mv(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=dt()),Ht(L,this.relativeTarget)),b&&(this.animationValues=c,sv(c,u,this.latestValues,C,V,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ge(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.update(()=>{Zn.hasAnimatedSinceResize=!0,this.currentAnimation=Nc(0,Eu,{...r,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},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(Eu),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&&ju(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||dt();const f=Kt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const d=Kt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+d}Ht(a,l),gs(a,c),Xs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new gv),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||r===void 0?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())===null||r===void 0?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&&Ho("z",r,u,this.animationValues);for(let c=0;c<Uo.length;c++)Ho(`rotate${Uo[c]}`,r,u,this.animationValues),Ho(`skew${Uo[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){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return vv;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=jo(r==null?void 0:r.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=jo(r==null?void 0:r.pointerEvents)||""),this.hasProjected&&!Xe(this.latestValues)&&(b.transform=c?c({},""):"none",this.hasProjected=!1),b}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=yv(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));const{x:p,y}=this.projectionDelta;u.transformOrigin=`${p.origin*100}% ${y.origin*100}% 0`,f.animationValues?u.opacity=f===this?(l=(a=d.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const b in Is){if(d[b]===void 0)continue;const{correct:A,applyTo:_,isCSSVariable:V}=Is[b],L=u.transform==="none"?d[b]:A(d[b],f);if(_){const P=_.length;for(let C=0;C<P;C++)u[_[C]]=L}else V?this.options.visualElement.renderState.vars[b]=L:u[b]=L}return this.options.layoutId&&(u.pointerEvents=f===this?jo(r==null?void 0:r.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Du),this.root.sharedNodes.clear()}}}function _v(t){t.updateLayout()}function xv(t){var e;const s=((e=t.resumeFrom)===null||e===void 0?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"?Cu(f=>{const d=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(d);d.min=n[f].min,d.max=d.min+p}):ju(o,s.layoutBox,n)&&Cu(f=>{const d=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(n[f]);d.max=d.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=us();Xs(a,n,s.layoutBox);const l=us();r?Xs(l,t.applyTransform(i,!0),s.measuredBox):Xs(l,n,s.layoutBox);const u=!xu(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:p}=f;if(d&&p){const y=dt();Zs(y,s.layoutBox,d.layoutBox);const b=dt();Zs(b,n,p.layoutBox),wu(y,b)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=y,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 Sv(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 Tv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function wv(t){t.clearSnapshot()}function Du(t){t.clearMeasurements()}function Av(t){t.isLayoutDirty=!1}function Pv(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ou(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Cv(t){t.resolveTargetDelta()}function Ev(t){t.calcProjection()}function Mv(t){t.resetSkewAndRotation()}function Vv(t){t.removeLeadSnapshot()}function Ru(t,e,s){t.translate=ht(e.translate,0,s),t.scale=ht(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Lu(t,e,s,n){t.min=ht(e.min,s.min,n),t.max=ht(e.max,s.max,n)}function Dv(t,e,s,n){Lu(t.x,e.x,s.x,n),Lu(t.y,e.y,s.y,n)}function Ov(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Rv={duration:.45,ease:[.4,0,.1,1]},Fu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),$u=Fu("applewebkit/")&&!Fu("chrome/")?Math.round:Vt;function Iu(t){t.min=$u(t.min),t.max=$u(t.max)}function Lv(t){Iu(t.x),Iu(t.y)}function ju(t,e,s){return t==="position"||t==="preserve-aspect"&&!uv(Au(e),Au(s),.2)}function Fv(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}function $v(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const Iv=Vu({attachResizeListener:(t,e)=>$v(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ko={current:void 0},jv=Vu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ko.current){const t=new Iv({});t.mount(window),t.setOptions({layoutScroll:!0}),Ko.current=t}return Ko.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function Bu(t){if(t)return t.options.allowProjection!==!1?t.projection:Bu(t.parent)}function Nu(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Js={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(N.test(t))t=parseFloat(t);else return t;const s=Nu(t,e.target.x),n=Nu(t,e.target.y);return`${s}% ${n}%`}},Bv={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Re.parse(t);if(i.length>5)return n;const o=Re.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=ht(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},ku={borderRadius:{...Js,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Js,borderTopRightRadius:Js,borderBottomLeftRadius:Js,borderBottomRightRadius:Js,boxShadow:Bv};function Qs(t){return typeof t=="object"&&t!==null&&"nodeType"in t}class Nv extends me{constructor(e){super(e),tl(ku)}initProjection(){const e=this.state.options;this.state.visualElement.projection=new jv(this.state.visualElement.latestValues,e["data-framer-portal-id"]?void 0:Bu(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&&Qs(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=Xi.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 Uu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function Wo(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function kv(t){return e=>Uu(e)&&t(e,Wo(e))}function tn(t,e,s,n){return qn(t,e,kv(s),n)}function Hu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}const Ku=Hu("dragHorizontal"),Wu=Hu("dragVertical");function Uv(t){let e=!1;if(t==="y")e=Wu();else if(t==="x")e=Ku();else{const s=Ku(),n=Wu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function Go(t){return t.max-t.min}function Hv(t,e,s){return s>e?e:s<t?t:s}function Jn(t,e,s){return t+(e-t)*s}function Gu(t,e,s){const n=e-t;return n===0?1:(s-t)/n}function Kv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?Jn(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?Jn(s,t,n.max):Math.min(t,s)),t}const zo=.35;function Wv(t,{top:e,left:s,bottom:n,right:i}){return{x:zu(t.x,s,i),y:zu(t.y,e,n)}}function zu(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 Gv(t=zo){return t===!1?t=0:t===!0&&(t=zo),{x:qu(t,"left","right"),y:qu(t,"top","bottom")}}function qu(t,e,s){return{min:Yu(t,e),max:Yu(t,s)}}function Yu(t,e){return typeof t=="number"?t:t[e]||0}function zv(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 qv(t,e){return{x:Xu(t.x,e.x),y:Xu(t.y,e.y)}}function Xu(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 Yv(t,e){let s=.5;const n=Go(t),i=Go(e);return i>n?s=Gu(e.min,e.max-n,t.min):n>i&&(s=Gu(t.min,t.max-i,e.min)),Hv(0,1,s)}const Zu=(t,e)=>Math.abs(t-e);function Xv(t,e){const s=Zu(t.x,e.x),n=Zu(t.y,e.y);return Math.sqrt(s**2+n**2)}const Zv=t=>t*1e3;function Jv(t){return t/1e3}class Ju{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=Yo(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=Xv(f.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:y}=f,{timestamp:b}=bt;this.history.push({...y,timestamp:b});const{onStart:A,onMove:_}=this.handlers;d||(A&&A(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=qo(d,this.transformPagePoint),rt.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:p,onSessionEnd:y,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=Yo(f.type==="pointercancel"?this.lastMoveEventInfo:qo(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,A),y&&y(f,A)},!Uu(e))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.contextWindow=i||window;const r=Wo(e),a=qo(r,this.transformPagePoint),{point:l}=a,{timestamp:u}=bt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=s;c&&c(e,Yo(a,this.history)),this.removeListeners=qs(tn(this.contextWindow,"pointermove",this.handlePointerMove),tn(this.contextWindow,"pointerup",this.handlePointerUp),tn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ge(this.updatePoint)}}function qo(t,e){return e?{point:e(t.point)}:t}function Qu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yo({point:t},e){return{point:t,delta:Qu(t,tf(e)),offset:Qu(t,Qv(e)),velocity:t0(e,.1)}}function Qv(t){return t[0]}function tf(t){return t[t.length-1]}function t0(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=tf(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>Zv(e)));)s--;if(!n)return{x:0,y:0};const o=Jv(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 ef=()=>({min:0,max:0});function e0(){return{x:ef(),y:ef()}}function Jt(t){return[t("x"),t("y")]}function s0(t){return!!(In(t)&&t.add)}function sf(t,e){const s=t.getValue("willChange");if(s0(s))return s.add(e)}function nf({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function n0(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 i0({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function of(t,e){t.min=t.min+e,t.max=t.max+e}function o0(t,e){return nf(n0(t.getBoundingClientRect(),e))}function r0(t,e,s){const n=o0(t,s),{scroll:i}=e;return i&&(of(n.x,i.offset.x),of(n.y,i.offset.y)),n}function rf(t){return!Xi.has(t.current)}function af({current:t}){return t?t.ownerDocument.defaultView:null}const a0=new WeakMap;class l0{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=e0(),this.visualElement=e}start(e,{snapToCursor:s=!1}={}){if(!rf(this.visualElement))return;const n=u=>{const{dragSnapToOrigin:c}=this.getProps();c?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(Wo(u,"page").point)},i=(u,c)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Uv(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),Jt(b=>{let A=this.getAxisMotionValue(b).get()||0;if(Up.test(A)){const{projection:_}=this.visualElement;if(_&&_.layout){const V=_.layout.layoutBox[b];V&&(A=Go(V)*(parseFloat(A)/100))}}this.originPoint[b]=A}),p&&rt.postRender(()=>p(u,c)),sf(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},o=(u,c)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:y}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:b}=c;if(d&&this.currentDirection===null){this.currentDirection=c0(b),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,b),this.updateAxis("y",c.point,b),this.visualElement.render(),y&&y(u,c)},r=(u,c)=>this.stop(u,c),a=()=>Jt(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 Ju(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:af(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&&rt.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||!Qn(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&&Qs(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&i?this.constraints=Wv(i.layoutBox,s):this.constraints=!1,this.elastic=Gv(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Jt(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=zv(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:s}=this.getProps();if(!e||!Qs(e))return!1;const n=e,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=r0(n,i.root,this.visualElement.getTransformPagePoint());let r=qv(i.layout.layoutBox,o);if(s){const a=s(i0(r));this.hasMutatedConstraints=!!a,a&&(r=nf(a))}return r}startAnimation(e){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Jt(c=>{if(!Qn(c,s,this.currentDirection))return;let f=l&&l[c]||{};r&&(f={min:0,max:0});const d=i?200:1e6,p=i?40:1e7,y={type:"inertia",velocity:n?e[c]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(e,s){const n=this.getAxisMotionValue(e);return sf(this.visualElement,e),n.start($o(e,n,0,s,this.visualElement,!1))}stopAnimation(){rf(this.visualElement)&&Jt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Jt(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){Jt(s=>{const{drag:n}=this.getProps();if(!Qn(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]-Jn(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!Qs(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Jt(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=Yv({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(),Jt(r=>{if(!Qn(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(Jn(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;a0.set(this.visualElement,this);const e=this.visualElement.current,s=tn(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();Qs(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),rt.read(n);const r=qn(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Jt(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=zo,dragMomentum:a=!0}=e;return{...e,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Qn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function c0(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}class u0 extends me{constructor(e){super(e),this.removeGroupControls=Vt,this.removeListeners=Vt,this.controls=new l0(e.visualElement)}mount(){const{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Vt}unmount(){this.removeGroupControls(),this.removeListeners()}}class f0 extends me{constructor(e){super(e),tl(ku)}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)),Zn.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&&e.group.remove(s),this.didUpdate())}}function lf(t){return(e,s)=>{t&&rt.postRender(()=>t(e,s))}}class d0 extends me{constructor(){super(...arguments),this.removePointerDownListener=Vt}onPointerDown(e){this.session=new Ju(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:af(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:lf((e,s)=>{const{onPanSessionStart:n}=this.state.options;n&&n(e,s)}),onStart:lf((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&&rt.postRender(()=>n(e,s))}}}mount(){this.removePointerDownListener=tn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const h0=[Ly,Hy,Wy,qy,Xy,Nv,d0,u0,f0],p0={reduceMotion:"never",transition:void 0,nonce:void 0},[m0,D_]=js("MotionConfig");function g0(){return m0(yt(()=>p0))}function ti(t){return(t==null?void 0:t.nodeType)===3||(t==null?void 0:t.nodeType)===8?ti(t.nextSibling):t}const[y0,O_]=js("LazyMotionContext");function v0(t){const e=yp(null),s=bp({}),n=g0(),i=Ep({}),o=y0({features:is([]),strict:!1}),r=Od();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 Rp(u(),e);vp(c);function f(){var p;const y=c.type==="svg",b={...r};Object.keys(r).forEach(V=>{In(r[V])&&(b[V]=r[V].get())});let A={...t.style,...y?{}:((p=c.visualElement)==null?void 0:p.latestValues)||c.baseTarget};if(y){const{attributes:V,style:L}=qp({...c.isMounted()?c.target:c.baseTarget,...A});Object.assign(b,V),A=L}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 _=Kp(A);return _&&(b.style=_),b}const d=Ni().proxy;return Hr(()=>{c.beforeMount()}),Ci(()=>{c.mount(ti(d.$el),u(),_0(d))}),Ei(()=>c.beforeUnmount()),Mi(()=>{const p=ti(d.$el);p!=null&&p.isConnected||c.unmount()}),Kr(()=>{c.beforeUpdate()}),Wr(()=>{c.update(u())}),{getProps:l,getAttrs:f,layoutGroup:s,state:c}}const b0={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 _0(t){var e;const s=((e=ti(t.$el))==null?void 0:e.style.display)==="none";return t.$.vnode.transition&&s}const x0=new Map,S0=new Map;function T0(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 w0=["area","img","input"];function A0(t,e,s){var n,i;if(typeof t=="string"&&w0.includes(t))return Hi(t,e);if(t==="template"){if(!s.default)return null;const o=T0(s.default()),r=o.findIndex(c=>c.type!==wt);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=de(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 cf(t,e={}){var s;const n=typeof t=="string",i=n?t:t.name||"",o=((s=e.features)==null?void 0:s.length)>0?x0:S0;if(n&&(o!=null&&o.has(t)))return o.get(t);const r=bd({inheritAttrs:!1,props:{...b0,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}=v0(a);function d(){const p=f.element;if((!(typeof a.as=="object")||a.asChild)&&p){const{style:b}=c();if(b)for(const[A,_]of Object.entries(b))p.style[A]=_}}return()=>{const p=u(),y=c(),b=a.asChild?"template":a.as,A={...e.forwardMotionProps||a.forwardMotionProps?p:{},...y,onVnodeUpdated:d},_=A0(b,A,l);return _!==null?_:Hi(b,{...A},l)}}});return n&&(o==null||o.set(t,r)),r}function P0(t=[]){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>cf(n,{...i,features:t}):cf(s,{features:t})}})}const uf=P0(h0);uf.create("div");const C0={class:"slds-navigation-list--vertical"},E0={class:"slds-navigation-list__item-content"},M0={class:"slds-navigation-list__item-title"},V0={__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=is(((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(),B("div",C0,[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),B(ut,null,Ee(t.schemas,c=>(F(),B("div",{key:c.fileName,class:"slds-navigation-list__item"},[g("div",E0,[g("div",M0,[et(Ar(uf).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:Sn(()=>[Os(Z(r(c)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},ff="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",df=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},D0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},O0={class:"slds-notify__content"},hf=df({__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(),B("div",D0,[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:ff,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",O0,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),R0={key:0,class:"slds-m-top_medium"},L0={class:"slds-box slds-theme_shade"},F0={class:"slds-grid slds-wrap slds-gutters"},$0={class:"constraint-item"},I0={class:"slds-text-title_caps slds-text-color_default"},j0={class:"slds-text-body_regular slds-m-top_xx-small"},Xo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>{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=yt(()=>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(),B("div",R0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",L0,[g("div",F0,[(F(!0),B(ut,null,Ee(s.value,(u,c)=>(F(),B("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",$0,[g("div",I0,Z(i(c)),1),g("div",j0,[g("span",{class:Ct(["slds-badge",r(u)])},Z(o(u)),3)])])]))),128))])])])):Ut("",!0)}},B0={class:"array-schema"},N0={class:"slds-box slds-theme_shade"},k0={class:"slds-grid slds-gutters"},U0={key:0,class:"slds-col"},H0={class:"slds-badge"},K0={key:1,class:"slds-m-top_medium"},W0={class:"slds-text-title_caps slds-m-bottom_xx-small"},G0={key:3,class:"slds-m-top_medium"},z0={key:4,class:"slds-m-top_medium"},q0={key:0,class:"slds-m-top_xx-small"},Y0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=yt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(F(),B("div",B0,[g("div",N0,[g("div",k0,[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(),B("div",U0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",H0,Z(n.value),1)])):Ut("",!0)])]),s.value?(F(),Ft(Xo,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?(F(),B("div",K0,[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),B(ut,{key:0},Ee(t.schema.items,(r,a)=>(F(),B("div",{key:a,class:"slds-m-bottom_medium"},[g("div",W0," Index "+Z(a),1),et(_e,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(F(),Ft(_e,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(F(),Ft(hf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(F(),B("div",G0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),et(_e,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ut("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(F(),B("div",z0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(F(),B("div",q0,[g("span",{class:Ct(t.schema.additionalItems?"status-allowed":"status-denied")},Z(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(F(),Ft(_e,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},X0={class:"slds-box slds-theme_shade"},Z0={class:"slds-text-heading_small slds-m-bottom_small"},J0={class:"slds-tabs_default"},Q0={class:"slds-tabs_default__nav",role:"tablist"},tb=["aria-selected","aria-controls","onClick"],eb={class:"slds-tabs_default__title"},sb=["id"],nb={class:"slds-p-around_medium"},ib={class:"slds-text-title_caps slds-m-bottom_small"},ob={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=is(0),i=yt(()=>e.schema[s.value]||[]);Qd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=yt(()=>{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=yt(()=>{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(),B("div",X0,[g("div",Z0,[g("span",{class:Ct(["slds-badge",r.value])},Z(o.value),3)]),g("div",J0,[g("ul",Q0,[(F(!0),B(ut,null,Ee(i.value,(f,d)=>(F(),B("li",{key:d,class:Ct(["slds-tabs_default__item",{"slds-is-active":n.value===d}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===d,"aria-controls":`tab-${d}`,onClick:p=>n.value=d},[g("span",eb,Z(l(f,d)),1)],8,tb)],2))),128))]),(F(!0),B(ut,null,Ee(i.value,(f,d)=>(F(),B("div",{id:`tab-${d}`,key:d,class:Ct(["slds-tabs_default__content",{"slds-show":n.value===d,"slds-hide":n.value!==d}]),role:"tabpanel"},[g("div",nb,[g("div",ib," Schema Type: "+Z(a(f)),1),et(_e,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,sb))),128))])]))}},rb={class:"slds-box slds-theme_shade"},ab={class:"slds-grid slds-wrap slds-gutters"},lb={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},cb={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},ub={key:1,class:"slds-badge slds-badge_inverse"},fb={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>e.schema.const),n=yt(()=>typeof s.value=="object"&&s.value!==null),i=yt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(F(),B("div",rb,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",ab,[g("div",lb,[n.value?(F(),B("pre",cb,[g("code",null,Z(i.value),1)])):(F(),B("div",ub,Z(i.value),1))])])]))}},db={class:"slds-box slds-theme_shade"},hb={class:"slds-grid slds-wrap slds-gutters"},pb={class:"slds-badge slds-badge_inverse"},mb={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>e.schema.enum);return(n,i)=>(F(),B("div",db,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",hb,[(F(!0),B(ut,null,Ee(s.value,(o,r)=>(F(),B("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",pb,Z(o),1)]))),128))])]))}},gb="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",yb={key:0},vb={key:1},bb={class:"slds-box slds-m-top_small"},_b={class:"slds-table_container"},xb={class:"slds-table slds-table_cell-buffer slds-table_bordered"},Sb=["onClick"],Tb=["title"],wb={class:"slds-truncate"},Ab={class:"slds-badge"},Pb=["title"],Cb={class:"slds-truncate"},Eb={key:0,class:"slds-badge slds-badge_success"},Mb={key:1,class:"slds-badge slds-badge_inverse"},Vb={key:0},Db={colspan:"4",class:"slds-p-around_medium"},Ob={class:"slds-box slds-theme_shade"},Rb={key:2},Lb={key:3},Fb={key:0},$b={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=is({}),n=yt(()=>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:Ze.hasComposition(a)?"composition":Ze.isEnum(a)?"enum":Ze.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(F(),B("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),et(Xo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(F(),B("div",yb,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,Z(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?(F(),B("div",vb,[g("div",bb,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",_b,[g("table",xb,[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),B(ut,null,Ee(t.schema.properties,(u,c)=>(F(),B(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:gb,class:Ct(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),Os(" "+Z(c),1)],8,Tb)]),g("td",null,[g("div",wb,[g("span",Ab,Z(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},Z(u.description||"No description"),9,Pb)]),g("td",null,[g("div",Cb,[i(c)?(F(),B("span",Eb,"Required")):(F(),B("span",Mb,"Optional"))])])],8,Sb),et(Ph,null,{default:Sn(()=>[s.value[c]?(F(),B("tr",Vb,[g("td",Db,[g("div",Ob,[et(_e,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ut("",!0)]),_:2},1024)],64))),128))])])])])])):Ut("",!0),t.schema.patternProperties?(F(),B("div",Rb,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(F(!0),B(ut,null,Ee(t.schema.patternProperties,(u,c)=>(F(),B("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(_e,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?(F(),B("div",Lb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(F(),B("div",Fb,[g("span",{class:Ct(t.schema.additionalProperties?"status-allowed":"status-denied")},Z(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(F(),Ft(_e,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):(F(),Ft(hf,{key:4}))]))}},Ib={class:"slds-box slds-m-top_small"},jb={class:"slds-box slds-theme_shade"},Bb={class:"slds-text-body_regular"},Nb={class:"slds-grid slds-gutters"},kb={class:"slds-col"},Ub={class:"slds-badge"},Hb={class:"slds-col"},en={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),B("div",Ib,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",jb,[g("div",Bb,[g("div",Nb,[g("div",kb,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",Ub,Z(t.schema.type),1)]),g("div",Hb,[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(Xo,{schema:t.schema},null,8,["schema"])]))}},Kb={object:$b,array:Y0,string:en,number:en,integer:en,boolean:en,null:en},Ze={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>Ze.hasComposition(t)?ob:Ze.isEnum(t)?mb:Ze.isConst(t)?fb:Kb[t.type]||null},Wb={class:"slds-grid slds-grid_vertical"},Gb={class:"slds-col slds-size_1-of-1"},zb={class:"slds-card"},qb={class:"slds-card__body slds-card__body_inner"},Yb={__name:"SchemaLayout",setup(t){return(e,s)=>(F(),B("div",Wb,[g("div",Gb,[g("div",zb,[g("div",qb,[Vd(e.$slots,"default")])])])]))}},Xb={class:"slds-box"},Zb={class:"slds-box slds-theme_shade"},Jb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=yt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(F(),B("div",Xb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[Os(" Schema in plain with all "),g("code",null,"$ref"),Os(" references already resolved ")],-1)),g("pre",Zb,[g("code",null,Z(s.value),1)])]))}},Qb={class:"slds-page-header"},t_={class:"slds-page-header__row"},e_={class:"slds-page-header__col-title"},s_={class:"slds-media"},n_={class:"slds-media__body"},i_={class:"slds-page-header__name"},o_={class:"slds-page-header__name-title"},r_={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},a_={class:"slds-page-header__meta-text"},l_={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(F(),B("div",Qb,[g("div",t_,[g("div",e_,[g("div",s_,[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",n_,[g("div",i_,[g("div",o_,[g("h1",r_,Z(t.schema.title||"Schema"),1)])]),g("div",a_,Z(t.schema.description||"No description provided"),1)])])])])]))}},c_={class:"slds-tabs_default__nav",role:"tablist"},u_={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(F(),B("ul",c_,[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)]))}},f_={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},d_={class:"slds-notify__content"},h_=df({__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(),B("div",f_,[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:ff,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"]]),p_={class:"slds-tabs_default"},m_={class:"slds-p-around_medium"},g_={class:"slds-m-top_medium"},y_={class:"slds-p-around_medium"},_e={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=is("visual"),n=yt(()=>e.isRoot?e.schema:e.rootSchema);Li("rootSchema",n);const i=yt(()=>Ze.getComponentForSchema(e.schema));return(o,r)=>(F(),Ft(Yb,null,{default:Sn(()=>[g("div",p_,[et(u_,{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",m_,[et(l_,{schema:t.schema},null,8,["schema"]),g("div",g_,[i.value?(F(),Ft(Ed(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(F(),Ft(h_,{key:1}))])])],2),g("div",{class:Ct({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",y_,[et(Jb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},v_={class:"slds-grid slds-grid_vertical"},b_={class:"slds-grid slds-gutters slds-grid_vertical-fill"},__={class:"slds-col slds-size_2-of-12"},x_={class:"slds-col slds-size_10-of-12"},S_={key:1,class:"slds-p-around_medium"},pf={__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=is(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(F(),B("div",v_,[et(pp,{title:t.title},null,8,["title"]),g("div",b_,[g("div",__,[et(V0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",x_,[s.value?(F(),Ft(_e,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(F(),B("div",S_,o[0]||(o[0]=[fh('<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(op,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function mf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&Za(pf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",mf):mf(),Fe.App=pf,Fe.createApp=Za,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});