lumina-slides 8.6.0 → 8.6.2

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,25 +1,25 @@
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);/**
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 ux=(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)=>ux(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 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};/**
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={},cr=[],jt=()=>{},Ca=()=>!1,Pi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ns=t=>t.startsWith("onUpdate:"),Re=Object.assign,Rs=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},pd=Object.prototype.hasOwnProperty,ue=(t,e)=>pd.call(t,e),q=Array.isArray,fr=t=>Ai(t)==="[object Map]",Oa=t=>Ai(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,Ai=t=>Ea.call(t),md=t=>Ai(t).slice(8,-1),Pa=t=>Ai(t)==="[object Object]",Fs=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"),Ii=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},gd=/-\w/g,zt=Ii(t=>t.replace(gd,e=>e.slice(1).toUpperCase())),_d=/\B([A-Z])/g,Un=Ii(t=>t.replace(_d,"-$1").toLowerCase()),Di=Ii(t=>t.charAt(0).toUpperCase()+t.slice(1)),Zs=Ii(t=>t?`on${Di(t)}`:""),xn=(t,e)=>!Object.is(t,e),Mi=(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})},Ls=t=>{const e=parseFloat(t);return isNaN(e)?t:e},vd=t=>{const e=ke(t)?Number(t):NaN;return isNaN(e)?t:e};let Ia;const Ni=()=>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)?wd(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 yd=/;(?![^(]*\))/g,bd=/:([^]+)/,xd=/\/\*[^]*?\*\//g;function wd(t){const e={};return t.replace(xd,"").split(yd).forEach(n=>{if(n){const r=n.split(bd);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 Sd=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[js(r,s)+" =>"]=i,n),{})}:Oa(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>js(n))}:rn(e)?js(e):me(e)&&!q(e)&&!Pa(e)?String(e):e,js=(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 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}/**
9
+ **/let st;class kd{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 Td(){return st}let ge;const Us=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,Us.has(this)&&(Us.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)Hs(e);this.deps=this.depsTail=void 0,Ba(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Us.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ws(this)&&this.run()}get dirty(){return Ws(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 Vs(){Fa++}function Bs(){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),Hs(r),zd(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Ws(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||!Ws(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 Hs(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)Hs(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function zd(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 Cd{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 Js{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 Cd(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){Vs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bs()}}}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 Ks=new WeakMap,Vn=Symbol(""),qs=Symbol(""),Hr=Symbol("");function Be(t,e,n){if(Nt&&ge){let r=Ks.get(t);r||Ks.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new Js),i.map=r,i.key=n),i.track()}}function sn(t,e,n,r,i,s){const o=Ks.get(t);if(!o){Wr++;return}const a=l=>{l&&l.trigger()};if(Vs(),e==="clear")o.forEach(a);else{const l=q(t),c=l&&Fs(n);if(l&&n==="length"){const u=Number(r);o.forEach((f,d)=>{(d==="length"||d===Hr||!rn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Hr)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Vn)),fr(t)&&a(o.get(qs)));break;case"delete":l||(a(o.get(Vn)),fr(t)&&a(o.get(qs)));break;case"set":fr(t)&&a(o.get(Vn));break}}Bs()}function dr(t){const e=oe(t);return e===t?e:(Be(e,"iterate",Hr),Ct(t)?e:e.map(Rt))}function Ri(t){return Be(t=oe(t),"iterate",Hr),t}function wn(t,e){return an(t)?Bn(t)?hr(Rt(e)):hr(e):Rt(e)}const Od={__proto__:null,[Symbol.iterator](){return Ys(this,Symbol.iterator,t=>wn(this,t))},concat(...t){return dr(this).concat(...t.map(e=>q(e)?dr(e):e))},entries(){return Ys(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 Gs(this,"includes",t)},indexOf(...t){return Gs(this,"indexOf",t)},join(t){return dr(this).join(t)},lastIndexOf(...t){return Gs(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 Ys(this,"values",t=>wn(this,t))}};function Ys(t,e,n){const r=Ri(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 $d=Array.prototype;function on(t,e,n,r,i,s){const o=Ri(t),a=o!==t&&!Ct(t),l=o[e];if(l!==$d[e]){const f=l.apply(t,s);return a?Rt(f):f}let c=n;o!==t&&(a?c=function(f,d){return n.call(this,wn(t,f),d,t)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,t)}));const u=l.call(o,c,r);return a&&i?i(u):u}function Ha(t,e,n,r){const i=Ri(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 Gs(t,e,n){const r=oe(t);Be(r,"iterate",Hr);const i=r[e](...n);return(i===-1||i===!1)&&Qs(n[0])?(n[0]=oe(n[0]),r[e](...n)):i}function Jr(t,e,n=[]){Ut(),Vs();const r=oe(t)[e].apply(t,n);return Bs(),Vt(),r}const Ed=Xe("__proto__,__v_isRef,__isVue"),Ja=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rn));function Pd(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=Od[n]))return l;if(n==="hasOwnProperty")return Pd}const a=Reflect.get(e,n,Le(e)?e:r);if((rn(n)?Ja.has(n):Ed(n))||(i||Be(e,"get",n),s))return a;if(Le(a)){const l=o&&Fs(n)?a:a.value;return i&&me(l)?Ui(l):l}return me(a)?i?Ui(a):ji(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)&&Fs(n);if(!this._isShallow){const c=an(s);if(!Ct(r)&&!an(r)&&(s=oe(s),r=oe(r)),!o&&Le(s)&&!Le(r))return c||(s.value=r),!0}const a=o?Number(n)<e.length:ue(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=ue(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":Vn),Reflect.ownKeys(e)}}class Ya extends Ka{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Ad=new qa,Id=new Ya,Dd=new qa(!0),Md=new Ya(!0),Xs=t=>t,Fi=t=>Reflect.getPrototypeOf(t);function Nd(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,c=i[t](...r),u=n?Xs:e?hr:Rt;return!e&&Be(s,"iterate",l?qs:Vn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Zi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Rd(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}=Fi(o),c=e?Xs:t?hr:Rt;if(l.call(o,i))return c(s.get(i));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&Be(oe(i),"iterate",Vn),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),c=e?Xs:t?hr:Rt;return!t&&Be(l,"iterate",Vn),a.forEach((u,f)=>i.call(s,c(u),c(f),o))}};return Re(n,t?{add:Zi("add"),set:Zi("set"),delete:Zi("delete"),clear:Zi("clear")}:{add(i){!e&&!Ct(i)&&!an(i)&&(i=oe(i));const s=oe(this);return Fi(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}=Fi(o);let c=a.call(o,i);c||(i=oe(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,s),c?xn(s,u)&&sn(o,"set",i,s):sn(o,"add",i,s),this},delete(i){const s=oe(this),{has:o,get:a}=Fi(s);let l=o.call(s,i);l||(i=oe(i),l=o.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return l&&sn(s,"delete",i,void 0),c},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]=Nd(i,t,e)}),n}function Li(t,e){const n=Rd(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(ue(n,i)&&i in r?n:r,i,s)}const Fd={get:Li(!1,!1)},Zd={get:Li(!1,!0)},Ld={get:Li(!0,!1)},jd={get:Li(!0,!0)},Ga=new WeakMap,Xa=new WeakMap,Qa=new WeakMap,el=new WeakMap;function Ud(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vd(t){return t.__v_skip||!Object.isExtensible(t)?0:Ud(md(t))}function ji(t){return an(t)?t:Vi(t,!1,Ad,Fd,Ga)}function Bd(t){return Vi(t,!1,Dd,Zd,Xa)}function Ui(t){return Vi(t,!0,Id,Ld,Qa)}function fx(t){return Vi(t,!0,Md,jd,el)}function Vi(t,e,n,r,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=Vd(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 Bn(t){return an(t)?Bn(t.__v_raw):!!(t&&t.__v_isReactive)}function an(t){return!!(t&&t.__v_isReadonly)}function Ct(t){return!!(t&&t.__v_isShallow)}function Qs(t){return t?!!t.__v_raw:!1}function oe(t){const e=t&&t.__v_raw;return e?oe(e):t}function Wd(t){return!ue(t,"__v_skip")&&Object.isExtensible(t)&&Aa(t,"__v_skip",!0),t}const Rt=t=>me(t)?ji(t):t,hr=t=>me(t)?Ui(t):t;function Le(t){return t?t.__v_isRef===!0:!1}function be(t){return Hd(t,!1)}function Hd(t,e){return Le(t)?t:new Jd(t,e)}class Jd{constructor(e,n){this.dep=new Js,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 Kd={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 Bn(t)?t:new Proxy(t,Kd)}class qd{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Js(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 Yd(t,e,n=!1){let r,i;return G(t)?r=t:(r=t.get,i=t.set),new qd(r,i,n)}const Bi={},Wi=new WeakMap;let Wn;function Gd(t,e=!1,n=Wn){if(n){let r=Wi.get(n);r||Wi.set(n,r=[]),r.push(t)}}function Xd(t,e,n=ae){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,c=b=>i?b:Ct(b)||i===!1||i===0?ln(b,1):ln(b);let u,f,d,h,m=!1,p=!1;if(Le(t)?(f=()=>t.value,m=Ct(t)):Bn(t)?(f=()=>c(t),m=!0):q(t)?(p=!0,m=t.some(b=>Bn(b)||Ct(b)),f=()=>t.map(b=>{if(Le(b))return b.value;if(Bn(b))return c(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=Wn;Wn=u;try{return l?l(t,3,[h]):t(h)}finally{Wn=b}}:f=jt,e&&i){const b=f,S=i===!0?1/0:i;f=()=>ln(b(),S)}const y=Td(),x=()=>{u.stop(),y&&y.active&&Rs(y.effects,u)};if(s&&e){const b=e;e=(...S)=>{b(...S),x()}}let k=p?new Array(t.length).fill(Bi):Bi;const z=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(e){const S=u.run();if(i||m||(p?S.some((E,w)=>xn(E,k[w])):xn(S,k))){d&&d();const E=Wn;Wn=u;try{const w=[S,k===Bi?void 0:p&&k[0]===Bi?[]:k,h];k=S,l?l(e,3,w):e(...w)}finally{Wn=E}}}else u.run()};return a&&a(z),u=new Ra(f),u.scheduler=o?()=>o(z,!1):z,h=b=>Gd(b,!1,u),d=u.onStop=()=>{const b=Wi.get(u);if(b){if(l)l(b,4);else for(const S of b)S();Wi.delete(u)}},e?r?z(!0):k=u.run():o?o(z.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),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 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(`
13
+ **/const Kr=[];let eo=!1;function dx(t,...e){if(eo)return;eo=!0,Ut();const n=Kr.length?Kr[Kr.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=Qd();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 <${ou(n,s.type)}>`).join(`
14
14
  `),i]);else{const s=[`[Vue warn]: ${t}`,...e];i.length&&s.push(`
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";/**
15
+ `,...eh(i)),console.warn(...s)}Vt(),eo=!1}function Qd(){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 eh(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
+ `],...th(n))}),e}function th({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,i=` at <${ou(t.component,t.type,r)}`,s=">"+n;return t.props?[i,...nh(t.props),s]:[i+s]}function nh(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){Hi(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=>{Hi(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 Hi(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,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](t,l,c)===!1)return}a=a.parent}if(s){Ut(),pr(s,null,10,[t,l,c]),Vt();return}}rh(t,n,i,r,o)}function rh(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 Ji=null;function il(t){const e=Ji||rl;return t?e.then(this?t.bind(this):t):e}function ih(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 to(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(ih(e),0,t),t.flags|=1,sl()}}function sl(){Ji||(Ji=rl.then(ll))}function sh(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(),Ji=null,(et.length||mr.length)&&ll()}}let je=null,ul=null;function Ki(t){const e=je;return je=t,ul=t&&t.type.__scopeId||null,e}function Ot(t,e=je,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&is(-1);const s=Ki(e);let o;try{o=t(...i)}finally{Ki(s),r._d&&is(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function oh(t,e){if(je===null)return t;const n=as(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 Hn(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 ah(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 un(t,e,n=!1){const r=eu();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 lh=Symbol.for("v-scx"),uh=()=>un(lh);function kn(t,e,n){return cl(t,e,n)}function cl(t,e,n=ae){const{immediate:r,deep:i,flush:s,once:o}=n,a=Re({},n),l=e&&r||!e&&s!=="post";let c;if(ii){if(s==="sync"){const h=uh();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=jt,h.resume=jt,h.pause=jt,h}}const u=Je;a.call=(h,m,p)=>Zt(h,u,m,p);let f=!1;s==="post"?a.scheduler=h=>{pt(h,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(h,m)=>{m?h():to(h)}),a.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=Xd(t,e,a);return ii&&(c?c.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=cl(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 fh=Symbol("_vte"),dl=t=>t.__isTeleport,cn=Symbol("_leaveCb"),qi=Symbol("_enterCb");function dh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tn(()=>{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},hh={name:"BaseTransition",props:hl,setup(t,{slots:e}){const n=eu(),r=dh();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 ro(s);const l=_l(s);if(!l)return ro(s);let c=no(l,o,r,n,f=>c=f);l.type!==We&&Yr(l,c);let u=n.subTree&&_l(n.subTree);if(u&&u.type!==We&&!qn(u,l)&&pl(n).type!==We){let f=no(u,o,r,n);if(Yr(u,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,u=void 0},ro(s);a==="in-out"&&l.type!==We?f.delayLeave=(d,h,m)=>{const p=gl(r,u);p[String(u.key)]=u,d[cn]=()=>{h(),d[cn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=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 ph=hh;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 no(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,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[cn]&&v[cn](!0);const P=S[b];P&&qn(t,P)&&P.el[cn]&&P.el[cn](),E(F,[v])},enter(v){let F=c,P=u,T=f;if(!n.isMounted)if(s)F=x||c,P=k||u,T=z||f;else return;let I=!1;const K=v[qi]=ne=>{I||(I=!0,ne?E(T,[v]):E(P,[v]),A.delayedLeave&&A.delayedLeave(),v[qi]=void 0)};F?w(F,[v,K]):K()},leave(v,F){const P=String(t.key);if(v[qi]&&v[qi](!0),n.isUnmounting)return F();E(d,[v]);let T=!1;const I=v[cn]=K=>{T||(T=!0,F(),K?E(p,[v]):E(m,[v]),v[cn]=void 0,S[P]===t&&delete S[P])};S[P]=t,h?w(h,[v,I]):I()},clone(v){const F=no(v,e,n,r,i);return i&&i(F),F}};return A}function ro(t){if(Gi(t))return t=zn(t),t.children=null,t}function _l(t){if(!Gi(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?zn(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 Yi=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?as(r.component):r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===ae?a.refs={}:a.refs,f=a.setupState,d=oe(f),h=f===ae?Ca:m=>ue(d,m);if(c!=null&&c!==l){if(bl(e),ke(c))u[c]=null,h(c)&&(f[c]=null);else if(Le(c)){c.value=null;const m=e;m.k&&(u[m.k]=null)}}if(G(l))pr(l,a,12,[o,u]);else{const m=ke(l),p=Le(l);if(m||p){const y=()=>{if(t.f){const x=m?h(l)?f[l]:u[l]:l.value;if(i)q(x)&&Rs(x,s);else if(q(x))x.includes(s)||x.push(s);else if(m)u[l]=[s],h(l)&&(f[l]=u[l]);else{const k=[s];l.value=k,t.k&&(u[t.k]=k)}}else m?(u[l]=o,h(l)&&(f[l]=o)):p&&(l.value=o,t.k&&(u[t.k]=o))};if(o){const x=()=>{y(),Yi.delete(t)};x.id=-1,Yi.set(t,x),pt(x,n)}else bl(t),y()}}}function bl(t){const e=Yi.get(t);e&&(e.flags|=8,Yi.delete(t))}Ni().requestIdleCallback,Ni().cancelIdleCallback;const _r=t=>!!t.type.__asyncLoader,Gi=t=>t.type.__isKeepAlive;function mh(t,e){xl(t,"a",e)}function gh(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(Xi(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Gi(i.parent.vnode)&&_h(r,e,n,i),i=i.parent}}function _h(t,e,n,r){const i=Xi(e,t,r,!0);Jn(()=>{Rs(r[e],i)},n)}function Xi(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")&&Xi(t,(...r)=>e(...r),n)},vh=fn("bm"),Tn=fn("m"),yh=fn("bu"),bh=fn("u"),wl=fn("bum"),Jn=fn("um"),xh=fn("sp"),wh=fn("rtg"),Sh=fn("rtc");function kh(t,e=Je){Xi("ec",t,e)}const Th="components",Sl=Symbol.for("v-ndc");function Qi(t){return ke(t)?zh(Th,t,!1)||t:t||Sl}function zh(t,e,n=!0,r=!1){const i=je||Je;if(i){const s=i.type;{const a=su(s,!1);if(a&&(a===e||a===zt(e)||a===Di(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[Di(zt(e))])}function vr(t,e,n,r){let i;const s=n,o=q(t);if(o||ke(t)){const a=o&&Bn(t);let l=!1,c=!1;a&&(l=!Ct(t),c=an(t),t=Ri(t)),i=new Array(t.length);for(let u=0,f=t.length;u<f;u++)i[u]=e(l?c?hr(Rt(t[u])):Rt(t[u]):t[u],u,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,c=a.length;l<c;l++){const u=a[l];i[l]=e(t[u],u,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 c=Object.keys(n).length>0;return e!=="default"&&(n.name=e),V(),He(Ae,null,[Ie("slot",n,r)],c?-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 io=t=>t?nu(t)?as(t):io(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=>io(t.parent),$root:t=>io(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>El(t),$forceUpdate:t=>t.f||(t.f=()=>{to(t.update)}),$nextTick:t=>t.n||(t.n=il.bind(t.proxy)),$watch:t=>ch.bind(t)}),so=(t,e)=>t!==ae&&!t.__isScriptSetup&&ue(t,e),Ch={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(so(r,e))return o[e]=1,r[e];if(i!==ae&&ue(i,e))return o[e]=2,i[e];if(ue(s,e))return o[e]=3,s[e];if(n!==ae&&ue(n,e))return o[e]=4,n[e];oo&&(o[e]=0)}}const c=Xr[e];let u,f;if(c)return e==="$attrs"&&Be(t.attrs,"get",""),c(t);if((u=a.__cssModules)&&(u=u[e]))return u;if(n!==ae&&ue(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ue(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return so(i,e)?(i[e]=n,!0):r!==ae&&ue(r,e)?(r[e]=n,!0):ue(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]!=="$"&&ue(t,a)||so(e,a)||ue(s,a)||ue(r,a)||ue(Xr,a)||ue(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ue(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 oo=!0;function Oh(t){const e=El(t),n=t.proxy,r=t.ctx;oo=!1,e.beforeCreate&&Ol(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,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(c&&$h(c,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=ji(ee))}if(oo=!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=>{ah(te,ee[te])})}u&&Ol(u,t,"c");function Q(ee,te){q(te)?te.forEach(Mt=>ee(Mt.bind(n))):te&&ee(te.bind(n))}if(Q(vh,f),Q(Tn,d),Q(yh,h),Q(bh,m),Q(mh,p),Q(gh,y),Q(kh,A),Q(Sh,E),Q(wh,w),Q(wl,k),Q(Jn,b),Q(xh,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 $h(t,e,n=jt){q(t)&&(t=ao(t));for(const r in t){const i=t[r];let s;me(i)?"default"in i?s=un(i.from||r,i.default,!0):s=un(i.from||r):s=un(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)&&kn(i,s)}else if(G(t))kn(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)&&kn(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(c=>es(l,c,o,!0)),es(l,e,o)),me(e)&&s.set(e,l),l}function es(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&es(t,s,n,!0),i&&i.forEach(o=>es(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=Eh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const Eh={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:Ah,provide:Pl,inject:Ph};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 Ph(t,e){return Qr(ao(t),ao(e))}function ao(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 Ah(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 Ih=0;function Dh(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 c=s.app={_uid:Ih++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:hp,get config(){return s.config},set config(u){},use(u,...f){return o.has(u)||(u&&G(u.install)?(o.add(u),u.install(c,...f)):G(u)&&(o.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const h=c._ceVNode||Ie(r,i);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),t(h,u,d),l=!0,c._container=u,u.__vue_app__=c,as(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Zt(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=yr;yr=c;try{return u()}finally{yr=f}}};return c}}let yr=null;const Mh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${zt(e)}Modifiers`]||t[`${Un(e)}Modifiers`];function Nh(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ae;let i=n;const s=e.startsWith("update:"),o=s&&Mh(r,e.slice(7));o&&(o.trim&&(i=n.map(u=>ke(u)?u.trim():u)),o.number&&(i=n.map(Ls)));let a,l=r[a=Zs(e)]||r[a=Zs(zt(e))];!l&&s&&(l=r[a=Zs(Un(e))]),l&&Zt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zt(c,t,6,i)}}const Rh=new WeakMap;function Dl(t,e,n=!1){const r=n?Rh: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=c=>{const u=Dl(c,e,!0);u&&(a=!0,Re(o,u))};!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 ts(t,e){return!t||!Pi(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,Un(e))||ue(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:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=t,y=Ki(t);let x,k;try{if(n.shapeFlag&4){const b=i||r,S=b;x=Wt(c.call(S,b,u,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:Fh(a)}}catch(b){ei.length=0,Hi(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(Ns)&&(k=Zh(k,s)),z=zn(z,k,!1,!0))}return n.dirs&&(z=zn(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&Yr(z,n.transition),x=z,Ki(y),x}const Fh=t=>{let e;for(const n in t)(n==="class"||n==="style"||Pi(n))&&((e||(e={}))[n]=t[n]);return e},Zh=(t,e)=>{const n={};for(const r in t)(!Ns(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Lh(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=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,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!ts(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Nl(r,o,c):!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]&&!ts(n,s))return!0}return!1}function jh({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 Uh(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:Bd(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Vh(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=oe(i),[l]=t.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(ts(t.emitsOptions,d))continue;const h=e[d];if(l)if(ue(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const m=zt(d);i[m]=lo(l,a,m,h,t,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{Ll(t,e,i,s)&&(c=!0);let u;for(const f in a)(!e||!ue(e,f)&&((u=Un(f))===f||!ue(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=lo(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!ue(e,f))&&(delete s[f],c=!0)}c&&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 c=e[l];let u;i&&ue(i,u=zt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:ts(t.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(s){const l=oe(n),c=a||ae;for(let u=0;u<s.length;u++){const f=s[u];n[f]=lo(i,l,f,c[f],t,!ue(c,f))}}return o}function lo(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=ue(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&G(l)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const u=ri(i);r=c[n]=l.call(null,e),u()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Un(n))&&(r=!0))}return r}const Bh=new WeakMap;function jl(t,e,n=!1){const r=n?Bh:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!G(t)){const u=f=>{l=!0;const[d,h]=jl(f,e,!0);Re(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return me(t)&&r.set(t,cr),cr;if(q(s))for(let u=0;u<s.length;u++){const f=zt(s[u]);Ul(f)&&(o[f]=ae)}else if(s)for(const u in s){const f=zt(u);if(Ul(f)){const d=s[u],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||ue(h,"default"))&&a.push(f)}}const c=[o,a];return me(t)&&r.set(t,c),c}function Ul(t){return t[0]!=="$"&&!Ur(t)}const uo=t=>t==="_"||t==="_ctx"||t==="$stable",co=t=>q(t)?t.map(Wt):[Wt(t)],Wh=(t,e,n)=>{if(e._n)return e;const r=Ot((...i)=>co(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]=Wh(i,s,r);else if(s!=null){const o=co(s);e[i]=()=>o}}},Bl=(t,e)=>{const n=co(e);t.slots.default=()=>n},Wl=(t,e,n)=>{for(const r in e)(n||!uo(r))&&(t[r]=e[r])},Hh=(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)},Jh=(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=Xh;function Kh(t){return qh(t)}function qh(t,e){const n=Ni();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,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=Ms(g),Ze(g,D,M,!0),g=null),_.patchFlag===-2&&(Z=!1,_.dynamicChildren=null);const{type:N,ref:J,shapeFlag:U}=_;switch(N){case ns:y(g,_,O,R);break;case We:x(g,_,O,R);break;case rs: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,$i)}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&&c(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?u(Z,g.children):U&16&&A(g.children,Z,null,R,D,fo(g,M),j,L),X&&Hn(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&&Hn(g,null,R,"beforeMount");const se=Yh(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&&Hn(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?Cn(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&&Hn(_,g,O,"beforeUpdate"),O&&Kn(O,!0),(U.innerHTML&&W.innerHTML==null||U.textContent&&W.textContent==null)&&u(L,""),N?F(g.dynamicChildren,N,L,O,R,fo(_,D),M):j||te(g,_,L,null,O,R,fo(_,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&&u(L,_.children)}else!j&&N==null&&P(L,U,W,O,D);((X=W.onVnodeUpdated)||J)&&pt(()=>{X&&Ht(X,O,_,g),J&&Hn(_,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=sp(g,R,D);if(Gi(g)&&(L.ctx.renderer=$i),op(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(Lh(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&&Mi(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),Ms(en),g,D,M),U.el=ht.el,fe===null&&jh(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&&Mi(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=()=>to(J),Kn(g,!0),N()},ee=(g,_,O)=>{_.component=g;const R=g.vnode.props;g.vnode=_,g.next=null,Vh(g,_.props,R,O),Jh(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&&Oi(N,D,M),U!==N&&u(O,U)):J&16?X&16?Qt(N,U,O,R,D,M,j,L,Z):Oi(N,D,M,!0):(J&8&&u(O,""),X&16&&A(U,O,R,D,M,j,L,Z))},Mt=(g,_,O,R,D,M,j,L,Z)=>{g=g||cr,_=_||cr;const N=g.length,J=_.length,U=Math.min(N,J);let W;for(W=0;W<U;W++){const X=_[W]=Z?Cn(_[W]):Wt(_[W]);p(g[W],X,O,null,D,M,j,L,Z)}N>J?Oi(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?Cn(_[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?Cn(_[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?Cn(_[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?Cn(_[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 Ei=new Array(ht);for(N=0;N<ht;N++)Ei[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(Ei[fe-se]===0&&qn(Tt,_[fe])){nn=fe;break}nn===void 0?Ze(Tt,D,M,!0):(Ei[nn-se]=N+1,nn>=tn?tn=nn:en=!0,p(Tt,_[nn],O,null,D,M,j,L,Z),dt++)}const fd=en?Gh(Ei):cr;for(fe=fd.length-1,N=ht-1;N>=0;N--){const Tt=se+N,nn=_[Tt],dd=_[Tt+1],hd=Tt+1<J?dd.el||ql(dd):R;Ei[N]===0?p(null,nn,O,hd,D,M,j,L,Z):en&&(fe<0||N!==fd[fe]?kt(nn,O,hd,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,$i);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===rs){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[cn](!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&&Hn(g,null,_,"beforeUnmount"),J&64?g.type.remove(g,_,O,$i,R):N&&!N.hasOnce&&(M!==Ae||U>0&&U&64)?Oi(N,_,O,!1,!0):(M===Ae&&U&384||!D&&J&16)&&Oi(Z,_,O),R&&Ci(g)}(ye&&(fe=j&&j.onVnodeUnmounted)||se)&&pt(()=>{fe&&Ht(fe,_,g),se&&Hn(g,null,_,"unmounted")},O)},Ci=g=>{const{type:_,el:O,anchor:R,transition:D}=g;if(_===Ae){Lt(O,R);return}if(_===rs){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&&Mi(R),D.stop(),M&&(M.flags|=8,Ze(j,g,_,O)),L&&pt(L,_),pt(()=>{g.isUnmounted=!0},_)},Oi=(g,_,O,R=!1,D=!1,M=0)=>{for(let j=M;j<g.length;j++)Ze(g[j],_,O,R,D)},Ms=g=>{if(g.shapeFlag&6)return Ms(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const _=d(g.anchor||g.el),O=_&&_[fh];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)},$i={p,um:Ze,m:kt,r:Ci,mt:K,mc:A,pc:te,pbc:F,n:Ms,o:t};return{render:cd,hydrate:void 0,createApp:Dh(cd)}}function fo({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 Yh(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]=Cn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&Hl(o,a)),a.type===ns&&(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 Gh(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const c=t[r];if(c!==0){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<c?s=a+1:o=a;c<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 Xh(t,e){e&&e.pendingBranch?q(t)?e.effects.push(...t):e.effects.push(t):sh(t)}const Ae=Symbol.for("v-fgt"),ns=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),ei=[];let mt=null;function V(t=!1){ei.push(mt=t?null:[])}function Qh(){ei.pop(),mt=ei[ei.length-1]||null}let ti=1;function is(t,e=!1){ti+=t,t<0&&mt&&e&&(mt.hasOnce=!0)}function Gl(t){return t.dynamicChildren=ti>0?mt||cr:null,Qh(),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,ss=({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&&ss(e),scopeId:ul,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?(ho(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=ep;function ep(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===Sl)&&(t=We),ni(t)){const a=zn(t,e,!0);return n&&ho(a,n),ti>0&&!s&&mt&&(a.shapeFlag&6?mt[mt.indexOf(t)]=a:mt.push(a)),a.patchFlag=-2,a}if(dp(t)&&(t=t.__vccOpts),e){e=tp(e);let{class:a,style:l}=e;a&&!ke(a)&&(e.class=Y(a)),me(l)&&(Qs(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 tp(t){return t?Qs(t)||Zl(t)?Re({},t):t:null}function zn(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,c=e?po(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Xl(c),ref:e&&e.ref?n&&s?q(s)?s.concat(ss(e)):[s,ss(e)]:ss(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&&zn(t.ssContent),ssFallback:t.ssFallback&&zn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&Yr(u,l.clone(u)),u}function Ql(t=" ",e=0){return Ie(ns,null,t,e)}function np(t,e){const n=Ie(rs,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)?Cn(t):Ie(ns,null,String(t))}function Cn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:zn(t)}function ho(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),ho(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 po(...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(Pi(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 rp=Il();let ip=0;function sp(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||rp,s={uid:ip++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kd(!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=Nh.bind(null,s),t.ce&&t.ce(s),s}let Je=null;const eu=()=>Je||je;let os,mo;{const t=Ni(),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)}};os=e("__VUE_INSTANCE_SETTERS__",n=>Je=n),mo=e("__VUE_SSR_SETTERS__",n=>ii=n)}const ri=t=>{const e=Je;return os(t),t.scope.on(),()=>{t.scope.off(),os(e)}},tu=()=>{Je&&Je.scope.off(),os(null)};function nu(t){return t.vnode.shapeFlag&4}let ii=!1;function op(t,e=!1,n=!1){e&&mo(e);const{props:r,children:i}=t.vnode,s=nu(t);Uh(t,r,s,e),Hh(t,i,n||e);const o=s?ap(t,e):void 0;return e&&mo(!1),o}function ap(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Ch);const{setup:r}=n;if(r){Ut();const i=t.setupContext=r.length>1?up(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(tu,tu),e)return o.then(l=>{ru(t,l)}).catch(l=>{Hi(l,t,0)});t.asyncDep=o}else ru(t,o)}else iu(t)}function ru(t,e,n){G(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=tl(e)),iu(t)}function iu(t,e,n){const r=t.type;t.render||(t.render=r.render||jt);{const i=ri(t);Ut();try{Oh(t)}finally{Vt(),i()}}}const lp={get(t,e){return Be(t,"get",""),t[e]}};function up(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,lp),slots:t.slots,emit:t.emit,expose:e}}function as(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(tl(Wd(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,fp=t=>t.replace(cp,e=>e.toUpperCase()).replace(/[-_]/g,"");function su(t,e=!0){return G(t)?t.displayName||t.name:t.name||e&&t.__name}function ou(t,e,n=!1){let r=su(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?fp(r):n?"App":"Anonymous"}function dp(t){return G(t)&&"__vccOpts"in t}const le=(t,e)=>Yd(t,e,ii);function _e(t,e,n){try{is(-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{is(1)}}const hp="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 _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(`
20
+ **/let go;const au=typeof window<"u"&&window.trustedTypes;if(au)try{go=au.createPolicy("vue",{createHTML:t=>t})}catch{}const lu=go?t=>go.createHTML(t):t=>t,pp="http://www.w3.org/2000/svg",mp="http://www.w3.org/1998/Math/MathML",dn=typeof document<"u"?document:null,uu=dn&&dn.createElement("template"),gp={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(pp,t):e==="mathml"?dn.createElementNS(mp,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{uu.innerHTML=lu(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=uu.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]}},On="transition",si="animation",oi=Symbol("_vtc"),cu={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},_p=Re({},hl,cu),_o=(t=>(t.displayName="Transition",t.props=_p,t))((t,{slots:e})=>_e(ph,vp(t),e)),Yn=(t,e=[])=>{q(t)?t.forEach(n=>n(...e)):t&&t(...e)},fu=t=>t?q(t)?t.some(e=>e.length>1):t.length>1:!1;function vp(t){const e={};for(const T in t)T in cu||(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:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,m=yp(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?u:a),Gn(T,I?c: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]),du(()=>{Gn(I,T?l:s),hn(I,T?u:a),fu(ne)||hu(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,c)},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),gu(T)):(gu(T),hn(T,d)),du(()=>{T._isLeaving&&(Gn(T,f),hn(T,h),fu(b)||hu(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 yp(t){if(t==null)return null;if(me(t))return[vo(t.enter),vo(t.leave)];{const e=vo(t);return[e,e]}}function vo(t){return vd(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 du(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let bp=0;function hu(t,e,n,r){const i=t._endId=++bp,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=xp(t,e);if(!o)return r();const c=o+"end";let u=0;const f=()=>{t.removeEventListener(c,d),s()},d=h=>{h.target===t&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),t.addEventListener(c,d)}function xp(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),i=r(`${On}Delay`),s=r(`${On}Duration`),o=pu(i,s),a=r(`${si}Delay`),l=r(`${si}Duration`),c=pu(a,l);let u=null,f=0,d=0;e===On?o>0&&(u=On,f=o,d=s.length):e===si?c>0&&(u=si,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?On:si:null,d=u?u===On?s.length:l.length:0);const h=u===On&&/\b(?:transform|all)(?:,|$)/.test(r(`${On}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function pu(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>mu(n)+mu(t[r])))}function mu(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function gu(t){return(t?t.ownerDocument:document).body.offsetHeight}function wp(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 _u=Symbol("_vod"),Sp=Symbol("_vsh"),kp=Symbol(""),Tp=/(?:^|;)\s*display\s*:/;function zp(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&&ls(r,a,"")}else for(const o in e)n[o]==null&&ls(r,o,"");for(const o in n)o==="display"&&(s=!0),ls(r,o,n[o])}else if(i){if(e!==n){const o=r[kp];o&&(n+=";"+o),r.cssText=n,s=Tp.test(n)}}else e&&t.removeAttribute("style");_u in t&&(t[_u]=s?r.display:"",t[Sp]&&(r.display="none"))}const vu=/\s*!important$/;function ls(t,e,n){if(q(n))n.forEach(r=>ls(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Cp(t,e);vu.test(n)?t.setProperty(Un(r),n.replace(vu,""),"important"):t[r]=n}}const yu=["Webkit","Moz","ms"],yo={};function Cp(t,e){const n=yo[e];if(n)return n;let r=zt(e);if(r!=="filter"&&r in t)return yo[e]=r;r=Di(r);for(let i=0;i<yu.length;i++){const s=yu[i]+r;if(s in t)return yo[e]=s}return e}const bu="http://www.w3.org/1999/xlink";function xu(t,e,n,r,i,s=Sd(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(bu,e.slice(6,e.length)):t.setAttributeNS(bu,e,n):n==null||s&&!Da(n)?t.removeAttribute(e):t.setAttribute(e,s?"":rn(n)?String(n):n)}function wu(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?lu(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 Op(t,e,n,r){t.removeEventListener(e,n,r)}const Su=Symbol("_vei");function $p(t,e,n,r,i=null){const s=t[Su]||(t[Su]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=Ep(e);if(r){const c=s[e]=Ip(r,i);br(t,a,c,l)}else o&&(Op(t,a,o,l),s[e]=void 0)}}const ku=/(?:Once|Passive|Capture)$/;function Ep(t){let e;if(ku.test(t)){e={};let r;for(;r=t.match(ku);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Un(t.slice(2)),e]}let bo=0;const Pp=Promise.resolve(),Ap=()=>bo||(Pp.then(()=>bo=0),bo=Date.now());function Ip(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Zt(Dp(r,n.value),e,5,[r])};return n.value=t,n.attached=Ap(),n}function Dp(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 Tu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Mp=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?wp(t,r,o):e==="style"?zp(t,n,r):Pi(e)?Ns(e)||$p(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Np(t,e,r,o))?(wu(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&xu(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ke(r))?wu(t,zt(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),xu(t,e,r,o))};function Np(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Tu(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 Tu(e)&&ke(n)?!1:e in t}const zu=t=>{const e=t.props["onUpdate:modelValue"]||!1;return q(e)?n=>Mi(e,n):e};function Rp(t){t.target.composing=!0}function Cu(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const xo=Symbol("_assign");function Ou(t,e,n){return e&&(t=t.trim()),n&&(t=Ls(t)),t}const Fp={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t[xo]=zu(i);const s=r||i.props&&i.props.type==="number";br(t,e?"change":"input",o=>{o.target.composing||t[xo](Ou(t.value,n,s))}),(n||s)&&br(t,"change",()=>{t.value=Ou(t.value,n,s)}),e||(br(t,"compositionstart",Rp),br(t,"compositionend",Cu),br(t,"change",Cu))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(t[xo]=zu(o),t.composing)return;const a=(s||t.type==="number")&&!/^0\d/.test(t.value)?Ls(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))}},Zp=["ctrl","shift","alt","meta"],Lp={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)=>Zp.some(n=>t[`${n}Key`]&&!e.includes(n))},$u=(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=Lp[e[o]];if(a&&a(i,e))return}return t(i,...s)})},jp=Re({patchProp:Mp},gp);let Eu;function Up(){return Eu||(Eu=Kh(jp))}const Pu=(...t)=>{const e=Up().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=Bp(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,Vp(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Vp(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Bp(t){return ke(t)?document.querySelector(t):t}const Au={"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 Wp(t){return t in Au?Au[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 c=o.prototype,u=Object.keys(c);for(let f=0;f<u.length;f++){const d=u[f];d in a||(a[d]=c[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 c=n!=null&&n.Parent?new s:this;r(c,a),(l=c._zod).deferred??(l.deferred=[]);for(const u of c._zod.deferred)u();return c}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>{var l,c;return n!=null&&n.Parent&&a instanceof n.Parent?!0:(c=(l=a==null?void 0:a._zod)==null?void 0:l.traits)==null?void 0:c.has(t)}}),Object.defineProperty(o,"name",{value:t}),o}class xr extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Iu extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const Du={};function $n(t){return Du}function Mu(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 wo(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 So(t){return t==null}function ko(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Hp(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 Nu=Symbol("evaluating");function de(t,e,n){let r;Object.defineProperty(t,e,{get(){if(r!==Nu)return r===void 0&&(r=Nu,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 Ru(t){return JSON.stringify(t)}function Jp(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Fu="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function ai(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const Kp=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 Zu(t){return wr(t)?{...t}:Array.isArray(t)?[...t]:t}const qp=new Set(["string","number","symbol"]);function Sr(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function En(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 Yp(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const Gp={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 Xp(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 En(t,r)}function Qp(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 En(t,r)}function em(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 En(t,i)}function tm(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 En(t,n)}function nm(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 En(t,n)}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 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 En(e,r)}function im(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 En(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 cs(t){return typeof t=="string"?t:t==null?void 0:t.message}function Pn(t,e,n){var i,s,o,a,l,c;const r={...t,path:t.path??[]};if(!t.message){const u=cs((o=(s=(i=t.inst)==null?void 0:i._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,t))??cs((a=e==null?void 0:e.error)==null?void 0:a.call(e,t))??cs((l=n.customError)==null?void 0:l.call(n,t))??cs((c=n.localeError)==null?void 0:c.call(n,t))??"Invalid input";r.message=u}return delete r.inst,delete r.continue,e!=null&&e.reportInput||delete r.input,r}function To(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 Lu=(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,wo,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},ju=C("$ZodError",Lu),Uu=C("$ZodError",Lu,{Parent:Error});function sm(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 om(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 zo=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=>Pn(l,s,$n())));throw Fu(a,i==null?void 0:i.callee),a}return o.value},Co=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=>Pn(l,s,$n())));throw Fu(a,i==null?void 0:i.callee),a}return o.value},fs=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??ju)(s.issues.map(o=>Pn(o,i,$n())))}:{success:!0,data:s.value}},am=fs(Uu),ds=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=>Pn(o,i,$n())))}:{success:!0,data:s.value}},lm=ds(Uu),um=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return zo(t)(e,n,i)},cm=t=>(e,n,r)=>zo(t)(e,n,r),fm=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Co(t)(e,n,i)},dm=t=>async(e,n,r)=>Co(t)(e,n,r),hm=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return fs(t)(e,n,i)},pm=t=>(e,n,r)=>fs(t)(e,n,r),mm=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ds(t)(e,n,i)},gm=t=>async(e,n,r)=>ds(t)(e,n,r),_m=/^[cC][^\s-]{8,}$/,vm=/^[0-9a-z]+$/,ym=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,bm=/^[0-9a-vA-V]{20}$/,xm=/^[A-Za-z0-9]{27}$/,wm=/^[a-zA-Z0-9_-]{21}$/,Sm=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,km=/^([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})$/,Vu=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)$/,Tm=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,zm="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Cm(){return new RegExp(zm,"u")}const Om=/^(?:(?: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])$/,$m=/^(([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}|:))$/,Em=/^((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])$/,Pm=/^(([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])$/,Am=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Bu=/^[A-Za-z0-9_-]*$/,Im=/^\+(?:[0-9]){6,14}[0-9]$/,Wu="(?:(?:\\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])))",Dm=new RegExp(`^${Wu}$`);function Hu(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 Mm(t){return new RegExp(`^${Hu(t)}$`)}function Nm(t){const e=Hu({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(`^${Wu}T(?:${r})$`)}const Rm=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}$`)},Fm=/^-?\d+$/,Zm=/^-?\d+(?:\.\d+)?/,Lm=/^(?:true|false)$/i,jm=/^null$/i,Um=/^undefined$/i,Vm=/^[^A-Z]*$/,Bm=/^[^a-z]*$/,ot=C("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Ju={number:"number",bigint:"bigint",object:"date"},Ku=C("$ZodCheckLessThan",(t,e)=>{ot.init(t,e);const n=Ju[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})}}),qu=C("$ZodCheckGreaterThan",(t,e)=>{ot.init(t,e);const n=Ju[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})}}),Wm=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):Hp(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})}}),Hm=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]=Gp[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=Fm)}),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})}}),Jm=C("$ZodCheckMaxLength",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!So(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=To(i);r.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),Km=C("$ZodCheckMinLength",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!So(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=To(i);r.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),qm=C("$ZodCheckLengthEquals",(t,e)=>{var n;ot.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!So(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=To(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})}}),hs=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=()=>{})}),Ym=C("$ZodCheckRegex",(t,e)=>{hs.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})}}),Gm=C("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=Vm),hs.init(t,e)}),Xm=C("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=Bm),hs.init(t,e)}),Qm=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})}}),eg=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})}}),tg=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})}}),ng=C("$ZodCheckOverwrite",(t,e)=>{ot.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class rg{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 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(`
22
+ `))}}const ig={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=ig;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,c)=>{let u=kr(a),f;for(const d of l){if(d._zod.def.when){if(!d._zod.def.when(a))continue}else if(u)continue;const h=a.issues.length,m=d._zod.check(a);if(m instanceof Promise&&(c==null?void 0:c.async)===!1)throw new xr;if(f||m instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await m,a.issues.length!==h&&(u||(u=kr(a,h)))});else{if(a.issues.length===h)continue;u||(u=kr(a,h))}}return f?f.then(()=>a):a},o=(a,l,c)=>{if(kr(a))return a.aborted=!0,a;const u=s(l,r,c);if(u instanceof Promise){if(c.async===!1)throw new xr;return u.then(f=>t._zod.parse(f,c))}return t._zod.parse(u,c)};t._zod.run=(a,l)=>{if(l.skipChecks)return t._zod.parse(a,l);if(l.direction==="backward"){const u=t._zod.parse({value:a.value,issues:[]},{...l,skipChecks:!0});return u instanceof Promise?u.then(f=>o(f,a,l)):o(u,a,l)}const c=t._zod.parse(a,l);if(c instanceof Promise){if(l.async===!1)throw new xr;return c.then(u=>s(u,r,l))}return s(c,r,l)}}t["~standard"]={validate:s=>{var o;try{const a=am(t,s);return a.success?{value:a.data}:{issues:(o=a.error)==null?void 0:o.issues}}catch{return lm(t,s).then(l=>{var c;return l.success?{value:l.data}:{issues:(c=l.error)==null?void 0:c.issues}})}},vendor:"zod",version:1}}),Oo=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()??Rm(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)=>{hs.init(t,e),Oo.init(t,e)}),sg=C("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=km),we.init(t,e)}),og=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=Vu(r))}else e.pattern??(e.pattern=Vu());we.init(t,e)}),ag=C("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=Tm),we.init(t,e)}),lg=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})}}}),ug=C("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=Cm()),we.init(t,e)}),cg=C("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=wm),we.init(t,e)}),fg=C("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=_m),we.init(t,e)}),dg=C("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=vm),we.init(t,e)}),hg=C("$ZodULID",(t,e)=>{e.pattern??(e.pattern=ym),we.init(t,e)}),pg=C("$ZodXID",(t,e)=>{e.pattern??(e.pattern=bm),we.init(t,e)}),mg=C("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=xm),we.init(t,e)}),gg=C("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=Nm(e)),we.init(t,e)}),_g=C("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=Dm),we.init(t,e)}),vg=C("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=Mm(e)),we.init(t,e)}),yg=C("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=Sm),we.init(t,e)}),bg=C("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=Om),we.init(t,e),t._zod.bag.format="ipv4"}),xg=C("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=$m),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})}}}),wg=C("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=Em),we.init(t,e)}),Sg=C("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=Pm),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 Yu(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const kg=C("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=Am),we.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{Yu(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function Tg(t){if(!Bu.test(t))return!1;const e=t.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return Yu(n)}const zg=C("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Bu),we.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{Tg(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),Cg=C("$ZodE164",(t,e)=>{e.pattern??(e.pattern=Im),we.init(t,e)});function Og(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 $g=C("$ZodJWT",(t,e)=>{we.init(t,e),t._zod.check=n=>{Og(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),Gu=C("$ZodNumber",(t,e)=>{ve.init(t,e),t._zod.pattern=t._zod.bag.pattern??Zm,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}}),Eg=C("$ZodNumberFormat",(t,e)=>{Hm.init(t,e),Gu.init(t,e)}),Pg=C("$ZodBoolean",(t,e)=>{ve.init(t,e),t._zod.pattern=Lm,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}}),Ag=C("$ZodUndefined",(t,e)=>{ve.init(t,e),t._zod.pattern=Um,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}}),Ig=C("$ZodNull",(t,e)=>{ve.init(t,e),t._zod.pattern=jm,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}}),Dg=C("$ZodAny",(t,e)=>{ve.init(t,e),t._zod.parse=n=>n}),Mg=C("$ZodUnknown",(t,e)=>{ve.init(t,e),t._zod.parse=n=>n}),Ng=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 Xu(t,e,n){t.issues.length&&e.issues.push(...Tr(n,t.issues)),e.value[n]=t.value}const Rg=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(c=>Xu(c,n,o))):Xu(l,n,o)}return s.length?Promise.all(s).then(()=>n):n}});function ps(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 Qu(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=Yp(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function ec(t,e,n,r,i,s){const o=[],a=i.keySet,l=i.catchall._zod,c=l.def.type;for(const u in e){if(a.has(u))continue;if(c==="never"){o.push(u);continue}const f=l.run({value:e[u],issues:[]},r);f instanceof Promise?t.push(f.then(d=>ps(d,n,u,e))):ps(f,n,u,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 Fg=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(()=>Qu(e));de(t._zod,"propValues",()=>{const a=e.shape,l={};for(const c in a){const u=a[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(const f of u.values)l[c].add(f)}}return l});const i=ai,s=e.catchall;let o;t._zod.parse=(a,l)=>{o??(o=r.value);const c=a.value;if(!i(c))return a.issues.push({expected:"object",code:"invalid_type",input:c,inst:t}),a;a.value={};const u=[],f=o.shape;for(const d of o.keys){const m=f[d]._zod.run({value:c[d],issues:[]},l);m instanceof Promise?u.push(m.then(p=>ps(p,a,d,c))):ps(m,a,d,c)}return s?ec(u,c,a,l,r.value,t):u.length?Promise.all(u).then(()=>a):a}}),Zg=C("$ZodObjectJIT",(t,e)=>{Fg.init(t,e);const n=t._zod.parse,r=us(()=>Qu(e)),i=d=>{const h=new rg(["shape","payload","ctx"]),m=r.value,p=z=>{const b=Ru(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=Ru(z);h.write(`const ${b} = ${p(z)};`),h.write(`
23
23
  if (${b}.issues.length) {
24
24
  payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
25
25
  ...iss,
@@ -36,35 +36,32 @@
36
36
  newResult[${S}] = ${b}.value;
37
37
  }
38
38
 
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>
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=!Du.jitless,c=a&&Kp.value,u=e.catchall;let f;t._zod.parse=(d,h)=>{f??(f=r.value);const m=d.value;return o(m)?a&&c&&(h==null?void 0:h.async)===!1&&h.jitless!==!0?(s||(s=i(e.shape)),d=s(d,h),u?ec([],m,d,h,f,t):d):n(d,h):(d.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),d)}});function tc(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=>Pn(o,r,$n())))}),e)}const nc=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=>ko(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 c=l._zod.run({value:i.value,issues:[]},s);if(c instanceof Promise)a.push(c),o=!0;else{if(c.issues.length===0)return c;a.push(c)}}return o?Promise.all(a).then(l=>tc(l,i,t,s)):tc(a,i,t,s)}}),Lg=C("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,nc.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 c of l)i[a].add(c)}}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 c of l){if(s.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);s.set(c,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)}}),jg=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,c])=>rc(n,l,c)):rc(n,s,o)}});function $o(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=$o(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=$o(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 rc(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=$o(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 Ug=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 c of o)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){a.add(typeof c=="number"?c.toString():c);const u=e.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?s.push(u.then(f=>{f.issues.length&&n.issues.push(...Tr(c,f.issues)),n.value[c]=f.value})):(u.issues.length&&n.issues.push(...Tr(c,u.issues)),n.value[c]=u.value)}let l;for(const c in i)a.has(c)||(l=l??[],l.push(c));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(u=>Pn(u,r,$n())),input:a,path:[a],inst:t});continue}const c=e.valueType._zod.run({value:i[a],issues:[]},r);c instanceof Promise?s.push(c.then(u=>{u.issues.length&&n.issues.push(...Tr(a,u.issues)),n.value[l.value]=u.value})):(c.issues.length&&n.issues.push(...Tr(a,c.issues)),n.value[l.value]=c.value)}}return s.length?Promise.all(s).then(()=>n):n}}),Vg=C("$ZodEnum",(t,e)=>{ve.init(t,e);const n=Mu(e.entries),r=new Set(n);t._zod.values=r,t._zod.pattern=new RegExp(`^(${n.filter(i=>qp.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}}),Bg=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}}),Wg=C("$ZodTransform",(t,e)=>{ve.init(t,e),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Iu(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 ic(t,e){return t.issues.length&&e===void 0?{issues:[],value:void 0}:t}const Hg=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(`^(${ko(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=>ic(s,n.value)):ic(i,n.value)}return n.value===void 0?n:e.innerType._zod.run(n,r)}}),Jg=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(`^(${ko(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)}),Kg=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=>sc(s,e)):sc(i,e)}});function sc(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}const qg=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))}),Yg=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=>oc(s,t)):oc(i,t)}});function oc(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 Gg=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=>Pn(o,r,$n()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=e.catchValue({...n,error:{issues:i.issues.map(s=>Pn(s,r,$n()))},input:n.value}),n.issues=[]),n)}}),Xg=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=>ms(o,e.in,r)):ms(s,e.in,r)}const i=e.in._zod.run(n,r);return i instanceof Promise?i.then(s=>ms(s,e.out,r)):ms(i,e.out,r)}});function ms(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}const Qg=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(ac):ac(i)}});function ac(t){return t.value=Object.freeze(t.value),t}const e_=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=>lc(s,n,r,t));lc(i,n,r,t)}});function lc(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 uc;class t_{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 n_(){return new t_}(uc=globalThis).__zod_globalRegistry??(uc.__zod_globalRegistry=n_());const ui=globalThis.__zod_globalRegistry;function r_(t,e){return new t({type:"string",...B(e)})}function i_(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...B(e)})}function cc(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...B(e)})}function s_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...B(e)})}function o_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...B(e)})}function a_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...B(e)})}function l_(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...B(e)})}function u_(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 f_(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...B(e)})}function d_(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...B(e)})}function h_(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...B(e)})}function p_(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...B(e)})}function m_(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...B(e)})}function g_(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...B(e)})}function __(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...B(e)})}function v_(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...B(e)})}function y_(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...B(e)})}function b_(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...B(e)})}function x_(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...B(e)})}function w_(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...B(e)})}function S_(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...B(e)})}function k_(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...B(e)})}function T_(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...B(e)})}function z_(t,e){return new t({type:"string",format:"date",check:"string_format",...B(e)})}function C_(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...B(e)})}function O_(t,e){return new t({type:"string",format:"duration",check:"string_format",...B(e)})}function $_(t,e){return new t({type:"number",checks:[],...B(e)})}function E_(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...B(e)})}function P_(t,e){return new t({type:"boolean",...B(e)})}function A_(t,e){return new t({type:"undefined",...B(e)})}function I_(t,e){return new t({type:"null",...B(e)})}function D_(t){return new t({type:"any"})}function M_(t){return new t({type:"unknown"})}function N_(t,e){return new t({type:"never",...B(e)})}function fc(t,e){return new Ku({check:"less_than",...B(e),value:t,inclusive:!1})}function Eo(t,e){return new Ku({check:"less_than",...B(e),value:t,inclusive:!0})}function dc(t,e){return new qu({check:"greater_than",...B(e),value:t,inclusive:!1})}function Po(t,e){return new qu({check:"greater_than",...B(e),value:t,inclusive:!0})}function hc(t,e){return new Wm({check:"multiple_of",...B(e),value:t})}function pc(t,e){return new Jm({check:"max_length",...B(e),maximum:t})}function gs(t,e){return new Km({check:"min_length",...B(e),minimum:t})}function mc(t,e){return new qm({check:"length_equals",...B(e),length:t})}function R_(t,e){return new Ym({check:"string_format",format:"regex",...B(e),pattern:t})}function F_(t){return new Gm({check:"string_format",format:"lowercase",...B(t)})}function Z_(t){return new Xm({check:"string_format",format:"uppercase",...B(t)})}function L_(t,e){return new Qm({check:"string_format",format:"includes",...B(e),includes:t})}function j_(t,e){return new eg({check:"string_format",format:"starts_with",...B(e),prefix:t})}function U_(t,e){return new tg({check:"string_format",format:"ends_with",...B(e),suffix:t})}function zr(t){return new ng({check:"overwrite",tx:t})}function V_(t){return zr(e=>e.normalize(t))}function B_(){return zr(t=>t.trim())}function W_(){return zr(t=>t.toLowerCase())}function H_(){return zr(t=>t.toUpperCase())}function J_(){return zr(t=>Jp(t))}function K_(t,e,n){return new t({type:"array",element:e,...B(n)})}function q_(t,e,n){return new t({type:"custom",check:"custom",fn:e,...B(n)})}function Y_(t){const e=G_(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 G_(t,e){const n=new ot({check:"custom",...B(e)});return n._zod.check=t,n}function gc(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)??ui,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 u,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=(u=t._zod).toJSONSchema)==null?void 0:f.call(u);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 _c(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 c=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")}#/${c}/${y}`}}if(l[1]===n)return{ref:"#"};const f=`#/${c}/`,d=l[1].schema.id??`__schema${t.counter++}`;return{defId:d,ref:f+d}},i=l=>{if(l[1].schema.$ref)return;const c=l[1],{ref:u,defId:f}=r(l);c.def={...c.schema},f&&(c.defId=f);const d=c.schema;for(const h in d)delete d[h];d.$ref=u};if(t.cycles==="throw")for(const l of t.seen.entries()){const c=l[1];if(c.cycle)throw new Error(`Cycle detected: #/${(s=c.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 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}/*!
41
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of t.seen.entries()){const c=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(c.cycle){i(l);continue}if(c.count>1&&t.reused==="ref"){i(l);continue}}}function vc(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=c=>{const u=t.seen.get(c),f=u.def??u.schema,d={...f};if(u.ref===null)return;const h=u.ref;if(u.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))}u.isParent||t.override({zodSchema:c,jsonSchema:f,path:u.path??[]})};for(const c of[...t.seen.entries()].reverse())r(c[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 c=(a=t.external.registry.get(e))==null?void 0:a.id;if(!c)throw new Error("Schema is missing an `id` property");i.$id=t.external.uri(c)}Object.assign(i,n.def??n.schema);const s=((l=t.external)==null?void 0:l.defs)??{};for(const c of t.seen.entries()){const u=c[1];u.def&&u.defId&&(s[u.defId]=u.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const c=JSON.parse(JSON.stringify(i));return Object.defineProperty(c,"~standard",{value:{...e["~standard"],jsonSchema:{input:_s(e,"input"),output:_s(e,"output")}},enumerable:!1,writable:!1}),c}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 X_=(t,e={})=>n=>{const r=gc({...n,processors:e});return Ne(t,r),_c(r,t),vc(r,t)},_s=(t,e)=>n=>{const{libraryOptions:r,target:i}=n??{},s=gc({...r??{},target:i,io:e,processors:{}});return Ne(t,s),_c(s,t),vc(s,t)},Q_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},e0=(t,e,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:l,contentEncoding:c}=t._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=Q_[a]??a,i.format===""&&delete i.format),c&&(i.contentEncoding=c),l&&l.size>0){const u=[...l];u.length===1?i.pattern=u[0].source:u.length>1&&(i.allOf=[...u.map(f=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},t0=(t,e,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=t._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof s=="number"&&(i.minimum=s,typeof u=="number"&&e.target!=="draft-04"&&(u>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof c=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c),typeof o=="number"&&(i.maximum=o,typeof c=="number"&&e.target!=="draft-04"&&(c<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof l=="number"&&(i.multipleOf=l)},n0=(t,e,n,r)=>{n.type="boolean"},r0=(t,e,n,r)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},i0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},s0=(t,e,n,r)=>{n.not={}},o0=(t,e,n,r)=>{},a0=(t,e,n,r)=>{},l0=(t,e,n,r)=>{const i=t._zod.def,s=Mu(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},u0=(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")},f0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},d0=(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"]})},h0=(t,e,n,r)=>{var c;const i=n,s=t._zod.def;i.type="object",i.properties={};const o=s.shape;for(const u in o)i.properties[u]=Ne(o[u],e,{...r,path:[...r.path,"properties",u]});const a=new Set(Object.keys(o)),l=new Set([...a].filter(u=>{const f=s.shape[u]._zod;return e.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(i.required=Array.from(l)),((c=s.catchall)==null?void 0:c._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)},p0=(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},m0=(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=c=>"allOf"in c&&Object.keys(c).length===1,l=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=l},g0=(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"]})},_0=(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"}]},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},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,n.default=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,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},x0=(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},w0=(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},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,n.readOnly=!0},k0=(t,e,n,r)=>{const i=t._zod.def;Ne(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},T0=C("ZodISODateTime",(t,e)=>{gg.init(t,e),ze.init(t,e)});function z0(t){return T_(T0,t)}const C0=C("ZodISODate",(t,e)=>{_g.init(t,e),ze.init(t,e)});function O0(t){return z_(C0,t)}const $0=C("ZodISOTime",(t,e)=>{vg.init(t,e),ze.init(t,e)});function E0(t){return C_($0,t)}const P0=C("ZodISODuration",(t,e)=>{yg.init(t,e),ze.init(t,e)});function A0(t){return O_(P0,t)}const Et=C("ZodError",(t,e)=>{ju.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>om(t,n)},flatten:{value:n=>sm(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,wo,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,wo,2)}},isEmpty:{get(){return t.issues.length===0}}})},{Parent:Error}),I0=zo(Et),D0=Co(Et),M0=fs(Et),N0=ds(Et),R0=um(Et),F0=cm(Et),Z0=fm(Et),L0=dm(Et),j0=hm(Et),U0=pm(Et),V0=mm(Et),B0=gm(Et),xe=C("ZodType",(t,e)=>(ve.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:_s(t,"input"),output:_s(t,"output")}}),t.toJSONSchema=X_(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)=>En(t,n,r),t.brand=()=>t,t.register=(n,r)=>(n.add(t,r),t),t.parse=(n,r)=>I0(t,n,r,{callee:t.parse}),t.safeParse=(n,r)=>M0(t,n,r),t.parseAsync=async(n,r)=>D0(t,n,r,{callee:t.parseAsync}),t.safeParseAsync=async(n,r)=>N0(t,n,r),t.spa=t.safeParseAsync,t.encode=(n,r)=>R0(t,n,r),t.decode=(n,r)=>F0(t,n,r),t.encodeAsync=async(n,r)=>Z0(t,n,r),t.decodeAsync=async(n,r)=>L0(t,n,r),t.safeEncode=(n,r)=>j0(t,n,r),t.safeDecode=(n,r)=>U0(t,n,r),t.safeEncodeAsync=async(n,r)=>V0(t,n,r),t.safeDecodeAsync=async(n,r)=>B0(t,n,r),t.refine=(n,r)=>t.check(Lv(n,r)),t.superRefine=n=>t.check(jv(n)),t.overwrite=n=>t.check(zr(n)),t.optional=()=>$c(t),t.nullable=()=>Ec(t),t.nullish=()=>$c(Ec(t)),t.nonoptional=n=>Iv(t,n),t.array=()=>Ao(t),t.or=n=>Io([t,n]),t.and=n=>Sv(t,n),t.transform=n=>No(t,Cc(n)),t.default=n=>Ev(t,n),t.prefault=n=>Av(t,n),t.catch=n=>Mv(t,n),t.pipe=n=>No(t,n),t.readonly=()=>Fv(t),t.describe=n=>{const r=t.clone();return ui.add(r,{description:n}),r},Object.defineProperty(t,"description",{get(){var n;return(n=ui.get(t))==null?void 0:n.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return ui.get(t);const r=t.clone();return ui.add(r,n[0]),r},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),yc=C("_ZodString",(t,e)=>{Oo.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>e0(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(R_(...r)),t.includes=(...r)=>t.check(L_(...r)),t.startsWith=(...r)=>t.check(j_(...r)),t.endsWith=(...r)=>t.check(U_(...r)),t.min=(...r)=>t.check(gs(...r)),t.max=(...r)=>t.check(pc(...r)),t.length=(...r)=>t.check(mc(...r)),t.nonempty=(...r)=>t.check(gs(1,...r)),t.lowercase=r=>t.check(F_(r)),t.uppercase=r=>t.check(Z_(r)),t.trim=()=>t.check(B_()),t.normalize=(...r)=>t.check(V_(...r)),t.toLowerCase=()=>t.check(W_()),t.toUpperCase=()=>t.check(H_()),t.slugify=()=>t.check(J_())}),W0=C("ZodString",(t,e)=>{Oo.init(t,e),yc.init(t,e),t.email=n=>t.check(i_(H0,n)),t.url=n=>t.check(u_(J0,n)),t.jwt=n=>t.check(k_(lv,n)),t.emoji=n=>t.check(c_(K0,n)),t.guid=n=>t.check(cc(bc,n)),t.uuid=n=>t.check(s_(vs,n)),t.uuidv4=n=>t.check(o_(vs,n)),t.uuidv6=n=>t.check(a_(vs,n)),t.uuidv7=n=>t.check(l_(vs,n)),t.nanoid=n=>t.check(f_(q0,n)),t.guid=n=>t.check(cc(bc,n)),t.cuid=n=>t.check(d_(Y0,n)),t.cuid2=n=>t.check(h_(G0,n)),t.ulid=n=>t.check(p_(X0,n)),t.base64=n=>t.check(x_(sv,n)),t.base64url=n=>t.check(w_(ov,n)),t.xid=n=>t.check(m_(Q0,n)),t.ksuid=n=>t.check(g_(ev,n)),t.ipv4=n=>t.check(__(tv,n)),t.ipv6=n=>t.check(v_(nv,n)),t.cidrv4=n=>t.check(y_(rv,n)),t.cidrv6=n=>t.check(b_(iv,n)),t.e164=n=>t.check(S_(av,n)),t.datetime=n=>t.check(z0(n)),t.date=n=>t.check(O0(n)),t.time=n=>t.check(E0(n)),t.duration=n=>t.check(A0(n))});function er(t){return r_(W0,t)}const ze=C("ZodStringFormat",(t,e)=>{we.init(t,e),yc.init(t,e)}),H0=C("ZodEmail",(t,e)=>{ag.init(t,e),ze.init(t,e)}),bc=C("ZodGUID",(t,e)=>{sg.init(t,e),ze.init(t,e)}),vs=C("ZodUUID",(t,e)=>{og.init(t,e),ze.init(t,e)}),J0=C("ZodURL",(t,e)=>{lg.init(t,e),ze.init(t,e)}),K0=C("ZodEmoji",(t,e)=>{ug.init(t,e),ze.init(t,e)}),q0=C("ZodNanoID",(t,e)=>{cg.init(t,e),ze.init(t,e)}),Y0=C("ZodCUID",(t,e)=>{fg.init(t,e),ze.init(t,e)}),G0=C("ZodCUID2",(t,e)=>{dg.init(t,e),ze.init(t,e)}),X0=C("ZodULID",(t,e)=>{hg.init(t,e),ze.init(t,e)}),Q0=C("ZodXID",(t,e)=>{pg.init(t,e),ze.init(t,e)}),ev=C("ZodKSUID",(t,e)=>{mg.init(t,e),ze.init(t,e)}),tv=C("ZodIPv4",(t,e)=>{bg.init(t,e),ze.init(t,e)}),nv=C("ZodIPv6",(t,e)=>{xg.init(t,e),ze.init(t,e)}),rv=C("ZodCIDRv4",(t,e)=>{wg.init(t,e),ze.init(t,e)}),iv=C("ZodCIDRv6",(t,e)=>{Sg.init(t,e),ze.init(t,e)}),sv=C("ZodBase64",(t,e)=>{kg.init(t,e),ze.init(t,e)}),ov=C("ZodBase64URL",(t,e)=>{zg.init(t,e),ze.init(t,e)}),av=C("ZodE164",(t,e)=>{Cg.init(t,e),ze.init(t,e)}),lv=C("ZodJWT",(t,e)=>{$g.init(t,e),ze.init(t,e)}),xc=C("ZodNumber",(t,e)=>{Gu.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>t0(t,r,i),t.gt=(r,i)=>t.check(dc(r,i)),t.gte=(r,i)=>t.check(Po(r,i)),t.min=(r,i)=>t.check(Po(r,i)),t.lt=(r,i)=>t.check(fc(r,i)),t.lte=(r,i)=>t.check(Eo(r,i)),t.max=(r,i)=>t.check(Eo(r,i)),t.int=r=>t.check(wc(r)),t.safe=r=>t.check(wc(r)),t.positive=r=>t.check(dc(0,r)),t.nonnegative=r=>t.check(Po(0,r)),t.negative=r=>t.check(fc(0,r)),t.nonpositive=r=>t.check(Eo(0,r)),t.multipleOf=(r,i)=>t.check(hc(r,i)),t.step=(r,i)=>t.check(hc(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 uv(t){return $_(xc,t)}const cv=C("ZodNumberFormat",(t,e)=>{Eg.init(t,e),xc.init(t,e)});function wc(t){return E_(cv,t)}const fv=C("ZodBoolean",(t,e)=>{Pg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>n0(t,n,r)});function ci(t){return P_(fv,t)}const dv=C("ZodUndefined",(t,e)=>{Ag.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>i0(t,n)});function Sc(t){return A_(dv,t)}const hv=C("ZodNull",(t,e)=>{Ig.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>r0(t,n,r)});function kc(t){return I_(hv,t)}const pv=C("ZodAny",(t,e)=>{Dg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>o0()});function mv(){return D_(pv)}const gv=C("ZodUnknown",(t,e)=>{Mg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>a0()});function Tc(){return M_(gv)}const _v=C("ZodNever",(t,e)=>{Ng.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>s0(t,n,r)});function vv(t){return N_(_v,t)}const yv=C("ZodArray",(t,e)=>{Rg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>d0(t,n,r,i),t.element=e.element,t.min=(n,r)=>t.check(gs(n,r)),t.nonempty=n=>t.check(gs(1,n)),t.max=(n,r)=>t.check(pc(n,r)),t.length=(n,r)=>t.check(mc(n,r)),t.unwrap=()=>t.element});function Ao(t,e){return K_(yv,t,e)}const bv=C("ZodObject",(t,e)=>{Zg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>h0(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:Tc()}),t.loose=()=>t.clone({...t._zod.def,catchall:Tc()}),t.strict=()=>t.clone({...t._zod.def,catchall:vv()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>em(t,n),t.safeExtend=n=>tm(t,n),t.merge=n=>nm(t,n),t.pick=n=>Xp(t,n),t.omit=n=>Qp(t,n),t.partial=(...n)=>rm(Oc,t,n[0]),t.required=(...n)=>im(Pc,t,n[0])});function Ke(t,e){const n={type:"object",shape:t??{},...B(e)};return new bv(n)}const zc=C("ZodUnion",(t,e)=>{nc.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>p0(t,n,r,i),t.options=e.options});function Io(t,e){return new zc({type:"union",options:t,...B(e)})}const xv=C("ZodDiscriminatedUnion",(t,e)=>{zc.init(t,e),Lg.init(t,e)});function Do(t,e,n){return new xv({type:"union",options:e,discriminator:t,...B(n)})}const wv=C("ZodIntersection",(t,e)=>{jg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>m0(t,n,r,i)});function Sv(t,e){return new wv({type:"intersection",left:t,right:e})}const kv=C("ZodRecord",(t,e)=>{Ug.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>g0(t,n,r,i),t.keyType=e.keyType,t.valueType=e.valueType});function Tv(t,e,n){return new kv({type:"record",keyType:t,valueType:e,...B(n)})}const Mo=C("ZodEnum",(t,e)=>{Vg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(r,i,s)=>l0(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 Mo({...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 Mo({...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 Mo({type:"enum",entries:n,...B(e)})}const zv=C("ZodLiteral",(t,e)=>{Bg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>u0(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 zv({type:"literal",values:Array.isArray(t)?t:[t],...B(e)})}const Cv=C("ZodTransform",(t,e)=>{Wg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>f0(t,n),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Iu(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 Cc(t){return new Cv({type:"transform",transform:t})}const Oc=C("ZodOptional",(t,e)=>{Hg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>k0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function $c(t){return new Oc({type:"optional",innerType:t})}const Ov=C("ZodNullable",(t,e)=>{Jg.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 Ec(t){return new Ov({type:"nullable",innerType:t})}const $v=C("ZodDefault",(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,t.removeDefault=t.unwrap});function Ev(t,e){return new $v({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():Zu(e)}})}const Pv=C("ZodPrefault",(t,e)=>{qg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>b0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Av(t,e){return new Pv({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():Zu(e)}})}const Pc=C("ZodNonOptional",(t,e)=>{Yg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>v0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Iv(t,e){return new Pc({type:"nonoptional",innerType:t,...B(e)})}const Dv=C("ZodCatch",(t,e)=>{Gg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>x0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function Mv(t,e){return new Dv({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const Nv=C("ZodPipe",(t,e)=>{Xg.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>w0(t,n,r,i),t.in=e.in,t.out=e.out});function No(t,e){return new Nv({type:"pipe",in:t,out:e})}const Rv=C("ZodReadonly",(t,e)=>{Qg.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 Fv(t){return new Rv({type:"readonly",innerType:t})}const Zv=C("ZodCustom",(t,e)=>{e_.init(t,e),xe.init(t,e),t._zod.processJSONSchema=(n,r,i)=>c0(t,n)});function Lv(t,e={}){return q_(Zv,t,e)}function jv(t){return Y_(t)}function Uv(t,e){return No(Cc(t),e)}const ys=t=>{if(!t||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>ys(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]=ys(s)}return n},Jt=t=>Io([t,Ao(t),kc(),Sc()]).transform(e=>e==null?[]:Array.isArray(e)?e:[e]),ce=Io([er(),uv(),kc(),Sc()]).transform(t=>t==null?"":String(t)),Ro=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:Tv(er(),mv()).optional().describe("Arbitrary metadata for custom behavior.")}),Vv=Cr.extend({type:qe("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.")}),Bv=Ke({title:ce.describe("Feature name."),description:ce.describe("Short benefit description."),icon:Ro.optional().describe("Visual icon for the feature.")}),Wv=Cr.extend({type:qe("features").describe("Use for lists of benefits, stats, or grid items."),title:ce.describe("Section header."),description:ce.optional().describe("Contextual description."),features:Jt(Bv).describe("Array of feature cards.")}),Ac=Ke({date:ce.describe("Time marker (Year, Date, or 'Now')."),title:ce.describe("Event title."),description:ce.describe("Event details (1-2 sentences)."),icon:Ro.optional().describe("Optional marker icon.")}),Hv=Cr.extend({type:qe("timeline").describe("Use for history, roadmaps, or chronological steps."),title:ce.describe("Timeline header."),subtitle:ce.optional(),timeline:Jt(Ac).describe("Ordered events.")}),Ic=Ke({step:ce.describe("Step number/label (e.g., '01', 'A')."),title:ce.describe("Action title."),description:ce.optional().describe("Action details."),icon:Ro.optional()}),Jv=Cr.extend({type:qe("steps").describe("Use for tutorials, 'how-to' guides, or process flows."),title:ce.describe("Process header."),subtitle:ce.optional(),steps:Jt(Ic).describe("Sequential steps.")}),Kv=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:ce.describe("URL to the image."),title:ce.describe("Headline."),tag:ce.optional(),paragraphs:Jt(er()).describe("Array of text blocks/paragraphs."),cta:ce.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."),qv=gt(["top","center","bottom"]).describe("Vertical alignment."),Yv=gt(["left","center","right"]).describe("Horizontal alignment."),Dc=gt(["left","center","right"]).describe("Text alignment."),Mc=Ke({type:qe("title").describe("Large heading text."),text:ce.describe("The heading text."),size:gt(["lg","xl","2xl","3xl"]).optional().describe("Heading size. Default: 'xl'."),align:Dc.optional().describe("Text alignment. Default: 'left'.")}),Nc=Ke({type:qe("text").describe("Body paragraph text."),text:ce.describe("The paragraph text."),align:Dc.optional().describe("Text alignment. Default: 'left'."),muted:ci().optional().describe("Muted/subtle appearance. Default: false.")}),Rc=Ke({type:qe("bullets").describe("Unordered bullet list."),items:Jt(er()).describe("List items.")}),Fc=Ke({type:qe("ordered").describe("Numbered list."),items:Jt(er()).describe("List items.")}),Gv=Ke({type:qe("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:gt(["cover","contain"]).optional().describe("Object-fit when fill. Default: 'cover'."),rounded:gt(["none","sm","md","lg","xl","full"]).optional().describe("Border radius.")}),Zc=Ke({type:qe("button").describe("Call-to-action button."),label:ce.describe("Button label text."),action:ce.optional().describe("Action identifier emitted on click."),variant:gt(["primary","secondary","outline","ghost"]).optional().describe("Visual variant. Default: 'primary'."),fullWidth:ci().optional().describe("Full width button. Default: false.")}),Lc=Ke({type:qe("timeline").describe("Embedded timeline with events."),items:Jt(Ac).describe("Timeline events."),compact:ci().optional().describe("Compact display mode. Default: false.")}),jc=Ke({type:qe("stepper").describe("Embedded step-by-step process."),items:Jt(Ic).describe("Step items."),compact:ci().optional().describe("Compact display mode. Default: false.")}),Xv=Ke({type:qe("spacer").describe("Adds visual spacing."),size:fi.optional().describe("Size of the space. Default: 'md'.")}),Qv=Do("type",[Mc,Nc,Rc,Fc,Zc,Lc,jc,Xv]),ey=Ke({type:qe("content").describe("Groups child elements vertically with alignment control."),elements:Jt(Qv).describe("Child elements."),valign:qv.optional().describe("Vertical alignment. Default: 'center'."),halign:Yv.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.")}),ty=Do("type",[Gv.extend({size:pn.optional()}),ey,Mc.extend({size:pn.optional()}),Nc.extend({size:pn.optional()}),Rc.extend({size:pn.optional()}),Fc.extend({size:pn.optional()}),Zc.extend({size:pn.optional()}),Lc.extend({size:pn.optional()}),jc.extend({size:pn.optional()})]),ny=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(ty).describe("Flex elements in flow order.")}),ry=Do("type",[Vv,Wv,Hv,Jv,Kv,ny]),iy=Ke({title:ce.describe("Title of the entire presentation."),author:ce.optional(),date:ce.optional()}).passthrough();Ke({meta:iy.describe("Global deck settings."),slides:Ao(Uv(ys,ry)).describe("Ordered array of slide definitions.")});const di=Symbol("LuminaStore"),sy={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 Wp(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 Uc(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]=Uc(t[r],e[r]):Object.assign(n,{[r]:Or(e[r])}):Object.assign(n,{[r]:Or(e[r])});return n}function oy(t={}){const e=ji({deck:null,currentIndex:0,options:{...sy,...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=ys(h);e.deck=Or(m),e.currentIndex=0,e.isReady=!0,e.actionHistory=[]}function l(h){e.deck&&(e.deck=Uc(e.deck,h))}function c(h){e.actionHistory.push(h),e.actionHistory.length>50&&e.actionHistory.shift()}function u(){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:Ui(e),currentSlide:n,hasNext:r,hasPrev:i,progress:s,setOptions:o,loadDeck:a,patchDeck:l,recordAction:c,next:u,prev:f,goto:d}}function ay(){const t=un(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 ly(){const t=un(di);if(!t)return;let e=0;const n=300,r=i=>{var c,u;const{options:s}=t.state;if(!s.keyboard||!s.navigation)return;const o=Date.now();if(o-e<n)return;const a=((c=s.keys)==null?void 0:c.next)||[],l=((u=s.keys)==null?void 0:u.prev)||[];a.includes(i.key)?(t.next(),e=o):l.includes(i.key)&&(t.prev(),e=o)};Tn(()=>{window.addEventListener("keydown",r)}),Jn(()=>{window.removeEventListener("keydown",r)})}class Vc{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 Vc;function gn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bc(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 _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;/*!
48
+ */var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},$r={duration:.5,overwrite:!1,delay:0},Fo,Ue,Se,Pt=1e8,he=1/Pt,Zo=Math.PI*2,uy=Zo/4,cy=0,Wc=Math.sqrt,fy=Math.cos,dy=Math.sin,Fe=function(e){return typeof e=="string"},Pe=function(e){return typeof e=="function"},_n=function(e){return typeof e=="number"},Lo=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},at=function(e){return e!==!1},jo=function(){return typeof window<"u"},bs=function(e){return Pe(e)||Fe(e)},Hc=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ye=Array.isArray,hy=/random\([^)]+\)/g,py=/,\s*/g,Jc=/(?:-?\.?\d|\.)+/gi,Kc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Er=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Uo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qc=/[+-]=-?[.\d]+/,my=/[^,'"\[\]\s]+/gi,gy=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ce,qt,Vo,Bo,vt={},xs={},Yc,Gc=function(e){return(xs=Ar(e,vt))&&ct},Wo=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)},Xc=function(e,n){return e&&(vt[e]=n)&&xs&&(xs[e]=n)||vt},pi=function(){return 0},_y={suppressEvents:!0,isStart:!0,kill:!1},ws={suppressEvents:!0,kill:!1},vy={suppressEvents:!0},Ho={},An=[],Jo={},Qc,yt={},Ko={},ef=30,Ss=[],qo="",Yo=function(e){var n=e[0],r,i;if(Kt(n)||Pe(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=Ss.length;i--&&!Ss[i].targetTest(n););r=Ss[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||Yo(It(e))[0]._gsap},tf=function(e,n,r){return(r=e[n])&&Pe(r)?e[n]():Lo(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},yy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},ks=function(){var e=An.length,n=An.slice(0),r,i;for(Jo={},An.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Go=function(e){return!!(e._initted||e._startAt||e.add)},nf=function(e,n,r,i){An.length&&!Ue&&ks(),e.render(n,r,!!(Ue&&n<0&&Go(e))),An.length&&!Ue&&ks()},rf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(my).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},by=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},Ts=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?by(Ye(e.keyframes)):bt;if(at(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},xy=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},zs=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},In=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},wy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Xo=function(e,n,r,i){return e._startAt&&(Ue?e._startAt.revert(ws):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},Sy=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},Cs=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Os=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||he)||0))},$s=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)),Os(e),r._dirty||nr(r,e)),e},uf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Cs(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&&In(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),Qo(n)||(e._recent=n),i||uf(e,n),e._ts<0&&$s(e,e._tTime),e},cf=function(e,n){return(vt.ScrollTrigger||Wo("scrollTrigger",n))&&vt.ScrollTrigger.create(n,e)},ff=function(e,n,r,i,s){if(la(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Qc!==wt.frame)return An.push(e),e._lazy=[s,i],1},ky=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"},Ty=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&ky(e)&&!(!e._initted&&Qo(e))||(e._ts<0||e._dp._ts<0)&&!Qo(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=_i(0,e._tDur,n),u=Ir(l,a),e._yoyo&&u&1&&(o=1-o),u!==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,c=e._pt;c;)c.r(o,c.d),c=c._next;n<0&&Xo(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&&In(e,1),!r&&!Ue&&(xt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},zy=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&&$s(e,e._tTime=e._tDur*a),e.parent&&Os(e),r||nr(e.parent,e),e},df=function(e){return e instanceof rt?nr(e):Dr(e,e._dur)},Cy={_start:0,endTime:pi,totalDuration:pi},At=function t(e,n,r){var i=e.labels,s=e._recent||Cy,o=e.duration()>=Pt?s.endTime(!1):e._dur,a,l,c;return Fe(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=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)*(c?(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)),c&&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])},Dn=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=gy.exec(e))?"":n[1]},Oy=function(e,n,r){return Dn(r,function(i){return _i(e,n,i)})},ea=[].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},$y=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&&(Vo||!Nr())?ea.call((n||Bo).querySelectorAll(e),0):Ye(e)?$y(e,r):hf(e)?ea.call(e,0):e?[e]:[]},ta=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")||Bo.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,c=n.axis,u=i,f=i;return Fe(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=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)*u-.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=c?Math.abs(c==="y"?b:z):Wc(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:c?c==="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}},na=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=na(e.increment)),Dn(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),c=Pt,u=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<c&&(c=d,u=f);return u=!i||c<=i?e[u]:o,s||u===o||_n(o)?u:u+Ge(o)}:na(e))},_f=function(e,n,r,i){return Dn(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})},Ey=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)}},Py=function(e,n){return function(r){return e(parseFloat(r))+(n||Ge(r))}},Ay=function(e,n,r){return yf(e,n,0,1,r)},vf=function(e,n,r){return Dn(r,function(i){return e[~~n(i)]})},Iy=function t(e,n,r){var i=n-e;return Ye(e)?vf(e,t(0,e.length),n):Dn(r,function(s){return(i+(s-e)%i)%i+e})},Dy=function t(e,n,r){var i=n-e,s=i*2;return Ye(e)?vf(e,t(0,e.length-1),n):Dn(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},vi=function(e){return e.replace(hy,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(py);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 Dn(s,function(l){return r+((l-e)/o*a||0)})},My=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,c,u,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(Ye(e)&&!Ye(n)){for(u=[],f=e.length,d=f-2,c=1;c<f;c++)u.push(t(e[c-1],e[c]));f--,s=function(m){m*=f;var p=Math.min(d,~~m);return u[p](m-p)},r=n}else i||(e=Ar(Ye(e)?[]:{},e));if(!u){for(l in n)oa.call(a,e,l,"get",n[l]);s=function(m){return fa(m,a)||(o?e.p:e)}}}return Dn(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,c,u;if(s)return l=i[n+"Params"],c=i.callbackScope||e,r&&An.length&&ks(),a&&(Se=a),u=l?s.apply(c,l):s.call(c),Se=o,u},yi=function(e){return In(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,jo()||e.headless){var n=e.name,r=Pe(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:pi,render:fa,add:oa,kill:Gy,modifier:Yy,rawVars:0},o={targetTest:0,get:0,getSetter:ca,aliases:{},register:0};if(Nr(),e!==i){if(yt[n])return;bt(i,bt(Ts(e,s),o)),Ar(i.prototype,Ar(s,Ts(e,o))),yt[i.prop=n]=i,e.targetTest&&(Ss.push(i),Ho[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Xc(n,i),e.register&&e.register(ct,i,ut)}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]},ra=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,c,u,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(Jc),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=ra(l+1/3,s,o),i[1]=ra(l,s,o),i[2]=ra(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Kc),r&&i.length<4&&(i[3]=1),i}else i=e.match(Jc)||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),u=(f+d)/2,f===d?l=c=0:(h=f-d,c=u>.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]=~~(c*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},kf=function(e){var n=[],r=[],i=-1;return e.split(Mn).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(Mn),o=n?"hsla(":"rgba(",a=0,l,c,u,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&&(u=kf(e),l=r.c,l.join(i)!==u.c.join(i)))for(c=e.replace(Mn,"1").split(Er),f=c.length-1;a<f;a++)i+=c[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(u.length?u:s.length?s:r).shift());if(!c)for(c=e.split(Mn),f=c.length-1;a<f;a++)i+=c[a]+s[a];return i+c[f]},Mn=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")}(),Ny=/hsl[a]?\(/,zf=function(e){var n=e.join(" "),r;if(Mn.lastIndex=0,Mn.test(n))return r=Ny.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,c,u,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=c(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(){Yc&&(!Vo&&jo()&&(qt=Vo=window,Bo=qt.document||{},vt.gsap=ct,(qt.gsapVersions||(qt.gsapVersions=[])).push(ct.version),Gc(xs||qt.GreenSockGlobals||!qt.gsap&&qt||{}),xf.forEach(wf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(y){return setTimeout(y,o-f.time*1e3+1|0)},xi=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),xi=0,c=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={},Ry=/^[\d.\-M][\d.\-,\s]/,Fy=/["']/g,Zy=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,c;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),n[i]=isNaN(c)?c.replace(Fy,"").trim():+c,i=l.substr(a+1).trim();return n},Ly=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)},jy=function(e){var n=(e+"").split("("),r=re[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Zy(n[1])]:Ly(e).split(",").map(rf)):re._CE&&Ry.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]||jy(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}},ia=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Zo*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*dy((u-o)*s)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:$f(a);return s=Zo/s,l.config=function(c,u){return t(e,c,u)},l},sa=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",ia("in"),ia("out"),ia()),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-(Wc(1-t*t)-1)}),ir("Sine",function(t){return t===1?1:-fy(t*uy)+1}),ir("Back",sa("in"),sa("out"),sa()),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 qo+=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:ca},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($s(this,r),!s._dp||s.parent||uf(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?Cs(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),Os(this),wy(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?Cs(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=vy);var i=Ue;return Ue=r,Go(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 u=i.then;i.then=null,s&&s(),Pe(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),o(a),i.then=u};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){Bc(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&&cf(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,c,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Me(i,o,At(this,l)),this},n.staggerFrom=function(i,s,o,a,l,c,u){return o.runBackwards=1,mi(o).immediateRender=at(o.immediateRender),this.staggerTo(i,s,o,a,l,c,u)},n.staggerFromTo=function(i,s,o,a,l,c,u,f){return a.startAt=o,mi(a).immediateRender=at(a.immediateRender),this.staggerTo(i,s,a,l,c,u,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Oe(i),f=this._zTime<0!=i<0&&(this._initted||!c),d,h,m,p,y,x,k,z,b,S,E,w;if(this!==Ce&&u>l&&i>=0&&(u=l),u!==this._tTime||o||f){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),d=u,b=this._start,z=this._ts,x=!z,f&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,y=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,s,o);if(d=Oe(u%y),u===l?(p=this._repeat,d=c):(S=Oe(u/y),p=~~S,p&&p===S&&(d=c,p--),d>c&&(d=c)),S=Ir(this._tTime,y),!a&&this._tTime&&S!==p&&this._tTime-S*y-this._dur<=0&&(S=p),E&&p&1&&(d=c-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:u%c?c:u,this._lock=1,this.render(a||(w?0:Oe(p*y)),s,!c)._lock=0,this._tTime=u,!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(c=this._dur,l=this._tDur,v&&(this._lock=2,a=A?c:-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=zy(this,Oe(a),Oe(d)),k&&(u-=d-(d=k._start))),this._tTime=u,this._time=d,this._act=!z,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&c&&!s&&!S&&(xt(this,"onStart"),this._tTime!==u))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&&(u+=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&&Go(h)),d!==this._time||!this._ts&&!x){k=0,m&&(u+=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,Os(this),this.render(i,s,o);this._onUpdate&&!s&&xt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(b===this._start||Math.abs(z)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&In(this,1),!s&&!(i<0&&!a)&&(u||a||!l)&&(xt(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<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=[],c=this._first;c;)c._start>=a&&(c instanceof Me?s&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,s,o)))),c=c._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&&zs(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"&&In(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Nn!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=It(i),l=this._first,c=_n(s),u;l;)l instanceof Me?yy(l._targets,a)&&(c?(!Nn||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(u=l.getTweensOf(a,s)).length&&o.push.apply(o,u),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=At(o,i),l=s,c=l.startAt,u=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-(c&&"time"in c?c.time:o._time))/o.timeScale())||he,onStart:function(){if(o.pause(),!h){var y=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==y&&Dr(m,y,0,1).render(m._time,!0,!0),h=1}u&&u.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,c;for(i=Oe(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in l)l[c]>=o&&(l[c]+=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,c,u,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;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Yt(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(s-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Oe(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=c;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,Cs(i,Ce)),Qc=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 Uy=function(e,n,r,i,s,o,a){var l=new ut(this._pt,e,n,0,1,Nf,null,s),c=0,u=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(Uo)||[];f=Uo.exec(i);)m=f[0],p=i.substring(c,f.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),m!==d[u++]&&(y=parseFloat(d[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:y,c:m.charAt(1)==="="?Pr(y,m)-y:parseFloat(m)-y,m:h&&h<4?Math.round:0},c=Uo.lastIndex);return l.c=c<i.length?i.substring(c,i.length):"",l.fp=a,(qc.test(i)||x)&&(l.e=0),this._pt=l,l},oa=function(e,n,r,i,s,o,a,l,c,u){Pe(i)&&(i=i(s||0,e,o));var f=e[n],d=r!=="get"?r:Pe(f)?c?e[n.indexOf("set")||!Pe(e["get"+n.substr(3)])?n:"get"+n.substr(3)](c):e[n]():f,h=Pe(f)?c?Jy: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))),!u||d!==i||aa)return!isNaN(d*i)&&i!==""?(m=new ut(this._pt,e,n,+d||0,i-(d||0),typeof f=="boolean"?qy:Mf,0,h),c&&(m.fp=c),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(n in e)&&Wo(n,i),Uy.call(this,e,n,d,i,h,l||_t.stringFilter,c))},Vy=function(e,n,r,i,s){if(Pe(e)&&(e=Si(e,s,n,r,i)),!Kt(e)||e.style&&e.nodeType||Ye(e)||Hc(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,c,u;if(yt[e]&&(a=new yt[e]).init(s,a.rawVars?n[e]:Vy(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=l=new ut(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Mr))for(c=r._ptLookup[r._targets.indexOf(s)],u=a._props.length;u--;)c[a._props[u]]=l;return a},Nn,aa,la=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,c=i.onUpdate,u=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"&&!Fo,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=Ts(i,Ho),p&&(p._zTime<0&&p.progress(1),n<0&&u&&a&&!h?p.render(-1,!0):p.revert(u&&m?ws:_y),p._lazy=0),o){if(In(e._startAt=Me.set(y,bt({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&at(l),startAt:null,delay:0,onUpdate:c&&function(){return xt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue||!a&&!h)&&e._startAt.revert(ws),a&&m&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&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),In(e._startAt=Me.set(y,w)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue?e._startAt.revert(ws):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||Yo(y)[E]._gsap,e._ptLookup[E]=K={},Jo[P.id]&&An.length&&ks(),ne=k===y?E:k.indexOf(v),T&&(I=new T).init(v,Q||S,e,ne,k)!==!1&&(e._pt=A=new ut(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=oa.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&&(Nn=e,Ce.killTweensOf(v,K,e.globalTime(n)),ee=!e.parent,Nn=0),e._pt&&l&&(Jo[P.id]=1)}F&&Rf(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!ee,d&&n<=0&&b.render(Pt,!0,!0)},By=function(e,n,r,i,s,o,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,f,d,h;if(!c)for(c=e._ptCache[n]=[],d=e._ptLookup,h=e._targets.length;h--;){if(u=d[h][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return aa=1,e.vars[n]="+=0",la(e,a),aa=0,l?hi(n+" not eligible for reset"):1;c.push(u)}for(h=c.length;h--;)f=c[h],u=f._pt||f,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=De(r)+Ge(f.e)),f.b&&(f.b=u.s+Ge(f.b))},Wy=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},Hy=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,c){return a.push({t:c/(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=qo+"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){Bc(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,c=l.duration,u=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)||Hc(r)?_n(r[0]):"length"in i)?[r]:It(r),b,S,E,w,A,v,F,P;if(a._targets=z.length?Yo(z):hi("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,m||d||bs(c)||bs(u)){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||bs(c)||bs(u)){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=Ts(i,If),E.stagger=0,x&&(E.yoyoEase=x),P&&Ar(E,P),v=z[S],E.duration=+Si(c,gn(a),S,v,z),E.delay=(+Si(u,gn(a),S,v,z)||0)-a._delay,!d&&w===1&&E.delay&&(a._delay=u=E.delay,a._start+=u,E.delay=0),b.to(v,E,F?F(S,v,z):0),b._ease=re.none;b.duration()?c=u=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"||Hy(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*c},ne[A]=K.v,b.to(z,ne,T),T+=ne.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return h===!0&&!Fo&&(Nn=gn(a),Ce.killTweensOf(z),Nn=0),Yt(k,gn(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!c&&!m&&a._start===Oe(k._time)&&at(f)&&Sy(gn(a))&&k.data!=="nested")&&(a._tTime=-he,a.render(Math.max(0,-u)||0)),y&&cf(gn(a),y),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,l=this._tDur,c=this._dur,u=i<0,f=i>l-he&&!u?l:i<he?0:i,d,h,m,p,y,x,k,z,b;if(!c)Ty(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(d=f,z=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+i,s,o);if(d=Oe(f%p),f===l?(m=this._repeat,d=c):(y=Oe(f/p),m=~~y,m&&m===y?(d=c,m--):d>c&&(d=c)),x=this._yoyo&&m&1,x&&(b=this._yEase,d=c-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,u?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&m!==y))return this;if(c!==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/c),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&&(u&&Xo(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&&(u&&!this._onUpdate&&Xo(this,i,!0,!0),(i||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&In(this,1),!s&&!(u&&!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 c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||la(this,c),u=this._ease(c/this._dur),By(this,i,s,o,a,u,c,l)?this.resetTo(i,s,o,a,1):($s(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,Nn&&Nn.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,c=this._ptLookup,u=this._pt,f,d,h,m,p,y,x;if((!s||s==="all")&&xy(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=Wy(a,s)),x=a.length;x--;)if(~l.indexOf(a[x])){d=c[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)&&zs(this,y,"_pt"),delete d[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&u&&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=ea.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)},Jy=function(e,n,r,i){return e[n](i.fp,r)},Ky=function(e,n,r){return e.setAttribute(n,r)},ca=function(e,n){return Pe(e[n])?Df:Lo(e[n])&&e.setAttribute?Ky:ua},Mf=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},qy=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)},fa=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Yy=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},Gy=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?zs(this,n,"_pt"):n.dep||(r=1),n=i;return!r},Xy=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},ut=function(){function t(n,r,i,s,o,a,l,c,u){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||Mf,this.d=l||this,this.set=c||ua,this.pr=u||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=Xy,this.m=r,this.mt=s,this.tween=i},t}();lt(qo+"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 Ho[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=[],Es={},Qy=[],Ff=0,eb=0,da=function(e){return(Es[e]||Qy).map(function(n){return n()})},ha=function(){var e=Date.now(),n=[];e-Ff>2&&(da("matchMediaInit"),sr.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,c;for(a in i)o=qt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,c=1);c&&(r.revert(),l&&n.push(r))}),da("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Ff=e,da("matchMedia"))},Zf=function(){function t(n,r){this.selector=r&&ta(r),this.data=[],this._r=[],this.isReverted=!1,this.id=eb++,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 c=Se,u=o.selector,f;return c&&c!==o&&c.data.push(o),s&&(o.selector=ta(s)),Se=o,f=i.apply(o,arguments),Pe(f)&&o._r.push(f),Se=c,o.selector=u,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,c;l--;)c=s.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=s.data.length;l--;)c=s.data[l],c instanceof rt?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Me)&&c.revert&&c.revert(r);s._r.forEach(function(u){return u(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}(),tb=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,c,u;Se&&!o.selector&&(o.selector=Se.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?u=1:(l=qt.matchMedia(r[c]),l&&(sr.indexOf(o)<0&&sr.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(ha):l.addEventListener("change",ha)));return u&&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}(),Ps={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,c){return o((yt[a]&&yt[a].get||s)(e,a,l,c))})},quickSetter:function(e,n,r){if(e=It(e),e.length>1){var i=e.map(function(u){return ct.quickSetter(u,n,r)}),s=i.length;return function(u){for(var f=s;f--;)i[f](u)}}e=e[0]||{};var o=yt[n],a=tr(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=o?function(u){var f=new o;Mr._pt=0,f.init(e,r?u+r:u,Mr,0,[e]),f.render(1,f),Mr._pt&&fa(1,Mr)}:a.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,s=ct.to(e,bt((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,c,u){return s.resetTo(n,l,c,u)};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.")}),Ko[n]=function(a,l,c){return r(It(a),bt(l||{},s),c)},o&&(rt.prototype[n]=function(a,l,c){return this.add(Ko[n](a,Kt(l)?l:(c=l)&&{},this),c)})},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 tb(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()})||ha()},addEventListener:function(e,n){var r=Es[e]||(Es[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Es[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:Iy,wrapYoyo:Dy,distribute:mf,random:_f,snap:gf,normalize:Ay,getUnit:Ge,clamp:Oy,splitColor:Sf,toArray:It,selector:ta,mapRange:yf,pipe:Ey,unitize:Py,interpolate:My,shuffle:pf},install:Gc,effects:Ko,ticker:wt,updateRoot:rt.updateRoot,plugins:yt,globalTimeline:Ce,core:{PropTween:ut,globals:Xc,Tween:Me,Timeline:rt,Animation:wi,getCache:tr,_removeLinkedListItem:zs,reverting:function(){return Ue},context:function(e){return e&&Se&&(Se.data.push(e),e._ctx=Se),Se},suppressOverwrites:function(e){return Fo=e}}};lt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ps[t]=Me[t]}),wt.add(rt.updateRoot),Mr=Ps.to({},{duration:0});var nb=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},rb=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=nb(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},pa=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,c;if(Fe(s)&&(l={},lt(s,function(u){return l[u]=1}),s=l),n){l={};for(c in s)l[c]=n(s[c]);s=l}rb(a,s)}}}},ct=Ps.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)}},pa("roundProps",na),pa("modifiers"),pa("snap",gf))||Ps;Me.version=rt.version=ct.version="3.14.2",Yc=1,jo()&&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 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(`
55
+ */var Lf,Rn,Rr,ma,or,jf,ga,ib=function(){return typeof window<"u"},vn={},ar=180/Math.PI,Fr=Math.PI/180,Zr=Math.atan2,Uf=1e8,_a=/([A-Z])/g,sb=/(left|right|width|margin|padding|x)/i,ob=/[\s,\(]\S/,Gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},va=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},ab=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)},lb=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)},ub=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)},fb=function(e,n,r){return e.style[n]=r},db=function(e,n,r){return e.style.setProperty(n,r)},hb=function(e,n,r){return e._gsap[n]=r},pb=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},mb=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},gb=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},$e="transform",ft=$e+"Origin",_b=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"))},vb=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(_a,"-$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=ga(),(!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:vb,save:_b};return e._gsap||ct.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},Jf,ya=function(e,n){var r=Rn.createElementNS?Rn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Rn.createElement(e);return r&&r.style?r:Rn.createElement(e)},St=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(_a,"-$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},ba=function(){ib()&&window.document&&(Lf=window,Rn=Lf.document,Rr=Rn.documentElement,or=ya("div")||{style:{}},ya("div"),$e=Lr($e),ft=$e+"Origin",or.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jf=!!Lr("perspective"),ga=ct.core.reverting,ma=1)},qf=function(e){var n=e.ownerSVGElement,r=ya("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))},Fn=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(_a,"-$1").toLowerCase())):r.removeAttribute(n)}},Zn=function(e,n,r,i,s,o){var a=new ut(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},yb={grid:1,flex:1},Ln=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=or.style,l=sb.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"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[u],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&&!c?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Rn||!p.appendChild)&&(p=Rn.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[u],k?e.style[n]=k:Fn(e,n)}else(h||o==="%")&&!yb[St(p,"display")]&&(a.position=St(e,"position")),p===e&&(a.position="static"),p.appendChild(or),m=or[u],p.removeChild(or),a.position="absolute";return l&&h&&(y=tr(p),y.time=wt.time,y.width=p[u]),De(d?m*s/f:m&&s?f/m*s:0)},yn=function(e,n,r,i){var s;return ma||ba(),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:Is(St(e,ft))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=As[n]&&As[n](e,n,r)||St(e,n)||tf(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Ln(e,n,s,r)+r:s},bb=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 ut(this._pt,e.style,n,0,1,Nf),l=0,c=0,u,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:Fn(e,n)),u=[r,i],zf(u),r=u[0],i=u[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[c++]||"")&&(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=Ln(e,n,p,z)||0),a._pt={_next:a._pt,p:k||c===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 qc.test(i)&&(a.e=0),this._pt=a,a},ed={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},xb=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(" ")},wb=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,c;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),c=s.length;--c>-1;)a=s[c],vn[a]&&(l=1,a=a==="transformOrigin"?ft:$e),Fn(r,a);l&&(Fn(r,$e),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ti(r,1),o.uncache=1,Wf(i)))}},As={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new ut(e._pt,n,r,0,0,wb);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(Kc).map(De)},xa=function(e,n){var r=e._gsap||tr(e),i=e.style,s=rd(e),o,a,l,c;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)&&(c=1,a=e.nextElementSibling,Rr.appendChild(e)),s=rd(e),l?i.display=l:Fn(e,"display"),c&&(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)},wa=function(e,n,r,i,s,o){var a=e._gsap,l=s||xa(e,!0),c=a.xOrigin||0,u=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-c,k=S-u,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&&(Zn(o,a,"xOrigin",c,b),Zn(o,a,"yOrigin",u,S),Zn(o,a,"xOffset",f,a.xOffset),Zn(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),c=St(e,ft)||"0",u,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,Ci,Lt,bn;return u=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=xa(e,r.svg),r.svg&&(r.uncache?(te=e.getBBox(),c=r.xOrigin-te.x+"px "+(r.yOrigin-te.y)+"px",ee=""):ee=!n&&e.getAttribute("data-svg-origin"),wa(e,ee||c,!!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],u=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&&(u-=S-(S*P+E*I),f-=E-(S*T+E*K))):(bn=w[6],Ci=w[7],Qt=w[8],kt=w[9],Ze=w[10],Lt=w[11],u=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=Ci*-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=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-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(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[ft]=Is(c)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?kb:Jf?id:Sb,r.uncache=0,r},Is=function(e){return(e=e.split(" "))[0]+" "+e[1]},Sa=function(e,n,r){var i=Ge(n);return De(parseFloat(n)+parseFloat(Ln(e,"x",r+"px",i)))+i},Sb=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,id(e,n)},lr="0deg",zi="0px",ur=") ",id=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,c=r.rotation,u=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||u!==lr)){var E=parseFloat(u)*Fr,w=Math.sin(E),A=Math.cos(E),v;E=parseFloat(f)*Fr,v=Math.cos(E),o=Sa(k,o,w*v*-z),a=Sa(k,a,-Math.sin(E)*-z),l=Sa(k,l,A*v*-z+z)}y!==zi&&(b+="perspective("+y+ur),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(S||o!==zi||a!==zi||l!==zi)&&(b+=l!==zi||S?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+ur),c!==lr&&(b+="rotate("+c+ur),u!==lr&&(b+="rotateY("+u+ur),f!==lr&&(b+="rotateX("+f+ur),(d!==lr||h!==lr)&&(b+="skew("+d+", "+h+ur),(m!==1||p!==1)&&(b+="scale("+m+", "+p+ur),k.style[$e]=b||"translate(0, 0)"},kb=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,c=r.skewX,u=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),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Fr,c*=Fr,S=Math.cos(l)*f,E=Math.sin(l)*f,w=Math.sin(l-c)*-d,A=Math.cos(l-c)*d,c&&(u*=Fr,v=Math.tan(c-u),v=Math.sqrt(1+v*v),w*=v,A*=v,u&&(v=Math.tan(u),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=Ln(h,"x",o,"px"),b=Ln(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)},Tb=function(e,n,r,i,s){var o=360,a=Fe(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?ar:1),c=l-i,u=i+c+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Uf)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Uf)%o-~~(c/o)*o)),e._pt=d=new ut(e._pt,n,r,i,c,ab),d.e=u,d.u="deg",e._props.push(r),d},sd=function(e,n){for(var r in n)e[r]=n[r];return e},zb=function(e,n,r){var i=sd({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,c,u,f,d,h,m;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[$e]=n,a=Ti(r,1),Fn(r,$e),r.setAttribute("transform",c)):(c=getComputedStyle(r)[$e],o[$e]=n,a=Ti(r,1),o[$e]=c);for(l in vn)c=i[l],u=a[l],c!==u&&s.indexOf(l)<0&&(h=Ge(c),m=Ge(u),f=h!==m?Ln(r,l,c,m):parseFloat(c),d=parseFloat(u),e._pt=new ut(e._pt,a,l,f,d-f,va),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});As[e>1?"border"+t:t]=function(a,l,c,u,f){var d,h;if(arguments.length<4)return d=o.map(function(m){return yn(a,m,c)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(u+"").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:ba,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,c,u,f,d,h,m,p,y,x,k,z,b,S,E,w,A,v;ma||ba(),this.styles=this.styles||Hf(e),A=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(yt[p]&&Pf(p,n,r,i,e,s)))){if(h=typeof u,m=As[p],h==="function"&&(u=u.call(r,i,e,s),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=vi(u)),m)m(this,e,p,u,r)&&(w=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Mn.lastIndex=0,Mn.test(c)||(y=Ge(c),x=Ge(u),x?y!==x&&(c=Ln(e,p,c,x)+x):y&&(u+=y)),this.add(a,"setProperty",c,u,i,s,0,0,p),o.push(p),A.push(p,0,a[p]);else if(h!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],Fe(c)&&~c.indexOf("random(")&&(c=vi(c)),Ge(c+"")||c==="auto"||(c+=_t.units[p]||Ge(yn(e,p))||""),(c+"").charAt(1)==="="&&(c=yn(e,p))):c=yn(e,p),d=parseFloat(c),k=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),k&&(u=u.substr(2)),f=parseFloat(u),p in Gt&&(p==="autoAlpha"&&(d===1&&yn(e,"visibility")==="hidden"&&f&&(d=0),A.push("visibility",0,a.visibility),Zn(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=u,h==="string"&&u.substring(0,6)==="var(--"){if(u=St(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var F=e.style.perspective;e.style.perspective=u,u=St(e,"perspective"),F?e.style.perspective=F:Fn(e,"perspective")}f=parseFloat(u)}if(b||(S=e._gsap,S.renderTransform&&!n.parseTransform||Ti(e,n.parseTransform),E=n.smoothOrigin!==!1&&S.smooth,b=this._pt=new ut(this._pt,a,$e,0,1,S.renderTransform,S,0,-1),b.dep=1),p==="scale")this._pt=new ut(this._pt,S,"scaleY",S.scaleY,(k?Pr(S.scaleY,k+f):f)-S.scaleY||0,va),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){A.push(ft,0,a[ft]),u=xb(u),S.svg?wa(e,u,0,E,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==S.zOrigin&&Zn(this,S,"zOrigin",S.zOrigin,x),Zn(this,a,p,Is(c),Is(u)));continue}else if(p==="svgOrigin"){wa(e,u,1,E,0,this);continue}else if(p in td){Tb(this,S,p,d,k?Pr(d,k+u):u);continue}else if(p==="smoothOrigin"){Zn(this,S,"smooth",S.smooth,u);continue}else if(p==="force3D"){S[p]=u;continue}else if(p==="transform"){zb(this,u,e);continue}}else p in a||(p=Lr(p)||p);if(z||(f||f===0)&&(d||d===0)&&!ob.test(u)&&p in a)y=(c+"").substr((d+"").length),f||(f=0),x=Ge(u)||(p in _t.units?_t.units[p]:y),y!==x&&(d=Ln(e,p,c,x)),this._pt=new ut(this._pt,z?S:a,p,d,(k?Pr(d,k+f):f)-d,!z&&(x==="px"||p==="zIndex")&&n.autoRound!==!1?cb:va),this._pt.u=x||0,z&&v!==u?(this._pt.b=c,this._pt.e=v,this._pt.r=ub):y!==x&&x!=="%"&&(this._pt.b=c,this._pt.r=lb);else if(p in a)bb.call(this,e,p,c,k?k+u:u);else if(p in e)this.add(e,p,c||e[p],k?k+u:u,i,s);else if(p!=="parseTransform"){Wo(p,u);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,c||e[p])),o.push(p)}}w&&Rf(this)},render:function(e,n){if(n.tween._time||!ga())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"?pb:hb:(jf=r||{})&&(n==="scale"?mb:gb):e.style&&!Lo(e.style[n])?fb:~n.indexOf("-")?db:ca(e,n)},core:{_removeProperty:Fn,_getMatrix:xa}};ct.utils.checkPrefix=Lr,ct.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"}),ct.registerPlugin(od);var Xt=ct.registerPlugin(od)||ct;Xt.core.Tween;const Cb={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)"}},Ob={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},$b={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},Eb={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"},Pb={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},Ab={class:"p-6"},Ib={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},Db={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},Mb={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"},Nb={key:0,class:"pointer-events-auto text-left"},Rb={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Fb={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},Zb={key:0,class:"h-px w-8 bg-white/20"},Lb={key:1,class:"flex-1"},jb={key:2,class:"pointer-events-auto flex gap-3"},Ub=["disabled"],Vb=["disabled"],ad=Te({__name:"LuminaDeck",setup(t){const{slide:e,index:n,total:r,next:i,prev:s,options:o}=ay(),a=un(di),l=le(()=>a.hasNext()),c=le(()=>a.hasPrev()),u=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);ly();const h=be({showJson:!1}),m=un("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",Cb,[$("div",Ob,[$("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",$b,[$("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(_o,{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]=$u(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",Eb,[$("div",Pb,[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",Ab,[$("pre",Ib,ie(JSON.stringify(Ft(e),null,2)),1)])])])):Ee("",!0)]),_:1}),$("main",Db,[Ie(_o,{css:!1,onLeave:S,onEnter:b,mode:"out-in"},{default:Ot(()=>[x.value?(V(),He(Qi(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",Mb,[(v=f.value)!=null&&v.showSlideCount?(V(),H("div",Nb,[$("h2",Rb,ie(u.value),1),$("div",Fb,[$("span",null,ie((Ft(n)+1).toString().padStart(2,"0")),1),(F=f.value)!=null&&F.showProgressBar?(V(),H("div",Zb)):Ee("",!0),$("span",null,ie(Ft(r).toString().padStart(2,"0")),1)])])):(V(),H("div",Lb)),(P=f.value)!=null&&P.showControls?(V(),H("div",jb,[(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",!c.value||!d.value?"opacity-30 cursor-not-allowed":""]),disabled:!c.value||!d.value},[...w[11]||(w[11]=[$("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ub),$("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,Vb)])):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 Bb={class:"speaker-notes"},Wb={class:"sn-header"},Hb={class:"sn-status"},Jb={class:"sn-slide-count"},Kb={class:"sn-content"},qb={class:"sn-notes-section"},Yb=["innerHTML"],Gb={key:1,class:"sn-notes-empty"},Xb={class:"sn-footer"},Qb={class:"sn-nav-controls"},e1=["disabled"],t1={class:"sn-timer-value"},n1=["disabled"],r1=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),c=be(!1),u=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(){c.value||(c.value=!0,u.value=setInterval(()=>{l.value++},1e3))}function S(){c.value=!1,u.value&&(clearInterval(u.value),u.value=null)}function E(){c.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 Tn(()=>{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",Bb,[$("header",Wb,[F[0]||(F[0]=np('<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",Hb,[$("span",{class:Y(["sn-indicator",{connected:o.value}])},null,2),$("span",Jb,ie(f.value),1)])]),$("main",Kb,[$("section",qb,[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,Yb)):(V(),H("div",Gb,[...F[1]||(F[1]=[$("p",null,"No notes for this slide",-1)])]))])]),$("footer",Xb,[$("div",Qb,[$("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,e1),$("div",{class:"sn-timer",onClick:E,title:"Click to start/pause (T)"},[$("span",{class:Y(["sn-timer-icon",{running:c.value}])},ie(c.value?"⏸":"▶"),3),$("span",t1,ie(d.value),1),$("button",{class:"sn-timer-reset",onClick:$u(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,n1)])])]))}}),Ds=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},i1=Ds(r1,[["__scopeId","data-v-63b98fd9"]]);function s1(t,e){const n=un(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:c}=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 u=t.value,f=o==="fade",d=o==="slide",h=o==="zoom",m=f?0:d?80:40,p=h?.8:o==="cascade"?.95:1;u.querySelector(".reveal-up")&&Xt.set(".reveal-up",{y:m,opacity:0}),u.querySelector(".reveal-zoom")&&Xt.set(".reveal-zoom",{scale:p,opacity:0}),u.querySelector(".reveal-content > *")&&Xt.set(".reveal-content > *",{y:f?0:30,opacity:0}),u.querySelector(".reveal-card")&&Xt.set(".reveal-card",{y:f?0:50,opacity:0,scale:p}),u.querySelector(".reveal-img")&&Xt.set(".reveal-img",{scale:1.1,opacity:0});const y=Xt.timeline({defaults:{ease:c||"power3.out",duration:a||.8},onComplete:e});u.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;u.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=u.querySelectorAll(".reveal-content > *");z.length&&y.to(z,{y:0,opacity:1,duration:x,stagger:k/2},.3),u.querySelectorAll(".reveal-up").length&&y.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:k},.2),u.querySelector(".reveal-zoom")&&y.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},t)};return Tn(()=>{il(()=>{i()})}),Jn(()=>{r==null||r.revert()}),{animateIn:i}}const o1={class:"absolute inset-0 z-0 pointer-events-none overflow-hidden"},a1=["src","poster","autoplay","loop","muted"],l1={key:2,class:"absolute inset-0 bg-[var(--lumina-colors-background,black)]/30 pointer-events-none transition-opacity duration-1000"},u1={class:"relative z-10 w-full h-full"},jn=Te({__name:"BaseSlide",props:{data:{},customClass:{}},setup(t){const e=t,n=be(null);s1(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),c=le(()=>e.data.backgroundOpacity??1);return(u,f)=>(V(),H("div",{ref_key:"container",ref:n,class:Y(["w-full min-h-full relative text-white",t.customClass])},[$("div",o1,[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:c.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:c.value}),src:i.value,poster:s.value,autoplay:o.value,loop:a.value,muted:l.value,playsinline:""},null,12,a1)):Ee("",!0),r.value==="video"?(V(),H("div",l1)):Ee("",!0),Tl(u.$slots,"background")]),$("div",u1,[Tl(u.$slots,"default")])],2))}}),c1={class:"reveal-zoom max-w-5xl z-10"},f1={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)"}},d1={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},h1=Te({__name:"LayoutStatement",props:{data:{}},setup(t){return(e,n)=>(V(),He(jn,{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",f1,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",d1,ie(t.data.subtitle),1)):Ee("",!0)])],2)]),_:1},8,["data"]))}}),p1=["src","poster","autoplay","loop","muted"],m1={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"},g1={class:"flex items-center justify-between text-white"},_1={class:"flex items-center gap-4"},v1={class:"flex items-center gap-2 group/vol"},y1={class:"text-xs font-mono opacity-70"},b1={key:0,class:"absolute inset-0 flex items-center justify-center pointer-events-none"},ka=Ds(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),c=be(!1),u=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,u.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=()=>{c.value=!0,clearTimeout(f),f=setTimeout(()=>{r.value&&(c.value=!1)},3e3)};return kn(s,E=>{n.value&&(n.value.volume=E,i.value=E===0,n.value.muted=E===0)}),Tn(()=>{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=>c.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,p1),Ie(_o,{name:"fade"},{default:Ot(()=>[t.controls&&c.value?(V(),H("div",m1,[$("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",g1,[$("div",_1,[$("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",v1,[$("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)]),oh($("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),[[Fp,s.value,void 0,{number:!0}]])]),$("span",y1,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&&!u.value?(V(),H("div",b1,[$("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"]]),x1={key:0,class:"w-full h-full relative"},w1=["src"],S1={class:"reveal-content max-w-xl"},k1={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},T1={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},z1={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},C1={key:0,class:"pt-6 border-t border-white/10"},O1=Te({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(t){const e=be(!1);return(n,r)=>(V(),He(jn,{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",x1,[Ie(ka,{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,w1)):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",S1,[$("span",k1,ie(t.data.tag),1),$("h1",T1,ie(t.data.title),1),$("div",z1,[(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",C1,[$("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"]))}}),$1={class:"mb-16 reveal-up text-center lg:text-left max-w-6xl"},E1=Te({__name:"LayoutFeatures",props:{data:{}},setup(t){return(e,n)=>(V(),He(jn,{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",$1,[$("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"]))}}),P1={class:"text-center mb-16 reveal-up"},A1={class:"text-5xl font-heading font-bold mb-4"},I1={key:0,class:"text-xl opacity-60"},D1={class:"relative max-w-6xl mx-auto w-full"},M1={class:"space-y-12"},N1={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},R1={class:"text-2xl font-bold"},F1={class:"text-lg opacity-60 leading-relaxed"},Z1=Te({__name:"LayoutTimeline",props:{data:{}},setup(t){return(e,n)=>(V(),He(jn,{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",P1,[$("h2",A1,ie(t.data.title),1),t.data.subtitle?(V(),H("p",I1,ie(t.data.subtitle),1)):Ee("",!0)]),$("div",D1,[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),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",N1,ie(r.date),1),$("h3",R1,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",F1,ie(r.description||r.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),L1={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"},j1={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},U1=Te({__name:"LayoutSteps",props:{data:{}},setup(t){return(e,n)=>(V(),He(jn,{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",L1)):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",j1,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"]))}}),V1=["src","alt"],B1=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,V1)],6))}}),W1=Ds(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"]})),c=le(()=>n.data.direction==="vertical"?"flex-col":"flex-row"),u=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(jn,{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",c.value]),style:Qe(u.value)},[(V(!0),H(Ae,null,vr(t.data.elements,(I,K)=>(V(),H(Ae,{key:K},[I.type==="image"?(V(),He(B1,{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(ka,{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(Qi(F(ne.type)),po({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(Qi(F(I.type)),po({ref_for:!0},I,{onAction:x}),null,16))],6))],64))),128))],6)],4)]),_:1},8,["data"]))}}),[["__scopeId","data-v-ab896ad6"]]),H1=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,c=!!i.chartType&&!!((f=i.data)!=null&&f.datasets);let u="layout-statement";return c?u="layout-chart":s?u="layout-timeline":o?u="layout-steps":a?u="layout-features":l?u="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),u});return(i,s)=>(V(),He(Qi(r.value),{data:t.data,onAction:s[0]||(s[0]=o=>i.$emit("action",o))},null,40,["data"]))}}),J1=["innerHTML"],K1=Ds(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()}Tn(()=>{r()}),kn(()=>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(jn,{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,J1)],2)]),_:1},8,["data"]))}}),[["__scopeId","data-v-b8b91621"]]),q1={key:0,class:"text-center mb-8 reveal-up"},Y1={key:0,class:"text-4xl lg:text-5xl font-heading font-bold mb-3"},G1={key:1,class:"text-lg lg:text-xl opacity-60"},X1={key:1,class:"flex-1 flex items-center justify-center"},Q1={key:2,class:"flex-1 flex items-center justify-center"},ex={key:3,class:"flex-1 flex items-center justify-center reveal-zoom max-w-5xl mx-auto w-full"},tx={class:"w-full h-full min-h-[300px] lg:min-h-[400px] relative"},nx=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)}},c=(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},u=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?c(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,u.value))};return Tn(async()=>{await a()&&setTimeout(f,50)}),Jn(()=>{o&&(o.destroy(),o=null)}),kn(()=>i.data,()=>{f()},{deep:!0}),(d,h)=>(V(),He(jn,{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",q1,[t.data.title?(V(),H("h2",Y1,ie(t.data.title),1)):Ee("",!0),t.data.subtitle?(V(),H("p",G1,ie(t.data.subtitle),1)):Ee("",!0)])):Ee("",!0),n.value?(V(),H("div",X1,[...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",Q1,[...h[1]||(h[1]=[$("div",{class:"animate-pulse text-white/40"},"Loading chart...",-1)])])):(V(),H("div",ex,[$("div",tx,[$("canvas",{ref_key:"chartCanvas",ref:s},null,512)])]))],2)]),_:1},8,["data"]))}}),rx={class:"h-full w-full flex items-center justify-center bg-black relative overflow-hidden group"},ix={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"},sx={class:"text-white font-bold text-xl"},ox=Te({__name:"LayoutVideo",props:{data:{type:Object,required:!0}},setup(t){return(e,n)=>(V(),H("div",rx,[Ie(ka,{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",ix,[$("h2",sx,ie(t.data.title),1)])):Ee("",!0)]))}}),Ta={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 ud{static inject(e,n){let r;typeof e=="string"?r={...Ta[e]||Ta.default}:r={...Ta.default,...e},n&&(n.colors&&(r.colors={...r.colors,...n.colors}),n.fonts&&(r.fonts={...r.fonts,...n.fonts}));let i=document.getElementById(ld);i||(i=document.createElement("style"),i.id=ld,document.head.appendChild(i));const s=this.generateVars(r);i.innerHTML=`:root { ${s} }`}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=oy(n),n.theme&&ud.inject(n.theme),this.app=Pu(ad),this.app.provide(di,this.store),this.app.provide("LuminaEngine",this),kn(()=>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})}),kn(()=>{var r;return(r=this.store.state.deck)==null?void 0:r.meta},r=>{r&&((r.theme||r.themeConfig)&&ud.inject(r.theme||"default",r.themeConfig),r.orbColor&&document.documentElement.style.setProperty("--lumina-colors-primary",r.orbColor))},{deep:!0}),this.app.component("layout-statement",h1),this.app.component("layout-half",O1),this.app.component("layout-features",E1),this.app.component("layout-timeline",Z1),this.app.component("layout-steps",U1),this.app.component("layout-flex",W1),this.app.component("layout-auto",H1),this.app.component("layout-custom",K1),this.app.component("layout-chart",nx),this.app.component("layout-video",ox),mn.on("action",r=>{this.store.recordAction(r)}),this.app.mount(this.selector),this.syncSpeakerNotes()}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(),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."),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."),null;const s=this.speakerWindow;return s.document.open(),s.document.write(`
56
56
  <!DOCTYPE html>
57
57
  <html lang="en">
58
58
  <head>
59
59
  <meta charset="UTF-8">
60
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
61
60
  <title>Speaker Notes - Lumina</title>
62
- <link rel="preconnect" href="https://fonts.googleapis.com">
63
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
64
61
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
65
62
  </head>
66
63
  <body>
67
64
  <div id="speaker-notes-root"></div>
68
65
  </body>
69
66
  </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=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"})});
67
+ `),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=Pu(i1,{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.next();break;case"prev":this.prev();break;case"goto":n.index!==void 0&&this.goTo(n.index);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=Vc,Ve.Lumina=ax,Ve.LuminaDeck=ad,Ve.SpeakerChannel=jr,Ve.bus=mn,Object.defineProperty(Ve,Symbol.toStringTag,{value:"Module"})});