slds-json-schema-renderer 1.5.33 → 1.5.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Ne,Ue){typeof exports=="object"&&typeof module<"u"?Ue(exports):typeof define=="function"&&define.amd?define(["exports"],Ue):(Ne=typeof globalThis<"u"?globalThis:Ne||self,Ue(Ne.JsonSchemaDocs={}))})(this,(function(Ne){"use strict";function Ue(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const ot={},rs=[],Wt=()=>{},rr=()=>!1,mn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),li=t=>t.startsWith("onUpdate:"),gt=Object.assign,ci=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Vf=Object.prototype.hasOwnProperty,tt=(t,e)=>Vf.call(t,e),H=Array.isArray,as=t=>ws(t)==="[object Map]",ar=t=>ws(t)==="[object Set]",lr=t=>ws(t)==="[object Date]",W=t=>typeof t=="function",ut=t=>typeof t=="string",Gt=t=>typeof t=="symbol",et=t=>t!==null&&typeof t=="object",cr=t=>(et(t)||W(t))&&W(t.then)&&W(t.catch),ur=Object.prototype.toString,ws=t=>ur.call(t),Df=t=>ws(t).slice(8,-1),fr=t=>ws(t)==="[object Object]",ui=t=>ut(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,As=Ue(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gn=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Of=/-\w/g,Bt=gn(t=>t.replace(Of,e=>e.slice(1).toUpperCase())),Rf=/\B([A-Z])/g,He=gn(t=>t.replace(Rf,"-$1").toLowerCase()),yn=gn(t=>t.charAt(0).toUpperCase()+t.slice(1)),fi=gn(t=>t?`on${yn(t)}`:""),Ve=(t,e)=>!Object.is(t,e),hi=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},hr=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Lf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ff=t=>{const e=ut(t)?Number(t):NaN;return isNaN(e)?t:e};let dr;const vn=()=>dr||(dr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function di(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ut(n)?Bf(n):di(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ut(t)||et(t))return t}const If=/;(?![^(]*\))/g,$f=/:([^]+)/,jf=/\/\*[^]*?\*\//g;function Bf(t){const e={};return t.replace(jf,"").split(If).forEach(s=>{if(s){const n=s.split($f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Et(t){let e="";if(ut(t))e=t;else if(H(t))for(let s=0;s<t.length;s++){const n=Et(t[s]);n&&(e+=n+" ")}else if(et(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const kf=Ue("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function pr(t){return!!t||t===""}function Nf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=pi(t[n],e[n]);return s}function pi(t,e){if(t===e)return!0;let s=lr(t),n=lr(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Gt(t),n=Gt(e),s||n)return t===e;if(s=H(t),n=H(e),s||n)return s&&n?Nf(t,e):!1;if(s=et(t),n=et(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const r in t){const a=t.hasOwnProperty(r),l=e.hasOwnProperty(r);if(a&&!l||!a&&l||!pi(t[r],e[r]))return!1}}return String(t)===String(e)}const mr=t=>!!(t&&t.__v_isRef===!0),Z=t=>ut(t)?t:t==null?"":H(t)||et(t)&&(t.toString===ur||!W(t.toString))?mr(t)?Z(t.value):JSON.stringify(t,gr,2):String(t),gr=(t,e)=>mr(e)?gr(t,e.value):as(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[mi(n,o)+" =>"]=i,s),{})}:ar(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>mi(s))}:Gt(e)?mi(e):et(e)&&!H(e)&&!fr(e)?String(e):e,mi=(t,e="")=>{var s;return Gt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Uf={NODE_ENV:"production"};let Vt;class Hf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Vt,!e&&Vt&&(this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Vt;try{return Vt=this,e()}finally{Vt=s}}}on(){++this._on===1&&(this.prevScope=Vt,Vt=this)}off(){this._on>0&&--this._on===0&&(Vt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Kf(){return Vt}let rt;const gi=new WeakSet;class yr{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Vt&&Vt.active&&Vt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gi.has(this)&&(gi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||br(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wr(this),_r(this);const e=rt,s=zt;rt=this,zt=!0;try{return this.fn()}finally{xr(this),rt=e,zt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)_i(e);this.deps=this.depsTail=void 0,wr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bi(this)&&this.run()}get dirty(){return bi(this)}}let vr=0,Es,Cs;function br(t,e=!1){if(t.flags|=8,e){t.next=Cs,Cs=t;return}t.next=Es,Es=t}function yi(){vr++}function vi(){if(--vr>0)return;if(Cs){let e=Cs;for(Cs=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Es;){let e=Es;for(Es=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 _r(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function xr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),_i(n),Wf(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function bi(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Sr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Sr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ps)||(t.globalVersion=Ps,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!bi(t))))return;t.flags|=2;const e=t.dep,s=rt,n=zt;rt=t,zt=!0;try{_r(t);const i=t.fn(t._value);(e.version===0||Ve(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{rt=s,zt=n,xr(t),t.flags&=-3}}function _i(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)_i(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Wf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let zt=!0;const Tr=[];function Jt(){Tr.push(zt),zt=!1}function Qt(){const t=Tr.pop();zt=t===void 0?!0:t}function wr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=rt;rt=void 0;try{e()}finally{rt=s}}}let Ps=0;class Gf{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 xi{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!rt||!zt||rt===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==rt)s=this.activeLink=new Gf(rt,this),rt.deps?(s.prevDep=rt.depsTail,rt.depsTail.nextDep=s,rt.depsTail=s):rt.deps=rt.depsTail=s,Ar(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=rt.depsTail,s.nextDep=void 0,rt.depsTail.nextDep=s,rt.depsTail=s,rt.deps===s&&(rt.deps=n)}return s}trigger(e){this.version++,Ps++,this.notify(e)}notify(e){yi();try{Uf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vi()}}}function Ar(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)Ar(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Si=new WeakMap,Ke=Symbol(""),Ti=Symbol(""),Ms=Symbol("");function wt(t,e,s){if(zt&&rt){let n=Si.get(t);n||Si.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new xi),i.map=n,i.key=s),i.track()}}function me(t,e,s,n,i,o){const r=Si.get(t);if(!r){Ps++;return}const a=l=>{l&&l.trigger()};if(yi(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&ui(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===Ms||!Gt(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(Ms)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ke)),as(t)&&a(r.get(Ti)));break;case"delete":l||(a(r.get(Ke)),as(t)&&a(r.get(Ti)));break;case"set":as(t)&&a(r.get(Ke));break}}vi()}function ls(t){const e=J(t);return e===t?e:(wt(e,"iterate",Ms),kt(t)?e:e.map(qt))}function bn(t){return wt(t=J(t),"iterate",Ms),t}function De(t,e){return ye(t)?cs(We(t)?qt(e):e):qt(e)}const zf={__proto__:null,[Symbol.iterator](){return wi(this,Symbol.iterator,t=>De(this,t))},concat(...t){return ls(this).concat(...t.map(e=>H(e)?ls(e):e))},entries(){return wi(this,"entries",t=>(t[1]=De(this,t[1]),t))},every(t,e){return ge(this,"every",t,e,void 0,arguments)},filter(t,e){return ge(this,"filter",t,e,s=>s.map(n=>De(this,n)),arguments)},find(t,e){return ge(this,"find",t,e,s=>De(this,s),arguments)},findIndex(t,e){return ge(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ge(this,"findLast",t,e,s=>De(this,s),arguments)},findLastIndex(t,e){return ge(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ge(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ai(this,"includes",t)},indexOf(...t){return Ai(this,"indexOf",t)},join(t){return ls(this).join(t)},lastIndexOf(...t){return Ai(this,"lastIndexOf",t)},map(t,e){return ge(this,"map",t,e,void 0,arguments)},pop(){return Vs(this,"pop")},push(...t){return Vs(this,"push",t)},reduce(t,...e){return Er(this,"reduce",t,e)},reduceRight(t,...e){return Er(this,"reduceRight",t,e)},shift(){return Vs(this,"shift")},some(t,e){return ge(this,"some",t,e,void 0,arguments)},splice(...t){return Vs(this,"splice",t)},toReversed(){return ls(this).toReversed()},toSorted(t){return ls(this).toSorted(t)},toSpliced(...t){return ls(this).toSpliced(...t)},unshift(...t){return Vs(this,"unshift",t)},values(){return wi(this,"values",t=>De(this,t))}};function wi(t,e,s){const n=bn(t),i=n[e]();return n!==t&&!kt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const qf=Array.prototype;function ge(t,e,s,n,i,o){const r=bn(t),a=r!==t&&!kt(t),l=r[e];if(l!==qf[e]){const f=l.apply(t,o);return a?qt(f):f}let u=s;r!==t&&(a?u=function(f,h){return s.call(this,De(t,f),h,t)}:s.length>2&&(u=function(f,h){return s.call(this,f,h,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function Er(t,e,s,n){const i=bn(t);let o=s;return i!==t&&(kt(t)?s.length>3&&(o=function(r,a,l){return s.call(this,r,a,l,t)}):o=function(r,a,l){return s.call(this,r,De(t,a),l,t)}),i[e](o,...n)}function Ai(t,e,s){const n=J(t);wt(n,"iterate",Ms);const i=n[e](...s);return(i===-1||i===!1)&&Mi(s[0])?(s[0]=J(s[0]),n[e](...s)):i}function Vs(t,e,s=[]){Jt(),yi();const n=J(t)[e].apply(t,s);return vi(),Qt(),n}const Yf=Ue("__proto__,__v_isRef,__isVue"),Cr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Gt));function Xf(t){Gt(t)||(t=String(t));const e=J(this);return wt(e,"has",t),e.hasOwnProperty(t)}class Pr{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?Lr:Rr:o?Or:Dr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=zf[s]))return l;if(s==="hasOwnProperty")return Xf}const a=Reflect.get(e,s,_t(e)?e:n);if((Gt(s)?Cr.has(s):Yf(s))||(i||wt(e,"get",s),o))return a;if(_t(a)){const l=r&&ui(s)?a:a.value;return i&&et(l)?Pi(l):l}return et(a)?i?Pi(a):Ci(a):a}}class Mr extends Pr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=H(e)&&ui(s);if(!this._isShallow){const u=ye(o);if(!kt(n)&&!ye(n)&&(o=J(o),n=J(n)),!r&&_t(o)&&!_t(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:tt(e,s),l=Reflect.set(e,s,n,_t(e)?e:i);return e===J(i)&&(a?Ve(n,o)&&me(e,"set",s,n):me(e,"add",s,n)),l}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&me(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Gt(s)||!Cr.has(s))&&wt(e,"has",s),n}ownKeys(e){return wt(e,"iterate",H(e)?"length":Ke),Reflect.ownKeys(e)}}class Vr extends Pr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Zf=new Mr,Jf=new Vr,Qf=new Mr(!0),th=new Vr(!0),Ei=t=>t,_n=t=>Reflect.getPrototypeOf(t);function eh(t,e,s){return function(...n){const i=this.__v_raw,o=J(i),r=as(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?Ei:e?cs:qt;return!e&&wt(o,"iterate",l?Ti:Ke),gt(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function xn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function sh(t,e){const s={get(i){const o=this.__v_raw,r=J(o),a=J(i);t||(Ve(i,a)&&wt(r,"get",i),wt(r,"get",a));const{has:l}=_n(r),u=e?Ei:t?cs:qt;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&&wt(J(i),"iterate",Ke),i.size},has(i){const o=this.__v_raw,r=J(o),a=J(i);return t||(Ve(i,a)&&wt(r,"has",i),wt(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?Ei:t?cs:qt;return!t&&wt(l,"iterate",Ke),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return gt(s,t?{add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear")}:{add(i){!e&&!kt(i)&&!ye(i)&&(i=J(i));const o=J(this);return _n(o).has.call(o,i)||(o.add(i),me(o,"add",i,i)),this},set(i,o){!e&&!kt(o)&&!ye(o)&&(o=J(o));const r=J(this),{has:a,get:l}=_n(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?Ve(o,c)&&me(r,"set",i,o):me(r,"add",i,o),this},delete(i){const o=J(this),{has:r,get:a}=_n(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&&me(o,"delete",i,void 0),u},clear(){const i=J(this),o=i.size!==0,r=i.clear();return o&&me(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=eh(i,t,e)}),s}function Sn(t,e){const s=sh(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 nh={get:Sn(!1,!1)},ih={get:Sn(!1,!0)},oh={get:Sn(!0,!1)},rh={get:Sn(!0,!0)},Dr=new WeakMap,Or=new WeakMap,Rr=new WeakMap,Lr=new WeakMap;function ah(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lh(t){return t.__v_skip||!Object.isExtensible(t)?0:ah(Df(t))}function Ci(t){return ye(t)?t:wn(t,!1,Zf,nh,Dr)}function ch(t){return wn(t,!1,Qf,ih,Or)}function Pi(t){return wn(t,!0,Jf,oh,Rr)}function Tn(t){return wn(t,!0,th,rh,Lr)}function wn(t,e,s,n,i){if(!et(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=lh(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function We(t){return ye(t)?We(t.__v_raw):!!(t&&t.__v_isReactive)}function ye(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function Mi(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function uh(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&hr(t,"__v_skip",!0),t}const qt=t=>et(t)?Ci(t):t,cs=t=>et(t)?Pi(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function us(t){return fh(t,!1)}function fh(t,e){return _t(t)?t:new hh(t,e)}class hh{constructor(e,s){this.dep=new xi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:qt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||kt(e)||ye(e);e=n?e:J(e),Ve(e,s)&&(this._rawValue=e,this._value=n?e:qt(e),this.dep.trigger())}}function Fr(t){return _t(t)?t.value:t}const dh={get:(t,e,s)=>e==="__v_raw"?t:Fr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Ir(t){return We(t)?t:new Proxy(t,dh)}class ph{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new xi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ps-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&rt!==this)return br(this,!0),!0}get value(){const e=this.dep.track();return Sr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function mh(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new ph(n,i,s)}const An={},En=new WeakMap;let Ge;function gh(t,e=!1,s=Ge){if(s){let n=En.get(s);n||En.set(s,n=[]),n.push(t)}}function yh(t,e,s=ot){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=C=>i?C:kt(C)||i===!1||i===0?Oe(C,1):Oe(C);let c,f,h,p,b=!1,y=!1;if(_t(t)?(f=()=>t.value,b=kt(t)):We(t)?(f=()=>u(t),b=!0):H(t)?(y=!0,b=t.some(C=>We(C)||kt(C)),f=()=>t.map(C=>{if(_t(C))return C.value;if(We(C))return u(C);if(W(C))return l?l(C,2):C()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){Jt();try{h()}finally{Qt()}}const C=Ge;Ge=c;try{return l?l(t,3,[p]):t(p)}finally{Ge=C}}:f=Wt,e&&i){const C=f,V=i===!0?1/0:i;f=()=>Oe(C(),V)}const A=Kf(),w=()=>{c.stop(),A&&A.active&&ci(A.effects,c)};if(o&&e){const C=e;e=(...V)=>{C(...V),w()}}let E=y?new Array(t.length).fill(An):An;const P=C=>{if(!(!(c.flags&1)||!c.dirty&&!C))if(e){const V=c.run();if(i||b||(y?V.some((N,z)=>Ve(N,E[z])):Ve(V,E))){h&&h();const N=Ge;Ge=c;try{const z=[V,E===An?void 0:y&&E[0]===An?[]:E,p];E=V,l?l(e,3,z):e(...z)}finally{Ge=N}}}else c.run()};return a&&a(P),c=new yr(f),c.scheduler=r?()=>r(P,!1):P,p=C=>gh(C,!1,c),h=c.onStop=()=>{const C=En.get(c);if(C){if(l)l(C,4);else for(const V of C)V();En.delete(c)}},e?n?P(!0):E=c.run():r?r(P.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function Oe(t,e=1/0,s){if(e<=0||!et(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,_t(t))Oe(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)Oe(t[n],e,s);else if(ar(t)||as(t))t.forEach(n=>{Oe(n,e,s)});else if(fr(t)){for(const n in t)Oe(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Oe(t[n],e,s)}return t}var Re={NODE_ENV:"production"};const Ds=[];let Vi=!1;function vh(t,...e){if(Vi)return;Vi=!0,Jt();const s=Ds.length?Ds[Ds.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=bh();if(n)fs(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 <${Ua(s,o.type)}>`).join(`
|
|
1
|
+
(function(Fe,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(Fe=typeof globalThis<"u"?globalThis:Fe||self,Ie(Fe.JsonSchemaDocs={}))})(this,(function(Fe){"use strict";function Ie(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const rt={},Qe=[],zt=()=>{},Qo=()=>!1,cn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Qn=t=>t.startsWith("onUpdate:"),mt=Object.assign,ti=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},hf=Object.prototype.hasOwnProperty,tt=(t,e)=>hf.call(t,e),U=Array.isArray,ts=t=>bs(t)==="[object Map]",tr=t=>bs(t)==="[object Set]",er=t=>bs(t)==="[object Date]",W=t=>typeof t=="function",ut=t=>typeof t=="string",qt=t=>typeof t=="symbol",et=t=>t!==null&&typeof t=="object",sr=t=>(et(t)||W(t))&&W(t.then)&&W(t.catch),nr=Object.prototype.toString,bs=t=>nr.call(t),pf=t=>bs(t).slice(8,-1),ir=t=>bs(t)==="[object Object]",ei=t=>ut(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Ie(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},mf=/-\w/g,$t=un(t=>t.replace(mf,e=>e.slice(1).toUpperCase())),gf=/\B([A-Z])/g,ke=un(t=>t.replace(gf,"-$1").toLowerCase()),fn=un(t=>t.charAt(0).toUpperCase()+t.slice(1)),si=un(t=>t?`on${fn(t)}`:""),Pe=(t,e)=>!Object.is(t,e),ni=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},or=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},yf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},vf=t=>{const e=ut(t)?Number(t):NaN;return isNaN(e)?t:e};let rr;const dn=()=>rr||(rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ii(t){if(U(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ut(n)?Sf(n):ii(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ut(t)||et(t))return t}const bf=/;(?![^(]*\))/g,_f=/:([^]+)/,xf=/\/\*[^]*?\*\//g;function Sf(t){const e={};return t.replace(xf,"").split(bf).forEach(s=>{if(s){const n=s.split(_f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function At(t){let e="";if(ut(t))e=t;else if(U(t))for(let s=0;s<t.length;s++){const n=At(t[s]);n&&(e+=n+" ")}else if(et(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Tf=Ie("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ar(t){return!!t||t===""}function wf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=oi(t[n],e[n]);return s}function oi(t,e){if(t===e)return!0;let s=er(t),n=er(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=qt(t),n=qt(e),s||n)return t===e;if(s=U(t),n=U(e),s||n)return s&&n?wf(t,e):!1;if(s=et(t),n=et(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const r in t){const a=t.hasOwnProperty(r),l=e.hasOwnProperty(r);if(a&&!l||!a&&l||!oi(t[r],e[r]))return!1}}return String(t)===String(e)}const lr=t=>!!(t&&t.__v_isRef===!0),J=t=>ut(t)?t:t==null?"":U(t)||et(t)&&(t.toString===nr||!W(t.toString))?lr(t)?J(t.value):JSON.stringify(t,cr,2):String(t),cr=(t,e)=>lr(e)?cr(t,e.value):ts(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[ri(n,o)+" =>"]=i,s),{})}:tr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>ri(s))}:qt(e)?ri(e):et(e)&&!U(e)&&!ir(e)?String(e):e,ri=(t,e="")=>{var s;return qt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Pf={NODE_ENV:"production"};let Dt;class Af{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Dt,!e&&Dt&&(this.index=(Dt.scopes||(Dt.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=Dt;try{return Dt=this,e()}finally{Dt=s}}}on(){++this._on===1&&(this.prevScope=Dt,Dt=this)}off(){this._on>0&&--this._on===0&&(Dt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Cf(){return Dt}let at;const ai=new WeakSet;class ur{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,Dt&&Dt.active&&Dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ai.has(this)&&(ai.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,yr(this),hr(this);const e=at,s=Yt;at=this,Yt=!0;try{return this.fn()}finally{pr(this),at=e,Yt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)fi(e);this.deps=this.depsTail=void 0,yr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ai.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ui(this)&&this.run()}get dirty(){return ui(this)}}let fr=0,xs,Ss;function dr(t,e=!1){if(t.flags|=8,e){t.next=Ss,Ss=t;return}t.next=xs,xs=t}function li(){fr++}function ci(){if(--fr>0)return;if(Ss){let e=Ss;for(Ss=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;xs;){let e=xs;for(xs=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function hr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function pr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),fi(n),Ef(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function ui(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(mr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function mr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ts)||(t.globalVersion=Ts,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ui(t))))return;t.flags|=2;const e=t.dep,s=at,n=Yt;at=t,Yt=!0;try{hr(t);const i=t.fn(t._value);(e.version===0||Pe(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{at=s,Yt=n,pr(t),t.flags&=-3}}function fi(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)fi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Ef(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Yt=!0;const gr=[];function te(){gr.push(Yt),Yt=!1}function ee(){const t=gr.pop();Yt=t===void 0?!0:t}function yr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=at;at=void 0;try{e()}finally{at=s}}}let Ts=0;class Vf{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 di{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!at||!Yt||at===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==at)s=this.activeLink=new Vf(at,this),at.deps?(s.prevDep=at.depsTail,at.depsTail.nextDep=s,at.depsTail=s):at.deps=at.depsTail=s,vr(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=at.depsTail,s.nextDep=void 0,at.depsTail.nextDep=s,at.depsTail=s,at.deps===s&&(at.deps=n)}return s}trigger(e){this.version++,Ts++,this.notify(e)}notify(e){li();try{Pf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ci()}}}function vr(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)vr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const hi=new WeakMap,je=Symbol(""),pi=Symbol(""),ws=Symbol("");function Tt(t,e,s){if(Yt&&at){let n=hi.get(t);n||hi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new di),i.map=n,i.key=s),i.track()}}function pe(t,e,s,n,i,o){const r=hi.get(t);if(!r){Ts++;return}const a=l=>{l&&l.trigger()};if(li(),e==="clear")r.forEach(a);else{const l=U(t),u=l&&ei(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,d)=>{(d==="length"||d===ws||!qt(d)&&d>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(ws)),e){case"add":l?u&&a(r.get("length")):(a(r.get(je)),ts(t)&&a(r.get(pi)));break;case"delete":l||(a(r.get(je)),ts(t)&&a(r.get(pi)));break;case"set":ts(t)&&a(r.get(je));break}}ci()}function es(t){const e=Q(t);return e===t?e:(Tt(e,"iterate",ws),Bt(t)?e:e.map(Xt))}function hn(t){return Tt(t=Q(t),"iterate",ws),t}function Ae(t,e){return ge(t)?ss($e(t)?Xt(e):e):Xt(e)}const Mf={__proto__:null,[Symbol.iterator](){return mi(this,Symbol.iterator,t=>Ae(this,t))},concat(...t){return es(this).concat(...t.map(e=>U(e)?es(e):e))},entries(){return mi(this,"entries",t=>(t[1]=Ae(this,t[1]),t))},every(t,e){return me(this,"every",t,e,void 0,arguments)},filter(t,e){return me(this,"filter",t,e,s=>s.map(n=>Ae(this,n)),arguments)},find(t,e){return me(this,"find",t,e,s=>Ae(this,s),arguments)},findIndex(t,e){return me(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return me(this,"findLast",t,e,s=>Ae(this,s),arguments)},findLastIndex(t,e){return me(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return me(this,"forEach",t,e,void 0,arguments)},includes(...t){return gi(this,"includes",t)},indexOf(...t){return gi(this,"indexOf",t)},join(t){return es(this).join(t)},lastIndexOf(...t){return gi(this,"lastIndexOf",t)},map(t,e){return me(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return br(this,"reduce",t,e)},reduceRight(t,...e){return br(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return me(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(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 Ps(this,"unshift",t)},values(){return mi(this,"values",t=>Ae(this,t))}};function mi(t,e,s){const n=hn(t),i=n[e]();return n!==t&&!Bt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Df=Array.prototype;function me(t,e,s,n,i,o){const r=hn(t),a=r!==t&&!Bt(t),l=r[e];if(l!==Df[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,Ae(t,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 br(t,e,s,n){const i=hn(t);let o=s;return i!==t&&(Bt(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,Ae(t,a),l,t)}),i[e](o,...n)}function gi(t,e,s){const n=Q(t);Tt(n,"iterate",ws);const i=n[e](...s);return(i===-1||i===!1)&&_i(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){te(),li();const n=Q(t)[e].apply(t,s);return ci(),ee(),n}const Of=Ie("__proto__,__v_isRef,__isVue"),_r=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(qt));function Rf(t){qt(t)||(t=String(t));const e=Q(this);return Tt(e,"has",t),e.hasOwnProperty(t)}class xr{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?Cr:Ar:o?Pr:wr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=U(e);if(!i){let l;if(r&&(l=Mf[s]))return l;if(s==="hasOwnProperty")return Rf}const a=Reflect.get(e,s,_t(e)?e:n);if((qt(s)?_r.has(s):Of(s))||(i||Tt(e,"get",s),o))return a;if(_t(a)){const l=r&&ei(s)?a:a.value;return i&&et(l)?bi(l):l}return et(a)?i?bi(a):vi(a):a}}class Sr extends xr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=U(e)&&ei(s);if(!this._isShallow){const u=ge(o);if(!Bt(n)&&!ge(n)&&(o=Q(o),n=Q(n)),!r&&_t(o)&&!_t(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:tt(e,s),l=Reflect.set(e,s,n,_t(e)?e:i);return e===Q(i)&&(a?Pe(n,o)&&pe(e,"set",s,n):pe(e,"add",s,n)),l}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&pe(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!qt(s)||!_r.has(s))&&Tt(e,"has",s),n}ownKeys(e){return Tt(e,"iterate",U(e)?"length":je),Reflect.ownKeys(e)}}class Tr extends xr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Lf=new Sr,Ff=new Tr,If=new Sr(!0),kf=new Tr(!0),yi=t=>t,pn=t=>Reflect.getPrototypeOf(t);function jf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=ts(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?yi:e?ss:Xt;return!e&&Tt(o,"iterate",l?pi:je),mt(Object.create(u),{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}}})}}function mn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function $f(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(Pe(i,a)&&Tt(r,"get",i),Tt(r,"get",a));const{has:l}=pn(r),u=e?yi:t?ss: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&&Tt(Q(i),"iterate",je),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(Pe(i,a)&&Tt(r,"has",i),Tt(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=Q(a),u=e?yi:t?ss:Xt;return!t&&Tt(l,"iterate",je),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return mt(s,t?{add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear")}:{add(i){!e&&!Bt(i)&&!ge(i)&&(i=Q(i));const o=Q(this);return pn(o).has.call(o,i)||(o.add(i),pe(o,"add",i,i)),this},set(i,o){!e&&!Bt(o)&&!ge(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=pn(r);let u=a.call(r,i);u||(i=Q(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?Pe(o,c)&&pe(r,"set",i,o):pe(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=pn(o);let l=r.call(o,i);l||(i=Q(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&pe(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&pe(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=jf(i,t,e)}),s}function gn(t,e){const s=$f(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(tt(s,i)&&i in n?s:n,i,o)}const Bf={get:gn(!1,!1)},Nf={get:gn(!1,!0)},Uf={get:gn(!0,!1)},Hf={get:gn(!0,!0)},wr=new WeakMap,Pr=new WeakMap,Ar=new WeakMap,Cr=new WeakMap;function Kf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wf(t){return t.__v_skip||!Object.isExtensible(t)?0:Kf(pf(t))}function vi(t){return ge(t)?t:vn(t,!1,Lf,Bf,wr)}function Gf(t){return vn(t,!1,If,Nf,Pr)}function bi(t){return vn(t,!0,Ff,Uf,Ar)}function yn(t){return vn(t,!0,kf,Hf,Cr)}function vn(t,e,s,n,i){if(!et(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=Wf(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function $e(t){return ge(t)?$e(t.__v_raw):!!(t&&t.__v_isReactive)}function ge(t){return!!(t&&t.__v_isReadonly)}function Bt(t){return!!(t&&t.__v_isShallow)}function _i(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function zf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&or(t,"__v_skip",!0),t}const Xt=t=>et(t)?vi(t):t,ss=t=>et(t)?bi(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function ns(t){return qf(t,!1)}function qf(t,e){return _t(t)?t:new Yf(t,e)}class Yf{constructor(e,s){this.dep=new di,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(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||Bt(e)||ge(e);e=n?e:Q(e),Pe(e,s)&&(this._rawValue=e,this._value=n?e:Xt(e),this.dep.trigger())}}function Er(t){return _t(t)?t.value:t}const Xf={get:(t,e,s)=>e==="__v_raw"?t:Er(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Vr(t){return $e(t)?t:new Proxy(t,Xf)}class Zf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new di(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ts-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&at!==this)return dr(this,!0),!0}get value(){const e=this.dep.track();return mr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Jf(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new Zf(n,i,s)}const bn={},_n=new WeakMap;let Be;function Qf(t,e=!1,s=Be){if(s){let n=_n.get(s);n||_n.set(s,n=[]),n.push(t)}}function td(t,e,s=rt){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=A=>i?A:Bt(A)||i===!1||i===0?Ce(A,1):Ce(A);let c,f,d,m,v=!1,b=!1;if(_t(t)?(f=()=>t.value,v=Bt(t)):$e(t)?(f=()=>u(t),v=!0):U(t)?(b=!0,v=t.some(A=>$e(A)||Bt(A)),f=()=>t.map(A=>{if(_t(A))return A.value;if($e(A))return u(A);if(W(A))return l?l(A,2):A()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){te();try{d()}finally{ee()}}const A=Be;Be=c;try{return l?l(t,3,[m]):t(m)}finally{Be=A}}:f=zt,e&&i){const A=f,D=i===!0?1/0:i;f=()=>Ce(A(),D)}const w=Cf(),C=()=>{c.stop(),w&&w.active&&ti(w.effects,c)};if(o&&e){const A=e;e=(...D)=>{A(...D),C()}}let E=b?new Array(t.length).fill(bn):bn;const P=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(e){const D=c.run();if(i||v||(b?D.some((H,z)=>Pe(H,E[z])):Pe(D,E))){d&&d();const H=Be;Be=c;try{const z=[D,E===bn?void 0:b&&E[0]===bn?[]:E,m];E=D,l?l(e,3,z):e(...z)}finally{Be=H}}}else c.run()};return a&&a(P),c=new ur(f),c.scheduler=r?()=>r(P,!1):P,m=A=>Qf(A,!1,c),d=c.onStop=()=>{const A=_n.get(c);if(A){if(l)l(A,4);else for(const D of A)D();_n.delete(c)}},e?n?P(!0):E=c.run():r?r(P.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Ce(t,e=1/0,s){if(e<=0||!et(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,_t(t))Ce(t.value,e,s);else if(U(t))for(let n=0;n<t.length;n++)Ce(t[n],e,s);else if(tr(t)||ts(t))t.forEach(n=>{Ce(n,e,s)});else if(ir(t)){for(const n in t)Ce(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Ce(t[n],e,s)}return t}var Ee={NODE_ENV:"production"};const As=[];let xi=!1;function ed(t,...e){if(xi)return;xi=!0,te();const s=As.length?As[As.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=sd();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 <${La(s,o.type)}>`).join(`
|
|
2
2
|
`),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(`
|
|
3
|
-
`,...
|
|
4
|
-
`],...xh(s))}),e}function xh({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Ua(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...Sh(t.props),o]:[i+o]}function Sh(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...$r(n,t[n]))}),s.length>3&&e.push(" ..."),e}function $r(t,e,s){return ut(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=$r(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 fs(t,e,s,n){try{return n?t(...n):t()}catch(i){Cn(i,e,s)}}function Yt(t,e,s,n){if(W(t)){const i=fs(t,e,s,n);return i&&cr(i)&&i.catch(o=>{Cn(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Yt(t[o],e,s,n));return i}}function Cn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||ot;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){Jt(),fs(o,null,10,[t,l,u]),Qt();return}}Th(t,s,i,n,r)}function Th(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ct=[];let te=-1;const hs=[];let Le=null,ds=0;const jr=Promise.resolve();let Pn=null;function wh(t){const e=Pn||jr;return t?e.then(this?t.bind(this):t):e}function Ah(t){let e=te+1,s=Ct.length;for(;e<s;){const n=e+s>>>1,i=Ct[n],o=Os(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Di(t){if(!(t.flags&1)){const e=Os(t),s=Ct[Ct.length-1];!s||!(t.flags&2)&&e>=Os(s)?Ct.push(t):Ct.splice(Ah(e),0,t),t.flags|=1,Br()}}function Br(){Pn||(Pn=jr.then(Ur))}function Eh(t){H(t)?hs.push(...t):Le&&t.id===-1?Le.splice(ds+1,0,t):t.flags&1||(hs.push(t),t.flags|=1),Br()}function kr(t,e,s=te+1){for(;s<Ct.length;s++){const n=Ct[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ct.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Nr(t){if(hs.length){const e=[...new Set(hs)].sort((s,n)=>Os(s)-Os(n));if(hs.length=0,Le){Le.push(...e);return}for(Le=e,ds=0;ds<Le.length;ds++){const s=Le[ds];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Le=null,ds=0}}const Os=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Ur(t){const e=Wt;try{for(te=0;te<Ct.length;te++){const s=Ct[te];s&&!(s.flags&8)&&(Re.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),fs(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;te<Ct.length;te++){const s=Ct[te];s&&(s.flags&=-2)}te=-1,Ct.length=0,Nr(),Pn=null,(Ct.length||hs.length)&&Ur()}}let At=null,Hr=null;function Mn(t){const e=At;return At=t,Hr=t&&t.type.__scopeId||null,e}function Vn(t,e=At,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Bn(-1);const o=Mn(e);let r;try{r=t(...i)}finally{Mn(o),n._d&&Bn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function ze(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&&(Jt(),Yt(l,s,8,[t.el,a,t,e]),Qt())}}function Oi(t,e){if(vt){let s=vt.provides;const n=vt.parent&&vt.parent.provides;n===s&&(s=vt.provides=Object.create(n)),s[t]=e}}function Rs(t,e,s=!1){const n=Nn();if(n||ms){let i=ms?ms._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&W(e)?e.call(n&&n.proxy):e}}const Ch=Symbol.for("v-scx"),Ph=()=>Rs(Ch);function Mh(t,e){return Ri(t,null,e)}function Dn(t,e,s){return Ri(t,e,s)}function Ri(t,e,s=ot){const{immediate:n,deep:i,flush:o,once:r}=s,a=gt({},s),l=e&&n||!e&&o!=="post";let u;if(Ks){if(o==="sync"){const p=Ph();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Wt,p.resume=Wt,p.pause=Wt,p}}const c=vt;a.call=(p,b,y)=>Yt(p,c,b,y);let f=!1;o==="post"?a.scheduler=p=>{Dt(p,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,b)=>{b?p():Di(p)}),a.augmentJob=p=>{e&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const h=yh(t,e,a);return Ks&&(u?u.push(h):l&&h()),h}function Vh(t,e,s){const n=this.proxy,i=ut(t)?t.includes(".")?Kr(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=Hs(this),a=Ri(i,o.bind(n),s);return r(),a}function Kr(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 Dh=Symbol("_vte"),Wr=t=>t.__isTeleport,ee=Symbol("_leaveCb"),Ls=Symbol("_enterCb");function Oh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{t.isMounted=!0}),$i(()=>{t.isUnmounting=!0}),t}const Nt=[Function,Array],Gr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},zr=t=>{const e=t.subTree;return e.component?zr(e.component):e},Rh={name:"BaseTransition",props:Gr,setup(t,{slots:e}){const s=Nn(),n=Oh();return()=>{const i=e.default&&Zr(e.default(),!0);if(!i||!i.length)return;const o=qr(i),r=J(t),{mode:a}=r;if(n.isLeaving)return Fi(o);const l=Xr(o);if(!l)return Fi(o);let u=Li(l,r,n,s,f=>u=f);l.type!==xt&&Fs(l,u);let c=s.subTree&&Xr(s.subTree);if(c&&c.type!==xt&&!Ye(c,l)&&zr(s).type!==xt){let f=Li(c,r,n,s);if(Fs(c,f),a==="out-in"&&l.type!==xt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Fi(o);a==="in-out"&&l.type!==xt?f.delayLeave=(h,p,b)=>{const y=Yr(n,c);y[String(c.key)]=c,h[ee]=()=>{p(),h[ee]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{b(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function qr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==xt){e=s;break}}return e}const Lh=Rh;function Yr(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 Li(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:A,onAppear:w,onAfterAppear:E,onAppearCancelled:P}=e,C=String(t.key),V=Yr(s,t),N=(F,G)=>{F&&Yt(F,n,9,G)},z=(F,G)=>{const Y=G[1];N(F,G),H(F)?F.every(I=>I.length<=1)&&Y():F.length<=1&&Y()},j={mode:r,persisted:a,beforeEnter(F){let G=l;if(!s.isMounted)if(o)G=A||l;else return;F[ee]&&F[ee](!0);const Y=V[C];Y&&Ye(t,Y)&&Y.el[ee]&&Y.el[ee](),N(G,[F])},enter(F){let G=u,Y=c,I=f;if(!s.isMounted)if(o)G=w||u,Y=E||c,I=P||f;else return;let nt=!1;F[Ls]=le=>{nt||(nt=!0,le?N(I,[F]):N(Y,[F]),j.delayedLeave&&j.delayedLeave(),F[Ls]=void 0)};const Tt=F[Ls].bind(null,!1);G?z(G,[F,Tt]):Tt()},leave(F,G){const Y=String(t.key);if(F[Ls]&&F[Ls](!0),s.isUnmounting)return G();N(h,[F]);let I=!1;F[ee]=Tt=>{I||(I=!0,G(),Tt?N(y,[F]):N(b,[F]),F[ee]=void 0,V[Y]===t&&delete V[Y])};const nt=F[ee].bind(null,!1);V[Y]=t,p?z(p,[F,nt]):nt()},clone(F){const G=Li(F,e,s,n,i);return i&&i(G),G}};return j}function Fi(t){if(Rn(t))return t=be(t),t.children=null,t}function Xr(t){if(!Rn(t))return Wr(t.type)&&t.children?qr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Fs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Fs(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 Zr(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===ht?(r.patchFlag&128&&i++,n=n.concat(Zr(r.children,e,a))):(e||r.type!==xt)&&n.push(a!=null?be(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function Fh(t,e){return W(t)?gt({name:t.name},e,{setup:t}):t}function Jr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const On=new WeakMap;function Is(t,e,s,n,i=!1){if(H(t)){t.forEach((y,A)=>Is(y,e&&(H(e)?e[A]:e),s,n,i));return}if(ps(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Is(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Yi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===ot?a.refs={}:a.refs,f=a.setupState,h=J(f),p=f===ot?rr:y=>Qr(c,y)?!1:tt(h,y),b=(y,A)=>!(A&&Qr(c,A));if(u!=null&&u!==l){if(ta(e),ut(u))c[u]=null,p(u)&&(f[u]=null);else if(_t(u)){const y=e;b(u,y.k)&&(u.value=null),y.k&&(c[y.k]=null)}}if(W(l))fs(l,a,12,[r,c]);else{const y=ut(l),A=_t(l);if(y||A){const w=()=>{if(t.f){const E=y?p(l)?f[l]:c[l]:b()||!t.k?l.value:c[t.k];if(i)H(E)&&ci(E,o);else if(H(E))E.includes(o)||E.push(o);else if(y)c[l]=[o],p(l)&&(f[l]=c[l]);else{const P=[o];b(l,t.k)&&(l.value=P),t.k&&(c[t.k]=P)}}else y?(c[l]=r,p(l)&&(f[l]=r)):A&&(b(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const E=()=>{w(),On.delete(t)};E.id=-1,On.set(t,E),Dt(E,s)}else ta(t),w()}}}function ta(t){const e=On.get(t);e&&(e.flags|=8,On.delete(t))}vn().requestIdleCallback,vn().cancelIdleCallback;const ps=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function Ih(t,e){ea(t,"a",e)}function $h(t,e){ea(t,"da",e)}function ea(t,e,s=vt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Ln(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Rn(i.parent.vnode)&&jh(n,e,s,i),i=i.parent}}function jh(t,e,s,n){const i=Ln(e,t,n,!0);ji(()=>{ci(n[e],i)},s)}function Ln(t,e,s=vt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Jt();const a=Hs(s),l=Yt(e,s,t,r);return a(),Qt(),l});return n?i.unshift(o):i.push(o),o}}const ve=t=>(e,s=vt)=>{(!Ks||t==="sp")&&Ln(t,(...n)=>e(...n),s)},sa=ve("bm"),Ii=ve("m"),na=ve("bu"),ia=ve("u"),$i=ve("bum"),ji=ve("um"),Bh=ve("sp"),kh=ve("rtg"),Nh=ve("rtc");function Uh(t,e=vt){Ln("ec",t,e)}const Hh="components",oa=Symbol.for("v-ndc");function Kh(t){return ut(t)?Wh(Hh,t,!1)||t:t||oa}function Wh(t,e,s=!0,n=!1){const i=At||vt;if(i){const o=i.type;{const a=Na(o,!1);if(a&&(a===e||a===Bt(e)||a===yn(Bt(e))))return o}const r=ra(i[t]||o[t],e)||ra(i.appContext[t],e);return!r&&n?o:r}}function ra(t,e){return t&&(t[e]||t[Bt(e)]||t[yn(Bt(e))])}function Fe(t,e,s,n){let i;const o=s,r=H(t);if(r||ut(t)){const a=r&&We(t);let l=!1,u=!1;a&&(l=!kt(t),u=ye(t),t=bn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?cs(qt(t[c])):qt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(et(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 Gh(t,e,s={},n,i){if(At.ce||At.parent&&ps(At.parent)&&At.parent.ce){const u=Object.keys(s).length>0;return $(),It(ht,null,[st("slot",s,n)],u?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),$();const r=o&&aa(o(s)),a=s.key||r&&r.key,l=It(ht,{key:(a&&!Gt(a)?a:`_${e}`)+(!r&&n?"_fb":"")},r||[],r&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function aa(t){return t.some(e=>Ns(e)?!(e.type===xt||e.type===ht&&!aa(e.children)):!0)?t:null}const Bi=t=>t?$a(t)?Yi(t):Bi(t.parent):null,$s=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=>Bi(t.parent),$root:t=>Bi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>fa(t),$forceUpdate:t=>t.f||(t.f=()=>{Di(t.update)}),$nextTick:t=>t.n||(t.n=wh.bind(t.proxy)),$watch:t=>Vh.bind(t)}),ki=(t,e)=>t!==ot&&!t.__isScriptSetup&&tt(t,e),zh={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;if(e[0]!=="$"){const h=r[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(ki(n,e))return r[e]=1,n[e];if(i!==ot&&tt(i,e))return r[e]=2,i[e];if(tt(o,e))return r[e]=3,o[e];if(s!==ot&&tt(s,e))return r[e]=4,s[e];Ni&&(r[e]=0)}}const u=$s[e];let c,f;if(u)return e==="$attrs"&&wt(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==ot&&tt(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,tt(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return ki(i,e)?(i[e]=s,!0):n!==ot&&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,props:o,type:r}},a){let l;return!!(s[a]||t!==ot&&a[0]!=="$"&&tt(t,a)||ki(e,a)||tt(o,a)||tt(n,a)||tt($s,a)||tt(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},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 qh(){return Yh().attrs}function Yh(t){const e=Nn();return e.setupContext||(e.setupContext=ka(e))}function la(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ni=!0;function Xh(t){const e=fa(t),s=t.proxy,n=t.ctx;Ni=!1,e.beforeCreate&&ca(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:p,updated:b,activated:y,deactivated:A,beforeDestroy:w,beforeUnmount:E,destroyed:P,unmounted:C,render:V,renderTracked:N,renderTriggered:z,errorCaptured:j,serverPrefetch:F,expose:G,inheritAttrs:Y,components:I,directives:nt,filters:Tt}=e;if(u&&Zh(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);et(Q)&&(t.data=Ci(Q))}if(Ni=!0,o)for(const Q in o){const q=o[Q],ce=W(q)?q.bind(s,s):W(q.get)?q.get.bind(s,s):Wt,is=!W(q)&&W(q.set)?q.set.bind(s):Wt,ue=bt({get:ce,set:is});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>ue.value,set:$t=>ue.value=$t})}if(a)for(const Q in a)ua(a[Q],n,s,Q);if(l){const Q=W(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(q=>{Oi(q,Q[q])})}c&&ca(c,t,"c");function mt(Q,q){H(q)?q.forEach(ce=>Q(ce.bind(s))):q&&Q(q.bind(s))}if(mt(sa,f),mt(Ii,h),mt(na,p),mt(ia,b),mt(Ih,y),mt($h,A),mt(Uh,j),mt(Nh,N),mt(kh,z),mt($i,E),mt(ji,C),mt(Bh,F),H(G))if(G.length){const Q=t.exposed||(t.exposed={});G.forEach(q=>{Object.defineProperty(Q,q,{get:()=>s[q],set:ce=>s[q]=ce,enumerable:!0})})}else t.exposed||(t.exposed={});V&&t.render===Wt&&(t.render=V),Y!=null&&(t.inheritAttrs=Y),I&&(t.components=I),nt&&(t.directives=nt),F&&Jr(t)}function Zh(t,e,s=Wt){H(t)&&(t=Ui(t));for(const n in t){const i=t[n];let o;et(i)?"default"in i?o=Rs(i.from||n,i.default,!0):o=Rs(i.from||n):o=Rs(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function ca(t,e,s){Yt(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ua(t,e,s,n){let i=n.includes(".")?Kr(s,n):()=>s[n];if(ut(t)){const o=e[t];W(o)&&Dn(i,o)}else if(W(t))Dn(i,t.bind(s));else if(et(t))if(H(t))t.forEach(o=>ua(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Dn(i,o,t)}}function fa(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=>Fn(l,u,r,!0)),Fn(l,e,r)),et(e)&&o.set(e,l),l}function Fn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Fn(t,o,s,!0),i&&i.forEach(r=>Fn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Jh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Jh={data:ha,props:da,emits:da,methods:js,computed:js,beforeCreate:Pt,created:Pt,beforeMount:Pt,mounted:Pt,beforeUpdate:Pt,updated:Pt,beforeDestroy:Pt,beforeUnmount:Pt,destroyed:Pt,unmounted:Pt,activated:Pt,deactivated:Pt,errorCaptured:Pt,serverPrefetch:Pt,components:js,directives:js,watch:td,provide:ha,inject:Qh};function ha(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 Qh(t,e){return js(Ui(t),Ui(e))}function Ui(t){if(H(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Pt(t,e){return t?[...new Set([].concat(t,e))]:e}function js(t,e){return t?gt(Object.create(null),t,e):e}function da(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:gt(Object.create(null),la(t),la(e??{})):e}function td(t,e){if(!t)return e;if(!e)return t;const s=gt(Object.create(null),t);for(const n in e)s[n]=Pt(t[n],e[n]);return s}function pa(){return{app:null,config:{isNativeTag:rr,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 ed=0;function sd(t,e){return function(n,i=null){W(n)||(n=gt({},n)),i!=null&&!et(i)&&(i=null);const o=pa(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:ed++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:Ld,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&W(c.install)?(r.add(c),c.install(u,...f)):W(c)&&(r.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,h){if(!l){const p=u._ceVNode||st(n,i);return p.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(p,c,h),l=!0,u._container=c,c.__vue_app__=u,Yi(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Yt(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=ms;ms=u;try{return c()}finally{ms=f}}};return u}}let ms=null;const nd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Bt(e)}Modifiers`]||t[`${He(e)}Modifiers`];function id(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||ot;let i=s;const o=e.startsWith("update:"),r=o&&nd(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ut(c)?c.trim():c)),r.number&&(i=s.map(Lf)));let a,l=n[a=fi(e)]||n[a=fi(Bt(e))];!l&&o&&(l=n[a=fi(He(e))]),l&&Yt(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,Yt(u,t,6,i)}}const od=new WeakMap;function ma(t,e,s=!1){const n=s?od: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=ma(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?(et(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):gt(r,o),et(t)&&n.set(t,r),r)}function In(t,e){return!t||!mn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,He(e))||tt(t,e))}function k_(){}function ga(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:p,ctx:b,inheritAttrs:y}=t,A=Mn(t);let w,E;try{if(s.shapeFlag&4){const C=i||n,V=Re.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(C,{get(N,z,j){return vh(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(N,z,j)}}):C;w=se(u.call(V,C,c,Re.NODE_ENV!=="production"?Tn(f):f,p,h,b)),E=a}else{const C=e;Re.NODE_ENV,w=se(C.length>1?C(Re.NODE_ENV!=="production"?Tn(f):f,Re.NODE_ENV!=="production"?{get attrs(){return Tn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):C(Re.NODE_ENV!=="production"?Tn(f):f,null)),E=e.props?a:rd(a)}}catch(C){Bs.length=0,Cn(C,t,1),w=st(xt)}let P=w;if(E&&y!==!1){const C=Object.keys(E),{shapeFlag:V}=P;C.length&&V&7&&(o&&C.some(li)&&(E=ad(E,o)),P=be(P,E,!1,!0))}return s.dirs&&(P=be(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&Fs(P,s.transition),w=P,Mn(A),w}const rd=t=>{let e;for(const s in t)(s==="class"||s==="style"||mn(s))&&((e||(e={}))[s]=t[s]);return e},ad=(t,e)=>{const s={};for(const n in t)(!li(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function ld(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?ya(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(va(r,n,h)&&!In(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ya(n,r,u):!0:!!r;return!1}function ya(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(va(e,t,o)&&!In(s,o))return!0}return!1}function va(t,e,s){const n=t[s],i=e[s];return s==="style"&&et(n)&&et(i)?!pi(n,i):n!==i}function cd({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={},_a=()=>Object.create(ba),xa=t=>Object.getPrototypeOf(t)===ba;function ud(t,e,s,n=!1){const i={},o=_a();t.propsDefaults=Object.create(null),Sa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:ch(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function fd(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=J(i),[l]=t.propsOptions;let u=!1;if((n||r>0)&&!(r&16)){if(r&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(In(t.emitsOptions,h))continue;const p=e[h];if(l)if(tt(o,h))p!==o[h]&&(o[h]=p,u=!0);else{const b=Bt(h);i[b]=Hi(l,a,b,p,t,!1)}else p!==o[h]&&(o[h]=p,u=!0)}}}else{Sa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=He(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Hi(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&&me(t.attrs,"set","")}function Sa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(As(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:In(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=J(s),u=a||ot;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Hi(i,l,f,u[f],t,!tt(u,f))}}return r}function Hi(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=Hs(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===He(s))&&(n=!0))}return n}const hd=new WeakMap;function Ta(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[h,p]=Ta(f,e,!0);gt(r,h),p&&a.push(...p)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return et(t)&&n.set(t,rs),rs;if(H(o))for(let c=0;c<o.length;c++){const f=Bt(o[c]);wa(f)&&(r[f]=ot)}else if(o)for(const c in o){const f=Bt(c);if(wa(f)){const h=o[c],p=r[f]=H(h)||W(h)?{type:h}:gt({},h),b=p.type;let y=!1,A=!0;if(H(b))for(let w=0;w<b.length;++w){const E=b[w],P=W(E)&&E.name;if(P==="Boolean"){y=!0;break}else P==="String"&&(A=!1)}else y=W(b)&&b.name==="Boolean";p[0]=y,p[1]=A,(y||tt(p,"default"))&&a.push(f)}}const u=[r,a];return et(t)&&n.set(t,u),u}function wa(t){return t[0]!=="$"&&!As(t)}const Ki=t=>t==="_"||t==="_ctx"||t==="$stable",Wi=t=>H(t)?t.map(se):[se(t)],dd=(t,e,s)=>{if(e._n)return e;const n=Vn((...i)=>(Re.NODE_ENV!=="production"&&vt&&!(s===null&&At)&&(s&&(s.root,vt.root)),Wi(e(...i))),s);return n._c=!1,n},Aa=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ki(i))continue;const o=t[i];if(W(o))e[i]=dd(i,o,n);else if(o!=null){const r=Wi(o);e[i]=()=>r}}},Ea=(t,e)=>{const s=Wi(e);t.slots.default=()=>s},Ca=(t,e,s)=>{for(const n in e)(s||!Ki(n))&&(t[n]=e[n])},pd=(t,e,s)=>{const n=t.slots=_a();if(t.vnode.shapeFlag&32){const i=e._;i?(Ca(n,e,s),s&&hr(n,"_",i,!0)):Aa(e,n)}else e&&Ea(t,e)},md=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=ot;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:Ca(i,e,s):(o=!e.$stable,Aa(e,i)),r=e}else e&&(Ea(t,e),r={default:1});if(o)for(const a in i)!Ki(a)&&r[a]==null&&delete i[a]},Dt=_d;function gd(t){return yd(t)}function yd(t,e){const s=vn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:p=Wt,insertStaticContent:b}=t,y=(d,m,v,T=null,_=null,x=null,O=void 0,D=null,M=!!m.dynamicChildren)=>{if(d===m)return;d&&!Ye(d,m)&&(T=Pe(d),$t(d,_,x,!0),d=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:S,ref:U,shapeFlag:L}=m;switch(S){case $n:A(d,m,v,T);break;case xt:w(d,m,v,T);break;case jn:d==null&&E(m,v,T,O);break;case ht:I(d,m,v,T,_,x,O,D,M);break;default:L&1?V(d,m,v,T,_,x,O,D,M):L&6?nt(d,m,v,T,_,x,O,D,M):(L&64||L&128)&&S.process(d,m,v,T,_,x,O,D,M,dn)}U!=null&&_?Is(U,d&&d.ref,x,m||d,!m):U==null&&d&&d.ref!=null&&Is(d.ref,null,x,d,!0)},A=(d,m,v,T)=>{if(d==null)n(m.el=a(m.children),v,T);else{const _=m.el=d.el;m.children!==d.children&&u(_,m.children)}},w=(d,m,v,T)=>{d==null?n(m.el=l(m.children||""),v,T):m.el=d.el},E=(d,m,v,T)=>{[d.el,d.anchor]=b(d.children,m,v,T,d.el,d.anchor)},P=({el:d,anchor:m},v,T)=>{let _;for(;d&&d!==m;)_=h(d),n(d,v,T),d=_;n(m,v,T)},C=({el:d,anchor:m})=>{let v;for(;d&&d!==m;)v=h(d),i(d),d=v;i(m)},V=(d,m,v,T,_,x,O,D,M)=>{if(m.type==="svg"?O="svg":m.type==="math"&&(O="mathml"),d==null)N(m,v,T,_,x,O,D,M);else{const S=d.el&&d.el._isVueCE?d.el:null;try{S&&S._beginPatch(),F(d,m,_,x,O,D,M)}finally{S&&S._endPatch()}}},N=(d,m,v,T,_,x,O,D)=>{let M,S;const{props:U,shapeFlag:L,transition:B,dirs:K}=d;if(M=d.el=r(d.type,x,U&&U.is,U),L&8?c(M,d.children):L&16&&j(d.children,M,null,T,_,Gi(d,x),O,D),K&&ze(d,null,T,"created"),z(M,d,d.scopeId,O,T),U){for(const lt in U)lt!=="value"&&!As(lt)&&o(M,lt,null,U[lt],x,T);"value"in U&&o(M,"value",null,U.value,x),(S=U.onVnodeBeforeMount)&&ne(S,T,d)}K&&ze(d,null,T,"beforeMount");const X=vd(_,B);X&&B.beforeEnter(M),n(M,m,v),((S=U&&U.onVnodeMounted)||X||K)&&Dt(()=>{S&&ne(S,T,d),X&&B.enter(M),K&&ze(d,null,T,"mounted")},_)},z=(d,m,v,T,_)=>{if(v&&p(d,v),T)for(let x=0;x<T.length;x++)p(d,T[x]);if(_){let x=_.subTree;if(m===x||Oa(x.type)&&(x.ssContent===m||x.ssFallback===m)){const O=_.vnode;z(d,O,O.scopeId,O.slotScopeIds,_.parent)}}},j=(d,m,v,T,_,x,O,D,M=0)=>{for(let S=M;S<d.length;S++){const U=d[S]=D?_e(d[S]):se(d[S]);y(null,U,m,v,T,_,x,O,D)}},F=(d,m,v,T,_,x,O)=>{const D=m.el=d.el;let{patchFlag:M,dynamicChildren:S,dirs:U}=m;M|=d.patchFlag&16;const L=d.props||ot,B=m.props||ot;let K;if(v&&qe(v,!1),(K=B.onVnodeBeforeUpdate)&&ne(K,v,m,d),U&&ze(m,d,v,"beforeUpdate"),v&&qe(v,!0),(L.innerHTML&&B.innerHTML==null||L.textContent&&B.textContent==null)&&c(D,""),S?G(d.dynamicChildren,S,D,v,T,Gi(m,_),x):O||q(d,m,D,null,v,T,Gi(m,_),x,!1),M>0){if(M&16)Y(D,L,B,v,_);else if(M&2&&L.class!==B.class&&o(D,"class",null,B.class,_),M&4&&o(D,"style",L.style,B.style,_),M&8){const X=m.dynamicProps;for(let lt=0;lt<X.length;lt++){const it=X[lt],Rt=L[it],Lt=B[it];(Lt!==Rt||it==="value")&&o(D,it,Rt,Lt,_,v)}}M&1&&d.children!==m.children&&c(D,m.children)}else!O&&S==null&&Y(D,L,B,v,_);((K=B.onVnodeUpdated)||U)&&Dt(()=>{K&&ne(K,v,m,d),U&&ze(m,d,v,"updated")},T)},G=(d,m,v,T,_,x,O)=>{for(let D=0;D<m.length;D++){const M=d[D],S=m[D],U=M.el&&(M.type===ht||!Ye(M,S)||M.shapeFlag&198)?f(M.el):v;y(M,S,U,null,T,_,x,O,!0)}},Y=(d,m,v,T,_)=>{if(m!==v){if(m!==ot)for(const x in m)!As(x)&&!(x in v)&&o(d,x,m[x],null,_,T);for(const x in v){if(As(x))continue;const O=v[x],D=m[x];O!==D&&x!=="value"&&o(d,x,D,O,_,T)}"value"in v&&o(d,"value",m.value,v.value,_)}},I=(d,m,v,T,_,x,O,D,M)=>{const S=m.el=d?d.el:a(""),U=m.anchor=d?d.anchor:a("");let{patchFlag:L,dynamicChildren:B,slotScopeIds:K}=m;K&&(D=D?D.concat(K):K),d==null?(n(S,v,T),n(U,v,T),j(m.children||[],v,U,_,x,O,D,M)):L>0&&L&64&&B&&d.dynamicChildren&&d.dynamicChildren.length===B.length?(G(d.dynamicChildren,B,v,_,x,O,D),(m.key!=null||_&&m===_.subTree)&&Pa(d,m,!0)):q(d,m,v,U,_,x,O,D,M)},nt=(d,m,v,T,_,x,O,D,M)=>{m.slotScopeIds=D,d==null?m.shapeFlag&512?_.ctx.activate(m,v,T,O,M):Tt(m,v,T,_,x,O,M):le(d,m,M)},Tt=(d,m,v,T,_,x,O)=>{const D=d.component=Cd(d,T,_);if(Rn(d)&&(D.ctx.renderer=dn),Pd(D,!1,O),D.asyncDep){if(_&&_.registerDep(D,mt,O),!d.el){const M=D.subTree=st(xt);w(null,M,m,v),d.placeholder=M.el}}else mt(D,d,m,v,_,x,O)},le=(d,m,v)=>{const T=m.component=d.component;if(ld(d,m,v))if(T.asyncDep&&!T.asyncResolved){Q(T,m,v);return}else T.next=m,T.update();else m.el=d.el,T.vnode=m},mt=(d,m,v,T,_,x,O)=>{const D=()=>{if(d.isMounted){let{next:L,bu:B,u:K,parent:X,vnode:lt}=d;{const de=Ma(d);if(de){L&&(L.el=lt.el,Q(d,L,O)),de.asyncDep.then(()=>{Dt(()=>{d.isUnmounted||S()},_)});return}}let it=L,Rt;qe(d,!1),L?(L.el=lt.el,Q(d,L,O)):L=lt,B&&hi(B),(Rt=L.props&&L.props.onVnodeBeforeUpdate)&&ne(Rt,X,L,lt),qe(d,!0);const Lt=ga(d),he=d.subTree;d.subTree=Lt,y(he,Lt,f(he.el),Pe(he),d,_,x),L.el=Lt.el,it===null&&cd(d,Lt.el),K&&Dt(K,_),(Rt=L.props&&L.props.onVnodeUpdated)&&Dt(()=>ne(Rt,X,L,lt),_)}else{let L;const{el:B,props:K}=m,{bm:X,m:lt,parent:it,root:Rt,type:Lt}=d,he=ps(m);qe(d,!1),X&&hi(X),!he&&(L=K&&K.onVnodeBeforeMount)&&ne(L,it,m),qe(d,!0);{Rt.ce&&Rt.ce._hasShadowRoot()&&Rt.ce._injectChildStyle(Lt);const de=d.subTree=ga(d);y(null,de,v,T,d,_,x),m.el=de.el}if(lt&&Dt(lt,_),!he&&(L=K&&K.onVnodeMounted)){const de=m;Dt(()=>ne(L,it,de),_)}(m.shapeFlag&256||it&&ps(it.vnode)&&it.vnode.shapeFlag&256)&&d.a&&Dt(d.a,_),d.isMounted=!0,m=v=T=null}};d.scope.on();const M=d.effect=new yr(D);d.scope.off();const S=d.update=M.run.bind(M),U=d.job=M.runIfDirty.bind(M);U.i=d,U.id=d.uid,M.scheduler=()=>Di(U),qe(d,!0),S()},Q=(d,m,v)=>{m.component=d;const T=d.vnode.props;d.vnode=m,d.next=null,fd(d,m.props,T,v),md(d,m.children,v),Jt(),kr(d),Qt()},q=(d,m,v,T,_,x,O,D,M=!1)=>{const S=d&&d.children,U=d?d.shapeFlag:0,L=m.children,{patchFlag:B,shapeFlag:K}=m;if(B>0){if(B&128){is(S,L,v,T,_,x,O,D,M);return}else if(B&256){ce(S,L,v,T,_,x,O,D,M);return}}K&8?(U&16&&fe(S,_,x),L!==S&&c(v,L)):U&16?K&16?is(S,L,v,T,_,x,O,D,M):fe(S,_,x,!0):(U&8&&c(v,""),K&16&&j(L,v,T,_,x,O,D,M))},ce=(d,m,v,T,_,x,O,D,M)=>{d=d||rs,m=m||rs;const S=d.length,U=m.length,L=Math.min(S,U);let B;for(B=0;B<L;B++){const K=m[B]=M?_e(m[B]):se(m[B]);y(d[B],K,v,null,_,x,O,D,M)}S>U?fe(d,_,x,!0,!1,L):j(m,v,T,_,x,O,D,M,L)},is=(d,m,v,T,_,x,O,D,M)=>{let S=0;const U=m.length;let L=d.length-1,B=U-1;for(;S<=L&&S<=B;){const K=d[S],X=m[S]=M?_e(m[S]):se(m[S]);if(Ye(K,X))y(K,X,v,null,_,x,O,D,M);else break;S++}for(;S<=L&&S<=B;){const K=d[L],X=m[B]=M?_e(m[B]):se(m[B]);if(Ye(K,X))y(K,X,v,null,_,x,O,D,M);else break;L--,B--}if(S>L){if(S<=B){const K=B+1,X=K<U?m[K].el:T;for(;S<=B;)y(null,m[S]=M?_e(m[S]):se(m[S]),v,X,_,x,O,D,M),S++}}else if(S>B)for(;S<=L;)$t(d[S],_,x,!0),S++;else{const K=S,X=S,lt=new Map;for(S=X;S<=B;S++){const jt=m[S]=M?_e(m[S]):se(m[S]);jt.key!=null&<.set(jt.key,S)}let it,Rt=0;const Lt=B-X+1;let he=!1,de=0;const pn=new Array(Lt);for(S=0;S<Lt;S++)pn[S]=0;for(S=K;S<=L;S++){const jt=d[S];if(Rt>=Lt){$t(jt,_,x,!0);continue}let pe;if(jt.key!=null)pe=lt.get(jt.key);else for(it=X;it<=B;it++)if(pn[it-X]===0&&Ye(jt,m[it])){pe=it;break}pe===void 0?$t(jt,_,x,!0):(pn[pe-X]=S+1,pe>=de?de=pe:he=!0,y(jt,m[pe],v,null,_,x,O,D,M),Rt++)}const Cf=he?bd(pn):rs;for(it=Cf.length-1,S=Lt-1;S>=0;S--){const jt=X+S,pe=m[jt],Pf=m[jt+1],Mf=jt+1<U?Pf.el||Da(Pf):T;pn[S]===0?y(null,pe,v,Mf,_,x,O,D,M):he&&(it<0||S!==Cf[it]?ue(pe,v,Mf,2):it--)}}},ue=(d,m,v,T,_=null)=>{const{el:x,type:O,transition:D,children:M,shapeFlag:S}=d;if(S&6){ue(d.component.subTree,m,v,T);return}if(S&128){d.suspense.move(m,v,T);return}if(S&64){O.move(d,m,v,dn);return}if(O===ht){n(x,m,v);for(let L=0;L<M.length;L++)ue(M[L],m,v,T);n(d.anchor,m,v);return}if(O===jn){P(d,m,v);return}if(T!==2&&S&1&&D)if(T===0)D.beforeEnter(x),n(x,m,v),Dt(()=>D.enter(x),_);else{const{leave:L,delayLeave:B,afterLeave:K}=D,X=()=>{d.ctx.isUnmounted?i(x):n(x,m,v)},lt=()=>{x._isLeaving&&x[ee](!0),L(x,()=>{X(),K&&K()})};B?B(x,X,lt):lt()}else n(x,m,v)},$t=(d,m,v,T=!1,_=!1)=>{const{type:x,props:O,ref:D,children:M,dynamicChildren:S,shapeFlag:U,patchFlag:L,dirs:B,cacheIndex:K}=d;if(L===-2&&(_=!1),D!=null&&(Jt(),Is(D,null,v,d,!0),Qt()),K!=null&&(m.renderCache[K]=void 0),U&256){m.ctx.deactivate(d);return}const X=U&1&&B,lt=!ps(d);let it;if(lt&&(it=O&&O.onVnodeBeforeUnmount)&&ne(it,m,d),U&6)os(d.component,v,T);else{if(U&128){d.suspense.unmount(v,T);return}X&&ze(d,null,m,"beforeUnmount"),U&64?d.type.remove(d,m,v,dn,T):S&&!S.hasOnce&&(x!==ht||L>0&&L&64)?fe(S,m,v,!1,!0):(x===ht&&L&384||!_&&U&16)&&fe(M,m,v),T&&hn(d)}(lt&&(it=O&&O.onVnodeUnmounted)||X)&&Dt(()=>{it&&ne(it,m,d),X&&ze(d,null,m,"unmounted")},v)},hn=d=>{const{type:m,el:v,anchor:T,transition:_}=d;if(m===ht){ai(v,T);return}if(m===jn){C(d);return}const x=()=>{i(v),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:D}=_,M=()=>O(v,x);D?D(d.el,x,M):M()}else x()},ai=(d,m)=>{let v;for(;d!==m;)v=h(d),i(d),d=v;i(m)},os=(d,m,v)=>{const{bum:T,scope:_,job:x,subTree:O,um:D,m:M,a:S}=d;Va(M),Va(S),T&&hi(T),_.stop(),x&&(x.flags|=8,$t(O,d,m,v)),D&&Dt(D,m),Dt(()=>{d.isUnmounted=!0},m)},fe=(d,m,v,T=!1,_=!1,x=0)=>{for(let O=x;O<d.length;O++)$t(d[O],m,v,T,_)},Pe=d=>{if(d.shapeFlag&6)return Pe(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const m=h(d.anchor||d.el),v=m&&m[Dh];return v?h(v):m};let Me=!1;const ke=(d,m,v)=>{let T;d==null?m._vnode&&($t(m._vnode,null,null,!0),T=m._vnode.component):y(m._vnode||null,d,m,null,null,null,v),m._vnode=d,Me||(Me=!0,kr(T),Nr(),Me=!1)},dn={p:y,um:$t,m:ue,r:hn,mt:Tt,mc:j,pc:q,pbc:G,n:Pe,o:t};return{render:ke,hydrate:void 0,createApp:sd(ke)}}function Gi({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 qe({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function vd(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Pa(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]=_e(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&Pa(r,a)),a.type===$n&&(a.patchFlag===-1&&(a=i[o]=_e(a)),a.el=r.el),a.type===xt&&!a.el&&(a.el=r.el)}}function bd(t){const e=t.slice(),s=[0];let n,i,o,r,a;const l=t.length;for(n=0;n<l;n++){const u=t[n];if(u!==0){if(i=s[s.length-1],t[i]<u){e[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)a=o+r>>1,t[s[a]]<u?o=a+1:r=a;u<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=e[r];return s}function Ma(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ma(e)}function Va(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Da(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Da(e.subTree):null}const Oa=t=>t.__isSuspense;function _d(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):Eh(t)}const ht=Symbol.for("v-fgt"),$n=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Bs=[];let Ft=null;function $(t=!1){Bs.push(Ft=t?null:[])}function xd(){Bs.pop(),Ft=Bs[Bs.length-1]||null}let ks=1;function Bn(t,e=!1){ks+=t,t<0&&Ft&&e&&(Ft.hasOnce=!0)}function Ra(t){return t.dynamicChildren=ks>0?Ft||rs:null,xd(),ks>0&&Ft&&Ft.push(t),t}function k(t,e,s,n,i,o){return Ra(g(t,e,s,n,i,o,!0))}function It(t,e,s,n,i){return Ra(st(t,e,s,n,i,!0))}function Ns(t){return t?t.__v_isVNode===!0:!1}function Ye(t,e){return t.type===e.type&&t.key===e.key}const La=({key:t})=>t??null,kn=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ut(t)||_t(t)||W(t)?{i:At,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===ht?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&La(e),ref:e&&kn(e),scopeId:Hr,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:At};return a?(zi(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ut(s)?8:16),ks>0&&!r&&Ft&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ft.push(l),l}const st=Sd;function Sd(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===oa)&&(t=xt),Ns(t)){const a=be(t,e,!0);return s&&zi(a,s),ks>0&&!o&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(t)]=a:Ft.push(a)),a.patchFlag=-2,a}if(Rd(t)&&(t=t.__vccOpts),e){e=Td(e);let{class:a,style:l}=e;a&&!ut(a)&&(e.class=Et(a)),et(l)&&(Mi(l)&&!H(l)&&(l=gt({},l)),e.style=di(l))}const r=ut(t)?1:Oa(t)?128:Wr(t)?64:et(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function Td(t){return t?Mi(t)||xa(t)?gt({},t):t:null}function be(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Fa(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&La(u),ref:e&&e.ref?s&&o?H(o)?o.concat(kn(e)):[o,kn(e)]:kn(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!==ht?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&&be(t.ssContent),ssFallback:t.ssFallback&&be(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Fs(c,l.clone(c)),c}function Us(t=" ",e=0){return st($n,null,t,e)}function wd(t,e){const s=st(jn,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?($(),It(xt,null,t)):st(xt,null,t)}function se(t){return t==null||typeof t=="boolean"?st(xt):H(t)?st(ht,null,t.slice()):Ns(t)?_e(t):st($n,null,String(t))}function _e(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:be(t)}function zi(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),zi(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!xa(e)?e._ctx=At:i===3&&At&&(At.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:At},s=32):(e=String(e),n&64?(s=16,e=[Us(e)]):s=8);t.children=e,t.shapeFlag|=s}function Fa(...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=Et([e.class,n.class]));else if(i==="style")e.style=di([e.style,n.style]);else if(mn(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 ne(t,e,s,n=null){Yt(t,e,7,[s,n])}const Ad=pa();let Ed=0;function Cd(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||Ad,o={uid:Ed++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hf(!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:Ta(n,i),emitsOptions:ma(n,i),emit:null,emitted:null,propsDefaults:ot,inheritAttrs:n.inheritAttrs,ctx:ot,data:ot,props:ot,attrs:ot,slots:ot,refs:ot,setupState:ot,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=id.bind(null,o),t.ce&&t.ce(o),o}let vt=null;const Nn=()=>vt||At;let Un,qi;{const t=vn(),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)}};Un=e("__VUE_INSTANCE_SETTERS__",s=>vt=s),qi=e("__VUE_SSR_SETTERS__",s=>Ks=s)}const Hs=t=>{const e=vt;return Un(t),t.scope.on(),()=>{t.scope.off(),Un(e)}},Ia=()=>{vt&&vt.scope.off(),Un(null)};function $a(t){return t.vnode.shapeFlag&4}let Ks=!1;function Pd(t,e=!1,s=!1){e&&qi(e);const{props:n,children:i}=t.vnode,o=$a(t);ud(t,n,o,e),pd(t,i,s||e);const r=o?Md(t,e):void 0;return e&&qi(!1),r}function Md(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,zh);const{setup:n}=s;if(n){Jt();const i=t.setupContext=n.length>1?ka(t):null,o=Hs(t),r=fs(n,t,0,[t.props,i]),a=cr(r);if(Qt(),o(),(a||t.sp)&&!ps(t)&&Jr(t),a){if(r.then(Ia,Ia),e)return r.then(l=>{ja(t,l)}).catch(l=>{Cn(l,t,0)});t.asyncDep=r}else ja(t,r)}else Ba(t)}function ja(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:et(e)&&(t.setupState=Ir(e)),Ba(t)}function Ba(t,e,s){const n=t.type;t.render||(t.render=n.render||Wt);{const i=Hs(t);Jt();try{Xh(t)}finally{Qt(),i()}}}const Vd={get(t,e){return wt(t,"get",""),t[e]}};function ka(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Vd),slots:t.slots,emit:t.emit,expose:e}}function Yi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ir(uh(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in $s)return $s[s](t)},has(e,s){return s in e||s in $s}})):t.proxy}const Dd=/(?:^|[-_])\w/g,Od=t=>t.replace(Dd,e=>e.toUpperCase()).replace(/[-_]/g,"");function Na(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function Ua(t,e,s=!1){let n=Na(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?Od(n):s?"App":"Anonymous"}function Rd(t){return W(t)&&"__vccOpts"in t}const bt=(t,e)=>mh(t,e,Ks);function Xi(t,e,s){try{Bn(-1);const n=arguments.length;return n===2?et(e)&&!H(e)?Ns(e)?st(t,null,[e]):st(t,e):st(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ns(s)&&(s=[s]),st(t,e,s))}finally{Bn(1)}}const Ld="3.5.28";let Zi;const Ha=typeof window<"u"&&window.trustedTypes;if(Ha)try{Zi=Ha.createPolicy("vue",{createHTML:t=>t})}catch{}const Ka=Zi?t=>Zi.createHTML(t):t=>t,Fd="http://www.w3.org/2000/svg",Id="http://www.w3.org/1998/Math/MathML",xe=typeof document<"u"?document:null,Wa=xe&&xe.createElement("template"),$d={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"?xe.createElementNS(Fd,t):e==="mathml"?xe.createElementNS(Id,t):s?xe.createElement(t,{is:s}):xe.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>xe.createTextNode(t),createComment:t=>xe.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>xe.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{Wa.innerHTML=Ka(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Wa.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]}},Ie="transition",Ws="animation",Gs=Symbol("_vtc"),Ga={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},jd=gt({},Gr,Ga),Bd=(t=>(t.displayName="Transition",t.props=jd,t))((t,{slots:e})=>Xi(Lh,kd(t),e)),Xe=(t,e=[])=>{H(t)?t.forEach(s=>s(...e)):t&&t(...e)},za=t=>t?H(t)?t.some(e=>e.length>1):t.length>1:!1;function kd(t){const e={};for(const I in t)I in Ga||(e[I]=t[I]);if(t.css===!1)return e;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:h=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,b=Nd(i),y=b&&b[0],A=b&&b[1],{onBeforeEnter:w,onEnter:E,onEnterCancelled:P,onLeave:C,onLeaveCancelled:V,onBeforeAppear:N=w,onAppear:z=E,onAppearCancelled:j=P}=e,F=(I,nt,Tt,le)=>{I._enterCancelled=le,Ze(I,nt?c:a),Ze(I,nt?u:r),Tt&&Tt()},G=(I,nt)=>{I._isLeaving=!1,Ze(I,f),Ze(I,p),Ze(I,h),nt&&nt()},Y=I=>(nt,Tt)=>{const le=I?z:E,mt=()=>F(nt,I,Tt);Xe(le,[nt,mt]),qa(()=>{Ze(nt,I?l:o),Se(nt,I?c:a),za(le)||Ya(nt,n,y,mt)})};return gt(e,{onBeforeEnter(I){Xe(w,[I]),Se(I,o),Se(I,r)},onBeforeAppear(I){Xe(N,[I]),Se(I,l),Se(I,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave(I,nt){I._isLeaving=!0;const Tt=()=>G(I,nt);Se(I,f),I._enterCancelled?(Se(I,h),Ja(I)):(Ja(I),Se(I,h)),qa(()=>{I._isLeaving&&(Ze(I,f),Se(I,p),za(C)||Ya(I,n,A,Tt))}),Xe(C,[I,Tt])},onEnterCancelled(I){F(I,!1,void 0,!0),Xe(P,[I])},onAppearCancelled(I){F(I,!0,void 0,!0),Xe(j,[I])},onLeaveCancelled(I){G(I),Xe(V,[I])}})}function Nd(t){if(t==null)return null;if(et(t))return[Ji(t.enter),Ji(t.leave)];{const e=Ji(t);return[e,e]}}function Ji(t){return Ff(t)}function Se(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Gs]||(t[Gs]=new Set)).add(e)}function Ze(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Gs];s&&(s.delete(e),s.size||(t[Gs]=void 0))}function qa(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ud=0;function Ya(t,e,s,n){const i=t._endId=++Ud,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Hd(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Hd(t,e){const s=window.getComputedStyle(t),n=b=>(s[b]||"").split(", "),i=n(`${Ie}Delay`),o=n(`${Ie}Duration`),r=Xa(i,o),a=n(`${Ws}Delay`),l=n(`${Ws}Duration`),u=Xa(a,l);let c=null,f=0,h=0;e===Ie?r>0&&(c=Ie,f=r,h=o.length):e===Ws?u>0&&(c=Ws,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Ie:Ws:null,h=c?c===Ie?o.length:l.length:0);const p=c===Ie&&/\b(?:transform|all)(?:,|$)/.test(n(`${Ie}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:p}}function Xa(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Za(s)+Za(t[n])))}function Za(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ja(t){return(t?t.ownerDocument:document).body.offsetHeight}function Kd(t,e,s){const n=t[Gs];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Qa=Symbol("_vod"),Wd=Symbol("_vsh"),Gd=Symbol(""),zd=/(?:^|;)\s*display\s*:/;function qd(t,e,s){const n=t.style,i=ut(s);let o=!1;if(s&&!i){if(e)if(ut(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hn(n,a,"")}else for(const r in e)s[r]==null&&Hn(n,r,"");for(const r in s)r==="display"&&(o=!0),Hn(n,r,s[r])}else if(i){if(e!==s){const r=n[Gd];r&&(s+=";"+r),n.cssText=s,o=zd.test(s)}}else e&&t.removeAttribute("style");Qa in t&&(t[Qa]=o?n.display:"",t[Wd]&&(n.display="none"))}const tl=/\s*!important$/;function Hn(t,e,s){if(H(s))s.forEach(n=>Hn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Yd(t,e);tl.test(s)?t.setProperty(He(n),s.replace(tl,""),"important"):t[n]=s}}const el=["Webkit","Moz","ms"],Qi={};function Yd(t,e){const s=Qi[e];if(s)return s;let n=Bt(e);if(n!=="filter"&&n in t)return Qi[e]=n;n=yn(n);for(let i=0;i<el.length;i++){const o=el[i]+n;if(o in t)return Qi[e]=o}return e}const sl="http://www.w3.org/1999/xlink";function nl(t,e,s,n,i,o=kf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(sl,e.slice(6,e.length)):t.setAttributeNS(sl,e,s):s==null||o&&!pr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":Gt(s)?String(s):s)}function il(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ka(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=pr(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 Xd(t,e,s,n){t.addEventListener(e,s,n)}function Zd(t,e,s,n){t.removeEventListener(e,s,n)}const ol=Symbol("_vei");function Jd(t,e,s,n,i=null){const o=t[ol]||(t[ol]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=Qd(e);if(n){const u=o[e]=sp(n,i);Xd(t,a,u,l)}else r&&(Zd(t,a,r,l),o[e]=void 0)}}const rl=/(?:Once|Passive|Capture)$/;function Qd(t){let e;if(rl.test(t)){e={};let n;for(;n=t.match(rl);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):He(t.slice(2)),e]}let to=0;const tp=Promise.resolve(),ep=()=>to||(tp.then(()=>to=0),to=Date.now());function sp(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Yt(np(n,s.value),e,5,[n])};return s.value=t,s.attached=ep(),s}function np(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 al=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ip=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Kd(t,n,r):e==="style"?qd(t,s,n):mn(e)?li(e)||Jd(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):op(t,e,n,r))?(il(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&nl(t,e,n,r,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ut(n))?il(t,Bt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),nl(t,e,n,r))};function op(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&al(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return al(e)&&ut(s)?!1:e in t}const rp=gt({patchProp:ip},$d);let ll;function ap(){return ll||(ll=gd(rp))}const cl=((...t)=>{const e=ap().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=cp(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,lp(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function lp(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function cp(t){return ut(t)?document.querySelector(t):t}const up={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},fp={class:"slds-grid slds-grid_align-spread slds-wrap"},hp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},dp={key:0,class:"slds-text-color_weak"},pp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},mp={class:"slds-text-color_weak"},gp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},yp={class:"slds-text-color_weak"},vp={__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)=>($(),k("footer",up,[g("div",fp,[g("div",hp,[t.description?($(),k("span",dp,Z(t.description),1)):Ut("",!0)]),g("div",pp,[g("span",mp,Z(t.schemaCount)+" schema"+Z(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",gp,[g("span",yp," Generated at: "+Z(e(t.generatedAt)),1)])])]))}},ul="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-62m-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21m434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021M467%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-15m210-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",bp={class:"slds-page-header"},_p={class:"slds-page-header__row"},xp={class:"slds-page-header__col-title"},Sp={class:"slds-media"},Tp={class:"slds-media__body"},wp={class:"slds-page-header__name"},Ap={class:"slds-page-header__name-title"},Ep=["title"],Cp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>($(),k("header",bp,[g("div",_p,[g("div",xp,[g("div",Sp,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:ul,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",Tp,[g("div",wp,[g("div",Ap,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},Z(t.title),9,Ep)])])])])])])]))}},Kn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Pp(t,e){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,f=!1,h=!1)=>{const b=h&&i?s:n;return f&&r.add(c),b.has(c)||b.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 Te={},Mp=40;function fl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=Kn.reduce((P,C)=>(P[C]=Pp(o),P),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:p,postRender:b}=r,y=()=>{const P=Te.useManualTiming?i.timestamp:performance.now();s=!1,Te.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(P-i.timestamp,Mp),1)),i.timestamp=P,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),p.process(i),b.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(y))},A=()=>{s=!0,n=!0,i.isProcessing||t(y)};return{schedule:Kn.reduce((P,C)=>{const V=r[C];return P[C]=(N,z=!1,j=!1)=>(s||A(),V.schedule(N,z,j)),P},{}),cancel:P=>{for(let C=0;C<Kn.length;C++)r[Kn[C]].cancel(P)},state:i,steps:r}}const Ot=t=>t,{schedule:at,cancel:we,state:St,steps:eo}=fl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ot,!0);let Wn;function Vp(){Wn=void 0}const Mt={now:()=>(Wn===void 0&&Mt.set(St.isProcessing||Te.useManualTiming?St.timestamp:performance.now()),Wn),set:t=>{Wn=t,queueMicrotask(Vp)}},Xt=t=>t*1e3,Ht=t=>t/1e3;function Dp(t,e){const s=Mt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(we(n),t(o-e))};return at.setup(n,!0),()=>we(n)}const zs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),$e=zs("deg"),ie=zs("%"),R=zs("px"),Op=zs("vh"),Rp=zs("vw"),hl={...ie,parse:t=>ie.parse(t)/100,transform:t=>ie.transform(t*100)};function dl(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const oe={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(R.test(t))t=parseFloat(t);else return t;const s=dl(t,e.target.x),n=dl(t,e.target.y);return`${s}% ${n}%`}},re=(t,e,s)=>s>e?e:s<t?t:s,gs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qs={...gs,transform:t=>re(0,1,t)},Gn={...gs,default:1},Ys=t=>Math.round(t*1e5)/1e5,so=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Lp(t){return t==null}const Fp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,no=(t,e)=>s=>!!(typeof s=="string"&&Fp.test(s)&&s.startsWith(t)||e&&!Lp(s)&&Object.prototype.hasOwnProperty.call(s,e)),pl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(so);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Ip=t=>re(0,255,t),io={...gs,transform:t=>Math.round(Ip(t))},Je={test:no("rgb","red"),parse:pl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+io.transform(t)+", "+io.transform(e)+", "+io.transform(s)+", "+Ys(qs.transform(n))+")"};function $p(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 oo={test:no("#"),parse:$p,transform:Je.transform},ys={test:no("hsl","hue"),parse:pl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ie.transform(Ys(e))+", "+ie.transform(Ys(s))+", "+Ys(qs.transform(n))+")"},dt={test:t=>Je.test(t)||oo.test(t)||ys.test(t),parse:t=>Je.test(t)?Je.parse(t):ys.test(t)?ys.parse(t):oo.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Je.transform(t):ys.transform(t),getAnimatableNone:t=>{const e=dt.parse(t);return e.alpha=0,dt.transform(e)}},jp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Bp(t){var e,s;return isNaN(t)&&typeof t=="string"&&(((e=t.match(so))==null?void 0:e.length)||0)+(((s=t.match(jp))==null?void 0:s.length)||0)>0}const ml="number",gl="color",kp="var",Np="var(",yl="${}",Up=/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 Xs(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Up,l=>(dt.test(l)?(n.color.push(o),i.push(gl),s.push(dt.parse(l))):l.startsWith(Np)?(n.var.push(o),i.push(kp),s.push(l)):(n.number.push(o),i.push(ml),s.push(parseFloat(l))),++o,yl)).split(yl);return{values:s,split:a,indexes:n,types:i}}function vl(t){return Xs(t).values}function bl(t){const{split:e,types:s}=Xs(t),n=e.length;return i=>{let o="";for(let r=0;r<n;r++)if(o+=e[r],i[r]!==void 0){const a=s[r];a===ml?o+=Ys(i[r]):a===gl?o+=dt.transform(i[r]):o+=i[r]}return o}}const Hp=t=>typeof t=="number"?0:dt.test(t)?dt.getAnimatableNone(t):t;function Kp(t){const e=vl(t);return bl(t)(e.map(Hp))}const je={test:Bp,parse:vl,createTransformer:bl,getAnimatableNone:Kp},ct=(t,e,s)=>t+(e-t)*s,_l={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=je.parse(t);if(i.length>5)return n;const o=je.createTransformer(t),r=typeof i[0]!="number"?1:0,a=s.x.scale*e.x,l=s.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=ct(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},xl=t=>e=>typeof e=="string"&&e.startsWith(t),ro=xl("--"),Wp=xl("var(--"),ao=t=>Wp(t)?Gp.test(t.split("/*")[0].trim()):!1,Gp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Sl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Zs={borderRadius:{...oe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomLeftRadius:oe,borderBottomRightRadius:oe,boxShadow:_l};function Tl(t){for(const e in t)Zs[e]=t[e],ro(e)&&(Zs[e].isCSSVariable=!0)}function Js(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Rs(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Oi(n,r),r)]}const[zp,qp]=Js("Motion"),[Yp]=Js("LayoutGroup");function wl(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}class Ae{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(e){}beforeUnmount(){}}function Qs(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Qs(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 Xp(t,e){return typeof t!=typeof e?!0:Array.isArray(t)&&Array.isArray(e)?!Zp(t,e):t!==e}function Zp(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 Al(t){return t?.startsWith("--")}const Jp=t=>t;function Qp(t){return typeof t=="number"}const tm=["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"],em=new Set(tm);function El(t){return em.has(t)}class sm{constructor(e){this.features=[];const{features:s=[],lazyMotionContext:n}=e.options,i=s.concat(n.features.value);this.features=i.map(r=>new r(e));const o=this.features;Dn(n.features,r=>{r.forEach(a=>{if(!i.includes(a)){i.push(a);const l=new a(e);o.push(l),e.isMounted()&&(l.beforeMount(),l.mount())}})},{flush:"pre"})}mount(){this.features.forEach(e=>e.mount())}beforeMount(){this.features.forEach(e=>{var s;return(s=e.beforeMount)==null?void 0:s.call(e)})}unmount(){this.features.forEach(e=>e.unmount())}update(){this.features.forEach(e=>{var s;return(s=e.update)==null?void 0:s.call(e)})}beforeUpdate(e){this.features.forEach(s=>{var n;return(n=s.beforeUpdate)==null?void 0:n.call(s,e)})}beforeUnmount(){this.features.forEach(e=>e.beforeUnmount())}}function nm(t){return typeof t=="string"||t===!1||Array.isArray(t)}const Cl=new WeakMap;let im=0;class om{constructor(e,s){var n;this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=Ot,this.id=`motion-state-${im++}`,this.options=e,this.parent=s,(n=s?.children)==null||n.add(this);const o=(e.initial===void 0&&e.variants?this.context.initial:e.initial)===!1?["initial","animate"]:["initial"];this.initTarget(o),this.featureManager=new sm(this),this.type=El(this.options.as)?"svg":"html"}get context(){if(!this._context){const e={get:(s,n)=>{var i;return nm(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){var s;const n=this.options.custom??((s=this.options.animatePresenceContext)==null?void 0:s.custom);this.baseTarget=e.reduce((i,o)=>({...i,...Qs(this.options[o]||this.context[o],this.options.variants,n)}),{}),this.target={}}updateOptions(e){var s;this.options=e,(s=this.visualElement)==null||s.update({...this.options,whileTap:this.options.whilePress},null)}beforeMount(){this.featureManager.beforeMount()}mount(e,s,n=!1){var i;this.element=e,this.updateOptions(s),this.featureManager.mount(),!n&&this.options.animate&&((i=this.startAnimation)==null||i.call(this))}clearAnimation(){var e,s;this.currentProcess&&we(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=at.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(){var e,s,n;(s=(e=this.parent)==null?void 0:e.children)==null||s.delete(this),Cl.delete(this.element),this.featureManager.unmount(),(n=this.visualElement)==null||n.unmount(),this.clearAnimation()}beforeUpdate(e){this.featureManager.beforeUpdate(e)}update(e){this.updateOptions(e),this.featureManager.update(),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({isExit:e==="exit"&&this.activeStates.exit}))}isMounted(){return!!this.element}getSnapshot(e,s){}didUpdate(e){}}const Qe=new WeakMap;function Pl(t,e,s){return new CustomEvent(t,{detail:{target:e,isExit:s}})}const Ml={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>`${t}deg`},rm={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>`${t}px`},rotate:Ml,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Jp},skew:Ml},am=["translate","scale","rotate","skew"],lm=["","X","Y","Z"],lo=new Map,zn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];am.forEach(t=>{lm.forEach(e=>{zn.push(t+e),lo.set(t+e,rm[t])})});const cm=new Set(zn),um=t=>cm.has(t),Vl={x:"translateX",y:"translateY",z:"translateZ"};function fm([t],[e]){return zn.indexOf(t)-zn.indexOf(e)}function hm(t,[e,s]){return`${t} ${e}(${s})`}function dm(t){return t.sort(fm).reduce(hm,"").trim()}const Dl={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0},pt=t=>!!(t&&t.getVelocity),pm={get:(t,e)=>{let s=Al(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!s&&s!=="0"){const n=lo.get(e);n&&(s=n.initialValue)}return s},set:(t,e,s)=>{Al(e)?t.style.setProperty(e,s):t.style[e]=s}};function mm(t){var e;const s={},n=[];for(let i in t){let o=t[i];o=pt(o)?o.get():o,um(i)&&i in Vl&&(i=Vl[i]);let r=Array.isArray(o)?o[0]:o;const a=lo.get(i);a?(r=Qp(o)?(e=a.toDefaultUnit)==null?void 0:e.call(a,o):o,n.push([i,r])):s[i]=r}return n.length&&(s.transform=dm(n)),Object.keys(s).length===0?null:s}const gm={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 ym(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function vm(t,e,s=1,n=0){t.pathLength=1,delete t["path-length"],t["stroke-dashoffset"]=R.transform(-n);const i=R.transform(e),o=R.transform(s);t["stroke-dasharray"]=`${i} ${o}`}function bm(t){const e={},s={};for(const n in t){const i=ym(n);if(i in gm){const o=t[n];e[i]=pt(o)?o.get():o}else s[n]=t[n]}return e["path-length"]!==void 0&&vm(e,e["path-length"],e["path-spacing"],e["path-offset"]),{attrs:e,style:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const qn=t=>typeof t<"u";function _m({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function xm(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 Sm(t,e){return _m(xm(t.getBoundingClientRect(),e))}const Ol={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"]},co={};for(const t in Ol)co[t]={isEnabled:e=>Ol[t].some(s=>!!e[s])};const Rl=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:Rl(),y:Rl()}),Ll=()=>({min:0,max:0}),yt=()=>({x:Ll(),y:Ll()}),Tm=typeof window<"u",Yn={current:null},Fl={current:!1};function wm(){if(Fl.current=!0,!!Tm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Yn.current=t.matches;t.addEventListener("change",e),e()}else Yn.current=!1}function Am(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Em(t){return typeof t=="string"||Array.isArray(t)}const Cm=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Il(t){return Am(t.animate)||Cm.some(e=>Em(t[e]))}function Pm(t){return!!(Il(t)||t.variants)}function $l(t,e){return e?`${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${e}`:t}function uo(t,e){t.indexOf(e)===-1&&t.push(e)}function Xn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}class fo{constructor(){this.subscriptions=[]}add(e){return uo(this.subscriptions,e),()=>Xn(this.subscriptions,e)}notify(e,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function jl(t,e){return e?t*(1e3/e):0}const Bl=30,Mm=t=>!isNaN(parseFloat(t));class Vm{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{var i;const o=Mt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Mt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Mm(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 fo);const n=this.events[e].add(s);return e==="change"?()=>{n(),at.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){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Bl)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Bl);return jl(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,s;(e=this.dependents)==null||e.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bs(t,e){return new Vm(t,e)}function Dm(t,e,s){for(const n in e){const i=e[n],o=s[n];if(pt(i))t.addValue(n,i);else if(pt(o))t.addValue(n,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?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function Nl(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}function Om(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ts=t=>t*180/Math.PI,ho=t=>{const e=ts(Math.atan2(t[1],t[0]));return po(e)},Rm={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=>ts(Math.atan(t[1])),skewY:t=>ts(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),Ul=ho,Hl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Kl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Lm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Hl,scaleY:Kl,scale:t=>(Hl(t)+Kl(t))/2,rotateX:t=>po(ts(Math.atan2(t[6],t[5]))),rotateY:t=>po(ts(Math.atan2(-t[2],t[0]))),rotateZ:Ul,rotate:Ul,skewX:t=>ts(Math.atan(t[4])),skewY:t=>ts(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function mo(t){return t.includes("scale")?1:0}function go(t,e){if(!t||t==="none")return mo(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=Lm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Rm,i=a}if(!i)return mo(e);const o=n[e],r=i[1].split(",").map(Im);return typeof o=="function"?o(r):r[o]}const Fm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return go(s,e)};function Im(t){return parseFloat(t.trim())}const _s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xs=new Set(_s),Wl=t=>t===gs||t===R,$m=new Set(["x","y","z"]),jm=_s.filter(t=>!$m.has(t));function Bm(t){const e=[];return jm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Be={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})=>go(e,"x"),y:(t,{transform:e})=>go(e,"y")};Be.translateX=Be.x,Be.translateY=Be.y;const es=new Set;let yo=!1,vo=!1,bo=!1;function Gl(){if(vo){const t=Array.from(es).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Bm(n);i.length&&(s.set(n,i),n.render())}),t.forEach(n=>n.measureInitialState()),e.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{var a;(a=n.getValue(o))==null||a.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}vo=!1,yo=!1,es.forEach(t=>t.complete(bo)),es.clear()}function zl(){es.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(vo=!0)})}function km(){bo=!0,zl(),Gl(),bo=!1}class _o{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(es.add(this),yo||(yo=!0,at.read(zl),at.resolveKeyframes(Gl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}Om(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),es.delete(this)}cancel(){this.state==="scheduled"&&(es.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ql=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Yl=t=>/^0[^.\s]+$/u.test(t),Nm={test:t=>t==="auto",parse:t=>t},Xl=t=>e=>e.test(t),Zl=[gs,R,ie,$e,Rp,Op,Nm],Jl=t=>Zl.find(Xl(t)),Um=[...Zl,dt,je],Hm=t=>Um.find(Xl(t)),Km=new Set(["brightness","contrast","saturate","opacity"]);function Wm(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(so)||[];if(!n)return t;const i=s.replace(n,"");let o=Km.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const Gm=/\b([a-z-]*)\(.*?\)/gu,xo={...je,getAnimatableNone:t=>{const e=t.match(Gm);return e?e.map(Wm).join(" "):t}},Ql={...gs,transform:Math.round},So={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,backgroundPositionX:R,backgroundPositionY:R,...{rotate:$e,rotateX:$e,rotateY:$e,rotateZ:$e,scale:Gn,scaleX:Gn,scaleY:Gn,scaleZ:Gn,skew:$e,skewX:$e,skewY:$e,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:qs,originX:hl,originY:hl,originZ:R},zIndex:Ql,fillOpacity:qs,strokeOpacity:qs,numOctaves:Ql},zm={...So,color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:xo,WebkitFilter:xo},tc=t=>zm[t];function ec(t,e){let s=tc(t);return s!==xo&&(s=je),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const{schedule:sc}=fl(queueMicrotask,!0),nc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ic{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=_o,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Mt.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,at.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=s.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Il(s),this.isVariantNode=Pm(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(s,{},this);for(const h in f){const p=f[h];l[h]!==void 0&&pt(p)&&p.set(l[h])}}mount(e){var s;this.current=e,Qe.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((n,i)=>this.bindToMotionValue(i,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Fl.current||wm(),this.shouldReduceMotion=Yn.current),(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;this.projection&&this.projection.unmount(),we(this.notifyUpdate),we(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const n=this.features[s];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,s){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=xs.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&at.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),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 co){const s=co[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):yt()}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<nc.length;n++){const i=nc[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=Dm(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=bs(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(ql(n)||Yl(n))?n=parseFloat(n):!Hm(n)&&je.test(s)&&(n=ec(e,s)),this.setBaseTarget(e,pt(n)?n.get():n)),pt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){var s;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const r=Nl(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);r&&(i=r[e])}if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!pt(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new fo),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){sc.render(this.render)}}const oc=new Set(["width","height","top","left","right","bottom",..._s]);var qm={NODE_ENV:"production"},rc;let tn=()=>{},Ee=()=>{};typeof process<"u"&&((rc=qm)==null?void 0:rc.NODE_ENV)!=="production"&&(tn=(t,e,s)=>{!t&&typeof console<"u"&&console.warn($l(e,s))},Ee=(t,e,s)=>{if(!t)throw new Error($l(e,s))});const Ym=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Xm(t){const e=Ym.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}const Zm=4;function ac(t,e,s=1){Ee(s<=Zm,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[n,i]=Xm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return ql(r)?parseFloat(r):r}return ao(i)?ac(i,e,s+1):i}function Jm(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Yl(t):!0}const Qm=new Set(["auto","none","0"]);function tg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!Qm.has(o)&&Xs(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=ec(s,i)}class eg extends _o{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 c=0;c<e.length;c++){let f=e[c];if(typeof f=="string"&&(f=f.trim(),ao(f))){const h=ac(f,s.current);h!==void 0&&(e[c]=h),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!oc.has(n)||e.length!==2)return;const[i,o]=e,r=Jl(i),a=Jl(o),l=Sl(i),u=Sl(o);if(l!==u&&Be[n]){this.needsMeasurement=!0;return}if(r!==a)if(Wl(r)&&Wl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else Be[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||Jm(e[i]))&&n.push(i);n.length&&tg(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=Be[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]=Be[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(e=this.removedTransforms)!=null&&e.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}class lc extends ic{constructor(){super(...arguments),this.KeyframeResolver=eg}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){return e.style?e.style[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;pt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}const cc=(t,e)=>e&&typeof t=="number"?e.transform(t):t,sg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ng=_s.length;function ig(t,e,s){let n="",i=!0;for(let o=0;o<ng;o++){const r=_s[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=cc(a,So[r]);if(!l){i=!1;const c=sg[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function uc(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(xs.has(l)){r=!0;continue}else if(ro(l)){i[l]=u;continue}else{const c=cc(u,So[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=ig(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 fc(t,{style:e,vars:s},n,i){const o=t.style;let r;for(r in e)o[r]=e[r];i?.applyProjectionStyles(o,n);for(r in s)o.setProperty(r,s[r])}function og(t,{layout:e,layoutId:s}){return xs.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Zs[t]||t==="opacity")}function hc(t,e,s){var n;const{style:i}=t,o={};for(const r in i)(pt(i[r])||e.style&&pt(e.style[r])||og(r,t)||((n=s?.getValue(r))==null?void 0:n.liveStyle)!==void 0)&&(o[r]=i[r]);return o}function rg(t){return window.getComputedStyle(t)}class dc extends lc{constructor(){super(...arguments),this.type="html",this.renderInstance=fc}readValueFromInstance(e,s){var n;if(xs.has(s))return(n=this.projection)!=null&&n.isProjecting?mo(s):Fm(e,s);{const i=rg(e),o=(ro(s)?i.getPropertyValue(s):i[s])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Sm(e,s)}build(e,s,n){uc(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return hc(e,s,n)}}const To=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ag={offset:"stroke-dashoffset",array:"stroke-dasharray"},lg={offset:"strokeDashoffset",array:"strokeDasharray"};function cg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?ag:lg;t[o.offset]=R.transform(-n);const r=R.transform(e),a=R.transform(s);t[o.array]=`${r} ${a}`}const ug=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function fg(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(uc(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h}=t;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox);for(const p of ug)f[p]!==void 0&&(h[p]=f[p],delete f[p]);e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&cg(f,i,o,r,!1)}const pc=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"]),hg=t=>typeof t=="string"&&t.toLowerCase()==="svg";function dg(t,e,s,n){fc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(pc.has(i)?i:To(i),e.attrs[i])}function pg(t,e,s){const n=hc(t,e,s);for(const i in t)if(pt(t[i])||pt(e[i])){const o=_s.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class mc extends lc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=yt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(xs.has(s)){const n=tc(s);return n&&n.default||0}return s=pc.has(s)?s:To(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return pg(e,s,n)}build(e,s,n){fg(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){dg(e,s,n,i)}mount(e){this.isSVGTag=hg(e.tagName),super.mount(e)}}function mg(t,e){return El(t)?new mc(e):new dc(e)}function gg(t,e,s,n=0,i=1){const o=Array.from(t),r=o.indexOf(e),a=t.size,l=(a-1)*n,u=typeof s=="function";return r===o.length-1&&(e.parent.enteringChildren=void 0),u?s(r,a):i===1?r*n:l-r*n}function wo(t){return typeof t=="object"&&!Array.isArray(t)}function Ao(t,e,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=s?.[t]??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}function gc(t,e,s,n){return typeof t=="string"&&wo(e)?Ao(t,s,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function yg(t,e,s){return t*(e+1)}function yc(t,e,s,n){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?s:e.startsWith("<")?Math.max(0,s+parseFloat(e.slice(1))):n.get(e)??t}const vg=(t,e,s)=>{const n=e-t;return((s-t)%n+n)%n+t},vc=t=>Array.isArray(t)&&typeof t[0]!="number";function bc(t,e){return vc(t)?t[vg(0,t.length,e)]:t}function bg(t,e,s){for(let n=0;n<t.length;n++){const i=t[n];i.at>e&&i.at<s&&(Xn(t,i),n--)}}function _g(t,e,s,n,i,o){bg(t,i,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:ct(i,o,n[r]),easing:bc(s,r)})}function xg(t,e){for(let s=0;s<t.length;s++)t[s]=t[s]/(e+1)}function Sg(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const Ss=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};function _c(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ss(0,e,n);t.push(ct(s,1,i))}}function xc(t){const e=[0];return _c(e,t.length-1),e}const Zn=2e4;function Eo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Zn;)e+=s,n=t.next(e);return e>=Zn?1/0:e}function Sc(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(Eo(n),Zn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:Ht(i)}}function Co(t){return typeof t=="function"&&"applyToOptions"in t}const Tg="easeInOut",wg=20;function Ag(t,{defaultTransition:e={},...s}={},n,i){const o=e.duration||.3,r=new Map,a=new Map,l={},u=new Map;let c=0,f=0,h=0;for(let p=0;p<t.length;p++){const b=t[p];if(typeof b=="string"){u.set(b,f);continue}else if(!Array.isArray(b)){u.set(b.name,yc(f,b.at,c,u));continue}let[y,A,w={}]=b;w.at!==void 0&&(f=yc(f,w.at,c,u));let E=0;const P=(C,V,N,z=0,j=0)=>{const F=Eg(C),{delay:G=0,times:Y=xc(F),type:I="keyframes",repeat:nt,repeatType:Tt,repeatDelay:le=0,...mt}=V;let{ease:Q=e.ease||"easeOut",duration:q}=V;const ce=typeof G=="function"?G(z,j):G,is=F.length,ue=Co(I)?I:i?.[I||"keyframes"];if(is<=2&&ue){let os=100;if(is===2&&Mg(F)){const Me=F[1]-F[0];os=Math.abs(Me)}const fe={...mt};q!==void 0&&(fe.duration=Xt(q));const Pe=Sc(fe,os,ue);Q=Pe.ease,q=Pe.duration}q??(q=o);const $t=f+ce;Y.length===1&&Y[0]===0&&(Y[1]=1);const hn=Y.length-F.length;if(hn>0&&_c(Y,hn),F.length===1&&F.unshift(null),nt){Ee(nt<wg,"Repeat count too high, must be less than 20","repeat-count-high"),q=yg(q,nt);const os=[...F],fe=[...Y];Q=Array.isArray(Q)?[...Q]:[Q];const Pe=[...Q];for(let Me=0;Me<nt;Me++){F.push(...os);for(let ke=0;ke<os.length;ke++)Y.push(fe[ke]+(Me+1)),Q.push(ke===0?"linear":bc(Pe,ke-1))}xg(Y,nt)}const ai=$t+q;_g(N,F,Q,Y,$t,ai),E=Math.max(ce+q,E),h=Math.max(ai,h)};if(pt(y)){const C=Tc(y,a);P(A,w,wc("default",C))}else{const C=gc(y,A,n,l),V=C.length;for(let N=0;N<V;N++){A=A,w=w;const z=C[N],j=Tc(z,a);for(const F in A)P(A[F],Cg(w,F),wc(F,j),N,V)}}c=f,f+=E}return a.forEach((p,b)=>{for(const y in p){const A=p[y];A.sort(Sg);const w=[],E=[],P=[];for(let V=0;V<A.length;V++){const{at:N,value:z,easing:j}=A[V];w.push(z),E.push(Ss(0,h,N)),P.push(j||"easeOut")}E[0]!==0&&(E.unshift(0),w.unshift(w[0]),P.unshift(Tg)),E[E.length-1]!==1&&(E.push(1),w.push(null)),r.has(b)||r.set(b,{keyframes:{},transition:{}});const C=r.get(b);C.keyframes[y]=w,C.transition[y]={...e,duration:h,ease:P,times:E,...s}}}),r}function Tc(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function wc(t,e){return e[t]||(e[t]=[]),e[t]}function Eg(t){return Array.isArray(t)?t:[t]}function Cg(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const Pg=t=>typeof t=="number",Mg=t=>t.every(Pg),Vg=t=>Array.isArray(t);function Dg(t,e,s){const n=t.getProps();return Nl(n,e,n.custom,t)}function Og(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,bs(s))}function Rg(t){return Vg(t)?t[t.length-1]||0:t}function Lg(t,e){const s=Dg(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Rg(o[r]);Og(t,r,a)}}function Fg(t){return!!(pt(t)&&t.add)}function Ig(t,e){const s=t.getValue("willChange");if(Fg(s))return s.add(e);if(!s&&Te.WillChange){const n=new Te.WillChange("auto");t.addValue("willChange",n),n.add(e)}}const $g="data-"+To("framerAppearId");function Ac(t){return t.props[$g]}const jg=t=>t!==null;function Bg(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(jg),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}const kg={type:"spring",stiffness:500,damping:25,restSpeed:10},Ng=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ug={type:"keyframes",duration:.8},Hg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Kg=(t,{keyframes:e})=>e.length>2?Ug:xs.has(t)?t.startsWith("scale")?Ng(e[1]):kg:Hg;function Wg({when:t,delay:e,delayChildren:s,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Po(t,e){return t?.[e]??t?.default??t}function Mo(t){t.duration=0,t.type="keyframes"}function Vo(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 Gg({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=Vo(l,a,t+1/3),o=Vo(l,a,t),r=Vo(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Jn(t,e){return s=>s>0?e:t}const Do=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},zg=[oo,Je,ys],qg=t=>zg.find(e=>e.test(t));function Ec(t){const e=qg(t);if(tn(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let s=e.parse(t);return e===ys&&(s=Gg(s)),s}const Cc=(t,e)=>{const s=Ec(t),n=Ec(e);if(!s||!n)return Jn(t,e);const i={...s};return o=>(i.red=Do(s.red,n.red,o),i.green=Do(s.green,n.green,o),i.blue=Do(s.blue,n.blue,o),i.alpha=ct(s.alpha,n.alpha,o),Je.transform(i))},Oo=new Set(["none","hidden"]);function Yg(t,e){return Oo.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}const Xg=(t,e)=>s=>e(t(s)),en=(...t)=>t.reduce(Xg);function Zg(t,e){return s=>ct(t,e,s)}function Ro(t){return typeof t=="number"?Zg:typeof t=="string"?ao(t)?Jn:dt.test(t)?Cc:ty:Array.isArray(t)?Pc:typeof t=="object"?dt.test(t)?Cc:Jg:Jn}function Pc(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>Ro(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Jg(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=Ro(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Qg(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const ty=(t,e)=>{const s=je.createTransformer(e),n=Xs(t),i=Xs(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?Oo.has(t)&&!i.values.length||Oo.has(e)&&!n.values.length?Yg(t,e):en(Pc(Qg(n,i),i.values),s):(tn(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Jn(t,e))};function Mc(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ct(t,e,s):Ro(t)(t,e)}const ey=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>at.update(e,s),stop:()=>we(e),now:()=>St.isProcessing?St.timestamp:Mt.now()}},Vc=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},sy=5;function Dc(t,e,s){const n=Math.max(e-sy,0);return jl(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},Lo=.001;function ny({duration:t=ft.duration,bounce:e=ft.bounce,velocity:s=ft.velocity,mass:n=ft.mass}){let i,o;tn(t<=Xt(ft.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let r=1-e;r=re(ft.minDamping,ft.maxDamping,r),t=re(ft.minDuration,ft.maxDuration,Ht(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,p=Fo(u,r),b=Math.exp(-f);return Lo-h/p*b},o=u=>{const f=u*r*t,h=f*s+s,p=Math.pow(r,2)*Math.pow(u,2)*t,b=Math.exp(-f),y=Fo(Math.pow(u,2),r);return(-i(u)+Lo>0?-1:1)*((h-p)*b)/y}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-Lo+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=oy(i,o,a);if(t=Xt(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 iy=12;function oy(t,e,s){let n=s;for(let i=1;i<iy;i++)n=n-t(n)/e(n);return n}function Fo(t,e){return t*Math.sqrt(1-e*e)}const ry=["duration","bounce"],ay=["stiffness","damping","mass"];function Oc(t,e){return e.some(s=>t[s]!==void 0)}function ly(t){let e={velocity:ft.velocity,stiffness:ft.stiffness,damping:ft.damping,mass:ft.mass,isResolvedFromDuration:!1,...t};if(!Oc(t,ay)&&Oc(t,ry))if(t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*re(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ft.mass,stiffness:i,damping:o}}else{const s=ny(t);e={...e,...s,mass:ft.mass},e.isResolvedFromDuration=!0}return e}function sn(t=ft.visualDuration,e=ft.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:h,isResolvedFromDuration:p}=ly({...s,velocity:-Ht(s.velocity||0)}),b=h||0,y=u/(2*Math.sqrt(l*c)),A=r-o,w=Ht(Math.sqrt(l/c)),E=Math.abs(A)<5;n||(n=E?ft.restSpeed.granular:ft.restSpeed.default),i||(i=E?ft.restDelta.granular:ft.restDelta.default);let P;if(y<1){const V=Fo(w,y);P=N=>{const z=Math.exp(-y*w*N);return r-z*((b+y*w*A)/V*Math.sin(V*N)+A*Math.cos(V*N))}}else if(y===1)P=V=>r-Math.exp(-w*V)*(A+(b+w*A)*V);else{const V=w*Math.sqrt(y*y-1);P=N=>{const z=Math.exp(-y*w*N),j=Math.min(V*N,300);return r-z*((b+y*w*A)*Math.sinh(j)+V*A*Math.cosh(j))/V}}const C={calculatedDuration:p&&f||null,next:V=>{const N=P(V);if(p)a.done=V>=f;else{let z=V===0?b:0;y<1&&(z=V===0?Xt(b):Dc(P,V,N));const j=Math.abs(z)<=n,F=Math.abs(r-N)<=i;a.done=j&&F}return a.value=a.done?r:N,a},toString:()=>{const V=Math.min(Eo(C),Zn),N=Vc(z=>C.next(V*z).value,V,30);return V+"ms "+N},toTransition:()=>{}};return C}sn.applyToOptions=t=>{const e=Sc(t,100,sn);return t.ease=e.ease,t.duration=Xt(e.duration),t.type="keyframes",t};function Io({keyframes:t,velocity:e=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=t[0],h={done:!1,value:f},p=j=>a!==void 0&&j<a||l!==void 0&&j>l,b=j=>a===void 0?l:l===void 0||Math.abs(a-j)<Math.abs(l-j)?a:l;let y=s*e;const A=f+y,w=r===void 0?A:r(A);w!==A&&(y=w-f);const E=j=>-y*Math.exp(-j/n),P=j=>w+E(j),C=j=>{const F=E(j),G=P(j);h.done=Math.abs(F)<=u,h.value=h.done?w:G};let V,N;const z=j=>{p(h.value)&&(V=j,N=sn({keyframes:[h.value,b(h.value)],velocity:Dc(P,j,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:j=>{let F=!1;return!N&&V===void 0&&(F=!0,C(j),z(j)),V!==void 0&&j>=V?N.next(j-V):(!F&&C(j),h)}}}function cy(t,e,s){const n=[],i=s||Te.mix||Mc,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]||Ot:e;a=en(l,a)}n.push(a)}return n}function uy(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(Ee(o===e.length,"Both input and output ranges must be the same length","range-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=cy(e,n,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const h=Ss(t[f],t[f+1],c);return a[f](h)};return s?c=>u(re(t[0],t[o-1],c)):u}function fy(t,e){return t.map(s=>s*e)}const Rc=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,hy=1e-7,dy=12;function py(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=Rc(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>hy&&++a<dy);return r}function nn(t,e,s,n){if(t===e&&s===n)return Ot;const i=o=>py(o,0,1,t,s);return o=>o===0||o===1?o:Rc(i(o),e,n)}const my=nn(.42,0,1,1),gy=nn(0,0,.58,1),Lc=nn(.42,0,.58,1),Fc=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ic=t=>e=>1-t(1-e),$c=nn(.33,1.53,.69,.99),$o=Ic($c),jc=Fc($o),Bc=t=>(t*=2)<1?.5*$o(t):.5*(2-Math.pow(2,-10*(t-1))),jo=t=>1-Math.sin(Math.acos(t)),kc=Ic(jo),Nc=Fc(jo),Uc=t=>Array.isArray(t)&&typeof t[0]=="number",Hc={linear:Ot,easeIn:my,easeInOut:Lc,easeOut:gy,circIn:jo,circInOut:Nc,circOut:kc,backIn:$o,backInOut:jc,backOut:$c,anticipate:Bc},yy=t=>typeof t=="string",Kc=t=>{if(Uc(t)){Ee(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,s,n,i]=t;return nn(e,s,n,i)}else if(yy(t))return Ee(Hc[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),Hc[t];return t};function vy(t,e){return t.map(()=>e||Lc).splice(0,t.length-1)}function on({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=vc(n)?n.map(Kc):Kc(n),o={done:!1,value:e[0]},r=fy(s&&s.length===e.length?s:xc(e),t),a=uy(r,e,{ease:Array.isArray(i)?i:vy(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const by=t=>t!==null;function Bo(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(by),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const _y={decay:Io,inertia:Io,tween:on,keyframes:on,spring:sn};function Wc(t){typeof t.type=="string"&&(t.type=_y[t.type])}class ko{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const xy=t=>t/100;class No extends ko{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,n;const{motionValue:i}=this.options;i&&i.updatedAt!==Mt.now()&&this.tick(Mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(n=(s=this.options).onStop)==null||n.call(s))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Wc(e);const{type:s=on,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||on;l!==on&&typeof a[0]!="number"&&(this.mixKeyframes=en(xy,Mc(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=Eo(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:p,type:b,onUpdate:y,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const w=this.currentTime-u*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?w<0:w>i;this.currentTime=Math.max(w,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let P=this.currentTime,C=n;if(f){const j=Math.min(this.currentTime,i)/a;let F=Math.floor(j),G=j%1;!G&&j>=1&&(G=1),G===1&&F--,F=Math.min(F,f+1),F%2&&(h==="reverse"?(G=1-G,p&&(G-=p/a)):h==="mirror"&&(C=r)),P=re(0,1,G)*a}const V=E?{done:!1,value:c[0]}:C.next(P);o&&(V.value=o(V.value));let{done:N}=V;!E&&l!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return z&&b!==Io&&(V.value=Bo(c,this.options,A,this.speed)),y&&y(V.value),z&&this.finish(),V}then(e,s){return this.finished.then(e,s)}get duration(){return Ht(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Ht(e)}get time(){return Ht(this.currentTime)}set time(e){var s;e=Xt(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(s=this.driver)==null||s.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Mt.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=Ht(this.currentTime))}play(){var e,s;if(this.isStopped)return;const{driver:n=ey,startTime:i}=this.options;this.driver||(this.driver=n(r=>this.tick(r))),(s=(e=this.options).onPlay)==null||s.call(e);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Mt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(e=this.options).onComplete)==null||s.call(e)}cancel(){var e,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(e=this.options).onCancel)==null||s.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),e.observe(this)}}const Sy=t=>t.startsWith("--");function Ty(t,e,s){Sy(e)?t.style.setProperty(e,s):t.style[e]=s}function Uo(t){let e;return()=>(e===void 0&&(e=t()),e)}const wy=Uo(()=>window.ScrollTimeline!==void 0),Ay={};function Ey(t,e){const s=Uo(t);return()=>Ay[e]??s()}const Gc=Ey(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),rn=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,zc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rn([0,.65,.55,1]),circOut:rn([.55,0,1,.45]),backIn:rn([.31,.01,.66,-.59]),backOut:rn([.33,1.53,.69,.99])};function qc(t,e){if(t)return typeof t=="function"?Gc()?Vc(t,e):"ease-out":Uc(t)?rn(t):Array.isArray(t)?t.map(s=>qc(s,e)||zc.easeOut):zc[t]}function Cy(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=qc(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),t.animate(c,h)}function Py({type:t,...e}){return Co(t)&&Gc()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class My extends ko{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,Ee(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=Py(e);this.animation=Cy(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Bo(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Ty(s,n,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,s;(s=(e=this.animation).finish)==null||s.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,s;this.isPseudoElement||(s=(e=this.animation).commitStyles)==null||s.call(e)}get duration(){var e,s;const n=((s=(e=this.animation.effect)==null?void 0:e.getComputedTiming)==null?void 0:s.call(e).duration)||0;return Ht(Number(n))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Ht(e)}get time(){return Ht(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Xt(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&wy()?(this.animation.timeline=e,Ot):s(this)}}const Yc={anticipate:Bc,backInOut:jc,circInOut:Nc};function Vy(t){return t in Yc}function Dy(t){typeof t.ease=="string"&&Vy(t.ease)&&(t.ease=Yc[t.ease])}const Ho=10;class Oy extends My{constructor(e){Dy(e),Wc(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new No({...r,autoplay:!1}),l=Math.max(Ho,Mt.now()-this.startTime),u=re(0,Ho,l-Ho);s.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Xc=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(je.test(t)||t==="0")&&!t.startsWith("url("));function Ry(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 Ly(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=Xc(i,e),a=Xc(o,e);return tn(r===a,`You are trying to animate ${e} from "${i}" to "${o}". "${r?o:i}" is not an animatable value.`,"value-not-animatable"),!r||!a?!1:Ry(t)||(s==="spring"||Co(s))&&n}const Fy=new Set(["opacity","clipPath","filter","transform"]),Iy=Uo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function $y(t){var e;const{motionValue:s,name:n,repeatDelay:i,repeatType:o,damping:r,type:a}=t;if(!(((e=s?.owner)==null?void 0:e.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=s.owner.getProps();return Iy()&&n&&Fy.has(n)&&(n!=="transform"||!c)&&!u&&!i&&o!=="mirror"&&r!==0&&a!=="inertia"}const jy=40;class By extends ko{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var h;super(),this.stop=()=>{var y,A;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Mt.now();const p={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},b=c?.KeyframeResolver||_o;this.keyframeResolver=new b(a,(y,A,w)=>this.onKeyframesResolved(y,A,p,!w),l,u,c),(h=this.keyframeResolver)==null||h.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Mt.now(),Ly(e,o,r,a)||((Te.instantAnimations||!l)&&c?.(Bo(e,n,s)),e[0]=e[e.length-1],Mo(n),n.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>jy?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},p=!u&&$y(h)?new Oy({...h,element:h.motionValue.owner.current}):new No(h);p.finished.then(()=>this.notifyFinished()).catch(Ot),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),km()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const Ko=(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-Xt(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Wg(a)||Object.assign(c,Kg(t,c)),c.duration&&(c.duration=Xt(c.duration)),c.repeatDelay&&(c.repeatDelay=Xt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Mo(c),c.delay===0&&(f=!0)),(Te.instantAnimations||Te.skipAnimations)&&(f=!0,Mo(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=Bg(c.keyframes,a);if(h!==void 0){at.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new No(c):new By(c)};function ky({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function Ny(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:r,...a}=e;n&&(o=n);const l=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const c in a){const f=t.getValue(c,t.latestValues[c]??null),h=a[c];if(h===void 0||u&&ky(u,c))continue;const p={delay:s,...Po(o||{},c)},b=f.get();if(b!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===b&&!p.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const w=Ac(t);if(w){const E=window.MotionHandoffAnimation(w,c,at);E!==null&&(p.startTime=E,y=!0)}}Ig(t,c),f.start(Ko(c,f,h,t.shouldReduceMotion&&oc.has(c)?{type:!1}:p,t,y));const A=f.animation;A&&l.push(A)}return r&&Promise.all(l).then(()=>{at.update(()=>{r&&Lg(t,r)})}),l}function Uy(t,e){return t in e}class Hy extends ic{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,s){if(Uy(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 yt()}build(e,s){Object.assign(e.output,s)}renderInstance(e,{output:s}){Object.assign(e,s)}sortInstanceNodePosition(){return 0}}function Zc(t){return typeof t=="object"&&t!==null}function Wo(t){return Zc(t)&&"ownerSVGElement"in t}function Jc(t){return Wo(t)&&t.tagName==="svg"}function Ky(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Wo(t)&&!Jc(t)?new mc(e):new dc(e);s.mount(t),Qe.set(t,s)}function Wy(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new Hy(e);s.mount(t),Qe.set(t,s)}function Qc(t,e,s){const n=pt(t)?t:bs(t);return n.start(Ko("",n,e,s)),n.animation}function Gy(t,e){return pt(t)||typeof t=="number"||typeof t=="string"&&!wo(e)}function tu(t,e,s,n){const i=[];if(Gy(t,e))i.push(Qc(t,wo(e)&&e.default||e,s&&(s.default||s)));else{const o=gc(t,e,n),r=o.length;Ee(!!r,"No valid elements provided.","no-valid-elements");for(let a=0;a<r;a++){const l=o[a];Ee(l!==null,"You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.","animate-null");const u=l instanceof Element?Ky:Wy;Qe.has(l)||u(l);const c=Qe.get(l),f={...s};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,r)),i.push(...Ny(c,{...e,transition:f},{}))}}return i}function zy(t,e,s){const n=[];return Ag(t,e,s,{spring:sn}).forEach(({keyframes:o,transition:r},a)=>{n.push(...tu(a,o,r))}),n}class qy{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,s){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=s}attachTimeline(e){const s=this.animations.map(n=>n.attachTimeline(e));return()=>{s.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return eu(this.animations,"duration")}get iterationDuration(){return eu(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(s=>s[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function eu(t,e){let s=0;for(let n=0;n<t.length;n++){const i=t[n][e];i!==null&&i>s&&(s=i)}return s}class Yy extends qy{then(e,s){return this.finished.finally(e).then(()=>{})}}function Xy(t){return Array.isArray(t)&&t.some(Array.isArray)}function Zy(t){function e(s,n,i){let o=[],r;if(Xy(s))o=zy(s,n,t);else{const{onComplete:l,...u}=i||{};typeof l=="function"&&(r=l),o=tu(s,n,u,t)}const a=new Yy(o);return r&&a.finished.then(r),a}return e}const Jy=Zy(),Qy=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class tv extends Ae{constructor(e){var s,n;super(e),this.animateUpdates=({controlActiveState:i,directAnimate:o,directTransition:r,controlDelay:a=0,isExit:l}={})=>{const{reducedMotion:u}=this.state.options.motionConfig;this.state.visualElement.shouldReduceMotion=u==="always"||u==="user"&&!!Yn.current;const c=this.state.target;this.state.target={...this.state.baseTarget};let f={};f=this.resolveStateAnimation({controlActiveState:i,directAnimate:o,directTransition:r}),this.state.finalTransition=f;const h=this.createAnimationFactories(c,f,a),{getChildAnimations:p}=this.setupChildAnimations(f,this.state.activeStates);return this.executeAnimations({factories:h,getChildAnimations:p,transition:f,controlActiveState:i,isExit:l})},this.state.visualElement=mg(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.reducedMotion}),(n=this.state.visualElement.parent)==null||n.addChild(this.state.visualElement),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){const{animate:e}=this.state.options;wl(e)&&(this.unmountControls=e.subscribe(this.state))}executeAnimations({factories:e,getChildAnimations:s,transition:n,controlActiveState:i,isExit:o=!1}){const r=()=>Promise.all(e.map(f=>f()).filter(Boolean)),a={...this.state.target},l=this.state.element,u=f=>{var h,p;o&&(this.state.isExiting=!0),l.dispatchEvent(Pl("motionstart",a)),(p=(h=this.state.options).onAnimationStart)==null||p.call(h,a),f.then(()=>{var b,y,A,w;if(o){this.state.isExiting=!1;const E=this.state.options.animatePresenceContext;if(E?.onMotionExitComplete&&this.state.presenceContainer){const P=this.state,C=P.visualElement.projection;(b=P.options)!=null&&b.layoutId&&((y=C.currentAnimation)==null?void 0:y.state)==="running"&&!P.options.exit||E.onMotionExitComplete(P.presenceContainer,P)}}l.dispatchEvent(Pl("motioncomplete",a,o)),(w=(A=this.state.options).onAnimationComplete)==null||w.call(A,a)}).catch(Ot)},c=()=>{const f=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){var n;const i=this.state.visualElement;if(!((n=i.variantChildren)!=null&&n.size)||!s)return{getChildAnimations:()=>Promise.resolve()};const{staggerChildren:o=0,staggerDirection:r=1,delayChildren:a=0}=e||{},l=i.variantChildren.size,u=(l-1)*o,c=typeof a=="function",f=c?p=>a(p,l):r===1?(p=0)=>p*o:(p=0)=>u-p*o,h=Array.from(i.variantChildren).map((p,b)=>p.state.animateUpdates({controlActiveState:s,controlDelay:(c?0:a)+f(b)}));return{getChildAnimations:()=>Promise.all(h.map(p=>p()))}}createAnimationFactories(e,s,n){const i=[];return Object.keys(this.state.target).forEach(o=>{var r;if(!Xp(e[o],this.state.target[o]))return;(r=this.state.baseTarget)[o]??(r[o]=pm.get(this.state.element,o));const a=this.state.target[o]==="none"&&qn(Dl[o])?Dl[o]:this.state.target[o];i.push(()=>{var l;return Jy(this.state.element,{[o]:a},{...s?.[o]||s,delay:(((l=s?.[o])==null?void 0:l.delay)||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=a??u?.custom;return this.state.activeStates={...this.state.activeStates,...e},Qy.forEach(f=>{if(!this.state.activeStates[f]||wl(this.state.options[f]))return;const h=this.state.options[f];let p=qn(h)?Qs(h,r,c):void 0;if(this.state.visualElement.isVariantNode){const b=Qs(this.state.context[f],r,c);p=Object.assign(b?b||{}:o,p)}p&&(f!=="initial"&&(i=p.transition||this.state.options.transition||{}),o=Object.assign(o,p))}),s&&(o=Qs(s,r,c),i=o.transition||n||l),Object.entries(o).forEach(([f,h])=>{f!=="transition"&&(this.state.target[f]=h)}),i}mount(){var e,s;const{element:n}=this.state;Cl.set(n,this.state),Qe.get(n)||(this.state.visualElement.mount(n),Qe.set(n,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription();const i=this.state.visualElement,o=i.parent;if(i.enteringChildren=void 0,(e=this.state.parent)!=null&&e.isMounted()&&!i.isControllingVariants&&((s=o?.enteringChildren)!=null&&s.has(i))){const{delayChildren:r}=this.state.parent.finalTransition||{};this.animateUpdates({controlActiveState:this.state.parent.activeStates,controlDelay:gg(o.enteringChildren,i,r)})()}}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)}}function ev(t){return Zc(t)&&"offsetHeight"in t}const sv={y:!1};function nv(){return sv.y}const su=(t,e)=>e?t===e?!0:su(t,e.parentElement):!1,iv=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function nu(t,e){const s=Ao(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}const ov=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rv(t){return ov.has(t.tagName)||t.isContentEditable===!0}const Qn=new WeakSet;function iu(t){return e=>{e.key==="Enter"&&t(e)}}function Go(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const av=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=iu(()=>{if(Qn.has(s))return;Go(s,"down");const i=iu(()=>{Go(s,"up")}),o=()=>Go(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 ou(t){return iv(t)&&!0}function lv(t,e,s={}){const[n,i,o]=nu(t,s),r=a=>{const l=a.currentTarget;if(!ou(a))return;Qn.add(l);const u=e(l,a),c=(p,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Qn.has(l)&&Qn.delete(l),ou(p)&&typeof u=="function"&&u(p,{success:b})},f=p=>{c(p,l===window||l===document||s.useGlobalTarget||su(l,p.target))},h=p=>{c(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),ev(a)&&(a.addEventListener("focus",u=>av(u,i)),!rv(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function ru(t){return{point:{x:t.pageX,y:t.pageY}}}function au(t,e,s){const n=t.options;n.whilePress&&t.setActive("whilePress",s==="Start");const i=`onPress${s==="End"?"":s}`,o=n[i];o&&at.postRender(()=>o(e,ru(e)))}class cv extends Ae{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=lv(e,(s,n)=>(au(this.state,n,"Start"),(i,{success:o})=>au(this.state,i,o?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function lu(t){return!(t.pointerType==="touch"||nv())}function uv(t,e,s={}){const[n,i,o]=nu(t,s),r=a=>{if(!lu(a))return;const{target:l}=a,u=e(l,a);if(typeof u!="function"||!l)return;const c=f=>{lu(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return n.forEach(a=>{a.addEventListener("pointerenter",r,i)}),o}function cu(t,e,s){const n=t.options;n.whileHover&&t.setActive("whileHover",s==="Start");const i=`onHover${s}`,o=n[i];o&&at.postRender(()=>o(e,ru(e)))}class fv extends Ae{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=uv(e,(s,n)=>(cu(this.state,n,"Start"),i=>{cu(this.state,i,"End")})))}}const hv={some:0,all:1};function dv(t,e,{root:s,margin:n,amount:i="some"}={}){const o=Ao(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const h=e(c.target,c);typeof h=="function"?r.set(c.target,h):l.unobserve(c.target)}else typeof f=="function"&&(f(c),r.delete(c.target))})},l=new IntersectionObserver(a,{root:s,rootMargin:n,threshold:typeof i=="number"?i:hv[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function uu(t,e,s){const n=t.options;n.whileInView&&t.setActive("whileInView",s==="Enter");const i=`onViewport${s}`,o=n[i];o&&at.postRender(()=>o(e))}class pv extends Ae{isActive(){const{whileInView:e,onViewportEnter:s,onViewportLeave:n}=this.state.options;return!!(e||s||n)}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=dv(e,(i,o)=>{if(uu(this.state,o,"Enter"),!s)return r=>{uu(this.state,o,"Leave")}},n)}mount(){this.startObserver()}update(){const{props:e,prevProps:s}=this.state.visualElement;["amount","margin","root"].some(mv(e,s))&&this.startObserver()}}function mv({inViewOptions:t={}},{inViewOptions:e={}}={}){return s=>t[s]!==e[s]}function ti(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}class gv extends Ae{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=en(ti(this.state.element,"focus",()=>this.onFocus()),ti(this.state.element,"blur",()=>this.onBlur()))}}const yv=(t,e)=>t.depth-e.depth;class vv{constructor(){this.children=[],this.isDirty=!1}add(e){uo(this.children,e),this.isDirty=!0}remove(e){Xn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(yv),this.isDirty=!1,this.children.forEach(e)}}function zo(t){return pt(t)?t.get():t}const fu=["TopLeft","TopRight","BottomLeft","BottomRight"],bv=fu.length,hu=t=>typeof t=="string"?parseFloat(t):t,du=t=>typeof t=="number"||R.test(t);function _v(t,e,s,n,i,o){i?(t.opacity=ct(0,s.opacity??1,xv(n)),t.opacityExit=ct(e.opacity??1,0,Sv(n))):o&&(t.opacity=ct(e.opacity??1,s.opacity??1,n));for(let r=0;r<bv;r++){const a=`border${fu[r]}Radius`;let l=pu(e,a),u=pu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||du(l)===du(u)?(t[a]=Math.max(ct(hu(l),hu(u),n),0),(ie.test(u)||ie.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ct(e.rotate||0,s.rotate||0,n))}function pu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const xv=mu(0,.5,kc),Sv=mu(.5,.95,Ot);function mu(t,e,s){return n=>n<t?0:n>e?1:s(Ss(t,e,n))}function gu(t,e){t.min=e.min,t.max=e.max}function Zt(t,e){gu(t.x,e.x),gu(t.y,e.y)}function yu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function qo(t){return t===void 0||t===1}function Yo({scale:t,scaleX:e,scaleY:s}){return!qo(t)||!qo(e)||!qo(s)}function ss(t){return Yo(t)||vu(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function vu(t){return bu(t.x)||bu(t.y)}function bu(t){return t&&t!=="0%"}function ei(t,e,s){const n=t-s,i=e*n;return s+i}function _u(t,e,s,n,i){return i!==void 0&&(t=ei(t,i,n)),ei(t,s,n)+e}function Xo(t,e=0,s=1,n,i){t.min=_u(t.min,e,s,n,i),t.max=_u(t.max,e,s,n,i)}function xu(t,{x:e,y:s}){Xo(t.x,e.translate,e.scale,e.originPoint),Xo(t.y,s.translate,s.scale,s.originPoint)}const Su=.999999999999,Tu=1.0000000000001;function Tv(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&&Ts(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,xu(t,r)),n&&ss(o.latestValues)&&Ts(t,o.latestValues))}e.x<Tu&&e.x>Su&&(e.x=1),e.y<Tu&&e.y>Su&&(e.y=1)}function si(t,e){t.min=t.min+e,t.max=t.max+e}function wu(t,e,s,n,i=.5){const o=ct(t.min,t.max,i);Xo(t,e,s,o,n)}function Ts(t,e){wu(t.x,e.x,e.scaleX,e.scale,e.originX),wu(t.y,e.y,e.scaleY,e.scale,e.originY)}const Au=1e-4,wv=1-Au,Av=1+Au,Eu=.01,Ev=0-Eu,Cv=0+Eu;function Kt(t){return t.max-t.min}function Pv(t,e,s){return Math.abs(t-e)<=s}function Cu(t,e,s,n=.5){t.origin=n,t.originPoint=ct(e.min,e.max,t.origin),t.scale=Kt(s)/Kt(e),t.translate=ct(s.min,s.max,t.origin)-t.originPoint,(t.scale>=wv&&t.scale<=Av||isNaN(t.scale))&&(t.scale=1),(t.translate>=Ev&&t.translate<=Cv||isNaN(t.translate))&&(t.translate=0)}function an(t,e,s,n){Cu(t.x,e.x,s.x,n?n.originX:void 0),Cu(t.y,e.y,s.y,n?n.originY:void 0)}function Pu(t,e,s){t.min=s.min+e.min,t.max=t.min+Kt(e)}function Mv(t,e,s){Pu(t.x,e.x,s.x),Pu(t.y,e.y,s.y)}function Mu(t,e,s){t.min=e.min-s.min,t.max=t.min+Kt(e)}function ni(t,e,s){Mu(t.x,e.x,s.x),Mu(t.y,e.y,s.y)}function Vu(t,e,s,n,i){return t-=e,t=ei(t,1/s,n),i!==void 0&&(t=ei(t,1/i,n)),t}function Vv(t,e=0,s=1,n=.5,i,o=t,r=t){if(ie.test(e)&&(e=parseFloat(e),e=ct(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ct(o.min,o.max,n);t===o&&(a-=e),t.min=Vu(t.min,e,s,a,i),t.max=Vu(t.max,e,s,a,i)}function Du(t,e,[s,n,i],o,r){Vv(t,e[s],e[n],e[i],e.scale,o,r)}const Dv=["x","scaleX","originX"],Ov=["y","scaleY","originY"];function Ou(t,e,s,n){Du(t.x,e,Dv,s?s.x:void 0,n?n.x:void 0),Du(t.y,e,Ov,s?s.y:void 0,n?n.y:void 0)}function Ru(t){return t.translate===0&&t.scale===1}function Lu(t){return Ru(t.x)&&Ru(t.y)}function Fu(t,e){return t.min===e.min&&t.max===e.max}function Rv(t,e){return Fu(t.x,e.x)&&Fu(t.y,e.y)}function Iu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function $u(t,e){return Iu(t.x,e.x)&&Iu(t.y,e.y)}function ju(t){return Kt(t.x)/Kt(t.y)}function Bu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Lv{constructor(){this.members=[]}add(e){uo(this.members,e),e.scheduleRender()}remove(e){if(Xn(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 Fv(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=s?.z||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:h,skewX:p,skewY:b}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),h&&(n+=`rotateY(${h}deg) `),p&&(n+=`skewX(${p}deg) `),b&&(n+=`skewY(${b}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 ku(t){return[t("x"),t("y")]}const ii={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Zo=["","X","Y","Z"],Iv=1e3;let $v=0;function Jo(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function Nu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=Ac(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",at,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&Nu(n)}function Uu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=$v++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,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(kv),this.nodes.forEach(Kv),this.nodes.forEach(Wv),this.nodes.forEach(Nv)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 vv)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new fo),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Wo(r)&&!Jc(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c,f=0;const h=()=>this.root.updateBlockedByResize=!1;at.read(()=>{f=window.innerWidth}),t(r,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,c&&c(),c=Dp(h,250),ii.hasAnimatedSinceResize&&(ii.hasAnimatedSinceResize=!1,this.nodes.forEach(Wu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||u.getDefaultTransition()||Xv,{onLayoutAnimationStart:y,onLayoutAnimationComplete:A}=u.getProps(),w=!this.targetLayout||!$u(this.targetLayout,p),E=!f&&h;if(this.options.layoutRoot||this.resumeFrom||E||f&&(w||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const P={...Po(b,"layout"),onPlay:y,onComplete:A};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P),this.setAnimationOrigin(c,E)}else f||Wu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),we(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(Gv),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&&Nu(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(Hu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ku);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Hv),this.nodes.forEach(jv),this.nodes.forEach(Bv)):this.nodes.forEach(Ku),this.clearAllSnapshots();const a=Mt.now();St.delta=re(0,1e3/60,a-St.timestamp),St.timestamp=a,St.isProcessing=!0,eo.update.process(St),eo.preRender.process(St),eo.render.process(St),St.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Uv),this.sharedNodes.forEach(zv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,at.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){at.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.layoutVersion++,this.layoutCorrected=yt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Lu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||ss(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)),Zv(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var r;const{visualElement:a}=this.options;if(!a)return yt();const l=a.measureViewportBox();if(!(((r=this.scroll)==null?void 0:r.wasRoot)||this.path.some(Jv))){const{scroll:c}=this.root;c&&(si(l.x,c.offset.x),si(l.y,c.offset.y))}return l}removeElementScroll(r){var a;const l=yt();if(Zt(l,r),(a=this.scroll)!=null&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:h}=c;c!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Zt(l,r),si(l.x,f.offset.x),si(l.y,f.offset.y))}return l}applyTransform(r,a=!1){const l=yt();Zt(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&&Ts(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),ss(c.latestValues)&&Ts(l,c.latestValues)}return ss(this.latestValues)&&Ts(l,this.latestValues),l}removeTransform(r){const a=yt();Zt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!ss(u.latestValues))continue;Yo(u.latestValues)&&u.updateSnapshot();const c=yt(),f=u.measurePageBox();Zt(c,f),Ou(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return ss(this.latestValues)&&Ou(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!==St.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(r||u&&this.isSharedProjectionDirty||this.isProjectionDirty||(a=this.parent)!=null&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:h}=this.options;if(!this.layout||!(f||h))return;this.resolvedRelativeTargetAt=St.timestamp;const p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=yt(),this.targetWithTransforms=yt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Zt(this.target,this.layout.layoutBox),xu(this.target,this.targetDelta)):Zt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Yo(this.parent.latestValues)||vu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,a,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=yt(),this.relativeTargetOrigin=yt(),ni(this.relativeTargetOrigin,a,l),Zt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var r;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||(r=this.parent)!=null&&r.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===St.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;Zt(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,p=this.treeScale.y;Tv(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=yt());const{target:b}=a;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yu(this.prevProjectionDelta.x,this.projectionDelta.x),yu(this.prevProjectionDelta.y,this.projectionDelta.y)),an(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==p||!Bu(this.projectionDelta.x,this.prevProjectionDelta.x)||!Bu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=yt(),p=l?l.source:void 0,b=this.layout?this.layout.source:void 0,y=p!==b,A=this.getStack(),w=!A||A.members.length<=1,E=!!(y&&!w&&this.options.crossfade===!0&&!this.path.some(Yv));this.animationProgress=0;let P;this.mixTargetDelta=C=>{const V=C/1e3;Gu(f.x,r.x,V),Gu(f.y,r.y,V),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ni(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qv(this.relativeTarget,this.relativeTargetOrigin,h,V),P&&Rv(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=yt()),Zt(P,this.relativeTarget)),y&&(this.animationValues=c,_v(c,u,this.latestValues,V,E,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(we(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=at.update(()=>{ii.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=bs(0)),this.currentAnimation=Qc(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),r.onUpdate&&r.onUpdate(c)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Iv),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&&Zu(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||yt();const f=Kt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Kt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}Zt(a,l),Ts(a,c),an(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Lv),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())==null?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())==null?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Jo("z",r,u,this.animationValues);for(let c=0;c<Zo.length;c++)Jo(`rotate${Zo[c]}`,r,u,this.animationValues),Jo(`skew${Zo[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()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=zo(a?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=zo(a?.pointerEvents)||""),this.hasProjected&&!ss(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=Fv(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:h,y:p}=this.projectionDelta;r.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?r.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const b in Zs){if(c[b]===void 0)continue;const{correct:y,applyTo:A,isCSSVariable:w}=Zs[b],E=f==="none"?c[b]:y(c[b],u);if(A){const P=A.length;for(let C=0;C<P;C++)r[A[C]]=E}else w?this.options.visualElement.renderState.vars[b]=E:r[b]=E}this.options.layoutId&&(r.pointerEvents=u===this?zo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Hu),this.root.sharedNodes.clear()}}}function jv(t){t.updateLayout()}function Bv(t){var e;const s=((e=t.resumeFrom)==null?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&s&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:o}=t.options,r=s.source!==t.layout.source;o==="size"?ku(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(h);h.min=n[f].min,h.max=h.min+p}):Zu(o,s.layoutBox,n)&&ku(f=>{const h=r?s.measuredBox[f]:s.layoutBox[f],p=Kt(n[f]);h.max=h.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+p)});const a=vs();an(a,n,s.layoutBox);const l=vs();r?an(l,t.applyTransform(i,!0),s.measuredBox):an(l,n,s.layoutBox);const u=!Lu(a);let c=!1;if(!t.resumeFrom){const f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const b=yt();ni(b,s.layoutBox,h.layoutBox);const y=yt();ni(y,n,p.layoutBox),$u(b,y)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=b,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 kv(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 Nv(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Uv(t){t.clearSnapshot()}function Hu(t){t.clearMeasurements()}function Ku(t){t.isLayoutDirty=!1}function Hv(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Wu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Kv(t){t.resolveTargetDelta()}function Wv(t){t.calcProjection()}function Gv(t){t.resetSkewAndRotation()}function zv(t){t.removeLeadSnapshot()}function Gu(t,e,s){t.translate=ct(e.translate,0,s),t.scale=ct(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function zu(t,e,s,n){t.min=ct(e.min,s.min,n),t.max=ct(e.max,s.max,n)}function qv(t,e,s,n){zu(t.x,e.x,s.x,n),zu(t.y,e.y,s.y,n)}function Yv(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Xv={duration:.45,ease:[.4,0,.1,1]},qu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Yu=qu("applewebkit/")&&!qu("chrome/")?Math.round:Ot;function Xu(t){t.min=Yu(t.min),t.max=Yu(t.max)}function Zv(t){Xu(t.x),Xu(t.y)}function Zu(t,e,s){return t==="position"||t==="preserve-aspect"&&!Pv(ju(e),ju(s),.2)}function Jv(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}function Qv(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const t0=Uu({attachResizeListener:(t,e)=>Qv(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Qo={current:void 0},e0=Uu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Qo.current){const t=new t0({});t.mount(window),t.setOptions({layoutScroll:!0}),Qo.current=t}return Qo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function Ju(t){if(t)return t.options.allowProjection!==!1?t.projection:Ju(t.parent)}const Qu={borderRadius:{...oe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomLeftRadius:oe,borderBottomRightRadius:oe,boxShadow:_l};function ln(t){return typeof t=="object"&&t!==null&&"nodeType"in t}class s0 extends Ae{constructor(e){super(e),Tl(Qu)}initProjection(){const e=this.state.options;this.state.visualElement.projection=new e0(this.state.visualElement.latestValues,e["data-framer-portal-id"]?void 0:Ju(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){const e=this.state.options,{layoutId:s,layout:n,drag:i=!1,dragConstraints:o=!1}=e;this.state.visualElement.projection.setOptions({layout:n,layoutId:s,alwaysMeasureLayout:!!s||!!i||o&&ln(o),visualElement:this.state.visualElement,animationType:typeof e.layout=="string"?e.layout:"both",layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{var r,a;!((r=this.state.visualElement.projection)!=null&&r.isPresent)&&this.state.options.layoutId&&!this.state.isExiting&&((a=this.state.options.animatePresenceContext)==null||a.onMotionExitComplete(this.state.presenceContainer,this.state))}})}update(){this.setOptions()}mount(){var e;(e=this.state.visualElement.projection)==null||e.mount(this.state.element)}}function tf(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function tr(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function n0(t){return e=>tf(e)&&t(e,tr(e))}function cn(t,e,s,n){return ti(t,e,n0(s),n)}function ef(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}const sf=ef("dragHorizontal"),nf=ef("dragVertical");function i0(t){let e=!1;if(t==="y")e=nf();else if(t==="x")e=sf();else{const s=sf(),n=nf();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function er(t){return t.max-t.min}function o0(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ct(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ct(s,t,n.max):Math.min(t,s)),t}const sr=.35;function r0(t,{top:e,left:s,bottom:n,right:i}){return{x:of(t.x,s,i),y:of(t.y,e,n)}}function of(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 a0(t=sr){return t===!1?t=0:t===!0&&(t=sr),{x:rf(t,"left","right"),y:rf(t,"top","bottom")}}function rf(t,e,s){return{min:af(t,e),max:af(t,s)}}function af(t,e){return typeof t=="number"?t:t[e]||0}function l0(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 c0(t,e){return{x:lf(t.x,e.x),y:lf(t.y,e.y)}}function lf(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 u0(t,e){let s=.5;const n=er(t),i=er(e);return i>n?s=Ss(e.min,e.max-n,t.min):n>i&&(s=Ss(t.min,t.max-i,e.min)),re(0,1,s)}const cf=(t,e)=>Math.abs(t-e);function f0(t,e){const s=cf(t.x,e.x),n=cf(t.y,e.y);return Math.sqrt(s**2+n**2)}const uf=new Set(["auto","scroll"]);class ff{constructor(e,s,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=ir(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=f0(h.offset,{x:0,y:0})>=3;if(!p&&!b)return;const{point:y}=h,{timestamp:A}=St;this.history.push({...y,timestamp:A});const{onStart:w,onMove:E}=this.handlers;p||(w&&w(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,h)},this.handlePointerMove=(h,p)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=nr(p,this.transformPagePoint),at.update(this.updatePoint,!0)},this.handlePointerUp=(h,p)=>{this.end();const{onEnd:b,onSessionEnd:y,resumeAnimation:A}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=ir(h.type==="pointercancel"?this.lastMoveEventInfo:nr(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(h,w),y&&y(h,w)},!tf(e))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.contextWindow=i||window;const a=tr(e),l=nr(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=St;this.history=[{...u,timestamp:c}];const{onSessionStart:f}=s;f&&f(e,ir(l,this.history)),this.removeListeners=en(cn(this.contextWindow,"pointermove",this.handlePointerMove),cn(this.contextWindow,"pointerup",this.handlePointerUp),cn(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}isScrollable(e){const s=window.getComputedStyle(e);return s.overflow==="auto"||s.overflow==="scroll"||s.overflowX==="auto"||s.overflowX==="scroll"||s.overflowY==="auto"||s.overflowY==="scroll"}startScrollTracking(e){let s=e.parentElement;for(;s;){const n=getComputedStyle(s);(uf.has(n.overflowX)||uf.has(n.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const s=this.scrollPositions.get(e);if(!s)return;const n=e===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o={x:i.x-s.x,y:i.y-s.y};o.x===0&&o.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(e,i),at.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){var e;this.removeListeners&&this.removeListeners(),(e=this.removeScrollListeners)==null||e.call(this),this.scrollPositions.clear(),we(this.updatePoint)}}function nr(t,e){return e?{point:e(t.point)}:t}function hf(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ir({point:t},e){return{point:t,delta:hf(t,df(e)),offset:hf(t,h0(e)),velocity:d0(e,.1)}}function h0(t){return t[0]}function df(t){return t[t.length-1]}function d0(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=df(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>Xt(e)));)s--;if(!n)return{x:0,y:0};const o=Ht(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 pf=()=>({min:0,max:0});function p0(){return{x:pf(),y:pf()}}function ae(t){return[t("x"),t("y")]}function m0(t){return!!(pt(t)&&t.add)}function mf(t,e){const s=t.getValue("willChange");if(m0(s))return s.add(e)}function gf({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function g0(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 y0({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function yf(t,e){t.min=t.min+e,t.max=t.max+e}function v0(t,e){return gf(g0(t.getBoundingClientRect(),e))}function b0(t,e,s){const n=v0(t,s),{scroll:i}=e;return i&&(yf(n.x,i.offset.x),yf(n.y,i.offset.y)),n}function _0(t){var e;return(e=t.projection)==null?void 0:e.isPresent}function vf({current:t}){return t?t.ownerDocument.defaultView:null}const x0=new WeakMap;class S0{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=p0(),this.visualElement=e}start(e,{snapToCursor:s=!1}={}){const n=u=>{s?this.stopAnimation():this.pauseAnimation(),s&&this.snapToCursor(tr(u,"page").point)},i=(u,c)=>{this.stopAnimation();const{drag:f,dragPropagation:h,onDragStart:p}=this.getProps();if(f&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=i0(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),ae(y=>{let A=this.getAxisMotionValue(y).get()||0;if(ie.test(A)){const{projection:w}=this.visualElement;if(w&&w.layout){const E=w.layout.layoutBox[y];E&&(A=er(E)*(parseFloat(A)/100))}}this.originPoint[y]=A}),p&&at.postRender(()=>p(u,c)),mf(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},o=(u,c)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:p,onDrag:b}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:y}=c;if(h&&this.currentDirection===null){this.currentDirection=T0(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",c.point,y),this.updateAxis("y",c.point,y),this.visualElement.render(),b&&b(u,c)},r=(u,c)=>this.stop(u,c),a=()=>ae(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 ff(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:r,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:vf(this.visualElement),element:this.visualElement.current})}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&&at.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||!oi(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=o0(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&&ln(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&i?this.constraints=r0(i.layoutBox,s):this.constraints=!1,this.elastic=a0(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&ae(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=l0(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:s}=this.getProps();if(!e||!ln(e))return!1;const n=e,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=b0(n,i.root,this.visualElement.getTransformPagePoint());let r=c0(i.layout.layoutBox,o);if(s){const a=s(y0(r));this.hasMutatedConstraints=!!a,a&&(r=gf(a))}return r}startAnimation(e){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ae(c=>{if(!oi(c,s,this.currentDirection))return;let f=l&&l[c]||{};r&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,b={type:"inertia",velocity:n?e[c]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,b)});return Promise.all(u).then(a)}startAxisValueAnimation(e,s){const n=this.getAxisMotionValue(e);return mf(this.visualElement,e),n.start(Ko(e,n,0,s,this.visualElement,!1))}stopAnimation(){_0(this.visualElement)&&ae(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ae(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){ae(s=>{const{drag:n}=this.getProps();if(!oi(s,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(s);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[s];o.set(e[s]-ct(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!ln(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ae(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=u0({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(),ae(r=>{if(!oi(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:u}=this.constraints[r];a.set(ct(l,u,i[r]))})}addListeners(){if(!this.visualElement.current)return;x0.set(this.visualElement,this);const e=this.visualElement.current,s=cn(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();ln(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),at.read(n);const r=ti(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ae(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=sr,dragMomentum:a=!0}=e;return{...e,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function oi(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function T0(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}class w0 extends Ae{constructor(e){super(e),this.removeGroupControls=Ot,this.removeListeners=Ot,this.controls=new S0(e.visualElement)}mount(){const{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ot}unmount(){this.removeGroupControls(),this.removeListeners()}}let un=!1;class A0 extends Ae{constructor(e){super(e),Tl(Qu),e.getSnapshot=this.getSnapshot.bind(this),e.didUpdate=this.didUpdate.bind(this)}beforeUpdate(e){this.getSnapshot(e,void 0)}update(){this.didUpdate()}didUpdate(){var e,s;un&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(un=!1,(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;if(i){i.promote();const o=i.getStack();o?.prevLead&&!o.prevLead.snapshot&&(o.prevLead.willUpdate(),un=!0),(e=n?.group)==null||e.add(i)}ii.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){this.getSnapshot(this.state.options,!1)}unmount(){const e=this.state.options.layoutGroup,s=this.state.visualElement.projection;s&&(e?.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(s),this.state.options.layoutId&&(un=!0),this.didUpdate())}getSnapshot(e,s){const n=this.state.visualElement.projection,{drag:i,layoutDependency:o,layout:r,layoutId:a}=e;if(!n||!r&&!a&&!i)return;un=!0;const l=this.state.options;(i||l.layoutDependency!==o||o===void 0||qn(s)&&n.isPresent!==s)&&n.willUpdate(),qn(s)&&s!==n.isPresent&&(n.isPresent=s,s?n.promote():n.relegate())}}function bf(t){return(e,s)=>{t&&at.postRender(()=>t(e,s))}}class E0 extends Ae{constructor(){super(...arguments),this.removePointerDownListener=Ot}onPointerDown(e){this.session=new ff(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:vf(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:bf((e,s)=>{const{onPanSessionStart:n}=this.state.options;n&&n(e,s)}),onStart:bf((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&&at.postRender(()=>n(e,s))}}}mount(){this.removePointerDownListener=cn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const C0=[tv,cv,fv,pv,gv,s0,E0,w0,A0],P0={reducedMotion:"never",transition:void 0,nonce:void 0},[M0]=Js("MotionConfig");function V0(){return M0(bt(()=>P0))}const D0="data-ap-child",[O0]=Js("AnimatePresenceContext");function ri(t){if(t)return t.nodeType===3||t.nodeType===8?ri(t.nextSibling):t}const[R0]=Js("LazyMotionContext");function L0(t){const e=zp(null),s=Yp({}),n=V0(),i=O0({}),o=R0({features:us([]),strict:!1}),r=qh();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 om(u(),e);qp(c);function f(){var p;const b=c.type==="svg",y={...r};Object.keys(r).forEach(E=>{pt(r[E])&&(y[E]=r[E].get())});let A={...t.style,...b?{}:((p=c.visualElement)==null?void 0:p.latestValues)||c.baseTarget};if(b){const{attrs:E,style:P}=bm({...c.isMounted()?c.target:c.baseTarget,...A});(P.transform||E.transformOrigin)&&(P.transformOrigin=E.transformOrigin??"50% 50%",delete E.transformOrigin),P.transform&&(P.transformBox=P.transformBox??"fill-box",delete E.transformBox),Object.assign(y,E),A=P}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 w=mm(A);return w&&(y.style=w),y}const h=Nn().proxy;return sa(()=>{c.beforeMount()}),Ii(()=>{if(c.mount(ri(h.$el),u(),I0(h)),i.register&&c.element){const p=c.element.closest(`[${D0}]`);p?(c.presenceContainer=p,i.register(p,c)):i.registerPending&&i.registerPending(c)}}),$i(()=>c.beforeUnmount()),ji(()=>{i.unregisterPending&&i.unregisterPending(c);const p=ri(h.$el);p?.isConnected||c.unmount()}),na(()=>{c.beforeUpdate(u())}),ia(()=>{c.update(u())}),{getProps:l,getAttrs:f,layoutGroup:s,state:c}}const F0={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:null,default:void 0},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 I0(t){var e;const s=((e=ri(t.$el))==null?void 0:e.style.display)==="none";return t.$.vnode.transition&&s}const $0=new Map,j0=new Map;function B0(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 k0=["area","img","input"];function N0(t,e,s){var n,i;if(typeof t=="string"&&k0.includes(t))return Xi(t,e);if(t==="template"){if(!s.default)return null;const o=B0(s.default()),r=o.findIndex(c=>c.type!==xt);if(r===-1)return o;const a=o[r];(n=a.props)==null||delete n.ref;const l=a.props?Fa(e,a.props):e;e.class&&((i=a.props)!=null&&i.class)&&delete a.props.class;const u=be(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 _f(t,e={}){var s;const n=typeof t=="string",i=n?t:t.name||"",o=((s=e.features)==null?void 0:s.length)>0?$0:j0;if(n&&o?.has(t))return o.get(t);const r=Fh({inheritAttrs:!1,props:{...F0,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}=L0(a);function h(){const p=f.element;if((!(typeof a.as=="object")||a.asChild)&&p){const{style:y}=c();if(y)for(const[A,w]of Object.entries(y))p.style[A]=w}}return()=>{const p=u(),b=c(),y=a.asChild?"template":a.as,A={...e.forwardMotionProps||a.forwardMotionProps?p:{},...b,onVnodeUpdated:h},w=N0(y,A,l);return w!==null?w:Xi(y,{...A},l)}}});return n&&o?.set(t,r),r}function U0(t=[]){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>_f(n,{...i,features:t}):_f(s,{features:t})}})}const xf=U0(C0);xf.create("div");const H0={class:"slds-navigation-list--vertical"},K0={class:"slds-navigation-list__item-content"},W0={class:"slds-navigation-list__item-title"},G0={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){const s=t,n=e,i=us(s.selectedSchema?.fileName||null);function o(a){i.value=a.fileName,n("selectSchema",a)}function r(a){return a.schema?.title||a.fileName||"Untitled Schema"}return(a,l)=>($(),k("div",H0,[l[0]||(l[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),k(ht,null,Fe(t.schemas,u=>($(),k("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",K0,[g("div",W0,[st(Fr(xf).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Et(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:Vn(()=>[Us(Z(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},Sf="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-55m-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030m30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010z'/%3e%3c/svg%3e",Tf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},z0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},q0={class:"slds-notify__content"},wf=Tf({__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)=>($(),k("div",z0,[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:Sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",q0,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Y0={key:0,class:"slds-m-top_medium"},X0={class:"slds-box slds-theme_shade"},Z0={class:"slds-grid slds-wrap slds-gutters"},J0={class:"constraint-item"},Q0={class:"slds-text-title_caps slds-text-color_default"},tb={class:"slds-text-body_regular slds-m-top_xx-small"},or={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{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=bt(()=>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?($(),k("div",Y0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",X0,[g("div",Z0,[($(!0),k(ht,null,Fe(s.value,(u,c)=>($(),k("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",J0,[g("div",Q0,Z(i(c)),1),g("div",tb,[g("span",{class:Et(["slds-badge",r(u)])},Z(o(u)),3)])])]))),128))])])])):Ut("",!0)}},eb={class:"array-schema"},sb={class:"slds-box slds-theme_shade"},nb={class:"slds-grid slds-gutters"},ib={key:0,class:"slds-col"},ob={class:"slds-badge"},rb={key:1,class:"slds-m-top_medium"},ab={class:"slds-text-title_caps slds-m-bottom_xx-small"},lb={key:3,class:"slds-m-top_medium"},cb={key:4,class:"slds-m-top_medium"},ub={key:0,class:"slds-m-top_xx-small"},fb={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=bt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>($(),k("div",eb,[g("div",sb,[g("div",nb,[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?($(),k("div",ib,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",ob,Z(n.value),1)])):Ut("",!0)])]),s.value?($(),It(or,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?($(),k("div",rb,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?($(!0),k(ht,{key:0},Fe(t.schema.items,(r,a)=>($(),k("div",{key:a,class:"slds-m-bottom_medium"},[g("div",ab," Index "+Z(a),1),st(Ce,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):($(),It(Ce,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):($(),It(wf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?($(),k("div",lb,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),st(Ce,{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)?($(),k("div",cb,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?($(),k("div",ub,[g("span",{class:Et(t.schema.additionalItems?"status-allowed":"status-denied")},Z(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):($(),It(Ce,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},hb={class:"slds-box slds-theme_shade"},db={class:"slds-text-heading_small slds-m-bottom_small"},pb={class:"slds-tabs_default"},mb={class:"slds-tabs_default__nav",role:"tablist"},gb=["aria-selected","aria-controls","onClick"],yb={class:"slds-tabs_default__title"},vb=["id"],bb={class:"slds-p-around_medium"},_b={class:"slds-text-title_caps slds-m-bottom_small"},xb={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=us(0),i=bt(()=>e.schema[s.value]||[]);Mh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=bt(()=>{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=bt(()=>{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)=>($(),k("div",hb,[g("div",db,[g("span",{class:Et(["slds-badge",r.value])},Z(o.value),3)]),g("div",pb,[g("ul",mb,[($(!0),k(ht,null,Fe(i.value,(f,h)=>($(),k("li",{key:h,class:Et(["slds-tabs_default__item",{"slds-is-active":n.value===h}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===h,"aria-controls":`tab-${h}`,onClick:p=>n.value=h},[g("span",yb,Z(l(f,h)),1)],8,gb)],2))),128))]),($(!0),k(ht,null,Fe(i.value,(f,h)=>($(),k("div",{id:`tab-${h}`,key:h,class:Et(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",bb,[g("div",_b," Schema Type: "+Z(a(f)),1),st(Ce,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,vb))),128))])]))}},Sb={class:"slds-box slds-theme_shade"},Tb={class:"slds-grid slds-wrap slds-gutters"},wb={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},Ab={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},Eb={key:1,class:"slds-badge slds-badge_inverse"},Cb={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.const),n=bt(()=>typeof s.value=="object"&&s.value!==null),i=bt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>($(),k("div",Sb,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",Tb,[g("div",wb,[n.value?($(),k("pre",Ab,[g("code",null,Z(i.value),1)])):($(),k("div",Eb,Z(i.value),1))])])]))}},Pb={class:"slds-box slds-theme_shade"},Mb={class:"slds-grid slds-wrap slds-gutters"},Vb={class:"slds-badge slds-badge_inverse"},Db={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.enum);return(n,i)=>($(),k("div",Pb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",Mb,[($(!0),k(ht,null,Fe(s.value,(o,r)=>($(),k("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",Vb,Z(o),1)]))),128))])]))}},Ob="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%2022'/%3e%3c/svg%3e",Rb={key:0},Lb={key:1},Fb={class:"slds-box slds-m-top_small"},Ib={class:"slds-table_container"},$b={class:"slds-table slds-table_cell-buffer slds-table_bordered"},jb=["onClick"],Bb=["title"],kb={class:"slds-truncate"},Nb={class:"slds-badge"},Ub=["title"],Hb={class:"slds-truncate"},Kb={key:0,class:"slds-badge slds-badge_success"},Wb={key:1,class:"slds-badge slds-badge_inverse"},Gb={key:0},zb={colspan:"4",class:"slds-p-around_medium"},qb={class:"slds-box slds-theme_shade"},Yb={key:2},Xb={key:3},Zb={key:0},Jb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=us({}),n=bt(()=>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:ns.hasComposition(a)?"composition":ns.isEnum(a)?"enum":ns.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>($(),k("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),st(or,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?($(),k("div",Rb,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,Z(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?($(),k("div",Lb,[g("div",Fb,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",Ib,[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),k(ht,null,Fe(t.schema.properties,(u,c)=>($(),k(ht,{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:Ob,class:Et(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),Us(" "+Z(c),1)],8,Bb)]),g("td",null,[g("div",kb,[g("span",Nb,Z(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},Z(u.description||"No description"),9,Ub)]),g("td",null,[g("div",Hb,[i(c)?($(),k("span",Kb,"Required")):($(),k("span",Wb,"Optional"))])])],8,jb),st(Bd,null,{default:Vn(()=>[s.value[c]?($(),k("tr",Gb,[g("td",zb,[g("div",qb,[st(Ce,{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?($(),k("div",Yb,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[($(!0),k(ht,null,Fe(t.schema.patternProperties,(u,c)=>($(),k("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,Z(c),1)])]),st(Ce,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?($(),k("div",Xb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?($(),k("div",Zb,[g("span",{class:Et(t.schema.additionalProperties?"status-allowed":"status-denied")},Z(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):($(),It(Ce,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):($(),It(wf,{key:4}))]))}},Qb={class:"slds-box slds-m-top_small"},t_={class:"slds-box slds-theme_shade"},e_={class:"slds-text-body_regular"},s_={class:"slds-grid slds-gutters"},n_={class:"slds-col"},i_={class:"slds-badge"},o_={class:"slds-col"},fn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>($(),k("div",Qb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",t_,[g("div",e_,[g("div",s_,[g("div",n_,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",i_,Z(t.schema.type),1)]),g("div",o_,[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)])])])]),st(or,{schema:t.schema},null,8,["schema"])]))}},r_={object:Jb,array:fb,string:fn,number:fn,integer:fn,boolean:fn,null:fn},ns={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ns.hasComposition(t)?xb:ns.isEnum(t)?Db:ns.isConst(t)?Cb:r_[t.type]||null},a_={class:"slds-grid slds-grid_vertical"},l_={class:"slds-col slds-size_1-of-1"},c_={class:"slds-card"},u_={class:"slds-card__body slds-card__body_inner"},f_={__name:"SchemaLayout",setup(t){return(e,s)=>($(),k("div",a_,[g("div",l_,[g("div",c_,[g("div",u_,[Gh(e.$slots,"default")])])])]))}},h_={class:"slds-box"},d_={class:"slds-box slds-theme_shade"},p_={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>($(),k("div",h_,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[Us(" Schema in plain with all "),g("code",null,"$ref"),Us(" references already resolved ")],-1)),g("pre",d_,[g("code",null,Z(s.value),1)])]))}},m_={class:"slds-page-header"},g_={class:"slds-page-header__row"},y_={class:"slds-page-header__col-title"},v_={class:"slds-media"},b_={class:"slds-media__body"},__={class:"slds-page-header__name"},x_={class:"slds-page-header__name-title"},S_={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},T_={class:"slds-page-header__meta-text"},w_={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>($(),k("div",m_,[g("div",g_,[g("div",y_,[g("div",v_,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:ul,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",b_,[g("div",__,[g("div",x_,[g("h1",S_,Z(t.schema.title||"Schema"),1)])]),g("div",T_,Z(t.schema.description||"No description provided"),1)])])])])]))}},A_={class:"slds-tabs_default__nav",role:"tablist"},E_={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>($(),k("ul",A_,[g("li",{class:Et(["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:Et(["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)]))}},C_={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},P_={class:"slds-notify__content"},M_=Tf({__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)=>($(),k("div",C_,[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:Sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,Z(t.title),1),g("div",P_,[g("p",null,Z(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),V_={class:"slds-tabs_default"},D_={class:"slds-p-around_medium"},O_={class:"slds-m-top_medium"},R_={class:"slds-p-around_medium"},Ce={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=us("visual"),n=bt(()=>e.isRoot?e.schema:e.rootSchema);Oi("rootSchema",n);const i=bt(()=>ns.getComponentForSchema(e.schema));return(o,r)=>($(),It(f_,null,{default:Vn(()=>[g("div",V_,[st(E_,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Et({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",D_,[st(w_,{schema:t.schema},null,8,["schema"]),g("div",O_,[i.value?($(),It(Kh(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):($(),It(M_,{key:1}))])])],2),g("div",{class:Et({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",R_,[st(p_,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},L_={class:"slds-grid slds-grid_vertical"},F_={class:"slds-grid slds-gutters slds-grid_vertical-fill"},I_={class:"slds-col slds-size_2-of-12"},$_={class:"slds-col slds-size_10-of-12"},j_={key:1,class:"slds-p-around_medium"},Af={__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=us(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>($(),k("div",L_,[st(Cp,{title:t.title},null,8,["title"]),g("div",F_,[g("div",I_,[st(G0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",$_,[s.value?($(),It(Ce,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):($(),k("div",j_,[...o[0]||(o[0]=[wd('<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)])]))])]),st(vp,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function Ef(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&cl(Af,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Ef):Ef(),Ne.App=Af,Ne.createApp=cl,Object.defineProperty(Ne,Symbol.toStringTag,{value:"Module"})}));
|
|
3
|
+
`,...nd(i)),console.warn(...o)}ee(),xi=!1}function sd(){let t=As[As.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function nd(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
|
|
4
|
+
`],...id(s))}),e}function id({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${La(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...od(t.props),o]:[i+o]}function od(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Mr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Mr(t,e,s){return ut(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=Mr(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function is(t,e,s,n){try{return n?t(...n):t()}catch(i){xn(i,e,s)}}function Zt(t,e,s,n){if(W(t)){const i=is(t,e,s,n);return i&&sr(i)&&i.catch(o=>{xn(o,e,s)}),i}if(U(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Zt(t[o],e,s,n));return i}}function xn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||rt;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){te(),is(o,null,10,[t,l,u]),ee();return}}rd(t,s,i,n,r)}function rd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ct=[];let se=-1;const os=[];let Ve=null,rs=0;const Dr=Promise.resolve();let Sn=null;function ad(t){const e=Sn||Dr;return t?e.then(this?t.bind(this):t):e}function ld(t){let e=se+1,s=Ct.length;for(;e<s;){const n=e+s>>>1,i=Ct[n],o=Cs(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Si(t){if(!(t.flags&1)){const e=Cs(t),s=Ct[Ct.length-1];!s||!(t.flags&2)&&e>=Cs(s)?Ct.push(t):Ct.splice(ld(e),0,t),t.flags|=1,Or()}}function Or(){Sn||(Sn=Dr.then(Fr))}function cd(t){U(t)?os.push(...t):Ve&&t.id===-1?Ve.splice(rs+1,0,t):t.flags&1||(os.push(t),t.flags|=1),Or()}function Rr(t,e,s=se+1){for(;s<Ct.length;s++){const n=Ct[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ct.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Lr(t){if(os.length){const e=[...new Set(os)].sort((s,n)=>Cs(s)-Cs(n));if(os.length=0,Ve){Ve.push(...e);return}for(Ve=e,rs=0;rs<Ve.length;rs++){const s=Ve[rs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ve=null,rs=0}}const Cs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Fr(t){const e=zt;try{for(se=0;se<Ct.length;se++){const s=Ct[se];s&&!(s.flags&8)&&(Ee.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(;se<Ct.length;se++){const s=Ct[se];s&&(s.flags&=-2)}se=-1,Ct.length=0,Lr(),Sn=null,(Ct.length||os.length)&&Fr()}}let wt=null,Ir=null;function Tn(t){const e=wt;return wt=t,Ir=t&&t.type.__scopeId||null,e}function wn(t,e=wt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Rn(-1);const o=Tn(e);let r;try{r=t(...i)}finally{Tn(o),n._d&&Rn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ne(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&&(te(),Zt(l,s,8,[t.el,a,t,e]),ee())}}function Ti(t,e){if(vt){let s=vt.provides;const n=vt.parent&&vt.parent.provides;n===s&&(s=vt.provides=Object.create(n)),s[t]=e}}function Es(t,e,s=!1){const n=Fn();if(n||ls){let i=ls?ls._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&W(e)?e.call(n&&n.proxy):e}}const ud=Symbol.for("v-scx"),fd=()=>Es(ud);function dd(t,e){return wi(t,null,e)}function Pn(t,e,s){return wi(t,e,s)}function wi(t,e,s=rt){const{immediate:n,deep:i,flush:o,once:r}=s,a=mt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=fd();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=zt,m.resume=zt,m.pause=zt,m}}const c=vt;a.call=(m,v,b)=>Zt(m,c,v,b);let f=!1;o==="post"?a.scheduler=m=>{Ot(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Si(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const d=td(t,e,a);return $s&&(u?u.push(d):l&&d()),d}function hd(t,e,s){const n=this.proxy,i=ut(t)?t.includes(".")?kr(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=js(this),a=wi(i,o.bind(n),s);return r(),a}function kr(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 pd=Symbol("_vte"),jr=t=>t.__isTeleport,ne=Symbol("_leaveCb"),Vs=Symbol("_enterCb");function md(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ci(()=>{t.isMounted=!0}),Ei(()=>{t.isUnmounting=!0}),t}const Nt=[Function,Array],$r={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},Br=t=>{const e=t.subTree;return e.component?Br(e.component):e},gd={name:"BaseTransition",props:$r,setup(t,{slots:e}){const s=Fn(),n=md();return()=>{const i=e.default&&Kr(e.default(),!0);if(!i||!i.length)return;const o=Nr(i),r=Q(t),{mode:a}=r;if(n.isLeaving)return Ai(o);const l=Hr(o);if(!l)return Ai(o);let u=Pi(l,r,n,s,f=>u=f);l.type!==xt&&Ms(l,u);let c=s.subTree&&Hr(s.subTree);if(c&&c.type!==xt&&!He(c,l)&&Br(s).type!==xt){let f=Pi(c,r,n,s);if(Ms(c,f),a==="out-in"&&l.type!==xt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Ai(o);a==="in-out"&&l.type!==xt?f.delayLeave=(d,m,v)=>{const b=Ur(n,c);b[String(c.key)]=c,d[ne]=()=>{m(),d[ne]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Nr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==xt){e=s;break}}return e}const yd=gd;function Ur(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 Pi(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:m,onAfterLeave:v,onLeaveCancelled:b,onBeforeAppear:w,onAppear:C,onAfterAppear:E,onAppearCancelled:P}=e,A=String(t.key),D=Ur(s,t),H=(k,G)=>{k&&Zt(k,n,9,G)},z=(k,G)=>{const it=G[1];H(k,G),U(k)?k.every(F=>F.length<=1)&&it():k.length<=1&&it()},$={mode:r,persisted:a,beforeEnter(k){let G=l;if(!s.isMounted)if(o)G=w||l;else return;k[ne]&&k[ne](!0);const it=D[A];it&&He(t,it)&&it.el[ne]&&it.el[ne](),H(G,[k])},enter(k){if(D[A]===t)return;let G=u,it=c,F=f;if(!s.isMounted)if(o)G=C||u,it=E||c,F=P||f;else return;let lt=!1;k[Vs]=Gt=>{lt||(lt=!0,Gt?H(F,[k]):H(it,[k]),$.delayedLeave&&$.delayedLeave(),k[Vs]=void 0)};const yt=k[Vs].bind(null,!1);G?z(G,[k,yt]):yt()},leave(k,G){const it=String(t.key);if(k[Vs]&&k[Vs](!0),s.isUnmounting)return G();H(d,[k]);let F=!1;k[ne]=yt=>{F||(F=!0,G(),yt?H(b,[k]):H(v,[k]),k[ne]=void 0,D[it]===t&&delete D[it])};const lt=k[ne].bind(null,!1);D[it]=t,m?z(m,[k,lt]):lt()},clone(k){const G=Pi(k,e,s,n,i);return i&&i(G),G}};return $}function Ai(t){if(Cn(t))return t=ve(t),t.children=null,t}function Hr(t){if(!Cn(t))return jr(t.type)&&t.children?Nr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Ms(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ms(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Kr(t,e=!1,s){let n=[],i=0;for(let o=0;o<t.length;o++){let r=t[o];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:o);r.type===dt?(r.patchFlag&128&&i++,n=n.concat(Kr(r.children,e,a))):(e||r.type!==xt)&&n.push(a!=null?ve(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function vd(t,e){return W(t)?mt({name:t.name},e,{setup:t}):t}function Wr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const An=new WeakMap;function Ds(t,e,s,n,i=!1){if(U(t)){t.forEach((b,w)=>Ds(b,e&&(U(e)?e[w]:e),s,n,i));return}if(as(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ds(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Bi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===rt?a.refs={}:a.refs,f=a.setupState,d=Q(f),m=f===rt?Qo:b=>Gr(c,b)?!1:tt(d,b),v=(b,w)=>!(w&&Gr(c,w));if(u!=null&&u!==l){if(zr(e),ut(u))c[u]=null,m(u)&&(f[u]=null);else if(_t(u)){const b=e;v(u,b.k)&&(u.value=null),b.k&&(c[b.k]=null)}}if(W(l))is(l,a,12,[r,c]);else{const b=ut(l),w=_t(l);if(b||w){const C=()=>{if(t.f){const E=b?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)U(E)&&ti(E,o);else if(U(E))E.includes(o)||E.push(o);else if(b)c[l]=[o],m(l)&&(f[l]=c[l]);else{const P=[o];v(l,t.k)&&(l.value=P),t.k&&(c[t.k]=P)}}else b?(c[l]=r,m(l)&&(f[l]=r)):w&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const E=()=>{C(),An.delete(t)};E.id=-1,An.set(t,E),Ot(E,s)}else zr(t),C()}}}function zr(t){const e=An.get(t);e&&(e.flags|=8,An.delete(t))}dn().requestIdleCallback,dn().cancelIdleCallback;const as=t=>!!t.type.__asyncLoader,Cn=t=>t.type.__isKeepAlive;function bd(t,e){qr(t,"a",e)}function _d(t,e){qr(t,"da",e)}function qr(t,e,s=vt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(En(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Cn(i.parent.vnode)&&xd(n,e,s,i),i=i.parent}}function xd(t,e,s,n){const i=En(e,t,n,!0);Vi(()=>{ti(n[e],i)},s)}function En(t,e,s=vt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{te();const a=js(s),l=Zt(e,s,t,r);return a(),ee(),l});return n?i.unshift(o):i.push(o),o}}const ye=t=>(e,s=vt)=>{(!$s||t==="sp")&&En(t,(...n)=>e(...n),s)},Sd=ye("bm"),Ci=ye("m"),Yr=ye("bu"),Xr=ye("u"),Ei=ye("bum"),Vi=ye("um"),Td=ye("sp"),wd=ye("rtg"),Pd=ye("rtc");function Ad(t,e=vt){En("ec",t,e)}const Cd="components",Zr=Symbol.for("v-ndc");function Ed(t){return ut(t)?Vd(Cd,t,!1)||t:t||Zr}function Vd(t,e,s=!0,n=!1){const i=wt||vt;if(i){const o=i.type;{const a=Ra(o,!1);if(a&&(a===e||a===$t(e)||a===fn($t(e))))return o}const r=Jr(i[t]||o[t],e)||Jr(i.appContext[t],e);return!r&&n?o:r}}function Jr(t,e){return t&&(t[e]||t[$t(e)]||t[fn($t(e))])}function Me(t,e,s,n){let i;const o=s,r=U(t);if(r||ut(t)){const a=r&&$e(t);let l=!1,u=!1;a&&(l=!Bt(t),u=ge(t),t=hn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?ss(Xt(t[c])):Xt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(et(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 Md(t,e,s={},n,i){if(wt.ce||wt.parent&&as(wt.parent)&&wt.parent.ce){const u=Object.keys(s).length>0;return I(),kt(dt,null,[st("slot",s,n)],u?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),I();const r=o&&Qr(o(s)),a=s.key||r&&r.key,l=kt(dt,{key:(a&&!qt(a)?a:`_${e}`)+(!r&&n?"_fb":"")},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=>Is(e)?!(e.type===xt||e.type===dt&&!Qr(e.children)):!0)?t:null}const Mi=t=>t?Va(t)?Bi(t):Mi(t.parent):null,Os=mt(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=>Mi(t.parent),$root:t=>Mi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>na(t),$forceUpdate:t=>t.f||(t.f=()=>{Si(t.update)}),$nextTick:t=>t.n||(t.n=ad.bind(t.proxy)),$watch:t=>hd.bind(t)}),Di=(t,e)=>t!==rt&&!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;if(e[0]!=="$"){const d=r[e];if(d!==void 0)switch(d){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!==rt&&tt(i,e))return r[e]=2,i[e];if(tt(o,e))return r[e]=3,o[e];if(s!==rt&&tt(s,e))return r[e]=4,s[e];Oi&&(r[e]=0)}}const u=Os[e];let c,f;if(u)return e==="$attrs"&&Tt(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==rt&&tt(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,tt(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Di(i,e)?(i[e]=s,!0):n!==rt&&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,props:o,type:r}},a){let l;return!!(s[a]||t!==rt&&a[0]!=="$"&&tt(t,a)||Di(e,a)||tt(o,a)||tt(n,a)||tt(Os,a)||tt(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},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(t){const e=Fn();return e.setupContext||(e.setupContext=Oa(e))}function ta(t){return U(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Oi=!0;function Ld(t){const e=na(t),s=t.proxy,n=t.ctx;Oi=!1,e.beforeCreate&&ea(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:m,updated:v,activated:b,deactivated:w,beforeDestroy:C,beforeUnmount:E,destroyed:P,unmounted:A,render:D,renderTracked:H,renderTriggered:z,errorCaptured:$,serverPrefetch:k,expose:G,inheritAttrs:it,components:F,directives:lt,filters:yt}=e;if(u&&Fd(u,n,null),r)for(const Y in r){const X=r[Y];W(X)&&(n[Y]=X.bind(s))}if(i){const Y=i.call(s,s);et(Y)&&(t.data=vi(Y))}if(Oi=!0,o)for(const Y in o){const X=o[Y],Rt=W(X)?X.bind(s,s):W(X.get)?X.get.bind(s,s):zt,vs=!W(X)&&W(X.set)?X.set.bind(s):zt,Je=bt({get:Rt,set:vs});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>Je.value,set:ue=>Je.value=ue})}if(a)for(const Y in a)sa(a[Y],n,s,Y);if(l){const Y=W(l)?l.call(s):l;Reflect.ownKeys(Y).forEach(X=>{Ti(X,Y[X])})}c&&ea(c,t,"c");function q(Y,X){U(X)?X.forEach(Rt=>Y(Rt.bind(s))):X&&Y(X.bind(s))}if(q(Sd,f),q(Ci,d),q(Yr,m),q(Xr,v),q(bd,b),q(_d,w),q(Ad,$),q(Pd,H),q(wd,z),q(Ei,E),q(Vi,A),q(Td,k),U(G))if(G.length){const Y=t.exposed||(t.exposed={});G.forEach(X=>{Object.defineProperty(Y,X,{get:()=>s[X],set:Rt=>s[X]=Rt,enumerable:!0})})}else t.exposed||(t.exposed={});D&&t.render===zt&&(t.render=D),it!=null&&(t.inheritAttrs=it),F&&(t.components=F),lt&&(t.directives=lt),k&&Wr(t)}function Fd(t,e,s=zt){U(t)&&(t=Ri(t));for(const n in t){const i=t[n];let o;et(i)?"default"in i?o=Es(i.from||n,i.default,!0):o=Es(i.from||n):o=Es(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function ea(t,e,s){Zt(U(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function sa(t,e,s,n){let i=n.includes(".")?kr(s,n):()=>s[n];if(ut(t)){const o=e[t];W(o)&&Pn(i,o)}else if(W(t))Pn(i,t.bind(s));else if(et(t))if(U(t))t.forEach(o=>sa(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Pn(i,o,t)}}function na(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!s&&!n?l=e:(l={},i.length&&i.forEach(u=>Vn(l,u,r,!0)),Vn(l,e,r)),et(e)&&o.set(e,l),l}function Vn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Vn(t,o,s,!0),i&&i.forEach(r=>Vn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Id[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Id={data:ia,props:oa,emits:oa,methods:Rs,computed:Rs,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:Rs,directives:Rs,watch:jd,provide:ia,inject:kd};function ia(t,e){return e?t?function(){return mt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function kd(t,e){return Rs(Ri(t),Ri(e))}function Ri(t){if(U(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Et(t,e){return t?[...new Set([].concat(t,e))]:e}function Rs(t,e){return t?mt(Object.create(null),t,e):e}function oa(t,e){return t?U(t)&&U(e)?[...new Set([...t,...e])]:mt(Object.create(null),ta(t),ta(e??{})):e}function jd(t,e){if(!t)return e;if(!e)return t;const s=mt(Object.create(null),t);for(const n in e)s[n]=Et(t[n],e[n]);return s}function ra(){return{app:null,config:{isNativeTag:Qo,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 $d=0;function Bd(t,e){return function(n,i=null){W(n)||(n=mt({},n)),i!=null&&!et(i)&&(i=null);const o=ra(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:$d++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:vh,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 m=u._ceVNode||st(n,i);return m.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(m,c,d),l=!0,u._container=c,c.__vue_app__=u,Bi(m.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;const Nd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${$t(e)}Modifiers`]||t[`${ke(e)}Modifiers`];function Ud(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||rt;let i=s;const o=e.startsWith("update:"),r=o&&Nd(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ut(c)?c.trim():c)),r.number&&(i=s.map(yf)));let a,l=n[a=si(e)]||n[a=si($t(e))];!l&&o&&(l=n[a=si(ke(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)}}const Hd=new WeakMap;function aa(t,e,s=!1){const n=s?Hd: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=aa(u,e,!0);c&&(a=!0,mt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(et(t)&&n.set(t,null),null):(U(o)?o.forEach(l=>r[l]=null):mt(r,o),et(t)&&n.set(t,r),r)}function Mn(t,e){return!t||!cn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,ke(e))||tt(t,e))}function Ub(){}function la(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:m,ctx:v,inheritAttrs:b}=t,w=Tn(t);let C,E;try{if(s.shapeFlag&4){const A=i||n,D=Ee.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(A,{get(H,z,$){return ed(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(H,z,$)}}):A;C=ie(u.call(D,A,c,Ee.NODE_ENV!=="production"?yn(f):f,m,d,v)),E=a}else{const A=e;Ee.NODE_ENV,C=ie(A.length>1?A(Ee.NODE_ENV!=="production"?yn(f):f,Ee.NODE_ENV!=="production"?{get attrs(){return yn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):A(Ee.NODE_ENV!=="production"?yn(f):f,null)),E=e.props?a:Kd(a)}}catch(A){Ls.length=0,xn(A,t,1),C=st(xt)}let P=C;if(E&&b!==!1){const A=Object.keys(E),{shapeFlag:D}=P;A.length&&D&7&&(o&&A.some(Qn)&&(E=Wd(E,o)),P=ve(P,E,!1,!0))}return s.dirs&&(P=ve(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&Ms(P,s.transition),C=P,Tn(w),C}const Kd=t=>{let e;for(const s in t)(s==="class"||s==="style"||cn(s))&&((e||(e={}))[s]=t[s]);return e},Wd=(t,e)=>{const s={};for(const n in t)(!Qn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Gd(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?ca(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(ua(r,n,d)&&!Mn(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ca(n,r,u):!0:!!r;return!1}function ca(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(ua(e,t,o)&&!Mn(s,o))return!0}return!1}function ua(t,e,s){const n=t[s],i=e[s];return s==="style"&&et(n)&&et(i)?!oi(n,i):n!==i}function zd({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 fa={},da=()=>Object.create(fa),ha=t=>Object.getPrototypeOf(t)===fa;function qd(t,e,s,n=!1){const i={},o=da();t.propsDefaults=Object.create(null),pa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Gf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Yd(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Q(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 m=e[d];if(l)if(tt(o,d))m!==o[d]&&(o[d]=m,u=!0);else{const v=$t(d);i[v]=Li(l,a,v,m,t,!1)}else m!==o[d]&&(o[d]=m,u=!0)}}}else{pa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=ke(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Li(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&&pe(t.attrs,"set","")}function pa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(_s(l))continue;const u=e[l];let c;i&&tt(i,c=$t(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=Q(s),u=a||rt;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Li(i,l,f,u[f],t,!tt(u,f))}}return r}function Li(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=js(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===ke(s))&&(n=!0))}return n}const Xd=new WeakMap;function ma(t,e,s=!1){const n=s?Xd: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,m]=ma(f,e,!0);mt(r,d),m&&a.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return et(t)&&n.set(t,Qe),Qe;if(U(o))for(let c=0;c<o.length;c++){const f=$t(o[c]);ga(f)&&(r[f]=rt)}else if(o)for(const c in o){const f=$t(c);if(ga(f)){const d=o[c],m=r[f]=U(d)||W(d)?{type:d}:mt({},d),v=m.type;let b=!1,w=!0;if(U(v))for(let C=0;C<v.length;++C){const E=v[C],P=W(E)&&E.name;if(P==="Boolean"){b=!0;break}else P==="String"&&(w=!1)}else b=W(v)&&v.name==="Boolean";m[0]=b,m[1]=w,(b||tt(m,"default"))&&a.push(f)}}const u=[r,a];return et(t)&&n.set(t,u),u}function ga(t){return t[0]!=="$"&&!_s(t)}const Fi=t=>t==="_"||t==="_ctx"||t==="$stable",Ii=t=>U(t)?t.map(ie):[ie(t)],Zd=(t,e,s)=>{if(e._n)return e;const n=wn((...i)=>(Ee.NODE_ENV!=="production"&&vt&&!(s===null&&wt)&&(s&&(s.root,vt.root)),Ii(e(...i))),s);return n._c=!1,n},ya=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Fi(i))continue;const o=t[i];if(W(o))e[i]=Zd(i,o,n);else if(o!=null){const r=Ii(o);e[i]=()=>r}}},va=(t,e)=>{const s=Ii(e);t.slots.default=()=>s},ba=(t,e,s)=>{for(const n in e)(s||!Fi(n))&&(t[n]=e[n])},Jd=(t,e,s)=>{const n=t.slots=da();if(t.vnode.shapeFlag&32){const i=e._;i?(ba(n,e,s),s&&or(n,"_",i,!0)):ya(e,n)}else e&&va(t,e)},Qd=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=rt;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:ba(i,e,s):(o=!e.$stable,ya(e,i)),r=e}else e&&(va(t,e),r={default:1});if(o)for(const a in i)!Fi(a)&&r[a]==null&&delete i[a]},Ot=ih;function th(t){return eh(t)}function eh(t,e){const s=dn();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:m=zt,insertStaticContent:v}=t,b=(h,p,y,T=null,_=null,x=null,O=void 0,M=null,V=!!p.dynamicChildren)=>{if(h===p)return;h&&!He(h,p)&&(T=Jn(h),ue(h,_,x,!0),h=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:S,ref:N,shapeFlag:R}=p;switch(S){case Dn:w(h,p,y,T);break;case xt:C(h,p,y,T);break;case On:h==null&&E(p,y,T,O);break;case dt:F(h,p,y,T,_,x,O,M,V);break;default:R&1?D(h,p,y,T,_,x,O,M,V):R&6?lt(h,p,y,T,_,x,O,M,V):(R&64||R&128)&&S.process(h,p,y,T,_,x,O,M,V,an)}N!=null&&_?Ds(N,h&&h.ref,x,p||h,!p):N==null&&h&&h.ref!=null&&Ds(h.ref,null,x,h,!0)},w=(h,p,y,T)=>{if(h==null)n(p.el=a(p.children),y,T);else{const _=p.el=h.el;p.children!==h.children&&u(_,p.children)}},C=(h,p,y,T)=>{h==null?n(p.el=l(p.children||""),y,T):p.el=h.el},E=(h,p,y,T)=>{[h.el,h.anchor]=v(h.children,p,y,T,h.el,h.anchor)},P=({el:h,anchor:p},y,T)=>{let _;for(;h&&h!==p;)_=d(h),n(h,y,T),h=_;n(p,y,T)},A=({el:h,anchor:p})=>{let y;for(;h&&h!==p;)y=d(h),i(h),h=y;i(p)},D=(h,p,y,T,_,x,O,M,V)=>{if(p.type==="svg"?O="svg":p.type==="math"&&(O="mathml"),h==null)H(p,y,T,_,x,O,M,V);else{const S=h.el&&h.el._isVueCE?h.el:null;try{S&&S._beginPatch(),k(h,p,_,x,O,M,V)}finally{S&&S._endPatch()}}},H=(h,p,y,T,_,x,O,M)=>{let V,S;const{props:N,shapeFlag:R,transition:j,dirs:K}=h;if(V=h.el=r(h.type,x,N&&N.is,N),R&8?c(V,h.children):R&16&&$(h.children,V,null,T,_,ki(h,x),O,M),K&&Ne(h,null,T,"created"),z(V,h,h.scopeId,O,T),N){for(const ct in N)ct!=="value"&&!_s(ct)&&o(V,ct,null,N[ct],x,T);"value"in N&&o(V,"value",null,N.value,x),(S=N.onVnodeBeforeMount)&&oe(S,T,h)}K&&Ne(h,null,T,"beforeMount");const Z=sh(_,j);Z&&j.beforeEnter(V),n(V,p,y),((S=N&&N.onVnodeMounted)||Z||K)&&Ot(()=>{S&&oe(S,T,h),Z&&j.enter(V),K&&Ne(h,null,T,"mounted")},_)},z=(h,p,y,T,_)=>{if(y&&m(h,y),T)for(let x=0;x<T.length;x++)m(h,T[x]);if(_){let x=_.subTree;if(p===x||wa(x.type)&&(x.ssContent===p||x.ssFallback===p)){const O=_.vnode;z(h,O,O.scopeId,O.slotScopeIds,_.parent)}}},$=(h,p,y,T,_,x,O,M,V=0)=>{for(let S=V;S<h.length;S++){const N=h[S]=M?be(h[S]):ie(h[S]);b(null,N,p,y,T,_,x,O,M)}},k=(h,p,y,T,_,x,O)=>{const M=p.el=h.el;let{patchFlag:V,dynamicChildren:S,dirs:N}=p;V|=h.patchFlag&16;const R=h.props||rt,j=p.props||rt;let K;if(y&&Ue(y,!1),(K=j.onVnodeBeforeUpdate)&&oe(K,y,p,h),N&&Ne(p,h,y,"beforeUpdate"),y&&Ue(y,!0),(R.innerHTML&&j.innerHTML==null||R.textContent&&j.textContent==null)&&c(M,""),S?G(h.dynamicChildren,S,M,y,T,ki(p,_),x):O||X(h,p,M,null,y,T,ki(p,_),x,!1),V>0){if(V&16)it(M,R,j,y,_);else if(V&2&&R.class!==j.class&&o(M,"class",null,j.class,_),V&4&&o(M,"style",R.style,j.style,_),V&8){const Z=p.dynamicProps;for(let ct=0;ct<Z.length;ct++){const ot=Z[ct],Lt=R[ot],Ft=j[ot];(Ft!==Lt||ot==="value")&&o(M,ot,Lt,Ft,_,y)}}V&1&&h.children!==p.children&&c(M,p.children)}else!O&&S==null&&it(M,R,j,y,_);((K=j.onVnodeUpdated)||N)&&Ot(()=>{K&&oe(K,y,p,h),N&&Ne(p,h,y,"updated")},T)},G=(h,p,y,T,_,x,O)=>{for(let M=0;M<p.length;M++){const V=h[M],S=p[M],N=V.el&&(V.type===dt||!He(V,S)||V.shapeFlag&198)?f(V.el):y;b(V,S,N,null,T,_,x,O,!0)}},it=(h,p,y,T,_)=>{if(p!==y){if(p!==rt)for(const x in p)!_s(x)&&!(x in y)&&o(h,x,p[x],null,_,T);for(const x in y){if(_s(x))continue;const O=y[x],M=p[x];O!==M&&x!=="value"&&o(h,x,M,O,_,T)}"value"in y&&o(h,"value",p.value,y.value,_)}},F=(h,p,y,T,_,x,O,M,V)=>{const S=p.el=h?h.el:a(""),N=p.anchor=h?h.anchor:a("");let{patchFlag:R,dynamicChildren:j,slotScopeIds:K}=p;K&&(M=M?M.concat(K):K),h==null?(n(S,y,T),n(N,y,T),$(p.children||[],y,N,_,x,O,M,V)):R>0&&R&64&&j&&h.dynamicChildren&&h.dynamicChildren.length===j.length?(G(h.dynamicChildren,j,y,_,x,O,M),(p.key!=null||_&&p===_.subTree)&&_a(h,p,!0)):X(h,p,y,N,_,x,O,M,V)},lt=(h,p,y,T,_,x,O,M,V)=>{p.slotScopeIds=M,h==null?p.shapeFlag&512?_.ctx.activate(p,y,T,O,V):yt(p,y,T,_,x,O,V):Gt(h,p,V)},yt=(h,p,y,T,_,x,O)=>{const M=h.component=fh(h,T,_);if(Cn(h)&&(M.ctx.renderer=an),dh(M,!1,O),M.asyncDep){if(_&&_.registerDep(M,q,O),!h.el){const V=M.subTree=st(xt);C(null,V,p,y),h.placeholder=V.el}}else q(M,h,p,y,_,x,O)},Gt=(h,p,y)=>{const T=p.component=h.component;if(Gd(h,p,y))if(T.asyncDep&&!T.asyncResolved){Y(T,p,y);return}else T.next=p,T.update();else p.el=h.el,T.vnode=p},q=(h,p,y,T,_,x,O)=>{const M=()=>{if(h.isMounted){let{next:R,bu:j,u:K,parent:Z,vnode:ct}=h;{const de=xa(h);if(de){R&&(R.el=ct.el,Y(h,R,O)),de.asyncDep.then(()=>{Ot(()=>{h.isUnmounted||S()},_)});return}}let ot=R,Lt;Ue(h,!1),R?(R.el=ct.el,Y(h,R,O)):R=ct,j&&ni(j),(Lt=R.props&&R.props.onVnodeBeforeUpdate)&&oe(Lt,Z,R,ct),Ue(h,!0);const Ft=la(h),fe=h.subTree;h.subTree=Ft,b(fe,Ft,f(fe.el),Jn(fe),h,_,x),R.el=Ft.el,ot===null&&zd(h,Ft.el),K&&Ot(K,_),(Lt=R.props&&R.props.onVnodeUpdated)&&Ot(()=>oe(Lt,Z,R,ct),_)}else{let R;const{el:j,props:K}=p,{bm:Z,m:ct,parent:ot,root:Lt,type:Ft}=h,fe=as(p);Ue(h,!1),Z&&ni(Z),!fe&&(R=K&&K.onVnodeBeforeMount)&&oe(R,ot,p),Ue(h,!0);{Lt.ce&&Lt.ce._hasShadowRoot()&&Lt.ce._injectChildStyle(Ft);const de=h.subTree=la(h);b(null,de,y,T,h,_,x),p.el=de.el}if(ct&&Ot(ct,_),!fe&&(R=K&&K.onVnodeMounted)){const de=p;Ot(()=>oe(R,ot,de),_)}(p.shapeFlag&256||ot&&as(ot.vnode)&&ot.vnode.shapeFlag&256)&&h.a&&Ot(h.a,_),h.isMounted=!0,p=y=T=null}};h.scope.on();const V=h.effect=new ur(M);h.scope.off();const S=h.update=V.run.bind(V),N=h.job=V.runIfDirty.bind(V);N.i=h,N.id=h.uid,V.scheduler=()=>Si(N),Ue(h,!0),S()},Y=(h,p,y)=>{p.component=h;const T=h.vnode.props;h.vnode=p,h.next=null,Yd(h,p.props,T,y),Qd(h,p.children,y),te(),Rr(h),ee()},X=(h,p,y,T,_,x,O,M,V=!1)=>{const S=h&&h.children,N=h?h.shapeFlag:0,R=p.children,{patchFlag:j,shapeFlag:K}=p;if(j>0){if(j&128){vs(S,R,y,T,_,x,O,M,V);return}else if(j&256){Rt(S,R,y,T,_,x,O,M,V);return}}K&8?(N&16&&rn(S,_,x),R!==S&&c(y,R)):N&16?K&16?vs(S,R,y,T,_,x,O,M,V):rn(S,_,x,!0):(N&8&&c(y,""),K&16&&$(R,y,T,_,x,O,M,V))},Rt=(h,p,y,T,_,x,O,M,V)=>{h=h||Qe,p=p||Qe;const S=h.length,N=p.length,R=Math.min(S,N);let j;for(j=0;j<R;j++){const K=p[j]=V?be(p[j]):ie(p[j]);b(h[j],K,y,null,_,x,O,M,V)}S>N?rn(h,_,x,!0,!1,R):$(p,y,T,_,x,O,M,V,R)},vs=(h,p,y,T,_,x,O,M,V)=>{let S=0;const N=p.length;let R=h.length-1,j=N-1;for(;S<=R&&S<=j;){const K=h[S],Z=p[S]=V?be(p[S]):ie(p[S]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;S++}for(;S<=R&&S<=j;){const K=h[R],Z=p[j]=V?be(p[j]):ie(p[j]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;R--,j--}if(S>R){if(S<=j){const K=j+1,Z=K<N?p[K].el:T;for(;S<=j;)b(null,p[S]=V?be(p[S]):ie(p[S]),y,Z,_,x,O,M,V),S++}}else if(S>j)for(;S<=R;)ue(h[S],_,x,!0),S++;else{const K=S,Z=S,ct=new Map;for(S=Z;S<=j;S++){const jt=p[S]=V?be(p[S]):ie(p[S]);jt.key!=null&&ct.set(jt.key,S)}let ot,Lt=0;const Ft=j-Z+1;let fe=!1,de=0;const ln=new Array(Ft);for(S=0;S<Ft;S++)ln[S]=0;for(S=K;S<=R;S++){const jt=h[S];if(Lt>=Ft){ue(jt,_,x,!0);continue}let he;if(jt.key!=null)he=ct.get(jt.key);else for(ot=Z;ot<=j;ot++)if(ln[ot-Z]===0&&He(jt,p[ot])){he=ot;break}he===void 0?ue(jt,_,x,!0):(ln[he-Z]=S+1,he>=de?de=he:fe=!0,b(jt,p[he],y,null,_,x,O,M,V),Lt++)}const uf=fe?nh(ln):Qe;for(ot=uf.length-1,S=Ft-1;S>=0;S--){const jt=Z+S,he=p[jt],ff=p[jt+1],df=jt+1<N?ff.el||Ta(ff):T;ln[S]===0?b(null,he,y,df,_,x,O,M,V):fe&&(ot<0||S!==uf[ot]?Je(he,y,df,2):ot--)}}},Je=(h,p,y,T,_=null)=>{const{el:x,type:O,transition:M,children:V,shapeFlag:S}=h;if(S&6){Je(h.component.subTree,p,y,T);return}if(S&128){h.suspense.move(p,y,T);return}if(S&64){O.move(h,p,y,an);return}if(O===dt){n(x,p,y);for(let R=0;R<V.length;R++)Je(V[R],p,y,T);n(h.anchor,p,y);return}if(O===On){P(h,p,y);return}if(T!==2&&S&1&&M)if(T===0)M.beforeEnter(x),n(x,p,y),Ot(()=>M.enter(x),_);else{const{leave:R,delayLeave:j,afterLeave:K}=M,Z=()=>{h.ctx.isUnmounted?i(x):n(x,p,y)},ct=()=>{x._isLeaving&&x[ne](!0),R(x,()=>{Z(),K&&K()})};j?j(x,Z,ct):ct()}else n(x,p,y)},ue=(h,p,y,T=!1,_=!1)=>{const{type:x,props:O,ref:M,children:V,dynamicChildren:S,shapeFlag:N,patchFlag:R,dirs:j,cacheIndex:K}=h;if(R===-2&&(_=!1),M!=null&&(te(),Ds(M,null,y,h,!0),ee()),K!=null&&(p.renderCache[K]=void 0),N&256){p.ctx.deactivate(h);return}const Z=N&1&&j,ct=!as(h);let ot;if(ct&&(ot=O&&O.onVnodeBeforeUnmount)&&oe(ot,p,h),N&6)Bb(h.component,y,T);else{if(N&128){h.suspense.unmount(y,T);return}Z&&Ne(h,null,p,"beforeUnmount"),N&64?h.type.remove(h,p,y,an,T):S&&!S.hasOnce&&(x!==dt||R>0&&R&64)?rn(S,p,y,!1,!0):(x===dt&&R&384||!_&&N&16)&&rn(V,p,y),T&&lf(h)}(ct&&(ot=O&&O.onVnodeUnmounted)||Z)&&Ot(()=>{ot&&oe(ot,p,h),Z&&Ne(h,null,p,"unmounted")},y)},lf=h=>{const{type:p,el:y,anchor:T,transition:_}=h;if(p===dt){$b(y,T);return}if(p===On){A(h);return}const x=()=>{i(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(h.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:M}=_,V=()=>O(y,x);M?M(h.el,x,V):V()}else x()},$b=(h,p)=>{let y;for(;h!==p;)y=d(h),i(h),h=y;i(p)},Bb=(h,p,y)=>{const{bum:T,scope:_,job:x,subTree:O,um:M,m:V,a:S}=h;Sa(V),Sa(S),T&&ni(T),_.stop(),x&&(x.flags|=8,ue(O,h,p,y)),M&&Ot(M,p),Ot(()=>{h.isUnmounted=!0},p)},rn=(h,p,y,T=!1,_=!1,x=0)=>{for(let O=x;O<h.length;O++)ue(h[O],p,y,T,_)},Jn=h=>{if(h.shapeFlag&6)return Jn(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const p=d(h.anchor||h.el),y=p&&p[pd];return y?d(y):p};let Jo=!1;const cf=(h,p,y)=>{let T;h==null?p._vnode&&(ue(p._vnode,null,null,!0),T=p._vnode.component):b(p._vnode||null,h,p,null,null,null,y),p._vnode=h,Jo||(Jo=!0,Rr(T),Lr(),Jo=!1)},an={p:b,um:ue,m:Je,r:lf,mt:yt,mc:$,pc:X,pbc:G,n:Jn,o:t};return{render:cf,hydrate:void 0,createApp:Bd(cf)}}function ki({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 sh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function _a(t,e,s=!1){const n=t.children,i=e.children;if(U(n)&&U(i))for(let o=0;o<n.length;o++){const r=n[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=be(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&_a(r,a)),a.type===Dn&&(a.patchFlag===-1&&(a=i[o]=be(a)),a.el=r.el),a.type===xt&&!a.el&&(a.el=r.el)}}function nh(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 xa(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:xa(e)}function Sa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ta(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ta(e.subTree):null}const wa=t=>t.__isSuspense;function ih(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):cd(t)}const dt=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),Ls=[];let It=null;function I(t=!1){Ls.push(It=t?null:[])}function oh(){Ls.pop(),It=Ls[Ls.length-1]||null}let Fs=1;function Rn(t,e=!1){Fs+=t,t<0&&It&&e&&(It.hasOnce=!0)}function Pa(t){return t.dynamicChildren=Fs>0?It||Qe:null,oh(),Fs>0&&It&&It.push(t),t}function B(t,e,s,n,i,o){return Pa(g(t,e,s,n,i,o,!0))}function kt(t,e,s,n,i){return Pa(st(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function He(t,e){return t.type===e.type&&t.key===e.key}const Aa=({key:t})=>t??null,Ln=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ut(t)||_t(t)||W(t)?{i:wt,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===dt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Aa(e),ref:e&&Ln(e),scopeId:Ir,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:wt};return a?(ji(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ut(s)?8:16),Fs>0&&!r&&It&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&It.push(l),l}const st=rh;function rh(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Zr)&&(t=xt),Is(t)){const a=ve(t,e,!0);return s&&ji(a,s),Fs>0&&!o&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag=-2,a}if(yh(t)&&(t=t.__vccOpts),e){e=ah(e);let{class:a,style:l}=e;a&&!ut(a)&&(e.class=At(a)),et(l)&&(_i(l)&&!U(l)&&(l=mt({},l)),e.style=ii(l))}const r=ut(t)?1:wa(t)?128:jr(t)?64:et(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function ah(t){return t?_i(t)||ha(t)?mt({},t):t:null}function ve(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Ca(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Aa(u),ref:e&&e.ref?s&&o?U(o)?o.concat(Ln(e)):[o,Ln(e)]:Ln(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==dt?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&&ve(t.ssContent),ssFallback:t.ssFallback&&ve(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ms(c,l.clone(c)),c}function ks(t=" ",e=0){return st(Dn,null,t,e)}function lh(t,e){const s=st(On,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?(I(),kt(xt,null,t)):st(xt,null,t)}function ie(t){return t==null||typeof t=="boolean"?st(xt):U(t)?st(dt,null,t.slice()):Is(t)?be(t):st(Dn,null,String(t))}function be(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ve(t)}function ji(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(U(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),ji(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!ha(e)?e._ctx=wt:i===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:wt},s=32):(e=String(e),n&64?(s=16,e=[ks(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ca(...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=At([e.class,n.class]));else if(i==="style")e.style=ii([e.style,n.style]);else if(cn(i)){const o=e[i],r=n[i];r&&o!==r&&!(U(o)&&o.includes(r))&&(e[i]=o?[].concat(o,r):r)}else i!==""&&(e[i]=n[i])}return e}function oe(t,e,s,n=null){Zt(t,e,7,[s,n])}const ch=ra();let uh=0;function fh(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ch,o={uid:uh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Af(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ma(n,i),emitsOptions:aa(n,i),emit:null,emitted:null,propsDefaults:rt,inheritAttrs:n.inheritAttrs,ctx:rt,data:rt,props:rt,attrs:rt,slots:rt,refs:rt,setupState:rt,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=Ud.bind(null,o),t.ce&&t.ce(o),o}let vt=null;const Fn=()=>vt||wt;let In,$i;{const t=dn(),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)}};In=e("__VUE_INSTANCE_SETTERS__",s=>vt=s),$i=e("__VUE_SSR_SETTERS__",s=>$s=s)}const js=t=>{const e=vt;return In(t),t.scope.on(),()=>{t.scope.off(),In(e)}},Ea=()=>{vt&&vt.scope.off(),In(null)};function Va(t){return t.vnode.shapeFlag&4}let $s=!1;function dh(t,e=!1,s=!1){e&&$i(e);const{props:n,children:i}=t.vnode,o=Va(t);qd(t,n,o,e),Jd(t,i,s||e);const r=o?hh(t,e):void 0;return e&&$i(!1),r}function hh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Dd);const{setup:n}=s;if(n){te();const i=t.setupContext=n.length>1?Oa(t):null,o=js(t),r=is(n,t,0,[t.props,i]),a=sr(r);if(ee(),o(),(a||t.sp)&&!as(t)&&Wr(t),a){if(r.then(Ea,Ea),e)return r.then(l=>{Ma(t,l)}).catch(l=>{xn(l,t,0)});t.asyncDep=r}else Ma(t,r)}else Da(t)}function Ma(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:et(e)&&(t.setupState=Vr(e)),Da(t)}function Da(t,e,s){const n=t.type;t.render||(t.render=n.render||zt);{const i=js(t);te();try{Ld(t)}finally{ee(),i()}}}const ph={get(t,e){return Tt(t,"get",""),t[e]}};function Oa(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,ph),slots:t.slots,emit:t.emit,expose:e}}function Bi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Vr(zf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Os)return Os[s](t)},has(e,s){return s in e||s in Os}})):t.proxy}const mh=/(?:^|[-_])\w/g,gh=t=>t.replace(mh,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ra(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function La(t,e,s=!1){let n=Ra(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?gh(n):s?"App":"Anonymous"}function yh(t){return W(t)&&"__vccOpts"in t}const bt=(t,e)=>Jf(t,e,$s);function Ni(t,e,s){try{Rn(-1);const n=arguments.length;return n===2?et(e)&&!U(e)?Is(e)?st(t,null,[e]):st(t,e):st(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),st(t,e,s))}finally{Rn(1)}}const vh="3.5.29";let Ui;const Fa=typeof window<"u"&&window.trustedTypes;if(Fa)try{Ui=Fa.createPolicy("vue",{createHTML:t=>t})}catch{}const Ia=Ui?t=>Ui.createHTML(t):t=>t,bh="http://www.w3.org/2000/svg",_h="http://www.w3.org/1998/Math/MathML",_e=typeof document<"u"?document:null,ka=_e&&_e.createElement("template"),xh={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"?_e.createElementNS(bh,t):e==="mathml"?_e.createElementNS(_h,t):s?_e.createElement(t,{is:s}):_e.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>_e.createTextNode(t),createComment:t=>_e.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>_e.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{ka.innerHTML=Ia(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=ka.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]}},De="transition",Bs="animation",Ns=Symbol("_vtc"),ja={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},Sh=mt({},$r,ja),Th=(t=>(t.displayName="Transition",t.props=Sh,t))((t,{slots:e})=>Ni(yd,wh(t),e)),Ke=(t,e=[])=>{U(t)?t.forEach(s=>s(...e)):t&&t(...e)},$a=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function wh(t){const e={};for(const F in t)F in ja||(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:m=`${s}-leave-to`}=t,v=Ph(i),b=v&&v[0],w=v&&v[1],{onBeforeEnter:C,onEnter:E,onEnterCancelled:P,onLeave:A,onLeaveCancelled:D,onBeforeAppear:H=C,onAppear:z=E,onAppearCancelled:$=P}=e,k=(F,lt,yt,Gt)=>{F._enterCancelled=Gt,We(F,lt?c:a),We(F,lt?u:r),yt&&yt()},G=(F,lt)=>{F._isLeaving=!1,We(F,f),We(F,m),We(F,d),lt&<()},it=F=>(lt,yt)=>{const Gt=F?z:E,q=()=>k(lt,F,yt);Ke(Gt,[lt,q]),Ba(()=>{We(lt,F?l:o),xe(lt,F?c:a),$a(Gt)||Na(lt,n,b,q)})};return mt(e,{onBeforeEnter(F){Ke(C,[F]),xe(F,o),xe(F,r)},onBeforeAppear(F){Ke(H,[F]),xe(F,l),xe(F,u)},onEnter:it(!1),onAppear:it(!0),onLeave(F,lt){F._isLeaving=!0;const yt=()=>G(F,lt);xe(F,f),F._enterCancelled?(xe(F,d),Ka(F)):(Ka(F),xe(F,d)),Ba(()=>{F._isLeaving&&(We(F,f),xe(F,m),$a(A)||Na(F,n,w,yt))}),Ke(A,[F,yt])},onEnterCancelled(F){k(F,!1,void 0,!0),Ke(P,[F])},onAppearCancelled(F){k(F,!0,void 0,!0),Ke($,[F])},onLeaveCancelled(F){G(F),Ke(D,[F])}})}function Ph(t){if(t==null)return null;if(et(t))return[Hi(t.enter),Hi(t.leave)];{const e=Hi(t);return[e,e]}}function Hi(t){return vf(t)}function xe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Ns]||(t[Ns]=new Set)).add(e)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Ns];s&&(s.delete(e),s.size||(t[Ns]=void 0))}function Ba(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ah=0;function Na(t,e,s,n){const i=t._endId=++Ah,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ch(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,d),o()},d=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function Ch(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${De}Delay`),o=n(`${De}Duration`),r=Ua(i,o),a=n(`${Bs}Delay`),l=n(`${Bs}Duration`),u=Ua(a,l);let c=null,f=0,d=0;e===De?r>0&&(c=De,f=r,d=o.length):e===Bs?u>0&&(c=Bs,f=u,d=l.length):(f=Math.max(r,u),c=f>0?r>u?De:Bs:null,d=c?c===De?o.length:l.length:0);const m=c===De&&/\b(?:transform|all)(?:,|$)/.test(n(`${De}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:m}}function Ua(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Ha(s)+Ha(t[n])))}function Ha(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ka(t){return(t?t.ownerDocument:document).body.offsetHeight}function Eh(t,e,s){const n=t[Ns];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Wa=Symbol("_vod"),Vh=Symbol("_vsh"),Mh=Symbol(""),Dh=/(?:^|;)\s*display\s*:/;function Oh(t,e,s){const n=t.style,i=ut(s);let o=!1;if(s&&!i){if(e)if(ut(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&kn(n,a,"")}else for(const r in e)s[r]==null&&kn(n,r,"");for(const r in s)r==="display"&&(o=!0),kn(n,r,s[r])}else if(i){if(e!==s){const r=n[Mh];r&&(s+=";"+r),n.cssText=s,o=Dh.test(s)}}else e&&t.removeAttribute("style");Wa in t&&(t[Wa]=o?n.display:"",t[Vh]&&(n.display="none"))}const Ga=/\s*!important$/;function kn(t,e,s){if(U(s))s.forEach(n=>kn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Rh(t,e);Ga.test(s)?t.setProperty(ke(n),s.replace(Ga,""),"important"):t[n]=s}}const za=["Webkit","Moz","ms"],Ki={};function Rh(t,e){const s=Ki[e];if(s)return s;let n=$t(e);if(n!=="filter"&&n in t)return Ki[e]=n;n=fn(n);for(let i=0;i<za.length;i++){const o=za[i]+n;if(o in t)return Ki[e]=o}return e}const qa="http://www.w3.org/1999/xlink";function Ya(t,e,s,n,i,o=Tf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(qa,e.slice(6,e.length)):t.setAttributeNS(qa,e,s):s==null||o&&!ar(s)?t.removeAttribute(e):t.setAttribute(e,o?"":qt(s)?String(s):s)}function Xa(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ia(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=ar(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 Lh(t,e,s,n){t.addEventListener(e,s,n)}function Fh(t,e,s,n){t.removeEventListener(e,s,n)}const Za=Symbol("_vei");function Ih(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]=kh(e);if(n){const u=o[e]=Bh(n,i);Lh(t,a,u,l)}else r&&(Fh(t,a,r,l),o[e]=void 0)}}const Ja=/(?:Once|Passive|Capture)$/;function kh(t){let e;if(Ja.test(t)){e={};let n;for(;n=t.match(Ja);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ke(t.slice(2)),e]}let Wi=0;const jh=Promise.resolve(),$h=()=>Wi||(jh.then(()=>Wi=0),Wi=Date.now());function Bh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Zt(Nh(n,s.value),e,5,[n])};return s.value=t,s.attached=$h(),s}function Nh(t,e){if(U(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Qa=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Uh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Eh(t,n,r):e==="style"?Oh(t,s,n):cn(e)?Qn(e)||Ih(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hh(t,e,n,r))?(Xa(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Ya(t,e,n,r,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ut(n))?Xa(t,$t(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Ya(t,e,n,r))};function Hh(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Qa(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Qa(e)&&ut(s)?!1:e in t}const Kh=mt({patchProp:Uh},xh);let tl;function Wh(){return tl||(tl=th(Kh))}const el=((...t)=>{const e=Wh().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=zh(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,Gh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function Gh(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function zh(t){return ut(t)?document.querySelector(t):t}const qh={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Yh={class:"slds-grid slds-grid_align-spread slds-wrap"},Xh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Zh={key:0,class:"slds-text-color_weak"},Jh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Qh={class:"slds-text-color_weak"},tp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},ep={class:"slds-text-color_weak"},sp={__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)=>(I(),B("footer",qh,[g("div",Yh,[g("div",Xh,[t.description?(I(),B("span",Zh,J(t.description),1)):Ut("",!0)]),g("div",Jh,[g("span",Qh,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",tp,[g("span",ep," Generated at: "+J(e(t.generatedAt)),1)])])]))}},sl="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-62m-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21m434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021M467%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-15m210-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",np={class:"slds-page-header"},ip={class:"slds-page-header__row"},op={class:"slds-page-header__col-title"},rp={class:"slds-media"},ap={class:"slds-media__body"},lp={class:"slds-page-header__name"},cp={class:"slds-page-header__name-title"},up=["title"],fp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(I(),B("header",np,[g("div",ip,[g("div",op,[g("div",rp,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",ap,[g("div",lp,[g("div",cp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,up)])])])])])])]))}};function Us(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Es(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Ti(n,r),r),n]}function dp(t,e){const{layoutGroup:s,presenceContext:n,config:i}=e,o=s.id&&t.layoutId?`${s.id}-${t.layoutId}`:t.layoutId||void 0;return{...t,layoutId:o,transition:t.transition??i.transition,layoutGroup:s,motionConfig:i,inViewOptions:t.inViewOptions??i.inViewOptions,presenceContext:n,initial:n.initial===!1?n.initial:t.initial===!0?void 0:t.initial}}function Gi(t,e){t.indexOf(e)===-1&&t.push(e)}function jn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const re=(t,e,s)=>s>e?e:s<t?t:s;let zi=()=>{};const Se={},nl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function il(t){return typeof t=="object"&&t!==null}const ol=t=>/^0[^.\s]+$/u.test(t);function rl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ht=t=>t,hp=(t,e)=>s=>e(t(s)),Hs=(...t)=>t.reduce(hp),Ks=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};class qi{constructor(){this.subscriptions=[]}add(e){return Gi(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 ae=t=>t*1e3,Kt=t=>t/1e3;function al(t,e){return e?t*(1e3/e):0}const ll=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,pp=1e-7,mp=12;function gp(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=ll(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>pp&&++a<mp);return r}function Ws(t,e,s,n){if(t===e&&s===n)return Ht;const i=o=>gp(o,0,1,t,s);return o=>o===0||o===1?o:ll(i(o),e,n)}const cl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ul=t=>e=>1-t(1-e),fl=Ws(.33,1.53,.69,.99),Yi=ul(fl),dl=cl(Yi),hl=t=>(t*=2)<1?.5*Yi(t):.5*(2-Math.pow(2,-10*(t-1))),Xi=t=>1-Math.sin(Math.acos(t)),pl=ul(Xi),ml=cl(Xi),yp=Ws(.42,0,1,1),vp=Ws(0,0,.58,1),gl=Ws(.42,0,.58,1),bp=t=>Array.isArray(t)&&typeof t[0]!="number",yl=t=>Array.isArray(t)&&typeof t[0]=="number",_p={linear:Ht,easeIn:yp,easeInOut:gl,easeOut:vp,circIn:Xi,circInOut:ml,circOut:pl,backIn:Yi,backInOut:dl,backOut:fl,anticipate:hl},xp=t=>typeof t=="string",vl=t=>{if(yl(t)){zi(t.length===4);const[e,s,n,i]=t;return Ws(e,s,n,i)}else if(xp(t))return _p[t];return t},$n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Sp(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 v=d&&i?s:n;return f&&r.add(c),v.has(c)||v.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[s,n]=[n,s],s.forEach(l),s.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const Tp=40;function bl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=$n.reduce((P,A)=>(P[A]=Sp(o),P),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:d,render:m,postRender:v}=r,b=()=>{const P=Se.useManualTiming?i.timestamp:performance.now();s=!1,Se.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(P-i.timestamp,Tp),1)),i.timestamp=P,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(b))},w=()=>{s=!0,n=!0,i.isProcessing||t(b)};return{schedule:$n.reduce((P,A)=>{const D=r[A];return P[A]=(H,z=!1,$=!1)=>(s||w(),D.schedule(H,z,$)),P},{}),cancel:P=>{for(let A=0;A<$n.length;A++)r[$n[A]].cancel(P)},state:i,steps:r}}const{schedule:nt,cancel:Oe,state:St,steps:Zi}=bl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ht,!0);let Bn;function wp(){Bn=void 0}const Vt={now:()=>(Bn===void 0&&Vt.set(St.isProcessing||Se.useManualTiming?St.timestamp:performance.now()),Bn),set:t=>{Bn=t,queueMicrotask(wp)}},_l=t=>e=>typeof e=="string"&&e.startsWith(t),Ji=_l("--"),Pp=_l("var(--"),Qi=t=>Pp(t)?Ap.test(t.split("/*")[0].trim()):!1,Ap=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const cs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Gs={...cs,transform:t=>re(0,1,t)},Nn={...cs,default:1},zs=t=>Math.round(t*1e5)/1e5,to=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Cp(t){return t==null}const Ep=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eo=(t,e)=>s=>!!(typeof s=="string"&&Ep.test(s)&&s.startsWith(t)||e&&!Cp(s)&&Object.prototype.hasOwnProperty.call(s,e)),Sl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(to);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Vp=t=>re(0,255,t),so={...cs,transform:t=>Math.round(Vp(t))},Ge={test:eo("rgb","red"),parse:Sl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+so.transform(t)+", "+so.transform(e)+", "+so.transform(s)+", "+zs(Gs.transform(n))+")"};function Mp(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 no={test:eo("#"),parse:Mp,transform:Ge.transform},qs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Re=qs("deg"),le=qs("%"),L=qs("px"),Dp=qs("vh"),Op=qs("vw"),Tl={...le,parse:t=>le.parse(t)/100,transform:t=>le.transform(t*100)},us={test:eo("hsl","hue"),parse:Sl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+le.transform(zs(e))+", "+le.transform(zs(s))+", "+zs(Gs.transform(n))+")"},pt={test:t=>Ge.test(t)||no.test(t)||us.test(t),parse:t=>Ge.test(t)?Ge.parse(t):us.test(t)?us.parse(t):no.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ge.transform(t):us.transform(t),getAnimatableNone:t=>{const e=pt.parse(t);return e.alpha=0,pt.transform(e)}},Rp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Lp(t){return isNaN(t)&&typeof t=="string"&&(t.match(to)?.length||0)+(t.match(Rp)?.length||0)>0}const wl="number",Pl="color",Fp="var",Ip="var(",Al="${}",kp=/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 Ys(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(pt.test(l)?(n.color.push(o),i.push(Pl),s.push(pt.parse(l))):l.startsWith(Ip)?(n.var.push(o),i.push(Fp),s.push(l)):(n.number.push(o),i.push(wl),s.push(parseFloat(l))),++o,Al)).split(Al);return{values:s,split:a,indexes:n,types:i}}function Cl(t){return Ys(t).values}function El(t){const{split:e,types:s}=Ys(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===wl?o+=zs(i[r]):a===Pl?o+=pt.transform(i[r]):o+=i[r]}return o}}const jp=t=>typeof t=="number"?0:pt.test(t)?pt.getAnimatableNone(t):t;function $p(t){const e=Cl(t);return El(t)(e.map(jp))}const Jt={test:Lp,parse:Cl,createTransformer:El,getAnimatableNone:$p};function io(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 Bp({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=io(l,a,t+1/3),o=io(l,a,t),r=io(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Un(t,e){return s=>s>0?e:t}const ft=(t,e,s)=>t+(e-t)*s,oo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Np=[no,Ge,us],Up=t=>Np.find(e=>e.test(t));function Vl(t){const e=Up(t);if(!e)return!1;let s=e.parse(t);return e===us&&(s=Bp(s)),s}const Ml=(t,e)=>{const s=Vl(t),n=Vl(e);if(!s||!n)return Un(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=ft(s.alpha,n.alpha,o),Ge.transform(i))},ro=new Set(["none","hidden"]);function Hp(t,e){return ro.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Kp(t,e){return s=>ft(t,e,s)}function ao(t){return typeof t=="number"?Kp:typeof t=="string"?Qi(t)?Un:pt.test(t)?Ml:zp:Array.isArray(t)?Dl:typeof t=="object"?pt.test(t)?Ml:Wp:Un}function Dl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>ao(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Wp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=ao(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Gp(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const zp=(t,e)=>{const s=Jt.createTransformer(e),n=Ys(t),i=Ys(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?Hp(t,e):Hs(Dl(Gp(n,i),i.values),s):Un(t,e)};function Ol(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ft(t,e,s):ao(t)(t,e)}const qp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>nt.update(e,s),stop:()=>Oe(e),now:()=>St.isProcessing?St.timestamp:Vt.now()}},Rl=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Hn=2e4;function lo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Hn;)e+=s,n=t.next(e);return e>=Hn?1/0:e}function Yp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(lo(n),Hn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:Kt(i)}}const Xp=5;function Ll(t,e,s){const n=Math.max(e-Xp,0);return al(s-t(n),e-n)}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},co=.001;function Zp({duration:t=ht.duration,bounce:e=ht.bounce,velocity:s=ht.velocity,mass:n=ht.mass}){let i,o,r=1-e;r=re(ht.minDamping,ht.maxDamping,r),t=re(ht.minDuration,ht.maxDuration,Kt(t)),r<1?(i=u=>{const c=u*r,f=c*t,d=c-s,m=uo(u,r),v=Math.exp(-f);return co-d/m*v},o=u=>{const f=u*r*t,d=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),b=uo(Math.pow(u,2),r);return(-i(u)+co>0?-1:1)*((d-m)*v)/b}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-co+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=Qp(i,o,a);if(t=ae(t),isNaN(l))return{stiffness:ht.stiffness,damping:ht.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Jp=12;function Qp(t,e,s){let n=s;for(let i=1;i<Jp;i++)n=n-t(n)/e(n);return n}function uo(t,e){return t*Math.sqrt(1-e*e)}const tm=["duration","bounce"],em=["stiffness","damping","mass"];function Fl(t,e){return e.some(s=>t[s]!==void 0)}function sm(t){let e={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...t};if(!Fl(t,em)&&Fl(t,tm))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*re(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ht.mass,stiffness:i,damping:o}}else{const s=Zp({...t,velocity:0});e={...e,...s,mass:ht.mass},e.isResolvedFromDuration=!0}return e}function Kn(t=ht.visualDuration,e=ht.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=sm({...s,velocity:-Kt(s.velocity||0)}),v=d||0,b=u/(2*Math.sqrt(l*c)),w=r-o,C=Kt(Math.sqrt(l/c)),E=Math.abs(w)<5;n||(n=E?ht.restSpeed.granular:ht.restSpeed.default),i||(i=E?ht.restDelta.granular:ht.restDelta.default);let P;if(b<1){const D=uo(C,b);P=H=>{const z=Math.exp(-b*C*H);return r-z*((v+b*C*w)/D*Math.sin(D*H)+w*Math.cos(D*H))}}else if(b===1)P=D=>r-Math.exp(-C*D)*(w+(v+C*w)*D);else{const D=C*Math.sqrt(b*b-1);P=H=>{const z=Math.exp(-b*C*H),$=Math.min(D*H,300);return r-z*((v+b*C*w)*Math.sinh($)+D*w*Math.cosh($))/D}}const A={calculatedDuration:m&&f||null,next:D=>{const H=P(D);if(m)a.done=D>=f;else{let z=D===0?v:0;b<1&&(z=D===0?ae(v):Ll(P,D,H));const $=Math.abs(z)<=n,k=Math.abs(r-H)<=i;a.done=$&&k}return a.value=a.done?r:H,a},toString:()=>{const D=Math.min(lo(A),Hn),H=Rl(z=>A.next(D*z).value,D,30);return D+"ms "+H},toTransition:()=>{}};return A}Kn.applyToOptions=t=>{const e=Yp(t,100,Kn);return t.ease=e.ease,t.duration=ae(e.duration),t.type="keyframes",t};function fo({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},m=$=>a!==void 0&&$<a||l!==void 0&&$>l,v=$=>a===void 0?l:l===void 0||Math.abs(a-$)<Math.abs(l-$)?a:l;let b=s*e;const w=f+b,C=r===void 0?w:r(w);C!==w&&(b=C-f);const E=$=>-b*Math.exp(-$/n),P=$=>C+E($),A=$=>{const k=E($),G=P($);d.done=Math.abs(k)<=u,d.value=d.done?C:G};let D,H;const z=$=>{m(d.value)&&(D=$,H=Kn({keyframes:[d.value,v(d.value)],velocity:Ll(P,$,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:$=>{let k=!1;return!H&&D===void 0&&(k=!0,A($),z($)),D!==void 0&&$>=D?H.next($-D):(!k&&A($),d)}}}function nm(t,e,s){const n=[],i=s||Se.mix||Ol,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]||Ht:e;a=Hs(l,a)}n.push(a)}return n}function im(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(zi(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=nm(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(re(t[0],t[o-1],c)):u}function om(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ks(0,e,n);t.push(ft(s,1,i))}}function rm(t){const e=[0];return om(e,t.length-1),e}function am(t,e){return t.map(s=>s*e)}function lm(t,e){return t.map(()=>e||gl).splice(0,t.length-1)}function Xs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=bp(n)?n.map(vl):vl(n),o={done:!1,value:e[0]},r=am(s&&s.length===e.length?s:rm(e),t),a=im(r,e,{ease:Array.isArray(i)?i:lm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const cm=t=>t!==null;function ho(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(cm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const um={decay:fo,inertia:fo,tween:Xs,keyframes:Xs,spring:Kn};function Il(t){typeof t.type=="string"&&(t.type=um[t.type])}class po{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const fm=t=>t/100;class mo extends po{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Vt.now()&&this.tick(Vt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Il(e);const{type:s=Xs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Xs;l!==Xs&&typeof a[0]!="number"&&(this.mixKeyframes=Hs(fm,Ol(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=lo(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:m,type:v,onUpdate:b,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const C=this.currentTime-u*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?C<0:C>i;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let P=this.currentTime,A=n;if(f){const $=Math.min(this.currentTime,i)/a;let k=Math.floor($),G=$%1;!G&&$>=1&&(G=1),G===1&&k--,k=Math.min(k,f+1),k%2&&(d==="reverse"?(G=1-G,m&&(G-=m/a)):d==="mirror"&&(A=r)),P=re(0,1,G)*a}const D=E?{done:!1,value:c[0]}:A.next(P);o&&(D.value=o(D.value));let{done:H}=D;!E&&l!==null&&(H=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&H);return z&&v!==fo&&(D.value=ho(c,this.options,w,this.speed)),b&&b(D.value),z&&this.finish(),D}then(e,s){return this.finished.then(e,s)}get duration(){return Kt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(this.currentTime)}set time(e){e=ae(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Vt.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=Kt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=qp,startTime:s}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=s??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Vt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function dm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ze=t=>t*180/Math.PI,go=t=>{const e=ze(Math.atan2(t[1],t[0]));return yo(e)},hm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:go,rotateZ:go,skewX:t=>ze(Math.atan(t[1])),skewY:t=>ze(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},yo=t=>(t=t%360,t<0&&(t+=360),t),kl=go,jl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),pm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:jl,scaleY:$l,scale:t=>(jl(t)+$l(t))/2,rotateX:t=>yo(ze(Math.atan2(t[6],t[5]))),rotateY:t=>yo(ze(Math.atan2(-t[2],t[0]))),rotateZ:kl,rotate:kl,skewX:t=>ze(Math.atan(t[4])),skewY:t=>ze(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function vo(t){return t.includes("scale")?1:0}function bo(t,e){if(!t||t==="none")return vo(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=pm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=hm,i=a}if(!i)return vo(e);const o=n[e],r=i[1].split(",").map(gm);return typeof o=="function"?o(r):r[o]}const mm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return bo(s,e)};function gm(t){return parseFloat(t.trim())}const fs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ds=new Set(fs),Bl=t=>t===cs||t===L,ym=new Set(["x","y","z"]),vm=fs.filter(t=>!ym.has(t));function bm(t){const e=[];return vm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Le={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})=>bo(e,"x"),y:(t,{transform:e})=>bo(e,"y")};Le.translateX=Le.x,Le.translateY=Le.y;const qe=new Set;let _o=!1,xo=!1,So=!1;function Nl(){if(xo){const t=Array.from(qe).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=bm(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])=>{n.getValue(o)?.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}xo=!1,_o=!1,qe.forEach(t=>t.complete(So)),qe.clear()}function Ul(){qe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(xo=!0)})}function _m(){So=!0,Ul(),Nl(),So=!1}class To{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(qe.add(this),_o||(_o=!0,nt.read(Ul),nt.resolveKeyframes(Nl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}dm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),qe.delete(this)}cancel(){this.state==="scheduled"&&(qe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const xm=t=>t.startsWith("--");function Sm(t,e,s){xm(e)?t.style.setProperty(e,s):t.style[e]=s}const Tm={};function Hl(t,e){const s=rl(t);return()=>Tm[e]??s()}const wm=Hl(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Kl=Hl(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Wl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function Gl(t,e){if(t)return typeof t=="function"?Kl()?Rl(t,e):"ease-out":yl(t)?Zs(t):Array.isArray(t)?t.map(s=>Gl(s,e)||Wl.easeOut):Wl[t]}function Pm(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=Gl(a,i);Array.isArray(f)&&(c.easing=f);const d={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(c,d)}function zl(t){return typeof t=="function"&&"applyToOptions"in t}function Am({type:t,...e}){return zl(t)&&Kl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ql extends po{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,zi(typeof e.type!="string");const u=Am(e);this.animation=Pm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ho(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Sm(s,n,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Kt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ae(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&wm()?(this.animation.timeline=e,Ht):s(this)}}const Yl={anticipate:hl,backInOut:dl,circInOut:ml};function Cm(t){return t in Yl}function Em(t){typeof t.ease=="string"&&Cm(t.ease)&&(t.ease=Yl[t.ease])}const wo=10;class Vm extends ql{constructor(e){Em(e),Il(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new mo({...r,autoplay:!1}),l=Math.max(wo,Vt.now()-this.startTime),u=re(0,wo,l-wo);s.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Xl=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Jt.test(t)||t==="0")&&!t.startsWith("url("));function Mm(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 Dm(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=Xl(i,e),a=Xl(o,e);return!r||!a?!1:Mm(t)||(s==="spring"||zl(s))&&n}function Po(t){t.duration=0,t.type="keyframes"}const Om=new Set(["opacity","clipPath","filter","transform"]),Rm=rl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Lm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Rm()&&s&&Om.has(s)&&(s!=="transform"||!u)&&!l&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Fm=40;class Im extends po{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Vt.now();const d={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||To;this.keyframeResolver=new m(a,(v,b,w)=>this.onKeyframesResolved(v,b,d,!w),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Vt.now(),Dm(e,o,r,a)||((Se.instantAnimations||!l)&&c?.(ho(e,n,s)),e[0]=e[e.length-1],Po(n),n.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Fm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},m=!u&&Lm(d),v=d.motionValue?.owner?.current,b=m?new Vm({...d,element:v}):new mo(d);b.finished.then(()=>{this.notifyFinished()}).catch(Ht),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),_m()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Zl(t,e,s,n=0,i=1){const o=Array.from(t).sort((u,c)=>u.sortNodePosition(c)).indexOf(e),r=t.size,a=(r-1)*n;return typeof s=="function"?s(o,r):i===1?o*n:a-o*n}const km=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jm(t){const e=km.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Jl(t,e,s=1){const[n,i]=jm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return nl(r)?parseFloat(r):r}return Qi(i)?Jl(i,e,s+1):i}const $m={type:"spring",stiffness:500,damping:25,restSpeed:10},Bm=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Nm={type:"keyframes",duration:.8},Um={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Hm=(t,{keyframes:e})=>e.length>2?Nm:ds.has(t)?t.startsWith("scale")?Bm(e[1]):$m:Um,Km=t=>t!==null;function Wm(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(Km),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}function Ql(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Ao(t,e){const s=t?.[e]??t?.default??t;return s!==t?Ql(s,t):s}function Gm({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 Co=(t,e,s,n={},i,o)=>r=>{const a=Ao(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ae(l);const 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};Gm(a)||Object.assign(c,Hm(t,c)),c.duration&&(c.duration=ae(c.duration)),c.repeatDelay&&(c.repeatDelay=ae(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Po(c),c.delay===0&&(f=!0)),(Se.instantAnimations||Se.skipAnimations||i?.shouldSkipAnimations)&&(f=!0,Po(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const d=Wm(c.keyframes,a);if(d!==void 0){nt.update(()=>{c.onUpdate(d),c.onComplete()});return}}return a.isSync?new mo(c):new Im(c)};function tc(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function ec(t,e,s,n){if(typeof e=="function"){const[i,o]=tc(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]=tc(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function hs(t,e,s){const n=t.getProps();return ec(n,e,s!==void 0?s:n.custom,t)}const sc=new Set(["width","height","top","left","right","bottom",...fs]),nc=30,zm=t=>!isNaN(parseFloat(t));class qm{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Vt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Vt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=zm(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 qi);const n=this.events[e].add(s);return e==="change"?()=>{n(),nt.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){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Vt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>nc)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,nc);return al(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ps(t,e){return new qm(t,e)}const Ym=t=>Array.isArray(t);function Xm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ps(s))}function Zm(t){return Ym(t)?t[t.length-1]||0:t}function Jm(t,e){const s=hs(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Zm(o[r]);Xm(t,r,a)}}const Pt=t=>!!(t&&t.getVelocity);function Qm(t){return!!(Pt(t)&&t.add)}function Eo(t,e){const s=t.getValue("willChange");if(Qm(s))return s.add(e);if(!s&&Se.WillChange){const n=new Se.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Vo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const tg="data-"+Vo("framerAppearId");function ic(t){return t.props[tg]}function eg({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function oc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?Ql(o,l):l;const u=o?.reduceMotion;n&&(o=n);const c=[],f=i&&t.animationState&&t.animationState.getState()[i];for(const d in a){const m=t.getValue(d,t.latestValues[d]??null),v=a[d];if(v===void 0||f&&eg(f,d))continue;const b={delay:s,...Ao(o||{},d)},w=m.get();if(w!==void 0&&!m.isAnimating&&!Array.isArray(v)&&v===w&&!b.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const A=ic(t);if(A){const D=window.MotionHandoffAnimation(A,d,nt);D!==null&&(b.startTime=D,C=!0)}}Eo(t,d);const E=u??t.shouldReduceMotion;m.start(Co(d,m,v,E&&sc.has(d)?{type:!1}:b,t,C));const P=m.animation;P&&c.push(P)}if(r){const d=()=>nt.update(()=>{r&&Jm(t,r)});c.length?Promise.all(c).then(d):d()}return c}function Mo(t,e,s={}){const n=hs(t,e,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=n||{};s.transitionOverride&&(i=s.transitionOverride);const o=n?()=>Promise.all(oc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return sg(t,e,l,u,c,f,s)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[o,r]:[r,o];return l().then(()=>u())}else return Promise.all([o(),r(s.delay)])}function sg(t,e,s=0,n=0,i=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Mo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+Zl(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function ng(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Mo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Mo(t,e,s);else{const i=typeof e=="function"?hs(t,e,s.custom):e;n=Promise.all(oc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const ig={test:t=>t==="auto",parse:t=>t},rc=t=>e=>e.test(t),ac=[cs,L,le,Re,Op,Dp,ig],lc=t=>ac.find(rc(t));function og(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ol(t):!0}const rg=new Set(["brightness","contrast","saturate","opacity"]);function ag(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(to)||[];if(!n)return t;const i=s.replace(n,"");let o=rg.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const lg=/\b([a-z-]*)\(.*?\)/gu,Do={...Jt,getAnimatableNone:t=>{const e=t.match(lg);return e?e.map(ag).join(" "):t}},Oo={...Jt,getAnimatableNone:t=>{const e=Jt.parse(t);return Jt.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},cc={...cs,transform:Math.round},Ro={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...{rotate:Re,rotateX:Re,rotateY:Re,rotateZ:Re,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:Re,skewX:Re,skewY:Re,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Gs,originX:Tl,originY:Tl,originZ:L},zIndex:cc,fillOpacity:Gs,strokeOpacity:Gs,numOctaves:cc},cg={...Ro,color:pt,backgroundColor:pt,outlineColor:pt,fill:pt,stroke:pt,borderColor:pt,borderTopColor:pt,borderRightColor:pt,borderBottomColor:pt,borderLeftColor:pt,filter:Do,WebkitFilter:Do,mask:Oo,WebkitMask:Oo},uc=t=>cg[t],ug=new Set([Do,Oo]);function fc(t,e){let s=uc(t);return ug.has(s)||(s=Jt),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const fg=new Set(["auto","none","0"]);function dg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!fg.has(o)&&Ys(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=fc(s,i)}class hg extends To{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 c=0;c<e.length;c++){let f=e[c];if(typeof f=="string"&&(f=f.trim(),Qi(f))){const d=Jl(f,s.current);d!==void 0&&(e[c]=d),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!sc.has(n)||e.length!==2)return;const[i,o]=e,r=lc(i),a=lc(o),l=xl(i),u=xl(o);if(l!==u&&Le[n]){this.needsMeasurement=!0;return}if(r!==a)if(Bl(r)&&Bl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else Le[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||og(e[i]))&&n.push(i);n.length&&dg(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=Le[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(){const{element:e,name:s,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const i=e.getValue(s);i&&i.jump(this.measuredOrigin,!1);const o=n.length-1,r=n[o];n[o]=Le[s](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}const pg=new Set(["opacity","clipPath","filter","transform"]);function dc(t,e,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=s?.[t]??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(n=>n!=null)}const hc=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function mg(t){return il(t)&&"offsetHeight"in t}const{schedule:pc}=bl(queueMicrotask,!1),gg={y:!1};function yg(){return gg.y}function mc(t,e){const s=dc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function vg(t){return!(t.pointerType==="touch"||yg())}function bg(t,e,s={}){const[n,i,o]=mc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=w=>{u&&(u(w),u=void 0),c()},d=w=>{a=!1,window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",d),l&&(l=!1,f(w))},m=()=>{a=!0,window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",d,i)},v=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},b=w=>{if(!vg(w))return;l=!1;const C=e(r,w);typeof C=="function"&&(u=C,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",b,i),r.addEventListener("pointerdown",m,i)}),o}const gc=(t,e)=>e?t===e?!0:gc(t,e.parentElement):!1,_g=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,xg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Sg(t){return xg.has(t.tagName)||t.isContentEditable===!0}const Wn=new WeakSet;function yc(t){return e=>{e.key==="Enter"&&t(e)}}function Lo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Tg=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=yc(()=>{if(Wn.has(s))return;Lo(s,"down");const i=yc(()=>{Lo(s,"up")}),o=()=>Lo(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 vc(t){return _g(t)&&!0}const bc=new WeakSet;function wg(t,e,s={}){const[n,i,o]=mc(t,s),r=a=>{const l=a.currentTarget;if(!vc(a)||bc.has(a))return;Wn.add(l),s.stopPropagation&&bc.add(a);const u=e(l,a),c=(m,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),Wn.has(l)&&Wn.delete(l),vc(m)&&typeof u=="function"&&u(m,{success:v})},f=m=>{c(m,l===window||l===document||s.useGlobalTarget||gc(l,m.target))},d=m=>{c(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),mg(a)&&(a.addEventListener("focus",u=>Tg(u,i)),!Sg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function _c(t){return il(t)&&"ownerSVGElement"in t}function Pg(t){return _c(t)&&t.tagName==="svg"}const Ag=[...ac,pt,Jt],Cg=t=>Ag.find(rc(t)),xc=()=>({translate:0,scale:1,origin:0,originPoint:0}),ms=()=>({x:xc(),y:xc()}),Sc=()=>({min:0,max:0}),gt=()=>({x:Sc(),y:Sc()}),Eg=new WeakMap;function Fo(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Gn(t){return typeof t=="string"||Array.isArray(t)}const Vg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Tc(t){return Fo(t.animate)||Vg.some(e=>Gn(t[e]))}function Mg(t){return!!(Tc(t)||t.variants)}function Dg(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Pt(i))t.addValue(n,i);else if(Pt(o))t.addValue(n,ps(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,ps(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Io={current:null},wc={current:!1},Og=typeof window<"u";function Rg(){if(wc.current=!0,!!Og)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Io.current=t.matches;t.addEventListener("change",e),e()}else Io.current=!1}const Pc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ac={};class Lg{scrapeMotionValuesFromProps(e,s,n){return{}}constructor({parent:e,props:s,presenceContext:n,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=To,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 m=Vt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,nt.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=s.initial?{...u}:{},this.renderState=c,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=Tc(s),this.isVariantNode=Mg(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in d){const v=d[m];u[m]!==void 0&&Pt(v)&&v.set(u[m])}}mount(e){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=e,Eg.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)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(wc.current||Rg(),this.shouldReduceMotion=Io.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Oe(this.notifyUpdate),Oe(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,s){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),s.accelerate&&pg.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:u,duration:c}=s.accelerate,f=new ql({element:this.current,name:e,keyframes:a,times:l,ease:u,duration:ae(c)}),d=r(f);this.valueSubscriptions.set(e,()=>{d(),f.cancel()});return}const n=ds.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&nt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),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 Ac){const s=Ac[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):gt()}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<Pc.length;n++){const i=Pc[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=Dg(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=ps(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(nl(n)||ol(n))?n=parseFloat(n):!Cg(n)&&Jt.test(s)&&(n=fc(e,s)),this.setBaseTarget(e,Pt(n)?n.get():n)),Pt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=ec(this.props,s,this.presenceContext?.custom);o&&(n=o[e])}if(s&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Pt(i)?i:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new qi),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){pc.render(this.render)}}class Cc extends Lg{constructor(){super(...arguments),this.KeyframeResolver=hg}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){const n=e.style;return n?n[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Pt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Ec({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Fg({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ig(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 ko(t){return t===void 0||t===1}function jo({scale:t,scaleX:e,scaleY:s}){return!ko(t)||!ko(e)||!ko(s)}function Ye(t){return jo(t)||Vc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Vc(t){return Mc(t.x)||Mc(t.y)}function Mc(t){return t&&t!=="0%"}function zn(t,e,s){const n=t-s,i=e*n;return s+i}function Dc(t,e,s,n,i){return i!==void 0&&(t=zn(t,i,n)),zn(t,s,n)+e}function $o(t,e=0,s=1,n,i){t.min=Dc(t.min,e,s,n,i),t.max=Dc(t.max,e,s,n,i)}function Oc(t,{x:e,y:s}){$o(t.x,e.translate,e.scale,e.originPoint),$o(t.y,s.translate,s.scale,s.originPoint)}const Rc=.999999999999,Lc=1.0000000000001;function kg(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&&ys(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Oc(t,r)),n&&Ye(o.latestValues)&&ys(t,o.latestValues))}e.x<Lc&&e.x>Rc&&(e.x=1),e.y<Lc&&e.y>Rc&&(e.y=1)}function gs(t,e){t.min=t.min+e,t.max=t.max+e}function Fc(t,e,s,n,i=.5){const o=ft(t.min,t.max,i);$o(t,e,s,o,n)}function ys(t,e){Fc(t.x,e.x,e.scaleX,e.scale,e.originX),Fc(t.y,e.y,e.scaleY,e.scale,e.originY)}function Ic(t,e){return Ec(Ig(t.getBoundingClientRect(),e))}function jg(t,e,s){const n=Ic(t,s),{scroll:i}=e;return i&&(gs(n.x,i.offset.x),gs(n.y,i.offset.y)),n}const $g={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Bg=fs.length;function Ng(t,e,s){let n="",i=!0;for(let o=0;o<Bg;o++){const r=fs[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(r.startsWith("scale")?1:0);else{const u=parseFloat(a);l=r.startsWith("scale")?u===1:u===0}if(!l||s){const u=hc(a,Ro[r]);if(!l){i=!1;const c=$g[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Bo(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(ds.has(l)){r=!0;continue}else if(Ji(l)){i[l]=u;continue}else{const c=hc(u,Ro[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Ng(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 kc(t,{style:e,vars:s},n,i){const o=t.style;let r;for(r in e)o[r]=e[r];i?.applyProjectionStyles(o,n);for(r in s)o.setProperty(r,s[r])}function jc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ce={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(L.test(t))t=parseFloat(t);else return t;const s=jc(t,e.target.x),n=jc(t,e.target.y);return`${s}% ${n}%`}},$c={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Jt.parse(t);if(i.length>5)return n;const o=Jt.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=ft(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Js={borderRadius:{...ce,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomLeftRadius:ce,borderBottomRightRadius:ce,boxShadow:$c};function Bc(t){for(const e in t)Js[e]=t[e],Ji(e)&&(Js[e].isCSSVariable=!0)}function Ug(t,{layout:e,layoutId:s}){return ds.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Js[t]||t==="opacity")}function Nc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Pt(n[r])||i&&Pt(i[r])||Ug(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Hg(t){return window.getComputedStyle(t)}class Kg extends Cc{constructor(){super(...arguments),this.type="html",this.renderInstance=kc}readValueFromInstance(e,s){if(ds.has(s))return this.projection?.isProjecting?vo(s):mm(e,s);{const n=Hg(e),i=(Ji(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Ic(e,s)}build(e,s,n){Bo(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Nc(e,s,n)}}const Wg={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gg={offset:"strokeDashoffset",array:"strokeDasharray"};function zg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?Wg:Gg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const qg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Uc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Bo(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:d}=t;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete f.transformBox);for(const m of qg)f[m]!==void 0&&(d[m]=f[m],delete f[m]);e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&zg(f,i,o,r,!1)}const No=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"]),Hc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Yg(t,e,s,n){kc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(No.has(i)?i:Vo(i),e.attrs[i])}function Xg(t,e,s){const n=Nc(t,e,s);for(const i in t)if(Pt(t[i])||Pt(e[i])){const o=fs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Zg extends Cc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=gt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ds.has(s)){const n=uc(s);return n&&n.default||0}return s=No.has(s)?s:Vo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Xg(e,s,n)}build(e,s,n){Uc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Yg(e,s,n,i)}mount(e){this.isSVGTag=Hc(e.tagName),super.mount(e)}}function Kc(t,e){t.min=e.min,t.max=e.max}function Qt(t,e){Kc(t.x,e.x),Kc(t.y,e.y)}function Wc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Gc=1e-4,Jg=1-Gc,Qg=1+Gc,zc=.01,ty=0-zc,ey=0+zc;function Mt(t){return t.max-t.min}function sy(t,e,s){return Math.abs(t-e)<=s}function qc(t,e,s,n=.5){t.origin=n,t.originPoint=ft(e.min,e.max,t.origin),t.scale=Mt(s)/Mt(e),t.translate=ft(s.min,s.max,t.origin)-t.originPoint,(t.scale>=Jg&&t.scale<=Qg||isNaN(t.scale))&&(t.scale=1),(t.translate>=ty&&t.translate<=ey||isNaN(t.translate))&&(t.translate=0)}function Qs(t,e,s,n){qc(t.x,e.x,s.x,n?n.originX:void 0),qc(t.y,e.y,s.y,n?n.originY:void 0)}function Yc(t,e,s){t.min=s.min+e.min,t.max=t.min+Mt(e)}function ny(t,e,s){Yc(t.x,e.x,s.x),Yc(t.y,e.y,s.y)}function Xc(t,e,s){t.min=e.min-s.min,t.max=t.min+Mt(e)}function qn(t,e,s){Xc(t.x,e.x,s.x),Xc(t.y,e.y,s.y)}function Zc(t,e,s,n,i){return t-=e,t=zn(t,1/s,n),i!==void 0&&(t=zn(t,1/i,n)),t}function iy(t,e=0,s=1,n=.5,i,o=t,r=t){if(le.test(e)&&(e=parseFloat(e),e=ft(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ft(o.min,o.max,n);t===o&&(a-=e),t.min=Zc(t.min,e,s,a,i),t.max=Zc(t.max,e,s,a,i)}function Jc(t,e,[s,n,i],o,r){iy(t,e[s],e[n],e[i],e.scale,o,r)}const oy=["x","scaleX","originX"],ry=["y","scaleY","originY"];function Qc(t,e,s,n){Jc(t.x,e,oy,s?s.x:void 0,n?n.x:void 0),Jc(t.y,e,ry,s?s.y:void 0,n?n.y:void 0)}function tu(t){return t.translate===0&&t.scale===1}function eu(t){return tu(t.x)&&tu(t.y)}function su(t,e){return t.min===e.min&&t.max===e.max}function ay(t,e){return su(t.x,e.x)&&su(t.y,e.y)}function nu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iu(t,e){return nu(t.x,e.x)&&nu(t.y,e.y)}function ou(t){return Mt(t.x)/Mt(t.y)}function ru(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Wt(t){return[t("x"),t("y")]}function ly(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=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:m,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),m&&(n+=`skewX(${m}deg) `),v&&(n+=`skewY(${v}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}const au=["TopLeft","TopRight","BottomLeft","BottomRight"],cy=au.length,lu=t=>typeof t=="string"?parseFloat(t):t,cu=t=>typeof t=="number"||L.test(t);function uy(t,e,s,n,i,o){i?(t.opacity=ft(0,s.opacity??1,fy(n)),t.opacityExit=ft(e.opacity??1,0,dy(n))):o&&(t.opacity=ft(e.opacity??1,s.opacity??1,n));for(let r=0;r<cy;r++){const a=`border${au[r]}Radius`;let l=uu(e,a),u=uu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cu(l)===cu(u)?(t[a]=Math.max(ft(lu(l),lu(u),n),0),(le.test(u)||le.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ft(e.rotate||0,s.rotate||0,n))}function uu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const fy=fu(0,.5,pl),dy=fu(.5,.95,Ht);function fu(t,e,s){return n=>n<t?0:n>e?1:s(Ks(t,e,n))}function hy(t,e,s){const n=Pt(t)?t:ps(t);return n.start(Co("",n,e,s)),n.animation}function py(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const my=(t,e)=>t.depth-e.depth;class gy{constructor(){this.children=[],this.isDirty=!1}add(e){Gi(this.children,e),this.isDirty=!0}remove(e){jn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(my),this.isDirty=!1,this.children.forEach(e)}}function yy(t,e){const s=Vt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Oe(n),t(o-e))};return nt.setup(n,!0),()=>Oe(n)}function Uo(t){return Pt(t)?t.get():t}class vy{constructor(){this.members=[]}add(e){Gi(this.members,e);for(let s=this.members.length-1;s>=0;s--){const n=this.members[s];if(n===e||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&i.isConnected===!1&&n.isPresent!==!1&&!n.snapshot&&jn(this.members,n)}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],r=o.instance;if(o.isPresent!==!1&&(!r||r.isConnected!==!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();const i=n.options.layoutDependency,o=e.options.layoutDependency;if(!(i!==void 0&&o!==void 0&&i===o)){const l=n.instance;l&&l.isConnected===!1&&!n.snapshot||(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:a}=e.options;a===!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)}}const Yn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ho=["","X","Y","Z"],by=1e3;let _y=0;function Ko(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function du(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=ic(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",nt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&du(n)}function hu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=_y++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,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(Ty),this.nodes.forEach(Cy),this.nodes.forEach(Ey),this.nodes.forEach(wy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 gy)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new qi),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=_c(r)&&!Pg(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c,f=0;const d=()=>this.root.updateBlockedByResize=!1;nt.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=yy(d,250),Yn.hasAnimatedSinceResize&&(Yn.hasAnimatedSinceResize=!1,this.nodes.forEach(gu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Ry,{onLayoutAnimationStart:b,onLayoutAnimationComplete:w}=u.getProps(),C=!this.targetLayout||!iu(this.targetLayout,m),E=!f&&d;if(this.options.layoutRoot||this.resumeFrom||E||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const P={...Ao(v,"layout"),onPlay:b,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P),this.setAnimationOrigin(c,E)}else f||gu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oe(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(Vy),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&&du(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(pu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(mu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ay),this.nodes.forEach(xy),this.nodes.forEach(Sy)):this.nodes.forEach(mu),this.clearAllSnapshots();const a=Vt.now();St.delta=re(0,1e3/60,a-St.timestamp),St.timestamp=a,St.isProcessing=!0,Zi.update.process(St),Zi.preRender.process(St),Zi.render.process(St),St.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Py),this.sharedNodes.forEach(My)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mt(this.snapshot.measuredBox.x)&&!Mt(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.layoutVersion++,this.layoutCorrected=gt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!eu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Ye(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)),Ly(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return gt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Fy))){const{scroll:u}=this.root;u&&(gs(a.x,u.offset.x),gs(a.y,u.offset.y))}return a}removeElementScroll(r){const a=gt();if(Qt(a,r),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:f}=u;u!==this.root&&c&&f.layoutScroll&&(c.wasRoot&&Qt(a,r),gs(a.x,c.offset.x),gs(a.y,c.offset.y))}return a}applyTransform(r,a=!1){const l=gt();Qt(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&&ys(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ye(c.latestValues)&&ys(l,c.latestValues)}return Ye(this.latestValues)&&ys(l,this.latestValues),l}removeTransform(r){const a=gt();Qt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Ye(u.latestValues))continue;jo(u.latestValues)&&u.updateSnapshot();const c=gt(),f=u.measurePageBox();Qt(c,f),Qc(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Ye(this.latestValues)&&Qc(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!==St.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=St.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=gt(),this.targetWithTransforms=gt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ny(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qt(this.target,this.layout.layoutBox),Oc(this.target,this.targetDelta)):Qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||jo(this.parent.latestValues)||Vc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,a,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=gt(),this.relativeTargetOrigin=gt(),qn(this.relativeTargetOrigin,a,l),Qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const r=this.getLead(),a=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===St.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Qt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;kg(this.layoutCorrected,this.treeScale,this.path,a),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=gt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wc(this.prevProjectionDelta.x,this.projectionDelta.x),Wc(this.prevProjectionDelta.y,this.projectionDelta.y)),Qs(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!ru(this.projectionDelta.x,this.prevProjectionDelta.x)||!ru(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ms(),this.projectionDelta=ms(),this.projectionDeltaWithTransform=ms()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=gt(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,b=m!==v,w=this.getStack(),C=!w||w.members.length<=1,E=!!(b&&!C&&this.options.crossfade===!0&&!this.path.some(Oy));this.animationProgress=0;let P;this.mixTargetDelta=A=>{const D=A/1e3;yu(f.x,r.x,D),yu(f.y,r.y,D),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qn(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Dy(this.relativeTarget,this.relativeTargetOrigin,d,D),P&&ay(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=gt()),Qt(P,this.relativeTarget)),b&&(this.animationValues=c,uy(c,u,this.latestValues,D,E,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{Yn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ps(0)),this.motionValue.jump(0,!1),this.currentAnimation=hy(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,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(by),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&&Su(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||gt();const f=Mt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const d=Mt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+d}Qt(a,l),ys(a,c),Qs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new vy),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(){const{layoutId:r}=this.options;return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ko("z",r,u,this.animationValues);for(let c=0;c<Ho.length;c++)Ko(`rotate${Ho[c]}`,r,u,this.animationValues),Ko(`skew${Ho[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=Uo(a?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=Uo(a?.pointerEvents)||""),this.hasProjected&&!Ye(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=ly(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:d,y:m}=this.projectionDelta;r.transformOrigin=`${d.origin*100}% ${m.origin*100}% 0`,u.animationValues?r.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in Js){if(c[v]===void 0)continue;const{correct:b,applyTo:w,isCSSVariable:C}=Js[v],E=f==="none"?c[v]:b(c[v],u);if(w){const P=w.length;for(let A=0;A<P;A++)r[w[A]]=E}else C?this.options.visualElement.renderState.vars[v]=E:r[v]=E}this.options.layoutId&&(r.pointerEvents=u===this?Uo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(pu),this.root.sharedNodes.clear()}}}function xy(t){t.updateLayout()}function Sy(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;i==="size"?Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Mt(f);f.min=s[c].min,f.max=f.min+d}):Su(i,e.layoutBox,s)&&Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Mt(s[c]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+d)});const r=ms();Qs(r,s,e.layoutBox);const a=ms();o?Qs(a,t.applyTransform(n,!0),e.measuredBox):Qs(a,s,e.layoutBox);const l=!eu(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:d}=c;if(f&&d){const m=gt();qn(m,e.layoutBox,f.layoutBox);const v=gt();qn(v,s,d.layoutBox),iu(m,v)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=m,t.relativeParent=c)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ty(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 wy(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Py(t){t.clearSnapshot()}function pu(t){t.clearMeasurements()}function mu(t){t.isLayoutDirty=!1}function Ay(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function gu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Cy(t){t.resolveTargetDelta()}function Ey(t){t.calcProjection()}function Vy(t){t.resetSkewAndRotation()}function My(t){t.removeLeadSnapshot()}function yu(t,e,s){t.translate=ft(e.translate,0,s),t.scale=ft(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function vu(t,e,s,n){t.min=ft(e.min,s.min,n),t.max=ft(e.max,s.max,n)}function Dy(t,e,s,n){vu(t.x,e.x,s.x,n),vu(t.y,e.y,s.y,n)}function Oy(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Ry={duration:.45,ease:[.4,0,.1,1]},bu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),_u=bu("applewebkit/")&&!bu("chrome/")?Math.round:Ht;function xu(t){t.min=_u(t.min),t.max=_u(t.max)}function Ly(t){xu(t.x),xu(t.y)}function Su(t,e,s){return t==="position"||t==="preserve-aspect"&&!sy(ou(e),ou(s),.2)}function Fy(t){return t!==t.root&&t.scroll?.wasRoot}const Iy=hu({attachResizeListener:(t,e)=>py(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Wo={current:void 0},ky=hu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Wo.current){const t=new Iy({});t.mount(window),t.setOptions({layoutScroll:!0}),Wo.current=t}return Wo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),jy={some:0,all:1};function $y(t,e,{root:s,margin:n,amount:i="some"}={}){const o=dc(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:jy[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Tu=(t,e)=>Math.abs(t-e);function By(t,e){const s=Tu(t.x,e.x),n=Tu(t.y,e.y);return Math.sqrt(s**2+n**2)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wu=t=>typeof t<"u";function Pu({current:t}){return t?t.ownerDocument.defaultView:null}function Go(t){if(t)return t.nodeType===3||t.nodeType===8?Go(t.nextSibling):t}const[Ny,Uy]=Us("Motion"),[Hy]=Us("LayoutGroup"),Ky={reducedMotion:"never",transition:void 0,nonce:void 0},[Wy]=Us("MotionConfig");function Gy(){return Wy(bt(()=>Ky))}const zy={motionAttribute:"data-ap"},zo=[];function Au(t){for(const e of t)e&&!zo.includes(e)&&zo.push(e)}function Cu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Cu(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 qy(t,e,s){const n=Cu(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function Yy(t,e){const s=(t.initial===void 0&&t.variants?e?.initial:t.initial)===!1?["initial","animate"]:["initial"],n=t.custom??t.presenceContext?.custom;return s.reduce((i,o)=>({...i,...qy(t[o]||e?.[o],t.variants,n)}),{})}function Eu(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}var Xy=new Set(["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"]);function Vu(t){return Xy.has(t)}const Mu=new WeakMap;var Zy=class{constructor(t,e){this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.features=new Map,this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Yy(t,this.context),this.type=Vu(this.options.as)?"svg":"html"}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return Gn(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}updateFeatures(){if(this.visualElement)for(const t of zo){this.features.has(t.key)||this.features.set(t.key,new t(this));const e=this.features.get(t.key);this.isMounted()&&(e.isMount?e.update():(e.mount(),e.isMount=!0))}}updateOptions(t){this.options=t,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},null)}mount(t){Mu.set(t,this),this.element=t,t.setAttribute(zy.motionAttribute,this.options.presenceContext?.presenceId??""),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),Mu.delete(this.element),this.features.forEach(t=>t.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state==="running"||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1,this.options?.layoutId?nt.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(t,e){}didUpdate(){}},Te=class{constructor(t){this.state=t}mount(){}unmount(){}update(){}};const Du=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Jy=Du.length;function Ou(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Ou(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<Jy;s++){const n=Du[s],i=t.props[n];(Gn(i)||i===!1)&&(e[n]=i)}return e}var Ru=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],Qy=[...Ru].reverse(),tv=Ru.length;function Xe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lu(){return{animate:Xe(!0),whileInView:Xe(),whileHover:Xe(),whilePress:Xe(),whileDrag:Xe(),whileFocus:Xe(),exit:Xe()}}function ev(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Eu(e,t):!1}function Fu(t){return Array.isArray(t)}function sv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>ng(t,s,n)))}function nv(t){let e=sv(t),s=Lu(),n=!0;const i=l=>(u,c)=>{const f=hs(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:d,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const{props:u}=t,c=Ou(t.parent)||{},f=[],d=new Set;let m={},v=1/0;for(let w=0;w<tv;w++){const C=Qy[w],E=s[C],P=u[C]!==void 0?u[C]:c[C],A=Gn(P),D=C===l?E.isActive:null;D===!1&&(v=w);let H=P===c[C]&&P!==u[C]&&A;if(H&&n&&t.manuallyAnimateOnMount&&(H=!1),E.protectedKeys={...m},!E.isActive&&D===null||!P&&!E.prevProp||Fo(P)||typeof P=="boolean")continue;const z=ev(E.prevProp,P);let $=z||C===l&&E.isActive&&!H&&A||w>v&&A,k=!1;const G=Array.isArray(P)?P:[P];let it=G.reduce(i(C),{});D===!1&&(it={});const{prevResolvedValues:F={}}=E,lt={...F,...it},yt=q=>{$=!0,d.has(q)&&(k=!0,d.delete(q)),E.needsAnimating[q]=!0;const Y=t.getValue(q);Y&&(Y.liveStyle=!1)};for(const q in lt){const Y=it[q],X=F[q];if(Object.hasOwnProperty.call(m,q))continue;let Rt=!1;Fu(Y)&&Fu(X)?Rt=!Eu(Y,X):Rt=Y!==X,Rt?Y!=null?yt(q):d.add(q):Y!==void 0&&d.has(q)?yt(q):E.protectedKeys[q]=!0}E.prevProp=P,E.prevResolvedValues=it,E.isActive&&(m={...m,...it}),n&&t.blockInitialAnimation&&($=!1);const Gt=H&&z;$&&(!Gt||k)&&f.push(...G.map(q=>{const Y={type:C};if(typeof q=="string"&&n&&!Gt&&t.manuallyAnimateOnMount&&t.parent){const{parent:X}=t,Rt=hs(X,q);if(X.enteringChildren&&Rt){const{delayChildren:vs}=Rt.transition||{};Y.delay=Zl(X.enteringChildren,t,vs)}}return{animation:q,options:Y}}))}if(d.size){const w={};if(typeof u.initial!="boolean"){const C=hs(t,Array.isArray(u.initial)?u.initial[0]:u.initial);C&&C.transition&&(w.transition=C.transition)}d.forEach(C=>{const E=t.getBaseTarget(C),P=t.getValue(C);P&&(P.liveStyle=!0),w[C]=E??null}),f.push({animation:w})}let b=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(b=!1),n=!1,b?e(f):Promise.resolve()}function a(l,u){if(s[l].isActive===u)return Promise.resolve();t.variantChildren?.forEach(f=>{f.animationState?.setActive(l,u)}),s[l].isActive=u;const c=r(l);for(const f in s)s[f].protectedKeys={};return c}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>s,reset:()=>{s=Lu(),n=!0}}}function Iu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var iv=class extends Te{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=nv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;Fo(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Iu(this.state.element)?this.state.setActive("exit",!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();const{animate:t}=this.state.visualElement.getProps(),{animate:e}=this.state.visualElement.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function ov(t,e){return Vu(t)?new Zg(e):new Kg(e)}function ku(t){return{point:{x:t.pageX,y:t.pageY}}}var rv=class extends Te{static#t=this.key="press";constructor(t){super(t)}isActive(){const{whilePress:t,onPress:e,onPressCancel:s,onPressStart:n}=this.state.options;return!!(t||e||s||n)}register(){const t=this.state.element;!t||!this.isActive()||(this.removePress?.(),this.removePress=wg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&nt.postRender(()=>n.onPressStart(s,ku(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&nt.postRender(()=>a(i,ku(i)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whilePress||t?.whileTap||t?.onPress||t?.onPressCancel||t?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function ju(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function tn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function av(t){return e=>ju(e)&&t(e,tn(e))}var lv=class extends Te{static#t=this.key="hover";constructor(t){super(t)}isActive(){const{whileHover:t,onHoverStart:e,onHoverEnd:s}=this.state.options;return!!(t||e||s)}register(){const t=this.state.element;!t||!this.isActive()||(this.removeHover?.(),this.removeHover=bg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&nt.postRender(()=>n.onHoverStart(s,tn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&nt.postRender(()=>o(i,tn(i)))}}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whileHover||t?.onHoverStart||t?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},cv=class extends Te{static#t=this.key="inView";constructor(t){super(t)}isActive(){const{whileInView:t,onViewportEnter:e,onViewportLeave:s}=this.state.options;return!!(t||e||s)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.removeObserver?.();const{once:e,...s}=this.state.options.inViewOptions||{};this.removeObserver=$y(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&nt.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&nt.postRender(()=>r(i))}},s)}mount(){this.startObserver()}update(){const{props:t,prevProps:e}=this.state.visualElement;["amount","margin","root"].some(s=>t.inViewOptions?.[s]!==e?.inViewOptions?.[s])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function Xn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}var uv=class extends Te{static#t=this.key="focus";constructor(t){super(t),this.isFocused=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isFocused=!0)}onBlur(){this.isFocused&&(this.state.setActive("whileFocus",!1),this.isFocused=!1)}mount(){const t=this.state.element;this.removeFocus=Hs(Xn(t,"focus",()=>this.onFocus()),Xn(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function $u(t){if(t)return t.options.allowProjection!==!1?t.projection:$u(t.parent)}const Bu={borderRadius:{...ce,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomLeftRadius:ce,borderBottomRightRadius:ce,boxShadow:$c};function en(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const fv=typeof window>"u";var dv=class extends Te{static#t=this.key="projection";constructor(t){super(t),Bc(Bu),fv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new ky(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:$u(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){const t=this.state.options,{layoutId:e,layout:s,drag:n=!1,dragConstraints:i=!1}=t;this.projection?.setOptions({layout:s,layoutId:e,alwaysMeasureLayout:!!e||!!n||i&&en(i),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function sn(t,e,s,n){return Xn(t,e,av(s),n)}var Nu=new Set(["auto","scroll"]),Uu=class{constructor(t,e,{transformPagePoint:s,contextWindow:n,dragSnapToOrigin:i=!1,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=c=>{this.handleScroll(c.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Yo(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=By(c.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:m}=c,{timestamp:v}=St;this.history.push({...m,timestamp:v});const{onStart:b,onMove:w}=this.handlers;f||(b&&b(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=qo(f,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:d,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Yo(c.type==="pointercancel"?this.lastMoveEventInfo:qo(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,b),m&&m(c,b)},!ju(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=qo(tn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=St;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,Yo(r,this.history)),this.removeListeners=Hs(sn(this.contextWindow,"pointermove",this.handlePointerMove),sn(this.contextWindow,"pointerup",this.handlePointerUp),sn(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}isScrollable(t){const e=window.getComputedStyle(t);return e.overflow==="auto"||e.overflow==="scroll"||e.overflowX==="auto"||e.overflowX==="scroll"||e.overflowY==="auto"||e.overflowY==="scroll"}startScrollTracking(t){let e=t.parentElement;for(;e;){const s=getComputedStyle(e);(Nu.has(s.overflowX)||Nu.has(s.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const s=t===window,n=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:n.x-e.x,y:n.y-e.y};i.x===0&&i.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,n),nt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Oe(this.updatePoint)}};function qo(t,e){return e?{point:e(t.point)}:t}function Hu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yo({point:t},e){return{point:t,delta:Hu(t,Ku(e)),offset:Hu(t,hv(e)),velocity:pv(e,.1)}}function hv(t){return t[0]}function Ku(t){return t[t.length-1]}function pv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=Ku(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>ae(e)));)s--;if(!n)return{x:0,y:0};const o=Kt(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}function Wu(t){return(e,s)=>{t&&nt.postRender(()=>t(e,s))}}var mv=class extends Te{constructor(...t){super(...t),this.removePointerDownListener=Ht}static#t=this.key="pan";onPointerDown(t){this.session=new Uu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Pu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Wu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:Wu((t,e)=>{const{onPanStart:s}=this.state.options;s&&s(t,e)}),onMove:(t,e)=>{const{onPan:s}=this.state.options;s&&s(t,e)},onEnd:(t,e)=>{const{onPanEnd:s}=this.state.options;delete this.session,s&&nt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=sn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Gu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var zu=Gu("dragHorizontal"),qu=Gu("dragVertical");function gv(t){let e=!1;if(t==="y")e=qu();else if(t==="x")e=zu();else{const s=zu(),n=qu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function yv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ft(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ft(s,t,n.max):Math.min(t,s)),t}const Xo=.35;function vv(t,{top:e,left:s,bottom:n,right:i}){return{x:Yu(t.x,s,i),y:Yu(t.y,e,n)}}function Yu(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 bv(t=Xo){return t===!1?t=0:t===!0&&(t=Xo),{x:Xu(t,"left","right"),y:Xu(t,"top","bottom")}}function Xu(t,e,s){return{min:Zu(t,e),max:Zu(t,s)}}function Zu(t,e){return typeof t=="number"?t:t[e]||0}function _v(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 xv(t,e){return{x:Ju(t.x,e.x),y:Ju(t.y,e.y)}}function Ju(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 Sv(t,e){let s=.5;const n=Mt(t),i=Mt(e);return i>n?s=Ks(e.min,e.max-n,t.min):n>i&&(s=Ks(t.min,t.max-i,e.min)),re(0,1,s)}const Tv=new WeakMap;var wv=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=gt(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const s=l=>{e?this.stopAnimation():this.pauseAnimation(),e&&this.snapToCursor(tn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=gv(c),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wt(m=>{let v=this.getAxisMotionValue(m).get()||0;if(le.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[m];w&&(v=Mt(w)*(parseFloat(v)/100))}}this.originPoint[m]=v}),d&&nt.postRender(()=>d(l,u)),Eo(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=Pv(v),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,v),this.updateAxis("y",u.point,v),this.visualElement.render(),m&&m(l,u)},o=(l,u)=>this.stop(l,u),r=()=>Wt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Uu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Pu(this.visualElement),element:this.state.element})}stop(t,e){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:i}=this.getProps();i&&nt.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;const{projection:t}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive("whileDrag",!1)}updateAxis(t,e,s){const{drag:n}=this.getProps();if(!s||!Zn(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=yv(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&en(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=vv(s.layoutBox,t):this.constraints=!1,this.elastic=bv(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Wt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=_v(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!en(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=jg(s,n.root,this.visualElement.getTransformPagePoint());let o=xv(n.layout.layoutBox,i);if(e){const r=e(Fg(o));this.hasMutatedConstraints=!!r,r&&(o=Ec(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Wt(u=>{if(!Zn(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,d=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const s=this.getAxisMotionValue(t);return Eo(this.visualElement,t),s.start(Co(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Wt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps();return s[e]||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){Wt(e=>{const{drag:s}=this.getProps();if(!Zn(e,s,this.currentDirection))return;const{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){const{min:o,max:r}=n.layout.layoutBox[e];i.set(t[e]-ft(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!en(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Wt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=Sv({min:a,max:a},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Wt(o=>{if(!Zn(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(ft(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Tv.set(this.visualElement,this);const t=this.state.element,e=sn(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();en(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),nt.read(s);const o=Xn(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Wt(u=>{const c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=a[u].translate,c.set(c.get()+a[u].translate))}),this.visualElement.render())}));return()=>{o(),e(),i(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:s=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=Xo,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function Zn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Pv(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Av=class extends Te{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Ht,this.removeListeners=Ht,this.controls=new wv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ht}unmount(){this.removeGroupControls(),this.removeListeners()}},nn=!1,Cv=class extends Te{static#t=this.key="layout";constructor(t){super(t),this.hasMountSettled=!1,Bc(Bu),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}updatePrevLead(t){const e=t.getStack();e?.prevLead&&!e.prevLead.snapshot&&(e.prevLead.willUpdate(),nn=!0)}didUpdate(){nn&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(nn=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){const t=this.state.options,e=this.state.options.layoutGroup;if(t.layout||t.layoutId){const s=this.state.visualElement.projection;if(t.layoutId){const n=!Iu(this.state.element);s.isPresent=n,n?s.promote():s.relegate(),this.updatePrevLead(s)}e?.group?.add(s),Yn.hasEverUpdated=!0}this.didUpdate(),nt.postRender(()=>{this.hasMountSettled=!0})}unmount(){const t=this.state.options.layoutGroup,e=this.state.visualElement.projection;e&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(e),this.state.options.layoutId&&(nn=!0),this.didUpdate())}getSnapshot(t,e){const s=this.state.visualElement.projection,{drag:n,layoutDependency:i,layout:o,layoutId:r}=t;if(!s||!o&&!r&&!n||!this.hasMountSettled)return;nn=!0;const a=this.state.options;(n||a.layoutDependency!==i||i===void 0||wu(e)&&s.isPresent!==e)&&s.willUpdate(),wu(e)&&e!==s.isPresent&&(s.isPresent=e,e?(s.promote(),this.updatePrevLead(s)):s.relegate())}};const Ev={renderer:ov,features:[iv,rv,lv,cv,uv,dv,mv,Av,Cv]},[Vv]=Us("LazyMotionContext"),[Mv]=Us("AnimatePresenceContext");function Dv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function Qu(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Ov(){return{...Qu(),attrs:{}}}function Rv(t){const e=Qu();Bo(e,t);const s={...e.style};for(const n in e.vars)s[n]=e.vars[n];return Object.keys(s).length===0?null:s}function Lv(t,e,s){const n=Ov();Uc(n,t,Hc(e),void 0,s);const i={};for(const o in n.attrs){const r=No.has(o)?o:Dv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function Fv(t,e){const s=Ny(null),n=Hy({}),i=Gy(),o=Mv({}),r=Vv({features:ns({}),strict:!1}),a=Od();function l(){return dp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Zy(u(),s);Uy(c),e&&c.initVisualElement(e),Pn(r.features,m=>{m.features?.length&&Au(m.features),m.renderer&&c.initVisualElement(m.renderer),c.updateFeatures()},{immediate:!0,flush:"pre"});function f(){const m=c.type==="svg",v={...a};Object.keys(a).forEach(E=>{Pt(a[E])&&(v[E]=a[E].get())});const b=c.visualElement?.latestValues||c.latestValues;let w={...t.style,...m?{}:b};for(const E in w)Pt(w[E])&&(w[E]=w[E].get());if(m){const{attrs:E,style:P}=Lv({...b,...w},c.options.as,t.style);Object.assign(v,E),w=P}t.drag&&t.dragListener!==!1&&Object.assign(w,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const C=Rv(w);return C&&(v.style=C),v}const d=Fn().proxy;return Ci(()=>{const m=Go(d.$el);c.mount(m)}),Ei(()=>c.beforeUnmount()),Vi(()=>{Go(d.$el)?.isConnected||c.unmount()}),Yr(()=>{c.beforeUpdate(),c.updateOptions(u())}),Xr(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const Iv={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},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},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:null,default:void 0},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}};var kv=new Map,jv=new Map;function $v(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}var Bv=["area","img","input"];function Nv(t,e,s){if(typeof t=="string"&&Bv.includes(t))return Ni(t,e);if(t==="template"){if(!s.default)return null;const n=$v(s.default()),i=n.findIndex(l=>l.type!==xt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?Ca(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=ve(o,r);for(const l in r)l.startsWith("on")&&(a.props||={},a.props[l]=r[l]);return n.length===1?a:(n[i]=a,n)}return null}function tf(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?kv:jv;if(s&&i?.has(t))return i.get(t);const o=vd({inheritAttrs:!1,props:{...Iv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=Fv(r,e.renderer);function f(){const d=c.element;if((typeof r.as!="object"||r.asChild)&&d){const{style:m}=u();if(m)for(const[v,b]of Object.entries(m))d.style[v]=b}}return()=>{const d=l(),m=u(),v=r.asChild?"template":r.as,b={...r.forwardMotionProps?d:{},...m,onVnodeUpdated:f},w=Nv(v,b,a);return w!==null?w:Ni(v,{...b},a)}}});return s&&i?.set(t,o),o}function Uv(t){const e=t?.renderer;return Au(t?.features||[]),new Proxy({},{get(s,n){return n==="create"?(i,o)=>tf(i,{...o,renderer:e}):tf(n,{renderer:e})}})}const ef=Uv(Ev);ef.create("div");const Hv={class:"slds-navigation-list--vertical"},Kv={class:"slds-navigation-list__item-content"},Wv={class:"slds-navigation-list__item-title"},Gv={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){const s=t,n=e,i=ns(s.selectedSchema?.fileName||null);function o(a){i.value=a.fileName,n("selectSchema",a)}function r(a){return a.schema?.title||a.fileName||"Untitled Schema"}return(a,l)=>(I(),B("div",Hv,[l[0]||(l[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)),(I(!0),B(dt,null,Me(t.schemas,u=>(I(),B("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Kv,[g("div",Wv,[st(Er(ef).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:At(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:wn(()=>[ks(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},sf="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-55m-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030m30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010z'/%3e%3c/svg%3e",nf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},zv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},qv={class:"slds-notify__content"},of=nf({__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)=>(I(),B("div",zv,[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:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",qv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Yv={key:0,class:"slds-m-top_medium"},Xv={class:"slds-box slds-theme_shade"},Zv={class:"slds-grid slds-wrap slds-gutters"},Jv={class:"constraint-item"},Qv={class:"slds-text-title_caps slds-text-color_default"},t0={class:"slds-text-body_regular slds-m-top_xx-small"},Zo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{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=bt(()=>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?(I(),B("div",Yv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Xv,[g("div",Zv,[(I(!0),B(dt,null,Me(s.value,(u,c)=>(I(),B("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",Jv,[g("div",Qv,J(i(c)),1),g("div",t0,[g("span",{class:At(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):Ut("",!0)}},e0={class:"array-schema"},s0={class:"slds-box slds-theme_shade"},n0={class:"slds-grid slds-gutters"},i0={key:0,class:"slds-col"},o0={class:"slds-badge"},r0={key:1,class:"slds-m-top_medium"},a0={class:"slds-text-title_caps slds-m-bottom_xx-small"},l0={key:3,class:"slds-m-top_medium"},c0={key:4,class:"slds-m-top_medium"},u0={key:0,class:"slds-m-top_xx-small"},f0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=bt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(I(),B("div",e0,[g("div",s0,[g("div",n0,[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?(I(),B("div",i0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",o0,J(n.value),1)])):Ut("",!0)])]),s.value?(I(),kt(Zo,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?(I(),B("div",r0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(I(!0),B(dt,{key:0},Me(t.schema.items,(r,a)=>(I(),B("div",{key:a,class:"slds-m-bottom_medium"},[g("div",a0," Index "+J(a),1),st(we,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(I(),kt(we,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(I(),kt(of,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(I(),B("div",l0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),st(we,{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)?(I(),B("div",c0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(I(),B("div",u0,[g("span",{class:At(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(I(),kt(we,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},d0={class:"slds-box slds-theme_shade"},h0={class:"slds-text-heading_small slds-m-bottom_small"},p0={class:"slds-tabs_default"},m0={class:"slds-tabs_default__nav",role:"tablist"},g0=["aria-selected","aria-controls","onClick"],y0={class:"slds-tabs_default__title"},v0=["id"],b0={class:"slds-p-around_medium"},_0={class:"slds-text-title_caps slds-m-bottom_small"},x0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=ns(0),i=bt(()=>e.schema[s.value]||[]);dd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=bt(()=>{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=bt(()=>{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)=>(I(),B("div",d0,[g("div",h0,[g("span",{class:At(["slds-badge",r.value])},J(o.value),3)]),g("div",p0,[g("ul",m0,[(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("li",{key:d,class:At(["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:m=>n.value=d},[g("span",y0,J(l(f,d)),1)],8,g0)],2))),128))]),(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("div",{id:`tab-${d}`,key:d,class:At(["slds-tabs_default__content",{"slds-show":n.value===d,"slds-hide":n.value!==d}]),role:"tabpanel"},[g("div",b0,[g("div",_0," Schema Type: "+J(a(f)),1),st(we,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,v0))),128))])]))}},S0={class:"slds-box slds-theme_shade"},T0={class:"slds-grid slds-wrap slds-gutters"},w0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},P0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},A0={key:1,class:"slds-badge slds-badge_inverse"},C0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.const),n=bt(()=>typeof s.value=="object"&&s.value!==null),i=bt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(I(),B("div",S0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",T0,[g("div",w0,[n.value?(I(),B("pre",P0,[g("code",null,J(i.value),1)])):(I(),B("div",A0,J(i.value),1))])])]))}},E0={class:"slds-box slds-theme_shade"},V0={class:"slds-grid slds-wrap slds-gutters"},M0={class:"slds-badge slds-badge_inverse"},D0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.enum);return(n,i)=>(I(),B("div",E0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",V0,[(I(!0),B(dt,null,Me(s.value,(o,r)=>(I(),B("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",M0,J(o),1)]))),128))])]))}},O0="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%2022'/%3e%3c/svg%3e",R0={key:0},L0={key:1},F0={class:"slds-box slds-m-top_small"},I0={class:"slds-table_container"},k0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},j0=["onClick"],$0=["title"],B0={class:"slds-truncate"},N0={class:"slds-badge"},U0=["title"],H0={class:"slds-truncate"},K0={key:0,class:"slds-badge slds-badge_success"},W0={key:1,class:"slds-badge slds-badge_inverse"},G0={key:0},z0={colspan:"4",class:"slds-p-around_medium"},q0={class:"slds-box slds-theme_shade"},Y0={key:2},X0={key:3},Z0={key:0},J0={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=ns({}),n=bt(()=>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)=>(I(),B("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),st(Zo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(I(),B("div",R0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?(I(),B("div",L0,[g("div",F0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",I0,[g("table",k0,[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,[(I(!0),B(dt,null,Me(t.schema.properties,(u,c)=>(I(),B(dt,{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:O0,class:At(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),ks(" "+J(c),1)],8,$0)]),g("td",null,[g("div",B0,[g("span",N0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,U0)]),g("td",null,[g("div",H0,[i(c)?(I(),B("span",K0,"Required")):(I(),B("span",W0,"Optional"))])])],8,j0),st(Th,null,{default:wn(()=>[s.value[c]?(I(),B("tr",G0,[g("td",z0,[g("div",q0,[st(we,{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?(I(),B("div",Y0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(I(!0),B(dt,null,Me(t.schema.patternProperties,(u,c)=>(I(),B("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),st(we,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?(I(),B("div",X0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(I(),B("div",Z0,[g("span",{class:At(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(I(),kt(we,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):(I(),kt(of,{key:4}))]))}},Q0={class:"slds-box slds-m-top_small"},tb={class:"slds-box slds-theme_shade"},eb={class:"slds-text-body_regular"},sb={class:"slds-grid slds-gutters"},nb={class:"slds-col"},ib={class:"slds-badge"},ob={class:"slds-col"},on={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",Q0,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",tb,[g("div",eb,[g("div",sb,[g("div",nb,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",ib,J(t.schema.type),1)]),g("div",ob,[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)])])])]),st(Zo,{schema:t.schema},null,8,["schema"])]))}},rb={object:J0,array:f0,string:on,number:on,integer:on,boolean:on,null:on},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)?x0:Ze.isEnum(t)?D0:Ze.isConst(t)?C0:rb[t.type]||null},ab={class:"slds-grid slds-grid_vertical"},lb={class:"slds-col slds-size_1-of-1"},cb={class:"slds-card"},ub={class:"slds-card__body slds-card__body_inner"},fb={__name:"SchemaLayout",setup(t){return(e,s)=>(I(),B("div",ab,[g("div",lb,[g("div",cb,[g("div",ub,[Md(e.$slots,"default")])])])]))}},db={class:"slds-box"},hb={class:"slds-box slds-theme_shade"},pb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(I(),B("div",db,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[ks(" Schema in plain with all "),g("code",null,"$ref"),ks(" references already resolved ")],-1)),g("pre",hb,[g("code",null,J(s.value),1)])]))}},mb={class:"slds-page-header"},gb={class:"slds-page-header__row"},yb={class:"slds-page-header__col-title"},vb={class:"slds-media"},bb={class:"slds-media__body"},_b={class:"slds-page-header__name"},xb={class:"slds-page-header__name-title"},Sb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Tb={class:"slds-page-header__meta-text"},wb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",mb,[g("div",gb,[g("div",yb,[g("div",vb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",bb,[g("div",_b,[g("div",xb,[g("h1",Sb,J(t.schema.title||"Schema"),1)])]),g("div",Tb,J(t.schema.description||"No description provided"),1)])])])])]))}},Pb={class:"slds-tabs_default__nav",role:"tablist"},Ab={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(I(),B("ul",Pb,[g("li",{class:At(["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:At(["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)]))}},Cb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Eb={class:"slds-notify__content"},Vb=nf({__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)=>(I(),B("div",Cb,[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:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Eb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Mb={class:"slds-tabs_default"},Db={class:"slds-p-around_medium"},Ob={class:"slds-m-top_medium"},Rb={class:"slds-p-around_medium"},we={__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=bt(()=>e.isRoot?e.schema:e.rootSchema);Ti("rootSchema",n);const i=bt(()=>Ze.getComponentForSchema(e.schema));return(o,r)=>(I(),kt(fb,null,{default:wn(()=>[g("div",Mb,[st(Ab,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:At({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Db,[st(wb,{schema:t.schema},null,8,["schema"]),g("div",Ob,[i.value?(I(),kt(Ed(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(I(),kt(Vb,{key:1}))])])],2),g("div",{class:At({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Rb,[st(pb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Lb={class:"slds-grid slds-grid_vertical"},Fb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},Ib={class:"slds-col slds-size_2-of-12"},kb={class:"slds-col slds-size_10-of-12"},jb={key:1,class:"slds-p-around_medium"},rf={__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)=>(I(),B("div",Lb,[st(fp,{title:t.title},null,8,["title"]),g("div",Fb,[g("div",Ib,[st(Gv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",kb,[s.value?(I(),kt(we,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(I(),B("div",jb,[...o[0]||(o[0]=[lh('<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)])]))])]),st(sp,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function af(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&el(rf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",af):af(),Fe.App=rf,Fe.createApp=el,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})}));
|