lumina-slides 8.5.3 → 8.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,58 +1,58 @@
1
- (function(Le,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports):typeof define=="function"&&define.amd?define(["exports"],Ke):(Le=typeof globalThis<"u"?globalThis:Le||self,Ke(Le.LuminaSlides={}))})(this,function(Le){"use strict";var Z1=Object.defineProperty;var L1=(Le,Ke,oe)=>Ke in Le?Z1(Le,Ke,{enumerable:!0,configurable:!0,writable:!0,value:oe}):Le[Ke]=oe;var nt=(Le,Ke,oe)=>L1(Le,typeof Ke!="symbol"?Ke+"":Ke,oe);/**
1
+ (function(Ve,Xe){typeof exports=="object"&&typeof module<"u"?Xe(exports):typeof define=="function"&&define.amd?define(["exports"],Xe):(Ve=typeof globalThis<"u"?globalThis:Ve||self,Xe(Ve.LuminaSlides={}))})(this,function(Ve){"use strict";var lx=Object.defineProperty;var cx=(Ve,Xe,ae)=>Xe in Ve?lx(Ve,Xe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Ve[Xe]=ae;var it=(Ve,Xe,ae)=>cx(Ve,typeof Xe!="symbol"?Xe+"":Xe,ae);/**
2
2
  * @vue/shared v3.5.26
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **/function Ke(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const oe={},cr=[],Zt=()=>{},wa=()=>!1,Pi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Is=t=>t.startsWith("onUpdate:"),De=Object.assign,Ds=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},od=Object.prototype.hasOwnProperty,le=(t,e)=>od.call(t,e),J=Array.isArray,ur=t=>Ai(t)==="[object Map]",Sa=t=>Ai(t)==="[object Set]",q=t=>typeof t=="function",we=t=>typeof t=="string",rn=t=>typeof t=="symbol",pe=t=>t!==null&&typeof t=="object",ka=t=>(pe(t)||q(t))&&q(t.then)&&q(t.catch),Ta=Object.prototype.toString,Ai=t=>Ta.call(t),ad=t=>Ai(t).slice(8,-1),za=t=>Ai(t)==="[object Object]",Ms=t=>we(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,jr=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ii=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ld=/-\w/g,Tt=Ii(t=>t.replace(ld,e=>e.slice(1).toUpperCase())),cd=/\B([A-Z])/g,Ln=Ii(t=>t.replace(cd,"-$1").toLowerCase()),Di=Ii(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ns=Ii(t=>t?`on${Di(t)}`:""),yn=(t,e)=>!Object.is(t,e),Rs=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Ca=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},ud=t=>{const e=parseFloat(t);return isNaN(e)?t:e},fd=t=>{const e=we(t)?Number(t):NaN;return isNaN(e)?t:e};let Oa;const Mi=()=>Oa||(Oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(t){if(J(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=we(r)?_d(r):Lt(r);if(i)for(const s in i)e[s]=i[s]}return e}else if(we(t)||pe(t))return t}const dd=/;(?![^(]*\))/g,hd=/:([^]+)/,pd=/\/\*[^]*?\*\//g;function _d(t){const e={};return t.replace(pd,"").split(dd).forEach(n=>{if(n){const r=n.split(hd);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function X(t){let e="";if(we(t))e=t;else if(J(t))for(let n=0;n<t.length;n++){const r=X(t[n]);r&&(e+=r+" ")}else if(pe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const md=Ke("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ea(t){return!!t||t===""}const $a=t=>!!(t&&t.__v_isRef===!0),ae=t=>we(t)?t:t==null?"":J(t)||pe(t)&&(t.toString===Ta||!q(t.toString))?$a(t)?ae(t.value):JSON.stringify(t,Pa,2):String(t),Pa=(t,e)=>$a(e)?Pa(t,e.value):ur(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i],s)=>(n[Fs(r,s)+" =>"]=i,n),{})}:Sa(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Fs(n))}:rn(e)?Fs(e):pe(e)&&!J(e)&&!za(e)?String(e):e,Fs=(t,e="")=>{var n;return rn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
5
+ **/function Xe(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const ae={},ur=[],jt=()=>{},Ca=()=>!1,Ai=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Rs=t=>t.startsWith("onUpdate:"),Re=Object.assign,Fs=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},hd=Object.prototype.hasOwnProperty,ce=(t,e)=>hd.call(t,e),q=Array.isArray,fr=t=>Ii(t)==="[object Map]",Oa=t=>Ii(t)==="[object Set]",G=t=>typeof t=="function",ke=t=>typeof t=="string",rn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",$a=t=>(me(t)||G(t))&&G(t.then)&&G(t.catch),Ea=Object.prototype.toString,Ii=t=>Ea.call(t),pd=t=>Ii(t).slice(8,-1),Pa=t=>Ii(t)==="[object Object]",Zs=t=>ke(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ur=Xe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Di=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},md=/-\w/g,zt=Di(t=>t.replace(md,e=>e.slice(1).toUpperCase())),gd=/\B([A-Z])/g,jn=Di(t=>t.replace(gd,"-$1").toLowerCase()),Mi=Di(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ls=Di(t=>t?`on${Mi(t)}`:""),xn=(t,e)=>!Object.is(t,e),Ni=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Aa=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},js=t=>{const e=parseFloat(t);return isNaN(e)?t:e},_d=t=>{const e=ke(t)?Number(t):NaN;return isNaN(e)?t:e};let Ia;const Ri=()=>Ia||(Ia=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qe(t){if(q(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=ke(r)?xd(r):Qe(r);if(i)for(const s in i)e[s]=i[s]}return e}else if(ke(t)||me(t))return t}const vd=/;(?![^(]*\))/g,yd=/:([^]+)/,bd=/\/\*[^]*?\*\//g;function xd(t){const e={};return t.replace(bd,"").split(vd).forEach(n=>{if(n){const r=n.split(yd);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Y(t){let e="";if(ke(t))e=t;else if(q(t))for(let n=0;n<t.length;n++){const r=Y(t[n]);r&&(e+=r+" ")}else if(me(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const wd=Xe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Da(t){return!!t||t===""}const Ma=t=>!!(t&&t.__v_isRef===!0),ie=t=>ke(t)?t:t==null?"":q(t)||me(t)&&(t.toString===Ea||!G(t.toString))?Ma(t)?ie(t.value):JSON.stringify(t,Na,2):String(t),Na=(t,e)=>Ma(e)?Na(t,e.value):fr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i],s)=>(n[Us(r,s)+" =>"]=i,n),{})}:Oa(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Us(n))}:rn(e)?Us(e):me(e)&&!q(e)&&!Pa(e)?String(e):e,Us=(t,e="")=>{var n;return rn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
6
6
  * @vue/reactivity v3.5.26
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let rt;class gd{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=rt,!e&&rt&&(this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=rt;try{return rt=this,e()}finally{rt=n}}}on(){++this._on===1&&(this.prevScope=rt,rt=this)}off(){this._on>0&&--this._on===0&&(rt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].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 vd(){return rt}let _e;const Zs=new WeakSet;class Aa{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,rt&&rt.active&&rt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zs.has(this)&&(Zs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Da(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Za(this),Ma(this);const e=_e,n=Dt;_e=this,Dt=!0;try{return this.fn()}finally{Na(this),_e=e,Dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Bs(e);this.deps=this.depsTail=void 0,Za(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Us(this)&&this.run()}get dirty(){return Us(this)}}let Ia=0,Ur,Br;function Da(t,e=!1){if(t.flags|=8,e){t.next=Br,Br=t;return}t.next=Ur,Ur=t}function Ls(){Ia++}function js(){if(--Ia>0)return;if(Br){let e=Br;for(Br=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Ur;){let e=Ur;for(Ur=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function Ma(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Na(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Bs(r),yd(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Us(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ra(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ra(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Vr)||(t.globalVersion=Vr,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Us(t))))return;t.flags|=2;const e=t.dep,n=_e,r=Dt;_e=t,Dt=!0;try{Ma(t);const i=t.fn(t._value);(e.version===0||yn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{_e=n,Dt=r,Na(t),t.flags&=-3}}function Bs(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Bs(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function yd(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Dt=!0;const Fa=[];function jt(){Fa.push(Dt),Dt=!1}function Ut(){const t=Fa.pop();Dt=t===void 0?!0:t}function Za(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=_e;_e=void 0;try{e()}finally{_e=n}}}let Vr=0;class bd{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{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(!_e||!Dt||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new bd(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,La(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=r)}return n}trigger(e){this.version++,Vr++,this.notify(e)}notify(e){Ls();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{js()}}}function La(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)La(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Hs=new WeakMap,jn=Symbol(""),Ws=Symbol(""),Hr=Symbol("");function je(t,e,n){if(Dt&&_e){let r=Hs.get(t);r||Hs.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new Vs),i.map=r,i.key=n),i.track()}}function sn(t,e,n,r,i,s){const o=Hs.get(t);if(!o){Vr++;return}const a=l=>{l&&l.trigger()};if(Ls(),e==="clear")o.forEach(a);else{const l=J(t),u=l&&Ms(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,d)=>{(d==="length"||d===Hr||!rn(d)&&d>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Hr)),e){case"add":l?u&&a(o.get("length")):(a(o.get(jn)),ur(t)&&a(o.get(Ws)));break;case"delete":l||(a(o.get(jn)),ur(t)&&a(o.get(Ws)));break;case"set":ur(t)&&a(o.get(jn));break}}js()}function fr(t){const e=ie(t);return e===t?e:(je(e,"iterate",Hr),zt(t)?e:e.map(Mt))}function Ni(t){return je(t=ie(t),"iterate",Hr),t}function bn(t,e){return an(t)?Un(t)?dr(Mt(e)):dr(e):Mt(e)}const xd={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,t=>bn(this,t))},concat(...t){return fr(this).concat(...t.map(e=>J(e)?fr(e):e))},entries(){return Js(this,"entries",t=>(t[1]=bn(this,t[1]),t))},every(t,e){return on(this,"every",t,e,void 0,arguments)},filter(t,e){return on(this,"filter",t,e,n=>n.map(r=>bn(this,r)),arguments)},find(t,e){return on(this,"find",t,e,n=>bn(this,n),arguments)},findIndex(t,e){return on(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return on(this,"findLast",t,e,n=>bn(this,n),arguments)},findLastIndex(t,e){return on(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return on(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ks(this,"includes",t)},indexOf(...t){return Ks(this,"indexOf",t)},join(t){return fr(this).join(t)},lastIndexOf(...t){return Ks(this,"lastIndexOf",t)},map(t,e){return on(this,"map",t,e,void 0,arguments)},pop(){return Wr(this,"pop")},push(...t){return Wr(this,"push",t)},reduce(t,...e){return ja(this,"reduce",t,e)},reduceRight(t,...e){return ja(this,"reduceRight",t,e)},shift(){return Wr(this,"shift")},some(t,e){return on(this,"some",t,e,void 0,arguments)},splice(...t){return Wr(this,"splice",t)},toReversed(){return fr(this).toReversed()},toSorted(t){return fr(this).toSorted(t)},toSpliced(...t){return fr(this).toSpliced(...t)},unshift(...t){return Wr(this,"unshift",t)},values(){return Js(this,"values",t=>bn(this,t))}};function Js(t,e,n){const r=Ni(t),i=r[e]();return r!==t&&!zt(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const wd=Array.prototype;function on(t,e,n,r,i,s){const o=Ni(t),a=o!==t&&!zt(t),l=o[e];if(l!==wd[e]){const f=l.apply(t,s);return a?Mt(f):f}let u=n;o!==t&&(a?u=function(f,d){return n.call(this,bn(t,f),d,t)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,t)}));const c=l.call(o,u,r);return a&&i?i(c):c}function ja(t,e,n,r){const i=Ni(t);let s=n;return i!==t&&(zt(t)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,t)}):s=function(o,a,l){return n.call(this,o,bn(t,a),l,t)}),i[e](s,...r)}function Ks(t,e,n){const r=ie(t);je(r,"iterate",Hr);const i=r[e](...n);return(i===-1||i===!1)&&Ys(n[0])?(n[0]=ie(n[0]),r[e](...n)):i}function Wr(t,e,n=[]){jt(),Ls();const r=ie(t)[e].apply(t,n);return js(),Ut(),r}const Sd=Ke("__proto__,__v_isRef,__isVue"),Ua=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rn));function kd(t){rn(t)||(t=String(t));const e=ie(this);return je(e,"has",t),e.hasOwnProperty(t)}class Ba{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?qa:Ka:s?Ja:Wa).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=J(e);if(!i){let l;if(o&&(l=xd[n]))return l;if(n==="hasOwnProperty")return kd}const a=Reflect.get(e,n,Re(e)?e:r);if((rn(n)?Ua.has(n):Sd(n))||(i||je(e,"get",n),s))return a;if(Re(a)){const l=o&&Ms(n)?a:a.value;return i&&pe(l)?ji(l):l}return pe(a)?i?ji(a):Li(a):a}}class Va extends Ba{constructor(e=!1){super(!1,e)}set(e,n,r,i){let s=e[n];const o=J(e)&&Ms(n);if(!this._isShallow){const u=an(s);if(!zt(r)&&!an(r)&&(s=ie(s),r=ie(r)),!o&&Re(s)&&!Re(r))return u||(s.value=r),!0}const a=o?Number(n)<e.length:le(e,n),l=Reflect.set(e,n,r,Re(e)?e:i);return e===ie(i)&&(a?yn(r,s)&&sn(e,"set",n,r):sn(e,"add",n,r)),l}deleteProperty(e,n){const r=le(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&sn(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!rn(n)||!Ua.has(n))&&je(e,"has",n),r}ownKeys(e){return je(e,"iterate",J(e)?"length":jn),Reflect.ownKeys(e)}}class Ha extends Ba{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Td=new Va,zd=new Ha,Cd=new Va(!0),Od=new Ha(!0),qs=t=>t,Ri=t=>Reflect.getPrototypeOf(t);function Ed(t,e,n){return function(...r){const i=this.__v_raw,s=ie(i),o=ur(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...r),c=n?qs:e?dr:Mt;return!e&&je(s,"iterate",l?Ws:jn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Fi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function $d(t,e){const n={get(i){const s=this.__v_raw,o=ie(s),a=ie(i);t||(yn(i,a)&&je(o,"get",i),je(o,"get",a));const{has:l}=Ri(o),u=e?qs:t?dr:Mt;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&je(ie(i),"iterate",jn),i.size},has(i){const s=this.__v_raw,o=ie(s),a=ie(i);return t||(yn(i,a)&&je(o,"has",i),je(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=ie(a),u=e?qs:t?dr:Mt;return!t&&je(l,"iterate",jn),a.forEach((c,f)=>i.call(s,u(c),u(f),o))}};return De(n,t?{add:Fi("add"),set:Fi("set"),delete:Fi("delete"),clear:Fi("clear")}:{add(i){!e&&!zt(i)&&!an(i)&&(i=ie(i));const s=ie(this);return Ri(s).has.call(s,i)||(s.add(i),sn(s,"add",i,i)),this},set(i,s){!e&&!zt(s)&&!an(s)&&(s=ie(s));const o=ie(this),{has:a,get:l}=Ri(o);let u=a.call(o,i);u||(i=ie(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?yn(s,c)&&sn(o,"set",i,s):sn(o,"add",i,s),this},delete(i){const s=ie(this),{has:o,get:a}=Ri(s);let l=o.call(s,i);l||(i=ie(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&sn(s,"delete",i,void 0),u},clear(){const i=ie(this),s=i.size!==0,o=i.clear();return s&&sn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Ed(i,t,e)}),n}function Zi(t,e){const n=$d(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(le(n,i)&&i in r?n:r,i,s)}const Pd={get:Zi(!1,!1)},Ad={get:Zi(!1,!0)},Id={get:Zi(!0,!1)},Dd={get:Zi(!0,!0)},Wa=new WeakMap,Ja=new WeakMap,Ka=new WeakMap,qa=new WeakMap;function Md(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Nd(t){return t.__v_skip||!Object.isExtensible(t)?0:Md(ad(t))}function Li(t){return an(t)?t:Ui(t,!1,Td,Pd,Wa)}function Rd(t){return Ui(t,!1,Cd,Ad,Ja)}function ji(t){return Ui(t,!0,zd,Id,Ka)}function U1(t){return Ui(t,!0,Od,Dd,qa)}function Ui(t,e,n,r,i){if(!pe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=Nd(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?r:n);return i.set(t,a),a}function Un(t){return an(t)?Un(t.__v_raw):!!(t&&t.__v_isReactive)}function an(t){return!!(t&&t.__v_isReadonly)}function zt(t){return!!(t&&t.__v_isShallow)}function Ys(t){return t?!!t.__v_raw:!1}function ie(t){const e=t&&t.__v_raw;return e?ie(e):t}function Fd(t){return!le(t,"__v_skip")&&Object.isExtensible(t)&&Ca(t,"__v_skip",!0),t}const Mt=t=>pe(t)?Li(t):t,dr=t=>pe(t)?ji(t):t;function Re(t){return t?t.__v_isRef===!0:!1}function it(t){return Zd(t,!1)}function Zd(t,e){return Re(t)?t:new Ld(t,e)}class Ld{constructor(e,n){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ie(e),this._value=n?e:Mt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||zt(e)||an(e);e=r?e:ie(e),yn(e,n)&&(this._rawValue=e,this._value=r?e:Mt(e),this.dep.trigger())}}function Bt(t){return Re(t)?t.value:t}const jd={get:(t,e,n)=>e==="__v_raw"?t:Bt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Re(i)&&!Re(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Ya(t){return Un(t)?t:new Proxy(t,jd)}class Ud{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Da(this,!0),!0}get value(){const e=this.dep.track();return Ra(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Bd(t,e,n=!1){let r,i;return q(t)?r=t:(r=t.get,i=t.set),new Ud(r,i,n)}const Bi={},Vi=new WeakMap;let Bn;function Vd(t,e=!1,n=Bn){if(n){let r=Vi.get(n);r||Vi.set(n,r=[]),r.push(t)}}function Hd(t,e,n=oe){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=x=>i?x:zt(x)||i===!1||i===0?xn(x,1):xn(x);let c,f,d,h,_=!1,p=!1;if(Re(t)?(f=()=>t.value,_=zt(t)):Un(t)?(f=()=>u(t),_=!0):J(t)?(p=!0,_=t.some(x=>Un(x)||zt(x)),f=()=>t.map(x=>{if(Re(x))return x.value;if(Un(x))return u(x);if(q(x))return l?l(x,2):x()})):q(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){jt();try{d()}finally{Ut()}}const x=Bn;Bn=c;try{return l?l(t,3,[h]):t(h)}finally{Bn=x}}:f=Zt,e&&i){const x=f,y=i===!0?1/0:i;f=()=>xn(x(),y)}const b=vd(),w=()=>{c.stop(),b&&b.active&&Ds(b.effects,c)};if(s&&e){const x=e;e=(...y)=>{x(...y),w()}}let k=p?new Array(t.length).fill(Bi):Bi;const T=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(e){const y=c.run();if(i||_||(p?y.some((E,P)=>yn(E,k[P])):yn(y,k))){d&&d();const E=Bn;Bn=c;try{const P=[y,k===Bi?void 0:p&&k[0]===Bi?[]:k,h];k=y,l?l(e,3,P):e(...P)}finally{Bn=E}}}else c.run()};return a&&a(T),c=new Aa(f),c.scheduler=o?()=>o(T,!1):T,h=x=>Vd(x,!1,c),d=c.onStop=()=>{const x=Vi.get(c);if(x){if(l)l(x,4);else for(const y of x)y();Vi.delete(c)}},e?r?T(!0):k=c.run():o?o(T.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function xn(t,e=1/0,n){if(e<=0||!pe(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Re(t))xn(t.value,e,n);else if(J(t))for(let r=0;r<t.length;r++)xn(t[r],e,n);else if(Sa(t)||ur(t))t.forEach(r=>{xn(r,e,n)});else if(za(t)){for(const r in t)xn(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&xn(t[r],e,n)}return t}/**
9
+ **/let st;class Sd{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=st,!e&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=st;try{return st=this,e()}finally{st=n}}}on(){++this._on===1&&(this.prevScope=st,st=this)}off(){this._on>0&&--this._on===0&&(st=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].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 kd(){return st}let ge;const Vs=new WeakSet;class Ra{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)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vs.has(this)&&(Vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Za(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ba(this),La(this);const e=ge,n=Nt;ge=this,Nt=!0;try{return this.fn()}finally{ja(this),ge=e,Nt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Js(e);this.deps=this.depsTail=void 0,Ba(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Hs(this)&&this.run()}get dirty(){return Hs(this)}}let Fa=0,Vr,Br;function Za(t,e=!1){if(t.flags|=8,e){t.next=Br,Br=t;return}t.next=Vr,Vr=t}function Bs(){Fa++}function Ws(){if(--Fa>0)return;if(Br){let e=Br;for(Br=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Vr;){let e=Vr;for(Vr=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function La(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ja(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Js(r),Td(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Hs(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ua(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ua(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Wr)||(t.globalVersion=Wr,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Hs(t))))return;t.flags|=2;const e=t.dep,n=ge,r=Nt;ge=t,Nt=!0;try{La(t);const i=t.fn(t._value);(e.version===0||xn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ge=n,Nt=r,ja(t),t.flags&=-3}}function Js(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Js(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Td(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Nt=!0;const Va=[];function Ut(){Va.push(Nt),Nt=!1}function Vt(){const t=Va.pop();Nt=t===void 0?!0:t}function Ba(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ge;ge=void 0;try{e()}finally{ge=n}}}let Wr=0;class zd{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ks{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(!ge||!Nt||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new zd(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,Wa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=r)}return n}trigger(e){this.version++,Wr++,this.notify(e)}notify(e){Bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ws()}}}function Wa(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)Wa(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const qs=new WeakMap,Un=Symbol(""),Ys=Symbol(""),Hr=Symbol("");function Be(t,e,n){if(Nt&&ge){let r=qs.get(t);r||qs.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new Ks),i.map=r,i.key=n),i.track()}}function sn(t,e,n,r,i,s){const o=qs.get(t);if(!o){Wr++;return}const a=l=>{l&&l.trigger()};if(Bs(),e==="clear")o.forEach(a);else{const l=q(t),u=l&&Zs(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,d)=>{(d==="length"||d===Hr||!rn(d)&&d>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Hr)),e){case"add":l?u&&a(o.get("length")):(a(o.get(Un)),fr(t)&&a(o.get(Ys)));break;case"delete":l||(a(o.get(Un)),fr(t)&&a(o.get(Ys)));break;case"set":fr(t)&&a(o.get(Un));break}}Ws()}function dr(t){const e=oe(t);return e===t?e:(Be(e,"iterate",Hr),Ct(t)?e:e.map(Rt))}function Fi(t){return Be(t=oe(t),"iterate",Hr),t}function wn(t,e){return an(t)?Vn(t)?hr(Rt(e)):hr(e):Rt(e)}const Cd={__proto__:null,[Symbol.iterator](){return Gs(this,Symbol.iterator,t=>wn(this,t))},concat(...t){return dr(this).concat(...t.map(e=>q(e)?dr(e):e))},entries(){return Gs(this,"entries",t=>(t[1]=wn(this,t[1]),t))},every(t,e){return on(this,"every",t,e,void 0,arguments)},filter(t,e){return on(this,"filter",t,e,n=>n.map(r=>wn(this,r)),arguments)},find(t,e){return on(this,"find",t,e,n=>wn(this,n),arguments)},findIndex(t,e){return on(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return on(this,"findLast",t,e,n=>wn(this,n),arguments)},findLastIndex(t,e){return on(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return on(this,"forEach",t,e,void 0,arguments)},includes(...t){return Xs(this,"includes",t)},indexOf(...t){return Xs(this,"indexOf",t)},join(t){return dr(this).join(t)},lastIndexOf(...t){return Xs(this,"lastIndexOf",t)},map(t,e){return on(this,"map",t,e,void 0,arguments)},pop(){return Jr(this,"pop")},push(...t){return Jr(this,"push",t)},reduce(t,...e){return Ha(this,"reduce",t,e)},reduceRight(t,...e){return Ha(this,"reduceRight",t,e)},shift(){return Jr(this,"shift")},some(t,e){return on(this,"some",t,e,void 0,arguments)},splice(...t){return Jr(this,"splice",t)},toReversed(){return dr(this).toReversed()},toSorted(t){return dr(this).toSorted(t)},toSpliced(...t){return dr(this).toSpliced(...t)},unshift(...t){return Jr(this,"unshift",t)},values(){return Gs(this,"values",t=>wn(this,t))}};function Gs(t,e,n){const r=Fi(t),i=r[e]();return r!==t&&!Ct(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const Od=Array.prototype;function on(t,e,n,r,i,s){const o=Fi(t),a=o!==t&&!Ct(t),l=o[e];if(l!==Od[e]){const f=l.apply(t,s);return a?Rt(f):f}let u=n;o!==t&&(a?u=function(f,d){return n.call(this,wn(t,f),d,t)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,t)}));const c=l.call(o,u,r);return a&&i?i(c):c}function Ha(t,e,n,r){const i=Fi(t);let s=n;return i!==t&&(Ct(t)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,t)}):s=function(o,a,l){return n.call(this,o,wn(t,a),l,t)}),i[e](s,...r)}function Xs(t,e,n){const r=oe(t);Be(r,"iterate",Hr);const i=r[e](...n);return(i===-1||i===!1)&&eo(n[0])?(n[0]=oe(n[0]),r[e](...n)):i}function Jr(t,e,n=[]){Ut(),Bs();const r=oe(t)[e].apply(t,n);return Ws(),Vt(),r}const $d=Xe("__proto__,__v_isRef,__isVue"),Ja=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rn));function Ed(t){rn(t)||(t=String(t));const e=oe(this);return Be(e,"has",t),e.hasOwnProperty(t)}class Ka{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?el:Qa:s?Xa:Ga).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=q(e);if(!i){let l;if(o&&(l=Cd[n]))return l;if(n==="hasOwnProperty")return Ed}const a=Reflect.get(e,n,Le(e)?e:r);if((rn(n)?Ja.has(n):$d(n))||(i||Be(e,"get",n),s))return a;if(Le(a)){const l=o&&Zs(n)?a:a.value;return i&&me(l)?Vi(l):l}return me(a)?i?Vi(a):Ui(a):a}}class qa extends Ka{constructor(e=!1){super(!1,e)}set(e,n,r,i){let s=e[n];const o=q(e)&&Zs(n);if(!this._isShallow){const u=an(s);if(!Ct(r)&&!an(r)&&(s=oe(s),r=oe(r)),!o&&Le(s)&&!Le(r))return u||(s.value=r),!0}const a=o?Number(n)<e.length:ce(e,n),l=Reflect.set(e,n,r,Le(e)?e:i);return e===oe(i)&&(a?xn(r,s)&&sn(e,"set",n,r):sn(e,"add",n,r)),l}deleteProperty(e,n){const r=ce(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&sn(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!rn(n)||!Ja.has(n))&&Be(e,"has",n),r}ownKeys(e){return Be(e,"iterate",q(e)?"length":Un),Reflect.ownKeys(e)}}class Ya extends Ka{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Pd=new qa,Ad=new Ya,Id=new qa(!0),Dd=new Ya(!0),Qs=t=>t,Zi=t=>Reflect.getPrototypeOf(t);function Md(t,e,n){return function(...r){const i=this.__v_raw,s=oe(i),o=fr(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...r),c=n?Qs:e?hr:Rt;return!e&&Be(s,"iterate",l?Ys:Un),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Li(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Nd(t,e){const n={get(i){const s=this.__v_raw,o=oe(s),a=oe(i);t||(xn(i,a)&&Be(o,"get",i),Be(o,"get",a));const{has:l}=Zi(o),u=e?Qs:t?hr:Rt;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&Be(oe(i),"iterate",Un),i.size},has(i){const s=this.__v_raw,o=oe(s),a=oe(i);return t||(xn(i,a)&&Be(o,"has",i),Be(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=oe(a),u=e?Qs:t?hr:Rt;return!t&&Be(l,"iterate",Un),a.forEach((c,f)=>i.call(s,u(c),u(f),o))}};return Re(n,t?{add:Li("add"),set:Li("set"),delete:Li("delete"),clear:Li("clear")}:{add(i){!e&&!Ct(i)&&!an(i)&&(i=oe(i));const s=oe(this);return Zi(s).has.call(s,i)||(s.add(i),sn(s,"add",i,i)),this},set(i,s){!e&&!Ct(s)&&!an(s)&&(s=oe(s));const o=oe(this),{has:a,get:l}=Zi(o);let u=a.call(o,i);u||(i=oe(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?xn(s,c)&&sn(o,"set",i,s):sn(o,"add",i,s),this},delete(i){const s=oe(this),{has:o,get:a}=Zi(s);let l=o.call(s,i);l||(i=oe(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&sn(s,"delete",i,void 0),u},clear(){const i=oe(this),s=i.size!==0,o=i.clear();return s&&sn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Md(i,t,e)}),n}function ji(t,e){const n=Nd(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(ce(n,i)&&i in r?n:r,i,s)}const Rd={get:ji(!1,!1)},Fd={get:ji(!1,!0)},Zd={get:ji(!0,!1)},Ld={get:ji(!0,!0)},Ga=new WeakMap,Xa=new WeakMap,Qa=new WeakMap,el=new WeakMap;function jd(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ud(t){return t.__v_skip||!Object.isExtensible(t)?0:jd(pd(t))}function Ui(t){return an(t)?t:Bi(t,!1,Pd,Rd,Ga)}function Vd(t){return Bi(t,!1,Id,Fd,Xa)}function Vi(t){return Bi(t,!0,Ad,Zd,Qa)}function fx(t){return Bi(t,!0,Dd,Ld,el)}function Bi(t,e,n,r,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=Ud(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?r:n);return i.set(t,a),a}function Vn(t){return an(t)?Vn(t.__v_raw):!!(t&&t.__v_isReactive)}function an(t){return!!(t&&t.__v_isReadonly)}function Ct(t){return!!(t&&t.__v_isShallow)}function eo(t){return t?!!t.__v_raw:!1}function oe(t){const e=t&&t.__v_raw;return e?oe(e):t}function Bd(t){return!ce(t,"__v_skip")&&Object.isExtensible(t)&&Aa(t,"__v_skip",!0),t}const Rt=t=>me(t)?Ui(t):t,hr=t=>me(t)?Vi(t):t;function Le(t){return t?t.__v_isRef===!0:!1}function be(t){return Wd(t,!1)}function Wd(t,e){return Le(t)?t:new Hd(t,e)}class Hd{constructor(e,n){this.dep=new Ks,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:oe(e),this._value=n?e:Rt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Ct(e)||an(e);e=r?e:oe(e),xn(e,n)&&(this._rawValue=e,this._value=r?e:Rt(e),this.dep.trigger())}}function Ft(t){return Le(t)?t.value:t}const Jd={get:(t,e,n)=>e==="__v_raw"?t:Ft(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Le(i)&&!Le(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function tl(t){return Vn(t)?t:new Proxy(t,Jd)}class Kd{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Ks(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Za(this,!0),!0}get value(){const e=this.dep.track();return Ua(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function qd(t,e,n=!1){let r,i;return G(t)?r=t:(r=t.get,i=t.set),new Kd(r,i,n)}const Wi={},Hi=new WeakMap;let Bn;function Yd(t,e=!1,n=Bn){if(n){let r=Hi.get(n);r||Hi.set(n,r=[]),r.push(t)}}function Gd(t,e,n=ae){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=b=>i?b:Ct(b)||i===!1||i===0?ln(b,1):ln(b);let c,f,d,h,m=!1,p=!1;if(Le(t)?(f=()=>t.value,m=Ct(t)):Vn(t)?(f=()=>u(t),m=!0):q(t)?(p=!0,m=t.some(b=>Vn(b)||Ct(b)),f=()=>t.map(b=>{if(Le(b))return b.value;if(Vn(b))return u(b);if(G(b))return l?l(b,2):b()})):G(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){Ut();try{d()}finally{Vt()}}const b=Bn;Bn=c;try{return l?l(t,3,[h]):t(h)}finally{Bn=b}}:f=jt,e&&i){const b=f,S=i===!0?1/0:i;f=()=>ln(b(),S)}const y=kd(),x=()=>{c.stop(),y&&y.active&&Fs(y.effects,c)};if(s&&e){const b=e;e=(...S)=>{b(...S),x()}}let k=p?new Array(t.length).fill(Wi):Wi;const z=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(e){const S=c.run();if(i||m||(p?S.some((E,w)=>xn(E,k[w])):xn(S,k))){d&&d();const E=Bn;Bn=c;try{const w=[S,k===Wi?void 0:p&&k[0]===Wi?[]:k,h];k=S,l?l(e,3,w):e(...w)}finally{Bn=E}}}else c.run()};return a&&a(z),c=new Ra(f),c.scheduler=o?()=>o(z,!1):z,h=b=>Yd(b,!1,c),d=c.onStop=()=>{const b=Hi.get(c);if(b){if(l)l(b,4);else for(const S of b)S();Hi.delete(c)}},e?r?z(!0):k=c.run():o?o(z.bind(null,!0),!0):c.run(),x.pause=c.pause.bind(c),x.resume=c.resume.bind(c),x.stop=x,x}function ln(t,e=1/0,n){if(e<=0||!me(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Le(t))ln(t.value,e,n);else if(q(t))for(let r=0;r<t.length;r++)ln(t[r],e,n);else if(Oa(t)||fr(t))t.forEach(r=>{ln(r,e,n)});else if(Pa(t)){for(const r in t)ln(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&ln(t[r],e,n)}return t}/**
10
10
  * @vue/runtime-core v3.5.26
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const Jr=[];let Gs=!1;function B1(t,...e){if(Gs)return;Gs=!0,jt();const n=Jr.length?Jr[Jr.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=Wd();if(r)hr(r,n,11,[t+e.map(s=>{var o,a;return(a=(o=s.toString)==null?void 0:o.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${tc(n,s.type)}>`).join(`
13
+ **/const Kr=[];let to=!1;function dx(t,...e){if(to)return;to=!0,Ut();const n=Kr.length?Kr[Kr.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=Xd();if(r)pr(r,n,11,[t+e.map(s=>{var o,a;return(a=(o=s.toString)==null?void 0:o.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${oc(n,s.type)}>`).join(`
14
14
  `),i]);else{const s=[`[Vue warn]: ${t}`,...e];i.length&&s.push(`
15
- `,...Jd(i)),console.warn(...s)}Ut(),Gs=!1}function Wd(){let t=Jr[Jr.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function Jd(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
- `],...Kd(n))}),e}function Kd({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,i=` at <${tc(t.component,t.type,r)}`,s=">"+n;return t.props?[i,...qd(t.props),s]:[i+s]}function qd(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Ga(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Ga(t,e,n){return we(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Re(e)?(e=Ga(t,ie(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):q(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ie(e),n?e:[`${t}=`,e])}function hr(t,e,n,r){try{return r?t(...r):t()}catch(i){Hi(i,e,n)}}function Nt(t,e,n,r){if(q(t)){const i=hr(t,e,n,r);return i&&ka(i)&&i.catch(s=>{Hi(s,e,n)}),i}if(J(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Nt(t[s],e,n,r));return i}}function Hi(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||oe;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;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(s){jt(),hr(s,null,10,[t,l,u]),Ut();return}}Yd(t,n,i,r,o)}function Yd(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const qe=[];let Vt=-1;const pr=[];let wn=null,_r=0;const Xa=Promise.resolve();let Wi=null;function Qa(t){const e=Wi||Xa;return t?e.then(this?t.bind(this):t):e}function Gd(t){let e=Vt+1,n=qe.length;for(;e<n;){const r=e+n>>>1,i=qe[r],s=Kr(i);s<t||s===t&&i.flags&2?e=r+1:n=r}return e}function Xs(t){if(!(t.flags&1)){const e=Kr(t),n=qe[qe.length-1];!n||!(t.flags&2)&&e>=Kr(n)?qe.push(t):qe.splice(Gd(e),0,t),t.flags|=1,el()}}function el(){Wi||(Wi=Xa.then(rl))}function Xd(t){J(t)?pr.push(...t):wn&&t.id===-1?wn.splice(_r+1,0,t):t.flags&1||(pr.push(t),t.flags|=1),el()}function tl(t,e,n=Vt+1){for(;n<qe.length;n++){const r=qe[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function nl(t){if(pr.length){const e=[...new Set(pr)].sort((n,r)=>Kr(n)-Kr(r));if(pr.length=0,wn){wn.push(...e);return}for(wn=e,_r=0;_r<wn.length;_r++){const n=wn[_r];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wn=null,_r=0}}const Kr=t=>t.id==null?t.flags&2?-1:1/0:t.id;function rl(t){try{for(Vt=0;Vt<qe.length;Vt++){const e=qe[Vt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),hr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Vt<qe.length;Vt++){const e=qe[Vt];e&&(e.flags&=-2)}Vt=-1,qe.length=0,nl(),Wi=null,(qe.length||pr.length)&&rl()}}let Ye=null,il=null;function Ji(t){const e=Ye;return Ye=t,il=t&&t.type.__scopeId||null,e}function Rt(t,e=Ye,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&rs(-1);const s=Ji(e);let o;try{o=t(...i)}finally{Ji(s),r._d&&rs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Vn(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(jt(),Nt(l,n,8,[t.el,a,t,e]),Ut())}}function Qd(t,e){if(Be){let n=Be.provides;const r=Be.parent&&Be.parent.provides;r===n&&(n=Be.provides=Object.create(r)),n[t]=e}}function Sn(t,e,n=!1){const r=ql();if(r||yr){let i=yr?yr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&q(e)?e.call(r&&r.proxy):e}}const eh=Symbol.for("v-scx"),th=()=>Sn(eh);function mr(t,e,n){return sl(t,e,n)}function sl(t,e,n=oe){const{immediate:r,deep:i,flush:s,once:o}=n,a=De({},n),l=e&&r||!e&&s!=="post";let u;if(ri){if(s==="sync"){const h=th();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Zt,h.resume=Zt,h.pause=Zt,h}}const c=Be;a.call=(h,_,p)=>Nt(h,c,_,p);let f=!1;s==="post"?a.scheduler=h=>{ht(h,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,_)=>{_?h():Xs(h)}),a.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=Hd(t,e,a);return ri&&(u?u.push(d):l&&d()),d}function nh(t,e,n){const r=this.proxy,i=we(t)?t.includes(".")?ol(r,t):()=>r[t]:t.bind(r,r);let s;q(e)?s=e:(s=e.handler,n=e);const o=ni(this),a=sl(i,s.bind(r),n);return o(),a}function ol(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const rh=Symbol("_vte"),al=t=>t.__isTeleport,ln=Symbol("_leaveCb"),Ki=Symbol("_enterCb");function ih(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hn(()=>{t.isMounted=!0}),gl(()=>{t.isUnmounting=!0}),t}const Ct=[Function,Array],ll={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ct,onEnter:Ct,onAfterEnter:Ct,onEnterCancelled:Ct,onBeforeLeave:Ct,onLeave:Ct,onAfterLeave:Ct,onLeaveCancelled:Ct,onBeforeAppear:Ct,onAppear:Ct,onAfterAppear:Ct,onAppearCancelled:Ct},cl=t=>{const e=t.subTree;return e.component?cl(e.component):e},sh={name:"BaseTransition",props:ll,setup(t,{slots:e}){const n=ql(),r=ih();return()=>{const i=e.default&&hl(e.default(),!0);if(!i||!i.length)return;const s=ul(i),o=ie(t),{mode:a}=o;if(r.isLeaving)return eo(s);const l=dl(s);if(!l)return eo(s);let u=Qs(l,o,r,n,f=>u=f);l.type!==Ue&&qr(l,u);let c=n.subTree&&dl(n.subTree);if(c&&c.type!==Ue&&!Kn(c,l)&&cl(n).type!==Ue){let f=Qs(c,o,r,n);if(qr(c,f),a==="out-in"&&l.type!==Ue)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},eo(s);a==="in-out"&&l.type!==Ue?f.delayLeave=(d,h,_)=>{const p=fl(r,c);p[String(c.key)]=c,d[ln]=()=>{h(),d[ln]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{_(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function ul(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Ue){e=n;break}}return e}const oh=sh;function fl(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Qs(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:_,onLeaveCancelled:p,onBeforeAppear:b,onAppear:w,onAfterAppear:k,onAppearCancelled:T}=e,x=String(t.key),y=fl(n,t),E=(v,S)=>{v&&Nt(v,r,9,S)},P=(v,S)=>{const N=S[1];E(v,S),J(v)?v.every(O=>O.length<=1)&&N():v.length<=1&&N()},D={mode:o,persisted:a,beforeEnter(v){let S=l;if(!n.isMounted)if(s)S=b||l;else return;v[ln]&&v[ln](!0);const N=y[x];N&&Kn(t,N)&&N.el[ln]&&N.el[ln](),E(S,[v])},enter(v){let S=u,N=c,O=f;if(!n.isMounted)if(s)S=w||u,N=k||c,O=T||f;else return;let B=!1;const Y=v[Ki]=se=>{B||(B=!0,se?E(O,[v]):E(N,[v]),D.delayedLeave&&D.delayedLeave(),v[Ki]=void 0)};S?P(S,[v,Y]):Y()},leave(v,S){const N=String(t.key);if(v[Ki]&&v[Ki](!0),n.isUnmounting)return S();E(d,[v]);let O=!1;const B=v[ln]=Y=>{O||(O=!0,S(),Y?E(p,[v]):E(_,[v]),v[ln]=void 0,y[N]===t&&delete y[N])};y[N]=t,h?P(h,[v,B]):B()},clone(v){const S=Qs(v,e,n,r,i);return i&&i(S),S}};return D}function eo(t){if(Yi(t))return t=kn(t),t.children=null,t}function dl(t){if(!Yi(t))return al(t.type)&&t.children?ul(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&q(n.default))return n.default()}}function qr(t,e){t.shapeFlag&6&&t.component?(t.transition=e,qr(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function hl(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Ee?(o.patchFlag&128&&i++,r=r.concat(hl(o.children,e,a))):(e||o.type!==Ue)&&r.push(a!=null?kn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Pe(t,e){return q(t)?De({name:t.name},e,{setup:t}):t}function pl(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const qi=new WeakMap;function Yr(t,e,n,r,i=!1){if(J(t)){t.forEach((_,p)=>Yr(_,e&&(J(e)?e[p]:e),n,r,i));return}if(gr(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Yr(t,e,n,r.component.subTree);return}const s=r.shapeFlag&4?ho(r.component):r.el,o=i?null:s,{i:a,r:l}=t,u=e&&e.r,c=a.refs===oe?a.refs={}:a.refs,f=a.setupState,d=ie(f),h=f===oe?wa:_=>le(d,_);if(u!=null&&u!==l){if(_l(e),we(u))c[u]=null,h(u)&&(f[u]=null);else if(Re(u)){u.value=null;const _=e;_.k&&(c[_.k]=null)}}if(q(l))hr(l,a,12,[o,c]);else{const _=we(l),p=Re(l);if(_||p){const b=()=>{if(t.f){const w=_?h(l)?f[l]:c[l]:l.value;if(i)J(w)&&Ds(w,s);else if(J(w))w.includes(s)||w.push(s);else if(_)c[l]=[s],h(l)&&(f[l]=c[l]);else{const k=[s];l.value=k,t.k&&(c[t.k]=k)}}else _?(c[l]=o,h(l)&&(f[l]=o)):p&&(l.value=o,t.k&&(c[t.k]=o))};if(o){const w=()=>{b(),qi.delete(t)};w.id=-1,qi.set(t,w),ht(w,n)}else _l(t),b()}}}function _l(t){const e=qi.get(t);e&&(e.flags|=8,qi.delete(t))}Mi().requestIdleCallback,Mi().cancelIdleCallback;const gr=t=>!!t.type.__asyncLoader,Yi=t=>t.type.__isKeepAlive;function ah(t,e){ml(t,"a",e)}function lh(t,e){ml(t,"da",e)}function ml(t,e,n=Be){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Gi(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Yi(i.parent.vnode)&&ch(r,e,n,i),i=i.parent}}function ch(t,e,n,r){const i=Gi(e,t,r,!0);Wn(()=>{Ds(r[e],i)},n)}function Gi(t,e,n=Be,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{jt();const a=ni(n),l=Nt(e,n,t,o);return a(),Ut(),l});return r?i.unshift(s):i.push(s),s}}const cn=t=>(e,n=Be)=>{(!ri||t==="sp")&&Gi(t,(...r)=>e(...r),n)},uh=cn("bm"),Hn=cn("m"),fh=cn("bu"),dh=cn("u"),gl=cn("bum"),Wn=cn("um"),hh=cn("sp"),ph=cn("rtg"),_h=cn("rtc");function mh(t,e=Be){Gi("ec",t,e)}const gh="components",vl=Symbol.for("v-ndc");function Xi(t){return we(t)?vh(gh,t,!1)||t:t||vl}function vh(t,e,n=!0,r=!1){const i=Ye||Be;if(i){const s=i.type;{const a=ec(s,!1);if(a&&(a===e||a===Tt(e)||a===Di(Tt(e))))return s}const o=yl(i[t]||s[t],e)||yl(i.appContext[t],e);return!o&&r?s:o}}function yl(t,e){return t&&(t[e]||t[Tt(e)]||t[Di(Tt(e))])}function vr(t,e,n,r){let i;const s=n,o=J(t);if(o||we(t)){const a=o&&Un(t);let l=!1,u=!1;a&&(l=!zt(t),u=an(t),t=Ni(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?dr(Mt(t[c])):Mt(t[c]):t[c],c,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(pe(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,s));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,s)}}else i=[];return i}function bl(t,e,n={},r,i){if(Ye.ce||Ye.parent&&gr(Ye.parent)&&Ye.parent.ce){const u=Object.keys(n).length>0;return e!=="default"&&(n.name=e),V(),Xe(Ee,null,[Fe("slot",n,r)],u?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),V();const o=s&&xl(s(n)),a=n.key||o&&o.key,l=Xe(Ee,{key:(a&&!rn(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function xl(t){return t.some(e=>ti(e)?!(e.type===Ue||e.type===Ee&&!xl(e.children)):!0)?t:null}const to=t=>t?Gl(t)?ho(t):to(t.parent):null,Gr=De(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=>to(t.parent),$root:t=>to(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Tl(t),$forceUpdate:t=>t.f||(t.f=()=>{Xs(t.update)}),$nextTick:t=>t.n||(t.n=Qa.bind(t.proxy)),$watch:t=>nh.bind(t)}),no=(t,e)=>t!==oe&&!t.__isScriptSetup&&le(t,e),yh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(no(r,e))return o[e]=1,r[e];if(i!==oe&&le(i,e))return o[e]=2,i[e];if(le(s,e))return o[e]=3,s[e];if(n!==oe&&le(n,e))return o[e]=4,n[e];ro&&(o[e]=0)}}const u=Gr[e];let c,f;if(u)return e==="$attrs"&&je(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(n!==oe&&le(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,le(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return no(i,e)?(i[e]=n,!0):r!==oe&&le(r,e)?(r[e]=n,!0):le(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let l;return!!(n[a]||t!==oe&&a[0]!=="$"&&le(t,a)||no(e,a)||le(s,a)||le(r,a)||le(Gr,a)||le(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:le(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function wl(t){return J(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let ro=!0;function bh(t){const e=Tl(t),n=t.proxy,r=t.ctx;ro=!1,e.beforeCreate&&Sl(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:_,activated:p,deactivated:b,beforeDestroy:w,beforeUnmount:k,destroyed:T,unmounted:x,render:y,renderTracked:E,renderTriggered:P,errorCaptured:D,serverPrefetch:v,expose:S,inheritAttrs:N,components:O,directives:B,filters:Y}=e;if(u&&xh(u,r,null),o)for(const G in o){const te=o[G];q(te)&&(r[G]=te.bind(n))}if(i){const G=i.call(n,n);pe(G)&&(t.data=Li(G))}if(ro=!0,s)for(const G in s){const te=s[G],It=q(te)?te.bind(n,n):q(te.get)?te.get.bind(n,n):Zt,Qt=!q(te)&&q(te.set)?te.set.bind(n):Zt,St=Ce({get:It,set:Qt});Object.defineProperty(r,G,{enumerable:!0,configurable:!0,get:()=>St.value,set:Ne=>St.value=Ne})}if(a)for(const G in a)kl(a[G],r,n,G);if(l){const G=q(l)?l.call(n):l;Reflect.ownKeys(G).forEach(te=>{Qd(te,G[te])})}c&&Sl(c,t,"c");function Q(G,te){J(te)?te.forEach(It=>G(It.bind(n))):te&&G(te.bind(n))}if(Q(uh,f),Q(Hn,d),Q(fh,h),Q(dh,_),Q(ah,p),Q(lh,b),Q(mh,D),Q(_h,E),Q(ph,P),Q(gl,k),Q(Wn,x),Q(hh,v),J(S))if(S.length){const G=t.exposed||(t.exposed={});S.forEach(te=>{Object.defineProperty(G,te,{get:()=>n[te],set:It=>n[te]=It,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===Zt&&(t.render=y),N!=null&&(t.inheritAttrs=N),O&&(t.components=O),B&&(t.directives=B),v&&pl(t)}function xh(t,e,n=Zt){J(t)&&(t=io(t));for(const r in t){const i=t[r];let s;pe(i)?"default"in i?s=Sn(i.from||r,i.default,!0):s=Sn(i.from||r):s=Sn(i),Re(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function Sl(t,e,n){Nt(J(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function kl(t,e,n,r){let i=r.includes(".")?ol(n,r):()=>n[r];if(we(t)){const s=e[t];q(s)&&mr(i,s)}else if(q(t))mr(i,t.bind(n));else if(pe(t))if(J(t))t.forEach(s=>kl(s,e,n,r));else{const s=q(t.handler)?t.handler.bind(n):e[t.handler];q(s)&&mr(i,s,t)}}function Tl(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(u=>Qi(l,u,o,!0)),Qi(l,e,o)),pe(e)&&s.set(e,l),l}function Qi(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Qi(t,s,n,!0),i&&i.forEach(o=>Qi(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=wh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const wh={data:zl,props:Cl,emits:Cl,methods:Xr,computed:Xr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Xr,directives:Xr,watch:kh,provide:zl,inject:Sh};function zl(t,e){return e?t?function(){return De(q(t)?t.call(this,this):t,q(e)?e.call(this,this):e)}:e:t}function Sh(t,e){return Xr(io(t),io(e))}function io(t){if(J(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ge(t,e){return t?[...new Set([].concat(t,e))]:e}function Xr(t,e){return t?De(Object.create(null),t,e):e}function Cl(t,e){return t?J(t)&&J(e)?[...new Set([...t,...e])]:De(Object.create(null),wl(t),wl(e??{})):e}function kh(t,e){if(!t)return e;if(!e)return t;const n=De(Object.create(null),t);for(const r in e)n[r]=Ge(t[r],e[r]);return n}function Ol(){return{app:null,config:{isNativeTag:wa,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 Th=0;function zh(t,e){return function(r,i=null){q(r)||(r=De({},r)),i!=null&&!pe(i)&&(i=null);const s=Ol(),o=new WeakSet,a=[];let l=!1;const u=s.app={_uid:Th++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:sp,get config(){return s.config},set config(c){},use(c,...f){return o.has(c)||(c&&q(c.install)?(o.add(c),c.install(u,...f)):q(c)&&(o.add(c),c(u,...f))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,f){return f?(s.components[c]=f,u):s.components[c]},directive(c,f){return f?(s.directives[c]=f,u):s.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||Fe(r,i);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),t(h,c,d),l=!0,u._container=c,c.__vue_app__=u,ho(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Nt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return s.provides[c]=f,u},runWithContext(c){const f=yr;yr=u;try{return c()}finally{yr=f}}};return u}}let yr=null;const Ch=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Tt(e)}Modifiers`]||t[`${Ln(e)}Modifiers`];function Oh(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||oe;let i=n;const s=e.startsWith("update:"),o=s&&Ch(r,e.slice(7));o&&(o.trim&&(i=n.map(c=>we(c)?c.trim():c)),o.number&&(i=n.map(ud)));let a,l=r[a=Ns(e)]||r[a=Ns(Tt(e))];!l&&s&&(l=r[a=Ns(Ln(e))]),l&&Nt(l,t,6,i);const u=r[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Nt(u,t,6,i)}}const Eh=new WeakMap;function El(t,e,n=!1){const r=n?Eh:e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!q(t)){const l=u=>{const c=El(u,e,!0);c&&(a=!0,De(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(pe(t)&&r.set(t,null),null):(J(s)?s.forEach(l=>o[l]=null):De(o,s),pe(t)&&r.set(t,o),o)}function es(t,e){return!t||!Pi(e)?!1:(e=e.slice(2).replace(/Once$/,""),le(t,e[0].toLowerCase()+e.slice(1))||le(t,Ln(e))||le(t,e))}function V1(){}function $l(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:_,inheritAttrs:p}=t,b=Ji(t);let w,k;try{if(n.shapeFlag&4){const x=i||r,y=x;w=Ht(u.call(y,x,c,f,h,d,_)),k=a}else{const x=e;w=Ht(x.length>1?x(f,{attrs:a,slots:o,emit:l}):x(f,null)),k=e.props?a:$h(a)}}catch(x){Qr.length=0,Hi(x,t,1),w=Fe(Ue)}let T=w;if(k&&p!==!1){const x=Object.keys(k),{shapeFlag:y}=T;x.length&&y&7&&(s&&x.some(Is)&&(k=Ph(k,s)),T=kn(T,k,!1,!0))}return n.dirs&&(T=kn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&qr(T,n.transition),w=T,Ji(b),w}const $h=t=>{let e;for(const n in t)(n==="class"||n==="style"||Pi(n))&&((e||(e={}))[n]=t[n]);return e},Ph=(t,e)=>{const n={};for(const r in t)(!Is(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Ah(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Pl(r,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(o[d]!==r[d]&&!es(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Pl(r,o,u):!0:!!o;return!1}function Pl(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!es(n,s))return!0}return!1}function Ih({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const Al={},Il=()=>Object.create(Al),Dl=t=>Object.getPrototypeOf(t)===Al;function Dh(t,e,n,r=!1){const i={},s=Il();t.propsDefaults=Object.create(null),Ml(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:Rd(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Mh(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=ie(i),[l]=t.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(es(t.emitsOptions,d))continue;const h=e[d];if(l)if(le(s,d))h!==s[d]&&(s[d]=h,u=!0);else{const _=Tt(d);i[_]=so(l,a,_,h,t,!1)}else h!==s[d]&&(s[d]=h,u=!0)}}}else{Ml(t,e,i,s)&&(u=!0);let c;for(const f in a)(!e||!le(e,f)&&((c=Ln(f))===f||!le(e,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=so(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!le(e,f))&&(delete s[f],u=!0)}u&&sn(t.attrs,"set","")}function Ml(t,e,n,r){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(jr(l))continue;const u=e[l];let c;i&&le(i,c=Tt(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:es(t.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(s){const l=ie(n),u=a||oe;for(let c=0;c<s.length;c++){const f=s[c];n[f]=so(i,l,f,u[f],t,!le(u,f))}}return o}function so(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=le(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&q(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=ni(i);r=u[n]=l.call(null,e),c()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Ln(n))&&(r=!0))}return r}const Nh=new WeakMap;function Nl(t,e,n=!1){const r=n?Nh:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!q(t)){const c=f=>{l=!0;const[d,h]=Nl(f,e,!0);De(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return pe(t)&&r.set(t,cr),cr;if(J(s))for(let c=0;c<s.length;c++){const f=Tt(s[c]);Rl(f)&&(o[f]=oe)}else if(s)for(const c in s){const f=Tt(c);if(Rl(f)){const d=s[c],h=o[f]=J(d)||q(d)?{type:d}:De({},d),_=h.type;let p=!1,b=!0;if(J(_))for(let w=0;w<_.length;++w){const k=_[w],T=q(k)&&k.name;if(T==="Boolean"){p=!0;break}else T==="String"&&(b=!1)}else p=q(_)&&_.name==="Boolean";h[0]=p,h[1]=b,(p||le(h,"default"))&&a.push(f)}}const u=[o,a];return pe(t)&&r.set(t,u),u}function Rl(t){return t[0]!=="$"&&!jr(t)}const oo=t=>t==="_"||t==="_ctx"||t==="$stable",ao=t=>J(t)?t.map(Ht):[Ht(t)],Rh=(t,e,n)=>{if(e._n)return e;const r=Rt((...i)=>ao(e(...i)),n);return r._c=!1,r},Fl=(t,e,n)=>{const r=t._ctx;for(const i in t){if(oo(i))continue;const s=t[i];if(q(s))e[i]=Rh(i,s,r);else if(s!=null){const o=ao(s);e[i]=()=>o}}},Zl=(t,e)=>{const n=ao(e);t.slots.default=()=>n},Ll=(t,e,n)=>{for(const r in e)(n||!oo(r))&&(t[r]=e[r])},Fh=(t,e,n)=>{const r=t.slots=Il();if(t.vnode.shapeFlag&32){const i=e._;i?(Ll(r,e,n),n&&Ca(r,"_",i,!0)):Fl(e,r)}else e&&Zl(t,e)},Zh=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=oe;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:Ll(i,e,n):(s=!e.$stable,Fl(e,i)),o=e}else e&&(Zl(t,e),o={default:1});if(s)for(const a in i)!oo(a)&&o[a]==null&&delete i[a]},ht=Vh;function Lh(t){return jh(t)}function jh(t,e){const n=Mi();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Zt,insertStaticContent:_}=t,p=(m,g,C,R=null,A=null,I=null,L=void 0,Z=null,F=!!g.dynamicChildren)=>{if(m===g)return;m&&!Kn(m,g)&&(R=As(m),Ne(m,A,I,!0),m=null),g.patchFlag===-2&&(F=!1,g.dynamicChildren=null);const{type:M,ref:W,shapeFlag:j}=g;switch(M){case ts:b(m,g,C,R);break;case Ue:w(m,g,C,R);break;case ns:m==null&&k(g,C,R,L);break;case Ee:O(m,g,C,R,A,I,L,Z,F);break;default:j&1?y(m,g,C,R,A,I,L,Z,F):j&6?B(m,g,C,R,A,I,L,Z,F):(j&64||j&128)&&M.process(m,g,C,R,A,I,L,Z,F,Ei)}W!=null&&A?Yr(W,m&&m.ref,I,g||m,!g):W==null&&m&&m.ref!=null&&Yr(m.ref,null,I,m,!0)},b=(m,g,C,R)=>{if(m==null)r(g.el=a(g.children),C,R);else{const A=g.el=m.el;g.children!==m.children&&u(A,g.children)}},w=(m,g,C,R)=>{m==null?r(g.el=l(g.children||""),C,R):g.el=m.el},k=(m,g,C,R)=>{[m.el,m.anchor]=_(m.children,g,C,R,m.el,m.anchor)},T=({el:m,anchor:g},C,R)=>{let A;for(;m&&m!==g;)A=d(m),r(m,C,R),m=A;r(g,C,R)},x=({el:m,anchor:g})=>{let C;for(;m&&m!==g;)C=d(m),i(m),m=C;i(g)},y=(m,g,C,R,A,I,L,Z,F)=>{if(g.type==="svg"?L="svg":g.type==="math"&&(L="mathml"),m==null)E(g,C,R,A,I,L,Z,F);else{const M=m.el&&m.el._isVueCE?m.el:null;try{M&&M._beginPatch(),v(m,g,A,I,L,Z,F)}finally{M&&M._endPatch()}}},E=(m,g,C,R,A,I,L,Z)=>{let F,M;const{props:W,shapeFlag:j,transition:H,dirs:K}=m;if(F=m.el=o(m.type,I,W&&W.is,W),j&8?c(F,m.children):j&16&&D(m.children,F,null,R,A,lo(m,I),L,Z),K&&Vn(m,null,R,"created"),P(F,m,m.scopeId,L,R),W){for(const ve in W)ve!=="value"&&!jr(ve)&&s(F,ve,null,W[ve],I,R);"value"in W&&s(F,"value",null,W.value,I),(M=W.onVnodeBeforeMount)&&Wt(M,R,m)}K&&Vn(m,null,R,"beforeMount");const re=Uh(A,H);re&&H.beforeEnter(F),r(F,g,C),((M=W&&W.onVnodeMounted)||re||K)&&ht(()=>{M&&Wt(M,R,m),re&&H.enter(F),K&&Vn(m,null,R,"mounted")},A)},P=(m,g,C,R,A)=>{if(C&&h(m,C),R)for(let I=0;I<R.length;I++)h(m,R[I]);if(A){let I=A.subTree;if(g===I||Hl(I.type)&&(I.ssContent===g||I.ssFallback===g)){const L=A.vnode;P(m,L,L.scopeId,L.slotScopeIds,A.parent)}}},D=(m,g,C,R,A,I,L,Z,F=0)=>{for(let M=F;M<m.length;M++){const W=m[M]=Z?Tn(m[M]):Ht(m[M]);p(null,W,g,C,R,A,I,L,Z)}},v=(m,g,C,R,A,I,L)=>{const Z=g.el=m.el;let{patchFlag:F,dynamicChildren:M,dirs:W}=g;F|=m.patchFlag&16;const j=m.props||oe,H=g.props||oe;let K;if(C&&Jn(C,!1),(K=H.onVnodeBeforeUpdate)&&Wt(K,C,g,m),W&&Vn(g,m,C,"beforeUpdate"),C&&Jn(C,!0),(j.innerHTML&&H.innerHTML==null||j.textContent&&H.textContent==null)&&c(Z,""),M?S(m.dynamicChildren,M,Z,C,R,lo(g,A),I):L||te(m,g,Z,null,C,R,lo(g,A),I,!1),F>0){if(F&16)N(Z,j,H,C,A);else if(F&2&&j.class!==H.class&&s(Z,"class",null,H.class,A),F&4&&s(Z,"style",j.style,H.style,A),F&8){const re=g.dynamicProps;for(let ve=0;ve<re.length;ve++){const ue=re[ve],ft=j[ue],dt=H[ue];(dt!==ft||ue==="value")&&s(Z,ue,ft,dt,A,C)}}F&1&&m.children!==g.children&&c(Z,g.children)}else!L&&M==null&&N(Z,j,H,C,A);((K=H.onVnodeUpdated)||W)&&ht(()=>{K&&Wt(K,C,g,m),W&&Vn(g,m,C,"updated")},R)},S=(m,g,C,R,A,I,L)=>{for(let Z=0;Z<g.length;Z++){const F=m[Z],M=g[Z],W=F.el&&(F.type===Ee||!Kn(F,M)||F.shapeFlag&198)?f(F.el):C;p(F,M,W,null,R,A,I,L,!0)}},N=(m,g,C,R,A)=>{if(g!==C){if(g!==oe)for(const I in g)!jr(I)&&!(I in C)&&s(m,I,g[I],null,A,R);for(const I in C){if(jr(I))continue;const L=C[I],Z=g[I];L!==Z&&I!=="value"&&s(m,I,Z,L,A,R)}"value"in C&&s(m,"value",g.value,C.value,A)}},O=(m,g,C,R,A,I,L,Z,F)=>{const M=g.el=m?m.el:a(""),W=g.anchor=m?m.anchor:a("");let{patchFlag:j,dynamicChildren:H,slotScopeIds:K}=g;K&&(Z=Z?Z.concat(K):K),m==null?(r(M,C,R),r(W,C,R),D(g.children||[],C,W,A,I,L,Z,F)):j>0&&j&64&&H&&m.dynamicChildren&&m.dynamicChildren.length===H.length?(S(m.dynamicChildren,H,C,A,I,L,Z),(g.key!=null||A&&g===A.subTree)&&jl(m,g,!0)):te(m,g,C,W,A,I,L,Z,F)},B=(m,g,C,R,A,I,L,Z,F)=>{g.slotScopeIds=Z,m==null?g.shapeFlag&512?A.ctx.activate(g,C,R,L,F):Y(g,C,R,A,I,L,F):se(m,g,F)},Y=(m,g,C,R,A,I,L)=>{const Z=m.component=Gh(m,R,A);if(Yi(m)&&(Z.ctx.renderer=Ei),Xh(Z,!1,L),Z.asyncDep){if(A&&A.registerDep(Z,Q,L),!m.el){const F=Z.subTree=Fe(Ue);w(null,F,g,C),m.placeholder=F.el}}else Q(Z,m,g,C,A,I,L)},se=(m,g,C)=>{const R=g.component=m.component;if(Ah(m,g,C))if(R.asyncDep&&!R.asyncResolved){G(R,g,C);return}else R.next=g,R.update();else g.el=m.el,R.vnode=g},Q=(m,g,C,R,A,I,L)=>{const Z=()=>{if(m.isMounted){let{next:j,bu:H,u:K,parent:re,vnode:ve}=m;{const tn=Ul(m);if(tn){j&&(j.el=ve.el,G(m,j,L)),tn.asyncDep.then(()=>{m.isUnmounted||Z()});return}}let ue=j,ft;Jn(m,!1),j?(j.el=ve.el,G(m,j,L)):j=ve,H&&Rs(H),(ft=j.props&&j.props.onVnodeBeforeUpdate)&&Wt(ft,re,j,ve),Jn(m,!0);const dt=$l(m),en=m.subTree;m.subTree=dt,p(en,dt,f(en.el),As(en),m,A,I),j.el=dt.el,ue===null&&Ih(m,dt.el),K&&ht(K,A),(ft=j.props&&j.props.onVnodeUpdated)&&ht(()=>Wt(ft,re,j,ve),A)}else{let j;const{el:H,props:K}=g,{bm:re,m:ve,parent:ue,root:ft,type:dt}=m,en=gr(g);Jn(m,!1),re&&Rs(re),!en&&(j=K&&K.onVnodeBeforeMount)&&Wt(j,ue,g),Jn(m,!0);{ft.ce&&ft.ce._def.shadowRoot!==!1&&ft.ce._injectChildStyle(dt);const tn=m.subTree=$l(m);p(null,tn,C,R,m,A,I),g.el=tn.el}if(ve&&ht(ve,A),!en&&(j=K&&K.onVnodeMounted)){const tn=g;ht(()=>Wt(j,ue,tn),A)}(g.shapeFlag&256||ue&&gr(ue.vnode)&&ue.vnode.shapeFlag&256)&&m.a&&ht(m.a,A),m.isMounted=!0,g=C=R=null}};m.scope.on();const F=m.effect=new Aa(Z);m.scope.off();const M=m.update=F.run.bind(F),W=m.job=F.runIfDirty.bind(F);W.i=m,W.id=m.uid,F.scheduler=()=>Xs(W),Jn(m,!0),M()},G=(m,g,C)=>{g.component=m;const R=m.vnode.props;m.vnode=g,m.next=null,Mh(m,g.props,R,C),Zh(m,g.children,C),jt(),tl(m),Ut()},te=(m,g,C,R,A,I,L,Z,F=!1)=>{const M=m&&m.children,W=m?m.shapeFlag:0,j=g.children,{patchFlag:H,shapeFlag:K}=g;if(H>0){if(H&128){Qt(M,j,C,R,A,I,L,Z,F);return}else if(H&256){It(M,j,C,R,A,I,L,Z,F);return}}K&8?(W&16&&Oi(M,A,I),j!==M&&c(C,j)):W&16?K&16?Qt(M,j,C,R,A,I,L,Z,F):Oi(M,A,I,!0):(W&8&&c(C,""),K&16&&D(j,C,R,A,I,L,Z,F))},It=(m,g,C,R,A,I,L,Z,F)=>{m=m||cr,g=g||cr;const M=m.length,W=g.length,j=Math.min(M,W);let H;for(H=0;H<j;H++){const K=g[H]=F?Tn(g[H]):Ht(g[H]);p(m[H],K,C,null,A,I,L,Z,F)}M>W?Oi(m,A,I,!0,!1,j):D(g,C,R,A,I,L,Z,F,j)},Qt=(m,g,C,R,A,I,L,Z,F)=>{let M=0;const W=g.length;let j=m.length-1,H=W-1;for(;M<=j&&M<=H;){const K=m[M],re=g[M]=F?Tn(g[M]):Ht(g[M]);if(Kn(K,re))p(K,re,C,null,A,I,L,Z,F);else break;M++}for(;M<=j&&M<=H;){const K=m[j],re=g[H]=F?Tn(g[H]):Ht(g[H]);if(Kn(K,re))p(K,re,C,null,A,I,L,Z,F);else break;j--,H--}if(M>j){if(M<=H){const K=H+1,re=K<W?g[K].el:R;for(;M<=H;)p(null,g[M]=F?Tn(g[M]):Ht(g[M]),C,re,A,I,L,Z,F),M++}}else if(M>H)for(;M<=j;)Ne(m[M],A,I,!0),M++;else{const K=M,re=M,ve=new Map;for(M=re;M<=H;M++){const kt=g[M]=F?Tn(g[M]):Ht(g[M]);kt.key!=null&&ve.set(kt.key,M)}let ue,ft=0;const dt=H-re+1;let en=!1,tn=0;const $i=new Array(dt);for(M=0;M<dt;M++)$i[M]=0;for(M=K;M<=j;M++){const kt=m[M];if(ft>=dt){Ne(kt,A,I,!0);continue}let nn;if(kt.key!=null)nn=ve.get(kt.key);else for(ue=re;ue<=H;ue++)if($i[ue-re]===0&&Kn(kt,g[ue])){nn=ue;break}nn===void 0?Ne(kt,A,I,!0):($i[nn-re]=M+1,nn>=tn?tn=nn:en=!0,p(kt,g[nn],C,null,A,I,L,Z,F),ft++)}const rd=en?Bh($i):cr;for(ue=rd.length-1,M=dt-1;M>=0;M--){const kt=re+M,nn=g[kt],id=g[kt+1],sd=kt+1<W?id.el||Vl(id):R;$i[M]===0?p(null,nn,C,sd,A,I,L,Z,F):en&&(ue<0||M!==rd[ue]?St(nn,C,sd,2):ue--)}}},St=(m,g,C,R,A=null)=>{const{el:I,type:L,transition:Z,children:F,shapeFlag:M}=m;if(M&6){St(m.component.subTree,g,C,R);return}if(M&128){m.suspense.move(g,C,R);return}if(M&64){L.move(m,g,C,Ei);return}if(L===Ee){r(I,g,C);for(let j=0;j<F.length;j++)St(F[j],g,C,R);r(m.anchor,g,C);return}if(L===ns){T(m,g,C);return}if(R!==2&&M&1&&Z)if(R===0)Z.beforeEnter(I),r(I,g,C),ht(()=>Z.enter(I),A);else{const{leave:j,delayLeave:H,afterLeave:K}=Z,re=()=>{m.ctx.isUnmounted?i(I):r(I,g,C)},ve=()=>{I._isLeaving&&I[ln](!0),j(I,()=>{re(),K&&K()})};H?H(I,re,ve):ve()}else r(I,g,C)},Ne=(m,g,C,R=!1,A=!1)=>{const{type:I,props:L,ref:Z,children:F,dynamicChildren:M,shapeFlag:W,patchFlag:j,dirs:H,cacheIndex:K}=m;if(j===-2&&(A=!1),Z!=null&&(jt(),Yr(Z,null,C,m,!0),Ut()),K!=null&&(g.renderCache[K]=void 0),W&256){g.ctx.deactivate(m);return}const re=W&1&&H,ve=!gr(m);let ue;if(ve&&(ue=L&&L.onVnodeBeforeUnmount)&&Wt(ue,g,m),W&6)vn(m.component,C,R);else{if(W&128){m.suspense.unmount(C,R);return}re&&Vn(m,null,g,"beforeUnmount"),W&64?m.type.remove(m,g,C,Ei,R):M&&!M.hasOnce&&(I!==Ee||j>0&&j&64)?Oi(M,g,C,!1,!0):(I===Ee&&j&384||!A&&W&16)&&Oi(F,g,C),R&&Ci(m)}(ve&&(ue=L&&L.onVnodeUnmounted)||re)&&ht(()=>{ue&&Wt(ue,g,m),re&&Vn(m,null,g,"unmounted")},C)},Ci=m=>{const{type:g,el:C,anchor:R,transition:A}=m;if(g===Ee){Ft(C,R);return}if(g===ns){x(m);return}const I=()=>{i(C),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(m.shapeFlag&1&&A&&!A.persisted){const{leave:L,delayLeave:Z}=A,F=()=>L(C,I);Z?Z(m.el,I,F):F()}else I()},Ft=(m,g)=>{let C;for(;m!==g;)C=d(m),i(m),m=C;i(g)},vn=(m,g,C)=>{const{bum:R,scope:A,job:I,subTree:L,um:Z,m:F,a:M}=m;Bl(F),Bl(M),R&&Rs(R),A.stop(),I&&(I.flags|=8,Ne(L,m,g,C)),Z&&ht(Z,g),ht(()=>{m.isUnmounted=!0},g)},Oi=(m,g,C,R=!1,A=!1,I=0)=>{for(let L=I;L<m.length;L++)Ne(m[L],g,C,R,A)},As=m=>{if(m.shapeFlag&6)return As(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const g=d(m.anchor||m.el),C=g&&g[rh];return C?d(C):g};let xa=!1;const nd=(m,g,C)=>{let R;m==null?g._vnode&&(Ne(g._vnode,null,null,!0),R=g._vnode.component):p(g._vnode||null,m,g,null,null,null,C),g._vnode=m,xa||(xa=!0,tl(R),nl(),xa=!1)},Ei={p,um:Ne,m:St,r:Ci,mt:Y,mc:D,pc:te,pbc:S,n:As,o:t};return{render:nd,hydrate:void 0,createApp:zh(nd)}}function lo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Jn({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Uh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function jl(t,e,n=!1){const r=t.children,i=e.children;if(J(r)&&J(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Tn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&jl(o,a)),a.type===ts&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(t.type===Ee?1:0)),a.type===Ue&&!a.el&&(a.el=o.el)}}function Bh(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const u=t[r];if(u!==0){if(i=n[n.length-1],t[i]<u){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<u?s=a+1:o=a;u<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}function Ul(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ul(e)}function Bl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Vl(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Vl(e.subTree):null}const Hl=t=>t.__isSuspense;function Vh(t,e){e&&e.pendingBranch?J(t)?e.effects.push(...t):e.effects.push(t):Xd(t)}const Ee=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),ns=Symbol.for("v-stc"),Qr=[];let pt=null;function V(t=!1){Qr.push(pt=t?null:[])}function Hh(){Qr.pop(),pt=Qr[Qr.length-1]||null}let ei=1;function rs(t,e=!1){ei+=t,t<0&&pt&&e&&(pt.hasOnce=!0)}function Wl(t){return t.dynamicChildren=ei>0?pt||cr:null,Hh(),ei>0&&pt&&pt.push(t),t}function ee(t,e,n,r,i,s){return Wl($(t,e,n,r,i,s,!0))}function Xe(t,e,n,r,i){return Wl(Fe(t,e,n,r,i,!0))}function ti(t){return t?t.__v_isVNode===!0:!1}function Kn(t,e){return t.type===e.type&&t.key===e.key}const Jl=({key:t})=>t??null,is=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?we(t)||Re(t)||q(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function $(t,e=null,n=null,r=0,i=null,s=t===Ee?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Jl(e),ref:e&&is(e),scopeId:il,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ye};return a?(co(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=we(n)?8:16),ei>0&&!o&&pt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&pt.push(l),l}const Fe=Wh;function Wh(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===vl)&&(t=Ue),ti(t)){const a=kn(t,e,!0);return n&&co(a,n),ei>0&&!s&&pt&&(a.shapeFlag&6?pt[pt.indexOf(t)]=a:pt.push(a)),a.patchFlag=-2,a}if(ip(t)&&(t=t.__vccOpts),e){e=Jh(e);let{class:a,style:l}=e;a&&!we(a)&&(e.class=X(a)),pe(l)&&(Ys(l)&&!J(l)&&(l=De({},l)),e.style=Lt(l))}const o=we(t)?1:Hl(t)?128:al(t)?64:pe(t)?4:q(t)?2:0;return $(t,e,n,r,i,o,s,!0)}function Jh(t){return t?Ys(t)||Dl(t)?De({},t):t:null}function kn(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,u=e?uo(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Jl(u),ref:e&&e.ref?n&&s?J(s)?s.concat(is(e)):[s,is(e)]:is(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ee?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&kn(t.ssContent),ssFallback:t.ssFallback&&kn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&qr(c,l.clone(c)),c}function Kl(t=" ",e=0){return Fe(ts,null,t,e)}function Kh(t,e){const n=Fe(ns,null,t);return n.staticCount=e,n}function Qe(t="",e=!1){return e?(V(),Xe(Ue,null,t)):Fe(Ue,null,t)}function Ht(t){return t==null||typeof t=="boolean"?Fe(Ue):J(t)?Fe(Ee,null,t.slice()):ti(t)?Tn(t):Fe(ts,null,String(t))}function Tn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:kn(t)}function co(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(J(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),co(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!Dl(e)?e._ctx=Ye:i===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else q(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),r&64?(n=16,e=[Kl(e)]):n=8);t.children=e,t.shapeFlag|=n}function uo(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=X([e.class,r.class]));else if(i==="style")e.style=Lt([e.style,r.style]);else if(Pi(i)){const s=e[i],o=r[i];o&&s!==o&&!(J(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=r[i])}return e}function Wt(t,e,n,r=null){Nt(t,e,7,[n,r])}const qh=Ol();let Yh=0;function Gh(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||qh,s={uid:Yh++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new gd(!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:Nl(r,i),emitsOptions:El(r,i),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:r.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Oh.bind(null,s),t.ce&&t.ce(s),s}let Be=null;const ql=()=>Be||Ye;let ss,fo;{const t=Mi(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};ss=e("__VUE_INSTANCE_SETTERS__",n=>Be=n),fo=e("__VUE_SSR_SETTERS__",n=>ri=n)}const ni=t=>{const e=Be;return ss(t),t.scope.on(),()=>{t.scope.off(),ss(e)}},Yl=()=>{Be&&Be.scope.off(),ss(null)};function Gl(t){return t.vnode.shapeFlag&4}let ri=!1;function Xh(t,e=!1,n=!1){e&&fo(e);const{props:r,children:i}=t.vnode,s=Gl(t);Dh(t,r,s,e),Fh(t,i,n||e);const o=s?Qh(t,e):void 0;return e&&fo(!1),o}function Qh(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,yh);const{setup:r}=n;if(r){jt();const i=t.setupContext=r.length>1?tp(t):null,s=ni(t),o=hr(r,t,0,[t.props,i]),a=ka(o);if(Ut(),s(),(a||t.sp)&&!gr(t)&&pl(t),a){if(o.then(Yl,Yl),e)return o.then(l=>{Xl(t,l)}).catch(l=>{Hi(l,t,0)});t.asyncDep=o}else Xl(t,o)}else Ql(t)}function Xl(t,e,n){q(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:pe(e)&&(t.setupState=Ya(e)),Ql(t)}function Ql(t,e,n){const r=t.type;t.render||(t.render=r.render||Zt);{const i=ni(t);jt();try{bh(t)}finally{Ut(),i()}}}const ep={get(t,e){return je(t,"get",""),t[e]}};function tp(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,ep),slots:t.slots,emit:t.emit,expose:e}}function ho(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ya(Fd(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Gr)return Gr[n](t)},has(e,n){return n in e||n in Gr}})):t.proxy}const np=/(?:^|[-_])\w/g,rp=t=>t.replace(np,e=>e.toUpperCase()).replace(/[-_]/g,"");function ec(t,e=!0){return q(t)?t.displayName||t.name:t.name||e&&t.__name}function tc(t,e,n=!1){let r=ec(e);if(!r&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&t){const i=s=>{for(const o in s)if(s[o]===e)return o};r=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return r?rp(r):n?"App":"Anonymous"}function ip(t){return q(t)&&"__vccOpts"in t}const Ce=(t,e)=>Bd(t,e,ri);function me(t,e,n){try{rs(-1);const r=arguments.length;return r===2?pe(e)&&!J(e)?ti(e)?Fe(t,null,[e]):Fe(t,e):Fe(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ti(n)&&(n=[n]),Fe(t,e,n))}finally{rs(1)}}const sp="3.5.26";/**
15
+ `,...Qd(i)),console.warn(...s)}Vt(),to=!1}function Xd(){let t=Kr[Kr.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function Qd(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
+ `],...eh(n))}),e}function eh({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,i=` at <${oc(t.component,t.type,r)}`,s=">"+n;return t.props?[i,...th(t.props),s]:[i+s]}function th(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...nl(r,t[r]))}),n.length>3&&e.push(" ..."),e}function nl(t,e,n){return ke(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Le(e)?(e=nl(t,oe(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):G(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=oe(e),n?e:[`${t}=`,e])}function pr(t,e,n,r){try{return r?t(...r):t()}catch(i){Ji(i,e,n)}}function Zt(t,e,n,r){if(G(t)){const i=pr(t,e,n,r);return i&&$a(i)&&i.catch(s=>{Ji(s,e,n)}),i}if(q(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Zt(t[s],e,n,r));return i}}function Ji(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||ae;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;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(s){Ut(),pr(s,null,10,[t,l,u]),Vt();return}}nh(t,n,i,r,o)}function nh(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const et=[];let Bt=-1;const mr=[];let Sn=null,gr=0;const rl=Promise.resolve();let Ki=null;function il(t){const e=Ki||rl;return t?e.then(this?t.bind(this):t):e}function rh(t){let e=Bt+1,n=et.length;for(;e<n;){const r=e+n>>>1,i=et[r],s=qr(i);s<t||s===t&&i.flags&2?e=r+1:n=r}return e}function no(t){if(!(t.flags&1)){const e=qr(t),n=et[et.length-1];!n||!(t.flags&2)&&e>=qr(n)?et.push(t):et.splice(rh(e),0,t),t.flags|=1,sl()}}function sl(){Ki||(Ki=rl.then(ll))}function ih(t){q(t)?mr.push(...t):Sn&&t.id===-1?Sn.splice(gr+1,0,t):t.flags&1||(mr.push(t),t.flags|=1),sl()}function ol(t,e,n=Bt+1){for(;n<et.length;n++){const r=et[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;et.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function al(t){if(mr.length){const e=[...new Set(mr)].sort((n,r)=>qr(n)-qr(r));if(mr.length=0,Sn){Sn.push(...e);return}for(Sn=e,gr=0;gr<Sn.length;gr++){const n=Sn[gr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Sn=null,gr=0}}const qr=t=>t.id==null?t.flags&2?-1:1/0:t.id;function ll(t){try{for(Bt=0;Bt<et.length;Bt++){const e=et[Bt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),pr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Bt<et.length;Bt++){const e=et[Bt];e&&(e.flags&=-2)}Bt=-1,et.length=0,al(),Ki=null,(et.length||mr.length)&&ll()}}let je=null,cl=null;function qi(t){const e=je;return je=t,cl=t&&t.type.__scopeId||null,e}function Ot(t,e=je,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&ss(-1);const s=qi(e);let o;try{o=t(...i)}finally{qi(s),r._d&&ss(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function sh(t,e){if(je===null)return t;const n=ls(je),r=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,o,a,l=ae]=e[i];s&&(G(s)&&(s={mounted:s,updated:s}),s.deep&&ln(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Wn(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Ut(),Zt(l,n,8,[t.el,a,t,e]),Vt())}}function oh(t,e){if(Je){let n=Je.provides;const r=Je.parent&&Je.parent.provides;r===n&&(n=Je.provides=Object.create(r)),n[t]=e}}function cn(t,e,n=!1){const r=ec();if(r||yr){let i=yr?yr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&G(e)?e.call(r&&r.proxy):e}}const ah=Symbol.for("v-scx"),lh=()=>cn(ah);function Hn(t,e,n){return ul(t,e,n)}function ul(t,e,n=ae){const{immediate:r,deep:i,flush:s,once:o}=n,a=Re({},n),l=e&&r||!e&&s!=="post";let u;if(ii){if(s==="sync"){const h=lh();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=jt,h.resume=jt,h.pause=jt,h}}const c=Je;a.call=(h,m,p)=>Zt(h,c,m,p);let f=!1;s==="post"?a.scheduler=h=>{pt(h,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,m)=>{m?h():no(h)}),a.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=Gd(t,e,a);return ii&&(u?u.push(d):l&&d()),d}function ch(t,e,n){const r=this.proxy,i=ke(t)?t.includes(".")?fl(r,t):()=>r[t]:t.bind(r,r);let s;G(e)?s=e:(s=e.handler,n=e);const o=ri(this),a=ul(i,s.bind(r),n);return o(),a}function fl(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const uh=Symbol("_vte"),dl=t=>t.__isTeleport,un=Symbol("_leaveCb"),Yi=Symbol("_enterCb");function fh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return kn(()=>{t.isMounted=!0}),wl(()=>{t.isUnmounting=!0}),t}const $t=[Function,Array],hl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$t,onEnter:$t,onAfterEnter:$t,onEnterCancelled:$t,onBeforeLeave:$t,onLeave:$t,onAfterLeave:$t,onLeaveCancelled:$t,onBeforeAppear:$t,onAppear:$t,onAfterAppear:$t,onAppearCancelled:$t},pl=t=>{const e=t.subTree;return e.component?pl(e.component):e},dh={name:"BaseTransition",props:hl,setup(t,{slots:e}){const n=ec(),r=fh();return()=>{const i=e.default&&vl(e.default(),!0);if(!i||!i.length)return;const s=ml(i),o=oe(t),{mode:a}=o;if(r.isLeaving)return io(s);const l=_l(s);if(!l)return io(s);let u=ro(l,o,r,n,f=>u=f);l.type!==We&&Yr(l,u);let c=n.subTree&&_l(n.subTree);if(c&&c.type!==We&&!qn(c,l)&&pl(n).type!==We){let f=ro(c,o,r,n);if(Yr(c,f),a==="out-in"&&l.type!==We)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},io(s);a==="in-out"&&l.type!==We?f.delayLeave=(d,h,m)=>{const p=gl(r,c);p[String(c.key)]=c,d[un]=()=>{h(),d[un]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function ml(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==We){e=n;break}}return e}const hh=dh;function gl(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function ro(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:y,onAppear:x,onAfterAppear:k,onAppearCancelled:z}=e,b=String(t.key),S=gl(n,t),E=(v,F)=>{v&&Zt(v,r,9,F)},w=(v,F)=>{const P=F[1];E(v,F),q(v)?v.every(T=>T.length<=1)&&P():v.length<=1&&P()},A={mode:o,persisted:a,beforeEnter(v){let F=l;if(!n.isMounted)if(s)F=y||l;else return;v[un]&&v[un](!0);const P=S[b];P&&qn(t,P)&&P.el[un]&&P.el[un](),E(F,[v])},enter(v){let F=u,P=c,T=f;if(!n.isMounted)if(s)F=x||u,P=k||c,T=z||f;else return;let I=!1;const K=v[Yi]=ne=>{I||(I=!0,ne?E(T,[v]):E(P,[v]),A.delayedLeave&&A.delayedLeave(),v[Yi]=void 0)};F?w(F,[v,K]):K()},leave(v,F){const P=String(t.key);if(v[Yi]&&v[Yi](!0),n.isUnmounting)return F();E(d,[v]);let T=!1;const I=v[un]=K=>{T||(T=!0,F(),K?E(p,[v]):E(m,[v]),v[un]=void 0,S[P]===t&&delete S[P])};S[P]=t,h?w(h,[v,I]):I()},clone(v){const F=ro(v,e,n,r,i);return i&&i(F),F}};return A}function io(t){if(Xi(t))return t=Tn(t),t.children=null,t}function _l(t){if(!Xi(t))return dl(t.type)&&t.children?ml(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&G(n.default))return n.default()}}function Yr(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Yr(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function vl(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Ae?(o.patchFlag&128&&i++,r=r.concat(vl(o.children,e,a))):(e||o.type!==We)&&r.push(a!=null?Tn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Te(t,e){return G(t)?Re({name:t.name},e,{setup:t}):t}function yl(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const Gi=new WeakMap;function Gr(t,e,n,r,i=!1){if(q(t)){t.forEach((m,p)=>Gr(m,e&&(q(e)?e[p]:e),n,r,i));return}if(_r(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Gr(t,e,n,r.component.subTree);return}const s=r.shapeFlag&4?ls(r.component):r.el,o=i?null:s,{i:a,r:l}=t,u=e&&e.r,c=a.refs===ae?a.refs={}:a.refs,f=a.setupState,d=oe(f),h=f===ae?Ca:m=>ce(d,m);if(u!=null&&u!==l){if(bl(e),ke(u))c[u]=null,h(u)&&(f[u]=null);else if(Le(u)){u.value=null;const m=e;m.k&&(c[m.k]=null)}}if(G(l))pr(l,a,12,[o,c]);else{const m=ke(l),p=Le(l);if(m||p){const y=()=>{if(t.f){const x=m?h(l)?f[l]:c[l]:l.value;if(i)q(x)&&Fs(x,s);else if(q(x))x.includes(s)||x.push(s);else if(m)c[l]=[s],h(l)&&(f[l]=c[l]);else{const k=[s];l.value=k,t.k&&(c[t.k]=k)}}else m?(c[l]=o,h(l)&&(f[l]=o)):p&&(l.value=o,t.k&&(c[t.k]=o))};if(o){const x=()=>{y(),Gi.delete(t)};x.id=-1,Gi.set(t,x),pt(x,n)}else bl(t),y()}}}function bl(t){const e=Gi.get(t);e&&(e.flags|=8,Gi.delete(t))}Ri().requestIdleCallback,Ri().cancelIdleCallback;const _r=t=>!!t.type.__asyncLoader,Xi=t=>t.type.__isKeepAlive;function ph(t,e){xl(t,"a",e)}function mh(t,e){xl(t,"da",e)}function xl(t,e,n=Je){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Qi(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Xi(i.parent.vnode)&&gh(r,e,n,i),i=i.parent}}function gh(t,e,n,r){const i=Qi(e,t,r,!0);Jn(()=>{Fs(r[e],i)},n)}function Qi(t,e,n=Je,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{Ut();const a=ri(n),l=Zt(e,n,t,o);return a(),Vt(),l});return r?i.unshift(s):i.push(s),s}}const fn=t=>(e,n=Je)=>{(!ii||t==="sp")&&Qi(t,(...r)=>e(...r),n)},_h=fn("bm"),kn=fn("m"),vh=fn("bu"),yh=fn("u"),wl=fn("bum"),Jn=fn("um"),bh=fn("sp"),xh=fn("rtg"),wh=fn("rtc");function Sh(t,e=Je){Qi("ec",t,e)}const kh="components",Sl=Symbol.for("v-ndc");function es(t){return ke(t)?Th(kh,t,!1)||t:t||Sl}function Th(t,e,n=!0,r=!1){const i=je||Je;if(i){const s=i.type;{const a=sc(s,!1);if(a&&(a===e||a===zt(e)||a===Mi(zt(e))))return s}const o=kl(i[t]||s[t],e)||kl(i.appContext[t],e);return!o&&r?s:o}}function kl(t,e){return t&&(t[e]||t[zt(e)]||t[Mi(zt(e))])}function vr(t,e,n,r){let i;const s=n,o=q(t);if(o||ke(t)){const a=o&&Vn(t);let l=!1,u=!1;a&&(l=!Ct(t),u=an(t),t=Fi(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?hr(Rt(t[c])):Rt(t[c]):t[c],c,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(me(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,s));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,s)}}else i=[];return i}function Tl(t,e,n={},r,i){if(je.ce||je.parent&&_r(je.parent)&&je.parent.ce){const u=Object.keys(n).length>0;return e!=="default"&&(n.name=e),V(),He(Ae,null,[Ie("slot",n,r)],u?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),V();const o=s&&zl(s(n)),a=n.key||o&&o.key,l=He(Ae,{key:(a&&!rn(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function zl(t){return t.some(e=>ni(e)?!(e.type===We||e.type===Ae&&!zl(e.children)):!0)?t:null}const so=t=>t?nc(t)?ls(t):so(t.parent):null,Xr=Re(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=>so(t.parent),$root:t=>so(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>El(t),$forceUpdate:t=>t.f||(t.f=()=>{no(t.update)}),$nextTick:t=>t.n||(t.n=il.bind(t.proxy)),$watch:t=>ch.bind(t)}),oo=(t,e)=>t!==ae&&!t.__isScriptSetup&&ce(t,e),zh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(oo(r,e))return o[e]=1,r[e];if(i!==ae&&ce(i,e))return o[e]=2,i[e];if(ce(s,e))return o[e]=3,s[e];if(n!==ae&&ce(n,e))return o[e]=4,n[e];ao&&(o[e]=0)}}const u=Xr[e];let c,f;if(u)return e==="$attrs"&&Be(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(n!==ae&&ce(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ce(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return oo(i,e)?(i[e]=n,!0):r!==ae&&ce(r,e)?(r[e]=n,!0):ce(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let l;return!!(n[a]||t!==ae&&a[0]!=="$"&&ce(t,a)||oo(e,a)||ce(s,a)||ce(r,a)||ce(Xr,a)||ce(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ce(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Cl(t){return q(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let ao=!0;function Ch(t){const e=El(t),n=t.proxy,r=t.ctx;ao=!1,e.beforeCreate&&Ol(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:y,beforeDestroy:x,beforeUnmount:k,destroyed:z,unmounted:b,render:S,renderTracked:E,renderTriggered:w,errorCaptured:A,serverPrefetch:v,expose:F,inheritAttrs:P,components:T,directives:I,filters:K}=e;if(u&&Oh(u,r,null),o)for(const ee in o){const te=o[ee];G(te)&&(r[ee]=te.bind(n))}if(i){const ee=i.call(n,n);me(ee)&&(t.data=Ui(ee))}if(ao=!0,s)for(const ee in s){const te=s[ee],Mt=G(te)?te.bind(n,n):G(te.get)?te.get.bind(n,n):jt,Qt=!G(te)&&G(te.set)?te.set.bind(n):jt,kt=le({get:Mt,set:Qt});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>kt.value,set:Ze=>kt.value=Ze})}if(a)for(const ee in a)$l(a[ee],r,n,ee);if(l){const ee=G(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(te=>{oh(te,ee[te])})}c&&Ol(c,t,"c");function Q(ee,te){q(te)?te.forEach(Mt=>ee(Mt.bind(n))):te&&ee(te.bind(n))}if(Q(_h,f),Q(kn,d),Q(vh,h),Q(yh,m),Q(ph,p),Q(mh,y),Q(Sh,A),Q(wh,E),Q(xh,w),Q(wl,k),Q(Jn,b),Q(bh,v),q(F))if(F.length){const ee=t.exposed||(t.exposed={});F.forEach(te=>{Object.defineProperty(ee,te,{get:()=>n[te],set:Mt=>n[te]=Mt,enumerable:!0})})}else t.exposed||(t.exposed={});S&&t.render===jt&&(t.render=S),P!=null&&(t.inheritAttrs=P),T&&(t.components=T),I&&(t.directives=I),v&&yl(t)}function Oh(t,e,n=jt){q(t)&&(t=lo(t));for(const r in t){const i=t[r];let s;me(i)?"default"in i?s=cn(i.from||r,i.default,!0):s=cn(i.from||r):s=cn(i),Le(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function Ol(t,e,n){Zt(q(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function $l(t,e,n,r){let i=r.includes(".")?fl(n,r):()=>n[r];if(ke(t)){const s=e[t];G(s)&&Hn(i,s)}else if(G(t))Hn(i,t.bind(n));else if(me(t))if(q(t))t.forEach(s=>$l(s,e,n,r));else{const s=G(t.handler)?t.handler.bind(n):e[t.handler];G(s)&&Hn(i,s,t)}}function El(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(u=>ts(l,u,o,!0)),ts(l,e,o)),me(e)&&s.set(e,l),l}function ts(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&ts(t,s,n,!0),i&&i.forEach(o=>ts(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=$h[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const $h={data:Pl,props:Al,emits:Al,methods:Qr,computed:Qr,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:Qr,directives:Qr,watch:Ph,provide:Pl,inject:Eh};function Pl(t,e){return e?t?function(){return Re(G(t)?t.call(this,this):t,G(e)?e.call(this,this):e)}:e:t}function Eh(t,e){return Qr(lo(t),lo(e))}function lo(t){if(q(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function tt(t,e){return t?[...new Set([].concat(t,e))]:e}function Qr(t,e){return t?Re(Object.create(null),t,e):e}function Al(t,e){return t?q(t)&&q(e)?[...new Set([...t,...e])]:Re(Object.create(null),Cl(t),Cl(e??{})):e}function Ph(t,e){if(!t)return e;if(!e)return t;const n=Re(Object.create(null),t);for(const r in e)n[r]=tt(t[r],e[r]);return n}function Il(){return{app:null,config:{isNativeTag:Ca,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 Ah=0;function Ih(t,e){return function(r,i=null){G(r)||(r=Re({},r)),i!=null&&!me(i)&&(i=null);const s=Il(),o=new WeakSet,a=[];let l=!1;const u=s.app={_uid:Ah++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:dp,get config(){return s.config},set config(c){},use(c,...f){return o.has(c)||(c&&G(c.install)?(o.add(c),c.install(u,...f)):G(c)&&(o.add(c),c(u,...f))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,f){return f?(s.components[c]=f,u):s.components[c]},directive(c,f){return f?(s.directives[c]=f,u):s.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||Ie(r,i);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),t(h,c,d),l=!0,u._container=c,c.__vue_app__=u,ls(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Zt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return s.provides[c]=f,u},runWithContext(c){const f=yr;yr=u;try{return c()}finally{yr=f}}};return u}}let yr=null;const Dh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${zt(e)}Modifiers`]||t[`${jn(e)}Modifiers`];function Mh(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ae;let i=n;const s=e.startsWith("update:"),o=s&&Dh(r,e.slice(7));o&&(o.trim&&(i=n.map(c=>ke(c)?c.trim():c)),o.number&&(i=n.map(js)));let a,l=r[a=Ls(e)]||r[a=Ls(zt(e))];!l&&s&&(l=r[a=Ls(jn(e))]),l&&Zt(l,t,6,i);const u=r[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zt(u,t,6,i)}}const Nh=new WeakMap;function Dl(t,e,n=!1){const r=n?Nh:e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!G(t)){const l=u=>{const c=Dl(u,e,!0);c&&(a=!0,Re(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(me(t)&&r.set(t,null),null):(q(s)?s.forEach(l=>o[l]=null):Re(o,s),me(t)&&r.set(t,o),o)}function ns(t,e){return!t||!Ai(e)?!1:(e=e.slice(2).replace(/Once$/,""),ce(t,e[0].toLowerCase()+e.slice(1))||ce(t,jn(e))||ce(t,e))}function hx(){}function Ml(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=t,y=qi(t);let x,k;try{if(n.shapeFlag&4){const b=i||r,S=b;x=Wt(u.call(S,b,c,f,h,d,m)),k=a}else{const b=e;x=Wt(b.length>1?b(f,{attrs:a,slots:o,emit:l}):b(f,null)),k=e.props?a:Rh(a)}}catch(b){ei.length=0,Ji(b,t,1),x=Ie(We)}let z=x;if(k&&p!==!1){const b=Object.keys(k),{shapeFlag:S}=z;b.length&&S&7&&(s&&b.some(Rs)&&(k=Fh(k,s)),z=Tn(z,k,!1,!0))}return n.dirs&&(z=Tn(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&Yr(z,n.transition),x=z,qi(y),x}const Rh=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ai(n))&&((e||(e={}))[n]=t[n]);return e},Fh=(t,e)=>{const n={};for(const r in t)(!Rs(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Zh(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Nl(r,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(o[d]!==r[d]&&!ns(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Nl(r,o,u):!0:!!o;return!1}function Nl(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!ns(n,s))return!0}return!1}function Lh({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const Rl={},Fl=()=>Object.create(Rl),Zl=t=>Object.getPrototypeOf(t)===Rl;function jh(t,e,n,r=!1){const i={},s=Fl();t.propsDefaults=Object.create(null),Ll(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:Vd(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Uh(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=oe(i),[l]=t.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(ns(t.emitsOptions,d))continue;const h=e[d];if(l)if(ce(s,d))h!==s[d]&&(s[d]=h,u=!0);else{const m=zt(d);i[m]=co(l,a,m,h,t,!1)}else h!==s[d]&&(s[d]=h,u=!0)}}}else{Ll(t,e,i,s)&&(u=!0);let c;for(const f in a)(!e||!ce(e,f)&&((c=jn(f))===f||!ce(e,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=co(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!ce(e,f))&&(delete s[f],u=!0)}u&&sn(t.attrs,"set","")}function Ll(t,e,n,r){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(Ur(l))continue;const u=e[l];let c;i&&ce(i,c=zt(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:ns(t.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(s){const l=oe(n),u=a||ae;for(let c=0;c<s.length;c++){const f=s[c];n[f]=co(i,l,f,u[f],t,!ce(u,f))}}return o}function co(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=ce(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&G(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=ri(i);r=u[n]=l.call(null,e),c()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===jn(n))&&(r=!0))}return r}const Vh=new WeakMap;function jl(t,e,n=!1){const r=n?Vh:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!G(t)){const c=f=>{l=!0;const[d,h]=jl(f,e,!0);Re(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return me(t)&&r.set(t,ur),ur;if(q(s))for(let c=0;c<s.length;c++){const f=zt(s[c]);Ul(f)&&(o[f]=ae)}else if(s)for(const c in s){const f=zt(c);if(Ul(f)){const d=s[c],h=o[f]=q(d)||G(d)?{type:d}:Re({},d),m=h.type;let p=!1,y=!0;if(q(m))for(let x=0;x<m.length;++x){const k=m[x],z=G(k)&&k.name;if(z==="Boolean"){p=!0;break}else z==="String"&&(y=!1)}else p=G(m)&&m.name==="Boolean";h[0]=p,h[1]=y,(p||ce(h,"default"))&&a.push(f)}}const u=[o,a];return me(t)&&r.set(t,u),u}function Ul(t){return t[0]!=="$"&&!Ur(t)}const uo=t=>t==="_"||t==="_ctx"||t==="$stable",fo=t=>q(t)?t.map(Wt):[Wt(t)],Bh=(t,e,n)=>{if(e._n)return e;const r=Ot((...i)=>fo(e(...i)),n);return r._c=!1,r},Vl=(t,e,n)=>{const r=t._ctx;for(const i in t){if(uo(i))continue;const s=t[i];if(G(s))e[i]=Bh(i,s,r);else if(s!=null){const o=fo(s);e[i]=()=>o}}},Bl=(t,e)=>{const n=fo(e);t.slots.default=()=>n},Wl=(t,e,n)=>{for(const r in e)(n||!uo(r))&&(t[r]=e[r])},Wh=(t,e,n)=>{const r=t.slots=Fl();if(t.vnode.shapeFlag&32){const i=e._;i?(Wl(r,e,n),n&&Aa(r,"_",i,!0)):Vl(e,r)}else e&&Bl(t,e)},Hh=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=ae;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:Wl(i,e,n):(s=!e.$stable,Vl(e,i)),o=e}else e&&(Bl(t,e),o={default:1});if(s)for(const a in i)!uo(a)&&o[a]==null&&delete i[a]},pt=Gh;function Jh(t){return Kh(t)}function Kh(t,e){const n=Ri();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=jt,insertStaticContent:m}=t,p=(g,_,O,R=null,D=null,M=null,j=void 0,L=null,Z=!!_.dynamicChildren)=>{if(g===_)return;g&&!qn(g,_)&&(R=Ns(g),Ze(g,D,M,!0),g=null),_.patchFlag===-2&&(Z=!1,_.dynamicChildren=null);const{type:N,ref:J,shapeFlag:U}=_;switch(N){case rs:y(g,_,O,R);break;case We:x(g,_,O,R);break;case is:g==null&&k(_,O,R,j);break;case Ae:T(g,_,O,R,D,M,j,L,Z);break;default:U&1?S(g,_,O,R,D,M,j,L,Z):U&6?I(g,_,O,R,D,M,j,L,Z):(U&64||U&128)&&N.process(g,_,O,R,D,M,j,L,Z,Ei)}J!=null&&D?Gr(J,g&&g.ref,M,_||g,!_):J==null&&g&&g.ref!=null&&Gr(g.ref,null,M,g,!0)},y=(g,_,O,R)=>{if(g==null)r(_.el=a(_.children),O,R);else{const D=_.el=g.el;_.children!==g.children&&u(D,_.children)}},x=(g,_,O,R)=>{g==null?r(_.el=l(_.children||""),O,R):_.el=g.el},k=(g,_,O,R)=>{[g.el,g.anchor]=m(g.children,_,O,R,g.el,g.anchor)},z=({el:g,anchor:_},O,R)=>{let D;for(;g&&g!==_;)D=d(g),r(g,O,R),g=D;r(_,O,R)},b=({el:g,anchor:_})=>{let O;for(;g&&g!==_;)O=d(g),i(g),g=O;i(_)},S=(g,_,O,R,D,M,j,L,Z)=>{if(_.type==="svg"?j="svg":_.type==="math"&&(j="mathml"),g==null)E(_,O,R,D,M,j,L,Z);else{const N=g.el&&g.el._isVueCE?g.el:null;try{N&&N._beginPatch(),v(g,_,D,M,j,L,Z)}finally{N&&N._endPatch()}}},E=(g,_,O,R,D,M,j,L)=>{let Z,N;const{props:J,shapeFlag:U,transition:W,dirs:X}=g;if(Z=g.el=o(g.type,M,J&&J.is,J),U&8?c(Z,g.children):U&16&&A(g.children,Z,null,R,D,ho(g,M),j,L),X&&Wn(g,null,R,"created"),w(Z,g,g.scopeId,j,R),J){for(const ye in J)ye!=="value"&&!Ur(ye)&&s(Z,ye,null,J[ye],M,R);"value"in J&&s(Z,"value",null,J.value,M),(N=J.onVnodeBeforeMount)&&Ht(N,R,g)}X&&Wn(g,null,R,"beforeMount");const se=qh(D,W);se&&W.beforeEnter(Z),r(Z,_,O),((N=J&&J.onVnodeMounted)||se||X)&&pt(()=>{N&&Ht(N,R,g),se&&W.enter(Z),X&&Wn(g,null,R,"mounted")},D)},w=(g,_,O,R,D)=>{if(O&&h(g,O),R)for(let M=0;M<R.length;M++)h(g,R[M]);if(D){let M=D.subTree;if(_===M||Yl(M.type)&&(M.ssContent===_||M.ssFallback===_)){const j=D.vnode;w(g,j,j.scopeId,j.slotScopeIds,D.parent)}}},A=(g,_,O,R,D,M,j,L,Z=0)=>{for(let N=Z;N<g.length;N++){const J=g[N]=L?zn(g[N]):Wt(g[N]);p(null,J,_,O,R,D,M,j,L)}},v=(g,_,O,R,D,M,j)=>{const L=_.el=g.el;let{patchFlag:Z,dynamicChildren:N,dirs:J}=_;Z|=g.patchFlag&16;const U=g.props||ae,W=_.props||ae;let X;if(O&&Kn(O,!1),(X=W.onVnodeBeforeUpdate)&&Ht(X,O,_,g),J&&Wn(_,g,O,"beforeUpdate"),O&&Kn(O,!0),(U.innerHTML&&W.innerHTML==null||U.textContent&&W.textContent==null)&&c(L,""),N?F(g.dynamicChildren,N,L,O,R,ho(_,D),M):j||te(g,_,L,null,O,R,ho(_,D),M,!1),Z>0){if(Z&16)P(L,U,W,O,D);else if(Z&2&&U.class!==W.class&&s(L,"class",null,W.class,D),Z&4&&s(L,"style",U.style,W.style,D),Z&8){const se=_.dynamicProps;for(let ye=0;ye<se.length;ye++){const fe=se[ye],dt=U[fe],ht=W[fe];(ht!==dt||fe==="value")&&s(L,fe,dt,ht,D,O)}}Z&1&&g.children!==_.children&&c(L,_.children)}else!j&&N==null&&P(L,U,W,O,D);((X=W.onVnodeUpdated)||J)&&pt(()=>{X&&Ht(X,O,_,g),J&&Wn(_,g,O,"updated")},R)},F=(g,_,O,R,D,M,j)=>{for(let L=0;L<_.length;L++){const Z=g[L],N=_[L],J=Z.el&&(Z.type===Ae||!qn(Z,N)||Z.shapeFlag&198)?f(Z.el):O;p(Z,N,J,null,R,D,M,j,!0)}},P=(g,_,O,R,D)=>{if(_!==O){if(_!==ae)for(const M in _)!Ur(M)&&!(M in O)&&s(g,M,_[M],null,D,R);for(const M in O){if(Ur(M))continue;const j=O[M],L=_[M];j!==L&&M!=="value"&&s(g,M,L,j,D,R)}"value"in O&&s(g,"value",_.value,O.value,D)}},T=(g,_,O,R,D,M,j,L,Z)=>{const N=_.el=g?g.el:a(""),J=_.anchor=g?g.anchor:a("");let{patchFlag:U,dynamicChildren:W,slotScopeIds:X}=_;X&&(L=L?L.concat(X):X),g==null?(r(N,O,R),r(J,O,R),A(_.children||[],O,J,D,M,j,L,Z)):U>0&&U&64&&W&&g.dynamicChildren&&g.dynamicChildren.length===W.length?(F(g.dynamicChildren,W,O,D,M,j,L),(_.key!=null||D&&_===D.subTree)&&Hl(g,_,!0)):te(g,_,O,J,D,M,j,L,Z)},I=(g,_,O,R,D,M,j,L,Z)=>{_.slotScopeIds=L,g==null?_.shapeFlag&512?D.ctx.activate(_,O,R,j,Z):K(_,O,R,D,M,j,Z):ne(g,_,Z)},K=(g,_,O,R,D,M,j)=>{const L=g.component=ip(g,R,D);if(Xi(g)&&(L.ctx.renderer=Ei),sp(L,!1,j),L.asyncDep){if(D&&D.registerDep(L,Q,j),!g.el){const Z=L.subTree=Ie(We);x(null,Z,_,O),g.placeholder=Z.el}}else Q(L,g,_,O,D,M,j)},ne=(g,_,O)=>{const R=_.component=g.component;if(Zh(g,_,O))if(R.asyncDep&&!R.asyncResolved){ee(R,_,O);return}else R.next=_,R.update();else _.el=g.el,R.vnode=_},Q=(g,_,O,R,D,M,j)=>{const L=()=>{if(g.isMounted){let{next:U,bu:W,u:X,parent:se,vnode:ye}=g;{const tn=Jl(g);if(tn){U&&(U.el=ye.el,ee(g,U,j)),tn.asyncDep.then(()=>{g.isUnmounted||L()});return}}let fe=U,dt;Kn(g,!1),U?(U.el=ye.el,ee(g,U,j)):U=ye,W&&Ni(W),(dt=U.props&&U.props.onVnodeBeforeUpdate)&&Ht(dt,se,U,ye),Kn(g,!0);const ht=Ml(g),en=g.subTree;g.subTree=ht,p(en,ht,f(en.el),Ns(en),g,D,M),U.el=ht.el,fe===null&&Lh(g,ht.el),X&&pt(X,D),(dt=U.props&&U.props.onVnodeUpdated)&&pt(()=>Ht(dt,se,U,ye),D)}else{let U;const{el:W,props:X}=_,{bm:se,m:ye,parent:fe,root:dt,type:ht}=g,en=_r(_);Kn(g,!1),se&&Ni(se),!en&&(U=X&&X.onVnodeBeforeMount)&&Ht(U,fe,_),Kn(g,!0);{dt.ce&&dt.ce._def.shadowRoot!==!1&&dt.ce._injectChildStyle(ht);const tn=g.subTree=Ml(g);p(null,tn,O,R,g,D,M),_.el=tn.el}if(ye&&pt(ye,D),!en&&(U=X&&X.onVnodeMounted)){const tn=_;pt(()=>Ht(U,fe,tn),D)}(_.shapeFlag&256||fe&&_r(fe.vnode)&&fe.vnode.shapeFlag&256)&&g.a&&pt(g.a,D),g.isMounted=!0,_=O=R=null}};g.scope.on();const Z=g.effect=new Ra(L);g.scope.off();const N=g.update=Z.run.bind(Z),J=g.job=Z.runIfDirty.bind(Z);J.i=g,J.id=g.uid,Z.scheduler=()=>no(J),Kn(g,!0),N()},ee=(g,_,O)=>{_.component=g;const R=g.vnode.props;g.vnode=_,g.next=null,Uh(g,_.props,R,O),Hh(g,_.children,O),Ut(),ol(g),Vt()},te=(g,_,O,R,D,M,j,L,Z=!1)=>{const N=g&&g.children,J=g?g.shapeFlag:0,U=_.children,{patchFlag:W,shapeFlag:X}=_;if(W>0){if(W&128){Qt(N,U,O,R,D,M,j,L,Z);return}else if(W&256){Mt(N,U,O,R,D,M,j,L,Z);return}}X&8?(J&16&&$i(N,D,M),U!==N&&c(O,U)):J&16?X&16?Qt(N,U,O,R,D,M,j,L,Z):$i(N,D,M,!0):(J&8&&c(O,""),X&16&&A(U,O,R,D,M,j,L,Z))},Mt=(g,_,O,R,D,M,j,L,Z)=>{g=g||ur,_=_||ur;const N=g.length,J=_.length,U=Math.min(N,J);let W;for(W=0;W<U;W++){const X=_[W]=Z?zn(_[W]):Wt(_[W]);p(g[W],X,O,null,D,M,j,L,Z)}N>J?$i(g,D,M,!0,!1,U):A(_,O,R,D,M,j,L,Z,U)},Qt=(g,_,O,R,D,M,j,L,Z)=>{let N=0;const J=_.length;let U=g.length-1,W=J-1;for(;N<=U&&N<=W;){const X=g[N],se=_[N]=Z?zn(_[N]):Wt(_[N]);if(qn(X,se))p(X,se,O,null,D,M,j,L,Z);else break;N++}for(;N<=U&&N<=W;){const X=g[U],se=_[W]=Z?zn(_[W]):Wt(_[W]);if(qn(X,se))p(X,se,O,null,D,M,j,L,Z);else break;U--,W--}if(N>U){if(N<=W){const X=W+1,se=X<J?_[X].el:R;for(;N<=W;)p(null,_[N]=Z?zn(_[N]):Wt(_[N]),O,se,D,M,j,L,Z),N++}}else if(N>W)for(;N<=U;)Ze(g[N],D,M,!0),N++;else{const X=N,se=N,ye=new Map;for(N=se;N<=W;N++){const Tt=_[N]=Z?zn(_[N]):Wt(_[N]);Tt.key!=null&&ye.set(Tt.key,N)}let fe,dt=0;const ht=W-se+1;let en=!1,tn=0;const Pi=new Array(ht);for(N=0;N<ht;N++)Pi[N]=0;for(N=X;N<=U;N++){const Tt=g[N];if(dt>=ht){Ze(Tt,D,M,!0);continue}let nn;if(Tt.key!=null)nn=ye.get(Tt.key);else for(fe=se;fe<=W;fe++)if(Pi[fe-se]===0&&qn(Tt,_[fe])){nn=fe;break}nn===void 0?Ze(Tt,D,M,!0):(Pi[nn-se]=N+1,nn>=tn?tn=nn:en=!0,p(Tt,_[nn],O,null,D,M,j,L,Z),dt++)}const ud=en?Yh(Pi):ur;for(fe=ud.length-1,N=ht-1;N>=0;N--){const Tt=se+N,nn=_[Tt],fd=_[Tt+1],dd=Tt+1<J?fd.el||ql(fd):R;Pi[N]===0?p(null,nn,O,dd,D,M,j,L,Z):en&&(fe<0||N!==ud[fe]?kt(nn,O,dd,2):fe--)}}},kt=(g,_,O,R,D=null)=>{const{el:M,type:j,transition:L,children:Z,shapeFlag:N}=g;if(N&6){kt(g.component.subTree,_,O,R);return}if(N&128){g.suspense.move(_,O,R);return}if(N&64){j.move(g,_,O,Ei);return}if(j===Ae){r(M,_,O);for(let U=0;U<Z.length;U++)kt(Z[U],_,O,R);r(g.anchor,_,O);return}if(j===is){z(g,_,O);return}if(R!==2&&N&1&&L)if(R===0)L.beforeEnter(M),r(M,_,O),pt(()=>L.enter(M),D);else{const{leave:U,delayLeave:W,afterLeave:X}=L,se=()=>{g.ctx.isUnmounted?i(M):r(M,_,O)},ye=()=>{M._isLeaving&&M[un](!0),U(M,()=>{se(),X&&X()})};W?W(M,se,ye):ye()}else r(M,_,O)},Ze=(g,_,O,R=!1,D=!1)=>{const{type:M,props:j,ref:L,children:Z,dynamicChildren:N,shapeFlag:J,patchFlag:U,dirs:W,cacheIndex:X}=g;if(U===-2&&(D=!1),L!=null&&(Ut(),Gr(L,null,O,g,!0),Vt()),X!=null&&(_.renderCache[X]=void 0),J&256){_.ctx.deactivate(g);return}const se=J&1&&W,ye=!_r(g);let fe;if(ye&&(fe=j&&j.onVnodeBeforeUnmount)&&Ht(fe,_,g),J&6)bn(g.component,O,R);else{if(J&128){g.suspense.unmount(O,R);return}se&&Wn(g,null,_,"beforeUnmount"),J&64?g.type.remove(g,_,O,Ei,R):N&&!N.hasOnce&&(M!==Ae||U>0&&U&64)?$i(N,_,O,!1,!0):(M===Ae&&U&384||!D&&J&16)&&$i(Z,_,O),R&&Oi(g)}(ye&&(fe=j&&j.onVnodeUnmounted)||se)&&pt(()=>{fe&&Ht(fe,_,g),se&&Wn(g,null,_,"unmounted")},O)},Oi=g=>{const{type:_,el:O,anchor:R,transition:D}=g;if(_===Ae){Lt(O,R);return}if(_===is){b(g);return}const M=()=>{i(O),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(g.shapeFlag&1&&D&&!D.persisted){const{leave:j,delayLeave:L}=D,Z=()=>j(O,M);L?L(g.el,M,Z):Z()}else M()},Lt=(g,_)=>{let O;for(;g!==_;)O=d(g),i(g),g=O;i(_)},bn=(g,_,O)=>{const{bum:R,scope:D,job:M,subTree:j,um:L,m:Z,a:N}=g;Kl(Z),Kl(N),R&&Ni(R),D.stop(),M&&(M.flags|=8,Ze(j,g,_,O)),L&&pt(L,_),pt(()=>{g.isUnmounted=!0},_)},$i=(g,_,O,R=!1,D=!1,M=0)=>{for(let j=M;j<g.length;j++)Ze(g[j],_,O,R,D)},Ns=g=>{if(g.shapeFlag&6)return Ns(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const _=d(g.anchor||g.el),O=_&&_[uh];return O?d(O):_};let za=!1;const cd=(g,_,O)=>{let R;g==null?_._vnode&&(Ze(_._vnode,null,null,!0),R=_._vnode.component):p(_._vnode||null,g,_,null,null,null,O),_._vnode=g,za||(za=!0,ol(R),al(),za=!1)},Ei={p,um:Ze,m:kt,r:Oi,mt:K,mc:A,pc:te,pbc:F,n:Ns,o:t};return{render:cd,hydrate:void 0,createApp:Ih(cd)}}function ho({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Kn({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function qh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Hl(t,e,n=!1){const r=t.children,i=e.children;if(q(r)&&q(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=zn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&Hl(o,a)),a.type===rs&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(t.type===Ae?1:0)),a.type===We&&!a.el&&(a.el=o.el)}}function Yh(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const u=t[r];if(u!==0){if(i=n[n.length-1],t[i]<u){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<u?s=a+1:o=a;u<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}function Jl(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Jl(e)}function Kl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function ql(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?ql(e.subTree):null}const Yl=t=>t.__isSuspense;function Gh(t,e){e&&e.pendingBranch?q(t)?e.effects.push(...t):e.effects.push(t):ih(t)}const Ae=Symbol.for("v-fgt"),rs=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),is=Symbol.for("v-stc"),ei=[];let mt=null;function V(t=!1){ei.push(mt=t?null:[])}function Xh(){ei.pop(),mt=ei[ei.length-1]||null}let ti=1;function ss(t,e=!1){ti+=t,t<0&&mt&&e&&(mt.hasOnce=!0)}function Gl(t){return t.dynamicChildren=ti>0?mt||ur:null,Xh(),ti>0&&mt&&mt.push(t),t}function H(t,e,n,r,i,s){return Gl($(t,e,n,r,i,s,!0))}function He(t,e,n,r,i){return Gl(Ie(t,e,n,r,i,!0))}function ni(t){return t?t.__v_isVNode===!0:!1}function qn(t,e){return t.type===e.type&&t.key===e.key}const Xl=({key:t})=>t??null,os=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ke(t)||Le(t)||G(t)?{i:je,r:t,k:e,f:!!n}:t:null);function $(t,e=null,n=null,r=0,i=null,s=t===Ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Xl(e),ref:e&&os(e),scopeId:cl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:je};return a?(po(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=ke(n)?8:16),ti>0&&!o&&mt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&mt.push(l),l}const Ie=Qh;function Qh(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===Sl)&&(t=We),ni(t)){const a=Tn(t,e,!0);return n&&po(a,n),ti>0&&!s&&mt&&(a.shapeFlag&6?mt[mt.indexOf(t)]=a:mt.push(a)),a.patchFlag=-2,a}if(fp(t)&&(t=t.__vccOpts),e){e=ep(e);let{class:a,style:l}=e;a&&!ke(a)&&(e.class=Y(a)),me(l)&&(eo(l)&&!q(l)&&(l=Re({},l)),e.style=Qe(l))}const o=ke(t)?1:Yl(t)?128:dl(t)?64:me(t)?4:G(t)?2:0;return $(t,e,n,r,i,o,s,!0)}function ep(t){return t?eo(t)||Zl(t)?Re({},t):t:null}function Tn(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,u=e?mo(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Xl(u),ref:e&&e.ref?n&&s?q(s)?s.concat(os(e)):[s,os(e)]:os(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Tn(t.ssContent),ssFallback:t.ssFallback&&Tn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&Yr(c,l.clone(c)),c}function Ql(t=" ",e=0){return Ie(rs,null,t,e)}function tp(t,e){const n=Ie(is,null,t);return n.staticCount=e,n}function Ee(t="",e=!1){return e?(V(),He(We,null,t)):Ie(We,null,t)}function Wt(t){return t==null||typeof t=="boolean"?Ie(We):q(t)?Ie(Ae,null,t.slice()):ni(t)?zn(t):Ie(rs,null,String(t))}function zn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Tn(t)}function po(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(q(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),po(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!Zl(e)?e._ctx=je:i===3&&je&&(je.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else G(e)?(e={default:e,_ctx:je},n=32):(e=String(e),r&64?(n=16,e=[Ql(e)]):n=8);t.children=e,t.shapeFlag|=n}function mo(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=Y([e.class,r.class]));else if(i==="style")e.style=Qe([e.style,r.style]);else if(Ai(i)){const s=e[i],o=r[i];o&&s!==o&&!(q(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=r[i])}return e}function Ht(t,e,n,r=null){Zt(t,e,7,[n,r])}const np=Il();let rp=0;function ip(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||np,s={uid:rp++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sd(!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:jl(r,i),emitsOptions:Dl(r,i),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Mh.bind(null,s),t.ce&&t.ce(s),s}let Je=null;const ec=()=>Je||je;let as,go;{const t=Ri(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};as=e("__VUE_INSTANCE_SETTERS__",n=>Je=n),go=e("__VUE_SSR_SETTERS__",n=>ii=n)}const ri=t=>{const e=Je;return as(t),t.scope.on(),()=>{t.scope.off(),as(e)}},tc=()=>{Je&&Je.scope.off(),as(null)};function nc(t){return t.vnode.shapeFlag&4}let ii=!1;function sp(t,e=!1,n=!1){e&&go(e);const{props:r,children:i}=t.vnode,s=nc(t);jh(t,r,s,e),Wh(t,i,n||e);const o=s?op(t,e):void 0;return e&&go(!1),o}function op(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,zh);const{setup:r}=n;if(r){Ut();const i=t.setupContext=r.length>1?lp(t):null,s=ri(t),o=pr(r,t,0,[t.props,i]),a=$a(o);if(Vt(),s(),(a||t.sp)&&!_r(t)&&yl(t),a){if(o.then(tc,tc),e)return o.then(l=>{rc(t,l)}).catch(l=>{Ji(l,t,0)});t.asyncDep=o}else rc(t,o)}else ic(t)}function rc(t,e,n){G(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=tl(e)),ic(t)}function ic(t,e,n){const r=t.type;t.render||(t.render=r.render||jt);{const i=ri(t);Ut();try{Ch(t)}finally{Vt(),i()}}}const ap={get(t,e){return Be(t,"get",""),t[e]}};function lp(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,ap),slots:t.slots,emit:t.emit,expose:e}}function ls(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(tl(Bd(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Xr)return Xr[n](t)},has(e,n){return n in e||n in Xr}})):t.proxy}const cp=/(?:^|[-_])\w/g,up=t=>t.replace(cp,e=>e.toUpperCase()).replace(/[-_]/g,"");function sc(t,e=!0){return G(t)?t.displayName||t.name:t.name||e&&t.__name}function oc(t,e,n=!1){let r=sc(e);if(!r&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&t){const i=s=>{for(const o in s)if(s[o]===e)return o};r=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return r?up(r):n?"App":"Anonymous"}function fp(t){return G(t)&&"__vccOpts"in t}const le=(t,e)=>qd(t,e,ii);function _e(t,e,n){try{ss(-1);const r=arguments.length;return r===2?me(e)&&!q(e)?ni(e)?Ie(t,null,[e]):Ie(t,e):Ie(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ni(n)&&(n=[n]),Ie(t,e,n))}finally{ss(1)}}const dp="3.5.26";/**
17
17
  * @vue/runtime-dom v3.5.26
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
20
- **/let po;const nc=typeof window<"u"&&window.trustedTypes;if(nc)try{po=nc.createPolicy("vue",{createHTML:t=>t})}catch{}const rc=po?t=>po.createHTML(t):t=>t,op="http://www.w3.org/2000/svg",ap="http://www.w3.org/1998/Math/MathML",un=typeof document<"u"?document:null,ic=un&&un.createElement("template"),lp={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?un.createElementNS(op,t):e==="mathml"?un.createElementNS(ap,t):n?un.createElement(t,{is:n}):un.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>un.createTextNode(t),createComment:t=>un.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>un.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{ic.innerHTML=rc(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=ic.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},zn="transition",ii="animation",si=Symbol("_vtc"),sc={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},cp=De({},ll,sc),oc=(t=>(t.displayName="Transition",t.props=cp,t))((t,{slots:e})=>me(oh,up(t),e)),qn=(t,e=[])=>{J(t)?t.forEach(n=>n(...e)):t&&t(...e)},ac=t=>t?J(t)?t.some(e=>e.length>1):t.length>1:!1;function up(t){const e={};for(const O in t)O in sc||(e[O]=t[O]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,_=fp(i),p=_&&_[0],b=_&&_[1],{onBeforeEnter:w,onEnter:k,onEnterCancelled:T,onLeave:x,onLeaveCancelled:y,onBeforeAppear:E=w,onAppear:P=k,onAppearCancelled:D=T}=e,v=(O,B,Y,se)=>{O._enterCancelled=se,Yn(O,B?c:a),Yn(O,B?u:o),Y&&Y()},S=(O,B)=>{O._isLeaving=!1,Yn(O,f),Yn(O,h),Yn(O,d),B&&B()},N=O=>(B,Y)=>{const se=O?P:k,Q=()=>v(B,O,Y);qn(se,[B,Q]),lc(()=>{Yn(B,O?l:s),fn(B,O?c:a),ac(se)||cc(B,r,p,Q)})};return De(e,{onBeforeEnter(O){qn(w,[O]),fn(O,s),fn(O,o)},onBeforeAppear(O){qn(E,[O]),fn(O,l),fn(O,u)},onEnter:N(!1),onAppear:N(!0),onLeave(O,B){O._isLeaving=!0;const Y=()=>S(O,B);fn(O,f),O._enterCancelled?(fn(O,d),dc(O)):(dc(O),fn(O,d)),lc(()=>{O._isLeaving&&(Yn(O,f),fn(O,h),ac(x)||cc(O,r,b,Y))}),qn(x,[O,Y])},onEnterCancelled(O){v(O,!1,void 0,!0),qn(T,[O])},onAppearCancelled(O){v(O,!0,void 0,!0),qn(D,[O])},onLeaveCancelled(O){S(O),qn(y,[O])}})}function fp(t){if(t==null)return null;if(pe(t))return[_o(t.enter),_o(t.leave)];{const e=_o(t);return[e,e]}}function _o(t){return fd(t)}function fn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[si]||(t[si]=new Set)).add(e)}function Yn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[si];n&&(n.delete(e),n.size||(t[si]=void 0))}function lc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let dp=0;function cc(t,e,n,r){const i=t._endId=++dp,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=hp(t,e);if(!o)return r();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,d),s()},d=h=>{h.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function hp(t,e){const n=window.getComputedStyle(t),r=_=>(n[_]||"").split(", "),i=r(`${zn}Delay`),s=r(`${zn}Duration`),o=uc(i,s),a=r(`${ii}Delay`),l=r(`${ii}Duration`),u=uc(a,l);let c=null,f=0,d=0;e===zn?o>0&&(c=zn,f=o,d=s.length):e===ii?u>0&&(c=ii,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?zn:ii:null,d=c?c===zn?s.length:l.length:0);const h=c===zn&&/\b(?:transform|all)(?:,|$)/.test(r(`${zn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function uc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>fc(n)+fc(t[r])))}function fc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function dc(t){return(t?t.ownerDocument:document).body.offsetHeight}function pp(t,e,n){const r=t[si];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const hc=Symbol("_vod"),_p=Symbol("_vsh"),mp=Symbol(""),gp=/(?:^|;)\s*display\s*:/;function vp(t,e,n){const r=t.style,i=we(n);let s=!1;if(n&&!i){if(e)if(we(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&os(r,a,"")}else for(const o in e)n[o]==null&&os(r,o,"");for(const o in n)o==="display"&&(s=!0),os(r,o,n[o])}else if(i){if(e!==n){const o=r[mp];o&&(n+=";"+o),r.cssText=n,s=gp.test(n)}}else e&&t.removeAttribute("style");hc in t&&(t[hc]=s?r.display:"",t[_p]&&(r.display="none"))}const pc=/\s*!important$/;function os(t,e,n){if(J(n))n.forEach(r=>os(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=yp(t,e);pc.test(n)?t.setProperty(Ln(r),n.replace(pc,""),"important"):t[r]=n}}const _c=["Webkit","Moz","ms"],mo={};function yp(t,e){const n=mo[e];if(n)return n;let r=Tt(e);if(r!=="filter"&&r in t)return mo[e]=r;r=Di(r);for(let i=0;i<_c.length;i++){const s=_c[i]+r;if(s in t)return mo[e]=s}return e}const mc="http://www.w3.org/1999/xlink";function gc(t,e,n,r,i,s=md(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(mc,e.slice(6,e.length)):t.setAttributeNS(mc,e,n):n==null||s&&!Ea(n)?t.removeAttribute(e):t.setAttribute(e,s?"":rn(n)?String(n):n)}function vc(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?rc(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Ea(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function bp(t,e,n,r){t.addEventListener(e,n,r)}function xp(t,e,n,r){t.removeEventListener(e,n,r)}const yc=Symbol("_vei");function wp(t,e,n,r,i=null){const s=t[yc]||(t[yc]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=Sp(e);if(r){const u=s[e]=zp(r,i);bp(t,a,u,l)}else o&&(xp(t,a,o,l),s[e]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function Sp(t){let e;if(bc.test(t)){e={};let r;for(;r=t.match(bc);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ln(t.slice(2)),e]}let go=0;const kp=Promise.resolve(),Tp=()=>go||(kp.then(()=>go=0),go=Date.now());function zp(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Nt(Cp(r,n.value),e,5,[r])};return n.value=t,n.attached=Tp(),n}function Cp(t,e){if(J(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const xc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Op=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?pp(t,r,o):e==="style"?vp(t,n,r):Pi(e)?Is(e)||wp(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Ep(t,e,r,o))?(vc(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&gc(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!we(r))?vc(t,Tt(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),gc(t,e,r,o))};function Ep(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&xc(e)&&q(n));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 xc(e)&&we(n)?!1:e in t}const $p=["ctrl","shift","alt","meta"],Pp={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>$p.some(n=>t[`${n}Key`]&&!e.includes(n))},wc=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Pp[e[o]];if(a&&a(i,e))return}return t(i,...s)})},Ap=De({patchProp:Op},lp);let Sc;function Ip(){return Sc||(Sc=Lh(Ap))}const kc=(...t)=>{const e=Ip().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=Mp(r);if(!i)return;const s=e._component;!q(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Dp(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Dp(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Mp(t){return we(t)?document.querySelector(t):t}const Tc={"i:s":"star","i:u":"users","i:c":"check","i:a":"arrow-right","c:p":"#6366f1","c:s":"#10b981","c:d":"#ef4444","v:g":"gradient","v:o":"outlined","v:s":"soft"};function Np(t){return t in Tc?Tc[t]:t}function z(t,e,n){function r(a,l){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(t))return;a._zod.traits.add(t),e(a,l);const u=o.prototype,c=Object.keys(u);for(let f=0;f<c.length;f++){const d=c[f];d in a||(a[d]=u[d].bind(a))}}const i=(n==null?void 0:n.Parent)??Object;class s extends i{}Object.defineProperty(s,"name",{value:t});function o(a){var l;const u=n!=null&&n.Parent?new s:this;r(u,a),(l=u._zod).deferred??(l.deferred=[]);for(const c of u._zod.deferred)c();return u}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>{var l,u;return n!=null&&n.Parent&&a instanceof n.Parent?!0:(u=(l=a==null?void 0:a._zod)==null?void 0:l.traits)==null?void 0:u.has(t)}}),Object.defineProperty(o,"name",{value:t}),o}class br extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class zc extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const Cc={};function Cn(t){return Cc}function Oc(t){const e=Object.values(t).filter(r=>typeof r=="number");return Object.entries(t).filter(([r,i])=>e.indexOf(+r)===-1).map(([r,i])=>i)}function vo(t,e){return typeof e=="bigint"?e.toString():e}function as(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function yo(t){return t==null}function bo(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Rp(t,e){const n=(t.toString().split(".")[1]||"").length,r=e.toString();let i=(r.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(r)){const l=r.match(/\d?e-(\d?)/);l!=null&&l[1]&&(i=Number.parseInt(l[1]))}const s=n>i?n:i,o=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return o%a/10**s}const Ec=Symbol("evaluating");function fe(t,e,n){let r;Object.defineProperty(t,e,{get(){if(r!==Ec)return r===void 0&&(r=Ec,r=n()),r},set(i){Object.defineProperty(t,e,{value:i})},configurable:!0})}function Gn(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Xn(...t){const e={};for(const n of t){const r=Object.getOwnPropertyDescriptors(n);Object.assign(e,r)}return Object.defineProperties({},e)}function $c(t){return JSON.stringify(t)}function Fp(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Pc="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function oi(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const Zp=as(()=>{var t;if(typeof navigator<"u"&&((t=navigator==null?void 0:navigator.userAgent)!=null&&t.includes("Cloudflare")))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function xr(t){if(oi(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!(oi(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Ac(t){return xr(t)?{...t}:Array.isArray(t)?[...t]:t}const Lp=new Set(["string","number","symbol"]);function wr(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function On(t,e,n){const r=new t._zod.constr(e??t._zod.def);return(!e||n!=null&&n.parent)&&(r._zod.parent=t),r}function U(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if((e==null?void 0:e.message)!==void 0){if((e==null?void 0:e.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function jp(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const Up={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Bp(t,e){const n=t._zod.def,r=Xn(t._zod.def,{get shape(){const i={};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(i[s]=n.shape[s])}return Gn(this,"shape",i),i},checks:[]});return On(t,r)}function Vp(t,e){const n=t._zod.def,r=Xn(t._zod.def,{get shape(){const i={...t._zod.def.shape};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete i[s]}return Gn(this,"shape",i),i},checks:[]});return On(t,r)}function Hp(t,e){if(!xr(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const i=Xn(t._zod.def,{get shape(){const s={...t._zod.def.shape,...e};return Gn(this,"shape",s),s},checks:[]});return On(t,i)}function Wp(t,e){if(!xr(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const r={...t._zod.def.shape,...e};return Gn(this,"shape",r),r},checks:t._zod.def.checks};return On(t,n)}function Jp(t,e){const n=Xn(t._zod.def,{get shape(){const r={...t._zod.def.shape,...e._zod.def.shape};return Gn(this,"shape",r),r},get catchall(){return e._zod.def.catchall},checks:[]});return On(t,n)}function Kp(t,e,n){const r=Xn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=t?new t({type:"optional",innerType:i[o]}):i[o])}else for(const o in i)s[o]=t?new t({type:"optional",innerType:i[o]}):i[o];return Gn(this,"shape",s),s},checks:[]});return On(e,r)}function qp(t,e,n){const r=Xn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=new t({type:"nonoptional",innerType:i[o]}))}else for(const o in i)s[o]=new t({type:"nonoptional",innerType:i[o]});return Gn(this,"shape",s),s},checks:[]});return On(e,r)}function Sr(t,e=0){var n;if(t.aborted===!0)return!0;for(let r=e;r<t.issues.length;r++)if(((n=t.issues[r])==null?void 0:n.continue)!==!0)return!0;return!1}function kr(t,e){return e.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(t),n})}function ls(t){return typeof t=="string"?t:t==null?void 0:t.message}function En(t,e,n){var i,s,o,a,l,u;const r={...t,path:t.path??[]};if(!t.message){const c=ls((o=(s=(i=t.inst)==null?void 0:i._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,t))??ls((a=e==null?void 0:e.error)==null?void 0:a.call(e,t))??ls((l=n.customError)==null?void 0:l.call(n,t))??ls((u=n.localeError)==null?void 0:u.call(n,t))??"Invalid input";r.message=c}return delete r.inst,delete r.continue,e!=null&&e.reportInput||delete r.input,r}function xo(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function ai(...t){const[e,n,r]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:r}:{...e}}const Ic=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,vo,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},Dc=z("$ZodError",Ic),Mc=z("$ZodError",Ic,{Parent:Error});function Yp(t,e=n=>n.message){const n={},r=[];for(const i of t.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(e(i))):r.push(e(i));return{formErrors:r,fieldErrors:n}}function Gp(t,e=n=>n.message){const n={_errors:[]},r=i=>{for(const s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>r({issues:o}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(e(s));else{let o=n,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(s))):o[l]=o[l]||{_errors:[]},o=o[l],a++}}};return r(t),n}const wo=t=>(e,n,r,i)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise)throw new br;if(o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,Cn())));throw Pc(a,i==null?void 0:i.callee),a}return o.value},So=t=>async(e,n,r,i)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,Cn())));throw Pc(a,i==null?void 0:i.callee),a}return o.value},cs=t=>(e,n,r)=>{const i=r?{...r,async:!1}:{async:!1},s=e._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new br;return s.issues.length?{success:!1,error:new(t??Dc)(s.issues.map(o=>En(o,i,Cn())))}:{success:!0,data:s.value}},Xp=cs(Mc),us=t=>async(e,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=e._zod.run({value:n,issues:[]},i);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new t(s.issues.map(o=>En(o,i,Cn())))}:{success:!0,data:s.value}},Qp=us(Mc),e_=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return wo(t)(e,n,i)},t_=t=>(e,n,r)=>wo(t)(e,n,r),n_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return So(t)(e,n,i)},r_=t=>async(e,n,r)=>So(t)(e,n,r),i_=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return cs(t)(e,n,i)},s_=t=>(e,n,r)=>cs(t)(e,n,r),o_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return us(t)(e,n,i)},a_=t=>async(e,n,r)=>us(t)(e,n,r),l_=/^[cC][^\s-]{8,}$/,c_=/^[0-9a-z]+$/,u_=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,f_=/^[0-9a-vA-V]{20}$/,d_=/^[A-Za-z0-9]{27}$/,h_=/^[a-zA-Z0-9_-]{21}$/,p_=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,__=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Nc=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,m_=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,g_="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function v_(){return new RegExp(g_,"u")}const y_=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,b_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,x_=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,w_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,S_=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Rc=/^[A-Za-z0-9_-]*$/,k_=/^\+(?:[0-9]){6,14}[0-9]$/,Fc="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",T_=new RegExp(`^${Fc}$`);function Zc(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function z_(t){return new RegExp(`^${Zc(t)}$`)}function C_(t){const e=Zc({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${e}(?:${n.join("|")})`;return new RegExp(`^${Fc}T(?:${r})$`)}const O_=t=>{const e=t?`[\\s\\S]{${(t==null?void 0:t.minimum)??0},${(t==null?void 0:t.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},E_=/^-?\d+$/,$_=/^-?\d+(?:\.\d+)?/,P_=/^(?:true|false)$/i,A_=/^null$/i,I_=/^undefined$/i,D_=/^[^A-Z]*$/,M_=/^[^a-z]*$/,st=z("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Lc={number:"number",bigint:"bigint",object:"date"},jc=z("$ZodCheckLessThan",(t,e)=>{st.init(t,e);const n=Lc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<s&&(e.inclusive?i.maximum=e.value:i.exclusiveMaximum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value<=e.value:r.value<e.value)||r.issues.push({origin:n,code:"too_big",maximum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Uc=z("$ZodCheckGreaterThan",(t,e)=>{st.init(t,e);const n=Lc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>s&&(e.inclusive?i.minimum=e.value:i.exclusiveMinimum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value>=e.value:r.value>e.value)||r.issues.push({origin:n,code:"too_small",minimum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),N_=z("$ZodCheckMultipleOf",(t,e)=>{st.init(t,e),t._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):Rp(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),R_=z("$ZodCheckNumberFormat",(t,e)=>{var o;st.init(t,e),e.format=e.format||"float64";const n=(o=e.format)==null?void 0:o.includes("int"),r=n?"int":"number",[i,s]=Up[e.format];t._zod.onattach.push(a=>{const l=a._zod.bag;l.format=e.format,l.minimum=i,l.maximum=s,n&&(l.pattern=E_)}),t._zod.check=a=>{const l=a.value;if(n){if(!Number.isInteger(l)){a.issues.push({expected:r,format:e.format,code:"invalid_type",continue:!1,input:l,inst:t});return}if(!Number.isSafeInteger(l)){l>0?a.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort}):a.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort});return}}l<i&&a.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:t,continue:!e.abort}),l>s&&a.issues.push({origin:"number",input:l,code:"too_big",maximum:s,inst:t})}}),F_=z("$ZodCheckMaxLength",(t,e)=>{var n;st.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<i&&(r._zod.bag.maximum=e.maximum)}),t._zod.check=r=>{const i=r.value;if(i.length<=e.maximum)return;const o=xo(i);r.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),Z_=z("$ZodCheckMinLength",(t,e)=>{var n;st.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>i&&(r._zod.bag.minimum=e.minimum)}),t._zod.check=r=>{const i=r.value;if(i.length>=e.minimum)return;const o=xo(i);r.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),L_=z("$ZodCheckLengthEquals",(t,e)=>{var n;st.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag;i.minimum=e.length,i.maximum=e.length,i.length=e.length}),t._zod.check=r=>{const i=r.value,s=i.length;if(s===e.length)return;const o=xo(i),a=s>e.length;r.issues.push({origin:o,...a?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:r.value,inst:t,continue:!e.abort})}}),fs=z("$ZodCheckStringFormat",(t,e)=>{var n,r;st.init(t,e),t._zod.onattach.push(i=>{const s=i._zod.bag;s.format=e.format,e.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=i=>{e.pattern.lastIndex=0,!e.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:e.format,input:i.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(r=t._zod).check??(r.check=()=>{})}),j_=z("$ZodCheckRegex",(t,e)=>{fs.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),U_=z("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=D_),fs.init(t,e)}),B_=z("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=M_),fs.init(t,e)}),V_=z("$ZodCheckIncludes",(t,e)=>{st.init(t,e);const n=wr(e.includes),r=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=r,t._zod.onattach.push(i=>{const s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),t._zod.check=i=>{i.value.includes(e.includes,e.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:i.value,inst:t,continue:!e.abort})}}),H_=z("$ZodCheckStartsWith",(t,e)=>{st.init(t,e);const n=new RegExp(`^${wr(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.startsWith(e.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:r.value,inst:t,continue:!e.abort})}}),W_=z("$ZodCheckEndsWith",(t,e)=>{st.init(t,e);const n=new RegExp(`.*${wr(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.endsWith(e.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:r.value,inst:t,continue:!e.abort})}}),J_=z("$ZodCheckOverwrite",(t,e)=>{st.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class K_{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const r=e.split(`
20
+ **/let _o;const ac=typeof window<"u"&&window.trustedTypes;if(ac)try{_o=ac.createPolicy("vue",{createHTML:t=>t})}catch{}const lc=_o?t=>_o.createHTML(t):t=>t,hp="http://www.w3.org/2000/svg",pp="http://www.w3.org/1998/Math/MathML",dn=typeof document<"u"?document:null,cc=dn&&dn.createElement("template"),mp={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?dn.createElementNS(hp,t):e==="mathml"?dn.createElementNS(pp,t):n?dn.createElement(t,{is:n}):dn.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>dn.createTextNode(t),createComment:t=>dn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>dn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{cc.innerHTML=lc(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=cc.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Cn="transition",si="animation",oi=Symbol("_vtc"),uc={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},gp=Re({},hl,uc),vo=(t=>(t.displayName="Transition",t.props=gp,t))((t,{slots:e})=>_e(hh,_p(t),e)),Yn=(t,e=[])=>{q(t)?t.forEach(n=>n(...e)):t&&t(...e)},fc=t=>t?q(t)?t.some(e=>e.length>1):t.length>1:!1;function _p(t){const e={};for(const T in t)T in uc||(e[T]=t[T]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,m=vp(i),p=m&&m[0],y=m&&m[1],{onBeforeEnter:x,onEnter:k,onEnterCancelled:z,onLeave:b,onLeaveCancelled:S,onBeforeAppear:E=x,onAppear:w=k,onAppearCancelled:A=z}=e,v=(T,I,K,ne)=>{T._enterCancelled=ne,Gn(T,I?c:a),Gn(T,I?u:o),K&&K()},F=(T,I)=>{T._isLeaving=!1,Gn(T,f),Gn(T,h),Gn(T,d),I&&I()},P=T=>(I,K)=>{const ne=T?w:k,Q=()=>v(I,T,K);Yn(ne,[I,Q]),dc(()=>{Gn(I,T?l:s),hn(I,T?c:a),fc(ne)||hc(I,r,p,Q)})};return Re(e,{onBeforeEnter(T){Yn(x,[T]),hn(T,s),hn(T,o)},onBeforeAppear(T){Yn(E,[T]),hn(T,l),hn(T,u)},onEnter:P(!1),onAppear:P(!0),onLeave(T,I){T._isLeaving=!0;const K=()=>F(T,I);hn(T,f),T._enterCancelled?(hn(T,d),gc(T)):(gc(T),hn(T,d)),dc(()=>{T._isLeaving&&(Gn(T,f),hn(T,h),fc(b)||hc(T,r,y,K))}),Yn(b,[T,K])},onEnterCancelled(T){v(T,!1,void 0,!0),Yn(z,[T])},onAppearCancelled(T){v(T,!0,void 0,!0),Yn(A,[T])},onLeaveCancelled(T){F(T),Yn(S,[T])}})}function vp(t){if(t==null)return null;if(me(t))return[yo(t.enter),yo(t.leave)];{const e=yo(t);return[e,e]}}function yo(t){return _d(t)}function hn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[oi]||(t[oi]=new Set)).add(e)}function Gn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[oi];n&&(n.delete(e),n.size||(t[oi]=void 0))}function dc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let yp=0;function hc(t,e,n,r){const i=t._endId=++yp,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=bp(t,e);if(!o)return r();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,d),s()},d=h=>{h.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function bp(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),i=r(`${Cn}Delay`),s=r(`${Cn}Duration`),o=pc(i,s),a=r(`${si}Delay`),l=r(`${si}Duration`),u=pc(a,l);let c=null,f=0,d=0;e===Cn?o>0&&(c=Cn,f=o,d=s.length):e===si?u>0&&(c=si,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?Cn:si:null,d=c?c===Cn?s.length:l.length:0);const h=c===Cn&&/\b(?:transform|all)(?:,|$)/.test(r(`${Cn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function pc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>mc(n)+mc(t[r])))}function mc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function gc(t){return(t?t.ownerDocument:document).body.offsetHeight}function xp(t,e,n){const r=t[oi];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const _c=Symbol("_vod"),wp=Symbol("_vsh"),Sp=Symbol(""),kp=/(?:^|;)\s*display\s*:/;function Tp(t,e,n){const r=t.style,i=ke(n);let s=!1;if(n&&!i){if(e)if(ke(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&cs(r,a,"")}else for(const o in e)n[o]==null&&cs(r,o,"");for(const o in n)o==="display"&&(s=!0),cs(r,o,n[o])}else if(i){if(e!==n){const o=r[Sp];o&&(n+=";"+o),r.cssText=n,s=kp.test(n)}}else e&&t.removeAttribute("style");_c in t&&(t[_c]=s?r.display:"",t[wp]&&(r.display="none"))}const vc=/\s*!important$/;function cs(t,e,n){if(q(n))n.forEach(r=>cs(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=zp(t,e);vc.test(n)?t.setProperty(jn(r),n.replace(vc,""),"important"):t[r]=n}}const yc=["Webkit","Moz","ms"],bo={};function zp(t,e){const n=bo[e];if(n)return n;let r=zt(e);if(r!=="filter"&&r in t)return bo[e]=r;r=Mi(r);for(let i=0;i<yc.length;i++){const s=yc[i]+r;if(s in t)return bo[e]=s}return e}const bc="http://www.w3.org/1999/xlink";function xc(t,e,n,r,i,s=wd(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(bc,e.slice(6,e.length)):t.setAttributeNS(bc,e,n):n==null||s&&!Da(n)?t.removeAttribute(e):t.setAttribute(e,s?"":rn(n)?String(n):n)}function wc(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?lc(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Da(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function br(t,e,n,r){t.addEventListener(e,n,r)}function Cp(t,e,n,r){t.removeEventListener(e,n,r)}const Sc=Symbol("_vei");function Op(t,e,n,r,i=null){const s=t[Sc]||(t[Sc]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=$p(e);if(r){const u=s[e]=Ap(r,i);br(t,a,u,l)}else o&&(Cp(t,a,o,l),s[e]=void 0)}}const kc=/(?:Once|Passive|Capture)$/;function $p(t){let e;if(kc.test(t)){e={};let r;for(;r=t.match(kc);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):jn(t.slice(2)),e]}let xo=0;const Ep=Promise.resolve(),Pp=()=>xo||(Ep.then(()=>xo=0),xo=Date.now());function Ap(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Zt(Ip(r,n.value),e,5,[r])};return n.value=t,n.attached=Pp(),n}function Ip(t,e){if(q(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const Tc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Dp=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?xp(t,r,o):e==="style"?Tp(t,n,r):Ai(e)?Rs(e)||Op(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Mp(t,e,r,o))?(wc(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&xc(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ke(r))?wc(t,zt(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),xc(t,e,r,o))};function Mp(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Tc(e)&&G(n));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 Tc(e)&&ke(n)?!1:e in t}const zc=t=>{const e=t.props["onUpdate:modelValue"]||!1;return q(e)?n=>Ni(e,n):e};function Np(t){t.target.composing=!0}function Cc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const wo=Symbol("_assign");function Oc(t,e,n){return e&&(t=t.trim()),n&&(t=js(t)),t}const Rp={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t[wo]=zc(i);const s=r||i.props&&i.props.type==="number";br(t,e?"change":"input",o=>{o.target.composing||t[wo](Oc(t.value,n,s))}),(n||s)&&br(t,"change",()=>{t.value=Oc(t.value,n,s)}),e||(br(t,"compositionstart",Np),br(t,"compositionend",Cc),br(t,"change",Cc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(t[wo]=zc(o),t.composing)return;const a=(s||t.type==="number")&&!/^0\d/.test(t.value)?js(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||i&&t.value.trim()===l)||(t.value=l))}},Fp=["ctrl","shift","alt","meta"],Zp={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Fp.some(n=>t[`${n}Key`]&&!e.includes(n))},$c=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Zp[e[o]];if(a&&a(i,e))return}return t(i,...s)})},Lp=Re({patchProp:Dp},mp);let Ec;function jp(){return Ec||(Ec=Jh(Lp))}const Pc=(...t)=>{const e=jp().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=Vp(r);if(!i)return;const s=e._component;!G(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Up(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Up(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Vp(t){return ke(t)?document.querySelector(t):t}const Ac={"i:s":"star","i:u":"users","i:c":"check","i:a":"arrow-right","c:p":"#6366f1","c:s":"#10b981","c:d":"#ef4444","v:g":"gradient","v:o":"outlined","v:s":"soft"};function Bp(t){return t in Ac?Ac[t]:t}function C(t,e,n){function r(a,l){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(t))return;a._zod.traits.add(t),e(a,l);const u=o.prototype,c=Object.keys(u);for(let f=0;f<c.length;f++){const d=c[f];d in a||(a[d]=u[d].bind(a))}}const i=(n==null?void 0:n.Parent)??Object;class s extends i{}Object.defineProperty(s,"name",{value:t});function o(a){var l;const u=n!=null&&n.Parent?new s:this;r(u,a),(l=u._zod).deferred??(l.deferred=[]);for(const c of u._zod.deferred)c();return u}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>{var l,u;return n!=null&&n.Parent&&a instanceof n.Parent?!0:(u=(l=a==null?void 0:a._zod)==null?void 0:l.traits)==null?void 0:u.has(t)}}),Object.defineProperty(o,"name",{value:t}),o}class xr extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Ic extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const Dc={};function On(t){return Dc}function Mc(t){const e=Object.values(t).filter(r=>typeof r=="number");return Object.entries(t).filter(([r,i])=>e.indexOf(+r)===-1).map(([r,i])=>i)}function So(t,e){return typeof e=="bigint"?e.toString():e}function us(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function ko(t){return t==null}function To(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Wp(t,e){const n=(t.toString().split(".")[1]||"").length,r=e.toString();let i=(r.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(r)){const l=r.match(/\d?e-(\d?)/);l!=null&&l[1]&&(i=Number.parseInt(l[1]))}const s=n>i?n:i,o=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return o%a/10**s}const Nc=Symbol("evaluating");function de(t,e,n){let r;Object.defineProperty(t,e,{get(){if(r!==Nc)return r===void 0&&(r=Nc,r=n()),r},set(i){Object.defineProperty(t,e,{value:i})},configurable:!0})}function Xn(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Qn(...t){const e={};for(const n of t){const r=Object.getOwnPropertyDescriptors(n);Object.assign(e,r)}return Object.defineProperties({},e)}function Rc(t){return JSON.stringify(t)}function Hp(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Fc="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function ai(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const Jp=us(()=>{var t;if(typeof navigator<"u"&&((t=navigator==null?void 0:navigator.userAgent)!=null&&t.includes("Cloudflare")))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function wr(t){if(ai(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!(ai(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Zc(t){return wr(t)?{...t}:Array.isArray(t)?[...t]:t}const Kp=new Set(["string","number","symbol"]);function Sr(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $n(t,e,n){const r=new t._zod.constr(e??t._zod.def);return(!e||n!=null&&n.parent)&&(r._zod.parent=t),r}function B(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if((e==null?void 0:e.message)!==void 0){if((e==null?void 0:e.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function qp(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const Yp={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Gp(t,e){const n=t._zod.def,r=Qn(t._zod.def,{get shape(){const i={};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(i[s]=n.shape[s])}return Xn(this,"shape",i),i},checks:[]});return $n(t,r)}function Xp(t,e){const n=t._zod.def,r=Qn(t._zod.def,{get shape(){const i={...t._zod.def.shape};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete i[s]}return Xn(this,"shape",i),i},checks:[]});return $n(t,r)}function Qp(t,e){if(!wr(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const i=Qn(t._zod.def,{get shape(){const s={...t._zod.def.shape,...e};return Xn(this,"shape",s),s},checks:[]});return $n(t,i)}function em(t,e){if(!wr(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const r={...t._zod.def.shape,...e};return Xn(this,"shape",r),r},checks:t._zod.def.checks};return $n(t,n)}function tm(t,e){const n=Qn(t._zod.def,{get shape(){const r={...t._zod.def.shape,...e._zod.def.shape};return Xn(this,"shape",r),r},get catchall(){return e._zod.def.catchall},checks:[]});return $n(t,n)}function nm(t,e,n){const r=Qn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=t?new t({type:"optional",innerType:i[o]}):i[o])}else for(const o in i)s[o]=t?new t({type:"optional",innerType:i[o]}):i[o];return Xn(this,"shape",s),s},checks:[]});return $n(e,r)}function rm(t,e,n){const r=Qn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=new t({type:"nonoptional",innerType:i[o]}))}else for(const o in i)s[o]=new t({type:"nonoptional",innerType:i[o]});return Xn(this,"shape",s),s},checks:[]});return $n(e,r)}function kr(t,e=0){var n;if(t.aborted===!0)return!0;for(let r=e;r<t.issues.length;r++)if(((n=t.issues[r])==null?void 0:n.continue)!==!0)return!0;return!1}function Tr(t,e){return e.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(t),n})}function fs(t){return typeof t=="string"?t:t==null?void 0:t.message}function En(t,e,n){var i,s,o,a,l,u;const r={...t,path:t.path??[]};if(!t.message){const c=fs((o=(s=(i=t.inst)==null?void 0:i._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,t))??fs((a=e==null?void 0:e.error)==null?void 0:a.call(e,t))??fs((l=n.customError)==null?void 0:l.call(n,t))??fs((u=n.localeError)==null?void 0:u.call(n,t))??"Invalid input";r.message=c}return delete r.inst,delete r.continue,e!=null&&e.reportInput||delete r.input,r}function zo(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function li(...t){const[e,n,r]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:r}:{...e}}const Lc=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,So,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},jc=C("$ZodError",Lc),Uc=C("$ZodError",Lc,{Parent:Error});function im(t,e=n=>n.message){const n={},r=[];for(const i of t.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(e(i))):r.push(e(i));return{formErrors:r,fieldErrors:n}}function sm(t,e=n=>n.message){const n={_errors:[]},r=i=>{for(const s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>r({issues:o}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(e(s));else{let o=n,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(s))):o[l]=o[l]||{_errors:[]},o=o[l],a++}}};return r(t),n}const Co=t=>(e,n,r,i)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise)throw new xr;if(o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,On())));throw Fc(a,i==null?void 0:i.callee),a}return o.value},Oo=t=>async(e,n,r,i)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,On())));throw Fc(a,i==null?void 0:i.callee),a}return o.value},ds=t=>(e,n,r)=>{const i=r?{...r,async:!1}:{async:!1},s=e._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new xr;return s.issues.length?{success:!1,error:new(t??jc)(s.issues.map(o=>En(o,i,On())))}:{success:!0,data:s.value}},om=ds(Uc),hs=t=>async(e,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=e._zod.run({value:n,issues:[]},i);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new t(s.issues.map(o=>En(o,i,On())))}:{success:!0,data:s.value}},am=hs(Uc),lm=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Co(t)(e,n,i)},cm=t=>(e,n,r)=>Co(t)(e,n,r),um=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Oo(t)(e,n,i)},fm=t=>async(e,n,r)=>Oo(t)(e,n,r),dm=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ds(t)(e,n,i)},hm=t=>(e,n,r)=>ds(t)(e,n,r),pm=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return hs(t)(e,n,i)},mm=t=>async(e,n,r)=>hs(t)(e,n,r),gm=/^[cC][^\s-]{8,}$/,_m=/^[0-9a-z]+$/,vm=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ym=/^[0-9a-vA-V]{20}$/,bm=/^[A-Za-z0-9]{27}$/,xm=/^[a-zA-Z0-9_-]{21}$/,wm=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Sm=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Vc=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,km=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tm="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function zm(){return new RegExp(Tm,"u")}const Cm=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Om=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,$m=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Em=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Pm=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Bc=/^[A-Za-z0-9_-]*$/,Am=/^\+(?:[0-9]){6,14}[0-9]$/,Wc="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Im=new RegExp(`^${Wc}$`);function Hc(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Dm(t){return new RegExp(`^${Hc(t)}$`)}function Mm(t){const e=Hc({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${e}(?:${n.join("|")})`;return new RegExp(`^${Wc}T(?:${r})$`)}const Nm=t=>{const e=t?`[\\s\\S]{${(t==null?void 0:t.minimum)??0},${(t==null?void 0:t.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},Rm=/^-?\d+$/,Fm=/^-?\d+(?:\.\d+)?/,Zm=/^(?:true|false)$/i,Lm=/^null$/i,jm=/^undefined$/i,Um=/^[^A-Z]*$/,Vm=/^[^a-z]*$/,ot=C("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Jc={number:"number",bigint:"bigint",object:"date"},Kc=C("$ZodCheckLessThan",(t,e)=>{ot.init(t,e);const n=Jc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<s&&(e.inclusive?i.maximum=e.value:i.exclusiveMaximum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value<=e.value:r.value<e.value)||r.issues.push({origin:n,code:"too_big",maximum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),qc=C("$ZodCheckGreaterThan",(t,e)=>{ot.init(t,e);const n=Jc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>s&&(e.inclusive?i.minimum=e.value:i.exclusiveMinimum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value>=e.value:r.value>e.value)||r.issues.push({origin:n,code:"too_small",minimum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Bm=C("$ZodCheckMultipleOf",(t,e)=>{ot.init(t,e),t._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):Wp(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),Wm=C("$ZodCheckNumberFormat",(t,e)=>{var o;ot.init(t,e),e.format=e.format||"float64";const n=(o=e.format)==null?void 0:o.includes("int"),r=n?"int":"number",[i,s]=Yp[e.format];t._zod.onattach.push(a=>{const l=a._zod.bag;l.format=e.format,l.minimum=i,l.maximum=s,n&&(l.pattern=Rm)}),t._zod.check=a=>{const l=a.value;if(n){if(!Number.isInteger(l)){a.issues.push({expected:r,format:e.format,code:"invalid_type",continue:!1,input:l,inst:t});return}if(!Number.isSafeInteger(l)){l>0?a.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort}):a.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort});return}}l<i&&a.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:t,continue:!e.abort}),l>s&&a.issues.push({origin:"number",input:l,code:"too_big",maximum:s,inst:t})}}),Hm=C("$ZodCheckMaxLength",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!ko(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<i&&(r._zod.bag.maximum=e.maximum)}),t._zod.check=r=>{const i=r.value;if(i.length<=e.maximum)return;const o=zo(i);r.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),Jm=C("$ZodCheckMinLength",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!ko(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>i&&(r._zod.bag.minimum=e.minimum)}),t._zod.check=r=>{const i=r.value;if(i.length>=e.minimum)return;const o=zo(i);r.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),Km=C("$ZodCheckLengthEquals",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!ko(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag;i.minimum=e.length,i.maximum=e.length,i.length=e.length}),t._zod.check=r=>{const i=r.value,s=i.length;if(s===e.length)return;const o=zo(i),a=s>e.length;r.issues.push({origin:o,...a?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:r.value,inst:t,continue:!e.abort})}}),ps=C("$ZodCheckStringFormat",(t,e)=>{var n,r;ot.init(t,e),t._zod.onattach.push(i=>{const s=i._zod.bag;s.format=e.format,e.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=i=>{e.pattern.lastIndex=0,!e.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:e.format,input:i.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(r=t._zod).check??(r.check=()=>{})}),qm=C("$ZodCheckRegex",(t,e)=>{ps.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),Ym=C("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=Um),ps.init(t,e)}),Gm=C("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=Vm),ps.init(t,e)}),Xm=C("$ZodCheckIncludes",(t,e)=>{ot.init(t,e);const n=Sr(e.includes),r=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=r,t._zod.onattach.push(i=>{const s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),t._zod.check=i=>{i.value.includes(e.includes,e.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:i.value,inst:t,continue:!e.abort})}}),Qm=C("$ZodCheckStartsWith",(t,e)=>{ot.init(t,e);const n=new RegExp(`^${Sr(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.startsWith(e.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:r.value,inst:t,continue:!e.abort})}}),eg=C("$ZodCheckEndsWith",(t,e)=>{ot.init(t,e);const n=new RegExp(`.*${Sr(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.endsWith(e.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:r.value,inst:t,continue:!e.abort})}}),tg=C("$ZodCheckOverwrite",(t,e)=>{ot.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class ng{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const r=e.split(`
21
21
  `).filter(o=>o),i=Math.min(...r.map(o=>o.length-o.trimStart().length)),s=r.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(const o of s)this.content.push(o)}compile(){const e=Function,n=this==null?void 0:this.args,i=[...((this==null?void 0:this.content)??[""]).map(s=>` ${s}`)];return new e(...n,i.join(`
22
- `))}}const q_={major:4,minor:2,patch:1},ge=z("$ZodType",(t,e)=>{var i;var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=q_;const r=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&r.unshift(t);for(const s of r)for(const o of s._zod.onattach)o(t);if(r.length===0)(n=t._zod).deferred??(n.deferred=[]),(i=t._zod.deferred)==null||i.push(()=>{t._zod.run=t._zod.parse});else{const s=(a,l,u)=>{let c=Sr(a),f;for(const d of l){if(d._zod.def.when){if(!d._zod.def.when(a))continue}else if(c)continue;const h=a.issues.length,_=d._zod.check(a);if(_ instanceof Promise&&(u==null?void 0:u.async)===!1)throw new br;if(f||_ instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await _,a.issues.length!==h&&(c||(c=Sr(a,h)))});else{if(a.issues.length===h)continue;c||(c=Sr(a,h))}}return f?f.then(()=>a):a},o=(a,l,u)=>{if(Sr(a))return a.aborted=!0,a;const c=s(l,r,u);if(c instanceof Promise){if(u.async===!1)throw new br;return c.then(f=>t._zod.parse(f,u))}return t._zod.parse(c,u)};t._zod.run=(a,l)=>{if(l.skipChecks)return t._zod.parse(a,l);if(l.direction==="backward"){const c=t._zod.parse({value:a.value,issues:[]},{...l,skipChecks:!0});return c instanceof Promise?c.then(f=>o(f,a,l)):o(c,a,l)}const u=t._zod.parse(a,l);if(u instanceof Promise){if(l.async===!1)throw new br;return u.then(c=>s(c,r,l))}return s(u,r,l)}}t["~standard"]={validate:s=>{var o;try{const a=Xp(t,s);return a.success?{value:a.data}:{issues:(o=a.error)==null?void 0:o.issues}}catch{return Qp(t,s).then(l=>{var u;return l.success?{value:l.data}:{issues:(u=l.error)==null?void 0:u.issues}})}},vendor:"zod",version:1}}),ko=z("$ZodString",(t,e)=>{var n;ge.init(t,e),t._zod.pattern=[...((n=t==null?void 0:t._zod.bag)==null?void 0:n.patterns)??[]].pop()??O_(t._zod.bag),t._zod.parse=(r,i)=>{if(e.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:t}),r}}),be=z("$ZodStringFormat",(t,e)=>{fs.init(t,e),ko.init(t,e)}),Y_=z("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=__),be.init(t,e)}),G_=z("$ZodUUID",(t,e)=>{if(e.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(r===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Nc(r))}else e.pattern??(e.pattern=Nc());be.init(t,e)}),X_=z("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=m_),be.init(t,e)}),Q_=z("$ZodURL",(t,e)=>{be.init(t,e),t._zod.check=n=>{try{const r=n.value.trim(),i=new URL(r);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),em=z("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=v_()),be.init(t,e)}),tm=z("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=h_),be.init(t,e)}),nm=z("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=l_),be.init(t,e)}),rm=z("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=c_),be.init(t,e)}),im=z("$ZodULID",(t,e)=>{e.pattern??(e.pattern=u_),be.init(t,e)}),sm=z("$ZodXID",(t,e)=>{e.pattern??(e.pattern=f_),be.init(t,e)}),om=z("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=d_),be.init(t,e)}),am=z("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=C_(e)),be.init(t,e)}),lm=z("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=T_),be.init(t,e)}),cm=z("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=z_(e)),be.init(t,e)}),um=z("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=p_),be.init(t,e)}),fm=z("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=y_),be.init(t,e),t._zod.bag.format="ipv4"}),dm=z("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=b_),be.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),hm=z("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=x_),be.init(t,e)}),pm=z("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=w_),be.init(t,e),t._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[i,s]=r;if(!s)throw new Error;const o=Number(s);if(`${o}`!==s)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${i}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function Bc(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const _m=z("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=S_),be.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{Bc(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function mm(t){if(!Rc.test(t))return!1;const e=t.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return Bc(n)}const gm=z("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Rc),be.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{mm(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),vm=z("$ZodE164",(t,e)=>{e.pattern??(e.pattern=k_),be.init(t,e)});function ym(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));return!("typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&(!("alg"in i)||i.alg!==e))}catch{return!1}}const bm=z("$ZodJWT",(t,e)=>{be.init(t,e),t._zod.check=n=>{ym(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),Vc=z("$ZodNumber",(t,e)=>{ge.init(t,e),t._zod.pattern=t._zod.bag.pattern??$_,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const i=n.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return n;const s=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:t,...s?{received:s}:{}}),n}}),xm=z("$ZodNumberFormat",(t,e)=>{R_.init(t,e),Vc.init(t,e)}),wm=z("$ZodBoolean",(t,e)=>{ge.init(t,e),t._zod.pattern=P_,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=!!n.value}catch{}const i=n.value;return typeof i=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:t}),n}}),Sm=z("$ZodUndefined",(t,e)=>{ge.init(t,e),t._zod.pattern=I_,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(n,r)=>{const i=n.value;return typeof i>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:t}),n}}),km=z("$ZodNull",(t,e)=>{ge.init(t,e),t._zod.pattern=A_,t._zod.values=new Set([null]),t._zod.parse=(n,r)=>{const i=n.value;return i===null||n.issues.push({expected:"null",code:"invalid_type",input:i,inst:t}),n}}),Tm=z("$ZodAny",(t,e)=>{ge.init(t,e),t._zod.parse=n=>n}),zm=z("$ZodUnknown",(t,e)=>{ge.init(t,e),t._zod.parse=n=>n}),Cm=z("$ZodNever",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function Hc(t,e,n){t.issues.length&&e.issues.push(...kr(n,t.issues)),e.value[n]=t.value}const Om=z("$ZodArray",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:t}),n;n.value=Array(i.length);const s=[];for(let o=0;o<i.length;o++){const a=i[o],l=e.element._zod.run({value:a,issues:[]},r);l instanceof Promise?s.push(l.then(u=>Hc(u,n,o))):Hc(l,n,o)}return s.length?Promise.all(s).then(()=>n):n}});function ds(t,e,n,r){t.issues.length&&e.issues.push(...kr(n,t.issues)),t.value===void 0?n in r&&(e.value[n]=void 0):e.value[n]=t.value}function Wc(t){var r,i,s,o;const e=Object.keys(t.shape);for(const a of e)if(!((o=(s=(i=(r=t.shape)==null?void 0:r[a])==null?void 0:i._zod)==null?void 0:s.traits)!=null&&o.has("$ZodType")))throw new Error(`Invalid element at key "${a}": expected a Zod schema`);const n=jp(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function Jc(t,e,n,r,i,s){const o=[],a=i.keySet,l=i.catchall._zod,u=l.def.type;for(const c in e){if(a.has(c))continue;if(u==="never"){o.push(c);continue}const f=l.run({value:e[c],issues:[]},r);f instanceof Promise?t.push(f.then(d=>ds(d,n,c,e))):ds(f,n,c,e)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:s}),t.length?Promise.all(t).then(()=>n):n}const Em=z("$ZodObject",(t,e)=>{ge.init(t,e);const n=Object.getOwnPropertyDescriptor(e,"shape");if(!(n!=null&&n.get)){const a=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...a};return Object.defineProperty(e,"shape",{value:l}),l}})}const r=as(()=>Wc(e));fe(t._zod,"propValues",()=>{const a=e.shape,l={};for(const u in a){const c=a[u]._zod;if(c.values){l[u]??(l[u]=new Set);for(const f of c.values)l[u].add(f)}}return l});const i=oi,s=e.catchall;let o;t._zod.parse=(a,l)=>{o??(o=r.value);const u=a.value;if(!i(u))return a.issues.push({expected:"object",code:"invalid_type",input:u,inst:t}),a;a.value={};const c=[],f=o.shape;for(const d of o.keys){const _=f[d]._zod.run({value:u[d],issues:[]},l);_ instanceof Promise?c.push(_.then(p=>ds(p,a,d,u))):ds(_,a,d,u)}return s?Jc(c,u,a,l,r.value,t):c.length?Promise.all(c).then(()=>a):a}}),$m=z("$ZodObjectJIT",(t,e)=>{Em.init(t,e);const n=t._zod.parse,r=as(()=>Wc(e)),i=d=>{const h=new K_(["shape","payload","ctx"]),_=r.value,p=T=>{const x=$c(T);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};h.write("const input = payload.value;");const b=Object.create(null);let w=0;for(const T of _.keys)b[T]=`key_${w++}`;h.write("const newResult = {};");for(const T of _.keys){const x=b[T],y=$c(T);h.write(`const ${x} = ${p(T)};`),h.write(`
23
- if (${x}.issues.length) {
24
- payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
22
+ `))}}const rg={major:4,minor:2,patch:1},ve=C("$ZodType",(t,e)=>{var i;var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=rg;const r=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&r.unshift(t);for(const s of r)for(const o of s._zod.onattach)o(t);if(r.length===0)(n=t._zod).deferred??(n.deferred=[]),(i=t._zod.deferred)==null||i.push(()=>{t._zod.run=t._zod.parse});else{const s=(a,l,u)=>{let c=kr(a),f;for(const d of l){if(d._zod.def.when){if(!d._zod.def.when(a))continue}else if(c)continue;const h=a.issues.length,m=d._zod.check(a);if(m instanceof Promise&&(u==null?void 0:u.async)===!1)throw new xr;if(f||m instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await m,a.issues.length!==h&&(c||(c=kr(a,h)))});else{if(a.issues.length===h)continue;c||(c=kr(a,h))}}return f?f.then(()=>a):a},o=(a,l,u)=>{if(kr(a))return a.aborted=!0,a;const c=s(l,r,u);if(c instanceof Promise){if(u.async===!1)throw new xr;return c.then(f=>t._zod.parse(f,u))}return t._zod.parse(c,u)};t._zod.run=(a,l)=>{if(l.skipChecks)return t._zod.parse(a,l);if(l.direction==="backward"){const c=t._zod.parse({value:a.value,issues:[]},{...l,skipChecks:!0});return c instanceof Promise?c.then(f=>o(f,a,l)):o(c,a,l)}const u=t._zod.parse(a,l);if(u instanceof Promise){if(l.async===!1)throw new xr;return u.then(c=>s(c,r,l))}return s(u,r,l)}}t["~standard"]={validate:s=>{var o;try{const a=om(t,s);return a.success?{value:a.data}:{issues:(o=a.error)==null?void 0:o.issues}}catch{return am(t,s).then(l=>{var u;return l.success?{value:l.data}:{issues:(u=l.error)==null?void 0:u.issues}})}},vendor:"zod",version:1}}),$o=C("$ZodString",(t,e)=>{var n;ve.init(t,e),t._zod.pattern=[...((n=t==null?void 0:t._zod.bag)==null?void 0:n.patterns)??[]].pop()??Nm(t._zod.bag),t._zod.parse=(r,i)=>{if(e.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:t}),r}}),we=C("$ZodStringFormat",(t,e)=>{ps.init(t,e),$o.init(t,e)}),ig=C("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=Sm),we.init(t,e)}),sg=C("$ZodUUID",(t,e)=>{if(e.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(r===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Vc(r))}else e.pattern??(e.pattern=Vc());we.init(t,e)}),og=C("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=km),we.init(t,e)}),ag=C("$ZodURL",(t,e)=>{we.init(t,e),t._zod.check=n=>{try{const r=n.value.trim(),i=new URL(r);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),lg=C("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=zm()),we.init(t,e)}),cg=C("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=xm),we.init(t,e)}),ug=C("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=gm),we.init(t,e)}),fg=C("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=_m),we.init(t,e)}),dg=C("$ZodULID",(t,e)=>{e.pattern??(e.pattern=vm),we.init(t,e)}),hg=C("$ZodXID",(t,e)=>{e.pattern??(e.pattern=ym),we.init(t,e)}),pg=C("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=bm),we.init(t,e)}),mg=C("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=Mm(e)),we.init(t,e)}),gg=C("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=Im),we.init(t,e)}),_g=C("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=Dm(e)),we.init(t,e)}),vg=C("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=wm),we.init(t,e)}),yg=C("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=Cm),we.init(t,e),t._zod.bag.format="ipv4"}),bg=C("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=Om),we.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),xg=C("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=$m),we.init(t,e)}),wg=C("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=Em),we.init(t,e),t._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[i,s]=r;if(!s)throw new Error;const o=Number(s);if(`${o}`!==s)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${i}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function Yc(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const Sg=C("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=Pm),we.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{Yc(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function kg(t){if(!Bc.test(t))return!1;const e=t.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return Yc(n)}const Tg=C("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Bc),we.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{kg(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),zg=C("$ZodE164",(t,e)=>{e.pattern??(e.pattern=Am),we.init(t,e)});function Cg(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));return!("typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&(!("alg"in i)||i.alg!==e))}catch{return!1}}const Og=C("$ZodJWT",(t,e)=>{we.init(t,e),t._zod.check=n=>{Cg(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),Gc=C("$ZodNumber",(t,e)=>{ve.init(t,e),t._zod.pattern=t._zod.bag.pattern??Fm,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const i=n.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return n;const s=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:t,...s?{received:s}:{}}),n}}),$g=C("$ZodNumberFormat",(t,e)=>{Wm.init(t,e),Gc.init(t,e)}),Eg=C("$ZodBoolean",(t,e)=>{ve.init(t,e),t._zod.pattern=Zm,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=!!n.value}catch{}const i=n.value;return typeof i=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:t}),n}}),Pg=C("$ZodUndefined",(t,e)=>{ve.init(t,e),t._zod.pattern=jm,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(n,r)=>{const i=n.value;return typeof i>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:t}),n}}),Ag=C("$ZodNull",(t,e)=>{ve.init(t,e),t._zod.pattern=Lm,t._zod.values=new Set([null]),t._zod.parse=(n,r)=>{const i=n.value;return i===null||n.issues.push({expected:"null",code:"invalid_type",input:i,inst:t}),n}}),Ig=C("$ZodAny",(t,e)=>{ve.init(t,e),t._zod.parse=n=>n}),Dg=C("$ZodUnknown",(t,e)=>{ve.init(t,e),t._zod.parse=n=>n}),Mg=C("$ZodNever",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function Xc(t,e,n){t.issues.length&&e.issues.push(...Tr(n,t.issues)),e.value[n]=t.value}const Ng=C("$ZodArray",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:t}),n;n.value=Array(i.length);const s=[];for(let o=0;o<i.length;o++){const a=i[o],l=e.element._zod.run({value:a,issues:[]},r);l instanceof Promise?s.push(l.then(u=>Xc(u,n,o))):Xc(l,n,o)}return s.length?Promise.all(s).then(()=>n):n}});function ms(t,e,n,r){t.issues.length&&e.issues.push(...Tr(n,t.issues)),t.value===void 0?n in r&&(e.value[n]=void 0):e.value[n]=t.value}function Qc(t){var r,i,s,o;const e=Object.keys(t.shape);for(const a of e)if(!((o=(s=(i=(r=t.shape)==null?void 0:r[a])==null?void 0:i._zod)==null?void 0:s.traits)!=null&&o.has("$ZodType")))throw new Error(`Invalid element at key "${a}": expected a Zod schema`);const n=qp(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function eu(t,e,n,r,i,s){const o=[],a=i.keySet,l=i.catchall._zod,u=l.def.type;for(const c in e){if(a.has(c))continue;if(u==="never"){o.push(c);continue}const f=l.run({value:e[c],issues:[]},r);f instanceof Promise?t.push(f.then(d=>ms(d,n,c,e))):ms(f,n,c,e)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:s}),t.length?Promise.all(t).then(()=>n):n}const Rg=C("$ZodObject",(t,e)=>{ve.init(t,e);const n=Object.getOwnPropertyDescriptor(e,"shape");if(!(n!=null&&n.get)){const a=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...a};return Object.defineProperty(e,"shape",{value:l}),l}})}const r=us(()=>Qc(e));de(t._zod,"propValues",()=>{const a=e.shape,l={};for(const u in a){const c=a[u]._zod;if(c.values){l[u]??(l[u]=new Set);for(const f of c.values)l[u].add(f)}}return l});const i=ai,s=e.catchall;let o;t._zod.parse=(a,l)=>{o??(o=r.value);const u=a.value;if(!i(u))return a.issues.push({expected:"object",code:"invalid_type",input:u,inst:t}),a;a.value={};const c=[],f=o.shape;for(const d of o.keys){const m=f[d]._zod.run({value:u[d],issues:[]},l);m instanceof Promise?c.push(m.then(p=>ms(p,a,d,u))):ms(m,a,d,u)}return s?eu(c,u,a,l,r.value,t):c.length?Promise.all(c).then(()=>a):a}}),Fg=C("$ZodObjectJIT",(t,e)=>{Rg.init(t,e);const n=t._zod.parse,r=us(()=>Qc(e)),i=d=>{const h=new ng(["shape","payload","ctx"]),m=r.value,p=z=>{const b=Rc(z);return`shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`};h.write("const input = payload.value;");const y=Object.create(null);let x=0;for(const z of m.keys)y[z]=`key_${x++}`;h.write("const newResult = {};");for(const z of m.keys){const b=y[z],S=Rc(z);h.write(`const ${b} = ${p(z)};`),h.write(`
23
+ if (${b}.issues.length) {
24
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
25
25
  ...iss,
26
- path: iss.path ? [${y}, ...iss.path] : [${y}]
26
+ path: iss.path ? [${S}, ...iss.path] : [${S}]
27
27
  })));
28
28
  }
29
29
 
30
30
 
31
- if (${x}.value === undefined) {
32
- if (${y} in input) {
33
- newResult[${y}] = undefined;
31
+ if (${b}.value === undefined) {
32
+ if (${S} in input) {
33
+ newResult[${S}] = undefined;
34
34
  }
35
35
  } else {
36
- newResult[${y}] = ${x}.value;
36
+ newResult[${S}] = ${b}.value;
37
37
  }
38
38
 
39
- `)}h.write("payload.value = newResult;"),h.write("return payload;");const k=h.compile();return(T,x)=>k(d,T,x)};let s;const o=oi,a=!Cc.jitless,u=a&&Zp.value,c=e.catchall;let f;t._zod.parse=(d,h)=>{f??(f=r.value);const _=d.value;return o(_)?a&&u&&(h==null?void 0:h.async)===!1&&h.jitless!==!0?(s||(s=i(e.shape)),d=s(d,h),c?Jc([],_,d,h,f,t):d):n(d,h):(d.issues.push({expected:"object",code:"invalid_type",input:_,inst:t}),d)}});function Kc(t,e,n,r){for(const s of t)if(s.issues.length===0)return e.value=s.value,e;const i=t.filter(s=>!Sr(s));return i.length===1?(e.value=i[0].value,i[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:n,errors:t.map(s=>s.issues.map(o=>En(o,r,Cn())))}),e)}const qc=z("$ZodUnion",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),fe(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),fe(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),fe(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){const i=e.options.map(s=>s._zod.pattern);return new RegExp(`^(${i.map(s=>bo(s.source)).join("|")})$`)}});const n=e.options.length===1,r=e.options[0]._zod.run;t._zod.parse=(i,s)=>{if(n)return r(i,s);let o=!1;const a=[];for(const l of e.options){const u=l._zod.run({value:i.value,issues:[]},s);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(l=>Kc(l,i,t,s)):Kc(a,i,t,s)}}),Pm=z("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,qc.init(t,e);const n=t._zod.parse;fe(t._zod,"propValues",()=>{const i={};for(const s of e.options){const o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(const[a,l]of Object.entries(o)){i[a]||(i[a]=new Set);for(const u of l)i[a].add(u)}}return i});const r=as(()=>{var o;const i=e.options,s=new Map;for(const a of i){const l=(o=a._zod.propValues)==null?void 0:o[e.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(a)}"`);for(const u of l){if(s.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);s.set(u,a)}}return s});t._zod.parse=(i,s)=>{const o=i.value;if(!oi(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),i;const a=r.value.get(o==null?void 0:o[e.discriminator]);return a?a._zod.run(i,s):e.unionFallback?n(i,s):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,input:o,path:[e.discriminator],inst:t}),i)}}),Am=z("$ZodIntersection",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value,s=e.left._zod.run({value:i,issues:[]},r),o=e.right._zod.run({value:i,issues:[]},r);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([l,u])=>Yc(n,l,u)):Yc(n,s,o)}});function To(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(xr(t)&&xr(e)){const n=Object.keys(e),r=Object.keys(t).filter(s=>n.indexOf(s)!==-1),i={...t,...e};for(const s of r){const o=To(t[s],e[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};i[s]=o.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r],o=To(i,s);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Yc(t,e,n){if(e.issues.length&&t.issues.push(...e.issues),n.issues.length&&t.issues.push(...n.issues),Sr(t))return t;const r=To(e.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return t.value=r.data,t}const Im=z("$ZodRecord",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!xr(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:t}),n;const s=[],o=e.keyType._zod.values;if(o){n.value={};const a=new Set;for(const u of o)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){a.add(typeof u=="number"?u.toString():u);const c=e.valueType._zod.run({value:i[u],issues:[]},r);c instanceof Promise?s.push(c.then(f=>{f.issues.length&&n.issues.push(...kr(u,f.issues)),n.value[u]=f.value})):(c.issues.length&&n.issues.push(...kr(u,c.issues)),n.value[u]=c.value)}let l;for(const u in i)a.has(u)||(l=l??[],l.push(u));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:t,keys:l})}else{n.value={};for(const a of Reflect.ownKeys(i)){if(a==="__proto__")continue;const l=e.keyType._zod.run({value:a,issues:[]},r);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){e.mode==="loose"?n.value[a]=i[a]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(c=>En(c,r,Cn())),input:a,path:[a],inst:t});continue}const u=e.valueType._zod.run({value:i[a],issues:[]},r);u instanceof Promise?s.push(u.then(c=>{c.issues.length&&n.issues.push(...kr(a,c.issues)),n.value[l.value]=c.value})):(u.issues.length&&n.issues.push(...kr(a,u.issues)),n.value[l.value]=u.value)}}return s.length?Promise.all(s).then(()=>n):n}}),Dm=z("$ZodEnum",(t,e)=>{ge.init(t,e);const n=Oc(e.entries),r=new Set(n);t._zod.values=r,t._zod.pattern=new RegExp(`^(${n.filter(i=>Lp.has(typeof i)).map(i=>typeof i=="string"?wr(i):i.toString()).join("|")})$`),t._zod.parse=(i,s)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n,input:o,inst:t}),i}}),Mm=z("$ZodLiteral",(t,e)=>{if(ge.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(e.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${e.values.map(r=>typeof r=="string"?wr(r):r?wr(r.toString()):String(r)).join("|")})$`),t._zod.parse=(r,i)=>{const s=r.value;return n.has(s)||r.issues.push({code:"invalid_value",values:e.values,input:s,inst:t}),r}}),Nm=z("$ZodTransform",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new zc(t.constructor.name);const i=e.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(n.value=o,n));if(i instanceof Promise)throw new br;return n.value=i,n}});function Gc(t,e){return t.issues.length&&e===void 0?{issues:[],value:void 0}:t}const Rm=z("$ZodOptional",(t,e)=>{ge.init(t,e),t._zod.optin="optional",t._zod.optout="optional",fe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),fe(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${bo(n.source)})?$`):void 0}),t._zod.parse=(n,r)=>{if(e.innerType._zod.optin==="optional"){const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Gc(s,n.value)):Gc(i,n.value)}return n.value===void 0?n:e.innerType._zod.run(n,r)}}),Fm=z("$ZodNullable",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.innerType._zod.optin),fe(t._zod,"optout",()=>e.innerType._zod.optout),fe(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${bo(n.source)}|null)$`):void 0}),fe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(n,r)=>n.value===null?n:e.innerType._zod.run(n,r)}),Zm=z("$ZodDefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);if(n.value===void 0)return n.value=e.defaultValue,n;const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Xc(s,e)):Xc(i,e)}});function Xc(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}const Lm=z("$ZodPrefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=e.defaultValue),e.innerType._zod.run(n,r))}),jm=z("$ZodNonOptional",(t,e)=>{ge.init(t,e),fe(t._zod,"values",()=>{const n=e.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),t._zod.parse=(n,r)=>{const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Qc(s,t)):Qc(i,t)}});function Qc(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}const Um=z("$ZodCatch",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.innerType._zod.optin),fe(t._zod,"optout",()=>e.innerType._zod.optout),fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>(n.value=s.value,s.issues.length&&(n.value=e.catchValue({...n,error:{issues:s.issues.map(o=>En(o,r,Cn()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=e.catchValue({...n,error:{issues:i.issues.map(s=>En(s,r,Cn()))},input:n.value}),n.issues=[]),n)}}),Bm=z("$ZodPipe",(t,e)=>{ge.init(t,e),fe(t._zod,"values",()=>e.in._zod.values),fe(t._zod,"optin",()=>e.in._zod.optin),fe(t._zod,"optout",()=>e.out._zod.optout),fe(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=e.out._zod.run(n,r);return s instanceof Promise?s.then(o=>hs(o,e.in,r)):hs(s,e.in,r)}const i=e.in._zod.run(n,r);return i instanceof Promise?i.then(s=>hs(s,e.out,r)):hs(i,e.out,r)}});function hs(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}const Vm=z("$ZodReadonly",(t,e)=>{ge.init(t,e),fe(t._zod,"propValues",()=>e.innerType._zod.propValues),fe(t._zod,"values",()=>e.innerType._zod.values),fe(t._zod,"optin",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optin}),fe(t._zod,"optout",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optout}),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(eu):eu(i)}});function eu(t){return t.value=Object.freeze(t.value),t}const Hm=z("$ZodCustom",(t,e)=>{st.init(t,e),ge.init(t,e),t._zod.parse=(n,r)=>n,t._zod.check=n=>{const r=n.value,i=e.fn(r);if(i instanceof Promise)return i.then(s=>tu(s,n,r,t));tu(i,n,r,t)}});function tu(t,e,n,r){if(!t){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),e.issues.push(ai(i))}}var nu;class Wm{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...n){const r=n[0];if(this._map.set(e,r),r&&typeof r=="object"&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const n=this._map.get(e);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(e),this}get(e){const n=e._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function Jm(){return new Wm}(nu=globalThis).__zod_globalRegistry??(nu.__zod_globalRegistry=Jm());const li=globalThis.__zod_globalRegistry;function Km(t,e){return new t({type:"string",...U(e)})}function qm(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...U(e)})}function ru(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...U(e)})}function Ym(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...U(e)})}function Gm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...U(e)})}function Xm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...U(e)})}function Qm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...U(e)})}function eg(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...U(e)})}function tg(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...U(e)})}function ng(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...U(e)})}function rg(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...U(e)})}function ig(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...U(e)})}function sg(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...U(e)})}function og(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...U(e)})}function ag(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...U(e)})}function lg(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...U(e)})}function cg(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...U(e)})}function ug(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...U(e)})}function fg(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...U(e)})}function dg(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...U(e)})}function hg(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...U(e)})}function pg(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...U(e)})}function _g(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...U(e)})}function mg(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...U(e)})}function gg(t,e){return new t({type:"string",format:"date",check:"string_format",...U(e)})}function vg(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...U(e)})}function yg(t,e){return new t({type:"string",format:"duration",check:"string_format",...U(e)})}function bg(t,e){return new t({type:"number",checks:[],...U(e)})}function xg(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...U(e)})}function wg(t,e){return new t({type:"boolean",...U(e)})}function Sg(t,e){return new t({type:"undefined",...U(e)})}function kg(t,e){return new t({type:"null",...U(e)})}function Tg(t){return new t({type:"any"})}function zg(t){return new t({type:"unknown"})}function Cg(t,e){return new t({type:"never",...U(e)})}function iu(t,e){return new jc({check:"less_than",...U(e),value:t,inclusive:!1})}function zo(t,e){return new jc({check:"less_than",...U(e),value:t,inclusive:!0})}function su(t,e){return new Uc({check:"greater_than",...U(e),value:t,inclusive:!1})}function Co(t,e){return new Uc({check:"greater_than",...U(e),value:t,inclusive:!0})}function ou(t,e){return new N_({check:"multiple_of",...U(e),value:t})}function au(t,e){return new F_({check:"max_length",...U(e),maximum:t})}function ps(t,e){return new Z_({check:"min_length",...U(e),minimum:t})}function lu(t,e){return new L_({check:"length_equals",...U(e),length:t})}function Og(t,e){return new j_({check:"string_format",format:"regex",...U(e),pattern:t})}function Eg(t){return new U_({check:"string_format",format:"lowercase",...U(t)})}function $g(t){return new B_({check:"string_format",format:"uppercase",...U(t)})}function Pg(t,e){return new V_({check:"string_format",format:"includes",...U(e),includes:t})}function Ag(t,e){return new H_({check:"string_format",format:"starts_with",...U(e),prefix:t})}function Ig(t,e){return new W_({check:"string_format",format:"ends_with",...U(e),suffix:t})}function Tr(t){return new J_({check:"overwrite",tx:t})}function Dg(t){return Tr(e=>e.normalize(t))}function Mg(){return Tr(t=>t.trim())}function Ng(){return Tr(t=>t.toLowerCase())}function Rg(){return Tr(t=>t.toUpperCase())}function Fg(){return Tr(t=>Fp(t))}function Zg(t,e,n){return new t({type:"array",element:e,...U(n)})}function Lg(t,e,n){return new t({type:"custom",check:"custom",fn:e,...U(n)})}function jg(t){const e=Ug(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(ai(r,n.value,e._zod.def));else{const i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=e),i.continue??(i.continue=!e._zod.def.abort),n.issues.push(ai(i))}},t(n.value,n)));return e}function Ug(t,e){const n=new st({check:"custom",...U(e)});return n._zod.check=t,n}function cu(t){let e=(t==null?void 0:t.target)??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:(t==null?void 0:t.metadata)??li,target:e,unrepresentable:(t==null?void 0:t.unrepresentable)??"throw",override:(t==null?void 0:t.override)??(()=>{}),io:(t==null?void 0:t.io)??"output",counter:0,seen:new Map,cycles:(t==null?void 0:t.cycles)??"ref",reused:(t==null?void 0:t.reused)??"inline",external:(t==null?void 0:t.external)??void 0}}function Ie(t,e,n={path:[],schemaPath:[]}){var c,f;var r;const i=t._zod.def,s=e.seen.get(t);if(s)return s.count++,n.schemaPath.includes(t)&&(s.cycle=n.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};e.seen.set(t,o);const a=(f=(c=t._zod).toJSONSchema)==null?void 0:f.call(c);if(a)o.schema=a;else{const d={...n,schemaPath:[...n.schemaPath,t],path:n.path},h=t._zod.parent;if(h)o.ref=h,Ie(h,e,d),e.seen.get(h).isParent=!0;else if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,o.schema,d);else{const _=o.schema,p=e.processors[i.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);p(t,e,_,d)}}const l=e.metadataRegistry.get(t);return l&&Object.assign(o.schema,l),e.io==="input"&&et(t)&&(delete o.schema.examples,delete o.schema.default),e.io==="input"&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,e.seen.get(t).schema}function uu(t,e){var s,o,a;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=l=>{var h;const u=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){const _=(h=t.external.registry.get(l[0]))==null?void 0:h.id,p=t.external.uri??(w=>w);if(_)return{ref:p(_)};const b=l[1].defId??l[1].schema.id??`schema${t.counter++}`;return l[1].defId=b,{defId:b,ref:`${p("__shared")}#/${u}/${b}`}}if(l[1]===n)return{ref:"#"};const f=`#/${u}/`,d=l[1].schema.id??`__schema${t.counter++}`;return{defId:d,ref:f+d}},i=l=>{if(l[1].schema.$ref)return;const u=l[1],{ref:c,defId:f}=r(l);u.def={...u.schema},f&&(u.defId=f);const d=u.schema;for(const h in d)delete d[h];d.$ref=c};if(t.cycles==="throw")for(const l of t.seen.entries()){const u=l[1];if(u.cycle)throw new Error(`Cycle detected: #/${(s=u.cycle)==null?void 0:s.join("/")}/<root>
39
+ `)}h.write("payload.value = newResult;"),h.write("return payload;");const k=h.compile();return(z,b)=>k(d,z,b)};let s;const o=ai,a=!Dc.jitless,u=a&&Jp.value,c=e.catchall;let f;t._zod.parse=(d,h)=>{f??(f=r.value);const m=d.value;return o(m)?a&&u&&(h==null?void 0:h.async)===!1&&h.jitless!==!0?(s||(s=i(e.shape)),d=s(d,h),c?eu([],m,d,h,f,t):d):n(d,h):(d.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),d)}});function tu(t,e,n,r){for(const s of t)if(s.issues.length===0)return e.value=s.value,e;const i=t.filter(s=>!kr(s));return i.length===1?(e.value=i[0].value,i[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:n,errors:t.map(s=>s.issues.map(o=>En(o,r,On())))}),e)}const nu=C("$ZodUnion",(t,e)=>{ve.init(t,e),de(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),de(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),de(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),de(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){const i=e.options.map(s=>s._zod.pattern);return new RegExp(`^(${i.map(s=>To(s.source)).join("|")})$`)}});const n=e.options.length===1,r=e.options[0]._zod.run;t._zod.parse=(i,s)=>{if(n)return r(i,s);let o=!1;const a=[];for(const l of e.options){const u=l._zod.run({value:i.value,issues:[]},s);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(l=>tu(l,i,t,s)):tu(a,i,t,s)}}),Zg=C("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,nu.init(t,e);const n=t._zod.parse;de(t._zod,"propValues",()=>{const i={};for(const s of e.options){const o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(const[a,l]of Object.entries(o)){i[a]||(i[a]=new Set);for(const u of l)i[a].add(u)}}return i});const r=us(()=>{var o;const i=e.options,s=new Map;for(const a of i){const l=(o=a._zod.propValues)==null?void 0:o[e.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(a)}"`);for(const u of l){if(s.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);s.set(u,a)}}return s});t._zod.parse=(i,s)=>{const o=i.value;if(!ai(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),i;const a=r.value.get(o==null?void 0:o[e.discriminator]);return a?a._zod.run(i,s):e.unionFallback?n(i,s):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,input:o,path:[e.discriminator],inst:t}),i)}}),Lg=C("$ZodIntersection",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>{const i=n.value,s=e.left._zod.run({value:i,issues:[]},r),o=e.right._zod.run({value:i,issues:[]},r);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([l,u])=>ru(n,l,u)):ru(n,s,o)}});function Eo(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(wr(t)&&wr(e)){const n=Object.keys(e),r=Object.keys(t).filter(s=>n.indexOf(s)!==-1),i={...t,...e};for(const s of r){const o=Eo(t[s],e[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};i[s]=o.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r],o=Eo(i,s);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function ru(t,e,n){if(e.issues.length&&t.issues.push(...e.issues),n.issues.length&&t.issues.push(...n.issues),kr(t))return t;const r=Eo(e.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return t.value=r.data,t}const jg=C("$ZodRecord",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!wr(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:t}),n;const s=[],o=e.keyType._zod.values;if(o){n.value={};const a=new Set;for(const u of o)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){a.add(typeof u=="number"?u.toString():u);const c=e.valueType._zod.run({value:i[u],issues:[]},r);c instanceof Promise?s.push(c.then(f=>{f.issues.length&&n.issues.push(...Tr(u,f.issues)),n.value[u]=f.value})):(c.issues.length&&n.issues.push(...Tr(u,c.issues)),n.value[u]=c.value)}let l;for(const u in i)a.has(u)||(l=l??[],l.push(u));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:t,keys:l})}else{n.value={};for(const a of Reflect.ownKeys(i)){if(a==="__proto__")continue;const l=e.keyType._zod.run({value:a,issues:[]},r);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){e.mode==="loose"?n.value[a]=i[a]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(c=>En(c,r,On())),input:a,path:[a],inst:t});continue}const u=e.valueType._zod.run({value:i[a],issues:[]},r);u instanceof Promise?s.push(u.then(c=>{c.issues.length&&n.issues.push(...Tr(a,c.issues)),n.value[l.value]=c.value})):(u.issues.length&&n.issues.push(...Tr(a,u.issues)),n.value[l.value]=u.value)}}return s.length?Promise.all(s).then(()=>n):n}}),Ug=C("$ZodEnum",(t,e)=>{ve.init(t,e);const n=Mc(e.entries),r=new Set(n);t._zod.values=r,t._zod.pattern=new RegExp(`^(${n.filter(i=>Kp.has(typeof i)).map(i=>typeof i=="string"?Sr(i):i.toString()).join("|")})$`),t._zod.parse=(i,s)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n,input:o,inst:t}),i}}),Vg=C("$ZodLiteral",(t,e)=>{if(ve.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(e.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${e.values.map(r=>typeof r=="string"?Sr(r):r?Sr(r.toString()):String(r)).join("|")})$`),t._zod.parse=(r,i)=>{const s=r.value;return n.has(s)||r.issues.push({code:"invalid_value",values:e.values,input:s,inst:t}),r}}),Bg=C("$ZodTransform",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Ic(t.constructor.name);const i=e.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(n.value=o,n));if(i instanceof Promise)throw new xr;return n.value=i,n}});function iu(t,e){return t.issues.length&&e===void 0?{issues:[],value:void 0}:t}const Wg=C("$ZodOptional",(t,e)=>{ve.init(t,e),t._zod.optin="optional",t._zod.optout="optional",de(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),de(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${To(n.source)})?$`):void 0}),t._zod.parse=(n,r)=>{if(e.innerType._zod.optin==="optional"){const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>iu(s,n.value)):iu(i,n.value)}return n.value===void 0?n:e.innerType._zod.run(n,r)}}),Hg=C("$ZodNullable",(t,e)=>{ve.init(t,e),de(t._zod,"optin",()=>e.innerType._zod.optin),de(t._zod,"optout",()=>e.innerType._zod.optout),de(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${To(n.source)}|null)$`):void 0}),de(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(n,r)=>n.value===null?n:e.innerType._zod.run(n,r)}),Jg=C("$ZodDefault",(t,e)=>{ve.init(t,e),t._zod.optin="optional",de(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);if(n.value===void 0)return n.value=e.defaultValue,n;const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>su(s,e)):su(i,e)}});function su(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}const Kg=C("$ZodPrefault",(t,e)=>{ve.init(t,e),t._zod.optin="optional",de(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=e.defaultValue),e.innerType._zod.run(n,r))}),qg=C("$ZodNonOptional",(t,e)=>{ve.init(t,e),de(t._zod,"values",()=>{const n=e.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),t._zod.parse=(n,r)=>{const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>ou(s,t)):ou(i,t)}});function ou(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}const Yg=C("$ZodCatch",(t,e)=>{ve.init(t,e),de(t._zod,"optin",()=>e.innerType._zod.optin),de(t._zod,"optout",()=>e.innerType._zod.optout),de(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>(n.value=s.value,s.issues.length&&(n.value=e.catchValue({...n,error:{issues:s.issues.map(o=>En(o,r,On()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=e.catchValue({...n,error:{issues:i.issues.map(s=>En(s,r,On()))},input:n.value}),n.issues=[]),n)}}),Gg=C("$ZodPipe",(t,e)=>{ve.init(t,e),de(t._zod,"values",()=>e.in._zod.values),de(t._zod,"optin",()=>e.in._zod.optin),de(t._zod,"optout",()=>e.out._zod.optout),de(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=e.out._zod.run(n,r);return s instanceof Promise?s.then(o=>gs(o,e.in,r)):gs(s,e.in,r)}const i=e.in._zod.run(n,r);return i instanceof Promise?i.then(s=>gs(s,e.out,r)):gs(i,e.out,r)}});function gs(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}const Xg=C("$ZodReadonly",(t,e)=>{ve.init(t,e),de(t._zod,"propValues",()=>e.innerType._zod.propValues),de(t._zod,"values",()=>e.innerType._zod.values),de(t._zod,"optin",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optin}),de(t._zod,"optout",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optout}),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(au):au(i)}});function au(t){return t.value=Object.freeze(t.value),t}const Qg=C("$ZodCustom",(t,e)=>{ot.init(t,e),ve.init(t,e),t._zod.parse=(n,r)=>n,t._zod.check=n=>{const r=n.value,i=e.fn(r);if(i instanceof Promise)return i.then(s=>lu(s,n,r,t));lu(i,n,r,t)}});function lu(t,e,n,r){if(!t){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),e.issues.push(li(i))}}var cu;class e_{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...n){const r=n[0];if(this._map.set(e,r),r&&typeof r=="object"&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const n=this._map.get(e);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(e),this}get(e){const n=e._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function t_(){return new e_}(cu=globalThis).__zod_globalRegistry??(cu.__zod_globalRegistry=t_());const ci=globalThis.__zod_globalRegistry;function n_(t,e){return new t({type:"string",...B(e)})}function r_(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...B(e)})}function uu(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...B(e)})}function i_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...B(e)})}function s_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...B(e)})}function o_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...B(e)})}function a_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...B(e)})}function l_(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...B(e)})}function c_(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...B(e)})}function u_(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...B(e)})}function f_(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...B(e)})}function d_(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...B(e)})}function h_(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...B(e)})}function p_(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...B(e)})}function m_(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...B(e)})}function g_(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...B(e)})}function __(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...B(e)})}function v_(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...B(e)})}function y_(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...B(e)})}function b_(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...B(e)})}function x_(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...B(e)})}function w_(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...B(e)})}function S_(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...B(e)})}function k_(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...B(e)})}function T_(t,e){return new t({type:"string",format:"date",check:"string_format",...B(e)})}function z_(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...B(e)})}function C_(t,e){return new t({type:"string",format:"duration",check:"string_format",...B(e)})}function O_(t,e){return new t({type:"number",checks:[],...B(e)})}function $_(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...B(e)})}function E_(t,e){return new t({type:"boolean",...B(e)})}function P_(t,e){return new t({type:"undefined",...B(e)})}function A_(t,e){return new t({type:"null",...B(e)})}function I_(t){return new t({type:"any"})}function D_(t){return new t({type:"unknown"})}function M_(t,e){return new t({type:"never",...B(e)})}function fu(t,e){return new Kc({check:"less_than",...B(e),value:t,inclusive:!1})}function Po(t,e){return new Kc({check:"less_than",...B(e),value:t,inclusive:!0})}function du(t,e){return new qc({check:"greater_than",...B(e),value:t,inclusive:!1})}function Ao(t,e){return new qc({check:"greater_than",...B(e),value:t,inclusive:!0})}function hu(t,e){return new Bm({check:"multiple_of",...B(e),value:t})}function pu(t,e){return new Hm({check:"max_length",...B(e),maximum:t})}function _s(t,e){return new Jm({check:"min_length",...B(e),minimum:t})}function mu(t,e){return new Km({check:"length_equals",...B(e),length:t})}function N_(t,e){return new qm({check:"string_format",format:"regex",...B(e),pattern:t})}function R_(t){return new Ym({check:"string_format",format:"lowercase",...B(t)})}function F_(t){return new Gm({check:"string_format",format:"uppercase",...B(t)})}function Z_(t,e){return new Xm({check:"string_format",format:"includes",...B(e),includes:t})}function L_(t,e){return new Qm({check:"string_format",format:"starts_with",...B(e),prefix:t})}function j_(t,e){return new eg({check:"string_format",format:"ends_with",...B(e),suffix:t})}function zr(t){return new tg({check:"overwrite",tx:t})}function U_(t){return zr(e=>e.normalize(t))}function V_(){return zr(t=>t.trim())}function B_(){return zr(t=>t.toLowerCase())}function W_(){return zr(t=>t.toUpperCase())}function H_(){return zr(t=>Hp(t))}function J_(t,e,n){return new t({type:"array",element:e,...B(n)})}function K_(t,e,n){return new t({type:"custom",check:"custom",fn:e,...B(n)})}function q_(t){const e=Y_(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(li(r,n.value,e._zod.def));else{const i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=e),i.continue??(i.continue=!e._zod.def.abort),n.issues.push(li(i))}},t(n.value,n)));return e}function Y_(t,e){const n=new ot({check:"custom",...B(e)});return n._zod.check=t,n}function gu(t){let e=(t==null?void 0:t.target)??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:(t==null?void 0:t.metadata)??ci,target:e,unrepresentable:(t==null?void 0:t.unrepresentable)??"throw",override:(t==null?void 0:t.override)??(()=>{}),io:(t==null?void 0:t.io)??"output",counter:0,seen:new Map,cycles:(t==null?void 0:t.cycles)??"ref",reused:(t==null?void 0:t.reused)??"inline",external:(t==null?void 0:t.external)??void 0}}function Ne(t,e,n={path:[],schemaPath:[]}){var c,f;var r;const i=t._zod.def,s=e.seen.get(t);if(s)return s.count++,n.schemaPath.includes(t)&&(s.cycle=n.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};e.seen.set(t,o);const a=(f=(c=t._zod).toJSONSchema)==null?void 0:f.call(c);if(a)o.schema=a;else{const d={...n,schemaPath:[...n.schemaPath,t],path:n.path},h=t._zod.parent;if(h)o.ref=h,Ne(h,e,d),e.seen.get(h).isParent=!0;else if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,o.schema,d);else{const m=o.schema,p=e.processors[i.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);p(t,e,m,d)}}const l=e.metadataRegistry.get(t);return l&&Object.assign(o.schema,l),e.io==="input"&&nt(t)&&(delete o.schema.examples,delete o.schema.default),e.io==="input"&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,e.seen.get(t).schema}function _u(t,e){var s,o,a;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=l=>{var h;const u=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){const m=(h=t.external.registry.get(l[0]))==null?void 0:h.id,p=t.external.uri??(x=>x);if(m)return{ref:p(m)};const y=l[1].defId??l[1].schema.id??`schema${t.counter++}`;return l[1].defId=y,{defId:y,ref:`${p("__shared")}#/${u}/${y}`}}if(l[1]===n)return{ref:"#"};const f=`#/${u}/`,d=l[1].schema.id??`__schema${t.counter++}`;return{defId:d,ref:f+d}},i=l=>{if(l[1].schema.$ref)return;const u=l[1],{ref:c,defId:f}=r(l);u.def={...u.schema},f&&(u.defId=f);const d=u.schema;for(const h in d)delete d[h];d.$ref=c};if(t.cycles==="throw")for(const l of t.seen.entries()){const u=l[1];if(u.cycle)throw new Error(`Cycle detected: #/${(s=u.cycle)==null?void 0:s.join("/")}/<root>
40
40
 
41
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of t.seen.entries()){const u=l[1];if(e===l[0]){i(l);continue}if(t.external){const f=(o=t.external.registry.get(l[0]))==null?void 0:o.id;if(e!==l[0]&&f){i(l);continue}}if((a=t.metadataRegistry.get(l[0]))==null?void 0:a.id){i(l);continue}if(u.cycle){i(l);continue}if(u.count>1&&t.reused==="ref"){i(l);continue}}}function fu(t,e){var o,a,l;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=u=>{const c=t.seen.get(u),f=c.def??c.schema,d={...f};if(c.ref===null)return;const h=c.ref;if(c.ref=null,h){r(h);const _=t.seen.get(h).schema;_.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push(_)):(Object.assign(f,_),Object.assign(f,d))}c.isParent||t.override({zodSchema:u,jsonSchema:f,path:c.path??[]})};for(const u of[...t.seen.entries()].reverse())r(u[0]);const i={};if(t.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":t.target,(o=t.external)!=null&&o.uri){const u=(a=t.external.registry.get(e))==null?void 0:a.id;if(!u)throw new Error("Schema is missing an `id` property");i.$id=t.external.uri(u)}Object.assign(i,n.def??n.schema);const s=((l=t.external)==null?void 0:l.defs)??{};for(const u of t.seen.entries()){const c=u[1];c.def&&c.defId&&(s[c.defId]=c.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const u=JSON.parse(JSON.stringify(i));return Object.defineProperty(u,"~standard",{value:{...e["~standard"],jsonSchema:{input:_s(e,"input"),output:_s(e,"output")}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function et(t,e){const n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);const r=t._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return et(r.element,n);if(r.type==="set")return et(r.valueType,n);if(r.type==="lazy")return et(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return et(r.innerType,n);if(r.type==="intersection")return et(r.left,n)||et(r.right,n);if(r.type==="record"||r.type==="map")return et(r.keyType,n)||et(r.valueType,n);if(r.type==="pipe")return et(r.in,n)||et(r.out,n);if(r.type==="object"){for(const i in r.shape)if(et(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(et(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(et(i,n))return!0;return!!(r.rest&&et(r.rest,n))}return!1}const Bg=(t,e={})=>n=>{const r=cu({...n,processors:e});return Ie(t,r),uu(r,t),fu(r,t)},_s=(t,e)=>n=>{const{libraryOptions:r,target:i}=n??{},s=cu({...r??{},target:i,io:e,processors:{}});return Ie(t,s),uu(s,t),fu(s,t)},Vg={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Hg=(t,e,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=Vg[a]??a,i.format===""&&delete i.format),u&&(i.contentEncoding=u),l&&l.size>0){const c=[...l];c.length===1?i.pattern=c[0].source:c.length>1&&(i.allOf=[...c.map(f=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Wg=(t,e,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:c}=t._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof c=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.minimum=c,i.exclusiveMinimum=!0):i.exclusiveMinimum=c),typeof s=="number"&&(i.minimum=s,typeof c=="number"&&e.target!=="draft-04"&&(c>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.maximum=u,i.exclusiveMaximum=!0):i.exclusiveMaximum=u),typeof o=="number"&&(i.maximum=o,typeof u=="number"&&e.target!=="draft-04"&&(u<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof l=="number"&&(i.multipleOf=l)},Jg=(t,e,n,r)=>{n.type="boolean"},Kg=(t,e,n,r)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},qg=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},Yg=(t,e,n,r)=>{n.not={}},Gg=(t,e,n,r)=>{},Xg=(t,e,n,r)=>{},Qg=(t,e,n,r)=>{const i=t._zod.def,s=Oc(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},e0=(t,e,n,r)=>{const i=t._zod.def,s=[];for(const o of i.values)if(o===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(o))}else s.push(o);if(s.length!==0)if(s.length===1){const o=s[0];n.type=o===null?"null":typeof o,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[o]:n.const=o}else s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),s.every(o=>typeof o=="boolean")&&(n.type="boolean"),s.every(o=>o===null)&&(n.type="null"),n.enum=s},t0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},n0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},r0=(t,e,n,r)=>{const i=n,s=t._zod.def,{minimum:o,maximum:a}=t._zod.bag;typeof o=="number"&&(i.minItems=o),typeof a=="number"&&(i.maxItems=a),i.type="array",i.items=Ie(s.element,e,{...r,path:[...r.path,"items"]})},i0=(t,e,n,r)=>{var u;const i=n,s=t._zod.def;i.type="object",i.properties={};const o=s.shape;for(const c in o)i.properties[c]=Ie(o[c],e,{...r,path:[...r.path,"properties",c]});const a=new Set(Object.keys(o)),l=new Set([...a].filter(c=>{const f=s.shape[c]._zod;return e.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(i.required=Array.from(l)),((u=s.catchall)==null?void 0:u._zod.def.type)==="never"?i.additionalProperties=!1:s.catchall?s.catchall&&(i.additionalProperties=Ie(s.catchall,e,{...r,path:[...r.path,"additionalProperties"]})):e.io==="output"&&(i.additionalProperties=!1)},s0=(t,e,n,r)=>{const i=t._zod.def,s=i.inclusive===!1,o=i.options.map((a,l)=>Ie(a,e,{...r,path:[...r.path,s?"oneOf":"anyOf",l]}));s?n.oneOf=o:n.anyOf=o},o0=(t,e,n,r)=>{const i=t._zod.def,s=Ie(i.left,e,{...r,path:[...r.path,"allOf",0]}),o=Ie(i.right,e,{...r,path:[...r.path,"allOf",1]}),a=u=>"allOf"in u&&Object.keys(u).length===1,l=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=l},a0=(t,e,n,r)=>{const i=n,s=t._zod.def;i.type="object",(e.target==="draft-07"||e.target==="draft-2020-12")&&(i.propertyNames=Ie(s.keyType,e,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=Ie(s.valueType,e,{...r,path:[...r.path,"additionalProperties"]})},l0=(t,e,n,r)=>{const i=t._zod.def,s=Ie(i.innerType,e,r),o=e.seen.get(t);e.target==="openapi-3.0"?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},c0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},u0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},f0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},d0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},h0=(t,e,n,r)=>{const i=t._zod.def,s=e.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;Ie(s,e,r);const o=e.seen.get(t);o.ref=s},p0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.readOnly=!0},_0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},m0=z("ZodISODateTime",(t,e)=>{am.init(t,e),Se.init(t,e)});function g0(t){return mg(m0,t)}const v0=z("ZodISODate",(t,e)=>{lm.init(t,e),Se.init(t,e)});function y0(t){return gg(v0,t)}const b0=z("ZodISOTime",(t,e)=>{cm.init(t,e),Se.init(t,e)});function x0(t){return vg(b0,t)}const w0=z("ZodISODuration",(t,e)=>{um.init(t,e),Se.init(t,e)});function S0(t){return yg(w0,t)}const Ot=z("ZodError",(t,e)=>{Dc.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>Gp(t,n)},flatten:{value:n=>Yp(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,vo,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,vo,2)}},isEmpty:{get(){return t.issues.length===0}}})},{Parent:Error}),k0=wo(Ot),T0=So(Ot),z0=cs(Ot),C0=us(Ot),O0=e_(Ot),E0=t_(Ot),$0=n_(Ot),P0=r_(Ot),A0=i_(Ot),I0=s_(Ot),D0=o_(Ot),M0=a_(Ot),ye=z("ZodType",(t,e)=>(ge.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:_s(t,"input"),output:_s(t,"output")}}),t.toJSONSchema=Bg(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.check=(...n)=>t.clone(Xn(e,{checks:[...e.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]})),t.clone=(n,r)=>On(t,n,r),t.brand=()=>t,t.register=(n,r)=>(n.add(t,r),t),t.parse=(n,r)=>k0(t,n,r,{callee:t.parse}),t.safeParse=(n,r)=>z0(t,n,r),t.parseAsync=async(n,r)=>T0(t,n,r,{callee:t.parseAsync}),t.safeParseAsync=async(n,r)=>C0(t,n,r),t.spa=t.safeParseAsync,t.encode=(n,r)=>O0(t,n,r),t.decode=(n,r)=>E0(t,n,r),t.encodeAsync=async(n,r)=>$0(t,n,r),t.decodeAsync=async(n,r)=>P0(t,n,r),t.safeEncode=(n,r)=>A0(t,n,r),t.safeDecode=(n,r)=>I0(t,n,r),t.safeEncodeAsync=async(n,r)=>D0(t,n,r),t.safeDecodeAsync=async(n,r)=>M0(t,n,r),t.refine=(n,r)=>t.check(Pv(n,r)),t.superRefine=n=>t.check(Av(n)),t.overwrite=n=>t.check(Tr(n)),t.optional=()=>wu(t),t.nullable=()=>Su(t),t.nullish=()=>wu(Su(t)),t.nonoptional=n=>kv(t,n),t.array=()=>Oo(t),t.or=n=>Eo([t,n]),t.and=n=>pv(t,n),t.transform=n=>Ao(t,bu(n)),t.default=n=>xv(t,n),t.prefault=n=>Sv(t,n),t.catch=n=>zv(t,n),t.pipe=n=>Ao(t,n),t.readonly=()=>Ev(t),t.describe=n=>{const r=t.clone();return li.add(r,{description:n}),r},Object.defineProperty(t,"description",{get(){var n;return(n=li.get(t))==null?void 0:n.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return li.get(t);const r=t.clone();return li.add(r,n[0]),r},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),du=z("_ZodString",(t,e)=>{ko.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Hg(t,r,i);const n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,t.regex=(...r)=>t.check(Og(...r)),t.includes=(...r)=>t.check(Pg(...r)),t.startsWith=(...r)=>t.check(Ag(...r)),t.endsWith=(...r)=>t.check(Ig(...r)),t.min=(...r)=>t.check(ps(...r)),t.max=(...r)=>t.check(au(...r)),t.length=(...r)=>t.check(lu(...r)),t.nonempty=(...r)=>t.check(ps(1,...r)),t.lowercase=r=>t.check(Eg(r)),t.uppercase=r=>t.check($g(r)),t.trim=()=>t.check(Mg()),t.normalize=(...r)=>t.check(Dg(...r)),t.toLowerCase=()=>t.check(Ng()),t.toUpperCase=()=>t.check(Rg()),t.slugify=()=>t.check(Fg())}),N0=z("ZodString",(t,e)=>{ko.init(t,e),du.init(t,e),t.email=n=>t.check(qm(R0,n)),t.url=n=>t.check(eg(F0,n)),t.jwt=n=>t.check(_g(Q0,n)),t.emoji=n=>t.check(tg(Z0,n)),t.guid=n=>t.check(ru(hu,n)),t.uuid=n=>t.check(Ym(ms,n)),t.uuidv4=n=>t.check(Gm(ms,n)),t.uuidv6=n=>t.check(Xm(ms,n)),t.uuidv7=n=>t.check(Qm(ms,n)),t.nanoid=n=>t.check(ng(L0,n)),t.guid=n=>t.check(ru(hu,n)),t.cuid=n=>t.check(rg(j0,n)),t.cuid2=n=>t.check(ig(U0,n)),t.ulid=n=>t.check(sg(B0,n)),t.base64=n=>t.check(dg(Y0,n)),t.base64url=n=>t.check(hg(G0,n)),t.xid=n=>t.check(og(V0,n)),t.ksuid=n=>t.check(ag(H0,n)),t.ipv4=n=>t.check(lg(W0,n)),t.ipv6=n=>t.check(cg(J0,n)),t.cidrv4=n=>t.check(ug(K0,n)),t.cidrv6=n=>t.check(fg(q0,n)),t.e164=n=>t.check(pg(X0,n)),t.datetime=n=>t.check(g0(n)),t.date=n=>t.check(y0(n)),t.time=n=>t.check(x0(n)),t.duration=n=>t.check(S0(n))});function Qn(t){return Km(N0,t)}const Se=z("ZodStringFormat",(t,e)=>{be.init(t,e),du.init(t,e)}),R0=z("ZodEmail",(t,e)=>{X_.init(t,e),Se.init(t,e)}),hu=z("ZodGUID",(t,e)=>{Y_.init(t,e),Se.init(t,e)}),ms=z("ZodUUID",(t,e)=>{G_.init(t,e),Se.init(t,e)}),F0=z("ZodURL",(t,e)=>{Q_.init(t,e),Se.init(t,e)}),Z0=z("ZodEmoji",(t,e)=>{em.init(t,e),Se.init(t,e)}),L0=z("ZodNanoID",(t,e)=>{tm.init(t,e),Se.init(t,e)}),j0=z("ZodCUID",(t,e)=>{nm.init(t,e),Se.init(t,e)}),U0=z("ZodCUID2",(t,e)=>{rm.init(t,e),Se.init(t,e)}),B0=z("ZodULID",(t,e)=>{im.init(t,e),Se.init(t,e)}),V0=z("ZodXID",(t,e)=>{sm.init(t,e),Se.init(t,e)}),H0=z("ZodKSUID",(t,e)=>{om.init(t,e),Se.init(t,e)}),W0=z("ZodIPv4",(t,e)=>{fm.init(t,e),Se.init(t,e)}),J0=z("ZodIPv6",(t,e)=>{dm.init(t,e),Se.init(t,e)}),K0=z("ZodCIDRv4",(t,e)=>{hm.init(t,e),Se.init(t,e)}),q0=z("ZodCIDRv6",(t,e)=>{pm.init(t,e),Se.init(t,e)}),Y0=z("ZodBase64",(t,e)=>{_m.init(t,e),Se.init(t,e)}),G0=z("ZodBase64URL",(t,e)=>{gm.init(t,e),Se.init(t,e)}),X0=z("ZodE164",(t,e)=>{vm.init(t,e),Se.init(t,e)}),Q0=z("ZodJWT",(t,e)=>{bm.init(t,e),Se.init(t,e)}),pu=z("ZodNumber",(t,e)=>{Vc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Wg(t,r,i),t.gt=(r,i)=>t.check(su(r,i)),t.gte=(r,i)=>t.check(Co(r,i)),t.min=(r,i)=>t.check(Co(r,i)),t.lt=(r,i)=>t.check(iu(r,i)),t.lte=(r,i)=>t.check(zo(r,i)),t.max=(r,i)=>t.check(zo(r,i)),t.int=r=>t.check(_u(r)),t.safe=r=>t.check(_u(r)),t.positive=r=>t.check(su(0,r)),t.nonnegative=r=>t.check(Co(0,r)),t.negative=r=>t.check(iu(0,r)),t.nonpositive=r=>t.check(zo(0,r)),t.multipleOf=(r,i)=>t.check(ou(r,i)),t.step=(r,i)=>t.check(ou(r,i)),t.finite=()=>t;const n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function ev(t){return bg(pu,t)}const tv=z("ZodNumberFormat",(t,e)=>{xm.init(t,e),pu.init(t,e)});function _u(t){return xg(tv,t)}const nv=z("ZodBoolean",(t,e)=>{wm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Jg(t,n,r)});function ci(t){return wg(nv,t)}const rv=z("ZodUndefined",(t,e)=>{Sm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>qg(t,n)});function mu(t){return Sg(rv,t)}const iv=z("ZodNull",(t,e)=>{km.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Kg(t,n,r)});function gu(t){return kg(iv,t)}const sv=z("ZodAny",(t,e)=>{Tm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Gg()});function ov(){return Tg(sv)}const av=z("ZodUnknown",(t,e)=>{zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Xg()});function vu(){return zg(av)}const lv=z("ZodNever",(t,e)=>{Cm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Yg(t,n,r)});function cv(t){return Cg(lv,t)}const uv=z("ZodArray",(t,e)=>{Om.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>r0(t,n,r,i),t.element=e.element,t.min=(n,r)=>t.check(ps(n,r)),t.nonempty=n=>t.check(ps(1,n)),t.max=(n,r)=>t.check(au(n,r)),t.length=(n,r)=>t.check(lu(n,r)),t.unwrap=()=>t.element});function Oo(t,e){return Zg(uv,t,e)}const fv=z("ZodObject",(t,e)=>{$m.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>i0(t,n,r,i),fe(t,"shape",()=>e.shape),t.keyof=()=>_t(Object.keys(t._zod.def.shape)),t.catchall=n=>t.clone({...t._zod.def,catchall:n}),t.passthrough=()=>t.clone({...t._zod.def,catchall:vu()}),t.loose=()=>t.clone({...t._zod.def,catchall:vu()}),t.strict=()=>t.clone({...t._zod.def,catchall:cv()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>Hp(t,n),t.safeExtend=n=>Wp(t,n),t.merge=n=>Jp(t,n),t.pick=n=>Bp(t,n),t.omit=n=>Vp(t,n),t.partial=(...n)=>Kp(xu,t,n[0]),t.required=(...n)=>qp(ku,t,n[0])});function Ve(t,e){const n={type:"object",shape:t??{},...U(e)};return new fv(n)}const yu=z("ZodUnion",(t,e)=>{qc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>s0(t,n,r,i),t.options=e.options});function Eo(t,e){return new yu({type:"union",options:t,...U(e)})}const dv=z("ZodDiscriminatedUnion",(t,e)=>{yu.init(t,e),Pm.init(t,e)});function $o(t,e,n){return new dv({type:"union",options:e,discriminator:t,...U(n)})}const hv=z("ZodIntersection",(t,e)=>{Am.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>o0(t,n,r,i)});function pv(t,e){return new hv({type:"intersection",left:t,right:e})}const _v=z("ZodRecord",(t,e)=>{Im.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>a0(t,n,r,i),t.keyType=e.keyType,t.valueType=e.valueType});function mv(t,e,n){return new _v({type:"record",keyType:t,valueType:e,...U(n)})}const Po=z("ZodEnum",(t,e)=>{Dm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Qg(t,r,i),t.enum=e.entries,t.options=Object.values(e.entries);const n=new Set(Object.keys(e.entries));t.extract=(r,i)=>{const s={};for(const o of r)if(n.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new Po({...e,checks:[],...U(i),entries:s})},t.exclude=(r,i)=>{const s={...e.entries};for(const o of r)if(n.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new Po({...e,checks:[],...U(i),entries:s})}});function _t(t,e){const n=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new Po({type:"enum",entries:n,...U(e)})}const gv=z("ZodLiteral",(t,e)=>{Mm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>e0(t,n,r),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function He(t,e){return new gv({type:"literal",values:Array.isArray(t)?t:[t],...U(e)})}const vv=z("ZodTransform",(t,e)=>{Nm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>n0(t,n),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new zc(t.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(ai(s,n.value,e));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),n.issues.push(ai(o))}};const i=e.transform(n.value,n);return i instanceof Promise?i.then(s=>(n.value=s,n)):(n.value=i,n)}});function bu(t){return new vv({type:"transform",transform:t})}const xu=z("ZodOptional",(t,e)=>{Rm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>_0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function wu(t){return new xu({type:"optional",innerType:t})}const yv=z("ZodNullable",(t,e)=>{Fm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>l0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Su(t){return new yv({type:"nullable",innerType:t})}const bv=z("ZodDefault",(t,e)=>{Zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>u0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function xv(t,e){return new bv({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():Ac(e)}})}const wv=z("ZodPrefault",(t,e)=>{Lm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>f0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Sv(t,e){return new wv({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():Ac(e)}})}const ku=z("ZodNonOptional",(t,e)=>{jm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>c0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function kv(t,e){return new ku({type:"nonoptional",innerType:t,...U(e)})}const Tv=z("ZodCatch",(t,e)=>{Um.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>d0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function zv(t,e){return new Tv({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const Cv=z("ZodPipe",(t,e)=>{Bm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>h0(t,n,r,i),t.in=e.in,t.out=e.out});function Ao(t,e){return new Cv({type:"pipe",in:t,out:e})}const Ov=z("ZodReadonly",(t,e)=>{Vm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>p0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Ev(t){return new Ov({type:"readonly",innerType:t})}const $v=z("ZodCustom",(t,e)=>{Hm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>t0(t,n)});function Pv(t,e={}){return Lg($v,t,e)}function Av(t){return jg(t)}function Iv(t,e){return Ao(bu(t),e)}const gs=t=>{if(!t||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>gs(r));const e={t:"title",s:"subtitle",d:"description",desc:"description",bg:"background",img:"image",fs:"features",tl:"timeline",st:"steps"},n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=e[r]||r,s=t[r];n[i]=gs(s)}return n},Jt=t=>Eo([t,Oo(t),gu(),mu()]).transform(e=>e==null?[]:Array.isArray(e)?e:[e]),ce=Eo([Qn(),ev(),gu(),mu()]).transform(t=>t==null?"":String(t)),Io=Qn().describe("Icon name (e.g. 'star', 'users', 'arrow-right'). Use standard Lucide/FontAwesome names."),zr=Ve({id:Qn().optional().describe("Unique ID for the slide. Useful for navigation."),sizing:_t(["viewport","container"]).optional().describe("How the slide fits the screen. Default: 'viewport'."),meta:mv(Qn(),ov()).optional().describe("Arbitrary metadata for custom behavior.")}),Dv=zr.extend({type:He("statement").describe("Use for high-impact titles, covers, or quotes."),title:ce.describe("Main headline. Keep it punchy (3-6 words)."),subtitle:ce.optional().describe("Supporting text or attribution."),tag:ce.optional().describe("Small eyebrow tag above the title.")}),Mv=Ve({title:ce.describe("Feature name."),description:ce.describe("Short benefit description."),icon:Io.optional().describe("Visual icon for the feature.")}),Nv=zr.extend({type:He("features").describe("Use for lists of benefits, stats, or grid items."),title:ce.describe("Section header."),description:ce.optional().describe("Contextual description."),features:Jt(Mv).describe("Array of feature cards.")}),Tu=Ve({date:ce.describe("Time marker (Year, Date, or 'Now')."),title:ce.describe("Event title."),description:ce.describe("Event details (1-2 sentences)."),icon:Io.optional().describe("Optional marker icon.")}),Rv=zr.extend({type:He("timeline").describe("Use for history, roadmaps, or chronological steps."),title:ce.describe("Timeline header."),subtitle:ce.optional(),timeline:Jt(Tu).describe("Ordered events.")}),zu=Ve({step:ce.describe("Step number/label (e.g., '01', 'A')."),title:ce.describe("Action title."),description:ce.optional().describe("Action details."),icon:Io.optional()}),Fv=zr.extend({type:He("steps").describe("Use for tutorials, 'how-to' guides, or process flows."),title:ce.describe("Process header."),subtitle:ce.optional(),steps:Jt(zu).describe("Sequential steps.")}),Zv=zr.extend({type:He("half").describe("Use when you have a strong visual + explanations."),imageSide:_t(["left","right"]).default("left").describe("Which side the image goes on."),image:ce.describe("URL to the image."),title:ce.describe("Headline."),tag:ce.optional(),paragraphs:Jt(Qn()).describe("Array of text blocks/paragraphs."),cta:ce.optional().describe("Call to Action label (button).")}),ui=_t(["none","xs","sm","md","lg","xl","2xl"]).describe("Spacing size token."),dn=_t(["auto","quarter","third","half","two-thirds","three-quarters","full"]).describe("Element size in container."),Lv=_t(["top","center","bottom"]).describe("Vertical alignment."),jv=_t(["left","center","right"]).describe("Horizontal alignment."),Cu=_t(["left","center","right"]).describe("Text alignment."),Ou=Ve({type:He("title").describe("Large heading text."),text:ce.describe("The heading text."),size:_t(["lg","xl","2xl","3xl"]).optional().describe("Heading size. Default: 'xl'."),align:Cu.optional().describe("Text alignment. Default: 'left'.")}),Eu=Ve({type:He("text").describe("Body paragraph text."),text:ce.describe("The paragraph text."),align:Cu.optional().describe("Text alignment. Default: 'left'."),muted:ci().optional().describe("Muted/subtle appearance. Default: false.")}),$u=Ve({type:He("bullets").describe("Unordered bullet list."),items:Jt(Qn()).describe("List items.")}),Pu=Ve({type:He("ordered").describe("Numbered list."),items:Jt(Qn()).describe("List items.")}),Uv=Ve({type:He("image").describe("Visual media element."),src:ce.describe("Image URL."),alt:ce.optional().describe("Alt text for accessibility."),fill:ci().optional().describe("Fill container edge-to-edge. Default: true."),fit:_t(["cover","contain"]).optional().describe("Object-fit when fill. Default: 'cover'."),rounded:_t(["none","sm","md","lg","xl","full"]).optional().describe("Border radius.")}),Au=Ve({type:He("button").describe("Call-to-action button."),label:ce.describe("Button label text."),action:ce.optional().describe("Action identifier emitted on click."),variant:_t(["primary","secondary","outline","ghost"]).optional().describe("Visual variant. Default: 'primary'."),fullWidth:ci().optional().describe("Full width button. Default: false.")}),Iu=Ve({type:He("timeline").describe("Embedded timeline with events."),items:Jt(Tu).describe("Timeline events."),compact:ci().optional().describe("Compact display mode. Default: false.")}),Du=Ve({type:He("stepper").describe("Embedded step-by-step process."),items:Jt(zu).describe("Step items."),compact:ci().optional().describe("Compact display mode. Default: false.")}),Bv=Ve({type:He("spacer").describe("Adds visual spacing."),size:ui.optional().describe("Size of the space. Default: 'md'.")}),Vv=$o("type",[Ou,Eu,$u,Pu,Au,Iu,Du,Bv]),Hv=Ve({type:He("content").describe("Groups child elements vertically with alignment control."),elements:Jt(Vv).describe("Child elements."),valign:Lv.optional().describe("Vertical alignment. Default: 'center'."),halign:jv.optional().describe("Horizontal alignment. Default: 'left'."),gap:ui.optional().describe("Gap between children. Default: 'md'."),padding:ui.optional().describe("Internal padding. Default: 'lg'."),size:dn.optional().describe("Size in parent flex container.")}),Wv=$o("type",[Uv.extend({size:dn.optional()}),Hv,Ou.extend({size:dn.optional()}),Eu.extend({size:dn.optional()}),$u.extend({size:dn.optional()}),Pu.extend({size:dn.optional()}),Au.extend({size:dn.optional()}),Iu.extend({size:dn.optional()}),Du.extend({size:dn.optional()})]),Jv=zr.extend({type:He("flex").describe("Flow-based layout. Elements flow in order with semantic sizing."),direction:_t(["horizontal","vertical"]).optional().describe("Main flow direction. Default: 'horizontal'."),gap:ui.optional().describe("Gap between elements. Default: 'none'."),padding:ui.optional().describe("Container padding. Default: 'none'."),elements:Jt(Wv).describe("Flex elements in flow order.")}),Kv=$o("type",[Dv,Nv,Rv,Fv,Zv,Jv]),qv=Ve({title:ce.describe("Title of the entire presentation."),author:ce.optional(),date:ce.optional()}).passthrough();Ve({meta:qv.describe("Global deck settings."),slides:Oo(Iv(gs,Kv)).describe("Ordered array of slide definitions.")});const fi=Symbol("LuminaStore"),Yv={loop:!1,navigation:!0,keyboard:!0,touch:!0,debug:!1,theme:"default",ui:{visible:!0,showProgressBar:!0,showSlideCount:!0,showControls:!0},keys:{next:["ArrowRight"," ","Enter"],prev:["ArrowLeft","Backspace"]},animation:{enabled:!0,type:"cascade",durationIn:1,durationOut:.5,stagger:.1,ease:"power3.out"}};function Cr(t){if(typeof t=="string")return Np(t);if(Array.isArray(t))return t.map(Cr);if(t&&typeof t=="object"){const e={};for(const n in t)e[n]=Cr(t[n]);return e}return t}function Mu(t,e){if(typeof t!="object"||t===null||typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(Cr);const n={...t};for(const r in e)e[r]===Object(e[r])?r in t?n[r]=Mu(t[r],e[r]):Object.assign(n,{[r]:Cr(e[r])}):Object.assign(n,{[r]:Cr(e[r])});return n}function Gv(t={}){const e=Li({deck:null,currentIndex:0,options:{...Yv,...t},isReady:!1,actionHistory:[]}),n=()=>!e.deck||e.deck.slides.length===0?null:e.deck.slides[e.currentIndex]||null,r=()=>e.deck?e.options.loop?!0:e.currentIndex<e.deck.slides.length-1:!1,i=()=>e.deck?e.options.loop?!0:e.currentIndex>0:!1,s=()=>!e.deck||e.deck.slides.length<=1?0:e.currentIndex/(e.deck.slides.length-1);function o(h){e.options={...e.options,...h},h.theme&&(h.theme,e.options.theme=h.theme),h.ui&&(e.options.ui={...e.options.ui,...h.ui}),h.keys&&(e.options.keys={...e.options.keys,...h.keys}),h.animation&&(e.options.animation={...e.options.animation,...h.animation})}function a(h){if(!h||!Array.isArray(h.slides)){console.error("[LuminaStore] Invalid deck format");return}const _=gs(h);e.deck=Cr(_),e.currentIndex=0,e.isReady=!0,e.actionHistory=[]}function l(h){e.deck&&(e.deck=Mu(e.deck,h))}function u(h){e.actionHistory.push(h),e.actionHistory.length>50&&e.actionHistory.shift()}function c(){var p;if(!r())return;const h=((p=e.deck)==null?void 0:p.slides.length)||0;let _=e.currentIndex;e.options.loop?_=(e.currentIndex+1)%h:_++,_!==e.currentIndex&&(e.currentIndex=_)}function f(){var p;if(!i())return;const h=((p=e.deck)==null?void 0:p.slides.length)||0;let _=e.currentIndex;e.options.loop?_=(e.currentIndex-1+h)%h:_--,_!==e.currentIndex&&(e.currentIndex=_)}function d(h){e.deck&&h>=0&&h<e.deck.slides.length&&e.currentIndex!==h&&(e.currentIndex=h)}return{state:ji(e),currentSlide:n,hasNext:r,hasPrev:i,progress:s,setOptions:o,loadDeck:a,patchDeck:l,recordAction:u,next:c,prev:f,goto:d}}function Xv(){const t=Sn(fi);if(!t)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:Ce(()=>t.currentSlide()),index:Ce(()=>t.state.currentIndex),total:Ce(()=>{var e;return((e=t.state.deck)==null?void 0:e.slides.length)||0}),next:t.next,prev:t.prev,goto:t.goto,options:t.state.options}}function Qv(){const t=Sn(fi);if(!t)return;let e=0;const n=300,r=i=>{var u,c;const{options:s}=t.state;if(!s.keyboard||!s.navigation)return;const o=Date.now();if(o-e<n)return;const a=((u=s.keys)==null?void 0:u.next)||[],l=((c=s.keys)==null?void 0:c.prev)||[];a.includes(i.key)?(t.next(),e=o):l.includes(i.key)&&(t.prev(),e=o)};Hn(()=>{window.addEventListener("keydown",r)}),Wn(()=>{window.removeEventListener("keydown",r)})}class Nu{constructor(){nt(this,"handlers",new Map)}on(e,n){this.handlers.has(e)||this.handlers.set(e,new Set),this.handlers.get(e).add(n)}off(e,n){const r=this.handlers.get(e);r&&r.delete(n)}emit(e,n){const r=this.handlers.get(e);r&&r.forEach(i=>{try{i(n)}catch(s){console.error(`[LuminaBus] Error in handler for event "${e}":`,s)}})}clear(){this.handlers.clear()}}const hn=new Nu;function pn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ru(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
41
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of t.seen.entries()){const u=l[1];if(e===l[0]){i(l);continue}if(t.external){const f=(o=t.external.registry.get(l[0]))==null?void 0:o.id;if(e!==l[0]&&f){i(l);continue}}if((a=t.metadataRegistry.get(l[0]))==null?void 0:a.id){i(l);continue}if(u.cycle){i(l);continue}if(u.count>1&&t.reused==="ref"){i(l);continue}}}function vu(t,e){var o,a,l;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=u=>{const c=t.seen.get(u),f=c.def??c.schema,d={...f};if(c.ref===null)return;const h=c.ref;if(c.ref=null,h){r(h);const m=t.seen.get(h).schema;m.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push(m)):(Object.assign(f,m),Object.assign(f,d))}c.isParent||t.override({zodSchema:u,jsonSchema:f,path:c.path??[]})};for(const u of[...t.seen.entries()].reverse())r(u[0]);const i={};if(t.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":t.target,(o=t.external)!=null&&o.uri){const u=(a=t.external.registry.get(e))==null?void 0:a.id;if(!u)throw new Error("Schema is missing an `id` property");i.$id=t.external.uri(u)}Object.assign(i,n.def??n.schema);const s=((l=t.external)==null?void 0:l.defs)??{};for(const u of t.seen.entries()){const c=u[1];c.def&&c.defId&&(s[c.defId]=c.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const u=JSON.parse(JSON.stringify(i));return Object.defineProperty(u,"~standard",{value:{...e["~standard"],jsonSchema:{input:vs(e,"input"),output:vs(e,"output")}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function nt(t,e){const n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);const r=t._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return nt(r.element,n);if(r.type==="set")return nt(r.valueType,n);if(r.type==="lazy")return nt(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return nt(r.innerType,n);if(r.type==="intersection")return nt(r.left,n)||nt(r.right,n);if(r.type==="record"||r.type==="map")return nt(r.keyType,n)||nt(r.valueType,n);if(r.type==="pipe")return nt(r.in,n)||nt(r.out,n);if(r.type==="object"){for(const i in r.shape)if(nt(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(nt(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(nt(i,n))return!0;return!!(r.rest&&nt(r.rest,n))}return!1}const G_=(t,e={})=>n=>{const r=gu({...n,processors:e});return Ne(t,r),_u(r,t),vu(r,t)},vs=(t,e)=>n=>{const{libraryOptions:r,target:i}=n??{},s=gu({...r??{},target:i,io:e,processors:{}});return Ne(t,s),_u(s,t),vu(s,t)},X_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Q_=(t,e,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=X_[a]??a,i.format===""&&delete i.format),u&&(i.contentEncoding=u),l&&l.size>0){const c=[...l];c.length===1?i.pattern=c[0].source:c.length>1&&(i.allOf=[...c.map(f=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},e0=(t,e,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:c}=t._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof c=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.minimum=c,i.exclusiveMinimum=!0):i.exclusiveMinimum=c),typeof s=="number"&&(i.minimum=s,typeof c=="number"&&e.target!=="draft-04"&&(c>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.maximum=u,i.exclusiveMaximum=!0):i.exclusiveMaximum=u),typeof o=="number"&&(i.maximum=o,typeof u=="number"&&e.target!=="draft-04"&&(u<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof l=="number"&&(i.multipleOf=l)},t0=(t,e,n,r)=>{n.type="boolean"},n0=(t,e,n,r)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},r0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},i0=(t,e,n,r)=>{n.not={}},s0=(t,e,n,r)=>{},o0=(t,e,n,r)=>{},a0=(t,e,n,r)=>{const i=t._zod.def,s=Mc(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},l0=(t,e,n,r)=>{const i=t._zod.def,s=[];for(const o of i.values)if(o===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(o))}else s.push(o);if(s.length!==0)if(s.length===1){const o=s[0];n.type=o===null?"null":typeof o,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[o]:n.const=o}else s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),s.every(o=>typeof o=="boolean")&&(n.type="boolean"),s.every(o=>o===null)&&(n.type="null"),n.enum=s},c0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},u0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},f0=(t,e,n,r)=>{const i=n,s=t._zod.def,{minimum:o,maximum:a}=t._zod.bag;typeof o=="number"&&(i.minItems=o),typeof a=="number"&&(i.maxItems=a),i.type="array",i.items=Ne(s.element,e,{...r,path:[...r.path,"items"]})},d0=(t,e,n,r)=>{var u;const i=n,s=t._zod.def;i.type="object",i.properties={};const o=s.shape;for(const c in o)i.properties[c]=Ne(o[c],e,{...r,path:[...r.path,"properties",c]});const a=new Set(Object.keys(o)),l=new Set([...a].filter(c=>{const f=s.shape[c]._zod;return e.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(i.required=Array.from(l)),((u=s.catchall)==null?void 0:u._zod.def.type)==="never"?i.additionalProperties=!1:s.catchall?s.catchall&&(i.additionalProperties=Ne(s.catchall,e,{...r,path:[...r.path,"additionalProperties"]})):e.io==="output"&&(i.additionalProperties=!1)},h0=(t,e,n,r)=>{const i=t._zod.def,s=i.inclusive===!1,o=i.options.map((a,l)=>Ne(a,e,{...r,path:[...r.path,s?"oneOf":"anyOf",l]}));s?n.oneOf=o:n.anyOf=o},p0=(t,e,n,r)=>{const i=t._zod.def,s=Ne(i.left,e,{...r,path:[...r.path,"allOf",0]}),o=Ne(i.right,e,{...r,path:[...r.path,"allOf",1]}),a=u=>"allOf"in u&&Object.keys(u).length===1,l=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=l},m0=(t,e,n,r)=>{const i=n,s=t._zod.def;i.type="object",(e.target==="draft-07"||e.target==="draft-2020-12")&&(i.propertyNames=Ne(s.keyType,e,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=Ne(s.valueType,e,{...r,path:[...r.path,"additionalProperties"]})},g0=(t,e,n,r)=>{const i=t._zod.def,s=Ne(i.innerType,e,r),o=e.seen.get(t);e.target==="openapi-3.0"?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},_0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},v0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},y0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},b0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},x0=(t,e,n,r)=>{const i=t._zod.def,s=e.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;Ne(s,e,r);const o=e.seen.get(t);o.ref=s},w0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.readOnly=!0},S0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},k0=C("ZodISODateTime",(t,e)=>{mg.init(t,e),ze.init(t,e)});function T0(t){return k_(k0,t)}const z0=C("ZodISODate",(t,e)=>{gg.init(t,e),ze.init(t,e)});function C0(t){return T_(z0,t)}const O0=C("ZodISOTime",(t,e)=>{_g.init(t,e),ze.init(t,e)});function $0(t){return z_(O0,t)}const E0=C("ZodISODuration",(t,e)=>{vg.init(t,e),ze.init(t,e)});function P0(t){return C_(E0,t)}const Et=C("ZodError",(t,e)=>{jc.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>sm(t,n)},flatten:{value:n=>im(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,So,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,So,2)}},isEmpty:{get(){return t.issues.length===0}}})},{Parent:Error}),A0=Co(Et),I0=Oo(Et),D0=ds(Et),M0=hs(Et),N0=lm(Et),R0=cm(Et),F0=um(Et),Z0=fm(Et),L0=dm(Et),j0=hm(Et),U0=pm(Et),V0=mm(Et),xe=C("ZodType",(t,e)=>(ve.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:vs(t,"input"),output:vs(t,"output")}}),t.toJSONSchema=G_(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.check=(...n)=>t.clone(Qn(e,{checks:[...e.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]})),t.clone=(n,r)=>$n(t,n,r),t.brand=()=>t,t.register=(n,r)=>(n.add(t,r),t),t.parse=(n,r)=>A0(t,n,r,{callee:t.parse}),t.safeParse=(n,r)=>D0(t,n,r),t.parseAsync=async(n,r)=>I0(t,n,r,{callee:t.parseAsync}),t.safeParseAsync=async(n,r)=>M0(t,n,r),t.spa=t.safeParseAsync,t.encode=(n,r)=>N0(t,n,r),t.decode=(n,r)=>R0(t,n,r),t.encodeAsync=async(n,r)=>F0(t,n,r),t.decodeAsync=async(n,r)=>Z0(t,n,r),t.safeEncode=(n,r)=>L0(t,n,r),t.safeDecode=(n,r)=>j0(t,n,r),t.safeEncodeAsync=async(n,r)=>U0(t,n,r),t.safeDecodeAsync=async(n,r)=>V0(t,n,r),t.refine=(n,r)=>t.check(Zv(n,r)),t.superRefine=n=>t.check(Lv(n)),t.overwrite=n=>t.check(zr(n)),t.optional=()=>$u(t),t.nullable=()=>Eu(t),t.nullish=()=>$u(Eu(t)),t.nonoptional=n=>Av(t,n),t.array=()=>Io(t),t.or=n=>Do([t,n]),t.and=n=>wv(t,n),t.transform=n=>Ro(t,Cu(n)),t.default=n=>$v(t,n),t.prefault=n=>Pv(t,n),t.catch=n=>Dv(t,n),t.pipe=n=>Ro(t,n),t.readonly=()=>Rv(t),t.describe=n=>{const r=t.clone();return ci.add(r,{description:n}),r},Object.defineProperty(t,"description",{get(){var n;return(n=ci.get(t))==null?void 0:n.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return ci.get(t);const r=t.clone();return ci.add(r,n[0]),r},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),yu=C("_ZodString",(t,e)=>{$o.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Q_(t,r,i);const n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,t.regex=(...r)=>t.check(N_(...r)),t.includes=(...r)=>t.check(Z_(...r)),t.startsWith=(...r)=>t.check(L_(...r)),t.endsWith=(...r)=>t.check(j_(...r)),t.min=(...r)=>t.check(_s(...r)),t.max=(...r)=>t.check(pu(...r)),t.length=(...r)=>t.check(mu(...r)),t.nonempty=(...r)=>t.check(_s(1,...r)),t.lowercase=r=>t.check(R_(r)),t.uppercase=r=>t.check(F_(r)),t.trim=()=>t.check(V_()),t.normalize=(...r)=>t.check(U_(...r)),t.toLowerCase=()=>t.check(B_()),t.toUpperCase=()=>t.check(W_()),t.slugify=()=>t.check(H_())}),B0=C("ZodString",(t,e)=>{$o.init(t,e),yu.init(t,e),t.email=n=>t.check(r_(W0,n)),t.url=n=>t.check(l_(H0,n)),t.jwt=n=>t.check(S_(av,n)),t.emoji=n=>t.check(c_(J0,n)),t.guid=n=>t.check(uu(bu,n)),t.uuid=n=>t.check(i_(ys,n)),t.uuidv4=n=>t.check(s_(ys,n)),t.uuidv6=n=>t.check(o_(ys,n)),t.uuidv7=n=>t.check(a_(ys,n)),t.nanoid=n=>t.check(u_(K0,n)),t.guid=n=>t.check(uu(bu,n)),t.cuid=n=>t.check(f_(q0,n)),t.cuid2=n=>t.check(d_(Y0,n)),t.ulid=n=>t.check(h_(G0,n)),t.base64=n=>t.check(b_(iv,n)),t.base64url=n=>t.check(x_(sv,n)),t.xid=n=>t.check(p_(X0,n)),t.ksuid=n=>t.check(m_(Q0,n)),t.ipv4=n=>t.check(g_(ev,n)),t.ipv6=n=>t.check(__(tv,n)),t.cidrv4=n=>t.check(v_(nv,n)),t.cidrv6=n=>t.check(y_(rv,n)),t.e164=n=>t.check(w_(ov,n)),t.datetime=n=>t.check(T0(n)),t.date=n=>t.check(C0(n)),t.time=n=>t.check($0(n)),t.duration=n=>t.check(P0(n))});function er(t){return n_(B0,t)}const ze=C("ZodStringFormat",(t,e)=>{we.init(t,e),yu.init(t,e)}),W0=C("ZodEmail",(t,e)=>{og.init(t,e),ze.init(t,e)}),bu=C("ZodGUID",(t,e)=>{ig.init(t,e),ze.init(t,e)}),ys=C("ZodUUID",(t,e)=>{sg.init(t,e),ze.init(t,e)}),H0=C("ZodURL",(t,e)=>{ag.init(t,e),ze.init(t,e)}),J0=C("ZodEmoji",(t,e)=>{lg.init(t,e),ze.init(t,e)}),K0=C("ZodNanoID",(t,e)=>{cg.init(t,e),ze.init(t,e)}),q0=C("ZodCUID",(t,e)=>{ug.init(t,e),ze.init(t,e)}),Y0=C("ZodCUID2",(t,e)=>{fg.init(t,e),ze.init(t,e)}),G0=C("ZodULID",(t,e)=>{dg.init(t,e),ze.init(t,e)}),X0=C("ZodXID",(t,e)=>{hg.init(t,e),ze.init(t,e)}),Q0=C("ZodKSUID",(t,e)=>{pg.init(t,e),ze.init(t,e)}),ev=C("ZodIPv4",(t,e)=>{yg.init(t,e),ze.init(t,e)}),tv=C("ZodIPv6",(t,e)=>{bg.init(t,e),ze.init(t,e)}),nv=C("ZodCIDRv4",(t,e)=>{xg.init(t,e),ze.init(t,e)}),rv=C("ZodCIDRv6",(t,e)=>{wg.init(t,e),ze.init(t,e)}),iv=C("ZodBase64",(t,e)=>{Sg.init(t,e),ze.init(t,e)}),sv=C("ZodBase64URL",(t,e)=>{Tg.init(t,e),ze.init(t,e)}),ov=C("ZodE164",(t,e)=>{zg.init(t,e),ze.init(t,e)}),av=C("ZodJWT",(t,e)=>{Og.init(t,e),ze.init(t,e)}),xu=C("ZodNumber",(t,e)=>{Gc.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>e0(t,r,i),t.gt=(r,i)=>t.check(du(r,i)),t.gte=(r,i)=>t.check(Ao(r,i)),t.min=(r,i)=>t.check(Ao(r,i)),t.lt=(r,i)=>t.check(fu(r,i)),t.lte=(r,i)=>t.check(Po(r,i)),t.max=(r,i)=>t.check(Po(r,i)),t.int=r=>t.check(wu(r)),t.safe=r=>t.check(wu(r)),t.positive=r=>t.check(du(0,r)),t.nonnegative=r=>t.check(Ao(0,r)),t.negative=r=>t.check(fu(0,r)),t.nonpositive=r=>t.check(Po(0,r)),t.multipleOf=(r,i)=>t.check(hu(r,i)),t.step=(r,i)=>t.check(hu(r,i)),t.finite=()=>t;const n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function lv(t){return O_(xu,t)}const cv=C("ZodNumberFormat",(t,e)=>{$g.init(t,e),xu.init(t,e)});function wu(t){return $_(cv,t)}const uv=C("ZodBoolean",(t,e)=>{Eg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>t0(t,n,r)});function ui(t){return E_(uv,t)}const fv=C("ZodUndefined",(t,e)=>{Pg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>r0(t,n)});function Su(t){return P_(fv,t)}const dv=C("ZodNull",(t,e)=>{Ag.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>n0(t,n,r)});function ku(t){return A_(dv,t)}const hv=C("ZodAny",(t,e)=>{Ig.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>s0()});function pv(){return I_(hv)}const mv=C("ZodUnknown",(t,e)=>{Dg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>o0()});function Tu(){return D_(mv)}const gv=C("ZodNever",(t,e)=>{Mg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>i0(t,n,r)});function _v(t){return M_(gv,t)}const vv=C("ZodArray",(t,e)=>{Ng.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>f0(t,n,r,i),t.element=e.element,t.min=(n,r)=>t.check(_s(n,r)),t.nonempty=n=>t.check(_s(1,n)),t.max=(n,r)=>t.check(pu(n,r)),t.length=(n,r)=>t.check(mu(n,r)),t.unwrap=()=>t.element});function Io(t,e){return J_(vv,t,e)}const yv=C("ZodObject",(t,e)=>{Fg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>d0(t,n,r,i),de(t,"shape",()=>e.shape),t.keyof=()=>gt(Object.keys(t._zod.def.shape)),t.catchall=n=>t.clone({...t._zod.def,catchall:n}),t.passthrough=()=>t.clone({...t._zod.def,catchall:Tu()}),t.loose=()=>t.clone({...t._zod.def,catchall:Tu()}),t.strict=()=>t.clone({...t._zod.def,catchall:_v()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>Qp(t,n),t.safeExtend=n=>em(t,n),t.merge=n=>tm(t,n),t.pick=n=>Gp(t,n),t.omit=n=>Xp(t,n),t.partial=(...n)=>nm(Ou,t,n[0]),t.required=(...n)=>rm(Pu,t,n[0])});function Ke(t,e){const n={type:"object",shape:t??{},...B(e)};return new yv(n)}const zu=C("ZodUnion",(t,e)=>{nu.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>h0(t,n,r,i),t.options=e.options});function Do(t,e){return new zu({type:"union",options:t,...B(e)})}const bv=C("ZodDiscriminatedUnion",(t,e)=>{zu.init(t,e),Zg.init(t,e)});function Mo(t,e,n){return new bv({type:"union",options:e,discriminator:t,...B(n)})}const xv=C("ZodIntersection",(t,e)=>{Lg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>p0(t,n,r,i)});function wv(t,e){return new xv({type:"intersection",left:t,right:e})}const Sv=C("ZodRecord",(t,e)=>{jg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>m0(t,n,r,i),t.keyType=e.keyType,t.valueType=e.valueType});function kv(t,e,n){return new Sv({type:"record",keyType:t,valueType:e,...B(n)})}const No=C("ZodEnum",(t,e)=>{Ug.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>a0(t,r,i),t.enum=e.entries,t.options=Object.values(e.entries);const n=new Set(Object.keys(e.entries));t.extract=(r,i)=>{const s={};for(const o of r)if(n.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new No({...e,checks:[],...B(i),entries:s})},t.exclude=(r,i)=>{const s={...e.entries};for(const o of r)if(n.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new No({...e,checks:[],...B(i),entries:s})}});function gt(t,e){const n=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new No({type:"enum",entries:n,...B(e)})}const Tv=C("ZodLiteral",(t,e)=>{Vg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>l0(t,n,r),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function qe(t,e){return new Tv({type:"literal",values:Array.isArray(t)?t:[t],...B(e)})}const zv=C("ZodTransform",(t,e)=>{Bg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>u0(t,n),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Ic(t.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(li(s,n.value,e));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),n.issues.push(li(o))}};const i=e.transform(n.value,n);return i instanceof Promise?i.then(s=>(n.value=s,n)):(n.value=i,n)}});function Cu(t){return new zv({type:"transform",transform:t})}const Ou=C("ZodOptional",(t,e)=>{Wg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>S0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function $u(t){return new Ou({type:"optional",innerType:t})}const Cv=C("ZodNullable",(t,e)=>{Hg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>g0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Eu(t){return new Cv({type:"nullable",innerType:t})}const Ov=C("ZodDefault",(t,e)=>{Jg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>v0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function $v(t,e){return new Ov({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():Zc(e)}})}const Ev=C("ZodPrefault",(t,e)=>{Kg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>y0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Pv(t,e){return new Ev({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():Zc(e)}})}const Pu=C("ZodNonOptional",(t,e)=>{qg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>_0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Av(t,e){return new Pu({type:"nonoptional",innerType:t,...B(e)})}const Iv=C("ZodCatch",(t,e)=>{Yg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>b0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function Dv(t,e){return new Iv({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const Mv=C("ZodPipe",(t,e)=>{Gg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>x0(t,n,r,i),t.in=e.in,t.out=e.out});function Ro(t,e){return new Mv({type:"pipe",in:t,out:e})}const Nv=C("ZodReadonly",(t,e)=>{Xg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>w0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Rv(t){return new Nv({type:"readonly",innerType:t})}const Fv=C("ZodCustom",(t,e)=>{Qg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>c0(t,n)});function Zv(t,e={}){return K_(Fv,t,e)}function Lv(t){return q_(t)}function jv(t,e){return Ro(Cu(t),e)}const bs=t=>{if(!t||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>bs(r));const e={t:"title",s:"subtitle",d:"description",desc:"description",bg:"background",img:"image",fs:"features",tl:"timeline",st:"steps"},n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=e[r]||r,s=t[r];n[i]=bs(s)}return n},Jt=t=>Do([t,Io(t),ku(),Su()]).transform(e=>e==null?[]:Array.isArray(e)?e:[e]),ue=Do([er(),lv(),ku(),Su()]).transform(t=>t==null?"":String(t)),Fo=er().describe("Icon name (e.g. 'star', 'users', 'arrow-right'). Use standard Lucide/FontAwesome names."),Cr=Ke({id:er().optional().describe("Unique ID for the slide. Useful for navigation."),sizing:gt(["viewport","container"]).optional().describe("How the slide fits the screen. Default: 'viewport'."),meta:kv(er(),pv()).optional().describe("Arbitrary metadata for custom behavior.")}),Uv=Cr.extend({type:qe("statement").describe("Use for high-impact titles, covers, or quotes."),title:ue.describe("Main headline. Keep it punchy (3-6 words)."),subtitle:ue.optional().describe("Supporting text or attribution."),tag:ue.optional().describe("Small eyebrow tag above the title.")}),Vv=Ke({title:ue.describe("Feature name."),description:ue.describe("Short benefit description."),icon:Fo.optional().describe("Visual icon for the feature.")}),Bv=Cr.extend({type:qe("features").describe("Use for lists of benefits, stats, or grid items."),title:ue.describe("Section header."),description:ue.optional().describe("Contextual description."),features:Jt(Vv).describe("Array of feature cards.")}),Au=Ke({date:ue.describe("Time marker (Year, Date, or 'Now')."),title:ue.describe("Event title."),description:ue.describe("Event details (1-2 sentences)."),icon:Fo.optional().describe("Optional marker icon.")}),Wv=Cr.extend({type:qe("timeline").describe("Use for history, roadmaps, or chronological steps."),title:ue.describe("Timeline header."),subtitle:ue.optional(),timeline:Jt(Au).describe("Ordered events.")}),Iu=Ke({step:ue.describe("Step number/label (e.g., '01', 'A')."),title:ue.describe("Action title."),description:ue.optional().describe("Action details."),icon:Fo.optional()}),Hv=Cr.extend({type:qe("steps").describe("Use for tutorials, 'how-to' guides, or process flows."),title:ue.describe("Process header."),subtitle:ue.optional(),steps:Jt(Iu).describe("Sequential steps.")}),Jv=Cr.extend({type:qe("half").describe("Use when you have a strong visual + explanations."),imageSide:gt(["left","right"]).default("left").describe("Which side the image goes on."),image:ue.describe("URL to the image."),title:ue.describe("Headline."),tag:ue.optional(),paragraphs:Jt(er()).describe("Array of text blocks/paragraphs."),cta:ue.optional().describe("Call to Action label (button).")}),fi=gt(["none","xs","sm","md","lg","xl","2xl"]).describe("Spacing size token."),pn=gt(["auto","quarter","third","half","two-thirds","three-quarters","full"]).describe("Element size in container."),Kv=gt(["top","center","bottom"]).describe("Vertical alignment."),qv=gt(["left","center","right"]).describe("Horizontal alignment."),Du=gt(["left","center","right"]).describe("Text alignment."),Mu=Ke({type:qe("title").describe("Large heading text."),text:ue.describe("The heading text."),size:gt(["lg","xl","2xl","3xl"]).optional().describe("Heading size. Default: 'xl'."),align:Du.optional().describe("Text alignment. Default: 'left'.")}),Nu=Ke({type:qe("text").describe("Body paragraph text."),text:ue.describe("The paragraph text."),align:Du.optional().describe("Text alignment. Default: 'left'."),muted:ui().optional().describe("Muted/subtle appearance. Default: false.")}),Ru=Ke({type:qe("bullets").describe("Unordered bullet list."),items:Jt(er()).describe("List items.")}),Fu=Ke({type:qe("ordered").describe("Numbered list."),items:Jt(er()).describe("List items.")}),Yv=Ke({type:qe("image").describe("Visual media element."),src:ue.describe("Image URL."),alt:ue.optional().describe("Alt text for accessibility."),fill:ui().optional().describe("Fill container edge-to-edge. Default: true."),fit:gt(["cover","contain"]).optional().describe("Object-fit when fill. Default: 'cover'."),rounded:gt(["none","sm","md","lg","xl","full"]).optional().describe("Border radius.")}),Zu=Ke({type:qe("button").describe("Call-to-action button."),label:ue.describe("Button label text."),action:ue.optional().describe("Action identifier emitted on click."),variant:gt(["primary","secondary","outline","ghost"]).optional().describe("Visual variant. Default: 'primary'."),fullWidth:ui().optional().describe("Full width button. Default: false.")}),Lu=Ke({type:qe("timeline").describe("Embedded timeline with events."),items:Jt(Au).describe("Timeline events."),compact:ui().optional().describe("Compact display mode. Default: false.")}),ju=Ke({type:qe("stepper").describe("Embedded step-by-step process."),items:Jt(Iu).describe("Step items."),compact:ui().optional().describe("Compact display mode. Default: false.")}),Gv=Ke({type:qe("spacer").describe("Adds visual spacing."),size:fi.optional().describe("Size of the space. Default: 'md'.")}),Xv=Mo("type",[Mu,Nu,Ru,Fu,Zu,Lu,ju,Gv]),Qv=Ke({type:qe("content").describe("Groups child elements vertically with alignment control."),elements:Jt(Xv).describe("Child elements."),valign:Kv.optional().describe("Vertical alignment. Default: 'center'."),halign:qv.optional().describe("Horizontal alignment. Default: 'left'."),gap:fi.optional().describe("Gap between children. Default: 'md'."),padding:fi.optional().describe("Internal padding. Default: 'lg'."),size:pn.optional().describe("Size in parent flex container.")}),ey=Mo("type",[Yv.extend({size:pn.optional()}),Qv,Mu.extend({size:pn.optional()}),Nu.extend({size:pn.optional()}),Ru.extend({size:pn.optional()}),Fu.extend({size:pn.optional()}),Zu.extend({size:pn.optional()}),Lu.extend({size:pn.optional()}),ju.extend({size:pn.optional()})]),ty=Cr.extend({type:qe("flex").describe("Flow-based layout. Elements flow in order with semantic sizing."),direction:gt(["horizontal","vertical"]).optional().describe("Main flow direction. Default: 'horizontal'."),gap:fi.optional().describe("Gap between elements. Default: 'none'."),padding:fi.optional().describe("Container padding. Default: 'none'."),elements:Jt(ey).describe("Flex elements in flow order.")}),ny=Mo("type",[Uv,Bv,Wv,Hv,Jv,ty]),ry=Ke({title:ue.describe("Title of the entire presentation."),author:ue.optional(),date:ue.optional()}).passthrough();Ke({meta:ry.describe("Global deck settings."),slides:Io(jv(bs,ny)).describe("Ordered array of slide definitions.")});const di=Symbol("LuminaStore"),iy={loop:!1,navigation:!0,keyboard:!0,touch:!0,debug:!1,theme:"default",ui:{visible:!0,showProgressBar:!0,showSlideCount:!0,showControls:!0},keys:{next:["ArrowRight"," ","Enter"],prev:["ArrowLeft","Backspace"]},animation:{enabled:!0,type:"cascade",durationIn:1,durationOut:.5,stagger:.1,ease:"power3.out"}};function Or(t){if(typeof t=="string")return Bp(t);if(Array.isArray(t))return t.map(Or);if(t&&typeof t=="object"){const e={};for(const n in t)e[n]=Or(t[n]);return e}return t}function Uu(t,e){if(typeof t!="object"||t===null||typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(Or);const n={...t};for(const r in e)e[r]===Object(e[r])?r in t?n[r]=Uu(t[r],e[r]):Object.assign(n,{[r]:Or(e[r])}):Object.assign(n,{[r]:Or(e[r])});return n}function sy(t={}){const e=Ui({deck:null,currentIndex:0,options:{...iy,...t},isReady:!1,actionHistory:[]}),n=()=>!e.deck||e.deck.slides.length===0?null:e.deck.slides[e.currentIndex]||null,r=()=>e.deck?e.options.loop?!0:e.currentIndex<e.deck.slides.length-1:!1,i=()=>e.deck?e.options.loop?!0:e.currentIndex>0:!1,s=()=>!e.deck||e.deck.slides.length<=1?0:e.currentIndex/(e.deck.slides.length-1);function o(h){e.options={...e.options,...h},h.theme&&(h.theme,e.options.theme=h.theme),h.ui&&(e.options.ui={...e.options.ui,...h.ui}),h.keys&&(e.options.keys={...e.options.keys,...h.keys}),h.animation&&(e.options.animation={...e.options.animation,...h.animation})}function a(h){if(!h||!Array.isArray(h.slides)){console.error("[LuminaStore] Invalid deck format");return}const m=bs(h);e.deck=Or(m),e.currentIndex=0,e.isReady=!0,e.actionHistory=[]}function l(h){e.deck&&(e.deck=Uu(e.deck,h))}function u(h){e.actionHistory.push(h),e.actionHistory.length>50&&e.actionHistory.shift()}function c(){var p;if(!r())return;const h=((p=e.deck)==null?void 0:p.slides.length)||0;let m=e.currentIndex;e.options.loop?m=(e.currentIndex+1)%h:m++,m!==e.currentIndex&&(e.currentIndex=m)}function f(){var p;if(!i())return;const h=((p=e.deck)==null?void 0:p.slides.length)||0;let m=e.currentIndex;e.options.loop?m=(e.currentIndex-1+h)%h:m--,m!==e.currentIndex&&(e.currentIndex=m)}function d(h){e.deck&&h>=0&&h<e.deck.slides.length&&e.currentIndex!==h&&(e.currentIndex=h)}return{state:Vi(e),currentSlide:n,hasNext:r,hasPrev:i,progress:s,setOptions:o,loadDeck:a,patchDeck:l,recordAction:u,next:c,prev:f,goto:d}}function oy(){const t=cn(di);if(!t)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:le(()=>t.currentSlide()),index:le(()=>t.state.currentIndex),total:le(()=>{var e;return((e=t.state.deck)==null?void 0:e.slides.length)||0}),next:t.next,prev:t.prev,goto:t.goto,options:t.state.options}}function ay(){const t=cn(di);if(!t)return;let e=0;const n=300,r=i=>{var u,c;const{options:s}=t.state;if(!s.keyboard||!s.navigation)return;const o=Date.now();if(o-e<n)return;const a=((u=s.keys)==null?void 0:u.next)||[],l=((c=s.keys)==null?void 0:c.prev)||[];a.includes(i.key)?(t.next(),e=o):l.includes(i.key)&&(t.prev(),e=o)};kn(()=>{window.addEventListener("keydown",r)}),Jn(()=>{window.removeEventListener("keydown",r)})}class Vu{constructor(){it(this,"handlers",new Map)}on(e,n){this.handlers.has(e)||this.handlers.set(e,new Set),this.handlers.get(e).add(n)}off(e,n){const r=this.handlers.get(e);r&&r.delete(n)}emit(e,n){const r=this.handlers.get(e);r&&r.forEach(i=>{try{i(n)}catch(s){console.error(`[LuminaBus] Error in handler for event "${e}":`,s)}})}clear(){this.handlers.clear()}}const mn=new Vu;function gn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bu(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
42
42
  * GSAP 3.14.2
43
43
  * https://gsap.com
44
44
  *
45
45
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
46
46
  * Subject to the terms at https://gsap.com/standard-license
47
47
  * @author: Jack Doyle, jack@greensock.com
48
- */var mt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Or={duration:.5,overwrite:!1,delay:0},Do,Ze,xe,Et=1e8,de=1/Et,Mo=Math.PI*2,ey=Mo/4,ty=0,Fu=Math.sqrt,ny=Math.cos,ry=Math.sin,Me=function(e){return typeof e=="string"},Oe=function(e){return typeof e=="function"},_n=function(e){return typeof e=="number"},No=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},ot=function(e){return e!==!1},Ro=function(){return typeof window<"u"},vs=function(e){return Oe(e)||Me(e)},Zu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},We=Array.isArray,iy=/random\([^)]+\)/g,sy=/,\s*/g,Lu=/(?:-?\.?\d|\.)+/gi,ju=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Er=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Uu=/[+-]=-?[.\d]+/,oy=/[^,'"\[\]\s]+/gi,ay=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ke,qt,Zo,Lo,gt={},ys={},Bu,Vu=function(e){return(ys=Pr(e,gt))&&ct},jo=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},di=function(e,n){return!n&&console.warn(e)},Hu=function(e,n){return e&&(gt[e]=n)&&ys&&(ys[e]=n)||gt},hi=function(){return 0},ly={suppressEvents:!0,isStart:!0,kill:!1},bs={suppressEvents:!0,kill:!1},cy={suppressEvents:!0},Uo={},$n=[],Bo={},Wu,vt={},Vo={},Ju=30,xs=[],Ho="",Wo=function(e){var n=e[0],r,i;if(Kt(n)||Oe(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=xs.length;i--&&!xs[i].targetTest(n););r=xs[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Sf(e[i],r)))||e.splice(i,1);return e},er=function(e){return e._gsap||Wo(Pt(e))[0]._gsap},Ku=function(e,n,r){return(r=e[n])&&Oe(r)?e[n]():No(r)&&e.getAttribute&&e.getAttribute(n)||r},at=function(e,n){return(e=e.split(",")).forEach(n)||e},$e=function(e){return Math.round(e*1e5)/1e5||0},Te=function(e){return Math.round(e*1e7)/1e7||0},$r=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},uy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},ws=function(){var e=$n.length,n=$n.slice(0),r,i;for(Bo={},$n.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Jo=function(e){return!!(e._initted||e._startAt||e.add)},qu=function(e,n,r,i){$n.length&&!Ze&&ws(),e.render(n,r,!!(Ze&&n<0&&Jo(e))),$n.length&&!Ze&&ws()},Yu=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(oy).length<2?n:Me(e)?e.trim():e},Gu=function(e){return e},yt=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},fy=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Pr=function(e,n){for(var r in n)e[r]=n[r];return e},Xu=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ss=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},pi=function(e){var n=e.parent||ke,r=e.keyframes?fy(We(e.keyframes)):yt;if(ot(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},dy=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Qu=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},ks=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},Pn=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},tr=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},hy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Ko=function(e,n,r,i){return e._startAt&&(Ze?e._startAt.revert(bs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},py=function t(e){return!e||e._ts&&t(e.parent)},ef=function(e){return e._repeat?Ar(e._tTime,e=e.duration()+e._rDelay)*e:0},Ar=function(e,n){var r=Math.floor(e=Te(e/n));return e&&r===e?r-1:r},Ts=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},zs=function(e){return e._end=Te(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Cs=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Te(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),zs(e),r._dirty||tr(r,e)),e},tf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ts(e.rawTime(),n),(!n._dur||mi(0,n.totalDuration(),r)-n._tTime>de)&&n.render(r,!0)),tr(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-de}},Yt=function(e,n,r,i){return n.parent&&Pn(n),n._start=Te((_n(r)?r:r||e!==ke?$t(e,r,n):e._time)+n._delay),n._end=Te(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Qu(e,n,"_first","_last",e._sort?"_start":0),qo(n)||(e._recent=n),i||tf(e,n),e._ts<0&&Cs(e,e._tTime),e},nf=function(e,n){return(gt.ScrollTrigger||jo("scrollTrigger",n))&&gt.ScrollTrigger.create(n,e)},rf=function(e,n,r,i,s){if(ia(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Ze&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Wu!==xt.frame)return $n.push(e),e._lazy=[s,i],1},_y=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},qo=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},my=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&_y(e)&&!(!e._initted&&qo(e))||(e._ts<0||e._dp._ts<0)&&!qo(e))?0:1,a=e._rDelay,l=0,u,c,f;if(a&&e._repeat&&(l=mi(0,e._tDur,n),c=Ar(l,a),e._yoyo&&c&1&&(o=1-o),c!==Ar(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Ze||i||e._zTime===de||!n&&e._zTime){if(!e._initted&&rf(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?de:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;n<0&&Ko(e,n,r,!0),e._onUpdate&&!r&&bt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&bt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&Pn(e,1),!r&&!Ze&&(bt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},gy=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Ir=function(e,n,r,i){var s=e._repeat,o=Te(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Te(o*(s+1)+e._rDelay*s):o,a>0&&!i&&Cs(e,e._tTime=e._tDur*a),e.parent&&zs(e),r||tr(e.parent,e),e},sf=function(e){return e instanceof tt?tr(e):Ir(e,e._dur)},vy={_start:0,endTime:hi,totalDuration:hi},$t=function t(e,n,r){var i=e.labels,s=e._recent||vy,o=e.duration()>=Et?s.endTime(!1):e._dur,a,l,u;return Me(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&r&&(l=l/100*(We(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},_i=function(e,n,r){var i=_n(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=ot(l.vars.inherit)&&l.parent;o.immediateRender=ot(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new Ae(n[0],o,n[s+1])},An=function(e,n){return e||e===0?n(e):n},mi=function(e,n,r){return r<e?e:r>n?n:r},Je=function(e,n){return!Me(e)||!(n=ay.exec(e))?"":n[1]},yy=function(e,n,r){return An(r,function(i){return mi(e,n,i)})},Yo=[].slice,of=function(e,n){return e&&Kt(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==qt},by=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return Me(i)&&!n||of(i,1)?(s=r).push.apply(s,Pt(i)):r.push(i)})||r},Pt=function(e,n,r){return xe&&!n&&xe.selector?xe.selector(e):Me(e)&&!r&&(Zo||!Mr())?Yo.call((n||Lo).querySelectorAll(e),0):We(e)?by(e,r):of(e)?Yo.call(e,0):e?[e]:[]},Go=function(e){return e=Pt(e)[0]||di("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Pt(n,r.querySelectorAll?r:r===e?di("Invalid scope")||Lo.createElement("div"):e)}},af=function(e){return e.sort(function(){return .5-Math.random()})},lf=function(e){if(Oe(e))return e;var n=Kt(e)?e:{each:e},r=nr(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=n.axis,c=i,f=i;return Me(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],f=i[1]),function(d,h,_){var p=(_||n).length,b=o[p],w,k,T,x,y,E,P,D,v;if(!b){if(v=n.grid==="auto"?0:(n.grid||[1,Et])[1],!v){for(P=-Et;P<(P=_[v++].getBoundingClientRect().left)&&v<p;);v<p&&v--}for(b=o[p]=[],w=l?Math.min(v,p)*c-.5:i%v,k=v===Et?0:l?p*f/v-.5:i/v|0,P=0,D=Et,E=0;E<p;E++)T=E%v-w,x=k-(E/v|0),b[E]=y=u?Math.abs(u==="y"?x:T):Fu(T*T+x*x),y>P&&(P=y),y<D&&(D=y);i==="random"&&af(b),b.max=P-D,b.min=D,b.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(v>p?p-1:u?u==="y"?p/v:v:Math.max(v,p/v))||0)*(i==="edges"?-1:1),b.b=p<0?s-p:s,b.u=Je(n.amount||n.each)||0,r=r&&p<0?bf(r):r}return p=(b[d]-b.min)/b.max||0,Te(b.b+(r?r(p):p)*b.v)+b.u}},Xo=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Te(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(_n(r)?0:Je(r))}},cf=function(e,n){var r=We(e),i,s;return!r&&Kt(e)&&(i=r=e.radius||Et,e.values?(e=Pt(e.values),(s=!_n(e[0]))&&(i*=i)):e=Xo(e.increment)),An(n,r?Oe(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=Et,c=0,f=e.length,d,h;f--;)s?(d=e[f].x-a,h=e[f].y-l,d=d*d+h*h):d=Math.abs(e[f]-a),d<u&&(u=d,c=f);return c=!i||u<=i?e[c]:o,s||c===o||_n(o)?c:c+Je(o)}:Xo(e))},uf=function(e,n,r,i){return An(We(e)?!n:r===!0?!!(r=0):!i,function(){return We(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},xy=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},wy=function(e,n){return function(r){return e(parseFloat(r))+(n||Je(r))}},Sy=function(e,n,r){return df(e,n,0,1,r)},ff=function(e,n,r){return An(r,function(i){return e[~~n(i)]})},ky=function t(e,n,r){var i=n-e;return We(e)?ff(e,t(0,e.length),n):An(r,function(s){return(i+(s-e)%i)%i+e})},Ty=function t(e,n,r){var i=n-e,s=i*2;return We(e)?ff(e,t(0,e.length-1),n):An(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},gi=function(e){return e.replace(iy,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(sy);return uf(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},df=function(e,n,r,i,s){var o=n-e,a=i-r;return An(s,function(l){return r+((l-e)/o*a||0)})},zy=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=Me(e),a={},l,u,c,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(We(e)&&!We(n)){for(c=[],f=e.length,d=f-2,u=1;u<f;u++)c.push(t(e[u-1],e[u]));f--,s=function(_){_*=f;var p=Math.min(d,~~_);return c[p](_-p)},r=n}else i||(e=Pr(We(e)?[]:{},e));if(!c){for(l in n)na.call(a,e,l,"get",n[l]);s=function(_){return aa(_,a)||(o?e.p:e)}}}return An(r,s)},hf=function(e,n,r){var i=e.labels,s=Et,o,a,l;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},bt=function(e,n,r){var i=e.vars,s=i[n],o=xe,a=e._ctx,l,u,c;if(s)return l=i[n+"Params"],u=i.callbackScope||e,r&&$n.length&&ws(),a&&(xe=a),c=l?s.apply(u,l):s.call(u),xe=o,c},vi=function(e){return Pn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ze),e.progress()<1&&bt(e,"onInterrupt"),e},Dr,pf=[],_f=function(e){if(e)if(e=!e.name&&e.default||e,Ro()||e.headless){var n=e.name,r=Oe(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:hi,render:aa,add:na,kill:Uy,modifier:jy,rawVars:0},o={targetTest:0,get:0,getSetter:oa,aliases:{},register:0};if(Mr(),e!==i){if(vt[n])return;yt(i,yt(Ss(e,s),o)),Pr(i.prototype,Pr(s,Ss(e,o))),vt[i.prop=n]=i,e.targetTest&&(xs.push(i),Uo[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Hu(n,i),e.register&&e.register(ct,i,lt)}else pf.push(e)},he=255,yi={aqua:[0,he,he],lime:[0,he,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,he],navy:[0,0,128],white:[he,he,he],olive:[128,128,0],yellow:[he,he,0],orange:[he,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[he,0,0],pink:[he,192,203],cyan:[0,he,he],transparent:[he,he,he,0]},Qo=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*he+.5|0},mf=function(e,n,r){var i=e?_n(e)?[e>>16,e>>8&he,e&he]:0:yi.black,s,o,a,l,u,c,f,d,h,_;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),yi[e])i=yi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&he,i&he,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&he,e&he]}else if(e.substr(0,3)==="hsl"){if(i=_=e.match(Lu),!n)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,s=c*2-o,i.length>3&&(i[3]*=1),i[0]=Qo(l+1/3,s,o),i[1]=Qo(l,s,o),i[2]=Qo(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(ju),r&&i.length<4&&(i[3]=1),i}else i=e.match(Lu)||yi.transparent;i=i.map(Number)}return n&&!_&&(s=i[0]/he,o=i[1]/he,a=i[2]/he,f=Math.max(s,o,a),d=Math.min(s,o,a),c=(f+d)/2,f===d?l=u=0:(h=f-d,u=c>.5?h/(2-f-d):h/(f+d),l=f===s?(o-a)/h+(o<a?6:0):f===o?(a-s)/h+2:(s-o)/h+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),r&&i.length<4&&(i[3]=1),i},gf=function(e){var n=[],r=[],i=-1;return e.split(In).forEach(function(s){var o=s.match(Er)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},vf=function(e,n,r){var i="",s=(e+i).match(In),o=n?"hsla(":"rgba(",a=0,l,u,c,f;if(!s)return e;if(s=s.map(function(d){return(d=mf(d,n,1))&&o+(n?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=gf(e),l=r.c,l.join(i)!==c.c.join(i)))for(u=e.replace(In,"1").split(Er),f=u.length-1;a<f;a++)i+=u[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(In),f=u.length-1;a<f;a++)i+=u[a]+s[a];return i+u[f]},In=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in yi)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Cy=/hsl[a]?\(/,yf=function(e){var n=e.join(" "),r;if(In.lastIndex=0,In.test(n))return r=Cy.test(n),e[1]=vf(e[1],r),e[0]=vf(e[0],r,gf(e[1])),!0},bi,xt=function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],l,u,c,f,d,h,_=function p(b){var w=t()-i,k=b===!0,T,x,y,E;if((w>e||w<0)&&(r+=w-n),i+=w,y=i-r,T=y-o,(T>0||k)&&(E=++f.frame,d=y-f.time*1e3,f.time=y=y/1e3,o+=T+(T>=s?4:s-T),x=1),k||(l=u(p)),x)for(h=0;h<a.length;h++)a[h](y,d,E,b)};return f={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(b){return d/(1e3/(b||60))},wake:function(){Bu&&(!Zo&&Ro()&&(qt=Zo=window,Lo=qt.document||{},gt.gsap=ct,(qt.gsapVersions||(qt.gsapVersions=[])).push(ct.version),Vu(ys||qt.GreenSockGlobals||!qt.gsap&&qt||{}),pf.forEach(_f)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(b){return setTimeout(b,o-f.time*1e3+1|0)},bi=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),bi=0,u=hi},lagSmoothing:function(b,w){e=b||1/0,n=Math.min(w||33,e)},fps:function(b){s=1e3/(b||240),o=f.time*1e3+s},add:function(b,w,k){var T=w?function(x,y,E,P){b(x,y,E,P),f.remove(T)}:b;return f.remove(b),a[k?"unshift":"push"](T),Mr(),T},remove:function(b,w){~(w=a.indexOf(b))&&a.splice(w,1)&&h>=w&&h--},_listeners:a},f}(),Mr=function(){return!bi&&xt.wake()},ne={},Oy=/^[\d.\-M][\d.\-,\s]/,Ey=/["']/g,$y=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,u;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),n[i]=isNaN(u)?u.replace(Ey,"").trim():+u,i=l.substr(a+1).trim();return n},Py=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},Ay=function(e){var n=(e+"").split("("),r=ne[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[$y(n[1])]:Py(e).split(",").map(Yu)):ne._CE&&Oy.test(e)?ne._CE("",e):r},bf=function(e){return function(n){return 1-e(1-n)}},xf=function t(e,n){for(var r=e._first,i;r;)r instanceof tt?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},nr=function(e,n){return e&&(Oe(e)?e:ne[e]||Ay(e))||n},rr=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return at(e,function(a){ne[a]=gt[a]=s,ne[o=a.toLowerCase()]=r;for(var l in s)ne[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ne[a+"."+l]=s[l]}),s},wf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},ea=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Mo*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*ry((c-o)*s)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:wf(a);return s=Mo/s,l.config=function(u,c){return t(e,u,c)},l},ta=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:wf(r);return i.config=function(s){return t(e,s)},i};at("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;rr(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),ne.Linear.easeNone=ne.none=ne.Linear.easeIn,rr("Elastic",ea("in"),ea("out"),ea()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};rr("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),rr("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),rr("Circ",function(t){return-(Fu(1-t*t)-1)}),rr("Sine",function(t){return t===1?1:-ny(t*ey)+1}),rr("Back",ta("in"),ta("out"),ta()),ne.SteppedEase=ne.steps=gt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-de;return function(a){return((i*mi(0,o,a)|0)+s)*r}}},Or.ease=ne["quad.out"],at("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Ho+=t+","+t+"Params,"});var Sf=function(e,n){this.id=ty++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Ku,this.set=n?n.getSetter:oa},xi=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Ir(this,+n.duration,1,1),this.data=n.data,xe&&(this._ctx=xe,xe.data.push(this)),bi||xt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Ir(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Mr(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Cs(this,r),!s._dp||s.parent||tf(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Yt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===de||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),qu(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ef(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ef(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Ar(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-de?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Ts(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(mi(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),zs(this),hy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Mr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Te(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Yt(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ot(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ts(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=cy);var i=Ze;return Ze=r,Jo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ze=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,sf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,sf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime($t(this,r),ot(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,ot(i)),this._dur||(this._zTime=-de),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-de)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(o){var a=Oe(r)?r:Gu,l=function(){var c=i.then;i.then=null,s&&s(),Oe(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=c),o(a),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){vi(this)},t}();yt(xi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-de,_prom:0,_ps:!1,_rts:1});var tt=function(t){Ru(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=ot(r.sortChildren),ke&&Yt(r.parent||ke,pn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&nf(pn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return _i(0,arguments,this),this},n.from=function(i,s,o){return _i(1,arguments,this),this},n.fromTo=function(i,s,o,a){return _i(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,pi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ae(i,s,$t(this,o),1),this},n.call=function(i,s,o){return Yt(this,Ae.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,u,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new Ae(i,o,$t(this,l)),this},n.staggerFrom=function(i,s,o,a,l,u,c){return o.runBackwards=1,pi(o).immediateRender=ot(o.immediateRender),this.staggerTo(i,s,o,a,l,u,c)},n.staggerFromTo=function(i,s,o,a,l,u,c,f){return a.startAt=o,pi(a).immediateRender=ot(a.immediateRender),this.staggerTo(i,s,a,l,u,c,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Te(i),f=this._zTime<0!=i<0&&(this._initted||!u),d,h,_,p,b,w,k,T,x,y,E,P;if(this!==ke&&c>l&&i>=0&&(c=l),c!==this._tTime||o||f){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),d=c,x=this._start,T=this._ts,w=!T,f&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,b=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(b*100+i,s,o);if(d=Te(c%b),c===l?(p=this._repeat,d=u):(y=Te(c/b),p=~~y,p&&p===y&&(d=u,p--),d>u&&(d=u)),y=Ar(this._tTime,b),!a&&this._tTime&&y!==p&&this._tTime-y*b-this._dur<=0&&(y=p),E&&p&1&&(d=u-d,P=1),p!==y&&!this._lock){var D=E&&y&1,v=D===(E&&p&1);if(p<y&&(D=!D),a=D?0:c%u?u:c,this._lock=1,this.render(a||(P?0:Te(p*b)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&bt(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1,y=p),a&&a!==this._time||w!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,v&&(this._lock=2,a=D?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!w)return this;xf(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(k=gy(this,Te(a),Te(d)),k&&(c-=d-(d=k._start))),this._tTime=c,this._time=d,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&c&&u&&!s&&!y&&(bt(this,"onStart"),this._tTime!==c))return this;if(d>=a&&i>=0)for(h=this._first;h;){if(_=h._next,(h._act||d>=h._start)&&h._ts&&k!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(d-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(d-h._start)*h._ts,s,o),d!==this._time||!this._ts&&!w){k=0,_&&(c+=this._zTime=-de);break}}h=_}else{h=this._last;for(var S=i<0?i:d;h;){if(_=h._prev,(h._act||S<=h._end)&&h._ts&&k!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(S-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(S-h._start)*h._ts,s,o||Ze&&Jo(h)),d!==this._time||!this._ts&&!w){k=0,_&&(c+=this._zTime=S?-de:de);break}}h=_}}if(k&&!s&&(this.pause(),k.render(d>=a?0:-de)._zTime=d>=a?1:-1,this._ts))return this._start=x,zs(this),this.render(i,s,o);this._onUpdate&&!s&&bt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(x===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Pn(this,1),!s&&!(i<0&&!a)&&(c||a||!l)&&(bt(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(_n(s)||(s=$t(this,s,i)),!(i instanceof xi)){if(We(i))return i.forEach(function(a){return o.add(a,s)}),this;if(Me(i))return this.addLabel(i,s);if(Oe(i))i=Ae.delayedCall(0,i);else return this}return this!==i?Yt(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Et);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Ae?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return Me(i)?this.removeLabel(i):Oe(i)?this.killTweensOf(i):(i.parent===this&&ks(this,i),i===this._recent&&(this._recent=this._last),tr(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Te(xt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=$t(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=Ae.delayedCall(0,s||hi,o);return a.data="isPause",this._hasPause=1,Yt(this,a,$t(this,i))},n.removePause=function(i){var s=this._first;for(i=$t(this,i);s;)s._start===i&&s.data==="isPause"&&Pn(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Dn!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Pt(i),l=this._first,u=_n(s),c;l;)l instanceof Ae?uy(l._targets,a)&&(u?(!Dn||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(c=l.getTweensOf(a,s)).length&&o.push.apply(o,c),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=$t(o,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,d=l.immediateRender,h,_=Ae.to(o,yt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||de,onStart:function(){if(o.pause(),!h){var b=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());_._dur!==b&&Ir(_,b,0,1).render(_._time,!0,!0),h=1}c&&c.apply(_,f||[])}},s));return d?_.render(0):_},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,yt({startAt:{time:$t(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),hf(this,$t(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),hf(this,$t(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+de)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,l=this.labels,u;for(i=Te(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return tr(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),tr(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=Et,u,c,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Yt(o,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(s-=c,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Te(c/o._ts),o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Ir(o,o===ke&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ke._ts&&(qu(ke,Ts(i,ke)),Wu=xt.frame),xt.frame>=Ju){Ju+=mt.autoSleep||120;var s=ke._first;if((!s||!s._ts)&&mt.autoSleep&&xt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||xt.sleep()}}},e}(xi);yt(tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Iy=function(e,n,r,i,s,o,a){var l=new lt(this._pt,e,n,0,1,Ef,null,s),u=0,c=0,f,d,h,_,p,b,w,k;for(l.b=r,l.e=i,r+="",i+="",(w=~i.indexOf("random("))&&(i=gi(i)),o&&(k=[r,i],o(k,e,n),r=k[0],i=k[1]),d=r.match(Fo)||[];f=Fo.exec(i);)_=f[0],p=i.substring(u,f.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),_!==d[c++]&&(b=parseFloat(d[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:b,c:_.charAt(1)==="="?$r(b,_)-b:parseFloat(_)-b,m:h&&h<4?Math.round:0},u=Fo.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=a,(Uu.test(i)||w)&&(l.e=0),this._pt=l,l},na=function(e,n,r,i,s,o,a,l,u,c){Oe(i)&&(i=i(s||0,e,o));var f=e[n],d=r!=="get"?r:Oe(f)?u?e[n.indexOf("set")||!Oe(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():f,h=Oe(f)?u?Fy:Cf:sa,_;if(Me(i)&&(~i.indexOf("random(")&&(i=gi(i)),i.charAt(1)==="="&&(_=$r(d,i)+(Je(d)||0),(_||_===0)&&(i=_))),!c||d!==i||ra)return!isNaN(d*i)&&i!==""?(_=new lt(this._pt,e,n,+d||0,i-(d||0),typeof f=="boolean"?Ly:Of,0,h),u&&(_.fp=u),a&&_.modifier(a,this,e),this._pt=_):(!f&&!(n in e)&&jo(n,i),Iy.call(this,e,n,d,i,h,l||mt.stringFilter,u))},Dy=function(e,n,r,i,s){if(Oe(e)&&(e=wi(e,s,n,r,i)),!Kt(e)||e.style&&e.nodeType||We(e)||Zu(e))return Me(e)?wi(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=wi(e[a],s,n,r,i);return o},kf=function(e,n,r,i,s,o){var a,l,u,c;if(vt[e]&&(a=new vt[e]).init(s,a.rawVars?n[e]:Dy(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=l=new lt(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Dr))for(u=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)u[a._props[c]]=l;return a},Dn,ra,ia=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,d=i.keyframes,h=i.autoRevert,_=e._dur,p=e._startAt,b=e._targets,w=e.parent,k=w&&w.data==="nested"?w.vars.targets:b,T=e._overwrite==="auto"&&!Do,x=e.timeline,y,E,P,D,v,S,N,O,B,Y,se,Q,G;if(x&&(!d||!s)&&(s="none"),e._ease=nr(s,Or.ease),e._yEase=f?bf(nr(f===!0?s:f,Or.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!x&&!!i.runBackwards,!x||d&&!i.stagger){if(O=b[0]?er(b[0]).harness:0,Q=O&&i[O.prop],y=Ss(i,Uo),p&&(p._zTime<0&&p.progress(1),n<0&&c&&a&&!h?p.render(-1,!0):p.revert(c&&_?bs:ly),p._lazy=0),o){if(Pn(e._startAt=Ae.set(b,yt({data:"isStart",overwrite:!1,parent:w,immediateRender:!0,lazy:!p&&ot(l),startAt:null,delay:0,onUpdate:u&&function(){return bt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ze||!a&&!h)&&e._startAt.revert(bs),a&&_&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(c&&_&&!p){if(n&&(a=!1),P=yt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&ot(l),immediateRender:a,stagger:0,parent:w},y),Q&&(P[O.prop]=Q),Pn(e._startAt=Ae.set(b,P)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ze?e._startAt.revert(bs):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,de,de);else if(!n)return}for(e._pt=e._ptCache=0,l=_&&ot(l)||l&&!_,E=0;E<b.length;E++){if(v=b[E],N=v._gsap||Wo(b)[E]._gsap,e._ptLookup[E]=Y={},Bo[N.id]&&$n.length&&ws(),se=k===b?E:k.indexOf(v),O&&(B=new O).init(v,Q||y,e,se,k)!==!1&&(e._pt=D=new lt(e._pt,v,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(te){Y[te]=D}),B.priority&&(S=1)),!O||Q)for(P in y)vt[P]&&(B=kf(P,y,e,se,v,k))?B.priority&&(S=1):Y[P]=D=na.call(e,v,P,"get",y[P],se,k,0,i.stringFilter);e._op&&e._op[E]&&e.kill(v,e._op[E]),T&&e._pt&&(Dn=e,ke.killTweensOf(v,Y,e.globalTime(n)),G=!e.parent,Dn=0),e._pt&&l&&(Bo[N.id]=1)}S&&$f(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!G,d&&n<=0&&x.render(Et,!0,!0)},My=function(e,n,r,i,s,o,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],c,f,d,h;if(!u)for(u=e._ptCache[n]=[],d=e._ptLookup,h=e._targets.length;h--;){if(c=d[h][n],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==n&&c.fp!==n;)c=c._next;if(!c)return ra=1,e.vars[n]="+=0",ia(e,a),ra=0,l?di(n+" not eligible for reset"):1;u.push(c)}for(h=u.length;h--;)f=u[h],c=f._pt||f,c.s=(i||i===0)&&!s?i:c.s+(i||0)+o*c.c,c.c=r-c.s,f.e&&(f.e=$e(r)+Je(f.e)),f.b&&(f.b=c.s+Je(f.b))},Ny=function(e,n){var r=e[0]?er(e[0]).harness:0,i=r&&r.aliases,s,o,a,l;if(!i)return n;s=Pr({},n);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},Ry=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;if(We(n))a=r[e]||(r[e]=[]),n.forEach(function(l,u){return a.push({t:u/(n.length-1)*100,v:l,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},wi=function(e,n,r,i,s){return Oe(e)?e.call(n,r,i,s):Me(e)&&~e.indexOf("random(")?gi(e):e},Tf=Ho+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",zf={};at(Tf+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return zf[t]=1});var Ae=function(t){Ru(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:pi(i))||this;var l=a.vars,u=l.duration,c=l.delay,f=l.immediateRender,d=l.stagger,h=l.overwrite,_=l.keyframes,p=l.defaults,b=l.scrollTrigger,w=l.yoyoEase,k=i.parent||ke,T=(We(r)||Zu(r)?_n(r[0]):"length"in i)?[r]:Pt(r),x,y,E,P,D,v,S,N;if(a._targets=T.length?Wo(T):di("GSAP target "+r+" not found. https://gsap.com",!mt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,_||d||vs(u)||vs(c)){if(i=a.vars,x=a.timeline=new tt({data:"nested",defaults:p||{},targets:k&&k.data==="nested"?k.vars.targets:T}),x.kill(),x.parent=x._dp=pn(a),x._start=0,d||vs(u)||vs(c)){if(P=T.length,S=d&&lf(d),Kt(d))for(D in d)~Tf.indexOf(D)&&(N||(N={}),N[D]=d[D]);for(y=0;y<P;y++)E=Ss(i,zf),E.stagger=0,w&&(E.yoyoEase=w),N&&Pr(E,N),v=T[y],E.duration=+wi(u,pn(a),y,v,T),E.delay=(+wi(c,pn(a),y,v,T)||0)-a._delay,!d&&P===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),x.to(v,E,S?S(y,v,T):0),x._ease=ne.none;x.duration()?u=c=0:a.timeline=0}else if(_){pi(yt(x.vars.defaults,{ease:"none"})),x._ease=nr(_.ease||i.ease||"none");var O=0,B,Y,se;if(We(_))_.forEach(function(Q){return x.to(T,Q,">")}),x.duration();else{E={};for(D in _)D==="ease"||D==="easeEach"||Ry(D,_[D],E,_.easeEach);for(D in E)for(B=E[D].sort(function(Q,G){return Q.t-G.t}),O=0,y=0;y<B.length;y++)Y=B[y],se={ease:Y.e,duration:(Y.t-(y?B[y-1].t:0))/100*u},se[D]=Y.v,x.to(T,se,O),O+=se.duration;x.duration()<u&&x.to({},{duration:u-x.duration()})}}u||a.duration(u=x.duration())}else a.timeline=0;return h===!0&&!Do&&(Dn=pn(a),ke.killTweensOf(T),Dn=0),Yt(k,pn(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!u&&!_&&a._start===Te(k._time)&&ot(f)&&py(pn(a))&&k.data!=="nested")&&(a._tTime=-de,a.render(Math.max(0,-c)||0)),b&&nf(pn(a),b),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,l=this._tDur,u=this._dur,c=i<0,f=i>l-de&&!c?l:i<de?0:i,d,h,_,p,b,w,k,T,x;if(!u)my(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(d=f,T=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+i,s,o);if(d=Te(f%p),f===l?(_=this._repeat,d=u):(b=Te(f/p),_=~~b,_&&_===b?(d=u,_--):d>u&&(d=u)),w=this._yoyo&&_&1,w&&(x=this._yEase,d=u-d),b=Ar(this._tTime,p),d===a&&!o&&this._initted&&_===b)return this._tTime=f,this;_!==b&&(T&&this._yEase&&xf(T,w),this.vars.repeatRefresh&&!w&&!this._lock&&d!==p&&this._initted&&(this._lock=o=1,this.render(Te(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(rf(this,c?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&_!==b))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=k=(x||this._ease)(d/u),this._from&&(this.ratio=k=1-k),!a&&f&&!s&&!b&&(bt(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(k,h.d),h=h._next;T&&T.render(i<0?i:T._dur*T._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&Ko(this,i,s,o),bt(this,"onUpdate")),this._repeat&&_!==b&&this.vars.onRepeat&&!s&&this.parent&&bt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&Ko(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Pn(this,1),!s&&!(c&&!a)&&(f||a||w)&&(bt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,l){bi||xt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||ia(this,u),c=this._ease(u/this._dur),My(this,i,s,o,a,c,u,l)?this.resetTo(i,s,o,a,1):(Cs(this,0),this.parent||Qu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?vi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ze),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Dn&&Dn.vars.overwrite!==!0)._first||vi(this),this.parent&&o!==this.timeline.totalDuration()&&Ir(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Pt(i):a,u=this._ptLookup,c=this._pt,f,d,h,_,p,b,w;if((!s||s==="all")&&dy(a,l))return s==="all"&&(this._pt=0),vi(this);for(f=this._op=this._op||[],s!=="all"&&(Me(s)&&(p={},at(s,function(k){return p[k]=1}),s=p),s=Ny(a,s)),w=a.length;w--;)if(~l.indexOf(a[w])){d=u[w],s==="all"?(f[w]=s,_=d,h={}):(h=f[w]=f[w]||{},_=s);for(p in _)b=d&&d[p],b&&((!("kill"in b.d)||b.d.kill(p)===!0)&&ks(this,b,"_pt"),delete d[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&c&&vi(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return _i(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return _i(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return ke.killTweensOf(i,s,o)},e}(xi);yt(Ae.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),at("staggerTo,staggerFrom,staggerFromTo",function(t){Ae[t]=function(){var e=new tt,n=Yo.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var sa=function(e,n,r){return e[n]=r},Cf=function(e,n,r){return e[n](r)},Fy=function(e,n,r,i){return e[n](i.fp,r)},Zy=function(e,n,r){return e.setAttribute(n,r)},oa=function(e,n){return Oe(e[n])?Cf:No(e[n])&&e.setAttribute?Zy:sa},Of=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Ly=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},Ef=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},aa=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},jy=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},Uy=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?ks(this,n,"_pt"):n.dep||(r=1),n=i;return!r},By=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},$f=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},lt=function(){function t(n,r,i,s,o,a,l,u,c){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||Of,this.d=l||this,this.set=u||sa,this.pr=c||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=By,this.m=r,this.mt=s,this.tween=i},t}();at(Ho+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Uo[t]=1}),gt.TweenMax=gt.TweenLite=Ae,gt.TimelineLite=gt.TimelineMax=tt,ke=new tt({sortChildren:!1,defaults:Or,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),mt.stringFilter=yf;var ir=[],Os={},Vy=[],Pf=0,Hy=0,la=function(e){return(Os[e]||Vy).map(function(n){return n()})},ca=function(){var e=Date.now(),n=[];e-Pf>2&&(la("matchMediaInit"),ir.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,u;for(a in i)o=qt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&n.push(r))}),la("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Pf=e,la("matchMedia"))},Af=function(){function t(n,r){this.selector=r&&Go(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Hy++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Oe(r)&&(s=i,i=r,r=Oe);var o=this,a=function(){var u=xe,c=o.selector,f;return u&&u!==o&&u.data.push(o),s&&(o.selector=Go(s)),xe=o,f=i.apply(o,arguments),Oe(f)&&o._r.push(f),xe=u,o.selector=c,o.isReverted=!1,f};return o.last=a,r===Oe?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=xe;xe=null,r(this),xe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Ae&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var a=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof tt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ae)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=ir.length;o--;)ir[o].id===this.id&&ir.splice(o,1)},e.revert=function(r){this.kill(r||{})},t}(),Wy=function(){function t(n){this.contexts=[],this.scope=n,xe&&xe.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){Kt(r)||(r={matches:r});var o=new Af(0,s||this.scope),a=o.conditions={},l,u,c;xe&&!o.selector&&(o.selector=xe.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=qt.matchMedia(r[u]),l&&(ir.indexOf(o)<0&&ir.push(o),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(ca):l.addEventListener("change",ca)));return c&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),Es={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return _f(i)})},timeline:function(e){return new tt(e)},getTweensOf:function(e,n){return ke.getTweensOf(e,n)},getProperty:function(e,n,r,i){Me(e)&&(e=Pt(e)[0]);var s=er(e||{}).get,o=r?Gu:Yu;return r==="native"&&(r=""),e&&(n?o((vt[n]&&vt[n].get||s)(e,n,r,i)):function(a,l,u){return o((vt[a]&&vt[a].get||s)(e,a,l,u))})},quickSetter:function(e,n,r){if(e=Pt(e),e.length>1){var i=e.map(function(c){return ct.quickSetter(c,n,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var o=vt[n],a=er(e),l=a.harness&&(a.harness.aliases||{})[n]||n,u=o?function(c){var f=new o;Dr._pt=0,f.init(e,r?c+r:c,Dr,0,[e]),f.render(1,f),Dr._pt&&aa(1,Dr)}:a.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,a,1)}},quickTo:function(e,n,r){var i,s=ct.to(e,yt((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,u,c){return s.resetTo(n,l,u,c)};return o.tween=s,o},isTweening:function(e){return ke.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=nr(e.ease,Or.ease)),Xu(Or,e||{})},config:function(e){return Xu(mt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!vt[a]&&!gt[a]&&di(n+" effect requires "+a+" plugin.")}),Vo[n]=function(a,l,u){return r(Pt(a),yt(l||{},s),u)},o&&(tt.prototype[n]=function(a,l,u){return this.add(Vo[n](a,Kt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,n){ne[e]=nr(n)},parseEase:function(e,n){return arguments.length?nr(e,n):ne},getById:function(e){return ke.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new tt(e),i,s;for(r.smoothChildTiming=ot(e.smoothChildTiming),ke.remove(r),r._dp=0,r._time=r._tTime=ke._time,i=ke._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Ae&&i.vars.onComplete===i._targets[0]))&&Yt(r,i,i._start-i._delay),i=s;return Yt(ke,r,0),r},context:function(e,n){return e?new Af(e,n):xe},matchMedia:function(e){return new Wy(e)},matchMediaRefresh:function(){return ir.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||ca()},addEventListener:function(e,n){var r=Os[e]||(Os[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Os[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:ky,wrapYoyo:Ty,distribute:lf,random:uf,snap:cf,normalize:Sy,getUnit:Je,clamp:yy,splitColor:mf,toArray:Pt,selector:Go,mapRange:df,pipe:xy,unitize:wy,interpolate:zy,shuffle:af},install:Vu,effects:Vo,ticker:xt,updateRoot:tt.updateRoot,plugins:vt,globalTimeline:ke,core:{PropTween:lt,globals:Hu,Tween:Ae,Timeline:tt,Animation:xi,getCache:er,_removeLinkedListItem:ks,reverting:function(){return Ze},context:function(e){return e&&xe&&(xe.data.push(e),e._ctx=xe),xe},suppressOverwrites:function(e){return Do=e}}};at("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Es[t]=Ae[t]}),xt.add(tt.updateRoot),Dr=Es.to({},{duration:0});var Jy=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Ky=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=Jy(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},ua=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(Me(s)&&(l={},at(s,function(c){return l[c]=1}),s=l),n){l={};for(u in s)l[u]=n(s[u]);s=l}Ky(a,s)}}}},ct=Es.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)Ze?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},ua("roundProps",Xo),ua("modifiers"),ua("snap",cf))||Es;Ae.version=tt.version=ct.version="3.14.2",Bu=1,Ro()&&Mr(),ne.Power0,ne.Power1,ne.Power2,ne.Power3,ne.Power4,ne.Linear,ne.Quad,ne.Cubic,ne.Quart,ne.Quint,ne.Strong,ne.Elastic,ne.Back,ne.SteppedEase,ne.Bounce,ne.Sine,ne.Expo,ne.Circ;/*!
48
+ */var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},$r={duration:.5,overwrite:!1,delay:0},Zo,Ue,Se,Pt=1e8,he=1/Pt,Lo=Math.PI*2,ly=Lo/4,cy=0,Wu=Math.sqrt,uy=Math.cos,fy=Math.sin,Fe=function(e){return typeof e=="string"},Pe=function(e){return typeof e=="function"},_n=function(e){return typeof e=="number"},jo=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},at=function(e){return e!==!1},Uo=function(){return typeof window<"u"},xs=function(e){return Pe(e)||Fe(e)},Hu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ye=Array.isArray,dy=/random\([^)]+\)/g,hy=/,\s*/g,Ju=/(?:-?\.?\d|\.)+/gi,Ku=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Er=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Vo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qu=/[+-]=-?[.\d]+/,py=/[^,'"\[\]\s]+/gi,my=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ce,qt,Bo,Wo,vt={},ws={},Yu,Gu=function(e){return(ws=Ar(e,vt))&&ut},Ho=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},hi=function(e,n){return!n&&console.warn(e)},Xu=function(e,n){return e&&(vt[e]=n)&&ws&&(ws[e]=n)||vt},pi=function(){return 0},gy={suppressEvents:!0,isStart:!0,kill:!1},Ss={suppressEvents:!0,kill:!1},_y={suppressEvents:!0},Jo={},Pn=[],Ko={},Qu,yt={},qo={},ef=30,ks=[],Yo="",Go=function(e){var n=e[0],r,i;if(Kt(n)||Pe(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=ks.length;i--&&!ks[i].targetTest(n););r=ks[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Ef(e[i],r)))||e.splice(i,1);return e},tr=function(e){return e._gsap||Go(It(e))[0]._gsap},tf=function(e,n,r){return(r=e[n])&&Pe(r)?e[n]():jo(r)&&e.getAttribute&&e.getAttribute(n)||r},lt=function(e,n){return(e=e.split(",")).forEach(n)||e},De=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},Pr=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},vy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},Ts=function(){var e=Pn.length,n=Pn.slice(0),r,i;for(Ko={},Pn.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Xo=function(e){return!!(e._initted||e._startAt||e.add)},nf=function(e,n,r,i){Pn.length&&!Ue&&Ts(),e.render(n,r,!!(Ue&&n<0&&Xo(e))),Pn.length&&!Ue&&Ts()},rf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(py).length<2?n:Fe(e)?e.trim():e},sf=function(e){return e},bt=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},yy=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Ar=function(e,n){for(var r in n)e[r]=n[r];return e},of=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},zs=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},mi=function(e){var n=e.parent||Ce,r=e.keyframes?yy(Ye(e.keyframes)):bt;if(at(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},by=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},af=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},Cs=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},An=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},nr=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},xy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Qo=function(e,n,r,i){return e._startAt&&(Ue?e._startAt.revert(Ss):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},wy=function t(e){return!e||e._ts&&t(e.parent)},lf=function(e){return e._repeat?Ir(e._tTime,e=e.duration()+e._rDelay)*e:0},Ir=function(e,n){var r=Math.floor(e=Oe(e/n));return e&&r===e?r-1:r},Os=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},$s=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||he)||0))},Es=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Oe(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),$s(e),r._dirty||nr(r,e)),e},cf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Os(e.rawTime(),n),(!n._dur||_i(0,n.totalDuration(),r)-n._tTime>he)&&n.render(r,!0)),nr(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-he}},Yt=function(e,n,r,i){return n.parent&&An(n),n._start=Oe((_n(r)?r:r||e!==Ce?At(e,r,n):e._time)+n._delay),n._end=Oe(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),af(e,n,"_first","_last",e._sort?"_start":0),ea(n)||(e._recent=n),i||cf(e,n),e._ts<0&&Es(e,e._tTime),e},uf=function(e,n){return(vt.ScrollTrigger||Ho("scrollTrigger",n))&&vt.ScrollTrigger.create(n,e)},ff=function(e,n,r,i,s){if(ca(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Qu!==wt.frame)return Pn.push(e),e._lazy=[s,i],1},Sy=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},ea=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},ky=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&Sy(e)&&!(!e._initted&&ea(e))||(e._ts<0||e._dp._ts<0)&&!ea(e))?0:1,a=e._rDelay,l=0,u,c,f;if(a&&e._repeat&&(l=_i(0,e._tDur,n),c=Ir(l,a),e._yoyo&&c&1&&(o=1-o),c!==Ir(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Ue||i||e._zTime===he||!n&&e._zTime){if(!e._initted&&ff(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?he:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;n<0&&Qo(e,n,r,!0),e._onUpdate&&!r&&xt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&xt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&An(e,1),!r&&!Ue&&(xt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},Ty=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Dr=function(e,n,r,i){var s=e._repeat,o=Oe(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Oe(o*(s+1)+e._rDelay*s):o,a>0&&!i&&Es(e,e._tTime=e._tDur*a),e.parent&&$s(e),r||nr(e.parent,e),e},df=function(e){return e instanceof rt?nr(e):Dr(e,e._dur)},zy={_start:0,endTime:pi,totalDuration:pi},At=function t(e,n,r){var i=e.labels,s=e._recent||zy,o=e.duration()>=Pt?s.endTime(!1):e._dur,a,l,u;return Fe(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&r&&(l=l/100*(Ye(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},gi=function(e,n,r){var i=_n(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=at(l.vars.inherit)&&l.parent;o.immediateRender=at(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new Me(n[0],o,n[s+1])},In=function(e,n){return e||e===0?n(e):n},_i=function(e,n,r){return r<e?e:r>n?n:r},Ge=function(e,n){return!Fe(e)||!(n=my.exec(e))?"":n[1]},Cy=function(e,n,r){return In(r,function(i){return _i(e,n,i)})},ta=[].slice,hf=function(e,n){return e&&Kt(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==qt},Oy=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return Fe(i)&&!n||hf(i,1)?(s=r).push.apply(s,It(i)):r.push(i)})||r},It=function(e,n,r){return Se&&!n&&Se.selector?Se.selector(e):Fe(e)&&!r&&(Bo||!Nr())?ta.call((n||Wo).querySelectorAll(e),0):Ye(e)?Oy(e,r):hf(e)?ta.call(e,0):e?[e]:[]},na=function(e){return e=It(e)[0]||hi("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return It(n,r.querySelectorAll?r:r===e?hi("Invalid scope")||Wo.createElement("div"):e)}},pf=function(e){return e.sort(function(){return .5-Math.random()})},mf=function(e){if(Pe(e))return e;var n=Kt(e)?e:{each:e},r=rr(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=n.axis,c=i,f=i;return Fe(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],f=i[1]),function(d,h,m){var p=(m||n).length,y=o[p],x,k,z,b,S,E,w,A,v;if(!y){if(v=n.grid==="auto"?0:(n.grid||[1,Pt])[1],!v){for(w=-Pt;w<(w=m[v++].getBoundingClientRect().left)&&v<p;);v<p&&v--}for(y=o[p]=[],x=l?Math.min(v,p)*c-.5:i%v,k=v===Pt?0:l?p*f/v-.5:i/v|0,w=0,A=Pt,E=0;E<p;E++)z=E%v-x,b=k-(E/v|0),y[E]=S=u?Math.abs(u==="y"?b:z):Wu(z*z+b*b),S>w&&(w=S),S<A&&(A=S);i==="random"&&pf(y),y.max=w-A,y.min=A,y.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(v>p?p-1:u?u==="y"?p/v:v:Math.max(v,p/v))||0)*(i==="edges"?-1:1),y.b=p<0?s-p:s,y.u=Ge(n.amount||n.each)||0,r=r&&p<0?Cf(r):r}return p=(y[d]-y.min)/y.max||0,Oe(y.b+(r?r(p):p)*y.v)+y.u}},ra=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Oe(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(_n(r)?0:Ge(r))}},gf=function(e,n){var r=Ye(e),i,s;return!r&&Kt(e)&&(i=r=e.radius||Pt,e.values?(e=It(e.values),(s=!_n(e[0]))&&(i*=i)):e=ra(e.increment)),In(n,r?Pe(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=Pt,c=0,f=e.length,d,h;f--;)s?(d=e[f].x-a,h=e[f].y-l,d=d*d+h*h):d=Math.abs(e[f]-a),d<u&&(u=d,c=f);return c=!i||u<=i?e[c]:o,s||c===o||_n(o)?c:c+Ge(o)}:ra(e))},_f=function(e,n,r,i){return In(Ye(e)?!n:r===!0?!!(r=0):!i,function(){return Ye(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},$y=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},Ey=function(e,n){return function(r){return e(parseFloat(r))+(n||Ge(r))}},Py=function(e,n,r){return yf(e,n,0,1,r)},vf=function(e,n,r){return In(r,function(i){return e[~~n(i)]})},Ay=function t(e,n,r){var i=n-e;return Ye(e)?vf(e,t(0,e.length),n):In(r,function(s){return(i+(s-e)%i)%i+e})},Iy=function t(e,n,r){var i=n-e,s=i*2;return Ye(e)?vf(e,t(0,e.length-1),n):In(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},vi=function(e){return e.replace(dy,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(hy);return _f(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},yf=function(e,n,r,i,s){var o=n-e,a=i-r;return In(s,function(l){return r+((l-e)/o*a||0)})},Dy=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=Fe(e),a={},l,u,c,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(Ye(e)&&!Ye(n)){for(c=[],f=e.length,d=f-2,u=1;u<f;u++)c.push(t(e[u-1],e[u]));f--,s=function(m){m*=f;var p=Math.min(d,~~m);return c[p](m-p)},r=n}else i||(e=Ar(Ye(e)?[]:{},e));if(!c){for(l in n)aa.call(a,e,l,"get",n[l]);s=function(m){return da(m,a)||(o?e.p:e)}}}return In(r,s)},bf=function(e,n,r){var i=e.labels,s=Pt,o,a,l;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},xt=function(e,n,r){var i=e.vars,s=i[n],o=Se,a=e._ctx,l,u,c;if(s)return l=i[n+"Params"],u=i.callbackScope||e,r&&Pn.length&&Ts(),a&&(Se=a),c=l?s.apply(u,l):s.call(u),Se=o,c},yi=function(e){return An(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&xt(e,"onInterrupt"),e},Mr,xf=[],wf=function(e){if(e)if(e=!e.name&&e.default||e,Uo()||e.headless){var n=e.name,r=Pe(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:pi,render:da,add:aa,kill:Yy,modifier:qy,rawVars:0},o={targetTest:0,get:0,getSetter:fa,aliases:{},register:0};if(Nr(),e!==i){if(yt[n])return;bt(i,bt(zs(e,s),o)),Ar(i.prototype,Ar(s,zs(e,o))),yt[i.prop=n]=i,e.targetTest&&(ks.push(i),Jo[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Xu(n,i),e.register&&e.register(ut,i,ct)}else xf.push(e)},pe=255,bi={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},ia=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*pe+.5|0},Sf=function(e,n,r){var i=e?_n(e)?[e>>16,e>>8&pe,e&pe]:0:bi.black,s,o,a,l,u,c,f,d,h,m;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),bi[e])i=bi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&pe,i&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(i=m=e.match(Ju),!n)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,s=c*2-o,i.length>3&&(i[3]*=1),i[0]=ia(l+1/3,s,o),i[1]=ia(l,s,o),i[2]=ia(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Ku),r&&i.length<4&&(i[3]=1),i}else i=e.match(Ju)||bi.transparent;i=i.map(Number)}return n&&!m&&(s=i[0]/pe,o=i[1]/pe,a=i[2]/pe,f=Math.max(s,o,a),d=Math.min(s,o,a),c=(f+d)/2,f===d?l=u=0:(h=f-d,u=c>.5?h/(2-f-d):h/(f+d),l=f===s?(o-a)/h+(o<a?6:0):f===o?(a-s)/h+2:(s-o)/h+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),r&&i.length<4&&(i[3]=1),i},kf=function(e){var n=[],r=[],i=-1;return e.split(Dn).forEach(function(s){var o=s.match(Er)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},Tf=function(e,n,r){var i="",s=(e+i).match(Dn),o=n?"hsla(":"rgba(",a=0,l,u,c,f;if(!s)return e;if(s=s.map(function(d){return(d=Sf(d,n,1))&&o+(n?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=kf(e),l=r.c,l.join(i)!==c.c.join(i)))for(u=e.replace(Dn,"1").split(Er),f=u.length-1;a<f;a++)i+=u[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(Dn),f=u.length-1;a<f;a++)i+=u[a]+s[a];return i+u[f]},Dn=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in bi)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),My=/hsl[a]?\(/,zf=function(e){var n=e.join(" "),r;if(Dn.lastIndex=0,Dn.test(n))return r=My.test(n),e[1]=Tf(e[1],r),e[0]=Tf(e[0],r,kf(e[1])),!0},xi,wt=function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],l,u,c,f,d,h,m=function p(y){var x=t()-i,k=y===!0,z,b,S,E;if((x>e||x<0)&&(r+=x-n),i+=x,S=i-r,z=S-o,(z>0||k)&&(E=++f.frame,d=S-f.time*1e3,f.time=S=S/1e3,o+=z+(z>=s?4:s-z),b=1),k||(l=u(p)),b)for(h=0;h<a.length;h++)a[h](S,d,E,y)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(y){return d/(1e3/(y||60))},wake:function(){Yu&&(!Bo&&Uo()&&(qt=Bo=window,Wo=qt.document||{},vt.gsap=ut,(qt.gsapVersions||(qt.gsapVersions=[])).push(ut.version),Gu(ws||qt.GreenSockGlobals||!qt.gsap&&qt||{}),xf.forEach(wf)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(y){return setTimeout(y,o-f.time*1e3+1|0)},xi=1,m(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),xi=0,u=pi},lagSmoothing:function(y,x){e=y||1/0,n=Math.min(x||33,e)},fps:function(y){s=1e3/(y||240),o=f.time*1e3+s},add:function(y,x,k){var z=x?function(b,S,E,w){y(b,S,E,w),f.remove(z)}:y;return f.remove(y),a[k?"unshift":"push"](z),Nr(),z},remove:function(y,x){~(x=a.indexOf(y))&&a.splice(x,1)&&h>=x&&h--},_listeners:a},f}(),Nr=function(){return!xi&&wt.wake()},re={},Ny=/^[\d.\-M][\d.\-,\s]/,Ry=/["']/g,Fy=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,u;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),n[i]=isNaN(u)?u.replace(Ry,"").trim():+u,i=l.substr(a+1).trim();return n},Zy=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},Ly=function(e){var n=(e+"").split("("),r=re[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Fy(n[1])]:Zy(e).split(",").map(rf)):re._CE&&Ny.test(e)?re._CE("",e):r},Cf=function(e){return function(n){return 1-e(1-n)}},Of=function t(e,n){for(var r=e._first,i;r;)r instanceof rt?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},rr=function(e,n){return e&&(Pe(e)?e:re[e]||Ly(e))||n},ir=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return lt(e,function(a){re[a]=vt[a]=s,re[o=a.toLowerCase()]=r;for(var l in s)re[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=re[a+"."+l]=s[l]}),s},$f=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},sa=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Lo*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*fy((c-o)*s)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:$f(a);return s=Lo/s,l.config=function(u,c){return t(e,u,c)},l},oa=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:$f(r);return i.config=function(s){return t(e,s)},i};lt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ir(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),re.Linear.easeNone=re.none=re.Linear.easeIn,ir("Elastic",sa("in"),sa("out"),sa()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};ir("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),ir("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),ir("Circ",function(t){return-(Wu(1-t*t)-1)}),ir("Sine",function(t){return t===1?1:-uy(t*ly)+1}),ir("Back",oa("in"),oa("out"),oa()),re.SteppedEase=re.steps=vt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-he;return function(a){return((i*_i(0,o,a)|0)+s)*r}}},$r.ease=re["quad.out"],lt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Yo+=t+","+t+"Params,"});var Ef=function(e,n){this.id=cy++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:tf,this.set=n?n.getSetter:fa},wi=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Dr(this,+n.duration,1,1),this.data=n.data,Se&&(this._ctx=Se,Se.data.push(this)),xi||wt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Dr(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Nr(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Es(this,r),!s._dp||s.parent||cf(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Yt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===he||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),nf(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+lf(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+lf(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Ir(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-he?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Os(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-he?0:this._rts,this.totalTime(_i(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),$s(this),xy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Nr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==he&&(this._tTime-=he)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Oe(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Yt(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(at(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Os(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=_y);var i=Ue;return Ue=r,Xo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ue=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,df(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,df(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(At(this,r),at(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,at(i)),this._dur||(this._zTime=-he),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-he:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-he,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-he)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(o){var a=Pe(r)?r:sf,l=function(){var c=i.then;i.then=null,s&&s(),Pe(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=c),o(a),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){yi(this)},t}();bt(wi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-he,_prom:0,_ps:!1,_rts:1});var rt=function(t){Bu(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=at(r.sortChildren),Ce&&Yt(r.parent||Ce,gn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&uf(gn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return gi(0,arguments,this),this},n.from=function(i,s,o){return gi(1,arguments,this),this},n.fromTo=function(i,s,o,a){return gi(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,mi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Me(i,s,At(this,o),1),this},n.call=function(i,s,o){return Yt(this,Me.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,u,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new Me(i,o,At(this,l)),this},n.staggerFrom=function(i,s,o,a,l,u,c){return o.runBackwards=1,mi(o).immediateRender=at(o.immediateRender),this.staggerTo(i,s,o,a,l,u,c)},n.staggerFromTo=function(i,s,o,a,l,u,c,f){return a.startAt=o,mi(a).immediateRender=at(a.immediateRender),this.staggerTo(i,s,a,l,u,c,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Oe(i),f=this._zTime<0!=i<0&&(this._initted||!u),d,h,m,p,y,x,k,z,b,S,E,w;if(this!==Ce&&c>l&&i>=0&&(c=l),c!==this._tTime||o||f){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),d=c,b=this._start,z=this._ts,x=!z,f&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,s,o);if(d=Oe(c%y),c===l?(p=this._repeat,d=u):(S=Oe(c/y),p=~~S,p&&p===S&&(d=u,p--),d>u&&(d=u)),S=Ir(this._tTime,y),!a&&this._tTime&&S!==p&&this._tTime-S*y-this._dur<=0&&(S=p),E&&p&1&&(d=u-d,w=1),p!==S&&!this._lock){var A=E&&S&1,v=A===(E&&p&1);if(p<S&&(A=!A),a=A?0:c%u?u:c,this._lock=1,this.render(a||(w?0:Oe(p*y)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&xt(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1,S=p),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,v&&(this._lock=2,a=A?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;Of(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(k=Ty(this,Oe(a),Oe(d)),k&&(c-=d-(d=k._start))),this._tTime=c,this._time=d,this._act=!z,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&c&&u&&!s&&!S&&(xt(this,"onStart"),this._tTime!==c))return this;if(d>=a&&i>=0)for(h=this._first;h;){if(m=h._next,(h._act||d>=h._start)&&h._ts&&k!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(d-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(d-h._start)*h._ts,s,o),d!==this._time||!this._ts&&!x){k=0,m&&(c+=this._zTime=-he);break}}h=m}else{h=this._last;for(var F=i<0?i:d;h;){if(m=h._prev,(h._act||F<=h._end)&&h._ts&&k!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(F-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(F-h._start)*h._ts,s,o||Ue&&Xo(h)),d!==this._time||!this._ts&&!x){k=0,m&&(c+=this._zTime=F?-he:he);break}}h=m}}if(k&&!s&&(this.pause(),k.render(d>=a?0:-he)._zTime=d>=a?1:-1,this._ts))return this._start=b,$s(this),this.render(i,s,o);this._onUpdate&&!s&&xt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(b===this._start||Math.abs(z)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&An(this,1),!s&&!(i<0&&!a)&&(c||a||!l)&&(xt(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(_n(s)||(s=At(this,s,i)),!(i instanceof wi)){if(Ye(i))return i.forEach(function(a){return o.add(a,s)}),this;if(Fe(i))return this.addLabel(i,s);if(Pe(i))i=Me.delayedCall(0,i);else return this}return this!==i?Yt(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Pt);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Me?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return Fe(i)?this.removeLabel(i):Pe(i)?this.killTweensOf(i):(i.parent===this&&Cs(this,i),i===this._recent&&(this._recent=this._last),nr(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(wt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=At(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=Me.delayedCall(0,s||pi,o);return a.data="isPause",this._hasPause=1,Yt(this,a,At(this,i))},n.removePause=function(i){var s=this._first;for(i=At(this,i);s;)s._start===i&&s.data==="isPause"&&An(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Mn!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=It(i),l=this._first,u=_n(s),c;l;)l instanceof Me?vy(l._targets,a)&&(u?(!Mn||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(c=l.getTweensOf(a,s)).length&&o.push.apply(o,c),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=At(o,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,d=l.immediateRender,h,m=Me.to(o,bt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||he,onStart:function(){if(o.pause(),!h){var y=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());m._dur!==y&&Dr(m,y,0,1).render(m._time,!0,!0),h=1}c&&c.apply(m,f||[])}},s));return d?m.render(0):m},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,bt({startAt:{time:At(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),bf(this,At(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),bf(this,At(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+he)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,l=this.labels,u;for(i=Oe(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return nr(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),nr(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=Pt,u,c,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Yt(o,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(s-=c,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Oe(c/o._ts),o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Dr(o,o===Ce&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(Ce._ts&&(nf(Ce,Os(i,Ce)),Qu=wt.frame),wt.frame>=ef){ef+=_t.autoSleep||120;var s=Ce._first;if((!s||!s._ts)&&_t.autoSleep&&wt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||wt.sleep()}}},e}(wi);bt(rt.prototype,{_lock:0,_hasPause:0,_forcing:0});var jy=function(e,n,r,i,s,o,a){var l=new ct(this._pt,e,n,0,1,Nf,null,s),u=0,c=0,f,d,h,m,p,y,x,k;for(l.b=r,l.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=vi(i)),o&&(k=[r,i],o(k,e,n),r=k[0],i=k[1]),d=r.match(Vo)||[];f=Vo.exec(i);)m=f[0],p=i.substring(u,f.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),m!==d[c++]&&(y=parseFloat(d[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:y,c:m.charAt(1)==="="?Pr(y,m)-y:parseFloat(m)-y,m:h&&h<4?Math.round:0},u=Vo.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=a,(qu.test(i)||x)&&(l.e=0),this._pt=l,l},aa=function(e,n,r,i,s,o,a,l,u,c){Pe(i)&&(i=i(s||0,e,o));var f=e[n],d=r!=="get"?r:Pe(f)?u?e[n.indexOf("set")||!Pe(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():f,h=Pe(f)?u?Hy:Df:ua,m;if(Fe(i)&&(~i.indexOf("random(")&&(i=vi(i)),i.charAt(1)==="="&&(m=Pr(d,i)+(Ge(d)||0),(m||m===0)&&(i=m))),!c||d!==i||la)return!isNaN(d*i)&&i!==""?(m=new ct(this._pt,e,n,+d||0,i-(d||0),typeof f=="boolean"?Ky:Mf,0,h),u&&(m.fp=u),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(n in e)&&Ho(n,i),jy.call(this,e,n,d,i,h,l||_t.stringFilter,u))},Uy=function(e,n,r,i,s){if(Pe(e)&&(e=Si(e,s,n,r,i)),!Kt(e)||e.style&&e.nodeType||Ye(e)||Hu(e))return Fe(e)?Si(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=Si(e[a],s,n,r,i);return o},Pf=function(e,n,r,i,s,o){var a,l,u,c;if(yt[e]&&(a=new yt[e]).init(s,a.rawVars?n[e]:Uy(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=l=new ct(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Mr))for(u=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)u[a._props[c]]=l;return a},Mn,la,ca=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,d=i.keyframes,h=i.autoRevert,m=e._dur,p=e._startAt,y=e._targets,x=e.parent,k=x&&x.data==="nested"?x.vars.targets:y,z=e._overwrite==="auto"&&!Zo,b=e.timeline,S,E,w,A,v,F,P,T,I,K,ne,Q,ee;if(b&&(!d||!s)&&(s="none"),e._ease=rr(s,$r.ease),e._yEase=f?Cf(rr(f===!0?s:f,$r.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!b&&!!i.runBackwards,!b||d&&!i.stagger){if(T=y[0]?tr(y[0]).harness:0,Q=T&&i[T.prop],S=zs(i,Jo),p&&(p._zTime<0&&p.progress(1),n<0&&c&&a&&!h?p.render(-1,!0):p.revert(c&&m?Ss:gy),p._lazy=0),o){if(An(e._startAt=Me.set(y,bt({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&at(l),startAt:null,delay:0,onUpdate:u&&function(){return xt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue||!a&&!h)&&e._startAt.revert(Ss),a&&m&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(c&&m&&!p){if(n&&(a=!1),w=bt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&at(l),immediateRender:a,stagger:0,parent:x},S),Q&&(w[T.prop]=Q),An(e._startAt=Me.set(y,w)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue?e._startAt.revert(Ss):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,he,he);else if(!n)return}for(e._pt=e._ptCache=0,l=m&&at(l)||l&&!m,E=0;E<y.length;E++){if(v=y[E],P=v._gsap||Go(y)[E]._gsap,e._ptLookup[E]=K={},Ko[P.id]&&Pn.length&&Ts(),ne=k===y?E:k.indexOf(v),T&&(I=new T).init(v,Q||S,e,ne,k)!==!1&&(e._pt=A=new ct(e._pt,v,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(te){K[te]=A}),I.priority&&(F=1)),!T||Q)for(w in S)yt[w]&&(I=Pf(w,S,e,ne,v,k))?I.priority&&(F=1):K[w]=A=aa.call(e,v,w,"get",S[w],ne,k,0,i.stringFilter);e._op&&e._op[E]&&e.kill(v,e._op[E]),z&&e._pt&&(Mn=e,Ce.killTweensOf(v,K,e.globalTime(n)),ee=!e.parent,Mn=0),e._pt&&l&&(Ko[P.id]=1)}F&&Rf(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!ee,d&&n<=0&&b.render(Pt,!0,!0)},Vy=function(e,n,r,i,s,o,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],c,f,d,h;if(!u)for(u=e._ptCache[n]=[],d=e._ptLookup,h=e._targets.length;h--;){if(c=d[h][n],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==n&&c.fp!==n;)c=c._next;if(!c)return la=1,e.vars[n]="+=0",ca(e,a),la=0,l?hi(n+" not eligible for reset"):1;u.push(c)}for(h=u.length;h--;)f=u[h],c=f._pt||f,c.s=(i||i===0)&&!s?i:c.s+(i||0)+o*c.c,c.c=r-c.s,f.e&&(f.e=De(r)+Ge(f.e)),f.b&&(f.b=c.s+Ge(f.b))},By=function(e,n){var r=e[0]?tr(e[0]).harness:0,i=r&&r.aliases,s,o,a,l;if(!i)return n;s=Ar({},n);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},Wy=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;if(Ye(n))a=r[e]||(r[e]=[]),n.forEach(function(l,u){return a.push({t:u/(n.length-1)*100,v:l,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},Si=function(e,n,r,i,s){return Pe(e)?e.call(n,r,i,s):Fe(e)&&~e.indexOf("random(")?vi(e):e},Af=Yo+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",If={};lt(Af+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return If[t]=1});var Me=function(t){Bu(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:mi(i))||this;var l=a.vars,u=l.duration,c=l.delay,f=l.immediateRender,d=l.stagger,h=l.overwrite,m=l.keyframes,p=l.defaults,y=l.scrollTrigger,x=l.yoyoEase,k=i.parent||Ce,z=(Ye(r)||Hu(r)?_n(r[0]):"length"in i)?[r]:It(r),b,S,E,w,A,v,F,P;if(a._targets=z.length?Go(z):hi("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,m||d||xs(u)||xs(c)){if(i=a.vars,b=a.timeline=new rt({data:"nested",defaults:p||{},targets:k&&k.data==="nested"?k.vars.targets:z}),b.kill(),b.parent=b._dp=gn(a),b._start=0,d||xs(u)||xs(c)){if(w=z.length,F=d&&mf(d),Kt(d))for(A in d)~Af.indexOf(A)&&(P||(P={}),P[A]=d[A]);for(S=0;S<w;S++)E=zs(i,If),E.stagger=0,x&&(E.yoyoEase=x),P&&Ar(E,P),v=z[S],E.duration=+Si(u,gn(a),S,v,z),E.delay=(+Si(c,gn(a),S,v,z)||0)-a._delay,!d&&w===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),b.to(v,E,F?F(S,v,z):0),b._ease=re.none;b.duration()?u=c=0:a.timeline=0}else if(m){mi(bt(b.vars.defaults,{ease:"none"})),b._ease=rr(m.ease||i.ease||"none");var T=0,I,K,ne;if(Ye(m))m.forEach(function(Q){return b.to(z,Q,">")}),b.duration();else{E={};for(A in m)A==="ease"||A==="easeEach"||Wy(A,m[A],E,m.easeEach);for(A in E)for(I=E[A].sort(function(Q,ee){return Q.t-ee.t}),T=0,S=0;S<I.length;S++)K=I[S],ne={ease:K.e,duration:(K.t-(S?I[S-1].t:0))/100*u},ne[A]=K.v,b.to(z,ne,T),T+=ne.duration;b.duration()<u&&b.to({},{duration:u-b.duration()})}}u||a.duration(u=b.duration())}else a.timeline=0;return h===!0&&!Zo&&(Mn=gn(a),Ce.killTweensOf(z),Mn=0),Yt(k,gn(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!u&&!m&&a._start===Oe(k._time)&&at(f)&&wy(gn(a))&&k.data!=="nested")&&(a._tTime=-he,a.render(Math.max(0,-c)||0)),y&&uf(gn(a),y),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,l=this._tDur,u=this._dur,c=i<0,f=i>l-he&&!c?l:i<he?0:i,d,h,m,p,y,x,k,z,b;if(!u)ky(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(d=f,z=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+i,s,o);if(d=Oe(f%p),f===l?(m=this._repeat,d=u):(y=Oe(f/p),m=~~y,m&&m===y?(d=u,m--):d>u&&(d=u)),x=this._yoyo&&m&1,x&&(b=this._yEase,d=u-d),y=Ir(this._tTime,p),d===a&&!o&&this._initted&&m===y)return this._tTime=f,this;m!==y&&(z&&this._yEase&&Of(z,x),this.vars.repeatRefresh&&!x&&!this._lock&&d!==p&&this._initted&&(this._lock=o=1,this.render(Oe(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(ff(this,c?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&m!==y))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=k=(b||this._ease)(d/u),this._from&&(this.ratio=k=1-k),!a&&f&&!s&&!y&&(xt(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(k,h.d),h=h._next;z&&z.render(i<0?i:z._dur*z._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&Qo(this,i,s,o),xt(this,"onUpdate")),this._repeat&&m!==y&&this.vars.onRepeat&&!s&&this.parent&&xt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&Qo(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&An(this,1),!s&&!(c&&!a)&&(f||a||x)&&(xt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,l){xi||wt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||ca(this,u),c=this._ease(u/this._dur),Vy(this,i,s,o,a,c,u,l)?this.resetTo(i,s,o,a,1):(Es(this,0),this.parent||af(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?yi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ue),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Mn&&Mn.vars.overwrite!==!0)._first||yi(this),this.parent&&o!==this.timeline.totalDuration()&&Dr(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?It(i):a,u=this._ptLookup,c=this._pt,f,d,h,m,p,y,x;if((!s||s==="all")&&by(a,l))return s==="all"&&(this._pt=0),yi(this);for(f=this._op=this._op||[],s!=="all"&&(Fe(s)&&(p={},lt(s,function(k){return p[k]=1}),s=p),s=By(a,s)),x=a.length;x--;)if(~l.indexOf(a[x])){d=u[x],s==="all"?(f[x]=s,m=d,h={}):(h=f[x]=f[x]||{},m=s);for(p in m)y=d&&d[p],y&&((!("kill"in y.d)||y.d.kill(p)===!0)&&Cs(this,y,"_pt"),delete d[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&c&&yi(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return gi(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return gi(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return Ce.killTweensOf(i,s,o)},e}(wi);bt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),lt("staggerTo,staggerFrom,staggerFromTo",function(t){Me[t]=function(){var e=new rt,n=ta.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var ua=function(e,n,r){return e[n]=r},Df=function(e,n,r){return e[n](r)},Hy=function(e,n,r,i){return e[n](i.fp,r)},Jy=function(e,n,r){return e.setAttribute(n,r)},fa=function(e,n){return Pe(e[n])?Df:jo(e[n])&&e.setAttribute?Jy:ua},Mf=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Ky=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},Nf=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},da=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},qy=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},Yy=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?Cs(this,n,"_pt"):n.dep||(r=1),n=i;return!r},Gy=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},Rf=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},ct=function(){function t(n,r,i,s,o,a,l,u,c){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||Mf,this.d=l||this,this.set=u||ua,this.pr=c||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=Gy,this.m=r,this.mt=s,this.tween=i},t}();lt(Yo+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Jo[t]=1}),vt.TweenMax=vt.TweenLite=Me,vt.TimelineLite=vt.TimelineMax=rt,Ce=new rt({sortChildren:!1,defaults:$r,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_t.stringFilter=zf;var sr=[],Ps={},Xy=[],Ff=0,Qy=0,ha=function(e){return(Ps[e]||Xy).map(function(n){return n()})},pa=function(){var e=Date.now(),n=[];e-Ff>2&&(ha("matchMediaInit"),sr.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,u;for(a in i)o=qt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&n.push(r))}),ha("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Ff=e,ha("matchMedia"))},Zf=function(){function t(n,r){this.selector=r&&na(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Qy++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Pe(r)&&(s=i,i=r,r=Pe);var o=this,a=function(){var u=Se,c=o.selector,f;return u&&u!==o&&u.data.push(o),s&&(o.selector=na(s)),Se=o,f=i.apply(o,arguments),Pe(f)&&o._r.push(f),Se=u,o.selector=c,o.isReverted=!1,f};return o.last=a,r===Pe?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=Se;Se=null,r(this),Se=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Me&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var a=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof rt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Me)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=sr.length;o--;)sr[o].id===this.id&&sr.splice(o,1)},e.revert=function(r){this.kill(r||{})},t}(),eb=function(){function t(n){this.contexts=[],this.scope=n,Se&&Se.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){Kt(r)||(r={matches:r});var o=new Zf(0,s||this.scope),a=o.conditions={},l,u,c;Se&&!o.selector&&(o.selector=Se.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=qt.matchMedia(r[u]),l&&(sr.indexOf(o)<0&&sr.push(o),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(pa):l.addEventListener("change",pa)));return c&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),As={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return wf(i)})},timeline:function(e){return new rt(e)},getTweensOf:function(e,n){return Ce.getTweensOf(e,n)},getProperty:function(e,n,r,i){Fe(e)&&(e=It(e)[0]);var s=tr(e||{}).get,o=r?sf:rf;return r==="native"&&(r=""),e&&(n?o((yt[n]&&yt[n].get||s)(e,n,r,i)):function(a,l,u){return o((yt[a]&&yt[a].get||s)(e,a,l,u))})},quickSetter:function(e,n,r){if(e=It(e),e.length>1){var i=e.map(function(c){return ut.quickSetter(c,n,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var o=yt[n],a=tr(e),l=a.harness&&(a.harness.aliases||{})[n]||n,u=o?function(c){var f=new o;Mr._pt=0,f.init(e,r?c+r:c,Mr,0,[e]),f.render(1,f),Mr._pt&&da(1,Mr)}:a.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,a,1)}},quickTo:function(e,n,r){var i,s=ut.to(e,bt((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,u,c){return s.resetTo(n,l,u,c)};return o.tween=s,o},isTweening:function(e){return Ce.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=rr(e.ease,$r.ease)),of($r,e||{})},config:function(e){return of(_t,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!yt[a]&&!vt[a]&&hi(n+" effect requires "+a+" plugin.")}),qo[n]=function(a,l,u){return r(It(a),bt(l||{},s),u)},o&&(rt.prototype[n]=function(a,l,u){return this.add(qo[n](a,Kt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,n){re[e]=rr(n)},parseEase:function(e,n){return arguments.length?rr(e,n):re},getById:function(e){return Ce.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new rt(e),i,s;for(r.smoothChildTiming=at(e.smoothChildTiming),Ce.remove(r),r._dp=0,r._time=r._tTime=Ce._time,i=Ce._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Me&&i.vars.onComplete===i._targets[0]))&&Yt(r,i,i._start-i._delay),i=s;return Yt(Ce,r,0),r},context:function(e,n){return e?new Zf(e,n):Se},matchMedia:function(e){return new eb(e)},matchMediaRefresh:function(){return sr.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||pa()},addEventListener:function(e,n){var r=Ps[e]||(Ps[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Ps[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:Ay,wrapYoyo:Iy,distribute:mf,random:_f,snap:gf,normalize:Py,getUnit:Ge,clamp:Cy,splitColor:Sf,toArray:It,selector:na,mapRange:yf,pipe:$y,unitize:Ey,interpolate:Dy,shuffle:pf},install:Gu,effects:qo,ticker:wt,updateRoot:rt.updateRoot,plugins:yt,globalTimeline:Ce,core:{PropTween:ct,globals:Xu,Tween:Me,Timeline:rt,Animation:wi,getCache:tr,_removeLinkedListItem:Cs,reverting:function(){return Ue},context:function(e){return e&&Se&&(Se.data.push(e),e._ctx=Se),Se},suppressOverwrites:function(e){return Zo=e}}};lt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return As[t]=Me[t]}),wt.add(rt.updateRoot),Mr=As.to({},{duration:0});var tb=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},nb=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=tb(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},ma=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(Fe(s)&&(l={},lt(s,function(c){return l[c]=1}),s=l),n){l={};for(u in s)l[u]=n(s[u]);s=l}nb(a,s)}}}},ut=As.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)Ue?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},ma("roundProps",ra),ma("modifiers"),ma("snap",gf))||As;Me.version=rt.version=ut.version="3.14.2",Yu=1,Uo()&&Nr(),re.Power0,re.Power1,re.Power2,re.Power3,re.Power4,re.Linear,re.Quad,re.Cubic,re.Quart,re.Quint,re.Strong,re.Elastic,re.Back,re.SteppedEase,re.Bounce,re.Sine,re.Expo,re.Circ;/*!
49
49
  * CSSPlugin 3.14.2
50
50
  * https://gsap.com
51
51
  *
52
52
  * Copyright 2008-2025, GreenSock. All rights reserved.
53
53
  * Subject to the terms at https://gsap.com/standard-license
54
54
  * @author: Jack Doyle, jack@greensock.com
55
- */var If,Mn,Nr,fa,sr,Df,da,qy=function(){return typeof window<"u"},mn={},or=180/Math.PI,Rr=Math.PI/180,Fr=Math.atan2,Mf=1e8,ha=/([A-Z])/g,Yy=/(left|right|width|margin|padding|x)/i,Gy=/[\s,\(]\S/,Gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pa=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Xy=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Qy=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},eb=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},tb=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},Nf=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},Rf=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},nb=function(e,n,r){return e.style[n]=r},rb=function(e,n,r){return e.style.setProperty(n,r)},ib=function(e,n,r){return e._gsap[n]=r},sb=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},ob=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},ab=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},ze="transform",ut=ze+"Origin",lb=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in mn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Gt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=gn(i,a)}):this.tfm[e]=o.x?o[e]:gn(i,e),e===ut&&(this.tfm.zOrigin=o.zOrigin);else return Gt.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(ze)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ut,n,"")),e=ze}(s||n)&&this.props.push(e,n,s[e])},Ff=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},cb=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(ha,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=da(),(!s||!s.isStart)&&!r[ze]&&(Ff(r),i.zOrigin&&r[ut]&&(r[ut]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Zf=function(e,n){var r={target:e,props:[],revert:cb,save:lb};return e._gsap||ct.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},Lf,_a=function(e,n){var r=Mn.createElementNS?Mn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Mn.createElement(e);return r&&r.style?r:Mn.createElement(e)},wt=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(ha,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Zr(n)||n,1)||""},jf="O,Moz,ms,Ms,Webkit".split(","),Zr=function(e,n,r){var i=n||sr,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(jf[o]+e in s););return o<0?null:(o===3?"ms":o>=0?jf[o]:"")+e},ma=function(){qy()&&window.document&&(If=window,Mn=If.document,Nr=Mn.documentElement,sr=_a("div")||{style:{}},_a("div"),ze=Zr(ze),ut=ze+"Origin",sr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Lf=!!Zr("perspective"),da=ct.core.reverting,fa=1)},Uf=function(e){var n=e.ownerSVGElement,r=_a("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),Nr.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),Nr.removeChild(r),s},Bf=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},Vf=function(e){var n,r;try{n=e.getBBox()}catch{n=Uf(e),r=1}return n&&(n.width||n.height)||r||(n=Uf(e)),n&&!n.width&&!n.x&&!n.y?{x:+Bf(e,["x","cx","x1"])||0,y:+Bf(e,["y","cy","y1"])||0,width:0,height:0}:n},Hf=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Vf(e))},Nn=function(e,n){if(n){var r=e.style,i;n in mn&&n!==ut&&(n=ze),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(ha,"-$1").toLowerCase())):r.removeAttribute(n)}},Rn=function(e,n,r,i,s,o){var a=new lt(e._pt,n,r,0,1,o?Rf:Nf);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},Wf={deg:1,rad:1,turn:1},ub={grid:1,flex:1},Fn=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=sr.style,l=Yy.test(n),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,d=i==="px",h=i==="%",_,p,b,w;if(i===o||!s||Wf[i]||Wf[o])return s;if(o!=="px"&&!d&&(s=t(e,n,r,"px")),w=e.getCTM&&Hf(e),(h||o==="%")&&(mn[n]||~n.indexOf("adius")))return _=w?e.getBBox()[l?"width":"height"]:e[c],$e(h?s/_*f:s/100*_);if(a[l?"width":"height"]=f+(d?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,w&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Mn||!p.appendChild)&&(p=Mn.body),b=p._gsap,b&&h&&b.width&&l&&b.time===xt.time&&!b.uncache)return $e(s/b.width*f);if(h&&(n==="height"||n==="width")){var k=e.style[n];e.style[n]=f+i,_=e[c],k?e.style[n]=k:Nn(e,n)}else(h||o==="%")&&!ub[wt(p,"display")]&&(a.position=wt(e,"position")),p===e&&(a.position="static"),p.appendChild(sr),_=sr[c],p.removeChild(sr),a.position="absolute";return l&&h&&(b=er(p),b.time=xt.time,b.width=p[c]),$e(d?_*s/f:_&&s?f/_*s:0)},gn=function(e,n,r,i){var s;return fa||ma(),n in Gt&&n!=="transform"&&(n=Gt[n],~n.indexOf(",")&&(n=n.split(",")[0])),mn[n]&&n!=="transform"?(s=ki(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:Ps(wt(e,ut))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=$s[n]&&$s[n](e,n,r)||wt(e,n)||Ku(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Fn(e,n,s,r)+r:s},fb=function(e,n,r,i){if(!r||r==="none"){var s=Zr(n,e,1),o=s&&wt(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=wt(e,"borderTopColor"))}var a=new lt(this._pt,e.style,n,0,1,Ef),l=0,u=0,c,f,d,h,_,p,b,w,k,T,x,y;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=wt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=wt(e,n)||i,p?e.style[n]=p:Nn(e,n)),c=[r,i],yf(c),r=c[0],i=c[1],d=r.match(Er)||[],y=i.match(Er)||[],y.length){for(;f=Er.exec(i);)b=f[0],k=i.substring(l,f.index),_?_=(_+1)%5:(k.substr(-5)==="rgba("||k.substr(-5)==="hsla(")&&(_=1),b!==(p=d[u++]||"")&&(h=parseFloat(p)||0,x=p.substr((h+"").length),b.charAt(1)==="="&&(b=$r(h,b)+x),w=parseFloat(b),T=b.substr((w+"").length),l=Er.lastIndex-T.length,T||(T=T||mt.units[n]||x,l===i.length&&(i+=T,a.e+=T)),x!==T&&(h=Fn(e,n,p,T)||0),a._pt={_next:a._pt,p:k||u===1?k:",",s:h,c:w-h,m:_&&_<4||n==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=n==="display"&&i==="none"?Rf:Nf;return Uu.test(i)&&(a.e=0),this._pt=a,a},Jf={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},db=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=Jf[r]||r,n[1]=Jf[i]||i,n.join(" ")},hb=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)a=s[u],mn[a]&&(l=1,a=a==="transformOrigin"?ut:ze),Nn(r,a);l&&(Nn(r,ze),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",ki(r,1),o.uncache=1,Ff(i)))}},$s={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new lt(e._pt,n,r,0,0,hb);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},Si=[1,0,0,1,0,0],Kf={},qf=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Yf=function(e){var n=wt(e,ze);return qf(n)?Si:n.substr(7).match(ju).map($e)},ga=function(e,n){var r=e._gsap||er(e),i=e.style,s=Yf(e),o,a,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Si:s):(s===Si&&!e.offsetParent&&e!==Nr&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Nr.appendChild(e)),s=Yf(e),l?i.display=l:Nn(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):Nr.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},va=function(e,n,r,i,s,o){var a=e._gsap,l=s||ga(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,h=l[0],_=l[1],p=l[2],b=l[3],w=l[4],k=l[5],T=n.split(" "),x=parseFloat(T[0])||0,y=parseFloat(T[1])||0,E,P,D,v;r?l!==Si&&(P=h*b-_*p)&&(D=x*(b/P)+y*(-p/P)+(p*k-b*w)/P,v=x*(-_/P)+y*(h/P)-(h*k-_*w)/P,x=D,y=v):(E=Vf(e),x=E.x+(~T[0].indexOf("%")?x/100*E.width:x),y=E.y+(~(T[1]||T[0]).indexOf("%")?y/100*E.height:y)),i||i!==!1&&a.smooth?(w=x-u,k=y-c,a.xOffset=f+(w*h+k*p)-w,a.yOffset=d+(w*_+k*b)-k):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=y,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[ut]="0px 0px",o&&(Rn(o,a,"xOrigin",u,x),Rn(o,a,"yOrigin",c,y),Rn(o,a,"xOffset",f,a.xOffset),Rn(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+y)},ki=function(e,n){var r=e._gsap||new Sf(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),u=wt(e,ut)||"0",c,f,d,h,_,p,b,w,k,T,x,y,E,P,D,v,S,N,O,B,Y,se,Q,G,te,It,Qt,St,Ne,Ci,Ft,vn;return c=f=d=p=b=w=k=T=x=0,h=_=1,r.svg=!!(e.getCTM&&Hf(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ze]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ze]!=="none"?l[ze]:"")),i.scale=i.rotate=i.translate="none"),P=ga(e,r.svg),r.svg&&(r.uncache?(te=e.getBBox(),u=r.xOrigin-te.x+"px "+(r.yOrigin-te.y)+"px",G=""):G=!n&&e.getAttribute("data-svg-origin"),va(e,G||u,!!G||r.originIsAbsolute,r.smooth!==!1,P)),y=r.xOrigin||0,E=r.yOrigin||0,P!==Si&&(N=P[0],O=P[1],B=P[2],Y=P[3],c=se=P[4],f=Q=P[5],P.length===6?(h=Math.sqrt(N*N+O*O),_=Math.sqrt(Y*Y+B*B),p=N||O?Fr(O,N)*or:0,k=B||Y?Fr(B,Y)*or+p:0,k&&(_*=Math.abs(Math.cos(k*Rr))),r.svg&&(c-=y-(y*N+E*B),f-=E-(y*O+E*Y))):(vn=P[6],Ci=P[7],Qt=P[8],St=P[9],Ne=P[10],Ft=P[11],c=P[12],f=P[13],d=P[14],D=Fr(vn,Ne),b=D*or,D&&(v=Math.cos(-D),S=Math.sin(-D),G=se*v+Qt*S,te=Q*v+St*S,It=vn*v+Ne*S,Qt=se*-S+Qt*v,St=Q*-S+St*v,Ne=vn*-S+Ne*v,Ft=Ci*-S+Ft*v,se=G,Q=te,vn=It),D=Fr(-B,Ne),w=D*or,D&&(v=Math.cos(-D),S=Math.sin(-D),G=N*v-Qt*S,te=O*v-St*S,It=B*v-Ne*S,Ft=Y*S+Ft*v,N=G,O=te,B=It),D=Fr(O,N),p=D*or,D&&(v=Math.cos(D),S=Math.sin(D),G=N*v+O*S,te=se*v+Q*S,O=O*v-N*S,Q=Q*v-se*S,N=G,se=te),b&&Math.abs(b)+Math.abs(p)>359.9&&(b=p=0,w=180-w),h=$e(Math.sqrt(N*N+O*O+B*B)),_=$e(Math.sqrt(Q*Q+vn*vn)),D=Fr(se,Q),k=Math.abs(D)>2e-4?D*or:0,x=Ft?1/(Ft<0?-Ft:Ft):0),r.svg&&(G=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!qf(wt(e,ze)),G&&e.setAttribute("transform",G))),Math.abs(k)>90&&Math.abs(k)<270&&(s?(h*=-1,k+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,k+=k<=0?180:-180)),n=n||r.uncache,r.x=c-((r.xPercent=c&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=$e(h),r.scaleY=$e(_),r.rotation=$e(p)+a,r.rotationX=$e(b)+a,r.rotationY=$e(w)+a,r.skewX=k+a,r.skewY=T+a,r.transformPerspective=x+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(i[ut]=Ps(u)),r.xOffset=r.yOffset=0,r.force3D=mt.force3D,r.renderTransform=r.svg?_b:Lf?Gf:pb,r.uncache=0,r},Ps=function(e){return(e=e.split(" "))[0]+" "+e[1]},ya=function(e,n,r){var i=Je(n);return $e(parseFloat(n)+parseFloat(Fn(e,"x",r+"px",i)))+i},pb=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,Gf(e,n)},ar="0deg",Ti="0px",lr=") ",Gf=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,d=r.skewX,h=r.skewY,_=r.scaleX,p=r.scaleY,b=r.transformPerspective,w=r.force3D,k=r.target,T=r.zOrigin,x="",y=w==="auto"&&e&&e!==1||w===!0;if(T&&(f!==ar||c!==ar)){var E=parseFloat(c)*Rr,P=Math.sin(E),D=Math.cos(E),v;E=parseFloat(f)*Rr,v=Math.cos(E),o=ya(k,o,P*v*-T),a=ya(k,a,-Math.sin(E)*-T),l=ya(k,l,D*v*-T+T)}b!==Ti&&(x+="perspective("+b+lr),(i||s)&&(x+="translate("+i+"%, "+s+"%) "),(y||o!==Ti||a!==Ti||l!==Ti)&&(x+=l!==Ti||y?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+lr),u!==ar&&(x+="rotate("+u+lr),c!==ar&&(x+="rotateY("+c+lr),f!==ar&&(x+="rotateX("+f+lr),(d!==ar||h!==ar)&&(x+="skew("+d+", "+h+lr),(_!==1||p!==1)&&(x+="scale("+_+", "+p+lr),k.style[ze]=x||"translate(0, 0)"},_b=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,d=r.scaleY,h=r.target,_=r.xOrigin,p=r.yOrigin,b=r.xOffset,w=r.yOffset,k=r.forceCSS,T=parseFloat(o),x=parseFloat(a),y,E,P,D,v;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Rr,u*=Rr,y=Math.cos(l)*f,E=Math.sin(l)*f,P=Math.sin(l-u)*-d,D=Math.cos(l-u)*d,u&&(c*=Rr,v=Math.tan(u-c),v=Math.sqrt(1+v*v),P*=v,D*=v,c&&(v=Math.tan(c),v=Math.sqrt(1+v*v),y*=v,E*=v)),y=$e(y),E=$e(E),P=$e(P),D=$e(D)):(y=f,D=d,E=P=0),(T&&!~(o+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(T=Fn(h,"x",o,"px"),x=Fn(h,"y",a,"px")),(_||p||b||w)&&(T=$e(T+_-(_*y+p*P)+b),x=$e(x+p-(_*E+p*D)+w)),(i||s)&&(v=h.getBBox(),T=$e(T+i/100*v.width),x=$e(x+s/100*v.height)),v="matrix("+y+","+E+","+P+","+D+","+T+","+x+")",h.setAttribute("transform",v),k&&(h.style[ze]=v)},mb=function(e,n,r,i,s){var o=360,a=Me(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?or:1),u=l-i,c=i+u+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),f==="cw"&&u<0?u=(u+o*Mf)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*Mf)%o-~~(u/o)*o)),e._pt=d=new lt(e._pt,n,r,i,u,Xy),d.e=c,d.u="deg",e._props.push(r),d},Xf=function(e,n){for(var r in n)e[r]=n[r];return e},gb=function(e,n,r){var i=Xf({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,c,f,d,h,_;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[ze]=n,a=ki(r,1),Nn(r,ze),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ze],o[ze]=n,a=ki(r,1),o[ze]=u);for(l in mn)u=i[l],c=a[l],u!==c&&s.indexOf(l)<0&&(h=Je(u),_=Je(c),f=h!==_?Fn(r,l,u,_):parseFloat(u),d=parseFloat(c),e._pt=new lt(e._pt,a,l,f,d-f,pa),e._pt.u=_||0,e._props.push(l));Xf(a,i)};at("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});$s[e>1?"border"+t:t]=function(a,l,u,c,f){var d,h;if(arguments.length<4)return d=o.map(function(_){return gn(a,_,u)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(c+"").split(" "),h={},o.forEach(function(_,p){return h[_]=d[p]=d[p]||d[(p-1)/2|0]}),a.init(l,h,f)}});var Qf={name:"css",register:ma,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,u,c,f,d,h,_,p,b,w,k,T,x,y,E,P,D,v;fa||ma(),this.styles=this.styles||Zf(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(c=n[p],!(vt[p]&&kf(p,n,r,i,e,s)))){if(h=typeof c,_=$s[p],h==="function"&&(c=c.call(r,i,e,s),h=typeof c),h==="string"&&~c.indexOf("random(")&&(c=gi(c)),_)_(this,e,p,c,r)&&(P=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",In.lastIndex=0,In.test(u)||(b=Je(u),w=Je(c),w?b!==w&&(u=Fn(e,p,u,w)+w):b&&(c+=b)),this.add(a,"setProperty",u,c,i,s,0,0,p),o.push(p),D.push(p,0,a[p]);else if(h!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],Me(u)&&~u.indexOf("random(")&&(u=gi(u)),Je(u+"")||u==="auto"||(u+=mt.units[p]||Je(gn(e,p))||""),(u+"").charAt(1)==="="&&(u=gn(e,p))):u=gn(e,p),d=parseFloat(u),k=h==="string"&&c.charAt(1)==="="&&c.substr(0,2),k&&(c=c.substr(2)),f=parseFloat(c),p in Gt&&(p==="autoAlpha"&&(d===1&&gn(e,"visibility")==="hidden"&&f&&(d=0),D.push("visibility",0,a.visibility),Rn(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=Gt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),T=p in mn,T){if(this.styles.save(p),v=c,h==="string"&&c.substring(0,6)==="var(--"){if(c=wt(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var S=e.style.perspective;e.style.perspective=c,c=wt(e,"perspective"),S?e.style.perspective=S:Nn(e,"perspective")}f=parseFloat(c)}if(x||(y=e._gsap,y.renderTransform&&!n.parseTransform||ki(e,n.parseTransform),E=n.smoothOrigin!==!1&&y.smooth,x=this._pt=new lt(this._pt,a,ze,0,1,y.renderTransform,y,0,-1),x.dep=1),p==="scale")this._pt=new lt(this._pt,y,"scaleY",y.scaleY,(k?$r(y.scaleY,k+f):f)-y.scaleY||0,pa),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(ut,0,a[ut]),c=db(c),y.svg?va(e,c,0,E,0,this):(w=parseFloat(c.split(" ")[2])||0,w!==y.zOrigin&&Rn(this,y,"zOrigin",y.zOrigin,w),Rn(this,a,p,Ps(u),Ps(c)));continue}else if(p==="svgOrigin"){va(e,c,1,E,0,this);continue}else if(p in Kf){mb(this,y,p,d,k?$r(d,k+c):c);continue}else if(p==="smoothOrigin"){Rn(this,y,"smooth",y.smooth,c);continue}else if(p==="force3D"){y[p]=c;continue}else if(p==="transform"){gb(this,c,e);continue}}else p in a||(p=Zr(p)||p);if(T||(f||f===0)&&(d||d===0)&&!Gy.test(c)&&p in a)b=(u+"").substr((d+"").length),f||(f=0),w=Je(c)||(p in mt.units?mt.units[p]:b),b!==w&&(d=Fn(e,p,u,w)),this._pt=new lt(this._pt,T?y:a,p,d,(k?$r(d,k+f):f)-d,!T&&(w==="px"||p==="zIndex")&&n.autoRound!==!1?tb:pa),this._pt.u=w||0,T&&v!==c?(this._pt.b=u,this._pt.e=v,this._pt.r=eb):b!==w&&w!=="%"&&(this._pt.b=u,this._pt.r=Qy);else if(p in a)fb.call(this,e,p,u,k?k+c:c);else if(p in e)this.add(e,p,u||e[p],k?k+c:c,i,s);else if(p!=="parseTransform"){jo(p,c);continue}T||(p in a?D.push(p,0,a[p]):typeof e[p]=="function"?D.push(p,2,e[p]()):D.push(p,1,u||e[p])),o.push(p)}}P&&$f(this)},render:function(e,n){if(n.tween._time||!da())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:gn,aliases:Gt,getSetter:function(e,n,r){var i=Gt[n];return i&&i.indexOf(",")<0&&(n=i),n in mn&&n!==ut&&(e._gsap.x||gn(e,"x"))?r&&Df===r?n==="scale"?sb:ib:(Df=r||{})&&(n==="scale"?ob:ab):e.style&&!No(e.style[n])?nb:~n.indexOf("-")?rb:oa(e,n)},core:{_removeProperty:Nn,_getMatrix:ga}};ct.utils.checkPrefix=Zr,ct.core.getStyleSaver=Zf,function(t,e,n,r){var i=at(t+","+e+","+n,function(s){mn[s]=1});at(e,function(s){mt.units[s]="deg",Kf[s]=1}),Gt[i[13]]=t+","+e,at(r,function(s){var o=s.split(":");Gt[o[1]]=i[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),at("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){mt.units[t]="px"}),ct.registerPlugin(Qf);var Xt=ct.registerPlugin(Qf)||ct;Xt.core.Tween;const vb={class:"h-full w-full relative flex flex-col text-white overflow-hidden",style:{"background-color":"var(--lumina-colors-background, #030303)",color:"var(--lumina-colors-text, #ffffff)"}},yb={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},bb={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},xb={class:"relative h-full w-full md:w-[450px] bg-[#0a0a0a]/95 border-l border-white/10 shadow-2xl overflow-auto text-left flex flex-col transform transition-transform duration-300"},wb={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},Sb={class:"p-6"},kb={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},Tb={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},zb={key:1,class:"absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},Cb={key:0,class:"pointer-events-auto text-left"},Ob={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Eb={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},$b={key:0,class:"h-px w-8 bg-white/20"},Pb={key:1,class:"flex-1"},Ab={key:2,class:"pointer-events-auto flex gap-3"},Ib=["disabled"],Db=["disabled"],ed=Pe({__name:"LuminaDeck",setup(t){const{slide:e,index:n,total:r,next:i,prev:s,options:o}=Xv(),a=Sn(fi),l=Ce(()=>a.hasNext()),u=Ce(()=>a.hasPrev()),c=Ce(()=>{var x,y;return(y=(x=a.state.deck)==null?void 0:x.meta)==null?void 0:y.title}),f=Ce(()=>a.state.options.ui),d=Ce(()=>a.state.options.navigation);Qv();const h=it({showJson:!1}),_=Ce(()=>o.debug),p=Ce(()=>!e.value||!e.value.type?null:`layout-${e.value.type}`),b=Ce(()=>{var x,y,E,P,D,v,S,N;return{backgroundColor:((y=(x=e.value)==null?void 0:x.meta)==null?void 0:y.orbColor)||"var(--lumina-colors-primary, #3b82f6)",width:"60vw",height:"60vw",top:((D=(P=(E=e.value)==null?void 0:E.meta)==null?void 0:P.orbPos)==null?void 0:D.top)||"-20%",left:((N=(S=(v=e.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:N.left)||"-10%"}}),w=x=>{hn.emit("action",x)},k=(x,y)=>{const E=x;E.style.opacity="1",y()},T=(x,y)=>{var S,N,O;const{options:E}=a.state;if(((S=E.animation)==null?void 0:S.enabled)===!1){y();return}const P=((N=E.animation)==null?void 0:N.durationOut)||.5,D=((O=E.animation)==null?void 0:O.type)||"cascade",v=Xt.timeline({onComplete:y});D==="fade"?v.to(x,{opacity:0,duration:P}):D==="zoom"?v.to(x,{opacity:0,scale:1.1,duration:P}):v.to(x,{opacity:0,y:-20,duration:P,ease:"power2.in"})};return(x,y)=>{var E,P,D,v;return V(),ee("div",vb,[$("div",yb,[$("div",{class:"ambient-orb",style:Lt(b.value)},null,4),y[6]||(y[6]=$("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),_.value?(V(),ee("div",bb,[$("button",{onClick:y[0]||(y[0]=S=>h.value.showJson=!h.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...y[7]||(y[7]=[$("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):Qe("",!0),Fe(oc,{name:"fade"},{default:Rt(()=>[h.value.showJson?(V(),ee("div",{key:0,class:"fixed inset-0 z-[100] flex justify-end",onClick:y[3]||(y[3]=wc(S=>h.value.showJson=!1,["self"]))},[$("div",{class:"absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",onClick:y[1]||(y[1]=S=>h.value.showJson=!1)}),$("div",xb,[$("div",wb,[y[9]||(y[9]=$("span",{class:"text-xs font-bold text-gray-400 uppercase tracking-widest"},"Slide Data",-1)),$("button",{onClick:y[2]||(y[2]=S=>h.value.showJson=!1),class:"w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center text-white/50 hover:text-white transition"},[...y[8]||(y[8]=[$("i",{class:"fa-solid fa-xmark"},null,-1)])])]),$("div",Sb,[$("pre",kb,ae(JSON.stringify(Bt(e),null,2)),1)])])])):Qe("",!0)]),_:1}),$("main",Tb,[Fe(oc,{css:!1,onLeave:T,onEnter:k,mode:"out-in"},{default:Rt(()=>[p.value?(V(),Xe(Xi(p.value),{key:Bt(n),data:Bt(e),onAction:w,class:"min-h-full w-full"},null,40,["data"])):Qe("",!0)]),_:1})]),(E=f.value)!=null&&E.visible?(V(),ee("div",zb,[(P=f.value)!=null&&P.showSlideCount?(V(),ee("div",Cb,[$("h2",Ob,ae(c.value),1),$("div",Eb,[$("span",null,ae((Bt(n)+1).toString().padStart(2,"0")),1),(D=f.value)!=null&&D.showProgressBar?(V(),ee("div",$b)):Qe("",!0),$("span",null,ae(Bt(r).toString().padStart(2,"0")),1)])])):(V(),ee("div",Pb)),(v=f.value)!=null&&v.showControls?(V(),ee("div",Ab,[$("button",{onClick:y[4]||(y[4]=(...S)=>Bt(s)&&Bt(s)(...S)),class:X(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!u.value||!d.value?"opacity-30 cursor-not-allowed":""]),disabled:!u.value||!d.value},[...y[10]||(y[10]=[$("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ib),$("button",{onClick:y[5]||(y[5]=(...S)=>Bt(i)&&Bt(i)(...S)),class:X(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!d.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!d.value},[...y[11]||(y[11]=[$("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Db)])):Qe("",!0)])):Qe("",!0)])}}}),At=class At{constructor(e){nt(this,"channel",null);nt(this,"handlers",new Set);nt(this,"lastTimestamp",0);nt(this,"heartbeatInterval",null);nt(this,"isConnected",!1);nt(this,"connectionHandlers",new Set);this.channelName=e,this.initChannel()}static getInstance(e,n=!1){return n?new At(e):(At.instances.has(e)||At.instances.set(e,new At(e)),At.instances.get(e))}static isSupported(){return typeof BroadcastChannel<"u"}initChannel(){if(!At.isSupported()){console.warn("[SpeakerChannel] BroadcastChannel not supported in this environment");return}try{this.channel=new BroadcastChannel(this.channelName),this.channel.onmessage=e=>{const n=e.data;if(!(n.timestamp&&n.timestamp===this.lastTimestamp)){if(n.action==="ping"){this.send({action:"pong"}),this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}});return}if(n.action==="pong"){this.setConnected(!0);return}if(n.action==="close"){this.setConnected(!1);return}this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}})}},this.channel.onmessageerror=e=>{console.error("[SpeakerChannel] Message error:",e)},this.startHeartbeat()}catch(e){console.error("[SpeakerChannel] Failed to initialize:",e)}}send(e){if(!this.channel)return;const n={...e,timestamp:Date.now(),channelId:this.channelName};this.lastTimestamp=n.timestamp,this.channel.postMessage(n)}subscribe(e){return this.handlers.add(e),()=>this.handlers.delete(e)}onConnectionChange(e){return this.connectionHandlers.add(e),e(this.isConnected),()=>this.connectionHandlers.delete(e)}get connected(){return this.isConnected}ping(){this.send({action:"ping"})}notifyClose(){this.send({action:"close"})}startHeartbeat(){this.ping(),this.heartbeatInterval=setInterval(()=>{(this.handlers.size>0||this.connectionHandlers.size>0)&&this.ping()},5e3)}setConnected(e){this.isConnected!==e&&(this.isConnected=e,this.connectionHandlers.forEach(n=>n(e)))}destroy(){this.notifyClose(),this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null),this.channel&&(this.channel.close(),this.channel=null),this.handlers.clear(),this.connectionHandlers.clear(),At.instances.delete(this.channelName)}static destroyAll(){At.instances.forEach(e=>e.destroy()),At.instances.clear()}};nt(At,"instances",new Map);let Lr=At;const Mb={class:"speaker-notes"},Nb={class:"sn-header"},Rb={class:"sn-status"},Fb={class:"sn-slide-count"},Zb={class:"sn-content"},Lb={class:"sn-notes-section"},jb=["innerHTML"],Ub={key:1,class:"sn-notes-empty"},Bb={class:"sn-footer"},Vb={class:"sn-nav-controls"},Hb=["disabled"],Wb={class:"sn-timer-value"},Jb=["disabled"],Kb=Pe({__name:"LuminaSpeakerNotes",props:{channelId:{}},setup(t){const e=t,n=it(0),r=it(0),i=it(""),s=it(null),o=it(!1),a=it(null),l=it(0),u=it(!1),c=it(null),f=Ce(()=>r.value===0?"No slides loaded":`Slide ${n.value+1} / ${r.value}`),d=Ce(()=>{const v=Math.floor(l.value/3600),S=Math.floor(l.value%3600/60),N=l.value%60;return v>0?`${v.toString().padStart(2,"0")}:${S.toString().padStart(2,"0")}:${N.toString().padStart(2,"0")}`:`${S.toString().padStart(2,"0")}:${N.toString().padStart(2,"0")}`}),h=Ce(()=>n.value<r.value-1),_=Ce(()=>n.value>0);function p(v){return v?v.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/__(.*?)__/g,"<strong>$1</strong>").replace(new RegExp("(?<!\\*)\\*(?!\\*)(.*?)(?<!\\*)\\*(?!\\*)","g"),"<em>$1</em>").replace(new RegExp("(?<!_)_(?!_)(.*?)(?<!_)_(?!_)","g"),"<em>$1</em>").replace(/\n/g,"<br>").replace(/^[-*]\s+(.*)$/gm,"<li>$1</li>").replace(/(<li>.*<\/li>)/gs,"<ul>$1</ul>").replace(/<\/ul>\s*<ul>/g,""):""}function b(){const v=new URLSearchParams(window.location.search),S=e.channelId||v.get("channel")||"lumina-speaker-default";a.value=Lr.getInstance(S,!0),a.value.onConnectionChange(Y=>{o.value=Y}),a.value.subscribe(w);let N=0;const O=10,B=setInterval(()=>{var Y;if(r.value>0||N>=O){clearInterval(B);return}(Y=a.value)==null||Y.ping(),N++},300);a.value.ping()}function w(v){switch(v.action){case"state":v.index!==void 0&&(n.value=v.index),v.totalSlides!==void 0&&(r.value=v.totalSlides),v.currentNotes!==void 0&&(i.value=v.currentNotes),v.nextSlidePreview&&(s.value=v.nextSlidePreview);break;case"goto":v.index!==void 0&&(n.value=v.index);break}}function k(){var v;h.value&&((v=a.value)==null||v.send({action:"next"}))}function T(){var v;_.value&&((v=a.value)==null||v.send({action:"prev"}))}function x(){u.value||(u.value=!0,c.value=setInterval(()=>{l.value++},1e3))}function y(){u.value=!1,c.value&&(clearInterval(c.value),c.value=null)}function E(){u.value?y():x()}function P(){y(),l.value=0}function D(v){switch(v.key){case"ArrowRight":case" ":case"Enter":v.preventDefault(),k();break;case"ArrowLeft":case"Backspace":v.preventDefault(),T();break;case"t":case"T":v.preventDefault(),E();break;case"r":case"R":if(v.ctrlKey||v.metaKey)return;v.preventDefault(),P();break}}return Hn(()=>{b(),window.addEventListener("keydown",D),window.addEventListener("beforeunload",()=>{var v;(v=a.value)==null||v.notifyClose()})}),Wn(()=>{var v;y(),window.removeEventListener("keydown",D),(v=a.value)==null||v.destroy()}),(v,S)=>(V(),ee("div",Mb,[$("header",Nb,[S[0]||(S[0]=Kh('<div class="sn-title" data-v-63b98fd9><svg class="sn-logo" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-63b98fd9><path d="M12 2L2 7l10 5 10-5-10-5z" data-v-63b98fd9></path><path d="M2 17l10 5 10-5" data-v-63b98fd9></path><path d="M2 12l10 5 10-5" data-v-63b98fd9></path></svg><span data-v-63b98fd9>Lumina Speaker Notes</span></div>',1)),$("div",Rb,[$("span",{class:X(["sn-indicator",{connected:o.value}])},null,2),$("span",Fb,ae(f.value),1)])]),$("main",Zb,[$("section",Lb,[S[2]||(S[2]=$("h2",{class:"sn-section-title"},"Notes",-1)),i.value?(V(),ee("div",{key:0,class:"sn-notes-content",innerHTML:p(i.value)},null,8,jb)):(V(),ee("div",Ub,[...S[1]||(S[1]=[$("p",null,"No notes for this slide",-1)])]))])]),$("footer",Bb,[$("div",Vb,[$("button",{class:"sn-btn sn-btn-nav",disabled:!_.value,onClick:T,title:"Previous (← or Backspace)"},[...S[3]||(S[3]=[$("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[$("polyline",{points:"15 18 9 12 15 6"})],-1),$("span",null,"Prev",-1)])],8,Hb),$("div",{class:"sn-timer",onClick:E,title:"Click to start/pause (T)"},[$("span",{class:X(["sn-timer-icon",{running:u.value}])},ae(u.value?"⏸":"▶"),3),$("span",Wb,ae(d.value),1),$("button",{class:"sn-timer-reset",onClick:wc(P,["stop"]),title:"Reset timer (R)"},"↻")]),$("button",{class:"sn-btn sn-btn-nav sn-btn-primary",disabled:!h.value,onClick:k,title:"Next (→, Space, or Enter)"},[...S[4]||(S[4]=[$("span",null,"Next",-1),$("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[$("polyline",{points:"9 18 15 12 9 6"})],-1)])],8,Jb)])])]))}}),ba=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},qb=ba(Kb,[["__scopeId","data-v-63b98fd9"]]);function Yb(t,e){const n=Sn(fi);let r=null;const i=()=>{if(!t.value||!n)return;r==null||r.revert();const{enabled:s,type:o,durationIn:a,stagger:l,ease:u}=n.state.options.animation||{};if(s===!1){Xt.set(t.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}r=Xt.context(()=>{const c=t.value,f=o==="fade",d=o==="slide",h=o==="zoom",_=f?0:d?80:40,p=h?.8:o==="cascade"?.95:1;c.querySelector(".reveal-up")&&Xt.set(".reveal-up",{y:_,opacity:0}),c.querySelector(".reveal-zoom")&&Xt.set(".reveal-zoom",{scale:p,opacity:0}),c.querySelector(".reveal-content > *")&&Xt.set(".reveal-content > *",{y:f?0:30,opacity:0}),c.querySelector(".reveal-card")&&Xt.set(".reveal-card",{y:f?0:50,opacity:0,scale:p}),c.querySelector(".reveal-img")&&Xt.set(".reveal-img",{scale:1.1,opacity:0});const b=Xt.timeline({defaults:{ease:u||"power3.out",duration:a||.8},onComplete:e});c.querySelector(".reveal-img")&&b.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const w=a||.8,k=l||.1;c.querySelectorAll(".reveal-card").length&&b.to(".reveal-card",{y:0,opacity:1,scale:1,duration:w,stagger:k,ease:d?"expo.out":"back.out(1.2)"},.2);const T=c.querySelectorAll(".reveal-content > *");T.length&&b.to(T,{y:0,opacity:1,duration:w,stagger:k/2},.3),c.querySelectorAll(".reveal-up").length&&b.to(".reveal-up",{y:0,opacity:1,duration:w,stagger:k},.2),c.querySelector(".reveal-zoom")&&b.to(".reveal-zoom",{scale:1,opacity:1,duration:w*1.2,ease:"expo.out"},.1)},t)};return Hn(()=>{Qa(()=>{i()})}),Wn(()=>{r==null||r.revert()}),{animateIn:i}}const Gb={class:"absolute inset-0 z-0 pointer-events-none"},Xb={class:"relative z-10 w-full h-full"},Zn=Pe({__name:"BaseSlide",props:{data:{},customClass:{}},setup(t){const e=it(null);return Yb(e),(n,r)=>(V(),ee("div",{ref_key:"container",ref:e,class:X(["w-full min-h-full relative text-white",t.customClass])},[$("div",Gb,[bl(n.$slots,"background")]),$("div",Xb,[bl(n.$slots,"default")])],2))}}),Qb={class:"reveal-zoom max-w-5xl z-10"},e1={key:0,class:"inline-block px-4 py-1 rounded-full border text-sm font-medium tracking-widest uppercase mb-10",style:{color:"var(--lumina-colors-primary, #3b82f6)","border-color":"rgba(255,255,255,0.1)",background:"rgba(255,255,255,0.05)"}},t1={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},n1=Pe({__name:"LayoutStatement",props:{data:{}},setup(t){return(e,n)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["flex flex-col justify-center items-center text-center p-8 relative",t.data.sizing==="container"?"h-full":"min-h-screen"])},[$("div",Qb,[t.data.tag?(V(),ee("span",e1,ae(t.data.tag),1)):Qe("",!0),$("h1",{class:"font-bold leading-[1.1] tracking-tight mb-8 text-transparent bg-clip-text",style:Lt({fontSize:t.data.sizing==="container"?"3.5rem":"clamp(3rem, 10vw, 8rem)",fontFamily:"var(--lumina-font-heading, Inter, sans-serif)",backgroundImage:"linear-gradient(to bottom, var(--lumina-colors-text, #ffffff), var(--lumina-colors-muted, #6b7280))"})},ae(t.data.title),5),t.data.subtitle?(V(),ee("p",t1,ae(t.data.subtitle),1)):Qe("",!0)])],2)]),_:1},8,["data"]))}}),r1=["src"],i1={class:"reveal-content max-w-xl"},s1={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},o1={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},a1={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},l1={key:0,class:"pt-6 border-t border-white/10"},c1=Pe({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(t){return(e,n)=>(V(),Xe(Zn,{data:t.data,customClass:"bg-[var(--lumina-bg)]"},{default:Rt(()=>[$("div",{class:X(["w-full flex flex-col lg:block relative",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[$("div",{class:X(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0",t.data.sizing==="container"?"lg:absolute lg:top-0":"lg:fixed lg:top-0",t.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[n[1]||(n[1]=$("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),$("img",{src:t.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,r1)],2),$("div",{class:X(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",t.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",t.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[$("div",i1,[$("span",s1,ae(t.data.tag),1),$("h1",o1,ae(t.data.title),1),$("div",a1,[(V(!0),ee(Ee,null,vr(t.data.paragraphs,(r,i)=>(V(),ee("p",{key:i},ae(r),1))),128))]),t.data.cta?(V(),ee("div",l1,[$("button",{onClick:n[0]||(n[0]=r=>e.$emit("action",{type:"cta",label:t.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[Kl(ae(t.data.cta)+" ",1),n[2]||(n[2]=$("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):Qe("",!0)])],2)],2)]),_:1},8,["data"]))}}),u1={class:"mb-16 reveal-up text-center lg:text-left max-w-6xl"},f1=Pe({__name:"LayoutFeatures",props:{data:{}},setup(t){return(e,n)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[$("div",u1,[$("h2",{class:X(["font-heading font-bold mb-4",t.data.sizing==="container"?"text-3xl":"text-5xl"])},ae(t.data.title),3),$("p",{class:X([t.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ae(t.data.description),3)]),$("div",{class:X(["grid w-full",t.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(V(!0),ee(Ee,null,vr(t.data.features,(r,i)=>(V(),ee("div",{key:i,class:X(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",t.data.sizing==="container"?"p-6":"p-8"])},[$("div",{class:X(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",t.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[$("i",{class:X(["fa-solid",r.icon.startsWith("fa-")?r.icon:`fa-${r.icon}`])},null,2)],2),$("h3",{class:X(["font-bold mb-3 text-white",t.data.sizing==="container"?"text-lg":"text-2xl"])},ae(r.title),3),$("p",{class:X(["leading-relaxed",[t.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ae(r.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),d1={class:"text-center mb-16 reveal-up"},h1={class:"text-5xl font-heading font-bold mb-4"},p1={key:0,class:"text-xl opacity-60"},_1={class:"relative max-w-6xl mx-auto w-full"},m1={class:"space-y-12"},g1={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},v1={class:"text-2xl font-bold"},y1={class:"text-lg opacity-60 leading-relaxed"},b1=Pe({__name:"LayoutTimeline",props:{data:{}},setup(t){return(e,n)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[$("div",d1,[$("h2",h1,ae(t.data.title),1),t.data.subtitle?(V(),ee("p",p1,ae(t.data.subtitle),1)):Qe("",!0)]),$("div",_1,[n[1]||(n[1]=$("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),$("div",m1,[(V(!0),ee(Ee,null,vr(t.data.timeline,(r,i)=>(V(),ee("div",{key:i,class:X(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",i%2===0?"":"md:flex-row-reverse"])},[$("div",{class:X(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",i%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[$("span",g1,ae(r.date),1),$("h3",v1,ae(r.title||r.t),1)],2),n[0]||(n[0]=$("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),$("div",{class:X(["w-full md:w-1/2 pl-12 md:pl-0",i%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[$("p",y1,ae(r.description||r.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),x1={key:0,class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},w1={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},S1=Pe({__name:"LayoutSteps",props:{data:{}},setup(t){return(e,n)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["w-full flex flex-col justify-center overflow-hidden",t.data.sizing==="container"?"min-h-full p-4":"min-h-screen p-8 lg:p-12"])},[$("div",{class:X(["text-center reveal-up",t.data.sizing==="container"?"mb-6":"mb-20"])},[$("h2",{class:X(["font-heading font-bold mb-2",t.data.sizing==="container"?"text-2xl":"text-5xl"])},ae(t.data.title),3),t.data.subtitle?(V(),ee("p",{key:0,class:X(["opacity-60 max-w-2xl mx-auto",t.data.sizing==="container"?"text-sm":"text-xl"])},ae(t.data.subtitle),3)):Qe("",!0)],2),$("div",{class:X(["grid gap-4 w-full mx-auto relative",t.data.sizing==="container"?"grid-cols-3 max-w-xl":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl"])},[t.data.sizing!=="container"?(V(),ee("div",x1)):Qe("",!0),(V(!0),ee(Ee,null,vr(t.data.steps,(r,i)=>(V(),ee("div",{key:i,class:X(["relative glass-panel rounded-xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500",t.data.sizing==="container"?"p-3 text-center":"p-8 rounded-2xl"])},[$("div",{class:X(["rounded-xl bg-[#111] border border-white/10 flex items-center justify-center font-bold relative z-10 group-hover:scale-105 transition duration-300 shadow-xl mx-auto",t.data.sizing==="container"?"w-12 h-12 text-lg mb-3":"w-20 h-20 text-2xl mb-6 lg:mx-0"])},[$("span",w1,ae(r.step),1)],2),$("h3",{class:X(["font-bold",t.data.sizing==="container"?"text-sm mb-1":"text-xl mb-3"])},ae(r.title),3),$("p",{class:X(["leading-relaxed opacity-60",t.data.sizing==="container"?"text-[10px]":"text-sm"])},ae(r.description),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),k1=["src","alt"],T1=ba(Pe({__name:"LayoutFlex",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=e,i={none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},s={auto:"auto",quarter:"25%",third:"33.333%",half:"50%","two-thirds":"66.666%","three-quarters":"75%",full:"100%"},o={top:"flex-start",center:"center",bottom:"flex-end"},a={left:"flex-start",center:"center",right:"flex-end"},l=Ce(()=>({padding:i[n.data.padding||"none"]})),u=Ce(()=>n.data.direction==="vertical"?"flex-col":"flex-row"),c=Ce(()=>({gap:i[n.data.gap||"none"]})),f=S=>!S||S==="auto"?"flex-1":"",d=S=>{const N=S.size||"auto";return N==="auto"?{flex:"1 1 auto"}:{flex:`0 0 ${s[N]}`,maxWidth:n.data.direction!=="vertical"?s[N]:void 0,maxHeight:n.data.direction==="vertical"?s[N]:void 0}},h=S=>{const N=S.valign||"center",O=S.halign||"left",B=S.gap||"md",Y=S.padding||"lg",se=S.size||"auto";return{flex:se==="auto"?"1 1 auto":`0 0 ${s[se]}`,justifyContent:o[N],alignItems:a[O],gap:i[B],padding:i[Y]}},_=()=>({display:"flex",alignItems:"center",padding:i.lg}),p=(S,N)=>N!==!1&&!S?"":{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[S||"lg"]||"rounded-lg",b=S=>{r("action",S),hn.emit("action",S)},w=Pe({props:["text","size","align"],setup(S){const N={lg:"text-3xl lg:text-4xl",xl:"text-4xl lg:text-5xl","2xl":"text-5xl lg:text-6xl","3xl":"text-6xl lg:text-7xl"}[S.size||"xl"]||"text-4xl lg:text-5xl",O={left:"text-left",center:"text-center",right:"text-right"}[S.align||"left"]||"text-left";return()=>me("h2",{class:`font-heading font-bold leading-tight ${N} ${O} w-full`},S.text)}}),k=Pe({props:["text","align","muted"],setup(S){const N={left:"text-left",center:"text-center",right:"text-right"}[S.align||"left"]||"text-left";return()=>me("p",{class:`text-lg lg:text-xl leading-relaxed w-full ${N} ${S.muted?"opacity-60":"opacity-80"}`},S.text)}}),T=Pe({props:["items"],setup(S){return()=>me("ul",{class:"space-y-3 w-full"},(S.items||[]).map(N=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("span",{},N)])))}}),x=Pe({props:["items"],setup(S){return()=>me("ol",{class:"space-y-3 w-full"},(S.items||[]).map((N,O)=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-7 h-7 rounded-lg bg-white/10 flex items-center justify-center text-sm font-bold flex-shrink-0"},O+1),me("span",{},N)])))}}),y=Pe({props:["label","action","variant","fullWidth"],emits:["action"],setup(S,{emit:N}){const O={primary:"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg hover:shadow-xl",secondary:"bg-white/10 text-white border border-white/20 hover:bg-white/20",outline:"bg-transparent text-white border-2 border-white/50 hover:border-white hover:bg-white/5",ghost:"bg-transparent text-white/70 hover:text-white hover:bg-white/5"}[S.variant||"primary"]||"bg-gradient-to-r from-blue-500 to-purple-600 text-white",B=()=>{N("action",{type:"click",label:S.label,value:S.action||S.label,origin:"flex-button"})};return()=>me("button",{class:`px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 cursor-pointer hover:scale-105 ${O} ${S.fullWidth?"w-full":""}`,onClick:B},S.label)}}),E=Pe({props:["items","compact"],setup(S){return()=>me("div",{class:"w-full space-y-4"},(S.items||[]).map(N=>me("div",{class:"flex gap-4 items-start border-l-2 border-blue-500/30 pl-4"},[me("div",{class:"flex-shrink-0 w-3 h-3 rounded-full bg-blue-500 -ml-[22px] mt-1.5 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("div",{},[me("span",{class:"text-xs text-blue-400 font-bold uppercase tracking-wider"},N.date),me("h4",{class:"font-bold text-lg"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),P=Pe({props:["items","compact"],setup(S){return()=>me("div",{class:"w-full space-y-4"},(S.items||[]).map(N=>me("div",{class:"flex gap-4 items-start p-4 rounded-lg bg-white/5 border border-white/10"},[me("div",{class:"flex-shrink-0 w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20 flex items-center justify-center font-bold text-blue-400"},N.step),me("div",{},[me("h4",{class:"font-bold"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),D=Pe({props:["size"],setup(S){const N=i[S.size||"md"]||i.md;return()=>me("div",{style:{height:N,width:"100%"}})}}),v=S=>({title:w,text:k,bullets:T,ordered:x,button:y,timeline:E,stepper:P,spacer:D})[S]||"div";return(S,N)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:"flex-layout w-full min-h-screen flex items-center justify-center",style:Lt(l.value)},[$("div",{class:X(["flex w-full h-full max-w-7xl mx-auto",u.value]),style:Lt(c.value)},[(V(!0),ee(Ee,null,vr(t.data.elements,(O,B)=>(V(),ee(Ee,{key:B},[O.type==="image"?(V(),ee("div",{key:0,class:X(f(O.size)),style:Lt(d(O))},[$("img",{src:O.src,alt:O.alt||"",class:X(["w-full h-full",O.fill!==!1?"object-cover":"object-contain",p(O.rounded,O.fill)])},null,10,k1)],6)):O.type==="content"?(V(),ee("div",{key:1,class:X(["flex flex-col",f(O.size)]),style:Lt(h(O))},[(V(!0),ee(Ee,null,vr(O.elements,(Y,se)=>(V(),Xe(Xi(v(Y.type)),uo({key:se,ref_for:!0},Y,{onAction:b}),null,16))),128))],6)):(V(),ee("div",{key:2,class:X(f(O.size)),style:Lt(_())},[(V(),Xe(Xi(v(O.type)),uo({ref_for:!0},O,{onAction:b}),null,16))],6))],64))),128))],6)],4)]),_:1},8,["data"]))}}),[["__scopeId","data-v-eccf62e4"]]),z1=Pe({__name:"LayoutAuto",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=Ce(()=>{var f,d,h,_;const i=n.data||{},s=Array.isArray(i.timeline)&&i.timeline.length>0,o=Array.isArray(i.steps)&&i.steps.length>0,a=Array.isArray(i.features)&&i.features.length>0,l=!!i.image,u=!!i.chartType&&!!((f=i.data)!=null&&f.datasets);let c="layout-statement";return u?c="layout-chart":s?c="layout-timeline":o?c="layout-steps":a?c="layout-features":l?c="layout-half":(((d=i.title)==null?void 0:d.length)||0)+(((h=i.subtitle)==null?void 0:h.length)||0)+(((_=i.paragraphs)==null?void 0:_.join("").length)||0),c});return(i,s)=>(V(),Xe(Xi(r.value),{data:t.data,onAction:s[0]||(s[0]=o=>i.$emit("action",o))},null,40,["data"]))}}),C1=["innerHTML"],O1=ba(Pe({__name:"LayoutCustom",props:{data:{}},setup(t){const e=t,n=`custom-slide-${Math.random().toString(36).slice(2,10)}`;function r(){if(i(),!e.data.css)return;const o=document.createElement("style");o.id=n,o.textContent=e.data.css,document.head.appendChild(o)}function i(){const o=document.getElementById(n);o&&o.remove()}Hn(()=>{r()}),mr(()=>e.data.css,()=>{r()}),Wn(()=>{i()});const s=Ce(()=>e.data.html?e.data.html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/on\w+\s*=\s*["'][^"']*["']/gi,"").replace(/javascript:/gi,""):"");return(o,a)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["custom-slide-wrapper relative w-full overflow-hidden",t.data.sizing==="container"?"h-full":"min-h-screen"])},[$("div",{class:"custom-html-content w-full h-full",innerHTML:s.value},null,8,C1)],2)]),_:1},8,["data"]))}}),[["__scopeId","data-v-b8b91621"]]),E1={key:0,class:"text-center mb-8 reveal-up"},$1={key:0,class:"text-4xl lg:text-5xl font-heading font-bold mb-3"},P1={key:1,class:"text-lg lg:text-xl opacity-60"},A1={key:1,class:"flex-1 flex items-center justify-center"},I1={key:2,class:"flex-1 flex items-center justify-center"},D1={key:3,class:"flex-1 flex items-center justify-center reveal-zoom max-w-5xl mx-auto w-full"},M1={class:"w-full h-full min-h-[300px] lg:min-h-[400px] relative"},N1=Pe({__name:"LayoutChart",props:{data:{}},setup(t){let e=null;const n=it(null),r=it(!0),i=t,s=it(null);let o=null;const a=async()=>{try{const d=await import("chart.js");return e=d.Chart,e.register(...d.registerables),r.value=!1,!0}catch{return n.value="Chart.js is required for chart slides. Install it with: npm install chart.js",r.value=!1,console.warn("[Lumina] chart.js not found. Install with: npm install chart.js"),!1}},l=(d,h)=>{if(!d){const _=["rgba(59, 130, 246, 0.8)","rgba(16, 185, 129, 0.8)","rgba(245, 158, 11, 0.8)","rgba(239, 68, 68, 0.8)","rgba(139, 92, 246, 0.8)","rgba(236, 72, 153, 0.8)"];return _[h%_.length]}switch(d){case"c:p":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-primary").trim()||"#3b82f6";case"c:s":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-secondary").trim()||"#10b981";case"c:m":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-muted").trim()||"#9ca3af";default:return d}},u=(d,h)=>{var p;const _=[];for(let b=0;b<h;b++)_.push(l((p=d[0])==null?void 0:p.color,b));return _},c=Ce(()=>{const{chartType:d,data:h}=i.data,_=d==="pie"||d==="doughnut";return{type:d,data:{labels:h.labels,datasets:h.datasets.map((p,b)=>({label:p.label,data:p.values,backgroundColor:_?u(h.datasets,h.labels.length):l(p.color,b),borderColor:_?"rgba(0, 0, 0, 0.2)":l(p.color,b),borderWidth:2,tension:d==="line"?.4:0,fill:d==="line"?!1:void 0}))},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0,position:"bottom",labels:{color:"rgba(255, 255, 255, 0.7)",padding:20,font:{family:"Inter, system-ui, sans-serif",size:12}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"#fff",bodyColor:"rgba(255, 255, 255, 0.8)",padding:12,cornerRadius:8,titleFont:{family:"Inter, system-ui, sans-serif",weight:"bold"},bodyFont:{family:"Inter, system-ui, sans-serif"}}},scales:_?{}:{x:{grid:{color:"rgba(255, 255, 255, 0.05)"},ticks:{color:"rgba(255, 255, 255, 0.6)",font:{family:"Inter, system-ui, sans-serif"}}},y:{grid:{color:"rgba(255, 255, 255, 0.05)"},ticks:{color:"rgba(255, 255, 255, 0.6)",font:{family:"Inter, system-ui, sans-serif"}}}}}}}),f=()=>{if(!s.value||!e)return;o&&o.destroy();const d=s.value.getContext("2d");d&&(o=new e(d,c.value))};return Hn(async()=>{await a()&&setTimeout(f,50)}),Wn(()=>{o&&(o.destroy(),o=null)}),mr(()=>i.data,()=>{f()},{deep:!0}),(d,h)=>(V(),Xe(Zn,{data:t.data},{default:Rt(()=>[$("div",{class:X(["w-full flex flex-col justify-center p-8 lg:p-16",t.data.sizing==="container"?"min-h-full py-8":"min-h-screen"])},[t.data.title||t.data.subtitle?(V(),ee("div",E1,[t.data.title?(V(),ee("h2",$1,ae(t.data.title),1)):Qe("",!0),t.data.subtitle?(V(),ee("p",P1,ae(t.data.subtitle),1)):Qe("",!0)])):Qe("",!0),n.value?(V(),ee("div",A1,[...h[0]||(h[0]=[$("div",{class:"text-center p-8 bg-red-500/10 border border-red-500/30 rounded-xl max-w-lg"},[$("svg",{class:"w-12 h-12 mx-auto mb-4 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[$("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})]),$("p",{class:"text-red-300 font-medium mb-2"},"Chart.js Required"),$("code",{class:"text-sm bg-black/30 px-3 py-1 rounded text-red-200"},"npm install chart.js")],-1)])])):r.value?(V(),ee("div",I1,[...h[1]||(h[1]=[$("div",{class:"animate-pulse text-white/40"},"Loading chart...",-1)])])):(V(),ee("div",D1,[$("div",M1,[$("canvas",{ref_key:"chartCanvas",ref:s},null,512)])]))],2)]),_:1},8,["data"]))}}),zi={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},td="lumina-theme-styles";class R1{static inject(e){let n;typeof e=="string"?n=zi[e]||zi.default:(n={...zi.default,...e},e.colors&&(n.colors={...zi.default.colors,...e.colors}),e.fonts&&(n.fonts={...zi.default.fonts,...e.fonts}));let r=document.getElementById(td);r||(r=document.createElement("style"),r.id=td,document.head.appendChild(r));const i=this.generateVars(n);r.innerHTML=`:root { ${i} }`}static generateVars(e){const n=[];if(e.colors){for(const[r,i]of Object.entries(e.colors))if(i){n.push(`--lumina-colors-${r}: ${i};`);const s=this.hexToRgb(i);s&&n.push(`--lumina-colors-${r}-rgb: ${s.r}, ${s.g}, ${s.b};`)}}if(e.fonts)for(const[r,i]of Object.entries(e.fonts))i&&n.push(`--lumina-font-${r}: ${i};`);return n.join(" ")}static hexToRgb(e){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}}class F1{constructor(e,n={}){nt(this,"app");nt(this,"store");nt(this,"speakerWindow",null);nt(this,"speakerChannel",null);nt(this,"speakerChannelId");nt(this,"speakerUnsubscribe",null);this.selector=e,this.speakerChannelId=`lumina-speaker-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,this.store=Gv(n),n.theme&&R1.inject(n.theme),this.app=kc(ed),this.app.provide(fi,this.store),mr(()=>this.store.state.currentIndex,(r,i)=>{var o;const s=(o=this.store.state.deck)==null?void 0:o.slides[r];s&&hn.emit("slideChange",{index:r,previousIndex:i??0,slide:s}),this.syncSpeakerNotes()}),this.app.component("layout-statement",n1),this.app.component("layout-half",c1),this.app.component("layout-features",f1),this.app.component("layout-timeline",b1),this.app.component("layout-steps",S1),this.app.component("layout-flex",T1),this.app.component("layout-auto",z1),this.app.component("layout-custom",O1),this.app.component("layout-chart",N1),hn.on("action",r=>{this.store.recordAction(r)}),this.app.mount(this.selector)}load(e){this.store.loadDeck(e),hn.emit("ready",e),this.syncSpeakerNotes()}patch(e){this.store.patchDeck(e),this.syncSpeakerNotes()}exportState(){const{currentIndex:e,deck:n,actionHistory:r}=this.store.state,i=n==null?void 0:n.slides[e],s=r.map(a=>`User ${a.type}ed on ${a.label||a.value}`).join(" -> "),o=r.length>5?"High Engagement":"Low Engagement";return Object.freeze({status:"active",currentSlide:{index:e,id:(i==null?void 0:i.id)||e,type:i==null?void 0:i.type,title:(i&&"title"in i?i.title:null)||"(No Title)"},narrative:`User is currently on slide ${e+1}. Session Flow: ${s||"Just started"}.`,engagementLevel:o,history:[...r]})}on(e,n){hn.on(e,n)}off(e,n){hn.off(e,n)}destroy(){this.closeSpeakerNotes(),this.app&&(this.app.unmount(),this.app=null),hn.clear()}get currentSlideIndex(){return this.store.state.currentIndex}goTo(e){this.store.goto(e),this.syncSpeakerNotes()}next(){this.store.next(),this.syncSpeakerNotes()}prev(){this.store.prev(),this.syncSpeakerNotes()}openSpeakerNotes(){if(this.speakerWindow&&!this.speakerWindow.closed)return this.speakerWindow.focus(),this.speakerWindow;if(!Lr.isSupported())return console.error("[Lumina] BroadcastChannel not supported. Speaker notes require a modern browser."),null;const e=600,n=800,r=window.screenX+window.outerWidth,i=window.screenY;if(this.speakerWindow=window.open("about:blank",`lumina-speaker-notes-${this.speakerChannelId}`,`width=${e},height=${n},left=${r},top=${i},resizable=yes,scrollbars=yes`),!this.speakerWindow)return console.warn("[Lumina] Popup blocked. Please allow popups for speaker notes."),null;const s=this.speakerWindow;return s.document.open(),s.document.write(`
55
+ */var Lf,Nn,Rr,ga,or,jf,_a,rb=function(){return typeof window<"u"},vn={},ar=180/Math.PI,Fr=Math.PI/180,Zr=Math.atan2,Uf=1e8,va=/([A-Z])/g,ib=/(left|right|width|margin|padding|x)/i,sb=/[\s,\(]\S/,Gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ya=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},ob=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},ab=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},lb=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},cb=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},Vf=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},Bf=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},ub=function(e,n,r){return e.style[n]=r},fb=function(e,n,r){return e.style.setProperty(n,r)},db=function(e,n,r){return e._gsap[n]=r},hb=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},pb=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},mb=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},$e="transform",ft=$e+"Origin",gb=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in vn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Gt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=yn(i,a)}):this.tfm[e]=o.x?o[e]:yn(i,e),e===ft&&(this.tfm.zOrigin=o.zOrigin);else return Gt.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf($e)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ft,n,"")),e=$e}(s||n)&&this.props.push(e,n,s[e])},Wf=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},_b=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(va,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=_a(),(!s||!s.isStart)&&!r[$e]&&(Wf(r),i.zOrigin&&r[ft]&&(r[ft]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Hf=function(e,n){var r={target:e,props:[],revert:_b,save:gb};return e._gsap||ut.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},Jf,ba=function(e,n){var r=Nn.createElementNS?Nn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Nn.createElement(e);return r&&r.style?r:Nn.createElement(e)},St=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(va,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Lr(n)||n,1)||""},Kf="O,Moz,ms,Ms,Webkit".split(","),Lr=function(e,n,r){var i=n||or,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Kf[o]+e in s););return o<0?null:(o===3?"ms":o>=0?Kf[o]:"")+e},xa=function(){rb()&&window.document&&(Lf=window,Nn=Lf.document,Rr=Nn.documentElement,or=ba("div")||{style:{}},ba("div"),$e=Lr($e),ft=$e+"Origin",or.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jf=!!Lr("perspective"),_a=ut.core.reverting,ga=1)},qf=function(e){var n=e.ownerSVGElement,r=ba("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),Rr.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),Rr.removeChild(r),s},Yf=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},Gf=function(e){var n,r;try{n=e.getBBox()}catch{n=qf(e),r=1}return n&&(n.width||n.height)||r||(n=qf(e)),n&&!n.width&&!n.x&&!n.y?{x:+Yf(e,["x","cx","x1"])||0,y:+Yf(e,["y","cy","y1"])||0,width:0,height:0}:n},Xf=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Gf(e))},Rn=function(e,n){if(n){var r=e.style,i;n in vn&&n!==ft&&(n=$e),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(va,"-$1").toLowerCase())):r.removeAttribute(n)}},Fn=function(e,n,r,i,s,o){var a=new ct(e._pt,n,r,0,1,o?Bf:Vf);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},Qf={deg:1,rad:1,turn:1},vb={grid:1,flex:1},Zn=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=or.style,l=ib.test(n),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,d=i==="px",h=i==="%",m,p,y,x;if(i===o||!s||Qf[i]||Qf[o])return s;if(o!=="px"&&!d&&(s=t(e,n,r,"px")),x=e.getCTM&&Xf(e),(h||o==="%")&&(vn[n]||~n.indexOf("adius")))return m=x?e.getBBox()[l?"width":"height"]:e[c],De(h?s/m*f:s/100*m);if(a[l?"width":"height"]=f+(d?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Nn||!p.appendChild)&&(p=Nn.body),y=p._gsap,y&&h&&y.width&&l&&y.time===wt.time&&!y.uncache)return De(s/y.width*f);if(h&&(n==="height"||n==="width")){var k=e.style[n];e.style[n]=f+i,m=e[c],k?e.style[n]=k:Rn(e,n)}else(h||o==="%")&&!vb[St(p,"display")]&&(a.position=St(e,"position")),p===e&&(a.position="static"),p.appendChild(or),m=or[c],p.removeChild(or),a.position="absolute";return l&&h&&(y=tr(p),y.time=wt.time,y.width=p[c]),De(d?m*s/f:m&&s?f/m*s:0)},yn=function(e,n,r,i){var s;return ga||xa(),n in Gt&&n!=="transform"&&(n=Gt[n],~n.indexOf(",")&&(n=n.split(",")[0])),vn[n]&&n!=="transform"?(s=Ti(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:Ds(St(e,ft))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Is[n]&&Is[n](e,n,r)||St(e,n)||tf(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Zn(e,n,s,r)+r:s},yb=function(e,n,r,i){if(!r||r==="none"){var s=Lr(n,e,1),o=s&&St(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=St(e,"borderTopColor"))}var a=new ct(this._pt,e.style,n,0,1,Nf),l=0,u=0,c,f,d,h,m,p,y,x,k,z,b,S;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=St(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=St(e,n)||i,p?e.style[n]=p:Rn(e,n)),c=[r,i],zf(c),r=c[0],i=c[1],d=r.match(Er)||[],S=i.match(Er)||[],S.length){for(;f=Er.exec(i);)y=f[0],k=i.substring(l,f.index),m?m=(m+1)%5:(k.substr(-5)==="rgba("||k.substr(-5)==="hsla(")&&(m=1),y!==(p=d[u++]||"")&&(h=parseFloat(p)||0,b=p.substr((h+"").length),y.charAt(1)==="="&&(y=Pr(h,y)+b),x=parseFloat(y),z=y.substr((x+"").length),l=Er.lastIndex-z.length,z||(z=z||_t.units[n]||b,l===i.length&&(i+=z,a.e+=z)),b!==z&&(h=Zn(e,n,p,z)||0),a._pt={_next:a._pt,p:k||u===1?k:",",s:h,c:x-h,m:m&&m<4||n==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=n==="display"&&i==="none"?Bf:Vf;return qu.test(i)&&(a.e=0),this._pt=a,a},ed={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},bb=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=ed[r]||r,n[1]=ed[i]||i,n.join(" ")},xb=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)a=s[u],vn[a]&&(l=1,a=a==="transformOrigin"?ft:$e),Rn(r,a);l&&(Rn(r,$e),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ti(r,1),o.uncache=1,Wf(i)))}},Is={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new ct(e._pt,n,r,0,0,xb);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},ki=[1,0,0,1,0,0],td={},nd=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},rd=function(e){var n=St(e,$e);return nd(n)?ki:n.substr(7).match(Ku).map(De)},wa=function(e,n){var r=e._gsap||tr(e),i=e.style,s=rd(e),o,a,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?ki:s):(s===ki&&!e.offsetParent&&e!==Rr&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Rr.appendChild(e)),s=rd(e),l?i.display=l:Rn(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):Rr.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sa=function(e,n,r,i,s,o){var a=e._gsap,l=s||wa(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,h=l[0],m=l[1],p=l[2],y=l[3],x=l[4],k=l[5],z=n.split(" "),b=parseFloat(z[0])||0,S=parseFloat(z[1])||0,E,w,A,v;r?l!==ki&&(w=h*y-m*p)&&(A=b*(y/w)+S*(-p/w)+(p*k-y*x)/w,v=b*(-m/w)+S*(h/w)-(h*k-m*x)/w,b=A,S=v):(E=Gf(e),b=E.x+(~z[0].indexOf("%")?b/100*E.width:b),S=E.y+(~(z[1]||z[0]).indexOf("%")?S/100*E.height:S)),i||i!==!1&&a.smooth?(x=b-u,k=S-c,a.xOffset=f+(x*h+k*p)-x,a.yOffset=d+(x*m+k*y)-k):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=S,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[ft]="0px 0px",o&&(Fn(o,a,"xOrigin",u,b),Fn(o,a,"yOrigin",c,S),Fn(o,a,"xOffset",f,a.xOffset),Fn(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+S)},Ti=function(e,n){var r=e._gsap||new Ef(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),u=St(e,ft)||"0",c,f,d,h,m,p,y,x,k,z,b,S,E,w,A,v,F,P,T,I,K,ne,Q,ee,te,Mt,Qt,kt,Ze,Oi,Lt,bn;return c=f=d=p=y=x=k=z=b=0,h=m=1,r.svg=!!(e.getCTM&&Xf(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[$e]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[$e]!=="none"?l[$e]:"")),i.scale=i.rotate=i.translate="none"),w=wa(e,r.svg),r.svg&&(r.uncache?(te=e.getBBox(),u=r.xOrigin-te.x+"px "+(r.yOrigin-te.y)+"px",ee=""):ee=!n&&e.getAttribute("data-svg-origin"),Sa(e,ee||u,!!ee||r.originIsAbsolute,r.smooth!==!1,w)),S=r.xOrigin||0,E=r.yOrigin||0,w!==ki&&(P=w[0],T=w[1],I=w[2],K=w[3],c=ne=w[4],f=Q=w[5],w.length===6?(h=Math.sqrt(P*P+T*T),m=Math.sqrt(K*K+I*I),p=P||T?Zr(T,P)*ar:0,k=I||K?Zr(I,K)*ar+p:0,k&&(m*=Math.abs(Math.cos(k*Fr))),r.svg&&(c-=S-(S*P+E*I),f-=E-(S*T+E*K))):(bn=w[6],Oi=w[7],Qt=w[8],kt=w[9],Ze=w[10],Lt=w[11],c=w[12],f=w[13],d=w[14],A=Zr(bn,Ze),y=A*ar,A&&(v=Math.cos(-A),F=Math.sin(-A),ee=ne*v+Qt*F,te=Q*v+kt*F,Mt=bn*v+Ze*F,Qt=ne*-F+Qt*v,kt=Q*-F+kt*v,Ze=bn*-F+Ze*v,Lt=Oi*-F+Lt*v,ne=ee,Q=te,bn=Mt),A=Zr(-I,Ze),x=A*ar,A&&(v=Math.cos(-A),F=Math.sin(-A),ee=P*v-Qt*F,te=T*v-kt*F,Mt=I*v-Ze*F,Lt=K*F+Lt*v,P=ee,T=te,I=Mt),A=Zr(T,P),p=A*ar,A&&(v=Math.cos(A),F=Math.sin(A),ee=P*v+T*F,te=ne*v+Q*F,T=T*v-P*F,Q=Q*v-ne*F,P=ee,ne=te),y&&Math.abs(y)+Math.abs(p)>359.9&&(y=p=0,x=180-x),h=De(Math.sqrt(P*P+T*T+I*I)),m=De(Math.sqrt(Q*Q+bn*bn)),A=Zr(ne,Q),k=Math.abs(A)>2e-4?A*ar:0,b=Lt?1/(Lt<0?-Lt:Lt):0),r.svg&&(ee=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!nd(St(e,$e)),ee&&e.setAttribute("transform",ee))),Math.abs(k)>90&&Math.abs(k)<270&&(s?(h*=-1,k+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,k+=k<=0?180:-180)),n=n||r.uncache,r.x=c-((r.xPercent=c&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=De(h),r.scaleY=De(m),r.rotation=De(p)+a,r.rotationX=De(y)+a,r.rotationY=De(x)+a,r.skewX=k+a,r.skewY=z+a,r.transformPerspective=b+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(i[ft]=Ds(u)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?Sb:Jf?id:wb,r.uncache=0,r},Ds=function(e){return(e=e.split(" "))[0]+" "+e[1]},ka=function(e,n,r){var i=Ge(n);return De(parseFloat(n)+parseFloat(Zn(e,"x",r+"px",i)))+i},wb=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,id(e,n)},lr="0deg",zi="0px",cr=") ",id=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,d=r.skewX,h=r.skewY,m=r.scaleX,p=r.scaleY,y=r.transformPerspective,x=r.force3D,k=r.target,z=r.zOrigin,b="",S=x==="auto"&&e&&e!==1||x===!0;if(z&&(f!==lr||c!==lr)){var E=parseFloat(c)*Fr,w=Math.sin(E),A=Math.cos(E),v;E=parseFloat(f)*Fr,v=Math.cos(E),o=ka(k,o,w*v*-z),a=ka(k,a,-Math.sin(E)*-z),l=ka(k,l,A*v*-z+z)}y!==zi&&(b+="perspective("+y+cr),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(S||o!==zi||a!==zi||l!==zi)&&(b+=l!==zi||S?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+cr),u!==lr&&(b+="rotate("+u+cr),c!==lr&&(b+="rotateY("+c+cr),f!==lr&&(b+="rotateX("+f+cr),(d!==lr||h!==lr)&&(b+="skew("+d+", "+h+cr),(m!==1||p!==1)&&(b+="scale("+m+", "+p+cr),k.style[$e]=b||"translate(0, 0)"},Sb=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,d=r.scaleY,h=r.target,m=r.xOrigin,p=r.yOrigin,y=r.xOffset,x=r.yOffset,k=r.forceCSS,z=parseFloat(o),b=parseFloat(a),S,E,w,A,v;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Fr,u*=Fr,S=Math.cos(l)*f,E=Math.sin(l)*f,w=Math.sin(l-u)*-d,A=Math.cos(l-u)*d,u&&(c*=Fr,v=Math.tan(u-c),v=Math.sqrt(1+v*v),w*=v,A*=v,c&&(v=Math.tan(c),v=Math.sqrt(1+v*v),S*=v,E*=v)),S=De(S),E=De(E),w=De(w),A=De(A)):(S=f,A=d,E=w=0),(z&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(z=Zn(h,"x",o,"px"),b=Zn(h,"y",a,"px")),(m||p||y||x)&&(z=De(z+m-(m*S+p*w)+y),b=De(b+p-(m*E+p*A)+x)),(i||s)&&(v=h.getBBox(),z=De(z+i/100*v.width),b=De(b+s/100*v.height)),v="matrix("+S+","+E+","+w+","+A+","+z+","+b+")",h.setAttribute("transform",v),k&&(h.style[$e]=v)},kb=function(e,n,r,i,s){var o=360,a=Fe(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?ar:1),u=l-i,c=i+u+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),f==="cw"&&u<0?u=(u+o*Uf)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*Uf)%o-~~(u/o)*o)),e._pt=d=new ct(e._pt,n,r,i,u,ob),d.e=c,d.u="deg",e._props.push(r),d},sd=function(e,n){for(var r in n)e[r]=n[r];return e},Tb=function(e,n,r){var i=sd({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,c,f,d,h,m;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[$e]=n,a=Ti(r,1),Rn(r,$e),r.setAttribute("transform",u)):(u=getComputedStyle(r)[$e],o[$e]=n,a=Ti(r,1),o[$e]=u);for(l in vn)u=i[l],c=a[l],u!==c&&s.indexOf(l)<0&&(h=Ge(u),m=Ge(c),f=h!==m?Zn(r,l,u,m):parseFloat(u),d=parseFloat(c),e._pt=new ct(e._pt,a,l,f,d-f,ya),e._pt.u=m||0,e._props.push(l));sd(a,i)};lt("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});Is[e>1?"border"+t:t]=function(a,l,u,c,f){var d,h;if(arguments.length<4)return d=o.map(function(m){return yn(a,m,u)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(c+"").split(" "),h={},o.forEach(function(m,p){return h[m]=d[p]=d[p]||d[(p-1)/2|0]}),a.init(l,h,f)}});var od={name:"css",register:xa,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,u,c,f,d,h,m,p,y,x,k,z,b,S,E,w,A,v;ga||xa(),this.styles=this.styles||Hf(e),A=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(c=n[p],!(yt[p]&&Pf(p,n,r,i,e,s)))){if(h=typeof c,m=Is[p],h==="function"&&(c=c.call(r,i,e,s),h=typeof c),h==="string"&&~c.indexOf("random(")&&(c=vi(c)),m)m(this,e,p,c,r)&&(w=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Dn.lastIndex=0,Dn.test(u)||(y=Ge(u),x=Ge(c),x?y!==x&&(u=Zn(e,p,u,x)+x):y&&(c+=y)),this.add(a,"setProperty",u,c,i,s,0,0,p),o.push(p),A.push(p,0,a[p]);else if(h!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],Fe(u)&&~u.indexOf("random(")&&(u=vi(u)),Ge(u+"")||u==="auto"||(u+=_t.units[p]||Ge(yn(e,p))||""),(u+"").charAt(1)==="="&&(u=yn(e,p))):u=yn(e,p),d=parseFloat(u),k=h==="string"&&c.charAt(1)==="="&&c.substr(0,2),k&&(c=c.substr(2)),f=parseFloat(c),p in Gt&&(p==="autoAlpha"&&(d===1&&yn(e,"visibility")==="hidden"&&f&&(d=0),A.push("visibility",0,a.visibility),Fn(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=Gt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),z=p in vn,z){if(this.styles.save(p),v=c,h==="string"&&c.substring(0,6)==="var(--"){if(c=St(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var F=e.style.perspective;e.style.perspective=c,c=St(e,"perspective"),F?e.style.perspective=F:Rn(e,"perspective")}f=parseFloat(c)}if(b||(S=e._gsap,S.renderTransform&&!n.parseTransform||Ti(e,n.parseTransform),E=n.smoothOrigin!==!1&&S.smooth,b=this._pt=new ct(this._pt,a,$e,0,1,S.renderTransform,S,0,-1),b.dep=1),p==="scale")this._pt=new ct(this._pt,S,"scaleY",S.scaleY,(k?Pr(S.scaleY,k+f):f)-S.scaleY||0,ya),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){A.push(ft,0,a[ft]),c=bb(c),S.svg?Sa(e,c,0,E,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==S.zOrigin&&Fn(this,S,"zOrigin",S.zOrigin,x),Fn(this,a,p,Ds(u),Ds(c)));continue}else if(p==="svgOrigin"){Sa(e,c,1,E,0,this);continue}else if(p in td){kb(this,S,p,d,k?Pr(d,k+c):c);continue}else if(p==="smoothOrigin"){Fn(this,S,"smooth",S.smooth,c);continue}else if(p==="force3D"){S[p]=c;continue}else if(p==="transform"){Tb(this,c,e);continue}}else p in a||(p=Lr(p)||p);if(z||(f||f===0)&&(d||d===0)&&!sb.test(c)&&p in a)y=(u+"").substr((d+"").length),f||(f=0),x=Ge(c)||(p in _t.units?_t.units[p]:y),y!==x&&(d=Zn(e,p,u,x)),this._pt=new ct(this._pt,z?S:a,p,d,(k?Pr(d,k+f):f)-d,!z&&(x==="px"||p==="zIndex")&&n.autoRound!==!1?cb:ya),this._pt.u=x||0,z&&v!==c?(this._pt.b=u,this._pt.e=v,this._pt.r=lb):y!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=ab);else if(p in a)yb.call(this,e,p,u,k?k+c:c);else if(p in e)this.add(e,p,u||e[p],k?k+c:c,i,s);else if(p!=="parseTransform"){Ho(p,c);continue}z||(p in a?A.push(p,0,a[p]):typeof e[p]=="function"?A.push(p,2,e[p]()):A.push(p,1,u||e[p])),o.push(p)}}w&&Rf(this)},render:function(e,n){if(n.tween._time||!_a())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:yn,aliases:Gt,getSetter:function(e,n,r){var i=Gt[n];return i&&i.indexOf(",")<0&&(n=i),n in vn&&n!==ft&&(e._gsap.x||yn(e,"x"))?r&&jf===r?n==="scale"?hb:db:(jf=r||{})&&(n==="scale"?pb:mb):e.style&&!jo(e.style[n])?ub:~n.indexOf("-")?fb:fa(e,n)},core:{_removeProperty:Rn,_getMatrix:wa}};ut.utils.checkPrefix=Lr,ut.core.getStyleSaver=Hf,function(t,e,n,r){var i=lt(t+","+e+","+n,function(s){vn[s]=1});lt(e,function(s){_t.units[s]="deg",td[s]=1}),Gt[i[13]]=t+","+e,lt(r,function(s){var o=s.split(":");Gt[o[1]]=i[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),lt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){_t.units[t]="px"}),ut.registerPlugin(od);var Xt=ut.registerPlugin(od)||ut;Xt.core.Tween;const zb={class:"h-full w-full relative flex flex-col text-white overflow-hidden",style:{"background-color":"var(--lumina-colors-background, #030303)",color:"var(--lumina-colors-text, #ffffff)"}},Cb={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},Ob={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},$b={class:"relative h-full w-full md:w-[450px] bg-[#0a0a0a]/95 border-l border-white/10 shadow-2xl overflow-auto text-left flex flex-col transform transition-transform duration-300"},Eb={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},Pb={class:"p-6"},Ab={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},Ib={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},Db={key:1,class:"absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},Mb={key:0,class:"pointer-events-auto text-left"},Nb={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Rb={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},Fb={key:0,class:"h-px w-8 bg-white/20"},Zb={key:1,class:"flex-1"},Lb={key:2,class:"pointer-events-auto flex gap-3"},jb=["disabled"],Ub=["disabled"],ad=Te({__name:"LuminaDeck",setup(t){const{slide:e,index:n,total:r,next:i,prev:s,options:o}=oy(),a=cn(di),l=le(()=>a.hasNext()),u=le(()=>a.hasPrev()),c=le(()=>{var E,w;return(w=(E=a.state.deck)==null?void 0:E.meta)==null?void 0:w.title}),f=le(()=>a.state.options.ui),d=le(()=>a.state.options.navigation);ay();const h=be({showJson:!1}),m=cn("LuminaEngine"),p=()=>{m&&typeof m.openSpeakerNotes=="function"?m.openSpeakerNotes():(console.warn("Lumina Engine not found or openSpeakerNotes not available"),alert("Speaker notes require the full Lumina Engine environment."))},y=le(()=>o.debug),x=le(()=>!e.value||!e.value.type?null:`layout-${e.value.type}`),k=le(()=>{var E,w,A,v,F,P,T,I;return{backgroundColor:((w=(E=e.value)==null?void 0:E.meta)==null?void 0:w.orbColor)||"var(--lumina-colors-primary, #3b82f6)",width:"60vw",height:"60vw",top:((F=(v=(A=e.value)==null?void 0:A.meta)==null?void 0:v.orbPos)==null?void 0:F.top)||"-20%",left:((I=(T=(P=e.value)==null?void 0:P.meta)==null?void 0:T.orbPos)==null?void 0:I.left)||"-10%"}}),z=E=>{mn.emit("action",E)},b=(E,w)=>{const A=E;A.style.opacity="1",w()},S=(E,w)=>{var T,I,K;const{options:A}=a.state;if(((T=A.animation)==null?void 0:T.enabled)===!1){w();return}const v=((I=A.animation)==null?void 0:I.durationOut)||.5,F=((K=A.animation)==null?void 0:K.type)||"cascade",P=Xt.timeline({onComplete:w});F==="fade"?P.to(E,{opacity:0,duration:v}):F==="zoom"?P.to(E,{opacity:0,scale:1.1,duration:v}):P.to(E,{opacity:0,y:-20,duration:v,ease:"power2.in"})};return(E,w)=>{var A,v,F,P,T;return V(),H("div",zb,[$("div",Cb,[$("div",{class:"ambient-orb",style:Qe(k.value)},null,4),w[6]||(w[6]=$("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),y.value?(V(),H("div",Ob,[$("button",{onClick:w[0]||(w[0]=I=>h.value.showJson=!h.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...w[7]||(w[7]=[$("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):Ee("",!0),Ie(vo,{name:"fade"},{default:Ot(()=>[h.value.showJson?(V(),H("div",{key:0,class:"fixed inset-0 z-[100] flex justify-end",onClick:w[3]||(w[3]=$c(I=>h.value.showJson=!1,["self"]))},[$("div",{class:"absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",onClick:w[1]||(w[1]=I=>h.value.showJson=!1)}),$("div",$b,[$("div",Eb,[w[9]||(w[9]=$("span",{class:"text-xs font-bold text-gray-400 uppercase tracking-widest"},"Slide Data",-1)),$("button",{onClick:w[2]||(w[2]=I=>h.value.showJson=!1),class:"w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center text-white/50 hover:text-white transition"},[...w[8]||(w[8]=[$("i",{class:"fa-solid fa-xmark"},null,-1)])])]),$("div",Pb,[$("pre",Ab,ie(JSON.stringify(Ft(e),null,2)),1)])])])):Ee("",!0)]),_:1}),$("main",Ib,[Ie(vo,{css:!1,onLeave:S,onEnter:b,mode:"out-in"},{default:Ot(()=>[x.value?(V(),He(es(x.value),{key:Ft(n),data:Ft(e),onAction:z,class:"min-h-full w-full"},null,40,["data"])):Ee("",!0)]),_:1})]),(A=f.value)!=null&&A.visible?(V(),H("div",Db,[(v=f.value)!=null&&v.showSlideCount?(V(),H("div",Mb,[$("h2",Nb,ie(c.value),1),$("div",Rb,[$("span",null,ie((Ft(n)+1).toString().padStart(2,"0")),1),(F=f.value)!=null&&F.showProgressBar?(V(),H("div",Fb)):Ee("",!0),$("span",null,ie(Ft(r).toString().padStart(2,"0")),1)])])):(V(),H("div",Zb)),(P=f.value)!=null&&P.showControls?(V(),H("div",Lb,[(T=Ft(e))!=null&&T.notes?(V(),H("button",{key:0,onClick:p,class:"w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",title:"Open Speaker View"},[...w[10]||(w[10]=[$("i",{class:"fa-solid fa-person-chalkboard text-sm text-gray-400 hover:text-white"},null,-1)])])):Ee("",!0),$("button",{onClick:w[4]||(w[4]=(...I)=>Ft(s)&&Ft(s)(...I)),class:Y(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!u.value||!d.value?"opacity-30 cursor-not-allowed":""]),disabled:!u.value||!d.value},[...w[11]||(w[11]=[$("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,jb),$("button",{onClick:w[5]||(w[5]=(...I)=>Ft(i)&&Ft(i)(...I)),class:Y(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!d.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!d.value},[...w[12]||(w[12]=[$("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Ub)])):Ee("",!0)])):Ee("",!0)])}}}),Dt=class Dt{constructor(e){it(this,"channel",null);it(this,"handlers",new Set);it(this,"lastTimestamp",0);it(this,"heartbeatInterval",null);it(this,"isConnected",!1);it(this,"connectionHandlers",new Set);this.channelName=e,this.initChannel()}static getInstance(e,n=!1){return n?new Dt(e):(Dt.instances.has(e)||Dt.instances.set(e,new Dt(e)),Dt.instances.get(e))}static isSupported(){return typeof BroadcastChannel<"u"}initChannel(){if(!Dt.isSupported()){console.warn("[SpeakerChannel] BroadcastChannel not supported in this environment");return}try{this.channel=new BroadcastChannel(this.channelName),this.channel.onmessage=e=>{const n=e.data;if(!(n.timestamp&&n.timestamp===this.lastTimestamp)){if(n.action==="ping"){this.send({action:"pong"}),this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}});return}if(n.action==="pong"){this.setConnected(!0);return}if(n.action==="close"){this.setConnected(!1);return}this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}})}},this.channel.onmessageerror=e=>{console.error("[SpeakerChannel] Message error:",e)},this.startHeartbeat()}catch(e){console.error("[SpeakerChannel] Failed to initialize:",e)}}send(e){if(!this.channel)return;const n={...e,timestamp:Date.now(),channelId:this.channelName};this.lastTimestamp=n.timestamp,this.channel.postMessage(n)}subscribe(e){return this.handlers.add(e),()=>this.handlers.delete(e)}onConnectionChange(e){return this.connectionHandlers.add(e),e(this.isConnected),()=>this.connectionHandlers.delete(e)}get connected(){return this.isConnected}ping(){this.send({action:"ping"})}notifyClose(){this.send({action:"close"})}startHeartbeat(){this.ping(),this.heartbeatInterval=setInterval(()=>{(this.handlers.size>0||this.connectionHandlers.size>0)&&this.ping()},5e3)}setConnected(e){this.isConnected!==e&&(this.isConnected=e,this.connectionHandlers.forEach(n=>n(e)))}destroy(){this.notifyClose(),this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null),this.channel&&(this.channel.close(),this.channel=null),this.handlers.clear(),this.connectionHandlers.clear(),Dt.instances.delete(this.channelName)}static destroyAll(){Dt.instances.forEach(e=>e.destroy()),Dt.instances.clear()}};it(Dt,"instances",new Map);let jr=Dt;const Vb={class:"speaker-notes"},Bb={class:"sn-header"},Wb={class:"sn-status"},Hb={class:"sn-slide-count"},Jb={class:"sn-content"},Kb={class:"sn-notes-section"},qb=["innerHTML"],Yb={key:1,class:"sn-notes-empty"},Gb={class:"sn-footer"},Xb={class:"sn-nav-controls"},Qb=["disabled"],e1={class:"sn-timer-value"},t1=["disabled"],n1=Te({__name:"LuminaSpeakerNotes",props:{channelId:{}},setup(t){const e=t,n=be(0),r=be(0),i=be(""),s=be(null),o=be(!1),a=be(null),l=be(0),u=be(!1),c=be(null),f=le(()=>r.value===0?"No slides loaded":`Slide ${n.value+1} / ${r.value}`),d=le(()=>{const v=Math.floor(l.value/3600),F=Math.floor(l.value%3600/60),P=l.value%60;return v>0?`${v.toString().padStart(2,"0")}:${F.toString().padStart(2,"0")}:${P.toString().padStart(2,"0")}`:`${F.toString().padStart(2,"0")}:${P.toString().padStart(2,"0")}`}),h=le(()=>n.value<r.value-1),m=le(()=>n.value>0);function p(v){return v?v.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/__(.*?)__/g,"<strong>$1</strong>").replace(new RegExp("(?<!\\*)\\*(?!\\*)(.*?)(?<!\\*)\\*(?!\\*)","g"),"<em>$1</em>").replace(new RegExp("(?<!_)_(?!_)(.*?)(?<!_)_(?!_)","g"),"<em>$1</em>").replace(/\n/g,"<br>").replace(/^[-*]\s+(.*)$/gm,"<li>$1</li>").replace(/(<li>.*<\/li>)/gs,"<ul>$1</ul>").replace(/<\/ul>\s*<ul>/g,""):""}function y(){const v=new URLSearchParams(window.location.search),F=e.channelId||v.get("channel")||"lumina-speaker-default";a.value=jr.getInstance(F,!0),a.value.onConnectionChange(K=>{o.value=K}),a.value.subscribe(x);let P=0;const T=10,I=setInterval(()=>{var K;if(r.value>0||P>=T){clearInterval(I);return}(K=a.value)==null||K.ping(),P++},300);a.value.ping()}function x(v){switch(v.action){case"state":v.index!==void 0&&(n.value=v.index),v.totalSlides!==void 0&&(r.value=v.totalSlides),v.currentNotes!==void 0&&(i.value=v.currentNotes),v.nextSlidePreview&&(s.value=v.nextSlidePreview);break;case"goto":v.index!==void 0&&(n.value=v.index);break}}function k(){var v;h.value&&((v=a.value)==null||v.send({action:"next"}))}function z(){var v;m.value&&((v=a.value)==null||v.send({action:"prev"}))}function b(){u.value||(u.value=!0,c.value=setInterval(()=>{l.value++},1e3))}function S(){u.value=!1,c.value&&(clearInterval(c.value),c.value=null)}function E(){u.value?S():b()}function w(){S(),l.value=0}function A(v){switch(v.key){case"ArrowRight":case" ":case"Enter":v.preventDefault(),k();break;case"ArrowLeft":case"Backspace":v.preventDefault(),z();break;case"t":case"T":v.preventDefault(),E();break;case"r":case"R":if(v.ctrlKey||v.metaKey)return;v.preventDefault(),w();break}}return kn(()=>{y(),window.addEventListener("keydown",A),window.addEventListener("beforeunload",()=>{var v;(v=a.value)==null||v.notifyClose()})}),Jn(()=>{var v;S(),window.removeEventListener("keydown",A),(v=a.value)==null||v.destroy()}),(v,F)=>(V(),H("div",Vb,[$("header",Bb,[F[0]||(F[0]=tp('<div class="sn-title" data-v-63b98fd9><svg class="sn-logo" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-63b98fd9><path d="M12 2L2 7l10 5 10-5-10-5z" data-v-63b98fd9></path><path d="M2 17l10 5 10-5" data-v-63b98fd9></path><path d="M2 12l10 5 10-5" data-v-63b98fd9></path></svg><span data-v-63b98fd9>Lumina Speaker Notes</span></div>',1)),$("div",Wb,[$("span",{class:Y(["sn-indicator",{connected:o.value}])},null,2),$("span",Hb,ie(f.value),1)])]),$("main",Jb,[$("section",Kb,[F[2]||(F[2]=$("h2",{class:"sn-section-title"},"Notes",-1)),i.value?(V(),H("div",{key:0,class:"sn-notes-content",innerHTML:p(i.value)},null,8,qb)):(V(),H("div",Yb,[...F[1]||(F[1]=[$("p",null,"No notes for this slide",-1)])]))])]),$("footer",Gb,[$("div",Xb,[$("button",{class:"sn-btn sn-btn-nav",disabled:!m.value,onClick:z,title:"Previous (← or Backspace)"},[...F[3]||(F[3]=[$("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[$("polyline",{points:"15 18 9 12 15 6"})],-1),$("span",null,"Prev",-1)])],8,Qb),$("div",{class:"sn-timer",onClick:E,title:"Click to start/pause (T)"},[$("span",{class:Y(["sn-timer-icon",{running:u.value}])},ie(u.value?"⏸":"▶"),3),$("span",e1,ie(d.value),1),$("button",{class:"sn-timer-reset",onClick:$c(w,["stop"]),title:"Reset timer (R)"},"↻")]),$("button",{class:"sn-btn sn-btn-nav sn-btn-primary",disabled:!h.value,onClick:k,title:"Next (→, Space, or Enter)"},[...F[4]||(F[4]=[$("span",null,"Next",-1),$("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[$("polyline",{points:"9 18 15 12 9 6"})],-1)])],8,t1)])])]))}}),Ms=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},r1=Ms(n1,[["__scopeId","data-v-63b98fd9"]]);function i1(t,e){const n=cn(di);let r=null;const i=()=>{if(!t.value||!n)return;r==null||r.revert();const{enabled:s,type:o,durationIn:a,stagger:l,ease:u}=n.state.options.animation||{};if(s===!1){Xt.set(t.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}r=Xt.context(()=>{const c=t.value,f=o==="fade",d=o==="slide",h=o==="zoom",m=f?0:d?80:40,p=h?.8:o==="cascade"?.95:1;c.querySelector(".reveal-up")&&Xt.set(".reveal-up",{y:m,opacity:0}),c.querySelector(".reveal-zoom")&&Xt.set(".reveal-zoom",{scale:p,opacity:0}),c.querySelector(".reveal-content > *")&&Xt.set(".reveal-content > *",{y:f?0:30,opacity:0}),c.querySelector(".reveal-card")&&Xt.set(".reveal-card",{y:f?0:50,opacity:0,scale:p}),c.querySelector(".reveal-img")&&Xt.set(".reveal-img",{scale:1.1,opacity:0});const y=Xt.timeline({defaults:{ease:u||"power3.out",duration:a||.8},onComplete:e});c.querySelector(".reveal-img")&&y.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const x=a||.8,k=l||.1;c.querySelectorAll(".reveal-card").length&&y.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:k,ease:d?"expo.out":"back.out(1.2)"},.2);const z=c.querySelectorAll(".reveal-content > *");z.length&&y.to(z,{y:0,opacity:1,duration:x,stagger:k/2},.3),c.querySelectorAll(".reveal-up").length&&y.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:k},.2),c.querySelector(".reveal-zoom")&&y.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},t)};return kn(()=>{il(()=>{i()})}),Jn(()=>{r==null||r.revert()}),{animateIn:i}}const s1={class:"absolute inset-0 z-0 pointer-events-none overflow-hidden"},o1=["src","poster","autoplay","loop","muted"],a1={key:2,class:"absolute inset-0 bg-[var(--lumina-colors-background,black)]/30 pointer-events-none transition-opacity duration-1000"},l1={class:"relative z-10 w-full h-full"},Ln=Te({__name:"BaseSlide",props:{data:{},customClass:{}},setup(t){const e=t,n=be(null);i1(n);const r=le(()=>e.data.background?typeof e.data.background=="string"?"image":e.data.background.type==="video"?"video":null:null),i=le(()=>e.data.background?typeof e.data.background=="string"?e.data.background:e.data.background.src:""),s=le(()=>{if(r.value==="video")return e.data.background.poster}),o=le(()=>r.value!=="video"?void 0:e.data.background.autoplay??!0),a=le(()=>r.value!=="video"?void 0:e.data.background.loop??!0),l=le(()=>r.value!=="video"?void 0:e.data.background.muted??!0),u=le(()=>e.data.backgroundOpacity??1);return(c,f)=>(V(),H("div",{ref_key:"container",ref:n,class:Y(["w-full min-h-full relative text-white",t.customClass])},[$("div",s1,[r.value==="image"?(V(),H("div",{key:0,class:"absolute inset-0 bg-cover bg-center transition-opacity duration-1000",style:Qe({backgroundImage:`url(${i.value})`,opacity:u.value})},null,4)):r.value==="video"?(V(),H("video",{key:1,class:"absolute inset-0 w-full h-full object-cover transition-opacity duration-1000",style:Qe({opacity:u.value}),src:i.value,poster:s.value,autoplay:o.value,loop:a.value,muted:l.value,playsinline:""},null,12,o1)):Ee("",!0),r.value==="video"?(V(),H("div",a1)):Ee("",!0),Tl(c.$slots,"background")]),$("div",l1,[Tl(c.$slots,"default")])],2))}}),c1={class:"reveal-zoom max-w-5xl z-10"},u1={key:0,class:"inline-block px-4 py-1 rounded-full border text-sm font-medium tracking-widest uppercase mb-10",style:{color:"var(--lumina-colors-primary, #3b82f6)","border-color":"rgba(255,255,255,0.1)",background:"rgba(255,255,255,0.05)"}},f1={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},d1=Te({__name:"LayoutStatement",props:{data:{}},setup(t){return(e,n)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["flex flex-col justify-center items-center text-center p-8 relative",t.data.sizing==="container"?"h-full":"min-h-screen"])},[$("div",c1,[t.data.tag?(V(),H("span",u1,ie(t.data.tag),1)):Ee("",!0),$("h1",{class:"font-bold leading-[1.1] tracking-tight mb-8 text-transparent bg-clip-text",style:Qe({fontSize:t.data.sizing==="container"?"3.5rem":"clamp(3rem, 10vw, 8rem)",fontFamily:"var(--lumina-font-heading, Inter, sans-serif)",backgroundImage:"linear-gradient(to bottom, var(--lumina-colors-text, #ffffff), var(--lumina-colors-muted, #6b7280))"})},ie(t.data.title),5),t.data.subtitle?(V(),H("p",f1,ie(t.data.subtitle),1)):Ee("",!0)])],2)]),_:1},8,["data"]))}}),h1=["src","poster","autoplay","loop","muted"],p1={key:0,class:"absolute bottom-0 left-0 w-full p-4 bg-gradient-to-t from-black/80 via-black/40 to-transparent transition-opacity duration-300"},m1={class:"flex items-center justify-between text-white"},g1={class:"flex items-center gap-4"},_1={class:"flex items-center gap-2 group/vol"},v1={class:"text-xs font-mono opacity-70"},y1={key:0,class:"absolute inset-0 flex items-center justify-center pointer-events-none"},Ta=Ms(Te({__name:"VideoPlayer",props:{src:{type:String,required:!0},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},controls:{type:Boolean,default:!0},objectFit:{type:String,default:"cover"}},setup(t){const e=t,n=be(null),r=be(!1),i=be(e.muted),s=be(1),o=be(0),a=be(0),l=be(0),u=be(!1),c=be(!1);let f;const d=le(()=>e.objectFit==="contain"?"object-contain":"object-cover"),h=E=>{const w=Math.floor(E/60),A=Math.floor(E%60);return`${w}:${A.toString().padStart(2,"0")}`},m=()=>{n.value&&(n.value.paused?(n.value.play(),r.value=!0,c.value=!0):(n.value.pause(),r.value=!1))},p=()=>{n.value&&(n.value.muted=!n.value.muted,i.value=n.value.muted,i.value?s.value=0:s.value=1)},y=()=>{n.value&&(a.value=n.value.currentTime,o.value=a.value/l.value*100||0)},x=()=>{n.value&&(l.value=n.value.duration,e.autoplay&&m())},k=()=>{r.value=!1,e.loop&&n.value&&(n.value.currentTime=0,m())},z=E=>{if(!n.value)return;const w=E.currentTarget,A=E.offsetX/w.clientWidth;n.value.currentTime=A*l.value,o.value=A*100},b=()=>{if(!n.value)return;const E=n.value.parentElement;!document.fullscreenElement&&E?E.requestFullscreen():document.exitFullscreen()},S=()=>{u.value=!0,clearTimeout(f),f=setTimeout(()=>{r.value&&(u.value=!1)},3e3)};return Hn(s,E=>{n.value&&(n.value.volume=E,i.value=E===0,n.value.muted=E===0)}),kn(()=>{n.value&&(n.value.muted=e.muted,i.value=e.muted)}),(E,w)=>(V(),H("div",{class:"relative w-full h-full group bg-black overflow-hidden",onMousemove:S,onMouseleave:w[1]||(w[1]=A=>u.value=!1)},[$("video",{ref_key:"videoRef",ref:n,class:Y(["w-full h-full",d.value]),src:t.src,poster:t.poster,autoplay:t.autoplay,loop:t.loop,muted:t.muted,playsinline:"",onClick:m,onTimeupdate:y,onLoadedmetadata:x,onEnded:k},null,42,h1),Ie(vo,{name:"fade"},{default:Ot(()=>[t.controls&&u.value?(V(),H("div",p1,[$("div",{class:"w-full h-1 bg-white/20 rounded-full mb-4 cursor-pointer relative group/progress",onClick:z},[$("div",{class:"absolute top-0 left-0 h-full rounded-full transition-all duration-100",style:Qe({width:`${o.value}%`,backgroundColor:"var(--lumina-colors-primary, #3b82f6)"})},null,4),$("div",{class:"absolute top-1/2 -translate-y-1/2 w-3 h-3 bg-white rounded-full opacity-0 group-hover/progress:opacity-100 transition-opacity",style:Qe({left:`${o.value}%`})},null,4)]),$("div",m1,[$("div",g1,[$("button",{onClick:m,class:"hover:text-[var(--lumina-colors-primary)] transition"},[$("i",{class:Y(["fa-solid text-xl",r.value?"fa-pause":"fa-play"])},null,2)]),$("div",_1,[$("button",{onClick:p,class:"hover:text-[var(--lumina-colors-primary)] transition w-6"},[$("i",{class:Y(["fa-solid",i.value?"fa-volume-xmark":"fa-volume-high"])},null,2)]),sh($("input",{type:"range",min:"0",max:"1",step:"0.1","onUpdate:modelValue":w[0]||(w[0]=A=>s.value=A),class:"w-0 overflow-hidden group-hover/vol:w-20 transition-all duration-300 h-1 bg-white/20 rounded-lg appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-2 [&::-webkit-slider-thumb]:h-2 [&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:rounded-full"},null,512),[[Rp,s.value,void 0,{number:!0}]])]),$("span",v1,ie(h(a.value))+" / "+ie(h(l.value)),1)]),$("div",{class:"flex items-center gap-4"},[$("button",{onClick:b,class:"hover:text-[var(--lumina-colors-primary)] transition"},[...w[2]||(w[2]=[$("i",{class:"fa-solid fa-expand"},null,-1)])])])])])):Ee("",!0)]),_:1}),t.controls&&!r.value&&!c.value?(V(),H("div",y1,[$("div",{class:"w-16 h-16 rounded-full bg-black/50 backdrop-blur-sm border border-white/10 flex items-center justify-center text-white pointer-events-auto cursor-pointer hover:scale-110 transition duration-300",onClick:m},[...w[3]||(w[3]=[$("i",{class:"fa-solid fa-play text-2xl ml-1"},null,-1)])])])):Ee("",!0)],32))}}),[["__scopeId","data-v-e807d364"]]),b1={key:0,class:"w-full h-full relative"},x1=["src"],w1={class:"reveal-content max-w-xl"},S1={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},k1={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},T1={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},z1={key:0,class:"pt-6 border-t border-white/10"},C1=Te({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(t){const e=be(!1);return(n,r)=>(V(),He(Ln,{data:t.data,customClass:"bg-[var(--lumina-bg)]"},{default:Ot(()=>[$("div",{class:Y(["w-full flex flex-col lg:block relative",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[$("div",{class:Y(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0",t.data.sizing==="container"?"lg:absolute lg:top-0":"lg:fixed lg:top-0",t.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[r[3]||(r[3]=$("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),t.data.video?(V(),H("div",b1,[Ie(Ta,{class:"w-full h-full",src:t.data.video.src,poster:t.data.video.poster,autoplay:t.data.video.autoplay??!0,loop:t.data.video.loop??!0,muted:t.data.video.muted??!0,controls:t.data.video.controls,"object-fit":"cover"},null,8,["src","poster","autoplay","loop","muted","controls"])])):t.data.image?(V(),H("img",{key:1,src:t.data.image,class:Y(["w-full h-full object-cover reveal-img scale-110 origin-center transition-opacity duration-700",e.value?"opacity-100":"opacity-0"]),alt:"Slide Image",onLoad:r[0]||(r[0]=i=>e.value=!0),onError:r[1]||(r[1]=i=>{e.value=!0,i.target.src="https://placehold.co/1920x1080/1a1a1a/666?text=Image+Not+Found"})},null,42,x1)):Ee("",!0)],2),$("div",{class:Y(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",t.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",t.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[$("div",w1,[$("span",S1,ie(t.data.tag),1),$("h1",k1,ie(t.data.title),1),$("div",T1,[(V(!0),H(Ae,null,vr(t.data.paragraphs,(i,s)=>(V(),H("p",{key:s},ie(i),1))),128))]),t.data.cta?(V(),H("div",z1,[$("button",{onClick:r[2]||(r[2]=i=>n.$emit("action",{type:"cta",label:t.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[Ql(ie(t.data.cta)+" ",1),r[4]||(r[4]=$("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):Ee("",!0)])],2)],2)]),_:1},8,["data"]))}}),O1={class:"mb-16 reveal-up text-center lg:text-left max-w-6xl"},$1=Te({__name:"LayoutFeatures",props:{data:{}},setup(t){return(e,n)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[$("div",O1,[$("h2",{class:Y(["font-heading font-bold mb-4",t.data.sizing==="container"?"text-3xl":"text-5xl"])},ie(t.data.title),3),$("p",{class:Y([t.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ie(t.data.description),3)]),$("div",{class:Y(["grid w-full",t.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(V(!0),H(Ae,null,vr(t.data.features,(r,i)=>(V(),H("div",{key:i,class:Y(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",t.data.sizing==="container"?"p-6":"p-8"])},[$("div",{class:Y(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",t.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[$("i",{class:Y(["fa-solid",(r.icon||"star").startsWith("fa-")?r.icon:`fa-${r.icon||"star"}`])},null,2)],2),$("h3",{class:Y(["font-bold mb-3 text-white",t.data.sizing==="container"?"text-lg":"text-2xl"])},ie(r.title),3),$("p",{class:Y(["leading-relaxed",[t.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ie(r.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),E1={class:"text-center mb-16 reveal-up"},P1={class:"text-5xl font-heading font-bold mb-4"},A1={key:0,class:"text-xl opacity-60"},I1={class:"relative max-w-6xl mx-auto w-full"},D1={class:"space-y-12"},M1={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},N1={class:"text-2xl font-bold"},R1={class:"text-lg opacity-60 leading-relaxed"},F1=Te({__name:"LayoutTimeline",props:{data:{}},setup(t){return(e,n)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[$("div",E1,[$("h2",P1,ie(t.data.title),1),t.data.subtitle?(V(),H("p",A1,ie(t.data.subtitle),1)):Ee("",!0)]),$("div",I1,[n[1]||(n[1]=$("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),$("div",D1,[(V(!0),H(Ae,null,vr(t.data.timeline,(r,i)=>(V(),H("div",{key:i,class:Y(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",i%2===0?"":"md:flex-row-reverse"])},[$("div",{class:Y(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",i%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[$("span",M1,ie(r.date),1),$("h3",N1,ie(r.title||r.t),1)],2),n[0]||(n[0]=$("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),$("div",{class:Y(["w-full md:w-1/2 pl-12 md:pl-0",i%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[$("p",R1,ie(r.description||r.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),Z1={key:0,class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},L1={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},j1=Te({__name:"LayoutSteps",props:{data:{}},setup(t){return(e,n)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["w-full flex flex-col justify-center overflow-hidden",t.data.sizing==="container"?"min-h-full p-4":"min-h-screen p-8 lg:p-12"])},[$("div",{class:Y(["text-center reveal-up",t.data.sizing==="container"?"mb-6":"mb-20"])},[$("h2",{class:Y(["font-heading font-bold mb-2",t.data.sizing==="container"?"text-2xl":"text-5xl"])},ie(t.data.title),3),t.data.subtitle?(V(),H("p",{key:0,class:Y(["opacity-60 max-w-2xl mx-auto",t.data.sizing==="container"?"text-sm":"text-xl"])},ie(t.data.subtitle),3)):Ee("",!0)],2),$("div",{class:Y(["grid gap-4 w-full mx-auto relative",t.data.sizing==="container"?"grid-cols-3 max-w-xl":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl"])},[t.data.sizing!=="container"?(V(),H("div",Z1)):Ee("",!0),(V(!0),H(Ae,null,vr(t.data.steps,(r,i)=>(V(),H("div",{key:i,class:Y(["relative glass-panel rounded-xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500",t.data.sizing==="container"?"p-3 text-center":"p-8 rounded-2xl"])},[$("div",{class:Y(["rounded-xl bg-[#111] border border-white/10 flex items-center justify-center font-bold relative z-10 group-hover:scale-105 transition duration-300 shadow-xl mx-auto",t.data.sizing==="container"?"w-12 h-12 text-lg mb-3":"w-20 h-20 text-2xl mb-6 lg:mx-0"])},[$("span",L1,ie(r.step),1)],2),$("h3",{class:Y(["font-bold",t.data.sizing==="container"?"text-sm mb-1":"text-xl mb-3"])},ie(r.title),3),$("p",{class:Y(["leading-relaxed opacity-60",t.data.sizing==="container"?"text-[10px]":"text-sm"])},ie(r.description),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),U1=["src","alt"],V1=Te({__name:"FlexImage",props:{src:{},alt:{},fill:{type:Boolean},rounded:{},containerClass:{},containerStyle:{}},setup(t){const e=t,n=be(!1),r=()=>{n.value=!0},i=o=>{n.value=!0,o.target.src="https://placehold.co/800x600/1a1a1a/666?text=Image+Not+Found"},s=le(()=>e.fill!==!1&&!e.rounded?"":{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[e.rounded||"lg"]||"rounded-lg");return(o,a)=>(V(),H("div",{class:Y(t.containerClass),style:Qe(t.containerStyle)},[$("img",{src:t.src,alt:t.alt||"",class:Y(["w-full h-full transition-opacity duration-700",t.fill!==!1?"object-cover":"object-contain",s.value,n.value?"opacity-100":"opacity-0"]),onLoad:r,onError:i},null,42,U1)],6))}}),B1=Ms(Te({__name:"LayoutFlex",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=e,i={none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},s={auto:"auto",quarter:"25%",third:"33.333%",half:"50%","two-thirds":"66.666%","three-quarters":"75%",full:"100%"},o={top:"flex-start",center:"center",bottom:"flex-end"},a={left:"flex-start",center:"center",right:"flex-end"},l=le(()=>({padding:i[n.data.padding||"none"]})),u=le(()=>n.data.direction==="vertical"?"flex-col":"flex-row"),c=le(()=>({gap:i[n.data.gap||"none"]})),f=P=>!P||P==="auto"?"flex-1":"",d=P=>{const T=P.size||"auto";return T==="auto"?{flex:"1 1 auto"}:{flex:`0 0 ${s[T]}`,maxWidth:n.data.direction!=="vertical"?s[T]:void 0,maxHeight:n.data.direction==="vertical"?s[T]:void 0}},h=P=>{const T=P.valign||"center",I=P.halign||"left",K=P.gap||"md",ne=P.padding||"lg",Q=P.size||"auto";return{flex:Q==="auto"?"1 1 auto":`0 0 ${s[Q]}`,justifyContent:o[T],alignItems:a[I],gap:i[K],padding:i[ne]}},m=()=>({display:"flex",alignItems:"center",padding:i.lg}),p=(P,T)=>`w-full h-full ${y(P,T)}`,y=(P,T)=>T!==!1&&!P?"":{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[P||"lg"]||"rounded-lg",x=P=>{r("action",P),mn.emit("action",P)},k=Te({props:["text","size","align"],setup(P){const I={lg:"text-3xl lg:text-4xl",xl:"text-4xl lg:text-5xl","2xl":"text-5xl lg:text-6xl","3xl":"text-6xl lg:text-7xl"}[P.size||"xl"]||"text-4xl lg:text-5xl",ne={left:"text-left",center:"text-center",right:"text-right"}[P.align||"left"]||"text-left";return()=>_e("h2",{class:`font-heading font-bold leading-tight ${I} ${ne} w-full`},P.text)}}),z=Te({props:["text","align","muted"],setup(P){const I={left:"text-left",center:"text-center",right:"text-right"}[P.align||"left"]||"text-left";return()=>_e("p",{class:`text-lg lg:text-xl leading-relaxed w-full ${I} ${P.muted?"opacity-60":"opacity-80"}`},P.text)}}),b=Te({props:["items"],setup(P){return()=>_e("ul",{class:"space-y-3 w-full"},(P.items||[]).map(T=>_e("li",{class:"flex items-start gap-3 text-lg opacity-80"},[_e("span",{class:"w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),_e("span",{},T)])))}}),S=Te({props:["items"],setup(P){return()=>_e("ol",{class:"space-y-3 w-full"},(P.items||[]).map((T,I)=>_e("li",{class:"flex items-start gap-3 text-lg opacity-80"},[_e("span",{class:"w-7 h-7 rounded-lg bg-white/10 flex items-center justify-center text-sm font-bold flex-shrink-0"},I+1),_e("span",{},T)])))}}),E=Te({props:["label","action","variant","fullWidth"],emits:["action"],setup(P,{emit:T}){const I={primary:"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg hover:shadow-xl",secondary:"bg-white/10 text-white border border-white/20 hover:bg-white/20",outline:"bg-transparent text-white border-2 border-white/50 hover:border-white hover:bg-white/5",ghost:"bg-transparent text-white/70 hover:text-white hover:bg-white/5"},K=I[P.variant||"primary"]||I.primary,ne=()=>{T("action",{type:"click",label:P.label,value:P.action||P.label,origin:"flex-button"})};return()=>_e("button",{class:`px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 cursor-pointer hover:scale-105 ${K} ${P.fullWidth?"w-full":""}`,onClick:ne},P.label)}}),w=Te({props:["items","compact"],setup(P){return()=>_e("div",{class:"w-full space-y-4"},(P.items||[]).map(T=>_e("div",{class:"flex gap-4 items-start border-l-2 border-blue-500/30 pl-4"},[_e("div",{class:"flex-shrink-0 w-3 h-3 rounded-full bg-blue-500 -ml-[22px] mt-1.5 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),_e("div",{},[_e("span",{class:"text-xs text-blue-400 font-bold uppercase tracking-wider"},T.date),_e("h4",{class:"font-bold text-lg"},T.title||T.t),_e("p",{class:"text-sm opacity-60"},T.description||T.desc)])])))}}),A=Te({props:["items","compact"],setup(P){return()=>_e("div",{class:"w-full space-y-4"},(P.items||[]).map(T=>_e("div",{class:"flex gap-4 items-start p-4 rounded-lg bg-white/5 border border-white/10"},[_e("div",{class:"flex-shrink-0 w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20 flex items-center justify-center font-bold text-blue-400"},T.step),_e("div",{},[_e("h4",{class:"font-bold"},T.title||T.t),_e("p",{class:"text-sm opacity-60"},T.description||T.desc)])])))}}),v=Te({props:["size"],setup(P){const T=P.size||"md",I=i[T]||i.md;return()=>_e("div",{style:{height:I,width:"100%"}})}}),F=P=>({title:k,text:z,bullets:b,ordered:S,button:E,timeline:w,stepper:A,spacer:v})[P]||"div";return(P,T)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:"flex-layout w-full min-h-screen flex items-center justify-center",style:Qe(l.value)},[$("div",{class:Y(["flex w-full h-full max-w-7xl mx-auto",u.value]),style:Qe(c.value)},[(V(!0),H(Ae,null,vr(t.data.elements,(I,K)=>(V(),H(Ae,{key:K},[I.type==="image"?(V(),He(V1,{key:0,src:I.src,alt:I.alt,fill:I.fill,rounded:I.rounded,"container-class":f(I.size),"container-style":d(I)},null,8,["src","alt","fill","rounded","container-class","container-style"])):I.type==="video"?(V(),H("div",{key:1,class:Y(f(I.size)),style:Qe(d(I))},[Ie(Ta,{class:Y(p(I.rounded,I.fill)),src:I.src,poster:I.poster,autoplay:I.autoplay??!1,loop:I.loop??!1,muted:I.muted??!1,controls:I.controls??!0,"object-fit":I.fill!==!1?"cover":"contain"},null,8,["class","src","poster","autoplay","loop","muted","controls","object-fit"])],6)):I.type==="content"?(V(),H("div",{key:2,class:Y(["flex flex-col",f(I.size)]),style:Qe(h(I))},[(V(!0),H(Ae,null,vr(I.elements,(ne,Q)=>(V(),He(es(F(ne.type)),mo({key:Q,ref_for:!0},ne,{onAction:x}),null,16))),128))],6)):(V(),H("div",{key:3,class:Y(f(I.size)),style:Qe(m())},[(V(),He(es(F(I.type)),mo({ref_for:!0},I,{onAction:x}),null,16))],6))],64))),128))],6)],4)]),_:1},8,["data"]))}}),[["__scopeId","data-v-ab896ad6"]]),W1=Te({__name:"LayoutAuto",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=le(()=>{var f,d,h,m;const i=n.data||{},s=Array.isArray(i.timeline)&&i.timeline.length>0,o=Array.isArray(i.steps)&&i.steps.length>0,a=Array.isArray(i.features)&&i.features.length>0,l=!!i.image,u=!!i.chartType&&!!((f=i.data)!=null&&f.datasets);let c="layout-statement";return u?c="layout-chart":s?c="layout-timeline":o?c="layout-steps":a?c="layout-features":l?c="layout-half":(((d=i.title)==null?void 0:d.length)||0)+(((h=i.subtitle)==null?void 0:h.length)||0)+(((m=i.paragraphs)==null?void 0:m.join("").length)||0),c});return(i,s)=>(V(),He(es(r.value),{data:t.data,onAction:s[0]||(s[0]=o=>i.$emit("action",o))},null,40,["data"]))}}),H1=["innerHTML"],J1=Ms(Te({__name:"LayoutCustom",props:{data:{}},setup(t){const e=t,n=`custom-slide-${Math.random().toString(36).slice(2,10)}`;function r(){if(i(),!e.data.css)return;const o=document.createElement("style");o.id=n,o.textContent=e.data.css,document.head.appendChild(o)}function i(){const o=document.getElementById(n);o&&o.remove()}kn(()=>{r()}),Hn(()=>e.data.css,()=>{r()}),Jn(()=>{i()});const s=le(()=>e.data.html?e.data.html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/on\w+\s*=\s*["'][^"']*["']/gi,"").replace(/javascript:/gi,""):"");return(o,a)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["custom-slide-wrapper relative w-full overflow-hidden",t.data.sizing==="container"?"h-full":"min-h-screen"])},[$("div",{class:"custom-html-content w-full h-full",innerHTML:s.value},null,8,H1)],2)]),_:1},8,["data"]))}}),[["__scopeId","data-v-b8b91621"]]),K1={key:0,class:"text-center mb-8 reveal-up"},q1={key:0,class:"text-4xl lg:text-5xl font-heading font-bold mb-3"},Y1={key:1,class:"text-lg lg:text-xl opacity-60"},G1={key:1,class:"flex-1 flex items-center justify-center"},X1={key:2,class:"flex-1 flex items-center justify-center"},Q1={key:3,class:"flex-1 flex items-center justify-center reveal-zoom max-w-5xl mx-auto w-full"},ex={class:"w-full h-full min-h-[300px] lg:min-h-[400px] relative"},tx=Te({__name:"LayoutChart",props:{data:{}},setup(t){let e=null;const n=be(null),r=be(!0),i=t,s=be(null);let o=null;const a=async()=>{try{const d=await import("chart.js");return e=d.Chart,e.register(...d.registerables),r.value=!1,!0}catch{return n.value="Chart.js is required for chart slides. Install it with: npm install chart.js",r.value=!1,console.warn("[Lumina] chart.js not found. Install with: npm install chart.js"),!1}},l=(d,h)=>{if(!d){const m=["rgba(59, 130, 246, 0.8)","rgba(16, 185, 129, 0.8)","rgba(245, 158, 11, 0.8)","rgba(239, 68, 68, 0.8)","rgba(139, 92, 246, 0.8)","rgba(236, 72, 153, 0.8)"];return m[h%m.length]}switch(d){case"c:p":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-primary").trim()||"#3b82f6";case"c:s":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-secondary").trim()||"#10b981";case"c:m":return getComputedStyle(document.documentElement).getPropertyValue("--lumina-colors-muted").trim()||"#9ca3af";default:return d&&(d.startsWith("#")||d.startsWith("rgb")||d.startsWith("hsl"))||d&&/^[a-z]+$/i.test(d)?d:l(void 0,h)}},u=(d,h)=>{var p;const m=[];for(let y=0;y<h;y++)m.push(l((p=d[0])==null?void 0:p.color,y));return m},c=le(()=>{const{chartType:d,data:h}=i.data,m=d==="pie"||d==="doughnut";return{type:d,data:{labels:h.labels,datasets:h.datasets.map((p,y)=>({label:p.label,data:p.values,backgroundColor:m?u(h.datasets,h.labels.length):l(p.color,y),borderColor:m?"rgba(0, 0, 0, 0.2)":l(p.color,y),borderWidth:2,tension:d==="line"?.4:0,fill:d==="line"?!1:void 0}))},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0,position:"bottom",labels:{color:"rgba(255, 255, 255, 0.7)",padding:20,font:{family:"Inter, system-ui, sans-serif",size:12}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.8)",titleColor:"#fff",bodyColor:"rgba(255, 255, 255, 0.8)",padding:12,cornerRadius:8,titleFont:{family:"Inter, system-ui, sans-serif",weight:"bold"},bodyFont:{family:"Inter, system-ui, sans-serif"}}},scales:m?{}:{x:{grid:{color:"rgba(255, 255, 255, 0.05)"},ticks:{color:"rgba(255, 255, 255, 0.6)",font:{family:"Inter, system-ui, sans-serif"}}},y:{grid:{color:"rgba(255, 255, 255, 0.05)"},ticks:{color:"rgba(255, 255, 255, 0.6)",font:{family:"Inter, system-ui, sans-serif"}}}}}}}),f=()=>{if(!s.value||!e)return;o&&o.destroy();const d=s.value.getContext("2d");d&&(o=new e(d,c.value))};return kn(async()=>{await a()&&setTimeout(f,50)}),Jn(()=>{o&&(o.destroy(),o=null)}),Hn(()=>i.data,()=>{f()},{deep:!0}),(d,h)=>(V(),He(Ln,{data:t.data},{default:Ot(()=>[$("div",{class:Y(["w-full flex flex-col justify-center p-8 lg:p-16",t.data.sizing==="container"?"min-h-full py-8":"min-h-screen"])},[t.data.title||t.data.subtitle?(V(),H("div",K1,[t.data.title?(V(),H("h2",q1,ie(t.data.title),1)):Ee("",!0),t.data.subtitle?(V(),H("p",Y1,ie(t.data.subtitle),1)):Ee("",!0)])):Ee("",!0),n.value?(V(),H("div",G1,[...h[0]||(h[0]=[$("div",{class:"text-center p-8 bg-red-500/10 border border-red-500/30 rounded-xl max-w-lg"},[$("svg",{class:"w-12 h-12 mx-auto mb-4 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[$("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})]),$("p",{class:"text-red-300 font-medium mb-2"},"Chart.js Required"),$("code",{class:"text-sm bg-black/30 px-3 py-1 rounded text-red-200"},"npm install chart.js")],-1)])])):r.value?(V(),H("div",X1,[...h[1]||(h[1]=[$("div",{class:"animate-pulse text-white/40"},"Loading chart...",-1)])])):(V(),H("div",Q1,[$("div",ex,[$("canvas",{ref_key:"chartCanvas",ref:s},null,512)])]))],2)]),_:1},8,["data"]))}}),nx={class:"h-full w-full flex items-center justify-center bg-black relative overflow-hidden group"},rx={key:0,class:"absolute bottom-12 left-12 z-10 px-6 py-4 bg-black/50 backdrop-blur-md rounded-2xl border border-white/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500"},ix={class:"text-white font-bold text-xl"},sx=Te({__name:"LayoutVideo",props:{data:{type:Object,required:!0}},setup(t){return(e,n)=>(V(),H("div",nx,[Ie(Ta,{class:"absolute inset-0 w-full h-full",src:t.data.video.src,poster:t.data.video.poster,autoplay:t.data.video.autoplay,loop:t.data.video.loop,muted:t.data.video.muted,controls:t.data.video.controls,"object-fit":"cover"},null,8,["src","poster","autoplay","loop","muted","controls"]),t.data.title?(V(),H("div",rx,[$("h2",ix,ie(t.data.title),1)])):Ee("",!0)]))}}),Ci={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},ld="lumina-theme-styles";class ox{static inject(e){let n;typeof e=="string"?n=Ci[e]||Ci.default:(n={...Ci.default,...e},e.colors&&(n.colors={...Ci.default.colors,...e.colors}),e.fonts&&(n.fonts={...Ci.default.fonts,...e.fonts}));let r=document.getElementById(ld);r||(r=document.createElement("style"),r.id=ld,document.head.appendChild(r));const i=this.generateVars(n);r.innerHTML=`:root { ${i} }`}static generateVars(e){const n=[];if(e.colors){for(const[r,i]of Object.entries(e.colors))if(i){n.push(`--lumina-colors-${r}: ${i};`);const s=this.hexToRgb(i);s&&n.push(`--lumina-colors-${r}-rgb: ${s.r}, ${s.g}, ${s.b};`)}}if(e.fonts)for(const[r,i]of Object.entries(e.fonts))i&&n.push(`--lumina-font-${r}: ${i};`);return n.join(" ")}static hexToRgb(e){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}}class ax{constructor(e,n={}){it(this,"app");it(this,"store");it(this,"speakerWindow",null);it(this,"speakerChannel",null);it(this,"speakerChannelId");it(this,"speakerUnsubscribe",null);this.selector=e,this.speakerChannelId=`lumina-speaker-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,this.store=sy(n),n.theme&&ox.inject(n.theme),this.app=Pc(ad),this.app.provide(di,this.store),this.app.provide("LuminaEngine",this),Hn(()=>this.store.state.currentIndex,(r,i)=>{var o;const s=(o=this.store.state.deck)==null?void 0:o.slides[r];s&&mn.emit("slideChange",{index:r,previousIndex:i??0,slide:s}),this.syncSpeakerNotes()}),this.app.component("layout-statement",d1),this.app.component("layout-half",C1),this.app.component("layout-features",$1),this.app.component("layout-timeline",F1),this.app.component("layout-steps",j1),this.app.component("layout-flex",B1),this.app.component("layout-auto",W1),this.app.component("layout-custom",J1),this.app.component("layout-chart",tx),this.app.component("layout-video",sx),mn.on("action",r=>{this.store.recordAction(r)}),this.app.mount(this.selector)}load(e){this.store.loadDeck(e),mn.emit("ready",e),this.syncSpeakerNotes()}patch(e){this.store.patchDeck(e),this.syncSpeakerNotes()}exportState(){const{currentIndex:e,deck:n,actionHistory:r}=this.store.state,i=n==null?void 0:n.slides[e],s=r.map(a=>`User ${a.type}ed on ${a.label||a.value}`).join(" -> "),o=r.length>5?"High Engagement":"Low Engagement";return Object.freeze({status:"active",currentSlide:{index:e,id:(i==null?void 0:i.id)||e,type:i==null?void 0:i.type,title:(i&&"title"in i?i.title:null)||"(No Title)"},narrative:`User is currently on slide ${e+1}. Session Flow: ${s||"Just started"}.`,engagementLevel:o,history:[...r]})}on(e,n){mn.on(e,n)}off(e,n){mn.off(e,n)}destroy(){this.closeSpeakerNotes(),this.app&&(this.app.unmount(),this.app=null),mn.clear()}get currentSlideIndex(){return this.store.state.currentIndex}goTo(e){this.store.goto(e),this.syncSpeakerNotes()}next(){this.store.next(),this.syncSpeakerNotes()}prev(){this.store.prev(),this.syncSpeakerNotes()}openSpeakerNotes(){if(this.speakerWindow&&!this.speakerWindow.closed)return this.speakerWindow.focus(),this.speakerWindow;if(!jr.isSupported())return console.error("[Lumina] BroadcastChannel not supported. Speaker notes require a modern browser."),null;const e=600,n=800,r=window.screenX+window.outerWidth,i=window.screenY;if(this.speakerWindow=window.open("about:blank",`lumina-speaker-notes-${this.speakerChannelId}`,`width=${e},height=${n},left=${r},top=${i},resizable=yes,scrollbars=yes`),!this.speakerWindow)return console.warn("[Lumina] Popup blocked. Please allow popups for speaker notes."),null;const s=this.speakerWindow;return s.document.open(),s.document.write(`
56
56
  <!DOCTYPE html>
57
57
  <html lang="en">
58
58
  <head>
@@ -67,4 +67,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
67
67
  <div id="speaker-notes-root"></div>
68
68
  </body>
69
69
  </html>
70
- `),s.document.close(),setTimeout(()=>{if(s.closed)return;Array.from(document.querySelectorAll('style, link[rel="stylesheet"]')).forEach(a=>{s.document.head.appendChild(a.cloneNode(!0))});const o=s.document.getElementById("speaker-notes-root");if(o){const a=kc(qb,{channelId:this.speakerChannelId});a.mount(o),s.addEventListener("unload",()=>{a.unmount()})}},0),this.initSpeakerChannel(),this.speakerWindow}closeSpeakerNotes(){this.speakerUnsubscribe&&(this.speakerUnsubscribe(),this.speakerUnsubscribe=null),this.speakerChannel&&(this.speakerChannel.notifyClose(),this.speakerChannel.destroy(),this.speakerChannel=null),this.speakerWindow&&!this.speakerWindow.closed&&this.speakerWindow.close(),this.speakerWindow=null}get isSpeakerNotesOpen(){return this.speakerWindow!==null&&!this.speakerWindow.closed}initSpeakerChannel(){this.speakerChannel=Lr.getInstance(this.speakerChannelId),this.speakerUnsubscribe=this.speakerChannel.subscribe(n=>{switch(n.action){case"next":this.store.next(),this.syncSpeakerNotes();break;case"prev":this.store.prev(),this.syncSpeakerNotes();break;case"goto":n.index!==void 0&&(this.store.goto(n.index),this.syncSpeakerNotes());break;case"ping":this.syncSpeakerNotes();break}}),this.syncSpeakerNotes();const e=setInterval(()=>{var n;(n=this.speakerWindow)!=null&&n.closed&&(clearInterval(e),this.closeSpeakerNotes())},1e3)}syncSpeakerNotes(){if(!this.speakerChannel)return;const{currentIndex:e,deck:n}=this.store.state;if(!n)return;const r=n.slides[e],i=n.slides[e+1],s=o=>{if(o&&"title"in o&&typeof o.title=="string")return o.title};this.speakerChannel.send({action:"state",index:e,totalSlides:n.slides.length,currentNotes:r==null?void 0:r.notes,nextSlidePreview:i?{title:s(i),type:i.type}:void 0})}}Le.EventBus=Nu,Le.Lumina=F1,Le.LuminaDeck=ed,Le.SpeakerChannel=Lr,Le.bus=hn,Object.defineProperty(Le,Symbol.toStringTag,{value:"Module"})});
70
+ `),s.document.close(),setTimeout(()=>{if(s.closed)return;Array.from(document.querySelectorAll('style, link[rel="stylesheet"]')).forEach(a=>{s.document.head.appendChild(a.cloneNode(!0))});const o=s.document.getElementById("speaker-notes-root");if(o){const a=Pc(r1,{channelId:this.speakerChannelId});a.mount(o),s.addEventListener("unload",()=>{a.unmount()})}},0),this.initSpeakerChannel(),this.speakerWindow}closeSpeakerNotes(){this.speakerUnsubscribe&&(this.speakerUnsubscribe(),this.speakerUnsubscribe=null),this.speakerChannel&&(this.speakerChannel.notifyClose(),this.speakerChannel.destroy(),this.speakerChannel=null),this.speakerWindow&&!this.speakerWindow.closed&&this.speakerWindow.close(),this.speakerWindow=null}get isSpeakerNotesOpen(){return this.speakerWindow!==null&&!this.speakerWindow.closed}initSpeakerChannel(){this.speakerChannel=jr.getInstance(this.speakerChannelId),this.speakerUnsubscribe=this.speakerChannel.subscribe(n=>{switch(n.action){case"next":this.store.next(),this.syncSpeakerNotes();break;case"prev":this.store.prev(),this.syncSpeakerNotes();break;case"goto":n.index!==void 0&&(this.store.goto(n.index),this.syncSpeakerNotes());break;case"ping":this.syncSpeakerNotes();break}}),this.syncSpeakerNotes();const e=setInterval(()=>{var n;(n=this.speakerWindow)!=null&&n.closed&&(clearInterval(e),this.closeSpeakerNotes())},1e3)}syncSpeakerNotes(){if(!this.speakerChannel)return;const{currentIndex:e,deck:n}=this.store.state;if(!n)return;const r=n.slides[e],i=n.slides[e+1],s=o=>{if(o&&"title"in o&&typeof o.title=="string")return o.title};this.speakerChannel.send({action:"state",index:e,totalSlides:n.slides.length,currentNotes:r==null?void 0:r.notes,nextSlidePreview:i?{title:s(i),type:i.type}:void 0})}}Ve.EventBus=Vu,Ve.Lumina=ax,Ve.LuminaDeck=ad,Ve.SpeakerChannel=jr,Ve.bus=mn,Object.defineProperty(Ve,Symbol.toStringTag,{value:"Module"})});