slds-json-schema-renderer 1.5.61 → 1.5.63

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(je,Be){typeof exports=="object"&&typeof module<"u"?Be(exports):typeof define=="function"&&define.amd?define(["exports"],Be):(je=typeof globalThis<"u"?globalThis:je||self,Be(je.JsonSchemaDocs={}))})(this,(function(je){"use strict";function Be(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const ut={},ss=[],Xt=()=>{},or=()=>!1,un=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),fn=t=>t.startsWith("onUpdate:"),yt=Object.assign,ui=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},pf=Object.prototype.hasOwnProperty,st=(t,e)=>pf.call(t,e),H=Array.isArray,Ve=t=>xs(t)==="[object Map]",hn=t=>xs(t)==="[object Set]",rr=t=>xs(t)==="[object Date]",z=t=>typeof t=="function",ht=t=>typeof t=="string",Zt=t=>typeof t=="symbol",nt=t=>t!==null&&typeof t=="object",ar=t=>(nt(t)||z(t))&&z(t.then)&&z(t.catch),lr=Object.prototype.toString,xs=t=>lr.call(t),mf=t=>xs(t).slice(8,-1),cr=t=>xs(t)==="[object Object]",fi=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Be(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},gf=/-\w/g,Mt=dn(t=>t.replace(gf,e=>e.slice(1).toUpperCase())),yf=/\B([A-Z])/g,$e=dn(t=>t.replace(yf,"-$1").toLowerCase()),pn=dn(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=dn(t=>t?`on${pn(t)}`:""),se=(t,e)=>!Object.is(t,e),di=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ur=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},vf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},bf=t=>{const e=ht(t)?Number(t):NaN;return isNaN(e)?t:e};let fr;const mn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pi(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ht(n)?Tf(n):pi(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ht(t)||nt(t))return t}const xf=/;(?![^(]*\))/g,_f=/:([^]+)/,Sf=/\/\*[^]*?\*\//g;function Tf(t){const e={};return t.replace(Sf,"").split(xf).forEach(s=>{if(s){const n=s.split(_f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Dt(t){let e="";if(ht(t))e=t;else if(H(t))for(let s=0;s<t.length;s++){const n=Dt(t[s]);n&&(e+=n+" ")}else if(nt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const wf=Be("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function hr(t){return!!t||t===""}function Af(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=gn(t[n],e[n]);return s}function dr(t,e){if(t.size!==e.size)return!1;const s=Array.from(e),n=new Uint8Array(s.length);for(const i of t){let o=-1;for(let r=0;r<s.length;r++)if(!n[r]&&gn(i,s[r])){o=r;break}if(o<0)return!1;n[o]=1}return!0}function gn(t,e){if(t===e)return!0;let s=rr(t),n=rr(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Zt(t),n=Zt(e),s||n)return t===e;if(s=H(t),n=H(e),s||n)return s&&n?Af(t,e):!1;if(s=nt(t),n=nt(e),s||n){if(!s||!n)return!1;if(s=Ve(t),n=Ve(e),s||n||(s=hn(t),n=hn(e),s||n))return s&&n?dr(t,e):!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||!gn(t[r],e[r]))return!1}}return String(t)===String(e)}const pr=t=>!!(t&&t.__v_isRef===!0),J=t=>ht(t)?t:t==null?"":H(t)||nt(t)&&(t.toString===lr||!z(t.toString))?pr(t)?J(t.value):JSON.stringify(t,mr,2):String(t),mr=(t,e)=>pr(e)?mr(t,e.value):Ve(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[mi(n,o)+" =>"]=i,s),{})}:hn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>mi(s))}:Zt(e)?mi(e):nt(e)&&!H(e)&&!cr(e)?String(e):e,mi=(t,e="")=>{var s;return Zt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Pf={NODE_ENV:"production"};let St;class Cf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&St&&(St.active?(this.parent=St,this.index=(St.scopes||(St.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[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){const i=this.scopes.slice();for(e=0,s=i.length;e<s;e++)i[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=St;try{return St=this,e()}finally{St=s}}}on(){++this._on===1&&(this.prevScope=St,St=this)}off(){if(this._on>0&&--this._on===0){if(St===this)St=this.prevScope;else{let e=St;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.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){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[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 Ef(){return St}let ft;const gi=new WeakSet;class gr{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,St&&(St.active?St.effects.push(this):this.flags&=-2)}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||vr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tr(this),br(this);const e=ft,s=Jt;ft=this,Jt=!0;try{return this.fn()}finally{xr(this),ft=e,Jt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)xi(e);this.deps=this.depsTail=void 0,Tr(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 yr=0,Ss,Ts;function vr(t,e=!1){if(t.flags|=8,e){t.next=Ts,Ts=t;return}t.next=Ss,Ss=t}function yi(){yr++}function vi(){if(--yr>0)return;if(Ts){let e=Ts;for(Ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ss;){let e=Ss;for(Ss=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 br(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),xi(n),Vf(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&&(_r(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function _r(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ws)||(t.globalVersion=ws,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!bi(t))))return;t.flags|=2;const e=t.dep,s=ft,n=Jt;ft=t,Jt=!0;try{br(t);const i=t.fn(t._value);(e.version===0||se(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ft=s,Jt=n,xr(t),t.flags&=-3}}function xi(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)xi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Vf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Jt=!0;const Sr=[];function ne(){Sr.push(Jt),Jt=!1}function ie(){const t=Sr.pop();Jt=t===void 0?!0:t}function Tr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ft;ft=void 0;try{e()}finally{ft=s}}}let ws=0;class Mf{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 _i{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(!ft||!Jt||ft===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ft)s=this.activeLink=new Mf(ft,this),ft.deps?(s.prevDep=ft.depsTail,ft.depsTail.nextDep=s,ft.depsTail=s):ft.deps=ft.depsTail=s,wr(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=ft.depsTail,s.nextDep=void 0,ft.depsTail.nextDep=s,ft.depsTail=s,ft.deps===s&&(ft.deps=n)}return s}trigger(e){this.version++,ws++,this.notify(e)}notify(e){yi();try{Pf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vi()}}}function wr(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)wr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Si=new WeakMap,Ne=Symbol(""),Ti=Symbol(""),As=Symbol("");function Ct(t,e,s){if(Jt&&ft){let n=Si.get(t);n||Si.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new _i),i.map=n,i.key=s),i.track()}}function ve(t,e,s,n,i,o){const r=Si.get(t);if(!r){ws++;return}const a=l=>{l&&l.trigger()};if(yi(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&fi(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===As||!Zt(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(As)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"delete":l||(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"set":Ve(t)&&a(r.get(Ne));break}}vi()}function ns(t){const e=Q(t);return e===t?e:(Ct(e,"iterate",As),Ut(t)?e:e.map(Qt))}function yn(t){return Ct(t=Q(t),"iterate",As),t}function oe(t,e){return xe(t)?is(Ue(t)?Qt(e):e):Qt(e)}const Df={__proto__:null,[Symbol.iterator](){return wi(this,Symbol.iterator,t=>oe(this,t))},concat(...t){return ns(this).concat(...t.map(e=>H(e)?ns(e):e))},entries(){return wi(this,"entries",t=>(t[1]=oe(this,t[1]),t))},every(t,e){return be(this,"every",t,e,void 0,arguments)},filter(t,e){return be(this,"filter",t,e,s=>s.map(n=>oe(this,n)),arguments)},find(t,e){return be(this,"find",t,e,s=>oe(this,s),arguments)},findIndex(t,e){return be(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return be(this,"findLast",t,e,s=>oe(this,s),arguments)},findLastIndex(t,e){return be(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return be(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ai(this,"includes",t)},indexOf(...t){return Ai(this,"indexOf",t)},join(t){return ns(this).join(t)},lastIndexOf(...t){return Ai(this,"lastIndexOf",t)},map(t,e){return be(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return Ar(this,"reduce",t,e)},reduceRight(t,...e){return Ar(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return be(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(this,"splice",t)},toReversed(){return ns(this).toReversed()},toSorted(t){return ns(this).toSorted(t)},toSpliced(...t){return ns(this).toSpliced(...t)},unshift(...t){return Ps(this,"unshift",t)},values(){return wi(this,"values",t=>oe(this,t))}};function wi(t,e,s){const n=yn(t),i=n[e]();return n!==t&&!Ut(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Of=Array.prototype;function be(t,e,s,n,i,o){const r=yn(t),a=r!==t&&!Ut(t),l=r[e];if(l!==Of[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,oe(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 Ar(t,e,s,n){const i=yn(t),o=i!==t&&!Ut(t);let r=s,a=!1;i!==t&&(o?(a=n.length===0,r=function(u,c,f){return a&&(a=!1,u=oe(t,u)),s.call(this,u,oe(t,c),f,t)}):s.length>3&&(r=function(u,c,f){return s.call(this,u,c,f,t)}));const l=i[e](r,...n);return a?oe(t,l):l}function Ai(t,e,s){const n=Q(t);Ct(n,"iterate",As);const i=n[e](...s);return(i===-1||i===!1)&&Vi(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){ne(),yi();const n=Q(t)[e].apply(t,s);return vi(),ie(),n}const Rf=Be("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zt));function Lf(t){Zt(t)||(t=String(t));const e=Q(this);return Ct(e,"has",t),e.hasOwnProperty(t)}class Cr{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?Rr:Or:o?Dr:Mr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Df[s]))return l;if(s==="hasOwnProperty")return Lf}const a=Reflect.get(e,s,Tt(e)?e:n);if((Zt(s)?Pr.has(s):Rf(s))||(i||Ct(e,"get",s),o))return a;if(Tt(a)){const l=r&&fi(s)?a:a.value;return i&&nt(l)?Ei(l):l}return nt(a)?i?Ei(a):Ci(a):a}}class Er extends Cr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=H(e)&&fi(s);if(!this._isShallow){const u=xe(o);if(!Ut(n)&&!xe(n)&&(o=Q(o),n=Q(n)),!r&&Tt(o)&&!Tt(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:st(e,s),l=Reflect.set(e,s,n,Tt(e)?e:i);return e===Q(i)&&l&&(a?se(n,o)&&ve(e,"set",s,n):ve(e,"add",s,n)),l}deleteProperty(e,s){const n=st(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ve(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Zt(s)||!Pr.has(s))&&Ct(e,"has",s),n}ownKeys(e){return Ct(e,"iterate",H(e)?"length":Ne),Reflect.ownKeys(e)}}class Vr extends Cr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Ff=new Er,If=new Vr,kf=new Er(!0),jf=new Vr(!0),Pi=t=>t,vn=t=>Reflect.getPrototypeOf(t);function Bf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=Ve(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?Pi:e?is:Qt;return!e&&Ct(o,"iterate",l?Ti:Ne),yt(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 bn(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||(se(i,a)&&Ct(r,"get",i),Ct(r,"get",a));const{has:l}=vn(r),u=e?Pi:t?is: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&&Ct(Q(i),"iterate",Ne),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(se(i,a)&&Ct(r,"has",i),Ct(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?Pi:t?is:Qt;return!t&&Ct(l,"iterate",Ne),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return yt(s,t?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(i){const o=Q(this),r=vn(o),a=Q(i),l=!e&&!Ut(i)&&!xe(i)?a:i;return r.has.call(o,l)||se(i,l)&&r.has.call(o,i)||se(a,l)&&r.has.call(o,a)||(o.add(l),ve(o,"add",l,l)),this},set(i,o){!e&&!Ut(o)&&!xe(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=vn(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?se(o,c)&&ve(r,"set",i,o):ve(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=vn(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&&ve(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&ve(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Bf(i,t,e)}),s}function xn(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(st(s,i)&&i in n?s:n,i,o)}const Nf={get:xn(!1,!1)},Uf={get:xn(!1,!0)},Hf={get:xn(!0,!1)},Kf={get:xn(!0,!0)},Mr=new WeakMap,Dr=new WeakMap,Or=new WeakMap,Rr=new WeakMap;function Wf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ci(t){return xe(t)?t:Sn(t,!1,Ff,Nf,Mr)}function Gf(t){return Sn(t,!1,kf,Uf,Dr)}function Ei(t){return Sn(t,!0,If,Hf,Or)}function _n(t){return Sn(t,!0,jf,Kf,Rr)}function Sn(t,e,s,n,i){if(!nt(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=i.get(t);if(o)return o;const r=Wf(mf(t));if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function Ue(t){return xe(t)?Ue(t.__v_raw):!!(t&&t.__v_isReactive)}function xe(t){return!!(t&&t.__v_isReadonly)}function Ut(t){return!!(t&&t.__v_isShallow)}function Vi(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!st(t,"__v_skip")&&Object.isExtensible(t)&&ur(t,"__v_skip",!0),t}const Qt=t=>nt(t)?Ci(t):t,is=t=>nt(t)?Ei(t):t;function Tt(t){return t?t.__v_isRef===!0:!1}function os(t){return qf(t,!1)}function qf(t,e){return Tt(t)?t:new Yf(t,e)}class Yf{constructor(e,s){this.dep=new _i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(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||Ut(e)||xe(e);e=n?e:Q(e),se(e,s)&&(this._rawValue=e,this._value=n?e:Qt(e),this.dep.trigger())}}function Lr(t){return Tt(t)?t.value:t}const Xf={get:(t,e,s)=>e==="__v_raw"?t:Lr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return Tt(i)&&!Tt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Fr(t){return Ue(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 _i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return vr(this,!0),!0}get value(){const e=this.dep.track();return _r(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 z(t)?n=t:(n=t.get,i=t.set),new Zf(n,i,s)}const Tn={},wn=new WeakMap;let He;function Qf(t,e=!1,s=He){if(s){let n=wn.get(s);n||wn.set(s,n=[]),n.push(t)}}function th(t,e,s=ut){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=A=>i?A:Ut(A)||i===!1||i===0?Me(A,1):Me(A);let c,f,h,m,y=!1,v=!1;if(Tt(t)?(f=()=>t.value,y=Ut(t)):Ue(t)?(f=()=>u(t),y=!0):H(t)?(v=!0,y=t.some(A=>Ue(A)||Ut(A)),f=()=>t.map(A=>{if(Tt(A))return A.value;if(Ue(A))return u(A);if(z(A))return l?l(A,2):A()})):z(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){ne();try{h()}finally{ie()}}const A=He;He=c;try{return l?l(t,3,[m]):t(m)}finally{He=A}}:f=Xt,e&&i){const A=f,I=i===!0?1/0:i;f=()=>Me(A(),I)}const x=Ef(),w=()=>{c.stop(),x&&x.active&&ui(x.effects,c)};if(o&&e){const A=e;e=(...I)=>{const W=A(...I);return w(),W}}let C=v?new Array(t.length).fill(Tn):Tn;const E=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(e){const I=c.run();if(A||i||y||(v?I.some((W,q)=>se(W,C[q])):se(I,C))){h&&h();const W=He;He=c;try{const q=[I,C===Tn?void 0:v&&C[0]===Tn?[]:C,m];C=I,l?l(e,3,q):e(...q)}finally{He=W}}}else c.run()};return a&&a(E),c=new gr(f),c.scheduler=r?()=>r(E,!1):E,m=A=>Qf(A,!1,c),h=c.onStop=()=>{const A=wn.get(c);if(A){if(l)l(A,4);else for(const I of A)I();wn.delete(c)}},e?n?E(!0):C=c.run():r?r(E.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function Me(t,e=1/0,s){if(e<=0||!nt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Tt(t))Me(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)Me(t[n],e,s);else if(hn(t)||Ve(t))t.forEach(n=>{Me(n,e,s)});else if(cr(t)){for(const n in t)Me(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Me(t[n],e,s)}return t}var De={NODE_ENV:"production"};const Cs=[];let Mi=!1;function eh(t,...e){if(Mi)return;Mi=!0,ne();const s=Cs.length?Cs[Cs.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=sh();if(n)rs(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 <${Ba(s,o.type)}>`).join(`
1
+ (function(je,Be){typeof exports=="object"&&typeof module<"u"?Be(exports):typeof define=="function"&&define.amd?define(["exports"],Be):(je=typeof globalThis<"u"?globalThis:je||self,Be(je.JsonSchemaDocs={}))})(this,(function(je){"use strict";function Be(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const ut={},ss=[],Xt=()=>{},or=()=>!1,un=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),fn=t=>t.startsWith("onUpdate:"),yt=Object.assign,ui=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},gf=Object.prototype.hasOwnProperty,st=(t,e)=>gf.call(t,e),H=Array.isArray,Ve=t=>xs(t)==="[object Map]",hn=t=>xs(t)==="[object Set]",rr=t=>xs(t)==="[object Date]",z=t=>typeof t=="function",ht=t=>typeof t=="string",Zt=t=>typeof t=="symbol",nt=t=>t!==null&&typeof t=="object",ar=t=>(nt(t)||z(t))&&z(t.then)&&z(t.catch),lr=Object.prototype.toString,xs=t=>lr.call(t),yf=t=>xs(t).slice(8,-1),cr=t=>xs(t)==="[object Object]",fi=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Be(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},vf=/-\w/g,Mt=dn(t=>t.replace(vf,e=>e.slice(1).toUpperCase())),bf=/\B([A-Z])/g,$e=dn(t=>t.replace(bf,"-$1").toLowerCase()),pn=dn(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=dn(t=>t?`on${pn(t)}`:""),se=(t,e)=>!Object.is(t,e),di=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ur=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},xf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},_f=t=>{const e=ht(t)?Number(t):NaN;return isNaN(e)?t:e};let fr;const mn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pi(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ht(n)?Af(n):pi(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ht(t)||nt(t))return t}const Sf=/;(?![^(]*\))/g,Tf=/:([^]+)/,wf=/\/\*[^]*?\*\//g;function Af(t){const e={};return t.replace(wf,"").split(Sf).forEach(s=>{if(s){const n=s.split(Tf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Dt(t){let e="";if(ht(t))e=t;else if(H(t))for(let s=0;s<t.length;s++){const n=Dt(t[s]);n&&(e+=n+" ")}else if(nt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Pf=Be("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function hr(t){return!!t||t===""}function Cf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=gn(t[n],e[n]);return s}function dr(t,e){if(t.size!==e.size)return!1;const s=Array.from(e),n=new Uint8Array(s.length);for(const i of t){let o=-1;for(let r=0;r<s.length;r++)if(!n[r]&&gn(i,s[r])){o=r;break}if(o<0)return!1;n[o]=1}return!0}function gn(t,e){if(t===e)return!0;let s=rr(t),n=rr(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Zt(t),n=Zt(e),s||n)return t===e;if(s=H(t),n=H(e),s||n)return s&&n?Cf(t,e):!1;if(s=nt(t),n=nt(e),s||n){if(!s||!n)return!1;if(s=Ve(t),n=Ve(e),s||n||(s=hn(t),n=hn(e),s||n))return s&&n?dr(t,e):!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||!gn(t[r],e[r]))return!1}}return String(t)===String(e)}const pr=t=>!!(t&&t.__v_isRef===!0),J=t=>ht(t)?t:t==null?"":H(t)||nt(t)&&(t.toString===lr||!z(t.toString))?pr(t)?J(t.value):JSON.stringify(t,mr,2):String(t),mr=(t,e)=>pr(e)?mr(t,e.value):Ve(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[mi(n,o)+" =>"]=i,s),{})}:hn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>mi(s))}:Zt(e)?mi(e):nt(e)&&!H(e)&&!cr(e)?String(e):e,mi=(t,e="")=>{var s;return Zt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Ef={NODE_ENV:"production"};let St;class Vf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&St&&(St.active?(this.parent=St,this.index=(St.scopes||(St.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[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){const i=this.scopes.slice();for(e=0,s=i.length;e<s;e++)i[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=St;try{return St=this,e()}finally{St=s}}}on(){++this._on===1&&(this.prevScope=St,St=this)}off(){if(this._on>0&&--this._on===0){if(St===this)St=this.prevScope;else{let e=St;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.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){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[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 Mf(){return St}let ft;const gi=new WeakSet;class gr{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,St&&(St.active?St.effects.push(this):this.flags&=-2)}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||vr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tr(this),br(this);const e=ft,s=Jt;ft=this,Jt=!0;try{return this.fn()}finally{xr(this),ft=e,Jt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)xi(e);this.deps=this.depsTail=void 0,Tr(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 yr=0,Ss,Ts;function vr(t,e=!1){if(t.flags|=8,e){t.next=Ts,Ts=t;return}t.next=Ss,Ss=t}function yi(){yr++}function vi(){if(--yr>0)return;if(Ts){let e=Ts;for(Ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ss;){let e=Ss;for(Ss=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 br(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),xi(n),Df(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&&(_r(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function _r(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ws)||(t.globalVersion=ws,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!bi(t))))return;t.flags|=2;const e=t.dep,s=ft,n=Jt;ft=t,Jt=!0;try{br(t);const i=t.fn(t._value);(e.version===0||se(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ft=s,Jt=n,xr(t),t.flags&=-3}}function xi(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)xi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Df(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Jt=!0;const Sr=[];function ne(){Sr.push(Jt),Jt=!1}function ie(){const t=Sr.pop();Jt=t===void 0?!0:t}function Tr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ft;ft=void 0;try{e()}finally{ft=s}}}let ws=0;class Of{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class _i{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(!ft||!Jt||ft===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ft)s=this.activeLink=new Of(ft,this),ft.deps?(s.prevDep=ft.depsTail,ft.depsTail.nextDep=s,ft.depsTail=s):ft.deps=ft.depsTail=s,wr(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=ft.depsTail,s.nextDep=void 0,ft.depsTail.nextDep=s,ft.depsTail=s,ft.deps===s&&(ft.deps=n)}return s}trigger(e){this.version++,ws++,this.notify(e)}notify(e){yi();try{Ef.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vi()}}}function wr(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)wr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Si=new WeakMap,Ne=Symbol(""),Ti=Symbol(""),As=Symbol("");function Ct(t,e,s){if(Jt&&ft){let n=Si.get(t);n||Si.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new _i),i.map=n,i.key=s),i.track()}}function ve(t,e,s,n,i,o){const r=Si.get(t);if(!r){ws++;return}const a=l=>{l&&l.trigger()};if(yi(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&fi(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===As||!Zt(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(As)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"delete":l||(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"set":Ve(t)&&a(r.get(Ne));break}}vi()}function ns(t){const e=Q(t);return e===t?e:(Ct(e,"iterate",As),Ut(t)?e:e.map(Qt))}function yn(t){return Ct(t=Q(t),"iterate",As),t}function oe(t,e){return xe(t)?is(Ue(t)?Qt(e):e):Qt(e)}const Rf={__proto__:null,[Symbol.iterator](){return wi(this,Symbol.iterator,t=>oe(this,t))},concat(...t){return ns(this).concat(...t.map(e=>H(e)?ns(e):e))},entries(){return wi(this,"entries",t=>(t[1]=oe(this,t[1]),t))},every(t,e){return be(this,"every",t,e,void 0,arguments)},filter(t,e){return be(this,"filter",t,e,s=>s.map(n=>oe(this,n)),arguments)},find(t,e){return be(this,"find",t,e,s=>oe(this,s),arguments)},findIndex(t,e){return be(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return be(this,"findLast",t,e,s=>oe(this,s),arguments)},findLastIndex(t,e){return be(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return be(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ai(this,"includes",t)},indexOf(...t){return Ai(this,"indexOf",t)},join(t){return ns(this).join(t)},lastIndexOf(...t){return Ai(this,"lastIndexOf",t)},map(t,e){return be(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return Ar(this,"reduce",t,e)},reduceRight(t,...e){return Ar(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return be(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(this,"splice",t)},toReversed(){return ns(this).toReversed()},toSorted(t){return ns(this).toSorted(t)},toSpliced(...t){return ns(this).toSpliced(...t)},unshift(...t){return Ps(this,"unshift",t)},values(){return wi(this,"values",t=>oe(this,t))}};function wi(t,e,s){const n=yn(t),i=n[e]();return n!==t&&!Ut(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Lf=Array.prototype;function be(t,e,s,n,i,o){const r=yn(t),a=r!==t&&!Ut(t),l=r[e];if(l!==Lf[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,oe(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 Ar(t,e,s,n){const i=yn(t),o=i!==t&&!Ut(t);let r=s,a=!1;i!==t&&(o?(a=n.length===0,r=function(u,c,f){return a&&(a=!1,u=oe(t,u)),s.call(this,u,oe(t,c),f,t)}):s.length>3&&(r=function(u,c,f){return s.call(this,u,c,f,t)}));const l=i[e](r,...n);return a?oe(t,l):l}function Ai(t,e,s){const n=Q(t);Ct(n,"iterate",As);const i=n[e](...s);return(i===-1||i===!1)&&Vi(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){ne(),yi();const n=Q(t)[e].apply(t,s);return vi(),ie(),n}const Ff=Be("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zt));function If(t){Zt(t)||(t=String(t));const e=Q(this);return Ct(e,"has",t),e.hasOwnProperty(t)}class Cr{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?Rr:Or:o?Dr:Mr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Rf[s]))return l;if(s==="hasOwnProperty")return If}const a=Reflect.get(e,s,Tt(e)?e:n);if((Zt(s)?Pr.has(s):Ff(s))||(i||Ct(e,"get",s),o))return a;if(Tt(a)){const l=r&&fi(s)?a:a.value;return i&&nt(l)?Ei(l):l}return nt(a)?i?Ei(a):Ci(a):a}}class Er extends Cr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=H(e)&&fi(s);if(!this._isShallow){const u=xe(o);if(!Ut(n)&&!xe(n)&&(o=Q(o),n=Q(n)),!r&&Tt(o)&&!Tt(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:st(e,s),l=Reflect.set(e,s,n,Tt(e)?e:i);return e===Q(i)&&l&&(a?se(n,o)&&ve(e,"set",s,n):ve(e,"add",s,n)),l}deleteProperty(e,s){const n=st(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ve(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Zt(s)||!Pr.has(s))&&Ct(e,"has",s),n}ownKeys(e){return Ct(e,"iterate",H(e)?"length":Ne),Reflect.ownKeys(e)}}class Vr extends Cr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const kf=new Er,jf=new Vr,Bf=new Er(!0),$f=new Vr(!0),Pi=t=>t,vn=t=>Reflect.getPrototypeOf(t);function Nf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=Ve(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?Pi:e?is:Qt;return!e&&Ct(o,"iterate",l?Ti:Ne),yt(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 bn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Uf(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(se(i,a)&&Ct(r,"get",i),Ct(r,"get",a));const{has:l}=vn(r),u=e?Pi:t?is: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&&Ct(Q(i),"iterate",Ne),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(se(i,a)&&Ct(r,"has",i),Ct(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?Pi:t?is:Qt;return!t&&Ct(l,"iterate",Ne),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return yt(s,t?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(i){const o=Q(this),r=vn(o),a=Q(i),l=!e&&!Ut(i)&&!xe(i)?a:i;return r.has.call(o,l)||se(i,l)&&r.has.call(o,i)||se(a,l)&&r.has.call(o,a)||(o.add(l),ve(o,"add",l,l)),this},set(i,o){!e&&!Ut(o)&&!xe(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=vn(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?se(o,c)&&ve(r,"set",i,o):ve(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=vn(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&&ve(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&ve(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Nf(i,t,e)}),s}function xn(t,e){const s=Uf(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(st(s,i)&&i in n?s:n,i,o)}const Hf={get:xn(!1,!1)},Kf={get:xn(!1,!0)},Wf={get:xn(!0,!1)},Gf={get:xn(!0,!0)},Mr=new WeakMap,Dr=new WeakMap,Or=new WeakMap,Rr=new WeakMap;function zf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ci(t){return xe(t)?t:Sn(t,!1,kf,Hf,Mr)}function qf(t){return Sn(t,!1,Bf,Kf,Dr)}function Ei(t){return Sn(t,!0,jf,Wf,Or)}function _n(t){return Sn(t,!0,$f,Gf,Rr)}function Sn(t,e,s,n,i){if(!nt(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=i.get(t);if(o)return o;const r=zf(yf(t));if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function Ue(t){return xe(t)?Ue(t.__v_raw):!!(t&&t.__v_isReactive)}function xe(t){return!!(t&&t.__v_isReadonly)}function Ut(t){return!!(t&&t.__v_isShallow)}function Vi(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function Yf(t){return!st(t,"__v_skip")&&Object.isExtensible(t)&&ur(t,"__v_skip",!0),t}const Qt=t=>nt(t)?Ci(t):t,is=t=>nt(t)?Ei(t):t;function Tt(t){return t?t.__v_isRef===!0:!1}function os(t){return Xf(t,!1)}function Xf(t,e){return Tt(t)?t:new Zf(t,e)}class Zf{constructor(e,s){this.dep=new _i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(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||Ut(e)||xe(e);e=n?e:Q(e),se(e,s)&&(this._rawValue=e,this._value=n?e:Qt(e),this.dep.trigger())}}function Lr(t){return Tt(t)?t.value:t}const Jf={get:(t,e,s)=>e==="__v_raw"?t:Lr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return Tt(i)&&!Tt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Fr(t){return Ue(t)?t:new Proxy(t,Jf)}class Qf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new _i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return vr(this,!0),!0}get value(){const e=this.dep.track();return _r(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function th(t,e,s=!1){let n,i;return z(t)?n=t:(n=t.get,i=t.set),new Qf(n,i,s)}const Tn={},wn=new WeakMap;let He;function eh(t,e=!1,s=He){if(s){let n=wn.get(s);n||wn.set(s,n=[]),n.push(t)}}function sh(t,e,s=ut){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=_=>i?_:Ut(_)||i===!1||i===0?Me(_,1):Me(_);let c,f,h,m,v=!1,y=!1;if(Tt(t)?(f=()=>t.value,v=Ut(t)):Ue(t)?(f=()=>u(t),v=!0):H(t)?(y=!0,v=t.some(_=>Ue(_)||Ut(_)),f=()=>t.map(_=>{if(Tt(_))return _.value;if(Ue(_))return u(_);if(z(_))return l?l(_,2):_()})):z(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){ne();try{h()}finally{ie()}}const _=He;He=c;try{return l?l(t,3,[m]):t(m)}finally{He=_}}:f=Xt,e&&i){const _=f,F=i===!0?1/0:i;f=()=>Me(_(),F)}const x=Mf(),A=()=>{c.stop(),x&&x.active&&ui(x.effects,c)};if(o&&e){const _=e;e=(...F)=>{const W=_(...F);return A(),W}}let C=y?new Array(t.length).fill(Tn):Tn;const E=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(e){const F=c.run();if(_||i||v||(y?F.some((W,q)=>se(W,C[q])):se(F,C))){h&&h();const W=He;He=c;try{const q=[F,C===Tn?void 0:y&&C[0]===Tn?[]:C,m];C=F,l?l(e,3,q):e(...q)}finally{He=W}}}else c.run()};return a&&a(E),c=new gr(f),c.scheduler=r?()=>r(E,!1):E,m=_=>eh(_,!1,c),h=c.onStop=()=>{const _=wn.get(c);if(_){if(l)l(_,4);else for(const F of _)F();wn.delete(c)}},e?n?E(!0):C=c.run():r?r(E.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function Me(t,e=1/0,s){if(e<=0||!nt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Tt(t))Me(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)Me(t[n],e,s);else if(hn(t)||Ve(t))t.forEach(n=>{Me(n,e,s)});else if(cr(t)){for(const n in t)Me(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Me(t[n],e,s)}return t}var De={NODE_ENV:"production"};const Cs=[];let Mi=!1;function nh(t,...e){if(Mi)return;Mi=!0,ne();const s=Cs.length?Cs[Cs.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=ih();if(n)rs(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 <${Na(s,o.type)}>`).join(`
2
2
  `),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(`
3
- `,...nh(i)),console.warn(...o)}ie(),Mi=!1}function sh(){let t=Cs[Cs.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 nh(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
4
- `],...ih(s))}),e}function ih({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Ba(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...oh(t.props),o]:[i+o]}function oh(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Ir(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Ir(t,e,s){return ht(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:Tt(e)?(e=Ir(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):z(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function rs(t,e,s,n){try{return n?t(...n):t()}catch(i){An(i,e,s)}}function Ht(t,e,s,n){if(z(t)){const i=rs(t,e,s,n);return i&&ar(i)&&i.catch(o=>{An(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Ht(t[o],e,s,n));return i}}function An(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||ut;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){ne(),rs(o,null,10,[t,l,u]),ie();return}}rh(t,s,i,n,r)}function rh(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ot=[];let re=-1;const as=[];let Oe=null,ls=0;const kr=Promise.resolve();let Pn=null;function jr(t){const e=Pn||kr;return t?e.then(this?t.bind(this):t):e}function ah(t){let e=re+1,s=Ot.length;for(;e<s;){const n=e+s>>>1,i=Ot[n],o=Es(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Di(t){if(!(t.flags&1)){const e=Es(t),s=Ot[Ot.length-1];!s||!(t.flags&2)&&e>=Es(s)?Ot.push(t):Ot.splice(ah(e),0,t),t.flags|=1,Br()}}function Br(){Pn||(Pn=kr.then(Ur))}function lh(t){if(!H(t))Oe&&t.id===-1?Oe.splice(ls+1,0,t):t.flags&1||(as.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)as.push(t[e]);Br()}function $r(t,e,s=re+1){for(;s<Ot.length;s++){const n=Ot[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ot.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Nr(t){if(as.length){const e=[...new Set(as)].sort((s,n)=>Es(s)-Es(n));if(as.length=0,Oe){for(let s=0;s<e.length;s++)Oe.push(e[s]);return}for(Oe=e,ls=0;ls<Oe.length;ls++){const s=Oe[ls];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Oe=null,ls=0}}const Es=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Ur(t){const e=Xt;try{for(re=0;re<Ot.length;re++){const s=Ot[re];s&&!(s.flags&8)&&(De.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),rs(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;re<Ot.length;re++){const s=Ot[re];s&&(s.flags&=-2)}re=-1,Ot.length=0,Nr(),Pn=null,(Ot.length||as.length)&&Ur()}}let Et=null,Hr=null;function Cn(t){const e=Et;return Et=t,Hr=t&&t.type.__scopeId||null,e}function En(t,e=Et,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Bn(-1);const o=Cn(e),r=Se.length;let a;try{a=t(...i)}finally{for(let l=Se.length;l>r;l--)zi();Cn(o),n._d&&Bn(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Ke(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(ne(),Ht(l,s,8,[t.el,a,t,e]),ie())}}function Oi(t,e){if(xt){let s=xt.provides;const n=xt.parent&&xt.parent.provides;n===s&&(s=xt.provides=Object.create(n)),s[t]=e}}function Vs(t,e,s=!1){const n=Un();if(n||us){let i=us?us._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&&z(e)?e.call(n&&n.proxy):e}}const ch=Symbol.for("v-scx"),uh=()=>Vs(ch);function fh(t,e){return Ri(t,null,e)}function Vn(t,e,s){return Ri(t,e,s)}function Ri(t,e,s=ut){const{immediate:n,deep:i,flush:o,once:r}=s,a=yt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=uh();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Xt,m.resume=Xt,m.pause=Xt,m}}const c=xt;a.call=(m,y,v)=>Ht(m,c,y,v);let f=!1;o==="post"?a.scheduler=m=>{It(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,y)=>{y?m():Di(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const h=th(t,e,a);return $s&&(u?u.push(h):l&&h()),h}function hh(t,e,s){const n=this.proxy,i=ht(t)?t.includes(".")?Kr(n,t):()=>n[t]:t.bind(n,n);let o;z(e)?o=e:(o=e.handler,s=e);const r=Bs(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"),Mn=t=>t.__isTeleport,Kt=Symbol("_leaveCb"),Ms=Symbol("_enterCb");function ph(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{t.isMounted=!0}),ki(()=>{t.isUnmounting=!0}),t}const Wt=[Function,Array],Wr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wt,onEnter:Wt,onAfterEnter:Wt,onEnterCancelled:Wt,onBeforeLeave:Wt,onLeave:Wt,onAfterLeave:Wt,onLeaveCancelled:Wt,onBeforeAppear:Wt,onAppear:Wt,onAfterAppear:Wt,onAppearCancelled:Wt},Gr=t=>{const e=t.subTree;return e.component?Gr(e.component):e},mh={name:"BaseTransition",props:Wr,setup(t,{slots:e}){const s=Un(),n=ph();return()=>{const i=e.default&&Yr(e.default(),!0),o=i&&i.length?zr(i):s.subTree?$t():void 0;if(!o)return;const r=Q(t),{mode:a}=r;if(n.isLeaving)return Fi(o);const l=Dn(o);if(!l)return Fi(o);let u=Li(l,r,n,s,f=>u=f);l.type!==wt&&Ds(l,u);let c=s.subTree&&Dn(s.subTree);if(c&&c.type!==wt&&!Ge(c,l)&&Gr(s).type!==wt){let f=Li(c,r,n,s);if(Ds(c,f),a==="out-in"&&l.type!==wt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Fi(o);a==="in-out"&&l.type!==wt?f.delayLeave=(h,m,y)=>{const v=qr(n,c);v[String(c.key)]=c,h[Kt]=()=>{m(),h[Kt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function zr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==wt){e=s;break}}return e}const gh=mh;function qr(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:m,onAfterLeave:y,onLeaveCancelled:v,onBeforeAppear:x,onAppear:w,onAfterAppear:C,onAppearCancelled:E}=e,A=String(t.key),I=qr(s,t),W=(B,R)=>{B&&Ht(B,n,9,R)},q=(B,R)=>{const K=R[1];W(B,R),H(B)?B.every(O=>O.length<=1)&&K():B.length<=1&&K()},j={mode:r,persisted:a,beforeEnter(B){let R=l;if(!s.isMounted)if(o)R=x||l;else return;B[Kt]&&B[Kt](!0);const K=I[A];K&&Ge(t,K)&&K.el[Kt]&&K.el[Kt](),W(R,[B])},enter(B){if(I[A]===t)return;let R=u,K=c,O=f;if(!s.isMounted)if(o)R=w||u,K=C||c,O=E||f;else return;let et=!1;B[Ms]=bt=>{et||(et=!0,bt?W(O,[B]):W(K,[B]),j.delayedLeave&&j.delayedLeave(),B[Ms]=void 0)};const rt=B[Ms].bind(null,!1);R?q(R,[B,rt]):rt()},leave(B,R){const K=String(t.key);if(B[Ms]&&B[Ms](!0),s.isUnmounting)return R();W(h,[B]);let O=!1;B[Kt]=rt=>{O||(O=!0,R(),rt?W(v,[B]):W(y,[B]),B[Kt]=void 0,I[K]===t&&delete I[K])};const et=B[Kt].bind(null,!1);I[K]=t,m?q(m,[B,et]):et()},clone(B){const R=Li(B,e,s,n,i);return i&&i(R),R}};return j}function Fi(t){if(Rn(t))return t=Te(t),t.children=null,t}function Dn(t){if(!Rn(t))return Mn(t.type)&&t.children?zr(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&&z(s.default))return s.default()}}function Ds(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Ds(Mn(s.type)&&Dn(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Yr(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(Yr(r.children,e,a))):(e||r.type!==wt)&&n.push(a!=null?Te(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function yh(t,e){return z(t)?yt({name:t.name},e,{setup:t}):t}function Xr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Zr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const On=new WeakMap;function Os(t,e,s,n,i=!1){if(H(t)){t.forEach((v,x)=>Os(v,e&&(H(e)?e[x]:e),s,n,i));return}if(cs(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?qi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===ut?a.refs={}:a.refs,f=a.setupState,h=Q(f),m=f===ut?or:v=>Zr(c,v)?!1:st(h,v),y=(v,x)=>!(x&&Zr(c,x));if(u!=null&&u!==l){if(Jr(e),ht(u))c[u]=null,m(u)&&(f[u]=null);else if(Tt(u)){const v=e;y(u,v.k)&&(u.value=null),v.k&&(c[v.k]=null)}}if(z(l))rs(l,a,12,[r,c]);else{const v=ht(l),x=Tt(l);if(v||x){const w=()=>{if(t.f){const C=v?m(l)?f[l]:c[l]:y()||!t.k?l.value:c[t.k];if(i)H(C)&&ui(C,o);else if(H(C))C.includes(o)||C.push(o);else if(v)c[l]=[o],m(l)&&(f[l]=c[l]);else{const E=[o];y(l,t.k)&&(l.value=E),t.k&&(c[t.k]=E)}}else v?(c[l]=r,m(l)&&(f[l]=r)):x&&(y(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const C=()=>{w(),On.delete(t)};C.id=-1,On.set(t,C),It(C,s)}else Jr(t),w()}}}function Jr(t){const e=On.get(t);e&&(e.flags|=8,On.delete(t))}mn().requestIdleCallback,mn().cancelIdleCallback;const cs=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function vh(t,e){Qr(t,"a",e)}function bh(t,e){Qr(t,"da",e)}function Qr(t,e,s=xt){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)&&xh(n,e,s,i),i=i.parent}}function xh(t,e,s,n){const i=Ln(e,t,n,!0);ji(()=>{ui(n[e],i)},s)}function Ln(t,e,s=xt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ne();const a=Bs(s),l=Ht(e,s,t,r);return a(),ie(),l});return n?i.unshift(o):i.push(o),o}}const _e=t=>(e,s=xt)=>{(!$s||t==="sp")&&Ln(t,(...n)=>e(...n),s)},_h=_e("bm"),Ii=_e("m"),ta=_e("bu"),ea=_e("u"),ki=_e("bum"),ji=_e("um"),Sh=_e("sp"),Th=_e("rtg"),wh=_e("rtc");function Ah(t,e=xt){Ln("ec",t,e)}const Ph="components",sa=Symbol.for("v-ndc");function Ch(t){return ht(t)?Eh(Ph,t,!1)||t:t||sa}function Eh(t,e,s=!0,n=!1){const i=Et||xt;if(i){const o=i.type;{const a=ja(o,!1);if(a&&(a===e||a===Mt(e)||a===pn(Mt(e))))return o}const r=na(i[t]||o[t],e)||na(i.appContext[t],e);return!r&&n?o:r}}function na(t,e){return t&&(t[e]||t[Mt(e)]||t[pn(Mt(e))])}function Re(t,e,s,n){let i;const o=s,r=H(t);if(r||ht(t)){const a=r&&Ue(t);let l=!1,u=!1;a&&(l=!Ut(t),u=xe(t),t=yn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?is(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(nt(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 Vh(t,e,s,n,i,o){if(s==null&&(s={}),Et.ce||Et.parent&&cs(Et.parent)&&Et.parent.ce){const u=s,c=Object.keys(u).length>0;return k(),Bt(dt,null,[it("slot",u,n)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1);const a=Se.length;k();let l;try{const u=r&&ia(r(s)),c=s.key||o||u&&u.key;l=Bt(dt,{key:(c&&!Zt(c)?c:`_${e}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&t._===1?64:-2)}catch(u){for(let c=Se.length;c>a;c--)zi();throw u}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function ia(t){return t.some(e=>Is(e)?!(e.type===wt||e.type===dt&&!ia(e.children)):!0)?t:null}const Bi=t=>t?La(t)?qi(t):Bi(t.parent):null,Rs=yt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Bi(t.parent),$root:t=>Bi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>la(t),$forceUpdate:t=>t.f||(t.f=()=>{Di(t.update)}),$nextTick:t=>t.n||(t.n=jr.bind(t.proxy)),$watch:t=>hh.bind(t)}),$i=(t,e)=>t!==ut&&!t.__isScriptSetup&&st(t,e),Mh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;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($i(n,e))return r[e]=1,n[e];if(i!==ut&&st(i,e))return r[e]=2,i[e];if(st(o,e))return r[e]=3,o[e];if(s!==ut&&st(s,e))return r[e]=4,s[e];Ni&&(r[e]=0)}}const u=Rs[e];let c,f;if(u)return e==="$attrs"&&Ct(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==ut&&st(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,st(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return $i(i,e)?(i[e]=s,!0):n!==ut&&st(n,e)?(n[e]=s,!0):st(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!==ut&&a[0]!=="$"&&st(t,a)||$i(e,a)||st(o,a)||st(n,a)||st(Rs,a)||st(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:st(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Dh(){return Oh().attrs}function Oh(t){const e=Un();return e.setupContext||(e.setupContext=ka(e))}function oa(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ni=!0;function Rh(t){const e=la(t),s=t.proxy,n=t.ctx;Ni=!1,e.beforeCreate&&ra(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:y,activated:v,deactivated:x,beforeDestroy:w,beforeUnmount:C,destroyed:E,unmounted:A,render:I,renderTracked:W,renderTriggered:q,errorCaptured:j,serverPrefetch:B,expose:R,inheritAttrs:K,components:O,directives:et,filters:rt}=e;if(u&&Lh(u,n,null),r)for(const X in r){const Z=r[X];z(Z)&&(n[X]=Z.bind(s))}if(i){const X=i.call(s,s);nt(X)&&(t.data=Ci(X))}if(Ni=!0,o)for(const X in o){const Z=o[X],kt=z(Z)?Z.bind(s,s):z(Z.get)?Z.get.bind(s,s):Xt,bs=!z(Z)&&z(Z.set)?Z.set.bind(s):Xt,es=_t({get:kt,set:bs});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>es.value,set:pe=>es.value=pe})}if(a)for(const X in a)aa(a[X],n,s,X);if(l){const X=z(l)?l.call(s):l;Reflect.ownKeys(X).forEach(Z=>{Oi(Z,X[Z])})}c&&ra(c,t,"c");function Y(X,Z){H(Z)?Z.forEach(kt=>X(kt.bind(s))):Z&&X(Z.bind(s))}if(Y(_h,f),Y(Ii,h),Y(ta,m),Y(ea,y),Y(vh,v),Y(bh,x),Y(Ah,j),Y(wh,W),Y(Th,q),Y(ki,C),Y(ji,A),Y(Sh,B),H(R))if(R.length){const X=t.exposed||(t.exposed={});R.forEach(Z=>{Object.defineProperty(X,Z,{get:()=>s[Z],set:kt=>s[Z]=kt,enumerable:!0})})}else t.exposed||(t.exposed={});I&&t.render===Xt&&(t.render=I),K!=null&&(t.inheritAttrs=K),O&&(t.components=O),et&&(t.directives=et),B&&Xr(t)}function Lh(t,e,s=Xt){H(t)&&(t=Ui(t));for(const n in t){const i=t[n];let o;nt(i)?"default"in i?o=Vs(i.from||n,i.default,!0):o=Vs(i.from||n):o=Vs(i),Tt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function ra(t,e,s){Ht(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function aa(t,e,s,n){let i=n.includes(".")?Kr(s,n):()=>s[n];if(ht(t)){const o=e[t];z(o)&&Vn(i,o)}else if(z(t))Vn(i,t.bind(s));else if(nt(t))if(H(t))t.forEach(o=>aa(o,e,s,n));else{const o=z(t.handler)?t.handler.bind(s):e[t.handler];z(o)&&Vn(i,o,t)}}function la(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)),nt(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=Fh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Fh={data:ca,props:ua,emits:ua,methods:Ls,computed:Ls,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Ls,directives:Ls,watch:kh,provide:ca,inject:Ih};function ca(t,e){return e?t?function(){return yt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function Ih(t,e){return Ls(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 Rt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ls(t,e){return t?yt(Object.create(null),t,e):e}function ua(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:yt(Object.create(null),oa(t),oa(e??{})):e}function kh(t,e){if(!t)return e;if(!e)return t;const s=yt(Object.create(null),t);for(const n in e)s[n]=Rt(t[n],e[n]);return s}function fa(){return{app:null,config:{isNativeTag:or,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 jh=0;function Bh(t,e){return function(n,i=null){z(n)||(n=yt({},n)),i!=null&&!nt(i)&&(i=null);const o=fa(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:jh++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:gd,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&z(c.install)?(r.add(c),c.install(u,...f)):z(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 m=u._ceVNode||it(n,i);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(m,c,h),l=!0,u._container=c,c.__vue_app__=u,qi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Ht(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=us;us=u;try{return c()}finally{us=f}}};return u}}let us=null;const $h=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Mt(e)}Modifiers`]||t[`${$e(e)}Modifiers`];function Nh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||ut;let i=s;const o=e.startsWith("update:"),r=o&&$h(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ht(c)?c.trim():c)),r.number&&(i=i.map(vf)));let a,l=n[a=hi(e)]||n[a=hi(Mt(e))];!l&&o&&(l=n[a=hi($e(e))]),l&&Ht(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,Ht(u,t,6,i)}}const Uh=new WeakMap;function ha(t,e,s=!1){const n=s?Uh:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!z(t)){const l=u=>{const c=ha(u,e,!0);c&&(a=!0,yt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(nt(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):yt(r,o),nt(t)&&n.set(t,r),r)}function In(t,e){return!t||!un(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,$e(e))||st(t,e))}function Kb(){}function da(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:m,ctx:y,inheritAttrs:v}=t,x=Cn(t);let w,C;try{if(s.shapeFlag&4){const A=i||n,I=De.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(A,{get(W,q,j){return eh(`Property '${String(q)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(W,q,j)}}):A;w=ae(u.call(I,A,c,De.NODE_ENV!=="production"?_n(f):f,m,h,y)),C=a}else{const A=e;De.NODE_ENV,w=ae(A.length>1?A(De.NODE_ENV!=="production"?_n(f):f,De.NODE_ENV!=="production"?{get attrs(){return _n(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):A(De.NODE_ENV!=="production"?_n(f):f,null)),C=e.props?a:Hh(a)}}catch(A){Se.length=0,An(A,t,1),w=it(wt)}let E=w;if(C&&v!==!1){const A=Object.keys(C),{shapeFlag:I}=E;A.length&&I&7&&(o&&A.some(fn)&&(C=Kh(C,o)),E=Te(E,C,!1,!0))}if(s.dirs&&(E=Te(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(s.dirs):s.dirs),s.transition){const A=Mn(E.type)&&Dn(E)||E;Ds(A,s.transition)}return w=E,Cn(x),w}const Hh=t=>{let e;for(const s in t)(s==="class"||s==="style"||un(s))&&((e||(e={}))[s]=t[s]);return e},Kh=(t,e)=>{const s={};for(const n in t)(!fn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Wh(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?pa(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(ma(r,n,h)&&!In(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?pa(n,r,u):!0:!!r;return!1}function pa(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(ma(e,t,o)&&!In(s,o))return!0}return!1}function ma(t,e,s){const n=t[s],i=e[s];return s==="style"&&nt(n)&&nt(i)?!gn(n,i):n!==i}function Gh({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const ga={},ya=()=>Object.create(ga),va=t=>Object.getPrototypeOf(t)===ga;function zh(t,e,s,n=!1){const i={},o=ya();t.propsDefaults=Object.create(null),ba(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 qh(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 h=c[f];if(In(t.emitsOptions,h))continue;const m=e[h];if(l)if(st(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const y=Mt(h);i[y]=Hi(l,a,y,m,t,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{ba(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!st(e,f)&&((c=$e(f))===f||!st(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||!st(e,f))&&(delete o[f],u=!0)}u&&ve(t.attrs,"set","")}function ba(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&&st(i,c=Mt(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=Q(s),u=a||ut;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Hi(i,l,f,u[f],t,!st(u,f))}}return r}function Hi(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=st(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&z(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=Bs(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===$e(s))&&(n=!0))}return n}const Yh=new WeakMap;function xa(t,e,s=!1){const n=s?Yh:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!z(t)){const c=f=>{l=!0;const[h,m]=xa(f,e,!0);yt(r,h),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 nt(t)&&n.set(t,ss),ss;if(H(o))for(let c=0;c<o.length;c++){const f=Mt(o[c]);_a(f)&&(r[f]=ut)}else if(o)for(const c in o){const f=Mt(c);if(_a(f)){const h=o[c],m=r[f]=H(h)||z(h)?{type:h}:yt({},h),y=m.type;let v=!1,x=!0;if(H(y))for(let w=0;w<y.length;++w){const C=y[w],E=z(C)&&C.name;if(E==="Boolean"){v=!0;break}else E==="String"&&(x=!1)}else v=z(y)&&y.name==="Boolean";m[0]=v,m[1]=x,(v||st(m,"default"))&&a.push(f)}}const u=[r,a];return nt(t)&&n.set(t,u),u}function _a(t){return t[0]!=="$"&&!_s(t)}const Ki=t=>t==="_"||t==="_ctx"||t==="$stable",Wi=t=>H(t)?t.map(ae):[ae(t)],Xh=(t,e,s)=>{if(e._n)return e;const n=En((...i)=>(De.NODE_ENV!=="production"&&xt&&!(s===null&&Et)&&(s&&(s.root,xt.root)),Wi(e(...i))),s);return n._c=!1,n},Sa=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ki(i))continue;const o=t[i];if(z(o))e[i]=Xh(i,o,n);else if(o!=null){const r=Wi(o);e[i]=()=>r}}},Ta=(t,e)=>{const s=Wi(e);t.slots.default=()=>s},wa=(t,e,s)=>{for(const n in e)(s||!Ki(n))&&(t[n]=e[n])},Zh=(t,e,s)=>{const n=t.slots=ya();if(t.vnode.shapeFlag&32){const i=e._;i?(wa(n,e,s),s&&ur(n,"_",i,!0)):Sa(e,n)}else e&&Ta(t,e)},Jh=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=ut;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:wa(i,e,s):(o=!e.$stable,Sa(e,i)),r=e}else e&&(Ta(t,e),r={default:1});if(o)for(const a in i)!Ki(a)&&r[a]==null&&delete i[a]},It=nd;function Qh(t){return td(t)}function td(t,e){const s=mn();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:m=Xt,insertStaticContent:y}=t,v=(d,p,b,P=null,T=null,_=null,D=void 0,M=null,V=!!p.dynamicChildren)=>{if(d===p)return;d&&!Ge(d,p)&&(P=ci(d),pe(d,T,_,!0),d=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:S,ref:U,shapeFlag:L}=p;switch(S){case kn:x(d,p,b,P);break;case wt:w(d,p,b,P);break;case jn:d==null&&C(p,b,P,D);break;case dt:O(d,p,b,P,T,_,D,M,V);break;default:L&1?I(d,p,b,P,T,_,D,M,V):L&6?et(d,p,b,P,T,_,D,M,V):(L&64||L&128)&&S.process(d,p,b,P,T,_,D,M,V,ln)}U!=null&&T?Os(U,d&&d.ref,_,p||d,!p):U==null&&d&&d.ref!=null&&Os(d.ref,null,_,d,!0)},x=(d,p,b,P)=>{if(d==null)n(p.el=a(p.children),b,P);else{const T=p.el=d.el;p.children!==d.children&&u(T,p.children)}},w=(d,p,b,P)=>{d==null?n(p.el=l(p.children||""),b,P):p.el=d.el},C=(d,p,b,P)=>{[d.el,d.anchor]=y(d.children,p,b,P,d.el,d.anchor)},E=({el:d,anchor:p},b,P)=>{let T;for(;d&&d!==p;)T=h(d),n(d,b,P),d=T;n(p,b,P)},A=({el:d,anchor:p})=>{let b;for(;d&&d!==p;)b=h(d),i(d),d=b;i(p)},I=(d,p,b,P,T,_,D,M,V)=>{if(p.type==="svg"?D="svg":p.type==="math"&&(D="mathml"),d==null)W(p,b,P,T,_,D,M,V);else{const S=d.el&&d.el._isVueCE?d.el:null;try{S&&S._beginPatch(),B(d,p,T,_,D,M,V)}finally{S&&S._endPatch()}}},W=(d,p,b,P,T,_,D,M)=>{let V,S;const{props:U,shapeFlag:L,transition:$,dirs:G}=d;if(V=d.el=r(d.type,_,U&&U.is,U),L&8?c(V,d.children):L&16&&j(d.children,V,null,P,T,Gi(d,_),D,M),G&&Ke(d,null,P,"created"),q(V,d,d.scopeId,D,P),U){for(const ct in U)ct!=="value"&&!_s(ct)&&o(V,ct,null,U[ct],_,P);"value"in U&&o(V,"value",null,U.value,_),(S=U.onVnodeBeforeMount)&&le(S,P,d)}G&&Ke(d,null,P,"beforeMount");const tt=ed(T,$);tt&&$.beforeEnter(V),n(V,p,b),((S=U&&U.onVnodeMounted)||tt||G)&&It(()=>{S&&le(S,P,d),tt&&$.enter(V),G&&Ke(d,null,P,"mounted")},T)},q=(d,p,b,P,T)=>{if(b&&m(d,b),P)for(let _=0;_<P.length;_++)m(d,P[_]);if(T){let _=T.subTree;if(p===_||Va(_.type)&&(_.ssContent===p||_.ssFallback===p)){const D=T.vnode;q(d,D,D.scopeId,D.slotScopeIds,T.parent)}}},j=(d,p,b,P,T,_,D,M,V=0)=>{for(let S=V;S<d.length;S++){const U=d[S]=M?we(d[S]):ae(d[S]);v(null,U,p,b,P,T,_,D,M)}},B=(d,p,b,P,T,_,D)=>{const M=p.el=d.el;let{patchFlag:V,dynamicChildren:S,dirs:U}=p;V|=d.patchFlag&16;const L=d.props||ut,$=p.props||ut;let G;if(b&&We(b,!1),(G=$.onVnodeBeforeUpdate)&&le(G,b,p,d),U&&Ke(p,d,b,"beforeUpdate"),b&&We(b,!0),S&&(!d.dynamicChildren||d.dynamicChildren.length!==S.length)&&(V=0,D=!1,S=null),(L.innerHTML&&$.innerHTML==null||L.textContent&&$.textContent==null)&&c(M,""),S?R(d.dynamicChildren,S,M,b,P,Gi(p,T),_):D||Z(d,p,M,null,b,P,Gi(p,T),_,!1),V>0){if(V&16)K(M,L,$,b,T);else if(V&2&&L.class!==$.class&&o(M,"class",null,$.class,T),V&4&&o(M,"style",L.style,$.style,T),V&8){const tt=p.dynamicProps;for(let ct=0;ct<tt.length;ct++){const at=tt[ct],gt=L[at],Pt=$[at];(Pt!==gt||at==="value")&&o(M,at,gt,Pt,T,b)}}V&1&&d.children!==p.children&&c(M,p.children)}else!D&&S==null&&K(M,L,$,b,T);((G=$.onVnodeUpdated)||U)&&It(()=>{G&&le(G,b,p,d),U&&Ke(p,d,b,"updated")},P)},R=(d,p,b,P,T,_,D)=>{for(let M=0;M<p.length;M++){const V=d[M],S=p[M],U=V.el&&(V.type===dt||!Ge(V,S)||V.shapeFlag&198)?f(V.el):b;v(V,S,U,null,P,T,_,D,!0)}},K=(d,p,b,P,T)=>{if(p!==b){if(p!==ut)for(const _ in p)!_s(_)&&!(_ in b)&&o(d,_,p[_],null,T,P);for(const _ in b){if(_s(_))continue;const D=b[_],M=p[_];D!==M&&_!=="value"&&o(d,_,M,D,T,P)}"value"in b&&o(d,"value",p.value,b.value,T)}},O=(d,p,b,P,T,_,D,M,V)=>{const S=p.el=d?d.el:a(""),U=p.anchor=d?d.anchor:a("");let{patchFlag:L,dynamicChildren:$,slotScopeIds:G}=p;G&&(M=M?M.concat(G):G),d==null?(n(S,b,P),n(U,b,P),j(p.children||[],b,U,T,_,D,M,V)):L>0&&L&64&&$&&d.dynamicChildren&&d.dynamicChildren.length===$.length?(R(d.dynamicChildren,$,b,T,_,D,M),(p.key!=null||T&&p===T.subTree)&&Aa(d,p,!0)):Z(d,p,b,U,T,_,D,M,V)},et=(d,p,b,P,T,_,D,M,V)=>{p.slotScopeIds=M,d==null?p.shapeFlag&512?T.ctx.activate(p,b,P,D,V):rt(p,b,P,T,_,D,V):bt(d,p,V)},rt=(d,p,b,P,T,_,D)=>{const M=d.component=cd(d,P,T);if(Rn(d)&&(M.ctx.renderer=ln),ud(M,!1,D),M.asyncDep){if(T&&T.registerDep(M,Y,D),!d.el){const V=M.subTree=it(wt);w(null,V,p,b),d.placeholder=V.el}}else Y(M,d,p,b,T,_,D)},bt=(d,p,b)=>{const P=p.component=d.component;if(Wh(d,p,b))if(P.asyncDep&&!P.asyncResolved){X(P,p,b);return}else P.next=p,P.update();else p.el=d.el,P.vnode=p},Y=(d,p,b,P,T,_,D)=>{const M=()=>{if(d.isMounted){let{next:L,bu:$,u:G,parent:tt,vnode:ct}=d;{const ge=Pa(d);if(ge){L&&(L.el=ct.el,X(d,L,D)),ge.asyncDep.then(()=>{It(()=>{d.isUnmounted||S()},T)});return}}let at=L,gt;We(d,!1),L?(L.el=ct.el,X(d,L,D)):L=ct,$&&di($),(gt=L.props&&L.props.onVnodeBeforeUpdate)&&le(gt,tt,L,ct),We(d,!0);const Pt=da(d),me=d.subTree;d.subTree=Pt,v(me,Pt,f(me.el),ci(me),d,T,_),L.el=Pt.el,at===null&&Gh(d,Pt.el),G&&It(G,T),(gt=L.props&&L.props.onVnodeUpdated)&&It(()=>le(gt,tt,L,ct),T)}else{let L;const{el:$,props:G}=p,{bm:tt,m:ct,parent:at,root:gt,type:Pt}=d,me=cs(p);We(d,!1),tt&&di(tt),!me&&(L=G&&G.onVnodeBeforeMount)&&le(L,at,p),We(d,!0);{gt.ce&&gt.ce._hasShadowRoot()&&gt.ce._injectChildStyle(Pt,d.parent?d.parent.type:void 0);const ge=d.subTree=da(d);v(null,ge,b,P,d,T,_),p.el=ge.el}if(ct&&It(ct,T),!me&&(L=G&&G.onVnodeMounted)){const ge=p;It(()=>le(L,at,ge),T)}(p.shapeFlag&256||at&&cs(at.vnode)&&at.vnode.shapeFlag&256)&&d.a&&It(d.a,T),d.isMounted=!0,p=b=P=null}};d.scope.on();const V=d.effect=new gr(M);d.scope.off();const S=d.update=V.run.bind(V),U=d.job=V.runIfDirty.bind(V);U.i=d,U.id=d.uid,V.scheduler=()=>Di(U),We(d,!0),S()},X=(d,p,b)=>{p.component=d;const P=d.vnode.props;d.vnode=p,d.next=null,qh(d,p.props,P,b),Jh(d,p.children,b),ne(),$r(d),ie()},Z=(d,p,b,P,T,_,D,M,V=!1)=>{const S=d&&d.children,U=d?d.shapeFlag:0,L=p.children,{patchFlag:$,shapeFlag:G}=p;if($>0){if($&128){bs(S,L,b,P,T,_,D,M,V);return}else if($&256){kt(S,L,b,P,T,_,D,M,V);return}}G&8?(U&16&&an(S,T,_),L!==S&&c(b,L)):U&16?G&16?bs(S,L,b,P,T,_,D,M,V):an(S,T,_,!0):(U&8&&c(b,""),G&16&&j(L,b,P,T,_,D,M,V))},kt=(d,p,b,P,T,_,D,M,V)=>{d=d||ss,p=p||ss;const S=d.length,U=p.length,L=Math.min(S,U);let $;for($=0;$<L;$++){const G=p[$]=V?we(p[$]):ae(p[$]);v(d[$],G,b,null,T,_,D,M,V)}S>U?an(d,T,_,!0,!1,L):j(p,b,P,T,_,D,M,V,L)},bs=(d,p,b,P,T,_,D,M,V)=>{let S=0;const U=p.length;let L=d.length-1,$=U-1;for(;S<=L&&S<=$;){const G=d[S],tt=p[S]=V?we(p[S]):ae(p[S]);if(Ge(G,tt))v(G,tt,b,null,T,_,D,M,V);else break;S++}for(;S<=L&&S<=$;){const G=d[L],tt=p[$]=V?we(p[$]):ae(p[$]);if(Ge(G,tt))v(G,tt,b,null,T,_,D,M,V);else break;L--,$--}if(S>L){if(S<=$){const G=$+1,tt=G<U?p[G].el:P;for(;S<=$;)v(null,p[S]=V?we(p[S]):ae(p[S]),b,tt,T,_,D,M,V),S++}}else if(S>$)for(;S<=L;)pe(d[S],T,_,!0),S++;else{const G=S,tt=S,ct=new Map;for(S=tt;S<=$;S++){const Nt=p[S]=V?we(p[S]):ae(p[S]);Nt.key!=null&&ct.set(Nt.key,S)}let at,gt=0;const Pt=$-tt+1;let me=!1,ge=0;const cn=new Array(Pt);for(S=0;S<Pt;S++)cn[S]=0;for(S=G;S<=L;S++){const Nt=d[S];if(gt>=Pt){pe(Nt,T,_,!0);continue}let ye;if(Nt.key!=null)ye=ct.get(Nt.key);else for(at=tt;at<=$;at++)if(cn[at-tt]===0&&Ge(Nt,p[at])){ye=at;break}ye===void 0?pe(Nt,T,_,!0):(cn[ye-tt]=S+1,ye>=ge?ge=ye:me=!0,v(Nt,p[ye],b,null,T,_,D,M,V),gt++)}const ff=me?sd(cn):ss;for(at=ff.length-1,S=Pt-1;S>=0;S--){const Nt=tt+S,ye=p[Nt],hf=p[Nt+1],df=Nt+1<U?hf.el||Ea(hf):P;cn[S]===0?v(null,ye,b,df,T,_,D,M,V):me&&(at<0||S!==ff[at]?es(ye,b,df,2):at--)}}},es=(d,p,b,P,T=null)=>{const{el:_,type:D,transition:M,children:V,shapeFlag:S}=d;if(S&6){es(d.component.subTree,p,b,P);return}if(S&128){d.suspense.move(p,b,P);return}if(S&64){D.move(d,p,b,ln);return}if(D===dt){n(_,p,b);for(let L=0;L<V.length;L++)es(V[L],p,b,P);n(d.anchor,p,b);return}if(D===jn){E(d,p,b);return}if(P!==2&&S&1&&M)if(P===0)M.persisted&&!_[Kt]?n(_,p,b):(M.beforeEnter(_),n(_,p,b),It(()=>M.enter(_),T));else{const{leave:L,delayLeave:$,afterLeave:G}=M,tt=()=>{d.ctx.isUnmounted?i(_):n(_,p,b)},ct=()=>{const at=_._isLeaving||!!_[Kt];_._isLeaving&&_[Kt](!0),M.persisted&&!at?tt():L(_,()=>{tt(),G&&G()})};$?$(_,tt,ct):ct()}else n(_,p,b)},pe=(d,p,b,P=!1,T=!1)=>{const{type:_,props:D,ref:M,children:V,dynamicChildren:S,shapeFlag:U,patchFlag:L,dirs:$,cacheIndex:G,memo:tt}=d;if(L===-2&&(T=!1),M!=null&&(ne(),Os(M,null,b,d,!0),ie()),G!=null&&(p.renderCache[G]=void 0),U&256){p.ctx.deactivate(d);return}const ct=U&1&&$,at=!cs(d);let gt;if(at&&(gt=D&&D.onVnodeBeforeUnmount)&&le(gt,p,d),U&6)Ub(d.component,b,P);else{if(U&128){d.suspense.unmount(b,P);return}ct&&Ke(d,null,p,"beforeUnmount"),U&64?d.type.remove(d,p,b,ln,P):S&&!S.hasOnce&&(_!==dt||L>0&&L&64)?an(S,p,b,!1,!0):(_===dt&&L&384||!T&&U&16)&&an(V,p,b),P&&cf(d)}const Pt=tt!=null&&G==null;(at&&(gt=D&&D.onVnodeUnmounted)||ct||Pt)&&It(()=>{gt&&le(gt,p,d),ct&&Ke(d,null,p,"unmounted"),Pt&&(d.el=null)},b)},cf=d=>{const{type:p,el:b,anchor:P,transition:T}=d;if(p===dt){Nb(b,P);return}if(p===jn){A(d);return}const _=()=>{i(b),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(d.shapeFlag&1&&T&&!T.persisted){const{leave:D,delayLeave:M}=T,V=()=>D(b,_);M?M(d.el,_,V):V()}else _()},Nb=(d,p)=>{let b;for(;d!==p;)b=h(d),i(d),d=b;i(p)},Ub=(d,p,b)=>{const{bum:P,scope:T,job:_,subTree:D,um:M,m:V,a:S}=d;Ca(V),Ca(S),P&&di(P),T.stop(),_&&(_.flags|=8,pe(D,d,p,b)),M&&It(M,p),It(()=>{d.isUnmounted=!0},p)},an=(d,p,b,P=!1,T=!1,_=0)=>{for(let D=_;D<d.length;D++)pe(d[D],p,b,P,T)},ci=d=>{if(d.shapeFlag&6)return ci(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),b=p&&p[dh];return b?h(b):p};let ir=!1;const uf=(d,p,b)=>{let P;d==null?p._vnode&&(pe(p._vnode,null,null,!0),P=p._vnode.component):v(p._vnode||null,d,p,null,null,null,b),p._vnode=d,ir||(ir=!0,$r(P),Nr(),ir=!1)},ln={p:v,um:pe,m:es,r:cf,mt:rt,mc:j,pc:Z,pbc:R,n:ci,o:t};return{render:uf,hydrate:void 0,createApp:Bh(uf)}}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 We({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ed(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Aa(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]=we(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&Aa(r,a)),a.type===kn&&(a.patchFlag===-1&&(a=i[o]=we(a)),a.el=r.el),a.type===wt&&!a.el&&(a.el=r.el)}}function sd(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 Pa(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Pa(e)}function Ca(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ea(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ea(e.subTree):null}const Va=t=>t.__isSuspense;function nd(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):lh(t)}const dt=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Se=[];let jt=null;function k(t=!1){Se.push(jt=t?null:[])}function zi(){Se.pop(),jt=Se[Se.length-1]||null}let Fs=1;function Bn(t,e=!1){Fs+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Ma(t){return t.dynamicChildren=Fs>0?jt||ss:null,zi(),Fs>0&&jt&&jt.push(t),t}function N(t,e,s,n,i,o){return Ma(g(t,e,s,n,i,o,!0))}function Bt(t,e,s,n,i){return Ma(it(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function Ge(t,e){return t.type===e.type&&t.key===e.key}const Da=({key:t})=>t??null,$n=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||Tt(t)||z(t)?{i:Et,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&&Da(e),ref:e&&$n(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:Et};return a?(Nn(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ht(s)?8:16),Fs>0&&!r&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const it=id;function id(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===sa)&&(t=wt),Is(t)){const a=Te(t,e,!0);return s&&Nn(a,s),Fs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(md(t)&&(t=t.__vccOpts),e){e=od(e);let{class:a,style:l}=e;a&&!ht(a)&&(e.class=Dt(a)),nt(l)&&(Vi(l)&&!H(l)&&(l=yt({},l)),e.style=pi(l))}const r=ht(t)?1:Va(t)?128:Mn(t)?64:nt(t)?4:z(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function od(t){return t?Vi(t)||va(t)?yt({},t):t:null}function Te(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Oa(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Da(u),ref:e&&e.ref?s&&o?H(o)?o.concat($n(e)):[o,$n(e)]:$n(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&&Te(t.ssContent),ssFallback:t.ssFallback&&Te(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ds(c,l.clone(c)),c}function ks(t=" ",e=0){return it(kn,null,t,e)}function rd(t,e){const s=it(jn,null,t);return s.staticCount=e,s}function $t(t="",e=!1){return e?(k(),Bt(wt,null,t)):it(wt,null,t)}function ae(t){return t==null||typeof t=="boolean"?it(wt):H(t)?it(dt,null,t.slice()):Is(t)?we(t):it(kn,null,String(t))}function we(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Te(t)}function Nn(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),Nn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!va(e)?e._ctx=Et:i===3&&Et&&(Et.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(z(e)){if(n&65){Nn(t,{default:e});return}e={default:e,_ctx:Et},s=32}else e=String(e),n&64?(s=16,e=[ks(e)]):s=8;t.children=e,t.shapeFlag|=s}function Oa(...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=Dt([e.class,n.class]));else if(i==="style")e.style=pi([e.style,n.style]);else if(un(i)){const o=e[i],r=n[i];r&&o!==r&&!(H(o)&&o.includes(r))?e[i]=o?[].concat(o,r):r:r==null&&o==null&&!fn(i)&&(e[i]=r)}else i!==""&&(e[i]=n[i])}return e}function le(t,e,s,n=null){Ht(t,e,7,[s,n])}const ad=fa();let ld=0;function cd(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ad,o={uid:ld++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cf(!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:xa(n,i),emitsOptions:ha(n,i),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:n.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,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=Nh.bind(null,o),t.ce&&t.ce(o),o}let xt=null;const Un=()=>xt||Et;let Hn,js;{const t=mn(),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)}};Hn=e("__VUE_INSTANCE_SETTERS__",s=>xt=s),js=e("__VUE_SSR_SETTERS__",s=>$s=s)}const Bs=t=>{const e=xt;return Hn(t),t.scope.on(),()=>{t.scope.off(),Hn(e)}},Ra=()=>{xt&&xt.scope.off(),Hn(null)};function La(t){return t.vnode.shapeFlag&4}let $s=!1;function ud(t,e=!1,s=!1){e&&js(e);const{props:n,children:i}=t.vnode,o=La(t);zh(t,n,o,e),Zh(t,i,s||e);const r=o?fd(t,e):void 0;return e&&js(!1),r}function fd(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mh);const{setup:n}=s;if(n){ne();const i=t.setupContext=n.length>1?ka(t):null,o=Bs(t),r=rs(n,t,0,[t.props,i]),a=ar(r);if(ie(),o(),(a||t.sp)&&!cs(t)&&Xr(t),a){if(r.then(Ra,Ra),e)return r.then(l=>{js(!0);try{Fa(t,l,e)}finally{js(!1)}}).catch(l=>{An(l,t,0)});t.asyncDep=r}else Fa(t,r)}else Ia(t)}function Fa(t,e,s){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:nt(e)&&(t.setupState=Fr(e)),Ia(t)}function Ia(t,e,s){const n=t.type;t.render||(t.render=n.render||Xt);{const i=Bs(t);ne();try{Rh(t)}finally{ie(),i()}}}const hd={get(t,e){return Ct(t,"get",""),t[e]}};function ka(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,hd),slots:t.slots,emit:t.emit,expose:e}}function qi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Fr(zf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Rs)return Rs[s](t)},has(e,s){return s in e||s in Rs}})):t.proxy}const dd=/(?:^|[-_])\w/g,pd=t=>t.replace(dd,e=>e.toUpperCase()).replace(/[-_]/g,"");function ja(t,e=!0){return z(t)?t.displayName||t.name:t.name||e&&t.__name}function Ba(t,e,s=!1){let n=ja(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?pd(n):s?"App":"Anonymous"}function md(t){return z(t)&&"__vccOpts"in t}const _t=(t,e)=>Jf(t,e,$s);function Yi(t,e,s){try{Bn(-1);const n=arguments.length;return n===2?nt(e)&&!H(e)?Is(e)?it(t,null,[e]):it(t,e):it(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),it(t,e,s))}finally{Bn(1)}}const gd="3.5.42";let Xi;const $a=typeof window<"u"&&window.trustedTypes;if($a)try{Xi=$a.createPolicy("vue",{createHTML:t=>t})}catch{}const Na=Xi?t=>Xi.createHTML(t):t=>t,yd="http://www.w3.org/2000/svg",vd="http://www.w3.org/1998/Math/MathML",Ae=typeof document<"u"?document:null,Ua=Ae&&Ae.createElement("template"),bd={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"?Ae.createElementNS(yd,t):e==="mathml"?Ae.createElementNS(vd,t):s?Ae.createElement(t,{is:s}):Ae.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Ae.createTextNode(t),createComment:t=>Ae.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ae.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{Ua.innerHTML=Na(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Ua.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]}},Le="transition",Ns="animation",Us=Symbol("_vtc"),Ha={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},xd=yt({},Wr,Ha),_d=(t=>(t.displayName="Transition",t.props=xd,t))((t,{slots:e})=>Yi(gh,Sd(t),e)),ze=(t,e=[])=>{H(t)?t.forEach(s=>s(...e)):t&&t(...e)},Ka=t=>t?H(t)?t.some(e=>e.length>1):t.length>1:!1;function Sd(t){const e={};for(const O in t)O in Ha||(e[O]=t[O]);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:m=`${s}-leave-to`}=t,y=Td(i),v=y&&y[0],x=y&&y[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:E,onLeave:A,onLeaveCancelled:I,onBeforeAppear:W=w,onAppear:q=C,onAppearCancelled:j=E}=e,B=(O,et,rt,bt)=>{O._enterCancelled=bt,qe(O,et?c:a),qe(O,et?u:r),rt&&rt()},R=(O,et)=>{O._isLeaving=!1,qe(O,f),qe(O,m),qe(O,h),et&&et()},K=O=>(et,rt)=>{const bt=O?q:C,Y=()=>B(et,O,rt);ze(bt,[et,Y]),Wa(()=>{qe(et,O?l:o),Pe(et,O?c:a),Ka(bt)||Ga(et,n,v,Y)})};return yt(e,{onBeforeEnter(O){ze(w,[O]),Pe(O,o),Pe(O,r)},onBeforeAppear(O){ze(W,[O]),Pe(O,l),Pe(O,u)},onEnter:K(!1),onAppear:K(!0),onLeave(O,et){O._isLeaving=!0;const rt=()=>R(O,et);Pe(O,f),O._enterCancelled?(Pe(O,h),Ya(O)):(Ya(O),Pe(O,h)),Wa(()=>{O._isLeaving&&(qe(O,f),Pe(O,m),Ka(A)||Ga(O,n,x,rt))}),ze(A,[O,rt])},onEnterCancelled(O){B(O,!1,void 0,!0),ze(E,[O])},onAppearCancelled(O){B(O,!0,void 0,!0),ze(j,[O])},onLeaveCancelled(O){R(O),ze(I,[O])}})}function Td(t){if(t==null)return null;if(nt(t))return[Zi(t.enter),Zi(t.leave)];{const e=Zi(t);return[e,e]}}function Zi(t){return bf(t)}function Pe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Us]||(t[Us]=new Set)).add(e)}function qe(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Us];s&&(s.delete(e),s.size||(t[Us]=void 0))}function Wa(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let wd=0;function Ga(t,e,s,n){const i=t._endId=++wd,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ad(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Ad(t,e){const s=window.getComputedStyle(t),n=y=>(s[y]||"").split(", "),i=n(`${Le}Delay`),o=n(`${Le}Duration`),r=za(i,o),a=n(`${Ns}Delay`),l=n(`${Ns}Duration`),u=za(a,l);let c=null,f=0,h=0;e===Le?r>0&&(c=Le,f=r,h=o.length):e===Ns?u>0&&(c=Ns,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Le:Ns:null,h=c?c===Le?o.length:l.length:0);const m=c===Le&&/\b(?:transform|all)(?:,|$)/.test(n(`${Le}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:m}}function za(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>qa(s)+qa(t[n])))}function qa(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ya(t){return(t?t.ownerDocument:document).body.offsetHeight}function Pd(t,e,s){const n=t[Us];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Xa=Symbol("_vod"),Cd=Symbol("_vsh"),Ed=Symbol(""),Vd=/(?:^|;)\s*display\s*:/;function Md(t,e,s){const n=t.style,i=ht(s);let o=!1;if(s&&!i){if(e)if(ht(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hs(n,a,"")}else for(const r in e)s[r]==null&&Hs(n,r,"");for(const r in s){r==="display"&&(o=!0);const a=s[r];a!=null?Od(t,r,!ht(e)&&e?e[r]:void 0,a)||Hs(n,r,a):Hs(n,r,"")}}else if(i){if(e!==s){const r=n[Ed];r&&(s+=";"+r),n.cssText=s,o=Vd.test(s)}}else e&&t.removeAttribute("style");Xa in t&&(t[Xa]=o?n.display:"",t[Cd]&&(n.display="none"))}const Kn=/\s*!important$/;function Hs(t,e,s){if(H(s))s.forEach(n=>Hs(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))Kn.test(s)?t.setProperty(e,s.replace(Kn,""),"important"):t.setProperty(e,s);else{const n=Dd(t,e);Kn.test(s)?t.setProperty($e(n),s.replace(Kn,""),"important"):t[n]=s}}const Za=["Webkit","Moz","ms"],Ji={};function Dd(t,e){const s=Ji[e];if(s)return s;let n=Mt(e);if(n!=="filter"&&n in t)return Ji[e]=n;n=pn(n);for(let i=0;i<Za.length;i++){const o=Za[i]+n;if(o in t)return Ji[e]=o}return e}function Od(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&ht(n)&&s===n}const Ja="http://www.w3.org/1999/xlink";function Qa(t,e,s,n,i,o=wf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Ja,e.slice(6,e.length)):t.setAttributeNS(Ja,e,s):s==null||o&&!hr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":Zt(s)?String(s):s)}function tl(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Na(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=hr(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 Rd(t,e,s,n){t.addEventListener(e,s,n)}function Ld(t,e,s,n){t.removeEventListener(e,s,n)}const el=Symbol("_vei");function Fd(t,e,s,n,i=null){const o=t[el]||(t[el]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=jd(e);if(n){const u=o[e]=Nd(n,i);Rd(t,a,u,l)}else r&&(Ld(t,a,r,l),o[e]=void 0)}}const Id=/(Once|Passive|Capture)$/,kd=/^on:?(?:Once|Passive|Capture)$/;function jd(t){let e,s;for(;(s=t.match(Id))&&!kd.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):$e(t.slice(2)),e]}let Qi=0;const Bd=Promise.resolve(),$d=()=>Qi||(Bd.then(()=>Qi=0),Qi=Date.now());function Nd(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(H(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const r=i.slice(),a=[n];for(let l=0;l<r.length&&!n._stopped;l++){const u=r[l];u&&Ht(u,e,5,a)}}else Ht(i,e,5,[n])};return s.value=t,s.attached=$d(),s}const sl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Ud=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Pd(t,n,r):e==="style"?Md(t,s,n):un(e)?fn(e)||Fd(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hd(t,e,n,r))?(tl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Qa(t,e,n,r,o,e!=="value")):t._isVueCE&&(Kd(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ht(n)))?tl(t,Mt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Qa(t,e,n,r))};function Hd(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&sl(e)&&z(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 sl(e)&&ht(s)?!1:e in t}function Kd(t,e){const s=t._def.props;if(!s)return!1;const n=Mt(e);return Array.isArray(s)?s.some(i=>Mt(i)===n):Object.keys(s).some(i=>Mt(i)===n)}const Wd=yt({patchProp:Ud},bd);let nl;function Gd(){return nl||(nl=Qh(Wd))}const il=((...t)=>{const e=Gd().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=qd(n);if(!i)return;const o=e._component;!z(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,zd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function zd(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function qd(t){return ht(t)?document.querySelector(t):t}const Yd={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Xd={class:"slds-grid slds-grid_align-spread slds-wrap"},Zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jd={key:0,class:"slds-text-color_weak"},Qd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={class:"slds-text-color_weak"},ep={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},sp={class:"slds-text-color_weak"},np={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(k(),N("footer",Yd,[g("div",Xd,[g("div",Zd,[t.description?(k(),N("span",Jd,J(t.description),1)):$t("",!0)]),g("div",Qd,[g("span",tp,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",ep,[g("span",sp," Generated at: "+J(e(t.generatedAt)),1)])])]))}},ol="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",ip={class:"slds-page-header"},op={class:"slds-page-header__row"},rp={class:"slds-page-header__col-title"},ap={class:"slds-media"},lp={class:"slds-media__body"},cp={class:"slds-page-header__name"},up={class:"slds-page-header__name-title"},fp=["title"],hp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(k(),N("header",ip,[g("div",op,[g("div",rp,[g("div",ap,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:ol,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",lp,[g("div",cp,[g("div",up,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,fp)])])])])])])]))}};function Ks(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Vs(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Oi(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 to(t,e){t.indexOf(e)===-1&&t.push(e)}function Wn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const ce=(t,e,s)=>s>e?e:s<t?t:s;let Gn=()=>{};const Fe={},rl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),al=t=>typeof t=="object"&&t!==null,ll=t=>/^0[^.\s]+$/u.test(t);function cl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Gt=t=>t,Ws=(...t)=>t.reduce((e,s)=>n=>s(e(n))),Gs=(t,e,s)=>{const n=e-t;return n?(s-t)/n:1};class eo{constructor(){this.subscriptions=[]}add(e){return to(this.subscriptions,e),()=>Wn(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 zt=t=>t*1e3,qt=t=>t/1e3,ul=(t,e)=>e?t*(1e3/e):0,fl=(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=fl(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>pp&&++a<mp);return r}function zs(t,e,s,n){if(t===e&&s===n)return Gt;const i=o=>gp(o,0,1,t,s);return o=>o===0||o===1?o:fl(i(o),e,n)}const hl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,dl=t=>e=>1-t(1-e),pl=zs(.33,1.53,.69,.99),so=dl(pl),ml=hl(so),gl=t=>t>=1?1:(t*=2)<1?.5*so(t):.5*(2-Math.pow(2,-10*(t-1))),no=t=>1-Math.sin(Math.acos(t)),yl=dl(no),vl=hl(no),yp=zs(.42,0,1,1),vp=zs(0,0,.58,1),bl=zs(.42,0,.58,1),bp=t=>Array.isArray(t)&&typeof t[0]!="number",xl=t=>Array.isArray(t)&&typeof t[0]=="number",xp={linear:Gt,easeIn:yp,easeInOut:bl,easeOut:vp,circIn:no,circInOut:vl,circOut:yl,backIn:so,backInOut:ml,backOut:pl,anticipate:gl},_p=t=>typeof t=="string",_l=t=>{if(xl(t)){Gn(t.length===4);const[e,s,n,i]=t;return zs(e,s,n,i)}else if(_p(t))return xp[t];return t},zn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Sp(t){let e=new Set,s=new Set,n=!1,i=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(u){o.has(u)&&(l.schedule(u),t()),u(r)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&n?e:s;return c&&o.add(u),m.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(r=u,n){i=!0;return}n=!0;const c=e;e=s,s=c,e.forEach(a),e.clear(),n=!1,i&&(i=!1,l.process(u))}};return l}const Tp=40;function Sl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=zn.reduce((E,A)=>(E[A]=Sp(o),E),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:m,postRender:y}=r,v=()=>{const E=Fe.useManualTiming,A=E?i.timestamp:performance.now();s=!1,E||(i.delta=n?1e3/60:Math.max(Math.min(A-i.timestamp,Tp),1)),i.timestamp=A,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),m.process(i),y.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(v))},x=()=>{s=!0,n=!0,i.isProcessing||t(v)};return{schedule:zn.reduce((E,A)=>{const I=r[A];return E[A]=(W,q=!1,j=!1)=>(s||x(),I.schedule(W,q,j)),E},{}),cancel:E=>{for(let A=0;A<zn.length;A++)r[zn[A]].cancel(E)},state:i,steps:r}}const{schedule:ot,cancel:Ie,state:At,steps:io}=Sl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Gt,!0);let qn;function wp(){qn=void 0}const Lt={now:()=>(qn===void 0&&Lt.set(At.isProcessing||Fe.useManualTiming?At.timestamp:performance.now()),qn),set:t=>{qn=t,queueMicrotask(wp)}},Tl=t=>e=>typeof e=="string"&&e.startsWith(t),oo=Tl("--"),Ap=Tl("var(--"),ro=t=>Ap(t)?Pp.test(t.split("/*")[0].trim()):!1,Pp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function wl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const fs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qs={...fs,transform:t=>ce(0,1,t)},Yn={...fs,default:1},Ys=t=>Math.round(t*1e5)/1e5,ao=/-?(?:\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,lo=(t,e)=>s=>!!(typeof s=="string"&&Ep.test(s)&&s.startsWith(t)||e&&!Cp(s)&&Object.prototype.hasOwnProperty.call(s,e)),Al=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ao);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Vp=t=>ce(0,255,t),co={...fs,transform:t=>Math.round(Vp(t))},Ye={test:lo("rgb","red"),parse:Al("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+co.transform(t)+", "+co.transform(e)+", "+co.transform(s)+", "+Ys(qs.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 uo={test:lo("#"),parse:Mp,transform:Ye.transform},Xs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ce=Xs("deg"),ue=Xs("%"),F=Xs("px"),Dp=Xs("vh"),Op=Xs("vw"),Pl={...ue,parse:t=>ue.parse(t)/100,transform:t=>ue.transform(t*100)},hs={test:lo("hsl","hue"),parse:Al("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ue.transform(Ys(e))+", "+ue.transform(Ys(s))+", "+Ys(qs.transform(n))+")"},mt={test:t=>Ye.test(t)||uo.test(t)||hs.test(t),parse:t=>Ye.test(t)?Ye.parse(t):hs.test(t)?hs.parse(t):uo.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ye.transform(t):hs.transform(t),getAnimatableNone:t=>{const e=mt.parse(t);return e.alpha=0,mt.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(ao)?.length||0)+(t.match(Rp)?.length||0)>0}const Cl="number",El="color",Fp="var",Ip="var(",Vl="${}",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 ds(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(mt.test(l)?(n.color.push(o),i.push(El),s.push(mt.parse(l))):l.startsWith(Ip)?(n.var.push(o),i.push(Fp),s.push(l)):(n.number.push(o),i.push(Cl),s.push(parseFloat(l))),++o,Vl)).split(Vl);return{values:s,split:a,indexes:n,types:i}}function jp(t){return ds(t).values}function Ml({split:t,types:e}){const s=t.length;return n=>{let i="";for(let o=0;o<s;o++)if(i+=t[o],n[o]!==void 0){const r=e[o];r===Cl?i+=Ys(n[o]):r===El?i+=mt.transform(n[o]):i+=n[o]}return i}}function Bp(t){return Ml(ds(t))}const $p=t=>typeof t=="number"?0:mt.test(t)?mt.getAnimatableNone(t):t,Np=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:$p(t);function Up(t){const e=ds(t);return Ml(e)(e.values.map((n,i)=>Np(n,e.split[i])))}const te={test:Lp,parse:jp,createTransformer:Bp,getAnimatableNone:Up};function fo(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 Hp({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=fo(l,a,t+1/3),o=fo(l,a,t),r=fo(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Xn(t,e){return s=>s>0?e:t}const lt=(t,e,s)=>t+(e-t)*s,ho=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Kp=[uo,Ye,hs],Wp=t=>Kp.find(e=>e.test(t));function Dl(t){const e=Wp(t);if(!e)return!1;let s=e.parse(t);return e===hs&&(s=Hp(s)),s}const Ol=(t,e)=>{const s=Dl(t),n=Dl(e);if(!s||!n)return Xn(t,e);const i={...s};return o=>(i.red=ho(s.red,n.red,o),i.green=ho(s.green,n.green,o),i.blue=ho(s.blue,n.blue,o),i.alpha=lt(s.alpha,n.alpha,o),Ye.transform(i))},po=new Set(["none","hidden"]);function Gp(t,e){return po.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function zp(t,e){return s=>lt(t,e,s)}function mo(t){return typeof t=="number"?zp:typeof t=="string"?ro(t)?Xn:mt.test(t)?Ol:Xp:Array.isArray(t)?Rl:typeof t=="object"?mt.test(t)?Ol:qp:Xn}function Rl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>mo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function qp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=mo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Yp(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 Xp=(t,e)=>{const s=te.createTransformer(e),n=ds(t),i=ds(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?po.has(t)&&!i.values.length||po.has(e)&&!n.values.length?Gp(t,e):Ws(Rl(Yp(n,i),i.values),s):Xn(t,e)};function Ll(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?lt(t,e,s):mo(t)(t,e)}const Zp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>ot.update(e,s),stop:()=>Ie(e),now:()=>At.isProcessing?At.timestamp:Lt.now()}},Fl=(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)})`},Zn=2e4;function go(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 Jp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(go(n),Zn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:qt(i)}}const pt={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};function yo(t,e){return t*Math.sqrt(1-e*e)}const Qp=12;function tm(t,e,s){let n=s;for(let i=1;i<Qp;i++)n=n-t(n)/e(n);return n}const vo=.001;function em({duration:t=pt.duration,bounce:e=pt.bounce,velocity:s=pt.velocity,mass:n=pt.mass}){let i,o,r=1-e;r=ce(pt.minDamping,pt.maxDamping,r),t=ce(pt.minDuration,pt.maxDuration,qt(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,m=yo(u,r),y=Math.exp(-f);return vo-h/m*y},o=u=>{const f=u*r*t,h=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,y=Math.exp(-f),v=yo(Math.pow(u,2),r);return(-i(u)+vo>0?-1:1)*((h-m)*y)/v}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-vo+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=tm(i,o,a);if(t=zt(t),isNaN(l))return{stiffness:pt.stiffness,damping:pt.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const sm=["duration","bounce"],nm=["stiffness","damping","mass"];function Il(t,e){return e.some(s=>t[s]!==void 0)}function im(t){let e={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...t};if(!Il(t,nm)&&Il(t,sm))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*ce(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:pt.mass,stiffness:i,damping:o}}else{const s=em({...t,velocity:0});e={...e,...s,mass:pt.mass},e.isResolvedFromDuration=!0}return e}function Jn(t=pt.visualDuration,e=pt.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:m}=im({...s,velocity:-qt(s.velocity||0)}),y=h||0,v=u/(2*Math.sqrt(l*c)),x=r-o,w=qt(Math.sqrt(l/c)),C=Math.abs(x)<5;n||(n=C?pt.restSpeed.granular:pt.restSpeed.default),i||(i=C?pt.restDelta.granular:pt.restDelta.default);let E,A,I,W,q,j;if(v<1)I=yo(w,v),W=(y+v*w*x)/I,E=R=>{const K=Math.exp(-v*w*R);return r-K*(W*Math.sin(I*R)+x*Math.cos(I*R))},q=v*w*W+x*I,j=v*w*x-W*I,A=R=>Math.exp(-v*w*R)*(q*Math.sin(I*R)+j*Math.cos(I*R));else if(v===1){E=K=>r-Math.exp(-w*K)*(x+(y+w*x)*K);const R=y+w*x;A=K=>Math.exp(-w*K)*(w*R*K-y)}else{const R=w*Math.sqrt(v*v-1);E=rt=>{const bt=Math.exp(-v*w*rt),Y=Math.min(R*rt,300);return r-bt*((y+v*w*x)*Math.sinh(Y)+R*x*Math.cosh(Y))/R};const K=(y+v*w*x)/R,O=v*w*K-x*R,et=v*w*x-K*R;A=rt=>{const bt=Math.exp(-v*w*rt),Y=Math.min(R*rt,300);return bt*(O*Math.sinh(Y)+et*Math.cosh(Y))}}const B={calculatedDuration:m&&f||null,velocity:R=>zt(A(R)),next:R=>{if(!m&&v<1){const O=Math.exp(-v*w*R),et=Math.sin(I*R),rt=Math.cos(I*R),bt=r-O*(W*et+x*rt),Y=zt(O*(q*et+j*rt));return a.done=Math.abs(Y)<=n&&Math.abs(r-bt)<=i,a.value=a.done?r:bt,a}const K=E(R);if(m)a.done=R>=f;else{const O=zt(A(R));a.done=Math.abs(O)<=n&&Math.abs(r-K)<=i}return a.value=a.done?r:K,a},toString:()=>{const R=Math.min(go(B),Zn),K=Fl(O=>B.next(R*O).value,R,30);return R+"ms "+K},toTransition:()=>{}};return B}Jn.applyToOptions=t=>{const e=Jp(t,100,Jn);return t.ease=e.ease,t.duration=zt(e.duration),t.type="keyframes",t};const om=5;function kl(t,e,s){const n=Math.max(e-om,0);return ul(s-t(n),e-n)}function bo({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},m=j=>a!==void 0&&j<a||l!==void 0&&j>l,y=j=>a===void 0?l:l===void 0||Math.abs(a-j)<Math.abs(l-j)?a:l;let v=s*e;const x=f+v,w=r===void 0?x:r(x);w!==x&&(v=w-f);const C=j=>-v*Math.exp(-j/n),E=j=>w+C(j),A=j=>{const B=C(j),R=E(j);h.done=Math.abs(B)<=u,h.value=h.done?w:R};let I,W;const q=j=>{m(h.value)&&(I=j,W=Jn({keyframes:[h.value,y(h.value)],velocity:kl(E,j,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return q(0),{calculatedDuration:null,next:j=>{let B=!1;return!W&&I===void 0&&(B=!0,A(j),q(j)),I!==void 0&&j>=I?W.next(j-I):(!B&&A(j),h)}}}function rm(t,e,s){const n=[],i=s||Fe.mix||Ll,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]||Gt:e;a=Ws(l,a)}n.push(a)}return n}function am(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(Gn(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=rm(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=Gs(t[f],t[f+1],c);return a[f](h)};return s?c=>u(ce(t[0],t[o-1],c)):u}function lm(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Gs(0,e,n);t.push(lt(s,1,i))}}function cm(t){const e=[0];return lm(e,t.length-1),e}function um(t,e){return t.map(s=>s*e)}function fm(t,e){return t.map(()=>e||bl).splice(0,t.length-1)}function Zs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=bp(n)?n.map(_l):_l(n),o={done:!1,value:e[0]},r=um(s&&s.length===e.length?s:cm(e),t),a=am(r,e,{ease:Array.isArray(i)?i:fm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const hm=t=>t!==null;function Qn(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(hm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const dm={decay:bo,inertia:bo,tween:Zs,keyframes:Zs,spring:Jn};function jl(t){typeof t.type=="string"&&(t.type=dm[t.type])}class xo{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 pm=t=>t/100;class ti extends xo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Lt.now()&&this.tick(Lt.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;jl(e);const{type:s=Zs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Zs;l!==Zs&&typeof a[0]!="number"&&(this.mixKeyframes=Ws(pm,Ll(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=go(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:m,type:y,onUpdate:v,finalKeyframe:x}=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),C=this.playbackSpeed>=0?w<0:w>i;this.currentTime=Math.max(w,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,A=n;if(f){const j=Math.min(this.currentTime,i)/a;let B=Math.floor(j),R=j%1;!R&&j>=1&&(R=1),R===1&&B--,B=Math.min(B,f+1),B%2&&(h==="reverse"?(R=1-R,m&&(R-=m/a)):h==="mirror"&&(A=r)),E=ce(0,1,R)*a}let I;C?(this.delayState.value=c[0],I=this.delayState):I=A.next(E),o&&!C&&(I.value=o(I.value));let{done:W}=I;!C&&l!==null&&(W=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return q&&y!==bo&&(I.value=Qn(c,this.options,x,this.speed)),v&&v(I.value),q&&this.finish(),I}then(e,s){return this.finished.then(e,s)}get duration(){return qt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(this.currentTime)}set time(e){e=zt(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const s=this.generator.next(e).value;return kl(n=>this.generator.next(n).value,e,s)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;s&&this.driver&&this.updateTime(Lt.now()),this.playbackSpeed=e,s&&this.driver&&(this.time=qt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Zp,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(Lt.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 mm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Xe=t=>t*180/Math.PI,_o=t=>{const e=Xe(Math.atan2(t[1],t[0]));return So(e)},gm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:_o,rotateZ:_o,skewX:t=>Xe(Math.atan(t[1])),skewY:t=>Xe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},So=t=>(t=t%360,t<0&&(t+=360),t),Bl=_o,$l=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Nl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ym={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$l,scaleY:Nl,scale:t=>($l(t)+Nl(t))/2,rotateX:t=>So(Xe(Math.atan2(t[6],t[5]))),rotateY:t=>So(Xe(Math.atan2(-t[2],t[0]))),rotateZ:Bl,rotate:Bl,skewX:t=>Xe(Math.atan(t[4])),skewY:t=>Xe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function To(t){return t.includes("scale")?1:0}function wo(t,e){if(!t||t==="none")return To(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=ym,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=gm,i=a}if(!i)return To(e);const o=n[e],r=i[1].split(",").map(bm);return typeof o=="function"?o(r):r[o]}const vm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return wo(s,e)};function bm(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set([...ps,"pathRotation"]),Ul=t=>t===fs||t===F,xm=new Set(["x","y","z"]),_m=ps.filter(t=>!xm.has(t));function Sm(t){const e=[];return _m.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const ke={width:({x:t},{paddingLeft:e="0",paddingRight:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-parseFloat(e)-parseFloat(s)},height:({y:t},{paddingTop:e="0",paddingBottom:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-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})=>wo(e,"x"),y:(t,{transform:e})=>wo(e,"y")};ke.translateX=ke.x,ke.translateY=ke.y;const Ze=new Set;let Ao=!1,Po=!1,Co=!1;function Hl(){if(Po){const t=Array.from(Ze).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Sm(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)})}Po=!1,Ao=!1,Ze.forEach(t=>t.complete(Co)),Ze.clear()}function Kl(){Ze.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Po=!0)})}function Tm(){Co=!0,Kl(),Hl(),Co=!1}class Eo{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?(Ze.add(this),Ao||(Ao=!0,ot.read(Kl),ot.resolveKeyframes(Hl))):(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])}mm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ze.delete(this)}cancel(){this.state==="scheduled"&&(Ze.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wm=t=>t.startsWith("--");function Wl(t,e,s){wm(e)?t.style.setProperty(e,s):t.style[e]=s}const Am={};function Gl(t,e){const s=cl(t);return()=>Am[e]??s()}const Pm=Gl(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),zl=Gl(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Js=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,ql={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Js([0,.65,.55,1]),circOut:Js([.55,0,1,.45]),backIn:Js([.31,.01,.66,-.59]),backOut:Js([.33,1.53,.69,.99])};function Yl(t,e){if(t)return typeof t=="function"?zl()?Fl(t,e):"ease-out":xl(t)?Js(t):Array.isArray(t)?t.map(s=>Yl(s,e)||ql.easeOut):ql[t]}function Cm(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=Yl(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 Xl(t){return typeof t=="function"&&"applyToOptions"in t}function Em({type:t,...e}){return Xl(t)&&zl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Zl extends xo{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,Gn(typeof e.type!="string");const u=Em(e);this.animation=Cm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Qn(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),Wl(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 qt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(Number(this.animation.currentTime)||0)}set time(e){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=zt(e),s&&this.animation.pause()}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,rangeStart:s,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Pm()?(this.animation.timeline=e,s&&(this.animation.rangeStart=s),n&&(this.animation.rangeEnd=n),Gt):i(this)}}const Jl={anticipate:gl,backInOut:ml,circInOut:vl};function Vm(t){return t in Jl}function Mm(t){typeof t.ease=="string"&&Vm(t.ease)&&(t.ease=Jl[t.ease])}const Vo=10;class Dm extends Zl{constructor(e){Mm(e),jl(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(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 ti({...r,autoplay:!1}),l=Math.max(Vo,Lt.now()-this.startTime),u=ce(0,Vo,l-Vo),c=a.sample(l).value,{name:f}=this.options;o&&f&&Wl(o,f,c),s.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const Ql=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(te.test(t)||t==="0")&&!t.startsWith("url("));function Om(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 Rm(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=Ql(i,e),a=Ql(o,e);return!r||!a?!1:Om(t)||(s==="spring"||Xl(s))&&n}function Mo(t){t.duration=0,t.type="keyframes"}const tc=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Lm=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Fm(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Lm.test(t[e]))return!0;return!1}const Im=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),km=cl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function jm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=e.owner.getProps();return km()&&s&&(tc.has(s)||Im.has(s)&&Fm(a))&&(s!=="transform"||!c)&&!u&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Bm=40;class $m extends xo{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=Lt.now();const h={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||Eo;this.keyframeResolver=new m(a,(y,v,x)=>this.onKeyframesResolved(y,v,h,!x),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=Lt.now();let f=!0;Rm(e,o,r,a)||(f=!1,(Fe.instantAnimations||!l)&&c?.(Qn(e,n,s)),e[0]=e[e.length-1],Mo(n),n.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Bm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},y=f&&!u&&jm(m),v=m.motionValue?.owner?.current;let x;if(y)try{x=new Dm({...m,element:v})}catch{x=new ti(m)}else x=new ti(m);x.finished.then(()=>{this.notifyFinished()}).catch(Gt),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),Tm()),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 ec(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 sc=30,Nm=t=>!isNaN(parseFloat(t));class Um{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Lt.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=Lt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Nm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new eo);const n=this.events[e].add(s);return e==="change"?()=>{n(),ot.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=Lt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>sc)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,sc);return ul(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 gs(t,e){return new Um(t,e)}function nc(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Do(t,e){const s=t?.[e]??t?.default??t;return s!==t?nc(s,t):s}const Hm={type:"spring",stiffness:500,damping:25,restSpeed:10},Km=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Wm={type:"keyframes",duration:.8},Gm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zm=(t,{keyframes:e})=>e.length>2?Wm:ms.has(t)?t.startsWith("scale")?Km(e[1]):Hm:Gm,qm=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Ym(t){for(const e in t)if(!qm.has(e))return!0;return!1}const Oo=(t,e,s,n={},i,o)=>r=>{const a=Do(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-zt(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};Ym(a)||Object.assign(c,zm(t,c)),c.duration&&(c.duration=zt(c.duration)),c.repeatDelay&&(c.repeatDelay=zt(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)),(Fe.instantAnimations||Fe.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,Mo(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=Qn(c.keyframes,a);if(h!==void 0){ot.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new ti(c):new $m(c)},Xm=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Zm(t){const e=Xm.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function ic(t,e,s=1){const[n,i]=Zm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return rl(r)?parseFloat(r):r}return ro(i)?ic(i,e,s+1):i}function oc(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function rc(t,e,s,n){if(typeof e=="function"){const[i,o]=oc(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]=oc(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function ys(t,e,s){const n=t.getProps();return rc(n,e,s!==void 0?s:n.custom,t)}const ac=new Set(["width","height","top","left","right","bottom",...ps]),Jm=t=>Array.isArray(t);function Qm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,gs(s))}function tg(t){return Jm(t)?t[t.length-1]||0:t}function eg(t,e){const s=ys(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=tg(o[r]);Qm(t,r,a)}}const Vt=t=>!!(t&&t.getVelocity);function sg(t){return!!(Vt(t)&&t.add)}function Ro(t,e){const s=t.getValue("willChange");if(sg(s))return s.add(e);if(!s&&Fe.WillChange){const n=new Fe.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Lo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const ng="data-"+Lo("framerAppearId");function lc(t){return t.props[ng]}function ig({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function cc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?nc(o,l):l;const u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);const f=[],h=i&&t.animationState&&t.animationState.getState()[i],m=o?.path;m&&m.animateVisualElement(t,a,o,s,f);for(const y in a){const v=t.getValue(y,t.latestValues[y]??null),x=a[y];if(x===void 0||h&&ig(h,y))continue;const w={delay:s,...Do(o||{},y)};c&&(w.skipAnimations=!0);const C=v.get();if(C!==void 0&&!v.isAnimating()&&!Array.isArray(x)&&x===C&&!w.velocity){ot.update(()=>v.set(x));continue}let E=!1;if(window.MotionHandoffAnimation){const W=lc(t);if(W){const q=window.MotionHandoffAnimation(W,y,ot);q!==null&&(w.startTime=q,E=!0)}}Ro(t,y);const A=u??t.shouldReduceMotion;v.start(Oo(y,v,x,A&&ac.has(y)?{type:!1}:w,t,E));const I=v.animation;I&&f.push(I)}if(r){const y=()=>ot.update(()=>{r&&eg(t,r)});f.length?Promise.all(f).then(y):y()}return f}function Fo(t,e,s={}){const n=ys(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(cc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return og(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 og(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(Fo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+ec(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function rg(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Fo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Fo(t,e,s);else{const i=typeof e=="function"?ys(t,e,s.custom):e;n=Promise.all(cc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const ag={test:t=>t==="auto",parse:t=>t},uc=t=>e=>e.test(t),fc=[fs,F,ue,Ce,Op,Dp,ag],hc=t=>fc.find(uc(t));function lg(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ll(t):!0}const cg=new Set(["brightness","contrast","saturate","opacity"]);function ug(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ao)||[];if(!n)return t;const i=s.replace(n,"");let o=cg.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const fg=/\b([a-z-]*)\(.*?\)/gu,Io={...te,getAnimatableNone:t=>{const e=t.match(fg);return e?e.map(ug).join(" "):t}},ko={...te,getAnimatableNone:t=>{const e=te.parse(t);return te.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},dc={...fs,transform:Math.round},ei={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...{rotate:Ce,pathRotation:Ce,rotateX:Ce,rotateY:Ce,rotateZ:Ce,scale:Yn,scaleX:Yn,scaleY:Yn,scaleZ:Yn,skew:Ce,skewX:Ce,skewY:Ce,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:qs,originX:Pl,originY:Pl,originZ:F},zIndex:dc,fillOpacity:qs,strokeOpacity:qs,numOctaves:dc},hg={...ei,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:Io,WebkitFilter:Io,mask:ko,WebkitMask:ko},pc=t=>hg[t],dg=new Set([Io,ko]);function mc(t,e){let s=pc(t);return dg.has(s)||(s=te),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const pg=new Set(["auto","none","0"]);function mg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!pg.has(o)&&ds(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=mc(s,i)}class gg extends Eo{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(),ro(f))){const h=ic(f,s.current);h!==void 0&&(e[c]=h),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!ac.has(n)||e.length!==2)return;const[i,o]=e,r=hc(i),a=hc(o),l=wl(i),u=wl(o);if(l!==u&&ke[n]){this.needsMeasurement=!0;return}if(r!==a)if(Ul(r)&&Ul(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else ke[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||lg(e[i]))&&n.push(i);n.length&&mg(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=ke[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]=ke[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 jo=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function gc(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 Bo=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function yg(t){return al(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:yc}=Sl(queueMicrotask,!1),vg={y:!1};function bg(){return vg.y}function vc(t,e){const s=gc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function xg(t){return!(t.pointerType==="touch"||bg())}function _g(t,e,s={}){const[n,i,o]=vc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",y)},f=x=>{u&&(u(x),u=void 0),c()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(x))},m=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},y=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}f(x)}},v=x=>{if(!xg(x))return;l=!1;const w=e(r,x);typeof w=="function"&&(u=w,r.addEventListener("pointerleave",y,i))};r.addEventListener("pointerenter",v,i),r.addEventListener("pointerdown",m,i)}),o}const bc=(t,e)=>e?t===e?!0:bc(t,e.parentElement):!1,Sg=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Tg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wg(t){return Tg.has(t.tagName)||t.isContentEditable===!0}const si=new WeakSet;function xc(t){return e=>{e.key==="Enter"&&t(e)}}function $o(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ag=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=xc(()=>{if(si.has(s))return;$o(s,"down");const i=xc(()=>{$o(s,"up")}),o=()=>$o(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 _c(t){return Sg(t)&&!0}const Sc=new WeakSet;function Pg(t,e,s={}){const[n,i,o]=vc(t,s),r=a=>{const l=a.currentTarget;if(!_c(a)||Sc.has(a))return;si.add(l),s.stopPropagation&&Sc.add(a);const u=e(l,a),c={...i,capture:!0},f=(y,v)=>{window.removeEventListener("pointerup",h,c),window.removeEventListener("pointercancel",m,c),si.has(l)&&si.delete(l),_c(y)&&typeof u=="function"&&u(y,{success:v})},h=y=>{f(y,l===window||l===document||s.useGlobalTarget||bc(l,y.target))},m=y=>{f(y,!1)};window.addEventListener("pointerup",h,c),window.addEventListener("pointercancel",m,c)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),yg(a)&&(a.addEventListener("focus",u=>Ag(u,i)),!wg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Tc(t){return al(t)&&"ownerSVGElement"in t}function Cg(t){return Tc(t)&&t.tagName==="svg"}const Eg=[...fc,mt,te],Vg=t=>Eg.find(uc(t)),wc=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:wc(),y:wc()}),Ac=()=>({min:0,max:0}),vt=()=>({x:Ac(),y:Ac()}),Mg=new WeakMap;function No(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ni(t){return typeof t=="string"||Array.isArray(t)}const Dg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Pc(t){return No(t.animate)||Dg.some(e=>ni(t[e]))}function Og(t){return!!(Pc(t)||t.variants)}function Rg(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Vt(i))t.addValue(n,i);else if(Vt(o))t.addValue(n,gs(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,gs(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Uo={current:null},Cc={current:!1},Lg=typeof window<"u";function Fg(){if(Cc.current=!0,!!Lg)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Uo.current=t.matches;t.addEventListener("change",e),e()}else Uo.current=!1}const Ec=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Vc={};class Ig{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=Eo,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=Lt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ot.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=Pc(s),this.isVariantNode=Og(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in h){const y=h[m];u[m]!==void 0&&Vt(y)&&y.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,Mg.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:(Cc.current||Fg(),this.shouldReduceMotion=Uo.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(),Ie(this.notifyUpdate),Ie(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&&tc.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:u,duration:c}=s.accelerate,f=new Zl({element:this.current,name:e,keyframes:a,times:l,ease:u,duration:zt(c)}),h=r(f);this.valueSubscriptions.set(e,()=>{h(),f.cancel()});return}const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&ot.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()})}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 Vc){const s=Vc[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):vt()}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<Ec.length;n++){const i=Ec[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=Rg(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=gs(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"&&(rl(n)||ll(n))?n=parseFloat(n):!Vg(n)&&te.test(s)&&(n=mc(e,s)),this.setBaseTarget(e,Vt(n)?n.get():n)),Vt(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=rc(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&&!Vt(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 eo),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){yc.render(this.render)}}class Mc extends Ig{constructor(){super(...arguments),this.KeyframeResolver=gg}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;Vt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Dc({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function kg({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function jg(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 Ho(t){return t===void 0||t===1}function Ko({scale:t,scaleX:e,scaleY:s}){return!Ho(t)||!Ho(e)||!Ho(s)}function Je(t){return Ko(t)||Oc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Oc(t){return Rc(t.x)||Rc(t.y)}function Rc(t){return t&&t!=="0%"}function ii(t,e,s){const n=t-s,i=e*n;return s+i}function Lc(t,e,s,n,i){return i!==void 0&&(t=ii(t,i,n)),ii(t,s,n)+e}function Wo(t,e=0,s=1,n,i){t.min=Lc(t.min,e,s,n,i),t.max=Lc(t.max,e,s,n,i)}function Fc(t,{x:e,y:s}){Wo(t.x,e.translate,e.scale,e.originPoint),Wo(t.y,s.translate,s.scale,s.originPoint)}const Ic=.999999999999,kc=1.0000000000001;function Bg(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&&(fe(t.x,-o.scroll.offset.x),fe(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Fc(t,r)),n&&Je(o.latestValues)&&oi(t,o.latestValues,o.layout?.layoutBox))}e.x<kc&&e.x>Ic&&(e.x=1),e.y<kc&&e.y>Ic&&(e.y=1)}function fe(t,e){t.min+=e,t.max+=e}function jc(t,e,s,n,i=.5){const o=lt(t.min,t.max,i);Wo(t,e,s,o,n)}function Bc(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function oi(t,e,s){const n=s??t;jc(t.x,Bc(e.x,n.x),e.scaleX,e.scale,e.originX),jc(t.y,Bc(e.y,n.y),e.scaleY,e.scale,e.originY)}function $c(t,e){return Dc(jg(t.getBoundingClientRect(),e))}function $g(t,e,s){const n=$c(t,s),{scroll:i}=e;return i&&(fe(n.x,i.offset.x),fe(n.y,i.offset.y)),n}const Ng={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ug=ps.length;function Hg(t,e,s){let n="",i=!0;for(let r=0;r<Ug;r++){const a=ps[r],l=t[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||s){const c=Bo(l,ei[a]);if(!u){i=!1;const f=Ng[a]||a;n+=`${f}(${c}) `}s&&(e[a]=c)}}const o=t.pathRotation;return o&&(i=!1,n+=`rotate(${Bo(o,ei.pathRotation)}) `),n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Go(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ms.has(l)){r=!0;continue}else if(oo(l)){i[l]=u;continue}else{const c=Bo(u,ei[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Hg(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 Nc(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 Uc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const he={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(F.test(t))t=parseFloat(t);else return t;const s=Uc(t,e.target.x),n=Uc(t,e.target.y);return`${s}% ${n}%`}},Hc={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=te.parse(t);if(i.length>5)return n;const o=te.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=lt(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Qs={borderRadius:{...he,applyTo:[...jo]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Hc};function Kc(t){for(const e in t)Qs[e]=t[e],oo(e)&&(Qs[e].isCSSVariable=!0)}function Kg(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Qs[t]||t==="opacity")}function Wc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Vt(n[r])||i&&Vt(i[r])||Kg(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Wg(t){return window.getComputedStyle(t)}class Gg extends Mc{constructor(){super(...arguments),this.type="html",this.renderInstance=Nc}mount(e){Gn(!!e.style),super.mount(e)}readValueFromInstance(e,s){if(ms.has(s))return this.projection?.isProjecting?To(s):vm(e,s);{const n=Wg(e),i=(oo(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return $c(e,s)}build(e,s,n){Go(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Wc(e,s,n)}}const zg={offset:"stroke-dashoffset",array:"stroke-dasharray"},qg={offset:"strokeDashoffset",array:"strokeDasharray"};function Yg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?zg:qg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const Gc=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function zc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Go(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;for(const m of Gc)f[m]!==void 0&&(h[m]=f[m],delete f[m]);(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&Yg(f,i,o,r,!1)}const zo=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"]),qc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Xg(t,e,s,n){Nc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(zo.has(i)?i:Lo(i),e.attrs[i])}function Zg(t,e,s){const n=Wc(t,e,s);for(const i in t)if(Vt(t[i])||Vt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Jg extends Mc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=pc(s);return n&&n.default||0}if(Gc.includes(s)){const i=getComputedStyle(e)[s];if(typeof i=="string"&&i)return i.trim()}return s=zo.has(s)?s:Lo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Zg(e,s,n)}build(e,s,n){zc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Xg(e,s,n,i)}mount(e){this.isSVGTag=qc(e.tagName),super.mount(e)}}function qo(t,e){t.min=e.min,t.max=e.max}function ee(t,e){qo(t.x,e.x),qo(t.y,e.y)}function Yc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Xc=1e-4,Qg=1-Xc,ty=1+Xc,Zc=.01,ey=0-Zc,sy=0+Zc;function Ft(t){return t.max-t.min}function ny(t,e,s){return Math.abs(t-e)<=s}function Jc(t,e,s,n=.5){t.origin=n,t.originPoint=lt(e.min,e.max,t.origin),t.scale=Ft(s)/Ft(e),t.translate=lt(s.min,s.max,t.origin)-t.originPoint,(t.scale>=Qg&&t.scale<=ty||isNaN(t.scale))&&(t.scale=1),(t.translate>=ey&&t.translate<=sy||isNaN(t.translate))&&(t.translate=0)}function tn(t,e,s,n){Jc(t.x,e.x,s.x,n?n.originX:void 0),Jc(t.y,e.y,s.y,n?n.originY:void 0)}function Qc(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=i+e.min,t.max=t.min+Ft(e)}function iy(t,e,s,n){Qc(t.x,e.x,s.x,n?.x),Qc(t.y,e.y,s.y,n?.y)}function tu(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=e.min-i,t.max=t.min+Ft(e)}function ri(t,e,s,n){tu(t.x,e.x,s.x,n?.x),tu(t.y,e.y,s.y,n?.y)}function eu(t,e,s,n,i){return t-=e,t=ii(t,1/s,n),i!==void 0&&(t=ii(t,1/i,n)),t}function oy(t,e=0,s=1,n=.5,i,o=t,r=t){if(ue.test(e)&&(e=parseFloat(e),e=lt(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=lt(o.min,o.max,n);t===o&&(a-=e),t.min=eu(t.min,e,s,a,i),t.max=eu(t.max,e,s,a,i)}function su(t,e,[s,n,i],o,r){oy(t,e[s],e[n],e[i],e.scale,o,r)}const ry=["x","scaleX","originX"],ay=["y","scaleY","originY"];function nu(t,e,s,n){su(t.x,e,ry,s?s.x:void 0,n?n.x:void 0),su(t.y,e,ay,s?s.y:void 0,n?n.y:void 0)}function iu(t){return t.translate===0&&t.scale===1}function ou(t){return iu(t.x)&&iu(t.y)}function ru(t,e){return t.min===e.min&&t.max===e.max}function ly(t,e){return ru(t.x,e.x)&&ru(t.y,e.y)}function au(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function lu(t,e){return au(t.x,e.x)&&au(t.y,e.y)}function cu(t){return Ft(t.x)/Ft(t.y)}function uu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Yt(t){return[t("x"),t("y")]}function cy(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,pathRotation:f,rotateX:h,rotateY:m,skewX:y,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotate(${f}deg) `),h&&(n+=`rotateX(${h}deg) `),m&&(n+=`rotateY(${m}deg) `),y&&(n+=`skewX(${y}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 uy=jo.length,fu=t=>typeof t=="string"?parseFloat(t):t,hu=t=>typeof t=="number"||F.test(t);function fy(t,e,s,n,i,o){i?(t.opacity=lt(0,s.opacity??1,hy(n)),t.opacityExit=lt(e.opacity??1,0,dy(n))):o&&(t.opacity=lt(e.opacity??1,s.opacity??1,n));for(let r=0;r<uy;r++){const a=jo[r];let l=du(e,a),u=du(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||hu(l)===hu(u)?(t[a]=Math.max(lt(fu(l),fu(u),n),0),(ue.test(u)||ue.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=lt(e.rotate||0,s.rotate||0,n))}function du(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const hy=pu(0,.5,yl),dy=pu(.5,.95,Gt);function pu(t,e,s){return n=>n<t?0:n>e?1:s(Gs(t,e,n))}function py(t,e,s){const n=Vt(t)?t:gs(t);return n.start(Oo("",n,e,s)),n.animation}function en(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s,n)}const my=(t,e)=>t.depth-e.depth;class gy{constructor(){this.children=[],this.isDirty=!1}add(e){to(this.children,e),this.isDirty=!0}remove(e){Wn(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=Lt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Ie(n),t(o-e))};return ot.setup(n,!0),()=>Ie(n)}function Yo(t){return Vt(t)?t.get():t}class vy{constructor(){this.members=[]}add(e){to(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.snapshot&&(Wn(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Wn(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){for(let s=this.members.indexOf(e)-1;s>=0;s--){const n=this.members[s];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:o}=e.options;(i===void 0||i!==o)&&(e.resumeFrom=n,s&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ai={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Xo=["","X","Y","Z"],by=1e3;let xy=0;function Zo(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function mu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=lc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",ot,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&mu(n)}function gu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=xy++,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(Vy),this.nodes.forEach(My),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 eo),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Tc(r)&&!Cg(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;ot.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=yy(h,250),ai.hasAnimatedSinceResize&&(ai.hasAnimatedSinceResize=!1,this.nodes.forEach(bu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||Fy,{onLayoutAnimationStart:v,onLayoutAnimationComplete:x}=u.getProps(),w=!this.targetLayout||!lu(this.targetLayout,m),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(w||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...Do(y,"layout"),onPlay:v,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(c,C,E.path)}else f||bu(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(),Ie(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(Dy),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&mu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Py),this.nodes.forEach(yu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(vu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cy),this.nodes.forEach(Ey),this.nodes.forEach(_y),this.nodes.forEach(Sy)):this.nodes.forEach(vu),this.clearAllSnapshots();const a=Lt.now();At.delta=ce(0,1e3/60,a-At.timestamp),At.timestamp=a,At.isProcessing=!0,io.update.process(At),io.preRender.process(At),io.render.process(At),At.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,yc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ay),this.sharedNodes.forEach(Oy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ft(this.snapshot.measuredBox.x)&&!Ft(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||(this.layoutCorrected=vt()),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&&!ou(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Je(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Iy(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return vt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ky))){const{scroll:u}=this.root;u&&(fe(a.x,u.offset.x),fe(a.y,u.offset.y))}return a}removeElementScroll(r){const a=vt();if(ee(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&&ee(a,r),fe(a.x,c.offset.x),fe(a.y,c.offset.y))}return a}applyTransform(r,a=!1,l){const u=l||vt();ee(u,r);for(let c=0;c<this.path.length;c++){const f=this.path[c];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(fe(u.x,-f.scroll.offset.x),fe(u.y,-f.scroll.offset.y)),Je(f.latestValues)&&oi(u,f.latestValues,f.layout?.layoutBox)}return Je(this.latestValues)&&oi(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(r){const a=vt();ee(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!Je(u.latestValues))continue;let c;u.instance&&(Ko(u.latestValues)&&u.updateSnapshot(),c=vt(),ee(c,u.measurePageBox())),nu(a,u.latestValues,u.snapshot?.layoutBox,c)}return Je(this.latestValues)&&nu(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!==At.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=At.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ee(this.target,this.layout.layoutBox),Fc(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ko(this.parent.latestValues)||Oc(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=vt(),this.relativeTargetOrigin=vt(),ri(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),ee(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===At.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;ee(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Bg(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=vt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Yc(this.prevProjectionDelta.x,this.projectionDelta.x),Yc(this.prevProjectionDelta.y,this.projectionDelta.y)),tn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!uu(this.projectionDelta.x,this.prevProjectionDelta.x)||!uu(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=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(r,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},h=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=vt(),y=u?u.source:void 0,v=this.layout?this.layout.source:void 0,x=y!==v,w=this.getStack(),C=!w||w.members.length<=1,E=!!(x&&!C&&this.options.crossfade===!0&&!this.path.some(Ly));this.animationProgress=0;let A;const I=l?.interpolateProjection(r);this.mixTargetDelta=W=>{const q=W/1e3,j=I?.(q);j?(h.x.translate=j.x,h.x.scale=lt(r.x.scale,1,q),h.x.origin=r.x.origin,h.x.originPoint=r.x.originPoint,h.y.translate=j.y,h.y.scale=lt(r.y.scale,1,q),h.y.origin=r.y.origin,h.y.originPoint=r.y.originPoint):(xu(h.x,r.x,q),xu(h.y,r.y,q)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ri(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ry(this.relativeTarget,this.relativeTargetOrigin,m,q),A&&ly(this.relativeTarget,A)&&(this.isProjectionDirty=!1),A||(A=vt()),ee(A,this.relativeTarget)),x&&(this.animationValues=f,fy(f,c,this.latestValues,q,E,C)),j&&j.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=j.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ie(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{ai.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=gs(0)),this.motionValue.jump(0,!1),this.currentAnimation=py(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},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&&Au(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||vt();const f=Ft(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Ft(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}ee(a,l),oi(a,c),tn(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&&Zo("z",r,u,this.animationValues);for(let c=0;c<Xo.length;c++)Zo(`rotate${Xo[c]}`,r,u,this.animationValues),Zo(`skew${Xo[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=Yo(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=Yo(a?.pointerEvents)||""),this.hasProjected&&!Je(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=cy(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:h,y:m}=this.projectionDelta;r.transformOrigin=`${h.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 y in Qs){if(c[y]===void 0)continue;const{correct:v,applyTo:x,isCSSVariable:w}=Qs[y],C=f==="none"?c[y]:v(c[y],u);if(x){const E=x.length;for(let A=0;A<E;A++)r[x[A]]=C}else w?this.options.visualElement.renderState.vars[y]=C:r[y]=C}this.options.layoutId&&(r.pointerEvents=u===this?Yo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(yu),this.root.sharedNodes.clear()}}}function _y(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;if(i==="size")Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(f);f.min=s[c].min,f.max=f.min+h});else if(i==="x"||i==="y"){const c=i==="x"?"y":"x";qo(o?e.measuredBox[c]:e.layoutBox[c],s[c])}else Au(i,e.layoutBox,s)&&Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(s[c]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+h)});const r=vs();tn(r,s,e.layoutBox);const a=vs();o?tn(a,t.applyTransform(n,!0),e.measuredBox):tn(a,s,e.layoutBox);const l=!ou(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:h}=c;if(f&&h){const m=t.options.layoutAnchor||void 0,y=vt();ri(y,e.layoutBox,f.layoutBox,m);const v=vt();ri(v,s,h.layoutBox,m),lu(y,v)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=y,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 Ay(t){t.clearSnapshot()}function yu(t){t.clearMeasurements()}function Py(t){t.isLayoutDirty=!0,t.updateLayout()}function vu(t){t.isLayoutDirty=!1}function Cy(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ey(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function bu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vy(t){t.resolveTargetDelta()}function My(t){t.calcProjection()}function Dy(t){t.resetSkewAndRotation()}function Oy(t){t.removeLeadSnapshot()}function xu(t,e,s){t.translate=lt(e.translate,0,s),t.scale=lt(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function _u(t,e,s,n){t.min=lt(e.min,s.min,n),t.max=lt(e.max,s.max,n)}function Ry(t,e,s,n){_u(t.x,e.x,s.x,n),_u(t.y,e.y,s.y,n)}function Ly(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fy={duration:.45,ease:[.4,0,.1,1]},Su=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Tu=Su("applewebkit/")&&!Su("chrome/")?Math.round:Gt;function wu(t){t.min=Tu(t.min),t.max=Tu(t.max)}function Iy(t){wu(t.x),wu(t.y)}function Au(t,e,s){return t==="position"||t==="preserve-aspect"&&!ny(cu(e),cu(s),.2)}function ky(t){return t!==t.root&&t.scroll?.wasRoot}const jy=gu({attachResizeListener:(t,e)=>en(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jo={current:void 0},By=gu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Jo.current){const t=new jy({});t.mount(window),t.setOptions({layoutScroll:!0}),Jo.current=t}return Jo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),$y={some:0,all:1};function Ny(t,e,{root:s,margin:n,amount:i="some"}={}){const o=gc(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:$y[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Pu=(t,e)=>Math.abs(t-e);function Uy(t,e){const s=Pu(t.x,e.x),n=Pu(t.y,e.y);return Math.sqrt(s**2+n**2)}function Cu({current:t}){return t?t.ownerDocument.defaultView:null}function Qo(t){if(t)return t.nodeType===3||t.nodeType===8?Qo(t.nextSibling):t}const[Hy,Ky]=Ks("Motion"),[Wy]=Ks("LayoutGroup"),Gy={reducedMotion:"never",transition:void 0,nonce:void 0},[zy]=Ks("MotionConfig");function qy(){return zy(_t(()=>Gy))}function Eu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Eu(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 Yy(t,e,s){const n=Eu(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function Xy(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,...Yy(t[o]||e?.[o],t.variants,n)}),{})}function Vu(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 Zy=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 Mu(t){return Zy.has(t)}const Du=new WeakMap;var Jy=class{constructor(t,e,s={}){this.element=null,this.isExiting=!1,this.children=new Set,this.features=new Map,this.featureCtors=[],this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Xy(t,this.context),this.type=Mu(this.options.as)?"svg":"html",this.setBundle(s)}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return ni(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}setBundle(t){t.renderer&&this.initVisualElement(t.renderer),t.features?.length&&(this.featureCtors=t.features),this.updateFeatures()}updateFeatures(){if(this.visualElement)for(const t of this.featureCtors){let e=this.features.get(t.key);e||(e=new t(this),this.features.set(t.key,e)),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},this.options.presenceContext??null)}mount(t){Du.set(t,this),this.element=t,this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(!1)}unmount(){this.parent?.children?.delete(this),this.element&&Du.delete(this.element),this.features.forEach(t=>{t.unmount(),t.isMount=!1}),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(!this.isExiting)}update(){this.updateFeatures(),this.didUpdate()}getFeature(t){return this.features.get(t)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1)})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:this.options.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){this.features.get("layout")?.getSnapshot(t)}didUpdate(){}},de=class{constructor(t){this.isMount=!1,this.state=t}mount(){}beforeUnmount(){}unmount(){}update(){}getSnapshot(t){}};const Ou=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Qy=Ou.length;function Ru(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Ru(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<Qy;s++){const n=Ou[s],i=t.props[n];(ni(i)||i===!1)&&(e[n]=i)}return e}var Lu=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],tv=[...Lu].reverse(),ev=Lu.length;function Qe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Fu(){return{animate:Qe(!0),whileInView:Qe(),whileHover:Qe(),whilePress:Qe(),whileDrag:Qe(),whileFocus:Qe(),exit:Qe()}}function sv(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Vu(e,t):!1}function Iu(t){return Array.isArray(t)}function nv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>rg(t,s,n)))}function iv(t){let e=nv(t),s=Fu(),n=!0;const i=l=>(u,c)=>{const f=ys(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...y}=f;u={...u,...y,...m}}return u};function o(l){e=l(t)}function r(l){const u=t.props,c=Ru(t.parent)||{},f=[],h=new Set;let m={},y=1/0;for(let x=0;x<ev;x++){const w=tv[x],C=s[w],E=u[w]!==void 0?u[w]:c[w],A=ni(E),I=w===l?C.isActive:null;I===!1&&(y=x);let W=E===c[w]&&E!==u[w]&&A;if(W&&n&&t.manuallyAnimateOnMount&&(W=!1),C.protectedKeys={...m},!C.isActive&&I===null||!E&&!C.prevProp||No(E)||typeof E=="boolean")continue;const q=sv(C.prevProp,E);let j=q||w===l&&C.isActive&&!W&&A||x>y&&A,B=!1;const R=Array.isArray(E)?E:[E];let K=R.reduce(i(w),{});I===!1&&(K={});const{prevResolvedValues:O={}}=C,et={...O,...K},rt=Y=>{j=!0,h.has(Y)&&(B=!0,h.delete(Y)),C.needsAnimating[Y]=!0;const X=t.getValue(Y);X&&(X.liveStyle=!1)};for(const Y in et){const X=K[Y],Z=O[Y];if(Object.hasOwnProperty.call(m,Y))continue;let kt=!1;Iu(X)&&Iu(Z)?kt=!Vu(X,Z):kt=X!==Z,kt?X!=null?rt(Y):h.add(Y):X!==void 0&&h.has(Y)?rt(Y):C.protectedKeys[Y]=!0}C.prevProp=E,C.prevResolvedValues=K,C.isActive&&(m={...m,...K}),n&&t.blockInitialAnimation&&(j=!1);const bt=W&&q;j&&(!bt||B)&&f.push(...R.map(Y=>{const X={type:w};if(typeof Y=="string"&&n&&!bt&&t.manuallyAnimateOnMount&&t.parent){const{parent:Z}=t,kt=ys(Z,Y);if(Z.enteringChildren&&kt){const{delayChildren:bs}=kt.transition||{};X.delay=ec(Z.enteringChildren,t,bs)}}return{animation:Y,options:X}}))}if(h.size){const x={};if(typeof u.initial!="boolean"){const w=ys(t,Array.isArray(u.initial)?u.initial[0]:u.initial);w&&w.transition&&(x.transition=w.transition)}h.forEach(w=>{const C=t.getBaseTarget(w),E=t.getValue(w);E&&(E.liveStyle=!0),x[w]=C??null}),f.push({animation:x})}let v=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(v=!1),n=!1,v?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=Fu(),n=!0}}}function ku(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var ov=class extends de{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=iv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;No(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){ku(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?.()}},rv=class extends de{constructor(...t){super(...t),this.exitGeneration=0}static#t=this.key="exit";exit(){const t=++this.exitGeneration,e=this.state;e.isExiting=!0;const s=new Promise(i=>{this.pendingExit={resolve:i}}),n=e.visualElement?.animationState?.setActive("exit",!0);return n?n.then(()=>{t===this.exitGeneration&&(e.isExiting=!1,e.options?.layoutId?ot.postRender(()=>this.tryCompleteExit(t)):this.tryCompleteExit(t))}):(e.isExiting=!1,this.tryCompleteExit(t)),e.getSnapshot(!1),s}reenter(){this.exitGeneration++,this.settleExit(),this.state.isExiting=!1,this.state.setActive("exit",!1),this.state.getSnapshot(!0)}completeExitFromProjection(){this.tryCompleteExit(this.exitGeneration)}tryCompleteExit(t){t!==this.exitGeneration||this.state.isExiting||this.state.options?.layoutId&&this.state.visualElement.projection?.currentAnimation?.state==="running"||this.settleExit()}settleExit(){this.pendingExit?.resolve(),this.pendingExit=void 0}mount(){this.state.options.presenceContext?.register?.(this.state)}unmount(){this.state.options.presenceContext?.unregister?.(this.state),this.settleExit()}};function av(t,e){return Mu(t)?new Jg(e):new Gg(e)}function ju(t){return{point:{x:t.pageX,y:t.pageY}}}var lv=class extends de{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=Pg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&ot.postRender(()=>n.onPressStart(s,ju(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&ot.postRender(()=>a(i,ju(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 Bu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function sn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function cv(t){return e=>Bu(e)&&t(e,sn(e))}var uv=class extends de{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=_g(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&ot.postRender(()=>n.onHoverStart(s,sn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&ot.postRender(()=>o(i,sn(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}},fv=class extends de{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=Ny(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&ot.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&ot.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}},hv=class extends de{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=Ws(en(t,"focus",()=>this.onFocus()),en(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 Nu={borderRadius:{...he,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Hc};function nn(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const dv=typeof window>"u";var pv=class extends de{static#t=this.key="projection";constructor(t){super(t),Kc(Nu),dv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new By(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&&nn(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.getFeature("exit")?.completeExitFromProjection()})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function on(t,e,s,n){return en(t,e,cv(s),n)}var Uu=new Set(["auto","scroll"]),Hu=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=er(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Uy(c.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=c,{timestamp:y}=At;this.history.push({...m,timestamp:y});const{onStart:v,onMove:x}=this.handlers;f||(v&&v(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=tr(f,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=er(c.type==="pointercancel"?this.lastMoveEventInfo:tr(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(c,v),m&&m(c,v)},!Bu(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=tr(sn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=At;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,er(r,this.history)),this.removeListeners=Ws(on(this.contextWindow,"pointermove",this.handlePointerMove),on(this.contextWindow,"pointerup",this.handlePointerUp),on(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);(Uu.has(s.overflowX)||Uu.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),ot.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Ie(this.updatePoint)}};function tr(t,e){return e?{point:e(t.point)}:t}function Ku(t,e){return{x:t.x-e.x,y:t.y-e.y}}function er({point:t},e){return{point:t,delta:Ku(t,Wu(e)),offset:Ku(t,mv(e)),velocity:gv(e,.1)}}function mv(t){return t[0]}function Wu(t){return t[t.length-1]}function gv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=Wu(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>zt(e)));)s--;if(!n)return{x:0,y:0};const o=qt(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 Gu(t){return(e,s)=>{t&&ot.postRender(()=>t(e,s))}}var yv=class extends de{constructor(...t){super(...t),this.removePointerDownListener=Gt}static#t=this.key="pan";onPointerDown(t){this.session=new Hu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Cu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Gu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:Gu((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&&ot.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=on(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function zu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var qu=zu("dragHorizontal"),Yu=zu("dragVertical");function vv(t){let e=!1;if(t==="y")e=Yu();else if(t==="x")e=qu();else{const s=qu(),n=Yu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function bv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?lt(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?lt(s,t,n.max):Math.min(t,s)),t}const sr=.35;function xv(t,{top:e,left:s,bottom:n,right:i}){return{x:Xu(t.x,s,i),y:Xu(t.y,e,n)}}function Xu(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 _v(t=sr){return t===!1?t=0:t===!0&&(t=sr),{x:Zu(t,"left","right"),y:Zu(t,"top","bottom")}}function Zu(t,e,s){return{min:Ju(t,e),max:Ju(t,s)}}function Ju(t,e){return typeof t=="number"?t:t[e]||0}function Sv(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 Tv(t,e){return{x:Qu(t.x,e.x),y:Qu(t.y,e.y)}}function Qu(t,e){let s=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([s,n]=[n,s]),{min:s,max:n}}function wv(t,e){let s=.5;const n=Ft(t),i=Ft(e);return i>n?s=Gs(e.min,e.max-n,t.min):n>i&&(s=Gs(t.min,t.max-i,e.min)),ce(0,1,s)}const Av=new WeakMap;var Pv=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=vt(),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(sn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:h}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=vv(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),Yt(m=>{let y=this.getAxisMotionValue(m).get()||0;if(ue.test(y)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[m];x&&(y=Ft(x)*(parseFloat(y)/100))}}this.originPoint[m]=y}),h&&ot.postRender(()=>h(l,u)),Ro(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:h,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:y}=u;if(f&&this.currentDirection===null){this.currentDirection=Cv(y),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),m&&m(l,u)},o=(l,u)=>this.stop(l,u),r=()=>Yt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Hu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Cu(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&&ot.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||!li(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=bv(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&&nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=xv(s.layoutBox,t):this.constraints=!1,this.elastic=_v(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Yt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=Sv(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!nn(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=$g(s,n.root,this.visualElement.getTransformPagePoint());let o=Tv(n.layout.layoutBox,i);if(e){const r=e(kg(o));this.hasMutatedConstraints=!!r,r&&(o=Dc(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Yt(u=>{if(!li(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,h=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:h,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 Ro(this.visualElement,t),s.start(Oo(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Yt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Yt(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){Yt(e=>{const{drag:s}=this.getProps();if(!li(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]-lt(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!nn(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Yt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=wv({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(),Yt(o=>{if(!li(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(lt(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Av.set(this.visualElement,this);const t=this.state.element,e=on(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();nn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ot.read(s);const o=en(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Yt(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=sr,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function li(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Cv(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Ev=class extends de{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Gt,this.removeListeners=Gt,this.controls=new Pv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Gt}unmount(){this.removeGroupControls(),this.removeListeners()}},Vv=class extends de{static#t=this.key="layout";constructor(t){super(t),Kc(Nu)}updatePrevLead(t){const e=this.state.visualElement.projection;e.isPresent!==t&&(e.isPresent=t,t?!e.isLead()&&e?.promote():e.isLead()&&e?.relegate())}didUpdate(){(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&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=!ku(this.state.element);s.isPresent=n,n?s?.promote():s?.relegate()}e?.group?.add(s),ai.hasEverUpdated=!0}this.didUpdate()}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)}getSnapshot(t){const e=this.state.visualElement.projection,{layout:s,layoutId:n,drag:i,layoutDependency:o}=this.state.visualElement.props,r=this.state.visualElement.prevProps;!e||!s&&!n&&!i||((i||r.layoutDependency!==o||o===void 0||t!==e.isPresent)&&e.willUpdate(),n&&this.updatePrevLead(t),jr(()=>{this.didUpdate()}))}};const Mv={renderer:av,features:[ov,rv,lv,uv,fv,hv,pv,yv,Ev,Vv]},[Dv]=Ks("LazyMotionContext"),[Ov]=Ks("AnimatePresenceContext");function Rv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function tf(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Lv(){return{...tf(),attrs:{}}}function Fv(t){const e=tf();Go(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 Iv(t,e,s){const n=Lv();zc(n,t,qc(e),void 0,s);const i={};for(const o in n.attrs){const r=zo.has(o)?o:Rv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function kv(t,e={}){const s=Hy(null),n=Wy({}),i=qy(),o=Ov({}),r=Dv({features:os({}),strict:!1}),a=Dh();function l(){return dp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Jy(u(),s,e);Ky(c),Vn(r.features,m=>{c.setBundle(m)},{immediate:!0,flush:"pre"});function f(){const m=c.type==="svg",y={...a};Object.keys(a).forEach(C=>{Vt(a[C])&&(y[C]=a[C].get())});const v=c.visualElement?.latestValues||c.latestValues;let x={...t.style,...m?{}:v};for(const C in x)Vt(x[C])&&(x[C]=x[C].get());if(m){const{attrs:C,style:E}=Iv({...v,...x},c.options.as,t.style);Object.assign(y,C),x=E}t.drag&&t.dragListener!==!1&&Object.assign(x,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const w=Fv(x);return w&&(y.style=w),y}const h=Un()?.proxy;return Ii(()=>{const m=Qo(h?.$el);c.mount(m)}),ki(()=>{c.updateOptions(u()),c.beforeUnmount()}),ji(()=>{Qo(h?.$el)?.isConnected||c.unmount()}),ta(()=>{c.updateOptions(u()),c.beforeUpdate()}),ea(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const jv={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 Bv=new Map,$v=new Map;function Nv(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 Uv=["area","img","input"];function Hv(t,e,s){if(typeof t=="string"&&Uv.includes(t))return Yi(t,e);if(t==="template"){if(!s.default)return null;const n=Nv(s.default()),i=n.findIndex(l=>l.type!==wt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?Oa(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=Te(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 ef(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?Bv:$v;if(s&&i.has(t))return i.get(t);const o=yh({inheritAttrs:!1,props:{...jv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=kv(r,e);function f(){const h=c.element;if((typeof r.as!="object"||r.asChild)&&h){const{style:m}=u();if(m)for(const[y,v]of Object.entries(m))h.style[y]=v}}return()=>{const h=l(),m=u(),y=r.asChild?"template":r.as,v={...r.forwardMotionProps?h:{},...m,onVnodeUpdated:f},x=Hv(y,v,a);return x!==null?x:Yi(y,{...v},a)}}});return s&&i.set(t,o),o}function Kv(t){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>ef(n,{...i,...t}):ef(s,{...t})}})}const sf=Kv(Mv);sf.create("div");const Wv={class:"slds-navigation-list--vertical"},Gv={class:"slds-navigation-list__item-content"},zv={class:"slds-navigation-list__item-title"},qv={__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=os(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(),N("div",Wv,[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)),(k(!0),N(dt,null,Re(t.schemas,u=>(k(),N("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Gv,[g("div",zv,[it(Lr(sf).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Dt(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:En(()=>[ks(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},nf="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",of=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},Yv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Xv={class:"slds-notify__content"},rf=of({__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(),N("div",Yv,[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:nf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Xv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Zv={key:0,class:"slds-m-top_medium"},Jv={class:"slds-box slds-theme_shade"},Qv={class:"slds-grid slds-wrap slds-gutters"},t0={class:"constraint-item"},e0={class:"slds-text-title_caps slds-text-color_default"},s0={class:"slds-text-body_regular slds-m-top_xx-small"},nr={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{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=_t(()=>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(),N("div",Zv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Jv,[g("div",Qv,[(k(!0),N(dt,null,Re(s.value,(u,c)=>(k(),N("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",t0,[g("div",e0,J(i(c)),1),g("div",s0,[g("span",{class:Dt(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):$t("",!0)}},n0={class:"array-schema"},i0={class:"slds-box slds-theme_shade"},o0={class:"slds-grid slds-gutters"},r0={key:0,class:"slds-col"},a0={class:"slds-badge"},l0={key:1,class:"slds-m-top_medium"},c0={class:"slds-text-title_caps slds-m-bottom_xx-small"},u0={key:3,class:"slds-m-top_medium"},f0={key:4,class:"slds-m-top_medium"},h0={key:0,class:"slds-m-top_xx-small"},d0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=_t(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(k(),N("div",n0,[g("div",i0,[g("div",o0,[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(),N("div",r0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",a0,J(n.value),1)])):$t("",!0)])]),s.value?(k(),Bt(nr,{key:0,schema:t.schema},null,8,["schema"])):$t("",!0),t.schema.items?(k(),N("div",l0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(k(!0),N(dt,{key:0},Re(t.schema.items,(r,a)=>(k(),N("div",{key:a,class:"slds-m-bottom_medium"},[g("div",c0," Index "+J(a),1),it(Ee,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(k(),Bt(Ee,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(k(),Bt(rf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(k(),N("div",u0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),it(Ee,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):$t("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(k(),N("div",f0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(k(),N("div",h0,[g("span",{class:Dt(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0)]))}},p0={class:"slds-box slds-theme_shade"},m0={class:"slds-text-heading_small slds-m-bottom_small"},g0={class:"slds-tabs_default"},y0={class:"slds-tabs_default__nav",role:"tablist"},v0=["aria-selected","aria-controls","onClick"],b0={class:"slds-tabs_default__title"},x0=["id"],_0={class:"slds-p-around_medium"},S0={class:"slds-text-title_caps slds-m-bottom_small"},T0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=os(0),i=_t(()=>e.schema[s.value]||[]);fh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=_t(()=>{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=_t(()=>{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(),N("div",p0,[g("div",m0,[g("span",{class:Dt(["slds-badge",r.value])},J(o.value),3)]),g("div",g0,[g("ul",y0,[(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("li",{key:h,class:Dt(["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:m=>n.value=h},[g("span",b0,J(l(f,h)),1)],8,v0)],2))),128))]),(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("div",{id:`tab-${h}`,key:h,class:Dt(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",_0,[g("div",S0," Schema Type: "+J(a(f)),1),it(Ee,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,x0))),128))])]))}},w0={class:"slds-box slds-theme_shade"},A0={class:"slds-grid slds-wrap slds-gutters"},P0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},C0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},E0={key:1,class:"slds-badge slds-badge_inverse"},V0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.const),n=_t(()=>typeof s.value=="object"&&s.value!==null),i=_t(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(k(),N("div",w0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",A0,[g("div",P0,[n.value?(k(),N("pre",C0,[g("code",null,J(i.value),1)])):(k(),N("div",E0,J(i.value),1))])])]))}},M0={class:"slds-box slds-theme_shade"},D0={class:"slds-grid slds-wrap slds-gutters"},O0={class:"slds-badge slds-badge_inverse"},R0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.enum);return(n,i)=>(k(),N("div",M0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",D0,[(k(!0),N(dt,null,Re(s.value,(o,r)=>(k(),N("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",O0,J(o),1)]))),128))])]))}},L0="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",F0={key:0},I0={key:1},k0={class:"slds-box slds-m-top_small"},j0={class:"slds-table_container"},B0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},$0=["onClick"],N0=["title"],U0={class:"slds-truncate"},H0={class:"slds-badge"},K0=["title"],W0={class:"slds-truncate"},G0={key:0,class:"slds-badge slds-badge_success"},z0={key:1,class:"slds-badge slds-badge_inverse"},q0={key:0},Y0={colspan:"4",class:"slds-p-around_medium"},X0={class:"slds-box slds-theme_shade"},Z0={key:2},J0={key:3},Q0={key:0},tb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=os({}),n=_t(()=>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:ts.hasComposition(a)?"composition":ts.isEnum(a)?"enum":ts.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(k(),N("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),it(nr,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(k(),N("div",F0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):$t("",!0),n.value?(k(),N("div",I0,[g("div",k0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",j0,[g("table",B0,[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,[(k(!0),N(dt,null,Re(t.schema.properties,(u,c)=>(k(),N(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:L0,class:Dt(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),ks(" "+J(c),1)],8,N0)]),g("td",null,[g("div",U0,[g("span",H0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,K0)]),g("td",null,[g("div",W0,[i(c)?(k(),N("span",G0,"Required")):(k(),N("span",z0,"Optional"))])])],8,$0),it(_d,null,{default:En(()=>[s.value[c]?(k(),N("tr",q0,[g("td",Y0,[g("div",X0,[it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):$t("",!0)]),_:2},1024)],64))),128))])])])])])):$t("",!0),t.schema.patternProperties?(k(),N("div",Z0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(k(!0),N(dt,null,Re(t.schema.patternProperties,(u,c)=>(k(),N("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):$t("",!0),t.schema.additionalProperties!==void 0?(k(),N("div",J0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(k(),N("div",Q0,[g("span",{class:Dt(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0),n.value?$t("",!0):(k(),Bt(rf,{key:4}))]))}},eb={class:"slds-box slds-m-top_small"},sb={class:"slds-box slds-theme_shade"},nb={class:"slds-text-body_regular"},ib={class:"slds-grid slds-gutters"},ob={class:"slds-col"},rb={class:"slds-badge"},ab={class:"slds-col"},rn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",eb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",sb,[g("div",nb,[g("div",ib,[g("div",ob,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",rb,J(t.schema.type),1)]),g("div",ab,[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)])])])]),it(nr,{schema:t.schema},null,8,["schema"])]))}},lb={object:tb,array:d0,string:rn,number:rn,integer:rn,boolean:rn,null:rn},ts={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ts.hasComposition(t)?T0:ts.isEnum(t)?R0:ts.isConst(t)?V0:lb[t.type]||null},cb={class:"slds-grid slds-grid_vertical"},ub={class:"slds-col slds-size_1-of-1"},fb={class:"slds-card"},hb={class:"slds-card__body slds-card__body_inner"},db={__name:"SchemaLayout",setup(t){return(e,s)=>(k(),N("div",cb,[g("div",ub,[g("div",fb,[g("div",hb,[Vh(e.$slots,"default")])])])]))}},pb={class:"slds-box"},mb={class:"slds-box slds-theme_shade"},gb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(k(),N("div",pb,[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",mb,[g("code",null,J(s.value),1)])]))}},yb={class:"slds-page-header"},vb={class:"slds-page-header__row"},bb={class:"slds-page-header__col-title"},xb={class:"slds-media"},_b={class:"slds-media__body"},Sb={class:"slds-page-header__name"},Tb={class:"slds-page-header__name-title"},wb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Ab={class:"slds-page-header__meta-text"},Pb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",yb,[g("div",vb,[g("div",bb,[g("div",xb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:ol,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",_b,[g("div",Sb,[g("div",Tb,[g("h1",wb,J(t.schema.title||"Schema"),1)])]),g("div",Ab,J(t.schema.description||"No description provided"),1)])])])])]))}},Cb={class:"slds-tabs_default__nav",role:"tablist"},Eb={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(k(),N("ul",Cb,[g("li",{class:Dt(["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:Dt(["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)]))}},Vb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Mb={class:"slds-notify__content"},Db=of({__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(),N("div",Vb,[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:nf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Mb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Ob={class:"slds-tabs_default"},Rb={class:"slds-p-around_medium"},Lb={class:"slds-m-top_medium"},Fb={class:"slds-p-around_medium"},Ee={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=os("visual"),n=_t(()=>e.isRoot?e.schema:e.rootSchema);Oi("rootSchema",n);const i=_t(()=>ts.getComponentForSchema(e.schema));return(o,r)=>(k(),Bt(db,null,{default:En(()=>[g("div",Ob,[it(Eb,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Dt({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Rb,[it(Pb,{schema:t.schema},null,8,["schema"]),g("div",Lb,[i.value?(k(),Bt(Ch(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(k(),Bt(Db,{key:1}))])])],2),g("div",{class:Dt({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Fb,[it(gb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Ib={class:"slds-grid slds-grid_vertical"},kb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},jb={class:"slds-col slds-size_2-of-12"},Bb={class:"slds-col slds-size_10-of-12"},$b={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=os(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(k(),N("div",Ib,[it(hp,{title:t.title},null,8,["title"]),g("div",kb,[g("div",jb,[it(qv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",Bb,[s.value?(k(),Bt(Ee,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(k(),N("div",$b,[...o[0]||(o[0]=[rd('<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)])]))])]),it(np,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function lf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&il(af,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",lf):lf(),je.App=af,je.createApp=il,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}));
3
+ `,...oh(i)),console.warn(...o)}ie(),Mi=!1}function ih(){let t=Cs[Cs.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 oh(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
4
+ `],...rh(s))}),e}function rh({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Na(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...ah(t.props),o]:[i+o]}function ah(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Ir(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Ir(t,e,s){return ht(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:Tt(e)?(e=Ir(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):z(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function rs(t,e,s,n){try{return n?t(...n):t()}catch(i){An(i,e,s)}}function Ht(t,e,s,n){if(z(t)){const i=rs(t,e,s,n);return i&&ar(i)&&i.catch(o=>{An(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Ht(t[o],e,s,n));return i}}function An(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||ut;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){ne(),rs(o,null,10,[t,l,u]),ie();return}}lh(t,s,i,n,r)}function lh(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ot=[];let re=-1;const as=[];let Oe=null,ls=0;const kr=Promise.resolve();let Pn=null;function jr(t){const e=Pn||kr;return t?e.then(this?t.bind(this):t):e}function ch(t){let e=re+1,s=Ot.length;for(;e<s;){const n=e+s>>>1,i=Ot[n],o=Es(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Di(t){if(!(t.flags&1)){const e=Es(t),s=Ot[Ot.length-1];!s||!(t.flags&2)&&e>=Es(s)?Ot.push(t):Ot.splice(ch(e),0,t),t.flags|=1,Br()}}function Br(){Pn||(Pn=kr.then(Ur))}function uh(t){if(!H(t))Oe&&t.id===-1?Oe.splice(ls+1,0,t):t.flags&1||(as.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)as.push(t[e]);Br()}function $r(t,e,s=re+1){for(;s<Ot.length;s++){const n=Ot[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ot.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Nr(t){if(as.length){const e=[...new Set(as)].sort((s,n)=>Es(s)-Es(n));if(as.length=0,Oe){for(let s=0;s<e.length;s++)Oe.push(e[s]);return}for(Oe=e,ls=0;ls<Oe.length;ls++){const s=Oe[ls];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Oe=null,ls=0}}const Es=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Ur(t){const e=Xt;try{for(re=0;re<Ot.length;re++){const s=Ot[re];s&&!(s.flags&8)&&(De.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),rs(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;re<Ot.length;re++){const s=Ot[re];s&&(s.flags&=-2)}re=-1,Ot.length=0,Nr(),Pn=null,(Ot.length||as.length)&&Ur()}}let Et=null,Hr=null;function Cn(t){const e=Et;return Et=t,Hr=t&&t.type.__scopeId||null,e}function En(t,e=Et,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Bn(-1);const o=Cn(e),r=Se.length;let a;try{a=t(...i)}finally{for(let l=Se.length;l>r;l--)zi();Cn(o),n._d&&Bn(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Ke(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(ne(),Ht(l,s,8,[t.el,a,t,e]),ie())}}function Oi(t,e){if(xt){let s=xt.provides;const n=xt.parent&&xt.parent.provides;n===s&&(s=xt.provides=Object.create(n)),s[t]=e}}function Vs(t,e,s=!1){const n=Un();if(n||us){let i=us?us._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&&z(e)?e.call(n&&n.proxy):e}}const fh=Symbol.for("v-scx"),hh=()=>Vs(fh);function dh(t,e){return Ri(t,null,e)}function Vn(t,e,s){return Ri(t,e,s)}function Ri(t,e,s=ut){const{immediate:n,deep:i,flush:o,once:r}=s,a=yt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=hh();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Xt,m.resume=Xt,m.pause=Xt,m}}const c=xt;a.call=(m,v,y)=>Ht(m,c,v,y);let f=!1;o==="post"?a.scheduler=m=>{It(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Di(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const h=sh(t,e,a);return $s&&(u?u.push(h):l&&h()),h}function ph(t,e,s){const n=this.proxy,i=ht(t)?t.includes(".")?Kr(n,t):()=>n[t]:t.bind(n,n);let o;z(e)?o=e:(o=e.handler,s=e);const r=Bs(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 mh=Symbol("_vte"),Mn=t=>t.__isTeleport,Kt=Symbol("_leaveCb"),Ms=Symbol("_enterCb");function gh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{t.isMounted=!0}),ki(()=>{t.isUnmounting=!0}),t}const Wt=[Function,Array],Wr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wt,onEnter:Wt,onAfterEnter:Wt,onEnterCancelled:Wt,onBeforeLeave:Wt,onLeave:Wt,onAfterLeave:Wt,onLeaveCancelled:Wt,onBeforeAppear:Wt,onAppear:Wt,onAfterAppear:Wt,onAppearCancelled:Wt},Gr=t=>{const e=t.subTree;return e.component?Gr(e.component):e},yh={name:"BaseTransition",props:Wr,setup(t,{slots:e}){const s=Un(),n=gh();return()=>{const i=e.default&&Yr(e.default(),!0),o=i&&i.length?zr(i):s.subTree?$t():void 0;if(!o)return;const r=Q(t),{mode:a}=r;if(n.isLeaving)return Fi(o);const l=Dn(o);if(!l)return Fi(o);let u=Li(l,r,n,s,f=>u=f);l.type!==wt&&Ds(l,u);let c=s.subTree&&Dn(s.subTree);if(c&&c.type!==wt&&!Ge(c,l)&&Gr(s).type!==wt){let f=Li(c,r,n,s);if(Ds(c,f),a==="out-in"&&l.type!==wt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Fi(o);a==="in-out"&&l.type!==wt?f.delayLeave=(h,m,v)=>{const y=qr(n,c);y[String(c.key)]=c,h[Kt]=()=>{m(),h[Kt]=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 zr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==wt){e=s;break}}return e}const vh=yh;function qr(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:m,onAfterLeave:v,onLeaveCancelled:y,onBeforeAppear:x,onAppear:A,onAfterAppear:C,onAppearCancelled:E}=e,_=String(t.key),F=qr(s,t),W=(B,R)=>{B&&Ht(B,n,9,R)},q=(B,R)=>{const K=R[1];W(B,R),H(B)?B.every(O=>O.length<=1)&&K():B.length<=1&&K()},j={mode:r,persisted:a,beforeEnter(B){let R=l;if(!s.isMounted)if(o)R=x||l;else return;B[Kt]&&B[Kt](!0);const K=F[_];K&&Ge(t,K)&&K.el[Kt]&&K.el[Kt](),W(R,[B])},enter(B){if(F[_]===t)return;let R=u,K=c,O=f;if(!s.isMounted)if(o)R=A||u,K=C||c,O=E||f;else return;let et=!1;B[Ms]=bt=>{et||(et=!0,bt?W(O,[B]):W(K,[B]),j.delayedLeave&&j.delayedLeave(),B[Ms]=void 0)};const rt=B[Ms].bind(null,!1);R?q(R,[B,rt]):rt()},leave(B,R){const K=String(t.key);if(B[Ms]&&B[Ms](!0),s.isUnmounting)return R();W(h,[B]);let O=!1;B[Kt]=rt=>{O||(O=!0,R(),rt?W(y,[B]):W(v,[B]),B[Kt]=void 0,F[K]===t&&delete F[K])};const et=B[Kt].bind(null,!1);F[K]=t,m?q(m,[B,et]):et()},clone(B){const R=Li(B,e,s,n,i);return i&&i(R),R}};return j}function Fi(t){if(Rn(t))return t=Te(t),t.children=null,t}function Dn(t){if(!Rn(t))return Mn(t.type)&&t.children?zr(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&&z(s.default))return s.default()}}function Ds(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Ds(Mn(s.type)&&Dn(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Yr(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(Yr(r.children,e,a))):(e||r.type!==wt)&&n.push(a!=null?Te(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function bh(t,e){return z(t)?yt({name:t.name},e,{setup:t}):t}function Xr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Zr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const On=new WeakMap;function Os(t,e,s,n,i=!1){if(H(t)){t.forEach((y,x)=>Os(y,e&&(H(e)?e[x]:e),s,n,i));return}if(cs(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?qi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===ut?a.refs={}:a.refs,f=a.setupState,h=Q(f),m=f===ut?or:y=>Zr(c,y)?!1:st(h,y),v=(y,x)=>!(x&&Zr(c,x));if(u!=null&&u!==l){if(Jr(e),ht(u))c[u]=null,m(u)&&(f[u]=null);else if(Tt(u)){const y=e;v(u,y.k)&&(u.value=null),y.k&&(c[y.k]=null)}}if(z(l))rs(l,a,12,[r,c]);else{const y=ht(l),x=Tt(l);if(y||x){const A=()=>{if(t.f){const C=y?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)H(C)&&ui(C,o);else if(H(C))C.includes(o)||C.push(o);else if(y)c[l]=[o],m(l)&&(f[l]=c[l]);else{const E=[o];v(l,t.k)&&(l.value=E),t.k&&(c[t.k]=E)}}else y?(c[l]=r,m(l)&&(f[l]=r)):x&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const C=()=>{A(),On.delete(t)};C.id=-1,On.set(t,C),It(C,s)}else Jr(t),A()}}}function Jr(t){const e=On.get(t);e&&(e.flags|=8,On.delete(t))}mn().requestIdleCallback,mn().cancelIdleCallback;const cs=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function Qr(t,e){ea(t,"a",e)}function ta(t,e){ea(t,"da",e)}function ea(t,e,s=xt){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)&&xh(n,e,s,i),i=i.parent}}function xh(t,e,s,n){const i=Ln(e,t,n,!0);ji(()=>{ui(n[e],i)},s)}function Ln(t,e,s=xt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ne();const a=Bs(s),l=Ht(e,s,t,r);return a(),ie(),l});return n?i.unshift(o):i.push(o),o}}const _e=t=>(e,s=xt)=>{(!$s||t==="sp")&&Ln(t,(...n)=>e(...n),s)},_h=_e("bm"),Ii=_e("m"),sa=_e("bu"),na=_e("u"),ki=_e("bum"),ji=_e("um"),Sh=_e("sp"),Th=_e("rtg"),wh=_e("rtc");function Ah(t,e=xt){Ln("ec",t,e)}const Ph="components",ia=Symbol.for("v-ndc");function Ch(t){return ht(t)?Eh(Ph,t,!1)||t:t||ia}function Eh(t,e,s=!0,n=!1){const i=Et||xt;if(i){const o=i.type;{const a=$a(o,!1);if(a&&(a===e||a===Mt(e)||a===pn(Mt(e))))return o}const r=oa(i[t]||o[t],e)||oa(i.appContext[t],e);return!r&&n?o:r}}function oa(t,e){return t&&(t[e]||t[Mt(e)]||t[pn(Mt(e))])}function Re(t,e,s,n){let i;const o=s,r=H(t);if(r||ht(t)){const a=r&&Ue(t);let l=!1,u=!1;a&&(l=!Ut(t),u=xe(t),t=yn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?is(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(nt(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 Vh(t,e,s,n,i,o){if(s==null&&(s={}),Et.ce||Et.parent&&cs(Et.parent)&&Et.parent.ce){const u=s,c=Object.keys(u).length>0;return k(),Bt(dt,null,[it("slot",u,n)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1);const a=Se.length;k();let l;try{const u=r&&ra(r(s)),c=s.key||o||u&&u.key;l=Bt(dt,{key:(c&&!Zt(c)?c:`_${e}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&t._===1?64:-2)}catch(u){for(let c=Se.length;c>a;c--)zi();throw u}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function ra(t){return t.some(e=>Is(e)?!(e.type===wt||e.type===dt&&!ra(e.children)):!0)?t:null}const Bi=t=>t?Ia(t)?qi(t):Bi(t.parent):null,Rs=yt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Bi(t.parent),$root:t=>Bi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ua(t),$forceUpdate:t=>t.f||(t.f=()=>{Di(t.update)}),$nextTick:t=>t.n||(t.n=jr.bind(t.proxy)),$watch:t=>ph.bind(t)}),$i=(t,e)=>t!==ut&&!t.__isScriptSetup&&st(t,e),Mh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;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($i(n,e))return r[e]=1,n[e];if(i!==ut&&st(i,e))return r[e]=2,i[e];if(st(o,e))return r[e]=3,o[e];if(s!==ut&&st(s,e))return r[e]=4,s[e];Ni&&(r[e]=0)}}const u=Rs[e];let c,f;if(u)return e==="$attrs"&&Ct(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==ut&&st(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,st(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return $i(i,e)?(i[e]=s,!0):n!==ut&&st(n,e)?(n[e]=s,!0):st(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!==ut&&a[0]!=="$"&&st(t,a)||$i(e,a)||st(o,a)||st(n,a)||st(Rs,a)||st(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:st(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Dh(){return Oh().attrs}function Oh(t){const e=Un();return e.setupContext||(e.setupContext=Ba(e))}function aa(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ni=!0;function Rh(t){const e=ua(t),s=t.proxy,n=t.ctx;Ni=!1,e.beforeCreate&&la(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:y,deactivated:x,beforeDestroy:A,beforeUnmount:C,destroyed:E,unmounted:_,render:F,renderTracked:W,renderTriggered:q,errorCaptured:j,serverPrefetch:B,expose:R,inheritAttrs:K,components:O,directives:et,filters:rt}=e;if(u&&Lh(u,n,null),r)for(const X in r){const Z=r[X];z(Z)&&(n[X]=Z.bind(s))}if(i){const X=i.call(s,s);nt(X)&&(t.data=Ci(X))}if(Ni=!0,o)for(const X in o){const Z=o[X],kt=z(Z)?Z.bind(s,s):z(Z.get)?Z.get.bind(s,s):Xt,bs=!z(Z)&&z(Z.set)?Z.set.bind(s):Xt,es=_t({get:kt,set:bs});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>es.value,set:pe=>es.value=pe})}if(a)for(const X in a)ca(a[X],n,s,X);if(l){const X=z(l)?l.call(s):l;Reflect.ownKeys(X).forEach(Z=>{Oi(Z,X[Z])})}c&&la(c,t,"c");function Y(X,Z){H(Z)?Z.forEach(kt=>X(kt.bind(s))):Z&&X(Z.bind(s))}if(Y(_h,f),Y(Ii,h),Y(sa,m),Y(na,v),Y(Qr,y),Y(ta,x),Y(Ah,j),Y(wh,W),Y(Th,q),Y(ki,C),Y(ji,_),Y(Sh,B),H(R))if(R.length){const X=t.exposed||(t.exposed={});R.forEach(Z=>{Object.defineProperty(X,Z,{get:()=>s[Z],set:kt=>s[Z]=kt,enumerable:!0})})}else t.exposed||(t.exposed={});F&&t.render===Xt&&(t.render=F),K!=null&&(t.inheritAttrs=K),O&&(t.components=O),et&&(t.directives=et),B&&Xr(t)}function Lh(t,e,s=Xt){H(t)&&(t=Ui(t));for(const n in t){const i=t[n];let o;nt(i)?"default"in i?o=Vs(i.from||n,i.default,!0):o=Vs(i.from||n):o=Vs(i),Tt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function la(t,e,s){Ht(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ca(t,e,s,n){let i=n.includes(".")?Kr(s,n):()=>s[n];if(ht(t)){const o=e[t];z(o)&&Vn(i,o)}else if(z(t))Vn(i,t.bind(s));else if(nt(t))if(H(t))t.forEach(o=>ca(o,e,s,n));else{const o=z(t.handler)?t.handler.bind(s):e[t.handler];z(o)&&Vn(i,o,t)}}function ua(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)),nt(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=Fh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Fh={data:fa,props:ha,emits:ha,methods:Ls,computed:Ls,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Ls,directives:Ls,watch:kh,provide:fa,inject:Ih};function fa(t,e){return e?t?function(){return yt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function Ih(t,e){return Ls(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 Rt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ls(t,e){return t?yt(Object.create(null),t,e):e}function ha(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:yt(Object.create(null),aa(t),aa(e??{})):e}function kh(t,e){if(!t)return e;if(!e)return t;const s=yt(Object.create(null),t);for(const n in e)s[n]=Rt(t[n],e[n]);return s}function da(){return{app:null,config:{isNativeTag:or,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 jh=0;function Bh(t,e){return function(n,i=null){z(n)||(n=yt({},n)),i!=null&&!nt(i)&&(i=null);const o=da(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:jh++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:gd,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&z(c.install)?(r.add(c),c.install(u,...f)):z(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 m=u._ceVNode||it(n,i);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(m,c,h),l=!0,u._container=c,c.__vue_app__=u,qi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Ht(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=us;us=u;try{return c()}finally{us=f}}};return u}}let us=null;const $h=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Mt(e)}Modifiers`]||t[`${$e(e)}Modifiers`];function Nh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||ut;let i=s;const o=e.startsWith("update:"),r=o&&$h(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ht(c)?c.trim():c)),r.number&&(i=i.map(xf)));let a,l=n[a=hi(e)]||n[a=hi(Mt(e))];!l&&o&&(l=n[a=hi($e(e))]),l&&Ht(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,Ht(u,t,6,i)}}const Uh=new WeakMap;function pa(t,e,s=!1){const n=s?Uh:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!z(t)){const l=u=>{const c=pa(u,e,!0);c&&(a=!0,yt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(nt(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):yt(r,o),nt(t)&&n.set(t,r),r)}function In(t,e){return!t||!un(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,$e(e))||st(t,e))}function Kb(){}function ma(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:m,ctx:v,inheritAttrs:y}=t,x=Cn(t);let A,C;try{if(s.shapeFlag&4){const _=i||n,F=De.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(_,{get(W,q,j){return nh(`Property '${String(q)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(W,q,j)}}):_;A=ae(u.call(F,_,c,De.NODE_ENV!=="production"?_n(f):f,m,h,v)),C=a}else{const _=e;De.NODE_ENV,A=ae(_.length>1?_(De.NODE_ENV!=="production"?_n(f):f,De.NODE_ENV!=="production"?{get attrs(){return _n(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):_(De.NODE_ENV!=="production"?_n(f):f,null)),C=e.props?a:Hh(a)}}catch(_){Se.length=0,An(_,t,1),A=it(wt)}let E=A;if(C&&y!==!1){const _=Object.keys(C),{shapeFlag:F}=E;_.length&&F&7&&(o&&_.some(fn)&&(C=Kh(C,o)),E=Te(E,C,!1,!0))}if(s.dirs&&(E=Te(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(s.dirs):s.dirs),s.transition){const _=Mn(E.type)&&Dn(E)||E;Ds(_,s.transition)}return A=E,Cn(x),A}const Hh=t=>{let e;for(const s in t)(s==="class"||s==="style"||un(s))&&((e||(e={}))[s]=t[s]);return e},Kh=(t,e)=>{const s={};for(const n in t)(!fn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Wh(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?ga(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(ya(r,n,h)&&!In(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ga(n,r,u):!0:!!r;return!1}function ga(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(ya(e,t,o)&&!In(s,o))return!0}return!1}function ya(t,e,s){const n=t[s],i=e[s];return s==="style"&&nt(n)&&nt(i)?!gn(n,i):n!==i}function Gh({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const va={},ba=()=>Object.create(va),xa=t=>Object.getPrototypeOf(t)===va;function zh(t,e,s,n=!1){const i={},o=ba();t.propsDefaults=Object.create(null),_a(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:qf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function qh(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 h=c[f];if(In(t.emitsOptions,h))continue;const m=e[h];if(l)if(st(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const v=Mt(h);i[v]=Hi(l,a,v,m,t,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{_a(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!st(e,f)&&((c=$e(f))===f||!st(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||!st(e,f))&&(delete o[f],u=!0)}u&&ve(t.attrs,"set","")}function _a(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&&st(i,c=Mt(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=Q(s),u=a||ut;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Hi(i,l,f,u[f],t,!st(u,f))}}return r}function Hi(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=st(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&z(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=Bs(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===$e(s))&&(n=!0))}return n}const Yh=new WeakMap;function Sa(t,e,s=!1){const n=s?Yh:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!z(t)){const c=f=>{l=!0;const[h,m]=Sa(f,e,!0);yt(r,h),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 nt(t)&&n.set(t,ss),ss;if(H(o))for(let c=0;c<o.length;c++){const f=Mt(o[c]);Ta(f)&&(r[f]=ut)}else if(o)for(const c in o){const f=Mt(c);if(Ta(f)){const h=o[c],m=r[f]=H(h)||z(h)?{type:h}:yt({},h),v=m.type;let y=!1,x=!0;if(H(v))for(let A=0;A<v.length;++A){const C=v[A],E=z(C)&&C.name;if(E==="Boolean"){y=!0;break}else E==="String"&&(x=!1)}else y=z(v)&&v.name==="Boolean";m[0]=y,m[1]=x,(y||st(m,"default"))&&a.push(f)}}const u=[r,a];return nt(t)&&n.set(t,u),u}function Ta(t){return t[0]!=="$"&&!_s(t)}const Ki=t=>t==="_"||t==="_ctx"||t==="$stable",Wi=t=>H(t)?t.map(ae):[ae(t)],Xh=(t,e,s)=>{if(e._n)return e;const n=En((...i)=>(De.NODE_ENV!=="production"&&xt&&!(s===null&&Et)&&(s&&(s.root,xt.root)),Wi(e(...i))),s);return n._c=!1,n},wa=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ki(i))continue;const o=t[i];if(z(o))e[i]=Xh(i,o,n);else if(o!=null){const r=Wi(o);e[i]=()=>r}}},Aa=(t,e)=>{const s=Wi(e);t.slots.default=()=>s},Pa=(t,e,s)=>{for(const n in e)(s||!Ki(n))&&(t[n]=e[n])},Zh=(t,e,s)=>{const n=t.slots=ba();if(t.vnode.shapeFlag&32){const i=e._;i?(Pa(n,e,s),s&&ur(n,"_",i,!0)):wa(e,n)}else e&&Aa(t,e)},Jh=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=ut;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:Pa(i,e,s):(o=!e.$stable,wa(e,i)),r=e}else e&&(Aa(t,e),r={default:1});if(o)for(const a in i)!Ki(a)&&r[a]==null&&delete i[a]},It=nd;function Qh(t){return td(t)}function td(t,e){const s=mn();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:m=Xt,insertStaticContent:v}=t,y=(d,p,b,P=null,w=null,S=null,D=void 0,M=null,V=!!p.dynamicChildren)=>{if(d===p)return;d&&!Ge(d,p)&&(P=ci(d),pe(d,w,S,!0),d=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:T,ref:U,shapeFlag:L}=p;switch(T){case kn:x(d,p,b,P);break;case wt:A(d,p,b,P);break;case jn:d==null&&C(p,b,P,D);break;case dt:O(d,p,b,P,w,S,D,M,V);break;default:L&1?F(d,p,b,P,w,S,D,M,V):L&6?et(d,p,b,P,w,S,D,M,V):(L&64||L&128)&&T.process(d,p,b,P,w,S,D,M,V,ln)}U!=null&&w?Os(U,d&&d.ref,S,p||d,!p):U==null&&d&&d.ref!=null&&Os(d.ref,null,S,d,!0)},x=(d,p,b,P)=>{if(d==null)n(p.el=a(p.children),b,P);else{const w=p.el=d.el;p.children!==d.children&&u(w,p.children)}},A=(d,p,b,P)=>{d==null?n(p.el=l(p.children||""),b,P):p.el=d.el},C=(d,p,b,P)=>{[d.el,d.anchor]=v(d.children,p,b,P,d.el,d.anchor)},E=({el:d,anchor:p},b,P)=>{let w;for(;d&&d!==p;)w=h(d),n(d,b,P),d=w;n(p,b,P)},_=({el:d,anchor:p})=>{let b;for(;d&&d!==p;)b=h(d),i(d),d=b;i(p)},F=(d,p,b,P,w,S,D,M,V)=>{if(p.type==="svg"?D="svg":p.type==="math"&&(D="mathml"),d==null)W(p,b,P,w,S,D,M,V);else{const T=d.el&&d.el._isVueCE?d.el:null;try{T&&T._beginPatch(),B(d,p,w,S,D,M,V)}finally{T&&T._endPatch()}}},W=(d,p,b,P,w,S,D,M)=>{let V,T;const{props:U,shapeFlag:L,transition:$,dirs:G}=d;if(V=d.el=r(d.type,S,U&&U.is,U),L&8?c(V,d.children):L&16&&j(d.children,V,null,P,w,Gi(d,S),D,M),G&&Ke(d,null,P,"created"),q(V,d,d.scopeId,D,P),U){for(const ct in U)ct!=="value"&&!_s(ct)&&o(V,ct,null,U[ct],S,P);"value"in U&&o(V,"value",null,U.value,S),(T=U.onVnodeBeforeMount)&&le(T,P,d)}G&&Ke(d,null,P,"beforeMount");const tt=ed(w,$);tt&&$.beforeEnter(V),n(V,p,b),((T=U&&U.onVnodeMounted)||tt||G)&&It(()=>{T&&le(T,P,d),tt&&$.enter(V),G&&Ke(d,null,P,"mounted")},w)},q=(d,p,b,P,w)=>{if(b&&m(d,b),P)for(let S=0;S<P.length;S++)m(d,P[S]);if(w){let S=w.subTree;if(p===S||Da(S.type)&&(S.ssContent===p||S.ssFallback===p)){const D=w.vnode;q(d,D,D.scopeId,D.slotScopeIds,w.parent)}}},j=(d,p,b,P,w,S,D,M,V=0)=>{for(let T=V;T<d.length;T++){const U=d[T]=M?we(d[T]):ae(d[T]);y(null,U,p,b,P,w,S,D,M)}},B=(d,p,b,P,w,S,D)=>{const M=p.el=d.el;let{patchFlag:V,dynamicChildren:T,dirs:U}=p;V|=d.patchFlag&16;const L=d.props||ut,$=p.props||ut;let G;if(b&&We(b,!1),(G=$.onVnodeBeforeUpdate)&&le(G,b,p,d),U&&Ke(p,d,b,"beforeUpdate"),b&&We(b,!0),T&&(!d.dynamicChildren||d.dynamicChildren.length!==T.length)&&(V=0,D=!1,T=null),(L.innerHTML&&$.innerHTML==null||L.textContent&&$.textContent==null)&&c(M,""),T?R(d.dynamicChildren,T,M,b,P,Gi(p,w),S):D||Z(d,p,M,null,b,P,Gi(p,w),S,!1),V>0){if(V&16)K(M,L,$,b,w);else if(V&2&&L.class!==$.class&&o(M,"class",null,$.class,w),V&4&&o(M,"style",L.style,$.style,w),V&8){const tt=p.dynamicProps;for(let ct=0;ct<tt.length;ct++){const at=tt[ct],gt=L[at],Pt=$[at];(Pt!==gt||at==="value")&&o(M,at,gt,Pt,w,b)}}V&1&&d.children!==p.children&&c(M,p.children)}else!D&&T==null&&K(M,L,$,b,w);((G=$.onVnodeUpdated)||U)&&It(()=>{G&&le(G,b,p,d),U&&Ke(p,d,b,"updated")},P)},R=(d,p,b,P,w,S,D)=>{for(let M=0;M<p.length;M++){const V=d[M],T=p[M],U=V.el&&(V.type===dt||!Ge(V,T)||V.shapeFlag&198)?f(V.el):b;y(V,T,U,null,P,w,S,D,!0)}},K=(d,p,b,P,w)=>{if(p!==b){if(p!==ut)for(const S in p)!_s(S)&&!(S in b)&&o(d,S,p[S],null,w,P);for(const S in b){if(_s(S))continue;const D=b[S],M=p[S];D!==M&&S!=="value"&&o(d,S,M,D,w,P)}"value"in b&&o(d,"value",p.value,b.value,w)}},O=(d,p,b,P,w,S,D,M,V)=>{const T=p.el=d?d.el:a(""),U=p.anchor=d?d.anchor:a("");let{patchFlag:L,dynamicChildren:$,slotScopeIds:G}=p;G&&(M=M?M.concat(G):G),d==null?(n(T,b,P),n(U,b,P),j(p.children||[],b,U,w,S,D,M,V)):L>0&&L&64&&$&&d.dynamicChildren&&d.dynamicChildren.length===$.length?(R(d.dynamicChildren,$,b,w,S,D,M),(p.key!=null||w&&p===w.subTree)&&Ca(d,p,!0)):Z(d,p,b,U,w,S,D,M,V)},et=(d,p,b,P,w,S,D,M,V)=>{p.slotScopeIds=M,d==null?p.shapeFlag&512?w.ctx.activate(p,b,P,D,V):rt(p,b,P,w,S,D,V):bt(d,p,V)},rt=(d,p,b,P,w,S,D)=>{const M=d.component=cd(d,P,w);if(Rn(d)&&(M.ctx.renderer=ln),ud(M,!1,D),M.asyncDep){if(w&&w.registerDep(M,Y,D),!d.el){const V=M.subTree=it(wt);A(null,V,p,b),d.placeholder=V.el}}else Y(M,d,p,b,w,S,D)},bt=(d,p,b)=>{const P=p.component=d.component;if(Wh(d,p,b))if(P.asyncDep&&!P.asyncResolved){X(P,p,b);return}else P.next=p,P.update();else p.el=d.el,P.vnode=p},Y=(d,p,b,P,w,S,D)=>{const M=()=>{if(d.isMounted){let{next:L,bu:$,u:G,parent:tt,vnode:ct}=d;{const ge=Ea(d);if(ge){L&&(L.el=ct.el,X(d,L,D)),ge.asyncDep.then(()=>{It(()=>{d.isUnmounted||T()},w)});return}}let at=L,gt;We(d,!1),L?(L.el=ct.el,X(d,L,D)):L=ct,$&&di($),(gt=L.props&&L.props.onVnodeBeforeUpdate)&&le(gt,tt,L,ct),We(d,!0);const Pt=ma(d),me=d.subTree;d.subTree=Pt,y(me,Pt,f(me.el),ci(me),d,w,S),L.el=Pt.el,at===null&&Gh(d,Pt.el),G&&It(G,w),(gt=L.props&&L.props.onVnodeUpdated)&&It(()=>le(gt,tt,L,ct),w)}else{let L;const{el:$,props:G}=p,{bm:tt,m:ct,parent:at,root:gt,type:Pt}=d,me=cs(p);We(d,!1),tt&&di(tt),!me&&(L=G&&G.onVnodeBeforeMount)&&le(L,at,p),We(d,!0);{gt.ce&&gt.ce._hasShadowRoot()&&gt.ce._injectChildStyle(Pt,d.parent?d.parent.type:void 0);const ge=d.subTree=ma(d);y(null,ge,b,P,d,w,S),p.el=ge.el}if(ct&&It(ct,w),!me&&(L=G&&G.onVnodeMounted)){const ge=p;It(()=>le(L,at,ge),w)}(p.shapeFlag&256||at&&cs(at.vnode)&&at.vnode.shapeFlag&256)&&d.a&&It(d.a,w),d.isMounted=!0,p=b=P=null}};d.scope.on();const V=d.effect=new gr(M);d.scope.off();const T=d.update=V.run.bind(V),U=d.job=V.runIfDirty.bind(V);U.i=d,U.id=d.uid,V.scheduler=()=>Di(U),We(d,!0),T()},X=(d,p,b)=>{p.component=d;const P=d.vnode.props;d.vnode=p,d.next=null,qh(d,p.props,P,b),Jh(d,p.children,b),ne(),$r(d),ie()},Z=(d,p,b,P,w,S,D,M,V=!1)=>{const T=d&&d.children,U=d?d.shapeFlag:0,L=p.children,{patchFlag:$,shapeFlag:G}=p;if($>0){if($&128){bs(T,L,b,P,w,S,D,M,V);return}else if($&256){kt(T,L,b,P,w,S,D,M,V);return}}G&8?(U&16&&an(T,w,S),L!==T&&c(b,L)):U&16?G&16?bs(T,L,b,P,w,S,D,M,V):an(T,w,S,!0):(U&8&&c(b,""),G&16&&j(L,b,P,w,S,D,M,V))},kt=(d,p,b,P,w,S,D,M,V)=>{d=d||ss,p=p||ss;const T=d.length,U=p.length,L=Math.min(T,U);let $;for($=0;$<L;$++){const G=p[$]=V?we(p[$]):ae(p[$]);y(d[$],G,b,null,w,S,D,M,V)}T>U?an(d,w,S,!0,!1,L):j(p,b,P,w,S,D,M,V,L)},bs=(d,p,b,P,w,S,D,M,V)=>{let T=0;const U=p.length;let L=d.length-1,$=U-1;for(;T<=L&&T<=$;){const G=d[T],tt=p[T]=V?we(p[T]):ae(p[T]);if(Ge(G,tt))y(G,tt,b,null,w,S,D,M,V);else break;T++}for(;T<=L&&T<=$;){const G=d[L],tt=p[$]=V?we(p[$]):ae(p[$]);if(Ge(G,tt))y(G,tt,b,null,w,S,D,M,V);else break;L--,$--}if(T>L){if(T<=$){const G=$+1,tt=G<U?p[G].el:P;for(;T<=$;)y(null,p[T]=V?we(p[T]):ae(p[T]),b,tt,w,S,D,M,V),T++}}else if(T>$)for(;T<=L;)pe(d[T],w,S,!0),T++;else{const G=T,tt=T,ct=new Map;for(T=tt;T<=$;T++){const Nt=p[T]=V?we(p[T]):ae(p[T]);Nt.key!=null&&ct.set(Nt.key,T)}let at,gt=0;const Pt=$-tt+1;let me=!1,ge=0;const cn=new Array(Pt);for(T=0;T<Pt;T++)cn[T]=0;for(T=G;T<=L;T++){const Nt=d[T];if(gt>=Pt){pe(Nt,w,S,!0);continue}let ye;if(Nt.key!=null)ye=ct.get(Nt.key);else for(at=tt;at<=$;at++)if(cn[at-tt]===0&&Ge(Nt,p[at])){ye=at;break}ye===void 0?pe(Nt,w,S,!0):(cn[ye-tt]=T+1,ye>=ge?ge=ye:me=!0,y(Nt,p[ye],b,null,w,S,D,M,V),gt++)}const df=me?sd(cn):ss;for(at=df.length-1,T=Pt-1;T>=0;T--){const Nt=tt+T,ye=p[Nt],pf=p[Nt+1],mf=Nt+1<U?pf.el||Ma(pf):P;cn[T]===0?y(null,ye,b,mf,w,S,D,M,V):me&&(at<0||T!==df[at]?es(ye,b,mf,2):at--)}}},es=(d,p,b,P,w=null)=>{const{el:S,type:D,transition:M,children:V,shapeFlag:T}=d;if(T&6){es(d.component.subTree,p,b,P);return}if(T&128){d.suspense.move(p,b,P);return}if(T&64){D.move(d,p,b,ln);return}if(D===dt){n(S,p,b);for(let L=0;L<V.length;L++)es(V[L],p,b,P);n(d.anchor,p,b);return}if(D===jn){E(d,p,b);return}if(P!==2&&T&1&&M)if(P===0)M.persisted&&!S[Kt]?n(S,p,b):(M.beforeEnter(S),n(S,p,b),It(()=>M.enter(S),w));else{const{leave:L,delayLeave:$,afterLeave:G}=M,tt=()=>{d.ctx.isUnmounted?i(S):n(S,p,b)},ct=()=>{const at=S._isLeaving||!!S[Kt];S._isLeaving&&S[Kt](!0),M.persisted&&!at?tt():L(S,()=>{tt(),G&&G()})};$?$(S,tt,ct):ct()}else n(S,p,b)},pe=(d,p,b,P=!1,w=!1)=>{const{type:S,props:D,ref:M,children:V,dynamicChildren:T,shapeFlag:U,patchFlag:L,dirs:$,cacheIndex:G,memo:tt}=d;if(L===-2&&(w=!1),M!=null&&(ne(),Os(M,null,b,d,!0),ie()),G!=null&&(p.renderCache[G]=void 0),U&256){p.ctx.deactivate(d);return}const ct=U&1&&$,at=!cs(d);let gt;if(at&&(gt=D&&D.onVnodeBeforeUnmount)&&le(gt,p,d),U&6)Ub(d.component,b,P);else{if(U&128){d.suspense.unmount(b,P);return}ct&&Ke(d,null,p,"beforeUnmount"),U&64?d.type.remove(d,p,b,ln,P):T&&!T.hasOnce&&(S!==dt||L>0&&L&64)?an(T,p,b,!1,!0):(S===dt&&L&384||!w&&U&16)&&an(V,p,b),P&&ff(d)}const Pt=tt!=null&&G==null;(at&&(gt=D&&D.onVnodeUnmounted)||ct||Pt)&&It(()=>{gt&&le(gt,p,d),ct&&Ke(d,null,p,"unmounted"),Pt&&(d.el=null)},b)},ff=d=>{const{type:p,el:b,anchor:P,transition:w}=d;if(p===dt){Nb(b,P);return}if(p===jn){_(d);return}const S=()=>{i(b),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:D,delayLeave:M}=w,V=()=>D(b,S);M?M(d.el,S,V):V()}else S()},Nb=(d,p)=>{let b;for(;d!==p;)b=h(d),i(d),d=b;i(p)},Ub=(d,p,b)=>{const{bum:P,scope:w,job:S,subTree:D,um:M,m:V,a:T}=d;Va(V),Va(T),P&&di(P),w.stop(),S&&(S.flags|=8,pe(D,d,p,b)),M&&It(M,p),It(()=>{d.isUnmounted=!0},p)},an=(d,p,b,P=!1,w=!1,S=0)=>{for(let D=S;D<d.length;D++)pe(d[D],p,b,P,w)},ci=d=>{if(d.shapeFlag&6)return ci(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),b=p&&p[mh];return b?h(b):p};let ir=!1;const hf=(d,p,b)=>{let P;d==null?p._vnode&&(pe(p._vnode,null,null,!0),P=p._vnode.component):y(p._vnode||null,d,p,null,null,null,b),p._vnode=d,ir||(ir=!0,$r(P),Nr(),ir=!1)},ln={p:y,um:pe,m:es,r:ff,mt:rt,mc:j,pc:Z,pbc:R,n:ci,o:t};return{render:hf,hydrate:void 0,createApp:Bh(hf)}}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 We({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ed(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ca(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]=we(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&Ca(r,a)),a.type===kn&&(a.patchFlag===-1&&(a=i[o]=we(a)),a.el=r.el),a.type===wt&&!a.el&&(a.el=r.el)}}function sd(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 Ea(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ea(e)}function Va(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ma(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ma(e.subTree):null}const Da=t=>t.__isSuspense;function nd(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):uh(t)}const dt=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Se=[];let jt=null;function k(t=!1){Se.push(jt=t?null:[])}function zi(){Se.pop(),jt=Se[Se.length-1]||null}let Fs=1;function Bn(t,e=!1){Fs+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Oa(t){return t.dynamicChildren=Fs>0?jt||ss:null,zi(),Fs>0&&jt&&jt.push(t),t}function N(t,e,s,n,i,o){return Oa(g(t,e,s,n,i,o,!0))}function Bt(t,e,s,n,i){return Oa(it(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function Ge(t,e){return t.type===e.type&&t.key===e.key}const Ra=({key:t})=>t??null,$n=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||Tt(t)||z(t)?{i:Et,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&&Ra(e),ref:e&&$n(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:Et};return a?(Nn(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ht(s)?8:16),Fs>0&&!r&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const it=id;function id(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===ia)&&(t=wt),Is(t)){const a=Te(t,e,!0);return s&&Nn(a,s),Fs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(md(t)&&(t=t.__vccOpts),e){e=od(e);let{class:a,style:l}=e;a&&!ht(a)&&(e.class=Dt(a)),nt(l)&&(Vi(l)&&!H(l)&&(l=yt({},l)),e.style=pi(l))}const r=ht(t)?1:Da(t)?128:Mn(t)?64:nt(t)?4:z(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function od(t){return t?Vi(t)||xa(t)?yt({},t):t:null}function Te(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?La(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ra(u),ref:e&&e.ref?s&&o?H(o)?o.concat($n(e)):[o,$n(e)]:$n(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&&Te(t.ssContent),ssFallback:t.ssFallback&&Te(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ds(c,l.clone(c)),c}function ks(t=" ",e=0){return it(kn,null,t,e)}function rd(t,e){const s=it(jn,null,t);return s.staticCount=e,s}function $t(t="",e=!1){return e?(k(),Bt(wt,null,t)):it(wt,null,t)}function ae(t){return t==null||typeof t=="boolean"?it(wt):H(t)?it(dt,null,t.slice()):Is(t)?we(t):it(kn,null,String(t))}function we(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Te(t)}function Nn(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),Nn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!xa(e)?e._ctx=Et:i===3&&Et&&(Et.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(z(e)){if(n&65){Nn(t,{default:e});return}e={default:e,_ctx:Et},s=32}else e=String(e),n&64?(s=16,e=[ks(e)]):s=8;t.children=e,t.shapeFlag|=s}function La(...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=Dt([e.class,n.class]));else if(i==="style")e.style=pi([e.style,n.style]);else if(un(i)){const o=e[i],r=n[i];r&&o!==r&&!(H(o)&&o.includes(r))?e[i]=o?[].concat(o,r):r:r==null&&o==null&&!fn(i)&&(e[i]=r)}else i!==""&&(e[i]=n[i])}return e}function le(t,e,s,n=null){Ht(t,e,7,[s,n])}const ad=da();let ld=0;function cd(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ad,o={uid:ld++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Vf(!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:Sa(n,i),emitsOptions:pa(n,i),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:n.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,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=Nh.bind(null,o),t.ce&&t.ce(o),o}let xt=null;const Un=()=>xt||Et;let Hn,js;{const t=mn(),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)}};Hn=e("__VUE_INSTANCE_SETTERS__",s=>xt=s),js=e("__VUE_SSR_SETTERS__",s=>$s=s)}const Bs=t=>{const e=xt;return Hn(t),t.scope.on(),()=>{t.scope.off(),Hn(e)}},Fa=()=>{xt&&xt.scope.off(),Hn(null)};function Ia(t){return t.vnode.shapeFlag&4}let $s=!1;function ud(t,e=!1,s=!1){e&&js(e);const{props:n,children:i}=t.vnode,o=Ia(t);zh(t,n,o,e),Zh(t,i,s||e);const r=o?fd(t,e):void 0;return e&&js(!1),r}function fd(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mh);const{setup:n}=s;if(n){ne();const i=t.setupContext=n.length>1?Ba(t):null,o=Bs(t),r=rs(n,t,0,[t.props,i]),a=ar(r);if(ie(),o(),(a||t.sp)&&!cs(t)&&Xr(t),a){if(r.then(Fa,Fa),e)return r.then(l=>{js(!0);try{ka(t,l,e)}finally{js(!1)}}).catch(l=>{An(l,t,0)});t.asyncDep=r}else ka(t,r)}else ja(t)}function ka(t,e,s){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:nt(e)&&(t.setupState=Fr(e)),ja(t)}function ja(t,e,s){const n=t.type;t.render||(t.render=n.render||Xt);{const i=Bs(t);ne();try{Rh(t)}finally{ie(),i()}}}const hd={get(t,e){return Ct(t,"get",""),t[e]}};function Ba(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,hd),slots:t.slots,emit:t.emit,expose:e}}function qi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Fr(Yf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Rs)return Rs[s](t)},has(e,s){return s in e||s in Rs}})):t.proxy}const dd=/(?:^|[-_])\w/g,pd=t=>t.replace(dd,e=>e.toUpperCase()).replace(/[-_]/g,"");function $a(t,e=!0){return z(t)?t.displayName||t.name:t.name||e&&t.__name}function Na(t,e,s=!1){let n=$a(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?pd(n):s?"App":"Anonymous"}function md(t){return z(t)&&"__vccOpts"in t}const _t=(t,e)=>th(t,e,$s);function Yi(t,e,s){try{Bn(-1);const n=arguments.length;return n===2?nt(e)&&!H(e)?Is(e)?it(t,null,[e]):it(t,e):it(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),it(t,e,s))}finally{Bn(1)}}const gd="3.5.42";let Xi;const Ua=typeof window<"u"&&window.trustedTypes;if(Ua)try{Xi=Ua.createPolicy("vue",{createHTML:t=>t})}catch{}const Ha=Xi?t=>Xi.createHTML(t):t=>t,yd="http://www.w3.org/2000/svg",vd="http://www.w3.org/1998/Math/MathML",Ae=typeof document<"u"?document:null,Ka=Ae&&Ae.createElement("template"),bd={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"?Ae.createElementNS(yd,t):e==="mathml"?Ae.createElementNS(vd,t):s?Ae.createElement(t,{is:s}):Ae.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Ae.createTextNode(t),createComment:t=>Ae.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ae.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=Ha(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]}},Le="transition",Ns="animation",Us=Symbol("_vtc"),Wa={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},xd=yt({},Wr,Wa),_d=(t=>(t.displayName="Transition",t.props=xd,t))((t,{slots:e})=>Yi(vh,Sd(t),e)),ze=(t,e=[])=>{H(t)?t.forEach(s=>s(...e)):t&&t(...e)},Ga=t=>t?H(t)?t.some(e=>e.length>1):t.length>1:!1;function Sd(t){const e={};for(const O in t)O in Wa||(e[O]=t[O]);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:m=`${s}-leave-to`}=t,v=Td(i),y=v&&v[0],x=v&&v[1],{onBeforeEnter:A,onEnter:C,onEnterCancelled:E,onLeave:_,onLeaveCancelled:F,onBeforeAppear:W=A,onAppear:q=C,onAppearCancelled:j=E}=e,B=(O,et,rt,bt)=>{O._enterCancelled=bt,qe(O,et?c:a),qe(O,et?u:r),rt&&rt()},R=(O,et)=>{O._isLeaving=!1,qe(O,f),qe(O,m),qe(O,h),et&&et()},K=O=>(et,rt)=>{const bt=O?q:C,Y=()=>B(et,O,rt);ze(bt,[et,Y]),za(()=>{qe(et,O?l:o),Pe(et,O?c:a),Ga(bt)||qa(et,n,y,Y)})};return yt(e,{onBeforeEnter(O){ze(A,[O]),Pe(O,o),Pe(O,r)},onBeforeAppear(O){ze(W,[O]),Pe(O,l),Pe(O,u)},onEnter:K(!1),onAppear:K(!0),onLeave(O,et){O._isLeaving=!0;const rt=()=>R(O,et);Pe(O,f),O._enterCancelled?(Pe(O,h),Za(O)):(Za(O),Pe(O,h)),za(()=>{O._isLeaving&&(qe(O,f),Pe(O,m),Ga(_)||qa(O,n,x,rt))}),ze(_,[O,rt])},onEnterCancelled(O){B(O,!1,void 0,!0),ze(E,[O])},onAppearCancelled(O){B(O,!0,void 0,!0),ze(j,[O])},onLeaveCancelled(O){R(O),ze(F,[O])}})}function Td(t){if(t==null)return null;if(nt(t))return[Zi(t.enter),Zi(t.leave)];{const e=Zi(t);return[e,e]}}function Zi(t){return _f(t)}function Pe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Us]||(t[Us]=new Set)).add(e)}function qe(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Us];s&&(s.delete(e),s.size||(t[Us]=void 0))}function za(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let wd=0;function qa(t,e,s,n){const i=t._endId=++wd,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ad(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Ad(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${Le}Delay`),o=n(`${Le}Duration`),r=Ya(i,o),a=n(`${Ns}Delay`),l=n(`${Ns}Duration`),u=Ya(a,l);let c=null,f=0,h=0;e===Le?r>0&&(c=Le,f=r,h=o.length):e===Ns?u>0&&(c=Ns,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Le:Ns:null,h=c?c===Le?o.length:l.length:0);const m=c===Le&&/\b(?:transform|all)(?:,|$)/.test(n(`${Le}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:m}}function Ya(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Xa(s)+Xa(t[n])))}function Xa(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Za(t){return(t?t.ownerDocument:document).body.offsetHeight}function Pd(t,e,s){const n=t[Us];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ja=Symbol("_vod"),Cd=Symbol("_vsh"),Ed=Symbol(""),Vd=/(?:^|;)\s*display\s*:/;function Md(t,e,s){const n=t.style,i=ht(s);let o=!1;if(s&&!i){if(e)if(ht(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hs(n,a,"")}else for(const r in e)s[r]==null&&Hs(n,r,"");for(const r in s){r==="display"&&(o=!0);const a=s[r];a!=null?Od(t,r,!ht(e)&&e?e[r]:void 0,a)||Hs(n,r,a):Hs(n,r,"")}}else if(i){if(e!==s){const r=n[Ed];r&&(s+=";"+r),n.cssText=s,o=Vd.test(s)}}else e&&t.removeAttribute("style");Ja in t&&(t[Ja]=o?n.display:"",t[Cd]&&(n.display="none"))}const Kn=/\s*!important$/;function Hs(t,e,s){if(H(s))s.forEach(n=>Hs(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))Kn.test(s)?t.setProperty(e,s.replace(Kn,""),"important"):t.setProperty(e,s);else{const n=Dd(t,e);Kn.test(s)?t.setProperty($e(n),s.replace(Kn,""),"important"):t[n]=s}}const Qa=["Webkit","Moz","ms"],Ji={};function Dd(t,e){const s=Ji[e];if(s)return s;let n=Mt(e);if(n!=="filter"&&n in t)return Ji[e]=n;n=pn(n);for(let i=0;i<Qa.length;i++){const o=Qa[i]+n;if(o in t)return Ji[e]=o}return e}function Od(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&ht(n)&&s===n}const tl="http://www.w3.org/1999/xlink";function el(t,e,s,n,i,o=Pf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(tl,e.slice(6,e.length)):t.setAttributeNS(tl,e,s):s==null||o&&!hr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":Zt(s)?String(s):s)}function sl(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ha(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=hr(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 Rd(t,e,s,n){t.addEventListener(e,s,n)}function Ld(t,e,s,n){t.removeEventListener(e,s,n)}const nl=Symbol("_vei");function Fd(t,e,s,n,i=null){const o=t[nl]||(t[nl]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=jd(e);if(n){const u=o[e]=Nd(n,i);Rd(t,a,u,l)}else r&&(Ld(t,a,r,l),o[e]=void 0)}}const Id=/(Once|Passive|Capture)$/,kd=/^on:?(?:Once|Passive|Capture)$/;function jd(t){let e,s;for(;(s=t.match(Id))&&!kd.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):$e(t.slice(2)),e]}let Qi=0;const Bd=Promise.resolve(),$d=()=>Qi||(Bd.then(()=>Qi=0),Qi=Date.now());function Nd(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(H(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const r=i.slice(),a=[n];for(let l=0;l<r.length&&!n._stopped;l++){const u=r[l];u&&Ht(u,e,5,a)}}else Ht(i,e,5,[n])};return s.value=t,s.attached=$d(),s}const il=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Ud=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Pd(t,n,r):e==="style"?Md(t,s,n):un(e)?fn(e)||Fd(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hd(t,e,n,r))?(sl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&el(t,e,n,r,o,e!=="value")):t._isVueCE&&(Kd(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ht(n)))?sl(t,Mt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),el(t,e,n,r))};function Hd(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&il(e)&&z(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 il(e)&&ht(s)?!1:e in t}function Kd(t,e){const s=t._def.props;if(!s)return!1;const n=Mt(e);return Array.isArray(s)?s.some(i=>Mt(i)===n):Object.keys(s).some(i=>Mt(i)===n)}const Wd=yt({patchProp:Ud},bd);let ol;function Gd(){return ol||(ol=Qh(Wd))}const rl=((...t)=>{const e=Gd().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=qd(n);if(!i)return;const o=e._component;!z(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,zd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function zd(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function qd(t){return ht(t)?document.querySelector(t):t}const Yd={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Xd={class:"slds-grid slds-grid_align-spread slds-wrap"},Zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jd={key:0,class:"slds-text-color_weak"},Qd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={class:"slds-text-color_weak"},ep={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},sp={class:"slds-text-color_weak"},np={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(k(),N("footer",Yd,[g("div",Xd,[g("div",Zd,[t.description?(k(),N("span",Jd,J(t.description),1)):$t("",!0)]),g("div",Qd,[g("span",tp,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",ep,[g("span",sp," Generated at: "+J(e(t.generatedAt)),1)])])]))}},al="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",ip={class:"slds-page-header"},op={class:"slds-page-header__row"},rp={class:"slds-page-header__col-title"},ap={class:"slds-media"},lp={class:"slds-media__body"},cp={class:"slds-page-header__name"},up={class:"slds-page-header__name-title"},fp=["title"],hp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(k(),N("header",ip,[g("div",op,[g("div",rp,[g("div",ap,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:al,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",lp,[g("div",cp,[g("div",up,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,fp)])])])])])])]))}};function Ks(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Vs(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Oi(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 to(t,e){t.indexOf(e)===-1&&t.push(e)}function Wn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const ce=(t,e,s)=>s>e?e:s<t?t:s;let Gn=()=>{};const Fe={},ll=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),cl=t=>typeof t=="object"&&t!==null,ul=t=>/^0[^.\s]+$/u.test(t);function fl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Gt=t=>t,Ws=(...t)=>t.reduce((e,s)=>n=>s(e(n))),Gs=(t,e,s)=>{const n=e-t;return n?(s-t)/n:1};class eo{constructor(){this.subscriptions=[]}add(e){return to(this.subscriptions,e),()=>Wn(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 zt=t=>t*1e3,qt=t=>t/1e3,hl=(t,e)=>e?t*(1e3/e):0,dl=(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=dl(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>pp&&++a<mp);return r}function zs(t,e,s,n){if(t===e&&s===n)return Gt;const i=o=>gp(o,0,1,t,s);return o=>o===0||o===1?o:dl(i(o),e,n)}const pl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ml=t=>e=>1-t(1-e),gl=zs(.33,1.53,.69,.99),so=ml(gl),yl=pl(so),vl=t=>t>=1?1:(t*=2)<1?.5*so(t):.5*(2-Math.pow(2,-10*(t-1))),no=t=>1-Math.sin(Math.acos(t)),bl=ml(no),xl=pl(no),yp=zs(.42,0,1,1),vp=zs(0,0,.58,1),_l=zs(.42,0,.58,1),bp=t=>Array.isArray(t)&&typeof t[0]!="number",Sl=t=>Array.isArray(t)&&typeof t[0]=="number",xp={linear:Gt,easeIn:yp,easeInOut:_l,easeOut:vp,circIn:no,circInOut:xl,circOut:bl,backIn:so,backInOut:yl,backOut:gl,anticipate:vl},_p=t=>typeof t=="string",Tl=t=>{if(Sl(t)){Gn(t.length===4);const[e,s,n,i]=t;return zs(e,s,n,i)}else if(_p(t))return xp[t];return t},zn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Sp(t){let e=new Set,s=new Set,n=!1,i=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(u){o.has(u)&&(l.schedule(u),t()),u(r)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&n?e:s;return c&&o.add(u),m.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(r=u,n){i=!0;return}n=!0;const c=e;e=s,s=c,e.forEach(a),e.clear(),n=!1,i&&(i=!1,l.process(u))}};return l}const Tp=40;function wl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=zn.reduce((E,_)=>(E[_]=Sp(o),E),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:m,postRender:v}=r,y=()=>{const E=Fe.useManualTiming,_=E?i.timestamp:performance.now();s=!1,E||(i.delta=n?1e3/60:Math.max(Math.min(_-i.timestamp,Tp),1)),i.timestamp=_,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(y))},x=()=>{s=!0,n=!0,i.isProcessing||t(y)};return{schedule:zn.reduce((E,_)=>{const F=r[_];return E[_]=(W,q=!1,j=!1)=>(s||x(),F.schedule(W,q,j)),E},{}),cancel:E=>{for(let _=0;_<zn.length;_++)r[zn[_]].cancel(E)},state:i,steps:r}}const{schedule:ot,cancel:Ie,state:At,steps:io}=wl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Gt,!0);let qn;function wp(){qn=void 0}const Lt={now:()=>(qn===void 0&&Lt.set(At.isProcessing||Fe.useManualTiming?At.timestamp:performance.now()),qn),set:t=>{qn=t,queueMicrotask(wp)}},Al=t=>e=>typeof e=="string"&&e.startsWith(t),oo=Al("--"),Ap=Al("var(--"),ro=t=>Ap(t)?Pp.test(t.split("/*")[0].trim()):!1,Pp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const fs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qs={...fs,transform:t=>ce(0,1,t)},Yn={...fs,default:1},Ys=t=>Math.round(t*1e5)/1e5,ao=/-?(?:\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,lo=(t,e)=>s=>!!(typeof s=="string"&&Ep.test(s)&&s.startsWith(t)||e&&!Cp(s)&&Object.prototype.hasOwnProperty.call(s,e)),Cl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ao);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Vp=t=>ce(0,255,t),co={...fs,transform:t=>Math.round(Vp(t))},Ye={test:lo("rgb","red"),parse:Cl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+co.transform(t)+", "+co.transform(e)+", "+co.transform(s)+", "+Ys(qs.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 uo={test:lo("#"),parse:Mp,transform:Ye.transform},Xs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ce=Xs("deg"),ue=Xs("%"),I=Xs("px"),Dp=Xs("vh"),Op=Xs("vw"),El={...ue,parse:t=>ue.parse(t)/100,transform:t=>ue.transform(t*100)},hs={test:lo("hsl","hue"),parse:Cl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ue.transform(Ys(e))+", "+ue.transform(Ys(s))+", "+Ys(qs.transform(n))+")"},mt={test:t=>Ye.test(t)||uo.test(t)||hs.test(t),parse:t=>Ye.test(t)?Ye.parse(t):hs.test(t)?hs.parse(t):uo.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ye.transform(t):hs.transform(t),getAnimatableNone:t=>{const e=mt.parse(t);return e.alpha=0,mt.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(ao)?.length||0)+(t.match(Rp)?.length||0)>0}const Vl="number",Ml="color",Fp="var",Ip="var(",Dl="${}",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 ds(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(mt.test(l)?(n.color.push(o),i.push(Ml),s.push(mt.parse(l))):l.startsWith(Ip)?(n.var.push(o),i.push(Fp),s.push(l)):(n.number.push(o),i.push(Vl),s.push(parseFloat(l))),++o,Dl)).split(Dl);return{values:s,split:a,indexes:n,types:i}}function jp(t){return ds(t).values}function Ol({split:t,types:e}){const s=t.length;return n=>{let i="";for(let o=0;o<s;o++)if(i+=t[o],n[o]!==void 0){const r=e[o];r===Vl?i+=Ys(n[o]):r===Ml?i+=mt.transform(n[o]):i+=n[o]}return i}}function Bp(t){return Ol(ds(t))}const $p=t=>typeof t=="number"?0:mt.test(t)?mt.getAnimatableNone(t):t,Np=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:$p(t);function Up(t){const e=ds(t);return Ol(e)(e.values.map((n,i)=>Np(n,e.split[i])))}const te={test:Lp,parse:jp,createTransformer:Bp,getAnimatableNone:Up};function fo(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 Hp({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=fo(l,a,t+1/3),o=fo(l,a,t),r=fo(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Xn(t,e){return s=>s>0?e:t}const lt=(t,e,s)=>t+(e-t)*s,ho=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Kp=[uo,Ye,hs],Wp=t=>Kp.find(e=>e.test(t));function Rl(t){const e=Wp(t);if(!e)return!1;let s=e.parse(t);return e===hs&&(s=Hp(s)),s}const Ll=(t,e)=>{const s=Rl(t),n=Rl(e);if(!s||!n)return Xn(t,e);const i={...s};return o=>(i.red=ho(s.red,n.red,o),i.green=ho(s.green,n.green,o),i.blue=ho(s.blue,n.blue,o),i.alpha=lt(s.alpha,n.alpha,o),Ye.transform(i))},po=new Set(["none","hidden"]);function Gp(t,e){return po.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function zp(t,e){return s=>lt(t,e,s)}function mo(t){return typeof t=="number"?zp:typeof t=="string"?ro(t)?Xn:mt.test(t)?Ll:Xp:Array.isArray(t)?Fl:typeof t=="object"?mt.test(t)?Ll:qp:Xn}function Fl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>mo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function qp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=mo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Yp(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 Xp=(t,e)=>{const s=te.createTransformer(e),n=ds(t),i=ds(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?po.has(t)&&!i.values.length||po.has(e)&&!n.values.length?Gp(t,e):Ws(Fl(Yp(n,i),i.values),s):Xn(t,e)};function Il(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?lt(t,e,s):mo(t)(t,e)}const Zp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>ot.update(e,s),stop:()=>Ie(e),now:()=>At.isProcessing?At.timestamp:Lt.now()}},kl=(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)})`},Zn=2e4;function go(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 Jp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(go(n),Zn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:qt(i)}}const pt={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};function yo(t,e){return t*Math.sqrt(1-e*e)}const Qp=12;function tm(t,e,s){let n=s;for(let i=1;i<Qp;i++)n=n-t(n)/e(n);return n}const vo=.001;function em({duration:t=pt.duration,bounce:e=pt.bounce,velocity:s=pt.velocity,mass:n=pt.mass}){let i,o,r=1-e;r=ce(pt.minDamping,pt.maxDamping,r),t=ce(pt.minDuration,pt.maxDuration,qt(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,m=yo(u,r),v=Math.exp(-f);return vo-h/m*v},o=u=>{const f=u*r*t,h=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),y=yo(Math.pow(u,2),r);return(-i(u)+vo>0?-1:1)*((h-m)*v)/y}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-vo+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=tm(i,o,a);if(t=zt(t),isNaN(l))return{stiffness:pt.stiffness,damping:pt.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const sm=["duration","bounce"],nm=["stiffness","damping","mass"];function jl(t,e){return e.some(s=>t[s]!==void 0)}function im(t){let e={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...t};if(!jl(t,nm)&&jl(t,sm))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*ce(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:pt.mass,stiffness:i,damping:o}}else{const s=em({...t,velocity:0});e={...e,...s,mass:pt.mass},e.isResolvedFromDuration=!0}return e}function Jn(t=pt.visualDuration,e=pt.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:m}=im({...s,velocity:-qt(s.velocity||0)}),v=h||0,y=u/(2*Math.sqrt(l*c)),x=r-o,A=qt(Math.sqrt(l/c)),C=Math.abs(x)<5;n||(n=C?pt.restSpeed.granular:pt.restSpeed.default),i||(i=C?pt.restDelta.granular:pt.restDelta.default);let E,_,F,W,q,j;if(y<1)F=yo(A,y),W=(v+y*A*x)/F,E=R=>{const K=Math.exp(-y*A*R);return r-K*(W*Math.sin(F*R)+x*Math.cos(F*R))},q=y*A*W+x*F,j=y*A*x-W*F,_=R=>Math.exp(-y*A*R)*(q*Math.sin(F*R)+j*Math.cos(F*R));else if(y===1){E=K=>r-Math.exp(-A*K)*(x+(v+A*x)*K);const R=v+A*x;_=K=>Math.exp(-A*K)*(A*R*K-v)}else{const R=A*Math.sqrt(y*y-1);E=rt=>{const bt=Math.exp(-y*A*rt),Y=Math.min(R*rt,300);return r-bt*((v+y*A*x)*Math.sinh(Y)+R*x*Math.cosh(Y))/R};const K=(v+y*A*x)/R,O=y*A*K-x*R,et=y*A*x-K*R;_=rt=>{const bt=Math.exp(-y*A*rt),Y=Math.min(R*rt,300);return bt*(O*Math.sinh(Y)+et*Math.cosh(Y))}}const B={calculatedDuration:m&&f||null,velocity:R=>zt(_(R)),next:R=>{if(!m&&y<1){const O=Math.exp(-y*A*R),et=Math.sin(F*R),rt=Math.cos(F*R),bt=r-O*(W*et+x*rt),Y=zt(O*(q*et+j*rt));return a.done=Math.abs(Y)<=n&&Math.abs(r-bt)<=i,a.value=a.done?r:bt,a}const K=E(R);if(m)a.done=R>=f;else{const O=zt(_(R));a.done=Math.abs(O)<=n&&Math.abs(r-K)<=i}return a.value=a.done?r:K,a},toString:()=>{const R=Math.min(go(B),Zn),K=kl(O=>B.next(R*O).value,R,30);return R+"ms "+K},toTransition:()=>{}};return B}Jn.applyToOptions=t=>{const e=Jp(t,100,Jn);return t.ease=e.ease,t.duration=zt(e.duration),t.type="keyframes",t};const om=5;function Bl(t,e,s){const n=Math.max(e-om,0);return hl(s-t(n),e-n)}function bo({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},m=j=>a!==void 0&&j<a||l!==void 0&&j>l,v=j=>a===void 0?l:l===void 0||Math.abs(a-j)<Math.abs(l-j)?a:l;let y=s*e;const x=f+y,A=r===void 0?x:r(x);A!==x&&(y=A-f);const C=j=>-y*Math.exp(-j/n),E=j=>A+C(j),_=j=>{const B=C(j),R=E(j);h.done=Math.abs(B)<=u,h.value=h.done?A:R};let F,W;const q=j=>{m(h.value)&&(F=j,W=Jn({keyframes:[h.value,v(h.value)],velocity:Bl(E,j,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return q(0),{calculatedDuration:null,next:j=>{let B=!1;return!W&&F===void 0&&(B=!0,_(j),q(j)),F!==void 0&&j>=F?W.next(j-F):(!B&&_(j),h)}}}function rm(t,e,s){const n=[],i=s||Fe.mix||Il,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]||Gt:e;a=Ws(l,a)}n.push(a)}return n}function am(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(Gn(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=rm(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=Gs(t[f],t[f+1],c);return a[f](h)};return s?c=>u(ce(t[0],t[o-1],c)):u}function lm(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Gs(0,e,n);t.push(lt(s,1,i))}}function cm(t){const e=[0];return lm(e,t.length-1),e}function um(t,e){return t.map(s=>s*e)}function fm(t,e){return t.map(()=>e||_l).splice(0,t.length-1)}function Zs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=bp(n)?n.map(Tl):Tl(n),o={done:!1,value:e[0]},r=um(s&&s.length===e.length?s:cm(e),t),a=am(r,e,{ease:Array.isArray(i)?i:fm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const hm=t=>t!==null;function Qn(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(hm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const dm={decay:bo,inertia:bo,tween:Zs,keyframes:Zs,spring:Jn};function $l(t){typeof t.type=="string"&&(t.type=dm[t.type])}class xo{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 pm=t=>t/100;class ti extends xo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Lt.now()&&this.tick(Lt.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;$l(e);const{type:s=Zs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Zs;l!==Zs&&typeof a[0]!="number"&&(this.mixKeyframes=Ws(pm,Il(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=go(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:m,type:v,onUpdate:y,finalKeyframe:x}=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 A=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?A<0:A>i;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,_=n;if(f){const j=Math.min(this.currentTime,i)/a;let B=Math.floor(j),R=j%1;!R&&j>=1&&(R=1),R===1&&B--,B=Math.min(B,f+1),B%2&&(h==="reverse"?(R=1-R,m&&(R-=m/a)):h==="mirror"&&(_=r)),E=ce(0,1,R)*a}let F;C?(this.delayState.value=c[0],F=this.delayState):F=_.next(E),o&&!C&&(F.value=o(F.value));let{done:W}=F;!C&&l!==null&&(W=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return q&&v!==bo&&(F.value=Qn(c,this.options,x,this.speed)),y&&y(F.value),q&&this.finish(),F}then(e,s){return this.finished.then(e,s)}get duration(){return qt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(this.currentTime)}set time(e){e=zt(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const s=this.generator.next(e).value;return Bl(n=>this.generator.next(n).value,e,s)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;s&&this.driver&&this.updateTime(Lt.now()),this.playbackSpeed=e,s&&this.driver&&(this.time=qt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Zp,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(Lt.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 mm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Xe=t=>t*180/Math.PI,_o=t=>{const e=Xe(Math.atan2(t[1],t[0]));return So(e)},gm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:_o,rotateZ:_o,skewX:t=>Xe(Math.atan(t[1])),skewY:t=>Xe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},So=t=>(t=t%360,t<0&&(t+=360),t),Nl=_o,Ul=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Hl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ym={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ul,scaleY:Hl,scale:t=>(Ul(t)+Hl(t))/2,rotateX:t=>So(Xe(Math.atan2(t[6],t[5]))),rotateY:t=>So(Xe(Math.atan2(-t[2],t[0]))),rotateZ:Nl,rotate:Nl,skewX:t=>Xe(Math.atan(t[4])),skewY:t=>Xe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function To(t){return t.includes("scale")?1:0}function wo(t,e){if(!t||t==="none")return To(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=ym,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=gm,i=a}if(!i)return To(e);const o=n[e],r=i[1].split(",").map(bm);return typeof o=="function"?o(r):r[o]}const vm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return wo(s,e)};function bm(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set([...ps,"pathRotation"]),Kl=t=>t===fs||t===I,xm=new Set(["x","y","z"]),_m=ps.filter(t=>!xm.has(t));function Sm(t){const e=[];return _m.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const ke={width:({x:t},{paddingLeft:e="0",paddingRight:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-parseFloat(e)-parseFloat(s)},height:({y:t},{paddingTop:e="0",paddingBottom:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-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})=>wo(e,"x"),y:(t,{transform:e})=>wo(e,"y")};ke.translateX=ke.x,ke.translateY=ke.y;const Ze=new Set;let Ao=!1,Po=!1,Co=!1;function Wl(){if(Po){const t=Array.from(Ze).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Sm(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)})}Po=!1,Ao=!1,Ze.forEach(t=>t.complete(Co)),Ze.clear()}function Gl(){Ze.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Po=!0)})}function Tm(){Co=!0,Gl(),Wl(),Co=!1}class Eo{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?(Ze.add(this),Ao||(Ao=!0,ot.read(Gl),ot.resolveKeyframes(Wl))):(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])}mm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ze.delete(this)}cancel(){this.state==="scheduled"&&(Ze.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wm=t=>t.startsWith("--");function zl(t,e,s){wm(e)?t.style.setProperty(e,s):t.style[e]=s}const Am={};function ql(t,e){const s=fl(t);return()=>Am[e]??s()}const Pm=ql(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Yl=ql(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Js=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Xl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Js([0,.65,.55,1]),circOut:Js([.55,0,1,.45]),backIn:Js([.31,.01,.66,-.59]),backOut:Js([.33,1.53,.69,.99])};function Zl(t,e){if(t)return typeof t=="function"?Yl()?kl(t,e):"ease-out":Sl(t)?Js(t):Array.isArray(t)?t.map(s=>Zl(s,e)||Xl.easeOut):Xl[t]}function Cm(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=Zl(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 Jl(t){return typeof t=="function"&&"applyToOptions"in t}function Em({type:t,...e}){return Jl(t)&&Yl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Ql extends xo{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,Gn(typeof e.type!="string");const u=Em(e);this.animation=Cm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Qn(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),zl(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 qt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(Number(this.animation.currentTime)||0)}set time(e){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=zt(e),s&&this.animation.pause()}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,rangeStart:s,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Pm()?(this.animation.timeline=e,s&&(this.animation.rangeStart=s),n&&(this.animation.rangeEnd=n),Gt):i(this)}}const tc={anticipate:vl,backInOut:yl,circInOut:xl};function Vm(t){return t in tc}function Mm(t){typeof t.ease=="string"&&Vm(t.ease)&&(t.ease=tc[t.ease])}const Vo=10;class Dm extends Ql{constructor(e){Mm(e),$l(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(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 ti({...r,autoplay:!1}),l=Math.max(Vo,Lt.now()-this.startTime),u=ce(0,Vo,l-Vo),c=a.sample(l).value,{name:f}=this.options;o&&f&&zl(o,f,c),s.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const ec=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(te.test(t)||t==="0")&&!t.startsWith("url("));function Om(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 Rm(t,e,s,n){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=ec(i,e),a=ec(o,e);return!r||!a?!1:Om(t)||(s==="spring"||Jl(s))&&n}function Mo(t){t.duration=0,t.type="keyframes"}const sc=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Lm=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Fm(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Lm.test(t[e]))return!0;return!1}const Im=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),km=fl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function jm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=e.owner.getProps();return km()&&s&&(sc.has(s)||Im.has(s)&&Fm(a))&&(s!=="transform"||!c)&&!u&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Bm=40;class $m extends xo{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=Lt.now();const h={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||Eo;this.keyframeResolver=new m(a,(v,y,x)=>this.onKeyframesResolved(v,y,h,!x),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=Lt.now();let f=!0;Rm(e,o,r,a)||(f=!1,(Fe.instantAnimations||!l)&&c?.(Qn(e,n,s)),e[0]=e[e.length-1],Mo(n),n.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Bm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},v=f&&!u&&jm(m),y=m.motionValue?.owner?.current;let x;if(v)try{x=new Dm({...m,element:y})}catch{x=new ti(m)}else x=new ti(m);x.finished.then(()=>{this.notifyFinished()}).catch(Gt),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),Tm()),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 nc(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 ic=30,Nm=t=>!isNaN(parseFloat(t));class Um{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Lt.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=Lt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Nm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new eo);const n=this.events[e].add(s);return e==="change"?()=>{n(),ot.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=Lt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ic)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,ic);return hl(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 gs(t,e){return new Um(t,e)}function oc(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Do(t,e){const s=t?.[e]??t?.default??t;return s!==t?oc(s,t):s}const Hm={type:"spring",stiffness:500,damping:25,restSpeed:10},Km=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Wm={type:"keyframes",duration:.8},Gm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zm=(t,{keyframes:e})=>e.length>2?Wm:ms.has(t)?t.startsWith("scale")?Km(e[1]):Hm:Gm,qm=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Ym(t){for(const e in t)if(!qm.has(e))return!0;return!1}const Oo=(t,e,s,n={},i,o)=>r=>{const a=Do(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-zt(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};Ym(a)||Object.assign(c,zm(t,c)),c.duration&&(c.duration=zt(c.duration)),c.repeatDelay&&(c.repeatDelay=zt(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)),(Fe.instantAnimations||Fe.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,Mo(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=Qn(c.keyframes,a);if(h!==void 0){ot.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new ti(c):new $m(c)},Xm=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Zm(t){const e=Xm.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function rc(t,e,s=1){const[n,i]=Zm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return ll(r)?parseFloat(r):r}return ro(i)?rc(i,e,s+1):i}function ac(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function lc(t,e,s,n){if(typeof e=="function"){const[i,o]=ac(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]=ac(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function ys(t,e,s){const n=t.getProps();return lc(n,e,s!==void 0?s:n.custom,t)}const cc=new Set(["width","height","top","left","right","bottom",...ps]),Jm=t=>Array.isArray(t);function Qm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,gs(s))}function tg(t){return Jm(t)?t[t.length-1]||0:t}function eg(t,e){const s=ys(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=tg(o[r]);Qm(t,r,a)}}const Vt=t=>!!(t&&t.getVelocity);function sg(t){return!!(Vt(t)&&t.add)}function Ro(t,e){const s=t.getValue("willChange");if(sg(s))return s.add(e);if(!s&&Fe.WillChange){const n=new Fe.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Lo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const ng="data-"+Lo("framerAppearId");function uc(t){return t.props[ng]}function ig({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function fc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?oc(o,l):l;const u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);const f=[],h=i&&t.animationState&&t.animationState.getState()[i],m=o?.path;m&&m.animateVisualElement(t,a,o,s,f);for(const v in a){const y=t.getValue(v,t.latestValues[v]??null),x=a[v];if(x===void 0||h&&ig(h,v))continue;const A={delay:s,...Do(o||{},v)};c&&(A.skipAnimations=!0);const C=y.get();if(C!==void 0&&!y.isAnimating()&&!Array.isArray(x)&&x===C&&!A.velocity){ot.update(()=>y.set(x));continue}let E=!1;if(window.MotionHandoffAnimation){const W=uc(t);if(W){const q=window.MotionHandoffAnimation(W,v,ot);q!==null&&(A.startTime=q,E=!0)}}Ro(t,v);const _=u??t.shouldReduceMotion;y.start(Oo(v,y,x,_&&cc.has(v)?{type:!1}:A,t,E));const F=y.animation;F&&f.push(F)}if(r){const v=()=>ot.update(()=>{r&&eg(t,r)});f.length?Promise.all(f).then(v):v()}return f}function Fo(t,e,s={}){const n=ys(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(fc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return og(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 og(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(Fo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+nc(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function rg(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Fo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Fo(t,e,s);else{const i=typeof e=="function"?ys(t,e,s.custom):e;n=Promise.all(fc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const ag={test:t=>t==="auto",parse:t=>t},hc=t=>e=>e.test(t),dc=[fs,I,ue,Ce,Op,Dp,ag],pc=t=>dc.find(hc(t));function lg(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ul(t):!0}const cg=new Set(["brightness","contrast","saturate","opacity"]);function ug(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ao)||[];if(!n)return t;const i=s.replace(n,"");let o=cg.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const fg=/\b([a-z-]*)\(.*?\)/gu,Io={...te,getAnimatableNone:t=>{const e=t.match(fg);return e?e.map(ug).join(" "):t}},ko={...te,getAnimatableNone:t=>{const e=te.parse(t);return te.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},mc={...fs,transform:Math.round},ei={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...{rotate:Ce,pathRotation:Ce,rotateX:Ce,rotateY:Ce,rotateZ:Ce,scale:Yn,scaleX:Yn,scaleY:Yn,scaleZ:Yn,skew:Ce,skewX:Ce,skewY:Ce,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:qs,originX:El,originY:El,originZ:I},zIndex:mc,fillOpacity:qs,strokeOpacity:qs,numOctaves:mc},hg={...ei,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:Io,WebkitFilter:Io,mask:ko,WebkitMask:ko},gc=t=>hg[t],dg=new Set([Io,ko]);function yc(t,e){let s=gc(t);return dg.has(s)||(s=te),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const pg=new Set(["auto","none","0"]);function mg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!pg.has(o)&&ds(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=yc(s,i)}class gg extends Eo{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(),ro(f))){const h=rc(f,s.current);h!==void 0&&(e[c]=h),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!cc.has(n)||e.length!==2)return;const[i,o]=e,r=pc(i),a=pc(o),l=Pl(i),u=Pl(o);if(l!==u&&ke[n]){this.needsMeasurement=!0;return}if(r!==a)if(Kl(r)&&Kl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else ke[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||lg(e[i]))&&n.push(i);n.length&&mg(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=ke[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]=ke[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 jo=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function vc(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 Bo=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function yg(t){return cl(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:bc}=wl(queueMicrotask,!1),vg={y:!1};function bg(){return vg.y}function xc(t,e){const s=vc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function xg(t){return!(t.pointerType==="touch"||bg())}function _g(t,e,s={}){const[n,i,o]=xc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=x=>{u&&(u(x),u=void 0),c()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(x))},m=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},v=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}f(x)}},y=x=>{if(!xg(x))return;l=!1;const A=e(r,x);typeof A=="function"&&(u=A,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",y,i),r.addEventListener("pointerdown",m,i)}),o}const _c=(t,e)=>e?t===e?!0:_c(t,e.parentElement):!1,Sg=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Tg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wg(t){return Tg.has(t.tagName)||t.isContentEditable===!0}const si=new WeakSet;function Sc(t){return e=>{e.key==="Enter"&&t(e)}}function $o(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ag=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Sc(()=>{if(si.has(s))return;$o(s,"down");const i=Sc(()=>{$o(s,"up")}),o=()=>$o(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 Tc(t){return Sg(t)&&!0}const wc=new WeakSet;function Pg(t,e,s={}){const[n,i,o]=xc(t,s),r=a=>{const l=a.currentTarget;if(!Tc(a)||wc.has(a))return;si.add(l),s.stopPropagation&&wc.add(a);const u=e(l,a),c={...i,capture:!0},f=(v,y)=>{window.removeEventListener("pointerup",h,c),window.removeEventListener("pointercancel",m,c),si.has(l)&&si.delete(l),Tc(v)&&typeof u=="function"&&u(v,{success:y})},h=v=>{f(v,l===window||l===document||s.useGlobalTarget||_c(l,v.target))},m=v=>{f(v,!1)};window.addEventListener("pointerup",h,c),window.addEventListener("pointercancel",m,c)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),yg(a)&&(a.addEventListener("focus",u=>Ag(u,i)),!wg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Ac(t){return cl(t)&&"ownerSVGElement"in t}function Cg(t){return Ac(t)&&t.tagName==="svg"}const Eg=[...dc,mt,te],Vg=t=>Eg.find(hc(t)),Pc=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:Pc(),y:Pc()}),Cc=()=>({min:0,max:0}),vt=()=>({x:Cc(),y:Cc()}),Mg=new WeakMap;function No(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ni(t){return typeof t=="string"||Array.isArray(t)}const Dg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Ec(t){return No(t.animate)||Dg.some(e=>ni(t[e]))}function Og(t){return!!(Ec(t)||t.variants)}function Rg(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Vt(i))t.addValue(n,i);else if(Vt(o))t.addValue(n,gs(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,gs(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Uo={current:null},Vc={current:!1},Lg=typeof window<"u";function Fg(){if(Vc.current=!0,!!Lg)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Uo.current=t.matches;t.addEventListener("change",e),e()}else Uo.current=!1}const Mc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Dc={};class Ig{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=Eo,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=Lt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ot.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=Ec(s),this.isVariantNode=Og(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in h){const v=h[m];u[m]!==void 0&&Vt(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,Mg.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:(Vc.current||Fg(),this.shouldReduceMotion=Uo.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(),Ie(this.notifyUpdate),Ie(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&&sc.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:zt(c)}),h=r(f);this.valueSubscriptions.set(e,()=>{h(),f.cancel()});return}const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&ot.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()})}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 Dc){const s=Dc[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):vt()}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<Mc.length;n++){const i=Mc[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=Rg(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=gs(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"&&(ll(n)||ul(n))?n=parseFloat(n):!Vg(n)&&te.test(s)&&(n=yc(e,s)),this.setBaseTarget(e,Vt(n)?n.get():n)),Vt(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=lc(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&&!Vt(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 eo),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){bc.render(this.render)}}class Oc extends Ig{constructor(){super(...arguments),this.KeyframeResolver=gg}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;Vt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Rc({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function kg({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function jg(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 Ho(t){return t===void 0||t===1}function Ko({scale:t,scaleX:e,scaleY:s}){return!Ho(t)||!Ho(e)||!Ho(s)}function Je(t){return Ko(t)||Lc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Lc(t){return Fc(t.x)||Fc(t.y)}function Fc(t){return t&&t!=="0%"}function ii(t,e,s){const n=t-s,i=e*n;return s+i}function Ic(t,e,s,n,i){return i!==void 0&&(t=ii(t,i,n)),ii(t,s,n)+e}function Wo(t,e=0,s=1,n,i){t.min=Ic(t.min,e,s,n,i),t.max=Ic(t.max,e,s,n,i)}function kc(t,{x:e,y:s}){Wo(t.x,e.translate,e.scale,e.originPoint),Wo(t.y,s.translate,s.scale,s.originPoint)}const jc=.999999999999,Bc=1.0000000000001;function Bg(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&&(fe(t.x,-o.scroll.offset.x),fe(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,kc(t,r)),n&&Je(o.latestValues)&&oi(t,o.latestValues,o.layout?.layoutBox))}e.x<Bc&&e.x>jc&&(e.x=1),e.y<Bc&&e.y>jc&&(e.y=1)}function fe(t,e){t.min+=e,t.max+=e}function $c(t,e,s,n,i=.5){const o=lt(t.min,t.max,i);Wo(t,e,s,o,n)}function Nc(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function oi(t,e,s){const n=s??t;$c(t.x,Nc(e.x,n.x),e.scaleX,e.scale,e.originX),$c(t.y,Nc(e.y,n.y),e.scaleY,e.scale,e.originY)}function Uc(t,e){return Rc(jg(t.getBoundingClientRect(),e))}function $g(t,e,s){const n=Uc(t,s),{scroll:i}=e;return i&&(fe(n.x,i.offset.x),fe(n.y,i.offset.y)),n}const Ng={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ug=ps.length;function Hg(t,e,s){let n="",i=!0;for(let r=0;r<Ug;r++){const a=ps[r],l=t[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||s){const c=Bo(l,ei[a]);if(!u){i=!1;const f=Ng[a]||a;n+=`${f}(${c}) `}s&&(e[a]=c)}}const o=t.pathRotation;return o&&(i=!1,n+=`rotate(${Bo(o,ei.pathRotation)}) `),n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Go(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ms.has(l)){r=!0;continue}else if(oo(l)){i[l]=u;continue}else{const c=Bo(u,ei[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Hg(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 Hc(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 Kc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const he={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(I.test(t))t=parseFloat(t);else return t;const s=Kc(t,e.target.x),n=Kc(t,e.target.y);return`${s}% ${n}%`}},Wc={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=te.parse(t);if(i.length>5)return n;const o=te.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=lt(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Qs={borderRadius:{...he,applyTo:[...jo]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Wc};function Gc(t){for(const e in t)Qs[e]=t[e],oo(e)&&(Qs[e].isCSSVariable=!0)}function Kg(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Qs[t]||t==="opacity")}function zc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Vt(n[r])||i&&Vt(i[r])||Kg(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Wg(t){return window.getComputedStyle(t)}class Gg extends Oc{constructor(){super(...arguments),this.type="html",this.renderInstance=Hc}mount(e){Gn(!!e.style),super.mount(e)}readValueFromInstance(e,s){if(ms.has(s))return this.projection?.isProjecting?To(s):vm(e,s);{const n=Wg(e),i=(oo(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Uc(e,s)}build(e,s,n){Go(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return zc(e,s,n)}}const zg={offset:"stroke-dashoffset",array:"stroke-dasharray"},qg={offset:"strokeDashoffset",array:"strokeDasharray"};function Yg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?zg:qg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const qc=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Go(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;for(const m of qc)f[m]!==void 0&&(h[m]=f[m],delete f[m]);(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&Yg(f,i,o,r,!1)}const zo=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"]),Xc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Xg(t,e,s,n){Hc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(zo.has(i)?i:Lo(i),e.attrs[i])}function Zg(t,e,s){const n=zc(t,e,s);for(const i in t)if(Vt(t[i])||Vt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Jg extends Oc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=gc(s);return n&&n.default||0}if(qc.includes(s)){const i=getComputedStyle(e)[s];if(typeof i=="string"&&i)return i.trim()}return s=zo.has(s)?s:Lo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Zg(e,s,n)}build(e,s,n){Yc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Xg(e,s,n,i)}mount(e){this.isSVGTag=Xc(e.tagName),super.mount(e)}}function qo(t,e){t.min=e.min,t.max=e.max}function ee(t,e){qo(t.x,e.x),qo(t.y,e.y)}function Zc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Jc=1e-4,Qg=1-Jc,ty=1+Jc,Qc=.01,ey=0-Qc,sy=0+Qc;function Ft(t){return t.max-t.min}function ny(t,e,s){return Math.abs(t-e)<=s}function tu(t,e,s,n=.5){t.origin=n,t.originPoint=lt(e.min,e.max,t.origin),t.scale=Ft(s)/Ft(e),t.translate=lt(s.min,s.max,t.origin)-t.originPoint,(t.scale>=Qg&&t.scale<=ty||isNaN(t.scale))&&(t.scale=1),(t.translate>=ey&&t.translate<=sy||isNaN(t.translate))&&(t.translate=0)}function tn(t,e,s,n){tu(t.x,e.x,s.x,n?n.originX:void 0),tu(t.y,e.y,s.y,n?n.originY:void 0)}function eu(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=i+e.min,t.max=t.min+Ft(e)}function iy(t,e,s,n){eu(t.x,e.x,s.x,n?.x),eu(t.y,e.y,s.y,n?.y)}function su(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=e.min-i,t.max=t.min+Ft(e)}function ri(t,e,s,n){su(t.x,e.x,s.x,n?.x),su(t.y,e.y,s.y,n?.y)}function nu(t,e,s,n,i){return t-=e,t=ii(t,1/s,n),i!==void 0&&(t=ii(t,1/i,n)),t}function oy(t,e=0,s=1,n=.5,i,o=t,r=t){if(ue.test(e)&&(e=parseFloat(e),e=lt(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=lt(o.min,o.max,n);t===o&&(a-=e),t.min=nu(t.min,e,s,a,i),t.max=nu(t.max,e,s,a,i)}function iu(t,e,[s,n,i],o,r){oy(t,e[s],e[n],e[i],e.scale,o,r)}const ry=["x","scaleX","originX"],ay=["y","scaleY","originY"];function ou(t,e,s,n){iu(t.x,e,ry,s?s.x:void 0,n?n.x:void 0),iu(t.y,e,ay,s?s.y:void 0,n?n.y:void 0)}function ru(t){return t.translate===0&&t.scale===1}function au(t){return ru(t.x)&&ru(t.y)}function lu(t,e){return t.min===e.min&&t.max===e.max}function ly(t,e){return lu(t.x,e.x)&&lu(t.y,e.y)}function cu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function uu(t,e){return cu(t.x,e.x)&&cu(t.y,e.y)}function fu(t){return Ft(t.x)/Ft(t.y)}function hu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Yt(t){return[t("x"),t("y")]}function cy(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,pathRotation:f,rotateX:h,rotateY:m,skewX:v,skewY:y}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotate(${f}deg) `),h&&(n+=`rotateX(${h}deg) `),m&&(n+=`rotateY(${m}deg) `),v&&(n+=`skewX(${v}deg) `),y&&(n+=`skewY(${y}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}const uy=jo.length,du=t=>typeof t=="string"?parseFloat(t):t,pu=t=>typeof t=="number"||I.test(t);function fy(t,e,s,n,i,o){i?(t.opacity=lt(0,s.opacity??1,hy(n)),t.opacityExit=lt(e.opacity??1,0,dy(n))):o&&(t.opacity=lt(e.opacity??1,s.opacity??1,n));for(let r=0;r<uy;r++){const a=jo[r];let l=mu(e,a),u=mu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||pu(l)===pu(u)?(t[a]=Math.max(lt(du(l),du(u),n),0),(ue.test(u)||ue.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=lt(e.rotate||0,s.rotate||0,n))}function mu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const hy=gu(0,.5,bl),dy=gu(.5,.95,Gt);function gu(t,e,s){return n=>n<t?0:n>e?1:s(Gs(t,e,n))}function py(t,e,s){const n=Vt(t)?t:gs(t);return n.start(Oo("",n,e,s)),n.animation}function en(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s,n)}const my=(t,e)=>t.depth-e.depth;class gy{constructor(){this.children=[],this.isDirty=!1}add(e){to(this.children,e),this.isDirty=!0}remove(e){Wn(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=Lt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Ie(n),t(o-e))};return ot.setup(n,!0),()=>Ie(n)}function Yo(t){return Vt(t)?t.get():t}class vy{constructor(){this.members=[]}add(e){to(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.snapshot&&(Wn(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Wn(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){for(let s=this.members.indexOf(e)-1;s>=0;s--){const n=this.members[s];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:o}=e.options;(i===void 0||i!==o)&&(e.resumeFrom=n,s&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ai={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Xo=["","X","Y","Z"],by=1e3;let xy=0;function Zo(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function yu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=uc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",ot,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&yu(n)}function vu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=xy++,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(Vy),this.nodes.forEach(My),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 eo),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Ac(r)&&!Cg(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;ot.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=yy(h,250),ai.hasAnimatedSinceResize&&(ai.hasAnimatedSinceResize=!1,this.nodes.forEach(_u)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Fy,{onLayoutAnimationStart:y,onLayoutAnimationComplete:x}=u.getProps(),A=!this.targetLayout||!uu(this.targetLayout,m),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...Do(v,"layout"),onPlay:y,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(c,C,E.path)}else f||_u(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(),Ie(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(Dy),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&&yu(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,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Py),this.nodes.forEach(bu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(xu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cy),this.nodes.forEach(Ey),this.nodes.forEach(_y),this.nodes.forEach(Sy)):this.nodes.forEach(xu),this.clearAllSnapshots();const a=Lt.now();At.delta=ce(0,1e3/60,a-At.timestamp),At.timestamp=a,At.isProcessing=!0,io.update.process(At),io.preRender.process(At),io.render.process(At),At.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ay),this.sharedNodes.forEach(Oy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ft(this.snapshot.measuredBox.x)&&!Ft(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||(this.layoutCorrected=vt()),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&&!au(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Je(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Iy(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return vt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ky))){const{scroll:u}=this.root;u&&(fe(a.x,u.offset.x),fe(a.y,u.offset.y))}return a}removeElementScroll(r){const a=vt();if(ee(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&&ee(a,r),fe(a.x,c.offset.x),fe(a.y,c.offset.y))}return a}applyTransform(r,a=!1,l){const u=l||vt();ee(u,r);for(let c=0;c<this.path.length;c++){const f=this.path[c];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(fe(u.x,-f.scroll.offset.x),fe(u.y,-f.scroll.offset.y)),Je(f.latestValues)&&oi(u,f.latestValues,f.layout?.layoutBox)}return Je(this.latestValues)&&oi(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(r){const a=vt();ee(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!Je(u.latestValues))continue;let c;u.instance&&(Ko(u.latestValues)&&u.updateSnapshot(),c=vt(),ee(c,u.measurePageBox())),ou(a,u.latestValues,u.snapshot?.layoutBox,c)}return Je(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!==At.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=At.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ee(this.target,this.layout.layoutBox),kc(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ko(this.parent.latestValues)||Lc(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=vt(),this.relativeTargetOrigin=vt(),ri(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),ee(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===At.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;ee(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Bg(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=vt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zc(this.prevProjectionDelta.x,this.projectionDelta.x),Zc(this.prevProjectionDelta.y,this.projectionDelta.y)),tn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!hu(this.projectionDelta.x,this.prevProjectionDelta.x)||!hu(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=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(r,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},h=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=vt(),v=u?u.source:void 0,y=this.layout?this.layout.source:void 0,x=v!==y,A=this.getStack(),C=!A||A.members.length<=1,E=!!(x&&!C&&this.options.crossfade===!0&&!this.path.some(Ly));this.animationProgress=0;let _;const F=l?.interpolateProjection(r);this.mixTargetDelta=W=>{const q=W/1e3,j=F?.(q);j?(h.x.translate=j.x,h.x.scale=lt(r.x.scale,1,q),h.x.origin=r.x.origin,h.x.originPoint=r.x.originPoint,h.y.translate=j.y,h.y.scale=lt(r.y.scale,1,q),h.y.origin=r.y.origin,h.y.originPoint=r.y.originPoint):(Su(h.x,r.x,q),Su(h.y,r.y,q)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ri(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ry(this.relativeTarget,this.relativeTargetOrigin,m,q),_&&ly(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=vt()),ee(_,this.relativeTarget)),x&&(this.animationValues=f,fy(f,c,this.latestValues,q,E,C)),j&&j.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=j.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ie(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{ai.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=gs(0)),this.motionValue.jump(0,!1),this.currentAnimation=py(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},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&&Cu(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||vt();const f=Ft(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Ft(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}ee(a,l),oi(a,c),tn(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&&Zo("z",r,u,this.animationValues);for(let c=0;c<Xo.length;c++)Zo(`rotate${Xo[c]}`,r,u,this.animationValues),Zo(`skew${Xo[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=Yo(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=Yo(a?.pointerEvents)||""),this.hasProjected&&!Je(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=cy(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:h,y:m}=this.projectionDelta;r.transformOrigin=`${h.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 Qs){if(c[v]===void 0)continue;const{correct:y,applyTo:x,isCSSVariable:A}=Qs[v],C=f==="none"?c[v]:y(c[v],u);if(x){const E=x.length;for(let _=0;_<E;_++)r[x[_]]=C}else A?this.options.visualElement.renderState.vars[v]=C:r[v]=C}this.options.layoutId&&(r.pointerEvents=u===this?Yo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(bu),this.root.sharedNodes.clear()}}}function _y(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;if(i==="size")Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(f);f.min=s[c].min,f.max=f.min+h});else if(i==="x"||i==="y"){const c=i==="x"?"y":"x";qo(o?e.measuredBox[c]:e.layoutBox[c],s[c])}else Cu(i,e.layoutBox,s)&&Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(s[c]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+h)});const r=vs();tn(r,s,e.layoutBox);const a=vs();o?tn(a,t.applyTransform(n,!0),e.measuredBox):tn(a,s,e.layoutBox);const l=!au(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:h}=c;if(f&&h){const m=t.options.layoutAnchor||void 0,v=vt();ri(v,e.layoutBox,f.layoutBox,m);const y=vt();ri(y,s,h.layoutBox,m),uu(v,y)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=v,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 Ay(t){t.clearSnapshot()}function bu(t){t.clearMeasurements()}function Py(t){t.isLayoutDirty=!0,t.updateLayout()}function xu(t){t.isLayoutDirty=!1}function Cy(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ey(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function _u(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vy(t){t.resolveTargetDelta()}function My(t){t.calcProjection()}function Dy(t){t.resetSkewAndRotation()}function Oy(t){t.removeLeadSnapshot()}function Su(t,e,s){t.translate=lt(e.translate,0,s),t.scale=lt(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Tu(t,e,s,n){t.min=lt(e.min,s.min,n),t.max=lt(e.max,s.max,n)}function Ry(t,e,s,n){Tu(t.x,e.x,s.x,n),Tu(t.y,e.y,s.y,n)}function Ly(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fy={duration:.45,ease:[.4,0,.1,1]},wu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Au=wu("applewebkit/")&&!wu("chrome/")?Math.round:Gt;function Pu(t){t.min=Au(t.min),t.max=Au(t.max)}function Iy(t){Pu(t.x),Pu(t.y)}function Cu(t,e,s){return t==="position"||t==="preserve-aspect"&&!ny(fu(e),fu(s),.2)}function ky(t){return t!==t.root&&t.scroll?.wasRoot}const jy=vu({attachResizeListener:(t,e)=>en(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jo={current:void 0},By=vu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Jo.current){const t=new jy({});t.mount(window),t.setOptions({layoutScroll:!0}),Jo.current=t}return Jo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),$y={some:0,all:1};function Ny(t,e,{root:s,margin:n,amount:i="some"}={}){const o=vc(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:$y[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Eu=(t,e)=>Math.abs(t-e);function Uy(t,e){const s=Eu(t.x,e.x),n=Eu(t.y,e.y);return Math.sqrt(s**2+n**2)}function Vu({current:t}){return t?t.ownerDocument.defaultView:null}function Qo(t){if(t)return t.nodeType===3||t.nodeType===8?Qo(t.nextSibling):t}const[Hy,Ky]=Ks("Motion"),[Wy]=Ks("LayoutGroup"),Gy={reducedMotion:"never",transition:void 0,nonce:void 0},[zy]=Ks("MotionConfig");function qy(){return zy(_t(()=>Gy))}function Mu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Mu(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 Yy(t,e,s){const n=Mu(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function Xy(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,...Yy(t[o]||e?.[o],t.variants,n)}),{})}function Du(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 Zy=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 Ou(t){return Zy.has(t)}const Ru=new WeakMap;var Jy=class{constructor(t,e,s={}){this.element=null,this.isExiting=!1,this.children=new Set,this.features=new Map,this.featureCtors=[],this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Xy(t,this.context),this.type=Ou(this.options.as)?"svg":"html",this.setBundle(s)}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return ni(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}setBundle(t){t.renderer&&this.initVisualElement(t.renderer),t.features?.length&&(this.featureCtors=t.features),this.updateFeatures()}updateFeatures(){if(this.visualElement)for(const t of this.featureCtors){let e=this.features.get(t.key);e||(e=new t(this),this.features.set(t.key,e)),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},this.options.presenceContext??null)}mount(t){Ru.set(t,this),this.element=t,this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(!1)}unmount(){this.parent?.children?.delete(this),this.element&&Ru.delete(this.element),this.features.forEach(t=>{t.unmount(),t.isMount=!1}),this.visualElement?.unmount(),this.element=null}beforeUpdate(){this.getSnapshot(!this.isExiting)}update(){this.updateFeatures(),this.didUpdate()}getFeature(t){return this.features.get(t)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1)})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:this.options.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){this.features.get("layout")?.getSnapshot(t)}didUpdate(){}},de=class{constructor(t){this.isMount=!1,this.state=t}mount(){}beforeUnmount(){}unmount(){}update(){}getSnapshot(t){}};const Lu=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Qy=Lu.length;function Fu(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Fu(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<Qy;s++){const n=Lu[s],i=t.props[n];(ni(i)||i===!1)&&(e[n]=i)}return e}var Iu=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],tv=[...Iu].reverse(),ev=Iu.length;function Qe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ku(){return{animate:Qe(!0),whileInView:Qe(),whileHover:Qe(),whilePress:Qe(),whileDrag:Qe(),whileFocus:Qe(),exit:Qe()}}function sv(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Du(e,t):!1}function ju(t){return Array.isArray(t)}function nv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>rg(t,s,n)))}function iv(t){let e=nv(t),s=ku(),n=!0;const i=l=>(u,c)=>{const f=ys(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const u=t.props,c=Fu(t.parent)||{},f=[],h=new Set;let m={},v=1/0;for(let x=0;x<ev;x++){const A=tv[x],C=s[A],E=u[A]!==void 0?u[A]:c[A],_=ni(E),F=A===l?C.isActive:null;F===!1&&(v=x);let W=E===c[A]&&E!==u[A]&&_;if(W&&n&&t.manuallyAnimateOnMount&&(W=!1),C.protectedKeys={...m},!C.isActive&&F===null||!E&&!C.prevProp||No(E)||typeof E=="boolean")continue;const q=sv(C.prevProp,E);let j=q||A===l&&C.isActive&&!W&&_||x>v&&_,B=!1;const R=Array.isArray(E)?E:[E];let K=R.reduce(i(A),{});F===!1&&(K={});const{prevResolvedValues:O={}}=C,et={...O,...K},rt=Y=>{j=!0,h.has(Y)&&(B=!0,h.delete(Y)),C.needsAnimating[Y]=!0;const X=t.getValue(Y);X&&(X.liveStyle=!1)};for(const Y in et){const X=K[Y],Z=O[Y];if(Object.hasOwnProperty.call(m,Y))continue;let kt=!1;ju(X)&&ju(Z)?kt=!Du(X,Z):kt=X!==Z,kt?X!=null?rt(Y):h.add(Y):X!==void 0&&h.has(Y)?rt(Y):C.protectedKeys[Y]=!0}C.prevProp=E,C.prevResolvedValues=K,C.isActive&&(m={...m,...K}),n&&t.blockInitialAnimation&&(j=!1);const bt=W&&q;j&&(!bt||B)&&f.push(...R.map(Y=>{const X={type:A};if(typeof Y=="string"&&n&&!bt&&t.manuallyAnimateOnMount&&t.parent){const{parent:Z}=t,kt=ys(Z,Y);if(Z.enteringChildren&&kt){const{delayChildren:bs}=kt.transition||{};X.delay=nc(Z.enteringChildren,t,bs)}}return{animation:Y,options:X}}))}if(h.size){const x={};if(typeof u.initial!="boolean"){const A=ys(t,Array.isArray(u.initial)?u.initial[0]:u.initial);A&&A.transition&&(x.transition=A.transition)}h.forEach(A=>{const C=t.getBaseTarget(A),E=t.getValue(A);E&&(E.liveStyle=!0),x[A]=C??null}),f.push({animation:x})}let y=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(y=!1),n=!1,y?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=ku(),n=!0}}}function Bu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var ov=class extends de{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=iv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;No(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Bu(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?.()}},rv=class extends de{constructor(...t){super(...t),this.exitGeneration=0}static#t=this.key="exit";exit(){const t=++this.exitGeneration,e=this.state;e.isExiting=!0;const s=new Promise(i=>{this.pendingExit={resolve:i}}),n=e.visualElement?.animationState?.setActive("exit",!0);return n?n.then(()=>{t===this.exitGeneration&&(e.isExiting=!1,e.options?.layoutId?ot.postRender(()=>this.tryCompleteExit(t)):this.tryCompleteExit(t))}):(e.isExiting=!1,this.tryCompleteExit(t)),e.getSnapshot(!1),s}reenter(){this.exitGeneration++,this.settleExit(),this.state.isExiting=!1,this.state.setActive("exit",!1),this.state.getSnapshot(!0)}completeExitFromProjection(){this.tryCompleteExit(this.exitGeneration)}tryCompleteExit(t){t!==this.exitGeneration||this.state.isExiting||this.state.options?.layoutId&&this.state.visualElement.projection?.currentAnimation?.state==="running"||this.settleExit()}settleExit(){this.pendingExit?.resolve(),this.pendingExit=void 0}mount(){this.state.options.presenceContext?.register?.(this.state)}unmount(){this.state.options.presenceContext?.unregister?.(this.state),this.settleExit()}};function av(t,e){return Ou(t)?new Jg(e):new Gg(e)}function $u(t){return{point:{x:t.pageX,y:t.pageY}}}var lv=class extends de{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=Pg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&ot.postRender(()=>n.onPressStart(s,$u(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&ot.postRender(()=>a(i,$u(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 Nu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function sn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function cv(t){return e=>Nu(e)&&t(e,sn(e))}var uv=class extends de{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=_g(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&ot.postRender(()=>n.onHoverStart(s,sn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&ot.postRender(()=>o(i,sn(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}},fv=class extends de{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=Ny(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&ot.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&ot.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}},hv=class extends de{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=Ws(en(t,"focus",()=>this.onFocus()),en(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function Uu(t){if(t)return t.options.allowProjection!==!1?t.projection:Uu(t.parent)}const Hu={borderRadius:{...he,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Wc};function nn(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const dv=typeof window>"u";var pv=class extends de{static#t=this.key="projection";constructor(t){super(t),Gc(Hu),dv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new By(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:Uu(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&&nn(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.getFeature("exit")?.completeExitFromProjection()})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function on(t,e,s,n){return en(t,e,cv(s),n)}var Ku=new Set(["auto","scroll"]),Wu=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=er(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Uy(c.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=c,{timestamp:v}=At;this.history.push({...m,timestamp:v});const{onStart:y,onMove:x}=this.handlers;f||(y&&y(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=tr(f,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=er(c.type==="pointercancel"?this.lastMoveEventInfo:tr(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(c,y),m&&m(c,y)},!Nu(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=tr(sn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=At;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,er(r,this.history)),this.removeListeners=Ws(on(this.contextWindow,"pointermove",this.handlePointerMove),on(this.contextWindow,"pointerup",this.handlePointerUp),on(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);(Ku.has(s.overflowX)||Ku.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),ot.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Ie(this.updatePoint)}};function tr(t,e){return e?{point:e(t.point)}:t}function Gu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function er({point:t},e){return{point:t,delta:Gu(t,zu(e)),offset:Gu(t,mv(e)),velocity:gv(e,.1)}}function mv(t){return t[0]}function zu(t){return t[t.length-1]}function gv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=zu(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>zt(e)));)s--;if(!n)return{x:0,y:0};const o=qt(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 qu(t){return(e,s)=>{t&&ot.postRender(()=>t(e,s))}}var yv=class extends de{constructor(...t){super(...t),this.removePointerDownListener=Gt}static#t=this.key="pan";onPointerDown(t){this.session=new Wu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Vu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:qu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:qu((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&&ot.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=on(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Yu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var Xu=Yu("dragHorizontal"),Zu=Yu("dragVertical");function vv(t){let e=!1;if(t==="y")e=Zu();else if(t==="x")e=Xu();else{const s=Xu(),n=Zu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function bv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?lt(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?lt(s,t,n.max):Math.min(t,s)),t}const sr=.35;function xv(t,{top:e,left:s,bottom:n,right:i}){return{x:Ju(t.x,s,i),y:Ju(t.y,e,n)}}function Ju(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 _v(t=sr){return t===!1?t=0:t===!0&&(t=sr),{x:Qu(t,"left","right"),y:Qu(t,"top","bottom")}}function Qu(t,e,s){return{min:tf(t,e),max:tf(t,s)}}function tf(t,e){return typeof t=="number"?t:t[e]||0}function Sv(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 Tv(t,e){return{x:ef(t.x,e.x),y:ef(t.y,e.y)}}function ef(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 wv(t,e){let s=.5;const n=Ft(t),i=Ft(e);return i>n?s=Gs(e.min,e.max-n,t.min):n>i&&(s=Gs(t.min,t.max-i,e.min)),ce(0,1,s)}const Av=new WeakMap;var Pv=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=vt(),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(sn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:h}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=vv(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),Yt(m=>{let v=this.getAxisMotionValue(m).get()||0;if(ue.test(v)){const{projection:y}=this.visualElement;if(y&&y.layout){const x=y.layout.layoutBox[m];x&&(v=Ft(x)*(parseFloat(v)/100))}}this.originPoint[m]=v}),h&&ot.postRender(()=>h(l,u)),Ro(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:h,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=Cv(v),this.currentDirection!==null&&h&&h(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=()=>Yt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Wu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Vu(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&&ot.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||!li(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=bv(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&&nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=xv(s.layoutBox,t):this.constraints=!1,this.elastic=_v(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Yt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=Sv(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!nn(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=$g(s,n.root,this.visualElement.getTransformPagePoint());let o=Tv(n.layout.layoutBox,i);if(e){const r=e(kg(o));this.hasMutatedConstraints=!!r,r&&(o=Rc(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Yt(u=>{if(!li(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,h=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:h,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 Ro(this.visualElement,t),s.start(Oo(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Yt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Yt(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){Yt(e=>{const{drag:s}=this.getProps();if(!li(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]-lt(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!nn(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Yt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=wv({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(),Yt(o=>{if(!li(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(lt(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Av.set(this.visualElement,this);const t=this.state.element,e=on(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();nn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ot.read(s);const o=en(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Yt(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=sr,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function li(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Cv(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Ev=class extends de{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Gt,this.removeListeners=Gt,this.controls=new Pv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Gt}unmount(){this.removeGroupControls(),this.removeListeners()}},Vv=class extends de{static#t=this.key="layout";constructor(t){super(t),Gc(Hu)}updatePrevLead(t){const e=this.state.visualElement.projection;e.isPresent!==t&&(e.isPresent=t,t?!e.isLead()&&e?.promote():e.isLead()&&e?.relegate())}didUpdate(){(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&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=!Bu(this.state.element);s.isPresent=n,n?s?.promote():s?.relegate()}e?.group?.add(s),ai.hasEverUpdated=!0}this.didUpdate()}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)}getSnapshot(t){const e=this.state.visualElement.projection,{layout:s,layoutId:n,drag:i,layoutDependency:o}=this.state.visualElement.props,r=this.state.visualElement.prevProps;!e||!s&&!n&&!i||((i||r.layoutDependency!==o||o===void 0||t!==e.isPresent)&&e.willUpdate(),n&&this.updatePrevLead(t),jr(()=>{this.didUpdate()}))}};const Mv={renderer:av,features:[ov,rv,lv,uv,fv,hv,pv,yv,Ev,Vv]},[Dv]=Ks("LazyMotionContext"),[Ov]=Ks("AnimatePresenceContext");function Rv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function sf(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Lv(){return{...sf(),attrs:{}}}function Fv(t){const e=sf();Go(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 Iv(t,e,s){const n=Lv();Yc(n,t,Xc(e),void 0,s);const i={};for(const o in n.attrs){const r=zo.has(o)?o:Rv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function kv(t,e={}){const s=Hy(null),n=Wy({}),i=qy(),o=Ov({}),r=Dv({features:os({}),strict:!1}),a=Dh();function l(){return dp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Jy(u(),s,e);Ky(c),Vn(r.features,y=>{c.setBundle(y)},{immediate:!0,flush:"pre"});function f(){const y=c.type==="svg",x={...a};Object.keys(a).forEach(_=>{Vt(a[_])&&(x[_]=a[_].get())});const A=c.visualElement?.latestValues||c.latestValues;let C={...t.style,...y?{}:A};for(const _ in C)Vt(C[_])&&(C[_]=C[_].get());if(y){const{attrs:_,style:F}=Iv({...A,...C},c.options.as,t.style);Object.assign(x,_),C=F}t.drag&&t.dragListener!==!1&&Object.assign(C,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const E=Fv(C);return E&&(x.style=E),x}const h=Un()?.proxy;function m(){const y=Qo(h?.$el);c.mount(y)}ki(()=>{c.updateOptions(u()),c.beforeUnmount()}),Ii(m);function v(){Qo(h?.$el)?.isConnected||c.unmount()}return ji(v),ta(v),Qr(()=>{c.isMounted()||m()}),sa(()=>{c.updateOptions(u()),c.beforeUpdate()}),na(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const jv={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 Bv=new Map,$v=new Map;function Nv(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 Uv=["area","img","input"];function Hv(t,e,s){if(typeof t=="string"&&Uv.includes(t))return Yi(t,e);if(t==="template"){if(!s.default)return null;const n=Nv(s.default()),i=n.findIndex(l=>l.type!==wt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?La(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=Te(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 nf(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?Bv:$v;if(s&&i.has(t))return i.get(t);const o=bh({inheritAttrs:!1,props:{...jv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=kv(r,e);function f(){const h=c.element;if((typeof r.as!="object"||r.asChild)&&h){const{style:m}=u();if(m)for(const[v,y]of Object.entries(m))h.style[v]=y}}return()=>{const h=l(),m=u(),v=r.asChild?"template":r.as,y={...r.forwardMotionProps?h:{},...m,onVnodeUpdated:f},x=Hv(v,y,a);return x!==null?x:Yi(v,{...y},a)}}});return s&&i.set(t,o),o}function Kv(t){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>nf(n,{...i,...t}):nf(s,{...t})}})}const of=Kv(Mv);of.create("div");const Wv={class:"slds-navigation-list--vertical"},Gv={class:"slds-navigation-list__item-content"},zv={class:"slds-navigation-list__item-title"},qv={__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=os(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(),N("div",Wv,[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)),(k(!0),N(dt,null,Re(t.schemas,u=>(k(),N("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Gv,[g("div",zv,[it(Lr(of).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Dt(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:En(()=>[ks(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},rf="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",af=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},Yv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Xv={class:"slds-notify__content"},lf=af({__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(),N("div",Yv,[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:rf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Xv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Zv={key:0,class:"slds-m-top_medium"},Jv={class:"slds-box slds-theme_shade"},Qv={class:"slds-grid slds-wrap slds-gutters"},t0={class:"constraint-item"},e0={class:"slds-text-title_caps slds-text-color_default"},s0={class:"slds-text-body_regular slds-m-top_xx-small"},nr={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{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=_t(()=>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(),N("div",Zv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Jv,[g("div",Qv,[(k(!0),N(dt,null,Re(s.value,(u,c)=>(k(),N("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",t0,[g("div",e0,J(i(c)),1),g("div",s0,[g("span",{class:Dt(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):$t("",!0)}},n0={class:"array-schema"},i0={class:"slds-box slds-theme_shade"},o0={class:"slds-grid slds-gutters"},r0={key:0,class:"slds-col"},a0={class:"slds-badge"},l0={key:1,class:"slds-m-top_medium"},c0={class:"slds-text-title_caps slds-m-bottom_xx-small"},u0={key:3,class:"slds-m-top_medium"},f0={key:4,class:"slds-m-top_medium"},h0={key:0,class:"slds-m-top_xx-small"},d0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=_t(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(k(),N("div",n0,[g("div",i0,[g("div",o0,[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(),N("div",r0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",a0,J(n.value),1)])):$t("",!0)])]),s.value?(k(),Bt(nr,{key:0,schema:t.schema},null,8,["schema"])):$t("",!0),t.schema.items?(k(),N("div",l0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(k(!0),N(dt,{key:0},Re(t.schema.items,(r,a)=>(k(),N("div",{key:a,class:"slds-m-bottom_medium"},[g("div",c0," Index "+J(a),1),it(Ee,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(k(),Bt(Ee,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(k(),Bt(lf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(k(),N("div",u0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),it(Ee,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):$t("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(k(),N("div",f0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(k(),N("div",h0,[g("span",{class:Dt(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0)]))}},p0={class:"slds-box slds-theme_shade"},m0={class:"slds-text-heading_small slds-m-bottom_small"},g0={class:"slds-tabs_default"},y0={class:"slds-tabs_default__nav",role:"tablist"},v0=["aria-selected","aria-controls","onClick"],b0={class:"slds-tabs_default__title"},x0=["id"],_0={class:"slds-p-around_medium"},S0={class:"slds-text-title_caps slds-m-bottom_small"},T0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=os(0),i=_t(()=>e.schema[s.value]||[]);dh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=_t(()=>{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=_t(()=>{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(),N("div",p0,[g("div",m0,[g("span",{class:Dt(["slds-badge",r.value])},J(o.value),3)]),g("div",g0,[g("ul",y0,[(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("li",{key:h,class:Dt(["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:m=>n.value=h},[g("span",b0,J(l(f,h)),1)],8,v0)],2))),128))]),(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("div",{id:`tab-${h}`,key:h,class:Dt(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",_0,[g("div",S0," Schema Type: "+J(a(f)),1),it(Ee,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,x0))),128))])]))}},w0={class:"slds-box slds-theme_shade"},A0={class:"slds-grid slds-wrap slds-gutters"},P0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},C0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},E0={key:1,class:"slds-badge slds-badge_inverse"},V0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.const),n=_t(()=>typeof s.value=="object"&&s.value!==null),i=_t(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(k(),N("div",w0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",A0,[g("div",P0,[n.value?(k(),N("pre",C0,[g("code",null,J(i.value),1)])):(k(),N("div",E0,J(i.value),1))])])]))}},M0={class:"slds-box slds-theme_shade"},D0={class:"slds-grid slds-wrap slds-gutters"},O0={class:"slds-badge slds-badge_inverse"},R0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.enum);return(n,i)=>(k(),N("div",M0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",D0,[(k(!0),N(dt,null,Re(s.value,(o,r)=>(k(),N("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",O0,J(o),1)]))),128))])]))}},L0="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",F0={key:0},I0={key:1},k0={class:"slds-box slds-m-top_small"},j0={class:"slds-table_container"},B0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},$0=["onClick"],N0=["title"],U0={class:"slds-truncate"},H0={class:"slds-badge"},K0=["title"],W0={class:"slds-truncate"},G0={key:0,class:"slds-badge slds-badge_success"},z0={key:1,class:"slds-badge slds-badge_inverse"},q0={key:0},Y0={colspan:"4",class:"slds-p-around_medium"},X0={class:"slds-box slds-theme_shade"},Z0={key:2},J0={key:3},Q0={key:0},tb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=os({}),n=_t(()=>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:ts.hasComposition(a)?"composition":ts.isEnum(a)?"enum":ts.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(k(),N("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),it(nr,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(k(),N("div",F0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):$t("",!0),n.value?(k(),N("div",I0,[g("div",k0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",j0,[g("table",B0,[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,[(k(!0),N(dt,null,Re(t.schema.properties,(u,c)=>(k(),N(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:L0,class:Dt(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),ks(" "+J(c),1)],8,N0)]),g("td",null,[g("div",U0,[g("span",H0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,K0)]),g("td",null,[g("div",W0,[i(c)?(k(),N("span",G0,"Required")):(k(),N("span",z0,"Optional"))])])],8,$0),it(_d,null,{default:En(()=>[s.value[c]?(k(),N("tr",q0,[g("td",Y0,[g("div",X0,[it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):$t("",!0)]),_:2},1024)],64))),128))])])])])])):$t("",!0),t.schema.patternProperties?(k(),N("div",Z0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(k(!0),N(dt,null,Re(t.schema.patternProperties,(u,c)=>(k(),N("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):$t("",!0),t.schema.additionalProperties!==void 0?(k(),N("div",J0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(k(),N("div",Q0,[g("span",{class:Dt(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0),n.value?$t("",!0):(k(),Bt(lf,{key:4}))]))}},eb={class:"slds-box slds-m-top_small"},sb={class:"slds-box slds-theme_shade"},nb={class:"slds-text-body_regular"},ib={class:"slds-grid slds-gutters"},ob={class:"slds-col"},rb={class:"slds-badge"},ab={class:"slds-col"},rn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",eb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",sb,[g("div",nb,[g("div",ib,[g("div",ob,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",rb,J(t.schema.type),1)]),g("div",ab,[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)])])])]),it(nr,{schema:t.schema},null,8,["schema"])]))}},lb={object:tb,array:d0,string:rn,number:rn,integer:rn,boolean:rn,null:rn},ts={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ts.hasComposition(t)?T0:ts.isEnum(t)?R0:ts.isConst(t)?V0:lb[t.type]||null},cb={class:"slds-grid slds-grid_vertical"},ub={class:"slds-col slds-size_1-of-1"},fb={class:"slds-card"},hb={class:"slds-card__body slds-card__body_inner"},db={__name:"SchemaLayout",setup(t){return(e,s)=>(k(),N("div",cb,[g("div",ub,[g("div",fb,[g("div",hb,[Vh(e.$slots,"default")])])])]))}},pb={class:"slds-box"},mb={class:"slds-box slds-theme_shade"},gb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(k(),N("div",pb,[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",mb,[g("code",null,J(s.value),1)])]))}},yb={class:"slds-page-header"},vb={class:"slds-page-header__row"},bb={class:"slds-page-header__col-title"},xb={class:"slds-media"},_b={class:"slds-media__body"},Sb={class:"slds-page-header__name"},Tb={class:"slds-page-header__name-title"},wb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Ab={class:"slds-page-header__meta-text"},Pb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",yb,[g("div",vb,[g("div",bb,[g("div",xb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:al,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",_b,[g("div",Sb,[g("div",Tb,[g("h1",wb,J(t.schema.title||"Schema"),1)])]),g("div",Ab,J(t.schema.description||"No description provided"),1)])])])])]))}},Cb={class:"slds-tabs_default__nav",role:"tablist"},Eb={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(k(),N("ul",Cb,[g("li",{class:Dt(["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:Dt(["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)]))}},Vb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Mb={class:"slds-notify__content"},Db=af({__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(),N("div",Vb,[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:rf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Mb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Ob={class:"slds-tabs_default"},Rb={class:"slds-p-around_medium"},Lb={class:"slds-m-top_medium"},Fb={class:"slds-p-around_medium"},Ee={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=os("visual"),n=_t(()=>e.isRoot?e.schema:e.rootSchema);Oi("rootSchema",n);const i=_t(()=>ts.getComponentForSchema(e.schema));return(o,r)=>(k(),Bt(db,null,{default:En(()=>[g("div",Ob,[it(Eb,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Dt({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Rb,[it(Pb,{schema:t.schema},null,8,["schema"]),g("div",Lb,[i.value?(k(),Bt(Ch(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(k(),Bt(Db,{key:1}))])])],2),g("div",{class:Dt({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Fb,[it(gb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Ib={class:"slds-grid slds-grid_vertical"},kb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},jb={class:"slds-col slds-size_2-of-12"},Bb={class:"slds-col slds-size_10-of-12"},$b={key:1,class:"slds-p-around_medium"},cf={__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=os(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(k(),N("div",Ib,[it(hp,{title:t.title},null,8,["title"]),g("div",kb,[g("div",jb,[it(qv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",Bb,[s.value?(k(),Bt(Ee,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(k(),N("div",$b,[...o[0]||(o[0]=[rd('<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)])]))])]),it(np,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function uf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&rl(cf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",uf):uf(),je.App=cf,je.createApp=rl,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}));