vendor: 11,703 bytes, lines 1-9
1/** 2* @vue/shared v3.5.21 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT 5**/function eo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ot={},la=[],Rn=()=>{},ta=()=>!1,Cl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),qv=e=>e.startsWith("onUpdate:"),st=Object.assign,Rv=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T5=Object.prototype.hasOwnProperty,ht=(e,t)=>T5.call(e,t),Ee=Array.isArray,aa=e=>Ha(e)==="[object Map]",Tl=e=>Ha(e)==="[object Set]",Xy=e=>Ha(e)==="[object Date]",E5=e=>Ha(e)==="[object RegExp]",Re=e=>typeof e=="function",He=e=>typeof e=="string",Mr=e=>typeof e=="symbol",wt=e=>e!==null&&typeof e=="object",Bv=e=>(wt(e)||Re(e))&&Re(e.then)&&Re(e.catch),uw=Object.prototype.toString,Ha=e=>uw.call(e),P5=e=>Ha(e).slice(8,-1),Pp=e=>Ha(e)==="[object Object]",Fv=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cs=eo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I5=eo("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ip=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},A5=/-\w/g,Pt=Ip(e=>e.replace(A5,t=>t.slice(1).toUpperCase())),$5=/\B([A-Z])/g,Tr=Ip(e=>e.replace($5,"-$1").toLowerCase()),El=Ip(e=>e.charAt(0).toUpperCase()+e.slice(1)),Js=Ip(e=>e?`on${El(e)}`:""),dr=(e,t)=>!Object.is(e,t),ua=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},cw=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kf=e=>{const t=He(e)?Number(e):NaN;return isNaN(t)?e:t};let Qy;const Ap=()=>Qy||(Qy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function M5(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const O5="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",L5=eo(O5);function gn(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=He(r)?dw(r):gn(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(He(e)||wt(e))return e}const q5=/;(?![^(]*\))/g,R5=/:([^]+)/,B5=/\/\*[^]*?\*\//g;function dw(e){const t={};return e.replace(B5,"").split(q5).forEach(n=>{if(n){const r=n.split(R5);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function re(e){let t="";if(He(e))t=e;else if(Ee(e))for(let n=0;n<e.length;n++){const r=re(e[n]);r&&(t+=r+" ")}else if(wt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ct(e){if(!e)return null;let{class:t,style:n}=e;return t&&!He(t)&&(e.class=re(t)),n&&(e.style=gn(n)),e}const F5="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",D5="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",N5="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",V5="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",z5=eo(F5),j5=eo(D5),H5=eo(N5),U5=eo(V5),W5="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",G5=eo(W5);function fw(e){return!!e||e===""}function K5(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=bs(e[r],t[r]);return n}function bs(e,t){if(e===t)return!0;let n=Xy(e),r=Xy(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Mr(e),r=Mr(t),n||r)return e===t;if(n=Ee(e),r=Ee(t),n||r)return n&&r?K5(e,t):!1;if(n=wt(e),r=wt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const l=e.hasOwnProperty(s),a=t.hasOwnProperty(s);if(l&&!a||!l&&a||!bs(e[s],t[s]))return!1}}return String(e)===String(t)}function $p(e,t){return e.findIndex(n=>bs(n,t))}const pw=e=>!!(e&&e.__v_isRef===!0),te=e=>He(e)?e:e==null?"":Ee(e)||wt(e)&&(e.toString===uw||!Re(e.toString))?pw(e)?te(e.value):JSON.stringify(e,hw,2):String(e),hw=(e,t)=>pw(t)?hw(e,t.value):aa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Oh(r,i)+" =>"]=o,n),{})}:Tl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Oh(n))}:Mr(t)?Oh(t):wt(t)&&!Ee(t)&&!Pp(t)?String(t):t,Oh=(e,t="")=>{var n;return Mr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Y5(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/** 6* @vue/reactivity v3.5.21 7* (c) 2018-present Yuxi (Evan) You and Vue contributors 8* @license MIT 9**/let Gn;class Dv{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Gn,!t&&Gn&&(this.index=(Gn.scopes||(Gn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Gn;try{return Gn=this,t()}finally{Gn=n}}}on(){++this._on===1&&(this.prevScope=Gn,Gn=this)}off(){this._on>0&&--this._on===0&&(Gn=this.prevScope,this.prevScope=void 0)}stop(t){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&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Mp(e){return new Dv(e)}function Ua(){return Gn}function Op(e,t=!1){Gn&&Gn.cleanups.push(e)}let At;const Lh=new WeakSet;class rc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Gn&&Gn.active&&Gn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Lh.has(this)&&(Lh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||gw(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jy(this),vw(this);const t=At,n=Eo;At=this,Eo=!0;try{return this.fn()}finally{yw(this),At=t,Eo=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zv(t);this.deps=this.depsTail=void 0,Jy(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Lh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zm(this)&&this.run()}get dirty(){return zm(this)}}let mw=0,Lu,qu;function gw(e,t=!1){if(e.flags|=8,t){e.next=qu,qu=e;return}e.next=Lu,Lu=e}function Nv(){mw++}function Vv(){if(--mw>0)return;if(qu){let t=qu;for(qu=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Lu;){let t=Lu;for(Lu=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function vw(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yw(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),zv(r),X5(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function zm(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bw(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bw(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===oc)||(e.globalVersion=oc,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zm(e))))return;e.flags|=2;const t=e.dep,n=At,r=Eo;At=e,Eo=!0;try{vw(e);const o=e.fn(e._value);(t.version===0||dr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{At=n,Eo=r,yw(e),e.flags&=-3}}function zv(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)zv(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function X5(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Q5(e,t){e.effect instanceof rc&&(e=e.effect.fn);const n=new rc(e);t&&st(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function J5(e){e.effect.stop()}let Eo=!0;const xw=[];function $i(){xw.push(Eo),Eo=!1}function Mi(){const e=xw.pop();Eo=e===void 0?!0:e}function Jy(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=At;At=void 0;try{t()}finally{At=n}}}let oc=0;class Z5{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Lp{constructor(t){this.computed=t,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(t){if(!At||!Eo||At===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==At)n=this.activeLink=new Z5(At,this),At.deps?(n.prevDep=At.depsTail,At.depsTail.nextDep=n,At.depsTail=n):At.deps=At.depsTail=n,_w(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=At.depsTail,n.nextDep=void 0,At.depsTail.nextDep=n,At.depsTail=n,At.deps===n&&(At.deps=r)}return n}trigger(t){this.version++,oc++,this.notify(t)}notify(t){Nv();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Vv()}}}function _w(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)_w(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Cf=new WeakMap,Zs=Symbol(""),jm=Symbol(""),ic=Symbol("");function Xn(e,t,n){if(Eo&&At){let r=Cf.get(e);r||Cf.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Lp),o.map=r,o.key=n),o.track()}}function xi(e,t,n,r,o,i){const s=Cf.get(e);if(!s){oc++;return}const l=a=>{a&&a.trigger()};if(Nv(),t==="clear")s.forEach(l);else{const a=Ee(e),u=a&&Fv(n);if(a&&n==="length"){const c=Number(r);
vendor: 4,369 bytes, line 9
9s.forEach((d,p)=>{(p==="length"||p===ic||!Mr(p)&&p>=c)&&l(d)})}else switch((n!==void 0||s.has(void 0))&&l(s.get(n)),u&&l(s.get(ic)),t){case"add":a?u&&l(s.get("length")):(l(s.get(Zs)),aa(e)&&l(s.get(jm)));break;case"delete":a||(l(s.get(Zs)),aa(e)&&l(s.get(jm)));break;case"set":aa(e)&&l(s.get(Zs));break}}Vv()}function eE(e,t){const n=Cf.get(e);return n&&n.get(t)}function Fl(e){const t=dt(e);return t===e?t:(Xn(t,"iterate",ic),Kr(e)?t:t.map($n))}function qp(e){return Xn(e=dt(e),"iterate",ic),e}const tE={__proto__:null,[Symbol.iterator](){return qh(this,Symbol.iterator,$n)},concat(...e){return Fl(this).concat(...e.map(t=>Ee(t)?Fl(t):t))},entries(){return qh(this,"entries",e=>(e[1]=$n(e[1]),e))},every(e,t){return ai(this,"every",e,t,void 0,arguments)},filter(e,t){return ai(this,"filter",e,t,n=>n.map($n),arguments)},find(e,t){return ai(this,"find",e,t,$n,arguments)},findIndex(e,t){return ai(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ai(this,"findLast",e,t,$n,arguments)},findLastIndex(e,t){return ai(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ai(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rh(this,"includes",e)},indexOf(...e){return Rh(this,"indexOf",e)},join(e){return Fl(this).join(e)},lastIndexOf(...e){return Rh(this,"lastIndexOf",e)},map(e,t){return ai(this,"map",e,t,void 0,arguments)},pop(){return su(this,"pop")},push(...e){return su(this,"push",e)},reduce(e,...t){return Zy(this,"reduce",e,t)},reduceRight(e,...t){return Zy(this,"reduceRight",e,t)},shift(){return su(this,"shift")},some(e,t){return ai(this,"some",e,t,void 0,arguments)},splice(...e){return su(this,"splice",e)},toReversed(){return Fl(this).toReversed()},toSorted(e){return Fl(this).toSorted(e)},toSpliced(...e){return Fl(this).toSpliced(...e)},unshift(...e){return su(this,"unshift",e)},values(){return qh(this,"values",$n)}};function qh(e,t,n){const r=qp(e),o=r[t]();return r!==e&&!Kr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const nE=Array.prototype;function ai(e,t,n,r,o,i){const s=qp(e),l=s!==e&&!Kr(e),a=s[t];if(a!==nE[t]){const d=a.apply(e,i);return l?$n(d):d}let u=n;s!==e&&(l?u=function(d,p){return n.call(this,$n(d),p,e)}:n.length>2&&(u=function(d,p){return n.call(this,d,p,e)}));const c=a.call(s,u,r);return l&&o?o(c):c}function Zy(e,t,n,r){const o=qp(e);let i=n;return o!==e&&(Kr(e)?n.length>3&&(i=function(s,l,a){return n.call(this,s,l,a,e)}):i=function(s,l,a){return n.call(this,s,$n(l),a,e)}),o[t](i,...r)}function Rh(e,t,n){const r=dt(e);Xn(r,"iterate",ic);const o=r[t](...n);return(o===-1||o===!1)&&Fp(n[0])?(n[0]=dt(n[0]),r[t](...n)):o}function su(e,t,n=[]){$i(),Nv();const r=dt(e)[t].apply(e,n);return Vv(),Mi(),r}const rE=eo("__proto__,__v_isRef,__isVue"),ww=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mr));function oE(e){Mr(e)||(e=String(e));const t=dt(this);return Xn(t,"has",e),t.hasOwnProperty(e)}class Sw{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Iw:Pw:i?Ew:Tw).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Ee(t);if(!o){let a;if(s&&(a=tE[n]))return a;if(n==="hasOwnProperty")return oE}const l=Reflect.get(t,n,$t(t)?t:r);return(Mr(n)?ww.has(n):rE(n))||(o||Xn(t,"get",n),i)?l:$t(l)?s&&Fv(n)?l:l.value:wt(l)?o?Go(l):gr(l):l}}class kw extends Sw{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=Oi(i);if(!Kr(r)&&!Oi(r)&&(i=dt(i),r=dt(r)),!Ee(t)&&$t(i)&&!$t(r))return a||(i.value=r),!0}const s=Ee(t)&&Fv(n)?Number(n)<t.length:ht(t,n),l=Reflect.set(t,n,r,$t(t)?t:o);return t===dt(o)&&(s?dr(r,i)&&xi(t,"set",n,r):xi(t,"add",n,r)),l}deleteProperty(t,n){const r=ht(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&xi(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Mr(n)||!ww.has(n))&&Xn(t,"has",n),r}ownKeys(t){return Xn(t,"iterate",Ee(t)?"length":Zs),Reflect.ownKeys(t)}}class Cw extends Sw{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const iE=new kw,sE=new Cw,lE=new kw(!0),aE=new Cw(!0),Hm=e=>e,sd=e=>Reflect.getPrototypeOf(e);
vendor: 39,309 bytes, lines 9-14
9function uE(e,t,n){return function(...r){const o=this.__v_raw,i=dt(o),s=aa(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,u=o[e](...r),c=n?Hm:t?Tf:$n;return!t&&Xn(i,"iterate",a?jm:Zs),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:l?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function ld(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cE(e,t){const n={get(o){const i=this.__v_raw,s=dt(i),l=dt(o);e||(dr(o,l)&&Xn(s,"get",o),Xn(s,"get",l));const{has:a}=sd(s),u=t?Hm:e?Tf:$n;if(a.call(s,o))return u(i.get(o));if(a.call(s,l))return u(i.get(l));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Xn(dt(o),"iterate",Zs),o.size},has(o){const i=this.__v_raw,s=dt(i),l=dt(o);return e||(dr(o,l)&&Xn(s,"has",o),Xn(s,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const s=this,l=s.__v_raw,a=dt(l),u=t?Hm:e?Tf:$n;return!e&&Xn(a,"iterate",Zs),l.forEach((c,d)=>o.call(i,u(c),u(d),s))}};return st(n,e?{add:ld("add"),set:ld("set"),delete:ld("delete"),clear:ld("clear")}:{add(o){!t&&!Kr(o)&&!Oi(o)&&(o=dt(o));const i=dt(this);return sd(i).has.call(i,o)||(i.add(o),xi(i,"add",o,o)),this},set(o,i){!t&&!Kr(i)&&!Oi(i)&&(i=dt(i));const s=dt(this),{has:l,get:a}=sd(s);let u=l.call(s,o);u||(o=dt(o),u=l.call(s,o));const c=a.call(s,o);return s.set(o,i),u?dr(i,c)&&xi(s,"set",o,i):xi(s,"add",o,i),this},delete(o){const i=dt(this),{has:s,get:l}=sd(i);let a=s.call(i,o);a||(o=dt(o),a=s.call(i,o)),l&&l.call(i,o);const u=i.delete(o);return a&&xi(i,"delete",o,void 0),u},clear(){const o=dt(this),i=o.size!==0,s=o.clear();return i&&xi(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=uE(o,e,t)}),n}function Rp(e,t){const n=cE(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ht(n,o)&&o in r?n:r,o,i)}const dE={get:Rp(!1,!1)},fE={get:Rp(!1,!0)},pE={get:Rp(!0,!1)},hE={get:Rp(!0,!0)},Tw=new WeakMap,Ew=new WeakMap,Pw=new WeakMap,Iw=new WeakMap;function mE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gE(e){return e.__v_skip||!Object.isExtensible(e)?0:mE(P5(e))}function gr(e){return Oi(e)?e:Bp(e,!1,iE,dE,Tw)}function jv(e){return Bp(e,!1,lE,fE,Ew)}function Go(e){return Bp(e,!0,sE,pE,Pw)}function js(e){return Bp(e,!0,aE,hE,Iw)}function Bp(e,t,n,r,o){if(!wt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=gE(e);if(i===0)return e;const s=o.get(e);if(s)return s;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function ds(e){return Oi(e)?ds(e.__v_raw):!!(e&&e.__v_isReactive)}function Oi(e){return!!(e&&e.__v_isReadonly)}function Kr(e){return!!(e&&e.__v_isShallow)}function Fp(e){return e?!!e.__v_raw:!1}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function Hv(e){return!ht(e,"__v_skip")&&Object.isExtensible(e)&&cw(e,"__v_skip",!0),e}const $n=e=>wt(e)?gr(e):e,Tf=e=>wt(e)?Go(e):e;function $t(e){return e?e.__v_isRef===!0:!1}function V(e){return Aw(e,!1)}function ei(e){return Aw(e,!0)}function Aw(e,t){return $t(e)?e:new vE(e,t)}class vE{constructor(t,n){this.dep=new Lp,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:dt(t),this._value=n?t:$n(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Kr(t)||Oi(t);t=r?t:dt(t),dr(t,n)&&(this._rawValue=t,this._value=r?t:$n(t),this.dep.trigger())}}function yE(e){e.dep&&e.dep.trigger()}function v(e){return $t(e)?e.value:e}function vt(e){return Re(e)?e():v(e)}const bE={get:(e,t,n)=>t==="__v_raw"?e:v(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return $t(o)&&!$t(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Uv(e){return ds(e)?e:new Proxy(e,bE)}class xE{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Lp,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dp(e){return new xE(e)}function Fn(e){const t=Ee(e)?new Array(e.length):{};for(const n in e)t[n]=$w(e,n);return t}class _E{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return eE(dt(this._object),this._key)}}class wE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function mr(e,t,n){return $t(e)?e:Re(e)?new wE(e):wt(e)&&arguments.length>1?$w(e,t,n):V(e)}function $w(e,t,n){const r=e[t];return $t(r)?r:new _E(e,t,n)}class SE{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Lp(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=oc-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&At!==this)return gw(this,!0),!0}get value(){const t=this.dep.track();return bw(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kE(e,t,n=!1){let r,o;return Re(e)?r=e:(r=e.get,o=e.set),new SE(r,o,n)}const CE={GET:"get",HAS:"has",ITERATE:"iterate"},TE={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ad={},Ef=new WeakMap;let Zi;function EE(){return Zi}function Mw(e,t=!1,n=Zi){if(n){let r=Ef.get(n);r||Ef.set(n,r=[]),r.push(e)}}function PE(e,t,n=ot){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:l,call:a}=n,u=w=>o?w:Kr(w)||o===!1||o===0?_i(w,1):_i(w);let c,d,p,f,m=!1,h=!1;if($t(e)?(d=()=>e.value,m=Kr(e)):ds(e)?(d=()=>u(e),m=!0):Ee(e)?(h=!0,m=e.some(w=>ds(w)||Kr(w)),d=()=>e.map(w=>{if($t(w))return w.value;if(ds(w))return u(w);if(Re(w))return a?a(w,2):w()})):Re(e)?t?d=a?()=>a(e,2):e:d=()=>{if(p){$i();try{p()}finally{Mi()}}const w=Zi;Zi=c;try{return a?a(e,3,[f]):e(f)}finally{Zi=w}}:d=Rn,t&&o){const w=d,E=o===!0?1/0:o;d=()=>_i(w(),E)}const g=Ua(),y=()=>{c.stop(),g&&g.active&&Rv(g.effects,c)};if(i&&t){const w=t;t=(...E)=>{w(...E),y()}}let b=h?new Array(e.length).fill(ad):ad;const x=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const E=c.run();if(o||m||(h?E.some((T,k)=>dr(T,b[k])):dr(E,b))){p&&p();const T=Zi;Zi=c;try{const k=[E,b===ad?void 0:h&&b[0]===ad?[]:b,f];b=E,a?a(t,3,k):t(...k)}finally{Zi=T}}}else c.run()};return l&&l(x),c=new rc(d),c.scheduler=s?()=>s(x,!1):x,f=w=>Mw(w,!1,c),p=c.onStop=()=>{const w=Ef.get(c);if(w){if(a)a(w,4);else for(const E of w)E();Ef.delete(c)}},t?r?x(!0):b=c.run():s?s(x.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function _i(e,t=1/0,n){if(t<=0||!wt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,$t(e))_i(e.value,t,n);else if(Ee(e))for(let r=0;r<e.length;r++)_i(e[r],t,n);else if(Tl(e)||aa(e))e.forEach(r=>{_i(r,t,n)});else if(Pp(e)){for(const r in e)_i(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_i(e[r],t,n)}return e}/** 10* @vue/runtime-core v3.5.21 11* (c) 2018-present Yuxi (Evan) You and Vue contributors 12* @license MIT 13**/const Ow=[];function IE(e){Ow.push(e)}function AE(){Ow.pop()}function $E(e,t){}const ME={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},OE={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Wa(e,t,n,r){try{return r?e(...r):e()}catch(o){Pl(o,t,n)}}function vo(e,t,n,r){if(Re(e)){const o=Wa(e,t,n,r);return o&&Bv(o)&&o.catch(i=>{Pl(i,t,n)}),o}if(Ee(e)){const o=[];for(let i=0;i<e.length;i++)o.push(vo(e[i],t,n,r));return o}}function Pl(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||ot;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}l=l.parent}if(i){$i(),Wa(i,null,10,[e,a,u]),Mi();return}}LE(e,n,o,r,s)}function LE(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const fr=[];let zo=-1;const ca=[];let es=null,Kl=0;const Lw=Promise.resolve();let Pf=null;function je(e){const t=Pf||Lw;return e?t.then(this?e.bind(this):e):t}function qE(e){let t=zo+1,n=fr.length;for(;t<n;){const r=t+n>>>1,o=fr[r],i=lc(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function Wv(e){if(!(e.flags&1)){const t=lc(e),n=fr[fr.length-1];!n||!(e.flags&2)&&t>=lc(n)?fr.push(e):fr.splice(qE(t),0,e),e.flags|=1,qw()}}function qw(){Pf||(Pf=Lw.then(Rw))}function sc(e){Ee(e)?ca.push(...e):es&&e.id===-1?es.splice(Kl+1,0,e):e.flags&1||(ca.push(e),e.flags|=1),qw()}function eb(e,t,n=zo+1){for(;n<fr.length;n++){const r=fr[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;fr.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function If(e){if(ca.length){const t=[...new Set(ca)].sort((n,r)=>lc(n)-lc(r));if(ca.length=0,es){es.push(...t);return}for(es=t,Kl=0;Kl<es.length;Kl++){const n=es[Kl];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}es=null,Kl=0}}const lc=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Rw(e){try{for(zo=0;zo<fr.length;zo++){const t=fr[zo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Wa(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;zo<fr.length;zo++){const t=fr[zo];t&&(t.flags&=-2)}zo=-1,fr.length=0,If(),Pf=null,(fr.length||ca.length)&&Rw()}}let Yl,ud=[];function Bw(e,t){var n,r;Yl=e,Yl?(Yl.enabled=!0,ud.forEach(({event:o,args:i})=>Yl.emit(o,...i)),ud=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Bw(i,t)}),setTimeout(()=>{Yl||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ud=[])},3e3)):ud=[]}let Ln=null,Np=null;function ac(e){const t=Ln;return Ln=e,Np=e&&e.type.__scopeId||null,t}function RE(e){Np=e}function BE(){Np=null}const FE=e=>D;function D(e,t=Ln,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&dc(-1);const i=ac(t);let s;try{s=e(...o)}finally{ac(i),r._d&&dc(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Or(e,t){if(Ln===null)return e;const n=Gc(Ln),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=ot]=t[o];i&&(Re(i)&&(i={mounted:i,updated:i}),i.deep&&_i(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function jo(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&($i(),vo(a,n,8,[e.el,l,e,t]),Mi())}}const Fw=Symbol("_vte"),Dw=e=>e.__isTeleport,Ru=e=>e&&(e.disabled||e.disabled===""),tb=e=>e&&(e.defer||e.defer===""),nb=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rb=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Um=(e,t)=>{const n=e&&e.to;return He(n)?t?t(n):null:n},Nw={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,l,a,u){const{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:m,createText:h,createComment:g}}=u,y=Ru(t.props);let{shapeFlag:b,children:x,dynamicChildren:w}=t;if(e==null){const E=t.el=h(""),T=t.anchor=h("");f(E,n,r),f(T,n,r);const k=(C,A)=>{b&16&&(o&&o.isCE&&(o.ce._teleportTarget=C),c(x,C,A,o,i,s,l,a))},S=()=>{const C=t.target=Um(t.props,m),A=Vw(C,t,h,f);C&&(s!=="svg"&&nb(C)?s="svg":s!=="mathml"&&rb(C)&&(s="mathml"),y||(k(C,A),Jd(t,!1)))};y&&(k(n,T),Jd(t,!0)),tb(t.props)?(t.el.__isMounted=!1,pn(()=>{S(),delete t.el.__isMounted},i)):S()}else{if(tb(t.props)&&e.el.__isMounted===!1){pn(()=>{Nw.process(e,t,n,r,o,i,s,l,a,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,T=t.target=e.target,k=t.targetAnchor=e.targetAnchor,S=Ru(e.props),C=S?n:T,A=S?E:k;if(s==="svg"||nb(T)?s="svg":(s==="mathml"||rb(T))&&(s="mathml"),w?(p(e.dynamicChildren,w,C,o,i,s,l),s0(e,t,!0)):a||d(e,t,C,A,o,i,s,l,!1),y)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cd(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=Um(t.props,m);M&&cd(t,M,null,u,0)}else S&&cd(t,T,k,u,1);Jd(t,y)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:l,anchor:a,targetStart:u,targetAnchor:c,target:d,props:p}=e;if(d&&(o(u),o(c)),i&&o(a),s&16){const f=i||!Ru(p);for(let m=0;m<l.length;m++){const h=l[m];r(h,t,n,f,!!h.dynamicChildren)}}},move:cd,hydrate:DE};function cd(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:l,shapeFlag:a,children:u,props:c}=e,d=i===2;if(d&&r(s,t,n),(!d||Ru(c))&&a&16)for(let p=0;p<u.length;p++)o(u[p],t,n,2);d&&r(l,t,n)}function DE(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:l,querySelector:a,insert:u,createText:c}},d){function p(h,g,y,b){g.anchor=d(s(h),g,l(h),n,r,o,i),g.targetStart=y,g.targetAnchor=b}const f=t.target=Um(t.props,a),m=Ru(t.props);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(m)p(e,t,h,h&&s(h));else{t.anchor=s(e);let g=h;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")t.targetStart=g;else if(g.data==="teleport anchor"){t.targetAnchor=g,f._lpa=t.targetAnchor&&s(t.targetAnchor);break}}g=s(g)}t.targetAnchor||Vw(f,t,c,u),d(h&&s(h),t,f,n,r,o,i)}Jd(t,m)}else m&&t.shapeFlag&16&&p(e,t,e,s(e));return t.anchor&&s(t.anchor)}const zc=Nw;function Jd(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Vw(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Fw]=i,e&&(r(o,e),r(i,e)),i}const vi=Symbol("_leaveCb"),dd=Symbol("_enterCb");function Gv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ve(()=>{e.isMounted=!0}),ji(()=>{e.isUnmounting=!0}),e}const no=[Function,Array],Kv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:no,onEnter:no,onAfterEnter:no,onEnterCancelled:no,onBeforeLeave:no,onLeave:no,onAfterLeave:no,onLeaveCancelled:no,onBeforeAppear:no,onAppear:no,onAfterAppear:no,onAppearCancelled:no},zw=e=>{const t=e.subTree;return t.component?zw(t.component):t},NE={name:"BaseTransition",props:Kv,setup(e,{slots:t}){const n=Bt(),r=Gv();return()=>{const o=t.default&&Vp(t.default(),!0);if(!o||!o.length)return;const i=jw(o),s=dt(e),{mode:l}=s;if(r.isLeaving)return Bh(i);const a=ob(i);if(!a)return Bh(i);let u=Ca(a,s,r,n,d=>u=d);a.type!==Kt&&Li(a,u);let c=n.subTree&&ob(n.subTree);if(c&&c.type!==Kt&&!ko(c,a)&&zw(n).type!==Kt){let d=Ca(c,s,r,n);if(Li(c,d),l==="out-in"&&a.type!==Kt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},Bh(i);l==="in-out"&&a.type!==Kt?d.delayLeave=(p,f,m)=>{const h=Uw(r,c);h[String(c.key)]=c,p[vi]=()=>{f(),p[vi]=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 i}}};function jw(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Kt){t=n;break}}return t}const Hw=NE;function Uw(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ca(e,t,n,r,o){const{appear:i,mode:s,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:f,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:x}=t,w=String(e.key),E=Uw(n,e),T=(C,A)=>{C&&vo(C,r,9,A)},k=(C,A)=>{const M=A[1];T(C,A),Ee(C)?C.every(I=>I.length<=1)&&M():C.length<=1&&M()},S={mode:s,persisted:l,beforeEnter(C){let A=a;if(!n.isMounted)if(i)A=g||a;else return;C[vi]&&C[vi](!0);const M=E[w];M&&ko(e,M)&&M.el[vi]&&M.el[vi](),T(A,[C])},enter(C){let A=u,M=c,I=d;if(!n.isMounted)if(i)A=y||u,M=b||c,I=x||d;else return;let $=!1;const F=C[dd]=q=>{$||($=!0,q?T(I,[C]):T(M,[C]),S.delayedLeave&&S.delayedLeave(),C[dd]=void 0)};A?k(A,[C,F]):F()},leave(C,A){const M=String(e.key);if(C[dd]&&C[dd](!0),n.isUnmounting)return A();T(p,[C]);let I=!1;const $=C[vi]=F=>{I||(I=!0,A(),F?T(h,[C]):T(m,[C]),C[vi]=void 0,E[M]===e&&delete E[M])};E[M]=e,f?k(f,[C,$]):$()},clone(C){const A=Ca(C,t,n,r,o);return o&&o(A),A}};return S}function Bh(e){if(jc(e))return e=$o(e),e.children=null,e}function ob(e){if(!jc(e))return Dw(e.type)&&e.children?jw(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Re(n.default))return n.default()}}function Li(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Li(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Vp(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const l=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===ye?(s.patchFlag&128&&o++,r=r.concat(Vp(s.children,t,l))):(t||s.type!==Kt)&&r.push(l!=null?$o(s,{key:l}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function pe(e,t){return Re(e)?st({name:e.name},t,{setup:e}):e}function Ga(){const e=Bt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Yv(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function VE(e){const t=Bt(),n=ei(null);if(t){const o=t.refs===ot?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}const Af=new WeakMap;function da(e,t,n,r,o=!1){if(Ee(e)){e.forEach((m,h)=>da(m,t&&(Ee(t)?t[h]:t),n,r,o));return}if(fs(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&da(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Gc(r.component):r.el,s=o?null:i,{i:l,r:a}=e,u=t&&t.r,c=l.refs===ot?l.refs={}:l.refs,d=l.setupState,p=dt(d),f=d===ot?ta:m=>ht(p,m);if(u!=null&&u!==a){if(ib(t),He(u))c[u]=null,f(u)&&(d[u]=null);else if($t(u)){u.value=null;const m=t;m.k&&(c[m.k]=null)}}if(Re(a))Wa(a,l,12,[s,c]);else{const m=He(a),h=$t(a);if(m||h){const g=()=>{if(e.f){const y=m?f(a)?d[a]:c[a]:a.value;if(o)Ee(y)&&Rv(y,i);else if(Ee(y))y.includes(i)||y.push(i);else if(m)c[a]=[i],f(a)&&(d[a]=c[a]);else{const b=[i];a.value=b,e.k&&(c[e.k]=b)}}else m?(c[a]=s,f(a)&&(d[a]=s)):h&&(a.value=s,e.k&&(c[e.k]=s))};if(s){const y=()=>{g(),Af.delete(e)};y.id=-1,Af.set(e,y),pn(y,n)}else ib(e),g()}}}function ib(e){const t=Af.get(e);t&&(t.flags|=8,Af.delete(e))}let sb=!1;const Dl=()=>{sb||(console.error("Hydration completed but contains mismatches."),sb=!0)},zE=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",jE=e=>e.namespaceURI.includes("MathML"),fd=e=>{if(e.nodeType===1){if(zE(e))return"svg";if(jE(e))return"mathml"}},na=e=>e.nodeType===8;function HE(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:u}}=e,c=(x,w)=>{if(!w.hasChildNodes()){n(null,x,w),If(),w._vnode=x;return}d(w.firstChild,x,null,null,null),If(),w._vnode=x},d=(x,w,E,T,k,S=!1)=>{S=S||!!w.dynamicChildren;const C=na(x)&&x.data==="[",A=()=>h(x,w,E,T,k,C),{type:M,ref:I,shapeFlag:$,patchFlag:F}=w;let q=x.nodeType;w.el=x,F===-2&&(S=!1,w.dynamicChildren=null);let O=null;switch(M){case ps:q!==3?w.children===""?(a(w.el=o(""),s(x),x),O=x):O=A():(x.data!==w.children&&(Dl(),x.data=w.children),O=i(x));break;case Kt:b(x)?(O=i(x),y(w.el=x.content.firstChild,x,E)):q!==8||C?O=A():O=i(x);break;case tl:if(C&&(x=i(x),q=x.nodeType),q===1||q===3){O=x;const L=!w.children.length;for(let N=0;N<w.staticCount;N++)L&&(w.children+=O.nodeType===1?O.outerHTML:O.data),N===w.staticCount-1&&(w.anchor=O),O=i(O);return C?i(O):O}else A();break;case ye:C?O=m(x,w,E,T,k,S):O=A();break;default:if($&1)(q!==1||w.type.toLowerCase()!==x.tagName.toLowerCase())&&!b(x)?O=A():O=p(x,w,E,T,k,S);else if($&6){w.slotScopeIds=k;const L=s(x);if(C?O=g(x):na(x)&&x.data==="teleport start"?O=g(x,x.data,"teleport end"):O=i(x),t(w,L,null,E,T,fd(L),S),fs(w)&&!w.type.__asyncResolved){let N;C?(N=K(ye),N.anchor=O?O.previousSibling:L.lastChild):N=x.nodeType===3?Le(""):K("div"),N.el=x,w.component.subTree=N}}else $&64?q!==8?O=A():O=w.type.hydrate(x,w,E,T,k,S,e,f):$&128&&(O=w.type.hydrate(x,w,E,T,fd(s(x)),k,S,e,d))}return I!=null&&da(I,null,T,w),O},p=(x,w,E,T,k,S)=>{S=S||!!w.dynamicChildren;const{type:C,props:A,patchFlag:M,shapeFlag:I,dirs:$,transition:F}=w,q=C==="input"||C==="option";if(q||M!==-1){$&&jo(w,null,E,"created");let O=!1;if(b(x)){O=h2(null,F)&&E&&E.vnode.props&&E.vnode.props.appear;const N=x.content.firstChild;if(O){const Z=N.getAttribute("class");Z&&(N.$cls=Z),F.beforeEnter(N)}y(N,x,E),w.el=x=N}if(I&16&&!(A&&(A.innerHTML||A.textContent))){let N=f(x.firstChild,w,x,E,T,k,S);for(;N;){pd(x,1)||Dl();const Z=N;N=N.nextSibling,l(Z)}}else if(I&8){let N=w.children;N[0]===` 14`&&(x.tagName==="PRE"||x.tagName==="TEXTAREA")&&(N=N.slice(1)),x.textContent!==N&&(pd(x,0)||Dl(),x.textContent=w.children)}if(A){if(q||!S||M&48){const N=x.tagName.includes("-");for(const Z in A)(q&&(Z.endsWith("value")||Z==="indeterminate")||Cl(Z)&&!cs(Z)||Z[0]==="."||N)&&r(x,Z,null,A[Z],void 0,E)}else if(A.onClick)r(x,"onClick",null,A.onClick,void 0,E);else if(M&4&&ds(A.style))for(const N in A.style)A.style[N]}let L;(L=A&&A.onVnodeBeforeMount)&&Sr(L,E,w),$&&jo(w,null,E,"beforeMount"),((L=A&&A.onVnodeMounted)||$||O)&&S2(()=>{L&&Sr(L,E,w),O&&F.enter(x),$&&jo(w,null,E,"mounted")},T)}return x.nextSibling},f=(x,w,E,T,k,S,C)=>{C=C||!!w.dynamicChildren;const A=w.children,M=A.length;for(let I=0;I<M;I++){const $=C?A[I]:A[I]=Cr(A[I]),F=$.type===ps;x?(F&&!C&&I+1<M&&Cr(A[I+1]).type===ps&&(a(o(x.data.slice($.children.length)),E,i(x)),x.data=$.children),x=d(x,$,T,k,S,C)):F&&!$.children?a($.el=o(""),E):(pd(E,1)||Dl(),n(null,$,E,null,T,k,fd(E),S))}return x},m=(x,w,E,T,k,S)=>{const{slotScopeIds:C}=w;C&&(k=k?k.concat(C):C);const A=s(x),M=f(i(x),w,A,E,T,k,S);return M&&na(M)&&M.data==="]"?i(w.anchor=M):(Dl(),a(w.anchor=u("]"),A,M),M)},h=(x,w,E,T,k,S)=>{if(pd(x.parentElement,1)||Dl(),w.el=null,S){const M=g(x);for(;;){const I=i(x);if(I&&I!==M)l(I);else break}}const C=i(x),A=s(x);return l(x),n(null,w,A,C,E,T,fd(A),k),E&&(E.vnode.el=w.el,Up(E,w.el)),C},g=(x,w="[",E="]")=>{let T=0;for(;x;)if(x=i(x),x&&na(x)&&(x.data===w&&T++,x.data===E)){if(T===0)return i(x);T--}return x},y=(x,w,E)=>{const T=w.parentNode;T&&T.replaceChild(x,w);let k=E;for(;k;)k.vnode.el===w&&(k.vnode.el=k.subTree.el=x),k=k.parent},b=x=>x.nodeType===1&&x.tagName==="TEMPLATE";return[c,d]}const lb="data-allow-mismatch",UE={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pd(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(lb);)e=e.parentElement;const n=e&&e.getAttribute(lb);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(UE[t])}}const WE=Ap().requestIdleCallback||(e=>setTimeout(e,1)),GE=Ap().cancelIdleCallback||(e=>clearTimeout(e)),KE=(e=1e4)=>t=>{const n=WE(t,{timeout:e});return()=>GE(n)};function YE(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||r>0&&r<i)&&(n>0&&n<s||o>0&&o<s)}const XE=e=>(t,n)=>{const r=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(YE(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},QE=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},JE=(e=[])=>(t,n)=>{He(e)&&(e=[e]);let r=!1;const o=s=>{r||(r=!0,i(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{n(s=>{for(const l of e)s.removeEventListener(l,o)})};return n(s=>{for(const l of e)s.addEventListener(l,o,{once:!0})}),i};function ZE(e,t){if(na(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(na(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const fs=e=>!!e.type.__asyncLoader;function eP(e){Re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:l=!0,onError:a}=e;let u=null,c,d=0;const p=()=>(d++,u=null,f()),f=()=>{let m;return u||(m=u=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((g,y)=>{a(h,()=>g(p()),()=>y(h),d+1)});throw h}).then(h=>m!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return pe({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(m,h,g){let y=!1;(h.bu||(h.bu=[])).push(()=>y=!0);const b=()=>{y||g()},x=i?()=>{const w=i(b,E=>ZE(m,E));w&&(h.bum||(h.bum=[])).push(w)}:b;c?x():f().then(()=>!h.isUnmounted&&x())},get __asyncResolved(){return c},setup(){const m=Mn;if(Yv(m),c)return()=>Fh(c,m);const h=x=>{u=null,Pl(x,m,13,!r)};if(l&&m.suspense||Ta)return f().then(x=>()=>Fh(x,m)).catch(x=>(h(x),()=>r?K(r,{error:x}):null));const g=V(!1),y=V(),b=V(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!y.value){const x=new Error(`Async component timed out after ${s}ms.`);h(x),y.value=x}},s),f().then(()=>{g.value=!0,m.parent&&jc(m.parent.vnode)&&m.parent.update()}).catch(x=>{h(x),y.value=x}),()=>{if(g.value&&c)return Fh(c,m);if(y.value&&r)return K(r,{error:y.value});if(n&&!b.value)return K(n)}}})}function Fh(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=K(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const jc=e=>e.type.__isKeepAlive,tP={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Bt(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,i=new Set;let s=null;const l=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(b,x,w,E,T)=>{const k=b.component;u(b,x,w,0,l),a(k.vnode,b,x,w,k,l,E,b.slotScopeIds,T),pn(()=>{k.isDeactivated=!1,k.a&&ua(k.a);const S=b.props&&b.props.onVnodeMounted;S&&Sr(S,k.parent,b)},l)},r.deactivate=b=>{const x=b.component;Mf(x.m),Mf(x.a),u(b,p,null,1,l),pn(()=>{x.da&&ua(x.da);const w=b.props&&b.props.onVnodeUnmounted;w&&Sr(w,x.parent,b),x.isDeactivated=!0},l)};function f(b){Dh(b),c(b,n,l,!0)}function m(b){o.forEach((x,w)=>{const E=ng(x.type);E&&!b(E)&&h(w)})}function h(b){const x=o.get(b);x&&(!s||!ko(x,s))?f(x):s&&Dh(s),o.delete(b),i.delete(b)}we(()=>[e.include,e.exclude],([b,x])=>{b&&m(w=>_u(b,w)),x&&m(w=>!_u(x,w))},{flush:"post",deep:!0});let g=null;const y=()=>{g!=null&&(Of(n.subTree.type)?pn(()=>{o.set(g,hd(n.subTree))},n.subTree.suspense):o.set(g,hd(n.subTree)))};return Ve(y),Ka(y),ji(()=>{o.forEach(b=>{const{subTree:x,suspense:w}=n,E=hd(x);if(b.type===E.type&&b.key===E.key){Dh(E);const T=E.component.da;T&&pn(T,w);return}f(b)})}),()=>{if(g=null,!t.default)return s=null;const b=t.default(),x=b[0];if(b.length>1)return s=null,b;if(!qi(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return s=null,x;let w=hd(x);if(w.type===Kt)return s=null,w;const E=w.type,T=ng(fs(w)?w.type.__asyncResolved||{}:E),{include:k,exclude:S,max:C}=e;if(k&&(!T||!_u(k,T))||S&&T&&_u(S,T))return w.shapeFlag&=-257,s=w,x;const A=w.key==null?E:w.key,M=o.get(A);return w.el&&(w=$o(w),x.shapeFlag&128&&(x.ssContent=w)),g=A,M?(w.el=M.el,w.component=M.component,w.transition&&Li(w,w.transition),w.shapeFlag|=512,i.delete(A),i.add(A)):(i.add(A),C&&i.size>parseInt(C,10)&&h(i.values().next().value)),w.shapeFlag|=256,s=w,Of(x.type)?x:w}}},nP=tP;function _u(e,t){return Ee(e)?e.some(n=>_u(n,t)):He(e)?e.split(",").includes(t):E5(e)?(e.lastIndex=0,e.test(t)):!1}function Xv(e,t){Ww(e,"a",t)}function Qv(e,t){Ww(e,"da",t)}function Ww(e,t,n=Mn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(zp(t,r,n),n){let o=n.parent;for(;o&&o.parent;)jc(o.parent.vnode)&&rP(r,t,n,o),o=o.parent}}function rP(e,t,n,r){const o=zp(t,e,r,!0);vn(()=>{Rv(r[t],o)},n)}function Dh(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hd(e){return e.shapeFlag&128?e.ssContent:e}function zp(e,t,n=Mn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{$i();const l=gl(n),a=vo(t,n,e,s);return l(),Mi(),a});return r?o.unshift(i):o.push(i),i}}const zi=e=>(t,n=Mn)=>{(!Ta||e==="sp")&&zp(e,(...r)=>t(...r),n)},Gw=zi("bm"),Ve=zi("m"),jp=zi("bu"),Ka=zi("u"),ji=zi("bum"),vn=zi("um"),Kw=zi("sp"),Yw=zi("rtg"),Xw=zi("rtc");function Qw(e,t=Mn){zp("ec",e,t)}const Jv="components",oP="directives";function Oe(e,t){return Zv(Jv,e,!0,t)||e}const Jw=Symbol.for("v-ndc");function yr(e){return He(e)?Zv(Jv,e,!1)||e:e||Jw}function iP(e){return Zv(oP,e)}function Zv(e,t,n=!0,r=!1){const o=Ln||Mn;if(o){const i=o.type;if(e===Jv){const l=ng(i,!1);if(l&&(l===t||l===Pt(t)||l===El(Pt(t))))return i}const s=ab(o[e]||i[e],t)||ab(o.appContext[e],t);return!s&&r?i:s}}function ab(e,t){return e&&(e[t]||e[Pt(t)]||e[El(Pt(t))])}function Ce(e,t,n,r){let o;const i=n&&n[r],s=Ee(e);if(s||He(e)){const l=s&&ds(e);let a=!1,u=!1;l&&(a=!Kr(e),u=Oi(e),e=qp(e)),o=new Array(e.length);for(let c=0,d=e.length;c<d;c++)o[c]=t(a?u?Tf($n(e[c])):$n(e[c]):e[c],c,void 0,i&&i[c])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i&&i[l])}else if(wt(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,i&&i[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];o[a]=t(e[c],c,a,i&&i[a])}}else o=[];return n&&(n[r]=o),o}function Hc(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ee(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function se(e,t,n={},r,o){if(Ln.ce||Ln.parent&&fs(Ln.parent)&&Ln.parent.ce)return t!=="default"&&(n.name=t),P(),X(ye,null,[K("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),P();const s=i&&e0(i(n)),l=n.key||s&&s.key,a=X(ye,{key:(l&&!Mr(l)?l:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function e0(e){return e.some(t=>qi(t)?!(t.type===Kt||t.type===ye&&!e0(t.children)):!0)?e:null}function t0(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Js(r)]=e[r];return n}const Wm=e=>e?P2(e)?Gc(e):Wm(e.parent):null,Bu=st(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wm(e.parent),$root:e=>Wm(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>r0(e),$forceUpdate:e=>e.f||(e.f=()=>{Wv(e.update)}),$nextTick:e=>e.n||(e.n=je.bind(e.proxy)),$watch:e=>AP.bind(e)}),Nh=(e,t)=>e!==ot&&!e.__isScriptSetup&&ht(e,t),Gm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Nh(r,t))return s[t]=1,r[t];if(o!==ot&&ht(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&ht(u,t))return s[t]=3,i[t];if(n!==ot&&ht(n,t))return s[t]=4,n[t];Km&&(s[t]=0)}}const c=Bu[t];let d,p;if(c)return t==="$attrs"&&Xn(e.attrs,"get",""),c(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ot&&ht(n,t))return s[t]=4,n[t];if(p=a.config.globalProperties,ht(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Nh(o,t)?(o[t]=n,!0):r!==ot&&ht(r,t)?(r[t]=n,!0):ht(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i,type:s}},l){let a,u;return!!(n[l]||e!==ot&&l[0]!=="$"&&ht(e,l)||Nh(t,l)||(a=i[0])&&ht(a,l)||ht(r,l)||ht(Bu,l)||ht(o.config.globalProperties,l)||(u=s.__cssModules)&&u[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ht(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},sP=st({},Gm,{get(e,t){if(t!==Symbol.unscopables)return Gm.get(e,t,e)},has(e,t){return t[0]!=="_"&&!L5(t)}});function lP(){return null}function aP(){return null}function uP(e){}function cP(e){}function dP(){return null}function fP(){}function pP(e,t){return null}function Dn(){return Zw().slots}function Ya(){return Zw().attrs}function Zw(e){const t=Bt();return t.setupContext||(t.setupContext=M2(t))}function uc(e){return Ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function n0(e,t){const n=uc(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Ee(o)||Re(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function hl(e,t){return!e||!t?e||t:Ee(e)&&Ee(t)?e.concat(t):st({},uc(e),uc(t))}function hP(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function mP(e){const t=Bt();let n=e();return Zm(),Bv(n)&&(n=n.catch(r=>{throw gl(t),r})),[n,()=>gl(t)]}let Km=!0;function gP(e){const t=r0(e),n=e.proxy,r=e.ctx;Km=!1,t.beforeCreate&&ub(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:m,activated:h,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:x,unmounted:w,render:E,renderTracked:T,renderTriggered:k,errorCaptured:S,serverPrefetch:C,expose:A,inheritAttrs:M,components:I,directives:$,filters:F}=t;if(u&&vP(u,r,null),s)for(const L in s){const N=s[L];Re(N)&&(r[L]=N.bind(n))}if(o){const L=o.call(n,n);wt(L)&&(e.data=gr(L))}if(Km=!0,i)for(const L in i){const N=i[L],Z=Re(N)?N.bind(n,n):Re(N.get)?N.get.bind(n,n):Rn,H=!Re(N)&&Re(N.set)?N.set.bind(n):Rn,G=W({get:Z,set:H});Object.defineProperty(r,L,{enumerable:!0,configurable:!0,get:()=>G.value,set:oe=>G.value=oe})}if(l)for(const L in l)e2(l[L],r,n,L);if(a){const L=Re(a)?a.call(n):a;Reflect.ownKeys(L).forEach(N=>{Wt(N,L[N])})}c&&ub(c,e,"c");function O(L,N){Ee(N)?N.forEach(Z=>L(Z.bind(n))):N&&L(N.bind(n))}if(O(Gw,d),O(Ve,p),O(jp,f),O(Ka,m),O(Xv,h),O(Qv,g),O(Qw,S),O(Xw,T),O(Yw,k),O(ji,b),O(vn,w),O(Kw,C),Ee(A))if(A.length){const L=e.exposed||(e.exposed={});A.forEach(N=>{Object.defineProperty(L,N,{get:()=>n[N],set:Z=>n[N]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===Rn&&(e.render=E),M!=null&&(e.inheritAttrs=M),I&&(e.components=I),$&&(e.directives=$),C&&Yv(e)}function vP(e,t,n=Rn){Ee(e)&&(e=Ym(e));for(const r in e){const o=e[r];let i;wt(o)?"default"in o?i=ft(o.from||r,o.default,!0):i=ft(o.from||r):i=ft(o),$t(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function ub(e,t,n){vo(Ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function e2(e,t,n,r){let o=r.includes(".")?b2(n,r):()=>n[r];if(He(e)){const i=t[e];Re(i)&&we(o,i)}else if(Re(e))we(o,e.bind(n));else if(wt(e))if(Ee(e))e.forEach(i=>e2(i,t,n,r));else{const i=Re(e.handler)?e.handler.bind(n):t[e.handler];Re(i)&&we(o,i,e)}}function r0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(u=>$f(a,u,s,!0)),$f(a,t,s)),wt(t)&&i.set(t,a),a}function $f(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&$f(e,i,n,!0),o&&o.forEach(s=>$f(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=yP[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const yP={data:cb,props:db,emits:db,methods:wu,computed:wu,beforeCreate:ir,created:ir,beforeMount:ir,mounted:ir,beforeUpdate:ir,updated:ir,beforeDestroy:ir,beforeUnmount:ir,destroyed:ir,unmounted:ir,activated:ir,deactivated:ir,errorCaptured:ir,serverPrefetch:ir,components:wu,directives:wu,watch:xP,provide:cb,inject:bP};function cb(e,t){return t?e?function(){return st(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function bP(e,t){return wu(Ym(e),Ym(t))}function Ym(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ir(e,t){return e?[...new Set([].concat(e,t))]:t}function wu(e,t){return e?st(Object.create(null),e,t):t}function db(e,t){return e?Ee(e)&&Ee(t)?[...new Set([...e,...t])]:st(Object.create(null),uc(e),uc(t??{})):t}function xP(e,t){if(!e)return t;if(!t)return e;const n=st(Object.create(null),e);for(const r in t)n[r]=ir(e[r],t[r]);return n}function t2(){return{app:null,config:{isNativeTag:ta,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 _P=0;function wP(e,t){return function(r,o=null){Re(r)||(r=st({},r)),o!=null&&!wt(o)&&(o=null);const i=t2(),s=new WeakSet,l=[];let a=!1;const u=i.app={_uid:_P++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:L2,get config(){return i.config},set config(c){},use(c,...d){return s.has(c)||(c&&Re(c.install)?(s.add(c),c.install(u,...d)):Re(c)&&(s.add(c),c(u,...d))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,d){return d?(i.components[c]=d,u):i.components[c]},directive(c,d){return d?(i.directives[c]=d,u):i.directives[c]},mount(c,d,p){if(!a){const f=u._ceVNode||K(r,o);return f.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),d&&t?t(f,c):e(f,c,p),a=!0,u._container=c,c.__vue_app__=u,Gc(f.component)}},onUnmount(c){l.push(c)},unmount(){a&&(vo(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return i.provides[c]=d,u},runWithContext(c){const d=el;el=u;try{return c()}finally{el=d}}};return u}}let el=null;function Wt(e,t){if(Mn){let n=Mn.provides;const r=Mn.parent&&Mn.parent.provides;r===n&&(n=Mn.provides=Object.create(r)),n[e]=t}}function ft(e,t,n=!1){const r=Bt();if(r||el){let o=el?el._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Re(t)?t.call(r&&r.proxy):t}}function n2(){return!!(Bt()||el)}const r2={},o2=()=>Object.create(r2),i2=e=>Object.getPrototypeOf(e)===r2;function SP(e,t,n,r=!1){const o={},i=o2();e.propsDefaults=Object.create(null),s2(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:jv(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function kP(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=dt(o),[a]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(Hp(e.emitsOptions,p))continue;const f=t[p];if(a)if(ht(i,p))f!==i[p]&&(i[p]=f,u=!0);else{const m=Pt(p);o[m]=Xm(a,l,m,f,e,!1)}else f!==i[p]&&(i[p]=f,u=!0)}}}else{s2(e,t,o,i)&&(u=!0);let c;
vendor: 4,766 bytes, line 14
14for(const d in l)(!t||!ht(t,d)&&((c=Tr(d))===d||!ht(t,c)))&&(a?n&&(n[d]!==void 0||n[c]!==void 0)&&(o[d]=Xm(a,l,d,void 0,e,!0)):delete o[d]);if(i!==l)for(const d in i)(!t||!ht(t,d))&&(delete i[d],u=!0)}u&&xi(e.attrs,"set","")}function s2(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(cs(a))continue;const u=t[a];let c;o&&ht(o,c=Pt(a))?!i||!i.includes(c)?n[c]=u:(l||(l={}))[c]=u:Hp(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,s=!0)}if(i){const a=dt(n),u=l||ot;for(let c=0;c<i.length;c++){const d=i[c];n[d]=Xm(o,a,d,u[d],e,!ht(u,d))}}return s}function Xm(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=ht(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&Re(a)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=gl(o);r=u[n]=a.call(null,t),c()}}else r=a;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===Tr(n))&&(r=!0))}return r}const CP=new WeakMap;function l2(e,t,n=!1){const r=n?CP:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!Re(e)){const c=d=>{a=!0;const[p,f]=l2(d,t,!0);st(s,p),f&&l.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return wt(e)&&r.set(e,la),la;if(Ee(i))for(let c=0;c<i.length;c++){const d=Pt(i[c]);fb(d)&&(s[d]=ot)}else if(i)for(const c in i){const d=Pt(c);if(fb(d)){const p=i[c],f=s[d]=Ee(p)||Re(p)?{type:p}:st({},p),m=f.type;let h=!1,g=!0;if(Ee(m))for(let y=0;y<m.length;++y){const b=m[y],x=Re(b)&&b.name;if(x==="Boolean"){h=!0;break}else x==="String"&&(g=!1)}else h=Re(m)&&m.name==="Boolean";f[0]=h,f[1]=g,(h||ht(f,"default"))&&l.push(d)}}const u=[s,l];return wt(e)&&r.set(e,u),u}function fb(e){return e[0]!=="$"&&!cs(e)}const o0=e=>e==="_"||e==="_ctx"||e==="$stable",i0=e=>Ee(e)?e.map(Cr):[Cr(e)],TP=(e,t,n)=>{if(t._n)return t;const r=D((...o)=>i0(t(...o)),n);return r._c=!1,r},a2=(e,t,n)=>{const r=e._ctx;for(const o in e){if(o0(o))continue;const i=e[o];if(Re(i))t[o]=TP(o,i,r);else if(i!=null){const s=i0(i);t[o]=()=>s}}},u2=(e,t)=>{const n=i0(t);e.slots.default=()=>n},c2=(e,t,n)=>{for(const r in t)(n||!o0(r))&&(e[r]=t[r])},EP=(e,t,n)=>{const r=e.slots=o2();if(e.vnode.shapeFlag&32){const o=t._;o?(c2(r,t,n),n&&cw(r,"_",o,!0)):a2(t,r)}else t&&u2(e,t)},PP=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=ot;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:c2(o,t,n):(i=!t.$stable,a2(t,o)),s=t}else t&&(u2(e,t),s={default:1});if(i)for(const l in o)!o0(l)&&s[l]==null&&delete o[l]},pn=S2;function d2(e){return p2(e)}function f2(e){return p2(e,HE)}function p2(e,t){const n=Ap();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=Rn,insertStaticContent:m}=e,h=(R,z,le,ve=null,j=null,U=null,ue=void 0,ne=null,fe=!!z.dynamicChildren)=>{if(R===z)return;R&&!ko(R,z)&&(ve=ie(R),oe(R,j,U,!0),R=null),z.patchFlag===-2&&(fe=!1,z.dynamicChildren=null);const{type:me,ref:Se,shapeFlag:_e}=z;switch(me){case ps:g(R,z,le,ve);break;case Kt:y(R,z,le,ve);break;case tl:R==null&&b(z,le,ve,ue);break;case ye:I(R,z,le,ve,j,U,ue,ne,fe);break;default:_e&1?E(R,z,le,ve,j,U,ue,ne,fe):_e&6?$(R,z,le,ve,j,U,ue,ne,fe):(_e&64||_e&128)&&me.process(R,z,le,ve,j,U,ue,ne,fe,J)}Se!=null&&j?da(Se,R&&R.ref,U,z||R,!z):Se==null&&R&&R.ref!=null&&da(R.ref,null,U,R,!0)},g=(R,z,le,ve)=>{if(R==null)r(z.el=l(z.children),le,ve);else{const j=z.el=R.el;z.children!==R.children&&u(j,z.children)}},y=(R,z,le,ve)=>{R==null?r(z.el=a(z.children||""),le,ve):z.el=R.el},b=(R,z,le,ve)=>{[R.el,R.anchor]=m(R.children,z,le,ve,R.el,R.anchor)},x=({el:R,anchor:z},le,ve)=>{let j;for(;R&&R!==z;)j=p(R),r(R,le,ve),R=j;r(z,le,ve)},w=({el:R,anchor:z})=>{let le;for(;R&&R!==z;)le=p(R),o(R),R=le;o(z)},E=(R,z,le,ve,j,U,ue,ne,fe)=>{z.type==="svg"?ue="svg":z.type==="math"&&(ue="mathml"),R==null?T(z,le,ve,j,U,ue,ne,fe):C(R,z,j,U,ue,ne,fe)},T=(R,z,le,ve,j,U,ue,ne)=>{let fe,me;const{props:Se,shapeFlag:_e,transition:ke,dirs:Me}=R;if(fe=R.el=s(R.type,U,Se&&Se.is,Se),_e&8?c(fe,R.children):_e&16&&S(R.children,fe,null,ve,j,Vh(R,U),ue,ne),Me&&jo(R,null,ve,"created"),k(fe,R,R.scopeId,ue,ve),Se){for(const Ye in Se)Ye!=="value"&&!cs(Ye)&&i(fe,Ye,null,Se[Ye],U,ve);"value"in Se&&i(fe,"value",null,Se.value,U),(me=Se.onVnodeBeforeMount)&&Sr(me,ve,R)}Me&&jo(R,null,ve,"beforeMount");const $e=h2(j,ke);$e&&ke.beforeEnter(fe),r(fe,z,le),((me=Se&&Se.onVnodeMounted)||$e||Me)&&pn(()=>{me&&Sr(me,ve,R),$e&&ke.enter(fe),Me&&jo(R,null,ve,"mounted")},j)},k=(R,z,le,ve,j)=>{if(le&&f(R,le),ve)for(let U=0;U<ve.length;U++)f(R,ve[U]);if(j){let U=j.subTree;if(z===U||Of(U.type)&&(U.ssContent===z||U.ssFallback===z)){const ue=j.vnode;k(R,ue,ue.scopeId,ue.slotScopeIds,j.parent)}}},S=(R,z,le,ve,j,U,ue,ne,fe=0)=>{for(let me=fe;me<R.length;
vendor: 25,331 bytes, lines 14-17
14me++){const Se=R[me]=ne?ts(R[me]):Cr(R[me]);h(null,Se,z,le,ve,j,U,ue,ne)}},C=(R,z,le,ve,j,U,ue)=>{const ne=z.el=R.el;let{patchFlag:fe,dynamicChildren:me,dirs:Se}=z;fe|=R.patchFlag&16;const _e=R.props||ot,ke=z.props||ot;let Me;if(le&&Bs(le,!1),(Me=ke.onVnodeBeforeUpdate)&&Sr(Me,le,z,R),Se&&jo(z,R,le,"beforeUpdate"),le&&Bs(le,!0),(_e.innerHTML&&ke.innerHTML==null||_e.textContent&&ke.textContent==null)&&c(ne,""),me?A(R.dynamicChildren,me,ne,le,ve,Vh(z,j),U):ue||N(R,z,ne,null,le,ve,Vh(z,j),U,!1),fe>0){if(fe&16)M(ne,_e,ke,le,j);else if(fe&2&&_e.class!==ke.class&&i(ne,"class",null,ke.class,j),fe&4&&i(ne,"style",_e.style,ke.style,j),fe&8){const $e=z.dynamicProps;for(let Ye=0;Ye<$e.length;Ye++){const Ne=$e[Ye],kt=_e[Ne],yt=ke[Ne];(yt!==kt||Ne==="value")&&i(ne,Ne,kt,yt,j,le)}}fe&1&&R.children!==z.children&&c(ne,z.children)}else!ue&&me==null&&M(ne,_e,ke,le,j);((Me=ke.onVnodeUpdated)||Se)&&pn(()=>{Me&&Sr(Me,le,z,R),Se&&jo(z,R,le,"updated")},ve)},A=(R,z,le,ve,j,U,ue)=>{for(let ne=0;ne<z.length;ne++){const fe=R[ne],me=z[ne],Se=fe.el&&(fe.type===ye||!ko(fe,me)||fe.shapeFlag&198)?d(fe.el):le;h(fe,me,Se,null,ve,j,U,ue,!0)}},M=(R,z,le,ve,j)=>{if(z!==le){if(z!==ot)for(const U in z)!cs(U)&&!(U in le)&&i(R,U,z[U],null,j,ve);for(const U in le){if(cs(U))continue;const ue=le[U],ne=z[U];ue!==ne&&U!=="value"&&i(R,U,ne,ue,j,ve)}"value"in le&&i(R,"value",z.value,le.value,j)}},I=(R,z,le,ve,j,U,ue,ne,fe)=>{const me=z.el=R?R.el:l(""),Se=z.anchor=R?R.anchor:l("");let{patchFlag:_e,dynamicChildren:ke,slotScopeIds:Me}=z;Me&&(ne=ne?ne.concat(Me):Me),R==null?(r(me,le,ve),r(Se,le,ve),S(z.children||[],le,Se,j,U,ue,ne,fe)):_e>0&&_e&64&&ke&&R.dynamicChildren?(A(R.dynamicChildren,ke,le,j,U,ue,ne),(z.key!=null||j&&z===j.subTree)&&s0(R,z,!0)):N(R,z,le,Se,j,U,ue,ne,fe)},$=(R,z,le,ve,j,U,ue,ne,fe)=>{z.slotScopeIds=ne,R==null?z.shapeFlag&512?j.ctx.activate(z,le,ve,ue,fe):F(z,le,ve,j,U,ue,fe):q(R,z,fe)},F=(R,z,le,ve,j,U,ue)=>{const ne=R.component=E2(R,ve,j);if(jc(R)&&(ne.ctx.renderer=J),I2(ne,!1,ue),ne.asyncDep){if(j&&j.registerDep(ne,O,ue),!R.el){const fe=ne.subTree=K(Kt);y(null,fe,z,le),R.placeholder=fe.el}}else O(ne,R,z,le,j,U,ue)},q=(R,z,le)=>{const ve=z.component=R.component;if(RP(R,z,le))if(ve.asyncDep&&!ve.asyncResolved){L(ve,z,le);return}else ve.next=z,ve.update();else z.el=R.el,ve.vnode=z},O=(R,z,le,ve,j,U,ue)=>{const ne=()=>{if(R.isMounted){let{next:_e,bu:ke,u:Me,parent:$e,vnode:Ye}=R;{const nn=m2(R);if(nn){_e&&(_e.el=Ye.el,L(R,_e,ue)),nn.asyncDep.then(()=>{R.isUnmounted||ne()});return}}let Ne=_e,kt;Bs(R,!1),_e?(_e.el=Ye.el,L(R,_e,ue)):_e=Ye,ke&&ua(ke),(kt=_e.props&&_e.props.onVnodeBeforeUpdate)&&Sr(kt,$e,_e,Ye),Bs(R,!0);const yt=Zd(R),lt=R.subTree;R.subTree=yt,h(lt,yt,d(lt.el),ie(lt),R,j,U),_e.el=yt.el,Ne===null&&Up(R,yt.el),Me&&pn(Me,j),(kt=_e.props&&_e.props.onVnodeUpdated)&&pn(()=>Sr(kt,$e,_e,Ye),j)}else{let _e;const{el:ke,props:Me}=z,{bm:$e,m:Ye,parent:Ne,root:kt,type:yt}=R,lt=fs(z);if(Bs(R,!1),$e&&ua($e),!lt&&(_e=Me&&Me.onVnodeBeforeMount)&&Sr(_e,Ne,z),Bs(R,!0),ke&&he){const nn=()=>{R.subTree=Zd(R),he(ke,R.subTree,R,j,null)};lt&&yt.__asyncHydrate?yt.__asyncHydrate(ke,R,nn):nn()}else{kt.ce&&kt.ce._def.shadowRoot!==!1&&kt.ce._injectChildStyle(yt);const nn=R.subTree=Zd(R);h(null,nn,le,ve,R,j,U),z.el=nn.el}if(Ye&&pn(Ye,j),!lt&&(_e=Me&&Me.onVnodeMounted)){const nn=z;pn(()=>Sr(_e,Ne,nn),j)}(z.shapeFlag&256||Ne&&fs(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&R.a&&pn(R.a,j),R.isMounted=!0,z=le=ve=null}};R.scope.on();const fe=R.effect=new rc(ne);R.scope.off();const me=R.update=fe.run.bind(fe),Se=R.job=fe.runIfDirty.bind(fe);Se.i=R,Se.id=R.uid,fe.scheduler=()=>Wv(Se),Bs(R,!0),me()},L=(R,z,le)=>{z.component=R;const ve=R.vnode.props;R.vnode=z,R.next=null,kP(R,z.props,ve,le),PP(R,z.children,le),$i(),eb(R),Mi()},N=(R,z,le,ve,j,U,ue,ne,fe=!1)=>{const me=R&&R.children,Se=R?R.shapeFlag:0,_e=z.children,{patchFlag:ke,shapeFlag:Me}=z;if(ke>0){if(ke&128){H(me,_e,le,ve,j,U,ue,ne,fe);return}else if(ke&256){Z(me,_e,le,ve,j,U,ue,ne,fe);return}}Me&8?(Se&16&&xe(me,j,U),_e!==me&&c(le,_e)):Se&16?Me&16?H(me,_e,le,ve,j,U,ue,ne,fe):xe(me,j,U,!0):(Se&8&&c(le,""),Me&16&&S(_e,le,ve,j,U,ue,ne,fe))},Z=(R,z,le,ve,j,U,ue,ne,fe)=>{R=R||la,z=z||la;const me=R.length,Se=z.length,_e=Math.min(me,Se);let ke;for(ke=0;ke<_e;ke++){const Me=z[ke]=fe?ts(z[ke]):Cr(z[ke]);h(R[ke],Me,le,null,j,U,ue,ne,fe)}me>Se?xe(R,j,U,!0,!1,_e):S(z,le,ve,j,U,ue,ne,fe,_e)},H=(R,z,le,ve,j,U,ue,ne,fe)=>{let me=0;const Se=z.length;let _e=R.length-1,ke=Se-1;for(;me<=_e&&me<=ke;){const Me=R[me],$e=z[me]=fe?ts(z[me]):Cr(z[me]);if(ko(Me,$e))h(Me,$e,le,null,j,U,ue,ne,fe);else break;me++}for(;me<=_e&&me<=ke;){const Me=R[_e],$e=z[ke]=fe?ts(z[ke]):Cr(z[ke]);if(ko(Me,$e))h(Me,$e,le,null,j,U,ue,ne,fe);else break;_e--,ke--}if(me>_e){if(me<=ke){const Me=ke+1,$e=Me<Se?z[Me].el:ve;for(;me<=ke;)h(null,z[me]=fe?ts(z[me]):Cr(z[me]),le,$e,j,U,ue,ne,fe),me++}}else if(me>ke)for(;me<=_e;)oe(R[me],j,U,!0),me++;else{const Me=me,$e=me,Ye=new Map;for(me=$e;me<=ke;me++){const Dt=z[me]=fe?ts(z[me]):Cr(z[me]);Dt.key!=null&&Ye.set(Dt.key,me)}let Ne,kt=0;const yt=ke-$e+1;let lt=!1,nn=0;const Ft=new Array(yt);for(me=0;me<yt;me++)Ft[me]=0;for(me=Me;me<=_e;me++){const Dt=R[me];if(kt>=yt){oe(Dt,j,U,!0);continue}let un;if(Dt.key!=null)un=Ye.get(Dt.key);else for(Ne=$e;Ne<=ke;Ne++)if(Ft[Ne-$e]===0&&ko(Dt,z[Ne])){un=Ne;break}un===void 0?oe(Dt,j,U,!0):(Ft[un-$e]=me+1,un>=nn?nn=un:lt=!0,h(Dt,z[un],le,null,j,U,ue,ne,fe),kt++)}const xr=lt?IP(Ft):la;for(Ne=xr.length-1,me=yt-1;me>=0;me--){const Dt=$e+me,un=z[Dt],Ro=z[Dt+1],Xe=Dt+1<Se?Ro.el||Ro.placeholder:ve;Ft[me]===0?h(null,un,le,Xe,j,U,ue,ne,fe):lt&&(Ne<0||me!==xr[Ne]?G(un,le,Xe,2):Ne--)}}},G=(R,z,le,ve,j=null)=>{const{el:U,type:ue,transition:ne,children:fe,shapeFlag:me}=R;if(me&6){G(R.component.subTree,z,le,ve);return}if(me&128){R.suspense.move(z,le,ve);return}if(me&64){ue.move(R,z,le,J);return}if(ue===ye){r(U,z,le);for(let _e=0;_e<fe.length;_e++)G(fe[_e],z,le,ve);r(R.anchor,z,le);return}if(ue===tl){x(R,z,le);return}if(ve!==2&&me&1&&ne)if(ve===0)ne.beforeEnter(U),r(U,z,le),pn(()=>ne.enter(U),j);else{const{leave:_e,delayLeave:ke,afterLeave:Me}=ne,$e=()=>{R.ctx.isUnmounted?o(U):r(U,z,le)},Ye=()=>{U._isLeaving&&U[vi](!0),_e(U,()=>{$e(),Me&&Me()})};ke?ke(U,$e,Ye):Ye()}else r(U,z,le)},oe=(R,z,le,ve=!1,j=!1)=>{const{type:U,props:ue,ref:ne,children:fe,dynamicChildren:me,shapeFlag:Se,patchFlag:_e,dirs:ke,cacheIndex:Me}=R;if(_e===-2&&(j=!1),ne!=null&&($i(),da(ne,null,le,R,!0),Mi()),Me!=null&&(z.renderCache[Me]=void 0),Se&256){z.ctx.deactivate(R);return}const $e=Se&1&&ke,Ye=!fs(R);let Ne;if(Ye&&(Ne=ue&&ue.onVnodeBeforeUnmount)&&Sr(Ne,z,R),Se&6)ge(R.component,le,ve);else{if(Se&128){R.suspense.unmount(le,ve);return}$e&&jo(R,null,z,"beforeUnmount"),Se&64?R.type.remove(R,z,le,J,ve):me&&!me.hasOnce&&(U!==ye||_e>0&&_e&64)?xe(me,z,le,!1,!0):(U===ye&&_e&384||!j&&Se&16)&&xe(fe,z,le),ve&&ce(R)}(Ye&&(Ne=ue&&ue.onVnodeUnmounted)||$e)&&pn(()=>{Ne&&Sr(Ne,z,R),$e&&jo(R,null,z,"unmounted")},le)},ce=R=>{const{type:z,el:le,anchor:ve,transition:j}=R;if(z===ye){ee(le,ve);return}if(z===tl){w(R);return}const U=()=>{o(le),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(R.shapeFlag&1&&j&&!j.persisted){const{leave:ue,delayLeave:ne}=j,fe=()=>ue(le,U);ne?ne(R.el,U,fe):fe()}else U()},ee=(R,z)=>{let le;for(;R!==z;)le=p(R),o(R),R=le;o(z)},ge=(R,z,le)=>{const{bum:ve,scope:j,job:U,subTree:ue,um:ne,m:fe,a:me}=R;Mf(fe),Mf(me),ve&&ua(ve),j.stop(),U&&(U.flags|=8,oe(ue,R,z,le)),ne&&pn(ne,z),pn(()=>{R.isUnmounted=!0},z)},xe=(R,z,le,ve=!1,j=!1,U=0)=>{for(let ue=U;ue<R.length;ue++)oe(R[ue],z,le,ve,j)},ie=R=>{if(R.shapeFlag&6)return ie(R.component.subTree);if(R.shapeFlag&128)return R.suspense.next();const z=p(R.anchor||R.el),le=z&&z[Fw];return le?p(le):z};let Q=!1;const Y=(R,z,le)=>{R==null?z._vnode&&oe(z._vnode,null,null,!0):h(z._vnode||null,R,z,null,null,null,le),z._vnode=R,Q||(Q=!0,eb(),If(),Q=!1)},J={p:h,um:oe,m:G,r:ce,mt:F,mc:S,pc:N,pbc:A,n:ie,o:e};let de,he;return t&&([de,he]=t(J)),{render:Y,hydrate:de,createApp:wP(Y,de)}}function Vh({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function h2(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function s0(e,t,n=!1){const r=e.children,o=t.children;if(Ee(r)&&Ee(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=ts(o[i]),l.el=s.el),!n&&l.patchFlag!==-2&&s0(s,l)),l.type===ps&&l.patchFlag!==-1&&(l.el=s.el),l.type===Kt&&!l.el&&(l.el=s.el)}}function IP(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<u?i=l+1:s=l;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function m2(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:m2(t)}function Mf(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const g2=Symbol.for("v-scx"),v2=()=>ft(g2);function Cn(e,t){return Uc(e,null,t)}function l0(e,t){return Uc(e,null,{flush:"post"})}function y2(e,t){return Uc(e,null,{flush:"sync"})}function we(e,t,n){return Uc(e,t,n)}function Uc(e,t,n=ot){const{immediate:r,deep:o,flush:i,once:s}=n,l=st({},n),a=t&&r||!t&&i!=="post";let u;if(Ta){if(i==="sync"){const f=v2();u=f.__watcherHandles||(f.__watcherHandles=[])}else if(!a){const f=()=>{};return f.stop=Rn,f.resume=Rn,f.pause=Rn,f}}const c=Mn;l.call=(f,m,h)=>vo(f,c,m,h);let d=!1;i==="post"?l.scheduler=f=>{pn(f,c&&c.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(f,m)=>{m?f():Wv(f)}),l.augmentJob=f=>{t&&(f.flags|=4),d&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const p=PE(e,t,l);return Ta&&(u?u.push(p):a&&p()),p}function AP(e,t,n){const r=this.proxy,o=He(e)?e.includes(".")?b2(r,e):()=>r[e]:e.bind(r,r);let i;Re(t)?i=t:(i=t.handler,n=t);const s=gl(this),l=Uc(o,i.bind(r),n);return s(),l}function b2(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Wc(e,t,n=ot){const r=Bt(),o=Pt(t),i=Tr(t),s=x2(e,o),l=Dp((a,u)=>{let c,d=ot,p;return y2(()=>{const f=e[o];dr(c,f)&&(c=f,u())}),{get(){return a(),n.get?n.get(c):c},set(f){const m=n.set?n.set(f):f;if(!dr(m,c)&&!(d!==ot&&dr(f,d)))return;const h=r.vnode.props;h&&(t in h||o in h||i in h)&&(`onUpdate:${t}`in h||`onUpdate:${o}`in h||`onUpdate:${i}`in h)||(c=f,u()),r.emit(`update:${t}`,m),dr(f,m)&&dr(f,d)&&!dr(m,p)&&u(),d=f,p=m}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?s||ot:l,done:!1}:{done:!0}}}},l}const x2=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${Tr(t)}Modifiers`];function $P(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ot;let o=n;const i=t.startsWith("update:"),s=i&&x2(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>He(c)?c.trim():c)),s.number&&(o=n.map(Sf)));let l,a=r[l=Js(t)]||r[l=Js(Pt(t))];!a&&i&&(a=r[l=Js(Tr(t))]),a&&vo(a,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,vo(u,e,6,o)}}const MP=new WeakMap;function _2(e,t,n=!1){const r=n?MP:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!Re(e)){const a=u=>{const c=_2(u,t,!0);c&&(l=!0,st(s,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(wt(e)&&r.set(e,null),null):(Ee(i)?i.forEach(a=>s[a]=null):st(s,i),wt(e)&&r.set(e,s),s)}function Hp(e,t){return!e||!Cl(t)?!1:(t=t.slice(2).replace(/Once$/,""),ht(e,t[0].toLowerCase()+t.slice(1))||ht(e,Tr(t))||ht(e,t))}function Zd(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:l,emit:a,render:u,renderCache:c,props:d,data:p,setupState:f,ctx:m,inheritAttrs:h}=e,g=ac(e);let y,b;try{if(n.shapeFlag&4){const w=o||r,E=w;y=Cr(u.call(E,w,c,d,f,p,m)),b=l}else{const w=t;y=Cr(w.length>1?w(d,{attrs:l,slots:s,emit:a}):w(d,null)),b=t.props?l:LP(l)}}catch(w){Fu.length=0,Pl(w,e,1),y=K(Kt)}let x=y;if(b&&h!==!1){const w=Object.keys(b),{shapeFlag:E}=x;w.length&&E&7&&(i&&w.some(qv)&&(b=qP(b,i)),x=$o(x,b,!1,!0))}return n.dirs&&(x=$o(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&Li(x,n.transition),y=x,ac(g),y}function OP(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(qi(o)){if(o.type!==Kt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const LP=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cl(n))&&((t||(t={}))[n]=e[n]);return t},qP=(e,t)=>{const n={};for(const r in e)(!qv(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function RP(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?pb(r,s,u):!!s;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(s[p]!==r[p]&&!Hp(u,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?pb(r,s,u):!0:!!s;return!1}function pb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Hp(n,i))return!0}return!1}function Up({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Of=e=>e.__isSuspense;let Qm=0;const BP={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,u){if(e==null)DP(t,n,r,o,i,s,l,a,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}NP(e,t,n,r,o,s,l,a,u)}},hydrate:VP,normalize:zP},FP=BP;function cc(e,t){const n=e.props&&e.props[t];Re(n)&&n()}function DP(e,t,n,r,o,i,s,l,a){const{p:u,o:{createElement:c}}=a,d=c("div"),p=e.suspense=w2(e,o,r,t,d,n,i,s,l,a);u(null,p.pendingBranch=e.ssContent,d,null,r,p,i,s),p.deps>0?(cc(e,"onPending"),cc(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),fa(p,e.ssFallback)):p.resolve(!1,!0)}function NP(e,t,n,r,o,i,s,l,{p:a,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:y}=d;if(h)d.pendingBranch=p,ko(h,p)?(a(h,p,d.hiddenContainer,null,o,d,i,s,l),d.deps<=0?d.resolve():g&&(y||(a(m,f,n,r,o,null,i,s,l),fa(d,f)))):(d.pendingId=Qm++,y?(d.isHydrating=!1,d.activeBranch=h):u(h,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),g?(a(null,p,d.hiddenContainer,null,o,d,i,s,l),d.deps<=0?d.resolve():(a(m,f,n,r,o,null,i,s,l),fa(d,f))):m&&ko(m,p)?(a(m,p,n,r,o,d,i,s,l),d.resolve(!0)):(a(null,p,d.hiddenContainer,null,o,d,i,s,l),d.deps<=0&&d.resolve()));else if(m&&ko(m,p))a(m,p,n,r,o,d,i,s,l),fa(d,p);else if(cc(t,"onPending"),d.pendingBranch=p,p.shapeFlag&512?d.pendingId=p.component.suspenseId:d.pendingId=Qm++,a(null,p,d.hiddenContainer,null,o,d,i,s,l),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:x}=d;b>0?setTimeout(()=>{d.pendingId===x&&d.fallback(f)},b):b===0&&d.fallback(f)}}function w2(e,t,n,r,o,i,s,l,a,u,c=!1){const{p:d,m:p,um:f,n:m,o:{parentNode:h,remove:g}}=u;let y;const b=jP(e);b&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const x=e.props?kf(e.props.timeout):void 0,w=i,E={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Qm++,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1,k=!1){const{vnode:S,activeBranch:C,pendingBranch:A,pendingId:M,effects:I,parentComponent:$,container:F}=E;let q=!1;E.isHydrating?E.isHydrating=!1:T||(q=C&&A.transition&&A.transition.mode==="out-in",q&&(C.transition.afterLeave=()=>{M===E.pendingId&&(p(A,F,i===w?m(C):i,0),sc(I))}),C&&(h(C.el)===F&&(i=m(C)),f(C,$,E,!0)),q||p(A,F,i,0)),fa(E,A),E.pendingBranch=null,E.isInFallback=!1;let O=E.parent,L=!1;for(;O;){if(O.pendingBranch){O.effects.push(...I),L=!0;break}O=O.parent}!L&&!q&&sc(I),E.effects=[],b&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),cc(S,"onResolve")},fallback(T){if(!E.pendingBranch)return;const{vnode:k,activeBranch:S,parentComponent:C,container:A,namespace:M}=E;cc(k,"onFallback");const I=m(S),$=()=>{E.isInFallback&&(d(null,T,A,I,C,null,M,l,a),fa(E,T))},F=T.transition&&T.transition.mode==="out-in";F&&(S.transition.afterLeave=$),E.isInFallback=!0,f(S,C,null,!0),F||$()},move(T,k,S){E.activeBranch&&p(E.activeBranch,T,k,S),E.container=T},next(){return E.activeBranch&&m(E.activeBranch)},registerDep(T,k,S){const C=!!E.pendingBranch;C&&E.deps++;const A=T.vnode.el;T.asyncDep.catch(M=>{Pl(M,T,0)}).then(M=>{if(T.isUnmounted||E.isUnmounted||E.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:I}=T;eg(T,M,!1),A&&(I.el=A);const $=!A&&T.subTree.el;k(T,I,h(A||T.subTree.el),A?null:m(T.subTree),E,s,S),$&&g($),Up(T,I.el),C&&--E.deps===0&&E.resolve()})},unmount(T,k){E.isUnmounted=!0,E.activeBranch&&f(E.activeBranch,n,T,k),E.pendingBranch&&f(E.pendingBranch,n,T,k)}};return E}function VP(e,t,n,r,o,i,s,l,a){const u=t.suspense=w2(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),c=a(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function zP(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=hb(r?n.default:n),e.ssFallback=r?hb(n.fallback):K(Kt)}function hb(e){let t;if(Re(e)){const n=ml&&e._c;n&&(e._d=!1,P()),e=e(),n&&(e._d=!0,t=er,k2())}return Ee(e)&&(e=OP(e)),e=Cr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function S2(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):sc(e)}function fa(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Up(r,o))}function jP(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),ps=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),tl=Symbol.for("v-stc"),Fu=[];let er=null;function P(e=!1){Fu.push(er=e?null:[])}function k2(){Fu.pop(),er=Fu[Fu.length-1]||null}let ml=1;function dc(e,t=!1){ml+=e,e<0&&er&&t&&(er.hasOnce=!0)}function C2(e){return e.dynamicChildren=ml>0?er||la:null,k2(),ml>0&&er&&er.push(e),e}function B(e,t,n,r,o,i){return C2(_(e,t,n,r,o,i,!0))}function X(e,t,n,r,o){return C2(K(e,t,n,r,o,!0))}function qi(e){return e?e.__v_isVNode===!0:!1}function ko(e,t){return e.type===t.type&&e.key===t.key}function HP(e){}const T2=({key:e})=>e??null,ef=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||$t(e)||Re(e)?{i:Ln,r:e,k:t,f:!!n}:e:null);function _(e,t=null,n=null,r=0,o=null,i=e===ye?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&T2(t),ref:t&&ef(t),scopeId:Np,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ln};return l?(a0(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=He(n)?8:16),ml>0&&!s&&er&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&er.push(a),a}const K=UP;function UP(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Jw)&&(e=Kt),qi(e)){const l=$o(e,t,!0);return n&&a0(l,n),ml>0&&!i&&er&&(l.shapeFlag&6?er[er.indexOf(e)]=l:er.push(l)),l.patchFlag=-2,l}if(QP(e)&&(e=e.__vccOpts),t){t=_t(t);let{class:l,style:a}=t;l&&!He(l)&&(t.class=re(l)),wt(a)&&(Fp(a)&&!Ee(a)&&(a=st({},a)),t.style=gn(a))}const s=He(e)?1:Of(e)?128:Dw(e)?64:wt(e)?4:Re(e)?2:0;return _(e,t,n,r,o,s,i,!0)}function _t(e){return e?Fp(e)||i2(e)?st({},e):e:null}function $o(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:l,transition:a}=e,u=t?be(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&T2(u),ref:t&&t.ref?n&&i?Ee(i)?i.concat(ef(t)):[i,ef(t)]:ef(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$o(e.ssContent),ssFallback:e.ssFallback&&$o(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Li(c,a.clone(c)),c}function Le(e=" ",t=0){return K(ps,null,e,t)}function Wp(e,t){const n=K(tl,null,e);return n.staticCount=t,n}function ae(e="",t=!1){return t?(P(),X(Kt,null,e)):K(Kt,null,e)}function Cr(e){return e==null||typeof e=="boolean"?K(Kt):Ee(e)?K(ye,null,e.slice()):qi(e)?ts(e):K(ps,null,String(e))}function ts(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$o(e)}function a0(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),a0(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!i2(t)?t._ctx=Ln:o===3&&Ln&&(Ln.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Ln},n=32):(t=String(t),r&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function be(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=re([t.class,r.class]));else if(o==="style")t.style=gn([t.style,r.style]);else if(Cl(o)){const i=t[o],s=r[o];s&&i!==s&&!(Ee(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Sr(e,t,n,r=null){vo(e,t,7,[n,r])}const WP=t2();let GP=0;function E2(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||WP,i={uid:GP++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Dv(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:l2(r,o),emitsOptions:_2(r,o),emit:null,emitted:null,propsDefaults:ot,inheritAttrs:r.inheritAttrs,ctx:ot,data:ot,props:ot,attrs:ot,slots:ot,refs:ot,setupState:ot,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=$P.bind(null,i),e.ce&&e.ce(i),i}let Mn=null;const Bt=()=>Mn||Ln;let Lf,Jm;{const e=Ap(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Lf=t("__VUE_INSTANCE_SETTERS__",n=>Mn=n),Jm=t("__VUE_SSR_SETTERS__",n=>Ta=n)}const gl=e=>{const t=Mn;return Lf(e),e.scope.on(),()=>{e.scope.off(),Lf(t)}},Zm=()=>{Mn&&Mn.scope.off(),Lf(null)};function P2(e){return e.vnode.shapeFlag&4}let Ta=!1;function I2(e,t=!1,n=!1){t&&Jm(t);const{props:r,children:o}=e.vnode,i=P2(e);SP(e,r,i,t),EP(e,o,n||t);const s=i?KP(e,t):void 0;return t&&Jm(!1),s}function KP(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gm);const{setup:r}=n;if(r){$i();const o=e.setupContext=r.length>1?M2(e):null,i=gl(e),s=Wa(r,e,0,[e.props,o]),l=Bv(s);if(Mi(),i(),(l||e.sp)&&!fs(e)&&Yv(e),l){if(s.then(Zm,Zm),t)return s.then(a=>{eg(e,a,t)}).catch(a=>{Pl(a,e,0)});e.asyncDep=s}else eg(e,s,t)}else $2(e,t)}function eg(e,t,n){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:wt(t)&&(e.setupState=Uv(t)),$2(e,n)}let qf,tg;function A2(e){qf=e,tg=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,sP))}}const YP=()=>!qf;function $2(e,t,n){const r=e.type;if(!e.render){if(!t&&qf&&!r.render){const o=r.template||r0(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,u=st(st({isCustomElement:i,delimiters:l},s),a);r.render=qf(o,u)}}e.render=r.render||Rn,tg&&tg(e)}{const o=gl(e);$i();try{gP(e)}finally{Mi(),o()}}}const XP={get(e,t){return Xn(e,"get",""),e[t]}};function M2(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,XP),slots:e.slots,emit:e.emit,expose:t}}function Gc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Uv(Hv(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bu)return Bu[n](e)},has(t,n){return n in t||n in Bu}})):e.proxy}function ng(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function QP(e){return Re(e)&&"__vccOpts"in e}const W=(e,t)=>kE(e,t,Ta);function Lt(e,t,n){const r=(i,s,l)=>{dc(-1);try{return K(i,s,l)}finally{dc(1)}},o=arguments.length;return o===2?wt(t)&&!Ee(t)?qi(t)?r(e,null,[t]):r(e,t):r(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&qi(n)&&(n=[n]),r(e,t,n))}function JP(){}function ZP(e,t,n,r){const o=n[r];if(o&&O2(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function O2(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(dr(n[r],t[r]))return!1;return ml>0&&er&&er.push(e),!0}const L2="3.5.21",eI=Rn,tI=OE,nI=Yl,rI=Bw,oI={createComponentInstance:E2,setupComponent:I2,renderComponentRoot:Zd,setCurrentRenderingInstance:ac,isVNode:qi,normalizeVNode:Cr,getComponentPublicInstance:Gc,ensureValidVNode:e0,pushWarningContext:IE,popWarningContext:AE},iI=oI,sI=null,lI=null,aI=null;/** 15* @vue/runtime-dom v3.5.21 16* (c) 2018-present Yuxi (Evan) You and Vue contributors 17* @license MIT
18**/let rg;const mb=typeof window<"u"&&window.trustedTypes;if(mb)try{rg=mb.createPolicy("vue",{createHTML:e=>e})}catch{}const q2=rg?e=>rg.createHTML(e):e=>e,uI="http://www.w3.org/2000/svg",cI="http://www.w3.org/1998/Math/MathML",mi=typeof document<"u"?document:null,gb=mi&&mi.createElement("template"),dI={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?mi.createElementNS(uI,e):t==="mathml"?mi.createElementNS(cI,e):n?mi.createElement(e,{is:n}):mi.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>mi.createTextNode(e),createComment:e=>mi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{gb.innerHTML=q2(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=gb.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wi="transition",lu="animation",Ea=Symbol("_vtc"),R2={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},B2=st({},Kv,R2),fI=e=>(e.displayName="Transition",e.props=B2,e),og=fI((e,{slots:t})=>Lt(Hw,F2(e),t)),Fs=(e,t=[])=>{Ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},vb=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function F2(e){const t={};for(const I in e)I in R2||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:u=s,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,m=pI(o),h=m&&m[0],g=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:x,onLeave:w,onLeaveCancelled:E,onBeforeAppear:T=y,onAppear:k=b,onAppearCancelled:S=x}=t,C=(I,$,F,q)=>{I._enterCancelled=q,Xi(I,$?c:l),Xi(I,$?u:s),F&&F()},A=(I,$)=>{I._isLeaving=!1,Xi(I,d),Xi(I,f),Xi(I,p),$&&$()},M=I=>($,F)=>{const q=I?k:b,O=()=>C($,I,F);Fs(q,[$,O]),yb(()=>{Xi($,I?a:i),No($,I?c:l),vb(q)||bb($,r,h,O)})};return st(t,{onBeforeEnter(I){Fs(y,[I]),No(I,i),No(I,s)},onBeforeAppear(I){Fs(T,[I]),No(I,a),No(I,u)},onEnter:M(!1),onAppear:M(!0),onLeave(I,$){I._isLeaving=!0;const F=()=>A(I,$);No(I,d),I._enterCancelled?(No(I,p),ig()):(ig(),No(I,p)),yb(()=>{I._isLeaving&&(Xi(I,d),No(I,f),vb(w)||bb(I,r,g,F))}),Fs(w,[I,F])},onEnterCancelled(I){C(I,!1,void 0,!0),Fs(x,[I])},onAppearCancelled(I){C(I,!0,void 0,!0),Fs(S,[I])},onLeaveCancelled(I){A(I),Fs(E,[I])}})}function pI(e){if(e==null)return null;if(wt(e))return[zh(e.enter),zh(e.leave)];{const t=zh(e);return[t,t]}}function zh(e){return kf(e)}function No(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ea]||(e[Ea]=new Set)).add(t)}function Xi(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ea];n&&(n.delete(t),n.size||(e[Ea]=void 0))}function yb(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let hI=0;function bb(e,t,n,r){const o=e._endId=++hI,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:l,propCount:a}=D2(e,t);if(!s)return r();const u=s+"end";let c=0;const d=()=>{e.removeEventListener(u,p),i()},p=f=>{f.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},l+1),e.addEventListener(u,p)}function D2(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Wi}Delay`),i=r(`${Wi}Duration`),s=xb(o,i),l=r(`${lu}Delay`),a=r(`${lu}Duration`),u=xb(l,a);let c=null,d=0,p=0;t===Wi?s>0&&(c=Wi,d=s,p=i.length):t===lu?u>0&&(c=lu,d=u,p=a.length):(d=Math.max(s,u),c=d>0?s>u?Wi:lu:null,p=c?c===Wi?i.length:a.length:0);const f=c===Wi&&/\b(?:transform|all)(?:,|$)/.test(r(`${Wi}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function xb(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>_b(n)+_b(e[r])))}function _b(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ig(){return document.body.offsetHeight}function mI(e,t,n){const r=e[Ea];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Rf=Symbol("_vod"),N2=Symbol("_vsh"),V2={name:"show",beforeMount(e,{value:t},{transition:n}){e[Rf]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):au(e,t)}
vendor: 18,611 bytes, line 18
18,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),au(e,!0),r.enter(e)):r.leave(e,()=>{au(e,!1)}):au(e,t))},beforeUnmount(e,{value:t}){au(e,t)}};function au(e,t){e.style.display=t?e[Rf]:"none",e[N2]=!t}function gI(){V2.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const z2=Symbol("");function vI(e){const t=Bt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Bf(i,o))},r=()=>{const o=e(t.proxy);t.ce?Bf(t.ce,o):sg(t.subTree,o),n(o)};jp(()=>{sc(r)}),Ve(()=>{we(r,Rn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),vn(()=>o.disconnect())})}function sg(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{sg(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Bf(e.el,t);else if(e.type===ye)e.children.forEach(n=>sg(n,t));else if(e.type===tl){let{el:n,anchor:r}=e;for(;n&&(Bf(n,t),n!==r);)n=n.nextSibling}}function Bf(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=Y5(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[z2]=r}}const yI=/(?:^|;)\s*display\s*:/;function bI(e,t,n){const r=e.style,o=He(n);let i=!1;if(n&&!o){if(t)if(He(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&tf(r,l,"")}else for(const s in t)n[s]==null&&tf(r,s,"");for(const s in n)s==="display"&&(i=!0),tf(r,s,n[s])}else if(o){if(t!==n){const s=r[z2];s&&(n+=";"+s),r.cssText=n,i=yI.test(n)}}else t&&e.removeAttribute("style");Rf in e&&(e[Rf]=i?r.display:"",e[N2]&&(r.display="none"))}const wb=/\s*!important$/;function tf(e,t,n){if(Ee(n))n.forEach(r=>tf(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=xI(e,t);wb.test(n)?e.setProperty(Tr(r),n.replace(wb,""),"important"):e[r]=n}}const Sb=["Webkit","Moz","ms"],jh={};function xI(e,t){const n=jh[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return jh[t]=r;r=El(r);for(let o=0;o<Sb.length;o++){const i=Sb[o]+r;if(i in e)return jh[t]=i}return t}const kb="http://www.w3.org/1999/xlink";function Cb(e,t,n,r,o,i=G5(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(kb,t.slice(6,t.length)):e.setAttributeNS(kb,t,n):n==null||i&&!fw(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Mr(n)?String(n):n)}function Tb(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?q2(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=fw(n):n==null&&l==="string"?(n="",s=!0):l==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function wi(e,t,n,r){e.addEventListener(t,n,r)}function _I(e,t,n,r){e.removeEventListener(t,n,r)}const Eb=Symbol("_vei");function wI(e,t,n,r,o=null){const i=e[Eb]||(e[Eb]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=SI(t);if(r){const u=i[t]=TI(r,o);wi(e,l,u,a)}else s&&(_I(e,l,s,a),i[t]=void 0)}}const Pb=/(?:Once|Passive|Capture)$/;function SI(e){let t;if(Pb.test(e)){t={};let r;for(;r=e.match(Pb);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Tr(e.slice(2)),t]}let Hh=0;const kI=Promise.resolve(),CI=()=>Hh||(kI.then(()=>Hh=0),Hh=Date.now());function TI(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vo(EI(r,n.value),t,5,[r])};return n.value=e,n.attached=CI(),n}function EI(e,t){if(Ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ib=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,PI=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?mI(e,r,s):t==="style"?bI(e,n,r):Cl(t)?qv(t)||wI(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):II(e,t,r,s))?(Tb(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Cb(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!He(r))?Tb(e,Pt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Cb(e,t,r,s))};function II(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ib(t)&&Re(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ib(t)&&He(n)?!1:t in e}const Ab={};function j2(e,t,n){let r=pe(e,t);Pp(r)&&(r=st({},r,t));class o extends Gp{constructor(s){super(r,s,n)}}return o.def=r,o}const AI=((e,t)=>j2(e,t,tS)),$I=typeof HTMLElement<"u"?HTMLElement:class{};class Gp extends $I{constructor(t,n={},r=an){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==an?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Gp){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,je(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=r;let l;if(i&&!Ee(i))for(const a in i){const u=i[a];(u===Number||u&&u.type===Number)&&(a in this._props&&(this._props[a]=kf(this._props[a])),(l||(l=Object.create(null)))[Pt(a)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)ht(this,r)||Object.defineProperty(this,r,{get:()=>v(n[r])})}_resolveProps(t){const{props:n}=t,r=Ee(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(Pt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Ab;const o=Pt(t);n&&this._numberProps&&this._numberProps[o]&&(r=kf(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===Ab?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Tr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Tr(t),n+""):n||this.removeAttribute(Tr(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),eS(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=K(this._def,st(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,Pp(s[0])?st({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{o(i,s),Tr(i)!==i&&o(Tr(i),s)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],i=o.getAttribute("name")||"default",s=this._slots[i],l=o.parentNode;if(s)for(const a of s){if(n&&a.nodeType===1){const u=n+"-s",c=document.createTreeWalker(a,1);a.setAttribute(u,"");let d;for(;d=c.nextNode();)d.setAttribute(u,"")}l.insertBefore(a,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function H2(e){const t=Bt(),n=t&&t.ce;return n||null}function MI(){const e=H2();return e&&e.shadowRoot}function OI(e="$style"){{const t=Bt();if(!t)return ot;const n=t.type.__cssModules;if(!n)return ot;const r=n[e];return r||ot}}const U2=new WeakMap,W2=new WeakMap,Ff=Symbol("_moveCb"),$b=Symbol("_enterCb"),LI=e=>(delete e.props.mode,e),qI=LI({name:"TransitionGroup",props:st({},B2,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Bt(),r=Gv();let o,i;return Ka(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!NI(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(BI),o.forEach(FI);const l=o.filter(DI);ig(),l.forEach(a=>{const u=a.el,c=u.style;No(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Ff]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[Ff]=null,Xi(u,s))};u.addEventListener("transitionend",d)}),o=[]}),()=>{const s=dt(e),l=F2(s);let a=s.tag||ye;if(o=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&(o.push(c),Li(c,Ca(c,l,r,n)),U2.set(c,c.el.getBoundingClientRect()))}i=t.default?Vp(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&Li(c,Ca(c,l,r,n))}return K(a,null,i)}}}),RI=qI;function BI(e){const t=e.el;t[Ff]&&t[Ff](),t[$b]&&t[$b]()}function FI(e){W2.set(e,e.el.getBoundingClientRect())}function DI(e){const t=U2.get(e),n=W2.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function NI(e,t,n){const r=e.cloneNode(),o=e[Ea];o&&o.forEach(l=>{l.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=D2(r);return i.removeChild(r),s}const xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ee(t)?n=>ua(t,n):t};function VI(e){e.target.composing=!0}function Mb(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const mo=Symbol("_assign"),rr={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[mo]=xs(o);const i=r||o.props&&o.props.type==="number";wi(e,t?"change":"input",s=>{if(s.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Sf(l)),e[mo](l)}),n&&wi(e,"change",()=>{e.value=e.value.trim()}),t||(wi(e,"compositionstart",VI),wi(e,"compositionend",Mb),wi(e,"change",Mb))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[mo]=xs(s),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Sf(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===a)||(e.value=a))}},u0={deep:!0,created(e,t,n){e[mo]=xs(n),wi(e,"change",()=>{const r=e._modelValue,o=Pa(e),i=e.checked,s=e[mo];if(Ee(r)){const l=$p(r,o),a=l!==-1;if(i&&!a)s(r.concat(o));else if(!i&&a){const u=[...r];u.splice(l,1),s(u)}}else if(Tl(r)){const l=new Set(r);i?l.add(o):l.delete(o),s(l)}else s(K2(e,i))})},mounted:Ob,beforeUpdate(e,t,n){e[mo]=xs(n),Ob(e,t,n)}};function Ob(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Ee(t))o=$p(t,r.props.value)>-1;else if(Tl(t))o=t.has(r.props.value);else{if(t===n)return;o=bs(t,K2(e,!0))}e.checked!==o&&(e.checked=o)}const Kp={created(e,{value:t},n){e.checked=bs(t,n.props.value),e[mo]=xs(n),wi(e,"change",()=>{e[mo](Pa(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[mo]=xs(r),t!==n&&(e.checked=bs(t,r.props.value))}},G2={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Tl(t);wi(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?Sf(Pa(s)):Pa(s));e[mo](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,je(()=>{e._assigning=!1})}),e[mo]=xs(r)},mounted(e,{value:t}){Lb(e,t)},beforeUpdate(e,t,n){e[mo]=xs(n)},updated(e,{value:t}){e._assigning||Lb(e,t)}};function Lb(e,t){const n=e.multiple,r=Ee(t);if(!(n&&!r&&!Tl(t))){for(let o=0,i=e.options.length;o<i;o++){const s=e.options[o],l=Pa(s);if(n)if(r){const a=typeof l;a==="string"||a==="number"?s.selected=t.some(u=>String(u)===String(l)):s.selected=$p(t,l)>-1}else s.selected=t.has(l);else if(bs(Pa(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Pa(e){return"_value"in e?e._value:e.value}function K2(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Y2={created(e,t,n){md(e,t,n,null,"created")},mounted(e,t,n){md(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){md(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){md(e,t,n,r,"updated")}};function X2(e,t){switch(e){case"SELECT":return G2;case"TEXTAREA":return rr;default:switch(t){case"checkbox":return u0;case"radio":return Kp;default:return rr}}}function md(e,t,n,r,o){const s=X2(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}function zI(){rr.getSSRProps=({value:e})=>({value:e}),Kp.getSSRProps=({value:e},t)=>{if(t.props&&bs(t.props.value,e))return{checked:!0}},u0.getSSRProps=({value:e},t)=>{if(Ee(e)){if(t.props&&$p(e,t.props.value)>-1)return{checked:!0}}else if(Tl(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Y2.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=X2(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const jI=["ctrl","shift","alt","meta"],HI={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jI.some(n=>e[`${n}Key`]&&!t.includes(n))},St=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let s=0;s<t.length;s++){const l=HI[t[s]];if(l&&l(o,t))return}return e(o,...i)}))},UI={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=Tr(o.key);if(t.some(s=>s===i||UI[s]===i))return e(o)}))},Q2=st({patchProp:PI},dI);let Du,qb=!1;function J2(){return Du||(Du=d2(Q2))}function Z2(){return Du=qb?Du:f2(Q2),qb=!0,Du}const eS=((...e)=>{J2().render(...e)}),WI=((...e)=>{Z2().hydrate(...e)}),an=((...e)=>{const t=J2().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=rS(r);if(!o)return;const i=t._component;!Re(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,nS(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),tS=((...e)=>{const t=Z2().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=rS(r);if(o)return n(o,!0,nS(o))},t});function nS(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function rS(e){return He(e)?document.querySelector(e):e}let Rb=!1;const GI=()=>{Rb||(Rb=!0,zI(),gI())},KI=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Hw,BaseTransitionPropsValidators:Kv,Comment:Kt,DeprecationTypes:aI,EffectScope:Dv,ErrorCodes:ME,ErrorTypeStrings:tI,Fragment:ye,KeepAlive:nP,ReactiveEffect:rc,Static:tl,Suspense:FP,Teleport:zc,Text:ps,TrackOpTypes:CE,Transition:og,TransitionGroup:RI,TriggerOpTypes:TE,VueElement:Gp,assertNumber:$E,callWithAsyncErrorHandling:vo,callWithErrorHandling:Wa,camelize:Pt,capitalize:El,cloneVNode:$o,compatUtils:lI,computed:W,createApp:an,createBlock:X,createCommentVNode:ae,createElementBlock:B,createElementVNode:_,createHydrationRenderer:f2,createPropsRestProxy:hP,createRenderer:d2,createSSRApp:tS,createSlots:Hc,createStaticVNode:Wp,createTextVNode:Le,createVNode:K,customRef:Dp,defineAsyncComponent:eP,defineComponent:pe,defineCustomElement:j2,defineEmits:aP,defineExpose:uP,defineModel:fP,defineOptions:cP,defineProps:lP,defineSSRCustomElement:AI,defineSlots:dP,devtools:nI,effect:Q5,effectScope:Mp,getCurrentInstance:Bt,getCurrentScope:Ua,getCurrentWatcher:EE,getTransitionRawChildren:Vp,guardReactiveProps:_t,h:Lt,handleError:Pl,hasInjectionContext:n2,hydrate:WI,hydrateOnIdle:KE,hydrateOnInteraction:JE,hydrateOnMediaQuery:QE,hydrateOnVisible:XE,initCustomFormatter:JP,initDirectivesForSSR:GI,inject:ft,isMemoSame:O2,isProxy:Fp,isReactive:ds,isReadonly:Oi,isRef:$t,isRuntimeOnly:YP,isShallow:Kr,isVNode:qi,markRaw:Hv,mergeDefaults:n0,mergeModels:hl,mergeProps:be,nextTick:je,normalizeClass:re,normalizeProps:ct,normalizeStyle:gn,onActivated:Xv,onBeforeMount:Gw,onBeforeUnmount:ji,onBeforeUpdate:jp,onDeactivated:Qv,onErrorCaptured:Qw,onMounted:Ve,onRenderTracked:Xw,onRenderTriggered:Yw,onScopeDispose:Op,onServerPrefetch:Kw,onUnmounted:vn,onUpdated:Ka,onWatcherCleanup:Mw,openBlock:P,popScopeId:BE,provide:Wt,proxyRefs:Uv,pu
18shScopeId:RE,queuePostFlushCb:sc,reactive:gr,readonly:Go,ref:V,registerRuntimeCompiler:A2,render:eS,renderList:Ce,renderSlot:se,resolveComponent:Oe,resolveDirective:iP,resolveDynamicComponent:yr,resolveFilter:sI,resolveTransitionHooks:Ca,setBlockTracking:dc,setDevtoolsHook:rI,setTransitionHooks:Li,shallowReactive:jv,shallowReadonly:js,shallowRef:ei,ssrContextKey:g2,ssrUtils:iI,stop:J5,toDisplayString:te,toHandlerKey:Js,toHandlers:t0,toRaw:dt,toRef:mr,toRefs:Fn,toValue:vt,transformVNodeArgs:HP,triggerRef:yE,unref:v,useAttrs:Ya,useCssModule:OI,useCssVars:vI,useHost:H2,useId:Ga,useModel:Wc,useSSRContext:v2,useShadowRoot:MI,useSlots:Dn,useTemplateRef:VE,useTransitionState:Gv,vModelCheckbox:u0,vModelDynamic:Y2,vModelRadio:Kp,vModelSelect:G2,vModelText:rr,vShow:V2,version:L2,warn:eI,watch:we,watchEffect:Cn,watchPostEffect:l0,watchSyncEffect:y2,withAsyncContext:mP,withCtx:D,withDefaults:pP,withDirectives:Or,withKeys:kn,withMemo:ZP,withModifiers:St,withScopeId:FE},Symbol.toStringTag,{value:"Module"}));/** 19* @vue/compiler-core v3.5.21 20* (c) 2018-present Yuxi (Evan) You and Vue contributors 21* @license MIT
vendor: 53,802 bytes, lines 22-28
22**/const fc=Symbol(""),Nu=Symbol(""),c0=Symbol(""),Df=Symbol(""),oS=Symbol(""),vl=Symbol(""),iS=Symbol(""),sS=Symbol(""),d0=Symbol(""),f0=Symbol(""),Kc=Symbol(""),p0=Symbol(""),lS=Symbol(""),h0=Symbol(""),m0=Symbol(""),g0=Symbol(""),v0=Symbol(""),y0=Symbol(""),b0=Symbol(""),aS=Symbol(""),uS=Symbol(""),Yp=Symbol(""),Nf=Symbol(""),x0=Symbol(""),_0=Symbol(""),pc=Symbol(""),Yc=Symbol(""),w0=Symbol(""),lg=Symbol(""),YI=Symbol(""),ag=Symbol(""),Vf=Symbol(""),XI=Symbol(""),QI=Symbol(""),S0=Symbol(""),JI=Symbol(""),ZI=Symbol(""),k0=Symbol(""),cS=Symbol(""),Ia={[fc]:"Fragment",[Nu]:"Teleport",[c0]:"Suspense",[Df]:"KeepAlive",[oS]:"BaseTransition",[vl]:"openBlock",[iS]:"createBlock",[sS]:"createElementBlock",[d0]:"createVNode",[f0]:"createElementVNode",[Kc]:"createCommentVNode",[p0]:"createTextVNode",[lS]:"createStaticVNode",[h0]:"resolveComponent",[m0]:"resolveDynamicComponent",[g0]:"resolveDirective",[v0]:"resolveFilter",[y0]:"withDirectives",[b0]:"renderList",[aS]:"renderSlot",[uS]:"createSlots",[Yp]:"toDisplayString",[Nf]:"mergeProps",[x0]:"normalizeClass",[_0]:"normalizeStyle",[pc]:"normalizeProps",[Yc]:"guardReactiveProps",[w0]:"toHandlers",[lg]:"camelize",[YI]:"capitalize",[ag]:"toHandlerKey",[Vf]:"setBlockTracking",[XI]:"pushScopeId",[QI]:"popScopeId",[S0]:"withCtx",[JI]:"unref",[ZI]:"isRef",[k0]:"withMemo",[cS]:"isMemoSame"};function eA(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ia[t]=e[t]})}const to={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function tA(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:to}}function hc(e,t,n,r,o,i,s,l=!1,a=!1,u=!1,c=to){return e&&(l?(e.helper(vl),e.helper(Ma(e.inSSR,u))):e.helper($a(e.inSSR,u)),s&&e.helper(y0)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:s,isBlock:l,disableTracking:a,isComponent:u,loc:c}}function nl(e,t=to){return{type:17,loc:t,elements:e}}function uo(e,t=to){return{type:15,loc:t,properties:e}}function en(e,t){return{type:16,loc:to,key:He(e)?Ke(e,!0):e,value:t}}function Ke(e,t=!1,n=to,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Po(e,t=to){return{type:8,loc:t,children:e}}function mn(e,t=[],n=to){return{type:14,loc:n,callee:e,arguments:t}}function Aa(e,t=void 0,n=!1,r=!1,o=to){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function ug(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:to}}function nA(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:to}}function rA(e){return{type:21,body:e,loc:to}}function $a(e,t){return e||t?d0:f0}function Ma(e,t){return e||t?iS:sS}function C0(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n($a(r,e.isComponent)),t(vl),t(Ma(r,e.isComponent)))}const Bb=new Uint8Array([123,123]),Fb=new Uint8Array([125,125]);function Db(e){return e>=97&&e<=122||e>=65&&e<=90}function Fr(e){return e===32||e===10||e===9||e===12||e===13}function Gi(e){return e===47||e===62||Fr(e)}function zf(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Un={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class oA{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Bb,this.delimiterClose=Fb,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Bb,this.delimiterClose=Fb}getPos(t){let n=1,r=t+1;for(let o=this.newlines.length-1;o>=0;o--){const i=this.newlines[o];if(t>i){n=o+2,r=t-i;break}}return{column:r,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Gi(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Fr(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Un.TitleEnd||this.currentSequence===Un.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Un.Cdata[this.sequenceIndex]?++this.sequenceIndex===Un.Cdata.length&&(this.state=28,this.currentSequence=Un.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Un.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Db(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Gi(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Gi(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(zf("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Fr(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Db(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Fr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Fr(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Fr(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Gi(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Gi(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Gi(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Gi(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Gi(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Fr(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Fr(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Fr(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Un.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Un.ScriptEnd[3]?this.startSpecial(Un.ScriptEnd,4):t===Un.StyleEnd[3]?this.startSpecial(Un.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Un.TitleEnd[3]?this.startSpecial(Un.TitleEnd,4):t===Un.TextareaEnd[3]?this.startSpecial(Un.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Un.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function Nb(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function rl(e,t){const n=Nb("MODE",t),r=Nb(e,t);return n===3?r===!0:r!==!1}function mc(e,t,n,...r){return rl(e,t)}function T0(e){throw e}function dS(e){}function Rt(e,t,n,r){const o=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(o));return i.code=e,i.loc=t,i}const Er=e=>e.type===4&&e.isStatic;function fS(e){switch(e){case"Teleport":case"teleport":return Nu;case"Suspense":case"suspense":return c0;case"KeepAlive":case"keep-alive":return Df;case"BaseTransition":case"base-transition":return oS}}const iA=/^$|^\d|[^\$\w\xA0-\uFFFF]/,E0=e=>!iA.test(e),sA=/[A-Za-z_$\xA0-\uFFFF]/,lA=/[\.\?\w$\xA0-\uFFFF]/,aA=/\s+[.[]\s*|\s*[.[]\s+/g,pS=e=>e.type===4?e.content:e.loc.source,uA=e=>{const t=pS(e).trim().replace(aA,l=>l.trim());let n=0,r=[],o=0,i=0,s=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(n){case 0:if(a==="[")r.push(n),n=1,o++;else if(a==="(")r.push(n),n=2,i++;else if(!(l===0?sA:lA).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(r.push(n),n=3,s=a):a==="["?o++:a==="]"&&(--o||(n=r.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")r.push(n),n=3,s=a;else if(a==="(")i++;else if(a===")"){if(l===t.length-1)return!1;--i||(n=r.pop())}break;case 3:a===s&&(n=r.pop(),s=null);break}}return!o&&!i},hS=uA,cA=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,dA=e=>cA.test(pS(e)),fA=dA;function io(e,t,n=!1){for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===7&&(n||o.exp)&&(He(t)?o.name===t:t.test(o.name)))return o}}function Xp(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===6){if(n)continue;if(i.name===t&&(i.value||r))return i}else if(i.name==="bind"&&(i.exp||r)&&Ks(i.arg,t))return i}}function Ks(e,t){return!!(e&&Er(e)&&e.content===t)}function pA(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Uh(e){return e.type===5||e.type===2}function Vb(e){return e.type===7&&e.name==="pre"}function hA(e){return e.type===7&&e.name==="slot"}function jf(e){return e.type===1&&e.tagType===3}function Hf(e){return e.type===1&&e.tagType===2}const mA=new Set([pc,Yc]);function mS(e,t=[]){if(e&&!He(e)&&e.type===14){const n=e.callee;if(!He(n)&&mA.has(n))return mS(e.arguments[0],t.concat(e))}return[e,t]}function Uf(e,t,n){let r,o=e.type===13?e.props:e.arguments[2],i=[],s;if(o&&!He(o)&&o.type===14){const l=mS(o);o=l[0],i=l[1],s=i[i.length-1]}if(o==null||He(o))r=uo([t]);else if(o.type===14){const l=o.arguments[0];!He(l)&&l.type===15?zb(t,l)||l.properties.unshift(t):o.callee===w0?r=mn(n.helper(Nf),[uo([t]),o]):o.arguments.unshift(uo([t])),!r&&(r=o)}else o.type===15?(zb(t,o)||o.properties.unshift(t),r=o):(r=mn(n.helper(Nf),[uo([t]),o]),s&&s.callee===Yc&&(s=i[i.length-2]));e.type===13?s?s.arguments[0]=r:e.props=r:s?s.arguments[0]=r:e.arguments[2]=r}function zb(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(o=>o.key.type===4&&o.key.content===r)}return n}function gc(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function gA(e){return e.type===14&&e.callee===k0?e.arguments[1].returns:e}const vA=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,gS={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:ta,isPreTag:ta,isIgnoreNewlineTag:ta,isCustomElement:ta,onError:T0,onWarn:dS,comments:!1,prefixIdentifiers:!1};let gt=gS,vc=null,Pi="",Kn=null,rt=null,_r="",pi=-1,Hs=-1,P0=0,ns=!1,cg=null;const Ot=[],Gt=new oA(Ot,{onerr:ui,ontext(e,t){gd(An(e,t),e,t)},ontextentity(e,t,n){gd(e,t,n)},oninterpolation(e,t){if(ns)return gd(An(e,t),e,t);let n=e+Gt.delimiterOpen.length,r=t-Gt.delimiterClose.length;for(;Fr(Pi.charCodeAt(n));)n++;for(;Fr(Pi.charCodeAt(r-1));)r--;let o=An(n,r);o.includes("&")&&(o=gt.decodeEntities(o,!1)),dg({type:5,content:rf(o,!1,Jt(n,r)),loc:Jt(e,t)})},onopentagname(e,t){const n=An(e,t);Kn={type:1,tag:n,ns:gt.getNamespace(n,Ot[0],gt.ns),tagType:0,props:[],children:[],loc:Jt(e-1,t),codegenNode:void 0}},onopentagend(e){Hb(e)},onclosetag(e,t){const n=An(e,t);if(!gt.isVoidTag(n)){let r=!1;for(let o=0;o<Ot.length;o++)if(Ot[o].tag.toLowerCase()===n.toLowerCase()){r=!0,o>0&&ui(24,Ot[0].loc.start.offset);for(let s=0;s<=o;s++){const l=Ot.shift();nf(l,t,s<o)}break}r||ui(23,vS(e,60))}},onselfclosingtag(e){const t=Kn.tag;Kn.isSelfClosing=!0,Hb(e),Ot[0]&&Ot[0].tag===t&&nf(Ot.shift(),e)},onattribname(e,t){rt={type:6,name:An(e,t),nameLoc:Jt(e,t),value:void 0,loc:Jt(e)}},ondirname(e,t){const n=An(e,t),r=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!ns&&r===""&&ui(26,e),ns||r==="")rt={type:6,name:n,nameLoc:Jt(e,t),value:void 0,loc:Jt(e)};else if(rt={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Ke("prop")]:[],loc:Jt(e)},r==="pre"){ns=Gt.inVPre=!0,cg=Kn;const o=Kn.props;for(let i=0;i<o.length;i++)o[i].type===7&&(o[i]=PA(o[i]))}},ondirarg(e,t){if(e===t)return;const n=An(e,t);if(ns&&!Vb(rt))rt.name+=n,Ys(rt.nameLoc,t);else{const r=n[0]!=="[";rt.arg=rf(r?n:n.slice(1,-1),r,Jt(e,t),r?3:0)}},ondirmodifier(e,t){const n=An(e,t);if(ns&&!Vb(rt))rt.name+="."+n,Ys(rt.nameLoc,t);else if(rt.name==="slot"){const r=rt.arg;r&&(r.content+="."+n,Ys(r.loc,t))}else{const r=Ke(n,!0,Jt(e,t));rt.modifiers.push(r)}},onattribdata(e,t){_r+=An(e,t),pi<0&&(pi=e),Hs=t},onattribentity(e,t,n){_r+=e,pi<0&&(pi=t),Hs=n},onattribnameend(e){const t=rt.loc.start.offset,n=An(t,e);rt.type===7&&(rt.rawName=n),Kn.props.some(r=>(r.type===7?r.rawName:r.name)===n)&&ui(2,t)},onattribend(e,t){if(Kn&&rt){if(Ys(rt.loc,t),e!==0)if(_r.includes("&")&&(_r=gt.decodeEntities(_r,!0)),rt.type===6)rt.name==="class"&&(_r=bS(_r).trim()),e===1&&!_r&&ui(13,t),rt.value={type:2,content:_r,loc:e===1?Jt(pi,Hs):Jt(pi-1,Hs+1)},Gt.inSFCRoot&&Kn.tag==="template"&&rt.name==="lang"&&_r&&_r!=="html"&&Gt.enterRCDATA(zf("</template"),0);else{let n=0;rt.exp=rf(_r,!1,Jt(pi,Hs),0,n),rt.name==="for"&&(rt.forParseResult=bA(rt.exp));let r=-1;rt.name==="bind"&&(r=rt.modifiers.findIndex(o=>o.content==="sync"))>-1&&mc("COMPILER_V_BIND_SYNC",gt,rt.loc,rt.arg.loc.source)&&(rt.name="model",rt.modifiers.splice(r,1))}(rt.type!==7||rt.name!=="pre")&&Kn.props.push(rt)}_r="",pi=Hs=-1},oncomment(e,t){gt.comments&&dg({type:3,content:An(e,t),loc:Jt(e-4,t+3)})},onend(){const e=Pi.length;for(let t=0;t<Ot.length;t++)nf(Ot[t],e-1),ui(24,Ot[t].loc.start.offset)},oncdata(e,t){Ot[0].ns!==0?gd(An(e,t),e,t):ui(1,e-9)},onprocessinginstruction(e){(Ot[0]?Ot[0].ns:gt.ns)===0&&ui(21,e-1)}}),jb=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,yA=/^\(|\)$/g;function bA(e){const t=e.loc,n=e.content,r=n.match(vA);if(!r)return;const[,o,i]=r,s=(d,p,f=!1)=>{const m=t.start.offset+p,h=m+d.length;return rf(d,!1,Jt(m,h),0,f?1:0)},l={source:s(i.trim(),n.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=o.trim().replace(yA,"").trim();const u=o.indexOf(a),c=a.match(jb);if(c){a=a.replace(jb,"").trim();const d=c[1].trim();let p;if(d&&(p=n.indexOf(d,u+a.length),l.key=s(d,p,!0)),c[2]){const f=c[2].trim();f&&(l.index=s(f,n.indexOf(f,l.key?p+d.length:u+a.length),!0))}}return a&&(l.value=s(a,u,!0)),l}function An(e,t){return Pi.slice(e,t)}function Hb(e){Gt.inSFCRoot&&(Kn.innerLoc=Jt(e+1,e+1)),dg(Kn);const{tag:t,ns:n}=Kn;n===0&>.isPreTag(t)&&P0++,gt.isVoidTag(t)?nf(Kn,e):(Ot.unshift(Kn),(n===1||n===2)&&(Gt.inXML=!0)),Kn=null}function gd(e,t,n){{const i=Ot[0]&&Ot[0].tag;i!=="script"&&i!=="style"&&e.includes("&")&&(e=gt.decodeEntities(e,!1))}const r=Ot[0]||vc,o=r.children[r.children.length-1];o&&o.type===2?(o.content+=e,Ys(o.loc,n)):r.children.push({type:2,content:e,loc:Jt(t,n)})}function nf(e,t,n=!1){n?Ys(e.loc,vS(t,60)):Ys(e.loc,xA(t,62)+1),Gt.inSFCRoot&&(e.children.length?e.innerLoc.end=st({},e.children[e.children.length-1].loc.end):e.innerLoc.end=st({},e.innerLoc.start),e.innerLoc.source=An(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:o,children:i}=e;if(ns||(r==="slot"?e.tagType=2:Ub(e)?e.tagType=3:wA(e)&&(e.tagType=1)),Gt.inRCDATA||(e.children=yS(i)),o===0&>.isIgnoreNewlineTag(r)){const s=i[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}o===0&>.isPreTag(r)&&P0--,cg===e&&(ns=Gt.inVPre=!1,cg=null),Gt.inXML&&(Ot[0]?Ot[0].ns:gt.ns)===0&&(Gt.inXML=!1);{const s=e.props;if(!Gt.inSFCRoot&&rl("COMPILER_NATIVE_TEMPLATE",gt)&&e.tag==="template"&&!Ub(e)){const a=Ot[0]||vc,u=a.children.indexOf(e);a.children.splice(u,1,...e.children)}const l=s.find(a=>a.type===6&&a.name==="inline-template");l&&mc("COMPILER_INLINE_TEMPLATE",gt,l.loc)&&e.children.length&&(l.value={type:2,content:An(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function xA(e,t){let n=e;for(;Pi.charCodeAt(n)!==t&&n<Pi.length-1;)n++;return n}function vS(e,t){let n=e;for(;Pi.charCodeAt(n)!==t&&n>=0;)n--;return n}const _A=new Set(["if","else","else-if","for","slot"]);function Ub({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&_A.has(t[n].name))return!0}return!1}function wA({tag:e,props:t}){if(gt.isCustomElement(e))return!1;if(e==="component"||SA(e.charCodeAt(0))||fS(e)||gt.isBuiltInComponent&>.isBuiltInComponent(e)||gt.isNativeTag&&!gt.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const r=t[n];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(mc("COMPILER_IS_ON_ELEMENT",gt,r.loc))return!0}}else if(r.name==="bind"&&Ks(r.arg,"is")&&mc("COMPILER_IS_ON_ELEMENT",gt,r.loc))return!0}return!1}function SA(e){return e>64&&e<91}const kA=/\r\n/g;function yS(e){const t=gt.whitespace!=="preserve";let n=!1;for(let r=0;r<e.length;r++){const o=e[r];if(o.type===2)if(P0)o.content=o.content.replace(kA,` 23`);else if(CA(o.content)){const i=e[r-1]&&e[r-1].type,s=e[r+1]&&e[r+1].type;!i||!s||t&&(i===3&&(s===3||s===1)||i===1&&(s===3||s===1&&TA(o.content)))?(n=!0,e[r]=null):o.content=" "}else t&&(o.content=bS(o.content))}return n?e.filter(Boolean):e}function CA(e){for(let t=0;t<e.length;t++)if(!Fr(e.charCodeAt(t)))return!1;return!0}function TA(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function bS(e){let t="",n=!1;for(let r=0;r<e.length;r++)Fr(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function dg(e){(Ot[0]||vc).children.push(e)}function Jt(e,t){return{start:Gt.getPos(e),end:t==null?t:Gt.getPos(t),source:t==null?t:An(e,t)}}function EA(e){return Jt(e.start.offset,e.end.offset)}function Ys(e,t){e.end=Gt.getPos(t),e.source=An(e.start.offset,t)}function PA(e){const t={type:6,name:e.rawName,nameLoc:Jt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function rf(e,t=!1,n,r=0,o=0){return Ke(e,t,n,r)}function ui(e,t,n){gt.onError(Rt(e,Jt(t,t)))}function IA(){Gt.reset(),Kn=null,rt=null,_r="",pi=-1,Hs=-1,Ot.length=0}function AA(e,t){if(IA(),Pi=e,gt=st({},gS),t){let o;for(o in t)t[o]!=null&&(gt[o]=t[o])}Gt.mode=gt.parseMode==="html"?1:gt.parseMode==="sfc"?2:0,Gt.inXML=gt.ns===1||gt.ns===2;const n=t&&t.delimiters;n&&(Gt.delimiterOpen=zf(n[0]),Gt.delimiterClose=zf(n[1]));const r=vc=tA([],e);return Gt.parse(Pi),r.loc=Jt(0,e.length),r.children=yS(r.children),vc=null,r}function $A(e,t){of(e,void 0,t,!!xS(e))}function xS(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Hf(t[0])?t[0]:null}function of(e,t,n,r=!1,o=!1){const{children:i}=e,s=[];for(let c=0;c<i.length;c++){const d=i[c];if(d.type===1&&d.tagType===0){const p=r?0:Wr(d,n);if(p>0){if(p>=2){d.codegenNode.patchFlag=-1,s.push(d);continue}}else{const f=d.codegenNode;if(f.type===13){const m=f.patchFlag;if((m===void 0||m===512||m===1)&&wS(d,n)>=2){const h=SS(d);h&&(f.props=n.hoist(h))}f.dynamicProps&&(f.dynamicProps=n.hoist(f.dynamicProps))}}}else if(d.type===12&&(r?0:Wr(d,n))>=2){d.codegenNode.type===14&&d.codegenNode.arguments.length>0&&d.codegenNode.arguments.push("-1"),s.push(d);continue}if(d.type===1){const p=d.tagType===1;p&&n.scopes.vSlot++,of(d,e,n,!1,o),p&&n.scopes.vSlot--}else if(d.type===11)of(d,e,n,d.children.length===1,!0);else if(d.type===9)for(let p=0;p<d.branches.length;p++)of(d.branches[p],e,n,d.branches[p].children.length===1,o)}let l=!1;if(s.length===i.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Ee(e.codegenNode.children))e.codegenNode.children=a(nl(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Ee(e.codegenNode.children)&&e.codegenNode.children.type===15){const c=u(e.codegenNode,"default");c&&(c.returns=a(nl(c.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Ee(t.codegenNode.children)&&t.codegenNode.children.type===15){const c=io(e,"slot",!0),d=c&&c.arg&&u(t.codegenNode,c.arg);d&&(d.returns=a(nl(d.returns)),l=!0)}}if(!l)for(const c of s)c.codegenNode=n.cache(c.codegenNode);function a(c){const d=n.cache(c);return d.needArraySpread=!0,d}function u(c,d){if(c.children&&!Ee(c.children)&&c.children.type===15){const p=c.children.properties.find(f=>f.key===d||f.key.content===d);return p&&p.value}}s.length&&n.transformHoist&&n.transformHoist(i,n,e)}function Wr(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const r=n.get(e);if(r!==void 0)return r;const o=e.codegenNode;if(o.type!==13||o.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(o.patchFlag===void 0){let s=3;const l=wS(e,t);if(l===0)return n.set(e,0),0;l<s&&(s=l);for(let a=0;a<e.children.length;a++){const u=Wr(e.children[a],t);if(u===0)return n.set(e,0),0;u<s&&(s=u)}if(s>1)for(let a=0;a<e.props.length;a++){const u=e.props[a];if(u.type===7&&u.name==="bind"&&u.exp){const c=Wr(u.exp,t);if(c===0)return n.set(e,0),0;c<s&&(s=c)}}if(o.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(vl),t.removeHelper(Ma(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper($a(t.inSSR,o.isComponent))}return n.set(e,s),s}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Wr(e.content,t);case 4:return e.constType;case 8:let i=3;for(let s=0;s<e.children.length;s++){const l=e.children[s];if(He(l)||Mr(l))continue;const a=Wr(l,t);if(a===0)return 0;a<i&&(i=a)}return i;case 20:return 2;default:return 0}}const MA=new Set([x0,_0,pc,Yc]);function _S(e,t){if(e.type===14&&!He(e.callee)&&MA.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Wr(n,t);if(n.type===14)return _S(n,t)}return 0}function wS(e,t){let n=3;const r=SS(e);if(r&&r.type===15){const{properties:o}=r;for(let i=0;i<o.length;i++){const{key:s,value:l}=o[i],a=Wr(s,t);if(a===0)return a;a<n&&(n=a);let u;if(l.type===4?u=Wr(l,t):l.type===14?u=_S(l,t):u=0,u===0)return u;u<n&&(n=u)}}return n}function SS(e){const t=e.codegenNode;if(t.type===13)return t.props}function OA(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:u=Rn,isCustomElement:c=Rn,expressionPlugins:d=[],scopeId:p=null,slotted:f=!0,ssr:m=!1,inSSR:h=!1,ssrCssVars:g="",bindingMetadata:y=ot,inline:b=!1,isTS:x=!1,onError:w=T0,onWarn:E=dS,compatConfig:T}){const k=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),S={filename:t,selfName:k&&El(Pt(k[1])),prefixIdentifiers:n,hoistStatic:r,hmr:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:l,transformHoist:a,isBuiltInComponent:u,isCustomElement:c,expressionPlugins:d,scopeId:p,slotted:f,ssr:m,inSSR:h,ssrCssVars:g,bindingMetadata:y,inline:b,isTS:x,onError:w,onWarn:E,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(C){const A=S.helpers.get(C)||0;return S.helpers.set(C,A+1),C},removeHelper(C){const A=S.helpers.get(C);if(A){const M=A-1;M?S.helpers.set(C,M):S.helpers.delete(C)}},helperString(C){return`_${Ia[S.helper(C)]}`},replaceNode(C){S.parent.children[S.childIndex]=S.currentNode=C},removeNode(C){const A=S.parent.children,M=C?A.indexOf(C):S.currentNode?S.childIndex:-1;!C||C===S.currentNode?(S.currentNode=null,S.onNodeRemoved()):S.childIndex>M&&(S.childIndex--,S.onNodeRemoved()),S.parent.children.splice(M,1)},onNodeRemoved:Rn,addIdentifiers(C){},removeIdentifiers(C){},hoist(C){He(C)&&(C=Ke(C)),S.hoists.push(C);const A=Ke(`_hoisted_${S.hoists.length}`,!1,C.loc,2);return A.hoisted=C,A},cache(C,A=!1,M=!1){const I=nA(S.cached.length,C,A,M);return S.cached.push(I),I}};return S.filters=new Set,S}function LA(e,t){const n=OA(e,t);Qp(e,n),t.hoistStatic&&$A(e,n),t.ssr||qA(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function qA(e,t){const{helper:n}=t,{children:r}=e;if(r.length===1){const o=xS(e);if(o&&o.codegenNode){const i=o.codegenNode;i.type===13&&C0(i,t),e.codegenNode=i}else e.codegenNode=r[0]}else if(r.length>1){let o=64;e.codegenNode=hc(t,n(fc),void 0,e.children,o,void 0,void 0,!0,void 0,!1)}}function RA(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];He(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Qp(o,t))}}function Qp(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){const s=n[i](e,t);if(s&&(Ee(s)?r.push(...s):r.push(s)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Kc);break;case 5:t.ssr||t.helper(Yp);break;case 9:for(let i=0;i<e.branches.length;i++)Qp(e.branches[i],t);break;case 10:case 11:case 1:case 0:RA(e,t);break}t.currentNode=e;let o=r.length;for(;o--;)r[o]()}function kS(e,t){const n=He(e)?r=>r===e:r=>e.test(r);return(r,o)=>{if(r.type===1){const{props:i}=r;if(r.tagType===3&&i.some(hA))return;const s=[];for(let l=0;l<i.length;l++){const a=i[l];if(a.type===7&&n(a.name)){i.splice(l,1),l--;const u=t(r,a,o);u&&s.push(u)}}return s}}}const Jp="/*@__PURE__*/",CS=e=>`${Ia[e]}: _${Ia[e]}`;function BA(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:c=!1,isTS:d=!1,inSSR:p=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:s,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:u,ssr:c,isTS:d,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(h){return`_${Ia[h]}`},push(h,g=-2,y){f.code+=h},indent(){m(++f.indentLevel)},deindent(h=!1){h?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(h){f.push(` 24`+" ".repeat(h),0)}return f}function FA(e,t={}){const n=BA(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:s,deindent:l,newline:a,scopeId:u,ssr:c}=n,d=Array.from(e.helpers),p=d.length>0,f=!i&&r!=="module";DA(e,n);const h=c?"ssrRender":"render",y=(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(o(`function ${h}(${y}) {`),s(),f&&(o("with (_ctx) {"),s(),p&&(o(`const { ${d.map(CS).join(", ")} } = _Vue 25`,-1),a())),e.components.length&&(Wh(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Wh(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Wh(e.filters,"filter",n),a()),e.temps>0){o("let ");for(let b=0;b<e.temps;b++)o(`${b>0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(o(` 26`,0),a()),c||o("return "),e.codegenNode?tr(e.codegenNode,n):o("null"),f&&(l(),o("}")),l(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function DA(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:s,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,u=l,c=Array.from(e.helpers);if(c.length>0&&(o(`const _Vue = ${u} 27`,-1),e.hoists.length)){const d=[d0,f0,Kc,p0,lS].filter(p=>c.includes(p)).map(CS).join(", ");o(`const { ${d} } = _Vue 28`,-1)}NA(e.hoists,t),i(),o("return ")}function Wh(e,t,{helper:n,push:r,newline:o,isTS:i}){const s=n(t==="filter"?v0:t==="component"?h0:g0);for(let l=0;l<e.length;l++){let a=e[l];const u=a.endsWith("__self");u&&(a=a.slice(0,-6)),r(`const ${gc(a,t)} = ${s}(${JSON.stringify(a)}${u?", true":""})${i?"!":""}`),l<e.length-1&&o()}}function NA(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o<e.length;o++){const i=e[o];i&&(n(`const _hoisted_${o+1} = `),tr(i,t),r())}t.pure=!1}function I0(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Xc(e,t,n),n&&t.deindent(),t.push("]")}function Xc(e,t,n=!1,r=!0){const{push:o,newline:i}=t;for(let s=0;s<e.length;s++){const l=e[s];He(l)?o(l,-3):Ee(l)?I0(l,t):tr(l,t),s<e.length-1&&(n?(r&&o(","),i()):r&&o(", "))}}function tr(e,t){if(He(e)){t.push(e,-3);return}if(Mr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:tr(e.codegenNode,t);break;case 2:VA(e,t);break;case 4:TS(e,t);break;case 5:zA(e,t);break;case 12:tr(e.codegenNode,t);break;case 8:ES(e,t);break;case 3:HA(e,t);break;case 13:UA(e,t);break;case 14:GA(e,t);break;case 15:KA(e,t);break;case 17:YA(e,t);break;case 18:XA(e,t);break;case 19:QA(e,t);break;case 20:JA(e,t);break;case 21:Xc(e.body,t,!0,!1);break}}function VA(e,t){t.push(JSON.stringify(e.content),-3,e)}function TS(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function zA(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Jp),n(`${r(Yp)}(`),tr(e.content,t),n(")")}function ES(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];He(r)?t.push(r,-3):tr(r,t)}}function jA(e,t){const{push:n}=t;if(e.type===8)n("["),ES(e,t),n("]");else if(e.isStatic){const r=E0(e.content)?e.content:JSON.stringify(e.content);n(r,-2,e)}else n(`[${e.content}]`,-3,e)}function HA(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Jp),n(`${r(Kc)}(${JSON.stringify(e.content)})`,-3,e)}function UA(e,t){const{push:n,helper:r,pure:o}=t,{tag:i,props:s,children:l,patchFlag:a,dynamicProps:u,directives:c,isBlock:d,disableTracking:p,isComponent:f}=e;let m;a&&(m=String(a)),c&&n(r(y0)+"("),d&&n(`(${r(vl)}(${p?"true":""}), `),o&&n(Jp);const h=d?Ma(t.inSSR,f):$a(t.inSSR,f);n(r(h)+"(",-2,e),Xc(WA([i,s,l,m,u]),t),n(")"),d&&n(")"),c&&(n(", "),tr(c,t),n(")"))}function WA(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function GA(e,t){const{push:n,helper:r,pure:o}=t,i=He(e.callee)?e.callee:r(e.callee);o&&n(Jp),n(i+"(",-2,e),Xc(e.arguments,t),n(")")}function KA(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:s}=e;if(!s.length){n("{}",-2,e);return}const l=s.length>1||!1;n(l?"{":"{ "),l&&r();for(let a=0;a<s.length;a++){const{key:u,value:c}=s[a];jA(u,t),n(": "),tr(c,t),a<s.length-1&&(n(","),i())}l&&o(),n(l?"}":" }")}function YA(e,t){I0(e.elements,t)}function XA(e,t){const{push:n,indent:r,deindent:o}=t,{params:i,returns:s,body:l,newline:a,isSlot:u}=e;u&&n(`_${Ia[S0]}(`),n("(",-2,e),Ee(i)?Xc(i,t):i&&tr(i,t),n(") => "),(a||l)&&(n("{"),r()),s?(a&&n("return "),Ee(s)?I0(s,t):tr(s,t)):l&&tr(l,t),(a||l)&&(o(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function QA(e,t){const{test:n,consequent:r,alternate:o,newline:i}=e,{push:s,indent:l,deindent:a,newline:u}=t;if(n.type===4){const d=!E0(n.content);d&&s("("),TS(n,t),d&&s(")")}else s("("),tr(n,t),s(")");i&&l(),t.indentLevel++,i||s(" "),s("? "),tr(r,t),t.indentLevel--,i&&u(),i||s(" "),s(": ");const c=o.type===19;c||t.indentLevel++,tr(o,t),c||t.indentLevel--,i&&a(!0)}function JA(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:s}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(o(),n(`${r(Vf)}(-1`),e.inVOnce&&n(", true"),n("),"),s(),n("(")),n(`_cache[${e.index}] = `),tr(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),s(),n(`${r(Vf)}(1),`),s(),n(`_cache[${e.index}]`),i()),n(")"),a&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const ZA=kS(/^(?:if|else|else-if)$/,(e,t,n)=>e$(e,t,n,(r,o,i)=>{const s=n.parent.children;let l=s.indexOf(r),a=0;for(;l-->=0;){const u=s[l];u&&u.type===9&&(a+=u.branches.length)}return()=>{if(i)r.codegenNode=Gb(o,a,n);else{const u=t$(r.codegenNode);u.alternate=Gb(o,a+r.branches.length-1,n)}}}));function e$(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(Rt(28,t.loc)),t.exp=Ke("true",!1,o)}if(t.name==="if"){const o=Wb(e,t),i={type:9,loc:EA(e.loc),branches:[o]};if(n.replaceNode(i),r)return r(i,o,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-->=-1;){const s=o[i];if(s&&s.type===3){n.removeNode(s);continue}if(s&&s.type===2&&!s.content.trim().length){n.removeNode(s);continue}if(s&&s.type===9){(t.name==="else-if"||t.name==="else")&&s.branches[s.branches.length-1].condition===void 0&&n.onError(Rt(30,e.loc)),n.removeNode();const l=Wb(e,t);s.branches.push(l);const a=r&&r(s,l,!1);Qp(l,n),a&&a(),n.currentNode=null}else n.onError(Rt(30,e.loc));break}}}function Wb(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!io(e,"for")?e.children:[e],userKey:Xp(e,"key"),isTemplateIf:n}}function Gb(e,t,n){return e.condition?ug(e.condition,Kb(e,t,n),mn(n.helper(Kc),['""',"true"])):Kb(e,t,n)}function Kb(e,t,n){const{helper:r}=n,o=en("key",Ke(`${t}`,!1,to,2)),{children:i}=e,s=i[0];if(i.length!==1||s.type!==1)if(i.length===1&&s.type===11){const a=s.codegenNode;return Uf(a,o,n),a}else return hc(n,r(fc),uo([o]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=s.codegenNode,u=gA(a);return u.type===13&&C0(u,n),Uf(u,o,n),a}}function t$(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const n$=(e,t,n)=>{const{modifiers:r,loc:o}=e,i=e.arg;let{exp:s}=e;if(s&&s.type===4&&!s.content.trim()&&(s=void 0),!s){if(i.type!==4||!i.isStatic)return n.onError(Rt(52,i.loc)),{props:[en(i,Ke("",!0,o))]};PS(e),s=e.exp}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),r.some(l=>l.content==="camel")&&(i.type===4?i.isStatic?i.content=Pt(i.content):i.content=`${n.helperString(lg)}(${i.content})`:(i.children.unshift(`${n.helperString(lg)}(`),i.children.push(")"))),n.inSSR||(r.some(l=>l.content==="prop")&&Yb(i,"."),r.some(l=>l.content==="attr")&&Yb(i,"^")),{props:[en(i,s)]}},PS=(e,t)=>{const n=e.arg,r=Pt(n.content);e.exp=Ke(r,!1,n.loc)},Yb=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},r$=kS("for",(e,t,n)=>{const{helper:r,removeHelper:o}=n;return o$(e,t,n,i=>{const s=mn(r(b0),[i.source]),l=jf(e),a=io(e,"memo"),u=Xp(e,"key",!1,!0);u&&u.type===7&&!u.exp&&PS(u);let d=u&&(u.type===6?u.value?Ke(u.value.content,!0):void 0:u.exp);const p=u&&d?en("key",d):null,f=i.source.type===4&&i.source.constType>0,m=f?64:u?128:256;return i.codegenNode=hc(n,r(fc),void 0,s,m,void 0,void 0,!0,!f,!1,e.loc),()=>{let h;const{children:g}=i,y=g.length!==1||g[0].type!==1,b=Hf(e)?e:l&&e.children.length===1&&Hf(e.children[0])?e.children[0]:null;if(b?(h=b.codegenNode,l&&p&&Uf(h,p,n)):y?h=hc(n,r(fc),p?uo([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(h=g[0].codegenNode,l&&p&&Uf(h,p,n),h.isBlock!==!f&&(h.isBlock?(o(vl),o(Ma(n.inSSR,h.isComponent))):o($a(n.inSSR,h.isComponent))),h.isBlock=!f,h.isBlock?(r(vl),r(Ma(n.inSSR,h.isComponent))):r($a(n.inSSR,h.isComponent))),a){const x=Aa(fg(i.parseResult,[Ke("_cached")]));x.body=rA([Po(["const _memo = (",a.exp,")"]),Po(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(cS)}(_cached, _memo)) return _cached`]),Po(["const _item = ",h]),Ke("_item.memo = _memo"),Ke("return _item")]),s.arguments.push(x,Ke("_cache"),Ke(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(Aa(fg(i.parseResult),h,!0))}})});function o$(e,t,n,r){if(!t.exp){n.onError(Rt(31,t.loc));return}const o=t.forParseResult;if(!o){n.onError(Rt(32,t.loc));return}IS(o);const{addIdentifiers:i,removeIdentifiers:s,scopes:l}=n,{source:a,value:u,key:c,index:d}=o,p={type:11,loc:t.loc,source:a,valueAlias:u,keyAlias:c,objectIndexAlias:d,parseResult:o,children:jf(e)?e.children:[e]};n.replaceNode(p),l.vFor++;const f=r&&r(p);return()=>{l.vFor--,f&&f()}}function IS(e,t){e.finalized||(e.finalized=!0)}function fg({value:e,key:t,index:n},r=[]){return i$([e,t,n,...r])}function i$(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||Ke("_".repeat(r+1),!1))}const Xb=Ke("undefined",!1),s$=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=io(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},l$=(e,t,n,r)=>Aa(e,n,!1,!0,n.length?n[0].loc:r);function a$(e,t,n=l$){t.helper(S0);const{children:r,loc:o}=e,i=[],s=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=io(e,"slot",!0);if(a){const{arg:g,exp:y}=a;g&&!Er(g)&&(l=!0),i.push(en(g||Ke("default",!0),n(y,void 0,r,o)))}let u=!1,c=!1;const d=[],p=new Set;let f=0;for(let g=0;g<r.length;g++){const y=r[g];let b;if(!jf(y)||!(b=io(y,"slot",!0))){y.type!==3&&d.push(y);continue}if(a){t.onError(Rt(37,b.loc));break}u=!0;const{children:x,loc:w}=y,{arg:E=Ke("default",!0),exp:T,loc:k}=b;let S;Er(E)?S=E?E.content:"default":l=!0;const C=io(y,"for"),A=n(T,C,x,w);let M,I;if(M=io(y,"if"))l=!0,s.push(ug(M.exp,vd(E,A,f++),Xb));else if(I=io(y,/^else(?:-if)?$/,!0)){let $=g,F;for(;$--&&(F=r[$],!(F.type!==3&&pg(F))););if(F&&jf(F)&&io(F,/^(?:else-)?if$/)){let q=s[s.length-1];for(;q.alternate.type===19;)q=q.alternate;q.alternate=I.exp?ug(I.exp,vd(E,A,f++),Xb):vd(E,A,f++)}else t.onError(Rt(30,I.loc))}else if(C){l=!0;const $=C.forParseResult;$?(IS($),s.push(mn(t.helper(b0),[$.source,Aa(fg($),vd(E,A),!0)]))):t.onError(Rt(32,C.loc))}else{if(S){if(p.has(S)){t.onError(Rt(38,k));continue}p.add(S),S==="default"&&(c=!0)}i.push(en(E,A))}}if(!a){const g=(y,b)=>{const x=n(y,void 0,b,o);return t.compatConfig&&(x.isNonScopedSlot=!0),en("default",x)};u?d.length&&d.some(y=>pg(y))&&(c?t.onError(Rt(39,d[0].loc)):i.push(g(void 0,d))):i.push(g(void 0,r))}const m=l?2:sf(e.children)?3:1;let h=uo(i.concat(en("_",Ke(m+"",!1))),o);return s.length&&(h=mn(t.helper(uS),[h,nl(s)])),{slots:h,hasDynamicSlots:l}}function vd(e,t,n){const r=[en("name",e),en("fn",t)];return n!=null&&r.push(en("key",Ke(String(n),!0))),uo(r)}function sf(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||sf(n.children))return!0;break;case 9:if(sf(n.branches))return!0;break;case 10:case 11:if(sf(n.children))return!0;break}}return!1}function pg(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():pg(e.content)}const AS=new WeakMap,u$=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:o}=e,i=e.tagType===1;let s=i?c$(e,t):`"${r}"`;const l=wt(s)&&s.callee===m0;let a,u,c=0,d,p,f,m=l||s===Nu||s===c0||!i&&(r==="svg"||r==="foreignObject"||r==="math");if(o.length>0){const h=$S(e,t,void 0,i,l);a=h.props,c=h.patchFlag,p=h.dynamicPropNames;const g=h.directives;f=g&&g.length?nl(g.map(y=>f$(y,t))):void 0,h.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(s===Df&&(m=!0,c|=1024),i&&s!==Nu&&s!==Df){const{slots:g,hasDynamicSlots:y}=a$(e,t);u=g,y&&(c|=1024)}else if(e.children.length===1&&s!==Nu){const g=e.children[0],y=g.type,b=y===5||y===8;b&&Wr(g,t)===0&&(c|=1),b||y===2?u=g:u=e.children}else u=e.children;p&&p.length&&(d=p$(p)),e.codegenNode=hc(t,s,a,u,c===0?void 0:c,d,f,!!m,!1,i,e.loc)};function c$(e,t,n=!1){let{tag:r}=e;const o=hg(r),i=Xp(e,"is",!1,!0);if(i)if(o||rl("COMPILER_IS_ON_ELEMENT",t)){let l;if(i.type===6?l=i.value&&Ke(i.value.content,!0):(l=i.exp,l||(l=Ke("is",!1,i.arg.loc))),l)return mn(t.helper(m0),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const s=fS(r)||t.isBuiltInComponent(r);return s?(n||t.helper(s),s):(t.helper(h0),t.components.add(r),gc(r,"component"))}function $S(e,t,n=e.props,r,o,i=!1){const{tag:s,loc:l,children:a}=e;let u=[];const c=[],d=[],p=a.length>0;let f=!1,m=0,h=!1,g=!1,y=!1,b=!1,x=!1,w=!1;const E=[],T=A=>{u.length&&(c.push(uo(Qb(u),l)),u=[]),A&&c.push(A)},k=()=>{t.scopes.vFor>0&&u.push(en(Ke("ref_for",!0),Ke("true")))},S=({key:A,value:M})=>{if(Er(A)){const I=A.content,$=Cl(I);if($&&(!r||o)&&I.toLowerCase()!=="onclick"&&I!=="onUpdate:modelValue"&&!cs(I)&&(b=!0),$&&cs(I)&&(w=!0),$&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&Wr(M,t)>0)return;I==="ref"?h=!0:I==="class"?g=!0:I==="style"?y=!0:I!=="key"&&!E.includes(I)&&E.push(I),r&&(I==="class"||I==="style")&&!E.includes(I)&&E.push(I)}else x=!0};for(let A=0;A<n.length;A++){const M=n[A];if(M.type===6){const{loc:I,name:$,nameLoc:F,value:q}=M;let O=!0;if($==="ref"&&(h=!0,k()),$==="is"&&(hg(s)||q&&q.content.startsWith("vue:")||rl("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(en(Ke($,!0,F),Ke(q?q.content:"",O,q?q.loc:I)))}else{const{name:I,arg:$,exp:F,loc:q,modifiers:O}=M,L=I==="bind",N=I==="on";if(I==="slot"){r||t.onError(Rt(40,q));continue}if(I==="once"||I==="memo"||I==="is"||L&&Ks($,"is")&&(hg(s)||rl("COMPILER_IS_ON_ELEMENT",t))||N&&i)continue;if((L&&Ks($,"key")||N&&p&&Ks($,"vue:before-update"))&&(f=!0),L&&Ks($,"ref")&&k(),!$&&(L||N)){if(x=!0,F)if(L){if(T(),rl("COMPILER_V_BIND_OBJECT_ORDER",t)){c.unshift(F);continue}k(),T(),c.push(F)}else T({type:14,loc:q,callee:t.helper(w0),arguments:r?[F]:[F,"true"]});else t.onError(Rt(L?34:35,q));continue}L&&O.some(H=>H.content==="prop")&&(m|=32);const Z=t.directiveTransforms[I];if(Z){const{props:H,needRuntime:G}=Z(M,e,t);!i&&H.forEach(S),N&&$&&!Er($)?T(uo(H,l)):u.push(...H),G&&(d.push(M),Mr(G)&&AS.set(M,G))}else I5(I)||(d.push(M),p&&(f=!0))}}let C;if(c.length?(T(),c.length>1?C=mn(t.helper(Nf),c,l):C=c[0]):u.length&&(C=uo(Qb(u),l)),x?m|=16:(g&&!r&&(m|=2),y&&!r&&(m|=4),E.length&&(m|=8),b&&(m|=32)),!f&&(m===0||m===32)&&(h||w||d.length>0)&&(m|=512),!t.inSSR&&C)switch(C.type){case 15:let A=-1,M=-1,I=!1;for(let q=0;q<C.properties.length;q++){const O=C.properties[q].key;Er(O)?O.content==="class"?A=q:O.content==="style"&&(M=q):O.isHandlerKey||(I=!0)}const $=C.properties[A],F=C.properties[M];I?C=mn(t.helper(pc),[C]):($&&!Er($.value)&&($.value=mn(t.helper(x0),[$.value])),F&&(y||F.value.type===4&&F.value.content.trim()[0]==="["||F.value.type===17)&&(F.value=mn(t.helper(_0),[F.value])));break;case 14:break;default:C=mn(t.helper(pc),[mn(t.helper(Yc),[C])]);break}return{props:C,directives:d,patchFlag:m,dynamicPropNames:E,shouldUseBlock:f}}function Qb(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o.key.type===8||!o.key.isStatic){n.push(o);continue}const i=o.key.content,s=t.get(i);s?(i==="style"||i==="class"||Cl(i))&&d$(s,o):(t.set(i,o),n.push(o))}return n}function d$(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=nl([e.value,t.value],e.loc)}function f$(e,t){const n=[],r=AS.get(e);r?n.push(t.helperString(r)):(t.helper(g0),t.directives.add(e.name),n.push(gc(e.name,"directive")));const{loc:o}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const i=Ke("true",!1,o);n.push(uo(e.modifiers.map(s=>en(s,i)),o))}return nl(n,e.loc)}function p$(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}function hg(e){return e==="component"||e==="Component"}const h$=(e,t)=>{if(Hf(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:i}=m$(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let l=2;i&&(s[2]=i,l=3),n.length&&(s[3]=Aa([],n,!1,!1,r),l=4),t.scopeId&&!t.slotted&&(l=5),s.splice(l),e.codegenNode=mn(t.helper(aS),s,r)}};function m$(e,t){let n='"default"',r;const o=[];for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6)s.value&&(s.name==="name"?n=JSON.stringify(s.value.content):(s.name=Pt(s.name),o.push(s)));else if(s.name==="bind"&&Ks(s.arg,"name")){if(s.exp)n=s.exp;else if(s.arg&&s.arg.type===4){const l=Pt(s.arg.content);n=s.exp=Ke(l,!1,s.arg.loc)}}else s.name==="bind"&&s.arg&&Er(s.arg)&&(s.arg.content=Pt(s.arg.content)),o.push(s)}if(o.length>0){const{props:i,directives:s}=$S(e,t,o,!1,!1);r=i,s.length&&t.onError(Rt(36,s[0].loc))}return{slotName:n,slotProps:r}}const MS=(e,t,n,r)=>{const{loc:o,modifiers:i,arg:s}=e;!e.exp&&!i.length&&n.onError(Rt(35,o));let l;if(s.type===4)if(s.isStatic){let d=s.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const p=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?Js(Pt(d)):`on:${d}`;l=Ke(p,!0,s.loc)}else l=Po([`${n.helperString(ag)}(`,s,")"]);else l=s,l.children.unshift(`${n.helperString(ag)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let u=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const d=hS(a),p=!(d||fA(a)),f=a.content.includes(";");(p||u&&d)&&(a=Po([`${p?"$event":"(...args)"} => ${f?"{":"("}`,a,f?"}":")"]))}let c={props:[en(l,a||Ke("() => {}",!1,o))]};return r&&(c=r(c)),u&&(c.props[0].value=n.cache(c.props[0].value)),c.props.forEach(d=>d.key.isHandlerKey=!0),c},g$=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,o=!1;for(let i=0;i<n.length;i++){const s=n[i];if(Uh(s)){o=!0;for(let l=i+1;l<n.length;l++){const a=n[l];if(Uh(a))r||(r=n[i]=Po([s],s.loc)),r.children.push(" + ",a),n.splice(l,1),l--;else{r=void 0;break}}}}if(!(!o||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<n.length;i++){const s=n[i];if(Uh(s)||s.type===8){const l=[];(s.type!==2||s.content!==" ")&&l.push(s),!t.ssr&&Wr(s,t)===0&&l.push("1"),n[i]={type:12,content:s,loc:s.loc,codegenNode:mn(t.helper(p0),l)}}}}},Jb=new WeakSet,v$=(e,t)=>{if(e.type===1&&io(e,"once",!0))return Jb.has(e)||t.inVOnce||t.inSSR?void 0:(Jb.add(e),t.inVOnce=!0,t.helper(Vf),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},OS=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Rt(41,e.loc)),yd();const i=r.loc.source.trim(),s=r.type===4?r.content:i,l=n.bindingMetadata[i];if(l==="props"||l==="props-aliased")return n.onError(Rt(44,r.loc)),yd();if(!s.trim()||!hS(r))return n.onError(Rt(42,r.loc)),yd();const a=o||Ke("modelValue",!0),u=o?Er(o)?`onUpdate:${Pt(o.content)}
28`:Po(['"onUpdate:" + ',o]):"onUpdate:modelValue";let c;const d=n.isTS?"($event: any)":"$event";c=Po([`${d} => ((`,r,") = $event)"]);const p=[en(a,e.exp),en(u,c)];if(e.modifiers.length&&t.tagType===1){const f=e.modifiers.map(h=>h.content).map(h=>(E0(h)?h:JSON.stringify(h))+": true").join(", "),m=o?Er(o)?`${o.content}Modifiers`:Po([o,' + "Modifiers"']):"modelModifiers";p.push(en(m,Ke(`{ ${f} }`,!1,e.loc,2)))}return yd(p)};function yd(e=[]){return{props:e}}const y$=/[\w).+\-_$\]]/,b$=(e,t)=>{rl("COMPILER_FILTERS",t)&&(e.type===5?Wf(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Wf(n.exp,t)}))};function Wf(e,t){if(e.type===4)Zb(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?Zb(r,t):r.type===8?Wf(e,t):r.type===5&&Wf(r.content,t))}}function Zb(e,t){const n=e.content;let r=!1,o=!1,i=!1,s=!1,l=0,a=0,u=0,c=0,d,p,f,m,h=[];for(f=0;f<n.length;f++)if(p=d,d=n.charCodeAt(f),r)d===39&&p!==92&&(r=!1);else if(o)d===34&&p!==92&&(o=!1);else if(i)d===96&&p!==92&&(i=!1);else if(s)d===47&&p!==92&&(s=!1);else if(d===124&&n.charCodeAt(f+1)!==124&&n.charCodeAt(f-1)!==124&&!l&&!a&&!u)m===void 0?(c=f+1,m=n.slice(0,f).trim()):g();else{switch(d){case 34:o=!0;break;case 39:r=!0;break;case 96:i=!0;break;case 40:u++;break;case 41:u--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(d===47){let y=f-1,b;for(;y>=0&&(b=n.charAt(y),b===" ");y--);(!b||!y$.test(b))&&(s=!0)}}m===void 0?m=n.slice(0,f).trim():c!==0&&g();function g(){h.push(n.slice(c,f).trim()),c=f+1}if(h.length){for(f=0;f<h.length;f++)m=x$(m,h[f],t);e.content=m,e.ast=void 0}}function x$(e,t,n){n.helper(v0);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${gc(t,"filter")}(${e})`;{const o=t.slice(0,r),i=t.slice(r+1);return n.filters.add(o),`${gc(o,"filter")}(${e}${i!==")"?","+i:i}`}}const e1=new WeakSet,_$=(e,t)=>{if(e.type===1){const n=io(e,"memo");return!n||e1.has(e)||t.inSSR?void 0:(e1.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&C0(r,t),e.codegenNode=mn(t.helper(k0),[n.exp,Aa(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function w$(e){return[[v$,ZA,_$,r$,b$,h$,u$,s$,g$],{on:MS,bind:n$,model:OS}]}function S$(e,t={}){const n=t.onError||T0,r=t.mode==="module";t.prefixIdentifiers===!0?n(Rt(47)):r&&n(Rt(48));const o=!1;t.cacheHandlers&&n(Rt(49)),t.scopeId&&!r&&n(Rt(50));const i=st({},t,{prefixIdentifiers:o}),s=He(e)?AA(e,i):e,[l,a]=w$();return LA(s,st({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:st({},a,t.directiveTransforms||{})})),FA(s,i)}const k$=()=>({props:[]});/** 29* @vue/compiler-dom v3.5.21 30* (c) 2018-present Yuxi (Evan) You and Vue contributors 31* @license MIT
32**/const LS=Symbol(""),qS=Symbol(""),RS=Symbol(""),BS=Symbol(""),mg=Symbol(""),FS=Symbol(""),DS=Symbol(""),NS=Symbol(""),VS=Symbol(""),zS=Symbol("");eA({[LS]:"vModelRadio",[qS]:"vModelCheckbox",[RS]:"vModelText",[BS]:"vModelSelect",[mg]:"vModelDynamic",[FS]:"withModifiers",[DS]:"withKeys",[NS]:"vShow",[VS]:"Transition",[zS]:"TransitionGroup"});let Nl;function C$(e,t=!1){return Nl||(Nl=document.createElement("div")),t?(Nl.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Nl.children[0].getAttribute("foo")):(Nl.innerHTML=e,Nl.textContent)}const T$={parseMode:"html",isVoidTag:U5,isNativeTag:e=>z5(e)||j5(e)||H5(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:C$,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return VS;if(e==="TransitionGroup"||e==="transition-group")return zS},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},E$=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ke("style",!0,t.loc),exp:P$(t.value.content,t.loc),modifiers:[],loc:t.loc})})},P$=(e,t)=>{const n=dw(e);return Ke(JSON.stringify(n),!1,t,3)};function hs(e,t){return Rt(e,t)}const I$=(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(hs(53,o)),t.children.length&&(n.onError(hs(54,o)),t.children.length=0),{props:[en(Ke("innerHTML",!0,o),r||Ke("",!0))]}},A$=(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(hs(55,o)),t.children.length&&(n.onError(hs(56,o)),t.children.length=0),{props:[en(Ke("textContent",!0),r?Wr(r,n)>0?r:mn(n.helperString(Yp),[r],o):Ke("",!0))]}},$$=(e,t,n)=>{const r=OS(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(hs(58,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||i){let s=RS,l=!1;if(o==="input"||i){const a=Xp(t,"type");if(a){if(a.type===7)s=mg;else if(a.value)switch(a.value.content){case"radio":s=LS;break;case"checkbox":s=qS;break;case"file":l=!0,n.onError(hs(59,e.loc));break}}else pA(t)&&(s=mg)}else o==="select"&&(s=BS);l||(r.needRuntime=n.helper(s))}else n.onError(hs(57,e.loc));return r.props=r.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),r},M$=eo("passive,once,capture"),O$=eo("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),L$=eo("left,right"),jS=eo("onkeyup,onkeydown,onkeypress"),q$=(e,t,n,r)=>{const o=[],i=[],s=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&mc("COMPILER_V_ON_NATIVE",n)||M$(a)?s.push(a):L$(a)?Er(e)?jS(e.content.toLowerCase())?o.push(a):i.push(a):(o.push(a),i.push(a)):O$(a)?i.push(a):o.push(a)}return{keyModifiers:o,nonKeyModifiers:i,eventOptionModifiers:s}},t1=(e,t)=>Er(e)&&e.content.toLowerCase()==="onclick"?Ke(t,!0):e.type!==4?Po(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,R$=(e,t,n)=>MS(e,t,n,r=>{const{modifiers:o}=e;if(!o.length)return r;let{key:i,value:s}=r.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:u}=q$(i,o,n,e.loc);if(a.includes("right")&&(i=t1(i,"onContextmenu")),a.includes("middle")&&(i=t1(i,"onMouseup")),a.length&&(s=mn(n.helper(FS),[s,JSON.stringify(a)])),l.length&&(!Er(i)||jS(i.content.toLowerCase()))&&(s=mn(n.helper(DS),[s,JSON.stringify(l)])),u.length){const c=u.map(El).join("");i=Er(i)?Ke(`${i.content}${c}`,!0):Po(["(",i,`) + "${c}"`])}return{props:[en(i,s)]}}),B$=(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(hs(61,o)),{props:[],needRuntime:n.helper(NS)}},F$=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},D$=[E$],N$={cloak:k$,html:I$,text:A$,model:$$,on:R$,show:B$};
vendor: 13,956 bytes, lines 32-40
32function V$(e,t={}){return S$(e,st({},T$,t,{nodeTransforms:[F$,...D$,...t.nodeTransforms||[]],directiveTransforms:st({},N$,t.directiveTransforms||{}),transformHoist:null}))}/** 33* vue v3.5.21 34* (c) 2018-present Yuxi (Evan) You and Vue contributors 35* @license MIT 36**/const n1=Object.create(null);function z$(e,t){if(!He(e))if(e.nodeType)e=e.innerHTML;else return Rn;const n=M5(e,t),r=n1[n];if(r)return r;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const o=st({hoistStatic:!0,onError:void 0,onWarn:Rn},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=l=>!!customElements.get(l));const{code:i}=V$(e,o),s=new Function("Vue",i)(KI);return s._rc=!0,n1[n]=s}A2(z$);/*! 37 * vue-router v4.5.1 38 * (c) 2025 Eduardo San Martin Morote 39 * @license MIT 40 */const Xl=typeof document<"u";function HS(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function j$(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&HS(e.default)}const bt=Object.assign;function Gh(e,t){const n={};for(const r in t){const o=t[r];n[r]=Mo(o)?o.map(e):e(o)}return n}const Vu=()=>{},Mo=Array.isArray,US=/#/g,H$=/&/g,U$=/\//g,W$=/=/g,G$=/\?/g,WS=/\+/g,K$=/%5B/g,Y$=/%5D/g,GS=/%5E/g,X$=/%60/g,KS=/%7B/g,Q$=/%7C/g,YS=/%7D/g,J$=/%20/g;function A0(e){return encodeURI(""+e).replace(Q$,"|").replace(K$,"[").replace(Y$,"]")}function Z$(e){return A0(e).replace(KS,"{").replace(YS,"}").replace(GS,"^")}function gg(e){return A0(e).replace(WS,"%2B").replace(J$,"+").replace(US,"%23").replace(H$,"%26").replace(X$,"`").replace(KS,"{").replace(YS,"}").replace(GS,"^")}function eM(e){return gg(e).replace(W$,"%3D")}function tM(e){return A0(e).replace(US,"%23").replace(G$,"%3F")}function nM(e){return e==null?"":tM(e).replace(U$,"%2F")}function yc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const rM=/\/$/,oM=e=>e.replace(rM,"");function Kh(e,t,n="/"){let r,o={},i="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=aM(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:yc(s)}}function iM(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function r1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sM(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Oa(t.matched[r],n.matched[o])&&XS(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Oa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function XS(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lM(e[n],t[n]))return!1;return!0}function lM(e,t){return Mo(e)?o1(e,t):Mo(t)?o1(t,e):e===t}function o1(e,t){return Mo(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function aM(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,l;for(s=0;s<r.length;s++)if(l=r[s],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const Ki={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var bc;(function(e){e.pop="pop",e.push="push"})(bc||(bc={}));var zu;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zu||(zu={}));function uM(e){if(!e)if(Xl){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),oM(e)}const cM=/^[^#]+#/;function dM(e,t){return e.replace(cM,"#")+t}function fM(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Zp=()=>({left:window.scrollX,top:window.scrollY});function pM(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=fM(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function i1(e,t){return(history.state?history.state.position-t:-1)+e}const vg=new Map;function hM(e,t){vg.set(e,t)}function mM(e){const t=vg.get(e);return vg.delete(e),t}let gM=()=>location.protocol+"//"+location.host;function QS(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let l=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),r1(a,"")}return r1(n,e)+r+o}function vM(e,t,n,r){let o=[],i=[],s=null;const l=({state:p})=>{const f=QS(e,location),m=n.value,h=t.value;let g=0;if(p){if(n.value=f,t.value=p,s&&s===m){s=null;return}g=h?p.position-h.position:0}else r(f);o.forEach(y=>{y(n.value,m,{delta:g,type:bc.pop,direction:g?g>0?zu.forward:zu.back:zu.unknown})})};function a(){s=n.value}function u(p){o.push(p);const f=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return i.push(f),f}function c(){const{history:p}=window;p.state&&p.replaceState(bt({},p.state,{scroll:Zp()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:u,destroy:d}}function s1(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Zp():null}}function yM(e){const{history:t,location:n}=window,r={value:QS(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,u,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:gM()+e+a;try{t[c?"replaceState":"pushState"](u,"",p),o.value=u}catch(f){console.error(f),n[c?"replace":"assign"](p)}}function s(a,u){const c=bt({},t.state,s1(o.value.back,a,o.value.forward,!0),u,{position:o.value.position});i(a,c,!0),r.value=a}function l(a,u){const c=bt({},o.value,t.state,{forward:a,scroll:Zp()});i(c.current,c,!0);const d=bt({},s1(r.value,a,null),{position:c.position+1},u);i(a,d,!1),r.value=a}return{location:r,state:o,push:l,replace:s}}function bM(e){e=uM(e);const t=yM(e),n=vM(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=bt({location:"",base:e,go:r,createHref:dM.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function xM(e){return typeof e=="string"||e&&typeof e=="object"}function JS(e){return typeof e=="string"||typeof e=="symbol"}const ZS=Symbol("");var l1;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(l1||(l1={}));function La(e,t){return bt(new Error,{type:e,[ZS]:!0},t)}function ci(e,t){return e instanceof Error&&ZS in e&&(t==null||!!(e.type&t))}const a1="[^/]+?",_M={sensitive:!1,strict:!1,start:!0,end:!0},wM=/[.+*?^${}()[\]/\\]/g;function SM(e,t){const n=bt({},_M,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let d=0;d<u.length;d++){const p=u[d];let f=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(wM,"\\$&"),f+=40;else if(p.type===1){const{value:m,repeatable:h,optional:g,regexp:y}=p;i.push({name:m,repeatable:h,optional:g});const b=y||a1;if(b!==a1){f+=10;try{new RegExp(`(${b})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${m}" (${b}): `+w.message)}}let x=h?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;d||(x=g&&u.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),o+=x,f+=20,g&&(f+=-8),h&&(f+=-20),b===".*"&&(f+=-50)}c.push(f)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function l(u){const c=u.match(s),d={};if(!c)return null;for(let p=1;p<c.length;p++){const f=c[p]||"",m=i[p-1];d[m.name]=f&&m.repeatable?f.split("/"):f}return d}function a(u){let c="",d=!1;for(const p of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const f of p)if(f.type===0)c+=f.value;else if(f.type===1){const{value:m,repeatable:h,optional:g}=f,y=m in u?u[m]:"";if(Mo(y)&&!h)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const b=Mo(y)?y.join("/"):y;if(!b)if(g)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);c+=b}}return c||"/"}return{re:s,score:r,keys:i,parse:l,stringify:a}}function kM(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function ek(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=kM(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(u1(r))return 1;if(u1(o))return-1}return o.length-r.length}function u1(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const CM={type:0,value:""},TM=/[a-zA-Z0-9_]/;function EM(e){if(!e)return[[]];if(e==="/")return[[CM]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${u}": ${f}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let l=0,a,u="",c="";function d(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(u&&d(),s()):a===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:a==="("?n=2:TM.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=3:c+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),s(),o}function PM(e,t,n){const r=SM(EM(e.path),n),o=bt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function IM(e,t){const n=[],r=new Map;t=p1({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function i(d,p,f){const m=!f,h=d1(d);h.aliasOf=f&&f.record;const g=p1(t,d),y=[h];if("alias"in d){const w=typeof d.alias=="string"?[d.alias]:d.alias;for(const E of w)y.push(d1(bt({},h,{components:f?f.record.components:h.components,path:E,aliasOf:f?f.record:h})))}let b,x;for(const w of y){const{path:E}=w;if(p&&E[0]!=="/"){const T=p.record.path,k=T[T.length-1]==="/"?"":"/";w.path=p.record.path+(E&&k+E)}if(b=PM(w,p,g),f?f.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),m&&d.name&&!f1(b)&&s(d.name)),tk(b)&&a(b),h.children){const T=h.children;for(let k=0;k<T.length;k++)i(T[k],b,f&&f.children[k])}f=f||b}return x?()=>{s(x)}:Vu}function s(d){if(JS(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function l(){return n}function a(d){const p=MM(d,n);n.splice(p,0,d),d.record.name&&!f1(d)&&r.set(d.record.name,d)}function u(d,p){let f,m={},h,g;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw La(1,{location:d});g=f.record.name,m=bt(c1(p.params,f.keys.filter(x=>!x.optional).concat(f.parent?f.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),d.params&&c1(d.params,f.keys.map(x=>x.name))),h=f.stringify(m)}else if(d.path!=null)h=d.path,f=n.find(x=>x.re.test(h)),f&&(m=f.parse(h),g=f.record.name);else{if(f=p.name?r.get(p.name):n.find(x=>x.re.test(p.path)),!f)throw La(1,{location:d,currentLocation:p});g=f.record.name,m=bt({},p.params,d.params),h=f.stringify(m)}const y=[];let b=f;for(;b;)y.unshift(b.record),b=b.parent;return{name:g,path:h,params:m,matched:y,meta:$M(y)}}e.forEach(d=>i(d));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:l,getRecordMatcher:o}}function c1(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function d1(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:AM(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function AM(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function f1(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $M(e){return e.reduce((t,n)=>bt(t,n.meta),{})}function p1(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function MM(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;ek(e,t[i])<0?r=i:n=i+1}const o=OM(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function OM(e){let t=e;for(;t=t.parent;)if(tk(t)&&ek(e,t)===0)return t}function tk({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function LM(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(WS," "),s=i.indexOf("="),l=yc(s<0?i:i.slice(0,s)),a=s<0?null:yc(i.slice(s+1));if(l in t){let u=t[l];Mo(u)||(u=t[l]=[u]),u.push(a)}else t[l]=a}return t}function h1(e){let t="";for(let n in e){const r=e[n];if(n=eM(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Mo(r)?r.map(i=>
vendor: 4,261 bytes, line 40
40i&&gg(i)):[r&&gg(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function qM(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Mo(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const RM=Symbol(""),m1=Symbol(""),$0=Symbol(""),M0=Symbol(""),yg=Symbol("");function uu(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rs(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const u=p=>{p===!1?a(La(4,{from:n,to:t})):p instanceof Error?a(p):xM(p)?a(La(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),l())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(p=>a(p))})}function Yh(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const l in s.components){let a=s.components[l];if(!(t!=="beforeRouteEnter"&&!s.instances[l]))if(HS(a)){const c=(a.__vccOpts||a)[t];c&&i.push(rs(c,n,r,s,l,o))}else{let u=a();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${s.path}"`);const d=j$(c)?c.default:c;s.mods[l]=c,s.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&rs(f,n,r,s,l,o)()}))}}return i}function g1(e){const t=ft($0),n=ft(M0),r=W(()=>{const a=v(e.to);return t.resolve(a)}),o=W(()=>{const{matched:a}=r.value,{length:u}=a,c=a[u-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(Oa.bind(null,c));if(p>-1)return p;const f=v1(a[u-2]);return u>1&&v1(c)===f&&d[d.length-1].path!==f?d.findIndex(Oa.bind(null,a[u-2])):p}),i=W(()=>o.value>-1&&NM(n.params,r.value.params)),s=W(()=>o.value>-1&&o.value===n.matched.length-1&&XS(n.params,r.value.params));function l(a={}){if(DM(a)){const u=t[v(e.replace)?"replace":"push"](v(e.to)).catch(Vu);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:W(()=>r.value.href),isActive:i,isExactActive:s,navigate:l}}function BM(e){return e.length===1?e[0]:e}const FM=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:g1,setup(e,{slots:t}){const n=gr(g1(e)),{options:r}=ft($0),o=W(()=>({[y1(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[y1(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&BM(t.default(n));return e.custom?i:Lt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),nk=FM;function DM(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function NM(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Mo(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function v1(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const y1=(e,t,n)=>e??t??n,VM=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ft(yg),o=W(()=>e.route||r.value),i=ft(m1,0),s=W(()=>{let u=v(i);const{matched:c}=o.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=W(()=>o.value.matched[s.value]);Wt(m1,W(()=>s.value+1)),Wt(RM,l),Wt(yg,o);const a=V();return we(()=>[a.value,l.value,e.name],([u,c,d],[p,f,m])=>{c&&(c.instances[d]=u,f&&f!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),u&&c&&(!f||!Oa(c,f)||!p)&&(c.enterCallbacks[d]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,d=l.value,p=d&&d.components[c];if(!p)return b1(n.default,{Component:p,route:u});const f=d.props[c],m=f?f===!0?u.params:typeof f=="function"?f(u):f:null,g=Lt(p,bt({},m,t,{onVnodeUnmounted:y=>
vendor: 3,812 bytes, line 40
40{y.component.isUnmounted&&(d.instances[c]=null)},ref:a}));return b1(n.default,{Component:g,route:u})||g}}});function b1(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const zM=VM;function jM(e){const t=IM(e.routes,e),n=e.parseQuery||LM,r=e.stringifyQuery||h1,o=e.history,i=uu(),s=uu(),l=uu(),a=ei(Ki);let u=Ki;Xl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Gh.bind(null,ie=>""+ie),d=Gh.bind(null,nM),p=Gh.bind(null,yc);function f(ie,Q){let Y,J;return JS(ie)?(Y=t.getRecordMatcher(ie),J=Q):J=ie,t.addRoute(J,Y)}function m(ie){const Q=t.getRecordMatcher(ie);Q&&t.removeRoute(Q)}function h(){return t.getRoutes().map(ie=>ie.record)}function g(ie){return!!t.getRecordMatcher(ie)}function y(ie,Q){if(Q=bt({},Q||a.value),typeof ie=="string"){const z=Kh(n,ie,Q.path),le=t.resolve({path:z.path},Q),ve=o.createHref(z.fullPath);return bt(z,le,{params:p(le.params),hash:yc(z.hash),redirectedFrom:void 0,href:ve})}let Y;if(ie.path!=null)Y=bt({},ie,{path:Kh(n,ie.path,Q.path).path});else{const z=bt({},ie.params);for(const le in z)z[le]==null&&delete z[le];Y=bt({},ie,{params:d(z)}),Q.params=d(Q.params)}const J=t.resolve(Y,Q),de=ie.hash||"";J.params=c(p(J.params));const he=iM(r,bt({},ie,{hash:Z$(de),path:J.path})),R=o.createHref(he);return bt({fullPath:he,hash:de,query:r===h1?qM(ie.query):ie.query||{}},J,{redirectedFrom:void 0,href:R})}function b(ie){return typeof ie=="string"?Kh(n,ie,a.value.path):bt({},ie)}function x(ie,Q){if(u!==ie)return La(8,{from:Q,to:ie})}function w(ie){return k(ie)}function E(ie){return w(bt(b(ie),{replace:!0}))}function T(ie){const Q=ie.matched[ie.matched.length-1];if(Q&&Q.redirect){const{redirect:Y}=Q;let J=typeof Y=="function"?Y(ie):Y;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=b(J):{path:J},J.params={}),bt({query:ie.query,hash:ie.hash,params:J.path!=null?{}:ie.params},J)}}function k(ie,Q){const Y=u=y(ie),J=a.value,de=ie.state,he=ie.force,R=ie.replace===!0,z=T(Y);if(z)return k(bt(b(z),{state:typeof z=="object"?bt({},de,z.state):de,force:he,replace:R}),Q||Y);const le=Y;le.redirectedFrom=Q;let ve;return!he&&sM(r,J,Y)&&(ve=La(16,{to:le,from:J}),G(J,J,!0,!1)),(ve?Promise.resolve(ve):A(le,J)).catch(j=>ci(j)?ci(j,2)?j:H(j):N(j,le,J)).then(j=>{if(j){if(ci(j,2))return k(bt({replace:R},b(j.to),{state:typeof j.to=="object"?bt({},de,j.to.state):de,force:he}),Q||le)}else j=I(le,J,!0,R,de);return M(le,J,j),j})}function S(ie,Q){const Y=x(ie,Q);return Y?Promise.reject(Y):Promise.resolve()}function C(ie){const Q=ee.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(ie):ie()}function A(ie,Q){let Y;const[J,de,he]=HM(ie,Q);Y=Yh(J.reverse(),"beforeRouteLeave",ie,Q);for(const z of J)z.leaveGuards.forEach(le=>{Y.push(rs(le,ie,Q))});const R=S.bind(null,ie,Q);return Y.push(R),xe(Y).then(()=>{Y=[];for(const z of i.list())Y.push(rs(z,ie,Q));return Y.push(R),xe(Y)}).then(()=>{Y=Yh(de,"beforeRouteUpdate",ie,Q);for(const z of de)z.updateGuards.forEach(le=>{Y.push(rs(le,ie,Q))});return Y.push(R),xe(Y)}).then(()=>{Y=[];for(const z of he)if(z.beforeEnter)if(Mo(z.beforeEnter))for(const le of z.beforeEnter)Y.push(rs(le,ie,Q));else Y.push(rs(z.beforeEnter,ie,Q));return Y.push(R),xe(Y)}).then(()=>(ie.matched.forEach(z=>z.enterCallbacks={}),Y=Yh(he,"beforeRouteEnter",ie,Q,C),Y.push(R),xe(Y))).then(()=>{Y=[];for(const z of s.list())Y.push(rs(z,ie,Q));return Y.push(R),xe(Y)}).catch(z=>ci(z,8)?z:Promise.reject(z))}function M(ie,Q,Y){l.list().forEach(J=>C(()=>J(ie,Q,Y)))}function I(ie,Q,Y,J,de){const he=x(ie,Q);if(he)return he;const R=Q===Ki,z=Xl?history.state:{};Y&&(J||R?o.replace(ie.fullPath,bt({scroll:R&&z&&z.scroll},de)):o.push(ie.fullPath,de)),a.value=ie,G(ie,Q,Y,R),H()}let $;function F(){$||($=o.listen((ie,Q,Y)=>{if(!ge.listening)return;const J=y(ie),de=T(J);
40if(de){k(bt(de,{replace:!0,force:!0}),J).catch(Vu);return}u=J;const he=a.value;Xl&&hM(i1(he.fullPath,Y.delta),Zp()),A(J,he).catch(R=>ci(R,12)?R:ci(R,2)?(k(bt(b(R.to),{force:!0}),J).then(z=>{ci(z,20)&&!Y.delta&&Y.type===bc.pop&&o.go(-1,!1)}).catch(Vu),Promise.reject()):(Y.delta&&o.go(-Y.delta,!1),N(R,J,he))).then(R=>{R=R||I(J,he,!1),R&&(Y.delta&&!ci(R,8)?o.go(-Y.delta,!1):Y.type===bc.pop&&ci(R,20)&&o.go(-1,!1)),M(J,he,R)}).catch(Vu)}))}let q=uu(),O=uu(),L;function N(ie,Q,Y){H(ie);const J=O.list();return J.length?J.forEach(de=>de(ie,Q,Y)):console.error(ie),Promise.reject(ie)}function Z(){return L&&a.value!==Ki?Promise.resolve():new Promise((ie,Q)=>{q.add([ie,Q])})}function H(ie){return L||(L=!ie,F(),q.list().forEach(([Q,Y])=>ie?Y(ie):Q()),q.reset()),ie}function G(ie,Q,Y,J){const{scrollBehavior:de}=e;if(!Xl||!de)return Promise.resolve();const he=!Y&&mM(i1(ie.fullPath,0))||(J||!Y)&&history.state&&history.state.scroll||null;return je().then(()=>de(ie,Q,he)).then(R=>R&&pM(R)).catch(R=>N(R,ie,Q))}const oe=ie=>o.go(ie);let ce;const ee=new Set,ge={currentRoute:a,listening:!0,addRoute:f,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:y,options:e,push:w,replace:E,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:O.add,isReady:Z,install(ie){const Q=this;ie.component("RouterLink",nk),ie.component("RouterView",zM),ie.config.globalProperties.$router=Q,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>v(a)}),Xl&&!ce&&a.value===Ki&&(ce=!0,w(o.location).catch(de=>{}));const Y={};for(const de in Ki)Object.defineProperty(Y,de,{get:()=>a.value[de],enumerable:!0});ie.provide($0,Q),ie.provide(M0,jv(Y)),ie.provide(yg,a);const J=ie.unmount;ee.add(ie),ie.unmount=function(){ee.delete(ie),ee.size<1&&(u=Ki,$&&$(),$=null,a.value=Ki,ce=!1,L=!1),J()}}};function xe(ie){return ie.reduce((Q,Y)=>Q.then(()=>C(Y)),Promise.resolve())}return ge}function HM(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const l=t.matched[s];l&&(e.matched.find(u=>Oa(u,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(u=>Oa(u,a))||o.push(a))}return[n,r,o]}function UM(e){return ft(M0)}function bg(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?bg(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const WM={run:e=>e()},GM=()=>WM,rk=typeof console.createTask<"u"?console.createTask:GM;function KM(e,t){const n=t.shift(),r=rk(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function YM(e,t){const n=t.shift(),r=rk(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Xh(e,t){for(const n of[...e])n(t)}class XM{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=bg(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=bg(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(KM,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(YM,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Xh(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Xh(this._after,o)}):(this._after&&o&&Xh(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ok(){return new XM}const QM=new Set(["link","style","script","noscript"]),JM=new Set(["title","titleTemplate","script","style","noscript"]),x1=new Set(["base","meta","link","style","script","noscript"]),ZM=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),eO=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),tO=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),nO=new Set(["templateParams","htmlAttrs","bodyAttrs"]),rO=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),oO=["name","property","http-equiv"],iO=new Set(["viewport","description","keywords","robots"]);function ik(e){const t=e.split(":");return t.length?rO.has(t[1]):!1}function xg(e){const{props:t,tag:n}=e;if(eO.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of oO)if(t[r]!==void 0){const o=t[r],i=o.includes(":"),s=iO.has(o),a=!(i||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${a}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(JM.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function _1(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Gf(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>Gf(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Gf(o[s],t,s);return i}return o}function sO(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...l]=i.split(":").map(a=>a.trim());s&&l.length&&n.set(s,l.join(":"))}
40else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function sk(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=sO(n,r);return}if(tO.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function lO(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=sk({tag:e,props:{}},n);return r.key&&QM.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function aO(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=n(void 0,e);const r=[];return e=Gf(e,n),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(lO(o,s))}),r.flat()}const w1=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,S1={base:-10,title:10},uO={critical:-8,high:-1,low:2},k1={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},cO=/@import/,cu=e=>e===""||e===!0;function dO(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=uO[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:k1;if(t.tag in S1)n=S1[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=k1.meta[i])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?cu(t.props.async)?n=o.script.async:t.props.src&&!cu(t.props.defer)&&!cu(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:cu(t.props.defer)&&t.props.src&&!cu(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&cO.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function C1(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function fO(e={}){const t=ok();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>C1(s,l),push(l,a){const u={...a||{}};delete u.head;const c=u._index??s._entryCount++,d={_i:c,input:l,options:u},p={_poll(f=!1){s.dirty=!0,!f&&i.add(c),t.callHook("entries:updated",s)},dispose(){r.delete(c)&&s.invalidate()},patch(f){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(d.input=f,r.set(c,d),p._poll())}};return p.patch(l),p},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);i.size;){const p=i.values().next().value;i.delete(p);const f=r.get(p);if(f){const m={tags:aO(f.input,e.propResolvers||[]).map(h=>Object.assign(h,f.options)),entry:f};await t.callHook("entries:normalize",m),f._tags=m.tags.map((h,g)=>(h._w=dO(s,h),h._p=(f._i<<10)+g,h._d=xg(h),h))}}let a=!1;l.entries.flatMap(p=>(p._tags||[]).map(f=>({...f,props:{...f.props}}))).sort(w1).reduce((p,f)=>{const m=String(f._d||f._p);if(!p.has(m))return p.set(m,f);const h=p.get(m);
40if((f?.tagDuplicateStrategy||(nO.has(f.tag)?"merge":null)||(f.key&&f.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(f.props).forEach(([b,x])=>y[b]=b==="style"?new Map([...h.props.style||new Map,...x]):b==="class"?new Set([...h.props.class||new Set,...x]):x),p.set(m,{...f,props:y})}else f._p>>10===h._p>>10&&f.tag==="meta"&&ik(m)?(p.set(m,Object.assign([...Array.isArray(h)?h:[h],f],f)),a=!0):(f._w===h._w?f._p>h._p:f?._w<h?._w)&&p.set(m,f);return p},l.tagMap);const u=l.tagMap.get("title"),c=l.tagMap.get("titleTemplate");if(s._title=u?.textContent,c){const p=c?.textContent;if(s._titleTemplate=p,p){let f=typeof p=="function"?p(u?.textContent):p;typeof f=="string"&&!s.plugins.has("template-params")&&(f=f.replace("%s",u?.textContent||"")),u?f===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:f}):(c.tag="title",c.textContent=f)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(w1)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const p of l.tags){const{innerHTML:f,tag:m,props:h}=p;if(ZM.has(m)&&!(Object.keys(h).length===0&&!p.innerHTML&&!p.textContent)&&!(m==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(m==="script"&&f){if(h.type?.endsWith("json")){const g=typeof f=="string"?f:JSON.stringify(f);p.innerHTML=g.replace(/</g,"\\u003C")}else typeof f=="string"&&(p.innerHTML=f.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));p._d=xg(p)}d.push(p)}}return d},invalidate(){for(const l of r.values())i.add(l._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(l=>C1(s,l)),s.hooks.callHook("init",s),e.init?.forEach(l=>l&&s.push(l)),s}async function lk(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(f=>{e.resolveTags().then(m=>{f(m.map(h=>{const g=i.get(h._d)||0,y={tag:h,id:(g?`${h._d}:${g}`:h._d)||_1(h),shouldRender:!0};return h._d&&ik(h._d)&&i.set(h._d,g+1),y}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const f of["body","head"]){const m=n[f]?.children;for(const h of m){const g=h.tagName.toLowerCase();if(!x1.has(g))continue;const y=sk({tag:g,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((b,x)=>(b[x]=h.getAttribute(x),b),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=xg(y)||_1(y),l.elMap.has(y._d)){let b=1,x=y._d;for(;l.elMap.has(x);)x=`${y._d}:${b++}`;l.elMap.set(x,h)}else l.elMap.set(y._d,h)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(f,m,h){const g=`${f}:${m}`;l.sideEffects[g]=h,delete l.pendingSideEffects[g]}function u({id:f,$el:m,tag:h}){const g=h.tag.endsWith("Attrs");l.elMap.set(f,m),g||(h.textContent&&h.textContent!==m.textContent&&(m.textContent=h.textContent),h.innerHTML&&h.innerHTML!==m.innerHTML&&(m.innerHTML=h.innerHTML),a(f,"el",()=>{m?.remove(),l.elMap.delete(f)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const b=h.props[y];if(y.startsWith("on")&&typeof b=="function"){const w=m?.dataset;if(w&&w[`${y}fired`]){const E=y.slice(0,-5);b.call(m,new Event(E.substring(2)))}m.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:m).addEventListener(y.substring(2),b.bind(m)),m.setAttribute(`data-${y}`,""));continue}const x=`attr:${y}`;if(y==="class"){if(!b)continue;for(const w of b)g&&a(f,`${x}:${w}`,()=>m.classList.remove(w)),!m.classList.contains(w)&&m.classList.add(w)}else if(y==="style"){if(!b)continue;for(const[w,E]of b)a(f,`${x}:${w}`,()=>{m.style.removeProperty(w)}),m.style.setProperty(w,E)}else b!==!1&&b!==null&&(m.getAttribute(y)!==b&&m.setAttribute(y,b===!0?"":String(b)),g&&a(f,x,()=>m.removeAttribute(y)))}}const c=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await s;for(const f of p){const{tag:m,shouldRender:h,id:g}=f;if(h){if(m.tag==="title"){n.title=m.textContent,a("title","",()=>n.title=l.title);continue}f.$el=f.$el||l.elMap.get(g),f.$el?u(f):x1.has(m.tag)&&c.push(f)}}for(const f of c){const m=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),u(f),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(f.$el)}for(const f of p)await e.hooks.callHook("dom:renderTag",f,n,a);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const f in l.pendingSideEffects)l.pendingSideEffects[f]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function pO(e={}){const t=e.domOptions?.render||lk;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return fO({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function hO(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}const mO=(e,t)=>$t(t)?vt(t):t,ak="usehead";function gO(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ak,e)}}.install}function vO(){if(n2()){const e=ft(ak);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function yO(e,t={}){const n=t.head||vO();return n.ssr?n.push(e||{},t):bO(n,e,t)}function bO(e,t,n={}){const r=V(!1);let o;return Cn(()=>{const s=r.value?{}:Gf(t,mO);o?o.patch(s):o=e.push(s,n)}),Bt()&&(ji(()=>{o.dispose()}),Qv(()=>{r.value=!0}),Xv(()=>{r.value=!1})),o}function xO(e={}){const t=pO({domOptions:{render:hO(()=>lk(t),n=>setTimeout(n,0))},...e});return t.install=gO(t),t}const _O={install(e){if(e._context.provides.usehead)return;const t=xO();e.use(t)}};var bd={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"}
40,emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function O0(e){return Ua()?(Op(e),!0):!1}function T1(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return O0(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function uk(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>
40(t+=1,r||(r=Mp(!0),n=r.run(()=>e(...i))),O0(o),n)}function wO(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function SO(e){if(!$t(e))return gr(e);const t=new Proxy({},{get(n,r,o){return v(Reflect.get(e.value,r,o))},set(n,r,o){return $t(e.value[r])&&!$t(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return gr(t)}function ck(e){return SO(W(e))}function dk(e,...t){const n=t.flat(),r=n[0];return ck(()=>Object.fromEntries(typeof r=="function"?Object.entries(Fn(e)).filter(([o,i])=>!r(vt(i),o)):Object.entries(Fn(e)).filter(o=>!n.includes(o[0]))))}const L0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const kO=e=>typeof e<"u",CO=Object.prototype.toString,TO=e=>CO.call(e)==="[object Object]",_g=()=>{},EO=(e,t)=>
40Object.prototype.hasOwnProperty.call(e,t);function PO(...e){if(e.length!==1)return mr(...e);const t=e[0];return typeof t=="function"?Go(Dp(()=>({get:t,set:_g}))):V(t)}function ti(e,...t){const n=t.flat(),r=n[0];return ck(()=>Object.fromEntries(typeof r=="function"?Object.entries(Fn(e)).filter(([o,i])=>r(vt(i),o)):n.map(o=>[o,PO(e,o)])))}function IO(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function AO(e,t={}){let n,r,o=_g;const i=a=>{clearTimeout(a),o(),o=_g};let s;return a=>{const u=vt(e),c=vt(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(a())):new Promise((d,p)=>{o=t.rejectOnCancel?p:d,s=a,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(s())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,d(a())},u)})}}function Qh(e){return Array.isArray(e)?e:[e]}function $O(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const MO=/-(\w)/g,OO=$O(e=>e.replace(MO,(t,n)=>n?n.toUpperCase():""));function LO(e,t=200,n={}){return IO(AO(t,n),e)}function qO(e,t,n){return we(e,t,{...n,immediate:!0})}function fk(e={}){const{inheritAttrs:t=!0}=e,n=ei(),r=pe({setup(i,{slots:s}){return()=>{n.value=s.default}}}),o=pe({inheritAttrs:t,props:e.props,setup(i,{attrs:s,slots:l}){return()=>{var a;n.value;const u=(a=n.value)==null?void 0:a.call(n,{...e.props==null?RO(s):i,$slots:l});return t&&u?.length===1?u[0]:u}}});return wO({define:r,reuse:o},[r,o])}function RO(e){const t={};for(const n in e)t[OO(n)]=e[n];return t}const BO=L0?window:void 0,FO=L0?window.document:void 0;function pk(e){var t;const n=vt(e);return(t=n?.$el)!=null?t:n}function xd(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,u,c)=>(l.addEventListener(a,u,c),()=>l.removeEventListener(a,u,c)),o=W(()=>{const l=Qh(vt(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=qO(()=>{var l,a;return[(a=(l=o.value)==null?void 0:l.map(u=>pk(u)))!=null?a:[BO].filter(u=>u!=null),Qh(vt(o.value?e[1]:e[0])),Qh(v(o.value?e[2]:e[1])),vt(o.value?e[3]:e[2])]},([l,a,u,c])=>{if(n(),!l?.length||!a?.length||!u?.length)return;const d=TO(c)?{...c}:c;t.push(...l.flatMap(p=>a.flatMap(f=>u.map(m=>r(p,f,m,d)))))},{flush:"post"}),s=()=>{i(),n()};return O0(n),s}function DO(e){return JSON.parse(JSON.stringify(e))}function NO(e,t={}){var n,r;const o=ei(!1),i=ei(null);let s=0,l=!0;if(L0){const a=typeof t=="function"?{onDrop:t}:t,u=(n=a.multiple)!=null?n:!0,c=(r=a.preventDefaultForUnhandled)!=null?r:!1,d=g=>{var y,b;const x=Array.from((b=(y=g.dataTransfer)==null?void 0:y.files)!=null?b:[]);return x.length===0?null:u?x:[x[0]]},p=g=>{const y=v(a.dataTypes);return typeof y=="function"?y(g):y?.length?g.length===0?!1:g.every(b=>y.some(x=>b.includes(x))):!0},f=g=>{const y=Array.from(g??[]).map(w=>w.type),b=p(y),x=u||g.length<=1;return b&&x},m=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),h=(g,y)=>{var b,x,w,E,T,k;const S=(b=g.dataTransfer)==null?void 0:b.items;if(l=(x=S&&f(S))!=null?x:!1,c&&g.preventDefault(),!m()&&!l){g.dataTransfer&&(g.dataTransfer.dropEffect="none");return}g.preventDefault(),g.dataTransfer&&(g.dataTransfer.dropEffect="copy");const C=d(g);switch(y){case"enter":s+=1,o.value=!0,(w=a.onEnter)==null||w.call(a,null,g);break;case"over":(E=a.onOver)==null||E.call(a,null,g);break;case"leave":s-=1,s===0&&(o.value=!1),(T=a.onLeave)==null||T.call(a,null,g);break;case"drop":s=0,o.value=!1,l&&(i.value=C,(k=a.onDrop)==null||k.call(a,C,g));break}};xd(e,"dragenter",g=>h(g,"enter")),xd(e,"dragover",g=>h(g,"over")),xd(e,"dragleave",g=>h(g,"leave")),xd(e,"drop",g=>h(g,"drop"))}return{files:i,isOverDropZone:o}}const du=new Map;function VO(e){const t=Ua();function n(l){var a;const u=du.get(e)||new Set;u.add(l),du.set(e,u);const c=()=>o(l);return(a=t?.cleanups)==null||a.push(c),c}function r(l){function a(...u){o(a),l(...u)}return n(a)}function o(l){const a=du.get(e);a&&(a.delete(l),a.size||i())}function i(){du.delete(e)}function s(l,a){var u;(u=du.get(e))==null||u.forEach(c=>c(l,a))}return{on:n,once:r,off:o,emit:s,reset:i}}const zO={multiple:!0,accept:"*",reset:!1,directory:!1};function jO(e){if(!e)return null;if(e instanceof FileList)return e;const t=new DataTransfer;for(const n of e)t.items.add(n);return t.files}function HO(e={}){const{document:t=FO}=e,n=V(jO(e.initialFiles)),{on:r,trigger:o}=T1(),{on:i,trigger:s}=T1(),l=W(()=>{var d;const p=(d=pk(e.input))!=null?d:t?t.createElement("input"):void 0;return p&&(p.type="file",p.onchange=f=>{const m=f.target;n.value=m.files,o(n.value)},p.oncancel=()=>{s()}),p}),a=()=>{n.value=null,l.value&&l.value.value&&(l.value.value="",o(null))},u=d=>{const p=l.value;p&&(p.multiple=vt(d.multiple),p.accept=vt(d.accept),p.webkitdirectory=vt(d.directory),EO(d,"capture")&&(p.capture=vt(d.capture)))},c=d=>{const p=l.value;if(!p)return;const f={...zO,...e,...d};u(f),vt(f.reset)&&a(),p.click()};return Cn(()=>{u(e)}),{files:Go(n),open:c,reset:a,onCancel:i,onChange:r}}function hk(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:p}=r,f=Bt(),m=n||f?.emit||((o=f?.$emit)==null?void 0:o.bind(f))||((s=(i=f?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(f?.proxy));let h=u;h=h||`update:${t.toString()}`;const g=x=>l?typeof l=="function"?l(x):DO(x):x,y=()=>kO(e[t])?g(e[t]):d,b=x=>{p?p(x)&&m(h,x):m(h,x)};if(a){const x=y(),w=V(x);let E=!1;return we(()=>e[t],T=>{E||(E=!0,w.value=g(T),je(()=>E=!1))}),we(w,T=>{!E&&(T!==e[t]||c)&&b(T)},{deep:c}),w}else return W({get(){return y()},set(x){b(x)}})}const mk={ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"slate"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minu
40s:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"}},colorMode:!1},UO=gr(mk),Xt=()=>UO,_d={meta:"",ctrl:"",alt:"",win:"â",command:"â",shift:"â§",control:"â",option:"â¥",enter:"âµ",delete:"â¦",backspace:"â«",escape:"â",tab:"â¥",capslock:"âª",arrowup:"â",arrowright:"â",arrowdown:"â",arrowleft:"â",pageup:"â",pagedown:"â",home:"â",end:"â"},WO=()=>{const e=W(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=gr({meta:" ",alt:" ",ctrl:" "});Ve(()=>{t.meta=e.value?_d.command:"Ctrl",t.ctrl=e.value?_d.control:"Ctrl",t.alt=e.value?_d.option:"Alt"});function n(r){if(r)return["meta","alt","ctrl"].includes(r)?t[r]:_d[r]||r.toUpperCase()}return{macOS:e,getKbdKey:n}},GO=uk(WO);function Jh(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function wg(e,t,n=".",r){if(!Jh(t))return wg(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Jh(s)&&Jh(o[i])?o[i]=wg(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function KO(e){return(...t)=>t.reduce((n,r)=>wg(n,r,"",e),{})}const yl=KO();function YO(e){return yl(e,{dir:"ltr"})}function Sg(e){return typeof e=="string"?`'${e}'`:new XO().serialize(e)}const XO=(function(){class e{#e=new Map;compare(n,r){const o=typeof n,i=typeof r;return o==="string"&&i==="string"?n.localeCompare(r):o==="number"&&i==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const o=n.constructor,i=o===Object||o===void 0?"":o.name;if(i!==""&&globalThis[i]===o)return this.serializeBuiltInType(i,n);if(typeof n.toJSON=="function"){const s=n.toJSON();return i+(s!==null&&typeof s=="object"?this.$object(s):`(${this.serialize(s)})`)}return this.serializeObjectEntries(i,Object.entries(n))}serializeBuiltInType(n,r){const o=this["$"+n];if(o)return o.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const o=Array.from(r).sort((s,l)=>this.compare(s[0],l[0]));let i=`${n}{`;for(let s=0;s<o.length;s++){const[l,a]=o[s];i+=`${this.serialize(l,!0)}:${this.serialize(a)}`,s<o.length-1&&(i+=",")}return i+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let o=0;o<n.length;o++)r+=this.serialize(n[o]),o<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,o)=>this.compare(r,o)))}`}
40$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function Ri(e,t){return e===t||Sg(e)===Sg(t)}function QO(e,t){const n=kg(e),r=kg(t);return gk(n,r)}function gk(e,t){const n=[],r=new Set([...Object.keys(e.props||{}),...Object.keys(t.props||{})]);if(e.props&&t.props)for(const o of r){const i=e.props[o],s=t.props[o];i&&s?n.push(...gk(e.props?.[o],t.props?.[o])):(i||s)&&n.push(new E1((s||i).key,i?"removed":"added",s,i))}return r.size===0&&e.hash!==t.hash&&n.push(new E1((t||e).key,"changed",t,e)),n}function kg(e,t=""){if(e&&typeof e!="object")return new P1(t,e,Sg(e));const n={},r=[];for(const o in e)n[o]=kg(e[o],t?`${t}.${o}`:o),r.push(n[o].hash);return new P1(t,e,`{${r.join(":")}}`,n)}class E1{constructor(t,n,r,o){this.key=t,this.type=n,this.newValue=r,this.oldValue=o}toString(){return this.toJSON()}toJSON(){switch(this.type){case"added":return`Added \`${this.key}\``;case"removed":return`Removed \`${this.key}\``;case"changed":return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||"-"}\` to \`${this.newValue.toString()}\``}}}class P1{constructor(t,n,r,o){this.key=t,this.value=n,this.hash=r,this.props=o}toString(){return this.props?`{${Object.keys(this.props).join(",")}}`:JSON.stringify(this.value)}toJSON(){const t=this.key||".";return this.props?`${t}({${Object.keys(this.props).join(",")}})`:`${t}(${this.value})`}}function xc(e,t){const n={...e};for(const r of t)delete n[r];return n}function On(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const i=Number(o);return Number.isNaN(i)?o:i}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}function vk(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function JO(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:Ri(e,t)}function I1(e){if(e==null)return!0;if(typeof e=="boolean"||typeof e=="number")return!1;if(typeof e=="string")return e.trim().length===0;if(Array.isArray(e))return e.length===0;if(e instanceof Map||e instanceof Set)return e.size===0;if(e instanceof Date||e instanceof RegExp||typeof e=="function")return!1;if(typeof e=="object"){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}function A1(e,t,n={}){const{valueKey:r,labelKey:o}=n,i=e.find(l=>{const a=typeof l=="object"&&l!==null&&r?On(l,r):l;return JO(a,t)});if(I1(t)&&i)return o?On(i,o):void 0;if(I1(t))return;const s=i??t;if(s!=null)return typeof s=="object"?o?On(s,o):void 0:String(s)}function yk(e){return Array.isArray(e[0])}function $1(e,t){return!e&&!t?"":[...Array.isArray(e)?e:[e],t].filter(Boolean)}function ZO(e){return(t,n)=>e8(t,n,v(e))}function e8(e,t,n){return On(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(o,i)=>`${t?.[i]??`{${i}}`}`)}function t8(e){const t=W(()=>v(e).name),n=W(()=>v(e).code),r=W(()=>v(e).dir),o=$t(e)?e:V(e);return{lang:t,code:n,dir:r,locale:o,t:ZO(e)}}const M1=YO({name:"English",code:"en",messages:{alert:{close:"Close"},authForm:{hidePassword:"Hide password",showPassword:"Show password",submit:"Continue"},banner:{close:"Close"},calendar:{nextMonth:"Next month",nextYear:"Next year",prevMonth:"Previous month",prevYear:"Previous year"},carousel:{dots:"Choose slide to display",goto:"Go to slide {slide}",next:"Next",prev:"Prev"},chatPrompt:{placeholder:"Type your message here..."},chatPromptSubmit:{label:"Send prompt"},colorMode:{dark:"Dark",light:"Light",switchToDark:"Switch to dark mode",switchToLight:"Switch to light mode",system:"System"},commandPalette:{back:"Back",close:"Close",noData:"No data",noMatch:"No matching data",placeholder:"Type a command or search..."},contentSearch:{links:"Links",theme:"Theme"},contentSearchButton:{label:"Search..."},contentToc:{title:"On this page"},dashboardSearch:{theme:"Theme"},dashboardSearchButton:{label:"Search..."},dashboardSidebarCollapse:{collapse:"Collapse sidebar",expand:"Expand sidebar"},dashboardSidebarToggle:{close:"Close sidebar",open:"Open sidebar"},error:{clear:"Back to home"},fileUpload:{removeFile:"Remove {filename}"},header:{close:"Close menu",open:"Open menu"},inputMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data"},inputNumber:{decrement:"Decrement",increment:"Increment"},modal:{close:"Close"},pricingTable:{caption:"Pricing plan comparison"},prose:{codeCollapse:{closeText:"Collapse",name:"code",openText:"Expand"}
40,collapsible:{closeText:"Hide",name:"properties",openText:"Show"},pre:{copy:"Copy code to clipboard"}},selectMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data",search:"Search..."},slideover:{close:"Close"},table:{noData:"No data"},toast:{close:"Close"}}}),n8=Symbol.for("nuxt-ui.locale-context"),r8=e=>{const t=e||mr(ft(n8,M1));return t8(W(()=>t.value||M1))},eh=uk(r8),O1=ok();function o8(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:O1,hook:O1.hook}}function i8(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}const s8=[50,100,200,300,400,500,600,700,800,900,950];function l8(e,t){return e in bd&&typeof bd[e]=="object"&&t in bd[e]?bd[e][t]:""}function a8(e,t){return`${s8.map(n=>`--ui-color-${e}-${n}: var(--color-${t==="neutral"?"old-neutral":t}-${n}, ${l8(t,n)});`).join(` 41 `)}`}function L1(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}const u8=i8(()=>{const e=Xt();o8();const t=W(()=>{const{neutral:r,...o}=e.ui.colors;return`@layer base { 42 :root { 43 ${Object.entries(e.ui.colors).map(([i,s])=>a8(i,s)).join(` 44 `)} 45 } 46 :root, .light { 47 ${Object.keys(o).map(i=>L1(i,500)).join(` 48 `)} 49 } 50 .dark { 51 ${Object.keys(o).map(i=>L1(i,400)).join(` 52 `)} 53 } 54}`}),n={style:[{innerHTML:()=>t.value,tagPriority:-2,id:"nuxt-ui-colors"}]};{const r=document.createElement("style");r.innerHTML=t.value,r.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(r),n.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}yO(n)}),Nn={install(e){e.use(_O),e.use(u8)}};function q1(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function Ht(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[s=>{const l=ft(r,s);if(l||l===null)return l;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(Wt(r,s),s)]}function vr(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function q0(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function _c(e){return e==null}function Cg(e,t){return _c(e)?!1:Array.isArray(e)?e.some(n=>Ri(n,t)):Ri(e,t)}function R0(e){return e?e.flatMap(t=>t.type===ye?R0(t.children):[t]):[]}const c8=["INPUT","TEXTAREA"];function bk(e,t,n,r={}){if(!t||r.enableIgnoredElement&&c8.includes(t.nodeName))return null;const{arrowKeyOptions:o="both",attributeName:i="[data-reka-collection-item]",itemsArray:s=[],loop:l=!0,dir:a="ltr",preventScroll:u=!0,focus:c=!1}=r,[d,p,f,m,h,g]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],y=f||m,b=d||p;if(!h&&!g&&(!y&&!b||o==="vertical"&&b||o==="horizontal"&&y))return null;const x=n?Array.from(n.querySelectorAll(i)):s;if(!x.length)return null;u&&e.preventDefault();let w=null;return b||y?w=xk(x,t,{goForward:y?m:a==="ltr"?d:p,loop:l}):h?w=x.at(0)||null:g&&(w=x.at(-1)||null),c&&w?.focus(),w}function xk(e,t,n,r=e.length){if(--r===0)return null;const o=e.indexOf(t),i=n.goForward?o+1:o-1;if(!n.loop&&(i<0||i>=e.length))return null;const s=(i+e.length)%e.length,l=e[s];return l?l.hasAttribute("disabled")&&l.getAttribute("disabled")!=="false"?xk(e,l,n,r):l:null}const[_k,Lre]=Ht("ConfigProvider");function d8(e,t){var n;const r=ei();return Cn(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Go(r)}function th(e){return Ua()?(Op(e),!0):!1}function f8(e){let t=!1,n;const r=Mp(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}function wk(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=Mp(!0),n=r.run(()=>e(...i))),th(o),n)}const Ts=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p8=e=>typeof e<"u",h8=Object.prototype.toString,m8=e=>h8.call(e)==="[object Object]",R1=g8();function g8(){var e,t;return Ts&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function v8(e){return Bt()}function Zh(e){return Array.isArray(e)?e:[e]}function y8(e,t=1e4){return Dp((n,r)=>{let o=vt(e),i;const s=()=>setTimeout(()=>{o=vt(e),r()},vt(t));return th(()=>{clearTimeout(i)}),{get(){return n(),o},set(l){o=l,r(),clearTimeout(i),i=s()}}})}const b8=vt;function x8(e,t){v8()&&ji(e,t)}function _8(e,t,n){return we(e,t,{...n,immediate:!0})}const nh=Ts?window:void 0;function ni(e){var t;const n=vt(e);return(t=n?.$el)!=null?t:n}function wc(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,u,c)=>(l.addEventListener(a,u,c),()=>l.removeEventListener(a,u,c)),o=W(()=>{const l=Zh(vt(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=_8(()=>{var l,a;return[(a=(l=o.value)==null?void 0:l.map(u=>ni(u)))!=null?a:[nh].filter(u=>u!=null),Zh(vt(o.value?e[1]:e[0])),Zh(v(o.value?e[2]:e[1])),vt(o.value?e[3]:e[2])]},([l,a,u,c])=>{if(n(),!l?.length||!a?.length||!u?.length)return;const d=m8(c)?{...c}:c;t.push(...l.flatMap(p=>a.flatMap(f=>u.map(m=>r(p,f,m,d)))))},{flush:"post"}),s=()=>{i(),n()};return th(n),s}function Sk(){const e=ei(!1),t=Bt();return t&&Ve(()=>{e.value=!0},t),e}function w8(e){const t=Sk();return W(()=>
54(t.value,!!e()))}function S8(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function k8(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=nh,eventName:i="keydown",passive:s=!1,dedupe:l=!1}=r,a=S8(t);return wc(o,i,c=>{c.repeat&&vt(l)||a(c)&&n(c)},s)}function C8(e){return JSON.parse(JSON.stringify(e))}function T8(e,t,n={}){const{window:r=nh,...o}=n;let i;const s=w8(()=>r&&"ResizeObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=W(()=>{const d=vt(e);return Array.isArray(d)?d.map(p=>ni(p)):[ni(d)]}),u=we(a,d=>{if(l(),s.value&&r){i=new ResizeObserver(t);for(const p of d)p&&i.observe(p,o)}},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return th(c),{isSupported:s,stop:c}}function Lr(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:p}=r,f=Bt(),m=n||f?.emit||((o=f?.$emit)==null?void 0:o.bind(f))||((s=(i=f?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(f?.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const g=x=>l?typeof l=="function"?l(x):C8(x):x,y=()=>p8(e[t])?g(e[t]):d,b=x=>{p?p(x)&&m(h,x):m(h,x)};if(a){const x=y(),w=V(x);let E=!1;return we(()=>e[t],T=>{E||(E=!0,w.value=g(T),je(()=>E=!1))}),we(w,T=>{!E&&(T!==e[t]||c)&&b(T)},{deep:c}),w}else return W({get(){return y()},set(x){b(x)}})}const E8=wk(()=>{const e=V(new Map),t=V(),n=W(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=_k({scrollBody:V(!0)});let o=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",R1&&o?.(),t.value=void 0};return we(n,(s,l)=>{if(!Ts)return;if(!s){l&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const a=window.innerWidth-document.documentElement.clientWidth,u={padding:a,margin:0},c=r.scrollBody?.value?typeof r.scrollBody.value=="object"?yl({padding:r.scrollBody.value.padding===!0?a:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?a:r.scrollBody.value.margin},u):u:{padding:0,margin:0};a>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${a}px`),document.body.style.overflow="hidden"),R1&&(o=wc(document,"touchmove",d=>P8(d),{passive:!1})),je(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function B0(e){const t=Math.random().toString(36).substring(2,7),n=E8();n.value.set(t,e??!1);const r=W({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return x8(()=>{n.value.delete(t)}),r}function kk(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:kk(n)}}function P8(e){const t=e||window.event,n=t.target;return n instanceof Element&&kk(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Xa(e){const t=_k({dir:V("ltr")});return W(()=>e?.value||t.dir?.value||"ltr")}function Il(e){const t=Bt(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(o=>{r[Js(Pt(o))]=(...i)=>e(o,...i)}),r}let em=0;function Ck(){Cn(e=>{if(!Ts)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??B1()),document.body.insertAdjacentElement("beforeend",t[1]??B1()),em++,e(()=>{em===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),em--})})}function B1(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
54style.position="fixed",e.style.pointerEvents="none",e}function F0(e){return W(()=>b8(e)?!!ni(e)?.closest("form"):!0)}function Be(){const e=Bt(),t=V(),n=W(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:ni(t)),r=Object.assign({},e.exposed),o={};for(const s in e.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(r).length>0)for(const s in r)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>r[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(s){t.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=o)}return{forwardRef:i,currentRef:t,currentElement:n}}function Al(e){const t=Bt(),n=Object.keys(t?.type.props??{}).reduce((o,i)=>{const s=(t?.type.props[i]).default;return s!==void 0&&(o[i]=s),o},{}),r=mr(e);return W(()=>{const o={},i=t?.vnode.props??{};return Object.keys(i).forEach(s=>{o[Pt(s)]=i[s]}),Object.keys({...n,...o}).reduce((s,l)=>(r.value[l]!==void 0&&(s[l]=r.value[l]),s),{})})}function Vn(e,t){const n=Al(e),r=t?Il(t):{};return W(()=>({...n.value,...r}))}var I8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vl=new WeakMap,wd=new WeakMap,Sd={},tm=0,Tk=function(e){return e&&(e.host||Tk(e.parentNode))},A8=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Tk(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$8=function(e,t,n,r){var o=A8(t,Array.isArray(e)?e:[e]);Sd[n]||(Sd[n]=new WeakMap);var i=Sd[n],s=[],l=new Set,a=new Set(o),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||a.has(d)||Array.prototype.forEach.call(d.children,function(p){if(l.has(p))c(p);else try{var f=p.getAttribute(r),m=f!==null&&f!=="false",h=(Vl.get(p)||0)+1,g=(i.get(p)||0)+1;Vl.set(p,h),i.set(p,g),s.push(p),h===1&&m&&wd.set(p,!0),g===1&&p.setAttribute(n,"true"),m||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),l.clear(),tm++,function(){s.forEach(function(d){var p=Vl.get(d)-1,f=i.get(d)-1;Vl.set(d,p),i.set(d,f),p||(wd.has(d)||d.removeAttribute(r),wd.delete(d)),f||d.removeAttribute(n)}),tm--,tm||(Vl=new WeakMap,Vl=new WeakMap,wd=new WeakMap,Sd={})}},M8=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=I8(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),$8(r,o,n,"aria-hidden")):function(){return null}};function D0(e){let t;we(()=>ni(e),n=>{n?t=M8(n):t&&t()}),vn(()=>{t&&t()})}function Qr(e,t="reka"){return`${t}-${Ga?.()}`}function O8(e){const t=V(),n=W(()=>t.value?.width??0),r=W(()=>t.value?.height??0);return Ve(()=>{const o=ni(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let a,u;if("borderBoxSize"in l){const c=l.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,u=d.blockSize}else a=o.offsetWidth,u=o.offsetHeight;t.value={width:a,height:u}});return i.observe(o,{box:"border-box"}),()=>i.unobserve(o)}else t.value=void 0}),{width:n,height:r}}function L8(e,t){const n=V(e);function r(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=r(i)}}}function N0(e){const t=y8("",1e3);return{search:t,handleTypeaheadSearch:(o,i)=>{t.value=t.value+o;{const s=vr(),l=i.map(p=>({...p,textValue:p.value?.textValue??p.ref.textContent?.trim()??""})),a=l.find(p=>p.ref===s),u=l.map(p=>p.textValue),c=R8(u,t.value,a?.textValue),d=l.find(p=>p.textValue===c);return d&&d.ref.focus(),d?.ref}},resetTypeahead:()=>{t.value=""}}}function q8(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function R8(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=q8(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const a=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function B8(e,t){const n=V({}),r=V("none"),o=V(e),i=e.value?"mounted":"unmounted";let s;const l=t.value?.ownerDocument.defaultView??nh,{state:a,dispatch:u}=L8(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=g=>{if(Ts){const y=new CustomEvent(g,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(y)}};we(e,async(g,y)=>{const b=y!==g;if(await je(),b){const x=r.value,w=kd(t.value);g?(u("MOUNT"),c("enter"),w==="none"&&c("after-enter")):w==="none"||w==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):y&&x!==w?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const d=g=>{const y=kd(t.value),b=y.includes(g.animationName),x=a.value==="mounted"?"enter":"leave";if(g.target===t.value&&b&&(c(`after-${x}`),u("ANIMATION_END"),!o.value)){const w=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=l?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=w)})}g.target===t.value&&y==="none"&&u("ANIMATION_END")},p=g=>{g.target===t.value&&(r.value=kd(t.value))},f=we(t,(g,y)=>{g?(n.value=getComputedStyle(g),g.addEventListener("animationstart",p),g.addEventListener("animationcancel",d),g.addEventListener("animationend",d)):(u("ANIMATION_END"),s!==void 0&&l?.clearTimeout(s),y?.removeEventListener("animationstart",p),y?.removeEventListener("animationcancel",d),y?.removeEventListener("animationend",d))},{immediate:!0}),m=we(a,()=>{const g=kd(t.value);r.value=a.value==="mounted"?g:"none"});return vn(()=>{f(),m()}),{isPresent:W(()=>["mounted","unmountSuspended"].includes(a.value))}}function kd(e){return e&&getComputedStyle(e).animationName||"none"}var Es=pe({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:o}=Fn(e),i=V(),{isPresent:s}=B8(r,i);n({present:s});let l=t.default({present:s.value});l=R0(l||[]);const a=Bt();if(l&&l?.length>1){const u=a?.parent?.type.name?`<${a.parent.type.name} />`:"component";
54throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(` 55`)].join(` 56`))}return()=>o.value||r.value||s.value?Lt(t.default({present:s.value})[0],{ref:u=>{const c=ni(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?i.value=c.firstElementChild:i.value=c),c}}):null}});const Sc=pe({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=R0(n.default()),o=r.findIndex(a=>a.type!==Kt);if(o===-1)return r;const i=r[o];delete i.props?.ref;const s=i.props?be(t,i.props):t,l=$o({...i,props:{}},s);return r.length===1?l:(r[o]=l,r)}}}),F8=["area","img","input"],ze=pe({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&F8.includes(r)?()=>Lt(r,t):r!=="template"?()=>Lt(e.as,t,{default:n.default}):()=>Lt(Sc,t,{default:n.default})}});function Kf(){const e=V(),t=W(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:ni(e));return{primitiveElement:e,currentElement:t}}const[Ek,D8]=Ht("CollapsibleRoot");var N8=pe({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:open"],setup(e,{expose:t,emit:n}){const r=e,i=Lr(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),{disabled:s,unmountOnHide:l}=Fn(r);return D8({contentId:"",disabled:s,open:i,unmountOnHide:l,onOpenToggle:()=>{s.value||(i.value=!i.value)}}),t({open:i}),Be(),(a,u)=>(P(),X(v(ze),{as:a.as,"as-child":r.asChild,"data-state":v(i)?"open":"closed","data-disabled":v(s)?"":void 0},{default:D(()=>[se(a.$slots,"default",{open:v(i)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),Pk=N8,V8=pe({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["contentFound"],setup(e,{emit:t}){const n=e,r=t,o=Ek();o.contentId||=Qr(void 0,"reka-collapsible-content");const i=V(),{forwardRef:s,currentElement:l}=Be(),a=V(0),u=V(0),c=W(()=>o.open.value),d=V(c.value),p=V();we(()=>[c.value,i.value?.present],async()=>{await je();const m=l.value;if(!m)return;p.value=p.value||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const h=m.getBoundingClientRect();u.value=h.height,a.value=h.width,d.value||(m.style.transitionDuration=p.value.transitionDuration,m.style.animationName=p.value.animationName)},{immediate:!0});const f=W(()=>d.value&&o.open.value);return Ve(()=>{requestAnimationFrame(()=>{d.value=!1})}),wc(l,"beforematch",m=>{requestAnimationFrame(()=>{o.onOpenToggle(),r("contentFound")})}),(m,h)=>(P(),X(v(Es),{ref_key:"presentRef",ref:i,present:m.forceMount||v(o).open.value,"force-mount":!0},{default:D(({present:g})=>[K(v(ze),be(m.$attrs,{id:v(o).contentId,ref:v(s),"as-child":n.asChild,as:m.as,hidden:g?void 0:v(o).unmountOnHide.value?"":"until-found","data-state":f.value?void 0:v(o).open.value?"open":"closed","data-disabled":v(o).disabled?.value?"":void 0,style:{"--reka-collapsible-content-height":`${u.value}px`,"--reka-collapsible-content-width":`${a.value}px`}}),{default:D(()=>[!v(o).unmountOnHide.value||g?se(m.$slots,"default",{key:0}):ae("v-if",!0)]),_:2},1040,["id","as-child","as","hidden","data-state","data-disabled","style"])]),_:3},8,["present"]))}}),Ik=V8,z8=pe({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;Be();const n=Ek();return(r,o)=>(P(),X(v(ze),{type:r.as==="button"?"button":void 0,as:r.as,"as-child":t.asChild,"aria-controls":v(n).contentId,"aria-expanded":v(n).open.value,"data-state":v(n).open.value?"open":"closed","data-disabled":v(n).disabled?.value?"":void 0,disabled:v(n).disabled?.value,onClick:v(n).onOpenToggle},{default:D(()=>[se(r.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"]))}}),Ak=z8;function j8({type:e,defaultValue:t,modelValue:n}){const r=n||t;return n!==void 0||t!==void 0?Array.isArray(r)?"multiple":"single":e??"single"}function H8({type:e,defaultValue:t,modelValue:n}){return e||j8({type:e,defaultValue:t,modelValue:n})}function U8({type:e,defaultValue:t}){return t!==void 0?t:e==="single"?void 0:[]}function W8(e,t){const n=W(()=>H8(e)),r=Lr(e,"modelValue",t,{defaultValue:U8(e),passive:e.modelValue===void 0,deep:!0});function o(s){if(n.value==="single")r.value=Ri(s,r.value)?void 0:s;else{const l=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(
56Boolean);if(Cg(l,s)){const a=l.findIndex(u=>Ri(u,s));l.splice(a,1)}else l.push(s);r.value=l}}const i=W(()=>n.value==="single");return{modelValue:r,changeModelValue:o,isSingle:i}}const[rh,G8]=Ht("AccordionRoot");var K8=pe({__name:"AccordionRoot",props:{collapsible:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1,default:"vertical"},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{dir:o,disabled:i,unmountOnHide:s}=Fn(n),l=Xa(o),{modelValue:a,changeModelValue:u,isSingle:c}=W8(n,r),{forwardRef:d,currentElement:p}=Be();return G8({disabled:i,direction:l,orientation:n.orientation,parentElement:p,isSingle:c,collapsible:n.collapsible,modelValue:a,changeModelValue:u,unmountOnHide:s}),(f,m)=>(P(),X(v(ze),{ref:v(d),"as-child":f.asChild,as:f.as},{default:D(()=>[se(f.$slots,"default",{modelValue:v(a)})]),_:3},8,["as-child","as"]))}}),Y8=K8,Tg=(function(e){return e.Open="open",e.Closed="closed",e})(Tg||{});const[V0,X8]=Ht("AccordionItem");var Q8=pe({__name:"AccordionItem",props:{disabled:{type:Boolean,required:!1},value:{type:String,required:!0},unmountOnHide:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){const n=e,r=rh(),o=W(()=>r.isSingle.value?n.value===r.modelValue.value:Array.isArray(r.modelValue.value)&&r.modelValue.value.includes(n.value)),i=W(()=>r.disabled.value||n.disabled),s=W(()=>i.value?"":void 0),l=W(()=>o.value?Tg.Open:Tg.Closed);t({open:o,dataDisabled:s});const{currentRef:a,currentElement:u}=Be();X8({open:o,dataState:l,disabled:i,dataDisabled:s,triggerId:"",currentRef:a,currentElement:u,value:W(()=>n.value)});function c(d){const p=d.target;if(Array.from(r.parentElement.value?.querySelectorAll("[data-reka-collection-item]")??[]).findIndex(h=>h===p)===-1)return null;bk(d,p,r.parentElement.value,{arrowKeyOptions:r.orientation,dir:r.direction.value,focus:!0})}return(d,p)=>(P(),X(v(Pk),{"data-orientation":v(r).orientation,"data-disabled":s.value,"data-state":l.value,disabled:i.value,open:o.value,as:n.as,"as-child":n.asChild,"unmount-on-hide":v(r).unmountOnHide.value,onKeydown:kn(c,["up","down","left","right","home","end"])},{default:D(()=>[se(d.$slots,"default",{open:o.value})]),_:3},8,["data-orientation","data-disabled","data-state","disabled","open","as","as-child","unmount-on-hide"]))}}),J8=Q8,Z8=pe({__name:"AccordionContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=rh(),r=V0();return Be(),(o,i)=>(P(),X(v(Ik),{role:"region","as-child":t.asChild,as:o.as,"force-mount":t.forceMount,"aria-labelledby":v(r).triggerId,"data-state":v(r).dataState.value,"data-disabled":v(r).dataDisabled.value,"data-orientation":v(n).orientation,style:{"--reka-accordion-content-width":"var(--reka-collapsible-content-width)","--reka-accordion-content-height":"var(--reka-collapsible-content-height)"},onContentFound:i[0]||(i[0]=s=>v(n).changeModelValue(v(r).value.value))},{default:D(()=>[se(o.$slots,"default")]),_:3},8,["as-child","as","force-mount","aria-labelledby","data-state","data-disabled","data-orientation"]))}}),eL=Z8,tL=pe({__name:"AccordionHeader",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h3"}},setup(e){const t=e,n=rh(),r=V0();return Be(),(o,i)=>(P(),X(v(ze),{as:t.as,"as-child":t.asChild,"data-orientation":v(n).orientation,"data-state":v(r).dataState.value,"data-disabled":v(r).dataDisabled.value},{default:D(()=>[se(o.$slots,"default")]),_:3},8,["as","as-child","data-orientation","data-state","data-disabled"]))}}),nL=tL,rL=pe({__name:"AccordionTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=rh(),r=V0();r.triggerId||=Qr(void 0,"reka-accordion-trigger");function o(){const i=n.isSingle.value&&r.open.value&&!n.collapsible;r.disabled.value||i||n.changeModelValue(r.value.value)}return(i,s)=>(P(),X(v(Ak),{id:v(r).triggerId,ref:v(r).currentRef,"data-reka-collection-item":"",as:t.as,"as-child":t.asChild,"aria-disabled":v(r).disabled.value||void 0,"aria-expanded":v(r).open.value||!1,"data-disabled":v(r).dataDisabled.value,"data-orientation":v(n).orientation,"data-state":v(r).dataState.value,disabled:v(r).disabled.value,onClick:o},{default:D(()=>[se(i.$slots,"default")]),_:3},8,["id","as","as-child","aria-disabled","aria-expanded","data-disabled","data-orientation","data-state","disabled"]))}}),oL=rL;const[ii,iL]=Ht("DialogRoot");var sL=pe({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=Lr(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=V(),s=V(),{modal:l}=Fn(n);return iL({open:o,modal:l,openModal:()=>{o.value=!0},onOpenChange:a=>{o.value=a},onOpenToggle:()=>{o.value=!o.value}
56,contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(a,u)=>se(a.$slots,"default",{open:v(o),close:()=>o.value=!1})}}),$k=sL,lL=pe({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;Be();const n=ii();return(r,o)=>(P(),X(v(ze),be(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>v(n).onOpenChange(!1))}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["type"]))}}),aL=lL;const uL="dismissableLayer.pointerDownOutside",cL="dismissableLayer.focusOutside";function Mk(e,t){const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r)<o.indexOf(n)))}function dL(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,o=V(!1),i=V(()=>{});return Cn(s=>{if(!Ts||!vt(n))return;const l=async u=>{const c=u.target;if(!(!t?.value||!c)){if(Mk(t.value,c)){o.value=!1;return}if(u.target&&!o.value){let f=function(){q0(uL,e,p)};var d=f;const p={originalEvent:u};u.pointerType==="touch"?(r.removeEventListener("click",i.value),i.value=f,r.addEventListener("click",i.value,{once:!0})):f()}else r.removeEventListener("click",i.value);o.value=!1}},a=window.setTimeout(()=>{r.addEventListener("pointerdown",l)},0);s(()=>{window.clearTimeout(a),r.removeEventListener("pointerdown",l),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{vt(n)&&(o.value=!0)}}}function fL(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,o=V(!1);return Cn(i=>{if(!Ts||!vt(n))return;const s=async l=>{if(!t?.value)return;await je(),await je();const a=l.target;
56!t.value||!a||Mk(t.value,a)||l.target&&!o.value&&q0(cL,e,{originalEvent:l})};r.addEventListener("focusin",s),i(()=>r.removeEventListener("focusin",s))}),{onFocusCapture:()=>{vt(n)&&(o.value=!0)},onBlurCapture:()=>{vt(n)&&(o.value=!1)}}}const di=gr({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var pL=pe({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Be(),s=W(()=>i.value?.ownerDocument??globalThis.document),l=W(()=>di.layersRoot),a=W(()=>i.value?Array.from(l.value).indexOf(i.value):-1),u=W(()=>di.layersWithOutsidePointerEventsDisabled.size>0),c=W(()=>{const m=Array.from(l.value),[h]=[...di.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(h);return a.value>=g}),d=dL(async m=>{const h=[...di.branches].some(g=>g?.contains(m.target));!c.value||h||(r("pointerDownOutside",m),r("interactOutside",m),await je(),m.defaultPrevented||r("dismiss"))},i),p=fL(m=>{[...di.branches].some(g=>g?.contains(m.target))||(r("focusOutside",m),r("interactOutside",m),m.defaultPrevented||r("dismiss"))},i);k8("Escape",m=>{a.value===l.value.size-1&&(r("escapeKeyDown",m),m.defaultPrevented||r("dismiss"))});let f;return Cn(m=>{i.value&&(n.disableOutsidePointerEvents&&(di.layersWithOutsidePointerEventsDisabled.size===0&&(f=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),di.layersWithOutsidePointerEventsDisabled.add(i.value)),l.value.add(i.value),m(()=>{n.disableOutsidePointerEvents&&di.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=f)}))}),Cn(m=>{m(()=>{i.value&&(l.value.delete(i.value),di.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(m,h)=>(P(),X(v(ze),{ref:v(o),"as-child":m.asChild,as:m.as,"data-dismissable-layer":"",style:gn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:v(p).onFocusCapture,onBlurCapture:v(p).onBlurCapture,onPointerdownCapture:v(d).onPointerDownCapture},{default:D(()=>[se(m.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),z0=pL;const hL=f8(()=>V([]));function mL(){const e=hL();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=F1(e.value,t),e.value.unshift(t)},remove(t){e.value=F1(e.value,t),e.value[0]?.resume()}}}function F1(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gL(e){return e.filter(t=>t.tagName!=="A")}const nm="focusScope.autoFocusOnMount",rm="focusScope.autoFocusOnUnmount",D1={bubbles:!1,cancelable:!0};function vL(e,{select:t=!1}={}){const n=vr();for(const r of e)if(Qi(r,{select:t}),vr()!==n)return!0}function yL(e){const t=Ok(e),n=N1(t,e),r=N1(t.reverse(),e);return[n,r]}function Ok(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function N1(e,t){for(const n of e)if(!bL(n,{upTo:t}))return n}function bL(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xL(e){return e instanceof HTMLInputElement&&"select"in e}function Qi(e,{select:t=!1}={}){if(e&&e.focus){const n=vr();e.focus({preventScroll:!0}),e!==n&&xL(e)&&t&&e.select()}}var _L=pe({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:i}=Be(),s=V(null),l=mL(),a=gr({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Cn(c=>{if(!Ts)return;const d=i.value;if(!n.trapped)return;function p(g){if(a.paused||!d)return;const y=g.target;d.contains(y)?s.value=y:Qi(s.value,{select:!0})}function f(g){if(a.paused||!d)return;const y=g.relatedTarget;y!==null&&(d.contains(y)||Qi(s.value,{select:!0}))}function m(g){d.contains(s.value)||Qi(d)}
56document.addEventListener("focusin",p),document.addEventListener("focusout",f);const h=new MutationObserver(m);d&&h.observe(d,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",f),h.disconnect()})}),Cn(async c=>{const d=i.value;if(await je(),!d)return;l.add(a);const p=vr();if(!d.contains(p)){const m=new CustomEvent(nm,D1);d.addEventListener(nm,h=>r("mountAutoFocus",h)),d.dispatchEvent(m),m.defaultPrevented||(vL(gL(Ok(d)),{select:!0}),vr()===p&&Qi(d))}c(()=>{d.removeEventListener(nm,g=>r("mountAutoFocus",g));const m=new CustomEvent(rm,D1),h=g=>{r("unmountAutoFocus",g)};d.addEventListener(rm,h),d.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||Qi(p??document.body,{select:!0}),d.removeEventListener(rm,h),l.remove(a)},0)})});function u(c){if(!n.loop&&!n.trapped||a.paused)return;const d=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,p=vr();if(d&&p){const f=c.currentTarget,[m,h]=yL(f);m&&h?!c.shiftKey&&p===h?(c.preventDefault(),n.loop&&Qi(m,{select:!0})):c.shiftKey&&p===m&&(c.preventDefault(),n.loop&&Qi(h,{select:!0})):p===f&&c.preventDefault()}}return(c,d)=>(P(),X(v(ze),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:D(()=>[se(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),j0=_L;const wL="menu.itemSelect",Eg=["Enter"," "],SL=["ArrowDown","PageUp","Home"],Lk=["ArrowUp","PageDown","End"],kL=[...SL,...Lk],CL={ltr:[...Eg,"ArrowRight"],rtl:[...Eg,"ArrowLeft"]},TL={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function H0(e){return e?"open":"closed"}function Yf(e){return e==="indeterminate"}function U0(e){return Yf(e)?"indeterminate":e?"checked":"unchecked"}function Pg(e){const t=vr();for(const n of e)if(n===t||(n.focus(),vr()!==t))return}function EL(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i].x,a=t[i].y,u=t[s].x,c=t[s].y;a>r!=c>r&&n<(u-l)*(r-a)/(c-a)+l&&(o=!o)}return o}function PL(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return EL(n,t)}function kc(e){return e.pointerType==="mouse"}var IL=pe({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=ii(),{forwardRef:i,currentElement:s}=Be();return o.titleId||=Qr(void 0,"reka-dialog-title"),o.descriptionId||=Qr(void 0,"reka-dialog-description"),Ve(()=>{o.contentElement=s,vr()!==document.body&&(o.triggerElement.value=vr())}),(l,a)=>(P(),X(v(j0),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:a[5]||(a[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:a[6]||(a[6]=u=>r("closeAutoFocus",u))},{default:D(()=>[K(v(z0),be({id:v(o).contentId,ref:v(i),as:l.as,"as-child":l.asChild,"disable-outside-pointer-events":l.disableOutsidePointerEvents,role:"dialog","aria-describedby":v(o).descriptionId,"aria-labelledby":v(o).titleId,"data-state":v(H0)(v(o).open.value)},l.$attrs,{onDismiss:a[0]||(a[0]=u=>v(o).onOpenChange(!1)),onEscapeKeyDown:a[1]||(a[1]=u=>r("escapeKeyDown",u)),onFocusOutside:a[2]||(a[2]=u=>r("focusOutside",u)),onInteractOutside:a[3]||(a[3]=u=>r("interactOutside",u)),onPointerDownOutside:a[4]||(a[4]=u=>r("pointerDownOutside",u))}),{default:D(()=>[se(l.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),qk=IL,AL=pe({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=ii(),i=Il(r),{forwardRef:s,currentElement:l}=Be();return D0(l),(a,u)=>(P(),X(qk,be({...n,...v(i)},{ref:v(s),"trap-focus":v(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(c.preventDefault(),v(o).triggerElement.value?.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const d=c.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0;(d.button===2||p)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["trap-focus"]))}}),$L=AL,ML=pe({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=Il(t);Be();const i=ii(),s=V(!1),l=V(!1);return(a,u)=>(P(),X(qk,be({...n,...v(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(s.value||v(i).triggerElement.value?.focus(),c.preventDefault()),s.value=!1,l.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{c.defaultPrevented||(s.value=!0,c.detail.originalEvent.type==="pointerdown"&&(l.value=!0));const d=c.target;v(i).triggerElement.value?.contains(d)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.value&&c.preventDefault()})}),{default:D(()=>[se(a.$slots,"default")]),_:3},16))}}),OL=ML,LL=pe({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=ii(),i=Il(r),{forwardRef:s}=Be();return(l,a)=>(P(),X(v(Es),{present:l.forceMount||v(o).open.value},{default:D(()=>[v(o).modal.value?(P(),X($L,be({key:0,ref:v(s)},{...n,...v(i),...l.$attrs}),{default:D(()=>[se(l.$slots,"default")]),_:3},16)):(P(),X(OL,be({key:1,ref:v(s)},{...n,...v(i),...l.$attrs}),{default:D(()=>[se(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Rk=LL,qL=pe({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;Be();const n=ii();return(r,o)=>(P(),X(v(ze),be(t,{id:v(n).descriptionId}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["id"]))}}),Xf=qL,RL=pe({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ii();return B0(!0),Be(),(n,r)=>(P(),X(v(ze),{as:n.as,"as-child":n.asChild,"data-state":v(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:D(()=>[se(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),BL=RL,FL=pe({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=ii(),{forwardRef:n}=Be();return(r,o)=>v(t)?.modal.value?(P(),X(v(Es),{key:0,present:r.forceMount||v(t).open.value},{default:D(()=>[K(BL,be(r.$attrs,{ref:v(n),as:r.as,"as-child":r.asChild}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):ae("v-if",!0)}}),Bk=FL,DL=pe({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=Sk();return(n,r)=>v(t)||n.forceMount?(P(),X(zc,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[se(n.$slots,"default")],8,["to","disabled","defer"])):ae("v-if",!0)}}),W0=DL,NL=pe({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(W0),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),Fk=NL,VL=pe({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=ii();return Be(),(r,o)=>(P(),X(v(ze),be(t,{id:v(n).titleId}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["id"]))}}),Qf=VL,zL=pe({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=ii(),{forwardRef:r,currentElement:o}=Be();return n.contentId||=Qr(void 0,"reka-dialog-content"),Ve(()=>{n.triggerElement.value=o.value}),(i,s)=>(P(),X(v(ze),be(t,{ref:v(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":v(n).open.value||!1,"aria-controls":v(n).open.value?v(n).contentId:void 0,"data-state":v(n).open.value?"open":"closed",onClick:v(n).onOpenToggle}),{default:D(()=>[se(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),Dk=zL;const V1="data-reka-collection-item";function Ps(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let o;if(n){const c=V(new Map);o={collectionRef:V(),itemMap:c},Wt(r,o)}else o=ft(r);const i=(c=!1)=>{const d=o.collectionRef.value;if(!d)return[];const p=Array.from(d.querySelectorAll(`[${V1}]`)),m=Array.from(o.itemMap.value.values()).sort((h,g)=>p.indexOf(h.ref)-p.indexOf(g.ref));return c?m:m.filter(h=>h.ref.dataset.disabled!=="")},s=pe({name:"CollectionSlot",setup(c,{slots:d}){const{primitiveElement:p,currentElement:f}=Kf();return we(f,()=>{o.collectionRef.value=f.value}),()=>Lt(Sc,{ref:p},d)}}),l=pe({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:d,attrs:p}){const{primitiveElement:f,currentElement:m}=Kf();return Cn(h=>{if(m.value){const g=Hv(m.value);o.itemMap.value.set(g,{ref:m.value,value:c.value}),h(()=>o.itemMap.value.delete(g))}}),()=>Lt(Sc,{...p,[V1]:"",ref:f},d)}}),a=W(()=>
56Array.from(o.itemMap.value.values())),u=W(()=>o.itemMap.value.size);return{getItems:i,reactiveItems:a,itemMapSize:u,CollectionSlot:s,CollectionItem:l}}const jL="rovingFocusGroup.onEntryFocus",HL={bubbles:!1,cancelable:!0},UL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function WL(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function GL(e,t,n){const r=WL(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return UL[r]}function Nk(e,t=!1){const n=vr();for(const r of e)if(r===n||(r.focus({preventScroll:t}),vr()!==n))return}function KL(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const[YL,XL]=Ht("RovingFocusGroup");var QL=pe({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const r=e,o=n,{loop:i,orientation:s,dir:l}=Fn(r),a=Xa(l),u=Lr(r,"currentTabStopId",o,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),c=V(!1),d=V(!1),p=V(0),{getItems:f,CollectionSlot:m}=Ps({isProvider:!0});function h(y){const b=!d.value;if(y.currentTarget&&y.target===y.currentTarget&&b&&!c.value){const x=new CustomEvent(jL,HL);if(y.currentTarget.dispatchEvent(x),o("entryFocus",x),!x.defaultPrevented){const w=f().map(C=>C.ref).filter(C=>C.dataset.disabled!==""),E=w.find(C=>C.getAttribute("data-active")===""),T=w.find(C=>C.getAttribute("data-highlighted")===""),k=w.find(C=>C.id===u.value),S=[E,T,k,...w].filter(Boolean);Nk(S,r.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:f}),XL({loop:i,dir:a,orientation:s,currentTabStopId:u,onItemFocus:y=>{u.value=y},onItemShiftTab:()=>{c.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(y,b)=>(P(),X(v(m),null,{default:D(()=>[K(v(ze),{tabindex:c.value||p.value===0?-1:0,"data-orientation":v(s),as:y.as,"as-child":y.asChild,dir:v(a),style:{outline:"none"},onMousedown:b[0]||(b[0]=x=>d.value=!0),onMouseup:g,onFocus:h,onBlur:b[1]||(b[1]=x=>c.value=!1)},{default:D(()=>[se(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Vk=QL,JL=pe({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=YL(),r=Qr(),o=W(()=>t.tabStopId||r),i=W(()=>n.currentTabStopId.value===o.value),{getItems:s,CollectionItem:l}=Ps();Ve(()=>{t.focusable&&n.onFocusableItemAdd()}),vn(()=>{t.focusable&&n.onFocusableItemRemove()});function a(u){if(u.key==="Tab"&&u.shiftKey){n.onItemShiftTab();return}if(u.target!==u.currentTarget)return;
56const c=GL(u,n.orientation.value,n.dir.value);if(c!==void 0){if(u.metaKey||u.ctrlKey||u.altKey||!t.allowShiftKey&&u.shiftKey)return;u.preventDefault();let d=[...s().map(p=>p.ref).filter(p=>p.dataset.disabled!=="")];if(c==="last")d.reverse();else if(c==="prev"||c==="next"){c==="prev"&&d.reverse();const p=d.indexOf(u.currentTarget);d=n.loop.value?KL(d,p+1):d.slice(p+1)}je(()=>Nk(d))}}return(u,c)=>(P(),X(v(l),null,{default:D(()=>[K(v(ze),{tabindex:i.value?0:-1,"data-orientation":v(n).orientation.value,"data-active":u.active?"":void 0,"data-disabled":u.focusable?void 0:"",as:u.as,"as-child":u.asChild,onMousedown:c[0]||(c[0]=d=>{u.focusable?v(n).onItemFocus(o.value):d.preventDefault()}),onFocus:c[1]||(c[1]=d=>v(n).onItemFocus(o.value)),onKeydown:a},{default:D(()=>[se(u.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),ZL=JL,e4=pe({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(P(),X(v(ze),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:D(()=>[se(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),oh=e4,t4=pe({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:n,currentElement:r}=Kf(),o=W(()=>t.checked??t.value);return we(o,(i,s)=>{if(!r.value)return;const l=r.value,a=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(a,"value").set;if(c&&i!==s){const d=new Event("input",{bubbles:!0}),p=new Event("change",{bubbles:!0});c.call(l,i),l.dispatchEvent(d),l.dispatchEvent(p)}}),(i,s)=>(P(),X(oh,be({ref_key:"primitiveElement",ref:n},{...t,...i.$attrs},{as:"input"}),null,16))}}),z1=t4,n4=pe({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,n=W(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),r=W(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((o,i)=>typeof o=="object"?Object.entries(o).map(([s,l])=>({name:`${t.name}[${i}][${s}]`,value:l})):{name:`${t.name}[${i}]`,value:o}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([o,i])=>({name:`${t.name}[${o}]`,value:i})):[]);return(o,i)=>(P(),B(ye,null,[ae(" We render single input if it's required "),n.value?(P(),X(z1,be({key:o.name},{...t,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(P(!0),B(ye,{key:1},Ce(r.value,s=>(P(),X(z1,be({key:s.name},{ref_for:!0},{...t,...o.$attrs},{name:s.name,value:s.value}),null,16,["name","value"]))),128))],2112))}}),zk=n4;const[r4,o4]=Ht("CheckboxGroupRoot");var i4=pe({__name:"CheckboxGroupRoot",props:{defaultValue:{type:Array,required:!1},modelValue:{type:Array,required:!1},rovingFocus:{type:Boolean,required:!1,default:!0},disabled:{type:Boolean,required:!1},as:{type:null,required:!1},asChild:{type:Boolean,required:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1},loop:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{disabled:o,rovingFocus:i,dir:s}
56=Fn(n),l=Xa(s),{primitiveElement:a,currentElement:u}=Kf(),c=F0(u),d=Lr(n,"modelValue",r,{defaultValue:n.defaultValue??[],passive:n.modelValue===void 0}),p=W(()=>i.value?{loop:n.loop,dir:l.value,orientation:n.orientation}:{});return o4({modelValue:d,rovingFocus:i,disabled:o}),(f,m)=>(P(),X(yr(v(i)?v(Vk):v(ze)),be({ref_key:"primitiveElement",ref:a,as:f.as,"as-child":f.asChild},p.value),{default:D(()=>[se(f.$slots,"default"),v(c)&&f.name?(P(),X(v(zk),{key:0,name:f.name,value:v(d),required:f.required},null,8,["name","value","required"])):ae("v-if",!0)]),_:3},16,["as","as-child"]))}}),s4=i4;function Jf(e){return e==="indeterminate"}function jk(e){return Jf(e)?"indeterminate":e?"checked":"unchecked"}const[l4,a4]=Ht("CheckboxRoot");var u4=pe({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:[Boolean,String],required:!1},modelValue:{type:[Boolean,String,null],required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:"on"},id:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Be(),s=r4(null),l=Lr(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),a=W(()=>s?.disabled.value||n.disabled),u=W(()=>_c(s?.modelValue.value)?l.value==="indeterminate"?"indeterminate":l.value:Cg(s.modelValue.value,n.value));function c(){if(_c(s?.modelValue.value))l.value=Jf(l.value)?!0:!l.value;else{const f=[...s.modelValue.value||[]];if(Cg(f,n.value)){const m=f.findIndex(h=>Ri(h,n.value));f.splice(m,1)}else f.push(n.value);s.modelValue.value=f}}const d=F0(i),p=W(()=>n.id&&i.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return a4({disabled:a,state:u}),(f,m)=>(P(),X(yr(v(s)?.rovingFocus.value?v(ZL):v(ze)),be(f.$attrs,{id:f.id,ref:v(o),role:"checkbox","as-child":f.asChild,as:f.as,type:f.as==="button"?"button":void 0,"aria-checked":v(Jf)(u.value)?"mixed":u.value,"aria-required":f.required,"aria-label":f.$attrs["aria-label"]||p.value,"data-state":v(jk)(u.value),"data-disabled":a.value?"":void 0,disabled:a.value,focusable:v(s)?.rovingFocus.value?!a.value:void 0,onKeydown:kn(St(()=>{},["prevent"]),["enter"]),onClick:c}),{default:D(()=>[se(f.$slots,"default",{modelValue:v(l),state:u.value}),v(d)&&f.name&&!v(s)?(P(),X(v(zk),{key:0,type:"checkbox",checked:!!u.value,name:f.name,value:f.value,disabled:a.value,required:f.required},null,8,["checked","name","value","disabled","required"])):ae("v-if",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"]))}}),c4=u4,d4=pe({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const{forwardRef:t}=Be(),n=l4();return(r,o)=>(P(),X(v(Es),{present:r.forceMount||v(Jf)(v(n).state.value)||v(n).state.value===!0},{default:D(()=>[K(v(ze),be({ref:v(t),"data-state":v(jk)(v(n).state.value),"data-disabled":v(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":r.asChild,as:r.as},r.$attrs),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),f4=d4;const[Hk,p4]=Ht("PopperRoot");var h4=pe({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=V();return p4({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>se(n.$slots,"default")}}),G0=h4,m4=pe({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Be(),o=Hk();return l0(()=>{o.onAnchorChange(t.reference??r.value)}),(i,s)=>(P(),X(v(ze),{ref:v(n),as:i.as,"as-child":i.asChild},{default:D(()=>[se(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),Uk=m4;const g4={key:0,d:"M0 0L6 6L12 0"},v4={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var y4=pe({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(ze),be(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:D(()=>[se(n.$slots,"default",{},()=>
vendor: 3,140 bytes, line 56
56[n.rounded?(P(),B("path",v4)):(P(),B("path",g4))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),b4=y4;function x4(e){return e!==null}function _4(e){return{name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,c]=Ig(n),d={start:"0%",center:"50%",end:"100%"}[c],p=(o.arrow?.x??0)+l/2,f=(o.arrow?.y??0)+a/2;let m="",h="";return u==="bottom"?(m=s?d:`${p}px`,h=`${-a}px`):u==="top"?(m=s?d:`${p}px`,h=`${r.floating.height+a}px`):u==="right"?(m=`${-a}px`,h=s?d:`${f}px`):u==="left"&&(m=`${r.floating.width+a}px`,h=s?d:`${f}px`),{data:{x:m,y:h}}}}}function Ig(e){const[t,n="center"]=e.split("-");return[t,n]}const w4=["top","right","bottom","left"],_s=Math.min,zr=Math.max,Zf=Math.round,Cd=Math.floor,Jo=e=>({x:e,y:e}),S4={left:"right",right:"left",bottom:"top",top:"bottom"},k4={start:"end",end:"start"};function Ag(e,t,n){return zr(e,_s(t,n))}function Bi(e,t){return typeof e=="function"?e(t):e}function Fi(e){return e.split("-")[0]}function Qa(e){return e.split("-")[1]}function K0(e){return e==="x"?"y":"x"}function Y0(e){return e==="y"?"height":"width"}const C4=new Set(["top","bottom"]);function Ko(e){return C4.has(Fi(e))?"y":"x"}function X0(e){return K0(Ko(e))}function T4(e,t,n){n===void 0&&(n=!1);const r=Qa(e),o=X0(e),i=Y0(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ep(s)),[s,ep(s)]}function E4(e){const t=ep(e);return[$g(e),t,$g(t)]}function $g(e){return e.replace(/start|end/g,t=>k4[t])}const j1=["left","right"],H1=["right","left"],P4=["top","bottom"],I4=["bottom","top"];function A4(e,t,n){switch(e){case"top":case"bottom":return n?t?H1:j1:t?j1:H1;case"left":case"right":return t?P4:I4;default:return[]}}function $4(e,t,n,r){const o=Qa(e);let i=A4(Fi(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map($g)))),i}function ep(e){return e.replace(/left|right|bottom|top/g,t=>S4[t])}function M4(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wk(e){return typeof e!="number"?M4(e):{top:e,right:e,bottom:e,left:e}}function tp(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function U1(e,t,n){let{reference:r,floating:o}=e;const i=Ko(t),s=X0(t),l=Y0(s),a=Fi(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let f;switch(a){case"top":f={x:c,y:r.y-o.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(Qa(t)){case"start":f[s]-=p*(n&&u?-1:1);break;case"end":f[s]+=p*(n&&u?-1:1);break}return f}const O4=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=U1(u,r,a),p=r,f={},m=0;for(let h=0;h<l.length;h++){const{name:g,fn:y}=l[h],{x:b,y:x,data:w,reset:E}=await y({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,re
vendor: 13,696 bytes, line 56
56cts:u,platform:s,elements:{reference:e,floating:t}});c=b??c,d=x??d,f={...f,[g]:{...f[g],...w}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:d}=U1(u,p,a)),h=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:f}};async function Cc(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Bi(t,e),m=Wk(f),g=l[p?d==="floating"?"reference":"floating":d],y=tp(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),b=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},E=tp(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:x,strategy:a}):b);return{top:(y.top-E.top+m.top)/w.y,bottom:(E.bottom-y.bottom+m.bottom)/w.y,left:(y.left-E.left+m.left)/w.x,right:(E.right-y.right+m.right)/w.x}}const L4=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=Bi(e,t)||{};if(u==null)return{};const d=Wk(c),p={x:n,y:r},f=X0(o),m=Y0(f),h=await s.getDimensions(u),g=f==="y",y=g?"top":"left",b=g?"bottom":"right",x=g?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[f]-p[f]-i.floating[m],E=p[f]-i.reference[f],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let k=T?T[x]:0;(!k||!await(s.isElement==null?void 0:s.isElement(T)))&&(k=l.floating[x]||i.floating[m]);const S=w/2-E/2,C=k/2-h[m]/2-1,A=_s(d[y],C),M=_s(d[b],C),I=A,$=k-h[m]-M,F=k/2-h[m]/2+S,q=Ag(I,F,$),O=!a.arrow&&Qa(o)!=null&&F!==q&&i.reference[m]/2-(F<I?A:M)-h[m]/2<0,L=O?F<I?F-I:F-$:0;return{[f]:p[f]+L,data:{[f]:q,centerOffset:F-q-L,...O&&{alignmentOffset:L}},reset:O}}}),q4=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=Bi(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Fi(o),b=Ko(l),x=Fi(l)===l,w=await(a.isRTL==null?void 0:a.isRTL(u.floating)),E=p||(x||!h?[ep(l)]:E4(l)),T=m!=="none";!p&&T&&E.push(...$4(l,h,m,w));const k=[l,...E],S=await Cc(t,g),C=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&C.push(S[y]),d){const F=T4(o,s,w);C.push(S[F[0]],S[F[1]])}if(A=[...A,{placement:o,overflows:C}],!C.every(F=>F<=0)){var M,I;const F=(((M=i.flip)==null?void 0:M.index)||0)+1,q=k[F];if(q&&(!(d==="alignment"?b!==Ko(q):!1)||A.every(N=>Ko(N.placement)===b?N.overflows[0]>0:!0)))return{data:{index:F,overflows:A},reset:{placement:q}};let O=(I=A.filter(L=>L.overflows[0]<=0).sort((L,N)=>L.overflows[1]-N.overflows[1])[0])==null?void 0:I.placement;if(!O)switch(f){case"bestFit":{var $;const L=($=A.filter(N=>{if(T){const Z=Ko(N.placement);return Z===b||Z==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(Z=>Z>0).reduce((Z,H)=>Z+H,0)]).sort((N,Z)=>N[1]-Z[1])[0])==null?void 0:$[0];L&&(O=L);break}case"initialPlacement":O=l;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function W1(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G1(e){return w4.some(t=>e[t]>=0)}const R4=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Bi(e,t);switch(r){case"referenceHidden":{const i=await Cc(t,{...o,elementContext:"reference"}),s=W1(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:G1(s)}}}case"escaped":{const i=await Cc(t,{...o,altBoundary:!0}),s=W1(i,n.floating);return{data:{escapedOffsets:s,escaped:G1(s)}}}default:return{}}}}},Gk=new Set(["left","top"]);async function B4(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Fi(n),l=Qa(n),a=Ko(n)==="y",u=Gk.has(s)?-1:1,c=i&&a?-1:1,d=Bi(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),a?{x:f*c,y:p*u}:{x:p*u,y:f*c}}const F4=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await B4(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},D4=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}},...a}=Bi(e,t),u={x:n,y:r},c=await Cc(t,a),d=Ko(Fi(o)),p=K0(d);let f=u[p],m=u[d];if(i){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",b=f+c[g],x=f-c[y];f=Ag(b,f,x)}if(s){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",b=m+c[g],x=m-c[y];m=Ag(b,m,x)}const h=l.fn({...t,[p]:f,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[p]:i,[d]:s}}}}}},N4=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Bi(e,t),c={x:n,y:r},d=Ko(o),p=K0(d);let f=c[p],m=c[d];const h=Bi(l,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(a){const x=p==="y"?"height":"width",w=i.reference[p]-i.floating[x]+g.mainAxis,E=i.reference[p]+i.reference[x]-g.mainAxis;f<w?f=w:f>E&&(f=E)}if(u){var y,b;const x=p==="y"?"width":"height",w=Gk.has(Fi(o)),E=i.reference[d]-i.floating[x]+(w&&((y=s.offset)==null?void 0:y[d])||0)+(w?0:g.crossAxis),T=i.reference[d]+i.reference[x]+(w?0:((b=s.offset)==null?void 0:b[d])||0)-(w?g.crossAxis:0);m<E?m=E:m>T&&(m=T)}return{[p]:f,[d]:m}}}},V4=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Bi(e,t),c=await Cc(t,u),d=Fi(o),p=Qa(o),f=Ko(o)==="y",{width:m,height:h}=i.floating;let g,y;d==="top"||d==="bottom"?(g=d,y=p===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(y=d,g=p==="end"?"top":"bottom");const b=h-c.top-c.bottom,x=m-c.left-c.right,w=_s(h-c[g],b),E=_s(m-c[y],x),T=!t.middlewareData.shift;let k=w,S=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=b),T&&!p){const A=zr(c.left,0),M=zr(c.right,0),I=zr(c.top,0),$=zr(c.bottom,0);f?S=m-2*(A!==0||M!==0?A+M:zr(c.left,c.right)):k=h-2*(I!==0||$!==0?I+$:zr(c.top,c.bottom))}await a({...t,availableWidth:S,availableHeight:k});const C=await s.getDimensions(l.floating);return m!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function ih(){return typeof window<"u"}function $l(e){return Q0(e)?(e.nodeName||"").toLowerCase():"#document"}function Yr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function si(e){var t;return(t=(Q0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Q0(e){return ih()?e instanceof Node||e instanceof Yr(e).Node:!1}function Oo(e){return ih()?e instanceof Element||e instanceof Yr(e).Element:!1}function ri(e){return ih()?e instanceof HTMLElement||e instanceof Yr(e).HTMLElement:!1}function K1(e){return!ih()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Yr(e).ShadowRoot}const z4=new Set(["inline","contents"]);function Qc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Lo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z4.has(o)}const j4=new Set(["table","td","th"]);function H4(e){return j4.has($l(e))}const U4=[":popover-open",":modal"];function sh(e){return U4.some(t=>{try{return e.matches(t)}catch{return!1}})}const W4=["transform","translate","scale","rotate","perspective"],G4=["transform","translate","scale","rotate","perspective","filter"],K4=["paint","layout","strict","content"];function J0(e){const t=Z0(),n=Oo(e)?Lo(e):e;return W4.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||G4.some(r=>(n.willChange||"").includes(r))||K4.some(r=>(n.contain||"").includes(r))}function Y4(e){let t=ws(e);for(;ri(t)&&!qa(t);){if(J0(t))return t;if(sh(t))return null;t=ws(t)}return null}function Z0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const X4=new Set(["html","body","#document"]);function qa(e){return X4.has($l(e))}function Lo(e){return Yr(e).getComputedStyle(e)}function lh(e){return Oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ws(e){if($l(e)==="html")return e;const t=e.assignedSlot||e.parentNode||K1(e)&&e.host||si(e);return K1(t)?t.host:t}function Kk(e){const t=ws(e);return qa(t)?e.ownerDocument?e.ownerDocument.body:e.body:ri(t)&&Qc(t)?t:Kk(t)}function Tc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Kk(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Yr(o);if(i){const l=Mg(s);return t.concat(s,s.visualViewport||[],Qc(o)?o:[],l&&n?Tc(l):[])}return t.concat(o,Tc(o,[],n))}function Mg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Yk(e){const t=Lo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ri(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=Zf(n)!==i||Zf(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function ey(e){return Oo(e)?e:e.contextElement}function pa(e){const t=ey(e);if(!ri(t))return Jo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Yk(t);let s=(i?Zf(n.width):n.width)/r,l=(i?Zf(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Q4=Jo(0);function Xk(e){const t=Yr(e);return!Z0()||!t.visualViewport?Q4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function J4(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Yr(e)?!1:t}function bl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ey(e);let s=Jo(1);t&&(r?Oo(r)&&(s=pa(r)):s=pa(e));const l=J4(i,n,r)?Xk(i):Jo(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const p=Yr(i),f=r&&Oo(r)?Yr(r):r;let m=p,h=Mg(m);for(;h&&r&&f!==m;){const g=pa(h),y=h.getBoundingClientRect(),b=Lo(h),x=y.left+(h.clientLeft+parseFloat(b.paddingLeft))*g.x,w=y.top+(h.clientTop+parseFloat(b.paddingTop))*g.y;a*=g.x,u*=g.y,c*=g.x,d*=g.y,a+=x,u+=w,m=Yr(h),h=Mg(m)}}return tp({width:c,height:d,x:a,y:u})}function ah(e,t){const n=lh(e).scrollLeft;return t?t.left+n:bl(si(e)).left+n}function Qk(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ah(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Z4(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=si(r),l=t?sh(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=Jo(1);const c=Jo(0),d=ri(r);if((d||!d&&!i)&&(($l(r)!=="body"||Qc(s))&&(a=lh(r)),ri(r))){const f=bl(r);u=pa(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}const p=s&&!d&&!i?Qk(s,a):Jo(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-a.scrollTop*u.y+c.y+p.y}}function eq(e){return Array.from(e.getClientRects())}function tq(e){const t=si(e),n=lh(e),r=e.ownerDocument.body,o=zr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=zr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+ah(e);const l=-n.scrollTop;return Lo(r).direction==="rtl"&&(s+=zr(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}const Y1=25;function nq(e,t){const n=Yr(e),r=si(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const c=Z0();(!c||c&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}const u=ah(r);if(u<=0){const c=r.ownerDocument,d=c.body,p=getComputedStyle(d),f=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,m=Math.abs(r.clientWidth-d.clientWidth-f);m<=Y1&&(i-=m)}else u<=Y1&&(i+=u);return{width:i,height:s,x:l,y:a}}const rq=new Set(["absolute","fixed"]);function oq(e,t){const n=bl(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ri(e)?pa(e):Jo(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function X1(e,t,n){let r;if(t==="viewport")r=nq(e,n);else if(t==="document")r=tq(si(e));else if(Oo(t))r=oq(t,n);else{const o=Xk(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return tp(r)}function Jk(e,t){const n=ws(e);return n===t||!Oo(n)||qa(n)?!1:Lo(n).position==="fixed"||Jk(n,t)}function iq(e,t){const n=t.get(e);if(n)return n;let r=Tc(e,[],!1).filter(l=>Oo(l)&&$l(l)!=="body"),o=null;const i=Lo(e).position==="fixed";let s=i?ws(e):e;for(;Oo(s)&&!qa(s);){const l=Lo(s),a=J0(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&rq.has(o.position)||Qc(s)&&!a&&Jk(e,s))?r=r.filter(c=>c!==s):o=l,s=ws(s)}return t.set(e,r),r}function sq(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?sh(t)?[]:iq(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,c)=>{const d=X1(t,c,o);
56return u.top=zr(d.top,u.top),u.right=_s(d.right,u.right),u.bottom=_s(d.bottom,u.bottom),u.left=zr(d.left,u.left),u},X1(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function lq(e){const{width:t,height:n}=Yk(e);return{width:t,height:n}}function aq(e,t,n){const r=ri(t),o=si(t),i=n==="fixed",s=bl(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Jo(0);function u(){a.x=ah(o)}if(r||!r&&!i)if(($l(t)!=="body"||Qc(o))&&(l=lh(t)),r){const f=bl(t,!0,i,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?Qk(o,l):Jo(0),d=s.left+l.scrollLeft-a.x-c.x,p=s.top+l.scrollTop-a.y-c.y;return{x:d,y:p,width:s.width,height:s.height}}function om(e){return Lo(e).position==="static"}function Q1(e,t){if(!ri(e)||Lo(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return si(e)===n&&(n=n.ownerDocument.body),n}function Zk(e,t){const n=Yr(e);if(sh(e))return n;if(!ri(e)){let o=ws(e);for(;o&&!qa(o);){if(Oo(o)&&!om(o))return o;o=ws(o)}return n}let r=Q1(e,t);for(;r&&H4(r)&&om(r);)r=Q1(r,t);return r&&qa(r)&&om(r)&&!J0(r)?n:r||Y4(e)||n}const uq=async function(e){const t=this.getOffsetParent||Zk,n=this.getDimensions,r=await n(e.floating);return{reference:aq(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function cq(e){return Lo(e).direction==="rtl"}const dq={convertOffsetParentRelativeRectToViewportRelativeRect:Z4,getDocumentElement:si,getClippingRect:sq,getOffsetParent:Zk,getElementRects:uq,getClientRects:eq,getDimensions:lq,getScale:pa,isElement:Oo,isRTL:cq};function eC(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fq(e,t){let n=null,r;const o=si(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:p,height:f}=u;if(l||t(),!p||!f)return;const m=Cd(d),h=Cd(o.clientWidth-(c+p)),g=Cd(o.clientHeight-(d+f)),y=Cd(c),x={rootMargin:-m+"px "+-h+"px "+-g+"px "+-y+"px",threshold:zr(0,_s(1,a))||1};let w=!0;function E(T){const k=T[0].intersectionRatio;if(k!==a){if(!w)return s();k?s(!1,k):r=setTimeout(()=>{s(!1,1e-7)},1e3)}k===1&&!eC(u,e.getBoundingClientRect())&&s(),w=!1}try{n=new IntersectionObserver(E,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return s(!0),i}function pq(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=ey(e),c=o||i?[...u?Tc(u):[],...Tc(t)]:[];c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const d=u&&l?fq(u,n):null;let p=-1,f=null;s&&(f=new ResizeObserver(y=>{let[b]=y;b&&b.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=f)==null||x.observe(t)})),n()}),u&&!a&&f.observe(u),f.observe(t));let m,h=a?bl(e):null;a&&g();function g(){const y=bl(e);h&&!eC(h,y)&&n(),h=y,m=requestAnimationFrame(g)}return n(),()=>{var y;c.forEach(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d?.(),(y=f)==null||y.disconnect(),f=null,a&&cancelAnimationFrame(m)}}const hq=F4,mq=D4,J1=q4,gq=V4,vq=R4,yq=L4,bq=N4,xq=(e,t,n)=>{const r=new Map,o={platform:dq,...n},i={...o.platform,_c:r};return O4(e,t,{...o,platform:i})};function _q(e){return e!=null&&typeof e=="object"&&"$el"in e}function Og(e){if(_q(e)){const t=e.$el;return Q0(t)&&$l(t)==="#comment"?null:t}return e}function Ql(e){return typeof e=="function"?e():v(e)}function wq(e){return{name:"arrow",options:e,fn(t){const n=Og(Ql(e.element));return n==null?{}:yq({element:n,padding:e.padding}).fn(t)}}}function tC(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Z1(e,t){const n=tC(e);return Math.round(t*n)/n}function Sq(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=W(()=>{var k;return(k=Ql(n.open))!=null?k:!0}),i=W(()=>Ql(n.middleware)),s=W(()=>{var k;return(k=Ql(n.placement))!=null?k:"bottom"}),l=W(()=>{var k;return(k=Ql(n.strategy))!=null?k:"absolute"}),a=W(()=>{var k;return(k=Ql(n.transform))!=null?k:!0}),u=W(()=>Og(e.value)),c=W(()=>Og(t.value)),d=V(0),p=V(0),f=V(l.value),m=V(s.value),h=ei({}),g=V(!1),y=W(()=>{const k={position:f.value,left:"0",top:"0"};if(!c.value)return k;const S=Z1(c.value,d.value),C=Z1(c.value,p.value);return a.value?{...k,transform:"translate("+S+"px, "+C+"px)",...tC(c.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:S+"px",top:C+"px"}});let b;function x(){if(u.value==null||c.value==null)return;const k=o.value;xq(u.value,c.value,{middleware:i.value,placement:s.value,strategy:l.value}).then(S=>{d.value=S.x,p.value=S.y,f.value=S.strategy,m.value=S.placement,h.value=S.middlewareData,g.value=k!==!1})}function w(){typeof b=="function"&&(b(),b=void 0)}
56function E(){if(w(),r===void 0){x();return}if(u.value!=null&&c.value!=null){b=r(u.value,c.value,x);return}}function T(){o.value||(g.value=!1)}return we([i,s,l,o],x,{flush:"sync"}),we([u,c],E,{flush:"sync"}),we(o,T,{flush:"sync"}),Ua()&&Op(w),{x:js(d),y:js(p),strategy:js(f),placement:js(m),middlewareData:js(h),isPositioned:js(g),floatingStyles:y,update:x}}const nC={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[kq,Cq]=Ht("PopperContent");var Tq=pe({inheritAttrs:!1,__name:"PopperContent",props:n0({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...nC}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=Hk(),{forwardRef:i,currentElement:s}=Be(),l=V(),a=V(),{width:u,height:c}=O8(a),d=W(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=W(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=W(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=W(()=>({padding:p.value,boundary:f.value.filter(x4),altBoundary:f.value.length>0})),h=W(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=d8(()=>[hq({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&J1({...m.value,...h.value}),n.avoidCollisions&&mq({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?bq():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&J1({...m.value,...h.value}),gq({...m.value,apply:({elements:I,rects:$,availableWidth:F,availableHeight:q})=>{const{width:O,height:L}=$.reference,N=I.floating.style;N.setProperty("--reka-popper-available-width",`${F}px`),N.setProperty("--reka-popper-available-height",`${q}px`),N.setProperty("--reka-popper-anchor-width",`${O}px`),N.setProperty("--reka-popper-anchor-height",`${L}px`)}}),a.value&&wq({element:a.value,padding:n.arrowPadding}),_4({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&vq({strategy:"referenceHidden",...m.value})]),y=W(()=>n.reference??o.anchor.value),{floatingStyles:b,placement:x,isPositioned:w,middlewareData:E}=Sq(y,l,{strategy:n.positionStrategy,placement:d,whileElementsMounted:(...I)=>pq(...I,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),T=W(()=>Ig(x.value)[0]),k=W(()=>Ig(x.value)[1]);l0(()=>{w.value&&r("placed")});const S=W(()=>E.value.arrow?.centerOffset!==0),C=V("");Cn(()=>{s.value&&(C.value=window.getComputedStyle(s.value).zIndex)});const A=W(()=>E.value.arrow?.x??0),M=W(()=>E.value.arrow?.y??0);return Cq({placedSide:T,onArrowChange:I=>a.value=I,arrowX:A,arrowY:M,shouldHideArrow:S}),(I,$)=>(P(),B("div",{ref_key:"floatingRef",ref:l,"data-reka-popper-content-wrapper":"",style:gn({...v(b),transform:v(w)?v(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:C.value,"--reka-popper-transform-origin":[v(E).transformOrigin?.x,v(E).transformOrigin?.y].join(" "),...v(E).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[K(v(ze),be({ref:v(i)},I.$attrs,{"as-child":n.asChild,as:I.as,"data-side":T.value,"data-align":k.value,style:{animation:v(w)?void 0:"none"}}),{default:D(()=>[se(I.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),rC=Tq;
56const Eq={top:"bottom",right:"left",bottom:"top",left:"right"};var Pq=pe({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=Be(),n=kq(),r=W(()=>Eq[n.placedSide.value]);return(o,i)=>(P(),B("span",{ref:s=>{v(n).onArrowChange(s)},style:gn({position:"absolute",left:v(n).arrowX?.value?`${v(n).arrowX?.value}px`:void 0,top:v(n).arrowY?.value?`${v(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[v(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[v(n).placedSide.value],visibility:v(n).shouldHideArrow.value?"hidden":void 0})},[K(b4,be(o.$attrs,{ref:v(t),style:{display:"block"},as:o.as,"as-child":o.asChild,rounded:o.rounded,width:o.width,height:o.height}),{default:D(()=>[se(o.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),oC=Pq,Iq=pe({__name:"MenuAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(Uk),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),iC=Iq,Aq=pe({__name:"MenuArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(oC),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),$q=Aq;function Mq(){const e=V(!1);return Ve(()=>{wc("keydown",()=>{e.value=!0},{capture:!0,passive:!0}),wc(["pointerdown","pointermove"],()=>{e.value=!1},{capture:!0,passive:!0})}),e}const Oq=wk(Mq),[Ml,sC]=Ht(["MenuRoot","MenuSub"],"MenuContext"),[Jc,Lq]=Ht("MenuRoot");var qq=pe({__name:"MenuRoot",props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,{modal:o,dir:i}=Fn(n),s=Xa(i),l=Lr(n,"open",r),a=V(),u=Oq();return sC({open:l,onOpenChange:c=>{l.value=c},content:a,onContentChange:c=>{a.value=c}}),Lq({onClose:()=>{l.value=!1},isUsingKeyboardRef:u,dir:s,modal:o}),(c,d)=>(P(),X(v(G0),null,{default:D(()=>[se(c.$slots,"default")]),_:3}))}}),Rq=qq;const[ty,Bq]=Ht("MenuContent");var Fq=pe({__name:"MenuContentImpl",props:n0({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...nC}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const n=e,r=t,o=Ml(),i=Jc(),{trapFocus:s,disableOutsidePointerEvents:l,loop:a}=Fn(n);Ck(),B0(l.value);const u=V(""),c=V(0),d=V(0),p=V(null),f=V("right"),m=V(0),h=V(null),g=V(),{forwardRef:y,currentElement:b}=Be(),{handleTypeaheadSearch:x}=N0();we(b,C=>{o.onContentChange(C)}),vn(()=>{window.clearTimeout(c.value)});function w(C){return f.value===p.value?.side&&PL(C,p.value?.area)}async function E(C){r("openAutoFocus",C),!C.defaultPrevented&&(C.preventDefault(),b.value?.focus({preventScroll:!0}))}function T(C){if(C.defaultPrevented)return;const M=C.target.closest("[data-reka-menu-content]")===C.currentTarget,I=C.ctrlKey||C.altKey||C.metaKey,$=C.key.length===1,F=bk(C,vr(),b.value,{loop:a.value,arrowKeyOptions:"vertical",dir:i?.dir.value,focus:!0,attributeName:"[data-reka-collection-item]:not([data-disabled])"});if(F)return F?.focus();if(C.code==="Space")return;const q=g.value?.getItems()??[];if(M&&(C.key==="Tab"&&C.preventDefault(),!I&&$&&x(C.key,q)),C.target!==b.value||!kL.includes(C.key))return;C.preventDefault();const O=[...q.map(L=>
56L.ref)];Lk.includes(C.key)&&O.reverse(),Pg(O)}function k(C){C?.currentTarget?.contains?.(C.target)||(window.clearTimeout(c.value),u.value="")}function S(C){if(!kc(C))return;const A=C.target,M=m.value!==C.clientX;if(C?.currentTarget?.contains(A)&&M){const I=C.clientX>m.value?"right":"left";f.value=I,m.value=C.clientX}}return Bq({onItemEnter:C=>!!w(C),onItemLeave:C=>{w(C)||(b.value?.focus(),h.value=null)},onTriggerLeave:C=>!!w(C),searchRef:u,pointerGraceTimerRef:d,onPointerGraceIntentChange:C=>{p.value=C}}),(C,A)=>(P(),X(v(j0),{"as-child":"",trapped:v(s),onMountAutoFocus:E,onUnmountAutoFocus:A[7]||(A[7]=M=>r("closeAutoFocus",M))},{default:D(()=>[K(v(z0),{"as-child":"","disable-outside-pointer-events":v(l),onEscapeKeyDown:A[2]||(A[2]=M=>r("escapeKeyDown",M)),onPointerDownOutside:A[3]||(A[3]=M=>r("pointerDownOutside",M)),onFocusOutside:A[4]||(A[4]=M=>r("focusOutside",M)),onInteractOutside:A[5]||(A[5]=M=>r("interactOutside",M)),onDismiss:A[6]||(A[6]=M=>r("dismiss"))},{default:D(()=>[K(v(Vk),{ref_key:"rovingFocusGroupRef",ref:g,"current-tab-stop-id":h.value,"onUpdate:currentTabStopId":A[0]||(A[0]=M=>h.value=M),"as-child":"",orientation:"vertical",dir:v(i).dir.value,loop:v(a),onEntryFocus:A[1]||(A[1]=M=>{r("entryFocus",M),v(i).isUsingKeyboardRef.value||M.preventDefault()})},{default:D(()=>[K(v(rC),{ref:v(y),role:"menu",as:C.as,"as-child":C.asChild,"aria-orientation":"vertical","data-reka-menu-content":"","data-state":v(H0)(v(o).open.value),dir:v(i).dir.value,side:C.side,"side-offset":C.sideOffset,align:C.align,"align-offset":C.alignOffset,"avoid-collisions":C.avoidCollisions,"collision-boundary":C.collisionBoundary,"collision-padding":C.collisionPadding,"arrow-padding":C.arrowPadding,"prioritize-position":C.prioritizePosition,"position-strategy":C.positionStrategy,"update-position-strategy":C.updatePositionStrategy,sticky:C.sticky,"hide-when-detached":C.hideWhenDetached,reference:C.reference,onKeydown:T,onBlur:k,onPointermove:S},{default:D(()=>[se(C.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","position-strategy","update-position-strategy","sticky","hide-when-detached","reference"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),ny=Fq,Dq=pe({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=ty(),{forwardRef:r}=Be(),{CollectionItem:o}=Ps(),i=V(!1);async function s(a){a.defaultPrevented||kc(a)&&(t.disabled?n.onItemLeave(a):n.onItemEnter(a)||a.currentTarget?.focus({preventScroll:!0}))}async function l(a){await je(),!a.defaultPrevented&&kc(a)&&n.onItemLeave(a)}return(a,u)=>(P(),X(v(o),{value:{textValue:a.textValue}},{default:D(()=>[K(v(ze),be({ref:v(r),role:"menuitem",tabindex:"-1"},a.$attrs,{as:a.as,"as-child":a.asChild,"aria-disabled":a.disabled||void 0,"data-disabled":a.disabled?"":void 0,"data-highlighted":i.value?"":void 0,onPointermove:s,onPointerleave:l,onFocus:u[0]||(u[0]=async c=>{await je(),!(c.defaultPrevented||a.disabled)&&(i.value=!0)}),onBlur:u[1]||(u[1]=async c=>{await je(),!c.defaultPrevented&&(i.value=!1)})}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),lC=Dq,Nq=pe({__name:"MenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Be(),s=Jc(),l=ty(),a=V(!1);async function u(){const c=i.value;if(!n.disabled&&c){const d=new CustomEvent(wL,{bubbles:!0,cancelable:!0});r("select",d),await je(),d.defaultPrevented?a.value=!1:s.onClose()}}return(c,d)=>(P(),X(lC,be(n,{ref:v(o),onClick:u,onPointerdown:d[0]||(d[0]=()=>{a.value=!0}),onPointerup:d[1]||(d[1]=async p=>{await je(),!p.defaultPrevented&&(a.value||p.currentTarget?.click())}),onKeydown:d[2]||(d[2]=async p=>{const f=v(l).searchRef.value!=="";c.disabled||f&&p.key===" "||v(Eg).includes(p.key)&&(p.currentTarget.click(),p.preventDefault())})}),{default:D(()=>[se(c.$slots,"default")]),_:3},16))}}),ry=Nq;const[Vq,aC]=Ht(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext");var zq=pe({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=Vq({modelValue:V(!1)});return(n,r)=>(P(),X(v(Es),{present:n.forceMount||v(Yf)(v(t).modelValue.value)||v(t).modelValue.value===!0},{default:D(()=>[K(v(ze),{as:n.as,"as-child":n.asChild,"data-state":v(U0)(v(t).modelValue.value)},{default:D(()=>[se(n.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),jq=zq,Hq=pe({__name:"MenuCheckboxItem",props:{modelValue:{type:[Boolean,String],required:!1,default:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Lr(n,"modelValue",r);return aC({modelValue:o}),(i,s)=>(P(),X(ry,be({role:"menuitemcheckbox"}
56,n,{"aria-checked":v(Yf)(v(o))?"mixed":v(o),"data-state":v(U0)(v(o)),onSelect:s[0]||(s[0]=async l=>{r("select",l),v(Yf)(v(o))?o.value=!0:o.value=!v(o)})}),{default:D(()=>[se(i.$slots,"default",{modelValue:v(o)})]),_:3},16,["aria-checked","data-state"]))}}),Uq=Hq,Wq=pe({__name:"MenuRootContentModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Vn(n,r),i=Ml(),{forwardRef:s,currentElement:l}=Be();return D0(l),(a,u)=>(P(),X(ny,be(v(o),{ref:v(s),"trap-focus":v(i).open.value,"disable-outside-pointer-events":v(i).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=c=>v(i).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=St(c=>r("focusOutside",c),["prevent"]))}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),Gq=Wq,Kq=pe({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const o=Vn(e,t),i=Ml();return(s,l)=>(P(),X(ny,be(v(o),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:l[0]||(l[0]=a=>v(i).onOpenChange(!1))}),{default:D(()=>[se(s.$slots,"default")]),_:3},16))}}),Yq=Kq,Xq=pe({__name:"MenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const o=Vn(e,t),i=Ml(),s=Jc();return(l,a)=>(P(),X(v(Es),{present:l.forceMount||v(i).open.value},{default:D(()=>[v(s).modal.value?(P(),X(Gq,ct(be({key:0},{...l.$attrs,...v(o)})),{default:D(()=>[se(l.$slots,"default")]),_:3},16)):(P(),X(Yq,ct(be({key:1},{...l.$attrs,...v(o)}
56)),{default:D(()=>[se(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Qq=Xq,Jq=pe({__name:"MenuGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(ze),be({role:"group"},t),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),uC=Jq,Zq=pe({__name:"MenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e;return(n,r)=>(P(),X(v(ze),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),e6=Zq,t6=pe({__name:"MenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(W0),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),n6=t6;const[r6,o6]=Ht("MenuRadioGroup");var i6=pe({__name:"MenuRadioGroup",props:{modelValue:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=Lr(n,"modelValue",t);return o6({modelValue:o,onValueChange:i=>{o.value=i}}),(i,s)=>(P(),X(uC,ct(_t(n)),{default:D(()=>[se(i.$slots,"default",{modelValue:v(o)})]),_:3},16))}}),s6=i6,l6=pe({__name:"MenuRadioItem",props:{value:{type:String,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{value:o}=Fn(n),i=r6(),s=W(()=>i.modelValue.value===o?.value);return aC({modelValue:s}),(l,a)=>(P(),X(ry,be({role:"menuitemradio"},n,{"aria-checked":s.value,"data-state":v(U0)(s.value),onSelect:a[0]||(a[0]=async u=>{r("select",u),v(i).onValueChange(v(o))})}),{default:D(()=>[se(l.$slots,"default")]),_:3},16,["aria-checked","data-state"]))}}),a6=l6,u6=pe({__name:"MenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(ze),be(t,{role:"separator","aria-orientation":"horizontal"}),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),c6=u6;const[cC,d6]=Ht("MenuSub");var f6=pe({__name:"MenuSub",props:{open:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=Lr(n,"open",t,{defaultValue:!1,passive:n.open===void 0}),i=Ml(),s=V(),l=V();return Cn(a=>{i?.open.value===!1&&(o.value=!1),a(()=>o.value=!1)}),sC({open:o,onOpenChange:a=>{o.value=a},content:l,onContentChange:a=>{l.value=a}}),d6({triggerId:"",contentId:"",trigger:s,onTriggerChange:a=>{s.value=a}}),(a,u)=>(P(),X(v(G0),null,{default:D(()=>[se(a.$slots,"default")]),_:3}))}}),p6=f6,h6=pe({__name:"MenuSubContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1,default:!0},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const o=Vn(e,t),i=Ml(),s=Jc(),l=cC(),{forwardRef:a,currentElement:u}=Be();return l.contentId||=Qr(void 0,"reka-menu-sub-content"),(c,d)=>(P(),X(v(Es),{present:c.forceMount||v(i).open.value},{default:D(()=>[K(ny,be(v(o),{id:v(l).contentId,ref:v(a),"aria-labelledby":v(l).triggerId,align:"start",side:v(s).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:d[0]||(d[0]=St(p=>{v(s).isUsingKeyboardRef.value&&v(u)?.focus()},["prevent"])),onCloseAutoFocus:d[1]||(d[1]=St(()=>{},["prevent"])),onFocusOutside:d[2]||(d[2]=p=>{p.defaultPrevented||p.target!==v(l).trigger.value&&v(i).onOpenChange(!1)}),onEscapeKeyDown:d[3]||(d[3]=p=>{v(s).onClose(),p.preventDefault()}
56),onKeydown:d[4]||(d[4]=p=>{const f=p.currentTarget?.contains(p.target),m=v(TL)[v(s).dir.value].includes(p.key);f&&m&&(v(i).onOpenChange(!1),v(l).trigger.value?.focus(),p.preventDefault())})}),{default:D(()=>[se(c.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),m6=h6,g6=pe({__name:"MenuSubTrigger",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Ml(),r=Jc(),o=cC(),i=ty(),s=V(null);o.triggerId||=Qr(void 0,"reka-menu-sub-trigger");function l(){s.value&&window.clearTimeout(s.value),s.value=null}vn(()=>{l()});function a(d){!kc(d)||i.onItemEnter(d)||!t.disabled&&!n.open.value&&!s.value&&(i.onPointerGraceIntentChange(null),s.value=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))}async function u(d){if(!kc(d))return;l();const p=n.content.value?.getBoundingClientRect();if(p?.width){const f=n.content.value?.dataset.side,m=f==="right",h=m?-5:5,g=p[m?"left":"right"],y=p[m?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+h,y:d.clientY},{x:g,y:p.top},{x:y,y:p.top},{x:y,y:p.bottom},{x:g,y:p.bottom}],side:f}),window.clearTimeout(i.pointerGraceTimerRef.value),i.pointerGraceTimerRef.value=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d))return;i.onPointerGraceIntentChange(null)}}async function c(d){const p=i.searchRef.value!=="";t.disabled||p&&d.key===" "||CL[r.dir.value].includes(d.key)&&(n.onOpenChange(!0),await je(),n.content.value?.focus(),d.preventDefault())}return(d,p)=>(P(),X(iC,{"as-child":""},{default:D(()=>[K(lC,be(t,{id:v(o).triggerId,ref:f=>{v(o)?.onTriggerChange(f?.$el)},"aria-haspopup":"menu","aria-expanded":v(n).open.value,"aria-controls":v(o).contentId,"data-state":v(H0)(v(n).open.value),onClick:p[0]||(p[0]=async f=>{t.disabled||f.defaultPrevented||(f.currentTarget.focus(),v(n).open.value||v(n).onOpenChange(!0))}),onPointermove:a,onPointerleave:u,onKeydown:c}),{default:D(()=>[se(d.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),v6=g6,y6=pe({__name:"DropdownMenuArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v($q),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),dC=y6,b6=pe({__name:"DropdownMenuCheckboxItem",props:{modelValue:{type:[Boolean,String],required:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select","update:modelValue"],setup(e,{emit:t}){const n=e,o=Il(t);return Be(),(i,s)=>(P(),X(v(Uq),ct(_t({...n,...v(o)})),{default:D(()=>[se(i.$slots,"default")]),_:3},16))}}),x6=b6;const[fC,_6]=Ht("DropdownMenuRoot");var w6=pe({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Be();const o=Lr(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=V(),{modal:s,dir:l}=Fn(n),a=Xa(l);return _6({open:o,onOpenChange:u=>{o.value=u},onOpenToggle:()=>{o.value=!o.value},triggerId:"",triggerElement:i,contentId:"",modal:s,dir:a}),(u,c)=>(P(),X(v(Rq),{open:v(o),"onUpdate:open":c[0]||(c[0]=d=>$t(o)?o.value=d:null),dir:v(a),modal:v(s)},{default:D(()=>[se(u.$slots,"default",{open:v(o)})]),_:3},8,["open","dir","modal"]))}}),pC=w6,S6=pe({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const o=Vn(e,t);Be();const i=fC(),s=V(!1);function l(a){a.defaultPrevented||(s.value||setTimeout(()=>{i.triggerElement.value?.focus()},0),s.value=!1,a.preventDefault())}return i.contentId||=Qr(void 0,"reka-dropdown-menu-content"),(a,u)=>(P(),X(v(Qq),be(v(o),{id:v(i).contentId,"aria-labelledby":v(i)?.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:l,onInteractOutside:u[0]||(u[0]=c=>{if(c.defaultPrevented)return;const d=c.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0,f=d.button===2||p;(!v(i).modal.value||f)&&(s.value=!0),v(i).triggerElement.value?.contains(c.target)&&c.preventDefault()})}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),k6=S6,C6=pe({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(uC),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),T6=C6,E6=pe({__name:"DropdownMenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,o=Il(t);return Be(),(i,s)=>(P(),X(v(ry),ct(_t({...n,...v(o)}
56)),{default:D(()=>[se(i.$slots,"default")]),_:3},16))}}),P6=E6,I6=pe({__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(jq),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),A6=I6,$6=pe({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(e6),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),M6=$6,O6=pe({__name:"DropdownMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(n6),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),L6=O6,q6=pe({__name:"DropdownMenuRadioGroup",props:{modelValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=Il(t);return Be(),(i,s)=>(P(),X(v(s6),ct(_t({...n,...v(o)})),{default:D(()=>[se(i.$slots,"default")]),_:3},16))}}),R6=q6,B6=pe({__name:"DropdownMenuRadioItem",props:{value:{type:String,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const o=Vn(e,t);return Be(),(i,s)=>(P(),X(v(a6),ct(_t(v(o))),{default:D(()=>[se(i.$slots,"default")]),_:3},16))}}),F6=B6,D6=pe({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(c6),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),N6=D6,V6=pe({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=Lr(n,"open",t,{passive:n.open===void 0,defaultValue:n.defaultOpen??!1});return Be(),(i,s)=>(P(),X(v(p6),{open:v(o),"onUpdate:open":s[0]||(s[0]=l=>$t(o)?o.value=l:null)},{default:D(()=>[se(i.$slots,"default",{open:v(o)})]),_:3},8,["open"]))}}),z6=V6,j6=pe({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const o=Vn(e,t);return Be(),(i,s)=>(P(),X(v(m6),be(v(o),{style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:D(()=>[se(i.$slots,"default")]),_:3},16))}}),H6=j6,U6=pe({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(v6),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),W6=U6,G6=pe({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=fC(),{forwardRef:r,currentElement:o}=Be();return Ve(()=>{n.triggerElement=o}),n.triggerId||=Qr(void 0,"reka-dropdown-menu-trigger"),(i,s)=>(P(),X(v(iC),{"as-child":""},{default:D(()=>[K(v(ze),{id:v(n).triggerId,ref:v(r),type:i.as==="button"?"button":void 0,"as-child":t.asChild,as:i.as,"aria-haspopup":"menu","aria-expanded":v(n).open.value,"aria-controls":v(n).open.value?v(n).contentId:void 0,"data-disabled":i.disabled?"":void 0,disabled:i.disabled,"data-state":v(n).open.value?"open":"closed",onClick:s[0]||(s[0]=async l=>{!i.disabled&&l.button===0&&l.ctrlKey===!1&&(v(n)?.onOpenToggle(),await je(),v(n).open.value&&l.preventDefault())}),onKeydown:s[1]||(s[1]=kn(l=>{i.disabled||(["Enter"," "].includes(l.key)&&v(n).onOpenToggle(),l.key==="ArrowDown"&&v(n).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())},["enter","space","arrow-down"]))},{default:D(()=>[se(i.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),hC=G6,K6=pe({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return Be(),(n,r)=>(P(),X(v(ze),be(t,{onMousedown:r[0]||(r[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),Lg=K6,Y6=pe({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=V();return we(()=>t.value,(r,o)=>{const i=window.HTMLSelectElement.prototype,l=Object.getOwnPropertyDescriptor(i,"value").set;if(r!==o&&l&&n.value){const a=new Event("change",{bubbles:!0});l.call(n.value,r),n.value.dispatchEvent(a)}}),(r,o)=>(P(),X(v(oh),{"as-child":""},{default:D(()=>[_("select",be({ref_key:"selectElement",ref:n},t),[se(r.$slots,"default")],16)]),_:3}))}}),X6=Y6;const Q6=[" ","Enter","ArrowUp","ArrowDown"],J6=[" ","Enter"],Vo=10;
56function np(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(r=>qg(r,t,n)):qg(e,t,n)}function qg(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?e?.[n]===t?.[n]:Ri(e,t)}function Z6(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const e7={key:0,value:""},[Ol,mC]=Ht("SelectRoot");var t7=pe({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,r=t,{required:o,disabled:i,multiple:s,dir:l}=Fn(n),a=Lr(n,"modelValue",r,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),u=Lr(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),c=V(),d=V(),p=V({x:0,y:0}),f=W(()=>s.value&&Array.isArray(a.value)?a.value?.length===0:_c(a.value));Ps({isProvider:!0});const m=Xa(l),h=F0(c),g=V(new Set),y=W(()=>Array.from(g.value).map(w=>w.value).join(";"));function b(w){if(s.value){const E=Array.isArray(a.value)?[...a.value]:[],T=E.findIndex(k=>qg(k,w,n.by));T===-1?E.push(w):E.splice(T,1),a.value=[...E]}else a.value=w}function x(w){return Array.from(g.value).find(E=>np(w,E.value,n.by))}return mC({triggerElement:c,onTriggerChange:w=>{c.value=w},valueElement:d,onValueElementChange:w=>{d.value=w},contentId:"",modelValue:a,onValueChange:b,by:n.by,open:u,multiple:s,required:o,onOpenChange:w=>{u.value=w},dir:m,triggerPointerDownPosRef:p,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:w=>{const E=x(w.value);E&&g.value.delete(E),g.value.add(w)},onOptionRemove:w=>{const E=x(w.value);E&&g.value.delete(E)}}),(w,E)=>(P(),X(v(G0),null,{default:D(()=>[se(w.$slots,"default",{modelValue:v(a),open:v(u)}),v(h)?(P(),X(X6,{key:y.value,"aria-hidden":"true",tabindex:"-1",multiple:v(s),required:v(o),name:w.name,autocomplete:w.autocomplete,disabled:v(i),value:v(a)},{default:D(()=>[v(_c)(v(a))?(P(),B("option",e7)):ae("v-if",!0),(P(!0),B(ye,null,Ce(Array.from(g.value),T=>
56(P(),B("option",be({key:T.value??""},{ref_for:!0},T),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):ae("v-if",!0)]),_:3}))}}),n7=t7,r7=pe({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Vo},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=Al(e);return(r,o)=>(P(),X(v(rC),be(v(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:D(()=>[se(r.$slots,"default")]),_:3},16))}}),o7=r7;const gC={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[uh,vC]=Ht("SelectContent");var i7=pe({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Ol();Ck(),B0(n.bodyLock);const{CollectionSlot:i,getItems:s}=Ps(),l=V();D0(l);const{search:a,handleTypeaheadSearch:u}=N0(),c=V(),d=V(),p=V(),f=V(!1),m=V(!1),h=V(!1);function g(){d.value&&l.value&&Pg([d.value,l.value])}we(f,()=>{g()});const{onOpenChange:y,triggerPointerDownPosRef:b}=o;Cn(T=>{if(!l.value)return;let k={x:0,y:0};const S=A=>{k={x:Math.abs(Math.round(A.pageX)-(b.value?.x??0)),y:Math.abs(Math.round(A.pageY)-(b.value?.y??0))}},C=A=>{A.pointerType!=="touch"&&(k.x<=10&&k.y<=10?A.preventDefault():l.value?.contains(A.target)||y(!1),document.removeEventListener("pointermove",S),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",S),document.addEventListener("pointerup",C,{capture:!0,once:!0})),T(()=>{document.removeEventListener("pointermove",S),document.removeEventListener("pointerup",C,{capture:!0})})});function x(T){const k=T.ctrlKey||T.altKey||T.metaKey;if(T.key==="Tab"&&T.preventDefault(),!k&&T.key.length===1&&u(T.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(T.key)){let C=[...s().map(A=>A.ref)];if(["ArrowUp","End"].includes(T.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(T.key)){const A=T.target,M=C.indexOf(A);C=C.slice(M+1)}setTimeout(()=>Pg(C)),T.preventDefault()}}const w=W(()=>n.position==="popper"?n:{}),E=Al(w.value);return vC({content:l,viewport:c,onViewportChange:T=>{c.value=T},itemRefCallback:(T,k,S)=>{const C=!m.value&&!S,A=np(o.modelValue.value,k,o.by);if(o.multiple.value){if(h.value)return;(A||C)&&(d.value=T,A&&(h.value=!0))}else(A||C)&&(d.value=T);C&&(m.value=!0)},selectedItem:d,selectedItemText:p,onItemLeave:()=>{l.value?.focus()},itemTextRefCallback:(T,k,S)=>{const C=!m.value&&!S;(np(o.modelValue.value,k,o.by)||C)&&(p.value=T)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:a}),(T,k)=>(P(),X(v(i),null,{default:D(()=>[K(v(j0),{"as-child":"",onMountAutoFocus:k[6]||(k[6]=St(()=>{},["prevent"])),onUnmountAutoFocus:k[7]||(k[7]=S=>{r("closeAutoFocus",S),!S.defaultPrevented&&(v(o).triggerElement.value?.focus({preventScroll:!0}),S.preventDefault())})},{default:D(()=>[K(v(z0),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:k[2]||(k[2]=St(()=>{},["prevent"])),onDismiss:k[3]||(k[3]=S=>v(o).onOpenChange(!1)),onEscapeKeyDown:k[4]||(k[4]=S=>r("escapeKeyDown",S)),onPointerDownOutside:k[5]||(k[5]=S=>r("pointerDownOutside",S))},{default:D(()=>[(P(),X(yr(T.position==="popper"?o7:u7),be({...T.$attrs,...v(E)},{id:v(o).contentId,ref:S=>{const C=v(ni)(S);C?.hasAttribute("data-reka-popper-content-wrapper")?l.value=C.firstElementChild:l.value=C},role:"listbox","data-state":v(o).open.value?"open":"closed",dir:v(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:k[0]||(k[0]=St(()=>{},["prevent"])),onPlaced:k[1]||(k[1]=S=>f.value=!0),onKeydown:x}),{default:D(()=>[se(T.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3})]),_:3}))}}),s7=i7;const[qre,l7]=Ht("SelectItemAlignedPosition");var a7=pe({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,r=t,{getItems:o}=Ps(),i=Ol(),s=uh(),l=V(!1),a=V(!0),u=V(),{forwardRef:c,currentElement:d}=Be(),{viewport:p,selectedItem:f,selectedItemText:m,focusSelectedItem:h}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&u.value&&d.value&&p?.value&&f?.value&&m?.value){const x=i.triggerElement.value.getBoundingClientRect(),w=d.value.getBoundingClientRect(),E=i.valueElement.value.getBoundingClientRect(),T=m.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const ie=T.left-w.left,Q=E.left-ie,Y=x.left-Q,J=x.width+Y,de=Math.max(J,w.width),he=window.innerWidth-Vo,R=q1(Q,Vo,Math.max(Vo,he-de));u.value.style.minWidth=`${J}px`,u.value.style.left=`${R}px`}else{const ie=w.right-T.right,Q=window.innerWidth-E.right-ie,Y=window.innerWidth-x.right-Q,J=x.width+Y,de=Math.max(J,w.width),he=window.innerWidth-Vo,R=q1(Q,Vo,Math.max(Vo,he-de));u.value.style.minWidth=`${J}px`,u.value.style.right=`${R}px`}const k=o().map(ie=>ie.ref),S=window.innerHeight-Vo*2,C=p.value.scrollHeight,A=window.getComputedStyle(d.value),M=Number.parseInt(A.borderTopWidth,10),I=Number.parseInt(A.paddingTop,10),$=Number.parseInt(A.borderBottomWidth,10),F=Number.parseInt(A.paddingBottom,10),q=M+I+C+F+$,O=Math.min(f.value.offsetHeight*5,q),L=window.getComputedStyle(p.value),N=Number.parseInt(L.paddingTop,10),Z=Number.parseInt(L.paddingBottom,10),H=x.top+x.height/2-Vo,G=S-H,oe=f.value.offsetHeight/2,ce=f.value.offsetTop+oe,ee=M+I+ce,ge=q-ee;if(ee<=H){const ie=f.value===k[k.length-1];u.value.style.bottom="0px";const Q=d.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,Y=Math.max(G,oe+(ie?Z:0)+Q+$),J=ee+Y;u.value.style.height=`${J}px`}else{const ie=f.value===k[0];u.value.style.top="0px";const Y=Math.max(H,M+p.value.offsetTop+(ie?N:0)+oe)+ge;u.value.style.height=`${Y}px`,p.value.scrollTop=ee-H+p.value.offsetTop}u.value.style.margin=`${Vo}px 0`,u.value.style.minHeight=`${O}px`,u.value.style.maxHeight=`${S}px`,r("placed"),requestAnimationFrame(()=>l.value=!0)}}const y=V("");Ve(async()=>{await je(),g(),d.value&&(y.value=window.getComputedStyle(d.value).zIndex)});function b(x){x&&a.value===!0&&(g(),h?.(),a.value=!1)}return T8(i.triggerElement,()=>{g()}),l7({contentWrapper:u,shouldExpandOnScrollRef:l,onScrollButtonChange:b}),(x,w)=>(P(),B("div",{ref_key:"contentWrapperElement",ref:u,style:gn({display:"flex",flexDirection:"column",position:"fixed",zIndex:y.value})},[K(v(ze),be({ref:v(c),style:{boxSizing:"border-box",maxHeight:"100%"}},{...x.$attrs,...n}),{default:D(()=>[se(x.$slots,"default")]),_:3},16)],4))}}),u7=a7,c7=pe({__name:"SelectArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e,n=Ol(),r=uh(gC);return(o,i)=>v(n).open.value&&v(r).position==="popper"?(P(),X(v(oC),ct(be({key:0},t)),{default:D(()=>[se(o.$slots,"default")]),_:3},16)):ae("v-if",!0)}}),d7=c7,f7=pe({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return mC(e.context),vC(gC),(n,r)=>se(n.$slots,"default")}}),p7=f7;const h7={key:1};var m7=pe({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=Vn(n,t),i=Ol(),s=V();Ve(()=>{s.value=new DocumentFragment});const l=V(),a=W(()=>n.forceMount||i.open.value),u=V(a.value);return we(a,()=>{setTimeout(()=>u.value=a.value)}),(c,d)=>a.value||u.value||l.value?.present?(P(),X(v(Es),{key:0,ref_key:"presenceRef",ref:l,present:a.value},{default:D(()=>[K(s7,ct(_t({...v(o),...c.$attrs})),{default:D(()=>[se(c.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(P(),B("div",h7,[(P(),X(zc,{to:s.value},[K(p7,{context:v(i)},{default:D(()=>[se(c.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):ae("v-if",!0)}}),g7=m7;const[v7,y7]=Ht("SelectGroup");var b7=pe({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Qr(void 0,"reka-select-group");return y7({id:n}),(r,o)=>(P(),X(v(ze),be({role:"group"},t,{"aria-labelledby":v(n)}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),x7=b7;const[yC,_7]=Ht("SelectItem");var w7=pe({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=Fn(n),i=Ol(),s=uh(),{forwardRef:l,currentElement:a}=Be(),{CollectionItem:u}=Ps(),c=W(()=>np(i.modelValue?.value,n.value,i.by)),d=V(!1),p=V(n.textValue??""),f=Qr(void 0,"reka-select-item-text"),m="select.select";async function h(w){if(w.defaultPrevented)return;const E={originalEvent:w,value:n.value};q0(m,g,E)}async function g(w){await je(),r("select",w),!w.defaultPrevented&&(o.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function y(w){await je(),!w.defaultPrevented&&(o.value?s.onItemLeave?.():w.currentTarget?.focus({preventScroll:!0}))}async function b(w){await je(),!w.defaultPrevented&&w.currentTarget===vr()&&s.onItemLeave?.()}async function x(w){await je(),!(w.defaultPrevented||s.searchRef?.value!==""&&w.key===" ")&&(J6.includes(w.key)&&h(w),w.key===" "&&w.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return Ve(()=>{a.value&&s.itemRefCallback(a.value,n.value,n.disabled)}),_7({value:n.value,disabled:o,textId:f,isSelected:c,onItemTextChange:w=>{p.value=((p.value||w?.textContent)??"").trim()}}),(w,E)=>(P(),X(v(u),{value:{textValue:p.value}},{default:D(()=>[K(v(ze),{ref:v(l),role:"option","aria-labelledby":v(f),"data-highlighted":d.value?"":void 0,"aria-selected":c.value,"data-state":c.value?"checked":"unchecked","aria-disabled":v(o)||void 0,"data-disabled":v(o)?"":void 0,tabindex:v(o)?void 0:-1,as:w.as,"as-child":w.asChild,onFocus:E[0]||(E[0]=T=>d.value=!0),onBlur:E[1]||(E[1]=T=>d.value=!1),onPointerup:h,onPointerdown:E[2]||(E[2]=T=>
56{T.currentTarget.focus({preventScroll:!0})}),onTouchend:E[3]||(E[3]=St(()=>{},["prevent","stop"])),onPointermove:y,onPointerleave:b,onKeydown:x},{default:D(()=>[se(w.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),S7=w7,k7=pe({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=yC();return(r,o)=>v(n).isSelected.value?(P(),X(v(ze),be({key:0,"aria-hidden":"true"},t),{default:D(()=>[se(r.$slots,"default")]),_:3},16)):ae("v-if",!0)}}),C7=k7,T7=pe({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Ol(),r=uh(),o=yC(),{forwardRef:i,currentElement:s}=Be(),l=W(()=>({value:o.value,disabled:o.disabled.value,textContent:s.value?.textContent??o.value?.toString()??""}));return Ve(()=>{s.value&&(o.onItemTextChange(s.value),r.itemTextRefCallback(s.value,o.value,o.disabled.value),n.onOptionAdd(l.value))}),vn(()=>{n.onOptionRemove(l.value)}),(a,u)=>(P(),X(v(ze),be({id:v(o).textId,ref:v(i)},{...t,...a.$attrs}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["id"]))}}),E7=T7,P7=pe({__name:"SelectLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e,n=v7({id:""});return(r,o)=>(P(),X(v(ze),be(t,{id:v(n).id}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["id"]))}}),I7=P7,A7=pe({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(W0),ct(_t(t)),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),$7=A7,M7=pe({__name:"SelectSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,r)=>(P(),X(v(ze),be({"aria-hidden":"true"},t),{default:D(()=>[se(n.$slots,"default")]),_:3},16))}}),O7=M7,L7=pe({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ol(),{forwardRef:r,currentElement:o}=Be(),i=W(()=>n.disabled?.value||t.disabled);n.contentId||=Qr(void 0,"reka-select-content"),Ve(()=>{n.onTriggerChange(o.value)});const{getItems:s}=Ps(),{search:l,handleTypeaheadSearch:a,resetTypeahead:u}=N0();function c(){i.value||(n.onOpenChange(!0),u())}function d(p){c(),n.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,f)=>(P(),X(v(Uk),{"as-child":"",reference:p.reference},{default:D(()=>[K(v(ze),{ref:v(r),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":v(n).contentId,"aria-expanded":v(n).open.value||!1,"aria-required":v(n).required?.value,"aria-autocomplete":"none",disabled:i.value,dir:v(n)?.dir.value,"data-state":v(n)?.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":v(Z6)(v(n).modelValue?.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:f[0]||(f[0]=m=>{m?.currentTarget?.focus()}),onPointerdown:f[1]||(f[1]=m=>{if(m.pointerType==="touch")return m.preventDefault();const h=m.target;h.hasPointerCapture(m.pointerId)&&h.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(d(m),m.preventDefault())}),onPointerup:f[2]||(f[2]=St(m=>{m.pointerType==="touch"&&d(m)},["prevent"])),onKeydown:f[3]||(f[3]=m=>{const h=v(l)!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&h&&m.key===" "||(v(a)(m.key,v(s)()),v(Q6).includes(m.key)&&(c(),m.preventDefault()))})},{default:D(()=>[se(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]),_:3},8,["reference"]))}}),q7=L7;const ex=Symbol("nuxt-ui.portal-target");function ch(e){const t=ft(ex,void 0),n=W(()=>typeof e.value=="boolean"||e.value===void 0?t?.value??"body":e.value),r=W(()=>typeof e.value=="boolean"?!e.value:!1);return Wt(ex,W(()=>n.value)),W(()=>({to:n.value,disabled:r.value}))}var R7=/\s+/g,Rg=e=>typeof e!="string"||!e?e:e.replace(R7," ").trim(),rp=(...e)=>{let t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let i=0,s=r.length;i<s;i++)n(r[i]);return}let o=typeof r;
56if(o==="string"||o==="number"||o==="bigint"){if(o==="number"&&r!==r)return;t.push(String(r))}else if(o==="object"){let i=Object.keys(r);for(let s=0,l=i.length;s<l;s++){let a=i[s];r[a]&&t.push(a)}}};for(let r=0,o=e.length;r<o;r++){let i=e[r];i!=null&&n(i)}return t.length>0?Rg(t.join(" ")):void 0},tx=e=>e===!1?"false":e===!0?"true":e===0?"0":e,wr=e=>{if(!e||typeof e!="object")return!0;for(let t in e)return!1;return!0},B7=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){let i=n[o];if(!r.includes(i)||e[i]!==t[i])return!1}return!0},nx=(e,t)=>{for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)){let r=t[n];n in e?e[n]=rp(e[n],r):e[n]=r}return e},bC=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?bC(r,t):r&&t.push(r)}},xC=(...e)=>{let t=[];bC(e,t);let n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},Bg=(e,t)=>{let n={};for(let r in e){let o=e[r];if(r in t){let i=t[r];Array.isArray(o)||Array.isArray(i)?n[r]=xC(i,o):typeof o=="object"&&typeof i=="object"&&o&&i?n[r]=Bg(o,i):n[r]=i+" "+o}else n[r]=o}for(let r in t)r in e||(n[r]=t[r]);return n},F7={twMerge:!0,twMergeConfig:{},responsiveVariants:!1};function D7(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var yi=D7(),N7=e=>{let t=(n,r)=>{let{extend:o=null,slots:i={},variants:s={},compoundVariants:l=[],compoundSlots:a=[],defaultVariants:u={}}=n,c={...F7,...r},d=o?.base?rp(o.base,n?.base):n?.base,p=o?.variants&&!wr(o.variants)?Bg(s,o.variants):s,f=o?.defaultVariants&&!wr(o.defaultVariants)?{...o.defaultVariants,...u}:u;!wr(c.twMergeConfig)&&!B7(c.twMergeConfig,yi.cachedTwMergeConfig)&&(yi.didTwMergeConfigChange=!0,yi.cachedTwMergeConfig=c.twMergeConfig);let m=wr(o?.slots),h=wr(i)?{}:{base:rp(n?.base,m&&o?.base),...i},g=m?h:nx({...o?.slots},wr(h)?{base:n?.base}:h),y=wr(o?.compoundVariants)?l:xC(o?.compoundVariants,l),b=w=>{if(wr(p)&&wr(i)&&m)return e(d,w?.class,w?.className)(c);if(y&&!Array.isArray(y))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof y}`);if(a&&!Array.isArray(a))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);let E=(F,q,O=[],L)=>{let N=O;if(typeof q=="string"){let Z=Rg(q).split(" ");for(let H=0;H<Z.length;H++)N.push(`${F}:${Z[H]}`)}else if(Array.isArray(q))for(let Z=0;Z<q.length;Z++)N.push(`${F}:${q[Z]}`);else if(typeof q=="object"&&typeof L=="string"&&L in q){let Z=q[L];if(Z&&typeof Z=="string"){let H=Rg(Z).split(" "),G=[];for(let oe=0;oe<H.length;oe++)G.push(`${F}:${H[oe]}`);N[L]=N[L]?N[L].concat(G):G}else if(Array.isArray(Z)&&Z.length>0){let H=[];for(let G=0;G<Z.length;G++)H.push(`${F}:${Z[G]}`);N[L]=H}}return N},T=(F,q=p,O=null,L=null)=>{let N=q[F];if(!N||wr(N))return null;let Z=L?.[F]??w?.[F];if(Z===null)return null;let H=tx(Z),G=Array.isArray(c.responsiveVariants)&&c.responsiveVariants.length>0||c.responsiveVariants===!0,oe=f?.[F],ce=[];if(typeof H=="object"&&G)for(let[xe,ie]of Object.entries(H)){let Q=N[ie];if(xe==="initial"){oe=ie;continue}Array.isArray(c.responsiveVariants)&&!c.responsiveVariants.includes(xe)||(ce=E(xe,Q,ce,O))}let ee=H!=null&&typeof H!="object"?H:tx(oe),ge=N[ee||"false"];return typeof ce=="object"&&typeof O=="string"&&ce[O]?nx(ce,ge):ce.length>0?(ce.push(ge),O==="base"?ce.join(" "):ce):ge},k=()=>{if(!p)return null;let F=Object.keys(p),q=[];for(let O=0;O<F.length;O++){let L=T(F[O],p);L&&q.push(L)}return q},S=(F,q)=>{if(!p||typeof p!="object")return null;let O=[];for(let L in p){let N=T(L,p,F,q),Z=F==="base"&&typeof N=="string"?N:N&&N[F];Z&&O.push(Z)}return O},C={};for(let F in w){let q=w[F];q!==void 0&&(C[F]=q)}let A=(F,q)=>{let O=typeof w?.[F]=="object"?{[F]:w[F]?.initial}:{};return{...f,...C,...O,...q}},M=(F=[],q)=>{let O=[],L=F.length;for(let N=0;N<L;N++){let{class:Z,className:H,...G}=F[N],oe=!0,ce=A(null,q);for(let ee in G){let ge=G[ee],xe=ce[ee];if(Array.isArray(ge)){if(!ge.includes(xe)){oe=!1;break}}else{if((ge==null||ge===!1)&&(xe==null||xe===!1))continue;if(xe!==ge){oe=!1;break}}}oe&&(Z&&O.push(Z),H&&O.push(H))}return O},I=F=>{let q=M(y,F);if(!Array.isArray(q))return q;let O={},L=e;for(let N=0;N<q.length;N++){let Z=q[N];if(typeof Z=="string")O.base=L(O.base,Z)(c);else if(typeof Z=="object")for(let H in Z)O[H]=L(O[H],Z[H])(c)}return O},$=F=>{if(a.length<1)return null;let q={},O=A(null,F);for(let L=0;L<a.length;L++){let{slots:N=[],class:Z,className:H,...G}=a[L];if(!wr(G)){let oe=!0;for(let ce in G){let ee=O[ce],ge=G[ce];if(ee===void 0||(Array.isArray(ge)?!ge.includes(ee):ge!==ee)){oe=!1;break}}if(!oe)continue}for(let oe=0;oe<N.length;oe++){let ce=N[oe];q[ce]||(q[ce]=[]),q[ce].push([Z,H])}}return q};if(!wr(i)||!m){let F={};if(typeof g=="object"&&!wr(g)){let q=e;for(let O in g)F[O]=L=>{let N=I(L),Z=$(L);return q(g[O],S(O,L),N?N[O]:void 0,Z?Z[O]:void 0,L?.class,L?.className)(c)}}return F}return e(d,k(),M(y),w?.class,w?.className)(c)},x=()=>
vendor: 6,010 bytes, line 56
56{if(!(!p||typeof p!="object"))return Object.keys(p)};return b.variantKeys=x(),b.extend=o,b.base=d,b.slots=g,b.variants=p,b.defaultVariants=f,b.compoundSlots=a,b.compoundVariants=y,b};return{tv:t,createTV:n=>(r,o)=>t(r,o?Bg(n,o):n)}};const oy="-",V7=e=>{const t=j7(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(oy);return l[0]===""&&l.length!==1&&l.shift(),_C(l,t)||z7(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},_C=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?_C(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(oy);return t.validators.find(({validator:s})=>s(i))?.classGroupId},rx=/^\[(.+)\]$/,z7=e=>{if(rx.test(e)){const t=rx.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},j7=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Fg(n[o],r,o,t);return r},Fg=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ox(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(H7(o)){Fg(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Fg(s,ox(t,i),n,r)})})},ox=(e,t)=>{let n=e;return t.split(oy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},H7=e=>e.isThemeGetter,U7=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Dg="!",Ng=":",W7=Ng.length,G7=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const i=[];let s=0,l=0,a=0,u;for(let m=0;m<o.length;m++){let h=o[m];if(s===0&&l===0){if(h===Ng){i.push(o.slice(a,m)),a=m+W7;continue}if(h==="/"){u=m;continue}}h==="["?s++:h==="]"?s--:h==="("?l++:h===")"&&l--}const c=i.length===0?o:o.substring(a),d=K7(c),p=d!==c,f=u&&u>a?u-a:void 0;return{modifiers:i,hasImportantModifier:p,baseClassName:d,maybePostfixModifierPosition:f}};if(t){const o=t+Ng,i=r;r=s=>s.startsWith(o)?i(s.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:s,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=i=>n({className:i,parseClassName:o})}return r},K7=e=>e.endsWith(Dg)?e.substring(0,e.length-1):e.startsWith(Dg)?e.substring(1):e,Y7=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let i=[];return r.forEach(s=>{s[0]==="["||t[s]?(o.push(...i.sort(),s),i=[]):i.push(s)}),o.push(...i.sort()),o}},X7=e=>({cache:U7(e.cacheSize),parseClassName:G7(e),sortModifiers:Y7(e),...V7(e)}),Q7=/\s+/,J7=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],l=e.trim().split(Q7);let a="";for(let u=l.length-1;u>=0;u-=1){const c=l[u],{isExternal:d,modifiers:p,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:h}=n(c);if(d){a=c+(a.length>0?" "+a:a);continue}let g=!!h,y=r(g?m.substring(0,h):m);if(!y){if(!g){a=c+(a.length>0?" "+a:a);continue}if(y=r(m),!y){a=c+(a.length>0?" "+a:a);continue}g=!1}const b=i(p).join(":"),x=f?b+Dg:b,w=x+y;if(s.includes(w))continue;s.push(w);const E=o(y,g);for(let T=0;T<E.length;++T){const k=E[T];s.push(x+k)}a=c+(a.length>0?" "+a:a)}return a};function Z7(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=wC(t))&&(r&&(r+=" "),r+=n);return r}const wC=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=wC(e[r]))&&(n&&(n+=" "),n+=t);return n};function Vg(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((c,d)=>d(c),e());return n=X7(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const c=J7(a,n);return o(a,c),c}return function(){return i(Z7.apply(null,arguments))}}const dn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},SC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,kC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eR=/^\d+\/\d+$/,tR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zl=e=>eR.test(e),Qe=e=>!!e&&!Number.isNaN(Number(e)),Yi=e=>!!e&&Number.isInteger(Number(e)),im=e=>e.endsWith("%")&&Qe(e.slice(0,-1)),fi=e=>tR.test(e),sR=()=>!0,lR=e=>nR.test(e)&&!rR.test(e),CC=()=>!1,aR=e=>oR.test(e),uR=e=>iR.test(e),cR=e=>!Ie(e)&&!Ae(e),dR=e=>Ja(e,PC,CC),Ie=e=>SC.test(e),Ds=e=>Ja(e,IC,lR),sm=e=>Ja(e,gR,Qe),ix=e=>Ja(e,TC,CC),fR=e=>Ja(e,EC,uR),Td=e=>Ja(e,AC,aR),Ae=e=>kC.test(e),fu=e=>Za(e,IC),pR=e=>Za(e,vR),sx=e=>Za(e,TC),hR=e=>Za(e,PC),mR=e=>Za(e,EC),Ed=e=>Za(e,AC,!0),Ja=(e,t,n)=>{const r=SC.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Za=(e,t,n=!1)=>{const r=kC.exec(e);return r?r[1]?t(r[1]):n:!1},TC=e=>e==="position"||e==="percentage",EC=e=>e==="image"||e==="url",PC=e=>e==="length"||e==="size"||e==="bg-size",IC=e=>e==="length",gR=e=>e==="number",vR=e=>e==="family-name",AC=e=>e==="shadow",zg=()=>{const e=dn("color"),t=dn("font"),n=dn("text"),r=dn("font-weight"),o=dn("tracking"),i=dn("leading"),s=dn("breakpoint"),l=dn("container"),a=dn("spacing"),u=dn("radius"),c=dn("shadow"),d=dn("inset-shadow"),p=dn("text-shadow"),f=dn("drop-shadow"),m=dn("blur"),h=dn("perspective"),g=dn("aspect"),y=dn("ease"),b=dn("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...w(),Ae,Ie],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],S=()=>[Ae,Ie,a],C=()=>[zl,"full","auto",...S()],A=()=>
vendor: 4,493 bytes, line 56
56[Yi,"none","subgrid",Ae,Ie],M=()=>["auto",{span:["full",Yi,Ae,Ie]},Yi,Ae,Ie],I=()=>[Yi,"auto",Ae,Ie],$=()=>["auto","min","max","fr",Ae,Ie],F=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...S()],L=()=>[zl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],N=()=>[e,Ae,Ie],Z=()=>[...w(),sx,ix,{position:[Ae,Ie]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",hR,dR,{size:[Ae,Ie]}],oe=()=>[im,fu,Ds],ce=()=>["","none","full",u,Ae,Ie],ee=()=>["",Qe,fu,Ds],ge=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>[Qe,im,sx,ix],Q=()=>["","none",m,Ae,Ie],Y=()=>["none",Qe,Ae,Ie],J=()=>["none",Qe,Ae,Ie],de=()=>[Qe,Ae,Ie],he=()=>[zl,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fi],breakpoint:[fi],color:[sR],container:[fi],"drop-shadow":[fi],ease:["in","out","in-out"],font:[cR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fi],shadow:[fi],spacing:["px",Qe],text:[fi],"text-shadow":[fi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",zl,Ie,Ae,g]}],container:["container"],columns:[{columns:[Qe,Ie,Ae,l]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[Yi,"auto",Ae,Ie]}],basis:[{basis:[zl,"full","auto",l,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Qe,zl,"auto","initial","none",Ie]}],grow:[{grow:["",Qe,Ae,Ie]}],shrink:[{shrink:["",Qe,Ae,Ie]}],order:[{order:[Yi,"first","last","none",Ae,Ie]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...F(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...F()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":F()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}
vendor: 10,033 bytes, line 56
56],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[l,"screen",...L()]}],"min-w":[{"min-w":[l,"screen","none",...L()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,fu,Ds]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ae,sm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",im,Ie]}],"font-family":[{font:[pR,Ie,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Ae,Ie]}],"line-clamp":[{"line-clamp":[Qe,"none",Ae,sm]}],leading:[{leading:[i,...S()]}],"list-image":[{"list-image":["none",Ae,Ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ae,Ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[Qe,"from-font","auto",Ae,Ds]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[Qe,"auto",Ae,Ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ae,Ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ae,Ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Z()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yi,Ae,Ie],radial:["",Ae,Ie],conic:[Yi,Ae,Ie]},mR,fR]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Qe,Ae,Ie]}],"outline-w":[{outline:["",Qe,fu,Ds]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",c,Ed,Td]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",d,Ed,Td]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[Qe,Ds]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",p,Ed,Td]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[Qe,Ae,Ie]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Qe]}],"mask-image-linear-from-pos":[{"mask-linear-from":ie()}],"mask-image-linear-to-pos":[{"mask-linear-to":ie()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":ie()}],"mask-image-t-to-pos":[{"mask-t-to":ie()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":ie()}],"mask-image-r-to-pos":[{"mask-r-to":ie()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":ie()}],"mask-image-b-to-pos":[{"mask-b-to":ie()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":ie()}],"mask-image-l-to-pos":[{"mask-l-to":ie()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":ie()}],"mask-image-x-to-pos":[{"mask-x-to":ie()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":ie()}],"mask-image-y-to-pos":[{"mask-y-to":ie()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[Ae,Ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":ie()}],"mask-image-radial-to-pos":[{"mask-radial-to":ie()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[Qe]}],"mask-image-conic-from-pos":[{"mask-conic-from":ie()}],"mask-image-conic-to-pos":[{"mask-conic-to":ie()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Z()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ae,Ie]}],filter:[{filter:["","none",Ae,Ie]}],blur:[{blur:Q()}],brightness:[{brightness:[Qe,Ae,Ie]}],contrast:[{contrast:[Qe,Ae,Ie]}],"drop-shadow":[{"drop-shadow":["","none",f,Ed,Td]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",Qe,Ae,Ie]}],"hue-rotate":[{"hue-rotate":[Qe,Ae,Ie]}],invert:[{invert:["",Qe,Ae,Ie]}],saturate:[{saturate:[Qe,Ae,Ie]}],sepia:[{sepia:["",Qe,Ae,Ie]}],"backdrop-filter":[{"backdrop-filter":["","none",Ae,Ie]}],"backdrop-blur":[{"backdrop-blur":Q()}],"backdrop-brightness":[{"backdrop-brightness":[Qe,Ae,Ie]}],"backdrop-contrast":[{"backdrop-contrast":[Qe,Ae,Ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Qe,Ae,Ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Qe,Ae,Ie]}],"backdrop-invert":[{"backdrop-invert":["",Qe,Ae,Ie]}],"backdrop-opacity":[{"backdrop-opacity":[Qe,Ae,Ie]}],"backdrop-saturate":[{"backdrop-saturate":[Qe,Ae,Ie]}],"backdrop-sepia":[{"backdrop-sepia":["",Qe,Ae,Ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ae,Ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Qe,"initial",Ae,Ie]}],ease:[{ease:["linear","initial",y,Ae,Ie]}],delay:[{delay:[Qe,Ae,Ie]}],animate:[{animate:["none",b,Ae,Ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Ae,Ie]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[Ae,Ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}
56],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ae,Ie]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ae,Ie]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[Qe,fu,Ds,sm]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yR=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(Su(e,"cacheSize",t),Su(e,"prefix",n),Su(e,"experimentalParseClassName",r),Pd(e.theme,i.theme),Pd(e.classGroups,i.classGroups),Pd(e.conflictingClassGroups,i.conflictingClassGroups),Pd(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Su(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Id(e.theme,o.theme),Id(e.classGroups,o.classGroups),Id(e.conflictingClassGroups,o.conflictingClassGroups),Id(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),$C(e,o,"orderSensitiveModifiers"),e),Su=(e,t,n)=>{n!==void 0&&(e[t]=n)},Pd=(e,t)=>{if(t)for(const n in t)Su(e,n,t[n])},Id=(e,t)=>{if(t)for(const n in t)$C(e,t,n)},$C=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},bR=(e,...t)=>typeof e=="function"?Vg(zg,e,...t):Vg(()=>yR(zg(),e),...t),xR=Vg(zg);var _R=e=>wr(e)?xR:bR({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),wR=(...e)=>t=>{let n=rp(e);return!n||!t.twMerge?n:((!yi.cachedTwMerge||yi.didTwMergeConfigChange)&&(yi.didTwMergeConfigChange=!1,yi.cachedTwMerge=_R(yi.cachedTwMergeConfig)),yi.cachedTwMerge(n)||void 0)},{createTV:SR}=N7(wR);const kR=mk,nt=SR(kR.ui?.tv);function dh(e){const t=Xt(),n=W(()=>vt(e)),r=W(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),o=W(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon),i=W(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),s=W(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon);return{isLeading:r,isTrailing:o,leadingIconName:i,trailingIconName:s}}const CR=Symbol("nuxt-ui.field-group");function iy(e){const t=ft(CR,void 0);return{orientation:W(()=>t?.value.orientation),size:W(()=>e?.size??t?.value.size)}}const MC=Symbol("nuxt-ui.form-options"),jg=Symbol("nuxt-ui.form-events"),lx=Symbol("nuxt-ui.form-state"),Hg=Symbol("nuxt-ui.form-field"),OC=Symbol("nuxt-ui.input-id"),LC=Symbol("nuxt-ui.form-inputs"),qC=Symbol("nuxt-ui.form-loading"),RC=Symbol("nuxt-ui.form-errors");function eu(e,t){const n=ft(MC,void 0),r=ft(jg,void 0),o=ft(Hg,void 0),i=ft(OC,void 0);Wt(Hg,void 0),o&&i&&(t?.bind===!1?i.value=void 0:e?.id&&(i.value=e?.id));function s(d,p,f){r&&o&&p&&r.emit({type:d,name:p,eager:f})}function l(){s("blur",o?.value.name)}function a(){s("focus",o?.value.name)}function u(){s("change",o?.value.name)}const c=LO(()=>{s("input",o?.value.name,!t?.deferInputValidation||o?.value.eagerValidation)},o?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);return{id:W(()=>e?.id??i?.value),name:W(()=>e?.name??o?.value.name),size:W(()=>e?.size??o?.value.size),color:W(()=>o?.value.error?"error":e?.color),highlight:W(()=>o?.value.error?!0:e?.highlight),disabled:W(()=>n?.value.disabled||e?.disabled),emitFormBlur:l,emitFormInput:c,emitFormChange:u,emitFormFocus:a,ariaAttrs:W(()=>{if(!o?.value)return;const d=["error","hint","description","help"].filter(f=>o?.value?.[f]).map(f=>`${o?.value.ariaId}-${f}`)||[],p={"aria-invalid":!!o?.value.error};return d.length>0&&(p["aria-describedby"]=d.join(" ")),p})}}function BC(e){const t=Object.keys(e),n=t.filter(i=>i.startsWith("aria-")),r=t.filter(i=>i.startsWith("data-")),o=["active","activeClass","ariaCurrentValue","as","disabled","exact","exactActiveClass","exactHash","exactQuery","external","href","download","inactiveClass","noPrefetch","noRel","prefetch","prefetchedClass","rel","replace","target","to","type","title","onClick",...n,...r];return ti(e,...o)}function TR(e,t){const n=QO(e,t).reduce((i,s)=>(s.type==="added"&&i.add(s.key),i),new Set),r=Object.fromEntries(Object.entries(e).filter(([i])=>!n.has(i))),o=Object.fromEntries(Object.entries(t).filter(([i])=>!n.has(i)));return Ri(r,o)}const FC=/^[a-z0-9]+(-[a-z0-9]+)*$/,fh=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),a=o.pop(),u={provider:o.length>0?o[0]:r,prefix:a,name:l};return t&&!lf(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const l={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!lf(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:i};return t&&!lf(l,n)?null:l}return null},lf=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,DC=Object.freeze({left:0,top:0,width:16,height:16}),op=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ph=Object.freeze({...DC,...op}),Ug=Object.freeze({...ph,body:"",hidden:!1});function ER(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ax(e,t){const n=ER(e,t);for(const r in Ug)r in op?r in e&&!(r in n)&&(n[r]=op[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function PR(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);
56function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const l=r[s]&&r[s].parent,a=l&&i(l);a&&(o[s]=[l].concat(a))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function IR(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(l){i=ax(r[l]||o[l],i)}return s(t),n.forEach(s),ax(e,i)}function NC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=PR(e);for(const o in r){const i=r[o];i&&(t(o,IR(e,o,i)),n.push(o))}return n}const AR={provider:"",aliases:{},not_found:{},...DC};function lm(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function VC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!lm(e,AR))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!lm(i,Ug))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!lm(i,Ug))return null}return t}const ux=Object.create(null);function $R(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ra(e,t){const n=ux[e]||(ux[e]=Object.create(null));return n[t]||(n[t]=$R(e,t))}function zC(e,t){return VC(t)?NC(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function MR(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ec=!1;function jC(e){return typeof e=="boolean"&&(Ec=e),Ec}function OR(e){const t=typeof e=="string"?fh(e,!0,Ec):e;if(t){const n=Ra(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function LR(e,t){const n=fh(e,!0,Ec);if(!n)return!1;const r=Ra(n.provider,n.prefix);return t?MR(r,n.name,t):(r.missing.add(n.name),!0)}function qR(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ec&&!t&&!e.prefix){let o=!1;return VC(e)&&(e.prefix="",NC(e,(i,s)=>{LR(i,s)&&(o=!0)})),o}const n=e.prefix;if(!lf({prefix:n,name:"a"}))return!1;const r=Ra(t,n);return!!zC(r,e)}const HC=Object.freeze({width:null,height:null}),UC=Object.freeze({...HC,...op}),RR=/(-?[0-9.]*[0-9]+[0-9.]*)/g,BR=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cx(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(RR);if(r===null||!r.length)return e;const o=[];let i=r.shift(),s=BR.test(i);for(;;){if(s){const l=parseFloat(i);isNaN(l)?o.push(i):o.push(Math.ceil(l*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function FR(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function DR(e,t){return e?"<defs>"+e+"</defs>"+t:t}function NR(e,t,n){const r=FR(e);return DR(r.defs,t+r.content+n)}const VR=e=>e==="unset"||e==="undefined"||e==="none";function zR(e,t){const n={...ph,...e},r={...UC,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(h=>{const g=[],y=h.hFlip,b=h.vFlip;let x=h.rotate;y?b?x+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):b&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let w;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:w=o.height/2+o.top,g.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,g.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}x%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),g.length&&(i=NR(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const s=r.width,l=r.height,a=o.width,u=o.height;let c,d;s===null?(d=l===null?"1em":l==="auto"?u:l,c=cx(d,a/u)):(c=s==="auto"?a:s,d=l===null?cx(c,u/a):l==="auto"?u:l);const p={},f=(h,g)=>{VR(g)||(p[h]=g.toString())};f("width",c),f("height",d);const m=[o.left,o.top,a,u];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:i}}const jR=/\sid="(\S+)"/g,HR="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let UR=0;function WR(e,t=HR){const n=[];let r;for(;r=jR.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);
56return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(UR++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Wg=Object.create(null);function GR(e,t){Wg[e]=t}function Gg(e){return Wg[e]||Wg[""]}function sy(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ly=Object.create(null),pu=["https://api.simplesvg.com","https://api.unisvg.com"],af=[];for(;pu.length>0;)pu.length===1||Math.random()>.5?af.push(pu.shift()):af.push(pu.pop());ly[""]=sy({resources:["https://api.iconify.design"].concat(af)});function KR(e,t){const n=sy(t);return n===null?!1:(ly[e]=n,!0)}function ay(e){return ly[e]}const YR=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let dx=YR();function XR(e,t){const n=ay(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function QR(e){return e===404}const JR=(e,t,n)=>{const r=[],o=XR(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((a,u)=>{l+=a.length+1,l>=o&&u>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},l=a.length),s.icons.push(a)}),r.push(s),r};function ZR(e){if(typeof e=="string"){const t=ay(e);if(t)return t.path}return"/"}const eB=(e,t,n)=>{if(!dx){n("abort",424);return}let r=ZR(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),a=new URLSearchParams({icons:l});r+=i+".json?"+a.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;dx(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(QR(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},tB={prepare:JR,send:eB};function nB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,l=o.name,a=n[i]||(n[i]=Object.create(null)),u=a[s]||(a[s]=Ra(i,s));let c;l in u.icons?c=t.loaded:s===""||u.missing.has(l)?c=t.missing:c=t.pending;const d={provider:i,prefix:s,name:l};c.push(d)}),t}function WC(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function rB(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,l=s.pending.length;s.pending=s.pending.filter(a=>{if(a.prefix!==o)return!0;const u=a.name;if(e.icons[u])s.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),s.pending.length!==l&&(n||WC([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let oB=0;function iB(e,t,n){const r=oB++,o=WC.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function sB(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?fh(o,t,n):o;i&&r.push(i)}),r}var lB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function aB(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let T=e.resources.slice(0);for(s=[];T.length>1;){const k=Math.floor(Math.random()*T.length);s.push(T[k]),T=T.slice(0,k).concat(T.slice(k+1))}s=s.concat(T)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let a="pending",u=0,c,d=null,p=[],f=[];
56typeof r=="function"&&f.push(r);function m(){d&&(clearTimeout(d),d=null)}function h(){a==="pending"&&(a="aborted"),m(),p.forEach(T=>{T.status==="pending"&&(T.status="aborted")}),p=[]}function g(T,k){k&&(f=[]),typeof T=="function"&&f.push(T)}function y(){return{startTime:l,payload:t,status:a,queriesSent:u,queriesPending:p.length,subscribe:g,abort:h}}function b(){a="failed",f.forEach(T=>{T(void 0,c)})}function x(){p.forEach(T=>{T.status==="pending"&&(T.status="aborted")}),p=[]}function w(T,k,S){const C=k!=="success";switch(p=p.filter(A=>A!==T),a){case"pending":break;case"failed":if(C||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){c=S,b();return}if(C){c=S,p.length||(s.length?E():b());return}if(m(),x(),!e.random){const A=e.resources.indexOf(T.resource);A!==-1&&A!==e.index&&(e.index=A)}a="completed",f.forEach(A=>{A(S)})}function E(){if(a!=="pending")return;m();const T=s.shift();if(T===void 0){if(p.length){d=setTimeout(()=>{m(),a==="pending"&&(x(),b())},e.timeout);return}b();return}const k={status:"pending",resource:T,callback:(S,C)=>{w(k,S,C)}};p.push(k),u++,d=setTimeout(E,e.rotate),n(T,t,k.callback)}return setTimeout(E),y}function GC(e){const t={...lB,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function o(l,a,u){const c=aB(t,l,a,(d,p)=>{r(),u&&u(d,p)});return n.push(c),c}function i(l){return n.find(a=>l(a))||null}return{query:o,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function fx(){}const am=Object.create(null);function uB(e){if(!am[e]){const t=ay(e);if(!t)return;const n=GC(t),r={config:t,redundancy:n};am[e]=r}return am[e]}function cB(e,t,n){let r,o;if(typeof e=="string"){const i=Gg(e);if(!i)return n(void 0,424),fx;o=i.send;const s=uB(e);s&&(r=s.redundancy)}else{const i=sy(e);if(i){r=GC(i);const s=e.resources?e.resources[0]:"",l=Gg(s);l&&(o=l.send)}}return!r||!o?(n(void 0,424),fx):r.query(t,o,n)().abort}function px(){}function dB(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,rB(e)}))}function fB(e){const t=[],n=[];return e.forEach(r=>{(r.match(FC)?t:n).push(r)}),{valid:t,invalid:n}}function hu(e,t,n){function r(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!zC(e,n).length){r();return}}catch(o){console.error(o)}r(),dB(e)}function hx(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function pB(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>
561||!i)){hx(e.loadIcons(o,r,n),c=>{hu(e,o,c)});return}if(i){o.forEach(c=>{const d=i(c,r,n);hx(d,p=>{const f=p?{prefix:r,icons:{[c]:p}}:null;hu(e,[c],f)})});return}const{valid:s,invalid:l}=fB(o);if(l.length&&hu(e,l,null),!s.length)return;const a=r.match(FC)?Gg(n):null;if(!a){hu(e,s,null);return}a.prepare(n,r,s).forEach(c=>{cB(n,c,d=>{hu(e,c.icons,d)})})}))}const hB=(e,t)=>{const n=sB(e,!0,jC()),r=nB(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,px)}),()=>{a=!1}}const o=Object.create(null),i=[];let s,l;return r.pending.forEach(a=>{const{provider:u,prefix:c}=a;if(c===l&&u===s)return;s=u,l=c,i.push(Ra(u,c));const d=o[u]||(o[u]=Object.create(null));d[c]||(d[c]=[])}),r.pending.forEach(a=>{const{provider:u,prefix:c,name:d}=a,p=Ra(u,c),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(d)||(f.add(d),o[u][c].push(d))}),i.forEach(a=>{const u=o[a.provider][a.prefix];u.length&&pB(a,u)}),t?iB(t,r,i):px};function mB(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in HC?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const gB=/[\s,]+/;function vB(e,t){t.split(gB).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function yB(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function bB(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function xB(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function _B(e){return"data:image/svg+xml,"+xB(e)}function wB(e){return'url("'+_B(e)+'")'}const mx={...UC,inline:!1},SB={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},kB={display:"inline-block"},Kg={backgroundColor:"currentColor"},KC={backgroundColor:"transparent"},gx={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},vx={webkitMask:Kg,mask:Kg,background:KC};for(const e in vx){const t=vx[e];for(const n in gx)t[e+n]=gx[n]}const uf={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";uf[e+"-flip"]=t,uf[e.slice(0,1)+"-flip"]=t,uf[e+"Flip"]=t});function yx(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const bx=(e,t)=>{const n=mB(mx,t),r={...SB},o=t.mode||"svg",i={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const g=t[h];if(g!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[h]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&vB(n,g);break;case"color":i.color=g;break;case"rotate":typeof g=="string"?n[h]=yB(g):typeof g=="number"&&(n[h]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const y=uf[h];y?(g===!0||g==="true"||g===1)&&(n[y]=!0):mx[h]===void 0&&(r[h]=g)}}}const a=zR(e,n),u=a.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...l},Object.assign(r,u);let h=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=WR(a.body,g?()=>g+"ID"+h++:"iconifyVue"),Lt("svg",r)}const{body:c,width:d,height:p}=e,f=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),m=bB(c,{...u,width:d+"",height:p+""});return r.style={...i,"--svg":wB(m),width:yx(u.width),height:yx(u.height),...kB,...f?Kg:KC,...l},Lt("span",r)};jC(!0);GR("",tB);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!qR(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invali
56d.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;KR(n,o)||console.error(r)}catch{console.error(r)}}}}const CB={...ph,body:""},TB=pe((e,{emit:t})=>{const n=V(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=V(!!e.ssr),i=V(""),s=ei(null);function l(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let c;if(typeof u!="string"||(c=fh(u,!1,!0))===null)return null;let d=OR(c);if(!d){const m=n.value;return(!m||m.name!==u)&&(d===null?n.value={name:u}:n.value={name:u,abort:hB([c],a)}),null}r(),i.value!==u&&(i.value=u,je(()=>{t("load",u)}));const p=e.customise;if(p){d=Object.assign({},d);const m=p(d.body,c.name,c.prefix,c.provider);typeof m=="string"&&(d.body=m)}const f=["iconify"];return c.prefix!==""&&f.push("iconify--"+c.prefix),c.provider!==""&&f.push("iconify--"+c.provider),{data:d,classes:f}}function a(){const u=l();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?a():Ve(()=>{o.value=!0,a()}),we(()=>e.icon,a),vn(r),()=>{const u=s.value;if(!u)return bx(CB,e);let c=e;return u.classes&&(c={...e,class:u.classes.join(" ")}),bx({...ph,...u.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),it={__name:"Icon",props:{name:{type:[String,Object],required:!0}},setup(e){return(t,n)=>typeof e.name=="string"?(P(),X(v(TB),{key:0,icon:e.name.replace(/^i-/,"")},null,8,["icon"])):(P(),X(yr(e.name),{key:1}))}},EB="img",xx=Symbol("nuxt-ui.avatar-group");function YC(e){const t=ft(xx,void 0),n=W(()=>e.size??t?.value.size);return Wt(xx,W(()=>({size:n.value}))),{size:n}}const PB={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},XC=Object.assign({inheritAttrs:!1},{__name:"Chip",props:hl({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Wc(e,"show",{type:Boolean,default:!0}),{size:r}=YC(t),o=Xt(),i=W(()=>nt({extend:nt(PB),...o.ui?.chip||{}})({color:t.color,size:r.value,position:t.position,inset:t.inset,standalone:t.standalone}));return(s,l)=>(P(),X(v(ze),{as:e.as,class:re(i.value.root({class:[t.ui?.root,t.class]}))},{default:D(()=>[K(v(Sc),ct(_t(s.$attrs)),{default:D(()=>[se(s.$slots,"default")]),_:3},16),n.value?(P(),B("span",{key:0,class:re(i.value.base({class:t.ui?.base}))},[se(s.$slots,"content",{},()=>[Le(te(e.text),1)])],2)):ae("",!0)]),_:3},8,["as","class"]))}}),IB={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium leading-none text-muted truncate",icon:"text-muted shrink-0"},variants:{size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md"}},Di=Object.assign({inheritAttrs:!1},{__name:"Avatar",props:{as:{type:null,required:!1,default:"span"},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:[String,Object],required:!1},text:{type:String,required:!1},size:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const t=e,n=W(()=>t.text||(t.alt||"").split(" ").map(u=>u.charAt(0)).join("").substring(0,2)),r=Xt(),{size:o}=YC(t),i=W(()=>nt({extend:nt(IB),...r.ui?.avatar||{}})({size:o.value})),s=W(()=>({"3xs":16,"2xs":20,xs:24,sm:28,md:32,lg:36,xl:40,"2xl":44,"3xl":48})[t.size||"md"]),l=V(!1);we(()=>t.src,()=>{l.value&&(l.value=!1)});function a(){l.value=!0}return(u,c)=>(P(),X(yr(t.chip?XC:v(ze)),be({as:e.as},t.chip?typeof t.chip=="object"?{inset:!0,...t.chip}:{inset:!0}:{},{class:i.value.root({class:[t.ui?.root,t.class]}),style:t.style}),{default:D(()=>[e.src&&!l.value?(P(),X(yr(v(EB)),be({key:0,role:"img",src:e.src,alt:e.alt,width:s.value,height:s.value},u.$attrs,{class:i.value.image({class:t.ui?.image}),onError:a}),null,16,["src","alt","width","height","class"])):(P(),X(v(Sc),ct(be({key:1},u.$attrs)),{default:D(()=>[se(u.$slots,"default",{},()=>[e.icon?(P(),X(it,{key:0,name:e.icon,class:re(i.value.icon({class:t.ui?.icon}))},null,8,["name","class"])):(P(),B("span",{key:1,class:re(i.value.fallback({class:t.ui?.fallback}))}
56,te(n.value||"Â "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),AB=/#/g,$B=/&/g,MB=/\//g,OB=/=/g,uy=/\+/g,LB=/%5e/gi,qB=/%60/gi,RB=/%7c/gi,BB=/%20/gi;function FB(e){return encodeURI(""+e).replace(RB,"|")}function Yg(e){return FB(typeof e=="string"?e:JSON.stringify(e)).replace(uy,"%2B").replace(BB,"+").replace(AB,"%23").replace($B,"%26").replace(qB,"`").replace(LB,"^").replace(MB,"%2F")}function um(e){return Yg(e).replace(OB,"%3D")}function QC(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function DB(e){return QC(e.replace(uy," "))}function NB(e){return QC(e.replace(uy," "))}function VB(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=DB(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=NB(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function zB(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${um(e)}=${Yg(n)}`).join("&"):`${um(e)}=${Yg(t)}`:um(e)}function jB(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>zB(t,e[t])).filter(Boolean).join("&")}const HB=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,UB=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,WB=/^([/\\]\s*){2,}[^/\\]/,GB=/^\.?\//;function cy(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?HB.test(e):UB.test(e)||(t.acceptRelative?WB.test(e):!1)}function KB(e="",t){return e.endsWith("/")}function YB(e="",t){return(KB(e)?e.slice(0,-1):e)||"/"}function XB(e="",t){return e.endsWith("/")?e:e+"/"}function QB(e,t){if(ZB(t)||cy(e))return e;const n=YB(t);return e.startsWith(n)?e:tF(n,e)}function JB(e,t){const n=nF(e),r={...VB(n.search),...t};return n.search=jB(r),rF(n)}function ZB(e){return!e||e==="/"}function eF(e){return e&&e!=="/"}function tF(e,...t){let n=e||"";for(const r of t.filter(o=>eF(o)))if(n){const o=r.replace(GB,"");n=XB(n)+o}else n=r;return n}const JC=Symbol.for("ufo:protocolRelative");function nF(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,p=""]=n;return{protocol:d.toLowerCase(),pathname:p,href:d+p,auth:"",host:"",search:"",hash:""}}if(!cy(e,{acceptRelative:!0}))return _x(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:u,hash:c}=_x(l);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:u,hash:c,[JC]:!r}}function _x(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function rF(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[JC]?(e.protocol||"")+"//":"")+o+i+t+n+r}const ip={__name:"LinkBase",props:{as:{type:String,required:!1,default:"button"},type:{type:String,required:!1,default:"button"},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:String,required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){const t=e;function n(r){if(t.disabled){r.stopPropagation(),r.preventDefault();return}if(t.onClick)for(const o of Array.isArray(t.onClick)?t.onClick:[t.onClick])o(r);t.href&&t.navigate&&!t.isExternal&&t.navigate(r)}return(r,o)=>(P(),X(v(ze),be(e.href?{as:"a",href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0}:e.as==="button"?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:D(()=>[se(r.$slots,"default")]),_:3},16,["rel","target"]))}},oF={base:"focus-visible:outline-primary",variants:{active:{true:"text-primary",false:"text-muted"},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{active:!1,disabled:!1,class:["hover:text-default","transition-colors"]}]},ZC=Object.assign({inheritAttrs:!1},{__name:"Link",props:{as:{type:null,required:!1,default:"button"},type:{type:null,required:!1,default:"button"},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1,default:""},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},activeClass:{type:String,required:!1,default:""},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:"page"},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=UM(),r=Xt(),o=Al(dk(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","class")),i=W(()=>nt({extend:nt(oF),...yl({variants:{active:{true:t.activeClass,false:t.inactiveClass}}},r.ui?.link||{})})),s=W(()=>t.to??t.href),l=W(()=>t.external?!0:s.value?typeof s.value=="string"&&cy(s.value,{acceptRelative:!0}):!1);function a({route:c,isActive:d,isExactActive:p}
56){if(t.active!==void 0)return t.active;if(!s.value)return!1;if(t.exactQuery==="partial"){if(!TR(c.query,n.query))return!1}else if(t.exactQuery===!0&&!Ri(c.query,n.query))return!1;return t.exactHash&&c.hash!==n.hash?!1:!!(t.exact&&p||!t.exact&&d)}function u({route:c,isActive:d,isExactActive:p}={}){const f=a({route:c,isActive:d,isExactActive:p});return t.raw?[t.class,f?t.activeClass:t.inactiveClass]:i.value({class:t.class,active:f,disabled:t.disabled})}return(c,d)=>!l.value&&s.value?(P(),X(v(nk),be({key:0},v(o),{to:s.value,custom:""}),{default:D(({href:p,navigate:f,route:m,isActive:h,isExactActive:g})=>[e.custom?se(c.$slots,"default",ct(be({key:0},{...c.$attrs,...e.exact&&g?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:p,navigate:f,active:a({route:m,isActive:h,isExactActive:g})}))):(P(),X(ip,be({key:1},{...c.$attrs,...e.exact&&g?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:p,navigate:f},{class:u({route:m,isActive:h,isExactActive:g})}),{default:D(()=>[se(c.$slots,"default",{active:a({route:m,isActive:h,isExactActive:g})})]),_:2},1040,["class"]))]),_:3},16,["to"])):(P(),B(ye,{key:1},[e.custom?se(c.$slots,"default",ct(be({key:0},{...c.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:s.value,target:l.value?"_blank":void 0,active:e.active,isExternal:l.value}))):(P(),X(ip,be({key:1},{...c.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:s.value,target:l.value?"_blank":void 0,isExternal:l.value},{class:u()}),{default:D(()=>[se(c.$slots,"default",{active:e.active})]),_:3},16,["class"]))],64))}}),iF={slots:{base:["rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75","transition-colors"],label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:"",ghost:"",link:""},size:{xs:{base:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},block:{true:{base:"w-full justify-center",trailingIcon:"ms-auto"}},square:{true:""},leading:{true:""},trailing:{true:""},loading:{true:""},active:{true:{base:""},false:{base:""}}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"},{color:"info",variant:"solid",class:"text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focu
56s:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"ghost",class:"text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"secondary",variant:"ghost",class:"text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"success",variant:"ghost",class:"text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"info",variant:"ghost",class:"text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"warning",variant:"ghost",class:"text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"error",variant:"ghost",class:"text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"primary",variant:"link",class:"text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:"link",class:"text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:"link",class:"text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:"link",class:"text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:"link",class:"text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:"link",class:"text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"soft",class:"text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"ghost",class:"text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"},{color:"neutral",variant:"link",class:"text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"},{size:"xs",square:!0,class:"p-1"},{size:"sm",square:!0,class:"p-1.5"},{size:"md",square:!0,class:"p-1.5"},{size:"lg",square:!0,class:"p-2"},{size:"xl",square:!0,class:"p-2"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},ha={__name:"Button",props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:[String,Object],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:[String,Object],required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:[String,Object],required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:[String,Object],required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Dn(),r=Xt(),{orientation:o,size:i}=iy(t),s=Al(BC(t)),l=V(!1),a=ft(qC,void 0);async function u(g){l.value=!0;const y=Array.isArray(t.onClick)?t.onClick:[t.onClick];try{await Promise.all(y.map(b=>b?.(g)))}finally{l.value=!1}}const c=W(()=>t.loading||t.loadingAuto&&(l.value||a?.value&&t.type==="submit")),{isLeading:d,isTrailing:p,leadingIconName:f,trailingIconName:m}=dh(W(()=>({...t,loading:c.value}))),h=W(()=>nt({extend:nt(iF),...yl({variants:{active:{true:{base:$1(r.ui?.button?.variants?.active?.true?.base,t.activeClass)},false:{base:$1(r.ui?.button?.variants?.active?.false?.base,t.inactiveClass)}}}},r.ui?.button||{})})({color:t.color,variant:t.variant,size:i.value,loading:c.value,block:t.block,square:t.square||!n.default&&!t.label,leading:d.value,trailing:p.value,fieldGroup:o.value}));return(g,y)=>
56(P(),X(ZC,be({type:e.type,disabled:e.disabled||c.value},v(xc)(v(s),["type","disabled","onClick"]),{custom:""}),{default:D(({active:b,...x})=>[K(ip,be(x,{class:h.value.base({class:[t.ui?.base,t.class],active:b,...b&&e.activeVariant?{variant:e.activeVariant}:{},...b&&e.activeColor?{color:e.activeColor}:{}}),onClick:u}),{default:D(()=>[se(g.$slots,"leading",{},()=>[v(d)&&v(f)?(P(),X(it,{key:0,name:v(f),class:re(h.value.leadingIcon({class:t.ui?.leadingIcon,active:b}))},null,8,["name","class"])):e.avatar?(P(),X(Di,be({key:1,size:t.ui?.leadingAvatarSize||h.value.leadingAvatarSize()},e.avatar,{class:h.value.leadingAvatar({class:t.ui?.leadingAvatar,active:b})}),null,16,["size","class"])):ae("",!0)]),se(g.$slots,"default",{},()=>[e.label!==void 0&&e.label!==null?(P(),B("span",{key:0,class:re(h.value.label({class:t.ui?.label,active:b}))},te(e.label),3)):ae("",!0)]),se(g.$slots,"trailing",{},()=>[v(p)&&v(m)?(P(),X(it,{key:0,name:v(m),class:re(h.value.trailingIcon({class:t.ui?.trailingIcon,active:b}))},null,8,["name","class"])):ae("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},sF={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-16",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",content:"data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"}},fullscreen:{true:{content:"inset-0"},false:{content:"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-lg max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-lg shadow-lg ring ring-default overflow-hidden"}}}},Zc={__name:"Modal",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},fullscreen:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:[String,Object],required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:null,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),{t:i}=eh(),s=Xt(),l=Vn(ti(n,"open","defaultOpen","modal"),r),a=ch(mr(()=>n.portal)),u=mr(()=>n.content),c=W(()=>{const p={closeAutoFocus:f=>f.preventDefault()};return n.dismissible?p:["pointerDownOutside","interactOutside","escapeKeyDown"].reduce((m,h)=>(m[h]=g=>{g.preventDefault(),r("close:prevent")},m),p)}),d=W(()=>nt({extend:nt(sF),...s.ui?.modal||{}})({transition:n.transition,fullscreen:n.fullscreen}));return(p,f)=>(P(),X(v($k),ct(_t(v(l))),{default:D(({open:m,close:h})=>[o.default?(P(),X(v(Dk),{key:0,"as-child":"",class:re(n.class)},{default:D(()=>[se(p.$slots,"default",{open:m})]),_:2},1032,["class"])):ae("",!0),K(v(Fk),ct(_t(v(a))),{default:D(()=>[e.overlay?(P(),X(v(Bk),{key:0,class:re(d.value.overlay({class:n.ui?.overlay}))},null,8,["class"])):ae("",!0),K(v(Rk),be({class:d.value.content({class:[!o.default&&n.class,n.ui?.content]})},u.value,{onAfterEnter:f[0]||(f[0]=g=>r("after:enter")),onAfterLeave:f[1]||(f[1]=g=>r("after:leave"))},t0(c.value)),{default:D(()=>[o.content&&(e.title||o.title||e.description||o.description)?(P(),X(v(oh),{key:0},{default:D(()=>[e.title||o.title?(P(),X(v(Qf),{key:0},{default:D(()=>[se(p.$slots,"title",{},()=>[Le(te(e.title),1)])]),_:3})):ae("",!0),e.description||o.description?(P(),X(v(Xf),{key:1},{default:D(()=>[se(p.$slots,"description",{},()=>[Le(te(e.description),1)])]),_:3})):ae("",!0)]),_:3})):ae("",!0),se(p.$slots,"content",{close:h},()=>
56[o.header||e.title||o.title||e.description||o.description||n.close||o.close?(P(),B("div",{key:0,class:re(d.value.header({class:n.ui?.header}))},[se(p.$slots,"header",{close:h},()=>[_("div",{class:re(d.value.wrapper({class:n.ui?.wrapper}))},[e.title||o.title?(P(),X(v(Qf),{key:0,class:re(d.value.title({class:n.ui?.title}))},{default:D(()=>[se(p.$slots,"title",{},()=>[Le(te(e.title),1)])]),_:3},8,["class"])):ae("",!0),e.description||o.description?(P(),X(v(Xf),{key:1,class:re(d.value.description({class:n.ui?.description}))},{default:D(()=>[se(p.$slots,"description",{},()=>[Le(te(e.description),1)])]),_:3},8,["class"])):ae("",!0)],2),se(p.$slots,"actions"),n.close||o.close?(P(),X(v(aL),{key:0,"as-child":""},{default:D(()=>[se(p.$slots,"close",{close:h,ui:d.value},()=>[n.close?(P(),X(ha,be({key:0,icon:e.closeIcon||v(s).ui.icons.close,color:"neutral",variant:"ghost","aria-label":v(i)("modal.close")},typeof n.close=="object"?n.close:{},{class:d.value.close({class:n.ui?.close})}),null,16,["icon","aria-label","class"])):ae("",!0)])]),_:2},1024)):ae("",!0)])],2)):ae("",!0),o.body?(P(),B("div",{key:1,class:re(d.value.body({class:n.ui?.body}))},[se(p.$slots,"body",{close:h})],2)):ae("",!0),o.footer?(P(),B("div",{key:2,class:re(d.value.footer({class:n.ui?.footer}))},[se(p.$slots,"footer",{close:h})],2)):ae("",!0)])]),_:2},1040,["class"])]),_:2},1040)]),_:3},16))}};function wx(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function dy(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:wx(t[r])&&wx(e[r])&&Object.keys(t[r]).length>0&&dy(e[r],t[r])})}const eT={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Io(){const e=typeof document<"u"?document:{};return dy(e,eT),e}const lF={document:eT,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function br(){const e=typeof window<"u"?window:{};return dy(e,lF),e}function aF(e=""){return e.trim().split(" ").filter(t=>!!t.trim())}function uF(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function tT(e,t=0){return setTimeout(e,t)}function ol(){return Date.now()}function cF(e){const t=br();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function dF(e,t="x"){const n=br();let r,o,i;const s=cF(e);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(l=>l.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(o==="none"?"":o)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?o=i.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?o=i.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function ku(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function fF(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Nr(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<e.length;r+=1){const o=e[r];if(o!=null&&!fF(o)){const i=Object.keys(Object(o)).filter(s=>n.indexOf(s)<0);for(let s=0,l=i.length;s<l;s+=1){const a=i[s],u=Object.getOwnPropertyDescriptor(o,a);u!==void 0&&u.enumerable&&(ku(t[a])&&ku(o[a])?o[a].__swiper__?t[a]=o[a]:Nr(t[a],o[a]):!ku(t[a])&&ku(o[a])?(t[a]={},o[a].__swiper__?t[a]=o[a]:Nr(t[a],o[a])):t[a]=o[a])}}}return t}function Ad(e,t,n){e.style.setProperty(t,n)}function nT({swiper:e,targetPosition:t,side:n}){const r=br(),o=-e.translate;let i=null,s;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const a=t>o?"next":"prev",u=(d,p)=>a==="next"&&d>=p||a==="prev"&&d<=p,c=()=>{s=new Date().getTime(),i===null&&(i=s);const d=Math.max(Math.min((s-i)/l,1),0),p=.5-Math.cos(d*Math.PI)/2;let f=o+p*(t-o);if(u(f,t)&&(f=t),e.wrapperEl.scrollTo({[n]:f}),u(f,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:f})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function Co(e,t=""){const n=br(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(o=>o.matches(t)):r}function pF(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function hF(e,t){const n=br();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=pF(e,t))),r}function sp(e){try{console.warn(e);return}catch{}}function lp(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:aF(t)),n}function mF(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function gF(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function os(e,t){return br().getComputedStyle(e,null).getPropertyValue(t)}function ap(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function rT(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function cm(e,t){function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}t&&e.addEventListener("transitionend",n)}function Xg(e,t,n){const r=br();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function Sn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function Pc(e,t=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let dm;function vF(){const e=br(),t=Io();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function oT(){return dm||(dm=vF()),dm}let fm;function yF({userAgent:e}={}){const t=oT(),n=br(),r=n.navigator.platform,o=e||n.navigator.userAgent,i={ios:!1,android:!1},s=n.screen.width,l=n.screen.height,a=o.match(/(Android);?[\s\/]+([\d.]+)?/);let u=o.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=o.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let f=r==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&f&&t.touch&&m.indexOf(`${s}x${l}`)>=0&&(u=o.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),a&&!p&&(i.os="android",i.android=!0),(u||d||c)&&
vendor: 27,859 bytes, line 56
56(i.os="ios",i.ios=!0),i}function iT(e={}){return fm||(fm=yF(e)),fm}let pm;function bF(){const e=br(),t=iT();let n=!1;function r(){const l=e.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(r()){const l=String(e.navigator.userAgent);if(l.includes("Version/")){const[a,u]=l.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=a<16||a===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r(),s=i||o&&t.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:s,isWebView:o}}function sT(){return pm||(pm=bF()),pm}function xF({swiper:e,on:t,emit:n}){const r=br();let o=null,i=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(c=>{i=r.requestAnimationFrame(()=>{const{width:d,height:p}=e;let f=d,m=p;c.forEach(({contentBoxSize:h,contentRect:g,target:y})=>{y&&y!==e.el||(f=g?g.width:(h[0]||h).inlineSize,m=g?g.height:(h[0]||h).blockSize)}),(f!==d||m!==p)&&s()})}),o.observe(e.el))},a=()=>{i&&r.cancelAnimationFrame(i),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},u=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){l();return}r.addEventListener("resize",s),r.addEventListener("orientationchange",u)}),t("destroy",()=>{a(),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",u)})}function _F({swiper:e,extendParams:t,on:n,emit:r}){const o=[],i=br(),s=(u,c={})=>{const d=i.MutationObserver||i.WebkitMutationObserver,p=new d(f=>{if(e.__preventObserver__)return;if(f.length===1){r("observerUpdate",f[0]);return}const m=function(){r("observerUpdate",f[0])};i.requestAnimationFrame?i.requestAnimationFrame(m):i.setTimeout(m,0)});p.observe(u,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:e.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),o.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const u=rT(e.hostEl);for(let c=0;c<u.length;c+=1)s(u[c])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},a=()=>{o.forEach(u=>{u.disconnect()}),o.splice(0,o.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",a)}var wF={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const o=n?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][o](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function o(...i){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy,t.apply(r,i)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,i)=>{(o===t||o.__emitterProxy&&o.__emitterProxy===t)&&n.eventsListeners[r].splice(i,1)})}),n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,r,o;return typeof e[0]=="string"||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),o=t):(n=e[0].events,r=e[0].data,o=e[0].context||t),r.unshift(o),(Array.isArray(n)?n:n.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(l=>{l.apply(o,[s,...r])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(l=>{l.apply(o,r)})}),t}};function SF(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(os(r,"padding-left")||0,10)-parseInt(os(r,"padding-right")||0,10),n=n-parseInt(os(r,"padding-top")||0,10)-parseInt(os(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function kF(){const e=this;function t(A,M){return parseFloat(A.getPropertyValue(e.getDirectionLabel(M))||0)}const n=e.params,{wrapperEl:r,slidesEl:o,rtlTranslate:i,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,a=l?e.virtual.slides.length:e.slides.length,u=Co(o,`.${e.params.slideClass}, swiper-slide`),c=l?e.virtual.slides.length:u.length;let d=[];const p=[],f=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let h=n.slidesOffsetAfter;typeof h=="function"&&(h=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length,b=e.size-m-h;let x=n.spaceBetween,w=-m,E=0,T=0;if(typeof b>"u")return;typeof x=="string"&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*b:typeof x=="string"&&(x=parseFloat(x)),e.virtualSize=-x-m-h,u.forEach(A=>{i?A.style.marginLeft="":A.style.marginRight="",A.style.marginBottom="",A.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Ad(r,"--swiper-centered-offset-before",""),Ad(r,"--swiper-centered-offset-after",""));const k=n.grid&&n.grid.rows>1&&e.grid;k?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();let S;const C=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(A=>typeof n.breakpoints[A].slidesPerView<"u").length>0;for(let A=0;A<c;A+=1){S=0;const M=u[A];if(!(M&&(k&&e.grid.updateSlide(A,M,u),os(M,"display")==="none"))){if(l&&n.slidesPerView==="auto")n.virtual.slidesPerViewAutoSlideSize&&(S=n.virtual.slidesPerViewAutoSlideSize),S&&M&&(n.roundLengths&&(S=Math.floor(S)),M.style[e.getDirectionLabel("width")]=`${S}px`);else if(n.slidesPerView==="auto"){C&&(M.style[e.getDirectionLabel("width")]="");const I=getComputedStyle(M),$=M.style.transform,F=M.style.webkitTransform;if($&&(M.style.transform="none"),F&&(M.style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?Xg(M,"width"):Xg(M,"height");else{const q=t(I,"width"),O=t(I,"padding-left"),L=t(I,"padding-right"),N=t(I,"margin-left"),Z=t(I,"margin-right"),H=I.getPropertyValue("box-sizing");if(H&&H==="border-box")S=q+N+Z;else{const{clientWidth:G,offsetWidth:oe}=M;S=q+O+L+N+Z+(oe-G)}}$&&(M.style.transform=$),F&&(M.style.webkitTransform=F),n.roundLengths&&(S=Math.floor(S))}else S=(b-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),M&&(M.style[e.getDirectionLabel("width")]=`${S}px`);M&&(M.swiperSlideSize=S),f.push(S),n.centeredSlides?(w=w+S/2+E/2+x,E===0&&A!==0&&(w=w-b/2-x),A===0&&(w=w-b/2-x),Math.abs(w)<1/1e3&&(w=0),n.roundLengths&&(w=Math.floor(w)),T%n.slidesPerGroup===0&&d.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup===0&&d.push(w),p.push(w),w=w+S+x),e.virtualSize+=S+x,E=S,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,b)+h,i&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${e.virtualSize+x}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),k&&e.grid.updateWrapperSize(S,d),!n.centeredSlides){const A=[];for(let M=0;M<d.length;M+=1){let I=d[M];n.roundLengths&&(I=Math.floor(I)),d[M]<=e.virtualSize-b&&A.push(I)}d=A,Math.floor(e.virtualSize-b)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-b)}if(l&&n.loop){const A=f[0]+x;if(n.slidesPerGroup>1){const M=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=A*n.slidesPerGroup;for(let $=0;$<M;$+=1)d.push(d[d.length-1]+I)}for(let M=0;M<e.virtual.slidesBefore+e.virtual.slidesAfter;M+=1)n.slidesPerGroup===1&&d.push(d[d.length-1]+A),p.push(p[p.length-1]+A),e.virtualSize+=A}if(d.length===0&&(d=[0]),x!==0){const A=e.isHorizontal()&&i?"marginLeft":e.getDirectionLabel("marginRight");u.filter((M,I)=>!n.cssMode||n.loop?!0:I!==u.length-1).forEach(M=>{M.style[A]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let A=0;f.forEach(I=>{A+=I+(x||0)}),A-=x;const M=A>b?A-b:0;d=d.map(I=>I<=0?-m:I>M?M+h:I)}if(n.centerInsufficientSlides){let A=0;f.forEach(I=>{A+=I+(x||0)}),A-=x;const M=(m||0)+(h||0);if(A+M<b){const I=(b-A-M)/2;d.forEach(($,F)=>{d[F]=$-I}),p.forEach(($,F)=>{p[F]=$+I})}}if(Object.assign(e,{slides:u,snapGrid:d,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Ad(r,"--swiper-centered-offset-before",`${-d[0]}px`),Ad(r,"--swiper-centered-offset-after",`${e.size/2-f[f.length-1]/2}px`);const A=-e.snapGrid[0],M=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+A),e.slidesGrid=e.slidesGrid.map(I=>I+M)}if(c!==a&&e.emit("slidesLengthChange"),d.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const A=`${n.containerModifierClass}backface-hidden`,M=e.el.classList.contains(A);c<=n.maxBackfaceHiddenSlides?M||e.el.classList.add(A):M&&e.el.classList.remove(A)}}function CF(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o=0,i;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=l=>r?t.slides[t.getSlideIndexByData(l)]:t.slides[l];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(l=>{n.push(l)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const l=t.activeIndex+i;if(l>t.slides.length&&!r)break;n.push(s(l))}else n.push(s(t.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]<"u"){const l=n[i].offsetHeight;o=l>o?l:o}(o||o===0)&&(t.wrapperEl.style.height=`${o}px`)}function TF(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}const Sx=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function EF(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let s=-e;o&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=n.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a<r.length;a+=1){const u=r[a];let c=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const d=(s+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+l),p=(s-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+l),f=-(s-c),m=f+t.slidesSizesGrid[a],h=f>=0&&f<=t.size-t.slidesSizesGrid[a],g=f>=0&&f<t.size-1||m>1&&m<=t.size||f<=0&&m>=t.size;g&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(a)),Sx(u,g,n.slideVisibleClass),Sx(u,h,n.slideFullyVisibleClass),u.progress=o?-d:d,u.originalProgress=o?-p:p}}function PF(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:s,progressLoop:l}=t;const a=i,u=s;if(r===0)o=0,i=!0,s=!0;else{o=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;i=c||o<=0,s=d||o>=1,c&&(o=0),d&&(o=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),p=t.slidesGrid[c],f=t.slidesGrid[d],m=t.slidesGrid[t.slidesGrid.length-1],h=Math.abs(e);h>=p?l=(h-p)/m:l=(h+m-f)/m,l>1&&(l-=1)}Object.assign(t,{progress:o,progressLoop:l,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!a&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(a&&!i||u&&!s)&&t.emit("fromEdge"),t.emit("progress",o)}const hm=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function IF(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,l=d=>Co(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let a,u,c;if(i)if(n.loop){let d=o-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),a=l(`[data-swiper-slide-index="${d}"]`)}else a=l(`[data-swiper-slide-index="${o}"]`);else s?(a=t.find(d=>d.column===o),c=t.find(d=>d.column===o+1),u=t.find(d=>d.column===o-1)):a=t[o];a&&(s||(c=gF(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=mF(a,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{hm(d,d===a,n.slideActiveClass),hm(d,d===c,n.slideNextClass),hm(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const cf=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let o=r.querySelector(`.${e.params.lazyPreloaderClass}`);!o&&e.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},mm=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Qg=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=o,l=[s-t];l.push(...Array.from({length:t}).map((a,u)=>s+r+u)),e.slides.forEach((a,u)=>{l.includes(a.column)&&mm(e,u)});return}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let s=o-t;s<=i+t;s+=1){const l=(s%n+n)%n;(l<o||l>i)&&mm(e,l)}else for(let s=Math.max(o-t,0);s<=Math.min(i+t,n-1);s+=1)s!==o&&(s>i||s<o)&&mm(e,s)};function AF(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function $F(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:l}=t;let a=e,u;const c=f=>{let m=f-t.virtual.slidesBefore;return m<0&&(m=t.virtual.slides.length+m),m>=t.virtual.slides.length&&(m-=t.virtual.slides.length),m};if(typeof a>"u"&&(a=AF(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const f=Math.min(o.slidesPerGroupSkip,a);u=f+Math.floor((a-f)/o.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),a===i&&!t.params.loop){u!==l&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(a===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(a);return}const d=t.grid&&o.grid&&o.grid.rows>1;let p;if(t.virtual&&o.virtual.enabled&&o.loop)p=c(a);else if(d){const f=t.slides.find(h=>h.column===a);let m=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(t.slides.indexOf(f),0)),p=Math.floor(m/o.grid.rows)}else if(t.slides[a]){const f=t.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(t,{previousSnapIndex:l,snapIndex:u,previousRealIndex:s,realIndex:p,previousIndex:i,activeIndex:a}),t.initialized&&Qg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==p&&t.emit("realIndexChange"),t.emit("slideChange"))}function MF(e,t){const n=this,r=n.params;let o=e.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(l=>{!o&&l.matches&&l.matches(`.${r.slideClass}, swiper-slide`)&&(o=l)});let i=!1,s;if(o){for(let l=0;l<n.slides.length;l+=1)if(n.slides[l]===o){i=!0,s=l;break}}if(o&&i)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var OF={updateSize:SF,updateSlides:kF,updateAutoHeight:CF,updateSlidesOffset:TF,updateSlidesProgress:EF,updateProgress:PF,updateSlidesClasses:IF,updateActiveIndex:$F,updateClickedSlide:MF};function LF(e=this.isHorizontal()?"x":"y"){const t=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:i}=t;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let s=dF(i,e);return s+=t.cssOverflowAdjustment(),r&&(s=-s),s||0}function qF(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:s}=n;let l=0,a=0;const u=0;n.isHorizontal()?l=r?-e:e:a=e,o.roundLengths&&(l=Math.floor(l),a=Math.floor(a)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:a,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-a:o.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():a-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${a}px, ${u}px)`);let c;const d=n.maxTranslate()-n.minTranslate();d===0?c=0:c=(e-n.minTranslate())/d,c!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function RF(){return-this.snapGrid[0]}function BF(){return-this.snapGrid[this.snapGrid.length-1]}function FF(e=0,t=this.params.speed,n=!0,r=!0,o){const i=this,{params:s,wrapperEl:l}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const a=i.minTranslate(),u=i.maxTranslate();let c;if(r&&e>a?c=a:r&&e<u?c=u:c=e,i.updateProgress(c),s.cssMode){const d=i.isHorizontal();if(t===0)l[d?"scrollLeft":"scrollTop"]=-c;else{if(!i.support.smoothScroll)return nT({swiper:i,targetPosition:-c,side:d?"left":"top"}),!0;l.scrollTo({[d?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(p){!i||i.destroyed||p.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var DF={getTranslate:LF,setTranslate:qF,minTranslate:RF,maxTranslate:BF,translateTo:FF};function NF(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function lT({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:o,previousIndex:i}=e;let s=n;s||(o>i?s="next":o<i?s="prev":s="reset"),e.emit(`transition${r}`),t&&s==="reset"?e.emit(`slideResetTransition${r}`):t&&o!==i&&(e.emit(`slideChangeTransition${r}`),s==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}function VF(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),lT({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function zF(e=!0,t){const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),lT({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var jF={setTransition:NF,transitionStart:VF,transitionEnd:zF};function HF(e=0,t,n=!0,r,o){typeof e=="string"&&(e=parseInt(e,10));const i=this;let s=e;s<0&&(s=0);const{params:l,snapGrid:a,slidesGrid:u,previousIndex:c,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:m}=i;if(!m&&!r&&!o||i.destroyed||i.animating&&l.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=i.params.speed);const h=Math.min(i.params.slidesPerGroupSkip,s);let g=h+Math.floor((s-h)/i.params.slidesPerGroup);g>=a.length&&(g=a.length-1);const y=-a[g];if(l.normalizeSlideIndex)for(let k=0;k<u.length;k+=1){const S=-Math.floor(y*100),C=Math.floor(u[k]*100),A=Math.floor(u[k+1]*100);typeof u[k+1]<"u"?S>=C&&S<A-(A-C)/2?s=k:S>=C&&S<A&&(s=k+1):S>=C&&(s=k)}if(i.initialized&&s!==d&&(!i.allowSlideNext&&(p?y>i.translate&&y>i.minTranslate():y<i.translate&&y<i.minTranslate())||!i.allowSlidePrev&&y>i.translate&&y>i.maxTranslate()&&(d||0)!==s))return!1;s!==(c||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(y);let b;s>d?b="next":s<d?b="prev":b="reset";const x=i.virtual&&i.params.virtual.enabled;if(!(x&&o)&&(p&&-y===i.translate||!p&&y===i.translate))return i.updateActiveIndex(s),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),l.effect!=="slide"&&i.setTranslate(y),b!=="reset"&&(i.transitionStart(n,b),i.transitionEnd(n,b)),!1;if(l.cssMode){const k=i.isHorizontal(),S=p?y:-y;if(t===0)x&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),x&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[k?"scrollLeft":"scrollTop"]=S})):f[k?"scrollLeft":"scrollTop"]=S,x&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return nT({swiper:i,targetPosition:S,side:k?"left":"top"}),!0;f.scrollTo({[k?"left":"top"]:S,behavior:"smooth"})}return!0}const T=sT().isSafari;return x&&!o&&T&&i.isElement&&i.virtual.update(!1,!1,s),i.setTransition(t),i.setTranslate(y),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,b),t===0?i.transitionEnd(n,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(S){!i||i.destroyed||S.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,b))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function UF(e=0,t,n=!0,r){typeof e=="string"&&(e=parseInt(e,10));const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s=s+o.virtual.slidesBefore;else{let l;if(i){const h=s*o.params.grid.rows;l=o.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===h).column}else l=o.getSlideIndexByData(s);const a=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u,slidesOffsetBefore:c,slidesOffsetAfter:d}=o.params,p=u||!!c||!!d;let f=o.params.slidesPerView;f==="auto"?f=o.slidesPerViewDynamic():(f=Math.ceil(parseFloat(o.params.slidesPerView,10)),p&&f%2===0&&(f=f+1));let m=a-l<f;if(p&&(m=m||l<Math.ceil(f/2)),r&&p&&o.params.slidesPerView!=="auto"&&!i&&(m=!1),m){const h=p?l<o.activeIndex?"prev":"next":l-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?l+1:l-a+1,slideRealIndex:h==="next"?o.realIndex:void 0})}if(i){const h=s*o.params.grid.rows;s=o.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===h).column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame(()=>{o.slideTo(s,t,n,r)}),o}function WF(e,t=!0,n){const r=this,{enabled:o,params:i,animating:s}=r;if(!o||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let l=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const a=r.activeIndex<i.slidesPerGroupSkip?1:l,u=r.virtual&&i.virtual.enabled;if(i.loop){if(s&&!u&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+a,e,t,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+a,e,t,n)}function GF(e,t=!0,n){const r=this,{params:o,snapGrid:i,slidesGrid:s,rtlTranslate:l,enabled:a,animating:u}=r;if(!a||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=l?r.translate:-r.translate;function p(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const f=p(d),m=i.map(b=>p(b)),h=o.freeMode&&o.freeMode.enabled;let g=i[m.indexOf(f)-1];if(typeof g>"u"&&(o.cssMode||h)){let b;i.forEach((x,w)=>{f>=x&&(b=w)}),typeof b<"u"&&(g=h?i[b]:i[b>0?b-1:b])}let y=0;if(typeof g<"u"&&(y=s.indexOf(g),y<0&&(y=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(y=y-r.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),o.rewind&&r.isBeginning){const b=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(b,e,t,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(y,e,t,n)}),!0;return r.slideTo(y,e,t,n)}function KF(e,t=!0,n){const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function YF(e,t=!0,n,r=.5){const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);let i=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,i),l=s+Math.floor((i-s)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[l]){const u=o.snapGrid[l],c=o.snapGrid[l+1];a-u>(c-u)*r&&(i+=o.params.slidesPerGroup)}else{const u=o.snapGrid[l-1],c=o.snapGrid[l];a-u<=(c-u)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)}function XF(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let o=e.getSlideIndexWhenGrid(e.clickedIndex),i;const s=e.isElement?"swiper-slide":`.${t.slideClass}`,l=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):o>(l?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),o=e.getSlideIndex(Co(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),tT(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}var QF={slideTo:HF,slideToLoop:UF,slideNext:WF,slidePrev:GF,slideReset:KF,slideToClosest:YF,slideToClickedSlide:XF};function JF(e,t){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{Co(o,`.${r.slideClass}, swiper-slide`).forEach((m,h)=>{m.setAttribute("data-swiper-slide-index",h)})},s=()=>{const f=Co(o,`.${r.slideBlankClass}`);f.forEach(m=>{m.remove()}),f.length>0&&(n.recalcSlides(),n.updateSlides())},l=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||l)&&s();const a=r.slidesPerGroup*(l?r.grid.rows:1),u=n.slides.length%a!==0,c=l&&n.slides.length%r.grid.rows!==0,d=f=>{for(let m=0;m<f;m+=1){const h=n.isElement?lp("swiper-slide",[r.slideBlankClass]):lp("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(h)}};if(u){if(r.loopAddBlankSlides){const f=a-n.slides.length%a;d(f),n.recalcSlides(),n.updateSlides()}else sp("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(c){if(r.loopAddBlankSlides){const f=r.grid.rows-n.slides.length%r.grid.rows;d(f),n.recalcSlides(),n.updateSlides()}else sp("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may
56not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();const p=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:p?void 0:"next",initial:t})}function ZF({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:o,initial:i,byController:s,byMousewheel:l}={}){const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:d,slidesEl:p,params:f}=a,{centeredSlides:m,slidesOffsetBefore:h,slidesOffsetAfter:g,initialSlide:y}=f,b=m||!!h||!!g;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&f.virtual.enabled){t&&(!b&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):b&&a.snapIndex<f.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=c,a.allowSlideNext=d,a.emit("loopFix");return}let x=f.slidesPerView;x==="auto"?x=a.slidesPerViewDynamic():(x=Math.ceil(parseFloat(f.slidesPerView,10)),b&&x%2===0&&(x=x+1));const w=f.slidesPerGroupAuto?x:f.slidesPerGroup;let E=b?Math.max(w,Math.ceil(x/2)):w;E%w!==0&&(E+=w-E%w),E+=f.loopAdditionalSlides,a.loopedSlides=E;const T=a.grid&&f.grid&&f.grid.rows>1;u.length<x+E||a.params.effect==="cards"&&u.length<x+E*2?sp("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&f.grid.fill==="row"&&sp("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const k=[],S=[],C=T?Math.ceil(u.length/f.grid.rows):u.length,A=i&&C-y<x&&!b;let M=A?y:a.activeIndex;typeof o>"u"?o=a.getSlideIndex(u.find(N=>N.classList.contains(f.slideActiveClass))):M=o;const I=n==="next"||!n,$=n==="prev"||!n;let F=0,q=0;const L=(T?u[o].column:o)+(b&&typeof r>"u"?-x/2+.5:0);if(L<E){F=Math.max(E-L,w);for(let N=0;N<E-L;N+=1){const Z=N-Math.floor(N/C)*C;if(T){const H=C-Z-1;for(let G=u.length-1;G>=0;G-=1)u[G].column===H&&k.push(G)}else k.push(C-Z-1)}}else if(L+x>C-E){q=Math.max(L-(C-E*2),w),A&&(q=Math.max(q,x-C+y+1));for(let N=0;N<q;N+=1){const Z=N-Math.floor(N/C)*C;T?u.forEach((H,G)=>{H.column===Z&&S.push(G)}):S.push(Z)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),a.params.effect==="cards"&&u.length<x+E*2&&(S.includes(o)&&S.splice(S.indexOf(o),1),k.includes(o)&&k.splice(k.indexOf(o),1)),$&&k.forEach(N=>{u[N].swiperLoopMoveDOM=!0,p.prepend(u[N]),u[N].swiperLoopMoveDOM=!1}
vendor: 15,030 bytes, line 56
56),I&&S.forEach(N=>{u[N].swiperLoopMoveDOM=!0,p.append(u[N]),u[N].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():T&&(k.length>0&&$||S.length>0&&I)&&a.slides.forEach((N,Z)=>{a.grid.updateSlide(Z,N,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),t){if(k.length>0&&$){if(typeof e>"u"){const N=a.slidesGrid[M],H=a.slidesGrid[M+F]-N;l?a.setTranslate(a.translate-H):(a.slideTo(M+Math.ceil(F),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else if(r){const N=T?k.length/f.grid.rows:k.length;a.slideTo(a.activeIndex+N,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&I)if(typeof e>"u"){const N=a.slidesGrid[M],H=a.slidesGrid[M-q]-N;l?a.setTranslate(a.translate-H):(a.slideTo(M-q,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else{const N=T?S.length/f.grid.rows:S.length;a.slideTo(a.activeIndex-N,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=d,a.controller&&a.controller.control&&!s){const N={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:o,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(Z=>{!Z.destroyed&&Z.params.loop&&Z.loopFix({...N,slideTo:Z.params.slidesPerView===f.slidesPerView?t:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...N,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?t:!1})}a.emit("loopFix")}function eD(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(o=>{const i=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[i]=o}),e.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var tD={loopCreate:JF,loopFix:ZF,loopDestroy:eD};function nD(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function rD(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var oD={setGrabCursor:nD,unsetGrabCursor:rD};function iD(e,t=this){function n(r){if(!r||r===Io()||r===br())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(e);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(t)}function kx(e,t,n){const r=br(),{params:o}=e,i=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return i&&(n<=s||n>=r.innerWidth-s)?i==="prevent"?(t.preventDefault(),!0):!1:!0}function sD(e){const t=this,n=Io();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){kx(t,r,r.targetTouches[0].pageX);return}const{params:i,touches:s,enabled:l}=t;if(!l||!i.simulateTouch&&r.pointerType==="mouse"||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let a=r.target;if(i.touchEventsTarget==="wrapper"&&!hF(a,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(a=c[0]);const d=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(p?iD(d,a):a.closest(d))){t.allowClick=!0;return}if(i.swipeHandler&&!a.closest(i.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const f=s.currentX,m=s.currentY;if(!kx(t,r,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=m,o.touchStartTime=ol(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let h=!0;a.matches(o.focusableElements)&&(h=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==a&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!a.matches(o.focusableElements))&&n.activeElement.blur();const g=h&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||g)&&!a.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function lD(e){const t=Io(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:s,enabled:l}=n;if(!l||!o.simulateTouch&&e.pointerType==="mouse")return;let a=e;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(r.touchId!==null||a.pointerId!==r.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].find(E=>E.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=a;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",a);return}const c=u.pageX,d=u.pageY;if(a.preventedByNestedSwiper){i.startX=c,i.startY=d;return}if(!n.allowTouchMove){a.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=ol());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(d<i.startY&&n.translate<=n.maxTranslate()||d>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(s&&(c>i.startX&&-n.translate<=n.maxTranslate()||c<i.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(c<i.startX&&n.translate<=n.maxTranslate()||c>i.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a.target&&a.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&a.target===t.activeElement&&a.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",a),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=c,i.currentY=d;const p=i.currentX-i.startX,f=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let E;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:p*p+f*f>=25&&(E=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,r.isScrolling=n.isHorizontal()?E>o.touchAngle:90-E>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",a),typeof r.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||a.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let m=n.isHorizontal()?p:f,h=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(m=Math.abs(m)*(s?1:-1),h=Math.abs(h)*(s?1:-1)),i.diff=m,m*=o.touchRatio,s&&(m=-m,h=-h);const g=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=h>0?"prev":"next";const y=n.params.loop&&!o.cssMode,b=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(y&&b&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(E)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",a)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&g!==n.touchesDirection&&y&&b&&Math.abs(m)>=1){Object.assign(i,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",a),r.isMoved=!0,r.currentTranslate=m+r.startTranslate;let x=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),m>0?(y&&b&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+m)**w))):m<0&&(y&&b&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-m)**w))),x&&(a.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(m)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function aD(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(E=>E.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:l,rtlTranslate:a,slidesGrid:u,enabled:c}=t;if(!c||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=ol(),p=d-n.touchStartTime;if(t.allowClick){const E=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(E&&E[0]||r.target,E),t.emit("tap click",r),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=ol(),tT(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||l.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let f;if(s.followFinger?f=a?t.translate:-t.translate:f=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:f});return}const m=f>=-t.maxTranslate()&&!t.params.loop;let h=0,g=t.slidesSizesGrid[0];for(let E=0;E<u.length;E+=E<s.slidesPerGroupSkip?1:s.slidesPerGroup){const T=E<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof u[E+T]<"u"?(m||f>=u[E]&&f<u[E+T])&&(h=E,g=u[E+T]-u[E]):(m||f>=u[E])&&(h=E,g=u[u.length-1]-u[u.length-2])}let y=null,b=null;s.rewind&&(t.isBeginning?b=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const x=(f-u[h])/g,w=h<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(p>s.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(x>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?y:h+w):t.slideTo(h)),t.swipeDirection==="prev"&&(x>1-s.longSwipesRatio?t.slideTo(h+w):b!==null&&x<0&&Math.abs(x)>s.longSwipesRatio?t.slideTo(b):t.slideTo(h))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):(t.swipeDirection==="next"&&t.slideTo(y!==null?y:h+w),t.swipeDirection==="prev"&&t.slideTo(b!==null?b:h))}}function Cx(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!l?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function uD(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function cD(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let o;const i=e.maxTranslate()-e.minTranslate();i===0?o=0:o=(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function dD(e){const t=this;cf(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update(
vendor: 5,562 bytes, line 56
56)}function fD(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const aT=(e,t)=>{const n=Io(),{params:r,el:o,wrapperEl:i,device:s}=e,l=!!r.nested,a=t==="on"?"addEventListener":"removeEventListener",u=t;!o||typeof o=="string"||(n[a]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),o[a]("touchstart",e.onTouchStart,{passive:!1}),o[a]("pointerdown",e.onTouchStart,{passive:!1}),n[a]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[a]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[a]("touchend",e.onTouchEnd,{passive:!0}),n[a]("pointerup",e.onTouchEnd,{passive:!0}),n[a]("pointercancel",e.onTouchEnd,{passive:!0}),n[a]("touchcancel",e.onTouchEnd,{passive:!0}),n[a]("pointerout",e.onTouchEnd,{passive:!0}),n[a]("pointerleave",e.onTouchEnd,{passive:!0}),n[a]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[a]("click",e.onClick,!0),r.cssMode&&i[a]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Cx,!0):e[u]("observerUpdate",Cx,!0),o[a]("load",e.onLoad,{capture:!0}))};function pD(){const e=this,{params:t}=e;e.onTouchStart=sD.bind(e),e.onTouchMove=lD.bind(e),e.onTouchEnd=aD.bind(e),e.onDocumentTouchStart=fD.bind(e),t.cssMode&&(e.onScroll=cD.bind(e)),e.onClick=uD.bind(e),e.onLoad=dD.bind(e),aT(e,"on")}function hD(){aT(this,"off")}var mD={attachEvents:pD,detachEvents:hD};const Tx=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function gD(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const s=Io(),l=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",a=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:s.querySelector(r.breakpointsBase),u=e.getBreakpoint(i,l,a);if(!u||e.currentBreakpoint===u)return;const d=(u in i?i[u]:void 0)||e.originalParams,p=Tx(e,r),f=Tx(e,d),m=e.params.grabCursor,h=d.grabCursor,g=r.enabled;p&&!f?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(o.classList.add(`${r.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!h?e.unsetGrabCursor():!m&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(T=>{if(typeof d[T]>"u")return;const k=r[T]&&r[T].enabled,S=d[T]&&d[T].enabled;k&&!S&&e[T].disable(),!k&&S&&e[T].enable()});const y=d.direction&&d.direction!==r.direction,b=r.loop&&(d.slidesPerView!==r.slidesPerView||y),x=r.loop;y&&n&&e.changeDirection(),Nr(e.params,d);const w=e.params.enabled,E=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!w?e.disable():!g&&w&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",d),n&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&E?(e.loopCreate(t),e.updateSlides()):x&&!E&&e.loopDestroy()),e.emit("breakpoint",d)}function vD(e,t="window",n){if(!e||t==="container"&&!n)return;let r=!1;const o=br(),i=t==="window"?o.innerHeight:n.clientHeight,s=Object.keys(e).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:i*a,point:l}}return{value:l,point:l}});s.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l<s.length;l+=1){const{point:a,value:u}=s[l];t==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(r=a):u<=n.clientWidth&&(r=a)}return r||"max"}var yD={setBreakpoint:gD,getBreakpoint:vD};function bD(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(t+o)}):typeof r=="string"&&n.push(t+r)}),n}function xD(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,s=bD(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),o.classList.add(...t),e.emitContainerClasses()}function _D(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var wD={addClasses:xD,removeClasses:_D};function SD(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const o=e.slides.length-1,i=e.slidesGrid[o]+e.slidesSizesGrid[o]+r*2;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var kD={checkOverflow:SD},Jg={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
vendor: 2,852 bytes, line 56
56spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function CD(e,t){return function(r={}){const o=Object.keys(r)[0],i=r[o];if(typeof i!="object"||i===null){Nr(t,r);return}if(e[o]===!0&&(e[o]={enabled:!0}),o==="navigation"&&e[o]&&e[o].enabled&&!e[o].prevEl&&!e[o].nextEl&&(e[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&e[o]&&e[o].enabled&&!e[o].el&&(e[o].auto=!0),!(o in e&&"enabled"in i)){Nr(t,r);return}typeof e[o]=="object"&&!("enabled"in e[o])&&(e[o].enabled=!0),e[o]||(e[o]={enabled:!1}),Nr(t,r)}}const gm={eventsEmitter:wF,update:OF,translate:DF,transition:jF,slide:QF,loop:tD,grabCursor:oD,events:mD,breakpoints:yD,checkOverflow:kD,classes:wD},vm={};let tu=class hi{constructor(...t){let n,r;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?r=t[0]:[n,r]=t,r||(r={}),r=Nr({},r),n&&!r.el&&(r.el=n);const o=Io();if(r.el&&typeof r.el=="string"&&o.querySelectorAll(r.el).length>1){const a=[];return o.querySelectorAll(r.el).forEach(u=>{const c=Nr({},r,{el:u});a.push(new hi(c))}),a}const i=this;i.__swiper__=!0,i.support=oT(),i.device=iT({userAgent:r.userAgent}),i.browser=sT(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&i.modules.push(...r.modules);const s={};i.modules.forEach(a=>{a({params:r,swiper:i,extendParams:CD(r,s),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const l=Nr({},Jg,s);return i.params=Nr({},l,vm,r),i.originalParams=Nr({},i.params),i.passedParams=Nr({}
vendor: 10,318 bytes, line 56
56,r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(a=>{i.on(a,i.params.on[a])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,o=Co(n,`.${r.slideClass}, swiper-slide`),i=ap(o[0]);return ap(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Co(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const o=r.minTranslate(),s=(r.maxTranslate()-o)*t+o;r.translateTo(s,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const o=t.getSlideClasses(r);n.push({slideEl:r,classNames:o}),t.emit("_slideClass",r,o)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t="current",n=!1){const r=this,{params:o,slides:i,slidesGrid:s,slidesSizesGrid:l,size:a,activeIndex:u}=r;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let d=i[u]?Math.ceil(i[u].swiperSlideSize):0,p;for(let f=u+1;f<i.length;f+=1)i[f]&&!p&&(d+=Math.ceil(i[f].swiperSlideSize),c+=1,d>a&&(p=!0));for(let f=u-1;f>=0;f-=1)i[f]&&!p&&(d+=i[f].swiperSlideSize,c+=1,d>a&&(p=!0))}else if(t==="current")for(let d=u+1;d<i.length;d+=1)(n?s[d]+l[d]-s[u]<a:s[d]-s[u]<a)&&(c+=1);else for(let d=u-1;d>=0;d-=1)s[u]-s[d]<a&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&cf(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function o(){const s=t.rtlTranslate?t.translate*-1:t.translate,l=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const s=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;i=t.slideTo(s.length-1,0,!1,!0)}else i=t.slideTo(t.activeIndex,0,!1,!0);i||o()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n=!0){const r=this,o=r.params.direction;return t||(t=o==="horizontal"?"vertical":"horizontal"),t===o||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(i=>{t==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):Co(r,o())[0];return!s&&n.params.createElements&&(s=lp("div",n.params.wrapperClass),r.append(s),Co(r,`.${n.params.slideClass}`).forEach(l=>{s.append(l)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||os(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||os(r,"direction")==="rtl"),wrongRTL:os(s,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(i=>{i.complete?cf(n,i):i.addEventListener("load",s=>{cf(n,s.target)})}),Qg(n),n.initialized=!0,Qg(n),n.emit("init"),n.emit("afterInit"),n}destroy(t=!0,n=!0){const r=this,{params:o,el:i,wrapperEl:s,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),s&&s.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(a=>{r.off(a)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),uF(r)),r.destroyed=!0),null}static extendDefaults(t){Nr(vm,t)}static get extendedDefaults(){return vm}static get defaults(){return Jg}static installModule(t){hi.prototype.__modules__||(hi.prototype.__modules__=[]);const n=hi.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>hi.installModule(n)),hi):(hi.installModule(t),hi)}};Object.keys(gm).forEach(e=>{Object.keys(gm[e]).forEach(t=>{tu.prototype[t]=gm[e][t]})});tu.use([xF,_F]);const uT=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function xl(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function ma(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>
vendor: 4,888 bytes, line 56
56n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:xl(t[r])&&xl(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:ma(e[r],t[r]):e[r]=t[r]})}function cT(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function dT(e={}){return e.pagination&&typeof e.pagination.el>"u"}function fT(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function pT(e=""){const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function TD(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function ED({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:o,prevEl:i,scrollbarEl:s,paginationEl:l}){const a=r.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:u,pagination:c,navigation:d,scrollbar:p,virtual:f,thumbs:m}=e;let h,g,y,b,x,w,E,T;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(h=!0),r.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(g=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(u.pagination||u.pagination===!1)&&c&&!c.el&&(y=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(u.scrollbar||u.scrollbar===!1)&&p&&!p.el&&(b=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||i)&&(n.navigation.nextEl||o)&&(u.navigation||u.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(x=!0);const k=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),u[S].prevEl=void 0,u[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),u[S].el=void 0,e[S].el=void 0))};r.includes("loop")&&e.isElement&&(u.loop&&!n.loop?w=!0:!u.loop&&n.loop?E=!0:T=!0),a.forEach(S=>{if(xl(u[S])&&xl(n[S]))Object.assign(u[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&k(S);else{const C=n[S];(C===!0||C===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?C===!1&&k(S):u[S]=n[S]}}),a.includes("controller")&&!g&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),r.includes("children")&&t&&f&&u.virtual.enabled?(f.slides=t,f.update(!0)):r.includes("virtual")&&f&&u.virtual.enabled&&(t&&(f.slides=t),f.update(!0)),r.includes("children")&&t&&u.loop&&(T=!0),h&&m.init()&&m.update(!0),g&&(e.controller.control=u.controller.control),y&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(u.pagination.el=l),c.init(),c.render(),c.update()),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(u.scrollbar.el=s),p.init(),p.updateSize(),p.setTranslate()),x&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),Pc(o,e.hostEl.constructor.nextButtonSvg),o.part.add("button-next"),e.el.appendChild(o)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),Pc(i,e.hostEl.constructor.prevButtonSvg),i.part.add("button-prev"),e.el.appendChild(i))),o&&(u.navigation.nextEl=o),i&&(u.navigation.prevEl=i),d.init(),d.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),(w||T)&&e.loopDestroy(),(E||T)&&e.loopCreate(),e.update()}function Ex(e={},t=!0){const n={on:{}},r={},o={};ma(n,Jg),n._emitClasses=!0,n.init=!1;const i={},s=uT.map(a=>a.replace(/_/,"")),l=Object.assign({},e);return Object.keys(l).forEach(a=>{typeof e[a]>"u"||(s.indexOf(a)>=0?xl(e[a])?(n[a]={},o[a]={},ma(n[a],e[a]),ma(o[a],e[a])):(n[a]=e[a],o[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?t?r[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:i[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{n[a]===!0&&(n[a]={}),n[a]===!1&&delete n[a]}),{params:n,passedParams:o,rest:i,events:r}}function PD({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:o,swiper:i},s){cT(s)&&t&&n&&(i.params.navigation.nextEl=t,i.originalParams.navigation.nextEl=t,i.params.navigation.prevEl=n,i.originalParams.navigation.prevEl=n),dT(s)&&r&&(i.params.pagination.el=r,i.originalParams.pagination.el=r),fT(s)&&o&&(i.params.scrollbar.el=o,i.originalParams.scrollbar.el=o),i.init(e)}function ID(e,t,n,r,o){const i=[];if(!t)return i;const s=a=>{i.indexOf(a)<0&&i.push(a)};if(n&&r){const a=r.map(o),u=n.map(o);a.join("")!==u.join("")&&s("children"),r.length!==n.length&&s("children")}return uT.filter(a=>a[0]==="_").map(a=>
56a.replace(/_/,"")).forEach(a=>{if(a in e&&a in t)if(xl(e[a])&&xl(t[a])){const u=Object.keys(e[a]),c=Object.keys(t[a]);u.length!==c.length?s(a):(u.forEach(d=>{e[a][d]!==t[a][d]&&s(a)}),c.forEach(d=>{e[a][d]!==t[a][d]&&s(a)}))}else e[a]!==t[a]&&s(a)}),i}const AD=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function ym(e={},t,n){const r=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},i=(s,l)=>{Array.isArray(s)&&s.forEach(a=>{const u=typeof a.type=="symbol";l==="default"&&(l="container-end"),u&&a.children?i(a.children,l):a.type&&(a.type.name==="SwiperSlide"||a.type.name==="AsyncComponentWrapper")||a.componentOptions&&a.componentOptions.tag==="SwiperSlide"?r.push(a):o[l]&&o[l].push(a)})};return Object.keys(e).forEach(s=>{if(typeof e[s]!="function")return;const l=e[s]();i(l,s)}),n.value=t.value,t.value=r,{slides:r,slots:o}}function $D(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},o=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:i,to:s}=n,l=e.value.params.loop?-t.length:0,a=e.value.params.loop?t.length*2:t.length,u=[];for(let c=l;c<a;c+=1)c>=i&&c<=s&&u.length<t.length&&u.push(t[r(c)]);return u.map(c=>{if(c.props||(c.props={}),c.props.style||(c.props.style={}),c.props.swiperRef=e,c.props.style=o,c.type)return Lt(c.type,{...c.props},c.children);if(c.componentOptions)return Lt(c.componentOptions.Ctor,{...c.props},c.componentOptions.children)})}const Px={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopAddBlankSlides:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","_virtualUpdated","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","auto
56playPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,{slots:t,emit:n}){const{tag:r,wrapperTag:o}=e,i=V("swiper"),s=V(null),l=V(!1),a=V(!1),u=V(null),c=V(null),d=V(null),p={value:[]},f={value:[]},m=V(null),h=V(null),g=V(null),y=V(null),{params:b,passedParams:x}=Ex(e,!1);ym(t,p,f),d.value=x,f.value=p.value;const w=()=>{ym(t,p,f),l.value=!0};b.onAny=(k,...S)=>{n(k,...S)},Object.assign(b.on,{_beforeBreakpoint:w,_containerClasses(k,S){i.value=S}});const E={...b};if(delete E.wrapperClass,c.value=new tu(E),c.value.virtual&&c.value.params.virtual.enabled){c.value.virtual.slides=p.value;const k={cache:!1,slides:p.value,renderExternal:S=>{s.value=S},renderExternalUpdate:!1};ma(c.value.params.virtual,k),ma(c.value.originalParams.virtual,k)}Ka(()=>{!a.value&&c.value&&(c.value.emitSlidesClasses(),a.value=!0);const{passedParams:k}=Ex(e,!1),S=ID(k,d.value,p.value,f.value,C=>C.props&&C.props.key);d.value=k,(S.length||l.value)&&c.value&&!c.value.destroyed&&ED({swiper:c.value,slides:p.value,passedParams:k,changedParams:S,nextEl:m.value,prevEl:h.value,scrollbarEl:y.value,paginationEl:g.value}),l.value=!1}),Wt("swiper",c),we(s,()=>{je(()=>{AD(c.value)})}),Ve(()=>{u.value&&(PD({el:u.value,nextEl:m.value,prevEl:h.value,paginationEl:g.value,scrollbarEl:y.value,swiper:c.value},b),n("swiper",c.value))}),ji(()=>{c.value&&!c.value.destroyed&&c.value.destroy(!0,!1)});function T(k){return b.virtual?$D(c,k,s.value):(k.forEach((S,C)=>{S.props||(S.props={}),S.props.swiperRef=c,S.props.swiperSlideIndex=C}),k)}return()=>{const{slides:k,slots:S}=ym(t,p,f);return Lt(r,{ref:u,class:pT(i.value)},[S["container-start"],Lt(o,{class:TD(b.wrapperClass)},[S["wrapper-start"],T(k),S["wrapper-end"]]),cT(e)&&[Lt("div",{ref:h,class:"swiper-button-prev"}),Lt("div",{ref:m,class:"swiper-button-next"})],fT(e)&&Lt("div",{ref:y,class:"swiper-scrollbar"}),dT(e)&&Lt("div",{ref:g,class:"swiper-pagination"}),S["container-end"]])}}},Ix={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,{slots:t}){let n=!1;const{swiperRef:r}=e,o=V(null),i=V("swiper-slide"),s=V(!1);function l(c,d,p){d===o.value&&(i.value=p)}Ve(()=>{!r||!r.value||(r.value.on("_slideClass",l),n=!0)}),jp(()=>{n||!r||!r.value||(r.value.on("_slideClass",l),n=!0)}),Ka(()=>{!o.value||!r||!r.value||(typeof e.swiperSlideIndex<"u"&&(o.value.swiperSlideIndex=e.swiperSlideIndex),r.value.destroyed&&i.value!=="swiper-slide"&&(i.value="swiper-slide"))}),ji(()=>{!r||!r.value||r.value.off("_slideClass",l)});const a=W(()=>({isActive:i.value.indexOf("swiper-slide-active")>=0,isVisible:i.value.indexOf("swiper-slide-visible")>=0,isPrev:i.value.indexOf("swiper-slide-prev")>=0,isNext:i.value.indexOf("swiper-slide-next")>=0}));Wt("swiperSlide",a);const u=()=>{s.value=!0};return()=>Lt(e.tag,{class:pT(`${i.value}`),ref:o,"data-swiper-slide-index":typeof e.virtualIndex>"u"&&r&&r.value&&r.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:u},e.zoom?Lt("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},[t.default&&t.default(a.value),e.lazy&&!s.value&&Lt("div",{class:"swiper-lazy-preloader"})]):[t.default&&t.default(a.value),e.lazy&&!s.value&&Lt("div",{class:"swiper-lazy-preloader"})])}};function hT(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let i=Co(e.el,`.${r[o]}`)[0];i||(i=lp("div",r[o]),i.className=r[o],e.el.append(i)),n[o]=i,t[o]=i}}),n}const MD='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function hh({swiper:e,extendParams:t,on:n,emit:r}){t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(f){let m;return f&&typeof f=="string"&&e.isElement&&(m=e.el.querySelector(f)||e.hostEl.querySelector(f),m)?m:(f&&(typeof f=="string"&&(m=[...document.querySelectorAll(f)]),e.params.uniqueNavElements&&typeof f=="string"&&m&&m.length>1&&e.el.querySelectorAll(f).length===1?m=e.el.querySelector(f):m&&m.length===1&&(m=m[0])),f&&!m?f:m)}function i(f,m){const h=e.params.navigation;f=Sn(f),f.forEach(g=>{g&&(g.classList[m?"add":"remove"](...h.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=m),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](h.lockClass))})}function s(){const{nextEl:f,prevEl:m}=e.navigation;if(e.params.loop){i(m,!1),i(f,!1);return}i(m,e.isBeginning&&!e.params.rewind),i(f,e.isEnd&&!e.params.rewind)}function l(f){f.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function a(f){f.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const f=e.params.navigation;if(e.params.navigation=hT(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;let m=o(f.nextEl),h=o(f.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:h}),m=Sn(m),h=Sn(h);const g=(y,b)=>{if(y){if(f.addIcons&&y.matches(".swiper-button-next,.swiper-button-prev")&&!y.querySelector("svg")){const x=document.createElement("div");Pc(x,MD),y.appendChild(x.querySelector("svg")),x.remove()}y.addEventListener("click",b==="next"?a:l)}!e.enabled&&y&&y.classList.add(...f.lockClass.split(" "))};m.forEach(y=>g(y,"next")),h.forEach(y=>g(y,"prev"))}function c(){let{nextEl:f,prevEl:m}=e.navigation;f=Sn(f),m=Sn(m);const h=(g,y)=>{g.removeEventListener("click",y==="next"?a:l),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};f.forEach(g=>h(g,"next")),m.forEach(g=>h(g,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?p():(u(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{c()}),n("enable disable",()=>{let{nextEl:f,prevEl:m}=e.navigation;if(f=Sn(f),m=Sn(m),e.enabled){s();return}[...f,...m].filter(h=>
56!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),n("click",(f,m)=>{let{nextEl:h,prevEl:g}=e.navigation;h=Sn(h),g=Sn(g);const y=m.target;let b=g.includes(y)||h.includes(y);if(e.isElement&&!b){const x=m.path||m.composedPath&&m.composedPath();x&&(b=x.find(w=>h.includes(w)||g.includes(w)))}if(e.params.navigation.hideOnClick&&!b){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===y||e.pagination.el.contains(y)))return;let x;h.length?x=h[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(x=g[0].classList.contains(e.params.navigation.hiddenClass)),r(x===!0?"navigationShow":"navigationHide"),[...h,...g].filter(w=>!!w).forEach(w=>w.classList.toggle(e.params.navigation.hiddenClass))}});const d=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),s()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:d,disable:p,update:s,init:u,destroy:c})}function mu(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function mh({swiper:e,extendParams:t,on:n,emit:r}){const o="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:y=>y,formatFractionTotal:y=>y,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let i,s=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function a(y,b){const{bulletActiveClass:x}=e.params.pagination;y&&(y=y[`${b==="prev"?"previous":"next"}ElementSibling`],y&&(y.classList.add(`${x}-${b}`),y=y[`${b==="prev"?"previous":"next"}ElementSibling`],y&&y.classList.add(`${x}-${b}-${b}`)))}function u(y,b,x){if(y=y%x,b=b%x,b===y+1)return"next";if(b===y-1)return"previous"}function c(y){const b=y.target.closest(mu(e.params.pagination.bulletClass));if(!b)return;y.preventDefault();const x=ap(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===x)return;const w=u(e.realIndex,x,e.slides.length);w==="next"?e.slideNext():w==="previous"?e.slidePrev():e.slideToLoop(x)}else e.slideTo(x)}function d(){const y=e.rtl,b=e.params.pagination;if(l())return;let x=e.pagination.el;x=Sn(x);let w,E;const T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,k=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,E=e.previousSnapIndex):(E=e.previousIndex||0,w=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const S=e.pagination.bullets;let C,A,M;if(b.dynamicBullets&&(i=Xg(S[0],e.isHorizontal()?"width":"height"),x.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${i*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&E!==void 0&&(s+=w-(E||0),s>b.dynamicMainBullets-1?s=b.dynamicMainBullets-1:s<0&&(s=0)),C=Math.max(w-s,0),A=C+(Math.min(S.length,b.dynamicMainBullets)-1),M=(A+C)/2),S.forEach(I=>{const $=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(F=>`${b.bulletActiveClass}${F}`)].map(F=>typeof F=="string"&&F.includes(" ")?F.split(" "):F).flat();I.classList.remove(...$)}),x.length>1)S.forEach(I=>{const $=ap(I);$===w?I.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),b.dynamicBullets&&($>=C&&$<=A&&I.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),$===C&&a(I,"prev"),$===A&&a(I,"next"))});else{const I=S[w];if(I&&I.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&S.forEac
vendor: 4,470 bytes, line 56
56h(($,F)=>{$.setAttribute("part",F===w?"bullet-active":"bullet")}),b.dynamicBullets){const $=S[C],F=S[A];for(let q=C;q<=A;q+=1)S[q]&&S[q].classList.add(...`${b.bulletActiveClass}-main`.split(" "));a($,"prev"),a(F,"next")}}if(b.dynamicBullets){const I=Math.min(S.length,b.dynamicMainBullets+4),$=(i*I-i)/2-M*i,F=y?"right":"left";S.forEach(q=>{q.style[e.isHorizontal()?F:"top"]=`${$}px`})}}x.forEach((S,C)=>{if(b.type==="fraction"&&(S.querySelectorAll(mu(b.currentClass)).forEach(A=>{A.textContent=b.formatFractionCurrent(w+1)}),S.querySelectorAll(mu(b.totalClass)).forEach(A=>{A.textContent=b.formatFractionTotal(k)})),b.type==="progressbar"){let A;b.progressbarOpposite?A=e.isHorizontal()?"vertical":"horizontal":A=e.isHorizontal()?"horizontal":"vertical";const M=(w+1)/k;let I=1,$=1;A==="horizontal"?I=M:$=M,S.querySelectorAll(mu(b.progressbarFillClass)).forEach(F=>{F.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${$})`,F.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(Pc(S,b.renderCustom(e,w+1,k)),C===0&&r("paginationRender",S)):(C===0&&r("paginationRender",S),r("paginationUpdate",S)),e.params.watchOverflow&&e.enabled&&S.classList[e.isLocked?"add":"remove"](b.lockClass)})}function p(){const y=e.params.pagination;if(l())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let x=e.pagination.el;x=Sn(x);let w="";if(y.type==="bullets"){let E=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&E>b&&(E=b);for(let T=0;T<E;T+=1)y.renderBullet?w+=y.renderBullet.call(e,T,y.bulletClass):w+=`<${y.bulletElement} ${e.isElement?'part="bullet"':""} class="${y.bulletClass}"></${y.bulletElement}>`}y.type==="fraction"&&(y.renderFraction?w=y.renderFraction.call(e,y.currentClass,y.totalClass):w=`<span class="${y.currentClass}"></span> / <span class="${y.totalClass}"></span>`),y.type==="progressbar"&&(y.renderProgressbar?w=y.renderProgressbar.call(e,y.progressbarFillClass):w=`<span class="${y.progressbarFillClass}"></span>`),e.pagination.bullets=[],x.forEach(E=>{y.type!=="custom"&&Pc(E,w||""),y.type==="bullets"&&e.pagination.bullets.push(...E.querySelectorAll(mu(y.bulletClass)))}),y.type!=="custom"&&r("paginationRender",x[0])}function f(){e.params.pagination=hT(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const y=e.params.pagination;if(!y.el)return;let b;typeof y.el=="string"&&e.isElement&&(b=e.el.querySelector(y.el)),!b&&typeof y.el=="string"&&(b=[...document.querySelectorAll(y.el)]),b||(b=y.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof y.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(y.el)],b.length>1&&(b=b.find(x=>rT(x,".swiper")[0]===e.el))),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=Sn(b),b.forEach(x=>{y.type==="bullets"&&y.clickable&&x.classList.add(...(y.clickableClass||"").split(" ")),x.classList.add(y.modifierClass+y.type),x.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.type==="bullets"&&y.dynamicBullets&&(x.classList.add(`${y.modifierClass}${y.type}-dynamic`),s=0,y.dynamicMainBullets<1&&(y.dynamicMainBullets=1)),y.type==="progressbar"&&y.progressbarOpposite&&x.classList.add(y.progressbarOppositeClass),y.clickable&&x.addEventListener("click",c),e.enabled||x.classList.add(y.lockClass)}))}function m(){const y=e.params.pagination;if(l())return;let b=e.pagination.el;b&&(b=Sn(b),b.forEach(x=>{x.classList.remove(y.hiddenClass),x.classList.remove(y.modifierClass+y.type),x.classList.remove(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.clickable&&(x.classList.remove(...(y.clickableClass||"").split(" ")),x.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(x=>x.classList.remove(...y.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const y=e.params.pagination;let{el:b}=e.pagination;b=Sn(b),b.forEach(x=>{x.classList.remove(y.horizontalClass,y.verticalClass),x.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?g():(f(),p(),d())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{p(),d()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{el:y}=e.pagination;
vendor: 6,015 bytes, line 56
56y&&(y=Sn(y),y.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(y,b)=>{const x=b.target,w=Sn(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!x.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&x===e.navigation.nextEl||e.navigation.prevEl&&x===e.navigation.prevEl))return;const E=w[0].classList.contains(e.params.pagination.hiddenClass);r(E===!0?"paginationShow":"paginationHide"),w.forEach(T=>T.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=Sn(y),y.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),f(),p(),d()},g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=Sn(y),y.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:h,disable:g,render:p,update:d,init:f,destroy:m})}function gh({swiper:e,extendParams:t,on:n,emit:r,params:o}){e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let i,s,l=o&&o.autoplay?o.autoplay.delay:3e3,a=o&&o.autoplay?o.autoplay.delay:3e3,u,c=new Date().getTime(),d,p,f,m,h,g,y;function b(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!(y||L.detail&&L.detail.bySwiperTouchMove)&&C())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(a=u,d=!1);const L=e.autoplay.paused?u:c+a-new Date().getTime();e.autoplay.timeLeft=L,r("autoplayTimeLeft",L,L/l),s=requestAnimationFrame(()=>{x()})},w=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.find(Z=>Z.classList.contains("swiper-slide-active")):L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},E=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),x();let N=typeof L>"u"?e.params.autoplay.delay:L;l=e.params.autoplay.delay,a=e.params.autoplay.delay;const Z=w();!Number.isNaN(Z)&&Z>0&&typeof L>"u"&&(N=Z,l=Z,a=Z),u=N;const H=e.params.speed,G=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(H,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,H,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(H,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,H,!0,!0),r("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return N>0?(clearTimeout(i),i=setTimeout(()=>{G()},N)):requestAnimationFrame(()=>{G()}),N},T=()=>{c=new Date().getTime(),e.autoplay.running=!0,E(),r("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(i),cancelAnimationFrame(s),r("autoplayStop")},S=(L,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(i),L||(g=!0);const Z=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):C()};if(e.autoplay.paused=!0,N){h&&(u=e.params.autoplay.delay),h=!1,Z();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),Z())},C=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),g?(g=!1,E(u)):E(),e.autoplay.paused=!1,r("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const L=Io();L.visibilityState==="hidden"&&(g=!0,S(!0)),L.visibilityState==="visible"&&C()},M=L=>{L.pointerType==="mouse"&&(g=!0,y=!0,!(e.animating||e.autoplay.paused)&&S(!0))},I=L=>{L.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&C())},$=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",M),e.el.addEventListener("pointerleave",I))},F=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",M),e.el.removeEventListener("pointerleave",I))},q=()=>{Io().addEventListener("visibilitychange",A)},O=()=>{Io().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&($(),q(),T())}),n("destroy",()=>{F(),O(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(f||g)&&C()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():S(!0,!0)}),n("beforeTransitionStart",(L,N,Z)=>{e.destroyed||!e.autoplay.running||(Z||!e.params.autoplay.disableOnInteraction?S(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}p=!0,f=!1,g=!1,m=setTimeout(()=>{g=!0,f=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(i),e.params.autoplay.disableOnInteraction){f=!1,p=!1;return}f&&e.params.cssMode&&C(),f=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(h=!0)}),Object.assign(e.autoplay,{start:T,stop:k,pause:S,resume:C})}function OD({swiper:e,extendParams:t,on:n}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,o=!1;e.thumbs={swiper:null};function i(){const a=e.thumbs.swiper;if(!a||a.destroyed)return;const u=a.clickedIndex,c=a.clickedSlide;if(c&&c.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof u>"u"||u===null)return;let d;a.params.loop?d=parseInt(a.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=u,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function s(){const{thumbs:a}=e.params;if(r)return!1;r=!0;const u=e.constructor;if(a.swiper instanceof u){if(a.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=a.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
56),e.thumbs.swiper.update()}else if(ku(a.swiper)){const c=Object.assign({},a.swiper);Object.assign(c,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new u(c),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",i),!0}function l(a){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.params.slidesPerView==="auto"?u.slidesPerViewDynamic():u.params.slidesPerView;let d=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),u.slides.forEach(h=>h.classList.remove(p)),u.params.loop||u.params.virtual&&u.params.virtual.enabled)for(let h=0;h<d;h+=1)Co(u.slidesEl,`[data-swiper-slide-index="${e.realIndex+h}"]`).forEach(g=>{g.classList.add(p)});else for(let h=0;h<d;h+=1)u.slides[e.realIndex+h]&&u.slides[e.realIndex+h].classList.add(p);const f=e.params.thumbs.autoScrollOffset,m=f&&!u.params.loop;if(e.realIndex!==u.realIndex||m){const h=u.activeIndex;let g,y;if(u.params.loop){const b=u.slides.find(x=>x.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);g=u.slides.indexOf(b),y=e.activeIndex>e.previousIndex?"next":"prev"}else g=e.realIndex,y=g>e.previousIndex?"next":"prev";m&&(g+=y==="next"?f:-1*f),u.visibleSlidesIndexes&&u.visibleSlidesIndexes.indexOf(g)<0&&(u.params.centeredSlides?g>h?g=g-Math.floor(c/2)+1:g=g+Math.floor(c/2)-1:g>h&&u.params.slidesPerGroup,u.slideTo(g,a?0:void 0))}}n("beforeInit",()=>{const{thumbs:a}=e.params;if(!(!a||!a.swiper))if(typeof a.swiper=="string"||a.swiper instanceof HTMLElement){const u=Io(),c=()=>{const p=typeof a.swiper=="string"?u.querySelector(a.swiper):a.swiper;if(p&&p.swiper)a.swiper=p.swiper,s(),l(!0);else if(p){const f=`${e.params.eventsPrefix}init`,m=h=>{a.swiper=h.detail[0],p.removeEventListener(f,m),s(),l(!0),a.swiper.update(),e.update()};p.addEventListener(f,m)}return p},d=()=>{if(e.destroyed)return;c()||requestAnimationFrame(d)};requestAnimationFrame(d)}else s(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(a,u)=>{const c=e.thumbs.swiper;!c||c.destroyed||c.setTransition(u)}),n("beforeDestroy",()=>{const a=e.thumbs.swiper;!a||a.destroyed||o&&a.destroy()}),Object.assign(e.thumbs,{init:s,update:l})}function LD({swiper:e,extendParams:t,emit:n,once:r}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function i(){if(e.params.cssMode)return;const{touchEventsData:l,touches:a}=e;l.velocities.length===0&&l.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:ol()})}function s({currentPos:l}){if(e.params.cssMode)return;const{params:a,wrapperEl:u,rtlTranslate:c,snapGrid:d,touchEventsData:p}=e,m=ol()-p.touchStartTime;if(l<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(l>-e.maxTranslate()){e.slides.length<d.length?e.slideTo(d.length-1):e.slideTo(e.slides.length-1);return}if(a.freeMode.momentum){if(p.velocities.length>1){const T=p.velocities.pop(),k=p.velocities.pop(),S=T.position-k.position,C=T.time-k.time;e.velocity=S/C,e.velocity/=2,Math.abs(e.velocity)<a.freeMode.minimumVelocity&&(e.velocity=0),(C>150||ol()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=a.freeMode.momentumVelocityRatio,p.velocities.length=0;let h=1e3*a.freeMode.momentumRatio;const g=e.velocity*h;let y=e.translate+g;c&&(y=-y);let b=!1,x;const w=Math.abs(e.velocity)*20*a.freeMode.momentumBounceRatio;let E;if(y<e.maxTranslate())a.freeMode.momentumBounce?(y+e.maxTranslate()<-w&&(y=e.maxTranslate()-w),x=e.maxTranslate(),b=!0,p.allowMomentumBounce=!0):y=e.maxTranslate(),a.loop&&a.centeredSlides&&(E=!0);else if(y>e.minTranslate())a.freeMode.momentumBounce?(y-e.minTranslate()>w&&(y=e.minTranslate()+w),x=e.minTranslate(),b=!0,p.allowMomentumBounce
56=!0):y=e.minTranslate(),a.loop&&a.centeredSlides&&(E=!0);else if(a.freeMode.sticky){let T;for(let k=0;k<d.length;k+=1)if(d[k]>-y){T=k;break}Math.abs(d[T]-y)<Math.abs(d[T-1]-y)||e.swipeDirection==="next"?y=d[T]:y=d[T-1],y=-y}if(E&&r("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(c?h=Math.abs((-y-e.translate)/e.velocity):h=Math.abs((y-e.translate)/e.velocity),a.freeMode.sticky){const T=Math.abs((c?-y:y)-e.translate),k=e.slidesSizesGrid[e.activeIndex];T<k?h=a.speed:T<2*k?h=a.speed*1.5:h=a.speed*2.5}}else if(a.freeMode.sticky){e.slideToClosest();return}a.freeMode.momentumBounce&&b?(e.updateProgress(x),e.setTransition(h),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,cm(u,()=>{!e||e.destroyed||!p.allowMomentumBounce||(n("momentumBounce"),e.setTransition(a.speed),setTimeout(()=>{e.setTranslate(x),cm(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(h),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,cm(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(a.freeMode.sticky){e.slideToClosest();return}else a.freeMode&&n("_freeModeNoMomentumRelease");(!a.freeMode.momentum||m>=a.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:i,onTouchEnd:s}})}function Ll(e){const t=globalThis.window;t!==void 0&&!globalThis.__modalScrollLockCount&&(globalThis.__modalScrollLockCount=0);const n=()=>
56{if(t!==void 0&&(globalThis.__modalScrollLockCount=(globalThis.__modalScrollLockCount||0)+1,globalThis.__modalScrollLockCount===1)){const i=document.documentElement,s=document.body;i.style.setProperty("overflow","hidden","important"),s.style.setProperty("overflow","hidden","important")}},r=()=>{if(t!==void 0&&(globalThis.__modalScrollLockCount=Math.max(0,(globalThis.__modalScrollLockCount||0)-1),globalThis.__modalScrollLockCount===0)){const i=document.documentElement,s=document.body;i.style.removeProperty("overflow"),s.style.removeProperty("overflow")}},o=we(e,i=>{i?n():r()},{immediate:!0});return vn(()=>{o(),e.value&&r()}),{lockScroll:n,unlockScroll:r}}const qD=["data-video-id","data-video-type","id"],RD=["id"],BD=["innerHTML"],FD=["id"],DD=["id","data-src","data-video-controls","data-video-subtitles","data-video-locale"],ND=["innerHTML"],VD=["id"],zD=["id"],jD=["onClick"],HD={key:0,class:"absolute inset-0"},UD=["innerHTML"],WD=["data-t","data-a","data-s"],GD={key:1,class:"w-full h-full flex items-center justify-center bg-black py-4 overflow-hidden"},KD=["innerHTML"],YD={key:2,class:re(["text-claim md:text-claim-md lg:text-claim-lg text-white font-[700] bg-black/60 z-9","px-32px pt-16px pb-20px md:px-34px md:py-40px","w-full md:max-w-[50%] md:w-auto","relative"])},XD=["innerHTML"],QD={key:3,class:"text-slider-image-sm md:text-slider-image-md text-white font-bold bg-black/60 md:px-34px md:py-40px px-32px pt-16px pb-20px z-9 md:max-w-[384px]"},JD={key:2,class:"rslide-content slide-related-products relative flex flex-col w-full h-full overflow-hidden bg-black"},ZD=["innerHTML"],eN={class:"relative flex-1"},tN={class:"flex flex-col gap-key-feature-sm sm:gap-key-feature-md px-8 py-5 md:p-5 lg:p-6 w-full h-full relative bg-black"},nN={class:"flex flex-col text-white gap-[2px] text-key-feature-body-sm--line-height"},rN=["innerHTML"],oN=["innerHTML"],iN={class:"flex justify-end items-end mt-auto"},sN=["href","path"],lN={class:"navigation-container-bottom w-full mt-4"},aN={key:0,class:"mobile-navigation-bottom w-full"},uN={class:"mobile-arrows-bottom flex items-center justify-center gap-4"},cN={key:1,class:"desktop-navigation-bottom flex items-center justify-between w-full"},dN={class:"desktop-arrows-bottom flex gap-4"},fN=["disabled"],pN=["disabled"],hN={class:"desktop-bars-bottom flex gap-3 items-center"},mN={class:"relative flex items-end md:items-center justify-end md:justify-start w-full h-full z-10 related-products-thumbnail"},gN=["src","alt"],vN={key:1,class:"absolute inset-0 bg-black"},yN={class:"flex items-center justify-center"},bN=["src","alt"],xN={key:2,class:"text-slider-image-thumbnail-sm text-white font-bold bg-black/60 px-8px py-9px z-9 md:max-w-[91px] text-trim"},_N=["innerHTML"],wN={class:"flex container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto gap-4 sm:gap-5 md:gap-6 py-4 h-full"}
56,SN={class:"flex-1 self-center h-auto relative max-h-58prc lg:h-full"},kN=["innerHTML"],CN={key:1,class:"slide-image-alt-text text-white text-sm md:text-base mt-6"},TN={key:1},EN=pe({__name:"SwiperSlider",props:{slides:{},sliderDirection:{},sliderType:{},autoplayInterval:{default:5e3},loop:{type:Boolean,default:!0},slidesPerView:{default:1},spaceBetween:{default:30}},setup(e){const t=[hh,OD,LD,gh,mh],n=V(null),r=V(null),o=V(typeof globalThis>"u"?0:globalThis.innerWidth),i=V(!1),s=V(!1),l=V(null),a=V(null),u=V(0),c=V(!1),d=V(!1),p=V(null),f=V(null),m=V(!1),h=V(null),g=V(!1);let y=null;const b=V(typeof globalThis<"u"&&globalThis.innerWidth>=1024&&!!globalThis.document?.querySelector(".js-hero-animation"));Ll(s);const x=e,w=V(`swiper-${Math.random().toString(36).slice(2,11)}`),E=W(()=>o.value<768),T=W(()=>o.value>=768&&o.value<1024),k=W(()=>o.value>=1024),S=()=>x.sliderType==="related-products"?k.value?4:T.value?2:1:x.sliderType==="image"&&k.value?2:1,C=()=>x.sliderType==="related-products"?k.value?20:30:x.sliderType==="image"&&k.value?24:30,A={640:{slidesPerView:1,slidesPerGroup:1,spaceBetween:24},768:{slidesPerView:S(),slidesPerGroup:1,spaceBetween:24},1024:{slidesPerView:S(),slidesPerGroup:1,spaceBetween:C(),navigation:{enabled:!0}}},M=j=>{n.value=j,u.value=j.activeIndex,j.autoplay?.stop(),R()};we(E,async j=>{j&&n.value&&(await je(),n.value.pagination&&(n.value.pagination.init(),n.value.pagination.render(),n.value.pagination.update()))});const I=j=>{r.value=j},$=W(()=>({swiper:r.value||null,slideThumbActiveClass:"thumb-active",thumbsContainerClass:"thumbs-container"})),F=W(()=>j=>{if(k.value){const U=S(),ue=[];for(let ne=0;ne<U;ne++){const fe=(u.value+ne)%x.slides.length;ue.push(fe)}return ue.includes(j)}return j===u.value}),q=j=>{u.value=j.activeIndex},O=()=>{if(n.value){globalThis.VideoPlayer?.stopAllVideos&&globalThis.VideoPlayer.stopAllVideos();const j=n.value.realIndex,U=x.slides.length,ue=S(),ne=j===0?Math.max(0,U-ue):j-1;n.value.slideTo(ne),ee()}},L=()=>
56{if(n.value){globalThis.VideoPlayer?.stopAllVideos&&globalThis.VideoPlayer.stopAllVideos();const j=n.value.realIndex,U=x.slides.length,ue=S(),ne=Math.max(0,U-ue),fe=j>=ne?0:j+1;n.value.slideTo(fe),ee()}},N=()=>{globalThis.VideoPlayer?.stopAllVideos&&globalThis.VideoPlayer.stopAllVideos()},Z=()=>{globalThis.VideoPlayer?.stopAllVideos&&globalThis.VideoPlayer.stopAllVideos()},H=j=>{j!==u.value&&(ee(),n.value&&n.value.slideTo(j),r.value&&r.value.slideTo(j))},G=j=>{j.stopPropagation(),ee()},oe=j=>{l.value=j,s.value=!0,ee()},ce=()=>{if(k.value&&x.sliderType==="image"&&!i.value&&!c.value){z(),d.value=!0;let j=Date.now();p.value=globalThis.setInterval(()=>{if(!i.value&&!c.value){const ue=(Date.now()-j)/x.autoplayInterval;if(a.value){const ne=Math.min(Math.max(ue,0),1),fe=a.value.querySelector(".progress-ring");if(fe){const me=37.7*(1-ne);fe.style.strokeDashoffset=String(me)}}ue>=1&&(j=Date.now())}},16),f.value=globalThis.setInterval(()=>{if(n.value&&!i.value&&!c.value){let ue=(n.value.realIndex+1)%x.slides.length;ue===x.slides.length-1&&(ue=0),n.value.slideTo(ue)}},x.autoplayInterval)}},ee=()=>{n.value&&n.value.autoplay&&(n.value.autoplay.stop(),i.value=!0,xe())},ge=(j,U,ue)=>{if(a.value){const ne=Math.min(Math.max(1-ue,0),1),fe=a.value.querySelector(".progress-ring");if(fe){const me=37.7*(1-ne);fe.style.strokeDashoffset=String(me)}}},xe=()=>{if(!a.value)return;a.value.style.setProperty("--progress","0");const j=a.value.querySelector(".progress-ring");j&&(j.style.strokeDashoffset="37.7")},ie=()=>{c.value=!0,n.value&&n.value.autoplay&&n.value.autoplay.pause(),z()},Q=()=>{if(c.value=!1,!(i.value||!g.value||b.value)){if(k.value&&x.sliderType==="image"){xe(),ce();return}n.value?.autoplay?.resume()}},Y=()=>{o.value=globalThis.innerWidth},J=async()=>{if(globalThis.UC_UI&&globalThis.UC_UI.isInitialized())try{const j=await globalThis.UC_UI.getServicesBaseInfo(),ue=(Array.isArray(j)?j:Object.values(j||{})).find(ne=>ne?.name==="YouTube Video"||ne?.name==="YouTube"||ne?.id==="BJz7qNsdj-7");m.value=ue?.consent?.status??!1}catch(j){console.error("Error checking YouTube consent:",j),m.value=!1}else m.value=!1;he()},de=()=>{globalThis.UC_UI&&globalThis.UC_UI.isInitialized()&&globalThis.setTimeout(function(){globalThis.UC_UI.showSecondLayer()},300)},he=()=>{const j=document.querySelectorAll(".video-hover-container"),U=document.querySelectorAll('[id^="consent-overlay-"]');if(m.value){for(const ue of j)ue.classList.remove("consent-blocked");for(const ue of U)ue.classList.add("hidden")}else{globalThis.VideoPlayer?.stopAllVideos&&globalThis.VideoPlayer.stopAllVideos();for(const ue of U)ue.classList.remove("hidden");for(const ue of j){const ne=ue;if(ne.dataset.videoType==="youtube"){ne.classList.add("consent-blocked");const me=ne.querySelector(".video-poster");me&&(me.style.opacity="1");const Se=ne.querySelector(".video-iframe");Se&&(Se.classList.add("invisible"),Se.classList.remove("visible"))}}}},R=()=>{if(!(!n.value||i.value||!g.value||b.value)){if(k.value&&x.sliderType==="image"){ce();return}n.value.autoplay?.start()}},z=()=>{p.value!==null&&(globalThis.clearInterval(p.value),p.value=null),f.value!==null&&(globalThis.clearInterval(f.value),f.value=null),d.value=!1},le=()=>{b.value=!1,R()},ve=()=>{b.value=!0,n.value?.autoplay?.stop(),z()};return Ve(()=>{typeof globalThis<"u"&&(globalThis.addEventListener("resize",Y),o.value=globalThis.innerWidth,globalThis.addEventListener("UC_UI_INITIALIZED",()=>{J()}),globalThis.UC_UI?.isInitialized?.()&&J(),globalThis.addEventListener("UC_UI_CMP_EVENT",j=>{j.detail&&(j.detail.type==="ACCEPT_ALL"||j.detail.type==="DENY_ALL"||j.detail.type==="SAVE")&&J()})),globalThis.addEventListener("hero-animation:leave",le),globalThis.addEventListener("hero-animation:enter-back",ve),y=new globalThis.IntersectionObserver(([j])=>{g.value=j.intersectionRatio>=.1,!(!n.value||i.value)&&(g.value?R():(n.value.autoplay?.stop(),z()))},{threshold:[0,.1]}),h.value&&y.observe(h.value)}),vn(()=>{globalThis.removeEventListener("hero-animation:leave",le),globalThis.removeEventListener("hero-animation:enter-back",ve),y?.disconnect(),z(),typeof globalThis<"u"&&globalThis.removeEventListener("resize",Y)}),(j,U)=>{const ue=Zc;return j.slides.length>0?(P(),B("div",{key:0,class:"swiper-slider-wrapper relative w-full -z-0",onMouseenter:ie,onMouseleave:Q,ref_key:"sliderWrapper",ref:h},[K(v(Px),{class:"swiper-window-large",dir:x.sliderDirection,loop:!0,"slides-per-view":S(),"space-between":C(),navigation:{nextEl:`.swiper-slider-button-next-${w.value}`,prevEl:`.swiper-slider-button-prev-${w.value}`},pagination:{clickable:!0,el:`.swiper-slider-pagination-${w.value}`,type:"bullets"},autoplay:{delay:x.autoplayInterval,disableOnInteraction:!0},"slides-per-group":1,thumbs:$.value,modules:t,breakpoints:A,onSwiper:M,onSlideChange:q,onAutoplayTimeLeft:ge,onNavigationPrev:N,onNavigationNext:Z},{"container-end":D(()=>[_("div",{class:re(["autoplay-progress absolute top-0 right-0 z-10 w-45px h-45px flex items-center justify-center font-bold text-primary",{"hidden opacity-0":c.value||i.value}])},[(P(),B("svg",{viewBox:"0 0 15 15",ref_key:"progressCircle",ref:a,style:{"--progress":"0"},class:"absolute top-0 left-0 p-15px z-10 w-full h-full transform -rotate-90"},[...U[8]||(U[8]=[_("circle",{cx:"7.5",cy:"7.5",r:"6",stroke:"rgba(0, 0, 0, 0.1)","stroke-width":"2",fill:"none"},null,-1),_("circle",{cx:"7.5",cy:"7.5",r:"6",stroke:"currentColor","stroke-width":"2",fill:"none","stroke-linecap":"round",class:"progress-ring"},null,-1)])],512))],2)]),default:D(()=>[(P(!0),B(ye,null,Ce(j.slides,(ne,fe)=>(P(),X(v(Ix),{key:fe,class:re({"aspect-square md:aspect-video h-full":j.sliderType!=="related-products","!h-auto":j.sliderType==="related-products"})},{default:D(()=>[ne.type==="video"&&ne.videoId?(P(),B("div",{key:0,class:re(["video-hover-container group relative w-full aspect-video bg-transparent overflow-hidden cursor-pointer transition-all duration-75",{"hover-disabled":E.value||T.value}
56]),"data-video-id":`${ne.videoId}`,"data-video-type":`${ne.videoType}`,id:`video-container-${ne.videoId}`},[_("div",{class:re(["video-poster absolute inset-0 w-full h-full transition-opacity duration-300",{"cursor-pointer":E.value||T.value}]),id:`poster-${ne.videoId}`,onClick:G,onTouchstart:G},[_("div",{class:"relative w-full h-full",innerHTML:ne.posterImage},null,8,BD)],42,RD),_("div",{class:"video-iframe absolute inset-0 w-full h-full invisible transition-opacity duration-75",id:`video-iframe-container-${ne.videoId}`},[ne.videoFile===null?(P(),B("iframe",{key:0,id:`video-iframe-${ne.videoId}`,class:"w-full h-full border-0",src:"about:blank","data-src":`${ne.videoUrl}`,frameborder:"0","data-video-controls":`${ne.videoControls==="hide"?"0":"1"}`,"data-video-subtitles":`${ne.videoSubtitles==="hide"?"0":"1"}`,"data-video-locale":`${ne.userLocale??"en"}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,DD)):(P(),B("div",{key:1,innerHTML:ne.videoFile},null,8,ND))],8,FD),ne.videoType==="youtube"?(P(),B("div",{key:0,class:"consent-overlay absolute inset-0 w-full h-full z-20 hidden",id:`consent-overlay-${ne.videoId}`},[U[5]||(U[5]=_("div",{class:"absolute inset-0 backdrop-blur-md bg-black/40"},null,-1)),_("div",{class:"relative z-10 flex flex-col items-center justify-center h-full text-white p-4 text-center"},[U[2]||(U[2]=_("svg",{class:"w-16 h-16 mb-4 opacity-80",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"})],-1)),U[3]||(U[3]=_("p",{class:"text-lg font-semibold mb-2"},"YouTube Video",-1)),U[4]||(U[4]=_("p",{class:"text-sm mb-4 max-w-md opacity-90"},"To view this video, please accept YouTube cookies in your privacy settings.",-1)),_("button",{onClick:de,class:"bg-primary hover:bg-primary/80 text-white font-bold px-6 py-2 rounded transition-colors duration-200 cursor-pointer"}," Manage Cookie Settings ")])],8,VD)):ae("",!0),_("div",{class:"video-loading absolute inset-0 bg-transparent flex items-center justify-center invisible",id:`loading-${ne.videoId}`},[...U[6]||(U[6]=[_("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"},null,-1)])],8,zD)],10,qD)):ne.type==="image"?(P(),B("div",{key:1,class:re(["slide-content slide-image relative w-full h-full",ne.isHero?"flex items-end md:items-center justify-center md:justify-start":ne.isMainImage?"flex items-center justify-center bg-black":"flex items-end md:items-center justify-end md:justify-start"]),onClick:me=>oe(fe)},[ne.isMainImage?ae("",!0):(P(),B("div",HD,[_("div",{class:"relative w-full h-full overflow-hidden",innerHTML:ne.src},null,8,UD),(P(!0),B(ye,null,Ce(ne.hotspots??[],(me,Se)=>(P(),B("div",{key:`hotspot-${fe}-${Se}`,class:"absolute js-hs hs-hit hs-hit--overlay",style:gn({top:`${me.top}%`,left:`${me.left}%`,width:`${me.width}%`,height:`${me.height}%`}),"data-t":me.t,"data-a":me.a??void 0,"data-s":me.s??void 0},null,12,WD))),128))])),ne.isMainImage?(P(),B("div",GD,[_("div",{class:"h-full w-full flex items-center justify-center overflow-hidden",innerHTML:ne.src},null,8,KD)])):ae("",!0),ne.isHero&&ne.headline&&!k.value?(P(),B("div",YD,[_("div",{class:"max-w-none text-trim",innerHTML:ne.headline},null,8,XD)])):ne.headline&&!k.value?(P(),B("div",QD,te(ne.headline),1)):ae("",!0)],10,jD)):ne.type==="related-products"?(P(),B("div",JD,[_("div",{class:"flex align-center justify-center px-60px py-60px md:px-50px md:py-50px aspect-[4/3]",innerHTML:ne.image},null,8,ZD),_("div",eN,[_("div",tN,[_("div",nN,[_("div",{class:"text-base font-bold",innerHTML:ne.headline},null,8,rN),_("div",{class:"text-base",innerHTML:ne.description},null,8,oN)]),_("div",iN,[_("a",{href:ne.link,linktype:"direct",path:ne.link,class:"inline-block hover:color-primary transition-hover duration-300"},[...U[7]||(U[7]=[_("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"stroke-white hover:stroke-primary"},[_("circle",{cx:"15",cy:"15",r:"14.5"}),_("path",{d:"M9 15L21 15"}),_("path",{d:"M15 21L21 15L15 9"})],-1)])],8,sN)])])])])):ae("",!0)]),_:2},1032,["class"]))),128))]),_:1},8,["dir","slides-per-view","space-between","navigation","pagination","autoplay","thumbs"]),_("div",lN,[E.value?(P(),B("div",aN,[_("div",uN,[_("button",{class:re(`swiper-slider-button-prev-${w.value} text-white hover:text-primary transition-colors duration-300`)}
56,[...U[9]||(U[9]=[_("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M15 18L9 12L15 6",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],2),_("div",{class:re(`swiper-slider-pagination-${w.value} !relative !w-auto !top-0 !bottom-0 !left-0 !right-0 flex gap-[6px]`)},null,2),_("button",{class:re(`swiper-slider-button-next-${w.value} text-white hover:text-primary transition-colors duration-300`)},[...U[10]||(U[10]=[_("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M9 18L15 12L9 6",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],2)])])):ae("",!0),k.value?(P(),B("div",cN,[_("div",dN,[_("button",{onClick:O,class:"desktop-arrow-bottom desktop-arrow-prev-bottom text-white w-auto h-auto border-0 bg-transparent cursor-pointer p-2 transition-all duration-200 flex items-center justify-center hover:text-primary hover:scale-110 disabled:opacity-30 disabled:cursor-not-allowed",disabled:!n.value},[...U[11]||(U[11]=[_("svg",{width:"6",height:"12",viewBox:"0 0 6 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M5 1L1 6L5 11",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,fN),_("button",{onClick:L,class:"desktop-arrow-bottom desktop-arrow-next-bottom text-white w-auto h-auto border-0 bg-transparent cursor-pointer p-2 transition-all duration-200 flex items-center justify-center hover:text-primary hover:scale-110 disabled:opacity-30 disabled:cursor-not-allowed",disabled:!n.value},[...U[12]||(U[12]=[_("svg",{width:"6",height:"12",viewBox:"0 0 6 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M1 1L5 6L1 11",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,pN)]),_("div",hN,[(P(!0),B(ye,null,Ce(j.slides,(ne,fe)=>(P(),B("div",{key:`bar-${fe}`,class:re(["desktop-bar-bottom w-50px h-3px",{"active bg-primary":F.value(fe),"bg-white":!F.value(fe)}])},null,2))),128))])])):ae("",!0),T.value?(P(),X(v(Px),{key:2,onSwiper:I,loop:!1,spaceBetween:24,slidesPerView:4,"slides-per-group":1,watchSlidesProgress:!0,slideToClickedSlide:!0,modules:t,class:"swiper-window-thumbnails"},{default:D(()=>[(P(!0),B(ye,null,Ce(j.slides,(ne,fe)=>(P(),X(v(Ix),{key:fe,class:re({"aspect-video w-180px h-101px":ne.type!=="related-products","slider-related-products-item aspect-4/3 !w-180px !h-135px":ne.type==="related-products"}),onClick:me=>H(fe)},{default:D(()=>[_("div",mN,[ne.type!=="related-products"?(P(),B("div",{key:0,class:re(["absolute inset-0",ne.isMainImage?"flex items-center justify-center bg-black":""])},[_("img",{src:ne.thumbnail,alt:ne.headline||`Image ${fe+1}`,class:re(["medium-thumbnail-image opacity-40 hover:opacity-100 transition-all duration-300",ne.isMainImage?"h-full w-auto object-contain max-w-full":"w-full h-full object-cover"])},null,10,gN)],2)):ae("",!0),ne.type==="related-products"?(P(),B("div",vN,[_("picture",yN,[_("img",{src:ne.imageThumbnail,alt:ne.headline||`Image ${fe+1}`,class:"medium-thumbnail-image w-100px h-72px object-cover opacity-40 hover:opacity-100 transition-all duration-300"},null,8,bN)])])):ae("",!0),j.sliderType==="image"&&ne.headline?(P(),B("div",xN,[_("span",{innerHTML:ne.headline},null,8,_N)])):ae("",!0)])]),_:2},1032,["class","onClick"]))),128))]),_:1})):ae("",!0)]),j.sliderType==="image"?(P(),X(ue,{key:0,fullscreen:"",overlay:!0,dismissible:!0,open:s.value,"onUpdate:open":U[1]||(U[1]=ne=>s.value=ne),ui:{overlay:"bg-black/70 z-[70]",content:"bg-black/70 z-[71]"}},{content:D(()=>[_("section",wN,[_("div",SN,[(P(),B("svg",{class:"absolute top-15px right-15px z-10 cursor-pointer sm:top-28px sm:right-28px w-20px h-auto sm:w-auto",width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:U[0]||(U[0]=ne=>s.value=!1)},[...U[13]||(U[13]=[_("circle",{cx:"15.5",cy:"15.5",r:"14",stroke:"#E70038","stroke-width":"2"},null,-1),_("path",{d:"M9.5 9.5L21.5 21.5",stroke:"#E70038"},null,-1),_("path",{d:"M9.5 21.5L21.5 9.5",stroke:"#E70038"},null,-1)])])),l.value!==null&&j.slides[l.value]?.type==="image"?(P(),B("div",{key:0,class:"aspect-video w-full h-full",innerHTML:j.slides[l.value].src},null,8,kN)):ae("",!0),l.value!==null&&j.slides[l.value].alt?(P(),B("p",CN,te(j.slides[l.value].alt),1)):ae("",!0)])])]),_:1},8,["open"])):ae("",!0)],544)):(P(),B("div",TN,[...U[14]||(U[14]=[_("div",{class:"flex items-center justify-center h-full"},[_("div",{class:"text-white text-2xl font-bold"}," No slides found. Please add slides in edit mode. ")],-1)])]))}}}),En=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},fy=En(EN,[["__scopeId","data-v-7cf50772"]]),PN={class:"related-products-container"}
56,IN={key:0,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 bleed-full-width-sm"},AN={class:"relative flex flex-col w-full h-full overflow-hidden bg-black"},$N=["innerHTML"],MN={class:"relative flex-1"},ON={class:"flex flex-col gap-key-feature-sm sm:gap-key-feature-md px-8 py-5 md:p-5 lg:p-6 w-full h-full relative bg-black"},LN={class:"flex flex-col text-white gap-[2px] text-key-feature-body-sm--line-height"},qN={class:"text-base font-bold"},RN=["innerHTML"],BN={class:"text-base"},FN=["innerHTML"],DN={class:"flex justify-end items-end mt-auto"},NN=["href","path"],VN={key:1,class:"vue-swiper-slider-products"},zN=pe({__name:"RelatedProducts",props:{products:{},sliderDirection:{default:"ltr"},autoplayInterval:{default:5e3}},setup(e){const t=e,n=V(typeof globalThis>"u"?0:globalThis.innerWidth),r=W(()=>n.value>=768&&n.value<1024),o=W(()=>n.value>=1024),i=W(()=>o.value?t.products.length>4:t.products.length>2),s=W(()=>o.value?4:r.value?2:1),l=W(()=>o.value?24:r.value?20:16),a=W(()=>t.products.map((c,d)=>({type:"related-products",image:c.image||"",imageThumbnail:c.imageThumbnail||"",headline:c.headline,alt:c.headline||`Related Product ${d+1}`,description:c.description,link:c.link}))),u=()=>{n.value=globalThis.innerWidth};return Ve(()=>{typeof globalThis<"u"&&(globalThis.addEventListener("resize",u),n.value=globalThis.innerWidth)}),vn(()=>{typeof globalThis<"u"&&globalThis.removeEventListener("resize",u)}),(c,d)=>(P(),B("div",PN,[i.value?i.value?(P(),B("div",VN,[K(fy,{slides:a.value,"slider-direction":c.sliderDirection,"slider-type":"related-products","autoplay-interval":c.autoplayInterval,loop:c.products.length>s.value,"slides-per-view":s.value,"space-between":l.value},null,8,["slides","slider-direction","autoplay-interval","loop","slides-per-view","space-between"])])):ae("",!0):(P(),B("div",IN,[(P(!0),B(ye,null,Ce(c.products,p=>(P(),B("div",AN,[_("div",{class:"flex align-center justify-center px-[60px] py-[60px] md:px-[50px] md:py-[50px] aspect-[4/3]",innerHTML:p.image},null,8,$N),_("div",MN,[_("div",ON,[_("div",LN,[_("div",qN,[_("span",{innerHTML:p.headline},null,8,RN)]),_("div",BN,[_("span",{innerHTML:p.description},null,8,FN)])]),_("div",DN,[_("a",{href:p.link,linktype:"direct",path:p.link,class:"inline-block hover:color-primary transition-hover duration-300"},[...d[0]||(d[0]=[_("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"stroke-white hover:stroke-primary"},[_("circle",{cx:"15",cy:"15",r:"14.5"}),_("path",{d:"M9 15L21 15"}),_("path",{d:"M15 21L21 15L15 9"})],-1)])],8,NN)])])])]))),256))]))]))}}),jN={slots:{root:"",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},vh={__name:"Collapsible",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),i=Xt(),s=Vn(ti(n,"as","defaultOpen","open","disabled","unmountOnHide"),r),l=W(()=>nt({extend:nt(jN),...i.ui?.collapsible||{}})());return(a,u)=>(P(),X(v(Pk),be(v(s),{class:l.value.root({class:[n.ui?.root,n.class]})}),{default:D(({open:c})=>[o.default?(P(),X(v(Ak),{key:0,"as-child":""},{default:D(()=>[se(a.$slots,"default",{open:c})]),_:2},1024)):ae("",!0),K(v(Ik),{class:re(l.value.content({class:n.ui?.content}))},{default:D(()=>[se(a.$slots,"content")]),_:3},8,["class"])]),_:3},16,["class"]))}},HN={class:"w-full flex flex-col gap-6"},UN=["aria-expanded"],WN={class:"relative bg-[#141616] h-[85px] flex items-center justify-between px-[25px] transition-colors duration-200 group-focus-visible:outline-2 group-focus-visible:outline-white group-focus-visible:outline-offset-2 md:h-[85px] max-md:h-[60px] max-md:px-5"},GN={class:"spec-table-title font-bold text-[20px] leading-[25px] text-white flex-1 text-left max-md:text-base max-md:leading-5"},KN={class:"flex items-center justify-center w-[85px] h-[85px] -mr-[25px] max-md:w-[60px] max-md:h-[60
56px] max-md:-mr-5","aria-hidden":"true"},YN=["aria-label"],XN={class:"grid grid-cols-3 gap-0 py-[50px] lg:grid-cols-3 md:grid-cols-2 max-md:grid-cols-1 max-md:py-[30px]"},QN=["aria-selected","tabindex","onClick","onKeydown"],JN={key:1,class:"w-full border-separate border-spacing-y-1.5 max-md:hidden"},ZN={key:0,class:"bg-[#232626]"},eV={class:"flex w-full h-full items-center"},tV=["innerHTML"],nV=["innerHTML"],rV={key:0,class:"flex w-full h-full items-center"},oV=["innerHTML"],iV=["innerHTML"],sV={key:2,class:"hidden max-md:flex flex-col gap-1.5"},lV=["innerHTML"],aV={key:0,class:"flex flex-col gap-2"},uV=["innerHTML"],cV=["innerHTML"],dV=["innerHTML"],fV={key:3,class:"w-full"},pV={class:"text-white text-sm leading-relaxed space-y-1 pl-6 italic"},hV=["innerHTML"],mV=pe({__name:"SpecTable",props:{placeholder:{default:"Choose your product"},items:{default:()=>[]},modelValue:{default:null},specs:{default:()=>[]},variantSpecs:{default:()=>({})},asterisk:{default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=V(!1),i=V(n.modelValue),s=`spec-table-content-${Math.random().toString(36).slice(2,11)}`,l=$=>$?typeof $=="string"?$:typeof $=="object"&&"label"in $&&typeof $.label=="string"?$.label:String($):"",a=W(()=>n.items.length>0),u=W(()=>n.items.length>1);Ve(()=>{const F=new URLSearchParams(globalThis.location.search).get("variant");if(F&&n.items.length>1){const q=n.items.find(O=>l(O)===F);q?(i.value=q,r("update:modelValue",q)):i.value||(i.value=n.items[0])}else n.items.length===1&&!i.value&&(i.value=n.items[0])});const c=W(()=>!a.value||i.value!==null),d=W(()=>i.value?l(i.value):n.placeholder),p=W(()=>{let $;if(i.value){const F=l(i.value);$=n.variantSpecs&&n.variantSpecs[F]?n.variantSpecs[F]:n.specs}else $=n.specs;return $.filter(F=>F.value===null||F.value===void 0?!1:String(F.value).trim()!=="")}),f=$=>$?$.split("||").map(F=>F.trim()):[""],m=$=>{if($.length<=1)return null;const F=/\s+([a-zA-Z°%²³/-]+)$/;let q=null;for(const O of $){const L=O.match(F);if(!L)return null;const N=L[1];if(q===null)q=N;else if(q!==N)return null}return q},h=$=>{const F=f($.value);if(F.length>1){const q=m(F);if(q)return`${$.label} [${q}]`}return $.label},g=$=>{const F=f($);if(F.length>1){const q=m(F);if(q){const O=new RegExp(String.raw`\s+${q.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`)}$`,"g");return F.map(L=>L.replaceAll(O,""))}}return F},y=$=>{if(!$.subvariantLabels)return[];const F=f($.subvariantLabels);if(F.length>1){const q=m(F);if(q){const O=new RegExp(String.raw`\s+${q.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`)}$`,"g");return F.map(L=>L.replaceAll(O,""))}}return F},b=W(()=>p.value.some($=>$.subvariantLabels&&f($.value).length>1)),x=W(()=>{const $=p.value.find(F=>F.subvariantLabels&&f(F.value).length>1);return $&&$.subvariantLabels?f($.subvariantLabels):[]}),w=W(()=>{const $=x.value;if($.length>1){const F=m($);if(F){const q=new RegExp(String.raw`\s+${F.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`)}$`,"g");return $.map(O=>O.replaceAll(q,""))}}return $}),E=W(()=>{let $=0;for(const F of p.value){const q=f(F.value);q.length>$&&($=q.length)}return $}),T=W(()=>E.value>3?"w-1/3":"w-1/2"),k=W(()=>E.value>3?"w-2/3":"w-1/2"),S=W(()=>n.asterisk?n.asterisk.split(` 57`).filter($=>$.trim()!==""):[]),C=W(()=>{const $=Math.ceil(n.items.length/3),F=[[],[],[]];for(let q=0;q<n.items.length;q++){const O=n.items[q],L=Math.floor(q/$);L<3&&F[L].push(O)}return F}),A=$=>{if(!i.value)return!1;const F=l(i.value),q=l($);return F===q},M=$=>{i.value=$,r("update:modelValue",$),o.value=!1},I=()=>{o.value=!1};return($,F)=>{const q=it,O=vh;return P(),B("div",HN,[u.value?(P(),B("div",{key:0,class:re(["border-2 transition-colors duration-200",{"border-[#e70038]":o.value,"border-[#72797b] hover:border-[#e70038]":!o.value}])},[K(O,{open:o.value,"onUpdate:open":F[0]||(F[0]=L=>o.value=L),ui:{root:"flex flex-col",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},{content:D(()=>[_("div",{id:s,class:"bg-[#141616] w-full",role:"listbox","aria-label":$.placeholder},[_("div",XN,[(P(!0),B(ye,null,Ce(C.value,(L,N)=>(P(),B("div",{key:`col-${N}`,class:re(["flex flex-col gap-0 px-[25px] max-md:px-5",{"max-lg:hidden":N===2&&N>=2,"max-md:border-b max-md:border-[#72797b]/30 max-md:pb-5 max-md:mb-5":N<C.value.length-1}])},[(P(!0),B(ye,null,Ce(L,(Z,H)=>(P(),B("div",{key:`item-${N}-${H}`,class:"spec-table-item font-light text-base leading-[25px] text-white cursor-pointer px-2.5 py-2 m-0 rounded transition-colors hover:bg-white/10 focus:bg-white/10 focus:outline-none focus-visible:outline-2 focus-visible:outline-white focus-visible:-outline-offset-2 aria-[selected=true]:bg-white/15 max-md:text-sm max-md:leading-5 max-md:px-2.5 max-md:py-1.5",role:"option","aria-selected":A(Z),tabindex:o.value?0:-1,onClick:G=>M(Z),onKeydown:[kn(G=>M(Z),["enter"]),kn(St(G=>M(Z),["prevent"]),["space"])]},te(l(Z)),41,QN))),128))],2))),128))])],8,YN)]),default:D(()=>[_("button",{type:"button",class:"relative w-full cursor-pointer bg-transparent border-none p-0 outline-none group","aria-expanded":o.value,"aria-controls":s,"aria-haspopup":"listbox",onKeydown:kn(I,["escape"])},[_("div",WN,[_("span",GN,te(d.value),1),_("div",KN,[K(q,{name:"i-lucide-chevron-down",class:re(["w-[30px] h-[30px] transition-transform duration-200 max-md:w-6 max-md:h-6",{"rotate-180 text-[#e70038]":o.value,"text-white":!o.value}])},null,8,["class"])])])],40,UN)]),_:1},8,["open"])],2)):ae("",!0),c.value?(P(),B("table",JN,[_("tbody",null,[b.value?(P(),B("tr",ZN,[_("th",{class:re([T.value,"h-12"])},null,2),_("td",{class:re([k.value,"font-bold text-white text-base leading-tight h-12 p-0"])},[_("div",eV,[(P(!0),B(ye,null,Ce(w.value,(L,N)=>(P(),B("div",{key:`header-label-${N}`,class:re(["flex-1 relative h-auto flex items-center justify-center",{"before:content-[''] before:absolute before:left-0 before:top-1/2 before:-translate-y-1/2 before:h-[80%] before:w-px before:bg-[#72797b]":N>0}]),innerHTML:L},null,10,tV))),128))])],2)])):ae("",!0),(P(!0),B(ye,null,Ce(p.value,(L,N)=>(P(),B("tr",{key:`spec-${N}`,class:"bg-[#232626]"},[_("th",{scope:"row",class:re([T.value,"font-bold text-white text-base leading-tight pl-6 text-left h-12"]),innerHTML:h(L)},null,10,nV),_("td",{class:re([k.value,"font-light text-white text-base leading-tight h-12 p-0"])},[f(L.value).length>1?(P(),B("div",rV,[(P(!0),B(ye,null,Ce(g(L.value),(Z,H)=>(P(),B("div",{key:`spec-${N}-part-${H}`,class:re(["flex-1 relative h-auto flex items-center",b.value?"justify-center":"pl-6",{"before:content-[''] before:absolute before:left-0 before:top-1/2 before:-translate-y-1/2 before:h-[80%] before:w-px before:bg-[#72797b]":H>0}])},[_("div",{innerHTML:Z,class:"py-1"},null,8,oV)],2))),128))])):(P(),B("div",{key:1,class:re(["h-auto flex items-center",b.value?"justify-center":"pl-6"])},[_("div",{innerHTML:L.value,class:"py-1"},null,8,iV)],2))],2)]))),128))])])):ae("",!0),c.value?(P(),B("div",sV,[(P(!0),B(ye,null,Ce(p.value,(L,N)=>(P(),B("div",{key:`spec-card-${N}`,class:"bg-[#232626] px-10 py-[22px] flex flex-col gap-[14px]"},[_("p",{class:"font-bold text-white text-base leading-[25px]",innerHTML:h(L)},null,8,lV),f(L.value).length>1?(P(),B("div",aV,[(P(!0),B(ye,null,Ce(g(L.value),(Z,H)=>(P(),B("div",{key:`spec-card-${N}-part-${H}`,class:"flex flex-col gap-1 py-1"},[L.subvariantLabels?(P(),B("p",{key:0,class:"font-bold text-white text-sm leading-[25px]",innerHTML:y(L)[H]},null,8,uV)):ae("",!0),_("p",{class:"font-light text-white text-base leading-[25px]",innerHTML:Z},null,8,cV)]))),128))])):(P(),B("p",{key:1,class:"font-light text-white text-base leading-[25px] py-1",innerHTML:L.value},null,8,dV))]))),128))])):ae("",!0),c.value&&S.value.length>0?(P(),B("div",fV,[_("div",pV,[(P(!0),B(ye,null,Ce(S.value,(L,N)=>(P(),B("p",{key:`asterisk-${N}`,class:"font-light",innerHTML:L},null,8,hV))),128))])])):ae("",!0)])}}}),gV={class:"w-full flex flex-col"},vV=["aria-expanded"],yV={class:"relative bg-[#141616] h-[85px] flex items-center justify-between px-[25px] transition-colors duration-200 group-focus-visible:outline-2 group-focus-visible:outline-white group-focus-visible:outline-offset-2 max-md:h-[60
57px] max-md:px-5"},bV={class:"flex items-center justify-center w-[85px] h-[85px] -mr-[25px] max-md:w-[60px] max-md:h-[60px] max-md:-mr-5","aria-hidden":"true"},xV={class:"columns-1 gap-0 sm:columns-2 sm:gap-5 md:columns-3 md:gap-5 lg:columns-4 lg:gap-[25px]"},_V=["onClick"],wV=["innerHTML"],SV={key:0,class:"absolute inset-0 bg-gray-400/50 opacity-0 group-hover:opacity-100 group-focus:opacity-100 transition-opacity duration-300 flex items-start justify-start p-4"},kV={class:"text-white text-base"},CV={class:"flex container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto gap-4 sm:gap-5 md:gap-6 py-4 h-full"},TV={class:"flex-1 self-center relative h-3/4"},EV=["innerHTML"],PV={key:1,class:"absolute w-full -bottom-6 text-sm text-gray-400 italic text-center"},IV=pe({__name:"AdditionalInformation",props:{items:{default:()=>[]}},setup(e){const t=e,n=V(!1),r=V(!1),o=V(null),i=`additional-information-content-${Math.random().toString(36).slice(2,11)}`;Ll(r);const s=l=>{o.value=l,r.value=!0};return(l,a)=>{const u=it,c=vh,d=Zc;return P(),B("div",gV,[_("div",{class:re(["w-full border-2 transition-colors duration-200",{"border-[#e70038]":n.value,"border-[#72797b] hover:border-[#e70038]":!n.value}])},[K(c,{open:n.value,"onUpdate:open":a[0]||(a[0]=p=>n.value=p),ui:{root:"flex flex-col",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},{content:D(()=>[_("div",{id:i,class:"bg-[#141616] w-full px-[25px] pt-[25px] pb-[25px] max-md:px-5 max-md:py-5"},[_("div",xV,[(P(!0),B(ye,null,Ce(t.items,(p,f)=>(P(),B("div",{key:`image-${f}`,class:"inline-block w-full break-inside-avoid mb-[25px] max-md:mb-5 cursor-pointer group relative overflow-hidden",onClick:m=>s(f)},[_("div",{class:"relative overflow-hidden [&_img]:w-full [&_img]:h-auto [&_img]:block [&_picture]:block [&_picture]:w-full [&_img]:transition-transform [&_img]:duration-300 [&_img]:ease-in-out group-hover:[&_img]:scale-110",innerHTML:p.thumbnail},null,8,wV),p.title?(P(),B("div",SV,[_("p",kV,te(p.title),1)])):ae("",!0)],8,_V))),128))])])]),default:D(()=>[_("button",{type:"button",class:"relative w-full cursor-pointer bg-transparent border-none p-0 outline-none group","aria-expanded":n.value,"aria-controls":i},[_("div",yV,[a[3]||(a[3]=_("span",{class:"font-bold text-[20px] leading-[25px] text-white flex-1 text-left max-md:text-base max-md:leading-5"}," Additional Information ",-1)),_("div",bV,[K(u,{name:"i-lucide-chevron-down",class:re(["w-[30px] h-[30px] transition-transform duration-200 max-md:w-6 max-md:h-6",{"rotate-180 text-[#e70038]":n.value,"text-white":!n.value}])},null,8,["class"])])])],8,vV)]),_:1},8,["open"])],2),K(d,{scrollable:"",fullscreen:!0,overlay:!0,dismissible:!0,open:r.value,"onUpdate:open":a[2]||(a[2]=p=>r.value=p),ui:{overlay:"bg-black/70 z-[70]",content:"bg-black/70 z-[71]"}},{content:D(()=>[_("section",CV,[_("div",TV,[(P(),B("svg",{class:"absolute top-15px right-15px z-20 cursor-pointer sm:top-28px sm:right-28px w-20px h-auto sm:w-auto",width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=p=>r.value=!1)},[...a[4]||(a[4]=[_("circle",{cx:"15.5",cy:"15.5",r:"14",stroke:"#E70038","stroke-width":"2"},null,-1),_("path",{d:"M9.5 9.5L21.5 21.5",stroke:"#E70038"},null,-1),_("path",{d:"M9.5 21.5L21.5 9.5",stroke:"#E70038"},null,-1)])])),_("figure",null,[o.value!==null&&t.items[o.value]?(P(),B("div",{key:0,class:"absolute w-full h-full",innerHTML:t.items[o.value].modal},null,8,EV)):ae("",!0),o.value!==null?(P(),B("figcaption",PV,te(t.items[o.value]?.title),
571)):ae("",!0)])])])]),_:1},8,["open"])])}}}),AV={slots:{root:"w-full",item:"border-b border-default last:border-b-0",header:"flex",trigger:"group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary min-w-0",content:"data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",body:"text-sm pb-3.5",leadingIcon:"shrink-0 size-5",trailingIcon:"shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200",label:"text-start break-words"},variants:{disabled:{true:{trigger:"cursor-not-allowed opacity-75"}}}},Is={__name:"Accordion",props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:[String,Object],required:!1},labelKey:{type:null,required:!1,default:"label"},class:{type:null,required:!1},ui:{type:null,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:"single"},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),i=Xt(),s=Vn(ti(n,"as","collapsible","defaultValue","disabled","modelValue","unmountOnHide"),r),l=W(()=>nt({extend:nt(AV),...i.ui?.accordion||{}})({disabled:n.disabled}));return(a,u)=>(P(),X(v(Y8),be(v(s),{type:e.type,class:l.value.root({class:[n.ui?.root,n.class]})}),{default:D(()=>[(P(!0),B(ye,null,Ce(n.items,(c,d)=>(P(),X(v(J8),{key:d,value:c.value||String(d),disabled:c.disabled,class:re(l.value.item({class:[n.ui?.item,c.ui?.item,c.class]}))},{default:D(({open:p})=>[K(v(nL),{as:"div",class:re(l.value.header({class:[n.ui?.header,c.ui?.header]}))},{default:D(()=>[K(v(oL),{class:re(l.value.trigger({class:[n.ui?.trigger,c.ui?.trigger],disabled:c.disabled}))},{default:D(()=>[se(a.$slots,"leading",{item:c,index:d,open:p},()=>[c.icon?(P(),X(it,{key:0,name:c.icon,class:re(l.value.leadingIcon({class:[n.ui?.leadingIcon,c?.ui?.leadingIcon]}))},null,8,["name","class"])):ae("",!0)]),v(On)(c,n.labelKey)||o.default?(P(),B("span",{key:0,class:re(l.value.label({class:[n.ui?.label,c.ui?.label]}))},[se(a.$slots,"default",{item:c,index:d,open:p},()=>[Le(te(v(On)(c,n.labelKey)),1)])],2)):ae("",!0),se(a.$slots,"trailing",{item:c,index:d,open:p},()=>[K(it,{name:c.trailingIcon||e.trailingIcon||v(i).ui.icons.chevronDown,class:re(l.value.trailingIcon({class:[n.ui?.trailingIcon,c.ui?.trailingIcon]}))},null,8,["name","class"])])]),_:2},1032,["class"])]),_:2},1032,["class"]),c.content||o.content||c.slot&&o[c.slot]||o.body||c.slot&&o[`${c.slot}-body`]?(P(),X(v(eL),{key:0,class:re(l.value.content({class:[n.ui?.content,c.ui?.content]}))},{default:D(()=>[se(a.$slots,c.slot||"content",{item:c,index:d,open:p},()=>[_("div",{class:re(l.value.body({class:[n.ui?.body,c.ui?.body]}))},[se(a.$slots,c.slot?`${c.slot}-body`:"body",{item:c,index:d,open:p},()=>[Le(te(c.content),1)])],2)])]),_:2},1032,["class"])):ae("",!0)]),_:2},1032,["value","disabled","class"]))),128))]),_:3},16,["type","class"]))}},$V={class:"w-full flex flex-col"},MV=["innerHTML"],OV=["innerHTML"],LV=pe({__name:"Accordion",props:{items:{default:()=>[]}},setup(e){const t=e,n=W(()=>t.items.map((r,o)=>({label:r.label,content:r.content,value:String(o)})));return(r,o)=>{const i=Is;return P(),B("div",$V,[K(i,{type:"single",items:n.value,ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-[#141616] h-[85px] flex items-center justify-between px-[25px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 max-md:h-[60px] max-md:px-5 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden bg-[#141616]",body:"bg-[#141616] w-full px-[25px] pt-[25px] pb-[25px] max-md:px-5 max-md:py-5",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] text-white transition-transform duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 group-data-[state=open]:text-[#e70038]",label:"font-bold text-[20px] leading-[25px] text-white text-left max-md:text-base max-md:leading-5 break-words pr-[85px] max-md:pr-[60px]"}},{default:D(({item:s})=>[_("span",{class:"font-bold text-[20px] leading-[25px] text-white text-left max-md:text-base max-md:leading-5 break-words pr-[85px] max-md:pr-[60px]",innerHTML:s.label},null,8,MV)]),body:D(({item:s})=>[_("div",{class:"text-base text-white [&>*:first-child]:mt-0 prose prose-white max-w-none",innerHTML:s.content},null,8,OV)]),_:1},8,["items"])])}}}),wo={Root:pC,Trigger:hC,Portal:L6,Content:k6,Arrow:dC,Item:P6,Group:T6,Separator:N6,CheckboxItem:x6,ItemIndicator:A6,Label:M6,RadioGroup:R6,RadioItem:F6,Sub:z6,SubContent:H6,SubTrigger:W6},qV={base:"inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans",variants:{color:{primary:"",secondary:"",success:"",info:"",w
57arning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{sm:"h-4 min-w-[16px] text-[10px]",md:"h-5 min-w-[20px] text-[11px]",lg:"h-6 min-w-[24px] text-[12px]"}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success"},{color:"info",variant:"solid",class:"text-inverted bg-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"}],defaultVariants:{variant:"outline",color:"neutral",size:"md"}},RV={__name:"Kbd",props:{as:{type:null,required:!1,default:"kbd"},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1}},setup(e){const t=e,{getKbdKey:n}=GO(),r=Xt(),o=W(()=>nt({extend:nt(qV),...r.ui?.kbd||{}}));return(i,s)=>(P(),X(v(ze),{as:e.as,class:re(o.value({class:t.class,color:t.color,variant:t.variant,size:t.size}))},{default:D(()=>[se(i.$slots,"default",{},()=>[Le(te(v(n)(e.value)),1)])]),_:3},8,["as","class"]))}},mT={__name:"DropdownMenuContent",props:{items:{type:null,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0},sub:{type:Boolean,required:!1},labelKey:{type:null,required:!0},checkedIcon:{type:[String,Object],required:!1},loadingIcon:{type:[String,Object],required:!1},externalIcon:{type:[Boolean,String,Object],required:!1},class:{type:null,required:!1},ui:{type:null,required:!0},uiOverride:{type:null,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),{dir:i}=eh(),s=Xt(),l=ch(mr(()=>n.portal)),a=Vn(dk(n,"sub","items","portal","labelKey","checkedIcon","loadingIcon","externalIcon","class","ui","uiOverride"),r),u=()=>xc(o,["default"]),[c,d]=fk(),p=W(()=>i.value==="rtl"?s.ui.icons.chevronLeft:s.ui.icons.chevronRight),f=W(()=>n.items?.length?yk(n.items)?n.items:[n.items]:[]);return(m,h)=>(P(),B(ye,null,[K(v(c),null,{default:D(({item:g,active:y,index:b})=>[se(m.$slots,g.slot||"item",{item:g,index:b},()=>[se(m.$slots,g.slot?`${g.slot}-leading`:"item-leading",{item:g,active:y,index:b},()=>[g.loading?(P(),X(it,{key:0,name:e.loadingIcon||v(s).ui.icons.loading,class:re(e.ui.itemLeadingIcon({class:[e.uiOverride?.itemLeadingIcon,g.ui?.itemLeadingIcon],c
57olor:g?.color,loading:!0}))},null,8,["name","class"])):g.icon?(P(),X(it,{key:1,name:g.icon,class:re(e.ui.itemLeadingIcon({class:[e.uiOverride?.itemLeadingIcon,g.ui?.itemLeadingIcon],color:g?.color,active:y}))},null,8,["name","class"])):g.avatar?(P(),X(Di,be({key:2,size:g.ui?.itemLeadingAvatarSize||e.uiOverride?.itemLeadingAvatarSize||e.ui.itemLeadingAvatarSize()},g.avatar,{class:e.ui.itemLeadingAvatar({class:[e.uiOverride?.itemLeadingAvatar,g.ui?.itemLeadingAvatar],active:y})}),null,16,["size","class"])):ae("",!0)]),v(On)(g,n.labelKey)||o[g.slot?`${g.slot}-label`:"item-label"]?(P(),B("span",{key:0,class:re(e.ui.itemLabel({class:[e.uiOverride?.itemLabel,g.ui?.itemLabel],active:y}))},[se(m.$slots,g.slot?`${g.slot}-label`:"item-label",{item:g,active:y,index:b},()=>[Le(te(v(On)(g,n.labelKey)),1)]),g.target==="_blank"&&e.externalIcon!==!1?(P(),X(it,{key:0,name:typeof e.externalIcon=="string"?e.externalIcon:v(s).ui.icons.external,class:re(e.ui.itemLabelExternalIcon({class:[e.uiOverride?.itemLabelExternalIcon,g.ui?.itemLabelExternalIcon],color:g?.color,active:y}))},null,8,["name","class"])):ae("",!0)],2)):ae("",!0),_("span",{class:re(e.ui.itemTrailing({class:[e.uiOverride?.itemTrailing,g.ui?.itemTrailing]}))},[se(m.$slots,g.slot?`${g.slot}-trailing`:"item-trailing",{item:g,active:y,index:b},()=>[g.children?.length?(P(),X(it,{key:0,name:p.value,class:re(e.ui.itemTrailingIcon({class:[e.uiOverride?.itemTrailingIcon,g.ui?.itemTrailingIcon],color:g?.color,active:y}))},null,8,["name","class"])):g.kbds?.length?(P(),B("span",{key:1,class:re(e.ui.itemTrailingKbds({class:[e.uiOverride?.itemTrailingKbds,g.ui?.itemTrailingKbds]}))},[(P(!0),B(ye,null,Ce(g.kbds,(x,w)=>(P(),X(RV,be({key:w,size:g.ui?.itemTrailingKbdsSize||e.uiOverride?.itemTrailingKbdsSize||e.ui.itemTrailingKbdsSize()},{ref_for:!0},typeof x=="string"?{value:x}:x),null,16,["size"]))),128))],2)):ae("",!0)]),K(v(wo).ItemIndicator,{"as-child":""},{default:D(()=>[K(it,{name:e.checkedIcon||v(s).ui.icons.check,class:re(e.ui.itemTrailingIcon({class:[e.uiOverride?.itemTrailingIcon,g.ui?.itemTrailingIcon],color:g?.color}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:3}),K(v(wo).Portal,ct(_t(v(l))),{default:D(()=>[(P(),X(yr(e.sub?v(wo).SubContent:v(wo).Content),be({class:n.class},v(a)),{default:D(()=>[se(m.$slots,"content-top"),_("div",{role:"presentation",class:re(e.ui.viewport({class:e.uiOverride?.viewport}))},[(P(!0),B(ye,null,Ce(f.value,(g,y)=>(P(),X(v(wo).Group,{key:`group-${y}`,class:re(e.ui.group({class:e.uiOverride?.group}))},{default:D(()=>[(P(!0),B(ye,null,Ce(g,(b,x)=>(P(),B(ye,{key:`group-${y}-${x}`},[b.type==="label"?(P(),X(v(wo).Label,{key:0,class:re(e.ui.label({class:[e.uiOverride?.label,b.ui?.label,b.class]}))},{default:D(()=>[K(v(d),{item:b,index:x},null,8,["item","index"])]),_:2},1032,["class"])):b.type==="separator"?(P(),X(v(wo).Separator,{key:1,class:re(e.ui.separator({class:[e.uiOverride?.separator,b.ui?.separator,b.class]}))},null,8,["class"])):b?.children?.length?(P(),X(v(wo).Sub,{key:2,open:b.open,"default-open":b.defaultOpen},{default:D(()=>[K(v(wo).SubTrigger,{as:"button",type:"button",disabled:b.disabled,"text-value":v(On)(b,n.labelKey),class:re(e.ui.item({class:[e.uiOverride?.item,b.ui?.item,b.class],color:b?.color}))},{default:D(()=>[K(v(d),{item:b,index:x},null,8,["item","index"])]),_:2},1032,["disabled","text-value","class"]),K(mT,be({sub:"",class:n.class,ui:e.ui,"ui-override":e.uiOverride,portal:e.portal,items:b.children,al
57ign:"start","align-offset":-4,"side-offset":3,"label-key":e.labelKey,"checked-icon":e.checkedIcon,"loading-icon":e.loadingIcon,"external-icon":e.externalIcon},{ref_for:!0},b.content),Hc({_:2},[Ce(u(),(w,E)=>({name:E,fn:D(T=>[se(m.$slots,E,be({ref_for:!0},T))])}))]),1040,["class","ui","ui-override","portal","items","label-key","checked-icon","loading-icon","external-icon"])]),_:2},1032,["open","default-open"])):b.type==="checkbox"?(P(),X(v(wo).CheckboxItem,{key:3,"model-value":b.checked,disabled:b.disabled,"text-value":v(On)(b,n.labelKey),class:re(e.ui.item({class:[e.uiOverride?.item,b.ui?.item,b.class],color:b?.color})),"onUpdate:modelValue":b.onUpdateChecked,onSelect:b.onSelect},{default:D(()=>[K(v(d),{item:b,index:x},null,8,["item","index"])]),_:2},1032,["model-value","disabled","text-value","class","onUpdate:modelValue","onSelect"])):(P(),X(v(wo).Item,{key:4,"as-child":"",disabled:b.disabled,"text-value":v(On)(b,n.labelKey),onSelect:b.onSelect},{default:D(()=>[K(ZC,be({ref_for:!0},v(BC)(b),{custom:""}),{default:D(({active:w,...E})=>[K(ip,be({ref_for:!0},E,{class:e.ui.item({class:[e.uiOverride?.item,b.ui?.item,b.class],color:b?.color,active:w})}),{default:D(()=>[K(v(d),{item:b,active:w,index:x},null,8,["item","active","index"])]),_:2},1040,["class"])]),_:2},1040)]),_:2},1032,["disabled","text-value","onSelect"]))],64))),128))]),_:2},1032,["class"]))),128))],2),se(m.$slots,"default"),se(m.$slots,"content-bottom")]),_:3},16,["class"]))]),_:3},16)],64))}},BV={slots:{content:"min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",arrow:"fill-default",group:"p-1 isolate",label:"w-full flex items-center font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:"group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",itemLeadingIcon:"shrink-0",itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemTrailingKbds:"hidden lg:inline-flex items-center shrink-0",itemTrailingKbdsSize:"",itemLabel:"truncate",itemLabelExternalIcon:"inline-block size-3 align-top text-dimmed"},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},active:{true:{item:"text-highlighted before:bg-elevated",itemLeadingIcon:"text-default"},false:{item:["text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default","transition-colors"]}},loading:{true:{itemLeadingIcon:"animate-spin"}},size:{xs:{label:"p-1 text-xs gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},sm:{label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},md:{label:"p-1.5 text-sm gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"md"},lg:{label:"p-2 text-sm gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"md"},xl:{label:"p-2 text-base gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemTrailingIcon:"size-6",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"lg"}}},compoundVariants:[{color:"primary",active:!1,class:{item:"text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",itemLeadingIcon:"text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"}}
57,{color:"secondary",active:!1,class:{item:"text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",itemLeadingIcon:"text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"}},{color:"success",active:!1,class:{item:"text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",itemLeadingIcon:"text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"}},{color:"info",active:!1,class:{item:"text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",itemLeadingIcon:"text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"}},{color:"warning",active:!1,class:{item:"text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",itemLeadingIcon:"text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"}},{color:"error",active:!1,class:{item:"text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",itemLeadingIcon:"text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"}},{color:"primary",active:!0,class:{item:"text-primary before:bg-primary/10",itemLeadingIcon:"text-primary"}},{color:"secondary",active:!0,class:{item:"text-secondary before:bg-secondary/10",itemLeadingIcon:"text-secondary"}},{color:"success",active:!0,class:{item:"text-success before:bg-success/10",itemLeadingIcon:"text-success"}},{color:"info",active:!0,class:{item:"text-info before:bg-info/10",itemLeadingIcon:"text-info"}},{color:"warning",active:!0,class:{item:"text-warning before:bg-warning/10",itemLeadingIcon:"text-warning"}},{color:"error",active:!0,class:{item:"text-error before:bg-error/10",itemLeadingIcon:"text-error"}}],defaultVariants:{size:"md"}},FV={__name:"DropdownMenu",props:{size:{type:null,required:!1},items:{type:null,required:!1},checkedIcon:{type:[String,Object],required:!1},loadingIcon:{type:[String,Object],required:!1},externalIcon:{type:[Boolean,String,Object],required:!1,default:!0},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},labelKey:{type:null,required:!1,default:"label"},disabled:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),i=Xt(),s=Vn(ti(n,"defaultOpen","open","modal"),r),l=mr(()=>yl(n.content,{side:"bottom",sideOffset:8,collisionPadding:8})),a=mr(()=>n.arrow),u=()=>xc(o,["default"]),c=W(()=>nt({extend:nt(BV),...i.ui?.dropdownMenu||{}})({size:n.size}));return(d,p)=>(P(),X(v(pC),ct(_t(v(s))),{default:D(({open:f})=>[o.default?(P(),X(v(hC),{key:0,"as-child":"",class:re(n.class),disabled:e.disabled},{default:D(()=>[se(d.$slots,"default",{open:f})]),_:2},1032,["class","disabled"])):ae("",!0),K(mT,be({class:c.value.content({class:[!o.default&&n.class,n.ui?.content]}),ui:c.value,"ui-override":n.ui},l.value,{items:e.items,portal:e.portal,"label-key":e.labelKey,"checked-icon":e.checkedIcon,"loading-icon":e.loadingIcon,"external-icon":e.externalIcon}),Hc({default:D(()=>[e.arrow?(P(),X(v(dC),be({key:0},a.value,{class:c.value.arrow({class:n.ui?.arrow})}),null,16,["class"])):ae("",!0)]),_:2},[Ce(u(),(m,h)=>({name:h,fn:D(g=>[se(d.$slots,h,ct(_t(g)))])}))]),1040,["class","ui","ui-override","items","portal","label-key","checked-icon","loading-icon","external-icon"])]),_:3},16))}};function gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}/*! 58 * GSAP 3.13.0 59 * https://gsap.com 60 * 61 * @license Copyright 2008-2025, GreenSock. All rights reserved. 62 * Subject to the terms at https://gsap.com/standard-license 63 * @author: Jack Doyle, [email protected] 64*/var Xr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ba={duration:.5,overwrite:!1,delay:0}
vendor: 4,423 bytes, line 64
64,py,Bn,qt,co=1e8,Et=1/co,Zg=Math.PI*2,DV=Zg/4,NV=0,vT=Math.sqrt,VV=Math.cos,zV=Math.sin,Tn=function(t){return typeof t=="string"},Yt=function(t){return typeof t=="function"},Ni=function(t){return typeof t=="number"},hy=function(t){return typeof t>"u"},oi=function(t){return typeof t=="object"},Pr=function(t){return t!==!1},my=function(){return typeof window<"u"},$d=function(t){return Yt(t)||Tn(t)},yT=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nr=Array.isArray,ev=/(?:-?\.?\d|\.)+/gi,bT=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ra=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,bm=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,xT=/[+-]=-?[.\d]+/,_T=/[^,'"\[\]\s]+/gi,jV=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,zt,Ho,tv,gy,Jr={},up={},wT,ST=function(t){return(up=Fa(t,Jr))&&qr},vy=function(t,n){return console.warn("Invalid property",t,"set to",n,"Missing plugin? gsap.registerPlugin()")},Ic=function(t,n){return!n&&console.warn(t)},kT=function(t,n){return t&&(Jr[t]=n)&&up&&(up[t]=n)||Jr},Ac=function(){return 0},HV={suppressEvents:!0,isStart:!0,kill:!1},df={suppressEvents:!0,kill:!1},UV={suppressEvents:!0},yy={},ms=[],nv={},CT,Vr={},xm={},Ax=30,ff=[],by="",xy=function(t){var n=t[0],r,o;if(oi(n)||Yt(n)||(t=[t]),!(r=(n._gsap||{}).harness)){for(o=ff.length;o--&&!ff[o].targetTest(n););r=ff[o]}for(o=t.length;o--;)t[o]&&(t[o]._gsap||(t[o]._gsap=new YT(t[o],r)))||t.splice(o,1);return t},il=function(t){return t._gsap||xy(fo(t))[0]._gsap},TT=function(t,n,r){return(r=t[n])&&Yt(r)?t[n]():hy(r)&&t.getAttribute&&t.getAttribute(n)||r},Ir=function(t,n){return(t=t.split(",")).forEach(n)||t},Zt=function(t){return Math.round(t*1e5)/1e5||0},ln=function(t){return Math.round(t*1e7)/1e7||0},ga=function(t,n){var r=n.charAt(0),o=parseFloat(n.substr(2));return t=parseFloat(t),r==="+"?t+o:r==="-"?t-o:r==="*"?t*o:t/o},WV=function(t,n){for(var r=n.length,o=0;t.indexOf(n[o])<0&&++o<r;);return o<r},cp=function(){var t=ms.length,n=ms.slice(0),r,o;for(nv={},ms.length=0,r=0;r<t;r++)o=n[r],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},_y=function(t){return!!(t._initted||t._startAt||t.add)},ET=function(t,n,r,o){ms.length&&!Bn&&cp(),t.render(n,r,!!(Bn&&n<0&&_y(t))),ms.length&&!Bn&&cp()},PT=function(t){var n=parseFloat(t);return(n||n===0)&&(t+"").match(_T).length<2?n:Tn(t)?t.trim():t},IT=function(t){return t},Zr=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},GV=function(t){return function(n,r){for(var o in r)o in n||o==="duration"&&t||o==="ease"||(n[o]=r[o])}},Fa=function(t,n){for(var r in n)t[r]=n[r];return t},$x=function e(t,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=oi(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},dp=function(t,n){var r={},o;for(o in t)o in n||(r[o]=t[o]);return r},ju=function(t){var n=t.parent||zt,r=t.keyframes?GV(nr(t.keyframes)):Zr;if(Pr(t.inherit))for(;n;)r(t,n.vars.defaults),n=n.parent||n._dp;return t},KV=function(t,n){for(var r=t.length,o=r===n.length;o&&r--&&t[r]===n[r];);return r<0},AT=function(t,n,r,o,i){var s=t[o],l;if(i)for(l=n[i];s&&s[i]>l;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=t[r],t[r]=n),n._next?n._next._prev=n:t[o]=n,n._prev=s,n.parent=n._dp=t,n},yh=function(t,n,r,o){r===void 0&&(r="_first"),o===void 0&&(o="_last");var i=n._prev,s=n._next;i?i._next=s:t[r]===n&&(t[r]=s),s?s._prev=i:t[o]===n&&(t[o]=i),n._next=n._prev=n.parent=null},Ss=function(t,n){t.parent&&(!n||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},sl=function(t,n){if(t&&(!n||n._end>t._dur||n._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},YV=function(t){for(var n=t.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return t},rv=function(t,n,r,o){return t._startAt&&(Bn?t._startAt.revert(df):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(n,!0,o))},XV=function e(t){return!t||t._ts&&e(t.parent)},Mx=function(t){return t._repeat?Da(t._tTime,t=t.duration()+t._rDelay)*t:0},Da=function(t,n){var r=Math.floor(t=ln(t/n));return t&&r===t?r-1:r},fp=function(t,n){return(t-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},bh=function(t){return t._end=ln(t._start+(t._tDur/Math.abs(t._ts||t._rts||Et)||0))},xh=function(t,n){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ln(r._time-(t._ts>0?n/t._ts:((t._dirty?t.totalDuration():t._tDur)-n)/-t._ts)),bh(t),r._dirty||sl(r,t)),t},$T=function(t,n){var r;if((n._time||!n._dur&&n._initted||n._start<t._time&&(n._dur||!n.add
vendor: 9,371 bytes, line 64
64))&&(r=fp(t.rawTime(),n),(!n._dur||ed(0,n.totalDuration(),r)-n._tTime>Et)&&n.render(r,!0)),sl(t,n)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-Et}},Wo=function(t,n,r,o){return n.parent&&Ss(n),n._start=ln((Ni(r)?r:r||t!==zt?ro(t,r,n):t._time)+n._delay),n._end=ln(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),AT(t,n,"_first","_last",t._sort?"_start":0),ov(n)||(t._recent=n),o||$T(t,n),t._ts<0&&xh(t,t._tTime),t},MT=function(t,n){return(Jr.ScrollTrigger||vy("scrollTrigger",n))&&Jr.ScrollTrigger.create(n,t)},OT=function(t,n,r,o,i){if(Sy(t,n,i),!t._initted)return 1;if(!r&&t._pt&&!Bn&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&CT!==Hr.frame)return ms.push(t),t._lazy=[i,o],1},QV=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},ov=function(t){var n=t.data;return n==="isFromStart"||n==="isStart"},JV=function(t,n,r,o){var i=t.ratio,s=n<0||!n&&(!t._start&&QV(t)&&!(!t._initted&&ov(t))||(t._ts<0||t._dp._ts<0)&&!ov(t))?0:1,l=t._rDelay,a=0,u,c,d;if(l&&t._repeat&&(a=ed(0,t._tDur,n),c=Da(a,l),t._yoyo&&c&1&&(s=1-s),c!==Da(t._tTime,l)&&(i=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==i||Bn||o||t._zTime===Et||!n&&t._zTime){if(!t._initted&&OT(t,n,o,r,a))return;for(d=t._zTime,t._zTime=n||(r?Et:0),r||(r=n&&!d),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=a,u=t._pt;u;)u.r(s,u.d),u=u._next;n<0&&rv(t,n,r,!0),t._onUpdate&&!r&&Gr(t,"onUpdate"),a&&t._repeat&&!r&&t.parent&&Gr(t,"onRepeat"),(n>=t._tDur||n<0)&&t.ratio===s&&(s&&Ss(t,1),!r&&!Bn&&(Gr(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=n)},ZV=function(t,n,r){var o;if(r>n)for(o=t._first;o&&o._start<=r;){if(o.data==="isPause"&&o._start>n)return o;o=o._next}else for(o=t._last;o&&o._start>=r;){if(o.data==="isPause"&&o._start<n)return o;o=o._prev}},Na=function(t,n,r,o){var i=t._repeat,s=ln(n)||0,l=t._tTime/t._tDur;return l&&!o&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:ln(s*(i+1)+t._rDelay*i):s,l>0&&!o&&xh(t,t._tTime=t._tDur*l),t.parent&&bh(t),r||sl(t.parent,t),t},Ox=function(t){return t instanceof pr?sl(t):Na(t,t._dur)},e9={_start:0,endTime:Ac,totalDuration:Ac},ro=function e(t,n,r){var o=t.labels,i=t._recent||e9,s=t.duration()>=co?i.endTime(!1):t._dur,l,a,u;return Tn(n)&&(isNaN(n)||n in o)?(a=n.charAt(0),u=n.substr(-1)==="%",l=n.indexOf("="),a==="<"||a===">"?(l>=0&&(n=n.replace(/=/,"")),(a==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(l<0?i:r).totalDuration()/100:1)):l<0?(n in o||(o[n]=s),o[n]):(a=parseFloat(n.charAt(l-1)+n.substr(l+1)),u&&r&&(a=a/100*(nr(r)?r[0]:r).totalDuration()),l>1?e(t,n.substr(0,l-1),r)+a:s+a)):n==null?s:+n},Hu=function(t,n,r){var o=Ni(n[1]),i=(o?2:1)+(t<2?0:1),s=n[i],l,a;if(o&&(s.duration=n[1]),s.parent=r,t){for(l=s,a=r;a&&!("immediateRender"in l);)l=a.vars.defaults||{},a=Pr(a.vars.inherit)&&a.parent;s.immediateRender=Pr(l.immediateRender),t<2?s.runBackwards=1:s.startAt=n[i-1]}return new sn(n[0],s,n[i+1])},As=function(t,n){return t||t===0?n(t):n},ed=function(t,n,r){return r<t?t:r>n?n:r},Qn=function(t,n){return!Tn(t)||!(n=jV.exec(t))?"":n[1]},t9=function(t,n,r){return As(r,function(o){return ed(t,n,o)})},iv=[].slice,LT=function(t,n){return t&&oi(t)&&"length"in t&&(!n&&!t.length||t.length-1 in t&&oi(t[0]))&&!t.nodeType&&t!==Ho},n9=function(t,n,r){return r===void 0&&(r=[]),t.forEach(function(o){var i;return Tn(o)&&!n||LT(o,1)?(i=r).push.apply(i,fo(o)):r.push(o)})||r},fo=function(t,n,r){return qt&&!n&&qt.selector?qt.selector(t):Tn(t)&&!r&&(tv||!Va())?iv.call((n||gy).querySelectorAll(t),0):nr(t)?n9(t,r):LT(t)?iv.call(t,0):t?[t]:[]},sv=function(t){return t=fo(t)[0]||Ic("Invalid scope")||{},function(n){var r=t.current||t.nativeElement||t;return fo(n,r.querySelectorAll?r:r===t?Ic("Invalid scope")||gy.createElement("div"):t)}},qT=function(t){return t.sort(function(){return .5-Math.random()})},RT=function(t){if(Yt(t))return t;var n=oi(t)?t:{each:t},r=ll(n.ease),o=n.from||0,i=parseFloat(n.base)||0,s={},l=o>0&&o<1,a=isNaN(o)||l,u=n.axis,c=o,d=o;return Tn(o)?c=d={center:.5,edges:.5,end:1}[o]||0:!l&&a&&(c=o[0],d=o[1]),function(p,f,m){var h=(m||n).length,g=s[h],y,b,x,w,E,T,k,S,C;if(!g){if(C=n.grid==="auto"?0:(n.grid||[1,co])[1],!C){for(k=-co;k<(k=m[C++].getBoundingClientRect().left)&&C<h;);C<h&&C--}for(g=s[h]=[],y=a?Math.min(C,h)*c-.5:o%C,b=C===co?0:a?h*d/C-.5:o/C|0,k=0,S=co,T=0;T<h;T++)x=T%C-y,w=b-(T/C|0),g[T]=E=u?Math.abs(u==="y"?w:x):vT(x*x+w*w),E>k&&(k=E),E<S&&(S=E);o==="random"&&qT(g),g.max=k-S,g.min=S,g.v=h=(parseFloat(n.amount)||parseFloat(n.each)*(C>h?h-1:u?u==="y"?h/C:C:Math.max(C,h/C))||0)*(o==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Qn(n.amount||n.each)||0,r=r&&h<0?WT(r):r}return h=(g[p]-g.min)/g.max||0,ln(g.b+(r?r(h):h)*g.v)+g.u}},lv=function(t){var n=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var o=ln(Math.round(parseFloat(r)/t)*t*n);return(o-o%1)/n+(Ni(r)?0:Qn(r))}},BT=function(t,n){var r=nr(t),o,i;return!r&&oi(t)&&(o=r=t.radius||co,t.values?(t=fo(t.values),(i=!Ni(t[0]))&&(o*=o)):t=lv(t.increment)),As(n,r?Yt(t)?function(s){return i=t(s),Math.abs(i-s)<=o?i:s}:function(s){for(var l=parseFloat(i?s.x:s),a=parseFloat(i?s.y:0),u=co,c=0,d=t.length,p,f;d--;)i?(p=t[d].x-l,f=t[d].y-a,p=p*p+f*f):p=Math.abs(t[d]-l),p<u&&(u=p,c=d);return c=!o||u<=o?t[c]:s,i||c===s||Ni(s)?c:c+Qn(s)}:lv(t))},FT=function(t,n,r,o){return As(nr(t)?!n:r===!0?!!(r=0):!o,function(){return nr(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(o=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(n-t+r*.99))/r)*r*o)/o})},r9=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(o){return n.reduce(function(i,s){return s(i)},o)}},o9=function(t,n){return function(r){return t(parseFloat(r))+(n||Qn(r))}},i9=function(t,n,r){return NT(t,n,0,1,r)},DT=function(t,n,r){return As(r,function(o){return t[~~n(o)]})},s9=function e(t,n,r){var o=n-t;return nr(t)?DT(t,e(0,t.length),n):As(r,function(i){return(o+(i-t)%o)%o+t})},l9=function e(t,n,r){var o=n-t,i=o*2;return nr(t)?DT(t,e(0,t.length-1),n):As(r,function(s){return s=(i+(s-t)%i)%i||0,t+(s>o?i-s:s)})},$c=function(t){for(var n=0,r="",o,i,s,l;~(o=t.indexOf("random(",n));)s=t.indexOf(")",o),l=t.charAt(o+7)==="[",i=t.substr(o+7,s-o-7).match(l?_T:ev),r+=t.substr(n,o-n)+FT(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=s+1;return r+t.substr(n,t.length-n)},NT=function(t,n,r,o,i){var s=n-t,l=o-r;return As(i,function(a){return r+((a-t)/s*l||0)})},a9=function e(t,n,r,o){var i=isNaN(t+n)?0:function(f){return(1-f)*t+f*n};if(!i){var s=Tn(t),l={},a,u,c,d,p;if(r===!0&&(o=1)&&(r=null),s)t={p:t},n={p:n};else if(nr(t)&&!nr(n)){for(c=[],d=t.length,p=d-2,u=1;u<d;u++)c.push(e(t[u-1],t[u]));d--,i=function(m){m*=d;var h=Math.min(p,~~m);return c[h](m-h)},r=n}else o||(t=Fa(nr(t)?[]:{},t));if(!c){for(a in n)wy.call(l,t,a,"get",n[a]);i=function(m){return Ty(m,l)||(s?t.p:t)}}}return As(r,i)},Lx=function(t,n,r){var o=t.labels,i=co,s,l,a;for(s in o)l=o[s]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(a=s,i=l);return a},Gr=function(t,n,r){var o=t.vars,i=o[n],s=qt,l=t._ctx,a,u,c;if(i)return a=o[n+"Params"],u=o.callbackScope||t,r&&ms.length&&cp(),l&&(qt=l),c=a?i.apply(u,a):i.call(u),qt=s,c},Cu=function(t){return Ss(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Bn),t.progress()<1&&Gr(t,"onInterrupt"),t},oa,VT=[],zT=function(t){if(t)if(t=!t.name&&t.default||t,my()||t.headless){var n=t.name,r=Yt(t),o=n&&!r&&t.init?function(){this._props=[]}:t,i={init:Ac,render:Ty,add:wy,kill:k9,modifier:S9,rawVars:0},s={targetTest:0,get:0,getSetter:Cy,aliases:{},register:0};if(Va(),t!==o){if(Vr[n])return;Zr(o,Zr(dp(t,i),s)),Fa(o.prototype,Fa(i,dp(t,s))),Vr[o.prop=n]=o,t.targetTest&&(ff.push(o),yy[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}kT(n,o),t.register&&t.register(qr,o,Ar)}else VT.push(t)},Tt=255,Tu={aqua:[0,Tt,Tt],lime:[0,Tt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Tt],navy:[0,0,128],white:[Tt,Tt,Tt],olive:[128,128,0],yellow:[Tt,Tt,0],orange:[Tt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Tt,0,0],pink:[Tt,192,203],cyan:[0,Tt,Tt],transparent:[Tt,Tt,Tt,0]},_m=function(t,n,r){return t+=t<0?1:t>1?-1:0,(t*6<1?n+(r-n)*t*6:t<.5?r:t*3<2?n+(r-n)*(2/3-t)*6:n)*Tt+.5|0},jT=function(t,n,r){var o=t?Ni(t)?[t>>16,t>>8&Tt,t&Tt]:0:Tu.black,i,s,l,a,u,c,d,p,f,m;if(!o){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),Tu[t])o=Tu[t];else if(t.charAt(0)==="#"){if(t.length<6&&(i=t.charAt(1),s=t.charAt(2),l=t.charAt(3),t="#"+i+i+s+s+l+l+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return o=parseInt(t.substr(1,6),16),[o>>16,o>>8&Tt,o&Tt,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),o=[t>>16,t>>8&Tt,t&Tt]}else if(t.substr(0,3)==="hsl"){if(o=m=t.match(ev),!n)a=+o[0]%360/360,u=+o[1]/100,c=+o[2]/100,s=c<=.5?c*(u+1):c+u-c*u,i=c*2-s,o.length>3&&(o[3]*=1),o[0]=_m(a+1/3,i,s),o[1]=_m(a,i,s),o[2]=_m(a-1/3,i,s);else if(~t.indexOf("="))return o=t.match(bT),r&&o.length<4&&(o[3]=1),o}else o=t.match(ev)||Tu.transparent;o=o.map(Number)}return n&&!m&&(i=o[0]/Tt,s=o[1]/Tt,l=o[2]/Tt,d=Math.max(i,s,l),p=Math.min(i,s,l),c=(d+p)/2,d===p?a=u=0:(f=d-p,u=c>.5?f/(2-d-p):f/(d+p),a=d===i?(s-l)/f+(s<l?6:0):d===s?(l-i)/f+2:(i-s)/f+4,a*=60),o[0]=~~(a+.5),o[1]=~~(u*100+.5),o[2]=~~(c*100+.5)),r&&o.length<4&&(o[3]=1),o},HT=function(t){var n=[],r=[],o=-1;
vendor: 19,361 bytes, line 64
64return t.split(gs).forEach(function(i){var s=i.match(ra)||[];n.push.apply(n,s),r.push(o+=s.length+1)}),n.c=r,n},qx=function(t,n,r){var o="",i=(t+o).match(gs),s=n?"hsla(":"rgba(",l=0,a,u,c,d;if(!i)return t;if(i=i.map(function(p){return(p=jT(p,n,1))&&s+(n?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=HT(t),a=r.c,a.join(o)!==c.c.join(o)))for(u=t.replace(gs,"1").split(ra),d=u.length-1;l<d;l++)o+=u[l]+(~a.indexOf(l)?i.shift()||s+"0,0,0,0)":(c.length?c:i.length?i:r).shift());if(!u)for(u=t.split(gs),d=u.length-1;l<d;l++)o+=u[l]+i[l];return o+u[d]},gs=(function(){var e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in Tu)e+="|"+t+"\\b";return new RegExp(e+")","gi")})(),u9=/hsl[a]?\(/,UT=function(t){var n=t.join(" "),r;if(gs.lastIndex=0,gs.test(n))return r=u9.test(n),t[1]=qx(t[1],r),t[0]=qx(t[0],r,HT(t[1])),!0},Mc,Hr=(function(){var e=Date.now,t=500,n=33,r=e(),o=r,i=1e3/240,s=i,l=[],a,u,c,d,p,f,m=function h(g){var y=e()-o,b=g===!0,x,w,E,T;if((y>t||y<0)&&(r+=y-n),o+=y,E=o-r,x=E-s,(x>0||b)&&(T=++d.frame,p=E-d.time*1e3,d.time=E=E/1e3,s+=x+(x>=i?4:i-x),w=1),b||(a=u(h)),w)for(f=0;f<l.length;f++)l[f](E,p,T,g)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){wT&&(!tv&&my()&&(Ho=tv=window,gy=Ho.document||{},Jr.gsap=qr,(Ho.gsapVersions||(Ho.gsapVersions=[])).push(qr.version),ST(up||Ho.GreenSockGlobals||!Ho.gsap&&Ho||{}),VT.forEach(zT)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,a&&d.sleep(),u=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},Mc=1,m(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(a),Mc=0,u=Ac},lagSmoothing:function(g,y){t=g||1/0,n=Math.min(y||33,t)},fps:function(g){i=1e3/(g||240),s=d.time*1e3+i},add:function(g,y,b){var x=y?function(w,E,T,k){g(w,E,T,k),d.remove(x)}:g;return d.remove(g),l[b?"unshift":"push"](x),Va(),x},remove:function(g,y){~(y=l.indexOf(g))&&l.splice(y,1)&&f>=y&&f--},_listeners:l},d})(),Va=function(){return!Mc&&Hr.wake()},ut={},c9=/^[\d.\-M][\d.\-,\s]/,d9=/["']/g,f9=function(t){for(var n={},r=t.substr(1,t.length-3).split(":"),o=r[0],i=1,s=r.length,l,a,u;i<s;i++)a=r[i],l=i!==s-1?a.lastIndexOf(","):a.length,u=a.substr(0,l),n[o]=isNaN(u)?u.replace(d9,"").trim():+u,o=a.substr(l+1).trim();return n},p9=function(t){var n=t.indexOf("(")+1,r=t.indexOf(")"),o=t.indexOf("(",n);return t.substring(n,~o&&o<r?t.indexOf(")",r+1):r)},h9=function(t){var n=(t+"").split("("),r=ut[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[f9(n[1])]:p9(t).split(",").map(PT)):ut._CE&&c9.test(t)?ut._CE("",t):r},WT=function(t){return function(n){return 1-t(1-n)}},GT=function e(t,n){for(var r=t._first,o;r;)r instanceof pr?e(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?e(r.timeline,n):(o=r._ease,r._ease=r._yEase,r._yEase=o,r._yoyo=n)),r=r._next},ll=function(t,n){return t&&(Yt(t)?t:ut[t]||h9(t))||n},ql=function(t,n,r,o){r===void 0&&(r=function(a){return 1-n(1-a)}),o===void 0&&(o=function(a){return a<.5?n(a*2)/2:1-n((1-a)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:o},s;return Ir(t,function(l){ut[l]=Jr[l]=i,ut[s=l.toLowerCase()]=r;for(var a in i)ut[s+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=ut[l+"."+a]=i[a]}),i},KT=function(t){return function(n){return n<.5?(1-t(1-n*2))/2:.5+t((n-.5)*2)/2}},wm=function e(t,n,r){var o=n>=1?n:1,i=(r||(t?.3:.45))/(n<1?n:1),s=i/Zg*(Math.asin(1/o)||0),l=function(c){return c===1?1:o*Math.pow(2,-10*c)*zV((c-s)*i)+1},a=t==="out"?l:t==="in"?function(u){return 1-l(1-u)}:KT(l);return i=Zg/i,a.config=function(u,c){return e(t,u,c)},a},Sm=function e(t,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},o=t==="out"?r:t==="in"?function(i){return 1-r(1-i)}:KT(r);return o.config=function(i){return e(t,i)},o};Ir("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;ql(e+",Power"+(n-1),t?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})});ut.Linear.easeNone=ut.none=ut.Linear.easeIn;ql("Elastic",wm("in"),wm("out"),wm());(function(e,t){var n=1/t,r=2*n,o=2.5*n,i=function(l){return l<n?e*l*l:l<r?e*Math.pow(l-1.5/t,2)+.75:l<o?e*(l-=2.25/t)*l+.9375:e*Math.pow(l-2.625/t,2)+.984375};ql("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);ql("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)});ql("Circ",function(e){return-(vT(1-e*e)-1)});ql("Sine",function(e){return e===1?1:-VV(e*DV)+1});ql("Back",Sm("in"),Sm("out"),Sm());ut.SteppedEase=ut.steps=Jr.SteppedEase={config:function(t,n){t===void 0&&(t=1);var r=1/t,o=t+(n?0:1),i=n?1:0,s=1-Et;return function(l){return((o*ed(0,s,l)|0)+i)*r}}};Ba.ease=ut["quad.out"];Ir("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return by+=e+","+e+"Params,"});var YT=function(t,n){this.id=NV++,t._gsap=this,this.target=t,this.harness=n,this.get=n?n.get:TT,this.set=n?n.getSetter:Cy},Oc=(function(){function e(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,Na(this,+n.duration,1,1),this.data=n.data,qt&&(this._ctx=qt,qt.data.push(this)),Mc||Hr.wake()}var t=e.prototype;return t.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},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,Na(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,o){if(Va(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(xh(this,r),!i._dp||i.parent||$T(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Wo(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Et||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ET(this,r,o)),this},t.time=function(r,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Mx(this))%(this._dur+this._rDelay)||(r?this._dur:0),o):this._time},t.totalProgress=function(r,o){return arguments.length?this.totalTime(this.totalDuration()*r,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(r,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Mx(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(r,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,o):this._repeat?Da(this._tTime,i)+1:1},t.timeScale=function(r,o){if(!arguments.length)return this._rts===-Et?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?fp(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-Et?0:this._rts,this.totalTime(ed(-Math.abs(this._delay),this.totalDuration(),i),o!==!1),bh(this),YV(this)},t.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):(Va(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Et&&(this._tTime-=Et)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&Wo(o,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(Pr(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var o=this.parent||this._dp;return o?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?fp(o.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=UV);var o=Bn;return Bn=r,_y(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Bn=o,this},t.globalTime=function(r){for(var o=this,i=arguments.length?r:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Ox(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var o=this._time;return this._rDelay=r,Ox(this),o?this.time(o):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,o){return this.totalTime(ro(this,r),Pr(o))},t.restart=function(r,o){return this.play().totalTime(r?-this._delay:0,Pr(o)),this._dur||(this._zTime=-Et),this},t.play=function(r,o){return r!=null&&this.seek(r,o),this.reversed(!1).paused(!1)},t.reverse=function(r,o){return r!=null&&this.seek(r||this.totalDuration(),o),this.reversed(!0).paused(!1)},t.pause=function(r,o){return r!=null&&this.seek(r,o),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-Et:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-Et,this},t.isActive=function(){var r=this.parent||this._dp,o=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=o&&i<this.endTime(!0)-Et)},t.eventCallback=function(r,o,i){var s=this.vars;return arguments.length>1?(o?(s[r]=o,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=o)):delete s[r],this):s[r]},t.then=function(r){var o=this;return new Promise(function(i){var s=Yt(r)?r:IT,l=function(){var u=o.then;o.then=null,Yt(s)&&(s=s(o))&&(s.then||s===o)&&(o.then=u),i(s),o.then=u};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},t.kill=function(){Cu(this)},e})();Zr(Oc.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:-Et,_prom:0,_ps:!1,_rts:1});var pr=(function(e){gT(t,e);function t(r,o){var i;return r===void 0&&(r={}),i=e.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=Pr(r.sortChildren),zt&&Wo(r.parent||zt,gi(i),o),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&MT(gi(i),r.scrollTrigger),i}var n=t.prototype;return n.to=function(o,i,s){return Hu(0,arguments,this),this},n.from=function(o,i,s){return Hu(1,arguments,this),this},n.fromTo=function(o,i,s,l){return Hu(2,arguments,this),this},n.set=function(o,i,s){return i.duration=0,i.parent=this,ju(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new sn(o,i,ro(this,s),1),this},n.call=function(o,i,s){return Wo(this,sn.delayedCall(0,o,i),s)},n.staggerTo=function(o,i,s,l,a,u,c){return s.duration=i,s.stagger=s.stagger||l,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new sn(o,s,ro(this,a)),this},n.staggerFrom=function(o,i,s,l,a,u,c){return s.runBackwards=1,ju(s).immediateRender=Pr(s.immediateRender),this.staggerTo(o,i,s,l,a,u,c)},n.staggerFromTo=function(o,i,s,l,a,u,c,d){return l.startAt=s,ju(l).immediateRender=Pr(l.immediateRender),this.staggerTo(o,i,l,a,u,c,d)},n.render=function(o,i,s){var l=this._time,a=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=o<=0?0:ln(o),d=this._zTime<0!=o<0&&(this._initted||!u),p,f,m,h,g,y,b,x,w,E,T,k;if(this!==zt&&c>a&&o>=0&&(c=a),c!==this._tTime||s||d){if(l!==this._time&&u&&(c+=this._time-l,o+=this._time-l),p=c,w=this._start,x=this._ts,y=!x,d&&(u||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(T=this._yoyo,g=u+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(g*100+o,i,s);if(p=ln(c%g),c===a?(h=this._repeat,p=u):(E=ln(c/g),h=~~E,h&&h===E&&(p=u,h--),p>u&&(p=u)),E=Da(this._tTime,g),!l&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),T&&h&1&&(p=u-p,k=1),h!==E&&!this._lock){var S=T&&E&1,C=S===(T&&h&1);if(h<E&&(S=!S),l=S?0:c%u?u:c,this._lock=1,this.render(l||(k?0:ln(h*g)),i,!u)._lock=0,this._tTime=c,!i&&this.parent&&Gr(this,"onRepeat"),this.vars.repeatRefresh&&!k&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,a=this._tDur,C&&(this._lock=2,l=S?u:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!k&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;GT(this,k)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=ZV(this,ln(l),ln(p)),b&&(c-=p-(p=b._start))),this._tTime=c,this._time=p,this._act=!x,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&c&&!i&&!E&&(Gr(this,"onStart"),this._tTime!==c))return this;if(p>=l&&o>=0)for(f=this._first;f;){if(m=f._next,(f._act||p>=f._start)&&f._ts&&b!==f){if(f.parent!==this)return this.render(o,i,s);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,i,s),p!==this._time||!this._ts&&!y){b=0,m&&(c+=this._zTime=-Et);break}}f=m}else{f=this._last;for(var A=o<0?o:p;f;){if(m=f._prev,(f._act||A<=f._end)&&f._ts&&b!==f){if(f.parent!==this)return this.render(o,i,s);if(f.render(f._ts>0?(A-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(A-f._start)*f._ts,i,s||Bn&&_y(f)),p!==this._time||!this._ts&&!y){b=0,m&&(c+=this._zTime=A?-Et:Et);break}}f=m}}if(b&&!i&&(this.pause(),b.render(p>=l?0:-Et)._zTime=p>=l?1:-1,this._ts))return this._start=w,bh(this),this.render(o,i,s);this._onUpdate&&!i&&Gr(this,"onUpdate",!0),(c===a&&this._tTime>=this.totalDuration()||!c&&l)&&(w===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((o||!u)&&(c===a&&this._ts>0||!c&&this._ts<0)&&Ss(this,1),!i&&!(o<0&&!l)&&(c||l||!a)&&(Gr(this,c===a&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<a&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(o,i){var s=this;if(Ni(i)||(i=ro(this,i,o)),!(o instanceof Oc)){if(nr(o))return o.forEach(function(l){return s.add(l,i)}),this;if(Tn(o))return this.addLabel(o,i);if(Yt(o))o=sn.delayedCall(0,o);else return this}return this!==o?Wo(this,o,i):this},n.getChildren=function(o,i,s,l){o===void 0&&(o=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),l===void 0&&(l=-co);for(var a=[],u=this._first;u;)u._start>=l&&(u instanceof sn?i&&a.push(u):(s&&a.push(u),o&&a.push.apply(a,u.getChildren(!0,i,s)))),u=u._next;return a},n.getById=function(o){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===o)return i[s]},n.remove=function(o){return Tn(o)?this.removeLabel(o):Yt(o)?this.killTweensOf(o):(o.parent===this&&yh(this,o),o===this._recent&&(this._recent=this._last),sl(this))},n.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ln(Hr.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),e.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},n.addLabel=function(o,i){return this.labels[o]=ro(this,i),this},n.removeLabel=function(o){return delete this.labels[o],this},n.addPause=function(o,i,s){var l=sn.delayedCall(0,i||Ac,s);return l.data="isPause",this._hasPause=1,Wo(this,l,ro(this,o))},n.removePause=function(o){var i=this._first;for(o=ro(this,o);i;)i._start===o&&i.data==="isPause"&&Ss(i),i=i._next},n.killTweensOf=function(o,i,s){for(var l=this.getTweensOf(o,s),a=l.length;a--;)is!==l[a]&&l[a].kill(o,i);return this},n.getTweensOf=function(o,i){for(var s=[],l=fo(o),a=this._first,u=Ni(i),c;a;)a instanceof sn?WV(a._targets,l)&&(u?(!is||a._initted&&a._ts)&&a.globalTime(0)<=i&&a.globalTime(a.totalDuration())>i:!i||a.isActive())&&s.push(a):(c=a.getTweensOf(l,i)).length&&s.push.apply(s,c),a=a._next;return s},n.tweenTo=function(o,i){i=i||{};var s=this,l=ro(s,o),a=i,u=a.startAt,c=a.onStart,d=a.onStartParams,p=a.immediateRender,f,m=sn.to(s,Zr({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(u&&"time"in u?u.time:s._time))/s.timeScale())||Et,onStart:function(){if(s.pause(),!f){var g=i.duration||Math.abs((l-(u&&"time"in u?u.time:s._time))/s.timeScale());m._dur!==g&&Na(m,g,0,1).render(m._time,!0,!0),f=1}c&&c.apply(m,d||[])}},i));return p?m.render(0):m},n.tweenFromTo=function(o,i,s){return this.tweenTo(i,Zr({startAt:{time:ro(this,o)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(o){return o===void 0&&(o=this._time),Lx(this,ro(this,o))},n.previousLabel=function(o){return o===void 0&&(o=this._time),Lx(this,ro(this,o),1)},n.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Et)},n.shiftChildren=function(o,i,s){s===void 0&&(s=0);for(var l=this._first,a=this.labels,u;l;)l._start>=s&&(l._start+=o,l._end+=o),l=l._next;if(i)for(u in a)a[u]>=s&&(a[u]+=o);return sl(this)},n.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return e.prototype.invalidate.call(this,o)},n.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),sl(this)},n.totalDuration=function(o){var i=0,s=this,l=s._last,a=co,u,c,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-o:o));if(s._dirty){for(d=s.parent;l;)u=l._prev,l._dirty&&l.totalDuration(),c=l._start,c>a&&s._sort&&l._ts&&!s._lock?(s._lock=1,Wo(s,l,c-l._delay,1)._lock=0):a=c,c<0&&l._ts&&(i-=c,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=c/s._ts,s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),a=0),l._end>i&&l._ts&&(i=l._end),l=u;Na(s,s===zt&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(o){if(zt._ts&&(ET(zt,fp(o,zt)),CT=Hr.frame),Hr.frame>=Ax){Ax+=Xr.autoSleep||120;var i=zt._first;if((!i||!i._ts)&&Xr.autoSleep&&Hr._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Hr.sleep()}}},t})(Oc);Zr(pr.prototype,{_lock:0,_hasPause:0,_forcing:0});var m9=function(t,n,r,o,i,s,l){var a=new Ar(this._pt,t,n,0,1,t3,null,i),u=0,c=0,d,p,f,m,h,g,y,b;for(a.b=r,a.e=o,r+="",o+="",(y=~o.indexOf("random("))&&(o=$c(o)),s&&(b=[r,o],s(b,t,n),r=b[0],o=b[1]),p=r.match(bm)||[];d=bm.exec(o);)m=d[0],h=o.substring(u,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),m!==p[c++]&&(g=parseFloat(p[c-1])||0,a._pt={_next:a._pt,p:h||c===1?h:",",s:g,c:m.charAt(1)==="="?ga(g,m)-g:parseFloat(m)-g,m:f&&f<4?Math.round:0},u=bm.lastIndex);return a.c=u<o.length?o.substring(u,o.length):"",a.fp=l,(xT.test(o)||y)&&(a.e=0),this._pt=a,a},wy=function(t,n,r,o,i,s,l,a,u,c){Yt(o)&&(o=o(i||0,t,s));var d=t[n],p=r!=="get"?r:Yt(d)?u?t[n.indexOf("set")||!Yt(t["get"+n.substr(3)])?n:"get"+n.substr(3)](u):t[n]():d,f=Yt(d)?u?x9:ZT:ky,m;if(Tn(o)&&(~o.indexOf("random(")&&(o=$c(o)),o.charAt(1)==="="&&(m=ga(p,o)+(Qn(p)||0),(m||m===0)&&(o=m))),!c||p!==o||av)return!isNaN(p*o)&&o!==""?(m=new Ar(this._pt,t,n,+p||0,o-(p||0),typeof d=="boolean"?w9:e3,0,f),u&&(m.fp=u),l&&m.modifier(l,this,t),this._pt=m):(!d&&!(n in t)&&vy(n,o),m9.call(this,t,n,p,o,f,a||Xr.stringFilter,u))}
vendor: 3,095 bytes, line 64
64,g9=function(t,n,r,o,i){if(Yt(t)&&(t=Uu(t,i,n,r,o)),!oi(t)||t.style&&t.nodeType||nr(t)||yT(t))return Tn(t)?Uu(t,i,n,r,o):t;var s={},l;for(l in t)s[l]=Uu(t[l],i,n,r,o);return s},XT=function(t,n,r,o,i,s){var l,a,u,c;if(Vr[t]&&(l=new Vr[t]).init(i,l.rawVars?n[t]:g9(n[t],o,i,s,r),r,o,s)!==!1&&(r._pt=a=new Ar(r._pt,i,t,0,1,l.render,l,0,l.priority),r!==oa))for(u=r._ptLookup[r._targets.indexOf(i)],c=l._props.length;c--;)u[l._props[c]]=a;return l},is,av,Sy=function e(t,n,r){var o=t.vars,i=o.ease,s=o.startAt,l=o.immediateRender,a=o.lazy,u=o.onUpdate,c=o.runBackwards,d=o.yoyoEase,p=o.keyframes,f=o.autoRevert,m=t._dur,h=t._startAt,g=t._targets,y=t.parent,b=y&&y.data==="nested"?y.vars.targets:g,x=t._overwrite==="auto"&&!py,w=t.timeline,E,T,k,S,C,A,M,I,$,F,q,O,L;if(w&&(!p||!i)&&(i="none"),t._ease=ll(i,Ba.ease),t._yEase=d?WT(ll(d===!0?i:d,Ba.ease)):0,d&&t._yoyo&&!t._repeat&&(d=t._yEase,t._yEase=t._ease,t._ease=d),t._from=!w&&!!o.runBackwards,!w||p&&!o.stagger){if(I=g[0]?il(g[0]).harness:0,O=I&&o[I.prop],E=dp(o,yy),h&&(h._zTime<0&&h.progress(1),n<0&&c&&l&&!f?h.render(-1,!0):h.revert(c&&m?df:HV),h._lazy=0),s){if(Ss(t._startAt=sn.set(g,Zr({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&Pr(a),startAt:null,delay:0,onUpdate:u&&function(){return Gr(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Bn||!l&&!f)&&t._startAt.revert(df),l&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(c&&m&&!h){if(n&&(l=!1),k=Zr({overwrite:!1,data:"isFromStart",lazy:l&&!h&&Pr(a),immediateRender:l,stagger:0,parent:y},E),O&&(k[I.prop]=O),Ss(t._startAt=sn.set(g,k)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Bn?t._startAt.revert(df):t._startAt.render(-1,!0)),t._zTime=n,!l)e(t._startAt,Et,Et);else if(!n)return}for(t._pt=t._ptCache=0,a=m&&Pr(a)||a&&!m,T=0;T<g.length;T++){if(C=g[T],M=C._gsap||xy(g)[T]._gsap,t._ptLookup[T]=F={},nv[M.id]&&ms.length&&cp(),q=b===g?T:b.indexOf(C),I&&($=new I).init(C,O||E,t,q,b)!==!1&&(t._pt=S=new Ar(t._pt,C,$.name,0,1,$.render,$,0,$.priority),$._props.forEach(function(N){F[N]=S}),$.priority&&(A=1)),!I||O)for(k in E)Vr[k]&&($=XT(k,E,t,q,C,b))?$.priority&&(A=1):F[k]=S=wy.call(t,C,k,"get",E[k],q,b,0,o.stringFilter);t._op&&t._op[T]&&t.kill(C,t._op[T]),x&&t._pt&&(is=t,zt.killTweensOf(C,F,t.globalTime(n)),L=!t.parent,is=0),t._pt&&a&&(nv[M.id]=1)}A&&n3(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!L,p&&n<=0&&w.render(co,!0,!0)},v9=function(t,n,r,o,i,s,l,a){var u=(t._pt&&t._ptCache||(t._ptCache={}))[n],c,d,p,f;if(!u)for(u=t._ptCache[n]=[],p=t._ptLookup,f=t._targets.length;f--;){if(c=p[f][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 av=1,t.vars[n]="+=0",Sy(t,l),av=0,a?Ic(n+" not eligible for reset"):1;u.push(c)}for(f=u.length;f--;)d=u[f],c=d._pt||d,c.s=(o||o===0)&&!i?o:c.s+(o||0)+s*c.c,c.c=r-c.s,d.e&&(d.e=Zt(r)+Qn(d.e)),d.b&&(d.b=c.s+Qn(d.b))},y9=function(t,n){var r=t[0]?il(t[0]).harness:0,o=r&&r.aliases,i,s,l,a;if(!o)return n;i=Fa({},n);for(s in o)if(s in i)for(a=o[s].split(","),l=a.length;l--;)i[a[l]]=i[s];return i},b9=function(t,n,r,o){var i=n.ease||o||"power1.inOut",s,l;
vendor: 16,960 bytes, lines 64-71
64if(nr(n))l=r[t]||(r[t]=[]),n.forEach(function(a,u){return l.push({t:u/(n.length-1)*100,v:a,e:i})});else for(s in n)l=r[s]||(r[s]=[]),s==="ease"||l.push({t:parseFloat(t),v:n[s],e:i})},Uu=function(t,n,r,o,i){return Yt(t)?t.call(n,r,o,i):Tn(t)&&~t.indexOf("random(")?$c(t):t},QT=by+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",JT={};Ir(QT+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return JT[e]=1});var sn=(function(e){gT(t,e);function t(r,o,i,s){var l;typeof o=="number"&&(i.duration=o,o=i,i=null),l=e.call(this,s?o:ju(o))||this;var a=l.vars,u=a.duration,c=a.delay,d=a.immediateRender,p=a.stagger,f=a.overwrite,m=a.keyframes,h=a.defaults,g=a.scrollTrigger,y=a.yoyoEase,b=o.parent||zt,x=(nr(r)||yT(r)?Ni(r[0]):"length"in o)?[r]:fo(r),w,E,T,k,S,C,A,M;if(l._targets=x.length?xy(x):Ic("GSAP target "+r+" not found. https://gsap.com",!Xr.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,m||p||$d(u)||$d(c)){if(o=l.vars,w=l.timeline=new pr({data:"nested",defaults:h||{},targets:b&&b.data==="nested"?b.vars.targets:x}),w.kill(),w.parent=w._dp=gi(l),w._start=0,p||$d(u)||$d(c)){if(k=x.length,A=p&&RT(p),oi(p))for(S in p)~QT.indexOf(S)&&(M||(M={}),M[S]=p[S]);for(E=0;E<k;E++)T=dp(o,JT),T.stagger=0,y&&(T.yoyoEase=y),M&&Fa(T,M),C=x[E],T.duration=+Uu(u,gi(l),E,C,x),T.delay=(+Uu(c,gi(l),E,C,x)||0)-l._delay,!p&&k===1&&T.delay&&(l._delay=c=T.delay,l._start+=c,T.delay=0),w.to(C,T,A?A(E,C,x):0),w._ease=ut.none;w.duration()?u=c=0:l.timeline=0}else if(m){ju(Zr(w.vars.defaults,{ease:"none"})),w._ease=ll(m.ease||o.ease||"none");var I=0,$,F,q;if(nr(m))m.forEach(function(O){return w.to(x,O,">")}),w.duration();else{T={};for(S in m)S==="ease"||S==="easeEach"||b9(S,m[S],T,m.easeEach);for(S in T)for($=T[S].sort(function(O,L){return O.t-L.t}),I=0,E=0;E<$.length;E++)F=$[E],q={ease:F.e,duration:(F.t-(E?$[E-1].t:0))/100*u},q[S]=F.v,w.to(x,q,I),I+=q.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||l.duration(u=w.duration())}else l.timeline=0;return f===!0&&!py&&(is=gi(l),zt.killTweensOf(x),is=0),Wo(b,gi(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(d||!u&&!m&&l._start===ln(b._time)&&Pr(d)&&XV(gi(l))&&b.data!=="nested")&&(l._tTime=-Et,l.render(Math.max(0,-c)||0)),g&&MT(gi(l),g),l}var n=t.prototype;return n.render=function(o,i,s){var l=this._time,a=this._tDur,u=this._dur,c=o<0,d=o>a-Et&&!c?a:o<Et?0:o,p,f,m,h,g,y,b,x,w;if(!u)JV(this,o,i,s);else if(d!==this._tTime||!o||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=d,x=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+o,i,s);if(p=ln(d%h),d===a?(m=this._repeat,p=u):(g=ln(d/h),m=~~g,m&&m===g?(p=u,m--):p>u&&(p=u)),y=this._yoyo&&m&1,y&&(w=this._yEase,p=u-p),g=Da(this._tTime,h),p===l&&!s&&this._initted&&m===g)return this._tTime=d,this;m!==g&&(x&&this._yEase&>(x,y),this.vars.repeatRefresh&&!y&&!this._lock&&p!==h&&this._initted&&(this._lock=s=1,this.render(ln(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(OT(this,c?o:p,s,i,d))return this._tTime=0,this;if(l!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))return this;if(u!==this._dur)return this.render(o,i,s)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(w||this._ease)(p/u),this._from&&(this.ratio=b=1-b),!l&&d&&!i&&!g&&(Gr(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(b,f.d),f=f._next;x&&x.render(o<0?o:x._dur*x._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(c&&rv(this,o,i,s),Gr(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&Gr(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&rv(this,o,!0,!0),(o||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Ss(this,1),!i&&!(c&&!l)&&(d||l||y)&&(Gr(this,d===a?"onComplete":"onReverseComplete",!0),this._prom&&!(d<a&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),e.prototype.invalidate.call(this,o)},n.resetTo=function(o,i,s,l,a){Mc||Hr.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Sy(this,u),c=this._ease(u/this._dur),v9(this,o,i,s,l,c,u,a)?this.resetTo(o,i,s,l,1):(xh(this,0),this.parent||AT(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Cu(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Bn),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,is&&is.vars.overwrite!==!0)._first||Cu(this),this.parent&&s!==this.timeline.totalDuration()&&Na(this,this._dur*this.timeline._tDur/s,0,1),this}var l=this._targets,a=o?fo(o):l,u=this._ptLookup,c=this._pt,d,p,f,m,h,g,y;if((!i||i==="all")&&KV(l,a))return i==="all"&&(this._pt=0),Cu(this);for(d=this._op=this._op||[],i!=="all"&&(Tn(i)&&(h={},Ir(i,function(b){return h[b]=1}),i=h),i=y9(l,i)),y=l.length;y--;)if(~a.indexOf(l[y])){p=u[y],i==="all"?(d[y]=i,m=p,f={}):(f=d[y]=d[y]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&yh(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&Cu(this),this},t.to=function(o,i){return new t(o,i,arguments[2])},t.from=function(o,i){return Hu(1,arguments)},t.delayedCall=function(o,i,s,l){return new t(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:l})},t.fromTo=function(o,i,s){return Hu(2,arguments)},t.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new t(o,i)},t.killTweensOf=function(o,i,s){return zt.killTweensOf(o,i,s)},t})(Oc);Zr(sn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ir("staggerTo,staggerFrom,staggerFromTo",function(e){sn[e]=function(){var t=new pr,n=iv.call(arguments,0);return n.splice(e==="staggerFromTo"?5:4,0,0),t[e].apply(t,n)}});var ky=function(t,n,r){return t[n]=r},ZT=function(t,n,r){return t[n](r)},x9=function(t,n,r,o){return t[n](o.fp,r)},_9=function(t,n,r){return t.setAttribute(n,r)},Cy=function(t,n){return Yt(t[n])?ZT:hy(t[n])&&t.setAttribute?_9:ky},e3=function(t,n){return n.set(n.t,n.p,Math.round((n.s+n.c*t)*1e6)/1e6,n)},w9=function(t,n){return n.set(n.t,n.p,!!(n.s+n.c*t),n)},t3=function(t,n){var r=n._pt,o="";if(!t&&n.b)o=n.b;else if(t===1&&n.e)o=n.e;else{for(;r;)o=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+o,r=r._next;o+=n.c}n.set(n.t,n.p,o,n)},Ty=function(t,n){for(var r=n._pt;r;)r.r(t,r.d),r=r._next},S9=function(t,n,r,o){for(var i=this._pt,s;i;)s=i._next,i.p===o&&i.modifier(t,n,r),i=s},k9=function(t){for(var n=this._pt,r,o;n;)o=n._next,n.p===t&&!n.op||n.op===t?yh(this,n,"_pt"):n.dep||(r=1),n=o;return!r},C9=function(t,n,r,o){o.mSet(t,n,o.m.call(o.tween,r,o.mt),o)},n3=function(t){for(var n=t._pt,r,o,i,s;n;){for(r=n._next,o=i;o&&o.pr>n.pr;)o=o._next;(n._prev=o?o._prev:s)?n._prev._next=n:i=n,(n._next=o)?o._prev=n:s=n,n=r}t._pt=i},Ar=(function(){function e(n,r,o,i,s,l,a,u,c){this.t=r,this.s=i,this.c=s,this.p=o,this.r=l||e3,this.d=a||this,this.set=u||ky,this.pr=c||0,this._next=n,n&&(n._prev=this)}var t=e.prototype;return t.modifier=function(r,o,i){this.mSet=this.mSet||this.set,this.set=C9,this.m=r,this.mt=i,this.tween=o},e})();Ir(by+"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(e){return yy[e]=1});Jr.TweenMax=Jr.TweenLite=sn;Jr.TimelineLite=Jr.TimelineMax=pr;zt=new pr({sortChildren:!1,defaults:Ba,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Xr.stringFilter=UT;var al=[],pf={},T9=[],Rx=0,E9=0,km=function(t){return(pf[t]||T9).map(function(n){return n()})},uv=function(){var t=Date.now(),n=[];t-Rx>2&&(km("matchMediaInit"),al.forEach(function(r){var o=r.queries,i=r.conditions,s,l,a,u;for(l in o)s=Ho.matchMedia(o[l]).matches,s&&(a=1),s!==i[l]&&(i[l]=s,u=1);u&&(r.revert(),a&&n.push(r))}),km("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(o){return r.add(null,o)})}),Rx=t,km("matchMedia"))},r3=(function(){function e(n,r){this.selector=r&&sv(r),this.data=[],this._r=[],this.isReverted=!1,this.id=E9++,n&&this.add(n)}var t=e.prototype;return t.add=function(r,o,i){Yt(r)&&(i=o,o=r,r=Yt);var s=this,l=function(){var u=qt,c=s.selector,d;return u&&u!==s&&u.data.push(s),i&&(s.selector=sv(i)),qt=s,d=o.apply(s,arguments),Yt(d)&&s._r.push(d),qt=u,s.selector=c,s.isReverted=!1,d};return s.last=l,r===Yt?l(s,function(a){return s.add(null,a)}):r?s[r]=l:l},t.ignore=function(r){var o=qt;qt=null,r(this),qt=o},t.getTweens=function(){var r=[];return this.data.forEach(function(o){return o instanceof e?r.push.apply(r,o.getTweens()):o instanceof sn&&!(o.parent&&o.parent.data==="nested")&&r.push(o)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,o){var i=this;if(r?(function(){for(var l=i.getTweens(),a=i.data.length,u;a--;)u=i.data[a],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return l.splice(l.indexOf(c),1)}));for(l.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,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),a=i.data.length;a--;)u=i.data[a],u instanceof pr?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof sn)&&u.revert&&u.revert(r);i._r.forEach(function(c){return c(r,i)}),i.isReverted=!0})():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),o)for(var s=al.length;s--;)al[s].id===this.id&&al.splice(s,1)},t.revert=function(r){this.kill(r||{})},e})(),P9=(function(){function e(n){this.contexts=[],this.scope=n,qt&&qt.data.push(this)}var t=e.prototype;return t.add=function(r,o,i){oi(r)||(r={matches:r});var s=new r3(0,i||this.scope),l=s.conditions={},a,u,c;qt&&!s.selector&&(s.selector=qt.selector),this.contexts.push(s),o=s.add("onMatch",o),s.queries=r;for(u in r)u==="all"?c=1:(a=Ho.matchMedia(r[u]),a&&(al.indexOf(s)<0&&al.push(s),(l[u]=a.matches)&&(c=1),a.addListener?a.addListener(uv):a.addEventListener("change",uv)));return c&&o(s,function(d){return s.add(null,d)}),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(o){return o.kill(r,!0)})},e})(),pp={registerPlugin:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.forEach(function(o){return zT(o)})},timeline:function(t){return new pr(t)},getTweensOf:function(t,n){return zt.getTweensOf(t,n)},getProperty:function(t,n,r,o){Tn(t)&&(t=fo(t)[0]);var i=il(t||{}).get,s=r?IT:PT;return r==="native"&&(r=""),t&&(n?s((Vr[n]&&Vr[n].get||i)(t,n,r,o)):function(l,a,u){return s((Vr[l]&&Vr[l].get||i)(t,l,a,u))})},quickSetter:function(t,n,r){if(t=fo(t),t.length>1){var o=t.map(function(c){return qr.quickSetter(c,n,r)}),i=o.length;return function(c){for(var d=i;d--;)o[d](c)}}t=t[0]||{};var s=Vr[n],l=il(t),a=l.harness&&(l.harness.aliases||{})[n]||n,u=s?function(c){var d=new s;oa._pt=0,d.init(t,r?c+r:c,oa,0,[t]),d.render(1,d),oa._pt&&Ty(1,oa)}:l.set(t,a);return s?u:function(c){return u(t,a,r?c+r:c,l,1)}},quickTo:function(t,n,r){var o,i=qr.to(t,Zr((o={},o[n]="+=0.1",o.paused=!0,o.stagger=0,o),r||{})),s=function(a,u,c){return i.resetTo(n,a,u,c)};return s.tween=i,s},isTweening:function(t){return zt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=ll(t.ease,Ba.ease)),$x(Ba,t||{})},config:function(t){return $x(Xr,t||{})},registerEffect:function(t){var n=t.name,r=t.effect,o=t.plugins,i=t.defaults,s=t.extendTimeline;(o||"").split(",").forEach(function(l){return l&&!Vr[l]&&!Jr[l]&&Ic(n+" effect requires "+l+" plugin.")}),xm[n]=function(l,a,u){return r(fo(l),Zr(a||{},i),u)},s&&(pr.prototype[n]=function(l,a,u){return this.add(xm[n](l,oi(a)?a:(u=a)&&{},this),u)})},registerEase:function(t,n){ut[t]=ll(n)},parseEase:function(t,n){return arguments.length?ll(t,n):ut},getById:function(t){return zt.getById(t)},exportRoot:function(t,n){t===void 0&&(t={});var r=new pr(t),o,i;for(r.smoothChildTiming=Pr(t.smoothChildTiming),zt.remove(r),r._dp=0,r._time=r._tTime=zt._time,o=zt._first;o;)i=o._next,(n||!(!o._dur&&o instanceof sn&&o.vars.onComplete===o._targets[0]))&&Wo(r,o,o._start-o._delay),o=i;return Wo(zt,r,0),r},context:function(t,n){return t?new r3(t,n):qt},matchMedia:function(t){return new P9(t)},matchMediaRefresh:function(){return al.forEach(function(t){var n=t.conditions,r,o;for(o in n)n[o]&&(n[o]=!1,r=1);r&&t.revert()})||uv()},addEventListener:function(t,n){var r=pf[t]||(pf[t]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(t,n){var r=pf[t],o=r&&r.indexOf(n);o>=0&&r.splice(o,1)},utils:{wrap:s9,wrapYoyo:l9,distribute:RT,random:FT,snap:BT,normalize:i9,getUnit:Qn,clamp:t9,splitColor:jT,toArray:fo,selector:sv,mapRange:NT,pipe:r9,unitize:o9,interpolate:a9,shuffle:qT},install:ST,effects:xm,ticker:Hr,updateRoot:pr.updateRoot,plugins:Vr,globalTimeline:zt,core:{PropTween:Ar,globals:kT,Tween:sn,Timeline:pr,Animation:Oc,getCache:il,_removeLinkedListItem:yh,reverting:function(){return Bn},context:function(t){return t&&qt&&(qt.data.push(t),t._ctx=qt),qt},suppressOverwrites:function(t){return py=t}}};Ir("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return pp[e]=sn[e]});Hr.add(pr.updateRoot);oa=pp.to({},{duration:0});var I9=function(t,n){for(var r=t._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},A9=function(t,n){var r=t._targets,o,i,s;for(o in n)for(i=r.length;i--;)s=t._ptLookup[i][o],s&&(s=s.d)&&(s._pt&&(s=I9(s,o)),s&&s.modifier&&s.modifier(n[o],t,r[i],o))},Cm=function(t,n){return{name:t,headless:1,rawVars:1,init:function(o,i,s){s._onInit=function(l){var a,u;if(Tn(i)&&(a={},Ir(i,function(c){return a[c]=1}),i=a),n){a={};for(u in i)a[u]=n(i[u]);i=a}A9(l,i)}}}},qr=pp.registerPlugin({name:"attr",init:function(t,n,r,o,i){var s,l,a;this.tween=r;for(s in n)a=t.getAttribute(s)||"",l=this.add(t,"setAttribute",(a||0)+"",n[s],o,i,0,0,s),l.op=s,l.b=a,this._props.push(s)},render:function(t,n){for(var r=n._pt;r;)Bn?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,n){for(var r=n.length;r--;)this.add(t,r,t[r]||0,n[r],0,0,0,0,0,1)}},Cm("roundProps",lv),Cm("modifiers"),Cm("snap",BT))||pp;sn.version=pr.version=qr.version="3.13.0";wT=1;my()&&Va();ut.Power0;ut.Power1;ut.Power2;ut.Power3;ut.Power4;ut.Linear;ut.Quad;ut.Cubic;ut.Quart;ut.Quint;ut.Strong;ut.Elastic;ut.Back;ut.SteppedEase;ut.Bounce;ut.Sine;ut.Expo;ut.Circ;/*! 65 * CSSPlugin 3.13.0 66 * https://gsap.com 67 * 68 * Copyright 2008-2025, GreenSock. All rights reserved. 69 * Subject to the terms at https://gsap.com/standard-license 70 * @author: Jack Doyle, [email protected] 71*/var Bx,ss,va,Ey,Xs,Fx,Py,$9=function(){return typeof window<"u"},Vi={},Us=180/Math.PI,ya=Math.PI/180,jl=Math.atan2,Dx=1e8,Iy=/([A-Z])/g,M9=/(left|right|width|margin|padding|x)/i,O9=/[\s,\(]\S/,Yo={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cv=function(t,n){return n.set(n.t,n.p,Math.round((n.s+n.c*t)*1e4)/1e4+n.u,n)},L9=function(t,n){return n.set(n.t,n.p,t===1?n.e:Math.round((n.s+n.c*t)*1e4)/1e4+n.u,n)},q9=function(t,n){return n.set(n.t,n.p,t?Math.round((n.s+n.c*t)*1e4)/1e4+n.u:n.b,n)},R9=function(t,n){var r=n.s+n.c*t;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},o3=function(t,n){return n.set(n.t,n.p,t?n.e:n.b,n)},i3=function(t,n){return n.set(n.t,n.p,t!==1?n.b:n.e,n)},B9=function(t,n,r){return t.style[n]=r},F9=function(t,n,r){return t.style.setProperty(n,r)},D9=function(t,n,r){return t._gsap[n]=r},N9=function(t,n,r){return t._gsap.scaleX=t._gsap.scaleY=r},V9=function(t,n,r,o,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},z9=function(t,n,r,o,i){var s=t._gsap;s[n]=r,s.renderTransform(i,s)},jt="transform",$r=jt+"Origin",j9=function e(t,n){var r=this,o=this.target,i=o.style,s=o._gsap;if(t in Vi&&i){if(this.tfm=this.tfm||{},t!=="transform")t=Yo[t]||t,~t.indexOf(",")?t.split(",").forEach(function(l){return r.tfm[l]=bi(o,l)}):this.tfm[t]=s.x?s[t]:bi(o,t),t===$r&&(this.tfm.zOrigin=s.zOrigin);else return Yo.transform.split(",").forEach(function(l){return e.call(r,l,n)});if(this.props.indexOf(jt)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push($r,n,"")),t=jt}(i||n)&&this.props.push(t,n,i[t])},s3=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},H9=function(){var t=this.props,n=this.target,r=n.style,o=n._gsap,i,s;for(i=0;i<t.length;i+=3)t[i+1]?t[i+1]===2?n[t[i]](t[i+2]):n[t[i]]=t[i+2]:t[i+2]?r[t[i]]=t[i+2]:r.removeProperty(t[i].substr(0,2)==="--"?t[i]:t[i].replace(Iy,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];
vendor: 1,899 bytes, line 71
71o.svg&&(o.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=Py(),(!i||!i.isStart)&&!r[jt]&&(s3(r),o.zOrigin&&r[$r]&&(r[$r]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},l3=function(t,n){var r={target:t,props:[],revert:H9,save:j9};return t._gsap||qr.core.getCache(t),n&&t.style&&t.nodeType&&n.split(",").forEach(function(o){return r.save(o)}),r},a3,dv=function(t,n){var r=ss.createElementNS?ss.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ss.createElement(t);return r&&r.style?r:ss.createElement(t)},po=function e(t,n,r){var o=getComputedStyle(t);return o[n]||o.getPropertyValue(n.replace(Iy,"-$1").toLowerCase())||o.getPropertyValue(n)||!r&&e(t,za(n)||n,1)||""},Nx="O,Moz,ms,Ms,Webkit".split(","),za=function(t,n,r){var o=n||Xs,i=o.style,s=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Nx[s]+t in i););return s<0?null:(s===3?"ms":s>=0?Nx[s]:"")+t},fv=function(){$9()&&window.document&&(Bx=window,ss=Bx.document,va=ss.documentElement,Xs=dv("div")||{style:{}},dv("div"),jt=za(jt),$r=jt+"Origin",Xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",a3=!!za("perspective"),Py=qr.core.reverting,Ey=1)},Vx=function(t){var n=t.ownerSVGElement,r=dv("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=t.cloneNode(!0),i;o.style.display="block",r.appendChild(o),va.appendChild(r);try{i=o.getBBox()}catch{}return r.removeChild(o),va.removeChild(r),i},zx=function(t,n){for(var r=n.length;r--;)if(t.hasAttribute(n[r]))return t.getAttribute(n[r])},u3=function(t){var n,r;try{n=t.getBBox()}catch{n=Vx(t),r=1}return n&&(n.width||n.height)||r||(n=Vx(t)),n&&!n.width&&!n.x&&!n.y?{x:+zx(t,["x","cx","x1"])||0,y:+zx(t,["y","cy","y1"])||0,width:0,height:0}:n},c3=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&u3(t))},_l=function(t,n){if(n){var r=t.style,o;
vendor: 4,510 bytes, line 71
71n in Vi&&n!==$r&&(n=jt),r.removeProperty?(o=n.substr(0,2),(o==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(o==="--"?n:n.replace(Iy,"-$1").toLowerCase())):r.removeAttribute(n)}},ls=function(t,n,r,o,i,s){var l=new Ar(t._pt,n,r,0,1,s?i3:o3);return t._pt=l,l.b=o,l.e=i,t._props.push(r),l},jx={deg:1,rad:1,turn:1},U9={grid:1,flex:1},ks=function e(t,n,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Xs.style,a=M9.test(n),u=t.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(a?"Width":"Height"),d=100,p=o==="px",f=o==="%",m,h,g,y;if(o===s||!i||jx[o]||jx[s])return i;if(s!=="px"&&!p&&(i=e(t,n,r,"px")),y=t.getCTM&&c3(t),(f||s==="%")&&(Vi[n]||~n.indexOf("adius")))return m=y?t.getBBox()[a?"width":"height"]:t[c],Zt(f?i/m*d:i/100*m);if(l[a?"width":"height"]=d+(p?s:o),h=o!=="rem"&&~n.indexOf("adius")||o==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===ss||!h.appendChild)&&(h=ss.body),g=h._gsap,g&&f&&g.width&&a&&g.time===Hr.time&&!g.uncache)return Zt(i/g.width*d);if(f&&(n==="height"||n==="width")){var b=t.style[n];t.style[n]=d+o,m=t[c],b?t.style[n]=b:_l(t,n)}else(f||s==="%")&&!U9[po(h,"display")]&&(l.position=po(t,"position")),h===t&&(l.position="static"),h.appendChild(Xs),m=Xs[c],h.removeChild(Xs),l.position="absolute";return a&&f&&(g=il(h),g.time=Hr.time,g.width=h[c]),Zt(p?m*i/d:m&&i?d/m*i:0)},bi=function(t,n,r,o){var i;return Ey||fv(),n in Yo&&n!=="transform"&&(n=Yo[n],~n.indexOf(",")&&(n=n.split(",")[0])),Vi[n]&&n!=="transform"?(i=qc(t,o),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:mp(po(t,$r))+" "+i.zOrigin+"px"):(i=t.style[n],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=hp[n]&&hp[n](t,n,r)||po(t,n)||TT(t,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?ks(t,n,i,r)+r:i},W9=function(t,n,r,o){if(!r||r==="none"){var i=za(n,t,1),s=i&&po(t,i,1);s&&s!==r?(n=i,r=s):n==="borderColor"&&(r=po(t,"borderTopColor"))}var l=new Ar(this._pt,t.style,n,0,1,t3),a=0,u=0,c,d,p,f,m,h,g,y,b,x,w,E;if(l.b=r,l.e=o,r+="",o+="",o.substring(0,6)==="var(--"&&(o=po(t,o.substring(4,o.indexOf(")")))),o==="auto"&&(h=t.style[n],t.style[n]=o,o=po(t,n)||o,h?t.style[n]=h:_l(t,n)),c=[r,o],UT(c),r=c[0],o=c[1],p=r.match(ra)||[],E=o.match(ra)||[],E.length){for(;d=ra.exec(o);)g=d[0],b=o.substring(a,d.index),m?m=(m+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(m=1),g!==(h=p[u++]||"")&&(f=parseFloat(h)||0,w=h.substr((f+"").length),g.charAt(1)==="="&&(g=ga(f,g)+w),y=parseFloat(g),x=g.substr((y+"").length),a=ra.lastIndex-x.length,x||(x=x||Xr.units[n]||w,a===o.length&&(o+=x,l.e+=x)),w!==x&&(f=ks(t,n,h,x)||0),l._pt={_next:l._pt,p:b||u===1?b:",",s:f,c:y-f,m:m&&m<4||n==="zIndex"?Math.round:0});l.c=a<o.length?o.substring(a,o.length):""}else l.r=n==="display"&&o==="none"?i3:o3;return xT.test(o)&&(l.e=0),this._pt=l,l},Hx={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},G9=function(t){var n=t.split(" "),r=n[0],o=n[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(t=r,r=o,o=t),n[0]=Hx[r]||r,n[1]=Hx[o]||o,n.join(" ")},K9=function(t,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,o=r.style,i=n.u,s=r._gsap,l,a,u;if(i==="all"||i===!0)o.cssText="",a=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],Vi[l]&&(a=1,l=l==="transformOrigin"?$r:jt),_l(r,l);a&&(_l(r,jt),s&&(s.svg&&r.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",qc(r,1),s.uncache=1,s3(o)))}},hp={clearProps:function(t,n,r,o,i){if(i.data!=="isFromStart"){var s=t._pt=new Ar(t._pt,n,r,0,0,K9);return s.u=o,s.pr=-10,s.tween=i,t._props.push(r),1}}},Lc=[1,0,0,1,0,0],d3={},f3=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Ux=function(t){var n=po(t,jt);return f3(n)?Lc:n.substr(7).match(bT).map(Zt)},Ay=function(t,n){var r=t._gsap||il(t),o=t.style,i=Ux(t),s,l,a,u;return r.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,i=[a.a,a.b,a.c,a.d,a.e,a.f],i.join(",")==="1,0,0,1,0,0"?Lc:i):(i===Lc&&!t.offsetParent&&t!==va&&!r.svg&&(a=o.display,o.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,l=t.nextElementSibling,va.appendChild(t)),i=Ux(t),a?o.display=a:_l(t,"display"),u&&(l?s.insertBefore(t,l):s?s.appendChild(t):va.removeChild(t))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},pv=function(t,n,r,o,i,s){var l=t._gsap,a=i||Ay(t,!0),u=l.xOrigin||0,c=l.yOrigin||0,d=l.xOffset||0,p=l.yOffset||0,f=a[0],m=a[1],h=a[2],g=a[3],y=a[4],b=a[5],x=n.split(" "),w=parseFloat(x[0])||0,E=parseFloat(x[1])||0,T,k,S,C;
vendor: 6,217 bytes, line 71
71r?a!==Lc&&(k=f*g-m*h)&&(S=w*(g/k)+E*(-h/k)+(h*b-g*y)/k,C=w*(-m/k)+E*(f/k)-(f*b-m*y)/k,w=S,E=C):(T=u3(t),w=T.x+(~x[0].indexOf("%")?w/100*T.width:w),E=T.y+(~(x[1]||x[0]).indexOf("%")?E/100*T.height:E)),o||o!==!1&&l.smooth?(y=w-u,b=E-c,l.xOffset=d+(y*f+b*h)-y,l.yOffset=p+(y*m+b*g)-b):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=E,l.smooth=!!o,l.origin=n,l.originIsAbsolute=!!r,t.style[$r]="0px 0px",s&&(ls(s,l,"xOrigin",u,w),ls(s,l,"yOrigin",c,E),ls(s,l,"xOffset",d,l.xOffset),ls(s,l,"yOffset",p,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+E)},qc=function(t,n){var r=t._gsap||new YT(t);if("x"in r&&!n&&!r.uncache)return r;var o=t.style,i=r.scaleX<0,s="px",l="deg",a=getComputedStyle(t),u=po(t,$r)||"0",c,d,p,f,m,h,g,y,b,x,w,E,T,k,S,C,A,M,I,$,F,q,O,L,N,Z,H,G,oe,ce,ee,ge;return c=d=p=h=g=y=b=x=w=0,f=m=1,r.svg=!!(t.getCTM&&c3(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(o[jt]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[jt]!=="none"?a[jt]:"")),o.scale=o.rotate=o.translate="none"),k=Ay(t,r.svg),r.svg&&(r.uncache?(N=t.getBBox(),u=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",L=""):L=!n&&t.getAttribute("data-svg-origin"),pv(t,L||u,!!L||r.originIsAbsolute,r.smooth!==!1,k)),E=r.xOrigin||0,T=r.yOrigin||0,k!==Lc&&(M=k[0],I=k[1],$=k[2],F=k[3],c=q=k[4],d=O=k[5],k.length===6?(f=Math.sqrt(M*M+I*I),m=Math.sqrt(F*F+$*$),h=M||I?jl(I,M)*Us:0,b=$||F?jl($,F)*Us+h:0,b&&(m*=Math.abs(Math.cos(b*ya))),r.svg&&(c-=E-(E*M+T*$),d-=T-(E*I+T*F))):(ge=k[6],ce=k[7],H=k[8],G=k[9],oe=k[10],ee=k[11],c=k[12],d=k[13],p=k[14],S=jl(ge,oe),g=S*Us,S&&(C=Math.cos(-S),A=Math.sin(-S),L=q*C+H*A,N=O*C+G*A,Z=ge*C+oe*A,H=q*-A+H*C,G=O*-A+G*C,oe=ge*-A+oe*C,ee=ce*-A+ee*C,q=L,O=N,ge=Z),S=jl(-$,oe),y=S*Us,S&&(C=Math.cos(-S),A=Math.sin(-S),L=M*C-H*A,N=I*C-G*A,Z=$*C-oe*A,ee=F*A+ee*C,M=L,I=N,$=Z),S=jl(I,M),h=S*Us,S&&(C=Math.cos(S),A=Math.sin(S),L=M*C+I*A,N=q*C+O*A,I=I*C-M*A,O=O*C-q*A,M=L,q=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,y=180-y),f=Zt(Math.sqrt(M*M+I*I+$*$)),m=Zt(Math.sqrt(O*O+ge*ge)),S=jl(q,O),b=Math.abs(S)>2e-4?S*Us:0,w=ee?1/(ee<0?-ee:ee):0),r.svg&&(L=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!f3(po(t,jt)),L&&t.setAttribute("transform",L))),Math.abs(b)>90&&Math.abs(b)<270&&(i?(f*=-1,b+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,b+=b<=0?180:-180)),n=n||r.uncache,r.x=c-((r.xPercent=c&&(!n&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!n&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Zt(f),r.scaleY=Zt(m),r.rotation=Zt(h)+l,r.rotationX=Zt(g)+l,r.rotationY=Zt(y)+l,r.skewX=b+l,r.skewY=x+l,r.transformPerspective=w+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(o[$r]=mp(u)),r.xOffset=r.yOffset=0,r.force3D=Xr.force3D,r.renderTransform=r.svg?X9:a3?p3:Y9,r.uncache=0,r},mp=function(t){return(t=t.split(" "))[0]+" "+t[1]},Tm=function(t,n,r){var o=Qn(n);return Zt(parseFloat(n)+parseFloat(ks(t,"x",r+"px",o)))+o},Y9=function(t,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,p3(t,n)},Ns="0deg",gu="0px",Vs=") ",p3=function(t,n){var r=n||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,a=r.z,u=r.rotation,c=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,y=r.force3D,b=r.target,x=r.zOrigin,w="",E=y==="auto"&&t&&t!==1||y===!0;if(x&&(d!==Ns||c!==Ns)){var T=parseFloat(c)*ya,k=Math.sin(T),S=Math.cos(T),C;T=parseFloat(d)*ya,C=Math.cos(T),s=Tm(b,s,k*C*-x),l=Tm(b,l,-Math.sin(T)*-x),a=Tm(b,a,S*C*-x+x)}g!==gu&&(w+="perspective("+g+Vs),(o||i)&&(w+="translate("+o+"%, "+i+"%) "),(E||s!==gu||l!==gu||a!==gu)&&(w+=a!==gu||E?"translate3d("+s+", "+l+", "+a+") ":"translate("+s+", "+l+Vs),u!==Ns&&(w+="rotate("+u+Vs),c!==Ns&&(w+="rotateY("+c+Vs),d!==Ns&&(w+="rotateX("+d+Vs),(p!==Ns||f!==Ns)&&(w+="skew("+p+", "+f+Vs),(m!==1||h!==1)&&(w+="scale("+m+", "+h+Vs),b.style[jt]=w||"translate(0, 0)"},X9=function(t,n){var r=n||this,o=r.xPercent,i=r.yPercent,s=r.x,l=r.y,a=r.rotation,u=r.skewX,c=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,y=r.yOffset,b=r.forceCSS,x=parseFloat(s),w=parseFloat(l),E,T,k,S,C;a=parseFloat(a),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,a+=c),a||u?(a*=ya,u*=ya,E=Math.cos(a)*d,T=Math.sin(a)*d,k=Math.sin(a-u)*-p,S=Math.cos(a-u)*p,u&&(c*=ya,C=Math.tan(u-c),C=Math.sqrt(1+C*C),k*=C,S*=C,c&&(C=Math.tan(c),C=Math.sqrt(1+C*C),E*=C,T*=C)),E=Zt(E),T=Zt(T),k=Zt(k),S=Zt(S)):(E=d,S=p,T=k=0),(x&&!~(s+"").indexOf("px")||w&&!~(l+"").indexOf("px"))&&(x=ks(f,"x",s,"px"),w=ks(f,"y",l,"px")),(m||h||g||y)&&(x=Zt(x+m-(m*E+h*k)+g),w=Zt(w+h-(m*T+h*S)+y)),(o||i)&&(C=f.getBBox(),x=Zt(x+o/100*C.width),w=Zt(w+i/100*C.height)),C="matrix("+E+","+T+","+k+","+S+","+x+","+w+")",f.setAttribute("transform",C),b&&(f.style[jt]=C)},Q9=function(t,n,r,o,i){var s=360,l=Tn(i),a=parseFloat(i)*(l&&~i.indexOf("rad")?Us:1),u=a-o,c=o+u+"deg",d,p;return l&&(d=i.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*Dx)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*Dx)%s-~~(u/s)*s)),t._pt=p=new Ar(t._pt,n,r,o,u,L9),p.e=c,p.u="deg",t._props.push(r),p},Wx=function(t,n){for(var r in n)t[r]=n[r];return t},J9=function(t,n,r){var o=Wx({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,a,u,c,d,p,f,m;o.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[jt]=n,l=qc(r,1),_l(r,jt),r.setAttribute("transform",u)):(u=getComputedStyle(r)[jt],s[jt]=n,l=qc(r,1),s[jt]=u);for(a in Vi)u=o[a],c=l[a],u!==c&&i.indexOf(a)<0&&(f=Qn(u),m=Qn(c),d=f!==m?ks(r,a,u,m):parseFloat(u),p=parseFloat(c),t._pt=new Ar(t._pt,l,a,d,p-d,cv),t._pt.u=m||0,t._props.push(a));Wx(l,o)};Ir("padding,margin,Width,Radius",function(e,t){var n="Top",r="Right",o="Bottom",i="Left",s=(t<3?[n,r,o,i]:[n+i,n+r,o+r,o+i]).map(function(l){return t<2?e+l:"border"+l+e});hp[t>1?"border"+e:e]=function(l,a,u,c,d){var p,f;if(arguments.length<4)return p=s.map(function(m){return bi(l,m,u)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(c+"").split(" "),f={}
vendor: 19,661 bytes, lines 71-85
71,s.forEach(function(m,h){return f[m]=p[h]=p[h]||p[(h-1)/2|0]}),l.init(a,f,d)}});var h3={name:"css",register:fv,targetTest:function(t){return t.style&&t.nodeType},init:function(t,n,r,o,i){var s=this._props,l=t.style,a=r.vars.startAt,u,c,d,p,f,m,h,g,y,b,x,w,E,T,k,S;Ey||fv(),this.styles=this.styles||l3(t),S=this.styles.props,this.tween=r;for(h in n)if(h!=="autoRound"&&(c=n[h],!(Vr[h]&&XT(h,n,r,o,t,i)))){if(f=typeof c,m=hp[h],f==="function"&&(c=c.call(r,o,t,i),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=$c(c)),m)m(this,t,h,c,r)&&(k=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),c+="",gs.lastIndex=0,gs.test(u)||(g=Qn(u),y=Qn(c)),y?g!==y&&(u=ks(t,h,u,y)+y):g&&(c+=g),this.add(l,"setProperty",u,c,o,i,0,0,h),s.push(h),S.push(h,0,l[h]);else if(f!=="undefined"){if(a&&h in a?(u=typeof a[h]=="function"?a[h].call(r,o,t,i):a[h],Tn(u)&&~u.indexOf("random(")&&(u=$c(u)),Qn(u+"")||u==="auto"||(u+=Xr.units[h]||Qn(bi(t,h))||""),(u+"").charAt(1)==="="&&(u=bi(t,h))):u=bi(t,h),p=parseFloat(u),b=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),b&&(c=c.substr(2)),d=parseFloat(c),h in Yo&&(h==="autoAlpha"&&(p===1&&bi(t,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,l.visibility),ls(this,l,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=Yo[h],~h.indexOf(",")&&(h=h.split(",")[0]))),x=h in Vi,x){if(this.styles.save(h),f==="string"&&c.substring(0,6)==="var(--"&&(c=po(t,c.substring(4,c.indexOf(")"))),d=parseFloat(c)),w||(E=t._gsap,E.renderTransform&&!n.parseTransform||qc(t,n.parseTransform),T=n.smoothOrigin!==!1&&E.smooth,w=this._pt=new Ar(this._pt,l,jt,0,1,E.renderTransform,E,0,-1),w.dep=1),h==="scale")this._pt=new Ar(this._pt,E,"scaleY",E.scaleY,(b?ga(E.scaleY,b+d):d)-E.scaleY||0,cv),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push($r,0,l[$r]),c=G9(c),E.svg?pv(t,c,0,T,0,this):(y=parseFloat(c.split(" ")[2])||0,y!==E.zOrigin&&ls(this,E,"zOrigin",E.zOrigin,y),ls(this,l,h,mp(u),mp(c)));continue}else if(h==="svgOrigin"){pv(t,c,1,T,0,this);continue}else if(h in d3){Q9(this,E,h,p,b?ga(p,b+c):c);continue}else if(h==="smoothOrigin"){ls(this,E,"smooth",E.smooth,c);continue}else if(h==="force3D"){E[h]=c;continue}else if(h==="transform"){J9(this,c,t);continue}}else h in l||(h=za(h)||h);if(x||(d||d===0)&&(p||p===0)&&!O9.test(c)&&h in l)g=(u+"").substr((p+"").length),d||(d=0),y=Qn(c)||(h in Xr.units?Xr.units[h]:g),g!==y&&(p=ks(t,h,u,y)),this._pt=new Ar(this._pt,x?E:l,h,p,(b?ga(p,b+d):d)-p,!x&&(y==="px"||h==="zIndex")&&n.autoRound!==!1?R9:cv),this._pt.u=y||0,g!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=q9);else if(h in l)W9.call(this,t,h,u,b?b+c:c);else if(h in t)this.add(t,h,u||t[h],b?b+c:c,o,i);else if(h!=="parseTransform"){vy(h,c);continue}x||(h in l?S.push(h,0,l[h]):typeof t[h]=="function"?S.push(h,2,t[h]()):S.push(h,1,u||t[h])),s.push(h)}}k&&n3(this)},render:function(t,n){if(n.tween._time||!Py())for(var r=n._pt;r;)r.r(t,r.d),r=r._next;else n.styles.revert()},get:bi,aliases:Yo,getSetter:function(t,n,r){var o=Yo[n];return o&&o.indexOf(",")<0&&(n=o),n in Vi&&n!==$r&&(t._gsap.x||bi(t,"x"))?r&&Fx===r?n==="scale"?N9:D9:(Fx=r||{})&&(n==="scale"?V9:z9):t.style&&!hy(t.style[n])?B9:~n.indexOf("-")?F9:Cy(t,n)},core:{_removeProperty:_l,_getMatrix:Ay}};qr.utils.checkPrefix=za;qr.core.getStyleSaver=l3;(function(e,t,n,r){var o=Ir(e+","+t+","+n,function(i){Vi[i]=1});Ir(t,function(i){Xr.units[i]="deg",d3[i]=1}),Yo[o[13]]=e+","+t,Ir(r,function(i){var s=i.split(":");Yo[s[1]]=o[s[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");Ir("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Xr.units[e]="px"});qr.registerPlugin(h3);var et=qr.registerPlugin(h3)||qr;et.core.Tween;function Z9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ez(e,t,n){return t&&Z9(e.prototype,t),e}/*! 72 * Observer 3.13.0 73 * https://gsap.com 74 * 75 * @license Copyright 2008-2025, GreenSock. All rights reserved. 76 * Subject to the terms at https://gsap.com/standard-license 77 * @author: Jack Doyle, [email protected] 78*/var qn,hf,Ur,as,us,ba,m3,Ws,Wu,g3,Ti,So,v3,y3=function(){return qn||typeof window<"u"&&(qn=window.gsap)&&qn.registerPlugin&&qn},b3=1,ia=[],tt=[],Zo=[],Gu=Date.now,hv=function(t,n){return n},tz=function(){var t=Wu.core,n=t.bridge||{},r=t._scrollers,o=t._proxies;r.push.apply(r,tt),o.push.apply(o,Zo),tt=r,Zo=o,hv=function(s,l){return n[s](l)}},vs=function(t,n){return~Zo.indexOf(t)&&Zo[Zo.indexOf(t)+1][n]},Ku=function(t){return!!~g3.indexOf(t)},sr=function(t,n,r,o,i){return t.addEventListener(n,r,{passive:o!==!1,capture:!!i})},or=function(t,n,r,o){return t.removeEventListener(n,r,!!o)},Md="scrollLeft",Od="scrollTop",mv=function(){return Ti&&Ti.isPressed||tt.cache++},gp=function(t,n){var r=function o(i){if(i||i===0){b3&&(Ur.history.scrollRestoration="manual");var s=Ti&&Ti.isPressed;i=o.v=Math.round(i)||(Ti&&Ti.iOS?1:0),t(i),o.cacheID=tt.cache,s&&hv("ss",i)}else(n||tt.cache!==o.cacheID||hv("ref"))&&(o.cacheID=tt.cache,o.v=t());return o.v+o.offset};return r.offset=0,t&&r},hr={s:Md,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:gp(function(e){return arguments.length?Ur.scrollTo(e,hn.sc()):Ur.pageXOffset||as[Md]||us[Md]||ba[Md]||0})},hn={s:Od,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:hr,sc:gp(function(e){return arguments.length?Ur.scrollTo(hr.sc(),e):Ur.pageYOffset||as[Od]||us[Od]||ba[Od]||0})},kr=function(t,n){return(n&&n._ctx&&n._ctx.selector||qn.utils.toArray)(t)[0]||(typeof t=="string"&&qn.config().nullTargetWarn!==!1?console.warn("Element not found:",t):null)},nz=function(t,n){for(var r=n.length;r--;)if(n[r]===t||n[r].contains(t))return!0;return!1},Cs=function(t,n){var r=n.s,o=n.sc;Ku(t)&&(t=as.scrollingElement||us);var i=tt.indexOf(t),s=o===hn.sc?1:2;!~i&&(i=tt.push(t)-1),tt[i+s]||sr(t,"scroll",mv);var l=tt[i+s],a=l||(tt[i+s]=gp(vs(t,r),!0)||(Ku(t)?o:gp(function(u){return arguments.length?t[r]=u:t[r]})));return a.target=t,l||(a.smooth=qn.getProperty(t,"scrollBehavior")==="smooth"),a},gv=function(t,n,r){var o=t,i=t,s=Gu(),l=s,a=n||50,u=Math.max(500,a*3),c=function(m,h){var g=Gu();h||g-s>a?(i=o,o=m,l=s,s=g):r?o+=m:o=i+(m-i)/(g-l)*(s-l)},d=function(){i=o=r?0:o,l=s=0},p=function(m){var h=l,g=i,y=Gu();return(m||m===0)&&m!==o&&c(m),s===l||y-l>u?0:(o+(r?g:-g))/((r?y:s)-h)*1e3};return{update:c,reset:d,getVelocity:p}},vu=function(t,n){return n&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Gx=function(t){var n=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(n)>=Math.abs(r)?n:r},x3=function(){Wu=qn.core.globals().ScrollTrigger,Wu&&Wu.core&&tz()},_3=function(t){return qn=t||y3(),!hf&&qn&&typeof document<"u"&&document.body&&(Ur=window,as=document,us=as.documentElement,ba=as.body,g3=[Ur,as,us,ba],qn.utils.clamp,v3=qn.core.context||function(){},Ws="onpointerenter"in ba?"pointer":"mouse",m3=tn.isTouch=Ur.matchMedia&&Ur.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ur||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,So=tn.eventTypes=("ontouchstart"in us?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in us?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return b3=0},500),x3(),hf=1),hf};hr.op=hn;tt.cache=0;var tn=(function(){function e(n){this.init(n)}var t=e.prototype;return t.init=function(r){hf||_3(qn)||console.warn("Please gsap.registerPlugin(Observer)"),Wu||x3();var o=r.tolerance,i=r.dragMinimum,s=r.type,l=r.target,a=r.lineHeight,u=r.debounce,c=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,y=r.onDragEnd,b=r.onDrag,x=r.onPress,w=r.onRelease,E=r.onRight,T=r.onLeft,k=r.onUp,S=r.onDown,C=r.onChangeX,A=r.onChangeY,M=r.onChange,I=r.onToggleX,$=r.onToggleY,F=r.onHover,q=r.onHoverEnd,O=r.onMove,L=r.ignoreCheck,N=r.isNormalizer,Z=r.onGestureStart,H=r.onGestureEnd,G=r.onWheel,oe=r.onEnable,ce=r.onDisable,ee=r.onClick,ge=r.scrollSpeed,xe=r.capture,ie=r.allowClicks,Q=r.lockAxis,Y=r.onLockAxis;this.target=l=kr(l)||us,this.vars=r,f&&(f=qn.utils.toArray(f)),o=o||1e-9,i=i||0,m=m||1,ge=ge||1,s=s||"wheel,touch,pointer",u=u!==!1,a||(a=parseFloat(Ur.getComputedStyle(ba).lineHeight)||22);var J,de,he,R,z,le,ve,j=this,U=0,ue=0,ne=r.passive||!c&&r.passive!==!1,fe=Cs(l,hr),me=Cs(l,hn),Se=fe(),_e=me(),ke=~s.indexOf("touch")&&!~s.indexOf("pointer")&&So[0]==="pointerdown",Me=Ku(l),$e=l.ownerDocument||as,Ye=[0,0,0],Ne=[0,0,0],kt=0,yt=function(){return kt=Gu()},lt=function(Fe,pt){return(j.event=Fe)&&f&&nz(Fe.target,f)||pt&&ke&&Fe.pointerType!=="touch"||L&&L(Fe,pt)},nn=function(){j._vx.reset(),j._vy.reset(),de.pause(),d&&d(j)},Ft=function(){var Fe=j.deltaX=Gx(Ye),pt=j.deltaY=Gx(Ne),Te=Math.abs(Fe)>=o,Ue=Math.abs(pt)>=o;M&&(Te||Ue)&&M(j,Fe,pt,Ye,Ne),Te&&(E&&j.deltaX>0&&E(j),T&&j.deltaX<0&&T(j),C&&C(j),I&&j.deltaX<0!=U<0&&I(j),U=j.deltaX,Ye[0]=Ye[1]=Ye[2]=0),Ue&&(S&&j.deltaY>0&&S(j),k&&j.deltaY<0&&k(j),A&&A(j),$&&j.deltaY<0!=ue<0&&$(j),ue=j.deltaY,Ne[0]=Ne[1]=Ne[2]=0),(R||he)&&(O&&O(j),he&&(g&&he===1&&g(j),b&&b(j),he=0),R=!1),le&&!(le=!1)&&Y&&Y(j),z&&(G(j),z=!1),J=0},xr=function(Fe,pt,Te){Ye[Te]+=Fe,Ne[Te]+=pt,j._vx.update(Fe),j._vy.update(pt),u?J||(J=requestAnimationFrame(Ft)):Ft()},Dt=function(Fe,pt){Q&&!ve&&(j.axis=ve=Math.abs(Fe)>Math.abs(pt)?"x":"y",le=!0),ve!=="y"&&(Ye[2]+=Fe,j._vx.update(Fe,!0)),ve!=="x"&&(Ne[2]+=pt,j._vy.update(pt,!0)),u?J||(J=requestAnimationFrame(Ft)):Ft()},un=function(Fe){if(!lt(Fe,1)){Fe=vu(Fe,c);var pt=Fe.clientX,Te=Fe.clientY,Ue=pt-j.x,qe=Te-j.y,We=j.isDragging;j.x=pt,j.y=Te,(We||(Ue||qe)&&(Math.abs(j.startX-pt)>=i||Math.abs(j.startY-Te)>=i))&&(he=We?2:1,We||(j.isDragging=!0),Dt(Ue,qe))}},Ro=j.onPress=function(Ge){lt(Ge,1)||Ge&&Ge.button||(j.axis=ve=null,de.pause(),j.isPressed=!0,Ge=vu(Ge),U=ue=0,j.startX=j.x=Ge.clientX,j.startY=j.y=Ge.clientY,j._vx.reset(),j._vy.reset(),sr(N?l:$e,So[1],un,ne,!0),j.deltaX=j.deltaY=0,x&&x(j))},Xe=j.onRelease=function(Ge){if(!lt(Ge,1)){or(N?l:$e,So[1],un,!0);var Fe=!isNaN(j.y-j.startY),pt=j.isDragging,Te=pt&&(Math.abs(j.x-j.startX)>3||Math.abs(j.y-j.startY)>3),Ue=vu(Ge);!Te&&Fe&&(j._vx.reset(),j._vy.reset(),c&&ie&&qn.delayedCall(.08,function(){if(Gu()-kt>300&&!Ge.defaultPrevented){if(Ge.target.click)Ge.target.click();else if($e.createEvent){var qe=$e.createEvent("MouseEvents");qe.initMouseEvent("click",!0,!0,Ur,1,Ue.screenX,Ue.screenY,Ue.clientX,Ue.clientY,!1,!1,!1,!1,0,null),Ge.target.dispatchEvent(qe)}}})),j.isDragging=j.isGesturing=j.isPressed=!1,d&&pt&&!N&&de.restart(!0),he&&Ft(),y&&pt&&y(j),w&&w(j,Te)}},Ls=function(Fe){return Fe.touches&&Fe.touches.length>1&&(j.isGesturing=!0)&&Z(Fe,j.isDragging)},yo=function(){return(j.isGesturing=!1)||H(j)},bo=function(Fe){if(!lt(Fe)){var pt=fe(),Te=me();xr((pt-Se)*ge,(Te-_e)*ge,1),Se=pt,_e=Te,d&&de.restart(!0)}},xo=function(Fe){if(!lt(Fe)){Fe=vu(Fe,c),G&&(z=!0);var pt=(Fe.deltaMode===1?a:Fe.deltaMode===2?Ur.innerHeight:1)*m;xr(Fe.deltaX*pt,Fe.deltaY*pt,0),d&&!N&&de.restart(!0)}},qs=function(Fe){if(!lt(Fe)){var pt=Fe.clientX,Te=Fe.clientY,Ue=pt-j.x,qe=Te-j.y;j.x=pt,j.y=Te,R=!0,d&&de.restart(!0),(Ue||qe)&&Dt(Ue,qe)}},Bl=function(Fe){j.event=Fe,F(j)},li=function(Fe){j.event=Fe,q(j)},ru=function(Fe){return lt(Fe)||vu(Fe,c)&&ee(j)};de=j._dc=qn.delayedCall(p||.25,nn).pause(),j.deltaX=j.deltaY=0,j._vx=gv(0,50,!0),j._vy=gv(0,50,!0),j.scrollX=fe,j.scrollY=me,j.isDragging=j.isGesturing=j.isPressed=!1,v3(this),j.enable=function(Ge){return j.isEnabled||(sr(Me?$e:l,"scroll",mv),s.indexOf("scroll")>=0&&sr(Me?$e:l,"scroll",bo,ne,xe),s.indexOf("wheel")>=0&&sr(l,"wheel",xo,ne,xe),(s.indexOf("touch")>=0&&m3||s.indexOf("pointer")>=0)&&(sr(l,So[0],Ro,ne,xe),sr($e,So[2],Xe),sr($e,So[3],Xe),ie&&sr(l,"click",yt,!0,!0),ee&&sr(l,"click",ru),Z&&sr($e,"gesturestart",Ls),H&&sr($e,"gestureend",yo),F&&sr(l,Ws+"enter",Bl),q&&sr(l,Ws+"leave",li),O&&sr(l,Ws+"move",qs)),j.isEnabled=!0,j.isDragging=j.isGesturing=j.isPressed=R=he=!1,j._vx.reset(),j._vy.reset(),Se=fe(),_e=me(),Ge&&Ge.type&&Ro(Ge),oe&&oe(j)),j},j.disable=function(){j.isEnabled&&(ia.filter(function(Ge){return Ge!==j&&Ku(Ge.target)}).length||or(Me?$e:l,"scroll",mv),j.isPressed&&(j._vx.reset(),j._vy.reset(),or(N?l:$e,So[1],un,!0)),or(Me?$e:l,"scroll",bo,xe),or(l,"wheel",xo,xe),or(l,So[0],Ro,xe),or($e,So[2],Xe),or($e,So[3],Xe),or(l,"click",yt,!0),or(l,"click",ru),or($e,"gesturestart",Ls),or($e,"gestureend",yo),or(l,Ws+"enter",Bl),or(l,Ws+"leave",li),or(l,Ws+"move",qs),j.isEnabled=j.isPressed=j.isDragging=!1,ce&&ce(j))},j.kill=j.revert=function(){j.disable();var Ge=ia.indexOf(j);Ge>=0&&ia.splice(Ge,1),Ti===j&&(Ti=0)},ia.push(j),N&&Ku(l)&&(Ti=j),j.enable(h)},ez(e,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),e})();tn.version="3.13.0";tn.create=function(e){return new tn(e)};tn.register=_3;tn.getAll=function(){return ia.slice()};tn.getById=function(e){return ia.filter(function(t){return t.vars.id===e})[0]};y3()&&qn.registerPlugin(tn);/*! 79 * ScrollTrigger 3.13.0 80 * https://gsap.com 81 * 82 * @license Copyright 2008-2025, GreenSock. All rights reserved. 83 * Subject to the terms at https://gsap.com/standard-license 84 * @author: Jack Doyle, [email protected] 85*/var Pe,Jl,Ze,It,jr,xt,$y,vp,Rc,Yu,Eu,Ld,Wn,_h,vv,ar,Kx,Yx,Zl,w3,Em,S3,lr,yv,k3,C3,Ji,bv,My,xa,Oy,yp,xv,Pm,qd=1,Yn=Date.now,Im=Yn(),go=0,Pu=0,Xx=function(t,n,r){var o=Dr(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return r["_"+n+"Clamp"]=o,o?t.substr(6,t.length-7):t},Qx=function(t,n){return n&&(!Dr(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},rz=function e(){return Pu&&requestAnimationFrame(e)},Jx=function(){return _h=1},Zx=function(){return _h=0},Uo=function(t){return t},Iu=function(t){return Math.round(t*1e5)/1e5||0},T3=function(){return typeof window<"u"},E3=function(){return Pe||T3()&&(Pe=window.gsap)&&Pe.registerPlugin&&Pe},wl=function(t){return!!~$y.indexOf(t)},P3=function(t){return(t==="Height"?Oy:Ze["inner"+t])||jr["client"+t]||xt["client"+t]},I3=function(t){return vs(t,"getBoundingClientRect")||(wl(t)?function(){return bf.width=Ze.innerWidth,bf.height=Oy,bf}:function(){return Si(t)})},oz=function(t,n,r){var o=r.d,i=r.d2,s=r.a;return(s=vs(t,"getBoundingClientRect"))?function(){return s()[o]}:function(){return(n?P3(i):t["client"+i])||0}},iz=function(t,n){return!n||~Zo.indexOf(t)?I3(t):function(){return bf}},Xo=function(t,n){var r=n.s,o=n.d2,i=n.d,s=n.a;return Math.max(0,(r="scroll"+o)&&(s=vs(t,r))?s()-I3(t)()[i]:wl(t)?(jr[r]||xt[r])-P3(o):t[r]-t["offset"+o])},Rd=function(t,n){for(var r=0;r<Zl.length;r+=3)(!n||~n.indexOf(Zl[r+1]))&&t(Zl[r],Zl[r+1],Zl[r+2])},Dr=function(t){return typeof t=="string"},Jn=function(t){return typeof t=="function"},Au=function(t){return typeof t=="number"},Gs=function(t){return typeof t=="object"},yu=function(t,n,r){return t&&t.progress(n?0:1)&&r&&t.pause()},Am=function(t,n){if(t.enabled){var r=t._ctx?t._ctx.add(function(){return n(t)}):n(t);r&&r.totalTime&&(t.callbackAnimation=r)}},Hl=Math.abs,A3="left",$3="top",Ly="right",qy="bottom",ul="width",cl="height",Xu="Right",Qu="Left",Ju="Top",Zu="Bottom",rn="padding",so="margin",ja="Width",Ry="Height",fn="px",lo=function(t){return Ze.getComputedStyle(t)},sz=function(t){var n=lo(t).position;t.style.position=n==="absolute"||n==="fixed"?n:"relative"},e_=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},Si=function(t,n){var r=n&&lo(t)[vv]!=="matrix(1, 0, 0, 1, 0, 0)"&&Pe.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),o=t.getBoundingClientRect();return r&&r.progress(0).kill(),o},bp=function(t,n){var r=n.d2;return t["offset"+r]||t["client"+r]||0},M3=function(t){var n=[],r=t.labels,o=t.duration(),i;for(i in r)n.push(r[i]/o);return n},lz=function(t){return function(n){return Pe.utils.snap(M3(t),n)}},By=function(t){var n=Pe.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(o,i){return o-i});return r?function(o,i,s){s===void 0&&(s=.001);var l;if(!i)return n(o);if(i>0){for(o-=s,l=0;l<r.length;l++)if(r[l]>=o)return r[l];return r[l-1]}else for(l=r.length,o+=s;l--;)if(r[l]<=o)return r[l];return r[0]}:function(o,i,s){s===void 0&&(s=.001);var l=n(o);return!i||Math.abs(l-o)<s||l-o<0==i<0?l:n(i<0?o-t:o+t)}},az=function(t){return function(n,r){return By(M3(t))(n,r.direction)}},Bd=function(t,n,r,o){return r.split(",").forEach(function(i){return t(n,i,o)})},wn=function(t,n,r,o,i){return t.addEventListener(n,r,{passive:!o,capture:!!i})},xn=function(t,n,r,o){return t.removeEventListener(n,r,!!o)},Fd=function(t,n,r){r=r&&r.wheelHandler,r&&(t(n,"wheel",r),t(n,"touchmove",r))},t_={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Dd={toggleActions:"play",anticipatePin:0},xp={top:0,left:0,center:.5,bottom:1,right:1},mf=function(t,n){if(Dr(t)){var r=t.indexOf("="),o=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(o*=n/100),t=t.substr(0,r-1)),t=o+(t in xp?xp[t]*n:~t.indexOf("%")?parseFloat(t)*n/100:parseFloat(t)||0)}return t},Nd=function(t,n,r,o,i,s,l,a){var u=i.startColor,c=i.endColor,d=i.fontSize,p=i.indent,f=i.fontWeight,m=It.createElement("div"),h=wl(r)||vs(r,"pinType")==="fixed",g=t.indexOf("scroller")!==-1,y=h?xt:r,b=t.indexOf("start")!==-1,x=b?u:c,w="border-color:"+x+";font-size:"+d+";color:"+x+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||a)&&h?"fixed;":"absolute;"),(g||a||!h)&&(w+=(o===hn?Ly:qy)+":"+(s+parseFloat(p))+"px;"),l&&(w+="box-sizing:border-box;text-align:left;width:"+l.offsetWidth+"px;"),m._isStart=b,m.setAttribute("class","gsap-marker-"+t+(n?" marker-"+n:"")),m.style.cssText=w,m.innerText=n||n===0?t+"-"+n:t,y.children[0]?y.insertBefore(m,y.children[0]):y.appendChild(m),m._offset=m["offset"+o.op.d2],gf(m,0,o,b),m},gf=function(t,n,r,o){var i={display:"block"},s=r[o?"os2":"p2"],l=r[o?"p2":"os2"];t._isFlipped=o,i[r.a+"Percent"]=o?-100:0,i[r.a]=o?"1px":0,i["border"+s+ja]=1,i["border"+l+ja]=0,i[r.p]=n+"px",Pe.set(t,i)},Je=[],_v={},Bc,n_=function(){return Yn()-go>34&&(Bc||(Bc=requestAnimationFrame(Ii)))},Ul=function(){(!lr||!lr.isPressed||lr.startX>xt.clientWidth)&&(tt.cache++,lr?Bc||(Bc=requestAnimationFrame(Ii)):Ii(),go||kl("scrollStart"),go=Yn())},$m=function(){C3=Ze.innerWidth,k3=Ze.innerHeight},$u=function(t){tt.cache++,(t===!0||!Wn&&!S3&&!It.fullscreenElement&&!It.webkitFullscreenElement&&(!yv||C3!==Ze.innerWidth||Math.abs(Ze.innerHeight-k3)>Ze.innerHeight*.25))&&vp.restart(!0)},Sl={},uz=[],O3=function e(){return xn(De,"scrollEnd",e)||Qs(!0)},kl=function(t){return Sl[t]&&Sl[t].map(function(n){return n()})||uz},Br=[],L3=function(t){for(var n=0;n<Br.length;n+=5)(!t||Br[n+4]&&Br[n+4].query===t)&&(Br[n].style.cssText=Br[n+1],Br[n].getBBox&&Br[n].setAttribute("transform",Br[n+2]||""),Br[n+3].uncache=1)},Fy=function(t,n){var r;for(ar=0;ar<Je.length;ar++)r=Je[ar],r&&(!n||r._ctx===n)&&(t?r.kill(1):r.revert(!0,!0));yp=!0,n&&L3(n),n||kl("revert")},q3=function(t,n){tt.cache++,(n||!ur)&&tt.forEach(function(r){return Jn(r)&&r.cacheID++&&(r.rec=0)}),Dr(t)&&(Ze.history.scrollRestoration=My=t)},ur,dl=0,r_,cz=function(){if(r_!==dl){var t=r_=dl;requestAnimationFrame(function(){return t===dl&&Qs(!0)})}},R3=function(){xt.appendChild(xa),Oy=!lr&&xa.offsetHeight||Ze.innerHe
vendor: 3,790 bytes, line 85
85ight,xt.removeChild(xa)},o_=function(t){return Rc(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=t?"none":"block"})},Qs=function(t,n){if(jr=It.documentElement,xt=It.body,$y=[Ze,It,jr,xt],go&&!t&&!yp){wn(De,"scrollEnd",O3);return}R3(),ur=De.isRefreshing=!0,tt.forEach(function(o){return Jn(o)&&++o.cacheID&&(o.rec=o())});var r=kl("refreshInit");w3&&De.sort(),n||Fy(),tt.forEach(function(o){Jn(o)&&(o.smooth&&(o.target.style.scrollBehavior="auto"),o(0))}),Je.slice(0).forEach(function(o){return o.refresh()}),yp=!1,Je.forEach(function(o){if(o._subPinOffset&&o.pin){var i=o.vars.horizontal?"offsetWidth":"offsetHeight",s=o.pin[i];o.revert(!0,1),o.adjustPinSpacing(o.pin[i]-s),o.refresh()}}),xv=1,o_(!0),Je.forEach(function(o){var i=Xo(o.scroller,o._dir),s=o.vars.end==="max"||o._endClamp&&o.end>i,l=o._startClamp&&o.start>=i;(s||l)&&o.setPositions(l?i-1:o.start,s?Math.max(l?i:o.start+1,i):o.end,!0)}),o_(!1),xv=0,r.forEach(function(o){return o&&o.render&&o.render(-1)}),tt.forEach(function(o){Jn(o)&&(o.smooth&&requestAnimationFrame(function(){return o.target.style.scrollBehavior="smooth"}),o.rec&&o(o.rec))}),q3(My,1),vp.pause(),dl++,ur=2,Ii(2),Je.forEach(function(o){return Jn(o.vars.onRefresh)&&o.vars.onRefresh(o)}),ur=De.isRefreshing=!1,kl("refresh")},wv=0,vf=1,ec,Ii=function(t){if(t===2||!ur&&!yp){De.isUpdating=!0,ec&&ec.update(0);var n=Je.length,r=Yn(),o=r-Im>=50,i=n&&Je[0].scroll();if(vf=wv>i?-1:1,ur||(wv=i),o&&(go&&!_h&&r-go>200&&(go=0,kl("scrollEnd")),Eu=Im,Im=r),vf<0){for(ar=n;ar-- >0;)Je[ar]&&Je[ar].update(0,o);vf=1}else for(ar=0;ar<n;ar++)Je[ar]&&Je[ar].update(0,o);De.isUpdating=!1}Bc=0},Sv=[A3,$3,qy,Ly,so+Zu,so+Xu,so+Ju,so+Qu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],yf=Sv.concat([ul,cl,"boxSizing","max"+ja,"max"+Ry,"position",so,rn,rn+Ju,rn+Xu,rn+Zu,rn+Qu]),dz=function(t,n,r){_a(r);var o=t._gsap;if(o.spacerIsNative)_a(o.spacerState);else if(t._gsap.swappedIn){var i=n.parentNode;i&&(i.insertBefore(t,n),i.removeChild(n))}t._gsap.swappedIn=!1},Mm=function(t,n,r,o){if(!t._gsap.swappedIn){for(var i=Sv.length,s=n.style,l=t.style,a;i--;)a=Sv[i],s[a]=r[a];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),l[qy]=l[Ly]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[ul]=bp(t,hr)+fn,s[cl]=bp(t,hn)+fn,s[rn]=l[so]=l[$3]=l[A3]="0",_a(o),l[ul]=l["max"+ja]=r[ul],l[cl]=l["max"+Ry]=r[cl],l[rn]=r[rn],t.parentNode!==n&&(t.parentNode.insertBefore(n,t),n.appendChild(t)),t._gsap.swappedIn=!0}},fz=/([A-Z])/g,_a=function(t){if(t){var n=t.t.style,r=t.length,o=0,i,s;for((t.t._gsap||Pe.core.getCache(t.t)).uncache=1;o<r;o+=2)s=t[o+1],i=t[o],s?n[i]=s:n[i]&&n.removeProperty(i.replace(fz,"-$1").toLowerCase())}},Vd=function(t){for(var n=yf.length,r=t.style,o=[],i=0;i<n;i++)o.push(yf[i],r[yf[i]]);return o.t=t,o},pz=function(t,n,r){for(var o=[],i=t.length,s=r?8:0,l;s<i;s+=2)l=t[s],o.push(l,l in n?n[l]:t[s+1]);return o.t=t.t,o},bf={left:0,top:0},i_=function(t,n,r,o,i,s,l,a,u,c,d,p,f,m){Jn(t)&&(t=t(a)),Dr(t)&&t.substr(0,3)==="max"&&(t=p+(t.charAt(4)==="="?mf("0"+t.substr(3),r):0));var h=f?f.time():0,g,y,b;if(f&&f.seek(0),isNaN(t)||(t=+t),Au(t))f&&(t=Pe.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,t)),l&&gf(l,r,o,!0);else{Jn(n)&&(n=n(a));var x=(t||"0").split(" "),w,E,T,k;b=kr(n,a)||xt,w=Si(b)||{},(!w||!w.left&&!w.top)&&lo(b).display==="none"&&(k=b.style.display,b.style.display="block",w=Si(b),k?b.style.display=k:b.style.removeProperty("display")),E=mf(x[0],w[o.d]),T=mf(x[1]||"0",r),t=w[o.p]-u[o.p]-c+E+i-T,l&&gf(l,T,o,r-T<20||l._isStart&&T>20),r-=r-T}
vendor: 4,640 bytes, line 85
85if(m&&(a[m]=t||-.001,t<0&&(t=0)),s){var S=t+r,C=s._isStart;g="scroll"+o.d2,gf(s,S,o,C&&S>20||!C&&(d?Math.max(xt[g],jr[g]):s.parentNode[g])<=S+1),d&&(u=Si(l),d&&(s.style[o.op.p]=u[o.op.p]-o.op.m-s._offset+fn))}return f&&b&&(g=Si(b),f.seek(p),y=Si(b),f._caScrollDist=g[o.p]-y[o.p],t=t/f._caScrollDist*p),f&&f.seek(h),f?t:Math.round(t)},hz=/(webkit|moz|length|cssText|inset)/i,s_=function(t,n,r,o){if(t.parentNode!==n){var i=t.style,s,l;if(n===xt){t._stOrig=i.cssText,l=lo(t);for(s in l)!+s&&!hz.test(s)&&l[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=l[s]);i.top=r,i.left=o}else i.cssText=t._stOrig;Pe.core.getCache(t).uncache=1,n.appendChild(t)}},B3=function(t,n,r){var o=n,i=o;return function(s){var l=Math.round(t());return l!==o&&l!==i&&Math.abs(l-o)>3&&Math.abs(l-i)>3&&(s=l,r&&r()),i=o,o=Math.round(s),o}},zd=function(t,n,r){var o={};o[n.p]="+="+r,Pe.set(t,o)},l_=function(t,n){var r=Cs(t,n),o="_scroll"+n.p2,i=function s(l,a,u,c,d){var p=s.tween,f=a.onComplete,m={};u=u||r();var h=B3(r,u,function(){p.kill(),s.tween=0});return d=c&&d||0,c=c||l-u,p&&p.kill(),a[o]=l,a.inherit=!1,a.modifiers=m,m[o]=function(){return h(u+c*p.ratio+d*p.ratio*p.ratio)},a.onUpdate=function(){tt.cache++,s.tween&&Ii()},a.onComplete=function(){s.tween=0,f&&f.call(p)},p=s.tween=Pe.to(t,a),p};return t[o]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},wn(t,"wheel",r.wheelHandler),De.isTouch&&wn(t,"touchmove",r.wheelHandler),i},De=(function(){function e(n,r){Jl||e.register(Pe)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),bv(this),this.init(n,r)}var t=e.prototype;return t.init=function(r,o){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Pu){this.update=this.refresh=this.kill=Uo;return}r=e_(Dr(r)||Au(r)||r.nodeType?{trigger:r}:r,Dd);var i=r,s=i.onUpdate,l=i.toggleClass,a=i.id,u=i.onToggle,c=i.onRefresh,d=i.scrub,p=i.trigger,f=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,y=i.onScrubComplete,b=i.onSnapComplete,x=i.once,w=i.snap,E=i.pinReparent,T=i.pinSpacer,k=i.containerAnimation,S=i.fastScrollEnd,C=i.preventOverlaps,A=r.horizontal||r.containerAnimation&&r.horizontal!==!1?hr:hn,M=!d&&d!==0,I=kr(r.scroller||Ze),$=Pe.core.getCache(I),F=wl(I),q=("pinType"in r?r.pinType:vs(I,"pinType")||F&&"fixed")==="fixed",O=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],L=M&&r.toggleActions.split(" "),N="markers"in r?r.markers:Dd.markers,Z=F?0:parseFloat(lo(I)["border"+A.p2+ja])||0,H=this,G=r.onRefreshInit&&function(){return r.onRefreshInit(H)},oe=oz(I,F,A),ce=iz(I,F),ee=0,ge=0,xe=0,ie=Cs(I,A),Q,Y,J,de,he,R,z,le,ve,j,U,ue,ne,fe,me,Se,_e,ke,Me,$e,Ye,Ne,kt,yt,lt,nn,Ft,xr,Dt,un,Ro,Xe,Ls,yo,bo,xo,qs,Bl,li;if(H._startClamp=H._endClamp=!1,H._dir=A,g*=45,H.scroller=I,H.scroll=k?k.time.bind(k):ie,de=ie(),H.vars=r,o=o||r.animation,"refreshPriority"in r&&(w3=1,r.refreshPriority===-9999&&(ec=H)),$.tweenScroll=$.tweenScroll||{top:l_(I,hn),left:l_(I,hr)},H.tweenTo=Q=$.tweenScroll[A.p],H.scrubDuration=function(Te){Ls=Au(Te)&&Te,Ls?Xe?Xe.duration(Te):Xe=Pe.to(o,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ls,paused:!0,onComplete:function(){return y&&y(H)}}):(Xe&&Xe.progress(1).kill(),Xe=0)},o&&(o.vars.lazy=!1,o._initted&&!H.isReverted||o.vars.immediateRender!==!1&&r.immediateRender!==!1&&o.duration()&&o.render(0,!0,!0),H.animation=o.pause(),o.scrollTrigger=H,H.scrubDuration(d),un=0,a||(a=o.vars.id)),w&&((!Gs(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in xt.style&&Pe.set(F?[xt,jr]:I,{scrollBehavior:"auto"}),tt.forEach(function(Te){return Jn(Te)&&Te.target===(F?It.scrollingElement||jr:I)&&(Te.smooth=!1)}),J=Jn(w.snapTo)?w.snapTo:w.snapTo==="labels"?lz(o):w.snapTo==="labelsDirectional"?az(o):w.directional!==!1?function(Te,Ue){return By(w.snapTo)(Te,Yn()-ge<500?0:Ue.direction)}:Pe.utils.snap(w.snapTo),yo=w.duration||{min:.1,max:2},yo=Gs(yo)?Yu(yo.min,yo.max):Yu(yo,yo),bo=Pe.delayedCall(w.delay||Ls/2||.1,function(){var Te=ie(),Ue=Yn()-ge<500,qe=Q.tween;if((Ue||Math.abs(H.getVelocity())<10)&&!qe&&!_h&&ee!==Te){var We=(Te-R)/fe,yn=o&&!M?o.totalProgress():We,at=Ue?0:(yn-Ro)/(Yn()-Eu)*1e3||0,Qt=Pe.utils.clamp(-We,1-We,Hl(at/2)*at/.185),zn=We+(w.inertia===!1?0:Qt),Ut,Mt,Ct=w,_o=Ct.onStart,Nt=Ct.onInterrupt,Rr=Ct.onComplete;if(Ut=J(zn,H),Au(Ut)||(Ut=zn),Mt=Math.max(0,Math.round(R+Ut*fe)),Te<=z&&Te>=R&&Mt!==Te){if(qe&&!qe._initted&&qe.data<=Hl(Mt-Te))return;w.inertia===!1&&(Qt=Ut-We),Q(Mt,{duration:yo(Hl(Math.max(Hl(zn-yn),Hl(Ut-yn))*.185/at/.05||0)),ease:w.ease||"power3",data:Hl(Mt-Te),onInterrupt:function(){return bo.restart(!0)&&Nt&&Nt(H)},onComplete:function(){H.update(),ee=ie(),o&&!M&&(Xe?Xe.resetTo("totalProgress",Ut,o._tTime/o._tDur):o.progress(Ut)),un=Ro=o&&
vendor: 1,680 bytes, line 85
85!M?o.totalProgress():H.progress,b&&b(H),Rr&&Rr(H)}},Te,Qt*fe,Mt-Te-Qt*fe),_o&&_o(H,Q.tween)}}else H.isActive&&ee!==Te&&bo.restart(!0)}).pause()),a&&(_v[a]=H),p=H.trigger=kr(p||f!==!0&&f),li=p&&p._gsap&&p._gsap.stRevert,li&&(li=li(H)),f=f===!0?p:kr(f),Dr(l)&&(l={targets:p,className:l}),f&&(m===!1||m===so||(m=!m&&f.parentNode&&f.parentNode.style&&lo(f.parentNode).display==="flex"?!1:rn),H.pin=f,Y=Pe.core.getCache(f),Y.spacer?me=Y.pinState:(T&&(T=kr(T),T&&!T.nodeType&&(T=T.current||T.nativeElement),Y.spacerIsNative=!!T,T&&(Y.spacerState=Vd(T))),Y.spacer=ke=T||It.createElement("div"),ke.classList.add("pin-spacer"),a&&ke.classList.add("pin-spacer-"+a),Y.pinState=me=Vd(f)),r.force3D!==!1&&Pe.set(f,{force3D:!0}),H.spacer=ke=Y.spacer,Dt=lo(f),yt=Dt[m+A.os2],$e=Pe.getProperty(f),Ye=Pe.quickSetter(f,A.a,fn),Mm(f,ke,Dt),_e=Vd(f)),N){ue=Gs(N)?e_(N,t_):t_,j=Nd("scroller-start",a,I,A,ue,0),U=Nd("scroller-end",a,I,A,ue,0,j),Me=j["offset"+A.op.d2];var ru=kr(vs(I,"content")||I);le=this.markerStart=Nd("start",a,ru,A,ue,Me,0,k),ve=this.markerEnd=Nd("end",a,ru,A,ue,Me,0,k),k&&(Bl=Pe.quickSetter([le,ve],A.a,fn)),!q&&!(Zo.length&&vs(I,"fixedMarkers")===!0)&&(sz(F?xt:I),Pe.set([j,U],{force3D:!0}),nn=Pe.quickSetter(j,A.a,fn),xr=Pe.quickSetter(U,A.a,fn))}if(k){var Ge=k.vars.onUpdate,Fe=k.vars.onUpdateParams;k.eventCallback("onUpdate",function(){H.update(0,0,1),Ge&&Ge.apply(k,Fe||[])})}if(H.previous=function(){return Je[Je.indexOf(H)-1]},H.next=function(){return Je[Je.indexOf(H)+1]},H.revert=function(Te,Ue){if(!Ue)return H.kill(!0);var qe=Te!==!1||!H.enabled,We=Wn;qe!==H.isReverted&&(qe&&(xo=Math.max(ie(),H.scroll.rec||0),xe=H.progress,qs=o&&o.progress()),le&&[le,ve,j,U].forEac
vendor: 1,307 bytes, line 85
85h(function(yn){return yn.style.display=qe?"none":"block"}),qe&&(Wn=H,H.update(qe)),f&&(!E||!H.isActive)&&(qe?dz(f,ke,me):Mm(f,ke,lo(f),lt)),qe||H.update(qe),Wn=We,H.isReverted=qe)},H.refresh=function(Te,Ue,qe,We){if(!((Wn||!H.enabled)&&!Ue)){if(f&&Te&&go){wn(e,"scrollEnd",O3);return}!ur&&G&&G(H),Wn=H,Q.tween&&!qe&&(Q.tween.kill(),Q.tween=0),Xe&&Xe.pause(),h&&o&&(o.revert({kill:!1}).invalidate(),o.getChildren&&o.getChildren(!0,!0,!1).forEach(function(Ui){return Ui.vars.immediateRender&&Ui.render(0,!0,!0)})),H.isReverted||H.revert(!0,!0),H._subPinOffset=!1;var yn=oe(),at=ce(),Qt=k?k.duration():Xo(I,A),zn=fe<=.01||!fe,Ut=0,Mt=We||0,Ct=Gs(qe)?qe.end:r.end,_o=r.endTrigger||p,Nt=Gs(qe)?qe.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),Rr=H.pinnedContainer=r.pinnedContainer&&kr(r.pinnedContainer,H),Bo=p&&Math.max(0,Je.indexOf(H))||0,Pn=Bo,In,jn,Rs,od,Hn,cn,Fo,Mh,Yy,ou,Do,iu,id;for(N&&Gs(qe)&&(iu=Pe.getProperty(j,A.p),id=Pe.getProperty(U,A.p));Pn-- >0;)cn=Je[Pn],cn.end||cn.refresh(0,1)||(Wn=H),Fo=cn.pin,Fo&&(Fo===p||Fo===f||Fo===Rr)&&!cn.isReverted&&(ou||(ou=[]),ou.unshift(cn),cn.revert(!0,!0)),cn!==Je[Pn]&&(Bo--,Pn--);for(Jn(Nt)&&(Nt=Nt(H)),Nt=Xx(Nt,"start",H),R=i_(Nt,p,yn,A,ie(),le,j,H,at,Z,q,Qt,k,H._startClamp&&"_startClamp")||(f?-.001:0),Jn(Ct)&&(Ct=Ct(H)),Dr(Ct)&&!Ct.indexOf("+=")&&(~
vendor: 4,201 bytes, line 85
85Ct.indexOf(" ")?Ct=(Dr(Nt)?Nt.split(" ")[0]:"")+Ct:(Ut=mf(Ct.substr(2),yn),Ct=Dr(Nt)?Nt:(k?Pe.utils.mapRange(0,k.duration(),k.scrollTrigger.start,k.scrollTrigger.end,R):R)+Ut,_o=p)),Ct=Xx(Ct,"end",H),z=Math.max(R,i_(Ct||(_o?"100% 0":Qt),_o,yn,A,ie()+Ut,ve,U,H,at,Z,q,Qt,k,H._endClamp&&"_endClamp"))||-.001,Ut=0,Pn=Bo;Pn--;)cn=Je[Pn],Fo=cn.pin,Fo&&cn.start-cn._pinPush<=R&&!k&&cn.end>0&&(In=cn.end-(H._startClamp?Math.max(0,cn.start):cn.start),(Fo===p&&cn.start-cn._pinPush<R||Fo===Rr)&&isNaN(Nt)&&(Ut+=In*(1-cn.progress)),Fo===f&&(Mt+=In));if(R+=Ut,z+=Ut,H._startClamp&&(H._startClamp+=Ut),H._endClamp&&!ur&&(H._endClamp=z||-.001,z=Math.min(z,Xo(I,A))),fe=z-R||(R-=.01)&&.001,zn&&(xe=Pe.utils.clamp(0,1,Pe.utils.normalize(R,z,xo))),H._pinPush=Mt,le&&Ut&&(In={},In[A.a]="+="+Ut,Rr&&(In[A.p]="-="+ie()),Pe.set([le,ve],In)),f&&!(xv&&H.end>=Xo(I,A)))In=lo(f),od=A===hn,Rs=ie(),Ne=parseFloat($e(A.a))+Mt,!Qt&&z>1&&(Do=(F?It.scrollingElement||jr:I).style,Do={style:Do,value:Do["overflow"+A.a.toUpperCase()]},F&&lo(xt)["overflow"+A.a.toUpperCase()]!=="scroll"&&(Do.style["overflow"+A.a.toUpperCase()]="scroll")),Mm(f,ke,In),_e=Vd(f),jn=Si(f,!0),Mh=q&&Cs(I,od?hr:hn)(),m?(lt=[m+A.os2,fe+Mt+fn],lt.t=ke,Pn=m===rn?bp(f,A)+fe+Mt:0,Pn&&(lt.push(A.d,Pn+fn),ke.style.flexBasis!=="auto"&&(ke.style.flexBasis=Pn+fn)),_a(lt),Rr&&Je.forEach(function(Ui){Ui.pin===Rr&&Ui.vars.pinSpacing!==!1&&(Ui._subPinOffset=!0)}),q&&ie(xo)):(Pn=bp(f,A),Pn&&ke.style.flexBasis!=="auto"&&(ke.style.flexBasis=Pn+fn)),q&&(Hn={top:jn.top+(od?Rs-R:Mh)+fn,left:jn.left+(od?Mh:Rs-R)+fn,boxSizing:"border-box",position:"fixed"},Hn[ul]=Hn["max"+ja]=Math.ceil(jn.width)+fn,Hn[cl]=Hn["max"+Ry]=Math.ceil(jn.height)+fn,Hn[so]=Hn[so+Ju]=Hn[so+Xu]=Hn[so+Zu]=Hn[so+Qu]="0",Hn[rn]=In[rn],Hn[rn+Ju]=In[rn+Ju],Hn[rn+Xu]=In[rn+Xu],Hn[rn+Zu]=In[rn+Zu],Hn[rn+Qu]=In[rn+Qu],Se=pz(me,Hn,E),ur&&ie(0)),o?(Yy=o._initted,Em(1),o.render(o.duration(),!0,!0),kt=$e(A.a)-Ne+fe+Mt,Ft=Math.abs(fe-kt)>1,q&&Ft&&Se.splice(Se.length-2,2),o.render(0,!0,!0),Yy||o.invalidate(!0),o.parent||o.totalTime(o.totalTime()),Em(0)):kt=fe,Do&&(Do.value?Do.style["overflow"+A.a.toUpperCase()]=Do.value:Do.style.removeProperty("overflow-"+A.a));else if(p&&ie()&&!k)for(jn=p.parentNode;jn&&jn!==xt;)jn._pinOffset&&(R-=jn._pinOffset,z-=jn._pinOffset),jn=jn.parentNode;ou&&ou.forEach(function(Ui){return Ui.revert(!1,!0)}),H.start=R,H.end=z,de=he=ur?xo:ie(),!k&&!ur&&(de<xo&&ie(xo),H.scroll.rec=0),H.revert(!1,!0),ge=Yn(),bo&&(ee=-1,bo.restart(!0)),Wn=0,o&&M&&(o._initted||qs)&&o.progress()!==qs&&o.progress(qs||0,!0).render(o.time(),!0,!0),(zn||xe!==H.progress||k||h||o&&!o._initted)&&(o&&!M&&(o._initted||xe||o.vars.immediateRender!==!1)&&o.totalProgress(k&&R<-.001&&!xe?Pe.utils.normalize(R,z,0):xe,!0),H.progress=zn||(de-R)/fe===xe?0:xe),f&&m&&(ke._pinOffset=Math.round(H.progress*kt)),Xe&&Xe.invalidate(),isNaN(iu)||(iu-=Pe.getProperty(j,A.p),id-=Pe.getProperty(U,A.p),zd(j,A,iu),zd(le,A,iu-(We||0)),zd(U,A,id),zd(ve,A,id-(We||0))),zn&&!ur&&H.update(),c&&!ur&&!ne&&(ne=!0,c(H),ne=!1)}},H.getVelocity=function(){return(ie()-he)/(Yn()-Eu)*1e3||0},H.endAnimation=function(){yu(H.callbackAnimation),o&&(Xe?Xe.progress(1):o.paused()?M||yu(o,H.direction<0,1):yu(o,o.reversed()))},H.labelToScroll=function(Te){return o&&o.labels&&(R||H.refresh()||R)+o.labels[Te]/o.duration()*fe||0},H.getTrailing=function(Te){var Ue=Je.indexOf(H),qe=H.direction>0?Je.slice(0,Ue).reverse():Je.slice(Ue+1);return(Dr(Te)?qe.filter(function(We){return We.vars.preventOverlaps===Te}):qe).filter(function(We){return H.direction>0?We.end<=R:We.start>=z})},H.update=function(Te,Ue,qe){if(!(k&&!qe&&!Te)){var We=ur===!0?xo:H.scroll(),yn=Te?0:(We-R)/fe,at=yn<0?0:yn>1?1:yn||0,Qt=H.progress,zn,Ut,Mt,Ct,_o,Nt,Rr,Bo;if(Ue&&(he=de,de=k?ie():We,w&&(Ro=un,un=o&&!M?o.totalProgress():at)),g&&f&&!Wn&&!qd&&go&&(!at&&R<We+(We-he)/(Yn()-Eu)*g?at=1e-4:at===1&&z>We+(We-he)/(Yn()-Eu)*g&&(at=.9999)),at!==Qt&&H.enabled){if(zn=H.isActive=!!at&&at<1,Ut=!!Qt&&Qt<1,Nt=zn!==Ut,_o=Nt||!!at!=!!Qt,H.direction=at>Qt?1:-1,H.progress=at,_o&&!Wn&&(Mt=at&&!Qt?0:at===1?1:Qt===1?2:3,M&&(Ct=!Nt&&L[Mt+1]!=="none"&&L[Mt+1]||L[Mt],Bo=o&&(Ct==="complete"||Ct==="reset"||Ct in o))),C&&(Nt||Bo)&&(Bo||d||!o)&&(Jn(C)?C(H):H.getTrailing(C).forEac
vendor: 2,493 bytes, line 85
85h(function(Rs){return Rs.endAnimation()})),M||(Xe&&!Wn&&!qd?(Xe._dp._time-Xe._start!==Xe._time&&Xe.render(Xe._dp._time-Xe._start),Xe.resetTo?Xe.resetTo("totalProgress",at,o._tTime/o._tDur):(Xe.vars.totalProgress=at,Xe.invalidate().restart())):o&&o.totalProgress(at,!!(Wn&&(ge||Te)))),f){if(Te&&m&&(ke.style[m+A.os2]=yt),!q)Ye(Iu(Ne+kt*at));else if(_o){if(Rr=!Te&&at>Qt&&z+1>We&&We+1>=Xo(I,A),E)if(!Te&&(zn||Rr)){var Pn=Si(f,!0),In=We-R;s_(f,xt,Pn.top+(A===hn?In:0)+fn,Pn.left+(A===hn?0:In)+fn)}else s_(f,ke);_a(zn||Rr?Se:_e),Ft&&at<1&&zn||Ye(Ne+(at===1&&!Rr?kt:0))}}w&&!Q.tween&&!Wn&&!qd&&bo.restart(!0),l&&(Nt||x&&at&&(at<1||!Pm))&&Rc(l.targets).forEach(function(Rs){return Rs.classList[zn||x?"add":"remove"](l.className)}),s&&!M&&!Te&&s(H),_o&&!Wn?(M&&(Bo&&(Ct==="complete"?o.pause().totalProgress(1):Ct==="reset"?o.restart(!0).pause():Ct==="restart"?o.restart(!0):o[Ct]()),s&&s(H)),(Nt||!Pm)&&(u&&Nt&&Am(H,u),O[Mt]&&Am(H,O[Mt]),x&&(at===1?H.kill(!1,1):O[Mt]=0),Nt||(Mt=at===1?1:3,O[Mt]&&Am(H,O[Mt]))),S&&!zn&&Math.abs(H.getVelocity())>(Au(S)?S:2500)&&(yu(H.callbackAnimation),Xe?Xe.progress(1):yu(o,Ct==="reverse"?1:!at,1))):M&&s&&!Wn&&s(H)}if(xr){var jn=k?We/k.duration()*(k._caScrollDist||0):We;nn(jn+(j._isFlipped?1:0)),xr(jn)}Bl&&Bl(-We/k.duration()*(k._caScrollDist||0))}},H.enable=function(Te,Ue){H.enabled||(H.enabled=!0,wn(I,"resize",$u),F||wn(I,"scroll",Ul),G&&wn(e,"refreshInit",G),Te!==!1&&(H.progress=xe=0,de=he=ee=ie()),Ue!==!1&&H.refresh())},H.getTween=function(Te){return Te&&Q?Q.tween:Xe},H.setPositions=function(Te,Ue,qe,We){if(k){var yn=k.scrollTrigger,at=k.duration(),Qt=yn.end-yn.start;Te=yn.start+Qt*Te/at,Ue=yn.start+Qt*Ue/at}H.refresh(!1,!1,{start:Qx(Te,qe&&!!H._startClamp),end:Qx(Ue,qe&&!!H._endClamp)},We),H.update()},H.adjustPinSpacing=function(Te){if(lt&&Te){var Ue=lt.indexOf(A.d)+1;lt[Ue]=parseFloat(lt[Ue])+Te+fn,lt[1]=parseFloat(lt[1])+Te+fn,_a(lt)}},H.disable=function(Te,Ue){if(H.enabled&&(Te!==!1&&H.revert(!0,!0),H.enabled=H.isActive=!1,Ue||Xe&&Xe.pause(),xo=0,Y&&(Y.uncache=1),G&&xn(e,"refreshInit",G),bo&&(bo.pause(),Q.tween&&Q.tween.kill()&&(Q.tween=0)),!F)){for(var qe=Je.length;qe--;)if(Je[qe].scroller===I&&Je[qe]!==H)return;xn(I,"resize",$u),F||xn(I,"scroll",Ul)}},H.kill=function(Te,Ue){H.disable(Te,Ue),Xe&&!Ue&&Xe.kill(),a&&delete _v[a];var qe=Je.indexOf(H);qe>=0&&Je.splice(qe,1),qe===ar&&vf>0&&ar--,qe=0,Je.forEach(function(We){return We.scroller===H.scroller&&(qe=1)}),qe||ur||(H.scroll.rec=0),o&&(o.scrollTrigger=null,Te&&o.revert({kill:!1}
vendor: 7,108 bytes, line 85
85),Ue||o.kill()),le&&[le,ve,j,U].forEach(function(We){return We.parentNode&&We.parentNode.removeChild(We)}),ec===H&&(ec=0),f&&(Y&&(Y.uncache=1),qe=0,Je.forEach(function(We){return We.pin===f&&qe++}),qe||(Y.spacer=0)),r.onKill&&r.onKill(H)},Je.push(H),H.enable(!1,!1),li&&li(H),o&&o.add&&!fe){var pt=H.update;H.update=function(){H.update=pt,tt.cache++,R||z||H.refresh()},Pe.delayedCall(.01,H.update),fe=.01,R=z=0}else H.refresh();f&&cz()},e.register=function(r){return Jl||(Pe=r||E3(),T3()&&window.document&&e.enable(),Jl=Pu),Jl},e.defaults=function(r){if(r)for(var o in r)Dd[o]=r[o];return Dd},e.disable=function(r,o){Pu=0,Je.forEach(function(s){return s[o?"kill":"disable"](r)}),xn(Ze,"wheel",Ul),xn(It,"scroll",Ul),clearInterval(Ld),xn(It,"touchcancel",Uo),xn(xt,"touchstart",Uo),Bd(xn,It,"pointerdown,touchstart,mousedown",Jx),Bd(xn,It,"pointerup,touchend,mouseup",Zx),vp.kill(),Rd(xn);for(var i=0;i<tt.length;i+=3)Fd(xn,tt[i],tt[i+1]),Fd(xn,tt[i],tt[i+2])},e.enable=function(){if(Ze=window,It=document,jr=It.documentElement,xt=It.body,Pe&&(Rc=Pe.utils.toArray,Yu=Pe.utils.clamp,bv=Pe.core.context||Uo,Em=Pe.core.suppressOverwrites||Uo,My=Ze.history.scrollRestoration||"auto",wv=Ze.pageYOffset||0,Pe.core.globals("ScrollTrigger",e),xt)){Pu=1,xa=document.createElement("div"),xa.style.height="100vh",xa.style.position="absolute",R3(),rz(),tn.register(Pe),e.isTouch=tn.isTouch,Ji=tn.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),yv=tn.isTouch===1,wn(Ze,"wheel",Ul),$y=[Ze,It,jr,xt],Pe.matchMedia?(e.matchMedia=function(u){var c=Pe.matchMedia(),d;for(d in u)c.add(d,u[d]);return c},Pe.addEventListener("matchMediaInit",function(){return Fy()}),Pe.addEventListener("matchMediaRevert",function(){return L3()}),Pe.addEventListener("matchMedia",function(){Qs(0,1),kl("matchMedia")}),Pe.matchMedia().add("(orientation: portrait)",function(){return $m(),$m})):console.warn("Requires GSAP 3.11.0 or later"),$m(),wn(It,"scroll",Ul);var r=xt.hasAttribute("style"),o=xt.style,i=o.borderTopStyle,s=Pe.core.Animation.prototype,l,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),o.borderTopStyle="solid",l=Si(xt),hn.m=Math.round(l.top+hn.sc())||0,hr.m=Math.round(l.left+hr.sc())||0,i?o.borderTopStyle=i:o.removeProperty("border-top-style"),r||(xt.setAttribute("style",""),xt.removeAttribute("style")),Ld=setInterval(n_,250),Pe.delayedCall(.5,function(){return qd=0}),wn(It,"touchcancel",Uo),wn(xt,"touchstart",Uo),Bd(wn,It,"pointerdown,touchstart,mousedown",Jx),Bd(wn,It,"pointerup,touchend,mouseup",Zx),vv=Pe.utils.checkPrefix("transform"),yf.push(vv),Jl=Yn(),vp=Pe.delayedCall(.2,Qs).pause(),Zl=[It,"visibilitychange",function(){var u=Ze.innerWidth,c=Ze.innerHeight;It.hidden?(Kx=u,Yx=c):(Kx!==u||Yx!==c)&&$u()},It,"DOMContentLoaded",Qs,Ze,"load",Qs,Ze,"resize",$u],Rd(wn),Je.forEach(function(u){return u.enable(0,1)}),a=0;a<tt.length;a+=3)Fd(xn,tt[a],tt[a+1]),Fd(xn,tt[a],tt[a+2])}},e.config=function(r){"limitCallbacks"in r&&(Pm=!!r.limitCallbacks);var o=r.syncInterval;o&&clearInterval(Ld)||(Ld=o)&&setInterval(n_,o),"ignoreMobileResize"in r&&(yv=e.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Rd(xn)||Rd(wn,r.autoRefreshEvents||"none"),S3=(r.autoRefreshEvents+"").indexOf("resize")===-1)},e.scrollerProxy=function(r,o){var i=kr(r),s=tt.indexOf(i),l=wl(i);~s&&tt.splice(s,l?6:2),o&&(l?Zo.unshift(Ze,o,xt,o,jr,o):Zo.unshift(i,o))},e.clearMatchMedia=function(r){Je.forEach(function(o){return o._ctx&&o._ctx.query===r&&o._ctx.kill(!0,!0)})},e.isInViewport=function(r,o,i){var s=(Dr(r)?kr(r):r).getBoundingClientRect(),l=s[i?ul:cl]*o||0;return i?s.right-l>0&&s.left+l<Ze.innerWidth:s.bottom-l>0&&s.top+l<Ze.innerHeight},e.positionInViewport=function(r,o,i){Dr(r)&&(r=kr(r));var s=r.getBoundingClientRect(),l=s[i?ul:cl],a=o==null?l/2:o in xp?xp[o]*l:~o.indexOf("%")?parseFloat(o)*l/100:parseFloat(o)||0;return i?(s.left+a)/Ze.innerWidth:(s.top+a)/Ze.innerHeight},e.killAll=function(r){if(Je.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var o=Sl.killAll||[];Sl={},o.forEach(function(i){return i()})}},e})();De.version="3.13.0";De.saveStyles=function(e){return e?Rc(e).forEach(function(t){if(t&&t.style){var n=Br.indexOf(t);n>=0&&Br.splice(n,5),Br.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Pe.core.getCache(t),bv())}}):Br};De.revert=function(e,t){return Fy(!e,t)};De.create=function(e,t){return new De(e,t)};De.refresh=function(e){return e?$u(!0):(Jl||De.register())&&Qs(!0)};De.update=function(e){return++tt.cache&&Ii(e===!0?2:0)};De.clearScrollMemory=q3;De.maxScroll=function(e,t){return Xo(e,t?hr:hn)};De.getScrollFunc=function(e,t){return Cs(kr(e),t?hr:hn)};De.getById=function(e){return _v[e]};De.getAll=function(){return Je.filter(function(e){return e.vars.id!=="ScrollSmoother"})};De.isScrolling=function(){return!!go};De.snapDirectional=By;De.addEventListener=function(e,t){var n=Sl[e]||(Sl[e]=[]);~n.indexOf(t)||n.push(t)};De.removeEventListener=function(e,t){var n=Sl[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)};De.batch=function(e,t){var n=[],r={},o=t.interval||.016,i=t.batchMax||1e9,s=function(u,c){var d=[],p=[],f=Pe.delayedCall(o,function(){c(d,p),d=[],p=[]}).pause();return function(m){d.length||f.restart(!0),d.push(m.trigger),p.push(m),i<=d.length&&f.progress(1)}},l;for(l in t)r[l]=l.substr(0,2)==="on"&&Jn(t[l])&&l!=="onRefreshInit"?s(l,t[l]):t[l];return Jn(i)&&(i=i(),wn(De,"refresh",function(){return i=t.batchMax()})),Rc(e).forEach(function(a){var u={};for(l in r)u[l]=r[l];u.trigger=a,n.push(De.create(u))}),n};var a_=function(t,n,r,o){return n>o?t(o):n<0&&t(0),r>o?(o-n)/(r-n):r<0?n/(n-r):1},Om=function e(t,n){n===!0?t.style.removeProperty("touch-action"):t.style.touchAction=n===!0?"auto":n?"pan-"+n+(tn.isTouch?" pinch-zoom":""):"none",t===jr&&e(xt,n)},jd={auto:1,scroll:1},mz=function(t){var n=t.event,r=t.target,o=t.axis,i=(n.changedTouches?n.changedTouches[0]:n).target,s=i._gsap||Pe.core.getCache(i),l=Yn(),a;if(!s._isScrollT||l-s._isScrollT>2e3){for(;i&&i!==xt&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(jd[(a=lo(i)).overflowY]||jd[a.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!wl(i)&&(jd[(a=lo(i)).overflowY]||jd[a.overflowX]),s._isScrollT=l}(s._isScroll||o==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},F3=function(t,n,r,o){return tn.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:o=o&&mz,onPress:o,onDrag:o,onScroll:o,onEnable:function(){return r&&wn(It,tn.eventTypes[0],c_,!1,!0)},onDisable:function(){return xn(It,tn.eventTypes[0],c_,!0)}})},gz=/(input|label|select|textarea)/i,u_,c_=function(t){var n=gz.test(t.target.tagName);(n||u_)&&(t._gsapAllow=!0,u_=n)},vz=function(t){Gs(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var n=t,r=n.normalizeScrollX,o=n.momentum,i=n.allowNestedScroll,s=n.onRelease,l,a,u=kr(t.target)||jr,c=Pe.core.globals().ScrollSmoother,d=c&&c.get(),p=Ji&&(t.content&&kr(t.content)||d&&t.content!==!1&&!d.smooth()&&d.content()),f=Cs(u,hn),m=Cs(u,hr),h=1,g=(tn.isTouch&&Ze.visualVie
vendor: 1,087 bytes, line 85
85wport?Ze.visualViewport.scale*Ze.visualViewport.width:Ze.outerWidth)/Ze.innerWidth,y=0,b=Jn(o)?function(){return o(l)}:function(){return o||2.8},x,w,E=F3(u,t.type,!0,i),T=function(){return w=!1},k=Uo,S=Uo,C=function(){a=Xo(u,hn),S=Yu(Ji?1:0,a),r&&(k=Yu(0,Xo(u,hr))),x=dl},A=function(){p._gsap.y=Iu(parseFloat(p._gsap.y)+f.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},M=function(){if(w){requestAnimationFrame(T);var N=Iu(l.deltaY/2),Z=S(f.v-N);if(p&&Z!==f.v+f.offset){f.offset=Z-f.v;var H=Iu((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+H+", 0, 1)",p._gsap.y=H+"px",f.cacheID=tt.cache,Ii()}return!0}f.offset&&A(),w=!0},I,$,F,q,O=function(){C(),I.isActive()&&I.vars.scrollY>a&&(f()>a?I.progress(1)&&f(a):I.resetTo("scrollY",a))};return p&&Pe.set(p,{y:"+=0"}),t.ignoreCheck=function(L){return Ji&&L.type==="touchmove"&&M()||h>1.05&&L.type!=="touchstart"||l.isGesturing||L.touches&&L.touches.length>1},t.onPress=function(){w=!1;var L=h;
vendor: 5,255 bytes, lines 85-92
85h=Iu((Ze.visualViewport&&Ze.visualViewport.scale||1)/g),I.pause(),L!==h&&Om(u,h>1.01?!0:r?!1:"x"),$=m(),F=f(),C(),x=dl},t.onRelease=t.onGestureStart=function(L,N){if(f.offset&&A(),!N)q.restart(!0);else{tt.cache++;var Z=b(),H,G;r&&(H=m(),G=H+Z*.05*-L.velocityX/.227,Z*=a_(m,H,G,Xo(u,hr)),I.vars.scrollX=k(G)),H=f(),G=H+Z*.05*-L.velocityY/.227,Z*=a_(f,H,G,Xo(u,hn)),I.vars.scrollY=S(G),I.invalidate().duration(Z).play(.01),(Ji&&I.vars.scrollY>=a||H>=a-1)&&Pe.to({},{onUpdate:O,duration:Z})}s&&s(L)},t.onWheel=function(){I._ts&&I.pause(),Yn()-y>1e3&&(x=0,y=Yn())},t.onChange=function(L,N,Z,H,G){if(dl!==x&&C(),N&&r&&m(k(H[2]===N?$+(L.startX-L.x):m()+N-H[1])),Z){f.offset&&A();var oe=G[2]===Z,ce=oe?F+L.startY-L.y:f()+Z-G[1],ee=S(ce);oe&&ce!==ee&&(F+=ee-ce),f(ee)}(Z||N)&&Ii()},t.onEnable=function(){Om(u,r?!1:"x"),De.addEventListener("refresh",O),wn(Ze,"resize",O),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=m.smooth=!1),E.enable()},t.onDisable=function(){Om(u,!0),xn(Ze,"resize",O),De.removeEventListener("refresh",O),E.kill()},t.lockAxis=t.lockAxis!==!1,l=new tn(t),l.iOS=Ji,Ji&&!f()&&f(1),Ji&&Pe.ticker.add(Uo),q=l._dc,I=Pe.to(l,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:B3(f,f(),function(){return I.pause()})},onUpdate:Ii,onComplete:q.vars.onComplete}),l};De.sort=function(e){if(Jn(e))return Je.sort(e);var t=Ze.pageYOffset||0;return De.getAll().forEach(function(n){return n._sortY=n.trigger?t+n.trigger.getBoundingClientRect().top:n.start+Ze.innerHeight}),Je.sort(e||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};De.observe=function(e){return new tn(e)};De.normalizeScroll=function(e){if(typeof e>"u")return lr;if(e===!0&&lr)return lr.enable();if(e===!1){lr&&lr.kill(),lr=e;return}var t=e instanceof tn?e:vz(e);return lr&&lr.target===t.target&&lr.kill(),wl(t.target)&&(lr=t),t};De.core={_getVelocityProp:gv,_inputObserver:F3,_scrollers:tt,_proxies:Zo,bridge:{ss:function(){go||kl("scrollStart"),go=Yn()},ref:function(){return Wn}}};E3()&&Pe.registerPlugin(De);/*! 86 * ScrollToPlugin 3.13.0 87 * https://gsap.com 88 * 89 * @license Copyright 2008-2025, GreenSock. All rights reserved. 90 * Subject to the terms at https://gsap.com/standard-license 91 * @author: Jack Doyle, [email protected] 92*/var Zn,D3,Ai,Qo,ys,N3,wa,Hd,V3=function(){return typeof window<"u"},z3=function(){return Zn||V3()&&(Zn=window.gsap)&&Zn.registerPlugin&&Zn},j3=function(t){return typeof t=="string"},d_=function(t){return typeof t=="function"},Fc=function(t,n){var r=n==="x"?"Width":"Height",o="scroll"+r,i="client"+r;return t===Ai||t===Qo||t===ys?Math.max(Qo[o],ys[o])-(Ai["inner"+r]||Qo[i]||ys[i]):t[o]-t["offset"+r]},Dc=function(t,n){var r="scroll"+(n==="x"?"Left":"Top");return t===Ai&&(t.pageXOffset!=null?r="page"+n.toUpperCase()+"Offset":t=Qo[r]!=null?Qo:ys),function(){return t[r]}},yz=function(t,n,r,o){if(d_(t)&&(t=t(n,r,o)),typeof t!="object")return j3(t)&&t!=="max"&&t.charAt(1)!=="="?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i={},s;for(s in t)i[s]=s!=="onAutoKill"&&d_(t[s])?t[s](n,r,o):t[s];return i},H3=function(t,n){if(t=N3(t)[0],!t||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),o=!n||n===Ai||n===ys,i=o?{top:Qo.clientTop-(Ai.pageYOffset||Qo.scrollTop||ys.scrollTop||0),left:Qo.clientLeft-(Ai.pageXOffset||Qo.scrollLeft||ys.scrollLeft||0)}:n.getBoundingClientRect(),s={x:r.left-i.left,y:r.top-i.top};return!o&&n&&(s.x+=Dc(n,"x")(),s.y+=Dc(n,"y")()),s},f_=function(t,n,r,o,i){return!isNaN(t)&&typeof t!="object"?parseFloat(t)-i:j3(t)&&t.charAt(1)==="="?parseFloat(t.substr(2))*(t.charAt(0)==="-"?-1:1)+o-i:t==="max"?Fc(n,r)-i:Math.min(Fc(n,r),H3(t,n)[r]-i)},kv=function(){Zn=z3(),V3()&&Zn&&typeof document<"u"&&document.body&&(Ai=window,ys=document.body,Qo=document.documentElement,N3=Zn.utils.toArray,Zn.config({autoKillThreshold:7}),wa=Zn.config(),D3=1)},nu={version:"3.13.0",name:"scrollTo",rawVars:1,register:function(t){Zn=t,kv()},init:function(t,n,r,o,i){D3||kv();var s=this,l=Zn.getProperty(t,"scrollSnapType");s.isWin=t===Ai,s.target=t,s.tween=r,n=yz(n,o,t,i),s.vars=n,s.autoKill=!!("autoKill"in n?n:wa).autoKill,s.getX=Dc(t,"x"),s.getY=Dc(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Hd||(Hd=Zn.core.globals().ScrollTrigger),Zn.getProperty(t,"scrollBehavior")==="smooth"&&Zn.set(t,{scrollBehavior:"auto"}),l&&l!=="none"&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),n.x!=null?(s.add(s,"x",s.x,f_(n.x,t,"x",s.x,n.offsetX||0),o,i),s._props.push("scrollTo_x")):s.skipX=1,n.y!=null?(s.add(s,"y",s.y,f_(n.y,t,"y",s.y,n.offsetY||0),o,i),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,n){for(var r=n._pt,o=n.target,i=n.tween,s=n.autoKill,l=n.xPrev,a=n.yPrev,u=n.isWin,c=n.snap,d=n.snapInline,p,f,m,h,g;r;)r.r(t,r.d),r=r._next;p=u||!n.skipX?n.getX():l,f=u||!n.skipY?n.getY():a,m=f-a,h=p-l,g=wa.autoKillThreshold,n.x<0&&(n.x=0),n.y<0&&(n.y=0),s&&(!n.skipX&&(h>g||h<-g)&&p<Fc(o,"x")&&(n.skipX=1),!n.skipY&&(m>g||m<-g)&&f<Fc(o,"y")&&(n.skipY=1),n.skipX&&n.skipY&&(i.kill(),n.vars.onAutoKill&&n.vars.onAutoKill.apply(i,n.vars.onAutoKillParam
vendor: 18,295 bytes, lines 92-113
92s||[]))),u?Ai.scrollTo(n.skipX?p:n.x,n.skipY?f:n.y):(n.skipY||(o.scrollTop=n.y),n.skipX||(o.scrollLeft=n.x)),c&&(t===1||t===0)&&(f=o.scrollTop,p=o.scrollLeft,d?o.style.scrollSnapType=d:o.style.removeProperty("scroll-snap-type"),o.scrollTop=f+1,o.scrollLeft=p+1,o.scrollTop=f,o.scrollLeft=p),n.xPrev=n.x,n.yPrev=n.y,Hd&&Hd.update()},kill:function(t){var n=t==="scrollTo",r=this._props.indexOf(t);return(n||t==="scrollTo_x")&&(this.skipX=1),(n||t==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};nu.max=Fc;nu.getOffset=H3;nu.buildGetter=Dc;nu.config=function(e){wa||kv()||(wa=Zn.config());for(var t in e)wa[t]=e[t]};z3()&&Zn.registerPlugin(nu);/*! 93 * paths 3.13.0 94 * https://gsap.com 95 * 96 * Copyright 2008-2025, GreenSock. All rights reserved. 97 * Subject to the terms at https://gsap.com/standard-license 98 * @author: Jack Doyle, [email protected] 99*/var bz=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,xz=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,_z=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,wz=/(^[#\.][a-z]|[a-y][a-z])/i,Sz=Math.PI/180,kz=180/Math.PI,Ud=Math.sin,Wd=Math.cos,ho=Math.abs,ki=Math.sqrt,Cz=Math.atan2,Cv=1e8,p_=function(t){return typeof t=="string"},U3=function(t){return typeof t=="number"},Tz=function(t){return typeof t>"u"},Ez={},Pz={},_p=1e5,W3=function(t){return Math.round((t+Cv)%1*_p)/_p||(t<0?0:1)},mt=function(t){return Math.round(t*_p)/_p||0},h_=function(t){return Math.round(t*1e10)/1e10||0},m_=function(t,n,r,o){var i=t[n],s=o===1?6:Tv(i,r,o);if((s||!o)&&s+r+2<i.length)return t.splice(n,0,i.slice(0,r+s+2)),i.splice(0,r+s),1},G3=function(t,n,r){var o=t.length,i=~~(r*o);if(t[i]>n){for(;--i&&t[i]>n;);i<0&&(i=0)}else for(;t[++i]<n&&i<o;);return i<o?i:o-1},Iz=function(t,n){var r=t.length;for(t.reverse();r--;)t[r].reversed||Mz(t[r])},g_=function(t,n){return n.totalLength=t.totalLength,t.samples?(n.samples=t.samples.slice(0),n.lookup=t.lookup.slice(0),n.minLength=t.minLength,n.resolution=t.resolution):t.totalPoints&&(n.totalPoints=t.totalPoints),n},Az=function(t,n){var r=t.length,o=t[r-1]||[],i=o.length;r&&n[0]===o[i-2]&&n[1]===o[i-1]&&(n=o.concat(n.slice(2)),r--),t[r]=n};function xf(e){e=p_(e)&&wz.test(e)&&document.querySelector(e)||e;var t=e.getAttribute?e:0,n;return t&&(e=e.getAttribute("d"))?(t._gsPath||(t._gsPath={}),n=t._gsPath[e],n&&!n._dirty?n:t._gsPath[e]=wp(e)):e?p_(e)?wp(e):U3(e[0])?[e]:e:console.warn("Expecting a <path> element or an SVG path data string")}function $z(e){for(var t=[],n=0;n<e.length;n++)t[n]=g_(e[n],e[n].slice(0));return g_(e,t)}function Mz(e){var t=0,n;for(e.reverse();t<e.length;t+=2)n=e[t],e[t]=e[t+1],e[t+1]=n;e.reversed=!e.reversed}var Oz=function(t,n){var r=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(t.attributes),i=o.length,s;for(n=","+n+",";--i>-1;)s=o[i].nodeName.toLowerCase(),n.indexOf(","+s+",")<0&&r.setAttributeNS(null,s,o[i].nodeValue);return r},Lz={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},qz=function(t,n){for(var r=n?n.split(","):[],o={},i=r.length;--i>-1;)o[r[i]]=+t.getAttribute(r[i])||0;return o};function Rz(e,t){var n=e.tagName.toLowerCase(),r=.552284749831,o,i,s,l,a,u,c,d,p,f,m,h,g,y,b,x,w,E,T,k,S,C;return n==="path"||!e.getBBox?e:(u=Oz(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),C=qz(e,Lz[n]),n==="rect"?(l=C.rx,a=C.ry||l,i=C.x,s=C.y,f=C.width-l*2,m=C.height-a*2,l||a?(h=i+l*(1-r),g=i+l,y=g+f,b=y+l*r,x=y+l,w=s+a*(1-r),E=s+a,T=E+m,k=T+a*r,S=T+a,o="M"+x+","+E+" V"+T+" C"+[x,k,b,S,y,S,y-(y-g)/3,S,g+(y-g)/3,S,g,S,h,S,i,k,i,T,i,T-(T-E)/3,i,E+(T-E)/3,i,E,i,w,h,s,g,s,g+(y-g)/3,s,y-(y-g)/3,s,y,s,b,s,x,w,x,E].join(",")+"z"):o="M"+(i+f)+","+s+" v"+m+" h"+-f+" v"+-m+" h"+f+"z"):n==="circle"||n==="ellipse"?(n==="circle"?(l=a=C.r,d=l*r):(l=C.rx,a=C.ry,d=a*r),i=C.cx,s=C.cy,c=l*r,o="M"+(i+l)+","+s+" C"+[i+l,s+d,i+c,s+a,i,s+a,i-c,s+a,i-l,s+d,i-l,s,i-l,s-d,i-c,s-a,i,s-a,i+c,s-a,i+l,s-d,i+l,s].join(",")+"z"):n==="line"?o="M"+C.x1+","+C.y1+" L"+C.x2+","+C.y2:(n==="polyline"||n==="polygon")&&(p=(e.getAttribute("points")+"").match(xz)||[],i=p.shift(),s=p.shift(),o="M"+i+","+s+" L"+p.join(","),n==="polygon"&&(o+=","+i+","+s+"z")),u.setAttribute("d",X3(u._gsRawPath=wp(o))),t&&e.parentNode&&(e.parentNode.insertBefore(u,e),e.parentNode.removeChild(e)),u)}function K3(e,t,n){var r=e[t],o=e[t+2],i=e[t+4],s;return r+=(o-r)*n,o+=(i-o)*n,r+=(o-r)*n,s=o+(i+(e[t+6]-i)*n-o)*n-r,r=e[t+1],o=e[t+3],i=e[t+5],r+=(o-r)*n,o+=(i-o)*n,r+=(o-r)*n,mt(Cz(o+(i+(e[t+7]-i)*n-o)*n-r,s)*kz)}function Y3(e,t,n){n=Tz(n)?1:h_(n)||0,t=h_(t)||0;var r=Math.max(0,~~(ho(n-t)-1e-8)),o=$z(e);if(t>n&&(t=1-t,n=1-n,Iz(o),o.totalLength=0),t<0||n<0){var i=Math.abs(~~Math.min(t,n))+1;t+=i,n+=i}o.totalLength||fl(o);var s=n>1,l=v_(o,t,Ez,!0),a=v_(o,n,Pz),u=a.segment,c=l.segment,d=a.segIndex,p=l.segIndex,f=a.i,m=l.i,h=p===d,g=f===m&&h,y,b,x,w,E,T,k,S;if(s||r){for(y=d<p||h&&f<m||g&&a.t<l.t,m_(o,p,m,l.t)&&(p++,y||(d++,g?(a.t=(a.t-l.t)/(1-l.t),f=0):h&&(f-=m))),Math.abs(1-(n-t))<1e-5?d=p-1:!a.t&&d?d--:m_(o,d,f,a.t)&&y&&p++,l.t===1&&(p=(p+1)%o.length),E=[],T=o.length,k=1+T*r,S=p,k+=(T-p+d)%T,w=0;w<k;w++)Az(E,o[S++%T]);o=E}else if(x=a.t===1?6:Tv(u,f,a.t),t!==n)for(b=Tv(c,m,g?l.t/a.t:l.t),h&&(x+=b),u.splice(f+x+2),(b||m)&&c.splice(0,m+b),w=o.length;w--;)(w<p||w>d)&&o.splice(w,1);else u.angle=K3(u,f+x,0),f+=x,l=u[f],a=u[f+1],u.length=u.totalLength=0,u.totalPoints=o.totalPoints=8,u.push(l,a,l,a,l,a,l,a);return o.totalLength=0,o}function Bz(e,t,n){t=t||0,e.samples||(e.samples=[],e.lookup=[]);var r=~~e.resolution||12,o=1/r,i=e.length,s=e[t],l=e[t+1],a=t?t/6*r:0,u=e.samples,c=e.lookup,d=(t?e.minLength:Cv)||Cv,p=u[a+n*r-1],f=t?u[a-1]:0,m,h,g,y,b,x,w,E,T,k,S,C,A,M,I,$,F;for(u.length=c.length=0,h=t+2;h<i;h+=6){if(g=e[h+4]-s,y=e[h+2]-s,b=e[h]-s,E=e[h+5]-l,T=e[h+3]-l,k=e[h+1]-l,x=w=S=C=0,ho(g)<.01&&ho(E)<.01&&ho(b)+ho(k)<.01)e.length>8&&(e.splice(h,6),h-=6,i-=6);else for(m=1;m<=r;m++)M=o*m,A=1-M,x=w-(w=(M*M*g+3*A*(M*y+A*b))*M),S=C-(C=(M*M*E+3*A*(M*T+A*k))*M),$=ki(S*S+x*x),$<d&&(d=$),f+=$,u[a++]=f;s+=g,l+=E}if(p)for(p-=f;a<u.length;a++)u[a]+=p;if(u.length&&d){if(e.totalLength=F=u[u.length-1]||0,e.minLength=d,F/d<9999)for($=I=0,m=0;m<F;m+=d)c[$++]=u[I]<m?++I:I}else e.totalLength=u[0]=0;return t?f-u[t/2-1]:f}function fl(e,t){var n,r,o;for(o=n=r=0;o<e.length;o++)e[o].resolution=~~t||12,r+=e[o].length,n+=Bz(e[o]);return e.totalPoints=r,e.totalLength=n,e}function Tv(e,t,n){if(n<=0||n>=1)return 0;var r=e[t],o=e[t+1],i=e[t+2],s=e[t+3],l=e[t+4],a=e[t+5],u=e[t+6],c=e[t+7],d=r+(i-r)*n,p=i+(l-i)*n,f=o+(s-o)*n,m=s+(a-s)*n,h=d+(p-d)*n,g=f+(m-f)*n,y=l+(u-l)*n,b=a+(c-a)*n;return p+=(y-p)*n,m+=(b-m)*n,e.splice(t+2,4,mt(d),mt(f),mt(h),mt(g),mt(h+(p-h)*n),mt(g+(m-g)*n),mt(p),mt(m),mt(y),mt(b)),e.samples&&e.samples.splice(t/6*e.resolution|0,0,0,0,0,0,0,0),6}function v_(e,t,n,r){n=n||{},e.totalLength||fl(e),(t<0||t>1)&&(t=W3(t));var o=0,i=e[0],s,l,a,u,c,d,p;if(!t)p=d=o=0,i=e[0];else if(t===1)p=1,o=e.length-1,i=e[o],d=i.length-8;else{if(e.length>1){for(a=e.totalLength*t,c=d=0;(c+=e[d++].totalLength)<a;)o=d;i=e[o],u=c-i.totalLength,t=(a-u)/(c-u)||0}s=i.samples,l=i.resolution,a=i.totalLength*t,d=i.lookup.length?i.lookup[~~(a/i.minLength)]||0:G3(s,a,t),u=d?s[d-1]:0,c=s[d],c<a&&(u=c,c=s[++d]),p=1/l*((a-u)/(c-u)+d%l),d=~~(d/l)*6,r&&p===1&&(d+6<i.length?(d+=6,p=0):o+1<e.length&&(d=p=0,i=e[++o]))}return n.t=p,n.i=d,n.path=e,n.segment=i,n.segIndex=o,n}function y_(e,t,n,r){var o=e[0],i=r||{},s,l,a,u,c,d,p,f,m;if((t<0||t>1)&&(t=W3(t)),o.lookup||fl(e),e.length>1){for(a=e.totalLength*t,c=d=0;(c+=e[d++].totalLength)<a;)o=e[d];u=c-o.totalLength,t=(a-u)/(c-u)||0}return s=o.samples,l=o.resolution,a=o.totalLength*t,d=o.lookup.length?o.lookup[t<1?~~(a/o.minLength):o.lookup.length-1]||0:G3(s,a,t),u=d?s[d-1]:0,c=s[d],c<a&&(u=c,c=s[++d]),p=1/l*((a-u)/(c-u)+d%l)||0,m=1-p,d=~~(d/l)*6,f=o[d],i.x=mt((p*p*(o[d+6]-f)+3*m*(p*(o[d+4]-f)+m*(o[d+2]-f)))*p+f),i.y=mt((p*p*(o[d+7]-(f=o[d+1]))+3*m*(p*(o[d+5]-f)+m*(o[d+3]-f)))*p+f),n&&(i.angle=o.totalLength?K3(o,d,p>=1?1-1e-9:p||1e-9):o.angle||0),i}function Mu(e,t,n,r,o,i,s){for(var l=e.length,a,u,c,d,p;--l>-1;)for(a=e[l],u=a.length,c=0;c<u;c+=2)d=a[c],p=a[c+1],a[c]=d*t+p*r+i,a[c+1]=d*n+p*o+s;return e._dirty=1,e}function Fz(e,t,n,r,o,i,s,l,a){if(!(e===l&&t===a)){n=ho(n),r=ho(r);var u=o%360*Sz,c=Wd(u),d=Ud(u),p=Math.PI,f=p*2,m=(e-l)/2,h=(t-a)/2,g=c*m+d*h,y=-d*m+c*h,b=g*g,x=y*y,w=b/(n*n)+x/(r*r);w>1&&(n=ki(w)*n,r=ki(w)*r);var E=n*n,T=r*r,k=(E*T-E*x-T*b)/(E*x+T*b);k<0&&(k=0);var S=(i===s?-1:1)*ki(k),C=S*(n*y/r),A=S*-(r*g/n),M=(e+l)/2,I=(t+a)/2,$=M+(c*C-d*A),F=I+(d*C+c*A),q=(g-C)/n,O=(y-A)/r,L=(-g-C)/n,N=(-y-A)/r,Z=q*q+O*O,H=(O<0?-1:1)*Math.acos(q/ki(Z)),G=(q*N-O*L<0?-1:1)*Math.acos((q*L+O*N)/ki(Z*(L*L+N*N)));isNaN(G)&&(G=p),!s&&G>0?G-=f:s&&G<0&&(G+=f),H%=f,G%=f;var oe=Math.ceil(ho(G)/(f/4)),ce=[],ee=G/oe,ge=4/3*Ud(ee/2)/(1+Wd(ee/2)),xe=c*n,ie=d*n,Q=d*-r,Y=c*r,J;for(J=0;J<oe;J++)o=H+J*ee,g=Wd(o),y=Ud(o),q=Wd(o+=ee),O=Ud(o),ce.push(g-ge*y,y+ge*g,q+ge*O,O-ge*q,q,O);for(J=0;J<ce.length;J+=2)g=ce[J],y=ce[J+1],ce[J]=g*xe+y*Q+$,ce[J+1]=g*ie+y*Y+F;return ce[J-2]=l,ce[J-1]=a,ce}}function wp(e){var t=(e+"").replace(_z,function(C){var A=+C;return A<1e-4&&A>-1e-4?0:A}).match(bz)||[],n=[],r=0,o=0,i=2/3,s=t.length,l=0,a="ERROR: malformed path: "+e,u,c,d,p,f,m,h,g,y,b,x,w,E,T,k,S=function(A,M,I,$){b=(I-A)/3,x=($-M)/3,h.push(A+b,M+x,I-b,$-x,I,$)};if(!e||!isNaN(t[0])||isNaN(t[1]))return console.log(a),n;for(u=0;u<s;u++)if(E=f,isNaN(t[u])?(f=t[u].toUpperCase(),m=f!==t[u]):u--,d=+t[u+1],p=+t[u+2],m&&(d+=r,p+=o),u||(g=d,y=p),f==="M")h&&(h.length<8?n.length-=1:l+=h.length),r=g=d,o=y=p,h=[d,p],n.push(h),u+=2,f="L";else if(f==="C")h||(h=[0,0]),m||(r=o=0),h.push(d,p,r+t[u+3]*1,o+t[u+4]*1,r+=t[u+5]*1,o+=t[u+6]*1),u+=6;else if(f==="S")b=r,x=o,(E==="C"||E==="S")&&(b+=r-h[h.length-4],x+=o-h[h.length-3]),m||(r=o=0),h.push(b,x,d,p,r+=t[u+3]*1,o+=t[u+4]*1),u+=4;else if(f==="Q")b=r+(d-r)*i,x=o+(p-o)*i,m||(r=o=0),r+=t[u+3]*1,o+=t[u+4]*1,h.push(b,x,r+(d-r)*i,o+(p-o)*i,r,o),u+=4;else if(f==="T")b=r-h[h.length-4],x=o-h[h.length-3],h.push(r+b,o+x,d+(r+b*1.5-d)*i,p+(o+x*1.5-p)*i,r=d,o=p),u+=2;else if(f==="H")S(r,o,r=d,o),u+=1;else if(f==="V")S(r,o,r,o=d+(m?o-r:0)),u+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,p=y,h.closed=!0),(f==="L"||ho(r-d)>.5||ho(o-p)>.5)&&(S(r,o,d,p),f==="L"&&(u+=2)),r=d,o=p;else if(f==="A"){if(T=t[u+4],k=t[u+5],b=t[u+6],x=t[u+7],c=7,T.length>1&&(T.length<3?(x=b,b=k,c--):(x=k,b=T.substr(2),c-=2),k=T.charAt(1),T=T.charAt(0)),w=Fz(r,o,+t[u+1],+t[u+2],+t[u+3],+T,+k,(m?r:0)+b*1,(m?o:0)+x*1),u+=c,w)for(c=0;c<w.length;c++)h.push(w[c]);r=h[h.length-2],o=h[h.length-1]}else console.log(a);return u=h.length,u<6?(n.pop(),u=0):h[0]===h[u-2]&&h[1]===h[u-1]&&(h.closed=!0),n.totalPoints=l+u,n}function Dz(e,t){t===void 0&&(t=1);for(var n=e[0],r=0,o=[n,r],i=2;i<e.length;i+=2)o.push(n,r,e[i],r=(e[i]-n)*t/2,n=e[i],-r);return o}function Ev(e,t){ho(e[0]-e[2])<1e-4&&ho(e[1]-e[3])<1e-4&&(e=e.slice(2));var n=e.length-2,r=+e[0],o=+e[1],i=+e[2],s=+e[3],l=[r,o,r,o],a=i-r,u=s-o,c=Math.abs(e[n]-r)<.001&&Math.abs(e[n+1]-o)<.001,d,p,f,m,h,g,y,b,x,w,E,T,k,S,C;for(c&&(e.push(i,s),i=r,s=o,r=e[n-2],o=e[n-1],e.unshift(r,o),n+=4),t=t||t===0?+t:1,f=2;f<n;f+=2)d=r,p=o,r=i,o=s,i=+e[f+2],s=+e[f+3],!(r===i&&o===s)&&(m=a,h=u,a=i-r,u=s-o,g=ki(m*m+h*h),y=ki(a*a+u*u),b=ki(Math.pow(a/y+m/g,2)+Math.pow(u/y+h/g,2)),x=(g+y)*t*.25/b,w=r-(r-d)*(g?x/g:0),E=r+(i-r)*(y?x/y:0),T=r-(w+((E-w)*(g*3/(g+y)+.5)/4||0)),k=o-(o-p)*(g?x/g:0),S=o+(s-o)*(y?x/y:0),C=o-(k+((S-k)*(g*3/(g+y)+.5)/4||0)),(r!==d||o!==p)&&l.push(mt(w+T),mt(k+C),mt(r),mt(o),mt(E+T),mt(S+C)));return r!==i||o!==s||l.length<4?l.push(mt(i),mt(s),mt(i),mt(s)):l.length-=2,l.length===2?l.push(r,o,r,o,r,o):c&&(l.splice(0,6),l.length=l.length-6),l}function X3(e){U3(e[0])&&(e=[e]);var t="",n=e.length,r,o,i,s;for(o=0;o<n;o++){for(s=e[o],t+="M"+mt(s[0])+","+mt(s[1])+" C",r=s.length,i=2;i<r;i++)t+=mt(s[i++])+","+mt(s[i++])+" "+mt(s[i++])+","+mt(s[i++])+" "+mt(s[i++])+","+mt(s[i])+" ";s.closed&&(t+="z")}return t}/*! 100 * matrix 3.13.0 101 * https://gsap.com 102 * 103 * Copyright 2008-2025, GreenSock. All rights reserved. 104 * Subject to the terms at https://gsap.com/standard-license 105 * @author: Jack Doyle, [email protected] 106*/var Ei,pl,Dy,wh,Ou,_f,Sp,tc,To="transform",Pv=To+"Origin",Q3,J3=function(t){var n=t.ownerDocument||t;for(!(To in t.style)&&("msTransform"in t.style)&&(To="msTransform",Pv=To+"Origin");n.parentNode&&(n=n.parentNode););if(pl=window,Sp=new Nc,n){Ei=n,Dy=n.documentElement,wh=n.body,tc=Ei.createElementNS("http://www.w3.org/2000/svg","g"),tc.style.transform="none";var r=n.createElement("div"),o=n.createElement("div"),i=n&&(n.body||n.firstElementChild);i&&i.appendChild&&(i.appendChild(r),r.appendChild(o),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),Q3=o.offsetParent!==r,i.removeChild(r))}return n},Nz=function(t){for(var n,r;t&&t!==wh;)r=t._gsap,r&&r.uncache&&r.get(t,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),n?n.push(r):n=[r]),t=t.parentNode;return n},Z3=[],e5=[],Vz=function(){return pl.pageYOffset||Ei.scrollTop||Dy.scrollTop||wh.scrollTop||0},zz=function(){return pl.pageXOffset||Ei.scrollLeft||Dy.scrollLeft||wh.scrollLeft||0},Ny=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},jz=function e(t){if(pl.getComputedStyle(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return e(t)},Lm=function e(t,n){if(t.parentNode&&(Ei||J3(t))){var r=Ny(t),o=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i=r?n?"rect":"g":"div",s=n!==2?0:100,l=n===3?100:0,a="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=Ei.createElementNS?Ei.createElementNS(o.replace(/^https/,"http"),i):Ei.createElement(i);return n&&(r?(_f||(_f=e(t)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+s+","+l+")"),_f.appendChild(u)):(Ou||(Ou=e(t),Ou.style.cssText=a),u.style.cssText=a+"width:0.1px;height:0.1px;top:"+l+"px;left:"+s+"px",Ou.appendChild(u))),u}throw"Need document and parent."},Hz=function(t){for(var n=new Nc,r=0;r<t.numberOfItems;r++)n.multiply(t.getItem(r).matrix);return n},Uz=function(t){var n=t.getCTM(),r;return n||(r=t.style[To],t.style[To]="none",t.appendChild(tc),n=tc.getCTM(),t.removeChild(tc),r?t.style[To]=r:t.style.removeProperty(To.replace(/([A-Z])/g,"-$1").toLowerCase())),n||Sp.clone()},Wz=function(t,n){var r=Ny(t),o=t===r,i=r?Z3:e5,s=t.parentNode,l=s&&!r&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,a,u,c,d,p,f;if(t===pl)return t;if(i.length||i.push(Lm(t,1),Lm(t,2),Lm(t,3)),a=r?_f:Ou,r)o?(c=Uz(t),d=-c.e/c.a,p=-c.f/c.d,u=Sp):t.getBBox?(c=t.getBBox(),u=t.transform?t.transform.baseVal:{},u=u.numberOfItems?u.numberOfItems>1?Hz(u):u.getItem(0).matrix:Sp,d=u.a*c.x+u.c*c.y,p=u.b*c.x+u.d*c.y):(u=new Nc,d=p=0),n&&t.tagName.toLowerCase()==="g"&&(d=p=0),(o?r:s).appendChild(a),a.setAttribute("transform","matrix("+u.a+","+u.b+","+u.c+","+u.d+","+(u.e+d)+","+(u.f+p)+")");else{if(d=p=0,Q3)for(u=t.offsetParent,c=t;c&&(c=c.parentNode)&&c!==u&&c.parentNode;)(pl.getComputedStyle(c)[To]+"").length>4&&(d=c.offsetLeft,p=c.offsetTop,c=0);if(f=pl.getComputedStyle(t),f.position!=="absolute"&&f.position!=="fixed")for(u=t.offsetParent;s&&s!==u;)d+=s.scrollLeft||0,p+=s.scrollTop||0,s=s.parentNode;c=a.style,c.top=t.offsetTop-p+"px",c.left=t.offsetLeft-d+"px",c[To]=f[To],c[Pv]=f[Pv],c.position=f.position==="fixed"?"fixed":"absolute",l.appendChild(a)}return a},qm=function(t,n,r,o,i,s,l){return t.a=n,t.b=r,t.c=o,t.d=i,t.e=s,t.f=l,t},Nc=(function(){function e(n,r,o,i,s,l){n===void 0&&(n=1),r===void 0&&(r=0),o===void 0&&(o=0),i===void 0&&(i=1),s===void 0&&(s=0),l===void 0&&(l=0),qm(this,n,r,o,i,s,l)}var t=e.prototype;return t.inverse=function(){var r=this.a,o=this.b,i=this.c,s=this.d,l=this.e,a=this.f,u=r*s-o*i||1e-10;return qm(this,s/u,-o/u,-i/u,r/u,(i*a-s*l)/u,-(r*a-o*l)/u)},t.multiply=function(r){var o=this.a,i=this.b,s=this.c,l=this.d,a=this.e,u=this.f,c=r.a,d=r.c,p=r.b,f=r.d,m=r.e,h=r.f;return qm(this,c*o+p*s,c*i+p*l,d*o+f*s,d*i+f*l,a+m*o+h*s,u+m*i+h*l)},t.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(r){var o=this.a,i=this.b,s=this.c,l=this.d,a=this.e,u=this.f;return o===r.a&&i===r.b&&s===r.c&&l===r.d&&a===r.e&&u===r.f},t.apply=function(r,o){o===void 0&&(o={});var i=r.x,s=r.y,l=this.a,a=this.b,u=this.c,c=this.d,d=this.e,p=this.f;return o.x=i*l+s*u+d||0,o.y=i*a+s*c+p||0,o},e})();function Sa(e,t,n,r){if(!e||!e.parentNode||(Ei||J3(e)).documentElement===e)return new Nc;var o=Nz(e),i=Ny(e),s=i?Z3:e5,l=Wz(e,n),a=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),d=l.parentNode,p=!r&&jz(e),f=new Nc((u.left-a.left)/100,(u.top-a.top)/100,(c.left-a.left)/100,(c.top-a.top)/100,a.left+(p?0:zz()),a.top+(p?0:Vz()));if(d.removeChild(l),o)for(a=o.length;a--;)u=o[a],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return t?f.inverse():f}/*! 107 * MotionPathPlugin 3.13.0 108 * https://gsap.com 109 * 110 * @license Copyright 2008-2025, GreenSock. All rights reserved. 111 * Subject to the terms at https://gsap.com/standard-license 112 * @author: Jack Doyle, [email protected] 113*/var Gz="x,translateX,left,marginLeft,xPercent".split(","),Kz="y,translateY,top,marginTop,yPercent".split(","),Yz=Math.PI/180,ao,t5,ea,Iv,Rm,b_,Xz=function(){return ao||typeof window<"u"&&(ao=window.gsap)&&ao.registerPlugin&&ao},bu=function(t,n,r,o){for(var i=n.length,s=o===2?0:o,l=0;l<i;l++)t[s]=parseFloat(n[l][r]),o===2&&(t[s+1]=0),s+=2;return t},sa=function(t,n,r){return parseFloat(t._gsap.get(t,n,r||"px"))||0},n5=function(t){var n=t[0],r=t[1],o;for(o=2;o<t.length;o+=2)n=t[o]+=n,r=t[o+1]+=r},x_=function(t,n,r,o,i,s,l,a,u){if(l.type==="cubic")n=[n];else{l.fromCurrent!==!1&&n.unshift(sa(r,o,a),i?sa(r,i,u):0),l.relative&&n5(n);var c=i?Ev:Dz;n=[c(n,l.curviness)]}return n=s(r5(n,r,l)),kp(t,r,o,n,"x",a),i&&kp(t,r,i,n,"y",u),fl(n,l.resolution||(l.curviness===0?20:12))},Qz=function(t){return t},Jz=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,__=function(t,n,r){var o=Sa(t),i=0,s=0,l;return(t.tagName+"").toLowerCase()==="svg"?(l=t.viewBox.baseVal,l.width||(l={width:+t.getAttribute("width"),height:+t.getAttribute("height")})):l=n&&t.getBBox&&t.getBBox(),n&&n!=="auto"&&(i=n.push?n[0]*(l?l.width:t.offsetWidth||0):n.x,s=n.push?n[1]*(l?l.height:t.offsetHeight||0):n.y),r.apply(i||s?o.apply({x:i,y:s}):{x:o.e,y:o.f})}
113,Av=function(t,n,r,o){var i=Sa(t.parentNode,!0,!0),s=i.clone().multiply(Sa(n)),l=__(t,r,i),a=__(n,o,i),u=a.x,c=a.y,d;return s.e=s.f=0,o==="auto"&&n.getTotalLength&&n.tagName.toLowerCase()==="path"&&(d=n.getAttribute("d").match(Jz)||[],d=s.apply({x:+d[0],y:+d[1]}),u+=d.x,c+=d.y),d&&(d=s.apply(n.getBBox()),u-=d.x,c-=d.y),s.e=u-l.x,s.f=c-l.y,s},r5=function(t,n,r){var o=r.align,i=r.matrix,s=r.offsetX,l=r.offsetY,a=r.alignOrigin,u=t[0][0],c=t[0][1],d=sa(n,"x"),p=sa(n,"y"),f,m,h;return!t||!t.length?xf("M0,0L0,0"):(o&&(o==="self"||(f=Iv(o)[0]||n)===n?Mu(t,1,0,0,1,d-u,p-c):(a&&a[2]!==!1?ao.set(n,{transformOrigin:a[0]*100+"% "+a[1]*100+"%"}):a=[sa(n,"xPercent")/-100,sa(n,"yPercent")/-100],m=Av(n,f,a,"auto"),h=m.apply({x:u,y:c}),Mu(t,m.a,m.b,m.c,m.d,d+m.e-(h.x-m.e),p+m.f-(h.y-m.f)))),i?Mu(t,i.a,i.b,i.c,i.d,i.e,i.f):(s||l)&&Mu(t,1,0,0,1,s||0,l||0),t)},kp=function(t,n,r,o,i,s){var l=n._gsap,a=l.harness,u=a&&a.aliases&&a.aliases[r],c=u&&u.indexOf(",")<0?u:r,d=t._pt=new t5(t._pt,n,c,0,0,Qz,0,l.set(n,c,t));d.u=ea(l.get(n,c,s))||0,d.path=o,d.pp=i,t._props.push(c)},Zz=function(t,n){return function(r){return t||n!==1?Y3(r,t,n):r}},o5={version:"3.13.0",name:"motionPath",register:function(t,n,r){ao=t,ea=ao.utils.getUnit,Iv=ao.utils.toArray,Rm=ao.core.getStyleSaver,b_=ao.core.reverting||function(){},t5=r},init:function(t,n,r){if(!ao)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;(!(typeof n=="object"&&!n.style)||!n.path)&&(n={path:n});var o=[],i=n,s=i.path,l=i.autoRotate,a=i.unitX,u=i.unitY,c=i.x,d=i.y,p=s[0],f=Zz(n.start,"end"in n?n.end:1),m,h;if(this.rawPaths=o,this.target=t,this.tween=r,this.styles=Rm&&Rm(t,"transform"),(this.rotate=l||l===0)&&(this.rOffset=parseFloat(l)||0,this.radians=!!n.useRadians,this.rProp=n.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=ea(t._gsap.get(t,this.rProp))||0),Array.isArray(s)&&!("closed"in s)&&typeof p!="number"){for(h in p)!c&&~Gz.indexOf(h)?c=h:!d&&~Kz.indexOf(h)&&(d=h);c&&d?o.push(x_(this,bu(bu([],s,c,0),s,d,1),t,c,d,f,n,a||ea(s[0][c]),u||ea(s[0][d]))):c=d=0;for(h in p)h!==c&&h!==d&&o.push(x_(this,bu([],s,h,2),t,h,0,f,n,ea(s[0][h])))}else m=f(r5(xf(n.path),t,n)),fl(m,n.resolution),o.push(m),kp(this,t,n.x||"x",m,"x",n.unitX||"px"),kp(this,t,n.y||"y",m,"y",n.unitY||"px");r.vars.immediateRender&&this.render(r.progress(),this)},render:function(t,n){var r=n.rawPaths,o=r.length,i=n._pt;if(n.tween._time||!b_()){for(t>1?t=1:t<0&&(t=0);o--;)y_(r[o],t,!o&&n.rotate,r[o]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;n.rotate&&n.rSet(n.target,n.rProp,r[0].angle*(n.radians?Yz:1)+n.rOffset+n.ru,n,t)}else n.styles.revert()},getLength:function(t){return fl(xf(t)).totalLength},sliceRawPath:Y3,getRawPath:xf,pointsToSegment:Ev,stringToRawPath:wp,rawPathToString:X3,transformRawPath:Mu,getGlobalMatrix:Sa,getPositionOnPath:y_,cacheRawPathMeasurements:fl,convertToPath:function(t,n){return Iv(t).map(function(r){return Rz(r,n!==!1)})},convertCoordinates:function(t,n,r){var o=Sa(n,!0,!0).multiply(Sa(t));return r?o.apply(r):o},getAlignMatrix:Av,getRelativePosition:function(t,n,r,o){var i=Av(t,n,r,o);return{x:i.e,y:i.f}},arrayToRawPath:function(t,n){n=n||{};var r=bu(bu([],t,n.x||"x",0),t,n.y||"y",1);return n.relative&&n5(r),[n.type==="cubic"?r:Ev(r,n.curviness)]}};Xz()&&ao.registerPlugin(o5);et.registerPlugin(De,o5);const Cp=2.75,ej=3.4,w_=1/ej*Cp,tj="-32vh",S_="115svh",i5=.5,s5=.2,l5=1,a5=.5,$v=i5+s5+l5+a5;function nj({animationContainer:e,video1Container:t,title1Container:n,title2Container:r,description1:o,description2:i,photons:s}){t&&et.set(t,{x:"0%"}),et.set(n,{opacity:1,x:"0%",y:0,yPercent:0}),o&&(et.set(o,{opacity:1,x:"100vw",y:0}),o.classList.remove("hidden")),r&&(et.set(r,{opacity:1,x:"100vw",y:0,yPercent:0}),r.classList.remove("hidden")),i&&i.classList.remove("hidden");for(const w of s)et.set(w,{autoAlpha:0}),w.classList.remove("hidden");const l=1,a=.35,u=1,c=s.length,d=c>0?(c-1)*.08:0,p=l+a,f=u+d,m=w_*(p+f)/(Cp-w_),h=p+m,g=Math.round(Cp*100),y=et.timeline({scrollTrigger:{trigger:e,start:"top top",end:`+=${g}%`,scrub:1,pin:e,pinSpacing:!0,markers:!1,anticipatePin:1}});o&&y.to(o,{x:"0",ease:"none",duration:l},0);const b=[n];o&&b.push(o),t&&b.push(t),y.to(b,{x:"-100vw",ease:"none",duration:u},h),r&&y.to(r,{x:"0",ease:"none",duration:u},h);let x=0;for(const w of s){const E=`#intro-photon-path-${x+1}`;y.fromTo(w,{autoAlpha:0},{autoAlpha:1,ease:"none",motionPath:{path:E,align:E,alignOrigin:[.5,.5],start:1,end:0},duration:u},h+x*.08),x++}return y}function rj({animationContainer:e,video1MobileContainer:t,title1Container:n,title2Container:r,description1:o,description2:i}){t&&t.classList.remove("hidden"),et.set(n,{opacity:1,x:0,y:0,yPercent:0}),n.classList.remove("hidden"),o&&(et.set(o,{opacity:1,x:0,y:0}),o.classList.remove("hidden")),r&&(r.classList.remove("hidden"),et.set(r,{x:0,y:S_,yPercent:0,autoAlpha:0})),i&&i.classList.remove("hidden");const s=$v,l=i5/s,a=s5/s,u=l5/s,c=a5/s,d=l+a,p=Math.round($v*100),f=et.timeline({scrollTrigger:{trigger:e,start:"top top",end:`+=${p}%`,scrub:1,pin:e,pinSpacing:!0,markers:!1,anticipatePin:1}});f.to(n,{yPercent:-100,y:tj,ease:"none",duration:l},0),r&&f.fromTo(r,{autoAlpha:0,y:S_},{autoAlpha:1,y:0,ease:"none",duration:u,immediateRender:!1},d);const m=r==null?d:d+u;return f.to(n,{x:"+=0",duration:c,ease:"none"},m),f}const oj={init:function(){const e=document.querySelector(".animation-container"),t=document.querySelector(".js-intro-animation"),n=document.querySelector(".js-intro-video-1"),r=document.querySelector(".js-intro-video-1-mobile"),o=document.querySelector(".js-intro-title-1"),i=document.querySelector(".js-intro-title-2"),s=document.querySelector(".js-intro-description-1"),l=document.querySelector(".js-intro-description-2"),a=document.querySelectorAll(".js-photon");!e||!t||!o||(De.matchMedia({"(min-width: 1024px)":function(){const u=nj({animationContainer:e,video1Container:n,title1Container:o,title2Container:i,description1:s,description2:l,photons:a});return()=>{u.scrollTrigger?.kill(),u.kill()}},"(max-width: 1023px)":function(){const u=rj({animationContainer:e,video1MobileContainer:r,title1Container:o,title2Container:i,description1:s,description2:l});return()=>{u.scrollTrigger?.kill(),u.kill()}}}),globalThis.requestAnimationFrame(()=>{De.refresh()}))}};et.registerPlugin(nu,De);function ij(e,t){const{start:n,pinnedContainer:r,containerAnimation:o}=t??{},i=et.utils.toArray(e).map(u=>{const c={trigger:u,start:n??"top top",refreshPriority:-10};return r!=null&&(c.pinnedContainer=r),o!=null&&(c.containerAnimation=o),De.create(c)}),s=o?.scrollTrigger??null;return{getPosition:u=>{const c=et.utils.toArray(u)[0];if(!c)return;let d=i.length;for(;d--&&i[d].trigger!==c;);if(!(d<0))return o&&s?s.start+i[d].start/o.duration()*(s.end-s.start):i[d].start},dispose:()=>{for(const u of i)u.kill(!1)}}}const sj=1.75,Ci=V(60);let Tp=!1,k_=!1;function Sh(){if(globalThis.window===void 0)return!1;const e=globalThis.document.activeElement;if(e instanceof globalThis.HTMLInputElement){const n=e.type.toLowerCase();if(n!=="checkbox"&&n!=="radio"&&n!=="button")return!0}else if(e instanceof globalThis.HTMLTextAreaElement||e instanceof globalThis.HTMLSelectElement||e instanceof globalThis.HTMLElement&&e.isContentEditable)return!0;
113const t=globalThis.visualViewport;return!!(t&&t.height<globalThis.window.innerHeight*.85)}function lj(){if(k_||globalThis.window===void 0)return;const e=globalThis.visualViewport;e&&(k_=!0,e.addEventListener("resize",()=>{Tp&&!Sh()&&(Tp=!1,ka())}))}const Ao=V(0);function aj(){const e=globalThis.document.querySelector("#site-header-shell");if(!(e instanceof globalThis.HTMLElement))return Ci.value||60;const t=e.getBoundingClientRect().height;return t>0?Math.ceil(t):Ci.value||60}function uj(e,t){const n=aj(),r=.55;et.killTweensOf(globalThis.window);const o=globalThis.document.querySelector(".animation-container"),i=o instanceof globalThis.Element?o:void 0,s={start:`top top+=${n}`};i!=null&&(s.pinnedContainer=i);const{getPosition:l,dispose:a}=ij([e],s);De.refresh();const u=l(e);a(),De.refresh();const c=u!=null&&Number.isFinite(u)&&u>=0?Math.max(0,Math.round(u)):e,d=typeof c=="number"?{y:c,autoKill:!0}:{y:c,offsetY:n,autoKill:!0};et.to(globalThis.window,{scrollTo:d,duration:r,ease:"power2.inOut",overwrite:!0,onComplete:()=>{De.refresh(),ka()}})}function cj(e,t){if(!(t instanceof globalThis.Element)||!e.pin)return!1;const n=e.trigger;return!n||typeof n=="string"||!(n instanceof globalThis.Element)?!1:n===t||t.contains(n)}function dj(e){if(!(e instanceof globalThis.Element))return;const t=document.querySelector(".js-intro-animation"),n=document.querySelector(".js-hero-animation"),r=window.innerHeight,o=window.pageYOffset||document.documentElement.scrollTop,i=e.getBoundingClientRect().top+o;if(t){const s=window.innerWidth>=1024?Cp:$v;Ao.value=Math.round(i+r*s+r*.5);return}if(n&&window.innerWidth>=1024){Ao.value=Math.round(i+r*sj+r*.5);return}Ao.value=0}function ka(){if(lj(),Sh()){Tp=!0;return}Tp=!1;const e=document.querySelector(".animation-container");if(!e){Ao.value=0;return}const t=document.querySelector(".js-intro-animation"),n=document.querySelector(".js-hero-animation");if(!(t||n&&window.innerWidth>=1024)){Ao.value=0;return}De.refresh();const i=De.getAll().filter(s=>cj(s,e)).map(s=>Number(s.end)).filter(s=>Number.isFinite(s)&&s>=0);if(i.length>0){Ao.value=Math.round(Math.max(...i));return}dj(e)}const fj="data:image/svg+xml,%3csvg%20width='173'%20height='40'%20viewBox='0%200%20173%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3842_421)'%3e%3cpath%20d='M34.8246%2019.9987C34.8246%2011.7804%2028.1744%205.12002%2019.9684%205.12002C11.7625%205.12002%205.11227%2011.7829%205.11227%2019.9987H0C0%208.95307%208.93951%200%2019.9684%200C30.9974%200%2039.9369%208.95307%2039.9369%2019.9987H34.8246Z'%20fill='%23939B9D'/%3e%3cpath%20d='M8.48682%2019.9988C8.48682%2013.6475%2013.6269%208.49707%2019.9711%208.49707C26.3152%208.49707%2031.4553%2013.645%2031.4553%2019.9988H8.48682Z'%20fill='%23EF767F'/%3e%3cpath%20d='M5.11227%2019.9988C5.11227%2028.2172%2011.7625%2034.8775%2019.9684%2034.8775C28.1744%2034.8775%2034.8246%2028.2172%2034.8246%2019.9988H39.9369C39.9369%2031.0444%2030.9974%2039.9975%2019.9684%2039.9975C8.93951%2039.9975%200%2031.0444%200%2019.9988H5.11227Z'%20fill='white'/%3e%3cpath%20d='M31.4526%2019.9988C31.4526%2026.35%2026.3126%2031.5005%2019.9684%2031.5005C13.6242%2031.5005%208.48413%2026.3526%208.48413%2019.9988H31.4526Z'%20fill='%23E70038'/%3e%3cpath%20d='M111.82%2029.0733H115.9V14.448H121.44V10.9265H106.28V14.4505H111.82V29.0733Z'%20fill='white'/%3e%3cpath%20d='M54.9853%2029.0733H59.0655V14.448H64.6053V10.9265H49.4456V14.4505H54.9853V29.0733Z'%20fill='white'/%3e%3cpath%20d='M125.674%2029.0733H129.755V10.9265H125.674V29.0733Z'%20fill='white'/%3e%3cpath%20d='M102.392%2012.7329C101.244%2011.5321%2099.6904%2010.9241%2097.7755%2010.9241H89.1926V29.0734H93.2071V23.9458H97.7755C99.4753%2023.9458%20101.028%2023.2238%20102.389%2021.7975C103.376%2020.779%20103.963%2019.1475%20103.963%2017.4349C103.965%2015.9048%20103.48%2013.8578%20102.392%2012.7329ZM99.3261%2019.373C98.8126%2019.9101%2098.1296%2020.323%2097.2771%2020.323H93.2071V14.5468H97.2771C98.1296%2014.5468%2098.8126%2014.8154%2099.3261%2015.3525C99.7941%2015.8364%20100.027%2016.7256%20100.027%2017.4349C100.029%2018.1468%2099.7941%2018.8891%2099.3261%2019.373Z'%20fill='white'/%3e%3cpath%20d='M165.77%2010.9493L165.748%2010.8936H161.872L154.62%2029.0556H158.655L159.836%2026.1371H167.789L168.97%2029.0556H173.003L165.7
1137%2010.9493ZM166.557%2022.9323H161.065L163.813%2016.0566L166.557%2022.9323Z'%20fill='white'/%3e%3cpath%20d='M75.657%2010.3059C70.312%2010.3059%2065.9763%2014.6456%2065.9763%2020.0013C65.9763%2025.3544%2070.3095%2029.6966%2075.657%2029.6966C81.002%2029.6966%2085.3377%2025.3569%2085.3377%2020.0013C85.3377%2014.6456%2081.0045%2010.3059%2075.657%2010.3059ZM75.657%2025.9168C72.3938%2025.9168%2069.7504%2023.2668%2069.7504%2020.0013C69.7504%2016.7332%2072.3964%2014.0858%2075.657%2014.0858C78.9201%2014.0858%2081.5635%2016.7357%2081.5635%2020.0013C81.5661%2023.2668%2078.9201%2025.9168%2075.657%2025.9168Z'%20fill='white'/%3e%3cpath%20d='M152.973%2017.3286L152.963%2017.2957C151.774%2013.2346%20147.99%2010.3972%20143.763%2010.3972C138.476%2010.3972%20134.174%2014.704%20134.174%2020.0014C134.174%2025.2987%20138.476%2029.6055%20143.763%2029.6055C148.056%2029.6055%20151.855%2026.7124%20153.004%2022.5702L153.011%2022.5373H148.959C148.02%2024.4627%20146.047%2025.7877%20143.763%2025.7877C140.571%2025.7877%20137.983%2023.196%20137.983%2019.9988C137.983%2016.8017%20140.571%2014.21%20143.763%2014.21C145.992%2014.21%20147.924%2015.4742%20148.891%2017.3261L152.973%2017.3286Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3842_421'%3e%3crect%20width='173'%20height='40'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pj="data:image/svg+xml,%3csvg%20width='13'%20height='23'%20viewBox='0%200%2013%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.06067%201.06055L11.0607%2011.0605L1.06067%2021.0605'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='square'/%3e%3c/svg%3e",C_="data:image/svg+xml,%3csvg%20width='14'%20height='23'%20viewBox='0%200%2014%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.1213%2021.0605L2.12134%2011.0605L12.1213%201.06055'%20stroke='%23E70038'%20stroke-width='3'/%3e%3c/svg%3e",Wl="data:image/svg+xml,%3csvg%20width='17'%20height='17'%20viewBox='0%200%2017%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.25%2015.75C12.3921%2015.75%2015.75%2012.3921%2015.75%208.25C15.75%204.10786%2012.3921%200.75%208.25%200.75C4.10786%200.75%200.75%204.10786%200.75%208.25C0.75%2012.3921%204.10786%2015.75%208.25%2015.75Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.25005%2015.75C9.98173%2015.75%2011.3855%2012.3921%2011.3855%208.25C11.3855%204.10786%209.98173%200.75%208.25005%200.75C6.51837%200.75%205.11456%204.10786%205.11456%208.25C5.11456%2012.3921%206.51837%2015.75%208.25005%2015.75Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.71777%205.39502H14.7726'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.75653%2011.1719H14.7727'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Bm="data:image/svg+xml,%3csvg%20width='24'%20height='27'%20viewBox='0%200%2024%2027'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.77112%203.88232C4.49368%203.88232%205.07169%204.46439%205.0719%205.17236C5.0719%205.88052%204.49382%206.46338%203.77112%206.46338C3.04844%206.46336%202.47034%205.88051%202.47034%205.17236C2.47055%204.4644%203.04857%203.88234%203.77112%203.88232Z'%20stroke='white'%20stroke-width='2.11767'%20stroke-miterlimit='10'/%3e%3cpath%20d='M8.82886%205.17285H22.5882'%20stroke='white'%20stroke-width='2.11767'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.77124%2020.3613C4.4938%2020.3613%205.07181%2020.9434%205.07202%2021.6514C5.07202%2022.3595%204.49394%2022.9424%203.77124%2022.9424C3.04856%2022.9424%202.47046%2022.3595%202.47046%2021.6514C2.47067%2020.9434%203.04869%2020.3613%203.77124%2020.3613Z'%20stroke='white'%20stroke-width='2.11767'%20stroke-miterlimit='10'/%3e%3cpath%20d='M8.82898%2021.6519H22.5883'%20stroke='white'%20stroke-width='2.11767'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.2289%2012.1157C20.9514%2012.1157%2021.5294%2012.6978%2021.5297%2013.4058C21.5297%2014.1139%2020.9516%2014.6968%2020.2289%2014.6968C19.5062%2014.6968%2018.9281%2014.1139%2018.9281%2013.4058C18.9283%2012.6978%2019.5063%2012.1157%2020.2289%2012.1157Z'%20stroke='white'%20stroke-width='2.11767'%20stroke-miterlimit='10'/%3e%3cpath%20d='M15.1713%2013.4058H1.41199'%20stroke='white'%20stroke-width='2.11767'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",hj={id:"site-header-shell",class:"fixed top-0 left-0 right-0 z-60 flex flex-col bg-black"},mj={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto h-[60px] xl:h-[80px]"},gj={class:"flex items-center h-full relative z-60"},vj=["href"],yj=["src"],bj={class:"hidden xl:flex items-center gap-[55px] ml-[65px]"},xj=["href","target"],_j={class:"font-bold invisible","aria-hidden":"true"},wj=["onClick","onKeydown","aria-expanded","aria-haspopup","aria-controls"],Sj={class:"font-bold invisible","aria-hidden":"true"},kj={class:"flex items-center gap-[20px] xl:gap-[35px] ml-auto"},Cj=["href"],Tj=["href"],Ej={key:1,class:"w-[21px] h-[15px] xl:w-[27px] xl:h-[19px] curs
113or-pointer group focus:outline-none","aria-label":"Contact"},Pj={class:"hidden xl:flex items-center gap-[4px] cursor-pointer group focus:outline-none"},Ij={class:"text-white font-light text-[18px] leading-[25px] group-hover:text-primary group-focus:text-primary transition-colors duration-300"},Aj={key:3,class:"hidden xl:flex items-center gap-[4px] cursor-pointer group focus:outline-none"},$j={class:"text-white font-light text-[18px] leading-[25px] group-hover:text-primary group-focus:text-primary transition-colors duration-300"},Mj=["id","aria-label"],Oj={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto"},Lj={class:"py-[66px]"},qj={class:"grid grid-cols-10 gap-6"},Rj=["innerHTML"],Bj={class:"col-span-6 flex flex-col justify-between min-h-[390px]"},Fj={key:0,class:"font-bold text-navigation text-white"},Dj=["href","target","onMouseenter"],Nj=["href"],Vj={class:"absolute inset-0 overflow-hidden bg-black"},zj={class:"flex-1 min-h-0 overflow-y-auto bg-black"},jj={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl mx-auto py-[30px] pb-[150px]"},Hj={class:"flex flex-col gap-[30px]"},Uj=["href","target"],Wj=["onClick"],Gj={class:"text-white font-light text-[18px] leading-normal uppercase"},Kj=["src"],Yj={class:"absolute bottom-0 left-0 right-0 bg-black"},Xj={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl mx-auto py-[20px]"},Qj={class:"mb-[20px]"},Jj={class:"flex items-center gap-[5px] cursor-pointer"},Zj={class:"w-[15px] h-[15px]"},eH=["src"],tH={class:"text-white font-light text-[12px]"},nH={key:1,class:"flex items-center gap-[5px] cursor-pointer"},rH={class:"w-[15px] h-[15px]"},oH=["src"],iH={class:"text-white font-light text-[12px]"},sH=["href"],lH=["src"],aH={class:"flex-1 min-h-0 overflow-y-auto bg-black"},uH={class:"flex flex-col gap-[30px]"},cH=["src"],dH={class:"font-bold text-[18px] uppercase leading-[18px]"},fH={class:"flex flex-col gap-[25px]"},pH={key:0,class:"font-bold text-[16px] text-white leading-[16px] uppercase [&:not(:first-of-type)]:pt-[5px]"},hH=["href","target"],mH={key:0,class:"absolute bottom-0 left-0 right-0 bg-black"},gH={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl mx-auto py-[20px]"},vH={class:"mb-[20px]"},yH={class:"flex items-center gap-[5px] cursor-pointer"},bH={class:"w-[15px] h-[15px]"},xH=["src"],_H={class:"text-white font-light text-[12px]"},wH={key:1,class:"flex items-center gap-[5px] cursor-pointer"},SH={class:"w-[15px] h-[15px]"},kH=["src"],CH={class:"text-white font-light text-[12px]"},TH=["href"],EH=["src"],PH={class:"flex-1 min-h-0 overflow-y-auto bg-black"},IH={class:"flex gap-[21px]"},AH={class:"w-[278px] flex flex-col gap-[30px]"},$H=["src"],MH={class:"font-bold text-[18px] uppercase"},OH={class:"flex flex-col gap-[35px]"},LH={key:0,class:"font-bold text-[16px] text-white leading-[16px] uppercase [&:not(:first-of-type)]:pt-[5px]"},qH=["href","target"],RH=["innerHTML"],BH={key:0,class:"absolute bottom-0 left-0 right-0 bg-black"},FH={class:"container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl mx-auto py-[20px]"},DH={class:"mb-[20px]"},NH={class:"flex items-center gap-[5px] cursor-pointer"},VH={class:"w-[15px] h-[15px]"},zH=["src"],jH={class:"text-white font-light text-[12px]"},HH={key:1,class:"flex items-center gap-[5px] cursor-pointer"},UH={class:"w-[15px] h-[15px]"},WH=["src"],GH={class:"text-white font-light text-[12px]"},KH=["href"],YH=["src"],XH=5,QH=pe({__name:"Navbar",props:{menuItems:{default:()=>[]},availableTranslations:{default:()=>({})},currentLanguage:{default:"en"},findYourLaserUrl:{default:""},contactFormUrl:{default:""},logoUrl:{default:""},searchUrl:{default:""}},setup(e){const t=V(null),n=V(null);let r=null;const o=V(0),i=V(0),s=V(!0),l=V(!1),a=W(()=>{const Q=Math.max(Ao.value,2*Ci.value);return i.value>=Q}),u=W(()=>i.value>5),c=W(()=>a.value&&!s.value),d=W(()=>{const Q=Ci.value;return c.value?{top:"0px",height:"100svh"}:{top:`${Q}px`,height:`calc(100svh - ${Q}px)`}}),p=e,f=V(!1),m=V(null);Ll(f);const h=V(null),g=V(null),y=()=>{f.value=!f.value,m.value=null},b=Q=>{m.value=m.value===Q?null:Q},x=Q=>{h.value=Q,g.value=null},w=()=>{h.value=null,g.value=null},E=Q=>{h.value===Q?w():x(Q)},T=Q=>{Q.visualHtml&&(g.value=Q.visualHtml)},k=()=>{g.value=null},S=(Q,Y)=>{if(h.value===Y&&!Q.shiftKey){Q.preventDefault();const J=`dropdown-${Y}`,de=document.querySelector(`[id="${J}"]`);if(de){const z=de.querySelector("a");z?.focus&&z.focus()}const he=`dropdown-tablet-${Y}`,R=document.querySelector(`[id="${he}"]`);if(R){const z=R.querySelector("a, button");z?.focus&&z.focus()}}},C=Q=>{if(!Q)return!1;const Y=I.value.find(J=>J.label===Q);return Y?.items&&Y.items.length>0},A=Q=>
113{if(!h.value)return;const Y=Q.target,J=document.querySelector("#site-navbar");J&&!J.contains(Y)&&w()},M=[{label:"Lasers",key:"lasers",url:"/lasers",items:[{label:"Lasers",isHeader:!0},{label:"Single mode lasers (TEM00)",url:"/lasers/single-mode"},{label:"Narrow linewidth lasers",url:"/lasers/narrow-linewidth"},{label:"Femtosecond lasers",url:"/lasers/femtosecond"},{label:"Laser combiners",url:"/lasers/combiners"},{label:"Frequency combs",url:"/lasers/frequency-combs"},{label:"Rack integrated lasers",url:"/lasers/rack-integrated"},{label:"Optical quantum clocks",url:"/lasers/optical-quantum-clocks"},{label:"Terahertz",url:"/lasers/terahertz"},{label:"Guide star lasers",url:"/lasers/guide-star"},{label:"Accessories",isHeader:!0},{label:"Locking & driving electronics",url:"/accessories/locking-driving-electronics"},{label:"Wavemeters & analysers",url:"/accessories/wavemeters-analysers"},{label:"Optical components",url:"/accessories/optical-components"},{label:"Laser diodes",url:"/accessories/laser-diodes"}]},{label:"Applications",url:"/applications",items:[{label:"Quantum physics science",url:"/applications/quantum-physics-science"},{label:"Quantum computing & simulation",url:"/applications/quantum-computing-simulation"},{label:"Quantum communication",url:"/applications/quantum-communication"},{label:"Space & astronomy",url:"/applications/space-astronomy"},{label:"Life sciences",url:"/applications/life-sciences"},{label:"Lithography & microfabrication",url:"/applications/lithography-microfabrication"},{label:"Semicon inspection & metrology",url:"/applications/semicon-inspection-metrology"},{label:"Test & Measurement",url:"/applications/test-measurement"},{label:"Sensing & Spectroscopy",url:"/applications/sensing-spectroscopy"}]},{label:"Service",url:"/service",items:[{label:"Customer service",isHeader:!0},{label:"Service request",url:"/service/request"},{label:"Technical tutorials",url:"/service/tutorials"},{label:"FAQ",url:"/service/faq"},{label:"My TOPTICA - login",url:"/service/login"},{label:"Knowledge center",isHeader:!0},{label:"Literature",url:"/service/literature"},{label:"Webinars",url:"/service/webinars"},{label:"Technical drawings",url:"/service/technical-drawings"},{label:"Download area",url:"/service/download-area"},{label:"Enhance your work",isHeader:!0},{label:"Molecular absorption wall art",url:"/service/molecular-absorption-wall-art"},{label:"Laser absorption poster",url:"/service/laser-absorption-poster"},{label:"ToptiCalc - scientific calculator",url:"/service/topticalc"},{label:"Proprietary technology",url:"/service/proprietary-technology"}]},{label:"Company",url:"/company",items:[{label:"About us",isHeader:!0},{label:"Our story",url:"/company/our-story"},{label:"Leadership team",url:"/company/leadership-team"},{label:"Sustainability",url:"/company/sustainability"},{label:"Contact",url:"/company/contact"},{label:"News & events",isHeader:!0},{label:"Latest news",url:"/company/latest-news"},{label:"Events & exhibitions",url:"/company/events-exhibitions"},{label:"Press center",url:"/company/press-center"},{label:"TOPTICA community",url:"/company/toptica-community"},{label:"Fun",isHeader:!0},{label:"Photonics Friday",url:"/company/photonics-friday"},{label:"TOPTICA games",url:"/company/toptica-games"}]},{label:"Career",url:"/career"}],I=W(()=>p.menuItems?.some(Y=>Y.label!==null&&Y.label!=="")?p.menuItems:M),$=W(()=>h.value?I.value.find(Q=>Q.label===h.value)??null:null),F=W(()=>$.value?.items||[]),q=W(()=>$.value?.visualHtml||""),O=W(()=>`<div class="w-full h-full bg-gray-800 flex items-center justify-center"><span class="text-white">${h.value||"Menu"} Image</span></div>`),L=W(()=>g.value?g.value:q.value||O.value),N=W(()=>{const Q=F.value;if(Q.length===0)return[];if(!Q.some(R=>R.isHeader)){const R=Math.ceil(Q.length/3),z=[];for(let le=0;le<Q.length;le+=R)z.push({items:Q.slice(le,le+R),isContinuation:le>0});return z}const J=[];let de=[],he=0;for(const R of Q)R.isHeader&&de.length>0?(J.push({items:de,isContinuation:!1}),de=[R],he=0):!R.isHeader&&he>=XH?(J.push({items:de,isContinuation:!1}),de=[R],he=1):(de.push(R),R.isHeader||he++);if(de.length>0){const R=de[0]?.isHeader===!0;J.push({items:de,isContinuation:!R})}return J.map(R=>({...R,isContinuation:R.items[0]?.isHeader!==!0}))}),Z=W(()=>{const Q=Object.values(p.availableTranslations);return Q.length===0?[]:Q.map(Y=>({label:Y.languageLabel,active:Y.isCurrent,onSelect:()=>{globalThis.location.href=Y.url}}))}),H=W(()=>p.currentLanguage.toUpperCase()),G=W(()=>Object.keys(p.availableTranslations).length>1),oe=Q=>{Q.key==="Escape"&&f.value&&(f.value=!1,m.value=null)},ce=()=>{const Q=globalThis.pageYOffset||globalThis.document.documentElement.scrollTop;if(i.value=Q,Q<=5){s.value=!0,l.value=!1,o.value=Q;return}const Y=Q<=o.value;a.value?Y?(s.value=!0,l.value=!0):(s.value=!1,l.value=!1):(s.value=!0,l.value=!1),o.value=Q};function ee(){if(globalThis.document===void 0)return"(min-width: 82.5rem)";const Q=globalThis.getComputedStyle(globalThis.document.documentElement).getPropertyValue("--breakpoint-xl").trim();return Q?`(min-width: ${Q})`:"(min-width: 82.5rem)"}function ge(){return globalThis.window===void 0?60:globalThis.matchMedia(ee()).matches?80:60}const xe=()=>
113{c.value||(Ci.value=ge())},ie=()=>{if(Sh()){xe();return}ka(),xe(),ce()};return Ve(()=>{document.addEventListener("keydown",oe),document.addEventListener("click",A),ie(),globalThis.setTimeout(ie,100),globalThis.setTimeout(ie,1150),window.addEventListener("resize",ie);const Q=globalThis.matchMedia(ee()),Y=()=>{xe(),ce()};Q.addEventListener("change",Y),r=()=>Q.removeEventListener("change",Y),je(()=>{xe(),ce()}),window.addEventListener("scroll",ce,{passive:!0})}),we(c,Q=>{Q?(w(),f.value&&(f.value=!1,m.value=null)):je(()=>{xe()})}),we(Ao,()=>{ce()}),vn(()=>{document.removeEventListener("keydown",oe),document.removeEventListener("click",A),window.removeEventListener("scroll",ce),window.removeEventListener("resize",ie),r?.(),r=null}),(Q,Y)=>{const J=FV;return P(),B(ye,null,[_("div",{"aria-hidden":"true",class:"pointer-events-none w-full shrink-0",style:gn({height:`${v(Ci)}px`})},null,4),(P(),X(zc,{to:"body"},[_("div",hj,[_("nav",{id:"site-navbar",ref_key:"navRef",ref:t,class:"relative z-60 w-full bg-black"},[_("div",{ref_key:"navbarBarCollapseRef",ref:n,class:re(["overflow-hidden shrink-0 bg-black",{"transition-[height] duration-300 ease-in-out":u.value,"pointer-events-none":c.value}]),style:gn({height:c.value?"0px":`${v(Ci)}px`})},[_("div",mj,[_("div",gj,[_("a",{href:p.logoUrl||"/",class:"w-[144px] h-[46px] xl:w-[173px] xl:h-[40px]"},[_("img",{src:v(fj),alt:"TOPTICA",class:"w-full h-full object-contain"},null,8,yj)],8,vj),_("div",bj,[(P(!0),B(ye,null,Ce(I.value,(de,he)=>(P(),B(ye,{key:de.label||he},[!de.items||de.items.length===0?(P(),B("a",{key:0,href:de.url,target:de.target,class:re(["flex items-center text-[18px] leading-normal uppercase focus:text-primary focus:outline-none cursor-pointer h-[36px] relative",de.isActive?"text-primary":"text-white"])},[_("span",_j,te(de.label),1),_("span",{class:re(["absolute inset-0 flex items-center justify-center hover:text-primary hover:font-bold hover:tracking-[-0.04em]",de.isActive?"text-primary font-bold tracking-[-0.04em]":"font-light"])},te(de.label),3)],10,xj)):(P(),B("button",{key:1,onClick:R=>E(de.label),onKeydown:[kn(St(R=>E(de.label),["prevent"]),["enter"]),kn(St(R=>E(de.label),["prevent"]),["space"]),kn(w,["escape"]),kn(St(R=>x(de.label),["prevent"]),["down"]),kn(R=>S(R,de.label),["tab"])],"aria-expanded":h.value===de.label,"aria-haspopup":C(de.label),"aria-controls":C(de.label)?`dropdown-${de.label}`:void 0,class:re(["text-[18px] leading-normal uppercase focus:text-primary focus:outline-none cursor-pointer h-[36px] relative",de.isActive?"text-primary":"text-white"])},[_("span",Sj,te(de.label),1),_("span",{class:re(["absolute inset-0 flex items-center justify-center hover:text-primary hover:font-bold hover:tracking-[-0.04em]",de.isActive?"text-primary font-bold tracking-[-0.04em]":"font-light"])},te(de.label),3)],42,wj))],64))),128))]),_("div",kj,[_("a",{href:p.searchUrl||"/dynamic-search/default/search",class:"w-[17px] h-[17px] xl:w-[19px] xl:h-[19px] cursor-pointer group focus:outline-none block","aria-label":"Search"},[...Y[2]||(Y[2]=[_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 xl:hidden",viewBox:"0 0 17 17",fill:"none"},[_("circle",{cx:"7",cy:"7",r:"6","stroke-width":"2"}),_("path",{d:"M11.5 11.5L16 16","stroke-width":"2","stroke-linecap":"round"})],-1),_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 hidden xl:block",viewBox:"0 0 19 19",fill:"none"},[_("circle",{cx:"8",cy:"8",r:"7","stroke-width":"2"}),_("path",{d:"M13 13L18 18","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Cj),p.contactFormUrl?(P(),B("a",{key:0,href:p.contactFormUrl,class:"w-[21px] h-[15px] xl:w-[27px] xl:h-[19px] cursor-pointer group focus:outline-none block","aria-label":"Contact"},[...Y[3]||(Y[3]=[_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 xl:hidden",viewBox:"0 0 21 15",fill:"none"},[_("rect",{x:"0.5",y:"0.5",width:"20",height:"14",rx:"1","stroke-width":"1"}),_("path",{d:"M1 1L10.5 8L20 1","stroke-width":"1"})],-1),_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 hidden xl:block",viewBox:"0 0 27 19",fill:"none"},[_("rect",{x:"0.5",y:"0.5",width:"26",height:"18",rx:"1","stroke-width":"1"}),_("path",{d:"M1 1L13.5 10L26 1","stroke-width":"1"})],-1)])],8,Tj)):(P(),B("button",Ej,[...Y[4]||(Y[4]=[_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 xl:hidden",viewBox:"0 0 21 15",fill:"none"},[_("rect",{x:"0.5",y:"0.5",width:"20",height:"14",rx:"1","stroke-width":"1"}),_("path",{d:"M1 1L10.5 8L20 1","stroke-width":"1"})],-1),_("svg",{class:"w-full h-full stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300 hidden xl:block",viewBox:"0 0 27 19",fill:"none"},[_("rect",{x:"0.5",y:"0.5",width:"26",height:"18",rx:"1","stroke-width":"1"}),_("path",{d:"M1 1L13.5 10L26 1","stroke-width":"1"})],-1)])])),G.value?(P(),X(J,{key:2,items:Z.value,content:{align:"center",side:"bottom",sideOffset:0},ui:{content:"z-[100] min-w-[100px] bg-black ring-0 shadow-none rounded-none p-0",group:"p-0",item:"px-5 py-[7px] text-center justify-center rounded-none text-white font-light text-[16px] leading-[25px] hover:text-primary focus:text-primary data-highlighted:text-primary data-highlighted:bg-transparent before:hidden transition-colors cursor-pointer",itemLabel:"text-center w-full",itemTrailingIcon:"hidden"}},{default:D(()=>[_("button",Pj,[Y[5]||(Y[5]=_("svg",{class:"w-[19px] h-[19px] stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300",viewBox:"0 0 19 19",fill:"none"},[_("circle",{cx:"9.5",cy:"9.5",r:"8.5","stroke-width":"1"}),_("path",{d:"M1 9.5H18M9.5 1C11.5 3.5 12.5 6.5 12.5 9.5C12.5 12.5 11.5 15.5 9.5 18M9.5 1C7.5 3.5 6.5 6.5 6.5 9.5C6.5 12.5 7.5 15.5 9.5 18","stroke-width":"1"})],-1)),_("span",Ij,te(H.value),1)])]),_:1},8,["items"])):(P(),B("button",Aj,[Y[6]||(Y[6]=_("svg",{class:"w-[19px] h-[19px] stroke-current text-white group-hover:text-primary group-focus:text-primary transition-colors duration-300",viewBox:"0 0 19 19",fill:"none"},[_("circle",{cx:"9.5",cy:"9.5",r:"8.5","stroke-width":"1"}),_("path",{d:"M1 9.5H18M9.5 1C11.5 3.5 12.5 6.5 12.5 9.5C12.5 12.5 11.5 15.5 9.5 18M9.5 1C7.5 3.5 6.5 6.5 6.5 9.5C6.5 12.5 7.5 15.5 9.5 18","stroke-width":"1"})],-1)),_("span",$j,te(H.value),1)])),_("button",{onClick:y,class:"cursor-pointer xl:hidden group w-[23px] h-[20px] relative focus:outline-none","aria-label":"Menu"},[_("span",{class:re(["absolute left-0 top-[2px] w-full h-[2px] bg-white transition-all duration-300 ease-in-out group-hover:bg-primary group-focus:bg-primary",f.value?"rotate-45 translate-y-[7px] !bg-primary":""])},null,2),_("span",{class:re(["absolute left-0 top-[9px] w-full h-[2px] bg-white transition-all duration-300 ease-in-out group-hover:bg-primary group-focus:bg-primary",f.value?"opacity-0":""])},null,2),_("span",{class:re(["absolute left-0 top-[16px] w-full h-[2px] bg-white transition-all duration-300 ease-in-out group-hover:bg-primary group-focus:bg-primary",f.value?"-rotate-45 -translate-y-[7px] !bg-primary":""])},null,2)])])])])],6),K(og,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:D(()=>[h.value&&F.value.length>0?(P(),B("div",{key:0,onKeydown:kn(w,["escape"]),id:`dropdown-${h.value}`,role:"region","aria-label":`${h.value} submenu`,class:"hidden xl:block absolute left-0 right-0 top-full bg-black z-40 shadow-2xl"},[_("div",Oj,[_("div",Lj,[_("div",qj,[_("div",{class:"col-span-4",innerHTML:L.value},null,8,Rj),_("div",Bj,[_("div",{class:"grid grid-cols-3 gap-x-[25px]",onMouseleave:k},[(P(!0),B(ye,null,Ce(N.value,(de,he)=>(P(),B("div",{key:he,class:re(["flex flex-col gap-6",{"mt-[50px]":de.isContinuation}])},[(P(!0),B(ye,null,Ce(de.items,(R,z)=>(P(),B(ye,{key:z},[R.isHeader?(P(),B("h3",Fj,te(R.label),1)):(P(),B("a",{key:1,href:R.url,target:R.target,class:re(["text-navigation hover:text-primary hover:font-bold hover:tracking-[-0.04em]",R.isActive?"text-primary font-bold tracking-[-0.04em]":"font-light text-white"]),onMouseenter:le=>T(R)}
113,te(R.label),43,Dj))],64))),128))],2))),128))],32),$.value?.key==="lasers"&&p.findYourLaserUrl?(P(),B("a",{key:0,href:p.findYourLaserUrl,class:"flex items-center justify-center gap-[10px] bg-[#141616] border-2 border-primary px-[15px] py-[15px] hover:bg-primary/10 transition-colors w-full mt-6"},[...Y[7]||(Y[7]=[_("svg",{width:"24",height:"27",viewBox:"0 0 24 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M3.77112 3.88232C4.49368 3.88232 5.07169 4.46439 5.0719 5.17236C5.0719 5.88052 4.49382 6.46338 3.77112 6.46338C3.04844 6.46336 2.47034 5.88051 2.47034 5.17236C2.47055 4.4644 3.04857 3.88234 3.77112 3.88232Z",stroke:"white","stroke-width":"2.11767","stroke-miterlimit":"10"}),_("path",{d:"M8.82886 5.17285H22.5882",stroke:"white","stroke-width":"2.11767","stroke-linecap":"round","stroke-linejoin":"round"}),_("path",{d:"M3.77124 20.3613C4.4938 20.3613 5.07181 20.9434 5.07202 21.6514C5.07202 22.3595 4.49394 22.9424 3.77124 22.9424C3.04856 22.9424 2.47046 22.3595 2.47046 21.6514C2.47067 20.9434 3.04869 20.3613 3.77124 20.3613Z",stroke:"white","stroke-width":"2.11767","stroke-miterlimit":"10"}),_("path",{d:"M8.82898 21.6519H22.5883",stroke:"white","stroke-width":"2.11767","stroke-linecap":"round","stroke-linejoin":"round"}),_("path",{d:"M20.2289 12.1157C20.9514 12.1157 21.5294 12.6978 21.5297 13.4058C21.5297 14.1139 20.9516 14.6968 20.2289 14.6968C19.5062 14.6968 18.9281 14.1139 18.9281 13.4058C18.9283 12.6978 19.5063 12.1157 20.2289 12.1157Z",stroke:"white","stroke-width":"2.11767","stroke-miterlimit":"10"}),_("path",{d:"M15.1713 13.4058H1.41199",stroke:"white","stroke-width":"2.11767","stroke-linecap":"round","stroke-linejoin":"round"})],-1),_("span",{class:"text-white font-bold text-[16px] tracking-[-0.64px]"}," Find your laser ",-1)])],8,Nj)):ae("",!0)])])])])],40,Mj)):ae("",!0)]),_:1}),K(og,{"enter-active-class":"transition-transform duration-300 ease-out","enter-from-class":"translate-x-full","enter-to-class":"translate-x-0","leave-active-class":"transition-transform duration-300 ease-in","leave-from-class":"translate-x-0","leave-to-class":"translate-x-full"},{default:D(()=>[f.value?(P(),B("div",{key:0,class:"fixed right-0 left-0 bg-black z-40 xl:hidden",style:gn(d.value)},[_("div",Vj,[_("div",{class:re(["absolute inset-0 flex flex-col transition-transform duration-300 ease-in-out",m.value?"-translate-x-full":"translate-x-0"])},[_("div",zj,[_("div",jj,[_("div",Hj,[(P(!0),B(ye,null,Ce(I.value,(de,he)=>(P(),B(ye,{key:de.label||he},[!de.items||de.items.length===0?(P(),B("a",{key:0,href:de.url,target:de.target,class:"flex items-center w-full py-0 text-left text-white font-light text-[18px] leading-normal uppercase"},te(de.label),9,Uj)):(P(),B("button",{key:1,onClick:R=>b(de.label),class:"flex items-center justify-between w-full py-0 text-left"},[_("span",Gj,te(de.label),1),_("img",{src:v(pj),alt:"",class:"w-[20px] h-[11px]"},null,8,Kj)],8,Wj))],64))),128))])])]),_("div",Yj,[_("div",Xj,[_("div",Qj,[G.value?(P(),X(J,{key:0,items:Z.value,content:{align:"start",side:"top",sideOffset:8},ui:{content:"z-[100] min-w-[100px] bg-black ring-0 shadow-none rounded-none p-0",group:"p-0",item:"px-5 py-[7px] text-center justify-center rounded-none text-white font-light text-[14px] leading-[25px] hover:text-primary focus:text-primary data-highlighted:text-primary data-highlighted:bg-transparent before:hidden transition-colors cursor-pointer",itemLabel:"text-left w-full",itemTrailingIcon:"hidden"}},{default:D(()=>[_("button",Jj,[_("div",Zj,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,eH)]),_("span",tH,te(H.value),1)])]),_:1},8,["items"])):(P(),B("button",nH,[_("div",rH,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,oH)]),_("span",iH,te(H.value),1)]))]),p.findYourLaserUrl?(P(),B("a",{key:0,href:p.findYourLaserUrl,class:"flex items-center justify-center gap-[10px] bg-[#323737] border-2 border-primary px-[15px] py-[12px] w-full hover:bg-primary/10 transition-colors"},[_("img",{src:v(Bm),alt:"",class:"w-[15px] h-[15px]"},null,8,lH),Y[8]||(Y[8]=_("span",{class:"text-white font-bold text-[16px] tracking-[-0.64px]"}," Find your laser ",-1))],8,sH)):ae("",!0)])])],2),(P(!0),B(ye,null,Ce(I.value.filter(de=>de.items&&de.items.length>0),de=>(P(),B("div",{key:de.label,class:re(["absolute inset-0 flex flex-col transition-transform duration-300 ease-in-out md:hidden",m.value===de.label?"translate-x-0":"translate-x-full"])},[_("div",aH,[_("div",{class:re(["container mx-auto px-[35px] py-[30px] pt-[24px]",de.key==="lasers"?"pb-[150px]":""])},[_("div",uH,[_("button",{onClick:Y[0]||(Y[0]=he=>m.value=null),class:"flex items-center gap-[15px] text-primary hover:opacity-80 transition-opacity"},[_("img",{src:v(C_),alt:"",class:"w-[20px] h-[12px]"},null,8,cH),_("span",dH,te(de.label),1)]),_("div",fH,[(P(!0),B(ye,null,Ce(de.items,(he,R)=>(P(),B(ye,{key:R},[he.isHeader?(P(),B("h3",pH,te(he.label),1)):(P(),B("a",{key:1,href:he.url,target:he.target,class:"font-light text-[16px] text-white leading-[16
113px] hover:text-primary transition-colors"},te(he.label),9,hH))],64))),128))])])],2)]),de.key==="lasers"?(P(),B("div",mH,[_("div",gH,[_("div",vH,[G.value?(P(),X(J,{key:0,items:Z.value,content:{align:"start",side:"top",sideOffset:8},ui:{content:"z-[100] min-w-[100px] bg-black ring-0 shadow-none rounded-none p-0",group:"p-0",item:"px-5 py-[7px] text-center justify-center rounded-none text-white font-light text-[14px] leading-[25px] hover:text-primary focus:text-primary data-highlighted:text-primary data-highlighted:bg-transparent before:hidden transition-colors cursor-pointer",itemLabel:"text-left w-full",itemTrailingIcon:"hidden"}},{default:D(()=>[_("button",yH,[_("div",bH,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,xH)]),_("span",_H,te(H.value),1)])]),_:1},8,["items"])):(P(),B("button",wH,[_("div",SH,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,kH)]),_("span",CH,te(H.value),1)]))]),p.findYourLaserUrl?(P(),B("a",{key:0,href:p.findYourLaserUrl,class:"flex items-center justify-center gap-[10px] bg-[#323737] border-2 border-primary px-[15px] py-[12px] w-full hover:bg-primary/10 transition-colors"},[_("img",{src:v(Bm),alt:"",class:"w-[15px] h-[15px]"},null,8,EH),Y[9]||(Y[9]=_("span",{class:"text-white font-bold text-[16px] tracking-[-0.64px]"}," Find your laser ",-1))],8,TH)):ae("",!0)])])):ae("",!0)],2))),128)),(P(!0),B(ye,null,Ce(I.value.filter(de=>de.items&&de.items.length>0),de=>(P(),B("div",{key:`tablet-${de.label}`,class:re(["absolute inset-0 hidden md:flex xl:hidden flex-col transition-transform duration-300 ease-in-out",m.value===de.label?"translate-x-0":"translate-x-full"])},[_("div",PH,[_("div",{class:re(["container sm:max-w-xl max-w-xs md:max-w-3xl lg:max-w-4xl mx-auto py-[30px] pt-[24px]",de.key==="lasers"?"pb-[150px]":""])},[_("div",IH,[_("div",AH,[_("button",{onClick:Y[1]||(Y[1]=he=>m.value=null),class:"flex items-center gap-[15px] text-primary hover:opacity-80 transition-opacity"},[_("img",{src:v(C_),alt:"",class:"w-[20px] h-[12px]"},null,8,$H),_("span",MH,te(de.label),1)]),_("div",OH,[(P(!0),B(ye,null,Ce(de.items,(he,R)=>(P(),B(ye,{key:R},[he.isHeader?(P(),B("h3",LH,te(he.label),1)):(P(),B("a",{key:1,href:he.url,target:he.target,class:"font-light text-[16px] text-white leading-[16px] hover:text-primary transition-colors"},te(he.label),9,qH))],64))),128))])]),de.visualHtml?(P(),B("div",{key:0,class:"flex-1 flex items-center justify-center [&_img]:!object-center",innerHTML:de.visualHtml},null,8,RH)):ae("",!0)])],2)]),de.key==="lasers"?(P(),B("div",BH,[_("div",FH,[_("div",DH,[G.value?(P(),X(J,{key:0,items:Z.value,content:{align:"start",side:"top",sideOffset:8},ui:{content:"z-[100] min-w-[100px] bg-black ring-0 shadow-none rounded-none p-0",group:"p-0",item:"px-5 py-[7px] text-center justify-center rounded-none text-white font-light text-[14px] leading-[25px] hover:text-primary focus:text-primary data-highlighted:text-primary data-highlighted:bg-transparent before:hidden transition-colors cursor-pointer",itemLabel:"text-left w-full",itemTrailingIcon:"hidden"}},{default:D(()=>[_("button",NH,[_("div",VH,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,zH)]),_("span",jH,te(H.value),1)])]),_:1},8,["items"])):(P(),B("button",HH,[_("div",UH,[_("img",{src:v(Wl),alt:"",class:"w-full h-full"},null,8,WH)]),_("span",GH,te(H.value),1)]))]),p.findYourLaserUrl?(P(),B("a",{key:0,href:p.findYourLaserUrl,class:"flex items-center justify-center gap-[10px] bg-[#323737] border-2 border-primary px-[15px] py-[12px] w-full hover:bg-primary/10 transition-colors"},[_("img",{src:v(Bm),alt:"",class:"w-[15px] h-[15px]"},null,8,YH),Y[10]||(Y[10]=_("span",{class:"text-white font-bold text-[16px] tracking-[-0.64px]"}," Find your laser ",-1))],8,KH)):ae("",!0)])])):ae("",!0)],2))),128))])],4)):ae("",!0)]),_:1})],512),Y[11]||(Y[11]=_("div",{id:"site-header-quicklinks-slot",class:"w-full shrink-0"},null,-1))])]))],64)}}}),JH={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base
113:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},ZH=["id","type","value","name","placeholder","disabled","required","autocomplete"],kh=Object.assign({inheritAttrs:!1},{__name:"Input",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:null,required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:Object,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:[String,Object],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:[String,Object],required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:[String,Object],required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:[String,Object],required:!1}},emits:["update:modelValue","blur","change"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=Dn(),s=hk(r,"modelValue",o,{defaultValue:r.defaultValue}),l=Xt(),{emitFormBlur:a,emitFormInput:u,emitFormChange:c,size:d,color:p,id:f,name:m,highlight:h,disabled:g,emitFormFocus:y,ariaAttrs:b}=eu(r,{deferInputValidation:!0}
113),{orientation:x,size:w}=iy(r),{isLeading:E,isTrailing:T,leadingIconName:k,trailingIconName:S}=dh(r),C=W(()=>w.value||d.value),A=W(()=>nt({extend:nt(JH),...l.ui?.input||{}})({type:r.type,color:p.value,variant:r.variant,size:C?.value,loading:r.loading,highlight:h.value,leading:E.value||!!r.avatar||!!i.leading,trailing:T.value||!!i.trailing,fieldGroup:x.value})),M=V(null);function I(L){r.modelModifiers?.trim&&(L=L?.trim()??null),(r.modelModifiers?.number||r.type==="number")&&(L=vk(L)),r.modelModifiers?.nullable&&(L||=null),r.modelModifiers?.optional&&(L||=void 0),s.value=L,u()}function $(L){r.modelModifiers?.lazy||I(L.target.value)}function F(L){const N=L.target.value;r.modelModifiers?.lazy&&I(N),r.modelModifiers?.trim&&(L.target.value=N.trim()),c(),o("change",L)}function q(L){a(),o("blur",L)}function O(){r.autofocus&&M.value?.focus()}return Ve(()=>{setTimeout(()=>{O()},r.autofocusDelay)}),t({inputRef:M}),(L,N)=>(P(),X(v(ze),{as:e.as,class:re(A.value.root({class:[r.ui?.root,r.class]}))},{default:D(()=>[_("input",be({id:v(f),ref_key:"inputRef",ref:M,type:e.type,value:v(s),name:v(m),placeholder:e.placeholder,class:A.value.base({class:r.ui?.base}),disabled:v(g),required:e.required,autocomplete:e.autocomplete},{...L.$attrs,...v(b)},{onInput:$,onBlur:q,onChange:F,onFocus:N[0]||(N[0]=(...Z)=>v(y)&&v(y)(...Z))}),null,16,ZH),se(L.$slots,"default"),v(E)||e.avatar||i.leading?(P(),B("span",{key:0,class:re(A.value.leading({class:r.ui?.leading}))},[se(L.$slots,"leading",{},()=>[v(E)&&v(k)?(P(),X(it,{key:0,name:v(k),class:re(A.value.leadingIcon({class:r.ui?.leadingIcon}))},null,8,["name","class"])):e.avatar?(P(),X(Di,be({key:1,size:r.ui?.leadingAvatarSize||A.value.leadingAvatarSize()},e.avatar,{class:A.value.leadingAvatar({class:r.ui?.leadingAvatar})}),null,16,["size","class"])):ae("",!0)])],2)):ae("",!0),v(T)||i.trailing?(P(),B("span",{key:1,class:re(A.value.trailing({class:r.ui?.trailing}))},[se(L.$slots,"trailing",{},()=>[v(S)?(P(),X(it,{key:0,name:v(S),class:re(A.value.trailingIcon({class:r.ui?.trailingIcon}))},null,8,["name","class"])):ae("",!0)])],2)):ae("",!0)]),_:3},8,["as","class"]))}}),Gd="data:image/svg+xml,%3csvg%20width='35'%20height='35'%20viewBox='0%200%2035%2035'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8623_685)'%3e%3cpath%20d='M9.2749%2012.6319C9.2749%2017.1819%2015.9726%2028.5728%2017.4999%2028.5728C19.0272%2028.5728%2025.7249%2017.1819%2025.7249%2012.6319C25.7249%208.08186%2022.0499%204.40686%2017.4999%204.40686C12.9499%204.40686%209.2749%208.08186%209.2749%2012.6319Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M17.5%2016.9273C19.8724%2016.9273%2021.7955%2015.0042%2021.7955%2012.6319C21.7955%2010.2596%2019.8724%208.33643%2017.5%208.33643C15.1277%208.33643%2013.2046%2010.2596%2013.2046%2012.6319C13.2046%2015.0042%2015.1277%2016.9273%2017.5%2016.9273Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M20.2682%2025.5182C23.7364%2025.9159%2027.1568%2026.8546%2027.1568%2027.9523C27.1568%2029.4159%2022.8455%2030.5932%2017.5159%2030.5932C12.1864%2030.5932%207.875%2029.4159%207.875%2027.9523C7.875%2026.8864%2011.4068%2025.9636%2014.7636%2025.5341'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8623_685'%3e%3crect%20width='35'%20height='35'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",T_="data:image/svg+xml,%3csvg%20width='35'%20height='35'%20viewBox='0%200%2035%2035'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.35446%2020.2363H2.46582V29.8454H9.35446V20.2363Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M20.9362%2013.0613H14.0476V29.8454H20.9362V13.0613Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M32.5339%204.93176H25.6453V29.8454H32.5339V4.93176Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3c/svg%3e",E_="data:image/svg+xml,%3csvg%20width='35'%20height='35'%20viewBox='0%200%2035%2035'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.5001%2029.8773C24.3974%2029.8773%2029.9887%2024.2859%2029.9887%2017.3887C29.9887%2010.4914%2024.3974%204.90002%2017.5001%204.90002C10.6028%204.90002%205.01147%2010.4914%205.01147%2017.3887C5.01147%2024.2859%2010.6028%2029.8773%2017.5001%2029.8773Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M17.5%207.98633V17.5'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M17.3091%2017.0387L22.0818%2020.9364'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3c/svg%3e",P_="data:image/svg+xml,%3csvg%20width='35'%20height='35'%20viewBox='0%200%2035%2035'%2
1130fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.3249%2025.8681C20.9186%2025.8681%2023.8318%2022.9549%2023.8318%2019.3613C23.8318%2015.7677%2020.9186%2012.8545%2017.3249%2012.8545C13.7313%2012.8545%2010.8181%2015.7677%2010.8181%2019.3613C10.8181%2022.9549%2013.7313%2025.8681%2017.3249%2025.8681Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M17.325%2030.8637C23.6776%2030.8637%2028.8273%2025.7139%2028.8273%2019.3614C28.8273%2013.0089%2023.6776%207.85913%2017.325%207.85913C10.9725%207.85913%205.82275%2013.0089%205.82275%2019.3614C5.82275%2025.7139%2010.9725%2030.8637%2017.325%2030.8637Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M17.325%2020.0454L23.8318%2012.8704V6.90452L27.5704%203.89771L28.8431%207.97043L32.7727%208.79771L28.8431%2012.8704H23.8318'%20fill='black'/%3e%3cpath%20d='M17.325%2020.0454L23.8318%2012.8704V6.90452L27.5704%203.89771L28.8431%207.97043L32.7727%208.79771L28.8431%2012.8704H23.8318'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3c/svg%3e",eU={key:0,class:"career-projects-container"},tU={class:"grid grid-cols-12 mt-4"},nU={class:"col-span-12"},rU={class:"flex items-center w-full gap-8"},oU={class:"grid grid-cols-4 sm:grid-cols-12 mt-4 gap-6"},iU={class:"col-span-12 md:col-span-6 lg:col-span-3"},sU=["src"],lU={key:0,class:"[&:not(:last-child)]:pb-[25px] flex flex-col gap-[25px]"},aU=["value","onClick"],uU={class:"col-span-12 md:col-span-6 lg:col-span-3"},cU=["src"],dU={key:0,class:"[&:not(:last-child)]:pb-[25px] flex flex-col gap-[25px]"},fU=["value","onClick"],pU={class:"col-span-12 md:col-span-6 lg:col-span-3"},hU=["src"],mU={key:0,class:"[&:not(:last-child)]:pb-[25px] flex flex-col gap-[25px]"},gU=["value","onClick"],vU={class:"col-span-12 md:col-span-6 lg:col-span-3"},yU=["src"],bU={key:0,class:"[&:not(:last-child)]:pb-[25px] flex flex-col gap-[25px]"},xU=["value","onClick"],_U={key:0,class:"mt-4 flex justify-end"},wU={key:1,class:"career-projects-items mt-24 bleed-full-width-md"},SU=["href"],kU={class:"bg-black p-8 md:py-6 lg:p-6"},CU={class:"flex gap-6 items-end"},TU={class:"flex-1 flex flex-col gap-4"},EU={class:"pr-16"},PU=["innerHTML"],IU={class:"flex gap-12 items-center lg:flex-wrap max-lg:justify-between"},AU={class:"gap-2.5 items-center hidden lg:flex font-light"},$U=["src"],MU={class:"job-meta text-white whitespace-nowrap text-base"},OU={class:"gap-2.5 items-center hidden lg:flex font-light"},LU=["src"],qU={class:"job-meta text-white whitespace-nowrap text-base"},RU={class:"gap-2.5 items-center hidden lg:flex font-light"},BU=["src"],FU={class:"job-meta text-white whitespace-nowrap text-base"},DU={class:"gap-2.5 items-center hidden lg:flex font-light"},NU=["src"],VU={class:"job-meta text-white whitespace-nowrap text-base"},zU={class:"gap-2.5 items-center lg:hidden text-base"},jU=["href"],HU={key:2},UU={class:"grid grid-cols-12 mt-8"},WU={class:"col-span-12"},GU={class:"text-base"},KU={key:1,class:"grid grid-cols-12 mt-8"},YU={class:"col-span-12"},XU={class:"text-base"},QU=pe({__name:"CareerProjects",props:{projects:{},inputPlaceholder:{},errorMessage:{},filterResetButtonText:{},defaultCategory:{}},setup(e){const t={"icon-geo":Gd,"icon-level":T_,"icon-time":E_,"icon-area":P_},n=$=>$?.icon&&t[$.icon]||Gd,r=e,o=V(""),i=V(""),s=V(""),l=V(""),a=V(""),u=V({}),c=V({}),d=V({}),p=V({}),f=V([]),m=V([]),h=V([]),g=V([]),y=V([]),b=W(()=>{if(!s.value||s.value==="0")return u.value.placeholder||"";const $=u.value.options?.find(F=>F.value===Number.parseInt(s.value));return $?$.label:u.value.placeholder||""}),x=W(()=>{if(!i.value||i.value==="0")return c.value.placeholder||"";const $=c.value.options?.find(F=>F.value===Number.parseInt(i.value));return $?$.label:c.value.placeholder||""}),w=W(()=>{if(!l.value||l.value==="0")return d.value.placeholder||"";const $=d.value.options?.find(F=>F.value===Number.parseInt(l.value));return $?$.label:d.value.placeholder||""}),E=W(()=>{if(!a.value||a.value==="0")return p.value.placeholder||"";const $=p.value.options?.find(F=>F.value===Number.parseInt(a.value));return $?$.label:p.value.placeholder||""}),T=$=>{s.value=$,m.value=[]},k=$=>{i.value=$,h.value=[]},S=$=>{l.value=$,g.value=[]},C=$=>{a.value=$,y.value=[]},A=()=>{let $=[...r.projects.items];if(o.value&&o.value.trim()!==""){const F=o.value.toLowerCase().trim();$=$.filter(q=>q.searchKeywords?q.searchKeywords.toLowerCase().includes(F):!1)}i.value&&i.value!=="0"&&($=$.filter(F=>F.categoryId==i.value)),s.value&&s.value!=="0"&&($=$.filter(F=>F.companyId==s.value)),a.value&&a.value!=="0"&&($=$.filter(F=>F.scheduleId==a.value)),l.value&&l.value!=="0"&&($=$.filter(F=>F.seniorityId==l.value)),f.value=$},M=()=>{s.value="",i.value=r.defaultCategory||"",l.value="",a.value="",o.value="",m.value=[],h.value=[],g.value=[],y.value=[],A()},I=W(()=>s.value&&s.value!=="0"||i.value&&i.value!=="0"||l.value&&l.value!=="0"||a.value&&a.value!=="0"||o.value.trim()!=="");return we([i,s,l,a],()=>{A()}),we(m,$=>{$&&$.length>0&&(h.value=[],g.value=[],y.value=[])}),we(h,$=>{$&&$.length>0&&(m.value=[],g.value=[],y.value=[])}),we(g,$=>{$&&$.length>0&&(m.value=[],h.value=[],y.value=[])}),we(y,$=>{$&&$.length>0&&(m.value=[],h.value=[],g.value=[])}),Ve(()=>{if(r.defaultCategory&&r.defaultCategory!==""&&(i.value=r.defaultCategory),r.projects.items.length>0&&A(),Object.keys(r.projects.filters).length>0&&Object.keys(r.projects.filters).includes("locations")){const $=r.projects.filters.locations;u.value={default:$.default,placeholder:$.placeholder,icon:$.icon,options:$.options.map(F=>({label:F.label,value:F.value}))}}if(Object.keys(r.projects.filters).length>0&&Object.keys(r.projects.filters).includes("categories")){const $=r.projects.filters.categories;c.value={default:$.default,placeholder:$.placeholder,icon:$.icon,options:$.options.map(F=>({label:F.label,value:F.value}))}}if(Object.keys(r.projects.filters).length>0&&Object.keys(r.projects.filters).includes("seniority")){const $=r.projects.filters.seniority;d.value={default:$.default,placeholder:$.placeholder,icon:$.icon,options:$.options.map(F=>({label:F.label,value:F.value}))}}if(Object.keys(r.projects.filters).length>0&&Object.keys(r.projects.filters).includes("schedules")){const $=r.projects.filters.schedules;p.value={default:$.default,placeholder:$.placeholder,icon:$.icon,options:$.options.map(F=>({label:F.label,value:F.value}))}}}),($,F)=>{const q=kh,O=Is;return $.projects.totalItems>0?(P(),B("div",eU,[_("div",tU,[_("div",nU,[_("div",rU,[K(q,{modelValue:o.value,"onUpdate:modelValue":F[0]||(F[0]=L=>o.value=L),placeholder:$.inputPlaceholder,ui:{base:"relative flex w-full ring-2 bg-black text-white rounded-none pt-[36px] pl-[25px] pb-[38px] pr-[28px] text-base",form:"form-input",rounded:"rounded-none",size:{xl:"text-base"},gap:"gap-x-2.5",padding:{xl:"px-10 py-15"},leading:{padding:{xl:"ps-6"}},trailing:{padding:{xl:"pe-16"}},default:{size:"xl",color:"white",variant:"outline"}},class:"career-search-input w-full flex-5",onKeyup:kn(A,["enter"])},{trailing:D(()=>[_("div",{style:{width:"25px",height:"25px"},class:"cursor-pointer flex items-center justify-center mr-6",onClick:A},[...F[5]||(F[5]=[_("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("circle",{cx:"12.5",cy:"12.5",r:"12",stroke:"white"}),_("path",{d:"M7 12L17 12",stroke:"white"}),_("path",{d:"M12 17L17 12L12 7",stroke:"white"})],-1)])])]),_:1},8,["modelValue","placeholder"])])])]),_("div",oU,[_("div",iU,[K(O,{modelValue:m.value,"onUpdate:modelValue":F[1]||(F[1]=L=>m.value=L),type:"single",items:[{label:b.value,value:u.value.default}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black flex items-center justify-start pl-[23px] pt-[24px] pb-[26px] pr-[26px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] pt-0",leadingIcon:"text-white w-[35px] h-[35px]",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] pl-[9px] pr-[25px] text-white text-left truncate"}},{leading:D(()=>[_("img",{src:n(u.value),alt:"",class:"w-[35px] h-[35px]"},null,8,sU)]),body:D(()=>[u.value.options.length>
1130?(P(),B("div",lU,[(P(!0),B(ye,null,Ce(u.value.options,(L,N)=>(P(),B("button",{key:N,value:L.value,onClick:Z=>T(L.value),class:re(["text-left font-light text-[16px] hover:text-[#e70038] transition-colors",s.value===L.value?"text-[#e70038]":"text-white hover:text-[#e70038]"])},te(L.label),11,aU))),128))])):ae("",!0)]),_:1},8,["modelValue","items"])]),_("div",uU,[K(O,{modelValue:h.value,"onUpdate:modelValue":F[2]||(F[2]=L=>h.value=L),type:"single",items:[{label:x.value,value:c.value.default}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black flex items-center justify-start pl-[23px] pt-[24px] pb-[26px] pr-[26px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] pt-0",leadingIcon:"text-white w-[35px] h-[35px]",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] pl-[9px] pr-[25px] text-white text-left truncate"}},{leading:D(()=>[_("img",{src:n(c.value),alt:"",class:"w-[35px] h-[35px]"},null,8,cU)]),body:D(()=>[c.value.options.length>0?(P(),B("div",dU,[(P(!0),B(ye,null,Ce(c.value.options,(L,N)=>(P(),B("button",{key:N,value:L.value,onClick:Z=>k(L.value),class:re(["text-left font-light text-[16px] hover:text-[#e70038] transition-colors",i.value===L.value?"text-[#e70038]":"text-white hover:text-[#e70038]"])},te(L.label),11,fU))),128))])):ae("",!0)]),_:1},8,["modelValue","items"])]),_("div",pU,[K(O,{modelValue:g.value,"onUpdate:modelValue":F[3]||(F[3]=L=>g.value=L),type:"single",items:[{label:w.value,value:d.value.default}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black flex items-center justify-start pl-[23px] pt-[24px] pb-[26px] pr-[26px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] pt-0",leadingIcon:"text-white w-[35px] h-[35px]",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] pl-[9px] pr-[25px] text-white text-left truncate"}},{leading:D(()=>[_("img",{src:n(d.value),alt:"",class:"w-[35px] h-[35px]"},null,8,hU)]),body:D(()=>[d.value.options.length>0?(P(),B("div",mU,[(P(!0),B(ye,null,Ce(d.value.options,(L,N)=>(P(),B("button",{key:N,value:L.value,onClick:Z=>S(L.value),class:re(["text-left font-light text-[16px] hover:text-[#e70038] transition-colors",l.value===L.value?"text-[#e70038]":"text-white hover:text-[#e70038]"])},te(L.label),11,gU))),128))])):ae("",!0)]),_:1},8,["modelValue","items"])]),_("div",vU,[K(O,{modelValue:y.value,"onUpdate:modelValue":F[4]||(F[4]=L=>y.value=L),type:"single",items:[{label:E.value,value:p.value.default}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black flex items-center justify-start pl-[23px] pt-[24px] pb-[26px] pr-[26px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] pt-0",leadingIcon:"text-white w-[35px] h-[35px]",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] pl-[9px] pr-[25px] text-white text-left truncate"}},{leading:D(()=>[_("img",{src:n(p.value),alt:"",class:"w-[35px] h-[35px]"},null,8,yU)]),body:D(()=>[p.value.options.length>
1130?(P(),B("div",bU,[(P(!0),B(ye,null,Ce(p.value.options,(L,N)=>(P(),B("button",{key:N,value:L.value,onClick:Z=>C(L.value),class:re(["text-left font-light text-[16px] hover:text-[#e70038] transition-colors",a.value===L.value?"text-[#e70038]":"text-white hover:text-[#e70038]"])},te(L.label),11,xU))),128))])):ae("",!0)]),_:1},8,["modelValue","items"])])]),I.value?(P(),B("div",_U,[_("button",{onClick:M,class:"text-white hover:text-[#e70038] transition-colors flex items-center gap-2 text-base font-light"},[F[6]||(F[6]=_("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor","stroke-width":"1.5"})],-1)),Le(" "+te($.filterResetButtonText),1)])])):ae("",!0),f.value.length>0?(P(),B("div",wU,[(P(!0),B(ye,null,Ce(f.value,L=>(P(),B("a",{href:`${L.jobDetailsUrl}`,class:"career-link block hover:no-underline border-2 border-black hover:border-[#e70038] [&:not(:first-child)]:mt-6",key:L.id},[_("div",kU,[_("div",CU,[_("div",TU,[_("div",EU,[_("h2",{class:"job-title text-white font-bold text-xl md:text-2xl",innerHTML:L.positionTitle},null,8,PU)]),_("div",IU,[_("div",AU,[_("img",{src:v(Gd),alt:"",class:"w-[35px] h-[35px]"},null,8,$U),_("span",MU,te(L.locationOriginal),1)]),_("div",OU,[_("img",{src:v(P_),alt:"",class:"w-[35px] h-[35px] hidden lg:block"},null,8,LU),_("span",qU,te(L.categoryName),1)]),_("div",RU,[_("img",{src:v(T_),alt:"",class:"w-[35px] h-[35px] hidden lg:block"},null,8,BU),_("span",FU,te(L.seniorityName),1)]),_("div",DU,[_("img",{src:v(E_),alt:"",class:"w-[35px] h-[35px] hidden lg:block"},null,8,NU),_("span",VU,te(L.scheduleName),1)]),_("div",zU,te(L.locationOriginal)+"Â |Â "+te(L.categoryName)+"Â |Â "+te(L.seniorityName)+"Â |Â "+te(L.scheduleName),1),_("a",{href:`${L.jobDetailsUrl}`,class:"career-link hidden max-lg:block"},[...F[7]||(F[7]=[_("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("circle",{cx:"15",cy:"15",r:"14.5",stroke:"white"}),_("path",{d:"M9 15L21 15",stroke:"white"}),_("path",{d:"M15 21L21 15L15 9",stroke:"white"})],-1)])],8,jU)])]),F[8]||(F[8]=Wp('<div class="gap-2.5 items-center hidden lg:flex" data-v-141516b2><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-141516b2><circle cx="15" cy="15" r="14.5" stroke="white" data-v-141516b2></circle><path d="M9 15L21 15" stroke="white" data-v-141516b2></path><path d="M15 21L21 15L15 9" stroke="white" data-v-141516b2></path></svg></div>',1))])])],8,SU))),128))])):(P(),B("div",HU,[_("div",UU,[_("div",WU,[_("p",GU,te($.errorMessage),1)])])]))])):(P(),B("div",KU,[_("div",YU,[_("p",XU,te($.errorMessage),1)])]))}}}),JU=En(QU,[["__scopeId","data-v-141516b2"]]),ZU=["aria-expanded","innerHTML"],eW={class:"flex-1 md:self-center h-auto relative md:max-h-58prc lg:h-full"},tW=["innerHTML"],nW=pe({__name:"ModalBox",props:{modalContent:{},buttonContent:{}},setup(e){const t=`modal-box-content-${Math.random().toString(36).slice(2,11)}`,n=e,r=V(!1);Ll(r);const o=()=>{r.value=!0};return(i,s)=>{const l=Zc;return P(),B("div",null,[_("button",{type:"button","aria-expanded":r.value,"aria-controls":t,onClick:o,class:"inline-block hover:text-primary transition-opacity hover:cursor-pointer",innerHTML:i.buttonContent},null,8,ZU),K(l,{fullscreen:"",overlay:!0,dismissible:!0,open:r.value,"onUpdate:open":s[1]||(s[1]=a=>r.value=a),title:"Modal Content",description:"Modal Content Description",ui:{overlay:"bg-black/70 z-[70]",content:"bg-black/70 z-[71] flex items-center md:justify-center mt-8 md:mt-0"}},{content:D(()=>[_("section",{id:t,class:"flex container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto gap-4 sm:gap-5 md:gap-6 py-4 h-full max-h-[85vh] md:max-h-full"},[_("div",eW,[(P(),B("svg",{class:"absolute top-15px right-15px z-20 cursor-pointer sm:top-28px sm:right-28px w-20px h-auto sm:w-auto",width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:s[0]||(s[0]=a=>r.value=!1)},[...s[2]||(s[2]=[_("circle",{cx:"15.5",cy:"15.5",r:"14",stroke:"#E70038","stroke-width":"2"},null,-1),_("path",{d:"M9.5 9.5L21.5 21.5",stroke:"#E70038"},null,-1),_("path",{d:"M9.5 21.5L21.5 9.5",stroke:"#E70038"},null,-1)])])),s[3]||(s[3]=_("div",{class:"flex h-[50px] w-full"},null,-1)),_("div",{class:"w-full h-full md:mt-12 overflow-y-auto",innerHTML:n.modalContent},null,8,tW)])])]),_:1},8,["open"])])}}}),rW={class:"group w-full flex items-center justify-between h-[50px] text-white"},oW={class:"font-bold text-base"},iW={class:"flex flex-col pb-4"},sW=["href","target"],lW=pe({__name:"QuicklinkDropdown",props:{title:{},links:{}},setup(e){const t=n=>{if(n.startsWith("#"))return n;try{const r=new globalThis.URL(n,globalThis.location.origin),o=globalThis.location.pathname,i=r.pathname.replace(/\/$/,""),s=o.replace(/\/$/,"");if(i===s&&r.hash)return r.hash}catch{return n}return n};return(n,r)=>{const o=it,i=Oe("router-link"),s=vh;return P(),X(s,{class:"w-full"},{content:D(()=>[_("div",iW,[(P(!0),B(ye,null,Ce(n.links,(l,a)=>(P(),B(ye,{key:a},[l.url.includes("#")?(P(),X(i,{key:0,to:t(l.url),replace:"",class:"text-white text-base font-light leading-[35px] hover:opacity-80 transition-opacity"},{default:D(()=>[Le(te(l.label),1)]),_:2},1032,["to"])):(P(),B("a",{key:1,href:l.url,target:l.target||"_self",class:"text-white text-base font-light leading-[35px] hover:opacity-80 transition-opacity"},te(l.label),9,sW))],64))),128))])]),default:D(()=>[_("button",rW,[_("span",oW,te(n.title),1),K(o,{name:"i-lucide-chevron-down",class:"w-5 h-5 group-data-[state=open]:rotate-180 transition-transform duration-200"})])]),_:1})}}}),aW={class:"quicklinks-sticky-root"},uW={class:"quicklinks-wrapper relative"},cW={class:"hidden xl:flex bg-black border-t border-toptica-grey-5"},dW={class:"container mx-auto max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl w-full"},fW={class:"flex items-center justify-between h-[50px]"},pW={class:"text-white"},hW={key:0,"aria-label":"Breadcrumb",class:"flex items-center gap-2 font-light text-base leading-none text-trim-all"},mW={key:0,"aria-hidden":"true",class:"inline-flex items-center leading-none mt-[-3px]"},gW=["href"],vW={key:2,class:"font-bold whitespace-nowrap"},yW={key:1,class:"font-bold text-xl text-trim"},bW={class:"flex items-center gap-6"},xW=["href","target"],_W={class:"xl:hidden bg-black border-t border-toptica-grey-5"},wW={class:"container mx-auto max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl"},SW=pe({__name:"StickyQuicklinks",props:{title:{},links:{},breadcrumbs:{default:()=>[]}},setup(e){const t=p=>
113{if(p.startsWith("#"))return p;try{const f=new globalThis.URL(p,globalThis.location.origin),m=globalThis.location.pathname,h=f.pathname.replace(/\/$/,""),g=m.replace(/\/$/,"");if(h===g&&f.hash)return f.hash}catch{return p}return p},n=V(null);let r=null;const o=V(!1),i=V(!1),s=V(0),l=V(50);function a(){const p=n.value;if(!p||o.value)return;const f=window.pageYOffset||document.documentElement.scrollTop,m=Ao.value;if(m>0&&f<m)return;const g=p.getBoundingClientRect().top+window.scrollY;s.value=g-Ci.value}function u(){const p=n.value;if(!p)return;const f=p.getBoundingClientRect().height;f>0&&(l.value=Math.round(f))}const c=()=>{const p=window.pageYOffset||document.documentElement.scrollTop,f=Ao.value,m=f>0&&p<f;if(p<=5&&!m){o.value=!1,i.value=!1,je(()=>a());return}if(m){i.value||u(),o.value=!1,i.value=!0,je(()=>a());return}const h=f>0?Math.max(f,s.value):s.value;!o.value&&p>h&&(u(),o.value=!0),i.value=o.value},d=()=>{Sh()||(ka(),u(),je(()=>a()))};return Ve(()=>{const p=globalThis.ResizeObserver;if(typeof p=="function"){const f=new p(m=>{const h=m[0]?.contentRect.height;h>0&&(l.value=Math.round(h))});r=()=>f.disconnect(),je(()=>{ka(),n.value&&f.observe(n.value),u(),a(),c()})}else r=()=>{},je(()=>{ka(),u(),a(),c()});window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",d)}),we(Ci,()=>{je(()=>a())}),we(Ao,()=>{c(),je(()=>a())}),vn(()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",d),r?.(),r=null}),(p,f)=>{const m=Oe("router-link"),h=Oe("quicklink-dropdown");return P(),B("div",aW,[_("div",{"aria-hidden":"true",class:"pointer-events-none w-full shrink-0",style:gn({height:i.value?`${l.value}px`:"0px"})},null,4),_("div",uW,[(P(),X(zc,{defer:"",disabled:!i.value,to:"#site-header-quicklinks-slot"},[_("div",{ref_key:"quicklinksStickyRef",ref:n,class:"w-full"},[_("div",cW,[_("div",dW,[_("div",fW,[_("div",pW,[p.breadcrumbs.length>0?(P(),B("nav",hW,[(P(!0),B(ye,null,Ce(p.breadcrumbs,(g,y)=>(P(),B(ye,{key:y},[y>0?(P(),B("span",mW,"»")):ae("",!0),g.url?(P(),B("a",{key:1,href:g.url,class:"hover:text-primary transition-colors whitespace-nowrap"},te(g.label),9,gW)):(P(),B("span",vW,te(g.label),1))],64))),128))])):(P(),B("span",yW,te(p.title),1))]),_("div",bW,[(P(!0),B(ye,null,Ce(p.links,(g,y)=>(P(),B(ye,{key:y},[g.url.includes("#")?(P(),X(m,{key:0,to:t(g.url),class:"text-white text-base font-light hover:opacity-80 transition-opacity whitespace-nowrap"},{default:D(()=>[Le(te(g.label),1)]),_:2},1032,["to"])):(P(),B("a",{key:1,href:g.url,class:"text-white text-base font-light hover:opacity-80 transition-opacity whitespace-nowrap",target:g.target||"_self"},te(g.label),9,xW))],64))),128))])])])]),_("div",_W,[_("div",wW,[K(h,{title:p.title,links:p.links},null,8,["title","links"])])])],512)],8,["disabled"]))])])}}}),kW={class:"w-full"},CW={class:"grid grid-cols-12 gap-0"},TW={class:"col-span-12 lg:col-span-6 order-1 lg:order-3 px-[16px] py-[32px] md:px-[18px] md:pt-[18px] md:pb-0 lg:px-[25px] lg:py-[25px]"},EW={class:"relative w-full"},PW={class:"relative"},IW=["onKeydown"],AW={key:0,class:"absolute top-[50px] left-0 right-0 bg-black border-l border-r border-b border-[#72797b] max-h-[241px] overflow-y-auto z-10"},$W=["onMousedown"],MW={class:"col-span-12 md:col-span-6 lg:col-span-3 order-2 lg:order-1 px-[16px] py-[32px] md:px-[20px] md:pt-[40px] md:pb-[30px] lg:px-[25px] lg:pt-[25px] lg:pb-[30px] flex flex-col gap-[32px] md:gap-[29px] lg:gap-[25px] text-trim-all"},OW=["onClick"],LW={class:"col-span-12 md:col-span-6 lg:col-span-3 order-3 lg:order-2 px-[16px] py-[32px] md:px-[20px] md:pt-[40px] md:pb-[30px] lg:px-[25px] lg:py-[25px] flex flex-col gap-[32px] md:gap-[29px] lg:gap-[25px] text-trim-all"},qW=["onClick"],RW=pe({__name:"LaserAccessoriesFilter",props:{products:{},selectedLaser:{},selectedAccessory:{},selectedProduct:{},searchQuery:{}},emits:["laser-change","accessory-change","product-change","search-query-change"],setup(e,{emit:t}){const n=e;we(()=>n.selectedLaser,k=>{s.value=k??null}),we(()=>n.selectedAccessory,k=>{l.value=k??null}),we(()=>n.selectedProduct,k=>{a.value=k??null}),we(()=>n.searchQuery,k=>{u.value=k??""});const r=V([{id:"Single mode diode laser",name:"Single mode lasers"},{id:"Narrow linewidth lasers",name:"Narrow linewidth lasers"},{id:"Femtosecond lasers",name:"Femtosecond lasers"}
113,{id:"Laser combiners",name:"Laser combiners"},{id:"Frequency combs",name:"Frequency combs"},{id:"Rack integrated lasers",name:"Rack integrated lasers"},{id:"Optical quantum clocks",name:"Optical quantum clocks"},{id:"Guide star lasers",name:"Guide star lasers"},{id:"Terahertz",name:"Terahertz"}]),o=V([{id:"Locking & driving electronics",name:"Locking & driving electronics"},{id:"Wavemeters & analysers",name:"Wavemeters & analysers"},{id:"Optical isolators",name:"Optical isolators"},{id:"Optical components",name:"Optical components"},{id:"Laser diodes",name:"Laser diodes"}]),i=t,s=V(null),l=V(null),a=V(null),u=V(""),c=V(!1),d=V([]),p=W(()=>{const k=n.products||[];if(!u.value)return k;const S=u.value.toLowerCase();return k.filter(C=>C.name.toLowerCase().includes(S))}),f=W(()=>u.value.trim().length>0),m=()=>{d.value=[]},h=k=>{s.value=s.value===k?null:k,s.value!==null&&(l.value=null);const S=s.value&&r.value.find(C=>C.id===s.value)?.name||null;i("laser-change","laser",s.value,S),m()},g=k=>{l.value=l.value===k?null:k,l.value!==null&&(s.value=null);const S=l.value&&o.value.find(C=>C.id===l.value)?.name||null;i("accessory-change","accessory",l.value,S),m()},y=k=>{a.value=k;const C=(n.products||[]).find(A=>A.id===k);C&&(u.value=C.name),c.value=!1,i("product-change",a.value),i("search-query-change",u.value),m()},b=()=>{c.value=!0,a.value&&(a.value=null,i("product-change",null)),i("search-query-change",u.value)},x=()=>{globalThis.setTimeout(()=>{c.value=!1},200)},w=k=>{c.value=!1,i("search-query-change",u.value),(k?.alwaysCloseAccordion||f.value)&&m()},E=()=>{w()},T=()=>{w({alwaysCloseAccordion:!0})};return(k,S)=>{const C=it,A=Is;return P(),B("div",kW,[K(A,{modelValue:d.value,"onUpdate:modelValue":S[3]||(S[3]=M=>d.value=M),type:"single",items:[{label:"Lasers & Accessories",value:"application-filter"}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black h-[66px] md:h-[60px] lg:h-[85px] flex items-center justify-between px-[25px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-0 pt-0 pb-0",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white group-data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[20px] text-white text-left break-words pr-[85px] max-md:pr-[60px]"}},{body:D(()=>[_("div",CW,[_("div",TW,[_("div",EW,[_("div",PW,[Or(_("input",{"onUpdate:modelValue":S[0]||(S[0]=M=>u.value=M),type:"text",placeholder:"Search products...",onInput:b,onFocus:S[1]||(S[1]=M=>c.value=!0),onBlur:x,onKeydown:kn(St(E,["prevent"]),["enter"]),class:"w-full h-[50px] bg-black border border-[#72797b] text-white font-light text-[16px] leading-[25px] px-[14px] md:px-[18px] lg:px-[25px] pr-[45px] focus:outline-none focus:border-[#e70038] transition-colors placeholder-gray-500"},null,40,IW),[[rr,u.value]]),_("button",{type:"button",class:"absolute right-[15px] top-1/2 -translate-y-1/2 w-[20px] h-[20px] cursor-pointer",onMousedown:S[2]||(S[2]=St(()=>{},["prevent"])),onClick:T},[K(C,{name:"i-lucide-search",class:re(["w-full h-full transition-colors",f.value?"text-white":"text-[#72797b]"])},null,8,["class"])],32)]),c.value&&p.value.length>0?(P(),B("div",AW,[(P(!0),B(ye,null,Ce(p.value,M=>(P(),B("button",{key:M.id,onMousedown:I=>y(M.id),class:re(["w-full text-left px-[16px] md:px-[18px] lg:px-[25px] py-[12.5px] font-light text-[16px] leading-[20px] text-white hover:bg-[#e70038]/10 transition-colors cursor-pointer opacity-60 hover:opacity-100",{"opacity-100 bg-[#e70038]/20":a.value===M.id}])},te(M.name),43,$W))),128))])):ae("",!0)])]),_("div",MW,[S[4]||(S[4]=_("h3",{class:"font-bold text-[16px] leading-[20px] text-white"}," Lasers ",-1)),(P(!0),B(ye,null,Ce(r.value,M=>(P(),B("button",{key:M.id,onClick:I=>h(M.id),class:re(["text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors cursor-pointer",{"text-[#e70038]":s.value===M.id}])},te(M.name),11,OW))),128))]),_("div",LW,[S[5]||(S[5]=_("h3",{class:"font-bold text-[16px] leading-[20px] text-white"}
113," Accessories ",-1)),(P(!0),B(ye,null,Ce(o.value,M=>(P(),B("button",{key:M.id,onClick:I=>g(M.id),class:re(["text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors cursor-pointer",{"text-[#e70038]":l.value===M.id}])},te(M.name),11,qW))),128))])])]),_:1},8,["modelValue"])])}}}),u5=En(RW,[["__scopeId","data-v-d643be14"]]),BW={class:"grid grid-cols-1 md:grid-cols-3 gap-[25px] md:gap-[21px] lg:gap-[25px] items-start"},FW={class:"absolute right-[15px] top-1/2 -translate-y-1/2 w-[20px] h-[20px] pointer-events-none"},DW={class:"flex flex-col gap-[25px] items-start"},NW={class:"font-bold text-[16px] leading-[20px] text-white"},VW=["href"],zW=["onClick"],jW=["onClick"],HW={class:"font-bold text-[16px] leading-[20px] text-white"},UW={key:1,class:"w-full h-[60px] md:h-[75px] lg:h-[50px] px-[16px] md:px-[20px] lg:px-[25px] flex items-center justify-between"},WW={class:"font-bold text-[16px] leading-[20px] text-white"},GW={key:2,class:"px-[16px] pt-[3px] lg:pt-[8px] pb-[16px] md:px-[20px] md:pb-[30px] lg:px-[25px] lg:pb-[25px] flex flex-col gap-[25px]"},KW=["href"],YW=["onClick"],Ch=pe({__name:"ApplicationFilter",props:{selectedApplication:{},isStandalone:{type:Boolean},applicationCategories:{}},emits:["application-selected"],setup(e,{emit:t}){const n=e;we(()=>n.selectedApplication,f=>{(!f||f==="")&&(i.value="")});const r=V(n.applicationCategories??[]),o=t,i=V(""),s=V([]),l=V([]),a=W(()=>{if(!i.value.trim())return[];const f=i.value.toLowerCase();return r.value.map(m=>({...m,applications:m.applications.filter(h=>h.title.toLowerCase().includes(f))})).filter(m=>m.applications.length>0)}),u=W(()=>i.value.trim().length>0),c=(f,m)=>{o("application-selected",f,m),s.value=[],i.value=""},d=f=>{const m=l.value.indexOf(f);m===-1?l.value.push(f):l.value.splice(m,1)},p=f=>l.value.includes(f);return(f,m)=>{const h=it,g=Is;return P(),X(g,{modelValue:s.value,"onUpdate:modelValue":m[1]||(m[1]=y=>s.value=y),type:"single",items:[{label:"Applications",value:"applications-filter"}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black h-[66px] md:h-[60px] lg:h-[85px] flex items-center justify-between px-[16px] md:px-[18px] lg:px-[25px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[16px] py-[16px] md:px-[18px] md:py-[18px] lg:px-[23px] lg:py-[25px]",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white group-data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] text-white text-left"}},{body:D(()=>[_("div",BW,[_("div",{class:re(["relative self-start col-span-1 md:col-span-3",{"lg:col-span-3":u.value}])},[Or(_("input",{"onUpdate:modelValue":m[0]||(m[0]=y=>i.value=y),type:"text",placeholder:"Free text with suggestions ...",class:"w-full h-[50px] bg-black border border-[#72797b] text-white font-light text-[16px] leading-[25px] px-[14px] md:px-[18px] lg:px-[24px] pr-[45px] focus:outline-none focus:border-[#e70038] transition-colors placeholder-gray-500"},null,512),[[rr,i.value]]),_("div",FW,[K(h,{name:"i-lucide-search",class:re(["w-full h-full transition-colors",u.value?"text-white":"text-[#72797b]"])},null,8,["class"])])],2),u.value?(P(!0),B(ye,{key:0},Ce(a.value,y=>(P(),B("div",{key:y.id,class:"bg-[#141616] border border-[#72797b] hover:border-[#e70038] transition-colors px-[16px] pt-[20px] pb-[16px] md:px-[20px] md:pb-[30px] lg:px-[25px] lg:pb-[25px] text-left self-start text-trim-all"},[_("div",DW,[_("h3",NW,te(y.name),1),f.isStandalone?(P(!0),B(ye,{key:0},Ce(y.applications,b=>(P(),B("a",{key:b.id,href:b.link,class:"text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors w-full"},te(b.title),9,VW))),128)):(P(!0),B(ye,{key:1},Ce(y.applications,b=>(P(),B("button",{key:b.id,onClick:x=>c(y.name,b),class:"text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors w-full"},te(b.title),9,zW))),128))])]))),128)):(P(!0),B(ye,{key:1},Ce(r.value,y=>(P(),B("div",{key:y.id,class:"bg-[#141616] border border-[#72797b] hover:border-[#e70038] transition-colors self-start text-trim-all"},[y.applications.length>0?(P(),B("button",{key:0,onClick:b=>d(y.id),class:"w-full h-[60px] md:h-[75px] lg:h-[50px] px-[16px] md:px-[20px] lg:px-[25px] flex items-center justify-between text-left"},[_("span",HW,te(y.name),1),K(h,{name:"i-lucide-chevron-down",class:re(["w-[30px] h-[30px] max-md:w-6 max-md:h-6 transition-all duration-200 shrink-0",{"rotate-180 text-[#e70038]":p(y.id),"text-white":!p(y.id)}])},null,8,["class"])],8,jW)):(P(),B("div",UW,[_("span",WW,te(y.name),1)])),y.applications.length>0&&p(y.id)?(P(),B("div",GW,[f.isStandalone?(P(!0),B(ye,{key:0},Ce(y.applications,b=>(P(),B("a",{key:b.id,href:b.link,class:"text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors"},te(b.title),9,KW))),128)):(P(!0),B(ye,{key:1},Ce(y.applications,b=>(P(),B("button",{key:b.id,onClick:x=>c(y.name,b),class:"text-left font-light text-[16px] leading-[20px] text-white hover:text-[#e70038] transition-colors"},te(b.title),9,YW))),128))])):ae("",!0)]))),128))])]),_:1},8,["modelValue"])}}}),XW={class:"w-full"},QW={class:"flex flex-col gap-[30px] lg:flex-row lg:items-start lg:gap-0"},JW={class:"w-full lg:shrink-0 lg:w-[282px]"},ZW={class:"relative"},eG=["onKeydown"],tG={class:"flex w-full text-trim-all md:gap-x-[86px] lg:ml-[65px] lg:w-auto lg:gap-[35px]"},nG={class:"flex w-1/2 flex-col gap-y-[30px] md:w-auto lg:gap-y-[26px]"},rG={class:"flex items-center gap-[10px] cursor-pointer group"},oG=["checked"],iG={class:"flex items-center gap-[10px] cursor-pointer group"},sG=["checked"],lG={class:"flex w-1/2 flex-col gap-y-[30px] md:w-auto lg:gap-y-[26px]"},aG={class:"flex items-center gap-[10px] cursor-pointer group"},uG=["checked"],cG={class:"flex items-center gap-[10px] cursor-pointer group"},dG=["checked"],Th=pe({__name:"EmissionWavelengthFilter",props:{inputValue:{},selectedUnit:{}},emits:["change","enter"],setup(e,{emit:t}){const n=e,r=t,o=V(""),i=V("nm"),s=V([]),l=W(()=>o.value.trim().length>0);we(()=>n.inputValue,(h="")=>{o.value!==h&&(o.value=h)}),we(()=>n.selectedUnit,(h="nm")=>{i.value!==h&&(i.value=h)});const a=h=>{i.value=h,c()},u=()=>{c()},c=()=>{r("change",o.value,i.value)},d=()=>{s.value=[]},p=h=>{c(),(h?.alwaysCloseAccordion||l.value)&&d()},f=()=>{p(),r("enter")},m=()=>{p({alwaysCloseAccordion:!0})};
113return(h,g)=>{const y=it,b=Is;return P(),B("div",XW,[K(b,{modelValue:s.value,"onUpdate:modelValue":g[6]||(g[6]=x=>s.value=x),type:"single","unmount-on-hide":!1,items:[{label:"Emission wavelength",value:"emission-wavelength"}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black h-[66px] md:h-[60px] lg:h-[85px] flex items-center justify-between px-[25px] md:px-[18px] lg:px-[25px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] md:px-[18px] md:pt-0 md:pb-[32px] lg:px-[23px] lg:pt-[3px] lg:pb-[25px]",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white group-data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] text-white text-left"}},{body:D(()=>[_("div",QW,[_("div",JW,[_("div",ZW,[Or(_("input",{"onUpdate:modelValue":g[0]||(g[0]=x=>o.value=x),type:"text",inputmode:"decimal",placeholder:"Enter value ...",onInput:u,onKeydown:kn(St(f,["prevent"]),["enter"]),class:"w-full h-[50px] lg:h-[58px] bg-black border border-[#72797b] text-white font-light text-[16px] leading-[25px] px-[14px] lg:px-[19px] pr-[45px] focus:outline-none focus:border-[#e70038] transition-colors placeholder-gray-500"},null,40,eG),[[rr,o.value]]),_("button",{type:"button",class:"absolute right-[15px] md:right-[14px] top-1/2 -translate-y-1/2 w-[20px] h-[20px] cursor-pointer",onMousedown:g[1]||(g[1]=St(()=>{},["prevent"])),onClick:m},[K(y,{name:"i-lucide-search",class:re(["w-full h-full transition-colors",l.value?"text-white":"text-[#72797b]"])},null,8,["class"])],32)])]),_("div",tG,[_("div",nG,[_("label",rG,[_("input",{type:"radio",value:"nm",checked:i.value==="nm",onChange:g[2]||(g[2]=x=>a("nm")),class:"hidden"},null,40,oG),_("span",{class:re(["w-5 h-5 lg:w-4 lg:h-4 rounded-full border-2 flex items-center justify-center transition-all",i.value==="nm"?"border-white bg-[#e70038]":"border-[#72797b] bg-transparent group-hover:border-[#e70038]"])},null,2),g[7]||(g[7]=_("span",{class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"}," nm ",-1))]),_("label",iG,[_("input",{type:"radio",value:"µm",checked:i.value==="µm",onChange:g[3]||(g[3]=x=>a("µm")),class:"hidden"},null,40,sG),_("span",{class:re(["w-5 h-5 lg:w-4 lg:h-4 rounded-full border-2 flex items-center justify-center transition-all",i.value==="µm"?"border-white bg-[#e70038]":"border-[#72797b] bg-transparent group-hover:border-[#e70038]"])},null,2),g[8]||(g[8]=_("span",{class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"}," µm ",-1))])]),_("div",lG,[_("label",aG,[_("input",{type:"radio",value:"wavenumber",checked:i.value==="wavenumber",onChange:g[4]||(g[4]=x=>a("wavenumber")),class:"hidden"},null,40,uG),_("span",{class:re(["w-5 h-5 lg:w-4 lg:h-4 rounded-full border-2 flex items-center justify-center transition-all",i.value==="wavenumber"?"border-white bg-[#e70038]":"border-[#72797b] bg-transparent group-hover:border-[#e70038]"])},null,2),g[9]||(g[9]=_("span",{class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"}," wavenumber ",-1))]),_("label",cG,[_("input",{type:"radio",value:"THz",checked:i.value==="THz",onChange:g[5]||(g[5]=x=>a("THz")),class:"hidden"},null,40,dG),_("span",{class:re(["w-5 h-5 lg:w-4 lg:h-4 rounded-full border-2 flex items-center justify-center transition-all",i.value==="THz"?"border-white bg-[#e70038]":"border-[#72797b] bg-transparent group-hover:border-[#e70038]"])},null,2),g[10]||(g[10]=_("span",{class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"}," THz ",-1))])])])])]),_:1},8,["modelValue"])])}}}),fG={class:"flex flex-col gap-[30px] lg:flex-row lg:items-start lg:gap-0"},pG={class:"w-full lg:shrink-0 lg:w-[282px]"},hG={class:"relative w-full"},mG=["onKeydown"],gG={class:"flex text-trim-all gap-x-[86px] lg:ml-[65px] lg:gap-[35px]"},vG=["id","value"],yG={class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"},Eh=pe({__name:"OpticalPowerFilter",props:{inputValue:{},selectedUnit:{}},emits:["change","enter"],setup(e,{emit:t}){const n=e,r=t,o=V(""),i=V("mW"),s=V([]),l=W(()=>o.value.trim().length>0);we(()=>n.inputValue,(m="")=>{o.value!==m&&(o.value=m)}),we(()=>n.selectedUnit,(m="mW")=>{i.value!==m&&(i.value=m)});const a=[{value:"mW",label:"mW"},{value:"W",label:"W"}],u=()=>{r("change",o.value,i.value)},c=()=>{s.value=[]},d=m=>{u(),(m?.alwaysCloseAccordion||l.value)&&c()},p=()=>{d(),r("enter")},f=()=>{d({alwaysCloseAccordion:!0})};return(m,h)=>{const g=it,y=Is;return P(),X(y,{modelValue:s.value,"onUpdate:modelValue":h[3]||(h[3]=b=>s.value=b),type:"single","unmount-on-hide":!1,items:[{label:"Optical power",value:"optical-power-filter"}],ui:{root:"w-full flex flex-col",item:"border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200 !border-b-2",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-black h-[66px] md:h-[60px] lg:h-[85px] flex items-center justify-between px-[25px] md:px-[18px] lg:px-[25px] focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 gap-0",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",body:"bg-black w-full px-[25px] py-[25px] md:px-[18px] md:pt-0 md:pb-[32px] lg:px-[23px] lg:pt-[3px] lg:pb-[25px]",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] transition-all duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 text-white group-data-[state=open]:text-[#e70038]",label:"font-bold text-[16px] leading-[25px] text-white text-left"}},{body:D(()=>[_("div",fG,[_("div",pG,[_("div",hG,[Or(_("input",{"onUpdate:modelValue":h[0]||(h[0]=b=>o.value=b),type:"text",inputmode:"decimal",placeholder:"Enter value ...",class:"w-full h-[50px] lg:h-[58px] bg-black border border-[#72797b] text-white font-light text-[16px] leading-[25px] px-[14px] lg:px-[19px] pr-[45px] focus:outline-none focus:border-[#e70038] transition-colors placeholder-gray-500",onInput:u,onKeydown:kn(St(p,["prevent"]),["enter"])},null,40,mG),[[rr,o.value]]),_("button",{type:"button",class:"absolute right-[15px] md:right-[14px] top-1/2 -translate-y-1/2 w-[20px] h-[20px] cursor-pointer",onMousedown:h[1]||(h[1]=St(()=>{},["prevent"])),onClick:f},[K(g,{name:"i-lucide-search",class:re(["w-full h-full transition-colors",l.value?"text-white":"text-[#72797b]"])},null,8,["class"])],32)])]),_("div",gG,[(P(),B(ye,null,Ce(a,b=>_("label",{key:b.value,class:"flex items-center gap-[10px] cursor-pointer group"},[Or(_("input",{type:"radio",id:b.value,value:b.value,"onUpdate:modelValue":h[2]||(h[2]=x=>i.value=x),class:"hidden",onChange:u},null,40,vG),[[Kp,i.value]]),_("span",{class:re(["w-5 h-5 lg:w-4 lg:h-4 roun
113ded-full border-2 flex items-center justify-center transition-all",i.value===b.value?"border-white bg-[#e70038]":"border-[#72797b] bg-transparent group-hover:border-[#e70038]"])},null,2),_("span",yG,te(b.label),1)])),64))])])]),_:1},8,["modelValue"])}}}),bG={class:"grid grid-cols-1 gap-[25px]"},xG={class:"grid grid-cols-1 md:grid-cols-2 gap-[25px]"},c5=pe({__name:"ProductFilter",props:{products:{},filterValues:{},applicationCategories:{}},emits:["filter-change"],setup(e,{emit:t}){const n=e,r=t,o=V(null),i=V(null),s=V(null),l=V(null),a=V(null),u=V(""),c=V(""),d=V(""),p=V(""),f=V("nm"),m=V(""),h=V("mW");we(()=>n.filterValues,S=>{S&&(o.value=S.selectedLaser??null,i.value=S.selectedLaserName??null,s.value=S.selectedAccessory??null,l.value=S.selectedAccessoryName??null,a.value=S.selectedProduct??null,u.value=S.productSearchQuery??"",c.value=S.selectedApplication??"",d.value=S.selectedApplicationCategory??"",p.value=S.wavelengthValue??"",f.value=S.wavelengthUnit??"nm",m.value=S.opticalPowerValue??"",h.value=S.opticalPowerUnit??"mW")},{deep:!0,immediate:!0});const g=(S,C,A)=>{o.value=C,i.value=A,C!==null&&(s.value=null,l.value=null),k()},y=(S,C,A)=>{s.value=C,l.value=A,C!==null&&(o.value=null,i.value=null),k()},b=S=>{a.value=S,k()},x=S=>{u.value=S,k()},w=(S,C)=>{d.value=S,c.value=C.title,k()},E=(S,C)=>{p.value=S,f.value=C,k()},T=(S,C)=>{m.value=S,h.value=C,k()},k=()=>{r("filter-change",{selectedLaser:o.value,selectedLaserName:i.value,selectedAccessory:s.value,selectedAccessoryName:l.value,selectedProduct:a.value,productSearchQuery:u.value,selectedApplication:c.value,selectedApplicationCategory:d.value,wavelengthValue:p.value,wavelengthUnit:f.value,opticalPowerValue:m.value,opticalPowerUnit:h.value})};return(S,C)=>(P(),B("div",bG,[K(u5,{products:S.products,"selected-laser":o.value,"selected-accessory":s.value,"selected-product":a.value,"search-query":u.value,onLaserChange:g,onAccessoryChange:y,onProductChange:b,onSearchQueryChange:x},null,8,["products","selected-laser","selected-accessory","selected-product","search-query"]),K(Ch,{"selected-application":c.value,"application-categories":S.applicationCategories,onApplicationSelected:w},null,8,["selected-application","application-categories"]),_("div",xG,[K(Th,{"input-value":p.value,"selected-unit":f.value,onChange:E},null,8,["input-value","selected-unit"]),K(Eh,{"input-value":m.value,"selected-unit":h.value,onChange:T},null,8,["input-value","selected-unit"])])]))}}),_G=["href"],wG={class:"md:hidden p-[32px]"},SG={class:"flex flex-col gap-[14px]"},kG={class:"font-bold text-xl leading-[25px] text-white group-hover:text-[#e70038] transition-colors"},CG=["innerHTML"],TG=["innerHTML"],EG={class:"flex flex-col gap-[25px]"},PG={class:"w-[148px] h-[100px] overflow-hidden relative shrink-0"},IG=["innerHTML"],AG={class:"flex flex-col gap-[14px] text-white"},$G={class:"font-light leading-[20px]"},MG=["innerHTML"],OG={class:"flex flex-col gap-[14px] text-white"},LG={class:"font-light leading-[20px]"},qG=["innerHTML"],RG={key:0,class:"flex flex-col gap-5"},BG=["innerHTML"],FG={class:"mt-[16px] -mr-[8px] -mb-[8px] flex justify-end"},DG={class:"w-[30px] h-[30px] rounded-full border border-white flex items-center justify-center group-hover:border-[#e70038] transition-colors"},NG={class:"hidden md:block lg:hidden p-[20px] pb-[30px]"},VG={class:"flex flex-col gap-[14px]"},zG={class:"font-bold text-[25px] leading-[30px] text-white group-hover:text-[#e70038] transition-colors"},jG=["innerHTML"],HG=["innerHTML"],UG={class:"grid grid-cols-12 gap-6"},WG={class:"col-span-3 flex items-start justify-start"},GG={class:"w-[140px] h-[140px] overflow-hidden relative shrink-0"},KG=["innerHTML"],YG={class:"col-span-9 flex flex-col gap-[25px]"},XG={class:"grid grid-cols-2 gap-6"},QG={class:"text-white flex flex-col gap-[14px]"},JG={class:"font-light leading-[20px]"},ZG=["innerHTML"],eK={class:"text-white flex flex-col gap-[14px]"},tK={class:"font-light leading-[20px]"},nK=["innerHTML"],rK={key:0},oK={class:"flex flex-col gap-5"},iK=["innerHTML"],sK={class:"absolute bottom-[20px] right-[20px]"},lK={class:"w-[25px] h-[25px] rounded-full border border-white flex items-center justify-center group-hover:border-[#e70038] transition-colors"},aK={class:"hidden lg:block p-[25px]"},uK={class:"grid grid-cols-12 gap-6"},cK={class:"col-span-4 flex flex-col gap-[15px]"},dK={class:"font-bold text-[25px] leading-[30px] text-white group-hover:text-[#e70038] transition-colors"},fK=["innerHTML"],pK=["innerHTML"],hK={class:"grid grid-cols-12 gap-6"},mK={class:"col-span-4 flex items-start justify-start"},gK={class:"w-[170px] h-[116px] overflow-hidden relative shrink-0"},vK=["innerHTML"],yK={class:"col-span-8 grid grid-cols-8 gap-6"},bK={class:"text-white col-span-2"},xK={class:"font-light leading-[25px]"},_K=["innerHTML"],wK={class:"text-white col-span-2"},SK={class:"font-light leading-[25px]"},kK=["innerHTML"],CK={class:"col-span-4"},TK={class:"flex flex-col gap-5"},EK=["innerHTML"],PK={class:"absolute bottom-[25px] right-[25px]"},IK={class:"w-[30px] h-[30px] rounded-full border border-white flex items-center justify-center group-hover:border-[#e70038] transition-colors"},d5=pe({__name:"ProductSearchResult",props:{product:{}},setup(e){const t=e,n=W(()=>t.product.applications.slice(0,3));return(r,o)=>{const i=it;return r.product.url?(P(),B("a",{key:0,href:r.product.url,class:"block bg-black relative border border-transparent hover:border-[#e70038] transition-colors group no-underline"},[_("div",wG,[_("div",SG,[_("h3",kG,[_("span",{innerHTML:r.product.name},null,8,CG)]),_("p",{class:"font-light leading-[25px] text-white",innerHTML:r.product.subline},null,8,TG)]),o[3]||(o[3]=_("div",{class:"py-[20px]"},[_("div",{class:"border-b border-[#72797b]"})],-1)),_("div",EG,[_("div",PG,[_("div",{class:"absolute inset-0 [&_img]:max-w-full [&_img]:max-h-full [&_img]:w-full [&_img]:h-full [&_img]:object-contain [&_img]:object-left-top",innerHTML:r.product.image},null,8,IG)]),_("div",AG,[o[0]||(o[0]=_("p",{class:"font-bold leading-[25px]"},"Emission wavelength",-1)),_("p",$G,[_("span",{innerHTML:r.product.emissionWavelength},null,8,MG)])]),_("div",OG,[o[1]||(o[1]=_("p",{class:"font-bold leading-[25px]"},"Optical power",-1)),_("p",LG,[_("span",{innerHTML:r.product.opticalPower},null,8,qG)])]),n.value.length>0?(P(),B("div",RG,[o[2]||(o[2]=_("p",{class:"font-bold leading-[20px] text-[#72797b]"},"Applications",-1)),(P(!0),B(ye,null,Ce(n.value,(s,l)=>(P(),B("span",{key:l,class:"font-light leading-[20px] text-[#72797b]",innerHTML:s.title},null,8,BG))),128))])):ae("",!0)]),_("div",FG,[_("div",DG,[K(i,{name:"i-lucide-arrow-right",class:"w-[12px] h-[12px] text-white group-hover:text-[#e70038] transition-colors"})])])]),_("div",NG,[_("div",VG,[_("h3",zG,[_("span",{innerHTML:r.product.name},null,8,jG)]),_("p",{class:"font-light text-white",innerHTML:r.product.subline},null,8,HG)]),o[7]||(o[7]=_("div",{class:"py-[20px]"},[_("div",{class:"border-b border-[#72797b]"}
113)],-1)),_("div",UG,[_("div",WG,[_("div",GG,[_("div",{class:"absolute inset-0 [&_img]:max-w-full [&_img]:max-h-full [&_img]:w-full [&_img]:h-full [&_img]:object-contain [&_img]:object-left-top",innerHTML:r.product.image},null,8,KG)])]),_("div",YG,[_("div",XG,[_("div",QG,[o[4]||(o[4]=_("p",{class:"font-bold leading-[25px]"},"Emission wavelength",-1)),_("p",JG,[_("span",{innerHTML:r.product.emissionWavelength},null,8,ZG)])]),_("div",eK,[o[5]||(o[5]=_("p",{class:"font-bold leading-[25px]"},"Optical power",-1)),_("p",tK,[_("span",{innerHTML:r.product.opticalPower},null,8,nK)])])]),n.value.length>0?(P(),B("div",rK,[_("div",oK,[o[6]||(o[6]=_("p",{class:"font-bold leading-[20px] text-[#72797b]"},"Applications",-1)),(P(!0),B(ye,null,Ce(n.value,(s,l)=>(P(),B("span",{key:l,class:"font-light leading-[20px] text-[#72797b]",innerHTML:s.title},null,8,iK))),128))])])):ae("",!0)])]),_("div",sK,[_("div",lK,[K(i,{name:"i-lucide-arrow-right",class:"w-[12px] h-[12px] text-white group-hover:text-[#e70038] transition-colors"})])])]),_("div",aK,[_("div",uK,[_("div",cK,[_("h3",dK,[_("span",{innerHTML:r.product.name},null,8,fK)]),_("p",{class:"font-light text-white",innerHTML:r.product.subline},null,8,pK)]),o[8]||(o[8]=_("div",{class:"col-span-8 grid grid-cols-8 gap-6 items-end"},[_("p",{class:"font-bold text-white col-span-2"},"Emission wavelength"),_("p",{class:"font-bold text-white col-span-2"},"Optical power"),_("p",{class:"font-bold text-white col-span-4"},"Applications")],-1))]),o[9]||(o[9]=_("div",{class:"py-[25px]"},[_("div",{class:"border-b border-[#72797b]"})],-1)),_("div",hK,[_("div",mK,[_("div",gK,[_("div",{class:"absolute inset-0 [&_img]:max-w-full [&_img]:max-h-full [&_img]:w-full [&_img]:h-full [&_img]:object-contain [&_img]:object-left-top",innerHTML:r.product.image},null,8,vK)])]),_("div",yK,[_("div",bK,[_("p",xK,[_("span",{innerHTML:r.product.emissionWavelength},null,8,_K)])]),_("div",wK,[_("p",SK,[_("span",{innerHTML:r.product.opticalPower},null,8,kK)])]),_("div",CK,[_("div",TK,[(P(!0),B(ye,null,Ce(n.value,(s,l)=>(P(),B("span",{key:l,class:"font-light leading-[20px] text-white",innerHTML:s.title},null,8,EK))),128))])])])]),_("div",PK,[_("div",IK,[K(i,{name:"i-lucide-arrow-right",class:"w-[12px] h-[12px] text-white group-hover:text-[#e70038] transition-colors"})])])])],8,_G)):ae("",!0)}}}),AK={key:0,class:"w-full"},$K={class:"flex flex-wrap items-center gap-[15px]"},MK=["onClick"],OK={class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"},LK=pe({__name:"ActiveFilters",props:{filters:{}},emits:["remove-filter","clear-all"],setup(e,{emit:t}){const n=t,r=i=>{n("remove-filter",i)},o=()=>{n("clear-all")};return(i,s)=>{const l=it;return i.filters.length>0?(P(),B("div",AK,[_("div",$K,[(P(!0),B(ye,null,Ce(i.filters,a=>(P(),B("button",{key:a.key,onClick:u=>r(a.key),class:"group flex items-center gap-[10px] px-[20px] py-[10px] bg-transparent border-2 border-[#72797b] hover:border-[#e70038] transition-colors"},[_("span",OK,te(a.label)+": "+te(a.value),1),K(l,{name:"i-lucide-x",class:"w-[14px] h-[14px] text-[#72797b] group-hover:text-[#e70038] transition-colors"})],8,MK))),128)),_("button",{onClick:o,class:"group flex items-center gap-[10px] px-[20px] py-[10px] bg-transparent border-2 border-[#72797b] hover:border-[#e70038] transition-colors"},[s[0]||(s[0]=_("span",{class:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors"}," Clear all ",-1)),K(l,{name:"i-lucide-x",class:"w-[14px] h-[14px] text-[#72797b] group-hover:text-[#e70038] transition-colors"})])])])):ae("",!0)}}}),qK={},RK={width:"24",height:"27",viewBox:"0 0 24 27",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"};function BK(e,t){return P(),B("svg",RK,[...t[0]||(t[0]=[Wp('<line x1="0" y1="2.5" x2="22" y2="2.5" stroke="currentColor" stroke-width="2"></line><circle cx="4" cy="2.5" r="2.5" fill="currentColor"></circle><line x1="0" y1="13.5" x2="22" y2="13.5" stroke="currentColor" stroke-width="2"></line><circle cx="18" cy="13.5" r="2.5" fill="currentColor"></circle><line x1="0" y1="24.5" x2="22" y2="24.5" stroke="currentColor" stroke-width="2"></line><circle cx="4" cy="24.5" r="2.5" fill="currentColor"></circle>',6)])])}const FK=En(qK,[["render",BK]]);class DK{translations={};locale="de";constructor(t={},n="de"){this.translations=t,this.locale=n}translate(t,n,r){let o=this.translations[t];if(o){if(n)for(const[i,s]of Object.entries(n))o=o.replaceAll(`{${i}}`,s);return o}return r!==void 0?r:t}setTranslations(t){this.translations=t}setLocale(t){this.locale=t}getLocale(){return this.locale}has(t){return t in this.translations}}function NK(){if(globalThis.window===void 0||globalThis.document===void 0)return"en";const e=globalThis.document.body;if(e?.dataset.locale)return e.dataset.locale;const t=globalThis.document.documentElement.getAttribute("lang");if(t)return t.split("-")[0];const n=p5("locale");return n||(navigator.language?navigator.language.split("-")[0]:"en")}
113const cr=V({locale:NK(),translations:{},isLoading:!1}),f5=document.location.origin,wf=new DK;function p5(e){if(globalThis.window!==void 0&&globalThis.document!==void 0){const n=globalThis.document.cookie.match(new RegExp(`${e}=([^;]+)`));return n?n[1]:null}return null}function VK(e,t){if(globalThis.window!==void 0&&globalThis.document!==void 0){const n=`${e}=${t}; path=/; max-age=31536000`;globalThis.document.cookie=n}}function h5(e,t){globalThis.window!==void 0&&globalThis.localStorage!==void 0&&globalThis.localStorage.setItem(e,JSON.stringify(t))}function zK(e){if(globalThis.window!==void 0&&globalThis.localStorage!==void 0){const t=globalThis.localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return null}}return null}function jK(e,t=""){if(!e)return t;const n=cr.value.translations[e];return n||t}async function HK(e){try{const t=await fetch(`${f5}/api/translations/${e}`);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);const r=(await t.json()).translations;return cr.value.translations=r,wf.setTranslations(r),wf.setLocale(e),h5(`translations_${e}`,r),r}catch(t){console.error("Failed to load translations:",t);const n=zK(`translations_${e}`);return n?(cr.value.translations=n,wf.setTranslations(n),n):{}}}async function UK(e,t){try{const n=await fetch(`${f5}/api/translations/${e}/namespace/${t}`);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const o=(await n.json()).translations,i={};for(const[s,l]of Object.entries(o))i[`${t}.${s}`]=l;return cr.value.translations={...cr.value.translations,...i},wf.setTranslations(cr.value.translations),h5(`translations_${e}`,cr.value.translations),i}catch(n){return console.error("Failed to load namespace:",n),{}}}function WK(){const e=async r=>{r&&(cr.value.locale=r),cr.value.isLoading=!0;try{return await HK(cr.value.locale)}finally{cr.value.isLoading=!1}},t=async r=>UK(cr.value.locale,r),n=async r=>{await e(r),VK("locale",r)};return{locale:W(()=>cr.value.locale),translations:W(()=>cr.value.translations),isLoading:W(()=>cr.value.isLoading),loadTranslations:e,loadNamespace:t,setLocale:n,getLocaleFromCookie:()=>p5("locale")||"de",clearCache:()=>{if(globalThis.window!==void 0&&globalThis.localStorage!==void 0){const r=Object.keys(globalThis.localStorage);for(const o of r)o.startsWith("translations_")&&globalThis.localStorage.removeItem(o)}},t:jK}}let GK=0;function td(){const e=++GK,t=WK();return Ve(async()=>{if(!(Object.keys(t.translations.value).length>0)&&!t.isLoading.value)try{await t.loadTranslations()}catch(n){console.error(`â [Instance ${e}] Failed:`,n)}}),t}const KK={class:"font-bold text-[16px] leading-[20px] lg:text-[20px] lg:leading-[25px] text-white"},YK={class:"pt-[25px] flex flex-col gap-[25px] pb-[20px]"},XK={class:"w-full bg-background flex items-center gap-[3px] py-[20px] text-[16px] leading-[20px] font-bold text-trim"},QK={class:"text-white"},JK={class:"text-[#939b9d]"},ZK={class:"flex flex-col gap-[25px] text-trim-all"},eY={key:0,class:"text-white text-center py-12"},tY=pe({__name:"ProductList",props:{initialProducts:{},selectedProductGroup:{},applicationCategories:{}},setup(e){const t=e,{t:n}=td(),r=V([]),o=V([]),i=V(null),s=V(!1),l=V(!1),a=W(()=>!!t.selectedProductGroup&&t.selectedProductGroup!=="full"),u=W(()=>{const k=[];for(const S of r.value)S.name&&k.push({id:S.id,name:S.name});return k}),c=W(()=>{const k=[];if(!i.value)return k;if(i.value.selectedLaserName&&k.push({key:"laser",label:"Laser",value:i.value.selectedLaserName}),i.value.selectedAccessoryName&&k.push({key:"accessory",label:"Accessory",value:i.value.selectedAccessoryName}),i.value.selectedApplication&&k.push({key:"application",label:"Application",value:i.value.selectedApplication}),i.value.selectedProduct){const S=u.value.find(C=>C.id===i.value.selectedProduct)?.name;S&&k.push({key:"product",label:"Product",value:S})}else i.value.productSearchQuery&&k.push({key:"product",label:"Product",value:i.value.productSearchQuery});return i.value.wavelengthValue&&k.push({key:"wavelength",label:"Emission Wavelength",value:`${i.value.wavelengthValue} ${i.value.wavelengthUnit}`}),i.value.opticalPowerValue&&k.push({key:"opticalPower",label:"Optical Power",value:`${i.value.opticalPowerValue} ${i.value.opticalPowerUnit}`}),k});Ve(()=>{if(t.initialProducts)try{r.value=t.initialProducts,o.value=d(t.initialProducts)}catch{o.value=[]}const k=new globalThis.URLSearchParams(globalThis.location.search),S={selectedLaser:null,selectedLaserName:null,selectedAccessory:null,selectedAccessoryName:null,selectedProduct:null,productSearchQuery:"",selectedApplication:"",selectedApplicationCategory:"",wavelengthValue:"",wavelengthUnit:"nm",opticalPowerValue:"",opticalPowerUnit:"mW"};if(t.selectedProductGroup&&t.selectedProductGroup!=="full"){const O=t.selectedProductGroup,L=["Single mode diode laser","Narrow linewidth lasers","Femtosecond lasers","Frequency combs","Rack integrated lasers","Optical quantum clocks","Guide star lasers","Terahertz"],N=["Locking & driving electronics","Wavemeters & analysers","Optical isolators","Optical components","Laser diodes","Laser combiners"];
113if(L.includes(O)){S.selectedLaser=O;const Z={"Single mode diode laser":"Single mode lasers","Narrow linewidth lasers":"Narrow linewidth lasers","Femtosecond lasers":"Femtosecond lasers","Frequency combs":"Frequency combs","Rack integrated lasers":"Rack integrated lasers","Optical quantum clocks":"Optical quantum clocks","Guide star lasers":"Guide star lasers",Terahertz:"Terahertz"};S.selectedLaserName=Z[O]||O}else N.includes(O)&&(S.selectedAccessory=O,S.selectedAccessoryName=O)}const C=k.get("application");C&&(S.selectedApplication=C);const A=k.get("wavelength"),M=k.get("wavelengthUnit");A&&(S.wavelengthValue=A,M&&(S.wavelengthUnit=M));const I=k.get("opticalPower"),$=k.get("opticalPowerUnit");I&&(S.opticalPowerValue=I,$&&(S.opticalPowerUnit=$));const F=k.get("laser"),q=k.get("accessory");F?S.productSearchQuery=F:q&&(S.productSearchQuery=q),(C||A||I||F||q||t.selectedProductGroup!=="full")&&(i.value=S,h(S))});const d=k=>k,p=()=>{const k=globalThis.document.querySelector("#product-list");if(!k)return null;let S=k;for(;S;){let M=S.previousElementSibling;for(;M;){if(M.tagName==="H1"&&!k.contains(M))return M;const I=M.querySelector("h1");if(I instanceof globalThis.HTMLElement&&!k.contains(I))return I;M=M.previousElementSibling}S=S.parentElement}const C=[...globalThis.document.querySelectorAll("h1")].filter(M=>!k.contains(M));let A=null;for(const M of C)k.compareDocumentPosition(M)&globalThis.Node.DOCUMENT_POSITION_PRECEDING&&(A=M);return A??C[0]??null},f=()=>{if(l.value||!a.value)return;const k=p();k&&(k.textContent=n("find_your_laser","Find your laser"),l.value=!0)},m=k=>{if(!a.value||l.value)return;k.selectedLaser||k.selectedAccessory||f()},h=k=>{if(i.value=k,m(k),!!!(k.selectedLaserName||k.selectedAccessoryName||k.selectedApplication?.trim()||k.productSearchQuery?.trim()||k.selectedProduct||k.wavelengthValue?.trim()||k.opticalPowerValue?.trim())){o.value=d(r.value);return}const C=[];for(const A of r.value)g(A,k)&&C.push(A);o.value=C},g=(k,S)=>{if(S.selectedLaser){const C=k.additionalProductGroups??[];if(!(k.type===S.selectedLaser||C.includes(S.selectedLaser)))return!1}if(S.selectedAccessory){const C=k.additionalProductGroups??[];if(!(k.type===S.selectedAccessory||C.includes(S.selectedAccessory)))return!1}if(S.selectedApplication&&S.selectedApplication.trim()!==""){const C=S.selectedApplication.toLowerCase().trim();if(!k.applications?.some(M=>M.title.toLowerCase().includes(C)))return!1}return!(S.productSearchQuery&&S.productSearchQuery.trim()!==""&&!k.name.toLowerCase().includes(S.productSearchQuery.toLowerCase().trim())||S.selectedProduct&&k.id!==S.selectedProduct||S.wavelengthValue&&S.wavelengthValue.trim()!==""&&!x(k.emissionWavelengthValue,k.emissionWavelength,S.wavelengthValue,S.wavelengthUnit)||S.opticalPowerValue&&S.opticalPowerValue.trim()!==""&&!w(k.opticalPowerValue,k.opticalPower,S.opticalPowerValue,S.opticalPowerUnit))},y=(k,S)=>{const C=new Set(["nm","µm"]);return C.has(k)&&C.has(S)},b=(k,S)=>S==="µm"?k*1e3:k,x=(k,S,C,A)=>{const M=Number.parseFloat(C);if(Number.isNaN(M))return!1;const I=A.toLowerCase();if(k&&k.trim()!==""){const $=k.split(",").map(F=>F.trim());for(const F of $){const q=F.match(/(nm|µm|THz|wavenumber)$/i),O=q?q[1].toLowerCase():"nm",L=y(O,I);if(!L&&O!==I)continue;const N=L?b(M,I):M,Z=F.match(/^(\d+(?:\.\d+)?)\s*-\s*(\d+(?:\.\d+)?)/);if(Z){let H=Number.parseFloat(Z[1]),G=Number.parseFloat(Z[2]);if(L&&(H=b(H,O),G=b(G,O)),N>=H&&N<=G)return!0}else{const H=F.match(/^(\d+(?:\.\d+)?)/);if(H){let G=Number.parseFloat(H[1]);if(L&&(G=b(G,O)),Math.abs(G-N)<=G*.01)return!0}}}return!1}if(S&&S.trim()!==""){const $=`${C} ${A}`.toLowerCase();return S.toLowerCase()===$}return!1},w=(k,S,C,A)=>{const M=Number.parseFloat(C);if(Number.isNaN(M))return!1;const I=A.toLowerCase()==="w"?M*1e3:M;if(k&&k.trim()!==""){const $=k.split(",").map(F=>F.trim());for(const F of $){const q=F.match(/(mW|W)$/i),O=q?q[1].toLowerCase():"mw",L=F.match(/^(\d+(?:\.\d+)?)\s*-\s*(\d+(?:\.\d+)?)/);if(L){let N=Number.parseFloat(L[1]),Z=Number.parseFloat(L[2]);if(O==="w"&&(N*=1e3,Z*=1e3),I>=N&&I<=Z)return!0}else{const N=F.match(/^(\d+(?:\.\d+)?)/);if(N){let Z=Number.parseFloat(N[1]);if(O==="w"&&(Z*=1e3),Math.abs(Z-I)<=Z*.01)return!0}}}return!1}if(S&&S.trim()!==""){const $=`${C} ${A}`.toLowerCase();return S.toLowerCase()===$}return!1},E=k=>{if(!i.value)return;const S={...i.value};switch(k){case"laser":{S.selectedLaser=null,S.selectedLaserName=null;break}case"accessory":{S.selectedAccessory=null,S.selectedAccessoryName=null;break}case"application":{S.selectedApplication="",S.selectedApplicationCategory="";break}case"product":{S.productSearchQuery="",S.selectedProduct=null;break}case"wavelength":{S.wavelengthValue="",S.wavelengthUnit="nm";break}case"opticalPower":{S.opticalPowerValue="",S.opticalPowerUnit="mW";break}}h(S)},T=()=>{h({selectedLaser:null,selectedLaserName:null,selectedAccessory:null,selectedAccessoryName:null,selectedProduct:null,productSearchQuery:"",selectedApplication:"",selectedApplicationCategory:"",wavelengthValue:"",wavelengthUnit:"nm",opticalPowerValue:"",opticalPowerUnit:"mW"})};return(k,S)=>{const C=vh;return P(),B(ye,null,[_("button",{type:"button",class:"w-full max-w-full md:w-[340px] lg:w-[415px] h-[66px] md:h-[60px] lg:h-[85px] bg-black border-2 border-[#72797b] hover:border-primary transition-colors flex items-center justify-center gap-[15px] p-[15px] cursor-pointer shrink-0",onClick:S[0]||(S[0]=A=>s.value=!s.value)},[_("span",KK,te(s.value?v(n)("product_list.hide_filter","Hide filter"):v(n)("product_list.show_filter","Show filter")),1),K(FK,{class:"text-white shrink-0"})]),K(C,{open:s.value,"onUpdate:open":S[1]||(S[1]=A=>s.value=A),"unmount-on-hide":!1,ui:{root:"flex flex-col",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},{content:D(()=>
113[_("div",YK,[K(c5,{products:u.value,"filter-values":i.value,"application-categories":k.applicationCategories,onFilterChange:h},null,8,["products","filter-values","application-categories"]),K(LK,{filters:c.value,onRemoveFilter:E,onClearAll:T},null,8,["filters"])])]),_:1},8,["open"]),_("div",XK,[_("span",QK,te(o.value.length),1),_("span",JK,"of "+te(r.value.length)+" Products",1)]),_("div",ZK,[o.value.length===0?(P(),B("div",eY," No products found ")):(P(!0),B(ye,{key:1},Ce(o.value,A=>(P(),X(d5,{key:A.id,product:A},null,8,["product"]))),128))])],64)}}}),nY={class:"col-span-12 w-full text-trim-all"},rY=pe({__name:"ProductListApplication",props:{applicationCategories:{}},setup(e){const t=e,n=V(""),r=V(""),o=W(()=>t.applicationCategories?t.applicationCategories.map(s=>({...s,applications:s.applications.filter(l=>l.link&&l.link.trim()!=="")})).filter(s=>s.applications.length>0):[]),i=(s,l)=>{r.value=s,n.value=l.title};return(s,l)=>(P(),B("div",nY,[K(Ch,{"selected-application":n.value,"is-standalone":!0,"application-categories":o.value,onApplicationSelected:i},null,8,["selected-application","application-categories"])]))}}),oY={class:"col-span-12 w-full"},iY={class:"flex flex-col md:flex-row gap-[25px] items-start"},sY={class:"w-full md:flex-1"},lY={class:"w-full md:flex-1"},aY=pe({__name:"ProductListSpecs",props:{findYourLaserUrl:{}},setup(e){const t=e,n=V(""),r=V("nm"),o=V(""),i=V("mW"),s=(u,c)=>{n.value=u,r.value=c},l=(u,c)=>{o.value=u,i.value=c},a=()=>{if(!t.findYourLaserUrl)return;const u=new globalThis.URL(t.findYourLaserUrl,globalThis.location.origin);n.value&&(u.searchParams.set("wavelength",n.value),u.searchParams.set("wavelengthUnit",r.value)),o.value&&(u.searchParams.set("opticalPower",o.value),u.searchParams.set("opticalPowerUnit",i.value)),globalThis.location.href=u.toString()};return(u,c)=>
113(P(),B("div",oY,[_("div",iY,[_("div",sY,[K(Th,{onChange:s,onEnter:a})]),_("div",lY,[K(Eh,{onChange:l,onEnter:a})]),_("div",{class:"flex items-center self-stretch shrink-0 justify-center lg:justify-normal"},[_("button",{onClick:a,class:"w-[30px] h-[30px] flex items-center justify-center group transition-colors cursor-pointer","aria-label":"Find your laser"},[...c[0]||(c[0]=[_("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"w-full h-full"},[_("circle",{cx:"15",cy:"15",r:"14.5",class:"stroke-white group-hover:stroke-[#e70038] transition-colors"}),_("path",{d:"M9 15L21 15",class:"stroke-white group-hover:stroke-[#e70038] transition-colors"}),_("path",{d:"M15 21L21 15L15 9",class:"stroke-white group-hover:stroke-[#e70038] transition-colors"})],-1)])])])])]))}}),uY="data:image/svg+xml,%3csvg%20width='27'%20height='19'%20viewBox='0%200%2027%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M26.25%200.75V18.25H0.75V0.75H26.25Z'%20stroke='white'%20stroke-width='1.5'%20stroke-miterlimit='10'/%3e%3cpath%20d='M24.8002%200.75L13.557%2010.3818L2.20251%200.75H24.8002Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",cY="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15'%20cy='15'%20r='14.5'%20stroke='white'/%3e%3cpath%20d='M9%2015L21%2015'%20stroke='white'/%3e%3cpath%20d='M15%2021L21%2015L15%209'%20stroke='white'/%3e%3c/svg%3e",dY={slots:{root:"relative flex items-start",container:"flex items-center",base:"rounded-sm ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",indicator:"flex items-center justify-center size-full text-inverted",icon:"shrink-0 size-full",wrapper:"w-full",label:"block font-medium text-default",description:"text-muted"},variants:{color:{primary:{base:"focus-visible:outline-primary",indicator:"bg-primary"},secondary:{base:"focus-visible:outline-secondary",indicator:"bg-secondary"},success:{base:"focus-visible:outline-success",indicator:"bg-success"},info:{base:"focus-visible:outline-info",indicator:"bg-info"},warning:{base:"focus-visible:outline-warning",indicator:"bg-warning"},error:{base:"focus-visible:outline-error",indicator:"bg-error"},neutral:{base:"focus-visible:outline-inverted",indicator:"bg-inverted"}},variant:{list:{root:""},card:{root:"border border-muted rounded-lg"}},indicator:{start:{root:"flex-row",wrapper:"ms-2"},end:{root:"flex-row-reverse",wrapper:"me-2"},hidden:{base:"sr-only",wrapper:"text-center"}},size:{xs:{base:"size-3",container:"h-4",wrapper:"text-xs"},sm:{base:"size-3.5",container:"h-4",wrapper:"text-xs"},md:{base:"size-4",container:"h-5",wrapper:"text-sm"},lg:{base:"size-4.5",container:"h-5",wrapper:"text-sm"},xl:{base:"size-5",container:"h-6",wrapper:"text-base"}},required:{true:{label:"after:content-['*'] after:ms-0.5 after:text-error"}},disabled:{true:{base:"cursor-not-allowed opacity-75",label:"cursor-not-allowed opacity-75",description:"cursor-not-allowed opacity-75"}},checked:{true:""}},compoundVariants:[{size:"xs",variant:"card",class:{root:"p-2.5"}},{size:"sm",variant:"card",class:{root:"p-3"}},{size:"md",variant:"card",class:{root:"p-3.5"}},{size:"lg",variant:"card",class:{root:"p-4"}},{size:"xl",variant:"card",class:{root:"p-4.5"}},{color:"primary",variant:"card",class:{root:"has-data-[state=checked]:border-primary"}},{color:"secondary",variant:"card",class:{root:"has-data-[state=checked]:border-secondary"}},{color:"success",variant:"card",class:{root:"has-data-[state=checked]:border-success"}},{color:"info",variant:"card",class:{root:"has-data-[state=checked]:border-info"}},{color:"warning",variant:"card",class:{root:"has-data-[state=checked]:border-warning"}},{color:"error",variant:"card",class:{root:"has-data-[state=checked]:border-error"}},{color:"neutral",variant:"card",class:{root:"has-data-[state=checked]:border-inverted"}},{variant:"card",disabled:!0,class:{root:"cursor-not-allowed opacity-75"}}],defaultVariants:{size:"md",color:"primary",variant:"list",indicator:"start"}},Vy=Object.assign({inheritAttrs:!1},{__name:"Checkbox",props:hl({as:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},indicator:{type:null,required:!1},icon:{type:[String,Object],required:!1},indeterminateIcon:{type:[String,Object],required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},disabled:{type:Boolean,required:!1},required:{type:Boolean,required:!1},name:{type:String,required:!1},value:{type:null,required:!1},id:{type:String,required:!1},defaultValue:{type:[Boolean,String],required:!1}},{modelValue:{type:[Boolean,String],default:void 0},modelModifiers:{}}),emits:hl(["change"],["update:modelValue"]),setup(e,{emit:t}){const n=e,r=Dn(),o=t,i=Wc(e,"modelValue",{type:[Boolean,String],default:void 0}),s=Xt(),l=Al(ti(n,"required","value","defaultValue")),{id:a,emitFormChange:u,emitFormInput:c,size:d,color:p,name:f,disabled:m,ariaAttrs:h}=eu(n),g=a.value??Ga(),y=W(()=>nt({extend:nt(dY),...s.ui?.checkbox||{}})({size:d.value,color:p.value,variant:n.variant,indicator:n.indicator,required:n.required,disabled:m.value}));function b(x){const w=new Event("change",{target:{value:x}});o("change",w),u(),c()}return(x,w)=>
113(P(),X(v(ze),{as:!e.variant||e.variant==="list"?e.as:v(Lg),class:re(y.value.root({class:[n.ui?.root,n.class]}))},{default:D(()=>[_("div",{class:re(y.value.container({class:n.ui?.container}))},[K(v(c4),be({id:v(g)},{...v(l),...x.$attrs,...v(h)},{modelValue:i.value,"onUpdate:modelValue":[w[0]||(w[0]=E=>i.value=E),b],name:v(f),disabled:v(m),class:y.value.base({class:n.ui?.base})}),{default:D(({modelValue:E})=>[K(v(f4),{class:re(y.value.indicator({class:n.ui?.indicator}))},{default:D(()=>[E==="indeterminate"?(P(),X(it,{key:0,name:e.indeterminateIcon||v(s).ui.icons.minus,class:re(y.value.icon({class:n.ui?.icon}))},null,8,["name","class"])):(P(),X(it,{key:1,name:e.icon||v(s).ui.icons.check,class:re(y.value.icon({class:n.ui?.icon}))},null,8,["name","class"]))]),_:2},1032,["class"])]),_:1},16,["id","modelValue","name","disabled","class"])],2),e.label||r.label||e.description||r.description?(P(),B("div",{key:0,class:re(y.value.wrapper({class:n.ui?.wrapper}))},[e.label||r.label?(P(),X(yr(!e.variant||e.variant==="list"?v(Lg):"p"),{key:0,for:v(g),class:re(y.value.label({class:n.ui?.label}))},{default:D(()=>[se(x.$slots,"label",{label:e.label},()=>[Le(te(e.label),1)])]),_:3},8,["for","class"])):ae("",!0),e.description||r.description?(P(),B("p",{key:1,class:re(y.value.description({class:n.ui?.description}))},[se(x.$slots,"description",{description:e.description},()=>[Le(te(e.description),1)])],2)):ae("",!0)],2)):ae("",!0)]),_:3},8,["as","class"]))}});function fY(e){if(!e||e==="*")return;const t=e.split(",").map(n=>{const r=n.trim();return r.includes("/")&&r.endsWith("/*")&&r.split("/")[0]||r}).filter(n=>!n.startsWith("."));return t.length>0?t:void 0}function pY(e){const{accept:t="*",reset:n=!1,multiple:r=!1,dropzone:o=!0,onUpdate:i}=e,s=V(),l=V(),a=W(()=>fY(v(t))),u=f=>{!f||f.length===0||(f instanceof FileList&&(f=Array.from(f)),f.length>1&&!r&&(f=[f[0]]),i(f))},c=V(!1),d=gr({open:()=>{}});function p(){d.open()}return Ve(()=>{const{isOverDropZone:f}=o?NO(l,{dataTypes:a.value,onDrop:u}):{isOverDropZone:V(!1)};we(f,g=>{c.value=g});const{onChange:m,open:h}=HO({accept:v(t),multiple:r,input:v(s),reset:n});d.open=h,m(g=>u(g))}),{isDragging:c,open:p,inputRef:s,dropzoneRef:l}}const hY={slots:{root:"relative flex flex-col",base:["w-full flex-1 bg-default border border-default flex flex-col gap-2 items-stretch justify-center rounded-lg focus-visible:outline-2","transition-[background]"],wrapper:"flex flex-col items-center justify-center text-center",icon:"shrink-0",avatar:"shrink-0",label:"font-medium text-default mt-2",description:"text-muted mt-1",actions:"flex flex-wrap gap-1.5 shrink-0 mt-4",files:"",file:"relative",fileLeadingAvatar:"shrink-0",fileWrapper:"flex flex-col min-w-0",fileName:"text-default truncate",fileSize:"text-muted truncate",fileTrailingButton:""},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{area:{wrapper:"px-4 py-3",base:"p-4"},button:{}},size:{xs:{base:"text-xs",icon:"size-4",file:"text-xs px-2 py-1 gap-1",fileWrapper:"flex-row gap-1"},sm:{base:"text-xs",icon:"size-4",file:"text-xs px-2.5 py-1.5 gap-1.5",fileWrapper:"flex-row gap-1"},md:{base:"text-sm",icon:"size-5",file:"text-xs px-2.5 py-1.5 gap-1.5"},lg:{base:"text-sm",icon:"size-5",file:"text-sm px-3 py-2 gap-2",fileSize:"text-xs"},xl:{base:"text-base",icon:"size-6",file:"text-sm px-3 py-2 gap-2"}},layout:{list:{root:"gap-2 items-start",files:"flex flex-col w-full gap-2",file:"min-w-0 flex items-center border border-default rounded-md w-full",fileTrailingButton:"ms-auto"},grid:{fileWrapper:"hidden",fileLeadingAvatar:"size-full rounded-lg",fileTrailingButton:"absolute -top-1.5 -end-1.5 p-0 rounded-full border-2 border-bg"}},position:{inside:"",outside:""},dropzone:{true:"border-dashed data-[dragging=true]:bg-elevated/25"},interactive:{true:""},highlight:{true:""},multiple:{true:""},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{color:"primary",class:"focus-visible:outline-primary"},{color:"secondary",class:"focus-visible:outline-secondary"},{color:"success",class:"focus-visible:outline-success"},{color:"info",class:"focus-visible:outline-info"},{color:"warning",class:"focus-visible:outline-warning"},{color:"error",class:"focus-visible:outline-error"},{color:"primary",highlight:!0,class:"border-primary"},{color:"secondary",highlight:!0,class:"border-secondary"},{color:"success",highlight:!0,class:"border-success"},{color:"info",highlight:!0,class:"border-info"},{color:"warning",highlight:!0,class:"border-warning"},{color:"error",highlight:!0,class:"border-error"},{color:"neutral",class:"focus-visible:outline-inverted"},{color:"neutral",highlight:!0,class:"border-inverted"},{size:"xs",layout:"list",class:{fileTrailingButton:"-me-1"}},{size:"sm",layout:"list",class:{fileTrailingButton:"-me-1.5"}},{size:"md",layout:"list",class:{fileTrailingButton:"-me-1.5"}},{size:"lg",layout:"list",class:{fileTrailingButton:"-me-2"}},{size:"xl",layout:"list",class:{fileTrailingButton:"-me-2"}},{variant:"button",size:"xs",class:{base:"p-1"}},{variant:"button",size:"sm",class:{base:"p-1.5"}},{variant:"button",size:"md",class:{base:"p-1.5"}},{variant:"button",size:"lg",class:{base:"p-2"}},{variant:"button",size:"xl",class:{base:"p-2"}},{layout:"grid",multiple:!0,class:{files:"grid grid-cols-2 md:grid-cols-3 gap-4 w-full",file:"p-0 as
113pect-square"}},{layout:"grid",multiple:!1,class:{file:"absolute inset-0 p-0"}},{interactive:!0,disabled:!1,class:"hover:bg-elevated/25"}],defaultVariants:{color:"primary",variant:"area",size:"md"}},mY=["id","name","accept","multiple","required","disabled"],gY=Object.assign({inheritAttrs:!1},{__name:"FileUpload",props:hl({as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},icon:{type:[String,Object],required:!1},label:{type:String,required:!1},description:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},layout:{type:null,required:!1,default:"grid"},position:{type:null,required:!1,default:"outside"},highlight:{type:Boolean,required:!1},accept:{type:String,required:!1,default:"*"},multiple:{type:Boolean,required:!1,default:!1},reset:{type:Boolean,required:!1,default:!1},dropzone:{type:Boolean,required:!1,default:!0},interactive:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},fileIcon:{type:[String,Object],required:!1},fileDelete:{type:[Boolean,Object],required:!1},fileDeleteIcon:{type:[String,Object],required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{modelValue:{type:null},modelModifiers:{}}),emits:hl(["change"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=e,o=n,i=Dn(),s=Wc(e,"modelValue"),l=Xt(),{t:a}=eh(),[u,c]=fk(),{isDragging:d,open:p,inputRef:f,dropzoneRef:m}=pY({accept:r.accept,reset:r.reset,multiple:r.multiple,dropzone:r.dropzone,onUpdate:M}),{emitFormInput:h,emitFormChange:g,id:y,name:b,disabled:x,ariaAttrs:w}=eu(r),E=W(()=>r.multiple?"area":r.variant),T=W(()=>r.variant==="button"&&!r.multiple?"grid":r.layout),k=W(()=>T.value==="grid"&&r.multiple?"inside":E.value==="button"?"outside":r.position),S=W(()=>nt({extend:nt(hY),...l.ui?.fileUpload||{}})({dropzone:r.dropzone,interactive:r.interactive,color:r.color,size:r.size,variant:E.value,layout:T.value,position:k.value,multiple:r.multiple,highlight:r.highlight,disabled:r.disabled}));function C($){return URL.createObjectURL($)}function A($){if($===0)return"0B";const F=1024,q=["B","KB","MB","GB"],O=Math.floor(Math.log($)/Math.log(F)),L=$/Math.pow(F,O);return`${O===0?L.toString():L.toFixed(0)}${q[O]}`}function M($,F=!1){if(r.multiple)if(F)s.value=$;else{const O=s.value||[];s.value=[...O,...$||[]]}else s.value=$?.[0];const q=new Event("change",{target:{value:s.value}});o("change",q),g(),h()}function I($){if(!s.value)return;if(!r.multiple||$===void 0){M([],!0),m.value?.focus();return}const F=[...s.value];F.splice($,1),M(F,!0),m.value?.focus()}return we(s,$=>{(!Array.isArray($)||!$.length)&&f.value&&(f.value.value="")}
113),t({inputRef:f,dropzoneRef:m}),($,F)=>(P(),B(ye,null,[K(v(u),null,{default:D(()=>[s.value&&(!Array.isArray(s.value)||s.value.length)?(P(),B(ye,{key:0},[se($.$slots,"files-top",{files:s.value,open:v(p),removeFile:I}),_("div",{class:re(S.value.files({class:r.ui?.files}))},[se($.$slots,"files",{files:s.value},()=>[(P(!0),B(ye,null,Ce(Array.isArray(s.value)?s.value:[s.value],(q,O)=>(P(),B("div",{key:q.name,class:re(S.value.file({class:r.ui?.file}))},[se($.$slots,"file",{file:q,index:O},()=>[se($.$slots,"file-leading",{file:q,index:O},()=>[K(Di,{src:C(q),icon:e.fileIcon||v(l).ui.icons.file,size:r.size,class:re(S.value.fileLeadingAvatar({class:r.ui?.fileLeadingAvatar}))},null,8,["src","icon","size","class"])]),_("div",{class:re(S.value.fileWrapper({class:r.ui?.fileWrapper}))},[_("span",{class:re(S.value.fileName({class:r.ui?.fileName}))},[se($.$slots,"file-name",{file:q,index:O},()=>[Le(te(q.name),1)])],2),_("span",{class:re(S.value.fileSize({class:r.ui?.fileSize}))},[se($.$slots,"file-size",{file:q,index:O},()=>[Le(te(A(q.size)),1)])],2)],2),se($.$slots,"file-trailing",{file:q,index:O},()=>[K(ha,be({color:"neutral"},{ref_for:!0},{...T.value==="grid"?{variant:"solid",size:"xs"}:{variant:"link",size:e.size},...typeof e.fileDelete=="object"?e.fileDelete:void 0},{"aria-label":v(a)("fileUpload.removeFile",{filename:q.name}),"trailing-icon":e.fileDeleteIcon||v(l).ui.icons.close,class:S.value.fileTrailingButton({class:r.ui?.fileTrailingButton}),onClick:St(L=>I(O),["stop","prevent"])}),null,16,["aria-label","trailing-icon","class","onClick"])])])],2))),128))])],2),se($.$slots,"files-bottom",{files:s.value,open:v(p),removeFile:I})],64)):ae("",!0)]),_:3}),K(v(ze),{as:e.as,class:re(S.value.root({class:[r.ui?.root,r.class]}))},{default:D(()=>[se($.$slots,"default",{open:v(p),removeFile:I},()=>[(P(),X(yr(E.value==="button"?"button":"div"),{ref_key:"dropzoneRef",ref:m,type:E.value==="button"?"button":void 0,role:E.value==="button"?void 0:"button","data-dragging":v(d),class:re(S.value.base({class:r.ui?.base})),tabindex:e.interactive&&!v(x)?0:-1,onClick:F[0]||(F[0]=q=>e.interactive&&!v(x)&&v(p)()),onKeydown:F[1]||(F[1]=St(()=>{},["prevent"])),onKeyup:F[2]||(F[2]=kn(q=>e.interactive&&!v(x)&&v(p)(),["enter","space"]))},{default:D(()=>[k.value==="inside"?(P(),X(v(c),{key:0})):ae("",!0),k.value!=="inside"||(e.multiple?!s.value?.length:!s.value)?(P(),B("div",{key:1,class:re(S.value.wrapper({class:r.ui?.wrapper}))},[se($.$slots,"leading",{},()=>[E.value==="button"?(P(),X(it,{key:0,name:e.icon||v(l).ui.icons.upload,class:re(S.value.icon({class:r.ui?.icon}))},null,8,["name","class"])):(P(),X(Di,{key:1,icon:e.icon||v(l).ui.icons.upload,size:r.size,class:re(S.value.avatar({class:r.ui?.avatar}))},null,8,["icon","size","class"]))]),E.value!=="button"?(P(),B(ye,{key:0},[e.label||i.label?(P(),B("div",{key:0,class:re(S.value.label({class:r.ui?.label}))},[se($.$slots,"label",{},()=>[Le(te(e.label),1)])],2)):ae("",!0),e.description||i.description?(P(),B("div",{key:1,class:re(S.value.description({class:r.ui?.description}))},[se($.$slots,"description",{},()=>[Le(te(e.description),1)])],2)):ae("",!0),i.actions?(P(),B("div",{key:2,class:re(S.value.actions({class:r.ui?.actions}))},[se($.$slots,"actions",{files:s.value,open:v(p),removeFile:I})],2)):ae("",!0)],64)):ae("",!0)],2)):ae("",!0)]),_:3},40,["type","role","data-dragging","class","tabindex"])),k.value==="outside"?(P(),X(v(c),{key:0})):ae("",!0)]),_("input",be({id:v(y),ref_key:"inputRef",ref:f,type:"file",name:v(b),accept:e.accept,multiple:e.multiple,required:e.required,disabled:v(x)},{...$.$attrs,...v(w)},{class:"sr-only",tabindex:"-1"}),null,16,mY)]),_:3},8,["as","class"])],64))}}),vY={slots:{root:"",wrapper:"",labelWrapper:"flex content-center items-center justify-between",label:"block font-medium text-default",container:"mt-1 relative",description:"text-muted",error:"mt-2 text-error",hint:"text-muted",help:"mt-2 text-muted"},variants:{size:{xs:{root:"text-xs"},sm:{root:"text-xs"},md:{root:"text-sm"},lg:{root:"text-sm"},xl:{root:"text-base"}},required:{true:{label:"after:content-['*'] after:ms-0.5 after:text-error"}}},defaultVariants:{size:"md"}},yY=["id"],bY=["id"],xY=["id"],_Y=["id"],m5={__name:"FormField",props:{as:{type:null,required:!1},name:{type:String,required:!1},errorPattern:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},help:{type:String,required:!1},error:{type:[Boolean,String],required:!1},hint:{type:String,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},eagerValidation:{type:Boolean,required:!1}
113,validateOnInputDelay:{type:Number,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const t=e,n=Dn(),r=Xt(),o=W(()=>nt({extend:nt(vY),...r.ui?.formField||{}})({size:t.size,required:t.required})),i=ft(RC,null),s=W(()=>t.error||i?.value?.find(c=>c.name===t.name||t.errorPattern&&c.name?.match(t.errorPattern))?.message),l=V(Ga()),a=l.value,u=ft(LC,void 0);return we(l,()=>{u&&t.name&&(u.value[t.name]={id:l.value,pattern:t.errorPattern})},{immediate:!0}),Wt(OC,l),Wt(Hg,W(()=>({error:s.value,name:t.name,size:t.size,eagerValidation:t.eagerValidation,validateOnInputDelay:t.validateOnInputDelay,errorPattern:t.errorPattern,hint:t.hint,description:t.description,help:t.help,ariaId:a}))),(c,d)=>(P(),X(v(ze),{as:e.as,class:re(o.value.root({class:[t.ui?.root,t.class]}))},{default:D(()=>[_("div",{class:re(o.value.wrapper({class:t.ui?.wrapper}))},[e.label||n.label?(P(),B("div",{key:0,class:re(o.value.labelWrapper({class:t.ui?.labelWrapper}))},[K(v(Lg),{for:l.value,class:re(o.value.label({class:t.ui?.label}))},{default:D(()=>[se(c.$slots,"label",{label:e.label},()=>[Le(te(e.label),1)])]),_:3},8,["for","class"]),e.hint||n.hint?(P(),B("span",{key:0,id:`${v(a)}-hint`,class:re(o.value.hint({class:t.ui?.hint}))},[se(c.$slots,"hint",{hint:e.hint},()=>[Le(te(e.hint),1)])],10,yY)):ae("",!0)],2)):ae("",!0),e.description||n.description?(P(),B("p",{key:1,id:`${v(a)}-description`,class:re(o.value.description({class:t.ui?.description}))},[se(c.$slots,"description",{description:e.description},()=>[Le(te(e.description),1)])],10,bY)):ae("",!0)],2),_("div",{class:re([(e.label||!!n.label||e.description||!!n.description)&&o.value.container({class:t.ui?.container})])},[se(c.$slots,"default",{error:s.value}),typeof s.value=="string"&&s.value||n.error?(P(),B("div",{key:0,id:`${v(a)}-error`,class:re(o.value.error({class:t.ui?.error}))},[se(c.$slots,"error",{error:s.value},()=>[Le(te(s.value),1)])],10,xY)):e.help||n.help?(P(),B("div",{key:1,id:`${v(a)}-help`,class:re(o.value.help({class:t.ui?.help}))},[se(c.$slots,"help",{help:e.help},()=>[Le(te(e.help),1)])],10,_Y)):ae("",!0)],2)]),_:3},8,["as","class"]))}},wY={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute start-0 flex items-start",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute end-0 flex items-start",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2 inset-y-1",trailing:"pe-2 inset-y-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5 inset-y-1.5",trailing:"pe-2.5 inset-y-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5 inset-y-1.5",trailing:"pe-2.5 inset-y-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3 inset-y-2",trailing:"pe-3 inset-y-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3 inset-y-2",trailing:"pe-3 inset-y-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",n
113one:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},autoresize:{true:{base:"resize-none"}}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},SY=["id","value","name","rows","placeholder","disabled","required"],g5=Object.assign({inheritAttrs:!1},{__name:"Textarea",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},autoresize:{type:Boolean,required:!1},autoresizeDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},rows:{type:Number,required:!1,default:3},maxrows:{type:Number,required:!1,default:0},highlight:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:Object,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:[String,Object],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:[String,Object],required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:[String,Object],required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:[String,Object],required:!1}},emits:["update:modelValue","blur","change"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=Dn(),s=hk(r,"modelValue",o,{defaultValue:r.defaultValue}),l=Xt(),{emitFormFocus:a,emitFormBlur:u,emitFormInput:c,emitFormChange:d,size:p,color:f,id:m,name:h,highlight:g,disabled:y,ariaAttrs:b}=eu(r,{deferInputValidation:!0}),{isLeading:x,isTrailing:w,leadingIconName:E,trailingIconName:T}=dh(r),k=W(()=>nt({extend:nt(wY),...l.ui?.textarea||{}})({color:f.value,variant:r.variant,size:p?.value,loading:r.loading,highlight:g.value,autoresize:r.autoresize,leading:x.value||!!r.avatar||!!i.leading,trailing:w.value||!!i.trailing})),S=V(null);function C(q){r.modelModifiers?.trim&&(q=q?.trim()??null),r.modelModifiers?.number&&(q=vk(q)),r.modelModifiers?.nullable&&(q||=null),r.modelModifiers?.optional&&(q||=void 0),s.value=q,c()}function A(q){F(),r.modelModifiers?.lazy||C(q.target.value)}function M(q){const O=q.target.value;r.modelModifiers?.lazy&&C(O),r.modelModifiers?.trim&&(q.target.value=O.trim()),d(),o("change",q)}function I(q){u(),o("blur",q)}function $(){r.autofocus&&S.value?.focus()}function F(){if(r.autoresize&&S.value){S.value.rows=r.rows;const q=S.value.style.overflow;S.value.style.overflow="hidden";const O=window.getComputedStyle(S.value),L=Number.parseInt(O.paddingTop),N=Number.parseInt(O.paddingBottom),Z=L+N,H=Number.parseInt(O.lineHeight),{scrollHeight:G}=S.value,oe=(G-Z)/H;oe>r.rows&&(S.value.rows=r.maxrows?Math.min(oe,r.maxrows):oe),S.value.style.overflow=q}}return we(s,()=>{je(F)}),Ve(()=>{setTimeout(()=>{$()},r.autofocusDelay),setTimeout(()=>{F()},r.autoresizeDelay)}),t({textareaRef:S}),(q,O)=>(P(),X(v(ze),{as:e.as,class:re(k.value.root({class:[r.ui?.root,r.class]}))},{default:D(()=>[_("textarea",be({id:v(m),ref_key:"textareaRef",ref:S,value:v(s),name:v(h),rows:e.rows,placeholder:e.placeholder,class:k.value.base({class:r.ui?.base}),disabled:v(y),required:e.required},{...q.$attrs,...v(b)},{onInput:A,onBlur:I,onChange:M,onFocus:O[0]||(O[0]=(...L)=>v(a)&&v(a)(...L))}),null,16,SY),se(q.$slots,"default"),v(x)||e.avatar||i.leading?(P(),B("span",{key:0,class:re(k.value.leading({class:r.ui?.leading}))},[se(q.$slots,"leading",{},()=>[v(x)&&v(E)?(P(),X(it,{key:0,name:v(E),class:re(k.value.leadingIcon({class:r.ui?.leadingIcon}))},null,8,["name","class"])):e.avatar?(P(),X(Di,be({key:1,size:r.ui?.leadingAvatarSize||k.value.leadingAvatarSize()},e.avatar,{class:k.value.leadingAvatar({class:r.ui?.leadingAvatar})}),null,16,["size","class"])):ae("",!0)])],2)):ae("",!0),v(w)||i.trailing?(P(),B("span",{key:1,class:re(k.value.trailing({class:r.ui?.trailing}))},[se(q.$slots,"trailing",{},()=>[v(T)?(P(),X(it,{key:0,name:v(T),class:re(k.value.trailingIcon({class:r.ui?.trailingIcon}))},null,8,["name","class"])):ae("",!0)])],2)):ae("",!0)]),_:3},8,["as","class"]))}}),kY={class:"mx-auto"},CY={key:0,class:"py-8 text-center"},TY={class:"mt-2"},EY={class:"flex items-center justify-between w-full mb-6 md:mb-4"},PY={class:"text-left"},IY={class:"text-xl font-bold text-white"},AY={key:0,class:"request-details-view"},$Y={class:"mb-6 p-4 bg-green-900/50 border border-green-500 text-green-300"},MY={class:"font-bold"},OY={class:"text-sm mt-1"},LY={class:"text-sm mt-1"},qY={class:"mb-6 p-4 bg-[#1a1a1a] border border-[#72797b]"},RY={class:"text-lg font-bold text-white mb-4"},BY={class:"grid grid-cols-2 gap-4 text-sm"},FY={class:"text-[#72797b]"},DY={class:"text-white"},NY={class:"text-[#72797b]"},VY={class:"text-white"},zY={class:"text-[#72797b]"},jY={class:"text-white"},HY={class:"text-[#72797b]"},UY={class:"text-white"},WY={class:"text-[#72797b]"},GY={class:"text-white"},KY={key:0,class:"mb-6 p-4 bg-[#1a1a1a] border border-[#72797b]"},YY={class:"text-lg font-bold text-white mb-4"},XY={class:"space-y-4 max-h-60 overflow-y-auto"},QY={class:"flex justify-between text-xs text-[#72797b] mb-2"},JY=["innerHTML"],ZY={key:1,class:"mb-6 p-4 bg-green-900/50 border border-green-500 text-green-300"},eX={class:"mb-6"},tX={class:"text-lg font-bold text-white mb-4"},nX={class:"text-sm text-[#72797b] mb-4"},rX={class:"mb-4"},oX={class:"mb-4"},iX=["onClick"],sX={key:0,class:"text-white text-sm"},lX={key:1,class:"text-white text-sm"},aX=["onClick"],uX={class:"flex justify-end gap-4"},cX=["disabled"],dX={class:"grid grid-cols-12 gap-4"},fX={class:"col-span-12 md:col-span-6 mb-4"},pX={class:"col-span-12 md:col-span-6 mb-4"},hX={class:"mb-4"},mX={class:"mb-8"},gX={class:"text-xl font-bold text-white"},vX={class:"category-accordion-container"},yX={class:"category-options space-y-1"},bX=["onClick"],xX={class:"drilldown-accordions space-y-2 flex flex-col md:flex-row gap-4 flex-wrap"},_X={class:"drilldown-options space-y-1"},wX=["onClick"],SX={class:"drilldown-options space-y-1"},kX=["onClick"],CX={class:"drilldown-accordions space-y-2 flex flex-col md:flex-row gap-4 flex-wrap"},TX={class:"drilldown-options space-y-1"},EX=["onClick"],PX={class:"drilldown-options space-y-1"},IX=["onClick"],AX={class:"mb-4"},$X={class:"mb-4 mt-8"},MX=["onClick"],OX={key:0,class:"text-white text-sm"},LX={key:1,class:"text-white text-sm"},qX=["onClick"],RX={class:"mb-4"},BX={class:"flex justify-end gap-4 mt-8"},FX=["disabled"],DX=pe({__name:"SubmitRequest",props:{categories:{default:()=>[]},customFields:{default:()=>[]}},setup(e,{expose:t}){const{t:n,isLoading:r}=td(),o=e,i=Math.random().toString(36).slice(2,9),s=V(!1);Ll(s);const l=V([]),a=V({}),u=V({}),c=V({}),d=V(null),p=V(null),f=V(!1),m=V(!1),h=V({additionalInfo:"",file:null}),g=V(!1),y=V(!1),b=V(!1),x=V({}),w=V({fullname:"",sEmail:"",sPhone:"",categoryId:null,categoryName:"",customFields:{},file:null,details:"",termsAndConditions:!1}),E={root:"w-full flex flex-col gap-2 md:flex-1 md:w-auto",item:"last:border-b-2 border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-[#141616] h-auto flex items-center justify-between px-[20px] focus-visible:outline-2 focus-visible:outline-white max-md:h-[50px] max-md:px-4",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden bg-[#141616]",body:"bg-[#141616] w-full px-[20px] pt-[20px] pb-[20px] max-md:px-4 max-md:py-4",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] text-white transition-transform duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[20px] max-md:right-4 group-data-[state=open]:text-[#e70038]",label:"font-bold text-[18px] leading-[22px] text-white text-left max-md:text-base max-md:leading-5 break-words pr-[70px] max-md:pr-[50px]"},T=()=>{const Y={};(!w.value.fullname||w.value.fullname.trim()==="")&&(Y.fullname=n("helpspot.submit-request.required-field","This field is required")),!w.value.sEmail||w.value.sEmail.trim()===""?Y.sEmail=n("helpspot.submit-request.required-field","This field is required"):/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(w.value.sEmail)||(Y.sEmail
113=n("helpspot.submit-request.valid-email","Please enter a valid email address")),w.value.termsAndConditions||(Y.termsAndConditions=n("helpspot.submit-request.required-field","You must accept the terms and conditions"));for(const J of H.value)if(J.isRequired)if(J.fieldType==="drilldown"){const de=a.value[J.fieldId];(!de||!de.value)&&(Y[`customField-${J.fieldId}`]=n("helpspot.submit-request.required-field","Please complete your selection"))}else w.value.customFields[J.fieldId]||(Y[`customField-${J.fieldId}`]=n("helpspot.submit-request.required-field","This field is required"));for(const J of Z.value)if(J.isRequired)if(J.fieldType==="drilldown"){const de=a.value[J.fieldId];(!de||!de.value)&&(Y[`customField-${J.fieldId}`]=n("helpspot.submit-request.required-field","Please complete your selection"))}else w.value.customFields[J.fieldId]||(Y[`customField-${J.fieldId}`]=n("helpspot.submit-request.required-field","This field is required"));return x.value=Y,Object.keys(Y).length===0},k=Y=>{x.value[Y]&&delete x.value[Y]},S=async Y=>{m.value=!0;try{const de=await(await fetch(`/api/helpspot/get-request?accesskey=${encodeURIComponent(Y)}`)).json();de.success?(p.value=de.request,f.value=!0):console.error("Failed to fetch request:",de.error)}catch(J){console.error("Error fetching request:",J)}finally{m.value=!1}},C=async()=>{if(T()){y.value=!0;try{const Y={};for(const[z,le]of Object.entries(w.value.customFields))le&&(Y[z]=le);for(const[z,le]of Object.entries(a.value))le&&le.path&&le.path.length>0&&(Y[z]=le.path);let J=null;if(w.value.file){const z=w.value.file,le=await F(z);J={name:z.name,mimeType:z.type,body:le}}const de={fullname:w.value.fullname,sEmail:w.value.sEmail,sPhone:w.value.sPhone,categoryId:w.value.categoryId,details:w.value.details,customFields:Y,file:J},R=await(await fetch("/api/helpspot/create-request",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(de)})).json();R.success?(d.value=R.accesskey,await S(R.accesskey),q(),await Q(),console.log("Request created successfully:",R.xRequest)):console.log("Failed to create request:",R.error)}catch(Y){console.log("Error submitting form:",Y)}finally{y.value=!1}}},A=async()=>{if(!(!d.value||!h.value.additionalInfo.trim())){g.value=!0;try{let Y=null;if(h.value.file){const R=h.value.file,z=await F(R);Y={name:R.name,mimeType:R.type,body:z}}const J={accesskey:d.value,tNote:h.value.additionalInfo,file:Y},he=await(await fetch("/api/helpspot/update-request",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(J)})).json();he.success?(b.value=!0,await S(d.value),h.value={additionalInfo:"",file:null}):console.error("Failed to update request:",he.error)}catch(Y){console.error("Error updating request:",Y)}finally{await Q(),g.value=!1}}},M=Y=>Y?new Date(Number(Y)*1e3).toLocaleString():"",I=W(()=>{if(!p.value?.request_history?.item)return[];const Y=p.value.request_history.item;return Array.isArray(Y)?Y:[Y]}),$=()=>{d.value=null,p.value=null,f.value=!1,b.value=!1,h.value={additionalInfo:"",file:null}},F=Y=>new Promise((J,de)=>{const he=new globalThis.FileReader;he.addEventListener("load",()=>{const R=he.result.split(",")[1];J(R)}),he.addEventListener("error",R=>
113de(R)),he.readAsDataURL(Y)}),q=()=>{w.value={fullname:"",sEmail:"",sPhone:"",categoryId:null,categoryName:"",customFields:{},file:null,details:"",termsAndConditions:!1},x.value={},a.value={},u.value={},c.value={}},O=n("helpspot.submit-request.select-category","Select a category..."),L=W(()=>[{label:w.value.categoryName||O,value:"category-select"}]),N=Y=>{if(w.value.categoryId!==Y.categoryId){const J=o.categories.find(de=>de.categoryId===w.value.categoryId);if(J?.customFieldList)for(const de of J.customFieldList){const he=Number(de);delete w.value.customFields[he],delete a.value[he];let R=0;for(;u.value[`${he}-${R}`]!==void 0;)delete u.value[`${he}-${R}`],delete c.value[`field-${he}-level-${R}`],R++}}w.value.categoryId=Y.categoryId,w.value.categoryName=Y.categoryName,l.value=[]},Z=W(()=>o.customFields.filter(Y=>Y.isAlwaysVisible)),H=W(()=>{if(!w.value.categoryId)return[];const Y=o.categories.find(J=>J.categoryId===w.value.categoryId);return!Y||!Y.customFieldList||Y.customFieldList.length===0?[]:o.customFields.filter(J=>Y.customFieldList.includes(String(J.fieldId))&&!J.isAlwaysVisible)}),G=Y=>Y.startsWith("_")?Y.slice(1):Y,oe=(Y,J)=>u.value[`${Y}-${J}`],ce=Y=>{const J=[];let de=0;for(;oe(Y,de);){const R=o.customFields.find(le=>le.fieldId===Y);if(!R||!R.listItems||Array.isArray(R.listItems)||ee(R,de+1).length===0)break;de++,J.push(de)}return J},ee=(Y,J)=>{if(!Y.listItems||Array.isArray(Y.listItems))return[];let de=Y.listItems;for(let he=0;he<J;he++){const R=oe(Y.fieldId,he);if(!R||!de[R]||typeof de[R]!="object")return[];de=de[R]}return Object.entries(de).map(([he,R])=>({key:he,hasChildren:typeof R=="object"&&R!==null}))},ge=(Y,J)=>{const de=oe(Y.fieldId,J);let he;if(de)he=G(de);else if(J===0)he=`Select ${Y.fieldName}...`;else{const R=oe(Y.fieldId,J-1);he=R?`Select from ${G(R)}...`:"Select..."}return[{label:he,value:`field-${Y.fieldId}-level-${J}-wrapper`}]},xe=(Y,J,de)=>oe(Y,J)===de,ie=(Y,J,de)=>{const he=Y.fieldId;u.value[`${he}-${J}`]=de.key;let R=J+1;for(;u.value[`${he}-${R}`]!==void 0;)delete u.value[`${he}-${R}`],delete c.value[`field-${he}-level-${R}`],R++;c.value[`field-${he}-level-${J}`]=[],de.hasChildren&&(c.value[`field-${he}-level-${J+1}`]=[`field-${he}-level-${J+1}-wrapper`]);const z=[];for(let le=0;le<=J;le++){const ve=oe(he,le);ve&&z.push(ve)}de.hasChildren?(delete a.value[he],delete w.value.customFields[he]):(a.value[he]={fieldId:he,path:z,value:de.key},w.value.customFields[he]={path:z,value:de.key},k(`customField-${he}`))},Q=async()=>{await je();const Y=document.querySelector('[data-state="open"] .overflow-y-auto');Y&&(Y.scrollTop=0)};return we(s,Y=>{Y||(q(),$())}),t({isModalOpen:s}),(Y,J)=>{const de=g5,he=m5,R=gY,z=kh,le=Is,ve=Vy,j=Zc;return P(),B("div",kY,[v(r)?(P(),B("div",CY,[J[14]||(J[14]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",TY,te(v(n)("helpspot.submit-request.loading","Loading...")),1)])):(P(),X(j,{key:1,overlay:!0,dismissible:!1,open:s.value,"onUpdate:open":J[13]||(J[13]=U=>s.value=U),title:"Modal Content",description:"Modal Content Description",ui:{overlay:"bg-black/80 z-[70]",content:"bg-black/80 z-[71] p-8 max-w-full md:max-w-[70vw]"}},{header:D(()=>[_("div",EY,[_("div",PY,[_("h2",IY,te(v(n)("helpspot.submit-request.title","Submit a Request for Assistance")),1),_("p",null,te(v(n)("helpspot.submit-request.description","Please complete the form below detailing your request and a member of our support staff will respond as soon as possible.")),1)]),_("button",{type:"button",class:"text-[#72797b] hover:text-white transition-colors cursor-pointer",onClick:J[0]||(J[0]=U=>s.value=!1),"aria-label":"Close modal"},[...J[15]||(J[15]=[_("svg",{class:"w-6 h-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})],-1)])])])]),body:D(()=>[f.value&&p.value?(P(),B("div",AY,[_("div",$Y,[_("p",MY,te(v(n)("helpspot.submit-request.success","Request submitted successfully!")),1),_("p",OY,te(v(n)("helpspot.submit-request.access-key","Your Acce
113ss Key"))+": "+te(p.value.accesskey),1),_("p",LY,te(v(n)("helpspot.submit-request.access-key-description","The access key provided above can be used to check the status of your request. For quick access to updates bookmark this page.")),1)]),_("div",qY,[_("h3",RY,te(v(n)("helpspot.submit-request.request-details","Request Details")),1),_("div",BY,[_("div",null,[_("span",FY,te(v(n)("helpspot.submit-request.name","Name"))+":",1),_("p",DY,te(p.value.sFirstName)+" "+te(p.value.sLastName),1)]),_("div",null,[_("span",NY,te(v(n)("helpspot.submit-request.email","Email"))+":",1),_("p",VY,te(p.value.sEmail||"N/A"),1)]),_("div",null,[_("span",zY,te(v(n)("helpspot.submit-request.category","Category"))+":",1),_("p",jY,te(p.value.sCategory||"N/A"),1)]),_("div",null,[_("span",HY,te(v(n)("helpspot.submit-request.opened","Opened"))+":",1),_("p",UY,te(M(p.value.dtGMTOpened)),1)]),_("div",null,[_("span",WY,te(v(n)("helpspot.submit-request.status","Status"))+":",1),_("p",GY,te(p.value.sStatus||"Open"),1)])])]),I.value.length>0?(P(),B("div",KY,[_("h3",YY,te(v(n)("helpspot.submit-request.history","History")),1),_("div",XY,[(P(!0),B(ye,null,Ce(I.value,(U,ue)=>(P(),B("div",{key:ue,class:re(["p-3 bg-[#222] border-l-2",U.fPublic==="1"?"border-primary":"border-[#72797b]"])},[_("div",QY,[_("span",null,te(U.fullname||"System"),1),_("span",null,te(M(U.dtGMTChange)),1)]),_("div",{class:"text-white text-sm",innerHTML:U.tNote||U.tLog},null,8,JY)],2))),128))])])):ae("",!0),b.value?(P(),B("div",ZY,[_("p",null,te(v(n)("helpspot.submit-request.update-success","Request updated successfully!")),1)])):ae("",!0),_("div",eX,[_("h3",tX,te(v(n)("helpspot.submit-request.provide-update","Provide an update")),1),_("p",nX,te(v(n)("helpspot.submit-request.provide-update-description","Have additional information? Use the box below to provide an update to your request.")),1),_("div",rX,[K(he,{label:v(n)("helpspot.submit-request.additional-information","Additional Information"),ui:{label:"text-white"}},{default:D(()=>[K(de,{modelValue:h.value.additionalInfo,"onUpdate:modelValue":J[1]||(J[1]=U=>h.value.additionalInfo=U),size:"xl",placeholder:v(n)("helpspot.submit-request.additional-information-placeholder","Enter additional details or updates..."),ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",oX,[K(he,{label:v(n)("helpspot.submit-request.attach-document","Attach a supporting document (optional)"),ui:{label:"text-white"}},{default:D(()=>[K(R,{modelValue:h.value.file,"onUpdate:modelValue":J[2]||(J[2]=U=>h.value.file=U),accept:".pdf,.doc,.docx,.png,.jpg,.jpeg",ui:{base:"border-2 border-dashed border-[#72797b] bg-[#141616] hover:border-primary transition-colors p-6",label:"text-white text-sm",description:"text-[#72797b] text-xs"}},{default:D(({open:U,removeFile:ue})=>[_("div",{class:"flex flex-col items-start justify-center w-full cursor-pointer my-4",onClick:()=>U()},[J[16]||(J[16]=_("svg",{class:"w-8 h-8 text-[#72797b] mb-2",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"})],-1)),h.value.file?(P(),B("span",sX,te(h.value.file.name),1)):(P(),B("span",lX,te(v(n)("helpspot.submit-request.choose-file","Choose file")),1)),J[17]||(J[17]=_("span",{class:"text-[#72797b] text-xs mt-1"}," PDF, DOC, DOCX, PNG, JPG (max 5MB) ",-1))],8,iX),h.value.file?(P(),B("button",{key:0,type:"button",class:"mt-3 text-[#72797b] hover:text-white transition-colors cursor-pointer flex items-center gap-1 text-sm",onClick:St(ne=>ue(),["stop"])},[...J[18]||(J[18]=[_("svg",{class:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})],-1),Le(" Remove file ",-1)])],8,aX)):ae("",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_("div",uX,[_("button",{type:"button",class:"px-6 py-3 bg-primary border-2 border-primary text-white font-bold hover:bg-primary/80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:!h.value.additionalInfo.trim()||g.value,onClick:A},te(g.value?"Updating...":"Update Request"),9,cX)])])])):(P(),B("form",{key:1,onSubmit:St(C,["prevent"]),class:"space-y-6"},[_("div",dX,[_("div",fX,[K(he,{id:`${v(i)}-fullname`,label:v(n)("helpspot.submit-request.name","Name"),required:"",error:x.value.fullname,ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[K(z,{id:`${v(i)}-fullname`,modelValue:w.value.fullname,"onUpdate:modelValue":J[3]||(J[3]=U=>w.value.fullname=U),size:"xl",onInput:J[4]||(J[4]=U=>k("fullname")),ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["id","modelValue"])]),_:1},8,["id","label","error"])]),_("div",pX,[K(he,{id:`${v(i)}-email`,label:v(n)("helpspot.submit-request.email","Email"),required:"",error:x.value.sEmail,ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[K(z,{id:`${v(i)}-email`,modelValue:w.value.sEmail,"onUpdate:modelValue":J[5]||(J[5]=U=>w.value.sEmail=U),size:"xl",onInput:J[6]||(J[6]=U=>k("sEmail")),ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["id","modelValue"])]),_:1},8,["id","label","error"])])]),_("div",hX,[K(he,{id:`${v(i)}-phone`,label:v(n)("helpspot.submit-request.phone","Phone"),ui:{label:"text-white"}},{default:D(()=>[K(z,{id:`${v(i)}-phone`,modelValue:w.value.sPhone,"onUpdate:modelValue":J[7]||(J[7]=U=>w.value.sPhone=U),size:"xl",ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["id","modelValue"])]),_:1},8,["id","label"])]),_("div",mX,[_("h2",gX,te(v(n)("helpspot.submit-request.request-details","Request Details")),1)]),_("div",vX,[K(he,{label:v(n)("helpspot.submit-request.categorize-request","How would you categorize this request?"),ui:{label:"text-white"}},{default:D(()=>[K(le,{modelValue:l.value,"onUpdate:modelValue":J[8]||(J[8]=U=>l.value=U),type:"single",items:L.value,ui:E},{body:D(()=>[_("div",yX,[(P(!0),B(ye,null,Ce(Y.categories,U=>(P(),B("button",{key:U.categoryId,type:"button",class:re(["w-full text-left px-4 py-3 text-white hover:bg-[#333] transition-colors cursor-pointer",{"bg-[#e70038]":w.value.categoryId===U.categoryId}]),onClick:ue=>N(U)},te(U.categoryName),11,bX))),128))])]),_:1},8,["modelValue","items"])]),_:1},8,["label"])]),(P(!0),B(ye,null,Ce(H.value,U=>(P(),B("div",{key:`category-field-${U.fieldId}`,class:"custom-field-container mb-4"},[U.fieldType==="text"?(P(),X(he,{key:0,id:`${v(i)}-field-${U.fieldId}`,label:U.fieldName,required:!!U.isRequired,error:x.value[`customField-${U.fieldId}`],ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[K(z,{id:`${v(i)}-field-${U.fieldId}`,modelValue:w.value.customFields[U.fieldId],"onUpdate:modelValue":ue=>w.value.customFields[U.fieldId]=ue,size:"xl",onInput:ue=>k(`customField-${U.fieldId}`),ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none"}},null,8,["id","modelValue","onUpdate:modelValue","onInput"])]),_:2},1032,["id","label","required","error"])):U.fieldType==="drilldown"?(P(),X(he,{key:1,id:`${v(i)}-drilldown-${U.fieldId}`,label:U.fieldName,required:!!U.isRequired,error:x.value[`customField-${U.fieldId}`],ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[_("div",xX,[K(le,{modelValue:c.value[`field-${U.fieldId}-level-0`],"onUpdate:modelValue":ue=>c.value[`field-${U.fieldId}-level-0`]=ue,type:"single",items:ge(U,0),ui:E},{body:D(()=>[_("div",_X,[(P(!0),B(ye,null,Ce(ee(U,0),ue=>(P(),B("button",{key:ue.key,type:"button",class:re(["w-full text-left px-4 py-3 text-white hover:bg-[#333] transition-colors cursor-pointer",{"bg-[#e70038]":xe(U.fieldId,0,ue.key)}]),onClick:ne=>ie(U,0,ue)},te(G(ue.key)),11,wX))),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","items"]),(P(!0),B(ye,null,Ce(ce(U.fieldId),ue=>(P(),X(le,{key:ue,modelValue:c.value[`field-${U.fieldId}-level-${ue}`],"onUpdate:modelValue":ne=>c.value[`field-${U.fieldId}-level-${ue}`]=ne,type:"single",items:ge(U,ue),ui:E},{body:D(()=>[_("div",SX,[(P(!0),B(ye,null,Ce(ee(U,ue),ne=>(P(),B("button",{key:ne.key,type:"button",class:re(["w-full text-left px-4 py-3 text-white hover:bg-[#333] transition-colors cursor-pointer",{"bg-[#e70038]":xe(U.fieldId,ue,ne.key)}]),onClick:fe=>ie(U,ue,ne)},te(G(ne.key)),11,kX))),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","items"]))),128))])]),_:2},1032,["id","label","required","error"])):ae("",!0)]))),128)),(P(!0),B(ye,null,Ce(Z.value,U=>(P(),B("div",{key:U.fieldId,class:"custom-field-container mb-4"},[U.fieldType==="text"?(P(),X(he,{key:0,id:`${v(i)}-drilldown-${U.fieldId}`,label:U.fieldName,required:!!U.isRequired,error:x.value[`customField-${U.fieldId}`],ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[K(z,{id:`${v(i)}-field-${U.fieldId}`,modelValue:w.value.customFields[U.fieldId],"onUpdate:modelValue":ue=>w.value.customFields[U.fieldId]=ue,size:"xl",ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["id","modelValue","onUpdate:modelValue"])]),_:2},1032,["id","label","required","error"])):U.fieldType==="drilldown"?(P(),X(he,{key:1,id:`${v(i)}-drilldown-${U.fieldId}`,label:U.fieldName,required:!!U.isRequired,error:x.value[`customField-${U.fieldId}`],ui:{label:"text-white",error:"text-[#e70038] mt-1"}},{default:D(()=>[_("div",CX,[K(le,{modelValue:c.value[`field-${U.fieldId}-level-0`],"onUpdate:modelValue":ue=>c.value[`field-${U.fieldId}-level-0`]=ue,type:"single",items:ge(U,0),ui:E},{body:D(()=>[_("div",TX,[(P(!0),B(ye,null,Ce(ee(U,0),ue=>(P(),B("button",{key:ue.key,type:"button",class:re(["w-full text-left px-4 py-3 text-white hover:bg-[#333] transition-colors cursor-pointer",{"bg-[#e70038]":xe(U.fieldId,0,ue.key)}]),onClick:ne=>ie(U,0,ue)},te(G(ue.key)),11,EX))),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","items"]),(P(!0),B(ye,null,Ce(ce(U.fieldId),ue=>(P(),X(le,{key:ue,modelValue:c.value[`field-${U.fieldId}-level-${ue}`],"onUpdate:modelValue":ne=>c.value[`field-${U.fieldId}-level-${ue}`]=ne,type:"single",items:ge(U,ue),ui:E},{body:D(()=>[_("div",PX,[(P(!0),B(ye,null,Ce(ee(U,ue),ne=>(P(),B("button",{key:ne.key,type:"button",class:re(["w-full text-left px-4 py-3 text-white hover:bg-[#333] transition-colors cursor-pointer",{"bg-[#e70038]":xe(U.fieldId,ue,ne.key)}]),onClick:fe=>ie(U,ue,ne)},te(G(ne.key)),11,IX))),128))])]),_:2},1032,["modelValue","onUpdate:modelValue","items"]))),128))])]),_:2},1032,["id","label","required","error"])):ae("",!0)]))),128)),_("div",AX,[K(he,{label:v(n)("helpspot.submit-request.details","Details"),ui:{label:"text-white"}},{default:D(()=>[K(de,{id:`${v(i)}-details`,modelValue:w.value.details,"onUpdate:modelValue":J[9]||(J[9]=U=>w.value.details=U),size:"xl",ui:{root:"w-full",base:"relative flex w-full ring-2 bg-black text-white rounded-none ring-[#72797b]"}},null,8,["id","modelValue"])]),_:1},8,["label"])]),_("div",$X,[K(he,{label:v(n)("helpspot.submit-request.attach-document","Attach a supp
113orting document (optional)"),ui:{label:"text-white"}},{default:D(()=>[K(R,{modelValue:w.value.file,"onUpdate:modelValue":J[10]||(J[10]=U=>w.value.file=U),accept:".pdf,.doc,.docx,.png,.jpg,.jpeg",ui:{base:"border-2 border-dashed border-[#72797b] bg-[#141616] hover:border-primary transition-colors p-6",label:"text-white text-sm",description:"text-[#72797b] text-xs"}},{default:D(({open:U,removeFile:ue})=>[_("div",{class:"flex flex-col items-start justify-center w-full cursor-pointer my-4",onClick:()=>U()},[J[19]||(J[19]=_("svg",{class:"w-8 h-8 text-[#72797b] mb-2",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"})],-1)),w.value.file?(P(),B("span",OX,te(w.value.file.name),1)):(P(),B("span",LX,te(v(n)("helpspot.submit-request.choose-file","Choose file")),1)),J[20]||(J[20]=_("span",{class:"text-[#72797b] text-xs mt-1"}," PDF, DOC, DOCX, PNG, JPG (max 5MB) ",-1))],8,MX),w.value.file?(P(),B("button",{key:0,type:"button",class:"mt-3 text-[#72797b] hover:text-white transition-colors cursor-pointer flex items-center gap-1 text-sm",onClick:St(ne=>ue(),["stop"])},[J[21]||(J[21]=_("svg",{class:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})],-1)),Le(" "+te(v(n)("helpspot.submit-request.remove-file","Remove file")),1)],8,qX)):ae("",!0)]),_:1},8,["modelValue"])]),_:1}
113,8,["label"])]),_("div",RX,[K(he,{error:x.value.termsAndConditions,required:"",ui:{error:"text-[#e70038] mt-1"}},{default:D(()=>[K(ve,{modelValue:w.value.termsAndConditions,"onUpdate:modelValue":J[11]||(J[11]=U=>w.value.termsAndConditions=U),size:"xl",required:"",onChange:J[12]||(J[12]=U=>k("termsAndConditions")),ui:{root:"w-full text-white",base:"text-white rounded-none ring-[#72797b]",label:"text-white"}},{label:D(()=>[...J[22]||(J[22]=[Le(" I agree to the ",-1),_("a",{href:"https://www.toptica.com/toptica/privacy-policy",target:"_blank",rel:"noopener noreferrer",class:"text-primary underline hover:text-primary"},"Privacy Policy",-1)])]),_:1},8,["modelValue"])]),_:1},8,["error"])]),_("div",BX,[_("button",{type:"submit",class:"px-6 py-3 bg-primary border-2 border-primary text-white font-bold hover:bg-primary/80 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:y.value},te(y.value?v(n)("helpspot.submit-request.submitting","Submitting..."):v(n)("helpspot.submit-request.submit","Submit Request")),9,FX)])],32))]),_:1},8,["open"]))])}}}),NX={class:"faq-accordion-container w-full"},VX={class:"grid grid-cols-12 gap-6 items-center pb-6"},zX={key:0,class:"col-span-12"},jX={class:"flex flex-wrap gap-4 justify-center max-md:flex-col"},HX=["title"],UX=["src"],WX={class:"whitespace-nowrap"},GX=["href","title"],KX=["src"],YX={class:"whitespace-nowrap"},XX={class:"text-heading-lg-sm sm:text-heading-lg-md lg:text-heading-lg-lg font-bold text-white m-0"},QX={key:2,class:"col-span-12 lg:col-span-4"},JX={key:0,class:"faq-books-container w-full"},ZX={class:"grid grid-cols-12 gap-6"},eQ={class:"col-span-12"},tQ=["innerHTML"],nQ={key:0,class:"space-y-2"},rQ=["innerHTML"],oQ={key:0,class:"w-5 h-5 text-[#72797b] shrink-0 ml-4 mr-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},iQ={key:1,class:"w-5 h-5 text-[#72797b] shrink-0 ml-4 mr-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},sQ={key:0,class:"space-y-2"},lQ=["innerHTML"],aQ={key:0,class:"w-5 h-5 text-[#72797b] shrink-0 ml-4 mr-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},uQ={key:1,class:"w-5 h-5 text-[#72797b] shrink-0 ml-4 mr-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},cQ=["innerHTML"],dQ={key:1,class:"text-center text-white py-8"},fQ=pe({__name:"FaqAccordion",props:{faqData:{default:()=>[]},faqHeadline:{default:"Headline"},searchPlaceholder:{default:"Search..."},hasSearch:{type:Boolean,default:!0},hasSubmitCheckRequestButtons:{type:Boolean,default:!0},isKnowledgeBaseVisible:{type:Boolean,default:!0},submitCheckRequestUrl:{default:""},submitCheckRequestButtonText:{default:"Submit a Request"},checkRequestButtonText:{default:"Check on a Request"},submitRequestButtonText:{default:"Submit Request"},noResultsText:{default:"No FAQ items available"},categories:{default:()=>[]},customFields:{default:()=>[]}},setup(e){const t=e,n=V(""),r=V([]),o=V([]),i=V([]),s=V(null),l={root:"w-full flex flex-col gap-2",item:"last:border-b-2 border-2 border-[#72797b] hover:border-[#e70038] data-[state=open]:border-[#e70038] transition-colors duration-200",header:"flex w-full",trigger:"relative w-full cursor-pointer bg-[#141616] h-[85px] flex items-center justify-between px-[25px] focus-visible:outline-2 focus-visible:outline-white max-md:h-[60px] max-md:px-5",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden bg-[#141616]",body:"bg-[#141616] w-full px-[25px] pt-[25px] pb-[25px] max-md:px-5 max-md:py-5",leadingIcon:"hidden",trailingIcon:"w-[30px] h-[30px] text-white transition-transform duration-200 max-md:w-6 max-md:h-6 shrink-0 absolute right-[25px] max-md:right-5 group-data-[state=open]:text-[#e70038]",label:"font-bold text-[20px] leading-[25px] text-white text-left max-md:text-base max-md:leading-5 break-words pr-[85px] max-md:pr-[60px]"},a={root:"w-full flex flex-col gap-2",item:"border-0",header:"flex w-full",trigger:"group relative w-full cursor-pointer bg-[#1a1a1a] h-[70px] flex items-center justify-between focus-visible:outline-2 focus-visible:outline-white max-md:min-h-[70px] max-md:h-auto max-md:py-4",body:"bg-[#1a1a1a] w-full pt-[20px] pb-[20px] max-md:py-4 pl-2 md:pl-4 pr-2 md:pr-4",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden bg-[#1a1a1a]",leadingIcon:"hidden",trailingIcon:"hidden",label:"font-semibold text-[18px] leading-[22px] text-white group-hover:text-[#e70038] transition-colors duration-200 text-left max-md:text-sm max-md:leading-4 break-words pr-[60px] max-md:pr-[50px] pl-2 md:pl-4"},u={root:"w-full flex flex-col gap-2",item:"border-0",header:"flex w-full",trigger:"group relative w-full cursor-pointer bg-[#222] h-[100px] flex items-center justify-between focus-visible:outline-2 focus-visible:outline-white max-md:min-h-[80px] max-md:h-auto max-md:py-4",body:"bg-[#222] w-full pt-[15px] pb-[15px] max-md:py-3 pl-2 md:pl-4 pr-2 md:pr-4",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden bg-[#222]",leadingIcon:"hidden",trailingIcon:"hidden",label:"font-light text-[16px] leading-[20px] text-white group-hover:text-[#e70038] transition-colors duration-200 text-left max-md:text-sm max-md:leading-4 break-words pr-[60px] max-md:pr-[50px] pl-2 md:pl-4"},c=(T,k)=>k.trim()?T.toLowerCase().includes(k.toLowerCase()):!0,d=(T,k)=>{if(!k.trim()||!T)return T;const S=k.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),C=new RegExp(String.raw`(${S})`,"gi");if(!(T.includes("<")&&T.includes(">")))return T.replace(C,'<mark style="background-color: yellow; color: black;">$1</mark>');const M=document.createElement("div");M.innerHTML=T;const I=document.createTreeWalker(M,globalThis.NodeFilter.SHOW_TEXT,null),$=[];let F=I.nextNode();for(;F;)$.push(F),F=I.nextNode();for(const q of $.toReversed()){const O=q.textContent||"",L=new RegExp(String.raw`(${S})`,"gi");if(L.test(O)){L.lastIndex=0;const N=O.replace(L,'<mark style="background-color: yellow; color: black;">$1</mark>'),Z=document.createElement("span");Z.innerHTML=N;const H=document.createDocumentFragment();for(;Z.firstChild;)H.append(Z.firstChild);q.replaceWith(H)}}return M.innerHTML},p=(T,k)=>k.trim()?T.filter(S=>c(S.name,k)||c(S.description,k)):T,f=(T,k)=>k.trim()?T.map(S=>
113{const C=p(S.topics,k),A=c(S.name,k),M=C.length>0;return A||M?{...S,topics:C,_hasMatchingTopics:M}:null}).filter(S=>S!==null):T,m=W(()=>{const T=n.value.trim();return T?t.faqData.map(k=>{const S=f(k.chapters,T),C=c(k.name,T),A=k.description?c(k.description,T):!1,M=S.length>0;return C||A||M?{...k,chapters:S,_hasMatchingChapters:M}:null}).filter(k=>k!==null):t.faqData}),h=W(()=>m.value.map(T=>({label:T.name,value:`book-${T.id}`}))),g=T=>{const k=Number.parseInt(T.replace("book-",""),10),S=m.value.find(C=>C.id===k);return S?S.chapters:[]},y=T=>g(T).map(S=>({label:S.name,value:`chapter-${S.id}`})),b=(T,k)=>{const S=g(T),C=Number.parseInt(k.replace("chapter-",""),10),A=S.find(M=>M.id===C);return A?A.topics:[]},x=(T,k)=>b(T,k).map(C=>({label:C.name,value:`topic-${C.id}`})),w=(T,k,S)=>{const C=b(T,k),A=Number.parseInt(S.replace("topic-",""),10),M=C.find($=>$.id===A);if(!M)return"";const I=n.value.trim();return I?d(M.description,I):M.description};we(n,T=>{if(T.trim()){r.value=m.value.map(C=>`book-${C.id}`);const k=[],S=[];for(const C of m.value)for(const A of C.chapters){k.push(`chapter-${A.id}`);for(const M of A.topics)S.push(`topic-${M.id}`)}o.value=k,i.value=S}else r.value=[],o.value=[],i.value=[]});const E=()=>{n.value="",r.value=[],o.value=[],i.value=[]};return(T,k)=>{const S=kh,C=Is;return P(),B("div",NX,[_("div",VX,[T.hasSubmitCheckRequestButtons?(P(),B("div",zX,[_("div",jX,[_("a",{class:"submit-a-request-button inline-flex items-center justify-center cursor-pointer gap-button-gap bg-[#141616] border-2 border-solid border-[#72797b] p-button-padding text-white font-bold text-button no-underline hover:border-primary transition-colors min-w-button-min-width",title:T.submitCheckRequestButtonText,onClick:k[0]||(k[0]=St(A=>s.value&&(s.value.isModalOpen=!0),["prevent"]))},[_("img",{src:v(uY),alt:"",class:"w-[35px] h-[35px]"},null,8,UX),_("span",WX,te(T.submitCheckRequestButtonText),1)],8,HX),T.submitCheckRequestUrl.length>0?(P(),B("a",{key:0,class:"inline-flex items-center justify-center cursor-pointer gap-button-gap bg-[#141616] border-2 border-solid border-[#72797b] p-button-padding text-white font-bold text-button no-underline hover:border-primary transition-colors min-w-button-min-width",href:T.submitCheckRequestUrl,target:"_blank",title:T.checkRequestButtonText},[_("img",{src:v(cY),alt:"",class:"w-[35px] h-[35px]"},null,8,KX),_("span",YX,te(T.checkRequestButtonText),1)],8,GX)):ae("",!0)])])):ae("",!0),T.isKnowledgeBaseVisible?(P(),B("div",{key:1,class:re(T.hasSearch?"col-span-12 lg:col-span-8":"col-span-12")},[_("h2",XX,te(T.faqHeadline),1)],2)):ae("",!0),T.isKnowledgeBaseVisible&&T.hasSearch?(P(),B("div",QX,[K(S,{modelValue:n.value,"onUpdate:modelValue":k[1]||(k[1]=A=>n.value=A),placeholder:T.searchPlaceholder,class:"faq-search-input w-full",size:"xl",ui:{base:"relative flex w-full ring-2 bg-black text-white rounded-none",form:"form-input",rounded:"rounded-none",size:{xl:"text-base"},gap:"gap-x-2",padding:{xl:"px-4 py-8"},default:{size:"xl",color:"white",variant:"outline"}}},Hc({leading:D(()=>[k[5]||(k[5]=_("svg",{class:"w-5 h-5 text-[#72797b]",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})],-1))]),_:2},[n.value?{name:"trailing",fn:D(()=>[_("button",{onClick:E,class:"text-[#72797b] hover:text-white transition-colors cursor-pointer",type:"button"},[...k[6]||(k[6]=[_("svg",{class:"w-5 h-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})],-1)])])]),key:"0"}:void 0]),1032,["modelValue","placeholder"])])):ae("",!0)]),T.isKnowledgeBaseVisible&&m.value.length>0?(P(),B("div",JX,[_("div",ZX,[_("div",eQ,[K(C,{modelValue:r.value,"onUpdate:modelValue":k[4]||(k[4]=A=>r.value=A),type:"multiple",items:h.value,ui:l},{default:D(({item:A})=>[_("span",{innerHTML:d(A.label,n.value.trim())},null,8,tQ)]),body:D(({item:A})=>[g(A.value).length>0?(P(),B("div",nQ,[K(C,{modelValue:o.value,"onUpdate:modelValue":k[3]||(k[3]=M=>o.value=M),type:"multiple",items:y(A.value),ui:a},{default:D(({item:M})=>[_("span",{innerHTML:d(M.label,n.value.trim())},null,8,rQ)]),trailing:D(({item:M})=>[o.value.includes(M.value)?(P(),B("svg",oQ,[...k[7]||(k[7]=[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20 12H4"},null,-1)])])):(P(),B("svg",iQ,[...k[8]||(k[8]=[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4v16m8-8H4"},null,-1)])]))]),body:D(({item:M})=>[b(A.value,M.value).length>0?(P(),B("div",sQ,[K(C,{modelValue:i.value,"onUpdate:modelValue":k[2]||(k[2]=I=>i.value=I),type:"multiple",items:x(A.value,M.value),ui:u},{default:D(({item:I})=>[_("span",{innerHTML:d(I.label,n.value.trim())},null,8,lQ)]),trailing:D(({item:I})=>[i.value.includes(I.value)?(P(),B("svg",aQ,[...k[9]||(k[9]=[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20 12H4"},null,-1)])])):(P(),B("svg",uQ,[...k[10]||(k[10]=[_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4v16m8-8H4"},null,-1)])]))]),body:D(({item:I})=>[_("div",{class:"text-base text-white [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",innerHTML:w(A.value,M.value,I.value)},null,8,cQ)]),_:2},1032,["modelValue","items"])])):ae("",!0)]),_:2},1032,["modelValue","items"])])):ae("",!0)]),_:1},8,["modelValue","items"])])])])):ae("",!0),T.isKnowledgeBaseVisible&&m.value.length===0?(P(),B("div",dQ,[_("p",null,te(T.noResultsText),1)])):ae("",!0),T.hasSubmitCheckRequestButtons?(P(),X(DX,{key:2,ref_key:"submitRequestRef",ref:s,categories:T.categories,customFields:T.customFields},null,8,["categories","customFields"])):ae("",!0)])}}}),pQ={slots:{root:"relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",wrapper:"min-w-0 flex-1 flex flex-col",title:"text-sm font-medium",description:"text-sm opacity-90",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xl",actions:"flex flex-wrap gap-1.5 shrink-0",close:"p-0"}
113,variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},orientation:{horizontal:{root:"items-center",actions:"items-center"},vertical:{root:"items-start",actions:"items-start mt-2.5"}},title:{true:{description:"mt-1"}}},compoundVariants:[{color:"primary",variant:"solid",class:{root:"bg-primary text-inverted"}},{color:"secondary",variant:"solid",class:{root:"bg-secondary text-inverted"}},{color:"success",variant:"solid",class:{root:"bg-success text-inverted"}},{color:"info",variant:"solid",class:{root:"bg-info text-inverted"}},{color:"warning",variant:"solid",class:{root:"bg-warning text-inverted"}},{color:"error",variant:"solid",class:{root:"bg-error text-inverted"}},{color:"primary",variant:"outline",class:{root:"text-primary ring ring-inset ring-primary/25"}},{color:"secondary",variant:"outline",class:{root:"text-secondary ring ring-inset ring-secondary/25"}},{color:"success",variant:"outline",class:{root:"text-success ring ring-inset ring-success/25"}},{color:"info",variant:"outline",class:{root:"text-info ring ring-inset ring-info/25"}},{color:"warning",variant:"outline",class:{root:"text-warning ring ring-inset ring-warning/25"}},{color:"error",variant:"outline",class:{root:"text-error ring ring-inset ring-error/25"}},{color:"primary",variant:"soft",class:{root:"bg-primary/10 text-primary"}},{color:"secondary",variant:"soft",class:{root:"bg-secondary/10 text-secondary"}},{color:"success",variant:"soft",class:{root:"bg-success/10 text-success"}},{color:"info",variant:"soft",class:{root:"bg-info/10 text-info"}},{color:"warning",variant:"soft",class:{root:"bg-warning/10 text-warning"}},{color:"error",variant:"soft",class:{root:"bg-error/10 text-error"}},{color:"primary",variant:"subtle",class:{root:"bg-primary/10 text-primary ring ring-inset ring-primary/25"}},{color:"secondary",variant:"subtle",class:{root:"bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"}},{color:"success",variant:"subtle",class:{root:"bg-success/10 text-success ring ring-inset ring-success/25"}},{color:"info",variant:"subtle",class:{root:"bg-info/10 text-info ring ring-inset ring-info/25"}},{color:"warning",variant:"subtle",class:{root:"bg-warning/10 text-warning ring ring-inset ring-warning/25"}},{color:"error",variant:"subtle",class:{root:"bg-error/10 text-error ring ring-inset ring-error/25"}},{color:"neutral",variant:"solid",class:{root:"text-inverted bg-inverted"}},{color:"neutral",variant:"outline",class:{root:"text-highlighted bg-default ring ring-inset ring-default"}},{color:"neutral",variant:"soft",class:{root:"text-highlighted bg-elevated/50"}},{color:"neutral",variant:"subtle",class:{root:"text-highlighted bg-elevated/50 ring ring-inset ring-accented"}}],defaultVariants:{color:"primary",variant:"solid"}},Hi={__name:"Alert",props:{as:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},icon:{type:[String,Object],required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},actions:{type:Array,required:!1},close:{type:[Boolean,Object],required:!1},closeIcon:{type:[String,Object],required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),{t:i}=eh(),s=Xt(),l=W(()=>nt({extend:nt(pQ),...s.ui?.alert||{}})({color:n.color,variant:n.variant,orientation:n.orientation,title:!!n.title||!!o.title}));return(a,u)=>(P(),X(v(ze),{as:e.as,"data-orientation":e.orientation,class:re(l.value.root({class:[n.ui?.root,n.class]}))},{default:D(()=>[se(a.$slots,"leading",{},()=>[e.avatar?(P(),X(Di,be({key:0,size:n.ui?.avatarSize||l.value.avatarSize()},e.avatar,{class:l.value.avatar({class:n.ui?.avatar})}),null,16,["size","class"])):e.icon?(P(),X(it,{key:1,name:e.icon,class:re(l.value.icon({class:n.ui?.icon}))},null,8,["name","class"])):ae("",!0)]),_("div",{class:re(l.value.wrapper({class:n.ui?.wrapper}))},[e.title||o.title?(P(),B("div",{key:0,class:re(l.value.title({class:n.ui?.title}))},[se(a.$slots,"title",{},()=>
113[Le(te(e.title),1)])],2)):ae("",!0),e.description||o.description?(P(),B("div",{key:1,class:re(l.value.description({class:n.ui?.description}))},[se(a.$slots,"description",{},()=>[Le(te(e.description),1)])],2)):ae("",!0),e.orientation==="vertical"&&(e.actions?.length||o.actions)?(P(),B("div",{key:2,class:re(l.value.actions({class:n.ui?.actions}))},[se(a.$slots,"actions",{},()=>[(P(!0),B(ye,null,Ce(e.actions,(c,d)=>(P(),X(ha,be({key:d,size:"xs"},{ref_for:!0},c),null,16))),128))])],2)):ae("",!0)],2),e.orientation==="horizontal"&&(e.actions?.length||o.actions)||e.close?(P(),B("div",{key:0,class:re(l.value.actions({class:n.ui?.actions,orientation:"horizontal"}))},[e.orientation==="horizontal"&&(e.actions?.length||o.actions)?se(a.$slots,"actions",{key:0},()=>[(P(!0),B(ye,null,Ce(e.actions,(c,d)=>(P(),X(ha,be({key:d,size:"xs"},{ref_for:!0},c),null,16))),128))]):ae("",!0),se(a.$slots,"close",{ui:l.value},()=>[e.close?(P(),X(ha,be({key:0,icon:e.closeIcon||v(s).ui.icons.close,color:"neutral",variant:"link","aria-label":v(i)("alert.close")},typeof e.close=="object"?e.close:{},{class:l.value.close({class:n.ui?.close}),onClick:u[0]||(u[0]=c=>r("update:open",!1))}),null,16,["icon","aria-label","class"])):ae("",!0)])],2)):ae("",!0)]),_:3},8,["as","data-orientation","class"]))}};function hQ(e){return"schema"in e&&typeof e.coercer=="function"&&typeof e.validator=="function"&&typeof e.refiner=="function"}function mQ(e){return"~standard"in e}async function gQ(e,t){const n=await t["~standard"].validate(e);return n.issues?{errors:n.issues?.map(r=>({name:r.path?.map(o=>typeof o=="object"?o.key:o).join(".")||"",message:r.message}))||[],result:null}:{errors:null,result:n.value}}async function vQ(e,t){const[n,r]=t.validate(e);return n?{errors:n.failures().map(i=>({message:i.message,name:i.path.join(".")})),result:null}:{errors:null,result:r}}function yQ(e,t){if(mQ(t))return gQ(e,t);if(hQ(t))return vQ(e,t);throw new Error("Form validation failed: Unsupported form schema")}function bQ(e,t){return t?t.split(".").reduce((r,o)=>r?.[o],e):e}function xQ(e,t,n){if(!t)return Object.assign(e,n);if(!e)return e;const r=t.split(".");let o=e;for(let s=0;s<r.length-1;s++){const l=r[s];(o[l]===void 0||o[l]===null)&&(s+1<r.length&&!Number.isNaN(Number(r[s+1]))?o[l]=[]:o[l]={}),o=o[l]}const i=r[r.length-1];return o[i]=n,e}class nc extends Error{formId;errors;constructor(t,n){super("Form validation exception"),this.formId=t,this.errors=n,Object.setPrototypeOf(this,nc.prototype)}}const _Q={base:""},$s={__name:"Form",props:{id:{type:[String,Number],required:!1},schema:{type:null,required:!1},state:{type:null,required:!1},validate:{type:Function,required:!1},validateOn:{type:Array,required:!1,default(){return["input","blur","change"]}},disabled:{type:Boolean,required:!1},name:{type:null,required:!1},validateOnInputDelay:{type:Number,required:!1,default:300},transform:{type:null,required:!1,default:()=>!0},nested:{type:null,required:!1},loadingAuto:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},onSubmit:{type:Function,required:!1}},emits:["submit","error"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=Xt(),s=W(()=>nt({extend:nt(_Q),...i.ui?.form||{}})),l=r.id??Ga(),a=VO(`form-${l}`),u=r.nested?.toString()===""||r.nested===!0,c=u&&ft(jg,void 0),d=u?ft(lx,void 0):void 0,p=W(()=>d?.value?r.name?bQ(d.value,r.name):d.value:r.state);Wt(jg,a),Wt(lx,p);const f=V(new Map);Ve(async()=>{c&&(await je(),c.emit({type:"attach",validate:T,formId:l,name:r.name,api:H}))}),vn(()=>{a.reset(),c&&c.emit({type:"detach",formId:l})}),Ve(async()=>{a.on(async G=>{G.type==="attach"?f.value.set(G.formId,{validate:G.validate,name:G.name,api:G.api}):G.type==="detach"?f.value.delete(G.formId):r.validateOn?.includes(G.type)&&!k.value&&(G.type!=="input"?await T({name:G.name,silent:!0,nested:!1}):(G.eager||b.has(G.name))&&await T({name:G.name,silent:!0,nested:!1})),G.type==="blur"&&b.add(G.name),(G.type==="change"||G.type==="input"||G.type==="blur"||G.type==="focus")&&y.add(G.name),(G.type==="change"||G.type==="input")&&g.add(G.name)})});const m=V([]);Wt(RC,m);const h=V({});Wt(LC,h);const g=gr(new Set),y=gr(new Set),b=gr(new Set);function x(G){return G.map(oe=>({...oe,id:oe?.name?h.value[oe.name]?.id:void 0}))}const w=V(null);async function E(){let G=r.validate?await r.validate(p.value)??[]:[];if(r.schema){const{errors:oe,result:ce}=await yQ(p.value,r.schema);oe?G=G.concat(oe):w.value=ce}return x(G)}async function T(G={silent:!1,nested:!1,transform:!1}){const oe=G.name&&!Array.isArray(G.name)?[G.name]:G.name;let ce=[],ee=[];
113if(!oe&&G.nested){const ie=Array.from(f.value.values()).map(Y=>A(Y,G)),Q=await Promise.all(ie);ee=Q.filter(Y=>Y.error).flatMap(Y=>Y.error.errors.map(J=>M(J,Y.name))),ce=Q.filter(Y=>Y.output!==void 0)}const xe=[...await E(),...ee];if(oe?m.value=L(xe,oe):m.value=xe,m.value?.length){if(G.silent)return!1;throw new nc(l,m.value)}return G.transform?(ce.forEach(ie=>{ie.name?xQ(w.value,ie.name,ie.output):Object.assign(w.value,ie.output)}),w.value??p.value):p.value}const k=V(!1);Wt(qC,Go(k));async function S(G){k.value=r.loadingAuto&&!0;const oe=G;try{oe.data=await T({nested:!0,transform:r.transform}),await r.onSubmit?.(oe),g.clear()}catch(ce){if(!(ce instanceof nc))throw ce;const ee={...oe,errors:ce.errors};o("error",ee)}finally{k.value=!1}}const C=W(()=>r.disabled||k.value);Wt(MC,W(()=>({disabled:C.value,validateOnInputDelay:r.validateOnInputDelay})));async function A(G,oe){try{const ce=await G.validate({...oe,silent:!1});return{name:G.name,output:ce}}catch(ce){if(!(ce instanceof nc))throw ce;return{name:G.name,error:ce}}}function M(G,oe){return!oe||!G.name?G:{...G,name:oe+"."+G.name}}function I(G,oe){const ce=oe+".",ee=G?.name?.startsWith(ce)?G.name.substring(ce.length):G.name;return{...G,name:ee}}function $(G,oe){return oe?G.filter(ce=>ce?.name?.startsWith(oe+".")).map(ce=>I(ce,oe)):G}function F(G){return G.api.getErrors().map(oe=>G.name?{...oe,name:G.name+"."+oe.name}:oe)}function q(G,oe){return!G||!oe?!0:G instanceof RegExp?G.test(oe):oe===G||typeof G=="string"&&G.startsWith(oe+".")}function O(G,oe){if(!G||G instanceof RegExp)return G;if(oe!==G)return typeof G=="string"&&G.startsWith(oe+".")?G.substring(oe.length+1):G}function L(G,oe){const ce=new Set(oe),ee=oe.map(Q=>h.value?.[Q]?.pattern).filter(Boolean),ge=Q=>Q.name?ce.has(Q.name)?!0:ee.some(Y=>Y.test(Q.name)):!1,xe=m.value.filter(Q=>!ge(Q)),ie=G.filter(ge);return[...xe,...ie]}function N(G,oe){return G.filter(ce=>oe instanceof RegExp?!(ce.name&&oe.test(ce.name)):!ce.name||ce.name!==oe)}function Z(G){return!G.name||!!h.value[G.name]}const H={validate:T,errors:m,setErrors(G,oe){const ce=x(G.filter(Z)),ee=[];for(const ge of f.value.values())if(q(oe,ge.name)){const xe=$(G,ge.name);ge.api.setErrors(xe,O(oe,ge.name||"")),ee.push(...F(ge))}if(oe){const ge=N(m.value,oe);m.value=[...ge,...ce,...ee]}else m.value=[...ce,...ee]},async submit(){await S(new Event("submit"))},getErrors(G){return G?m.value.filter(oe=>G instanceof RegExp?oe.name&&G.test(oe.name):oe.name===G):m.value},clear(G){const oe=G?m.value.filter(ee=>Z(ee)&&(G instanceof RegExp?!(ee.name&&G.test(ee.name)):ee.name!==G)):[],ce=[];for(const ee of f.value.values())q(G,ee.name)&&ee.api.clear(),ce.push(...F(ee));m.value=[...oe,...ce]},disabled:C,loading:k,dirty:W(()=>!!g.size),dirtyFields:Go(g),blurredFields:Go(b),touchedFields:Go(y)};return t(H),(G,oe)=>(P(),X(yr(v(c)?"div":"form"),{id:v(l),class:re(s.value({class:r.class})),onSubmit:St(S,["prevent"])},{default:D(()=>[se(G.$slots,"default",{errors:m.value,loading:k.value})]),_:3},40,["id","class"]))}},wQ=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,SQ=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kQ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function CQ(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){TQ(e);return}return t}function TQ(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function EQ(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!kQ.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(wQ.test(e)||SQ.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,CQ)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}
113class PQ extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function IQ(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new PQ(s,e.error?{cause:e.error}:void 0);for(const a of["request","options","response"])Object.defineProperty(l,a,{get(){return e[a]}});for(const[a,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,a,{get(){return e.response&&e.response[u]}});return l}const AQ=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function I_(e="GET"){return AQ.has(e.toUpperCase())}function $Q(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const MQ=new Set(["image/svg","application/xml","application/xhtml","application/html"]),OQ=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function LQ(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return OQ.test(t)?"json":MQ.has(t)||t.startsWith("text/")?"text":"blob"}function qQ(e,t,n,r){const o=RQ(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function RQ(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function Kd(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const BQ=new Set([408,409,425,429,500,502,503,504]),FQ=new Set([101,204,205,304]);function v5(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let c;typeof l.options.retry=="number"?c=l.options.retry:c=I_(l.options.method)?0:1;const d=l.response&&l.response.status||500;if(c>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(d):BQ.has(d))){const p=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return p>0&&await new Promise(f=>setTimeout(f,p)),i(l.request,{...l.options,retry:c-1})}}const u=IQ(l);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(a,u={}){const c={request:a,options:qQ(a,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Kd(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=QB(c.request,c.options.baseURL)),c.options.query&&(c.request=JB(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&I_(c.options.method)&&($Q(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let d;if(!c.options.signal&&c.options.timeout){const f=new r;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,f.abort(m)},c.options.timeout),c.options.signal=f.signal}try{c.response=await t(c.request,c.options)}catch(f){return c.error=f,c.options.onRequestError&&await Kd(c,c.options.onRequestError),await o(c)}finally{d&&clearTimeout(d)}if((c.response.body||c.response._bodyInit)&&!FQ.has(c.response.status)&&c.options.method!=="HEAD"){const f=(c.options.parseResponse?"json":c.options.responseType)||LQ(c.response.headers.get("content-type")||"");switch(f){case"json":{const m=await c.response.text(),h=c.options.parseResponse||EQ;c.response._data=h(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[f]()}}return c.options.onResponse&&await Kd(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Kd(c,c.options.onResponseError),await o(c)):c.response},s=async function(a,u){return(await i(a,u))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={},a={})=>v5({...e,...a,defaults:{...e.defaults,...a.defaults,...l}}),s}const Ep=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),DQ=Ep.fetch?(...e)=>Ep.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),NQ=Ep.Headers,VQ=Ep.AbortController,zQ=v5({fetch:DQ,Headers:NQ,AbortController:VQ}),Ms=zQ;function jQ(e){if(globalThis.window!==void 0&&globalThis.document!==void 0){const n=globalThis.document.cookie.match(new RegExp(`${e}=([^;]+)`));
113return n?n[1]:null}return null}function y5(){if(globalThis.window===void 0||globalThis.document===void 0)return"en";const e=globalThis.document.body;if(e?.dataset.locale)return e.dataset.locale;const t=globalThis.document.documentElement.getAttribute("lang");if(t)return t.split("-")[0];const n=jQ("locale");return n||(navigator.language?navigator.language.split("-")[0]:"en")}function HQ(){return globalThis.window===void 0?!0:globalThis.window.__JS_TRANSLATIONS__===void 0}function bn(e,t=""){if(!e)return t;const n=globalThis.window?.__JS_TRANSLATIONS__;if(n){let r=n[e];if(!r&&!e.startsWith("js.")&&(r=n[`js.${e}`]),r)return r}return t}y5();globalThis.window!==void 0&&!globalThis.document.documentElement.classList.contains("editmode")&&(globalThis.window.t=bn);function Rl(){return{t:bn,locale:W(()=>y5()),isLoading:W(()=>HQ())}}const UQ=document.location.origin,Yd=V({}),Fm=V(!1),Dm=V(null);function Ph(e="en",t=!1){const n=W(()=>Yd.value[e]||[]);async function r(l){const a=l||e;if(Yd.value[a]?.length>0)return Yd.value[a];Fm.value=!0,Dm.value=null;try{const u=await fetch(`${UQ}/api/form/${a}/countries`);if(!u.ok)throw new Error(`HTTP error! status: ${u.status}`);const c=await u.json(),d=c.countries||c;return Yd.value[a]=d,d}catch(u){const c=u instanceof Error?u.message:"Failed to load countries";return Dm.value=c,console.error("Failed to load countries:",u),[]}finally{Fm.value=!1}}const o=W(()=>n.value.map(l=>({label:l.name,value:l.code})));function i(l){return n.value.find(a=>a.code===l)}function s(l){return i(l)?.name||l}return t&&Ve(async()=>{await r(e)}),{countries:n,countryOptions:o,loading:Fm,error:Dm,loadCountries:r,getCountryByCode:i,getCountryName:s}}const WQ={class:"contents"},GQ={key:0,class:"py-8 text-center"},KQ={class:"col-span-12"},YQ={class:"text-primary text-sm font-bold"},XQ={class:"col-span-12 md:col-span-6"},QQ={class:"col-span-12 md:col-span-6"},JQ={class:"col-span-12 md:col-span-6"},ZQ={class:"text-primary text-sm font-bold"},eJ={class:"col-span-12 md:col-span-6"},tJ={class:"col-span-12 md:col-span-6"},nJ={class:"text-primary text-sm font-bold"},rJ={class:"col-span-12 md:col-span-6"},nd=pe({__name:"ContactFields",props:{modelValue:{},errors:{default:()=>[]},touched:{type:Boolean,default:!1},rows:{default:6},requiredFields:{default:()=>({message:!0,firstname:!1,lastname:!1,email:!0,telephone:!1,company:!0,country:!0})},site:{default:""},getFieldError:{},clearFieldError:{},handleFieldChange:{}},setup(e,{expose:t}){const{t:n,locale:r,isLoading:o}=td(),{countryOptions:i,loading:s}=Ph(r.value,!0),l=e,a=W(()=>l.site==="zh"),u=W(()=>l.modelValue.email&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.modelValue.email)),c=d=>l.requiredFields?.[d]??!1;return t({t:n,countryOptions:i,emailValid:u}),(d,p)=>{const f=Oe("FormTextarea"),m=Oe("FormField"),h=Oe("FormInput"),g=Oe("FormSelect");return P(),B("div",WQ,[v(o)?(P(),B("div",GQ,[...p[8]||(p[8]=[_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1),_("p",{class:"mt-2"},"Loading...",-1)])])):(P(),B(ye,{key:1},[_("div",KQ,[K(m,{label:v(n)("form.common.message","Your message to us"),name:"message",required:c("message")},{default:D(()=>[K(f,{"model-value":d.modelValue.message,name:"message",rows:d.rows,error:d.getFieldError("message"),"onUpdate:modelValue":p[0]||(p[0]=y=>d.handleFieldChange("message",y))},{error:D(()=>[_("p",YQ,te(v(n)("form.common.message.required","Message is required")),1)]),_:1},8,["model-value","rows","error"])]),_:1},8,["label","required"])]),_("div",XQ,[K(m,{label:v(n)("form.common.firstname","First Name"),name:"firstname",required:c("firstname")},{default:D(()=>[K(h,{"model-value":d.modelValue.firstname,name:"firstname",placeholder:v(n)("form.common.firstname","First Name"),"show-validation":d.touched,"onUpdate:modelValue":p[1]||(p[1]=y=>d.handleFieldChange("firstname",y))},null,8,["model-value","placeholder","show-validation"])]),_:1},8,["label","required"])]),_("div",QQ,[K(m,{label:v(n)("form.common.lastname","Last Name"),name:"lastname",required:c("lastname")},{default:D(()=>[K(h,{"model-value":d.modelValue.lastname,name:"lastname",placeholder:v(n)("form.common.lastname","Last Name"),error:d.getFieldError("lastname"),"onUpdate:modelValue":p[2]||(p[2]=y=>d.handleFieldChange("lastname",y))},null,8,["model-value","placeholder","error"])]),_:1},8,["label","required"])]),_("div",JQ,[K(m,{label:v(n)("form.common.email","Email"),name:"email",required:c("email")},{default:D(()=>[K(h,{"model-value":d.modelValue.email,type:"email",name:"email",placeholder:v(n)("form.common.email","Email"),error:d.getFieldError("email"),valid:u.value,"onUpdate:modelValue":p[3]||(p[3]=y=>d.handleFieldChange("email",y))},{error:D(()=>[_("p",ZQ,te(v(n)("form.common.email.required","Please enter a valid email address.")),1)]),_:1},8,["model-value","placeholder","error","valid"])]),_:1},8,["label","required"])]),_("div",eJ,[K(m,{label:v(n)("form.common.telephone","Telephone"),name:"telephone",required:c("telephone")},{default:D(()=>[K(h,{"model-value":d.modelValue.telephone,name:"telephone",type:"tel",placeholder:v(n)("form.common.telephone","Telephone"),"onUpdate:modelValue":p[4]||(p[4]=y=>
113d.handleFieldChange("telephone",y))},null,8,["model-value","placeholder"])]),_:1},8,["label","required"])]),_("div",tJ,[K(m,{label:v(n)("form.common.company","Company/Institute"),name:"company",required:c("company")},{default:D(()=>[K(h,{"model-value":d.modelValue.company,name:"company",placeholder:v(n)("form.common.company","Company/Institute"),error:d.getFieldError("company"),"onUpdate:modelValue":p[5]||(p[5]=y=>d.handleFieldChange("company",y))},{error:D(()=>[_("p",nJ,te(v(n)("form.common.company.required","Company / Institute is required")),1)]),_:1},8,["model-value","placeholder","error"])]),_:1},8,["label","required"])]),_("div",rJ,[K(m,{label:v(n)("form.common.country","Country"),name:"country",required:c("country")},{default:D(()=>[K(g,{"model-value":d.modelValue.country,name:"country",options:v(i),placeholder:v(n)("form.common.country.defaultOption","Please select your country"),loading:v(s),error:d.getFieldError("country"),disabled:a.value,"onUpdate:modelValue":p[6]||(p[6]=y=>d.handleFieldChange("country",y)),onClearError:p[7]||(p[7]=()=>d.clearFieldError("country"))},null,8,["model-value","options","placeholder","loading","error","disabled"])]),_:1},8,["label","required"])])],64))])}}});function Os(e,t){const n=V(null),r=V(""),i=`partnerMail_${t||Math.random().toString(36).slice(2,9)}`,s=u=>{const c=Object.getOwnPropertyDescriptor(globalThis.HTMLInputElement.prototype,"value");c&&Object.defineProperty(u,"value",{configurable:!0,get(){return c.get?.call(this)},set(d){c.set?.call(this,d),r.value=d}})},l=()=>!!(n.value?.value||r.value),a=()=>{r.value="",n.value&&(n.value.value="")};return Ve(()=>{n.value&&s(n.value)}),e&&we(e,async u=>{u===!1&&(await je(),n.value&&s(n.value))},{immediate:!0}),{honeypotRef:n,honeypotValue:r,honeypotName:i,isBot:l,reset:a}}const oJ={class:""},iJ={key:0,class:"py-8 text-center"},sJ={class:"mt-2"},lJ=["value"],aJ={class:"partnerMail-field","aria-hidden":"true"},uJ=["name"],cJ={key:0,class:"col-span-12"},dJ={class:"col-span-12"},fJ={class:"text-primary text-sm font-bold"},pJ={class:"col-span-4"},hJ=pe({__name:"LaserRackConfigurationForm",props:{emailSender:String,actionUrl:String,usedUnits:Number,maxRackUnits:Number,configurationSummary:Array,site:String},setup(e){const{t}=Rl(),n=e,r=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:n.site==="zh"?"CN":"",message:"",terms:!1,formType:"laserrackconfiguration",emailSender:n.emailSender,usedUnits:n.usedUnits,maxRackUnits:n.maxRackUnits,configurationSummary:n.configurationSummary,honeypot:""}),o=V(!1),i=V(""),s=V([]),l=V(!1),a=V(!1),u=V(!1),c=V([]),{honeypotRef:d,honeypotValue:p,honeypotName:f,isBot:m,reset:h}=Os(u,"laserrackconfiguration"),g=S=>{const C=[];return S.company||C.push({path:"company",message:t("form.common.company.required","Company / Institute is required")}),S.email?y(S.email)||C.push({path:"email",message:t("form.common.email.invalid","Please enter a valid email address.")}):C.push({path:"email",message:t("form.common.email.required","Email is required")}),S.country||C.push({path:"country",message:t("form.common.country.required","Country is required")}),S.message||C.push({path:"message",message:t("form.common.message.required","Message is required")}),S.terms||C.push({path:"terms",message:t("form.common.terms.required","You must accept the Privacy Policy")}),C};function y(S){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(S)}function b(S){s.value=S.errors,i.value=t("form.common.validation-error","Please correct the errors in the form.")}async function x(){if(m()){console.log("Bot detected!"),o.value=!0;return}a.value=!0,s.value=[],i.value="",o.value=!1;try{const S=await Ms("/api/form/laserrackconfiguration",{method:"POST",headers:{"Content-Type":"application/json"},body:r.value}),C=typeof S=="string"?JSON.parse(S):S;C.success?(n.actionUrl?globalThis.location.href=n.actionUrl:o.value=!0,r.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:n.site==="zh"?"CN":"",message:"",terms:!1,formType:"laserrackconfiguration",emailSender:n.emailSender,usedUnits:n.usedUnits,maxRackUnits:n.maxRackUnits,configurationSummary:n.configurationSummary,honeypot:""}):i.value=C.message||t("common.error","An error occurred")}catch(S){i.value=S.data?.message||t("form.common.submit-error","Failed to submit form. Please try again.")}finally{a.value=!1}h()}function w(S){const C=s.value.find(A=>A.path===S);return C?C.message:""}function E(S){s.value=s.value.filter(C=>C.path!==S)}function T(S,C){r.value[S]=C,s.value=s.value.filter(A=>A.path!==S),S==="productvariant"&&k(C)}function k(S){const C=c.value.find(A=>A.value===S);r.value.productVariantLabel=C?C.label:null}return we(p,S=>{r.value.honeypot=S}),we(()=>n.site,S=>{S==="zh"&&(r.value.country="CN")},{immediate:!0}),(S,C)=>{const A=Oe("FormAlert"),M=Oe("FormCheckbox"),I=Oe("FormField"),$=Oe("FormButton"),F=$s,q=Hi;return P(),B("div",oJ,[u.value?(P(),B("div",iJ,[C[5]||(C[5]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"}
113,null,-1)),_("p",sJ,te(v(t)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(F,{state:r.value,validate:g,onSubmit:x,onError:b,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:r.value.formType},null,8,lJ),_("div",aJ,[Or(_("input",{ref_key:"_honeypotRef",ref:d,"onUpdate:modelValue":C[0]||(C[0]=O=>r.value.honeypot=O),type:"text",name:v(f),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,uJ),[[rr,r.value.honeypot]])]),i.value?(P(),B("div",cJ,[K(A,{color:"red",variant:"soft",description:i.value,onClose:C[1]||(C[1]=O=>i.value="")},null,8,["description"])])):ae("",!0),K(nd,{modelValue:r.value,"onUpdate:modelValue":C[2]||(C[2]=O=>r.value=O),errors:s.value,touched:l.value,"get-field-error":w,"clear-field-error":E,"handle-field-change":T,site:e.site},null,8,["modelValue","errors","touched","site"]),_("div",dJ,[K(I,{name:"terms",required:""},{default:D(()=>[K(M,{modelValue:r.value.terms,"onUpdate:modelValue":[C[3]||(C[3]=O=>r.value.terms=O),C[4]||(C[4]=O=>T("terms",O))],name:"terms",label:v(t)("form.common.terms.label","I accept the Privacy Policy"),error:w("terms"),required:!0},{error:D(()=>[_("p",fJ,te(v(t)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",pJ,[K($,{type:"submit",loading:a.value},{default:D(()=>[Le(te(v(t)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),o.value&&!e.actionUrl?(P(),X(q,{key:0,color:"green",variant:"soft",title:v(t)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}}),mJ=En(hJ,[["__scopeId","data-v-8d039696"]]),gJ={class:"laser-rack-configurator-container w-full text-white"},vJ={class:"container mx-auto py-8"},yJ={class:"mb-8"},bJ={class:"text-4xl font-bold mb-4"},xJ=["innerHTML"],_J={class:"grid grid-cols-2 md:grid-cols-3 gap-2 lg:gap-8"},wJ={class:"product-selection col-span-1 md:col-span-2 text-white"},SJ={class:"grid grid-cols-1 md:grid-cols-2 gap-2 lg:gap-4"},kJ={class:"flex justify-between items-start mb-3"},CJ={class:"text-base lg:text-xl font-bold"},TJ=["innerHTML"],EJ={key:0,class:"text-[#e70038] text-lg"},PJ={class:"mb-3 text-sm lg:text-base hidden md:block"},IJ=["innerHTML"],AJ={class:"mb-4 space-y-1 list-disc list-inside text-xs lg:text-base hidden md:block"},$J={class:"flex justify-between items-center pt-2 lg:pt-4 border-t border-[#72797b]"},MJ={class:"text-sm text-[#72797b]"},OJ={class:"flex items-center gap-3"},LJ=["onClick","disabled"],qJ=["onClick","disabled"],RJ={class:"grid grid-cols-1 gap-4 mt-3"},BJ={class:"whitespace-nowrap"},FJ={class:"rack-visualization"},DJ={class:"relative flex flex-col justify-center"},NJ={class:"bg-gray-600 px-6 py-3 flex items-center justify-between"},VJ={class:"text-sm font-bold lg:text-base"},zJ=["innerHTML"],jJ={class:"rack-container relative mt-16 lg:mt-20 xl:-mt-8 scale-120 lg:scale-120 xl:scale-90",style:{"aspect-ratio":"235/595"}},HJ=["src","alt"],UJ=["src","alt"],WJ={class:"flex container max-w-xs sm:max-w-xl md:max-w-3xl lg:max-w-4xl xl:max-w-7xl mx-auto gap-4 sm:gap-5 md:gap-6 py-4 h-full max-h-screen overflow-y-auto hide-scrollbar"}
113,GJ={class:"flex-1 self-center h-auto relative max-h-58prc lg:h-full"},KJ={class:"w-full h-full mt-12 sm:mt-20 text-white"},YJ={class:"bg-[#141616] border-2 border-[#72797b] p-8"},XJ={class:"space-y-4"},QJ={class:"space-y-2"},JJ={class:"text-[#e70038] font-bold"},ZJ={class:"text-sm text-[#72797b] mt-4"},eZ={class:"mt-8 pt-8 border-t border-[#72797b]"},zs=34,tZ="/var/assets/laser-rack-configurator/LRS-leer.png",nZ=pe({__name:"LaserRackConfigurator",props:{rackUnitsText:{default:"Rack units left:"},headline:{default:"Configure your own T-RACK"},buttonCtaText:{default:"Send request"},actionUrl:{default:""},site:{default:""}},setup(e){const t=e,n={"DLC-pro":4,"MDL-pro":3,"MTA-pro":4,"MSHG-pro":4,MDFC:10,MOM:4,"Wavelength-Meter":3},r={mdl_pro:{name:"MDL pro",description:"Modular Tunable Single-Mode Diode Laser Unit",features:["Supporting up to 4 ECDL or DFB laser modules","Wavelength coverage: 369 .. 1770 nm"],totalHeight:7,components:["DLC-pro","MDL-pro"]},mta_pro:{name:"MTA pro",description:"Modular Amplified Tunable Single-Mode Laser Unit",features:["Supporting up to 2 amplified laser modules","Wavelength coverage: 660 .. 1770 nm"],totalHeight:8,components:["DLC-pro","MTA-pro"]},mshg_pro:{name:"MSHG pro",description:"Modular Frequency-Doubled Tunable Laser Unit",features:["Efficient frequency-doubling resonator design","Wavelength coverage: 330 .. 780 nm"],totalHeight:8,components:["DLC-pro","MSHG-pro"]},mdfc:{name:"MDFC",description:"Modular Difference Frequency Comb System",features:["Compact, robust, high-end and convenient","Wavelength coverage: 420 - 2000 nm"],totalHeight:10,components:["MDFC"]},mom:{name:"MOM",description:"Modular Opto-Mechanics Breadboard Unit",features:["Optical breadboard for custom solutions","Vibration isolation and pull-out mechanism"],totalHeight:4,components:["MOM"]},wavelength_meter:{name:"Wavelength Meter",description:"Rack-Mountable HighFinesse Wavelength Meter",features:["Best absolute accuracy down to 2 MHz","Wavelength coverage: 192 nm .. 11 μ"],totalHeight:3,components:["Wavelength-Meter"]}},o=V([]),i=V(!1);Ll(i);const s=W(()=>{const T=[],k=[];for(const S of o.value)for(const C of S.components)C==="DLC-pro"?T.push(C):k.push(C);return[...T,...k]}),l=W(()=>s.value.reduce((T,k)=>T+(n[k]||0),0)),a=W(()=>zs-l.value),u=W(()=>({top:"14.6%",bottom:"10.1%",left:"19.2%",right:"19%"})),c=W(()=>{const T=a.value,k=[];let S=T;for(;S>=6;)k.push(6),S-=6;for(;S>=2;)k.push(2),S-=2;for(;S>=1;)k.push(1),S-=1;return k}),d=W(()=>{const T={};for(const k of o.value){const S=r[k.productKey];T[k.productKey]||(T[k.productKey]={name:S.name,count:0}),T[k.productKey].count++}return Object.values(T)}),p=T=>o.value.filter(k=>k.productKey===T).length,f=T=>{const k=r[T];return a.value>=k.totalHeight},m=T=>{if(!f(T))return;const k=r[T];o.value.push({productKey:T,components:[...k.components]})},h=T=>{const k=o.value.findIndex(S=>S.productKey===T);k!==-1&&o.value.splice(k,1)},g=()=>{o.value=[]},y=T=>`/var/assets/laser-rack-configurator/${T}.jpg`,b=T=>`/var/assets/laser-rack-configurator/Blindplatte-${T}-RU.jpg`,x=T=>{let k=0;for(let I=0;I<T;I++){const $=s.value[I],F=n[$]||0;k+=F}const S=s.value[T],C=n[S]||0,A=k/zs*100,M=C/zs*100;return{top:`${A}%`,height:`${M}%`}},w=T=>{let k=l.value;for(let M=0;M<T;M++)k+=c.value[M];const S=c.value[T],C=k/zs*100,A=S/zs*100;return{top:`${C}%`,height:`${A}%`}},E=()=>{i.value=!0};return(T,k)=>{const S=Zc;return P(),B("div",gJ,[_("div",vJ,[_("div",yJ,[_("h1",bJ,[_("span",{innerHTML:t.headline},null,8,xJ)])]),_("div",_J,[_("div",wJ,[_("div",SJ,[(P(),B(ye,null,Ce(r,(C,A)=>_("div",{key:A,class:re(["product-card flex flex-col justify-between transition-colors duration-200 p-4 lg:p-6 bg-black",p(A)>0?"border border-[#e70038]":""])},[_("div",null,[_("div",kJ,[_("h3",CJ,[_("span",{innerHTML:C.name},null,8,TJ)]),p(A)>0?(P(),B("span",EJ,te(p(A))+"x ",1)):ae("",!0)]),_("p",PJ,[_("span",{innerHTML:C.description},null,8,IJ)]),_("ul",AJ,[(P(!0),B(ye,null,Ce(C.features,(M,I)=>(P(),B("li",{key:I},te(M),1))),128))])]),_("div",$J,[_("span",MJ,te(C.totalHeight)+" HE ",1),_("div",OJ,[_("button",{onClick:M=>h(A),disabled:p(A)===0,class:re(["w-8 h-8 lg:w-10 lg:h-10 flex items-center justify-center border-2 transition-colors",p(A)>0?"border-[#e70038] text-[#e70038] hover:bg-[#e70038] hover:text-white cursor-pointer":"border-[#72797b] text-[#72797b] cursor-not-allowed opacity-50"])},[...k[2]||(k[2]=[_("svg",{width:"16",height:"2",viewBox:"0 0 16 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M0 1H16",stroke:"currentColor","stroke-width":"2"})],-1)])],10,LJ),_("button",{onClick:M=>m(A),disabled:!f(A),class:re(["w-8 h-8 lg:w-10 lg:h-10 flex items-center justify-center border-2 transition-colors",f(A)?"border-[#e70038] text-[#e70038] hover:bg-[#e70038] hover:text-white cursor-pointer":"border-[#72797b] text-[#72797b] cursor-not-allowed opacity-50"])},[...k[3]||(k[3]=[_("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M8 0V16M0 8H16",stroke:"currentColor","stroke-width":"2"}
113)],-1)])],10,qJ)])])],2)),64))]),_("div",RJ,[_("a",{onClick:E,class:"cursor-pointer inline-flex items-center justify-center gap-button-gap bg-[#141616] border-2 border-solid border-[#72797b] p-button-padding text-white font-bold text-button no-underline hover:border-primary transition-colors"},[_("span",BJ,te(t.buttonCtaText),1)])])]),_("div",FJ,[_("div",DJ,[_("div",NJ,[_("span",VJ,[_("span",{innerHTML:t.rackUnitsText},null,8,zJ),Le(" "+te(a.value),1)]),o.value.length>0?(P(),B("button",{key:0,onClick:g,class:"ml-4 text-[#e70038] transition-colors cursor-pointer",title:"Remove all units"},[...k[4]||(k[4]=[_("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[_("path",{d:"M3 4H17M8 2H12M8 16V9M12 16V9M5 4L6 18H14L15 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):ae("",!0)]),_("div",jJ,[_("img",{src:tZ,alt:"Laser Rack",class:"absolute inset-0 w-full h-full object-contain z-0"}),_("div",{class:"components-area absolute z-10",style:gn(u.value)},[(P(!0),B(ye,null,Ce(s.value,(C,A)=>(P(),B("img",{key:`component-${A}`,src:y(C),alt:C,class:"absolute left-0 right-0 w-full",style:gn(x(A))},null,12,HJ))),128)),(P(!0),B(ye,null,Ce(c.value,(C,A)=>(P(),B("img",{key:`plate-${A}`,src:b(C),alt:`Blind Plate ${C} HE`,class:"absolute left-0 right-0 w-full",style:gn(w(A))},null,12,UJ))),128))],4)])])])])]),K(S,{open:i.value,"onUpdate:open":k[1]||(k[1]=C=>i.value=C),fullscreen:"",overlay:!0,dismissible:!0,scrollable:"",ui:{overlay:"bg-black/70 z-[70]",content:"bg-black/70 z-[71]"}},{content:D(()=>[_("section",WJ,[_("div",GJ,[(P(),B("svg",{class:"absolute top-4 right-4 z-20 cursor-pointer w-8 h-8",width:"31",height:"31",viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:k[0]||(k[0]=C=>i.value=!1)},[...k[5]||(k[5]=[_("circle",{cx:"15.5",cy:"15.5",r:"14",stroke:"#E70038","stroke-width":"2"},null,-1),_("path",{d:"M9.5 9.5L21.5 21.5",stroke:"#E70038"},null,-1),_("path",{d:"M9.5 21.5L21.5 9.5",stroke:"#E70038"},null,-1)])])),_("div",KJ,[_("div",YJ,[k[7]||(k[7]=_("h2",{class:"text-3xl font-bold mb-6"},"Send request",-1)),_("div",XJ,[k[6]||(k[6]=_("p",{class:"text-lg"},"Your configuration:",-1)),_("ul",QJ,[(P(!0),B(ye,null,Ce(d.value,(C,A)=>(P(),B("li",{key:A,class:"font-light"},[_("span",JJ,te(C.count)+"x",1),Le(" "+te(C.name),1)]))),128))]),_("p",ZJ," Height units used: "+te(l.value)+" / "+te(zs)+" HE ",1),_("div",eZ,[K(mJ,{"email-sender":"[email protected]","used-units":l.value,"max-rack-units":zs,"configuration-summary":d.value,"action-url":t.actionUrl,site:t.site},null,8,["used-units","configuration-summary","action-url","site"])])])])])])])]),_:1},8,["open"])])}}}),rZ=En(nZ,[["__scopeId","data-v-3b18d082"]]);(function(){var e;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=(e=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:e.content,t.appendChild(document.createTextNode('[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32,.72,0,1);animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform, 100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform, 100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true]):after{content:"";position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}
113[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:hover,[data-vaul-handle]:active{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover: hover) and (pointer: fine){[data-vaul-drawer]{-webkit-user-select:none;user-select:none}}@media (pointer: fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{0%{transform:translate3d(0,var(--initial-transform, 100%),0)}to{transform:translateZ(0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform, 100%),0)}}@keyframes slideFromTop{0%{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}to{transform:translateZ(0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}}@keyframes slideFromLeft{0%{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}to{transform:translateZ(0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}}@keyframes slideFromRight{0%{transform:translate3d(var(--initial-transform, 100%),0,0)}to{transform:translateZ(0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform, 100%),0,0)}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();const oZ=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const iZ=e=>typeof e<"u";function sZ(e){return JSON.parse(JSON.stringify(e))}function A_(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:p}=r,f=Bt(),m=n||f?.emit||((o=f?.$emit)==null?void 0:o.bind(f))||((s=(i=f?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(f?.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const g=x=>l?typeof l=="function"?l(x):sZ(x):x,y=()=>iZ(e[t])?g(e[t]):d,b=x=>{p?p(x)&&m(h,x):m(h,x)};if(a){const x=y(),w=V(x);let E=!1;return we(()=>e[t],T=>{E||(E=!0,w.value=g(T),je(()=>E=!1))}),we(w,T=>{!E&&(T!==e[t]||c)&&b(T)},{deep:c}),w}else return W({get(){return y()},set(x){b(x)}})}const[rd,lZ]=Ht("DrawerRoot"),b5=new WeakMap;function _n(e,t,n=!1){if(!e||!(e instanceof HTMLElement)||!t)return;const r={};Object.entries(t).forEach(([o,i])=>{if(o.startsWith("--")){e.style.setProperty(o,i);return}r[o]=e.style[o],e.style[o]=i}),!n&&b5.set(e,r)}function aZ(e,t){if(!e||!(e instanceof HTMLElement))return;const n=b5.get(e);n&&Object.entries(n).forEach(([r,o])=>{e.style[r]=o})}function Xd(e,t){const n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform;let o=r.match(/^matrix3d\((.+)\)$/);return o?Number.parseFloat(o[1].split(", ")[on(t)?13:12]):(o=r.match(/^matrix\((.+)\)$/),o?Number.parseFloat(o[1].split(", ")[on(t)?5:4]):null)}function uZ(e){return 8*(Math.log(e+1)-2)}function on(e){switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}}function Nm(e,t){if(!e)return()=>{};const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}function cZ(...e){return(...t)=>{for(const n of e)typeof n=="function"&&n(...t)}}const Vt={DURATION:.5,EASE:[.32,.72,0,1]},x5=.4,dZ=.25,fZ=100,_5=8,Qd=16,w5=26,$_="vaul-dragging";function pZ({activeSnapPoint:e,snapPoints:t,drawerRef:n,overlayRef:r,fadeFromIndex:o,onSnapPointChange:i,direction:s}){const l=V(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);function a(){l.value={innerWidth:window.innerWidth,innerHeight:window.innerHeight}}Ve(()=>{typeof window<"u"&&window.addEventListener("resize",a)}),ji(()=>{typeof window<"u"&&window.removeEventListener("resize",a)});const u=W(()=>(t.value&&e.value===t.value[t.value.length-1])??null),c=W(()=>t.value&&t.value.length>0&&(o?.value||o?.value===0)&&!Number.isNaN(o?.value)&&t.value[o?.value??-1]===e.value||!t.value),d=W(()=>{var b;return((b=t.value)==null?void 0:b.findIndex(x=>x===e.value))??null}),p=W(()=>{var b;return((b=t.value)==null?void 0:b.map(x=>
113{const w=typeof x=="string";let E=0;if(w&&(E=Number.parseInt(x,10)),on(s.value)){const k=w?E:l.value?x*l.value.innerHeight:0;return l.value?s.value==="bottom"?l.value.innerHeight-k:-l.value.innerHeight+k:k}const T=w?E:l.value?x*l.value.innerWidth:0;return l.value?s.value==="right"?l.value.innerWidth-T:-l.value.innerWidth+T:T}))??[]}),f=W(()=>{var b;return d.value!==null?(b=p.value)==null?void 0:b[d.value]:null}),m=b=>{var x,w,E,T;const k=((x=p.value)==null?void 0:x.findIndex(S=>S===b))??null;je(()=>{var S;i(k,p.value),_n((S=n.value)==null?void 0:S.$el,{transition:`transform ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,transform:on(s.value)?`translate3d(0, ${b}px, 0)`:`translate3d(${b}px, 0, 0)`})}),p.value&&k!==p.value.length-1&&k!==o?.value?_n((w=r.value)==null?void 0:w.$el,{transition:`opacity ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,opacity:"0"}):_n((E=r.value)==null?void 0:E.$el,{transition:`opacity ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,opacity:"1"}),e.value=k!==null?((T=t.value)==null?void 0:T[k])??null:null};we([e,p,t],()=>{var b;if(e.value){const x=((b=t.value)==null?void 0:b.findIndex(w=>w===e.value))??-1;p.value&&x!==-1&&typeof p.value[x]=="number"&&m(p.value[x])}},{immediate:!0});function h({draggedDistance:b,closeDrawer:x,velocity:w,dismissible:E}){var T,k,S;if(o.value===void 0)return;const C=s.value==="bottom"||s.value==="right"?(f.value??0)-b:(f.value??0)+b,A=d.value===o.value-1,M=d.value===0,I=b>0;if(A&&_n((T=r.value)==null?void 0:T.$el,{transition:`opacity ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`}),w>2&&!I){E?x():m(p.value[0]);return}if(w>2&&I&&p&&t.value){m(p.value[t.value.length-1]);return}const $=(k=p.value)==null?void 0:k.reduce((q,O)=>typeof q!="number"||typeof O!="number"?q:Math.abs(O-C)<Math.abs(q-C)?O:q),F=on(s.value)?window.innerHeight:window.innerWidth;if(w>x5&&Math.abs(b)<F*.4){const q=I?1:-1;if(q>0&&u){m(p.value[(((S=t.value)==null?void 0:S.length)??0)-1]);return}if(M&&q<0&&E&&x(),d.value===null)return;m(p.value[d.value+q]);return}m($)}function g({draggedDistance:b}){var x;if(f.value===null)return;const w=s.value==="bottom"||s.value==="right"?f.value-b:f.value+b;(s.value==="bottom"||s.value==="right")&&w<p.value[p.value.length-1]||(s.value==="top"||s.value==="left")&&w>p.value[p.value.length-1]||_n((x=n.value)==null?void 0:x.$el,{transform:on(s.value)?`translate3d(0, ${w}px, 0)`:`translate3d(${w}px, 0, 0)`})}function y(b,x){if(!t.value||typeof d.value!="number"||!p.value||o.value===void 0)return null;const w=d.value===o.value-1;if(d.value>=o.value&&x)return 0;if(w&&!x)return 1;if(!c.value&&!w)return null;const E=w?d.value+1:d.value-1,T=w?p.value[E]-p.value[E-1]:p.value[E+1]-p.value[E],k=b/Math.abs(T);return w?1-k:k}return{isLastSnapPoint:u,shouldFade:c,getPercentageDragged:y,activeSnapPointIndex:d,onRelease:h,onDrag:g,snapPointsOffset:p}}function M_(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}let xu=null;function hZ(e){const{isOpen:t,modal:n,nested:r,hasBeenOpened:o,preventScrollRestoration:i,noBodyStyles:s}=e,l=V(typeof window<"u"?window.location.href:""),a=V(0);function u(){if(M_()&&xu===null&&t.value&&!s.value){xu={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};const{scrollX:d,innerHeight:p}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-a.value}px`,left:`${-d}px`,right:"0px",height:"auto"}),setTimeout(()=>{requestAnimationFrame(()=>{const f=p-window.innerHeight;f&&a.value>=p&&(document.body.style.top=`-${a.value+f}px`)})},300)}}function c(){if(M_()&&xu!==null&&!s.value){const d=-Number.parseInt(document.body.style.top,10),p=-Number.parseInt(document.body.style.left,10);Object.assign(document.body.style,xu),window.requestAnimationFrame(()=>{if(i.value&&l.value!==window.location.href){l.value=window.location.href;return}window.scrollTo(p,d)}),xu=null}}return Ve(()=>{function d(){a.value=window.scrollY}d(),window.addEventListener("scroll",d),vn(()=>{window.removeEventListener("scroll",d)})}),we([t,o,l],()=>{r.value||!o.value||(t.value?(window.matchMedia("(display-mode: standalone)").matches||u(),n.value||setTimeout(()=>{c()},500)):c())}),{restorePositionSetting:c}}function mZ(e,t){return e&&e.value?e:t}function gZ(e){const{emitDrag:t,emitRelease:n,emitClose:r,emitOpenChange:o,open:i,dismissible:s,nested:l,modal:a,shouldScaleBackgroun
113d:u,setBackgroundColorOnScale:c,scrollLockTimeout:d,closeThreshold:p,activeSnapPoint:f,fadeFromIndex:m,direction:h,noBodyStyles:g,handleOnly:y,preventScrollRestoration:b}=e,x=V(i.value??!1),w=V(!1),E=V(!1),T=V(!1),k=V(null),S=V(null),C=V(null),A=V(null),M=V(null),I=V(!1),$=V(null),F=V(0),q=V(!1);V(0);const O=V(null);V(0);const L=W(()=>{var U;return((U=O.value)==null?void 0:U.$el.getBoundingClientRect().height)||0}),N=mZ(e.snapPoints,V(void 0)),Z=W(()=>{var U;return N&&(((U=N.value)==null?void 0:U.length)??0)>0}),H=V(null),{activeSnapPointIndex:G,onRelease:oe,snapPointsOffset:ce,onDrag:ee,shouldFade:ge,getPercentageDragged:xe}=pZ({snapPoints:N,activeSnapPoint:f,drawerRef:O,fadeFromIndex:m,overlayRef:k,onSnapPointChange:ie,direction:h});function ie(U,ue){N.value&&U===ue.length-1&&(S.value=new Date)}hZ({isOpen:x,modal:a,nested:l,hasBeenOpened:w,noBodyStyles:g,preventScrollRestoration:b});function Q(){return(window.innerWidth-w5)/window.innerWidth}function Y(U,ue){var ne;if(!U)return!1;let fe=U;const me=(ne=window.getSelection())==null?void 0:ne.toString(),Se=O.value?Xd(O.value.$el,h.value):null,_e=new Date;if(fe.hasAttribute("data-vaul-no-drag")||fe.closest("[data-vaul-no-drag]"))return!1;if(h.value==="right"||h.value==="left")return!0;if(S.value&&_e.getTime()-S.value.getTime()<500)return!1;if(Se!==null&&(h.value==="bottom"?Se>0:Se<0))return!0;if(me&&me.length>0)return!1;if(M.value&&_e.getTime()-M.value.getTime()<d.value&&Se===0||ue)return M.value=_e,!1;for(;fe;){if(fe.scrollHeight>fe.clientHeight){if(fe.scrollTop!==0)return M.value=new Date,!1;if(fe.getAttribute("role")==="dialog")return!0}fe=fe.parentNode}return!0}function J(U){!s.value&&!N.value||O.value&&!O.value.$el.contains(U.target)||(E.value=!0,C.value=new Date,U.target.setPointerCapture(U.pointerId),F.value=on(h.value)?U.clientY:U.clientX)}function de(U){var ue,ne,fe,me,Se,_e;if(O.value&&E.value){const ke=h.value==="bottom"||h.value==="right"?1:-1,Me=(F.value-(on(h.value)?U.clientY:U.clientX))*ke,$e=Me>0,Ye=N.value&&!s.value&&!$e;if(Ye&&G.value===0)return;const Ne=Math.abs(Me),kt=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");let yt=Ne/L.value;const lt=xe(Ne,$e);if(lt!==null&&(yt=lt),Ye&&yt>=1||!I.value&&!Y(U.target,$e))return;if((ue=O?.value)==null||ue.$el.classList.add($_),I.value=!0,_n((ne=O.value)==null?void 0:ne.$el,{transition:"none"}),_n((fe=k.value)==null?void 0:fe.$el,{transition:"none"}),N.value&&ee({draggedDistance:Me}),$e&&!N.value){const Ft=uZ(Me),xr=Math.min(Ft*-1,0)*ke;_n((me=O.value)==null?void 0:me.$el,{transform:on(h.value)?`translate3d(0, ${xr}px, 0)`:`translate3d(${xr}px, 0, 0)`});return}const nn=1-yt;if((ge.value||m.value&&G.value===m.value-1)&&(t(yt),_n((Se=k.value)==null?void 0:Se.$el,{opacity:`${nn}`,transition:"none"},!0)),kt&&k.value&&u.value){const Ft=Math.min(Q()+yt*(1-Q()),1),xr=8-yt*8,Dt=Math.max(0,14-yt*14);_n(kt,{borderRadius:`${xr}px`,transform:on(h.value)?`scale(${Ft}) translate3d(0, ${Dt}px, 0)`:`scale(${Ft}) translate3d(${Dt}px, 0, 0)`,transition:"none"},!0)}if(!N.value){const Ft=Ne*ke;_n((_e=O.value)==null?void 0:_e.$el,{transform:on(h.value)?`translate3d(0, ${Ft}px, 0)`:`translate3d(${Ft}px, 0, 0)`})}}}function he(){var U;if(!O.value)return;const ue=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]"),ne=Xd(O.value.$el,h.value);_n(O.value.$el,{transform:"translate3d(0, 0, 0)",transition:`transform ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`}),_n((U=k.value)==null?void 0:U.$el,{transition:`opacity ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,opacity:"1"}),u.value&&ne&&ne>0&&x.value&&_n(ue,{borderRadius:`${_5}px`,overflow:"hidden",...on(h.value)?{transform:`scale(${Q()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Q()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Vt.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Vt.EASE.join(",")})`},!0)}function R(U){O.value&&(r(),U||(x.value=!1),window.setTimeout(()=>{N.value&&(f.value=N.value[0])},Vt.DURATION*1e3))}Cn(()=>
113{if(!x.value&&u.value&&oZ){const U=setTimeout(()=>{aZ(document.body)},200);return()=>clearTimeout(U)}}),we(i,()=>{x.value=i.value,i.value||R()});function z(U){if(!E.value||!O.value)return;O.value.$el.classList.remove($_),I.value=!1,E.value=!1,A.value=new Date;const ue=Xd(O.value.$el,h.value);if(!Y(U.target,!1)||!ue||Number.isNaN(ue)||C.value===null)return;const ne=A.value.getTime()-C.value.getTime(),fe=F.value-(on(h.value)?U.clientY:U.clientX),me=Math.abs(fe)/ne;if(me>.05&&(T.value=!0,window.setTimeout(()=>{T.value=!1},200)),N.value){const _e=h.value==="bottom"||h.value==="right"?1:-1;oe({draggedDistance:fe*_e,closeDrawer:R,velocity:me,dismissible:s.value}),n(!0);return}if(h.value==="bottom"||h.value==="right"?fe>0:fe<0){he(),n(!0);return}if(me>x5){R(),n(!1);return}const Se=Math.min(O.value.$el.getBoundingClientRect().height??0,window.innerHeight);if(ue>=Se*p.value){R(),n(!1);return}n(!0),he()}we(x,U=>{U&&(S.value=new Date),o(U)},{immediate:!0});function le(U){var ue,ne;const fe=U?(window.innerWidth-Qd)/window.innerWidth:1,me=U?-16:0;$.value&&window.clearTimeout($.value),_n((ue=O.value)==null?void 0:ue.$el,{transition:`transform ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,transform:`scale(${fe}) translate3d(0, ${me}px, 0)`}),!U&&(ne=O.value)!=null&&ne.$el&&($.value=window.setTimeout(()=>{var Se,_e;const ke=Xd((Se=O.value)==null?void 0:Se.$el,h.value);_n((_e=O.value)==null?void 0:_e.$el,{transition:"none",transform:on(h.value)?`translate3d(0, ${ke}px, 0)`:`translate3d(${ke}px, 0, 0)`})},500))}function ve(U){var ue;if(U<0)return;const ne=on(h.value)?window.innerHeight:window.innerWidth,fe=(ne-Qd)/ne,me=fe+U*(1-fe),Se=-16+U*Qd;_n((ue=O.value)==null?void 0:ue.$el,{transform:on(h.value)?`scale(${me}) translate3d(0, ${Se}px, 0)`:`scale(${me}) translate3d(${Se}px, 0, 0)`,transition:"none"})}function j(U){var ue;const ne=on(h.value)?window.innerHeight:window.innerWidth,fe=U?(ne-Qd)/ne:1,me=U?-16:0;U&&_n((ue=O.value)==null?void 0:ue.$el,{transition:`transform ${Vt.DURATION}s cubic-bezier(${Vt.EASE.join(",")})`,transform:on(h.value)?`scale(${fe}) translate3d(0, ${me}px, 0)`:`scale(${fe}) translate3d(${me}px, 0, 0)`})}return{open:i,isOpen:x,modal:a,keyboardIsOpen:q,hasBeenOpened:w,drawerRef:O,drawerHeightRef:L,overlayRef:k,handleRef:H,isDragging:E,dragStartTime:C,isAllowedToDrag:I,snapPoints:N,activeSnapPoint:f,hasSnapPoints:Z,pointerStart:F,dismissible:s,snapPointsOffset:ce,direction:h,shouldFade:ge,fadeFromIndex:m,shouldScaleBackground:u,setBackgroundColorOnScale:c,onPress:J,onDrag:de,onRelease:z,closeDrawer:R,onNestedDrag:ve,onNestedRelease:j,onNestedOpenChange:le,emitClose:r,emitDrag:t,emitRelease:n,emitOpenChange:o,nested:l,handleOnly:y,noBodyStyles:g}}const S5=pe({__name:"DrawerRoot",props:{activeSnapPoint:{default:void 0},closeThreshold:{default:dZ},shouldScaleBackground:{type:Boolean,default:void 0},setBackgroundColorOnScale:{type:Boolean,default:!0},scrollLockTimeout:{default:fZ},fixed:{type:Boolean,default:void 0},dismissible:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},nested:{type:Boolean,default:!1},direction:{default:"bottom"},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean,default:!1},preventScrollRestoration:{type:Boolean},snapPoints:{default:void 0},fadeFromIndex:{default:void 0}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{expose:t,emit:n}){const r=e,o=n;Dn();const i=W(()=>r.fadeFromIndex??(r.snapPoints&&r.snapPoints.length-1)),s=A_(r,"open",o,{defaultValue:r.defaultOpen,passive:r.open===void 0}),l=A_(r,"activeSnapPoint",o,{passive:r.activeSnapPoint===void 0}),a={emitDrag:m=>o("drag",m),emitRelease:m=>o("release",m),emitClose:()=>o("close"),emitOpenChange:m=>{o("update:open",m),setTimeout(()=>{o("animationEnd",m)},Vt.DURATION*1e3)}},{closeDrawer:u,hasBeenOpened:c,modal:d,isOpen:p}=lZ(gZ({...a,...Fn(r),activeSnapPoint:l,fadeFromIndex:i,open:s}));function f(m){if(s.value!==void 0){a.emitOpenChange(m);return}p.value=m,m?c.value=!0:u()}return t({open:p}),(m,h)=>(P(),X(v($k),{open:v(p),modal:v(d),"onUpdate:open":f},{default:D(()=>[se(m.$slots,"default",{open:v(p)})]),_:3},8,["open","modal"]))}}),vZ=pe({__name:"DrawerRootNested",props:{activeSnapPoint:{},closeThreshold:{}
113,shouldScaleBackground:{type:Boolean},setBackgroundColorOnScale:{type:Boolean},scrollLockTimeout:{},fixed:{type:Boolean},dismissible:{type:Boolean},modal:{type:Boolean},open:{type:Boolean},defaultOpen:{type:Boolean},nested:{type:Boolean},direction:{},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean},preventScrollRestoration:{type:Boolean},snapPoints:{},fadeFromIndex:{}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,r=t,{onNestedDrag:o,onNestedOpenChange:i,onNestedRelease:s}=rd();function l(){i(!1)}function a(d){o(d)}function u(d){d&&i(d),r("update:open",d)}const c=Vn(n,r);return(d,p)=>(P(),X(S5,be(v(c),{nested:"",onClose:l,onDrag:a,onRelease:v(s),"onUpdate:open":u}),{default:D(()=>[se(d.$slots,"default")]),_:3},16,["onRelease"]))}}),yZ=pe({__name:"DrawerOverlay",setup(e){const{overlayRef:t,hasSnapPoints:n,isOpen:r,shouldFade:o}=rd();return(i,s)=>(P(),X(v(Bk),{ref_key:"overlayRef",ref:t,"data-vaul-overlay":"","data-vaul-snap-points":v(r)&&v(n)?"true":"false","data-vaul-snap-points-overlay":v(r)&&v(o)?"true":"false"},null,8,["data-vaul-snap-points","data-vaul-snap-points-overlay"]))}}),bZ=()=>()=>{};function xZ(){const{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:r,noBodyStyles:o}=rd(),i=V(null),s=V(document.body.style.backgroundColor);function l(){return(window.innerWidth-w5)/window.innerWidth}Cn(a=>{if(t.value&&n.value){i.value&&clearTimeout(i.value);const u=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!u)return;cZ(r.value&&!o.value?Nm(document.body,{background:"black"}):bZ,Nm(u,{transformOrigin:on(e.value)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${Vt.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Vt.EASE.join(",")})`}));const c=Nm(u,{borderRadius:`${_5}px`,overflow:"hidden",...on(e.value)?{transform:`scale(${l()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${l()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});a(()=>{c(),i.value=window.setTimeout(()=>{s.value?document.body.style.background=s.value:document.body.style.removeProperty("background")},Vt.DURATION*1e3)})}},{flush:"pre"})}const _Z=pe({__name:"DrawerContent",setup(e){const{open:t,isOpen:n,snapPointsOffset:r,hasSnapPoints:o,drawerRef:i,onPress:s,onDrag:l,onRelease:a,modal:u,emitOpenChange:c,dismissible:d,keyboardIsOpen:p,closeDrawer:f,direction:m,handleOnly:h}=rd();xZ();const g=V(!1),y=W(()=>r.value&&r.value.length>0?`${r.value[0]}px`:"0");function b(E){if(!u.value||E.defaultPrevented){E.preventDefault();return}p.value&&(p.value=!1),d.value?c(!1):E.preventDefault()}function x(E){h.value||s(E)}function w(E){h.value||l(E)}return Cn(()=>{o.value&&window.requestAnimationFrame(()=>{g.value=!0})}),(E,T)=>(P(),X(v(Rk),{ref_key:"drawerRef",ref:i,"data-vaul-drawer":"","data-vaul-drawer-direction":v(m),"data-vaul-delayed-snap-points":g.value?"true":"false","data-vaul-snap-points":v(n)&&v(o)?"true":"false",style:gn({"--snap-point-height":y.value}),onPointerdown:x,onPointermove:w,onPointerup:v(a),onPointerDownOutside:b,onOpenAutoFocus:T[0]||(T[0]=St(()=>{},["prevent"])),onEscapeKeyDown:T[1]||(T[1]=k=>{v(d)||k.preventDefault()})},{default:D(()=>[se(E.$slots,"default")]),_:3},8,["data-vaul-drawer-direction","data-vaul-delayed-snap-points","data-vaul-snap-points","style","onPointerup"]))}}),wZ=["data-vaul-drawer-visible"],SZ={"data-vaul-handle-hitarea":"","aria-hidden":"true"},kZ=250,CZ=120,TZ=pe({__name:"DrawerHandle",props:{preventCycle:{type:Boolean,default:!1}},setup(e){const t=e,{onPress:n,onDrag:r,handleRef:o,handleOnly:i,isOpen:s,snapPoints:l,activeSnapPoint:a,isDragging:u,dismissible:c,closeDrawer:d}=rd(),p=V(null),f=V(!1);function m(){if(f.value){y();return}window.setTimeout(()=>{h()},CZ)}function h(){if(u.value||t.preventCycle||f.value){y();return}if(y(),!l.value||l.value.length===0){c.value||d();return}const w=a.value===l.value[l.value.length-1];if(w&&c.value){d();return}const E=l.value.findIndex(k=>k===a.value);if(E===-1)return;const T=w?0:E+1;a.value=l.value[T]}function g(){p.value=window.setTimeout(()=>{f.value=!0},kZ)}function y(){p.value&&window.clearTimeout(p.value),f.value=!1}function b(w){i.value&&n(w),g()}function x(w){i.value&&r(w)}return(w,E)=>(P(),B("div",{ref_key:"handleRef",ref:o,"data-vaul-drawer-visible":v(s)?"true":"false","data-vaul-handle":"","aria-hidden":"true",onClick:m,onPointercancel:y,onPointerdown:b,onPointermove:x},[_("span",SZ,[se(w.$slots,"default")])],40,wZ))}}),EZ={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default ring ring-default flex focus:outline-none",handle:["shrink-0 !bg-accented","transition-opacity"],container:"w-full flex flex-col gap-4 p-4 overflow-y-auto",header:"",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",body:"flex-1",footer
113:"flex flex-col gap-1.5"},variants:{direction:{top:{content:"mb-24 flex-col-reverse",handle:"mb-4"},right:{content:"flex-row",handle:"!ml-4"},bottom:{content:"mt-24 flex-col",handle:"mt-4"},left:{content:"flex-row-reverse",handle:"!mr-4"}},inset:{true:{content:"rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]"}}},compoundVariants:[{direction:["top","bottom"],class:{content:"h-auto max-h-[96%]",handle:"!w-12 !h-1.5 mx-auto"}},{direction:["right","left"],class:{content:"w-auto max-w-[calc(100%-2rem)]",handle:"!h-12 !w-1.5 mt-auto mb-auto"}},{direction:"top",inset:!0,class:{content:"inset-x-4 top-4"}},{direction:"top",inset:!1,class:{content:"inset-x-0 top-0 rounded-b-lg"}},{direction:"bottom",inset:!0,class:{content:"inset-x-4 bottom-4"}},{direction:"bottom",inset:!1,class:{content:"inset-x-0 bottom-0 rounded-t-lg"}},{direction:"left",inset:!0,class:{content:"inset-y-4 left-4"}},{direction:"left",inset:!1,class:{content:"inset-y-0 left-0 rounded-r-lg"}},{direction:"right",inset:!0,class:{content:"inset-y-4 right-4"}},{direction:"right",inset:!1,class:{content:"inset-y-0 right-0 rounded-l-lg"}}]},PZ={__name:"Drawer",props:{as:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},inset:{type:Boolean,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},handle:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},nested:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},activeSnapPoint:{type:[Number,String,null],required:!1},closeThreshold:{type:Number,required:!1},shouldScaleBackground:{type:Boolean,required:!1},setBackgroundColorOnScale:{type:Boolean,required:!1},scrollLockTimeout:{type:Number,required:!1},fixed:{type:Boolean,required:!1},dismissible:{type:Boolean,required:!1,default:!0},modal:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},direction:{type:String,required:!1,default:"bottom"},noBodyStyles:{type:Boolean,required:!1},handleOnly:{type:Boolean,required:!1},preventScrollRestoration:{type:Boolean,required:!1},snapPoints:{type:Array,required:!1}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),i=Xt(),s=Vn(ti(n,"activeSnapPoint","closeThreshold","shouldScaleBackground","setBackgroundColorOnScale","scrollLockTimeout","fixed","dismissible","modal","open","defaultOpen","nested","direction","noBodyStyles","handleOnly","preventScrollRestoration","snapPoints"),r),l=ch(mr(()=>n.portal)),a=mr(()=>n.content),u={closeAutoFocus:d=>d.preventDefault()},c=W(()=>nt({extend:nt(EZ),...i.ui?.drawer||{}})({direction:n.direction,inset:n.inset}));return(d,p)=>(P(),X(yr(e.nested?v(vZ):v(S5)),ct(_t(v(s))),{default:D(()=>[o.default?(P(),X(v(Dk),{key:0,"as-child":"",class:re(n.class)},{default:D(()=>[se(d.$slots,"default")]),_:3},8,["class"])):ae("",!0),K(v(Fk),ct(_t(v(l))),{default:D(()=>[e.overlay?(P(),X(v(yZ),{key:0,class:re(c.value.overlay({class:n.ui?.overlay}))},null,8,["class"])):ae("",!0),K(v(_Z),be({class:c.value.content({class:[!o.default&&n.class,n.ui?.content]})},a.value,t0(u)),{default:D(()=>[e.handle?(P(),X(v(TZ),{key:0,class:re(c.value.handle({class:n.ui?.handle}))},null,8,["class"])):ae("",!0),o.content&&(e.title||o.title||e.description||o.description)?(P(),X(v(oh),{key:1},{default:D(()=>[e.title||o.title?(P(),X(v(Qf),{key:0},{default:D(()=>[se(d.$slots,"title",{},()=>[Le(te(e.title),1)])]),_:3})):ae("",!0),e.description||o.description?(P(),X(v(Xf),{key:1},{default:D(()=>[se(d.$slots,"description",{},()=>[Le(te(e.description),1)])]),_:3})):ae("",!0)]),_:3})):ae("",!0),se(d.$slots,"content",{},()=>[_("div",{class:re(c.value.container({class:n.ui?.container}))},[o.header||e.title||o.title||e.description||o.description?(P(),B("div",{key:0,class:re(c.value.header({class:n.ui?.header}))},[se(d.$slots,"header",{},()=>[e.title||o.title?(P(),X(v(Qf),{key:0,class:re(c.value.title({class:n.ui?.title}))},{default:D(()=>[se(d.$slots,"title",{},()=>
113[Le(te(e.title),1)])]),_:3},8,["class"])):ae("",!0),e.description||o.description?(P(),X(v(Xf),{key:1,class:re(c.value.description({class:n.ui?.description}))},{default:D(()=>[se(d.$slots,"description",{},()=>[Le(te(e.description),1)])]),_:3},8,["class"])):ae("",!0)])],2)):ae("",!0),o.body?(P(),B("div",{key:1,class:re(c.value.body({class:n.ui?.body}))},[se(d.$slots,"body")],2)):ae("",!0),o.footer?(P(),B("div",{key:2,class:re(c.value.footer({class:n.ui?.footer}))},[se(d.$slots,"footer")],2)):ae("",!0)],2)])]),_:3},16,["class"])]),_:3},16)]),_:3},16))}},IZ={class:"relative grid w-full shrink-0 place-items-center justify-center px-2"},AZ=["aria-hidden"],Ih=pe({inheritAttrs:!1,__name:"Button",setup(e){const t=Ya(),n=W(()=>t.loading===!0||t.loading===""),r=W(()=>{const i=Object.assign({},t);delete i.loading;const s=i.disabled;return delete i.disabled,{...i,loading:!1,disabled:s===!0||s===""||s==="disabled"||n.value,"aria-busy":n.value?"true":void 0}}),o=W(()=>({base:["!rounded-none !flex !items-center !justify-center","!h-[66px] !min-h-[66px] md:!h-[60px] md:!min-h-[60px] lg:!h-[85px] lg:!min-h-[85px]","!min-w-[312px] md:!min-w-[340px] lg:!min-w-[min(415px,100%)]","!gap-button-gap !px-[40px] lg:!px-[75px] !py-0","!border-2 !border-solid !border-primary !bg-[#141616]","!text-trim !no-underline","!ring-0 hover:!ring-0 focus-visible:!ring-0 focus-visible:!ring-offset-0","hover:!border-[#72797b] hover:!bg-[#141616]","active:!border-[#72797b] active:!bg-[#141616]","focus-visible:!border-[#72797b] focus-visible:!bg-[#141616] focus-visible:!outline-none"].join(" "),leadingIcon:"text-white",trailingIcon:"text-white"}));return(i,s)=>{const l=it,a=ha;return P(),X(a,be(r.value,{block:"",color:"primary",variant:"outline",ui:o.value}),{default:D(()=>[se(i.$slots,"leading"),_("div",IZ,[n.value?(P(),X(l,{key:0,name:"i-lucide-loader-2",class:"pointer-events-none col-start-1 row-start-1 z-[1] size-[1.625rem] shrink-0 animate-spin text-white","aria-hidden":"true"})):ae("",!0),_("span",{class:re(["col-start-1 row-start-1 flex w-full justify-center px-2 text-center text-[length:var(--text-button)] font-bold leading-[var(--text-button--line-height)] text-trim text-white [&:empty]:hidden",{invisible:n.value}]),"aria-hidden":n.value?!0:void 0},[se(i.$slots,"default")],10,AZ)]),se(i.$slots,"trailing")]),_:3},16,["ui"])}}}),$Z={class:"thank-you-slide relative z-[20] flex w-full min-h-0 flex-col gap-10 max-xl:mb-10 max-xl:justify-end xl:mt-[max(0px,calc(33vh-9.625rem))] xl:min-h-[calc(100dvh-152px)]"},MZ={class:"flex min-w-0 items-stretch gap-5 overflow-visible"},OZ={class:"min-w-0 text-trim font-bold text-white text-section-head-sm xl:w-max xl:shrink-0 xl:text-section-head-lg xl:leading-[var(--text-section-head-lg--line-height)] xl:text-nowrap"},LZ={class:"max-w-none min-w-0 pl-10 font-light text-[length:var(--text-heading-sm-md)] leading-[30px] text-white xl:text-balance"},qZ=pe({__name:"DrawerFormThankYou",setup(e){const{t}=td();return(n,r)=>(P(),B("div",$Z,[_("div",MZ,[r[0]||(r[0]=_("div",{class:"w-5 shrink-0 bg-primary self-stretch","aria-hidden":"true"},null,-1)),_("h2",OZ,te(v(t)("form.drawer.thankYou.headline","Thank you for your Inquiry")),1)]),_("p",LZ,te(v(t)("form.drawer.thankYou.body","We have received your request and will respond to you shortly.")),1)]))}}),RZ={class:"js-hero-animation-headline flex-1 space-y-4 pt-0"},BZ=pe({inheritAttrs:!1,__name:"FormDecoratedHeadline",props:{level:{default:2}},setup(e){const t=e,n=W(()=>`h${t.level}`);return(r,o)=>(P(),B("div",be({class:"form-decorated-headline relative flex items-stretch gap-4 overflow-x-clip"},r.$attrs),[o[0]||(o[0]=_("div",{class:"js-hero-animation-target flex-shrink-0 bg-primary w-4 md:w-5","aria-hidden":"true"},null,-1)),_("div",RZ,[(P(),X(yr(n.value),{class:"text-title-sm md:text-title-md lg:text-title-lg font-bold text-white text-trim"},{default:D(()=>[se(r.$slots,"default")]),_:3}))])],16))}});function FZ(){if(globalThis.window===void 0)return null;const e=globalThis.window._paq;return e!==null&&typeof e=="object"&&typeof e.push=="function"?e:null}function DZ(e){const t=FZ();t!==null&&t.push(["trackGoal",e])}function NZ(){return{trackGoal:DZ}}const VZ={class:""},zZ={key:0,class:"py-8 text-center"},jZ={class:"mt-2"},HZ=["value"],UZ={class:"partnerMail-field","aria-hidden":"true"},WZ=["name"],GZ={key:0,class:"col-span-12"},KZ={class:"col-span-12 md:col-span-6"},YZ={class:"col-span-12 md:col-span-6"},XZ={class:"col-span-12 md:col-span-6"},QZ={class:"text-primary text-sm font-bold"},JZ={class:"col-span-12 md:col-span-6"},ZZ={class:"col-span-12 md:col-span-6"},eee={class:"text-primary text-sm font-bold"},tee={class:"col-span-12 md:col-span-6"},nee={class:"col-span-12"},ree={class:"text-primary text-sm font-bold"},oee={class:"col-span-12"},iee={class:"text-primary text-sm font-bold"},see={class:"col-span-4"},lee={__name:"ContactForm",props:{emailSender:String,actionUrl:String,site:String},setup(e){const{t,locale:n,isLoading:r}=Rl(),{honeypotRef:o,honeypotValue:i,honeypotName:s,isBot:l,reset:a}=Os(r,"contact"),{countryOptions:u,loading:c}=Ph(n.value,!0),d=e,p=W(()=>d.site==="zh"),f=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:d.site==="zh"?"CN":"",message:"",terms:!1,formType:"contact",emailSender:d.emailSender,honeypot:""}),m=V(!1),h=V(""),g=V([]),y=V(!1),b=V(!1),x=M=>{const I=[];return M.company||I.push({path:"company",message:t("form.common.company.required","Compay / Institute is required")}),M.email?w(M.email)||I.push({path:"email",message:t("form.common.email.invalid","Please enter a valid email address.")}):I.push({path:"email",message:t("form.common.email.required","Please enter a valid email address.")}),M.country||I.push({path:"country",message:t("form.common.country.required","Country is required")}),M.message||I.push({path:"message",message:t("form.common.message.required","Message is required")}),M.terms||I.push({path:"terms",message:t("form.common.terms.required","You must accept the Privacy Policy")}),I},w=M=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(M),E=W(()=>f.value.email&&w(f.value.email)),T=M=>{g.value=M.errors,h.value=t("form.common.validation-error","Please correct the errors in the form.")};async function k(){if(l()){console.log("Bot detected!"),m.value=!0;return}b.value=!0,g.value=[],h.value="",m.value=!1;try{const M=await Ms("/api/form/contact",{method:"POST",headers:{"Content-Type":"application/json"}
113,body:{firstname:f.value.firstname,lastname:f.value.lastname,email:f.value.email,telephone:f.value.telephone,company:f.value.company,message:f.value.message,country:f.value.country,emailSender:d.emailSender,honeypot:f.value.honeypot}});(typeof M=="string"?JSON.parse(M):M).success?(d.actionUrl?globalThis.location.href=d.actionUrl:m.value=!0,f.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:d.site==="zh"?"CN":"",message:"",terms:!1,formType:"contact",emailSender:d.emailSender,honeypot:""}):h.value=M.message||t("common.error","An error occurred")}catch(M){h.value=M.data?.message||t("form.common.submit-error","Failed to submit form. Please try again.")}finally{b.value=!1}a()}const S=M=>{const I=g.value.find($=>$.path===M);return I?I.message:""},C=M=>{g.value=g.value.filter(I=>I.path!==M)},A=(M,I)=>{f.value[M]=I,g.value=g.value.filter($=>$.path!==M)};return we(i,M=>{f.value.honeypot=M}),we(()=>d.site,M=>{M==="zh"&&(f.value.country="CN")},{immediate:!0}),(M,I)=>{const $=Oe("FormAlert"),F=Oe("FormInput"),q=Oe("FormField"),O=Oe("FormSelect"),L=Oe("FormTextarea"),N=Oe("FormCheckbox"),Z=Oe("FormButton"),H=$s,G=Hi;return P(),B("div",VZ,[v(r)?(P(),B("div",zZ,[I[16]||(I[16]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",jZ,te(v(t)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(H,{state:f.value,validate:x,onSubmit:k,onError:T,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:f.value.formType,"model-value":""},null,8,HZ),_("div",UZ,[Or(_("input",{ref_key:"_honeypotRef",ref:o,"onUpdate:modelValue":I[0]||(I[0]=oe=>f.value.honeypot=oe),type:"text",name:v(s),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,WZ),[[rr,f.value.honeypot]])]),h.value?(P(),B("div",GZ,[K($,{color:"red",variant:"soft",description:h.value,onClose:I[1]||(I[1]=oe=>h.value="")},null,8,["description"])])):ae("",!0),_("div",KZ,[K(q,{label:v(t)("form.common.firstname","First Name"),name:"firstname"},{default:D(()=>[K(F,{modelValue:f.value.firstname,"onUpdate:modelValue":I[2]||(I[2]=oe=>f.value.firstname=oe),name:"firstname",placeholder:v(t)("form.common.firstname","First Name"),"show-validation":y.value},null,8,["modelValue","placeholder","show-validation"])]),_:1},8,["label"])]),_("div",YZ,[K(q,{label:v(t)("form.common.lastname","Last Name"),name:"lastname"},{default:D(()=>[K(F,{modelValue:f.value.lastname,"onUpdate:modelValue":[I[3]||(I[3]=oe=>f.value.lastname=oe),I[4]||(I[4]=oe=>A("lastname",oe))],name:"lastname",placeholder:v(t)("form.common.lastname","Last Name"),error:S("lastname")},null,8,["modelValue","placeholder","error"])]),_:1},8,["label"])]),_("div",XZ,[K(q,{label:v(t)("form.common.email","Email"),name:"email",required:""},{default:D(()=>[K(F,{modelValue:f.value.email,"onUpdate:modelValue":[I[5]||(I[5]=oe=>f.value.email=oe),I[6]||(I[6]=oe=>A("email",oe))],type:"email",name:"email",placeholder:v(t)("form.common.email","Email"),error:S("email"),valid:E.value},{error:D(()=>[_("p",QZ,te(v(t)("form.common.email.required","Please enter a valid email address.")),1)]),_:1},8,["modelValue","placeholder","error","valid"])]),_:1},8,["label"])]),_("div",JZ,[K(q,{label:v(t)("form.common.telephone","Telephone"),name:"telephone"},{default:D(()=>[K(F,{modelValue:f.value.telephone,"onUpdate:modelValue":I[7]||(I[7]=oe=>f.value.telephone=oe),name:"telephone",type:"tel",placeholder:v(t)("form.common.telephone","Telephone")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",ZZ,[K(q,{label:v(t)("form.common.company","Company/Institute"),name:"company",required:""},{default:D(()=>[K(F,{modelValue:f.value.company,"onUpdate:modelValue":I[8]||(I[8]=oe=>f.value.company=oe),name:"company",placeholder:v(t)("form.common.company","Company/Institute")},{error:D(()=>[_("p",eee,te(v(t)("form.common.company.required","Compay / Institute is required")),1)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",tee,[K(q,{label:v(t)("form.common.country","Country"),name:"country",required:""},{default:D(()=>[K(O,{modelValue:f.value.country,"onUpdate:modelValue":[I[9]||(I[9]=oe=>f.value.country=oe),I[10]||(I[10]=oe=>A("country",oe))],name:"country",options:v(u),placeholder:v(t)("form.common.country.defaultOption","Please select your country"),loading:v(c),error:S("c
113ountry"),disabled:p.value,onClearError:I[11]||(I[11]=oe=>C("country"))},null,8,["modelValue","options","placeholder","loading","error","disabled"])]),_:1},8,["label"])]),_("div",nee,[K(q,{label:v(t)("form.contact.message","Your message to us"),name:"message",required:""},{default:D(()=>[K(L,{modelValue:f.value.message,"onUpdate:modelValue":[I[12]||(I[12]=oe=>f.value.message=oe),I[13]||(I[13]=oe=>A("message",oe))],name:"message",placeholder:v(t)("form.common.message.placeholder","Your message to us"),rows:6,error:S("message")},{error:D(()=>[_("p",ree,te(v(t)("form.common.message.required","Message is required")),1)]),_:1},8,["modelValue","placeholder","error"])]),_:1},8,["label"])]),_("div",oee,[K(q,{name:"terms",required:""},{default:D(()=>[K(N,{modelValue:f.value.terms,"onUpdate:modelValue":[I[14]||(I[14]=oe=>f.value.terms=oe),I[15]||(I[15]=oe=>A("terms",oe))],name:"terms",label:v(t)("form.common.terms.label","I accept the Privacy Policy"),error:S("terms"),required:!0},{error:D(()=>[_("p",iee,te(v(t)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",see,[K(Z,{type:"submit",loading:b.value},{default:D(()=>[Le(te(v(t)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),m.value&&!e.actionUrl?(P(),X(G,{key:0,color:"green",variant:"soft",title:v(t)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}},O_=En(lee,[["__scopeId","data-v-4e2bf568"]]);function k5(e){return globalThis.window===void 0?null:new URLSearchParams(globalThis.window.location.search).get(e)}function aee(){const e=k5("product");if(e)return e;if(globalThis.window===void 0)return null;const t=document.body?.dataset?.contextProductId;return t!=null&&String(t).trim()!==""?String(t):null}function L_(){if(globalThis.window===void 0)return{};const e=new URLSearchParams(globalThis.window.location.search),t={};for(const[n,r]of e.entries())t[n]=r;return t}function uee(){const e=V({});return Ve(()=>{e.value=L_()}),{params:e,getParam:k5,getAllParams:L_,getContextProductId:aee}}function cee(){const e=V(null),t=V(!1),n=V(null);return{product:e,loading:t,error:n,loadProduct:async s=>{t.value=!0,n.value=null;try{const l=document.location.origin,a=await fetch(`${l}/api/products/${s}`);if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);const u=await a.json(),c=(u.variants||[]).map(d=>({label:d.name+(d.price?` - ${d.price} â¬`:""),value:d.id}));return e.value={...u,variants:c},e.value}catch(l){const a=l instanceof Error?l.message:"Failed to load product";return n.value=a,console.error("Failed to load product:",l),null}finally{t.value=!1}},loadProducts:async(s="en")=>{t.value=!0,n.value=null;try{const l=document.location.origin,a=await fetch(`${l}/api/products?locale=${encodeURIComponent(s)}`);if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);return(await a.json()).products||[]}catch(l){const a=l instanceof Error?l.message:"Failed to load products";return n.value=a,console.error("Failed to load products:",l),[]}finally{t.value=!1}},loadProductList:async()=>{t.value=!0,n.value=null;try{const s=document.location.origin,l=await fetch(`${s}/api/products`);if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);const a=await l.json();return(Array.isArray(a)?a:[]).map(u=>({label:u.name,value:String(u.id)}))}catch(s){const l=s instanceof Error?s.message:"Failed to load products";return n.value=l,console.error("Failed to load product list:",s),[]}finally{t.value=!1}}}}function Ah(e,t){const{getContextProductId:n}=uee(),{loadProduct:r,loadProductList:o}=cee(),i=V(!1),s=V([]),l=V([]),a=V(!1);function u(){e.value.productId="",e.value.productname="",t.withVariants&&(e.value.productvariant=null,e.value.productVariantLabel=null,l.value=[])}async function c(){i.value=!1,u(),s.value=await o()}async function d(){const f=n();if(f){const m=await r(f);if(m){i.value=!0,e.value.productId=String(m.id),e.value.productname=m.name,t.withVariants&&(e.value.productvariant=null,e.value.productVariantLabel=null,l.value=m.variants||[]);return}}await c()}async function p(f){if(i.value)return;const m=f!=null&&String(f).length>0?String(f):null;if(!m){u();return}if(t.withVariants){a.value=!0;try{const h=await r(m);h&&(e.value.productId=String(h.id),e.value.productname=h.name,e.value.productvariant=null,e.value.productVariantLabel=null,l.value=h.variants||[])}finally{a.value=!1}}else{const h=s.value.find(g=>g.value===m);e.value.productId=m,e.value.productname=h?.label??""}}return{productFromUrl:i,productOptions:s,variantOptions:l,isLoadingProductDetail:a,init:d,onProductSelect:p}}const dee={class:""},fee={key:0,class:"py-8 text-center"},pee={class:"mt-2"},hee=["value"],mee={class:"partnerMail-field","aria-hidden":"true"},gee=["name"],vee={key:0,class:"col-span-12"},yee={class:"col-span-12 grid grid-cols-1 gap-x-[25px] gap-y-[25px] lg:grid-cols-2"},bee={class:"flex min-w-0 flex-col gap-y-[25px]"},xee=["value"],_ee={key:0},wee={class:"text-primary text-sm font-bold"},See={class:"text-primary text-sm font-bold"},kee={class:"text-primary text-sm font-bold"},Cee={class:"w-full max-w-[415px]"},Tee={class:"flex min-w-0 flex-col gap-y-[25px]"},Eee={class:"text-primary text-sm font-bold"},Pee=pe({__name:"RequestQuotation",props:{emailSender:String,actionUrl:String,applicationsItems:Array,site:String,inDrawer:{type:Boolean,default:!1}},emits:["drawerSubmitSuccess"],setup(e,{emit:t}){const{t:n,locale:r,isLoading:o}=Rl(),{countryOptions:i,loading:s}=Ph(r.value,!0),l=t,a=e,u=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:a.site==="zh"?"CN":"",message:"",terms:!1,formType:"requestquotation",productId:"",productname:"",productvariant:null,productVariantLabel:null,emailSender:a.emailSender,applicationItem:"",honeypot:""}),c=W(()=>!!(u.value.email&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(u.value.email))),d=W(()=>a.site==="zh"),p=V(!1),f=V(""),m=V([]),h=V(!1),g=V(!1),y=V(!0),b=W(()=>o.value||y.value),{productFromUrl:x,productOptions:w,variantOptions:E,isLoadingProductDetail:T,init:k,onProductSelect:S}=Ah(u,{withVariants:!0}),{honeypotRef:C,honeypotValue:A,honeypotName:M,isBot:I,reset:$}=Os(b,"requestquotation"),F=ce=>{const ee=[];return ce.lastname||ee.push({path:"lastname",message:n("form.common.lastname.required","Last Name is required")}),a.applicationsItems&&a.applicationsItems.length>0&&!ce.applicationItem&&ee.push({path:"applicationItem",message:n("form.common.application.required","Application is required")}),ce.company||ee.push({path:"company",message:n("form.common.company.required","Company / Institute is required")}),ce.email?q(ce.email)||ee.push({path:"email",message:n("form.common.email.invalid","Please enter a valid email address.")}):ee.push({path:"email",message:n("form.common.email.required","Email is required")}),ce.country||ee.push({path:"country",message:n("form.common.country.required","Country is required")}),ce.message||ee.push({path:"message",message:n("form.common.message.required","Message is required")}),ce.terms||ee.push({path:"terms",message:n("form.common.terms.required","You must accept the Privacy Policy")}),ce.productId||ee.push({path:"productId",message:n("form.quotation.product.required","Product is required")}),E.value.length>0&&ce.productvariant==null&&ee.push({path:"productvariant",message:n("form.common.productvariant.required","Please select a product variant")}),ee};function q(ce){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(ce)}function O(ce){m.value=ce.errors,f.value=n("form.common.validation-error","Please correct the errors in the form.")}async function L(){if(I()){p.value=!0;return}g.value=!0,m.value=[],f.value="",p.value=!1;try{const ce=await Ms("/api/form/requestquotation",{method:"POST",headers:{"Content-Type":"application/json"},body:u.value}),ee=typeof ce=="string"?JSON.parse(ce):ce;if(ee.success){a.inDrawer?l("drawerSubmitSuccess"):a.actionUrl?globalThis.location.href=a.actionUrl:p.value=!0;const ge=u.value.productId,xe=u.value.productname;u.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:a.site==="zh"?"CN":"",message:"",terms:!1,formType:"requestquotation",productId:ge,productname:xe,productvariant:null,productVariantLabel:null,emailSender:a.emailSender,applicationItem:"",honeypot:""}}else f.value=ee.message||n("common.error","An error occurred")}catch(ce){f.value=ce.data?.message||n("form.common.submit-error","Failed to submit form. Please try again.")}finally{g.value=!1}$()}function N(ce){const ee=m.value.find(ge=>ge.path===ce);return ee?ee.message:""}function Z(ce){m.value=m.value.filter(ee=>ee.path!==ce)}function H(ce,ee){u.value[ce]=ee,m.value=m.value.filter(ge=>ge.path!==ce),ce==="productvariant"&&G(ee)}function G(ce){const ee=E.value.find(ge=>ge.value===ce);u.value.productVariantLabel=ee?ee.label:null}async function oe(ce){Z("productId");const ee=ce==null||ce===""?null:String(ce);await S(ee)}return Ve(async()=>{try{await k()}catch(ce){console.error("Failed to load product:",ce)}finally{y.value=!1}}),we(A,ce=>{u.value.honeypot=ce}),we(()=>a.site,ce=>{ce==="zh"&&(u.value.country="CN")},{immediate:!0}),(ce,ee)=>{const ge=Oe("FormAlert"),xe=Oe("FormInput"),ie=Oe("FormSelect"),Q=Oe("FormField"),Y=Oe("FormCheckbox"),J=Oe("FormButton"),de=Oe("FormTextarea"),he=$s,R=Hi;
113return P(),B("div",dee,[b.value?(P(),B("div",fee,[ee[27]||(ee[27]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",pee,te(v(n)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(he,{state:u.value,validate:F,onSubmit:L,onError:O,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:u.value.formType},null,8,hee),_("div",mee,[Or(_("input",{ref_key:"_honeypotRef",ref:C,"onUpdate:modelValue":ee[0]||(ee[0]=z=>u.value.honeypot=z),type:"text",name:v(M),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,gee),[[rr,u.value.honeypot]])]),f.value?(P(),B("div",vee,[K(ge,{color:"red",variant:"soft",description:f.value,onClose:ee[1]||(ee[1]=z=>f.value="")},null,8,["description"])])):ae("",!0),_("div",yee,[_("div",bee,[K(Q,{label:v(n)("form.common.productname","Product Name"),name:"productname"},{default:D(()=>[v(x)?(P(),X(xe,{key:0,modelValue:u.value.productname,"onUpdate:modelValue":ee[2]||(ee[2]=z=>u.value.productname=z),name:"productname",placeholder:v(n)("form.common.productname","Product Name"),"show-validation":h.value,readonly:""},null,8,["modelValue","placeholder","show-validation"])):(P(),X(ie,{key:1,"model-value":u.value.productId,name:"productId",options:v(w),placeholder:v(n)("form.quotation.product.placeholder","Please select a product"),error:N("productId"),"onUpdate:modelValue":oe,onClearError:ee[3]||(ee[3]=z=>Z("productId"))},null,8,["model-value","options","placeholder","error"])),_("input",{type:"hidden",name:"productId",value:u.value.productId},null,8,xee)]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.productvariant","Product Variant"),name:"productvariant"},{default:D(()=>[K(ie,{modelValue:u.value.productvariant,"onUpdate:modelValue":[ee[4]||(ee[4]=z=>u.value.productvariant=z),ee[5]||(ee[5]=z=>H("productvariant",z))],name:"productvariant",options:v(E),disabled:!u.value.productId||v(T),placeholder:v(n)("form.common.productvariant.defaultOption","Please select a product variant"),error:N("productvariant"),onClearError:ee[6]||(ee[6]=z=>Z("productvariant"))},null,8,["modelValue","options","disabled","placeholder","error"])]),_:1},8,["label"]),e.applicationsItems&&e.applicationsItems.length>0?(P(),B("div",_ee,[K(Q,{label:v(n)("form.common.application","Application"),name:"applicationItem",required:""},{default:D(()=>[K(ie,{modelValue:u.value.applicationItem,"onUpdate:modelValue":[ee[7]||(ee[7]=z=>u.value.applicationItem=z),ee[8]||(ee[8]=z=>H("applicationItem",z))],name:"applicationItem",options:e.applicationsItems,placeholder:v(n)("form.common.application.placeholder","Please select your application"),error:N("applicationItem"),onClearError:ee[9]||(ee[9]=z=>Z("applicationItem"))},null,8,["modelValue","options","placeholder","error"])]),_:1},8,["label"])])):ae("",!0),K(Q,{label:v(n)("form.common.firstname","First Name"),name:"firstname"},{default:D(()=>[K(xe,{modelValue:u.value.firstname,"onUpdate:modelValue":[ee[10]||(ee[10]=z=>u.value.firstname=z),ee[11]||(ee[11]=z=>H("firstname",z))],name:"firstname",placeholder:v(n)("form.common.firstname","First Name"),"show-validation":h.value},null,8,["modelValue","placeholder","show-validation"])]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.email","Email"),name:"email",required:""},{default:D(()=>[K(xe,{modelValue:u.value.email,"onUpdate:modelValue":[ee[12]||(ee[12]=z=>u.value.email=z),ee[13]||(ee[13]=z=>H("email",z))],type:"email",name:"email",placeholder:v(n)("form.common.email","Email"),error:N("email"),valid:c.value},{error:D(()=>[_("p",wee,te(v(n)("form.common.email.required","Please enter a valid email address.")),1)]),_:1},8,["modelValue","placeholder","error","valid"])]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.company","Company/Institute"),name:"company",required:""},{default:D(()=>[K(xe,{modelValue:u.value.company,"onUpdate:modelValue":[ee[14]||(ee[14]=z=>u.value.company=z),ee[15]||(ee[15]=z=>H("company",z))],name:"company",placeholder:v(n)("form.common.company","Company/Institute"),error:N("company")},{error:D(()=>[_("p",See,te(v(n)("form.common.company.required","Company / Institute is required")),1)]),_:1},8,["modelValue","placeholder","error"])]),_:1},8,["label"]),K(Q,{name:"terms",required:""},{default:D(()=>[K(Y,{modelValue:u.value.terms,"onUpdate:modelValue":[ee[16]||(ee[16]=z=>u.value.terms=z),ee[17]||(ee[17]=z=>H("terms",z))],name:"terms",label:v(n)("form.common.terms.label","I accept the Privacy Policy"),error:N("terms"),required:!0},{error:D(()=>[_("p",kee,te(v(n)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1}),_("div",Cee,[K(J,{type:"submit",loading:g.value},{default:D(()=>[Le(te(v(n)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_("div",Tee,[K(Q,{label:v(n)("form.common.message","Your message to us"),name:"message",required:""},{default:D(()=>[K(de,{modelValue:u.value.message,"onUpdate:modelValue":[ee[18]||(ee[18]=z=>u.value.message=z),ee[19]||(ee[19]=z=>H("message",z))],name:"message","height-px":215,error:N("message")},{error:D(()=>[_("p",Eee,te(v(n)("form.common.message.required","Message is required")),1)]),_:1},8,["modelValue","error"])]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.lastname","Last Name"),name:"lastname",required:""},{default:D(()=>[K(xe,{modelValue:u.value.lastname,"onUpdate:modelValue":[ee[20]||(ee[20]=z=>u.value.lastname=z),ee[21]||(ee[21]=z=>H("lastname",z))],name:"lastname",placeholder:v(n)("form.common.lastname","Last Name"),error:N("lastname")},null,8,["modelValue","placeholder","error"])]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.telephone","Telephone"),name:"telephone"},{default:D(()=>[K(xe,{modelValue:u.value.telephone,"onUpdate:modelValue":[ee[22]||(ee[22]=z=>u.value.telephone=z),ee[23]||(ee[23]=z=>H("telephone",z))],name:"telephone",type:"tel",placeholder:v(n)("form.common.telephone","Telephone")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),K(Q,{label:v(n)("form.common.country","Country"),name:"country",required:""},{default:D(()=>[K(ie,{modelValue:u.value.country,"onUpdate:modelValue":[ee[24]||(ee[24]=z=>u.value.country=z),ee[25]||(ee[25]=z=>H("country",z))],name:"country",options:v(i),placeholder:v(n)("form.common.country.defaultOption","Please select your country"),loading:v(s),error:N("country"),disabled:d.value,onClearError:ee[26]||(ee[26]=()=>Z("country"))},null,8,["modelValue","options","placeholder","loading","error","disabled"])]),_:1},8,["label"])])])]),_:1},8,["state"]),p.value&&!e.actionUrl&&!e.inDrawer?(P(),X(R,{key:0,color:"green",variant:"soft",title:v(n)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}}),Iee=En(Pee,[["__scopeId","data-v-23e3725a"]]),Aee={class:""},$ee=["value"],Mee=["value"],Oee={class:"partner-mail-field","aria-hidden":"true"},Lee=["name"],qee={key:1,class:"col-span-12"},Ree={key:2,class:"col-span-12"},Bee={key:3,class:"col-span-12"},Fee={class:"col-span-12"},Dee={class:"text-primary text-sm font-bold"},Nee={class:"col-span-4"},Vee=pe({__name:"LandingPageForm",props:{emailSender:{default:""},actionUrl:{default:""},applicationsItems:{default:()=>[]},site:{default:""},guestTicketEnabled:{type:Boolean,default:!0},appointmentEnabled:{type:Boolean,default:!0},emailSubject:{default:""}},setup(e){const t=e,n=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:t.site==="zh"?"CN":"",message:"",terms:!1,formType:"landingpageform",emailSender:t.emailSender,guestTicket:!1,exhibitionAppointment:!1,honeypot:""}),r=V(!1),o=V(""),i=V([]),s=V(!1),l=V(!1),a=V(!1),{honeypotRef:u,honeypotValue:c,honeypotName:d,isBot:p,reset:f}=Os(a,"landingpageform"),m=E=>{const T=[];return E.lastname||T.push({path:"lastname",message:bn("form.common.lastname.required","Last Name is required")}),E.company||T.push({path:"company",message:bn("form.common.company.required","Company / Institute is required")}),E.email?h(E.email)||T.push({path:"email",message:bn("form.common.email.invalid","Please enter a valid email address.")}):T.push({path:"email",message:bn("form.common.email.required","Email is required")}),E.country||T.push({path:"country",message:bn("form.common.country.required","Country is required")}),E.message||T.push({path:"message",message:bn("form.common.message.required","Message is required")}),E.terms||T.push({path:"terms",message:bn("form.common.terms.required","You must accept the Privacy Policy")}),T};function h(E){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(E)}function g(E){i.value=E.errors,o.value=bn("form.common.validation-error","Please correct the errors in the form.")}async function y(){if(p()){r.value=!0;return}l.value=!0,i.value=[],o.value="",r.value=!1;try{const E={...n.value};t.emailSubject&&(E.emailSubject=t.emailSubject);const T=await Ms("/api/form/landingpageform",{method:"POST",headers:{"Content-Type":"application/json"},body:E}),k=typeof T=="string"?JSON.parse(T):T;k.success?(t.actionUrl?globalThis.location.href=t.actionUrl:r.value=!0,n.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:t.site==="zh"?"CN":"",message:"",terms:!1,formType:"landingpageform",emailSender:t.emailSender,guestTicket:!1,exhibitionAppointment:!1,honeypot:""}):o.value=k.message||bn("common.error","An error occurred")}catch(E){o.value=E.data?.message||bn("form.common.submit-error","Failed to submit form. Please try again.")}finally{l.value=!1}f()}function b(E){const T=i.value.find(k=>k.path===E);return T?T.message:""}function x(E){i.value=i.value.filter(T=>T.path!==E)}function w(E,T){n.value[E]=T,i.value=i.value.filter(k=>k.path!==E)}return we(c,E=>{n.value.honeypot=E}),we(()=>t.site,E=>{E==="zh"&&(n.value.country="CN")},{immediate:!0}),(E,T)=>{const k=Oe("FormAlert"),S=Oe("FormCheckbox"),C=Oe("FormField"),A=Oe("FormButton"),M=$s,I=Hi;return P(),B("div",Aee,[K(M,{state:n.value,validate:m,onSubmit:y,onError:g,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:n.value.formType}
113,null,8,$ee),E.emailSubject?(P(),B("input",{key:0,type:"hidden",name:"emailSubject",value:E.emailSubject},null,8,Mee)):ae("",!0),_("div",Oee,[Or(_("input",{ref_key:"_honeypotRef",ref:u,"onUpdate:modelValue":T[0]||(T[0]=$=>n.value.honeypot=$),type:"text",name:v(d),class:"partner-mail-input",tabindex:"-1",autocomplete:"new-password"},null,8,Lee),[[rr,n.value.honeypot]])]),o.value?(P(),B("div",qee,[K(k,{color:"red",variant:"soft",description:o.value,onClose:T[1]||(T[1]=$=>o.value="")},null,8,["description"])])):ae("",!0),K(nd,{modelValue:n.value,"onUpdate:modelValue":T[2]||(T[2]=$=>n.value=$),errors:i.value,touched:s.value,"required-fields":{message:!1,firstname:!1,lastname:!0,email:!0,telephone:!1,company:!0,country:!0},site:E.site,"get-field-error":b,"clear-field-error":x,"handle-field-change":w},null,8,["modelValue","errors","touched","site"]),E.guestTicketEnabled?(P(),B("div",Ree,[K(C,{name:"guestTicket"},{default:D(()=>[K(S,{modelValue:n.value.guestTicket,"onUpdate:modelValue":[T[3]||(T[3]=$=>n.value.guestTicket=$),T[4]||(T[4]=$=>w("guestTicket",$))],name:"guestTicket",label:v(bn)("form.common.guestTicket","Please send me a guest ticket")},null,8,["modelValue","label"])]),_:1})])):ae("",!0),E.appointmentEnabled?(P(),B("div",Bee,[K(C,{name:"exhibitionAppointment"},{default:D(()=>[K(S,{modelValue:n.value.exhibitionAppointment,"onUpdate:modelValue":[T[5]||(T[5]=$=>n.value.exhibitionAppointment=$),T[6]||(T[6]=$=>w("exhibitionAppointment",$))],name:"exhibitionAppointment",label:v(bn)("form.common.exhibitionAppointment","Please contact me to arrange an appointment during the exhibition")},null,8,["modelValue","label"])]),_:1})])):ae("",!0),_("div",Fee,[K(C,{name:"terms",required:""},{default:D(()=>[K(S,{modelValue:n.value.terms,"onUpdate:modelValue":[T[7]||(T[7]=$=>n.value.terms=$),T[8]||(T[8]=$=>w("terms",$))],name:"terms",label:v(bn)("form.common.terms.label","I accept the Privacy Policy"),error:b("terms"),required:!0},{error:D(()=>[_("p",Dee,te(v(bn)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",Nee,[K(A,{type:"submit",loading:l.value},{default:D(()=>[Le(te(v(bn)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),r.value&&!E.actionUrl?(P(),X(I,{key:0,color:"green",variant:"soft",title:v(bn)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)])}}}),zee=En(Vee,[["__scopeId","data-v-fdc64ebd"]]),jee={class:""},Hee={key:0,class:"py-8 text-center"},Uee={class:"mt-2"},Wee=["value"],Gee={class:"partnerMail-field","aria-hidden":"true"},Kee=["name"],Yee={key:0,class:"col-span-12"},Xee={class:"col-span-12 md:col-span-12"},Qee=["value"],Jee={key:1,class:"col-span-12 md:col-span-12"},Zee={class:"col-span-12 md:col-span-6"},ete={class:"col-span-12"},tte={class:"text-primary text-sm font-bold"},nte={class:"col-span-4"},rte=pe({__name:"RequestDemo",props:{emailSender:String,actionUrl:String,applicationsItems:Array,site:String,inDrawer:{type:Boolean,default:!1}},emits:["drawerSubmitSuccess"],setup(e,{emit:t}){const{t:n,isLoading:r}=Rl(),o=t,i=e,s=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:i.site==="zh"?"CN":"",message:"",talkto:"",terms:!1,formType:"requestdemo",productId:"",productname:"",emailSender:i.emailSender,applicationItem:"",honeypot:""}),l=V(!1),a=V(""),u=V([]),c=V(!1),d=V(!1),p=V(!0),f=W(()=>r.value||p.value),{productFromUrl:m,productOptions:h,init:g,onProductSelect:y}=Ah(s,{withVariants:!1}),{honeypotRef:b,honeypotValue:x,honeypotName:w,isBot:E,reset:T}=Os(f,"requestdemo"),k=q=>{const O=[];return q.lastname||O.push({path:"lastname",message:n("form.common.lastname.required","Last Name is required")}),i.applicationsItems&&i.applicationsItems.length>0&&!q.applicationItem&&O.push({path:"applicationItem",message:n("form.common.application.required","Application is required")}),q.company||O.push({path:"company",message:n("form.common.company.required","Company / Institute is required")}),q.email?S(q.email)||O.push({path:"email",message:n("form.common.email.invalid","Please enter a valid email address.")}):O.push({path:"email",message:n("form.common.email.required","Email is required")}),q.country||O.push({path:"country",message:n("form.common.country.required","Country is required")}),q.message||O.push({path:"message",message:n("form.common.message.required","Message is required")}),q.terms||O.push({path:"terms",message:n("form.common.terms.required","You must accept the Privacy Policy")}),q.productId||O.push({path:"productId",message:n("form.quotation.product.required","Product is required")}),O};function S(q){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(q)}function C(q){u.value=q.errors,a.value=n("form.common.validation-error","Please correct the errors in the form.")}async function A(){if(E()){console.log("Bot detected!"),l.value=!0;return}d.value=!0,u.value=[],a.value="",l.value=!1;try{const q=await Ms("/api/form/requestdemo",{method:"POST",headers:{"Content-Type":"application/json"},body:s.value}),O=typeof q=="string"?JSON.parse(q):q;if(O.success){i.inDrawer?o("drawerSubmitSuccess"):i.actionUrl?globalThis.location.href=i.actionUrl:l.value=!0;const L=s.value.productId,N=s.value.productname;s.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:i.site==="zh"?"CN":"",message:"",talkto:"",terms:!1,formType:"requestdemo",productId:L,productname:N,emailSender:i.emailSender,applicationItem:"",honeypot:""}}else a.value=O.message||n("common.error","An error occurred")}catch(q){a.value=q.data?.message||n("form.common.submit-error","Failed to submit form. Please try again.")}finally{d.value=!1}T()}function M(q){const O=u.value.find(L=>
113L.path===q);return O?O.message:""}function I(q){u.value=u.value.filter(O=>O.path!==q)}function $(q,O){s.value[q]=O,u.value=u.value.filter(L=>L.path!==q)}async function F(q){I("productId");const O=q==null||q===""?null:String(q);await y(O)}return Ve(async()=>{try{await g()}catch(q){console.error("Failed to load product:",q)}finally{p.value=!1}}),we(x,q=>{s.value.honeypot=q}),we(()=>i.site,q=>{q==="zh"&&(s.value.country="CN")},{immediate:!0}),(q,O)=>{const L=Oe("FormAlert"),N=Oe("FormInput"),Z=Oe("FormSelect"),H=Oe("FormField"),G=Oe("FormCheckbox"),oe=Oe("FormButton"),ce=$s,ee=Hi;return P(),B("div",jee,[f.value?(P(),B("div",Hee,[O[13]||(O[13]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",Uee,te(v(n)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(ce,{state:s.value,validate:k,onSubmit:A,onError:C,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:s.value.formType},null,8,Wee),_("div",Gee,[Or(_("input",{ref_key:"_honeypotRef",ref:b,"onUpdate:modelValue":O[0]||(O[0]=ge=>s.value.honeypot=ge),type:"text",name:v(w),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,Kee),[[rr,s.value.honeypot]])]),a.value?(P(),B("div",Yee,[K(L,{color:"red",variant:"soft",description:a.value,onClose:O[1]||(O[1]=ge=>a.value="")},null,8,["description"])])):ae("",!0),_("div",Xee,[K(H,{label:v(n)("form.common.productname","Product Name"),name:"productname"},{default:D(()=>[v(m)?(P(),X(N,{key:0,modelValue:s.value.productname,"onUpdate:modelValue":O[2]||(O[2]=ge=>s.value.productname=ge),name:"productname",placeholder:v(n)("form.common.productname","Product Name"),"show-validation":c.value},null,8,["modelValue","placeholder","show-validation"])):(P(),X(Z,{key:1,"model-value":s.value.productId,name:"productId",options:v(h),placeholder:v(n)("form.quotation.product.placeholder","Please select a product"),error:M("productId"),"onUpdate:modelValue":F,onClearError:O[3]||(O[3]=ge=>I("productId"))},null,8,["model-value","options","placeholder","error"])),_("input",{type:"hidden",name:"productId",value:s.value.productId},null,8,Qee)]),_:1},8,["label"])]),e.applicationsItems&&e.applicationsItems.length>0?(P(),B("div",Jee,[K(H,{label:v(n)("form.common.application","Application"),name:"applicationItem",required:""},{default:D(()=>[K(Z,{modelValue:s.value.applicationItem,"onUpdate:modelValue":[O[4]||(O[4]=ge=>s.value.applicationItem=ge),O[5]||(O[5]=ge=>$("applicationItem",ge))],name:"applicationItem",options:e.applicationsItems,placeholder:v(n)("form.common.application.placeholder","Please select your application"),error:M("applicationItem"),onClearError:O[6]||(O[6]=ge=>I("applicationItem"))},null,8,["modelValue","options","placeholder","error"])]),_:1},8,["label"])])):ae("",!0),K(nd,{modelValue:s.value,"onUpdate:modelValue":O[7]||(O[7]=ge=>s.value=ge),errors:u.value,touched:c.value,"required-fields":{message:!0,firstname:!1,lastname:!0,email:!0,telephone:!1,company:!0,country:!0},site:e.site,"get-field-error":M,"clear-field-error":I,"handle-field-change":$},null,8,["modelValue","errors","touched","site"]),_("div",Zee,[K(H,{label:v(n)("form.common.talkto","Talk to"),name:"talkto",required:""},{default:D(()=>[K(Z,{modelValue:s.value.talkto,"onUpdate:modelValue":[O[8]||(O[8]=ge=>s.value.talkto=ge),O[9]||(O[9]=ge=>$("talkto",ge))],name:"talkto",options:[{label:v(n)("form.common.talkto-options.quantum-technologies-expert","Quantum technologies expert"),value:v(n)("form.common.talkto-options.quantum-technologies-expert","Quantum technologies expert")},{label:v(n)("form.common.talkto-options.life-sciences-expert","Life sciences expert"),value:v(n)("form.common.talkto-options.life-sciences-expert","Life sciences expert")},{label:v(n)("form.common.talkto-options.measurement-and-processing-expert","Measurement and processing expert"),value:v(n)("form.common.talkto-options.measurement-and-processing-expert","Measurement and processing expert")},{label:v(n)("form.common.talkto-options.im-not-sure-surprise-me","I'm not sure ⦠surprise me ;-)"),value:v(n)("form.common.talkto-options.im-not-sure-surprise-me","I'm not sure ⦠surprise me ;-)")}],placeholder:v(n)("common.please-select","Please select"),error:M("talkto"),onClearError:O[10]||(O[10]=ge=>I("talkto"))},null,8,["modelValue","options","placeholder","error"])]),_:1},8,["label"])]),_("div",ete,[K(H,{name:"terms",required:""},{default:D(()=>[K(G,{modelValue:s.value.terms,"onUpdate:modelValue":[O[11]||(O[11]=ge=>s.value.terms=ge),O[12]||(O[12]=ge=>$("terms",ge))],name:"terms",label:v(n)("form.common.terms.label","I accept the Privacy Policy"),error:M("terms"),required:!0},{error:D(()=>[_("p",tte,te(v(n)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",nte,[K(oe,{type:"submit",loading:d.value},{default:D(()=>[Le(te(v(n)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),l.value&&!e.actionUrl&&!e.inDrawer?(P(),X(ee,{key:0,color:"green",variant:"soft",title:v(n)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}}),ote=En(rte,[["__scopeId","data-v-0a10dc2f"]]),ite={class:""},ste={key:0,class:"py-8 text-center"},lte={class:"mt-2"},ate=["value"],ute={class:"partnerMail-field","aria-hidden":"true"},cte=["name"],dte={key:0,class:"col-span-12"},fte=["value"],pte={key:1,class:"col-span-12 md:col-span-6"},hte={class:"col-span-12 md:col-span-6"},mte={class:"col-span-12"},gte={class:"text-primary text-sm font-bold"},vte={class:"col-span-4"},yte=pe({__name:"TalkExpert",props:{emailSender:String,actionUrl:String,applicationsItems:Array,site:String,inDrawer:{type:Boolean,default:!1}},emits:["drawerSubmitSuccess"],setup(e,{emit:t}){const{t:n,isLoading:r}=Rl(),o=t,i=e,s=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:i.site==="zh"?"CN":"",message:"",talkto:"",terms:!1,formType:"talkexport",productId:"",productname:"",emailSender:i.emailSender,applicationItem:"",honeypot:""}),l=V(!1),a=V(""),u=V([]),c=V(!1),d=V(!1),p=V(!0),f=W(()=>r.value||p.value),{productFromUrl:m,productOptions:h,init:g,onProductSelect:y}=Ah(s,{withVariants:!1}),{honeypotRef:b,honeypotValue:x,honeypotName:w,isBot:E,reset:T}=Os(f,"talkexport"),k=q=>{const O=[];return q.lastname||O.push({path:"lastname",message:n("form.common.lastname.required","Last Name is required")}),i.applicationsItems&&i.applicationsItems.length>0&&!q.applicationItem&&O.push({path:"applicationItem",message:n("form.common.application.required","Application is required")}),q.company||O.push({path:"company",message:n("form.common.company.required","Company / Institute is required")}),q.email?S(q.email)||O.push({path:"email",message:n("form.common.email.invalid","Please enter a valid email address.")}):O.push({path:"email",message:n("form.common.email.required","Email is required")}),q.country||O.push({path:"country",message:n("form.common.country.required","Country is required")}),q.message||O.push({path:"message",message:n("form.common.message.required","Message is required")}),q.terms||O.push({path:"terms",message:n("form.common.terms.required","You must accept the Privacy Policy")}),q.productId||O.push({path:"productId",message:n("form.quotation.product.required","Product is required")}),O};function S(q){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(q)}function C(q){u.value=q.errors,a.value=n("form.common.validation-error","Please correct the errors in the form.")}async function A(){if(E()){console.log("Bot detected!"),l.value=!0;return}d.value=!0,u.value=[],a.value="",l.value=!1;try{const q=await Ms("/api/form/talkexport",{method:"POST",headers:{"Content-Type":"application/json"},body:s.value}),O=typeof q=="string"?JSON.parse(q):q;if(O.success){i.inDrawer?o("drawerSubmitSuccess"):i.actionUrl?globalThis.location.href=i.actionUrl:l.value=!0;const L=s.value.productId,N=s.value.productname;s.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:i.site==="zh"?"CN":"",message:"",talkto:"",terms:!1,formType:"talkexport",productId:L,productname:N,emailSender:i.emailSender,applicationItem:"",honeypot:""}}else a.value=O.message||n("common.error","An error occurred")}catch(q){a.value=q.data?.message||n("form.common.submit-error","Failed to submit form. Please try again.")}finally{d.value=!1}T()}function M(q){const O=u.value.find(L=>
113L.path===q);return O?O.message:""}function I(q){u.value=u.value.filter(O=>O.path!==q)}function $(q,O){s.value[q]=O,u.value=u.value.filter(L=>L.path!==q)}async function F(q){I("productId");const O=q==null||q===""?null:String(q);await y(O)}return Ve(async()=>{try{await g()}catch(q){console.error("Failed to load product:",q)}finally{p.value=!1}}),we(x,q=>{s.value.honeypot=q}),we(()=>i.site,q=>{q==="zh"&&(s.value.country="CN")},{immediate:!0}),(q,O)=>{const L=Oe("FormAlert"),N=Oe("FormInput"),Z=Oe("FormSelect"),H=Oe("FormField"),G=Oe("FormCheckbox"),oe=Oe("FormButton"),ce=$s,ee=Hi;return P(),B("div",ite,[f.value?(P(),B("div",ste,[O[13]||(O[13]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",lte,te(v(n)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(ce,{state:s.value,validate:k,onSubmit:A,onError:C,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:s.value.formType},null,8,ate),_("div",ute,[Or(_("input",{ref_key:"_honeypotRef",ref:b,"onUpdate:modelValue":O[0]||(O[0]=ge=>s.value.honeypot=ge),type:"text",name:v(w),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,cte),[[rr,s.value.honeypot]])]),a.value?(P(),B("div",dte,[K(L,{color:"red",variant:"soft",description:a.value,onClose:O[1]||(O[1]=ge=>a.value="")},null,8,["description"])])):ae("",!0),_("div",{class:re(["col-span-12",e.applicationsItems?.length?"md:col-span-6":"md:col-span-12"])},[K(H,{label:v(n)("form.common.productname","Product Name"),name:"productname"},{default:D(()=>[v(m)?(P(),X(N,{key:0,modelValue:s.value.productname,"onUpdate:modelValue":O[2]||(O[2]=ge=>s.value.productname=ge),name:"productname",placeholder:v(n)("form.common.productname","Product Name"),"show-validation":c.value},null,8,["modelValue","placeholder","show-validation"])):(P(),X(Z,{key:1,"model-value":s.value.productId,name:"productId",options:v(h),placeholder:v(n)("form.quotation.product.placeholder","Please select a product"),error:M("productId"),"onUpdate:modelValue":F,onClearError:O[3]||(O[3]=ge=>I("productId"))},null,8,["model-value","options","placeholder","error"])),_("input",{type:"hidden",name:"productId",value:s.value.productId},null,8,fte)]),_:1},8,["label"])],2),e.applicationsItems&&e.applicationsItems.length>0?(P(),B("div",pte,[K(H,{label:v(n)("form.common.application","Application"),name:"applicationItem",required:""},{default:D(()=>[K(Z,{modelValue:s.value.applicationItem,"onUpdate:modelValue":[O[4]||(O[4]=ge=>s.value.applicationItem=ge),O[5]||(O[5]=ge=>$("applicationItem",ge))],name:"applicationItem",options:e.applicationsItems,placeholder:v(n)("form.common.application.placeholder","Please select your application"),error:M("applicationItem"),onClearError:O[6]||(O[6]=ge=>I("applicationItem"))},null,8,["modelValue","options","placeholder","error"])]),_:1},8,["label"])])):ae("",!0),K(nd,{modelValue:s.value,"onUpdate:modelValue":O[7]||(O[7]=ge=>s.value=ge),errors:u.value,touched:c.value,"required-fields":{message:!0,firstname:!1,lastname:!0,email:!0,telephone:!1,company:!0,country:!0},site:e.site,"get-field-error":M,"clear-field-error":I,"handle-field-change":$},null,8,["modelValue","errors","touched","site"]),_("div",hte,[K(H,{label:v(n)("form.common.talkto","Talk to"),name:"talkto",required:""},{default:D(()=>[K(Z,{modelValue:s.value.talkto,"onUpdate:modelValue":[O[8]||(O[8]=ge=>s.value.talkto=ge),O[9]||(O[9]=ge=>$("talkto",ge))],name:"talkto",options:[{label:v(n)("form.common.talkto-options.quantum-technologies-expert","Quantum technologies expert"),value:v(n)("form.common.talkto-options.quantum-technologies-expert","Quantum technologies expert")},{label:v(n)("form.common.talkto-options.life-sciences-expert","Life sciences expert"),value:v(n)("form.common.talkto-options.life-sciences-expert","Life sciences expert")},{label:v(n)("form.common.talkto-options.measurement-and-processing-expert","Measurement and processing expert"),value:v(n)("form.common.talkto-options.measurement-and-processing-expert","Measurement and processing expert")},{label:v(n)("form.common.talkto-options.im-not-sure-surprise-me","I'm not sure ⦠surprise me ;-)"),value:v(n)("form.common.talkto-options.im-not-sure-surprise-me","I'm not sure ⦠surprise me ;-)")}],placeholder:v(n)("common.please-select","Please select"),error:M("talkto"),onClearError:O[10]||(O[10]=ge=>I("talkto"))},null,8,["modelValue","options","placeholder","error"])]),_:1},8,["label"])]),_("div",mte,[K(H,{name:"terms",required:""},{default:D(()=>[K(G,{modelValue:s.value.terms,"onUpdate:modelValue":[O[11]||(O[11]=ge=>s.value.terms=ge),O[12]||(O[12]=ge=>$("terms",ge))],name:"terms",label:v(n)("form.common.terms.label","I accept the Privacy Policy"),error:M("terms"),required:!0},{error:D(()=>[_("p",gte,te(v(n)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",vte,[K(oe,{type:"submit",loading:d.value},{default:D(()=>[Le(te(v(n)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),l.value&&!e.actionUrl&&!e.inDrawer?(P(),X(ee,{key:0,color:"green",variant:"soft",title:v(n)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}}),bte=En(yte,[["__scopeId","data-v-967d9594"]]),xte={slots:{root:"relative",fieldset:"flex gap-x-2",legend:"mb-1 block font-medium text-default",item:""},variants:{orientation:{horizontal:{fieldset:"flex-row"},vertical:{fieldset:"flex-col"}},color:{primary:{},secondary:{},success:{},info:{},warning:{},error:{},neutral:{}},variant:{list:{},card:{},table:{item:"border border-muted"}},size:{xs:{fieldset:"gap-y-0.5",legend:"text-xs"},sm:{fieldset:"gap-y-0.5",legend:"text-xs"},md:{fieldset:"gap-y-1",legend:"text-sm"},lg:{fieldset:"gap-y-1",legend:"text-sm"},xl:{fieldset:"gap-y-1.5",legend:"text-base"}},required:{true:{legend:"after:content-['*'] after:ms-0.5 after:text-error"}}},compoundVariants:[{size:"xs",variant:"table",class:{item:"p-2.5"}},{size:"sm",variant:"table",class:{item:"p-3"}},{size:"md",variant:"table",class:{item:"p-3.5"}},{size:"lg",variant:"table",class:{item:"p-4"}},{size:"xl",variant:"table",class:{item:"p-4.5"}},{orientation:"horizontal",variant:"table",class:{item:"first-of-type:rounded-s-lg last-of-type:rounded-e-lg",fieldset:"gap-0 -space-x-px"}},{orientation:"vertical",variant:"table",class:{item:"first-of-type:rounded-t-lg last-of-type:rounded-b-lg",fieldset:"gap-0 -space-y-px"}},{color:"primary",variant:"table",class:{item:"has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"}},{color:"secondary",variant:"table",class:{item:"has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"}},{color:"success",variant:"table",class:{item:"has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"}},{color:"info",variant:"table",class:{item:"has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"}},{color:"warning",variant:"table",class:{item:"has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"}},{color:"error",variant:"table",class:{item:"has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"}},{color:"neutral",variant:"table",class:{item:"has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"}},{variant:"table",disabled:!0,class:{item:"cursor-not-allowed opacity-75"}}],defaultVariants:{size:"md",variant:"list",color:"primary"}},_te={__name:"CheckboxGroup",props:{as:{type:null,required:!1},legend:{type:String,required:!1},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},items:{type:null,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},size:{type:null,required:!1},variant:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},class:{type:null,required:!1},ui:{type:void 0,required:!1},disabled:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},color:{type:null,required:!1},indicator:{type:null,required:!1},icon:{type:[String,Object],required:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Dn(),i=Xt(),s=Vn(ti(n,"as","modelValue","defaultValue","orientation","loop","required"),r),l=Al(ti(n,"variant","indicator","
113icon")),a=()=>xc(o,["legend"]),{emitFormChange:u,emitFormInput:c,color:d,name:p,size:f,id:m,disabled:h,ariaAttrs:g}=eu(n,{bind:!1}),y=m.value??Ga(),b=W(()=>nt({extend:xte,...i.ui?.checkboxGroup||{}})({size:f.value,required:n.required,orientation:n.orientation,color:n.color,variant:n.variant}));function x(T){if(T===null)return{id:`${y}:null`,value:void 0,label:void 0};if(typeof T=="string"||typeof T=="number")return{id:`${y}:${T}`,value:String(T),label:String(T)};const k=On(T,n.valueKey),S=On(T,n.labelKey),C=On(T,n.descriptionKey);return{...T,value:k,label:S,description:C,id:`${y}:${k}`}}const w=W(()=>n.items?n.items.map(x):[]);function E(T){const k=new Event("change",{target:{value:T}});r("change",k),u(),c()}return(T,k)=>(P(),X(v(s4),be({id:v(y)},v(s),{name:v(p),disabled:v(h),class:b.value.root({class:[n.ui?.root,n.class]}),"onUpdate:modelValue":E}),{default:D(()=>[_("fieldset",be({class:b.value.fieldset({class:n.ui?.fieldset})},v(g)),[e.legend||o.legend?(P(),B("legend",{key:0,class:re(b.value.legend({class:n.ui?.legend}))},[se(T.$slots,"legend",{},()=>[Le(te(e.legend),1)])],2)):ae("",!0),(P(!0),B(ye,null,Ce(w.value,S=>(P(),X(Vy,be({key:S.value},{ref_for:!0},{...S,...v(l)},{color:v(d),size:v(f),name:v(p),disabled:S.disabled||v(h),ui:{...n.ui?v(xc)(n.ui,["root"]):void 0,...S.ui||{}},class:b.value.item({class:[n.ui?.item,S.ui?.item,S.class]})}),Hc({_:2},[Ce(a(),(C,A)=>({name:A,fn:D(()=>[se(T.$slots,A,{item:S})])}))]),1040,["color","size","name","disabled","ui","class"]))),128))],16)]),_:3},16,["id","name","disabled","class"]))}},wte={class:"mb-3 block text-xl font-bold text-white text-trim"},Ste={key:0,class:"ml-1 text-primary"},kte=["innerHTML"],Cte={key:0,class:"mt-2"},Tte={class:"text-sm font-bold text-primary"},Vc=pe({__name:"CheckboxGroup",props:{modelValue:{},items:{},label:{},error:{},required:{type:Boolean}},emits:["update:modelValue"],setup(e){return(t,n)=>{const r=_te;return P(),B("div",null,[K(r,be({"model-value":t.modelValue,items:t.items},t.$attrs,{"onUpdate:modelValue":n[0]||(n[0]=o=>t.$emit("update:modelValue",o)),class:"w-full text-white [&_label]:text-white",ui:{fieldset:"space-y-3",legend:"mb-3 block text-xl font-bold text-white text-trim",wrapper:"flex min-w-0 flex-1 items-center !text-base",label:"!ms-0 !text-base font-light text-white text-trim",item:{base:"flex items-start gap-4 p-3 hover:bg-gray-800/50 rounded-lg transition-colors",label:"flex min-w-0 flex-1 cursor-pointer select-none items-center !ms-0 font-light text-white text-trim",description:"text-sm text-gray-400 mt-1",checkbox:{base:"h-5 w-5 shrink-0 self-start !rounded-none border-2 border-gray-600 cursor-pointer",background:"bg-transparent checked:bg-blue-600"}}}}),{legend:D(()=>[_("span",wte,[Le(te(t.label)+" ",1),t.required?(P(),B("span",Ste,"*")):ae("",!0)])]),description:D(({item:o})=>[_("span",{innerHTML:o.description,class:"text-xs text-white font-light"},null,8,kte)]),_:1},16,["model-value","items"]),t.error?(P(),B("div",Cte,[_("p",Tte,te(t.error),1)])):ae("",!0)])}}}),Ete={class:""},Pte={key:0,class:"py-8 text-center"},Ite={class:"mt-2"},Ate=["value"],$te={class:"partnerMail-field","aria-hidden":"true"},Mte=["name"],Ote={key:0,class:"col-span-12"},Lte={class:"col-span-12 md:col-span-6"},qte=["value"],Rte={class:"col-span-12 md:col-span-6"},Bte={class:"col-span-12 md:col-span-6"},Fte={class:"col-span-12 md:col-span-6"},Dte={class:"col-span-12"},Nte={class:"text-primary text-sm font-bold"},Vte={class:"col-span-4"},zte=pe({__name:"RequestiBeamSmart",props:{emailSender:String,actionUrl:String,site:String},setup(e){const{t,isLoading:n}=Rl(),r=e,o=V({firstname:"",lastname:"",email:"",telephone:"",company:"",country:r.site==="zh"?"CN":"",message:"",terms:!1,formType:"requestibeamsmart",productId:"",productname:"",productvariant:null,productVariantLabel:null,options:[],accessories:[],emailSender:r.emailSender,honeypot:""}),i=V(!1),s=V(""),l=V([]),a=V(!1),u=V(!1),c=V(!0),d=W(()=>n.value||c.value),{productFromUrl:p,productOptions:f,variantOptions:m,isLoadingProductDetail:h,init:g,onProductSelect:y}=Ah(o,{withVariants:!0}),{honeypotRef:b,honeypotValue:x,honeypotName:w,isBot:E,reset:T}=Os(d,"requestibeamsmart"),k=O=>{const L=[];return O.company||L.push({path:"company",message:t("form.common.company.required","Company / Institute is required")}),O.email?S(O.email)||L.push({path:"email",message:t("form.common.email.invalid","Please enter a valid email address.")}):L.push({path:"email",message:t("form.common.email.required","Email is required")}),O.country||L.push({path:"country",message:t("form.common.country.required","Country is required")}),O.message||L.push({path:"message",message:t("form.common.message.required","Message is required")}),O.terms||L.push({path:"terms",message:t("form.common.terms.required","You must accept the Privacy Policy")}),O.productId||L.push({path:"productId",message:t("form.quotation.product.required","Product is required")}),m.value.length>0&&O.productvariant==null&&L.push({path:"productvariant",message:t("form.common.productvariant.required","Please select a product variant")}),L};function S(O){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(O)}function C(O){l.value=O.errors,s.value=t("form.common.validation-error","Please correct the errors in the form.")}async function A(){if(E()){console.log("Bot detected!"),i.value=!0;return}u.value=!0,l.value=[],s.value="",i.value=!1;try{const O=await Ms("/api/form/requestibeamsmart",{method:"POST",headers:{"Content-Type":"application/json"},body:o.value}),L=typeof O=="string"?JSON.parse(O):O;if(L.success){r.actionUrl?globalThis.location.href=r.actionUrl:i.value=!0;const N=o.value.productId,Z=o.value.productname;o.value={firstname:"",lastname:"",email:"",telephone:"",company:"",country:r.site==="zh"?"CN":"",message:"",terms:!1,formType:"requestibeamsmart",productId:N,productname:Z,productvariant:null,productVariantLabel:null,options:[],accessories:[],emailSender:r.emailSender,honeypot:""}}else s.value=L.message||t("common.error","An error occurred")}catch(O){s.value=O.data?.message||t("form.common.submit-error","Failed to submit form. Please try again.")}finally{u.value=!1}T()}function M(O){const L=l.value.find(N=>N.path===O);return L?L.message:""}function I(O){l.value=l.value.filter(L=>L.path!==O)}function $(O,L){o.value[O]=L,l.value=l.value.filter(N=>N.path!==O),O==="productvariant"&&F(L)}function F(O){const L=m.value.find(N=>N.value===O);o.value.productVariantLabel=L?L.label:null}async function q(O){I("productId");const L=O==null||O===""?null:String(O);await y(L)}return Ve(async()=>{try{await g()}catch(O){console.error("Failed to load product:",O)}finally{c.value=!1}}),we(x,O=>{o.value.honeypot=O}),we(()=>r.site,O=>{O==="zh"&&(o.value.country="CN")},{immediate:!0}),(O,L)=>{const N=Oe("FormAlert"),Z=Oe("FormInput"),H=Oe("FormSelect"),G=Oe("FormField"),oe=Oe("FormCheckbox"),ce=Oe("FormButton"),ee=$s,ge=Hi;return P(),B("div",Ete,[d.value?(P(),B("div",Pte,[L[12]||(L[12]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"}
113,null,-1)),_("p",Ite,te(v(t)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(ee,{state:o.value,validate:k,onSubmit:A,onError:C,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:o.value.formType},null,8,Ate),_("div",$te,[Or(_("input",{ref_key:"_honeypotRef",ref:b,"onUpdate:modelValue":L[0]||(L[0]=xe=>o.value.honeypot=xe),type:"text",name:v(w),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,Mte),[[rr,o.value.honeypot]])]),s.value?(P(),B("div",Ote,[K(N,{color:"red",variant:"soft",description:s.value,onClose:L[1]||(L[1]=xe=>s.value="")},null,8,["description"])])):ae("",!0),_("div",Lte,[K(G,{label:v(t)("form.common.productname","Product Name"),name:"productname"},{default:D(()=>[v(p)?(P(),X(Z,{key:0,modelValue:o.value.productname,"onUpdate:modelValue":L[2]||(L[2]=xe=>o.value.productname=xe),name:"productname",placeholder:v(t)("form.common.productname","Product Name"),"show-validation":a.value,readonly:""},null,8,["modelValue","placeholder","show-validation"])):(P(),X(H,{key:1,"model-value":o.value.productId,name:"productId",options:v(f),placeholder:v(t)("form.quotation.product.placeholder","Please select a product"),error:M("productId"),"onUpdate:modelValue":q,onClearError:L[3]||(L[3]=xe=>I("productId"))},null,8,["model-value","options","placeholder","error"])),_("input",{type:"hidden",name:"productId",value:o.value.productId},null,8,qte)]),_:1},8,["label"])]),_("div",Rte,[K(G,{label:v(t)("form.common.productvariant","Product Variant"),name:"productvariant"},{default:D(()=>[K(H,{modelValue:o.value.productvariant,"onUpdate:modelValue":[L[4]||(L[4]=xe=>o.value.productvariant=xe),L[5]||(L[5]=xe=>$("productvariant",xe))],name:"productvariant",options:v(m),disabled:!o.value.productId||v(h),placeholder:v(t)("form.common.productvariant.defaultOption","Please select a product variant"),error:M("productvariant"),onClearError:L[6]||(L[6]=xe=>I("productvariant"))},null,8,["modelValue","options","disabled","placeholder","error"])]),_:1},8,["label"])]),K(nd,{modelValue:o.value,"onUpdate:modelValue":L[7]||(L[7]=xe=>o.value=xe),errors:l.value,touched:a.value,site:e.site,"get-field-error":M,"clear-field-error":I,"handle-field-change":$},null,8,["modelValue","errors","touched","site"]),_("div",Bte,[K(G,{label:v(t)("form.common.options","Options"),name:"options"},{default:D(()=>[K(Vc,{modelValue:o.value.options,"onUpdate:modelValue":L[8]||(L[8]=xe=>o.value.options=xe),"value-key":"value",items:[{id:"pulse-option",label:v(t)("form.common.options.pulse-option.label","iBeam smart - Pulse Option"),value:v(t)("form.common.options.pulse-option.value","iBeam smart - Pulse Option"),description:"<ul><li>"+v(t)("form.common.options.pulse-option.description.option-1","Allows external asynchronous digital modulation")+"</li><li>"+v(t)("form.common.options.pulse-option.description.option-2","Modulation bandwidth up to 250 MHz")+"</li></ul>"},{id:"wave-selection",label:v(t)("form.common.options.wavelength-selection.label","iBeam smart - Wavelength selection"),value:v(t)("form.common.options.wavelength-selection.value","iBeam smart - Wavelength selection"),description:"<ul><li>"+v(t)("form.common.options.wavelength-selection.description.option-1",`Emission wavelength will be selected to better than ± 1 nm within the standard wavelength range of the laser system 114`)+"<br />"+v(t)("form.common.options.wavelength-selection.description.option-2","PLEASE NOTE: please inquire, to make sure actual center wavelength is available! Increased lead-time is probable.")+"</li></ul>"},{id:"cleanup-filter",label:v(t)("form.common.options.cleanup-filter.label","iBeam smart - CleanUp-Filter Add-On"),value:v(t)("form.common.options.cleanup-filter.value","iBeam smart - CleanUp-Filter Add-On"),description:"<ul><li>"+v(t)("form.common.options.cleanup-filter.description.option-1","Available at 405 nm, 488 nm and 640 nm")+"</li><li>"+v(t)("form.common.options.cleanup-filter.description.option-2","Typical bandwidth: 6-10 nm")+"</li></ul>"}]},null,8,["modelValue","items"])]),_:1},8,["label"])]),_("div",Fte,[K(G,{label:v(t)("form.common.accessories","Accessories"),name:"accessories"},{default:D(()=>[K(Vc,{modelValue:o.value.accessories,"onUpdate:modelValue":L[9]||(L[9]=xe=>o.value.accessories=xe),"value-key":"value",items:[{id:"smartdock",label:v(t)("form.common.accessories.smartdock.label","SmartDock - Fiber Coupler for iBeam smart"),value:v(t)("form.common.accessories.smartdock.value","SmartDock - Fiber Coupler for iBeam smart"),description:"<ul><li>"+v(t)("form.common.accessories.smartdock.description","Coupling efficiency typ. 75%")+"</li></ul>"},{id:"fiberout",label:v(t)("form.common.accessories.fiberout.label","FiberOut - Fiber Output C
114oupler"),value:v(t)("form.common.accessories.fiberout.value","FiberOut - Fiber Output Coupler"),description:"<ul><li>"+v(t)("form.common.accessories.fiberout.description.option-1","Fiber collimator with variable focus")+"</li><li>"+v(t)("form.common.accessories.fiberout.description.option-2","Including collimation lens")+"</li><li>"+v(t)("form.common.accessories.fiberout.description.option-3","Typical beam sizes out of SM-fibers: 0.6 mm - 3.5 mm (1/e², diameter)")+"</li></ul>"},{id:"iwave-addon",label:v(t)("form.common.accessories.iwave.label","iWave Add-On for iBeam smart"),value:v(t)("form.common.accessories.iwave.value","iWave Add-On for iBeam smart"),description:"<ul><li>"+v(t)("form.common.accessories.iwave.description.option-1","Available for iBeam smart 375nm - 515nm")+"</li><li>"+v(t)("form.common.accessories.iwave.description.option-2","Add-On will reduce linewidth to typ. > 0.1nm")+"</li><li>"+v(t)("form.common.accessories.iwave.description.option-3","With add-on, the output power will be typically 50% of original iBeam smart power specification.")+"</li></ul>"},{id:"powersupply",label:v(t)("form.common.accessories.powersupply.label","Power supply for iBeam smart"),value:v(t)("form.common.accessories.powersupply.value","Power supply for iBeam smart"),description:"<ul><li>"+v(t)("form.common.accessories.powersupply.description.option-1","Available for iBeam smart 375nm - 515nm")+"</li><li>"+v(t)("form.common.accessories.powersupply.description.option-2","Add-On will reduce linewidth to typ. < 0.1nm")+"</li><li>"+v(t)("form.common.accessories.powersupply.description.option-3","With add-on, the output power will be typically 50% of original iBeam smart power specification.")+"</li></ul>"}]},null,8,["modelValue","items"])]),_:1},8,["label"])]),_("div",Dte,[K(G,{name:"terms",required:""},{default:D(()=>[K(oe,{modelValue:o.value.terms,"onUpdate:modelValue":[L[10]||(L[10]=xe=>o.value.terms=xe),L[11]||(L[11]=xe=>$("terms",xe))],name:"terms",label:v(t)("form.common.terms.label","I accept the Privacy Policy"),error:M("terms"),required:!0},{error:D(()=>[_("p",Nte,te(v(t)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",Vte,[K(ce,{type:"submit",loading:u.value},{default:D(()=>[Le(te(v(t)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),i.value&&!e.actionUrl?(P(),X(ge,{key:0,color:"green",variant:"soft",title:v(t)("form.common.success-message","Successfully sent!"),class:"mt-4"},null,8,["title"])):ae("",!0)],64))])}}}),jte=En(zte,[["__scopeId","data-v-23b5bac6"]]),Hte={class:""},Ute={key:0,class:"py-8 text-center"},Wte={class:"mt-2"},Gte=["value"],Kte={class:"partnerMail-field","aria-hidden":"true"},Yte=["name"],Xte={key:0,class:"col-span-12"},Qte={class:"col-span-12"},Jte={class:"col-span-12 mb-8"},Zte={class:"block text-white text-base font-normal mb-2"},ene={class:"text-primary text-sm font-bold"},tne={class:"col-span-12 mt-4"},nne={class:"block before:content-['*'] before:mr-0.5 before:text-error text-white text-base font-normal mb-2"},rne={class:"col-span-12"},one={class:"col-span-12 md:col-span-6"},ine={class:"col-span-12 md:col-span-6"},sne={class:"col-span-12 md:col-span-6"},lne={class:"col-span-12 md:col-span-6"},ane={class:"col-span-12 md:col-span-6"},une={class:"col-span-12 md:col-span-6"},cne={class:"col-span-12 md:col-span-6"},dne={class:"col-span-12 md:col-span-6"},fne={class:"col-span-12"},pne={class:"text-primary text-sm font-bold"},hne={class:"col-span-4"},mne={__name:"NewsletterSubscription",props:{emailSender:String,actionUrl:String,site:String},setup(e){const{t,locale:n,isLoading:r}=Rl(),{honeypotRef:o,honeypotValue:i,honeypotName:s,isBot:l,reset:a}=Os(r,"newslettersubscription"),{countryOptions:u,loading:c}=Ph(n.value,!0),d=e,p=W(()=>d.site==="zh"),f=V({email:"",salutation:"",firstname:"",lastname:"",company:"",street:"",zip:"",city:"",country:d.site==="zh"?"CN":"",telephone:"",terms:!1,formType:"newsletterSubscription",emailSender:d.emailSender,honeypot:""}),m=V(!1),h=V(""),g=V([]),y=V(!1),b=M=>{const I=[];return M.email?x(M.email)||I.push({path:"email",message:t("form.common.email.invalid","Please enter a valid email address.")}):I.push({path:"email",message:t("form.common.email.required","Email is required")}),M.country||I.push({path:"country",message:t("form.common.country.required","Country is required")}),M.terms||I.push({path:"terms",message:t("form.common.terms.required","You must accept the Privacy Policy")}),I},x=M=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(M),w=W(()=>f.value.email&&x(f.value.email)),E=M=>{g.value=M.errors,h.value=t("form.common.validation-error","Please correct the errors in the form.")};async function T(){if(l()){console.log("Bot detected!"),m.value=!0;return}y.value=!0,g.value=[],h.value="",m.value=!1;try{const M=await Ms("/api/form/newslettersubscription",{method:"POST",headers:{"Content-Type":"application/json"},body:{email:f.value.email,salutation:f.value.salutation,firstname:f.value.firstname,lastname:f.value.lastname,company:f.value.company,street:f.value.street,zip:f.value.zip,city:f.value.city,country:f.value.country,telephone:f.value.telephone,terms:f.value.terms,emailSender:d.emailSender,honeypot:f.value.honeypot}});
114(typeof M=="string"?JSON.parse(M):M).success?(d.actionUrl?globalThis.location.href=d.actionUrl:m.value=!0,A()):h.value=M.message||t("common.error","An error occurred")}catch(M){M.statusCode===409||M.status===409?(h.value=M.data?.message||t("form.common.email.already-subscribed","E-mail already subscribed to newsletter"),A()):h.value=M.data?.message||t("form.common.submit-error","Failed to submit form. Please try again.")}finally{y.value=!1}a()}const k=M=>{const I=g.value.find($=>$.path===M);return I?I.message:""},S=M=>{g.value=g.value.filter(I=>I.path!==M)},C=(M,I)=>{f.value[M]=I,g.value=g.value.filter($=>$.path!==M)};function A(){f.value={email:"",salutation:"",firstname:"",lastname:"",company:"",street:"",zip:"",city:"",country:d.site==="zh"?"CN":"",telephone:"",terms:!1,formType:"newsletterSubscription",emailSender:d.emailSender,honeypot:""}}return we(i,M=>{f.value.honeypot=M}),we(()=>d.site,M=>{M==="zh"&&(f.value.country="CN")},{immediate:!0}),(M,I)=>{const $=Oe("FormAlert"),F=Oe("FormInput"),q=Oe("FormField"),O=Oe("FormSelect"),L=Oe("FormCheckbox"),N=Oe("FormButton"),Z=$s,H=Hi;return P(),B("div",Hte,[v(r)?(P(),B("div",Ute,[I[25]||(I[25]=_("div",{class:"mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-gray-900"},null,-1)),_("p",Wte,te(v(t)("common.loading","Loading...")),1)])):(P(),B(ye,{key:1},[K(Z,{state:f.value,validate:b,onSubmit:T,onError:E,class:"grid grid-cols-12 gap-x-[25px] gap-y-[25px]"},{default:D(()=>[_("input",{type:"hidden",name:"formType",value:f.value.formType,"model-value":""},null,8,Gte),_("div",Kte,[Or(_("input",{ref_key:"_honeypotRef",ref:o,"onUpdate:modelValue":I[0]||(I[0]=G=>f.value.honeypot=G),type:"text",name:v(s),class:"partnerMail-input",tabindex:"-1",autocomplete:"new-password"},null,8,Yte),[[rr,f.value.honeypot]])]),h.value?(P(),B("div",Xte,[K($,{color:"red",variant:"soft",description:h.value,onClose:I[1]||(I[1]=G=>h.value="")},null,8,["description"])])):ae("",!0),_("div",Qte,[_("div",Jte,[_("h4",Zte,te(v(t)("form.common.personal-info","Personal Information")),1),I[26]||(I[26]=_("hr",{class:"my-4 border-white"},null,-1))]),K(q,{label:v(t)("form.common.email","E-Mail"),name:"email",required:""},{default:D(()=>[K(F,{modelValue:f.value.email,"onUpdate:modelValue":[I[2]||(I[2]=G=>f.value.email=G),I[3]||(I[3]=G=>C("email",G))],type:"email",name:"email",placeholder:v(t)("form.common.email","E-Mail"),error:k("email"),valid:w.value},{error:D(()=>[_("p",ene,te(v(t)("form.common.email.invalid"," Please enter a valid email address.")),1)]),_:1},8,["modelValue","placeholder","error","valid"])]),_:1},8,["label"])]),_("div",tne,[_("h4",nne,te(v(t)("form.newslettersubscription.info","You have to specify your e-mail address to register for TOPTICA's newsletter. All other information is optional.")),1),I[27]||(I[27]=_("hr",{class:"my-4 border-white"},null,-1))]),_("div",rne,[K(q,{label:v(t)("form.common.salutation","Salutation"),name:"salutation"},{default:D(()=>[K(O,{modelValue:f.value.salutation,"onUpdate:modelValue":[I[4]||(I[4]=G=>f.value.salutation=G),I[5]||(I[5]=G=>C("salutation",G))],name:"salutation",options:[{label:v(t)("form.common.salutation.options.mr","Mr."),value:v(t)("form.common.salutation.options.mr","Mr.")},{label:v(t)("form.common.salutation.options.ms","Ms."),value:v(t)("form.common.salutation.options.ms","Ms.")},{label:v(t)("form.common.salutation.options.mrs","Mrs."),value:v(t)("form.common.salutation.options.mrs","Mrs.")}],placeholder:v(t)("form.common.salutation.defaultOption","Please select your salutation")},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"])]),_("div",one,[K(q,{label:v(t)("form.common.firstname","First Name"),name:"firstname"},{default:D(()=>[K(F,{modelValue:f.value.firstname,"onUpdate:modelValue":[I[6]||(I[6]=G=>f.value.firstname=G),I[7]||(I[7]=G=>C("firstname",G))],name:"firstname",placeholder:v(t)("form.common.firstname","First Name")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",ine,[K(q,{label:v(t)("form.common.lastname","Last Name"),name:"lastname"},{default:D(()=>[K(F,{modelValue:f.value.lastname,"onUpdate:modelValue":[I[8]||(I[8]=G=>f.value.lastname=G),I[9]||(I[9]=G=>C("lastname",G))],name:"lastname",placeholder:v(t)("form.common.lastname","Last Name")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",sne,[K(q,{label:v(t)("form.common.company","Company/Institute"),name:"company"},{default:D(()=>[K(F,{modelValue:f.value.company,"onUpdate:modelValue":[I[10]||(I[10]=G=>f.value.company=G),I[11]||(I[11]=G=>C("company",G))],name:"company",placeholder:v(t)("form.common.company","Company/Institute")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",lne,[K(q,{label:v(t)("form.common.street","Street & Street Number"),name:"street"},{default:D(()=>[K(F,{modelValue:f.value.street,"onUpdate:modelValue":[I[12]||(I[12]=G=>f.value.street=G),I[13]||(I[13]=G=>C("street",G))],name:"street",placeholder:v(t)("form.common.street","Street & Street Number")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",ane,[K(q,{label:v(t)("form.common.zip","Zip Code"),name:"zip"},{default:D(()=>[K(F,{modelValue:f.value.zip,"onUpdate:modelValue":[I[14]||(I[14]=G=>f.value.zip=G),I[15]||(I[15]=G=>C("zip",G))],name:"zip",placeholder:v(t)("form.common.zip","Zip Code")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",une,[K(q,{label:v(t)("form.common.city","City"),name:"city"},{default:D(()=>[K(F,{modelValue:f.value.city,"onUpdate:modelValue":[I[16]||(I[16]=G=>f.value.city=G),I[17]||(I[17]=G=>C("city",G))],name:"city",placeholder:v(t)("form.common.city","City")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",cne,[K(q,{label:v(t)("form.common.country","Country"),name:"country",required:""},{default:D(()=>[K(O,{modelValue:f.value.country,"onUpdate:modelValue":[I[18]||(I[18]=G=>f.value.country=G),I[19]||(I[19]=G=>C("country",G))],name:"country",options:v(u),placeholder:v(t)("form.common.country.defaultOption","Please select your country"),loading:v(c),error:k("country"),disabled:p.value,onClearError:I[20]||(I[20]=G=>S("country"))},null,8,["modelValue","options","placeholder","loading","error","disabled"])]),_:1},8,["label"])]),_("div",dne,[K(q,{label:v(t)("form.common.telephone","Telephone"),name:"telephone"},{default:D(()=>[K(F,{modelValue:f.value.telephone,"onUpdate:modelValue":[I[21]||(I[21]=G=>f.value.telephone=G),I[22]||(I[22]=G=>C("telephone",G))],name:"telephone",type:"tel",placeholder:v(t)("form.common.telephone","Telephone")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_("div",fne,[K(q,{name:"terms",required:""},{default:D(()=>[K(L,{modelValue:f.value.terms,"onUpdate:modelValue":[I[23]||(I[23]=G=>f.value.terms=G),I[24]||(I[24]=G=>C("terms",G))],name:"terms",label:v(t)("form.common.terms.label","I accept the Privacy Policy"),error:k("terms"),required:!0},{error:D(()=>[_("p",pne,te(v(t)("form.common.terms.required","You must accept the Privacy Policy")),1)]),_:1},8,["modelValue","label","error"])]),_:1})]),_("div",hne,[K(N,{type:"submit",loading:y.value},{default:D(()=>[Le(te(v(t)("form.common.submit","Submit")),1)]),_:1},8,["loading"])])]),_:1},8,["state"]),m.value&&!e.actionUrl?(P(),X(H,{key:0,color:"green",variant:"soft",title:v(t)("form.common.success-message","Successfully sent!"),class:"mt-4 pl-0"},null,8,["title"])):ae("",!0)],64))])}}},gne=En(mne,[["__scopeId","data-v-6362f0ee"]]),vne={key:1,class:"flex w-full flex-col gap-[50px]"}
114,yne={class:"drawer-form-slot min-w-0 w-full"},bne=pe({__name:"FormVariants",props:hl({variant:{default:"contact"},actionUrl:{default:""},emailSender:{default:"[email protected]"},applicationsItems:{default:()=>[]},site:{default:""},guestTicketEnabled:{type:Boolean,default:!0},appointmentEnabled:{type:Boolean,default:!0},emailSubject:{default:""},inDrawer:{type:Boolean,default:!1}},{drawerThankYou:{type:Boolean,default:!1},drawerThankYouModifiers:{}}),emits:["update:drawerThankYou"],setup(e){const t={quotation:2,demo:3,expert:4},{t:n}=td(),{trackGoal:r}=NZ(),o=Wc(e,"drawerThankYou"),i=e,s=W(()=>i.inDrawer?"w-full":"mx-auto p-6");function l(){const p=t[i.variant];p!==void 0&&r(p),o.value=!0}const a={contact:O_,quotation:Iee,landingPageForm:zee,demo:ote,expert:bte,ibeamSmart:jte,newsletterSubscription:gne},u=W(()=>a[i.variant]||O_),c=W(()=>{const p=i.variant,f={contact:["form.contact.headline","Contact"],quotation:["form.quotation.headline","Request a quotation"],landingPageForm:["form.landingPage.headline","Exhibition registration"],demo:["form.demo.headline","Request a demo"],expert:["form.expert.headline","Contact an expert"],ibeamSmart:["form.ibeamSmart.headline","Request iBeam smart"],newsletterSubscription:["form.newslettersubscription.headline","Newsletter"]},[m,h]=f[p]??f.contact;return n(m,h)}),d=W(()=>{if(typeof i.applicationsItems=="string")try{return JSON.parse(i.applicationsItems)}catch{return[]}return i.applicationsItems||[]});return(p,f)=>(P(),B("div",{class:re(s.value)},[p.inDrawer&&o.value?(P(),X(qZ,{key:0})):p.inDrawer?(P(),B("div",vne,[K(BZ,null,{default:D(()=>[Le(te(c.value),1)]),_:1}),_("div",yne,[(P(),X(yr(u.value),{"action-url":p.actionUrl,"applications-items":d.value,site:p.site,"guest-ticket-enabled":p.guestTicketEnabled,"appointment-enabled":p.appointmentEnabled,"email-subject":p.emailSubject,"in-drawer":"",onDrawerSubmitSuccess:l},null,40,["action-url","applications-items","site","guest-ticket-enabled","appointment-enabled","email-subject"]))])])):(P(),X(yr(u.value),{key:2,"email-sender":p.emailSender,"action-url":p.actionUrl,"applications-items":d.value,site:p.site,"guest-ticket-enabled":p.guestTicketEnabled,"appointment-enabled":p.appointmentEnabled,"email-subject":p.emailSubject},null,8,["email-sender","action-url","applications-items","site","guest-ticket-enabled","appointment-enabled","email-subject"]))],2))}}),zy=En(bne,[["__scopeId","data-v-4691b64b"]]),xne={class:"relative min-h-[100dvh] w-full bg-black text-white px-8 xl:px-0"},_ne={key:0,class:"thank-you-drawer-backdrop pointer-events-none fixed inset-0 z-[4] hidden xl:block","aria-hidden":"true"},wne=["src"],Sne={class:"drawer-form-panel w-full"},kne={key:0,class:"thank-you-drawer-image relative z-[4] min-h-0 overflow-hidden bleed-full-width-always xl:hidden h-[60vh]","aria-hidden":"true"},Cne=["src"],Tne={key:2,class:"mx-auto grid min-h-[100dvh] w-full min-w-0 grid-cols-1 grid-rows-[1fr_auto] gap-0 pb-0 xl:gap-6 xl:grid-cols-12 xl:grid-rows-1 xl:items-center container sm:max-w-xl md:max-w-3xl lg:max-w-7xl"},Ene={class:"mx-auto flex w-[min(100%,415px)] max-w-full flex-col gap-4 max-xl:mb-10 max-xl:justify-end xl:order-2 xl:col-span-4 xl:mb-0 xl:justify-center"},Pne={class:"inline-flex w-full items-center justify-center gap-button-gap text-inherit"},Ine={class:"whitespace-nowrap text-trim"},Ane={class:"drawer-image-bleed relative min-h-[200px] overflow-hidden bleed-full-width xl:order-1 xl:col-span-8 xl:flex xl:min-h-0 xl:min-w-0 xl:flex-col xl:justify-end xl:self-end xl:overflow-hidden"},$ne=["src"],q_="/assets/drawer-open.png",R_="/assets/drawer-thankyou.png",Mne=pe({__name:"FullHeightDrawerPanelContent",props:{drawerOpen:{type:Boolean,default:void 0}},emits:["close"],setup(e,{emit:t}){const n=t,r=e,o=V(null),i=V(!1);function s(){return a("drawerPanelImage")}function l(){return a("drawerThankyouImage")}function a(m){const h=document.querySelector("[data-animated-button]"),g=Reflect.get(globalThis,"HTMLElement");return h===null||typeof g!="function"||!(h instanceof g)?"":h.dataset[m]?.trim()??""}const u=W(()=>typeof document>"u"?q_:s()||q_),c=W(()=>typeof document>"u"?R_:l()||R_),d=[{label:"Contact an expert",variant:"expert"},{label:"Request a quotation",variant:"quotation"},{label:"Request a demo",variant:"demo"}],p=W(()=>typeof document>"u"?"":document.body?.dataset.site??""),f=W(()=>{if(typeof document>"u")return[];
114const m=document.body?.dataset.formApplicationsItems;if(!m)return[];try{const h=JSON.parse(m);return Array.isArray(h)?h:[]}catch{return[]}});return we(()=>r.drawerOpen,m=>{m===!1&&(o.value=null)}),we(o,()=>{i.value=!1}),(m,h)=>(P(),B("div",xne,[o.value!==null&&i.value?(P(),B("div",_ne,[_("img",{src:c.value,alt:"",width:"1600",height:"900",decoding:"async",fetchpriority:"low",class:"absolute inset-0 h-full min-h-[100dvh] w-full object-cover object-[22%_15%]"},null,8,wne),h[3]||(h[3]=_("div",{class:"absolute inset-0 bg-gradient-to-b from-black/35 via-transparent to-black/85"},null,-1))])):ae("",!0),_("button",{type:"button",class:"absolute right-8 top-8 z-30 flex size-8 shrink-0 items-center justify-center rounded-full bg-transparent text-white transition-colors duration-200 ease-out hover:text-primary","aria-label":"Close panel",onClick:h[0]||(h[0]=g=>n("close"))},[...h[4]||(h[4]=[Wp('<span class="sr-only" data-v-32eeb0c8>Close</span><svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg" class="block" data-v-32eeb0c8><circle cx="15" cy="15" r="14.5" stroke="currentColor" data-v-32eeb0c8></circle><path d="M9 9L21 21" stroke="currentColor" data-v-32eeb0c8></path><path d="M9 21L21 9" stroke="currentColor" data-v-32eeb0c8></path></svg>',2)])]),o.value?(P(),B("div",{key:1,class:re(["mx-auto min-h-[100dvh] w-full pt-24 container sm:max-w-xl md:max-w-3xl lg:max-w-7xl",i.value?"max-xl:grid max-xl:grid-rows-[1fr_auto] max-xl:gap-0 max-xl:pb-0 xl:pb-12":"pb-12"])},[_("div",{class:re(["min-w-0",i.value?"max-xl:flex max-xl:min-h-0 max-xl:flex-col max-xl:justify-end":""])},[_("button",{type:"button",class:"relative z-[25] mb-6 text-base font-light text-toptica-grey-2 transition-colors hover:text-primary",onClick:h[1]||(h[1]=g=>o.value=null)}," â Back "),_("div",Sne,[K(zy,{"drawer-thank-you":i.value,"onUpdate:drawerThankYou":h[2]||(h[2]=g=>i.value=g),variant:o.value,site:p.value,"applications-items":f.value,"in-drawer":""},null,8,["drawer-thank-you","variant","site","applications-items"])])],2),i.value?(P(),B("div",kne,[_("img",{src:c.value,alt:"",width:"1600",height:"900",decoding:"async",fetchpriority:"low",class:"h-full w-full object-cover object-[22%_15%]"},null,8,Cne),h[5]||(h[5]=_("div",{class:"absolute inset-0 bg-gradient-to-t from-black/85 via-trans
114parent to-black/25"},null,-1))])):ae("",!0)],2)):(P(),B("div",Tne,[_("div",Ene,[(P(),B(ye,null,Ce(d,g=>K(Ih,{key:g.variant,type:"button",onClick:y=>o.value=g.variant},{default:D(()=>[_("span",Pne,[_("span",Ine,te(g.label),1),h[6]||(h[6]=_("svg",{class:"h-[19px] w-[26px] shrink-0 text-inherit",viewBox:"0 0 26 19",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[_("path",{d:"M24.8412 0.75H0.880415C0.808389 0.75 0.75 0.80501 0.75 0.872869V17.9516C0.75 18.0195 0.808389 18.0745 0.880415 18.0745H24.8412C24.9132 18.0745 24.9716 18.0195 24.9716 17.9516V0.872869C24.9716 0.80501 24.9132 0.75 24.8412 0.75Z",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10"}),_("line",{x1:"4.75",y1:"5",x2:"18.75",y2:"5",stroke:"currentColor","stroke-width":"1.5"}),_("line",{x1:"4.75",y1:"9",x2:"13.75",y2:"9",stroke:"currentColor","stroke-width":"1.5"}),_("line",{x1:"4.75",y1:"13",x2:"13.75",y2:"13",stroke:"currentColor","stroke-width":"1.5"}),_("path",{d:"M16.75 10.4423L18.3274 12.75L20.75 7.75",stroke:"currentColor","stroke-width":"1.5"})],-1))])]),_:2},1032,["onClick"])),64))]),_("div",Ane,[_("img",{src:u.value,alt:"",width:"1600",height:"900",decoding:"async",fetchpriority:"low",class:"h-[50vh] w-full object-cover object-left-bottom max-sm:min-h-[200px] xl:h-auto xl:max-h-screen 2xl:h-auto xl:w-full"},null,8,$ne)])]))]))}}),One=En(Mne,[["__scopeId","data-v-32eeb0c8"]]),Mv="full-height-drawer:open",Ov="full-height-drawer:close",Lv="full-height-drawer:toggle",B_="full-height-drawer:set-open",Lne=pe({__name:"FullHeightDrawer",setup(e){const t=V(!1);Ll(t);function n(){t.value=!0}function r(){t.value=!1}function o(){t.value=!t.value}function i(l){const a=l.detail;a&&typeof a.open=="boolean"&&(t.value=a.open)}function s(){t.value=!1}return Ve(()=>{document.addEventListener(Mv,n),document.addEventListener(Ov,r),document.addEventListener(Lv,o),document.addEventListener(B_,i)}),vn(()=>{document.removeEventListener(Mv,n),document.removeEventListener(Ov,r),document.removeEventListener(Lv,o),document.removeEventListener(B_,i)}),(l,a)=>{const u=PZ;return P(),X(u,{open:t.value,"onUpdate:open":a[0]||(a[0]=c=>t.value=c),direction:"bottom",handle:!1,modal:!0,dismissible:!0,ui:{overlay:"full-height-drawer-overlay z-[100] bg-black/70",content:"full-height-drawer z-[100] !mt-0 h-[100dvh] max-h-[100dvh] flex flex-col rounded-none inset-x-0 bottom-0 bg-black",header:"sr-only",container:"flex min-h-[100dvh] flex-1 flex-col gap-0 p-0",body:"min-h-0 min-w-0 flex-1 overflow-y-auto"}},{title:D(()=>[...a[1]||(a[1]=[_("span",null,"Menu",-1)])]),body:D(()=>[se(l.$slots,"body",{},()=>[K(One,{"drawer-open":t.value,onClose:s},null,8,["drawer-open"])])]),_:3},8,["open"])}}});function Vm(e,t){for(const n of document.querySelectorAll(e))n.addEventListener("click",r=>{r.preventDefault(),document.dispatchEvent(new globalThis.CustomEvent(t))})}function qne(){Vm("[data-full-height-drawer-open]",Mv),Vm("[data-full-height-drawer-close]",Ov),Vm("[data-full-height-drawer-toggle]",Lv)}class oo{static instances=[];static apiLoaded=!1;videoId;videoType;container;poster;iframe;iframeContainer;videoContainer;loadingSpinner;player=null;isPlayerReady=!1;isVideoPlaying=!1;isLoading=!1;constructor(t){const n=t.dataset.videoId,r=t.dataset.videoType;if(!n||!r)throw new Error("No data-video-id or data-video-type found on container");if(this.container=t,this.videoId=n,this.videoType=r,this.poster=t.querySelector(`#poster-${n}`),this.iframe=t.querySelector(`#video-iframe-${n}
114`),this.iframeContainer=t.querySelector(`#video-iframe-container-${n}`),this.videoContainer=t.querySelector(`#video-iframe-container-${n} video`),this.loadingSpinner=t.querySelector(`#loading-${n}`),!this.poster&&(!this.iframe||!this.iframeContainer||!this.videoContainer))throw new Error("Required poster or iframe elements not found");this.setupEvents(),oo.instances.push(this),oo.apiLoaded?globalThis.YT&&this.initPlayer():this.videoType==="youtube"&&this.loadYouTubeAPI()}isConsentBlocked(){return this.container.classList.contains("consent-blocked")}loadYouTubeAPI(){if(!this.isConsentBlocked()){if(globalThis.YT){oo.apiLoaded=!0;for(const t of oo.instances)t.initPlayer();return}if(!document.querySelector('script[src*="youtube.com/iframe_api"]')){const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",document.head.append(t)}globalThis.onYouTubeIframeAPIReady=()=>{oo.apiLoaded=!0;for(const t of oo.instances)t.initPlayer()}}}initPlayer(){!globalThis.YT||this.isPlayerReady||this.iframe===null||this.iframe.src==="about:blank"||(this.player=new globalThis.YT.Player(`video-iframe-${this.videoId}`,{events:{onReady:()=>{this.isPlayerReady=!0,this.hideLoading()},onStateChange:t=>{t.data===1?this.hideLoading():t.data===3&&this.showLoading()}}}))}showLoading(){this.loadingSpinner&&!this.isLoading&&(this.isLoading=!0,this.loadingSpinner.classList.remove("invisible"))}hideLoading(){this.loadingSpinner&&this.isLoading&&(this.isLoading=!1,this.loadingSpinner.classList.add("invisible"))}setupEvents(){this.poster.removeEventListener("click",this.handleClick),this.poster.removeEventListener("touchstart",this.handleClick),this.poster.addEventListener("click",this.handleClick.bind(this)),this.poster.addEventListener("touchstart",this.handleClick.bind(this))}handleClick(t){t.preventDefault(),t.stopPropagation(),this.isVideoPlaying?this.videoType==="video"?this.stopVideoFile():this.stopExternalVideo():this.videoType==="video"?this.playVideoFile():this.playExternalVideo()}playVideoFile(){this.isVideoPlaying=!0,this.poster.style.opacity="0",this.iframeC
114ontainer.classList.remove("invisible"),this.iframeContainer.classList.add("visible"),this.videoContainer&&this.videoContainer.play()}playExternalVideo(){if(!(this.isConsentBlocked()&&this.videoType==="youtube")){if(this.showLoading(),this.iframe.src==="about:blank"){let t=this.iframe.dataset.src||"";const n=this.iframe.dataset.videoControls==="1",r=this.iframe.dataset.videoSubtitles==="1",o=this.iframe.dataset.videoLocale||"en";if(t)switch(this.videoType){case"youtube":{let i=`?enablejsapi=1&autoplay=1&loop=1&playlist=${this.videoId}&showinfo=0&modestbranding=1&rel=0`;i+=n?"&controls=1":"&controls=0",r&&(i+=`&cc_load_policy=1&cc_lang_pref=${o}&hl=${o}`),t=`https://www.youtube.com/embed/${this.videoId}${i}`;break}case"youku":{let i="?byline=0&portrait=0&rel=0&autoplay=1";i+=n?"&controls=1&showinfo=1":"&controls=0&showinfo=0",i+=r?"&title=1":"&title=0",t=`https://player.youku.com/embed/${this.videoId}${i}`;break}}this.iframe.src=t,(this.videoType!=="youtube"||!this.isPlayerReady)&&(this.iframe.addEventListener("load",()=>{this.hideLoading()}),globalThis.setTimeout(()=>{this.hideLoading()},3e3))}this.poster.style.opacity="0",this.isVideoPlaying=!0,this.iframeC
114ontainer.classList.remove("invisible"),this.iframeContainer.classList.add("visible"),this.player?.playVideo?globalThis.setTimeout(()=>{this.player?.seekTo(),this.player?.playVideo()},500):globalThis.setTimeout(()=>{this.hideLoading()},1500)}}stopVideoFile(){this.isVideoPlaying=!1,this.poster.style.opacity="1",this.iframeContainer.classList.remove("visible"),this.iframeContainer.classList.add("invisible"),this.videoContainer&&(this.videoContainer.pause(),this.videoContainer.currentTime=0)}stopExternalVideo(){this.hideLoading(),this.poster.style.opacity="1",this.isVideoPlaying=!1,this.iframeContainer.classList.add("invisible"),this.iframeContainer.classList.remove("visible"),this.player?.stopVideo&&this.player.stopVideo(),this.iframe&&(this.iframe.src="about:blank"),this.isPlayerReady=!1}static stopAllVideos(){for(const t of oo.instances)t.stopExternalVideo(),t.stopVideoFile()}static init(){const t=document.querySelectorAll("[data-video-id]");for(const n of t)n.dataset.videoPlayerInitialized||(new oo(n),n.dataset.videoPlayerInitialized="true")}static autoInit(){this.init(),new globalThis.MutationObserver(()=>{this.init()}).observe(document.body,{childList:!0,subtree:!0})}}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{oo.autoInit()}):oo.autoInit();globalThis.VideoPlayer=oo;et.registerPlugin(De);const Rne={init:function(){const e=document.querySelector(".animation-container"),t=document.querySelector(".js-hero-animation"),n=document.querySelector("section .js-hero-animation-target"),r=document.querySelector(".js-grey-overlay"),o=document.querySelector(".js-hero-overlay"),i=document.querySelector("section .js-hero-animation-headline");if(!e||!t||!n||!r||!o||!i)return;const s=n.closest("section");if(!s)return;const l=document.querySelectorAll("section:not(.js-hero-section)"),a=document.querySelectorAll(".js-hero-stagger");if(window.innerWidth<1024){et.set(r,{display:"none"}),et.set(o,{opacity:.85}),et.set(s,{zIndex:50}),et.set(n,{zIndex:99}),et.set(i,{zIndex:50,x:"0%"});let w=50;for(const E of l)et.set(E,{zIndex:w--,position:"relative",opacity:1,y:0});et.set(a,{zIndex:50,position:"relative",opacity:1,y:0});return}const u=window.scrollY||window.pageYOffset,c=t.getBoundingClientRect(),d=n.getBoundingClientRect(),p=(d.left-c.left)/c.width*100,f=(d.top+u-(c.top+u))/c.height*100,m=(d.right-c.left)/c.width*100,h=(d.bottom+u-(c.top+u))/c.height*100,g=`polygon( 115 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 116 0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0% 117 )`,y=`polygon( 118 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 119 ${p}% ${f}%, ${p}% ${h}%, ${m}% ${h}%, ${m}% ${f}%, ${p}% ${f}% 120 )`,b=et.timeline({scrollTrigger:{trigger:e,start:"clamp(top top)",end:"+=175%",scrub:!0,pin:e,pinSpacing:!0,markers:!1,invalidateOnRefresh:!0,anticipatePin:!0,fastScrollEnd:!0,onLeave:()=>{et.set(l,{clearProps:"opacity,y"}),et.set(a,{clearProps:"opacity,y"}),globalThis.dispatchEvent(new Event("hero-animation:leave"))},onEnterBack:()=>{let w=50;for(const E of l)et.set(E,{zIndex:w--,position:"relative",opacity:1,y:0});et.set(a,{zIndex:50,position:"relative",opacity:1,y:0}),globalThis.dispatchEvent(new Event("hero-animation:enter-back"))}}});let x=50;for(const w of l)et.set(w,{zIndex:x--,position:"relative",opacity:0,y:-40});et.set(a,{zIndex:50,position:"relative",opacity:0,y:-40}),b.fromTo(r,{clipPath:g},{clipPath:y,ease:"none",duration:1.05},0).fromTo(o,{opacity:0},{opacity:.85,ease:"none",duration:1.05},0).set(s,{zIndex:50},1.05).set(n,{zIndex:99},1.05).set(i,{zIndex:50},1.05).fromTo(i,{x:"-110%"},{x:"0%",ease:"none",duration:.175},1.05).to(l,{y:0,opacity:1,ease:"none",duration:.175},1.225).to(a,{y:0,opacity:1,ease:"none",duration:.175},1.225).to({},{duration:.35},1.4)}},Gl={searchContainerClass:".search-page",searchUrl:"/dynamic-search/default/j-search?q=##query##"};class Bne{searchContainer;searchInput;searchQuery="";searchNotification;searchTotal;searchListResult;searchResponse;totalsText="";totalItems=0;currentPage=1;maxPerPage=10;totalPages=1;baseDomain="";constructor(){this.searchContainer=document.querySelector(Gl.searchContainerClass)}init(){if(this.searchContainer)this.initElements(),this.runSearchEvent();else return}initElements(){this.searchInput=this.searchContainer.querySelector(Gl.searchContainerClass+'-input input[name="search"]'),this.searchNotification=this.searchContainer.querySelector(Gl.searchContainerClass+"-result-notifications"),this.searchTotal=this.searchContainer.querySelector(Gl.searchContainerClass+"-result-totals"),this.searchListResult=this.searchContainer.querySelector(Gl.searchContainerClass+"-result-list"),this.totalsText=this.searchContainer.dataset.totalsText||"Results",this.baseDomain=this.searchContainer.dataset.baseDomain||""}runSearchEvent(){this.searchInput!==null&&this.searchInput.addEventListener("keypress",t=>{t.key==="Enter"&&(this.searchQuery=t.target.value,this.searchQuery.length>0&&(this.resetSearchResult(),this.resetSearchResultComposer(),this.resetPagination(),this.callRequest().then(n=>{this.postRequest(n),this.listResultComposer()})))})}callRequest(){return this.callRequestWithPage(1)}postRequest(t){this.searchResponse=t.result,this.totalItems=t.total_count,this.currentPage=t.current_page,this.maxPerPage=t.max_per_page,this.totalPages=t.total_pages}listResultComposer(){this.totalItems===0?this.searchNotification.classList.remove("hidden"):(this.totalColumnComposer(),this.listColumnComposer(),this.paginationComposer())}totalColumnComposer(){if(this.totalItems>0){const t=this.searchTotal.querySelector(".result-total-wrapper");t.classList.add("flex","flex-col","px-4");const n=Math.min(this.currentPage*this.maxPerPage,this.totalItems);t.textContent=`${n} von ${this.totalItems} ${this.totalsText}`,this.searchTotal.classList.remove("hidden")}}listColumnComposer(){if(this.totalItems>0){const t=this.searchListResult.querySelector(".result-list-wrapper"),n=document.createElement("ul");n.classList.add("flex-1");for(const r of this.searchResponse){const o=document.createElement("li");o.classList.add("[&:not(:first-child)]:mt-4");const i=document.createElement("div"),s=document.createElement("a"),l=document.createElement("h5"),a=document.createElement("p");if(i.classList.add("flex","flex-col","p-4"),"category"in r){const f=document.createElement("span");f.classList.add("category"),f.textContent=r.category}l.textContent=r.title||"Title",l.classList.add("title","text-2xl","font-bold","text-primary"),s.href=this.baseDomain+r.uri,s.append(l);const u=document.createElement("div"),c=document.createElement("span");u.classList.add("flex","flex-column","gap-2"),c.textContent="URL:",u.append(c);const d=document.createElement("a");d.classList.add("text-primary"),d.href=this.baseDomain+r.uri,d.textContent=this.baseDomain+r.uri,u.append(d);let p="";for(const f of Object.keys(r))if(f==="content"||f.startsWith("main")){const m=d
120ocument.createElement("div");m.innerHTML=r[f];const h=m.textContent||"";p+=" "+h}p=p.length>300?p.slice(0,300)+"...":p,p=p.replaceAll(new RegExp(`${this.searchInput.value}`,"ig"),'<span class="selection:bg-primary selection:text-white">'+this.searchInput.value+"</span>"),a.innerHTML=p.trim(),a.classList.add("description","mt-3"),i.append(s),i.append(u),i.append(a),o.append(i),n.append(o)}t.append(n),this.searchListResult.classList.remove("hidden")}}paginationComposer(){if(this.totalPages<=1)return;const t=this.searchContainer.querySelector(".search-page-pagination");if(!t)return;t.innerHTML="",t.classList.remove("hidden");const n=document.createElement("div");n.classList.add("flex","items-center","justify-center","gap-2","my-8");const r=this.createPaginationButton('<svg class="w-8 h-8" width="6" height="12" viewBox="0 0 6 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 1L1 6L5 11" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',this.currentPage>1,()=>this.goToPage(this.currentPage-1));r&&n.append(r);const o=this.calculatePageNumbers();for(const s of o)if(s===null){const l=document.createElement("span");l.textContent="...",l.classList.add("px-3","py-2","text-gray-500"),n.append(l)}else{const l=this.createPageButton(s);n.append(l)}const i=this.createPaginationButton('<svg class="w-8 h-8" width="6" height="12" viewBox="0 0 6 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 6L1 11" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',this.currentPage<this.totalPages,()=>this.goToPage(this.currentPage+1));i&&n.append(i),t.append(n)}createPaginationButton(t,n,r){const o=document.createElement("button");if(o.innerHTML=t,o.classList.add("px-2","py-2","transition-colors"),n)o.classList.add("text-white","hover:text-primary","cursor-pointer"),o.addEventListener("click",r);else return null;return o}createPageButton(t){const n=document.createElement("button");return n.textContent=t.toString(),n.classList.add("px-3","py-2","rounded","border","transition-colors","min-w-[40px]"),t===this.currentPage?(n.classList.add("bg-primary","text-white","border-primary","cursor-default"),n.disabled=!0):(n.classList.add("bg-white","text-primary","border-primary","hover:bg-primary","hover:text-white","cursor-pointer"),n.addEventListener("click",()=>this.goToPage(t))),n}goToPage(t){t<1||t>this.totalPages||t===this.currentPage||(this.currentPage=t,this.resetSearchResultComposer(),this.callRequestWithPage(t).then(n=>{this.postRequest(n),this.listResultComposer(),this.searchContainer.scrollIntoView({behavior:"smooth",block:"start"})}))}callRequestWithPage(t=1){let n=Gl.searchUrl;return n=n.replace("##query##",this.searchQuery),n+=`&page=${t}`,globalThis.fetch(n).then(r=>r.json()).then(r=>r)}calculatePageNumbers(){const t=[];for(let r=1;r<=this.totalPages;r++)r===1||r===this.totalPages||r>=this.currentPage-2&&r<=this.currentPage+2?t.push(r):t.at(-1)!==null&&t.push(null);return t}resetSearchResult(){this.totalItems=0,this.searchResponse={}}resetSearchResultComposer(){this.resetNotification(),this.resetTotal(),this.resetList()}resetNotification(){this.searchNotification.classList.add("hidden")}resetTotal(){this.searchTotal.classList.add("hidden");const t=this.searchTotal.querySelector(".result-total-wrapper");t.innerHTML=""}resetList(){this.searchListResult.classList.add("hidden");const t=this.searchListResult.querySelector(".result-list-wrapper");t.innerHTML=""}resetPagination(){const t=this.searchContainer.querySelector(".search-page-pagination");t&&(t.classList.add("hidden"),t.innerHTML="")}}const Fne=new Bne;function Dne(e){const t=e.indexOf("#");return t===-1?null:e.slice(t+1)||null}const Nne=new Set(["search","hero-section"]),Vne="img, picture, svg, video, iframe",zne=["#product-list","#product-list-application","#product-list-specs"].join(", ");function jne(){const e=new Set;if(document.documentElement.classList.contains("editmode"))return e;for(const t of document.querySelectorAll("section")){if(Nne.has(t.id)||t.querySelector(zne))continue;const n=t.cloneNode(!0);n.querySelector("h1, h2, h3, h4, h5, h6")?.remove();const r=n.textContent?.trim().length===0,o=t.querySelector(Vne)!==null;r&&!o&&(t.style.display="none",t.id&&e.add(t.id))}return e}function Hne(e){if(e.size!==0)for(const t of document.querySelectorAll("[data-quicklinks]"))for(const n of t.querySelectorAll("a[href]")){const r=n.getAttribute("href");if(!r)continue;const o=Dne(r);o&&e.has(o)&&n.setAttribute("style","display: none")}}class Une{init(t){Hne(t)}}const Wne=new Une;class Gne{swipers=[];init(){const t=document.querySelectorAll(".benefits-swiper");t&&(window.innerWidth<768&&this.initSwiper(t),window.addEventListener("resize",()=>{window.innerWidth<768&&this.swipers.length===0?this.initSwiper(t):window.innerWidth>=768&&this.swipers.length>0&&this.destroySwipers()}))}initSwiper(t){for(const n of t){const r=new tu(n,{modules:[hh,mh,gh],enabled:!0,breakpoints:{768:{enabled:!1}},slidesPerView:1,spaceBetween:24,loop:!0,watchSlidesProgress:!0,autoHeight:!1,pagination:{el:".swiper-pagination",clickable:!1},navigation:{nextEl:".benefits-swiper-button-next",prevEl:".benefits-swiper-button-prev"}});this.swipers.push(r)}}destroySwipers(){for(const t of this.swipers)t.destroy(!0,!0),this.swiper=[]}}const Kne=new Gne;class Yne{swipers=[];init(){const t=document.querySelectorAll(".js-slider-fullwidth");
120if(!(!t||t.length===0))for(const n of t)this.initSwiper(n)}initSwiper(t){const n=Number.parseInt(t.dataset.autoplayInterval,10)||5e3,r=t.closest(".bleed-full-width-always"),o=r?r.querySelectorAll(".js-slider-bar"):[],i=t.querySelector(".js-slider-pagination"),s=r?r.querySelector(".js-slider-prev"):null,l=r?r.querySelector(".js-slider-next"):null,a=new tu(t,{modules:[mh,gh,hh],direction:"horizontal",loop:!0,slidesPerView:1,spaceBetween:0,autoplay:{delay:n,disableOnInteraction:!0},navigation:s&&l?{prevEl:s,nextEl:l}:!1,pagination:i?{el:i,clickable:!0,bulletClass:"w-2 h-2 bg-white/50 rounded-full cursor-pointer transition-all duration-300",bulletActiveClass:"!bg-primary"}:!1,on:{init:function(){F_(this.realIndex,o)},slideChange:function(){F_(this.realIndex,o)}}});a.autoplay.stop();let u=!1,c=globalThis.innerWidth>=1024&&!!document.querySelector(".js-hero-animation");const d=()=>{u&&!c?a.autoplay.start():a.autoplay.stop()};new globalThis.IntersectionObserver(([f])=>{u=f.intersectionRatio>=.1,d()},{threshold:[0,.1]}).observe(t),globalThis.addEventListener("hero-animation:leave",()=>{c=!1,d()}),globalThis.addEventListener("hero-animation:enter-back",()=>{c=!0,d()});for(const[f,m]of[...o].entries())m.addEventListener("click",()=>{a.slideToLoop(f)});this.swipers.push(a)}}function F_(e,t){for(const[n,r]of[...t].entries())n===e?(r.classList.remove("bg-white/50"),r.classList.add("bg-primary")):(r.classList.remove("bg-primary"),r.classList.add("bg-white/50"))}const Xne=new Yne;class Qne{swipers=[];init(){const t=document.querySelectorAll(".js-slider-testimonial");if(!(!t||t.length===0))for(const n of t)this.initSwiper(n)}initSwiper(t){const n=Number.parseInt(t.dataset.autoplayInterval,10)||5e3,r=t.closest(".col-span-12"),o=r?r.querySelectorAll(".js-slider-bar"):[],i=t.querySelector(".js-slider-pagination"),s=r?r.querySelector(".js-slider-prev"):null,l=r?r.querySelector(".js-slider-next"):null,a=new tu(t,{modules:[mh,gh,hh],direction:"horizontal",loop:!0,slidesPerView:1,spaceBetween:0,autoplay:{delay:n,disableOnInteraction:!0},navigation:s&&l?{prevEl:s,nextEl:l}:!1,pagination:i?{el:i,clickable:!0,bulletClass:"w-2 h-2 bg-white/50 rounded-full cursor-pointer transition-all duration-300",bulletActiveClass:"!bg-primary"}:!1,on:{init:function(){D_(this.realIndex,o)},slideChange:function(){D_(this.realIndex,o)}}});a.autoplay.stop();let u=!1,c=globalThis.innerWidth>=1024&&!!document.querySelector(".js-hero-animation");const d=()=>{u&&!c?a.autoplay.start():a.autoplay.stop()};new globalThis.IntersectionObserver(([f])=>{u=f.intersectionRatio>=.1,d()},{threshold:[0,.1]}).observe(t),globalThis.addEventListener("hero-animation:leave",()=>{c=!1,d()}),globalThis.addEventListener("hero-animation:enter-back",()=>{c=!0,d()});for(const[f,m]of[...o].entries())m.addEventListener("click",()=>{a.slideToLoop(f)});this.swipers.push(a)}}function D_(e,t){for(const[n,r]of[...t].entries())n===e?(r.classList.remove("bg-white/50"),r.classList.add("bg-primary")):(r.classList.remove("bg-primary"),r.classList.add("bg-white/50"))}const Jne=new Qne;class Zne{init(){const t=document.querySelectorAll(".js-event-list");for(const n of t)this.initToggle(n)}initToggle(t){const n=t.querySelector('.js-event-list-btn[data-view="grid"]'),r=t.querySelector('.js-event-list-btn[data-view="list"]'),o=t.querySelector('.js-event-list-view[data-view="grid"]'),i=t.querySelector('.js-event-list-view[data-view="list"]');if(!n||!r||!o||!i)return;const s=l=>{const a=l==="grid";o.classList.toggle("hidden",!a),i.classList.toggle("hidden",a),n.classList.toggle("border-primary",a),n.classList.toggle("border-black",!a),n.classList.toggle("opacity-70",!a),r.classList.toggle("border-primary",!a),r.classList.toggle("border-black",a),r.classList.toggle("opacity-70",a),globalThis.localStorage.setItem("newsViewPreference",l)};s(globalThis.localStorage.getItem("newsViewPreference")||"grid"),n.addEventListener("click",()=>s("grid")),r.addEventListener("click",()=>s("list"))}}const ere=new Zne;function C5(e){const t=e.querySelector(".animated-button-main"),n=e.querySelector('[data-glow="left"]'),r=e.querySelector('[data-glow="top"]'),o=e.querySelector('[data-glow="bottom"]'),i=e.querySelector('[data-glow="right"]');if(!t||!n||!r||!o||!i)return null;const a=1.125+.75,u=t.offsetHeight,c=t.offsetWidth,d=et.timeline({paused:!0,defaults:{ease:"none"}});return d.set(n,{opacity:1},0).to(n,{height:u,duration:.375},0).to(t,{clipPath:"inset(0% 100% 0% 0%)",duration:.375},0),d.set([r,o],{opacity:1}
120,.375).to([r,o],{width:c,duration:.75,ease:"power1.in"},.375).to([n,r,o],{boxShadow:"0 0 10px 2px #EF4444, 0 0 20px 4px rgba(239, 68, 68, 0.6), 0 0 30px 6px rgba(239, 68, 68, 0.3)",duration:.45},.375).to(t,{clipPath:"inset(0% 0% 0% 0%)",duration:.75,ease:"power1.in"},.375),d.set(i,{height:u,opacity:1,boxShadow:"0 0 10px 2px #EF4444, 0 0 20px 4px rgba(239, 68, 68, 0.6), 0 0 30px 6px rgba(239, 68, 68, 0.3)"},1.125),d.to([n,r,o,i],{opacity:0,duration:.375},a).to(t,{borderColor:"var(--color-primary)",duration:.375},a),{tl:d,button:t}}function N_(e){const t=e.querySelectorAll(".animated-button-glow");for(const r of t)et.set(r,{opacity:0,width:"",height:""});const n=e.querySelector(".animated-button-main");n&&et.set(n,{clipPath:"inset(100% 100% 0% 0%)",borderColor:"white"})}function V_(e,t){Object.assign(e.style,{position:"",top:"",bottom:"",left:"",right:"",transform:"",zIndex:"",paddingBottom:"",...t})}function tre(e,t,n,r){const s=!!n,l=C5(e);if(!l)return;const{tl:a}=l;let u=null;s&&(u=n.closest("section")||n,u.append(e));let c="resting",d=!1,p=null,f=!1;function m(){f=!0,e.style.pointerEvents="none",et.to(e,{opacity:0,duration:.3,overwrite:!0})}function h(){f=!1,e.style.pointerEvents="",et.to(e,{opacity:1,duration:.3,overwrite:!0})}function g(E){return E.getBoundingClientRect().top+globalThis.scrollY}function y(){const E=g(t)+t.offsetHeight;let T=t.nextElementSibling;for(;T&&T.tagName!=="SECTION";)T=T.nextElementSibling;if(!T)return E;const k=g(T)+(Number.parseInt(globalThis.getComputedStyle(T).paddingTop,10)||0);return(E+k)/2}function b(){e.style.paddingBottom="",p=document.createElement("div"),p.style.height=e.offsetHeight+"px",e.before(p),document.body.append(e),V_(e,{position:"fixed",bottom:"85px",left:"0",right:"0",zIndex:"50"})}function x(){p&&(p.after(e),p.remove(),p=null),V_(e,{}),s&&(e.style.paddingBottom="25px")}function w(){const E=globalThis.scrollY,T=globalThis.innerHeight,k=e.offsetHeight,A=y()+k/2-(T-85),M=s?r?g(p||e)-(T-85-k):g(u)+u.offsetHeight-T/2:1/0;A>=M||(E>=A&&E<M?(c==="reversing"?(a.eventCallback("onReverseComplete",null),a.play(),c="sticky"):c!=="sticky"&&(b(),d||(a.restart(),d=!0),c="sticky"),f&&h()):E>=M&&c==="sticky"?r?(x(),c="resting"):f||m():E<A&&c==="sticky"&&(c="reversing",a.reverse(),a.eventCallback("onReverseComplete",()=>{a.eventCallback("onReverseComplete",null),x(),N_(e),d=!1,c="resting"})))}globalThis.addEventListener("scroll",w,{passive:!0}),globalThis.addEventListener("resize",()=>{a.eventCallback("onReverseComplete",null),a.pause(),x(),N_(e),d=!1,c="resting",f&&(f=!1,e.style.pointerEvents="",et.set(e,{opacity:1})),w()}),globalThis.requestAnimationFrame(()=>w())}function z_(e){const t=C5(e);if(!t)return;const{tl:n}=t;let r=!1;function o(){if(r)return;const i=e.getBoundingClientRect(),s=globalThis.innerHeight/2;i.top<=s&&i.bottom>=s&&(r=!0,n.play(),globalThis.removeEventListener("scroll",o))}globalThis.addEventListener("scroll",o,{passive:!0}),o()}function nre(){const e=document.querySelectorAll("[data-animated-button]");for(const t of e){const n=t.dataset.startAfter,r=t.dataset.endInSectionId||"additional-information",o=document.querySelector(`#${globalThis.CSS.escape(r)}`),i=t.dataset.isStickyOnEnd!=="false";if(n){const s=document.querySelector(`#${globalThis.CSS.escape(n)}`);s?tre(t,s,o,i):z_(t)}else z_(t)}}function j_(){globalThis.setTimeout(nre,1500)}const rre={init(){document.documentElement.classList.contains("editmode")||(document.readyState==="complete"?j_():globalThis.addEventListener("load",j_))}},jy=pe({inheritAttrs:!1,__name:"Field",props:{suppressFloating:{type:Boolean,default:!1}},setup(e){const t=e,n=Ya(),r=W(()=>{const a=n.label;return typeof a=="string"&&a.length>0}),o=W(()=>!t.suppressFloating&&r.value),i=W(()=>String(n.label??""));Wt("formFieldFloatingLabel",W(()=>o.value?i.value:"")),Wt("formFieldRequired",W(()=>{const a=n.required;return a===!0||a===""}));const s=W(()=>{const a={...n};return o.value&&delete a.label,a}),l=W(()=>({labelWrapper:"max-w-none overflow-visible",label:o.value?"hidden":"mb-2 max-w-none overflow-visible text-clip whitespace-normal text-base font-light text-gray-900 text-trim",help:"text-gray-400 text-sm mt-1",error:"hidden"}));return(a,u)=>{const c=m5;return P(),X(c,be(s.value,{class:"w-full",ui:l.value}),{default:D(()=>[se(a.$slots,"default")]),_:3},16,["ui"])}}}),ore={class:"form-floating-label-pill-bg inline-flex items-baseline gap-0.5 px-1 py-px"},ire={key:0,class:"text-primary","aria-hidden":"true"},sre={class:"flex h-[55px] min-w-10 shrink-0 items-center justify-end gap-1 pr-0.5"},lre={key:0,class:"mt-2"},are={class:"text-sm font-bold text-primary"},Hy=pe({__name:"Input",props:{modelValue:{},error:{},valid:{type:Boolean}},emits:["update:modelValue"],setup(e){const t=e,n=Ya(),r=ft("formFieldFloatingLabel",W(()=>"")),o=ft("formFieldRequired",W(()=>!1)),i=W(()=>v(o)),s=W(()=>{const d=v(r);
120return typeof d=="string"&&d.length>0}),l=W(()=>{const d=t.modelValue;return d==null||d===""}),a=W(()=>t.error&&l.value?"top-1/2 -translate-y-1/2 text-white peer-focus:!-top-3 peer-focus:!translate-y-0 peer-focus:!text-toptica-grey-3":"-top-3 translate-y-0 text-toptica-grey-3 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:text-white peer-focus:!-top-3 peer-focus:!translate-y-0 peer-focus:!text-toptica-grey-3"),u=W(()=>{const d={...n};return s.value&&(d.placeholder="",d["aria-label"]===void 0&&(d["aria-label"]=String(v(r)))),d}),c=W(()=>{const p=`${s.value?"peer ":""}w-full min-h-0 flex-1 border-0 border-transparent bg-transparent px-3 text-base font-light text-white outline-none ring-0 placeholder:font-light placeholder:text-white focus:border-0 focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0`,f="relative flex h-[55px] min-h-[55px] w-full max-w-full items-center rounded-none bg-transparent box-border";return t.error?{root:`${f} border border-primary shadow-none outline-none ring-0 focus-within:border-primary focus-within:shadow-none focus-within:ring-0 focus-within:outline-none`,base:p,rounded:"rounded-none",placeholder:"placeholder:font-light placeholder:text-white"}:{root:`${f} border border-white ring-0 focus-within:border-white focus-within:ring-1 focus-within:ring-white`,base:p,rounded:"rounded-none",placeholder:"placeholder:font-light placeholder:text-white"}});return(d,p)=>{const f=it,m=kh;return P(),B("div",{class:re(["w-full",{relative:s.value}])},[K(m,be(u.value,{"model-value":d.modelValue,color:"neutral",variant:"none",highlight:!1,class:"w-full",ui:c.value,"onUpdate:modelValue":p[0]||(p[0]=h=>d.$emit("update:modelValue",h))}),{trailing:D(()=>[_("div",sre,[d.error?(P(),X(f,{key:0,name:"i-lucide-alert-circle",class:"h-5 w-5 shrink-0 text-primary"})):d.valid&&d.modelValue?(P(),X(f,{key:1,name:"i-lucide-check-circle",class:"h-5 w-5 shrink-0 text-success-500"})):d.modelValue?(P(),X(f,{key:2,name:"i-lucide-check-circle",class:"h-5 w-5 shrink-0 text-success-500"})):ae("",!0)])]),default:D(()=>[s.value?(P(),B("label",{key:0,class:re(["pointer-events-none absolute left-0 right-10 z-20 overflow-visible whitespace-normal px-1.5 text-base font-light leading-base text-trim transition-[top,transform,color] duration-200 ease-out",a.value])}
120,[_("span",ore,[Le(te(v(r)),1),i.value?(P(),B("span",ire,"*")):ae("",!0)])],2)):ae("",!0)]),_:1},16,["model-value","ui"]),d.error?(P(),B("div",lre,[se(d.$slots,"error",{},()=>[_("p",are,te(d.error),1)])])):ae("",!0)],2)}}}),ure={class:"form-floating-label-pill-bg form-floating-label-pill-inner inline-flex items-baseline gap-0.5 rounded-sm px-1 py-px"},cre={key:0,class:"text-primary","aria-hidden":"true"},dre={class:"flex min-h-5 min-w-10 shrink-0 items-start justify-end gap-1 self-start pr-0.5 pt-3"},fre={key:0,class:"mt-2"},pre={class:"text-sm font-bold text-primary"},Uy=pe({__name:"Textarea",props:{modelValue:{},error:{},valid:{type:Boolean},heightPx:{}},emits:["update:modelValue"],setup(e){const t=e,n=W(()=>{if(t.heightPx!=null)return{minHeight:`${t.heightPx}px`,height:`${t.heightPx}px`}}),r=Ya(),o=ft("formFieldFloatingLabel",W(()=>"")),i=ft("formFieldRequired",W(()=>!1)),s=W(()=>v(i)),l=W(()=>{const p=v(o);return typeof p=="string"&&p.length>0}),a=W(()=>{const p=t.modelValue;return p==null||p===""}),u=W(()=>t.error&&a.value?"top-3 translate-y-0 text-white peer-focus:!-top-3 peer-focus:!translate-y-0 peer-focus:!text-toptica-grey-3":"-top-3 translate-y-0 text-toptica-grey-3 peer-placeholder-shown:top-3 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:text-white peer-focus:!-top-3 peer-focus:!translate-y-0 peer-focus:!text-toptica-grey-3"),c=W(()=>{const p={...r};return l.value&&((typeof p.placeholder!="string"||p.placeholder.length===0)&&(p.placeholder="â"),p["aria-label"]===void 0&&(p["aria-label"]=String(v(o)))),p}),d=W(()=>{const p=l.value?"peer ":"",f=t.heightPx==null?"":"h-full min-h-0 ",m=`${p}${f}w-full min-h-0 flex-1 resize-y border-0 bg-transparent px-3 py-3 text-base font-light text-white outline-none ring-0 placeholder:font-light placeholder:text-white focus:border-0 focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0`,g=`relative isolate flex w-full max-w-full ${t.heightPx==null?"items-start ":"h-full min-h-0 max-h-full min-w-0 items-stretch "}rounded-none bg-transparent box-border ring-0`;return t.error?{root:`${g} border border-primary shadow-none outline-none ring-0 focus-within:border-primary focus-within:shadow-none focus-within:ring-0 focus-within:outline-none`,base:m,rounded:"rounded-none",size:{md:"text-base"}}:{root:`${g} border border-white ring-0 focus-within:border-white focus-within:ring-1 focus-within:ring-white`,base:m,rounded:"rounded-none",size:{md:"text-base"}}});return(p,f)=>{const m=it,h=g5;return P(),B("div",{class:re(["w-full",{relative:l.value}])},[_("div",{class:re(p.heightPx==null?"contents":"block w-full shrink-0"),style:gn(n.value)},[K(h,be(c.value,{"model-value":p.modelValue,color:"neutral",variant:"none",highlight:!1,class:p.heightPx==null?"w-full":"h-full min-h-0 w-full",ui:d.value,"onUpdate:modelValue":f[0]||(f[0]=g=>p.$emit("update:modelValue",g))}),{trailing:D(()=>[_("div",dre,[p.error?(P(),X(m,{key:0,name:"i-lucide-alert-circle",class:"h-5 w-5 shrink-0 text-primary"})):p.valid&&p.modelValue?(P(),X(m,{key:1,name:"i-lucide-check-circle",class:"h-5 w-5 shrink-0 text-success-500"})):p.modelValue?(P(),X(m,{key:2,name:"i-lucide-check-circle",class:"h-5 w-5 shrink-0 text-success-500"})):ae("",!0)])]),default:D(()=>[l.value?(P(),B("label",{key:0,class:re(["pointer-events-none absolute left-0 right-10 z-20 overflow-visible whitespace-normal px-1.5 text-base font-light leading-base text-trim transition-[top,transform,color] duration-200 ease-out peer-placeholder-shown:[&_span.form-floating-label-pill-inner]:border-transparent peer-placeholder-shown:[&_span.form-floating-label-pill-inner]:bg-transparent peer-placeholder-shown:[&_span.form-floating-label-pill-inner]:shadow-none",u.value])},[_("span",ure,[Le(te(v(o)),1),s.value?(P(),B("span",cre,"*")):ae("",!0)])],2)):ae("",!0)]),_:1},16,["model-value","class","ui"])],6),p.error?(P(),B("div",fre,[se(p.$slots,"error",{},()=>[_("p",pre,te(p.error),1)])])):ae("",!0)],2)}}}),hre={slots:{base:["relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed",value:"truncate pointer-events-none",placeholder:"truncate text-dimmed",arrow:"fill-default",content:"max-h-60 w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:["group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"],itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemLabel:"truncate"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-1 text-xs"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailingIcon:"size-4",empty:"p-1.5 text-xs"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-1.5 text-sm"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailingIcon:"size-5",empty:"p-2 text-sm"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailingIcon:"size-6",empty:"p-2 text-base"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",n
120one:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus:ring-2 focus:ring-inset focus:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},mre=Object.assign({inheritAttrs:!1},{__name:"Select",props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:[String,Object],required:!1},selectedIcon:{type:[String,Object],required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:null,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:[String,Object],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:[String,Object],required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:[String,Object],required:!1}},emits:["update:open","change","blur","focus","update:modelValue"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=Dn(),s=Xt(),l=Vn(ti(r,"open","defaultOpen","disabled","autocomplete","required","multiple"),o),a=ch(mr(()=>r.portal)),u=mr(()=>yl(r.content,{side:"bottom",sideOffset:8,collisionPadding:8,position:"popper"})),c=mr(()=>r.arrow),{emitFormChange:d,emitFormInput:p,emitFormBlur:f,emitFormFocus:m,size:h,color:g,id:y,name:b,highlight:x,disabled:w,ariaAttrs:E}=eu(r),{orientation:T,size:k}=iy(r),{isLeading:S,isTrailing:C,leadingIconName:A,trailingIconName:M}=dh(mr(()=>yl(r,{trailingIcon:s.ui.icons.chevronDown}))),I=W(()=>k.value||h.value),$=W(()=>nt({extend:nt(hre),...s.ui?.select||{}})({color:g.value,variant:r.variant,size:I?.value,loading:r.loading,highlight:x.value,leading:S.value||!!r.avatar||!!i.leading,trailing:C.value||!!i.trailing,fieldGroup:T.value})),F=W(()=>r.items?.length?yk(r.items)?r.items:[r.items]:[]),q=W(()=>F.value.flatMap(oe=>oe));function O(oe){if(r.multiple&&Array.isArray(oe)){const ce=oe.map(ee=>A1(q.value,ee,{labelKey:r.labelKey,valueKey:r.valueKey})).filter(ee=>ee!=null&&ee!=="");return ce.length>0?ce.join(", "):void 0}return A1(q.value,oe,{labelKey:r.labelKey,valueKey:r.valueKey})}const L=V(null);function N(){r.autofocus&&L.value?.$el?.focus({focusVisible:!0})}Ve(()=>{setTimeout(()=>{N()},r.autofocusDelay)});function Z(oe){const ce=new Event("change",{target:{value:oe}});o("change",ce),d(),p()}function H(oe){if(oe){const ce=new FocusEvent("focus");o("focus",ce),m()}else{const ce=new FocusEvent("blur");o("blur",ce),f()}}function G(oe){return typeof oe=="object"&&oe!==null}return t({triggerRef:L}),(oe,ce)=>(P(),X(v(n7),be({name:v(b)},v(l),{autocomplete:e.autocomplete,disabled:v(w),"default-value":e.defaultValue,"model-value":e.modelValue,"onUpdate:modelValue":Z,"onUpdate:open":H}),{default:D(({modelValue:ee,open:ge})=>[K(v(q7),be({id:v(y),ref_key:"triggerRef",ref:L,class:$.value.base({class:[r.ui?.base,r.class]})},{...oe.$attrs,...v(E)}),{default:D(()=>[v(S)||e.avatar||i.leading?(P(),B("span",{key:0,class:re($.value.leading({class:r.ui?.leading}))},[se(oe.$slots,"leading",{modelValue:ee,open:ge,ui:$.value},()=>[v(S)&&v(A)?(P(),X(it,{key:0,name:v(A),class:re($.value.leadingIcon({class:r.ui?.leadingIcon}))},null,8,["name","class"])):e.avatar?(P(),X(Di,be({key:1,size:r.ui?.itemLeadingAvatarSize||$.value.itemLeadingAvatarSize()},e.avatar,{class:$.value.itemLeadingAvatar({class:r.ui?.itemLeadingAvatar})}),null,16,["size","class"])):ae("",!0)])],2)):ae("",!0),se(oe.$slots,"default",{modelValue:ee,open:ge},()=>[(P(!0),B(ye,null,Ce([O(ee)],xe=>(P(),B(ye,{key:xe},[xe!=null?(P(),B("span",{key:0,class:re($.value.value({class:r.ui?.value}))},te(xe),3)):(P(),B("span",{key:1,class:re($.value.placeholder({class:r.ui?.placeholder}))},te(e.placeholder??"Â "),3))],64))),128))]),v(C)||i.trailing?(P(),B("span",{key:1,class:re($.value.trailing({class:r.ui?.trailing}))},[se(oe.$slots,"trailing",{modelValue:ee,open:ge,ui:$.value},()=>[v(M)?(P(),X(it,{key:0,name:v(M),class:re($.value.trailingIcon({class:r.ui?.trailingIcon}))},null,8,["name","class"])):ae("",!0)])],2)):ae("",!0)]),_:2},1040,["id","class"]),K(v($7),ct(_t(v(a))),{default:D(()=>[K(v(g7),be({class:$.value.content({class:r.ui?.content})},u.value),{default:D(()=>[se(oe.$slots,"content-top"),_("div",{role:"presentation",class:re($.value.viewport({class:r.ui?.viewport}))},[(P(!0),B(ye,null,Ce(F.value,(xe,ie)=>
120(P(),X(v(x7),{key:`group-${ie}`,class:re($.value.group({class:r.ui?.group}))},{default:D(()=>[(P(!0),B(ye,null,Ce(xe,(Q,Y)=>(P(),B(ye,{key:`group-${ie}-${Y}`},[G(Q)&&Q.type==="label"?(P(),X(v(I7),{key:0,class:re($.value.label({class:[r.ui?.label,Q.ui?.label,Q.class]}))},{default:D(()=>[Le(te(v(On)(Q,r.labelKey)),1)]),_:2},1032,["class"])):G(Q)&&Q.type==="separator"?(P(),X(v(O7),{key:1,class:re($.value.separator({class:[r.ui?.separator,Q.ui?.separator,Q.class]}))},null,8,["class"])):(P(),X(v(S7),{key:2,class:re($.value.item({class:[r.ui?.item,G(Q)&&Q.ui?.item,G(Q)&&Q.class]})),disabled:G(Q)&&Q.disabled,value:G(Q)?v(On)(Q,r.valueKey):Q,onSelect:J=>G(Q)&&Q.onSelect?.(J)},{default:D(()=>[se(oe.$slots,"item",{item:Q,index:Y},()=>[se(oe.$slots,"item-leading",{item:Q,index:Y},()=>[G(Q)&&Q.icon?(P(),X(it,{key:0,name:Q.icon,class:re($.value.itemLeadingIcon({class:[r.ui?.itemLeadingIcon,Q.ui?.itemLeadingIcon]}))},null,8,["name","class"])):G(Q)&&Q.avatar?(P(),X(Di,be({key:1,size:Q.ui?.itemLeadingAvatarSize||r.ui?.itemLeadingAvatarSize||$.value.itemLeadingAvatarSize()},{ref_for:!0},Q.avatar,{class:$.value.itemLeadingAvatar({class:[r.ui?.itemLeadingAvatar,Q.ui?.itemLeadingAvatar]})}),null,16,["size","class"])):G(Q)&&Q.chip?(P(),X(XC,be({key:2,size:Q.ui?.itemLeadingChipSize||r.ui?.itemLeadingChipSize||$.value.itemLeadingChipSize(),inset:"",standalone:""},{ref_for:!0},Q.chip,{class:$.value.itemLeadingChip({class:[r.ui?.itemLeadingChip,Q.ui?.itemLeadingChip]})}),null,16,["size","class"])):ae("",!0)]),K(v(E7),{class:re($.value.itemLabel({class:[r.ui?.itemLabel,G(Q)&&Q.ui?.itemLabel]}))},{default:D(()=>[se(oe.$slots,"item-label",{item:Q,index:Y},()=>[Le(te(G(Q)?v(On)(Q,r.labelKey):Q),1)])]),_:2},1032,["class"]),_("span",{class:re($.value.itemTrailing({class:[r.ui?.itemTrailing,G(Q)&&Q.ui?.itemTrailing]}))},[se(oe.$slots,"item-trailing",{item:Q,index:Y}),K(v(C7),{"as-child":""},{default:D(()=>[K(it,{name:e.selectedIcon||v(s).ui.icons.check,class:re($.value.itemTrailingIcon({class:[r.ui?.itemTrailingIcon,G(Q)&&Q.ui?.itemTrailingIcon]}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:2},1032,["class","disabled","value","onSelect"]))],64))),128))]),_:2},1032,["class"]))),128))],2),se(oe.$slots,"content-bottom"),e.arrow?(P(),X(v(d7),be({key:0},c.value,{class:$.value.arrow({class:r.ui?.arrow})}),null,16,["class"])):ae("",!0)]),_:3},16,["class"])]),_:3},16)]),_:3},16,["name","autocomplete","disabled","default-value","model-value"]))}}),gre={class:"flex h-[55px] min-w-14 shrink-0 items-center justify-end gap-2 pr-0.5"},vre={class:"rounded-none !bg-black px-4 py-3 font-light text-inherit"},yre={class:"form-floating-label-pill-bg inline-flex items-baseline gap-0.5 px-1 py-px"},bre={key:0,class:"text-primary","aria-hidden":"true"},xre={key:0,class:"mt-2"},_re={class:"text-sm font-bold text-primary"},wre=pe({__name:"Select",props:{modelValue:{},options:{},error:{}},emits:["update:modelValue"],setup(e){const t=V(!1),n=e,r=Ya(),o=ft("formFieldFloatingLabel",W(()=>"")),i=ft("formFieldRequired",W(()=>!1)),s=W(()=>v(i)),l=W(()=>String(v(o)??"")),a=W(()=>typeof l.value=="string"&&l.value.length>0),u=W(()=>{const g=n.modelValue;return g==null||g===""||Array.isArray(g)&&g.length===0}),c=W(()=>!!(n.error&&String(n.error).trim().length>0)),d=W(()=>!u.value||t.value),p=W(()=>{const g={...r};return delete g.open,delete g["onUpdate:open"],a.value&&(g.placeholder="",g["aria-label"]===void 0&&(g["aria-label"]=l.value)),g}),f=W(()=>{const g="!flex h-[55px] w-full items-center rounded-none bg-transparent text-base font-light text-white placeholder:font-light placeholder:text-white [&_button]:box-border [&_button]:flex [&_button]:h-full [&_button]:min-h-0 [&_button]:w-full [&_button]:items-center [&_button]:bg-transparent [&_button]:rounded-none",y="form-select-dropdown-content max-h-60 w-(--reka-select-trigger-width) !bg-black text-white shadow-none rounded-none border-t-0 ring-transparent -mt-3",b={item:"outline-none ring-0 !rounded-none before:bg-transparent text-white data-[state=checked]:text-[color:var(--color-primary)] hover:bg-transparent hover:text-[color:var(--color-primary)] data-highlighted:bg-transparent data-highlighted:text-[color:var(--color-primary)] data-highlighted:outline-none data-highlighted:ring-0 data-highlighted:not-data-disabled:before:bg-transparent disabled:text-white/50 disabled:hover:text-white/50 disabled:data-highlighted:text-white/50 disabled:data-[state=checked]:text-white/50 disabled:hover:bg-transparent",itemLabel:"rounded-none text-inherit font-light data-[state=checked]:text-[color:var(--color-primary)] hover:bg-transparent hover:text-[color:var(--color-primary)] data-highlighted:bg-transparent data-highlighted:text-[color:var(--color-primary)] active:text-[color:var(--color-primary)]",itemDescription:"font-light text-white/80 data-[state=checked]:text-[color:var(--color-primary)] hover:bg-transparent hover:text-[color:var(--color-primary)] data-highlighted:text-[color:var(--color-primary)]"};return c.value?{base:g,placeholder:"font-light text-white",rounded:"rounded-none",value:"!max-w-none min-w-0 flex-1 overflow-visible whitespace-normal break-words text-left font-light text-white",content:`${y} border-b border-l border-r border-primary`,...b}:{base:g,placeholder:"font-light text-white",rounded:"rounded-none",value:"!max-w-none min-w-0 flex-1 overflow-visible whitespace-normal break-words text-left font-light text-white",content:`${y} border-b border-l border-r border-white`,...b}}),m=W(()=>{const g="pointer-events-none absolute left-0 right-14 z-20 overflow-visible whitespace-normal px-1.5 text-base font-light leading-base text-trim transition-[top,transform,color] duration-200 ease-out";return d.value?`${g} -top-3 translate-y-0 text-toptica-grey-3`:`${g} top-1/2 -translate-y-1/2 text-white group-focus-within/select-float:!-top-3 group-focus-within/select-float:!translate-y-0 group-focus-within/select-float:!text-toptica-grey-3`});function h(g){return typeof g=="object"&&g!==null&&"label"in g?String(g.label):String(g??"")}return(g,y)=>{const b=it,x=mre;return P(),B("div",{class:re(["w-full",[c.value?"form-select--error":"form-select--default"]])},[_("div",{class:re(["relative isolate h-[55px] w-full",[a.value?"group/select-float":""]])},[K(x,be({class:"h-full min-h-[55px]","model-value":g.modelValue},p.value,{open:t.value,"onUpdate:open":y[0]||(y[0]=w=>t.value=w),items:g.options,ui:f.value,"onUpdate:modelValue":y[1]||(y[1]=w=>
120g.$emit("update:modelValue",w))}),{trailing:D(({open:w})=>[_("div",gre,[g.error?(P(),X(b,{key:0,name:"i-lucide-alert-circle",class:"h-5 w-5 shrink-0 text-primary"})):ae("",!0),K(b,{name:"i-lucide-chevron-down",class:re(["h-5 w-5 shrink-0 text-white transition-transform duration-200",{"rotate-180":w}])},null,8,["class"])])]),item:D(({item:w})=>[_("div",vre,te(h(w)),1)]),_:1},16,["model-value","open","items","ui"]),a.value&&l.value?(P(),B("label",{key:0,class:re(m.value)},[_("span",yre,[Le(te(l.value),1),s.value?(P(),B("span",bre,"*")):ae("",!0)])],2)):ae("",!0)],2),g.error?(P(),B("div",xre,[_("p",_re,te(g.error),1)])):ae("",!0)],2)}}}),Wy=En(wre,[["__scopeId","data-v-5d163911"]]),Sre={class:"flex min-h-5 items-center"},kre=["innerHTML"],Cre={key:0,class:"text-primary ml-1"},Tre={key:0,class:"mt-2"},Ere={class:"text-sm font-bold text-primary"},Pre=pe({__name:"Checkbox",props:{modelValue:{type:Boolean},label:{},error:{},required:{type:Boolean}},setup(e){return(t,n)=>{const r=Vy;return P(),B("div",null,[K(r,be(t.$attrs,{ui:{root:"relative flex items-start gap-4",container:"flex shrink-0 self-start items-start",wrapper:"flex min-w-0 flex-1 items-center !text-base",label:"!ms-0 !text-base font-light text-white text-trim",base:"h-5 w-5 !rounded-none cursor-pointer shrink-0",border:"border-2 border-gray-300",ring:"focus-visible:ring-2 focus-visible:ring-blue-500",background:"bg-white checked:bg-blue-600",icon:{base:"flex-shrink-0 text-white",size:{md:"h-4 w-4"}},required:"text-primary",help:"text-sm text-gray-500 mt-1"}}),{label:D(()=>[_("div",Sre,[_("span",{class:"checkbox-label text-base text-trim font-light text-white",innerHTML:t.label},null,8,kre),t.required?(P(),B("span",Cre,"*")):ae("",!0)])]),_:1},16),t.error?(P(),B("div",Tre,[se(t.$slots,"error",{},()=>[_("p",Ere,te(t.error),1)],!0)])):ae("",!0)])}}}),Gy=En(Pre,[["__scopeId","data-v-86efe843"]]),Ire={};function Are(e,t){const n=it,r=Hi;return P(),X(r,be(e.$attrs,{class:"text-primary border-primary rounded-none border bg-[#141616]",ui:{base:"border-1 text-base text-white"},icon:"i-lucide-alert-triangle"}),{icon:D(()=>[K(n,{name:"i-lucide-alert-circle",class:"h-6 w-6 text-primary"})]),_:1},16)}const Ky=En(Ire,[["render",Are]]),$h=an({});$h.component("SpecTable",mV);const qo=jM({routes:[{path:"/:path(.*)*",name:"catch-all"}],history:bM(),scrollBehavior(e,t,n){return e.hash?new Promise(r=>{const o=globalThis.document.querySelector(e.hash);o instanceof globalThis.HTMLElement?(uj(o),r(!1)):r({el:e.hash,behavior:"smooth",top:80})}):n||{top:0}}});qo.beforeEach((e,t,n)=>{t.name===void 0||e.hash&&e.path===t.path?n():(globalThis.location.href=e.path,n(!1))});function H_(e){const t=e.replace(/\/$/,"");return t===""?"/":t}function $re(){globalThis.document.addEventListener("click",e=>{if(document.documentElement.classList.contains("editmode")||e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let t=e.target;if(t instanceof globalThis.Element||(t=e.target instanceof globalThis.Node&&e.target.parentElement!=null?e.target.parentElement:null),!(t instanceof globalThis.Element))return;const n=t.closest("a");if(!(n instanceof globalThis.HTMLAnchorElement)||n.hasAttribute("download"))return;const r=n.getAttribute("target");if(r&&r!==""&&r!=="_self")return;let o;try{o=new globalThis.URL(n.href,globalThis.location.origin)}catch{return}o.origin===globalThis.location.origin&&H_(o.pathname)===H_(globalThis.location.pathname)&&(!o.hash||o.hash.length<2||globalThis.document.querySelector(o.hash)instanceof globalThis.HTMLElement&&(e.preventDefault(),qo.replace(`${globalThis.location.pathname}${globalThis.location.search}${o.hash}`)))},!1)}$re();$h.use(qo);$h.use(Nn);const U_=document.querySelector("#spec-table");U_&&$h.mount(U_);Fne.init();const W_=document.querySelectorAll(".vue-swiper-slider-video");if(W_.length>0)for(const e of W_){const t=an({});t.component("swiper-slider",fy),t.use(Nn),t.mount(e)}const G_=document.querySelectorAll(".vue-swiper-slider-image");if(G_.length>0)for(const e of G_){const t=an({});t.component("swiper-slider",fy),t.use(Nn),t.mount(e)}const K_=document.querySelectorAll(".vue-swiper-slider-products");if(K_.length>0)for(const e of K_){const t=an({});t.component("related-products",zN),t.use(Nn),t.mount(e)}const Y_=document.querySelector("#additional-information");if(Y_){const e=an({});e.component("additional-information",IV),e.use(Nn),e.mount(Y_)}const X_=document.querySelector("#vue-navbar");
120if(X_){const e=an({});e.component("Navbar",QH),e.use(Nn),e.use(qo),e.mount(X_)}const Q_=document.querySelector(".vue-career-projects");if(Q_){const e=an({});e.component("career-projects",JU),e.use(Nn),e.use(qo),e.mount(Q_)}const Mre=document.querySelectorAll('[id^="accordion-"]');for(const e of Mre){const t=an({});t.component("accordion",LV),t.use(Nn),t.mount(e)}const J_=()=>{document.querySelector(".js-hero-animation")&&Rne.init(),document.querySelector(".js-intro-animation")&&oj.init(),globalThis.requestAnimationFrame(()=>{De.refresh()})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",J_):J_();const Z_=document.querySelectorAll(".vue-modal-infobox-container");if(Z_.length>0)for(const e of Z_){const t=an({});t.component("modal-box",nW),t.use(Nn),t.use(qo),t.mount(e)}const ew=document.querySelectorAll("[data-quicklinks]");if(ew.length>0)for(const e of ew){const t=an({});t.component("quicklink-dropdown",lW),t.component("sticky-quicklinks",SW),t.use(Nn),t.use(qo),t.mount(e)}const tw=document.querySelector("#product-list");if(tw){const e=an({});e.component("product-list",tY),e.component("product-filter",c5),e.component("product-search-result",d5),e.component("laser-accessories-filter",u5),e.component("application-filter",Ch),e.component("emission-wavelength-filter",Th),e.component("optical-power-filter",Eh),e.use(Nn),e.mount(tw)}const nw=document.querySelector("#product-list-application");if(nw){const e=an({});e.component("product-list-application",rY),e.component("application-filter",Ch),e.use(Nn),e.mount(nw)}const rw=document.querySelector("#product-list-specs");if(rw){const e=an({});e.component("product-list-specs",aY),e.component("emission-wavelength-filter",Th),e.component("optical-power-filter",Eh),e.use(Nn),e.mount(rw)}const ow=document.querySelector(".vue-faq-accordion");if(ow){const e=an({});e.component("faq-accordion",fQ),e.use(Nn),e.use(qo),e.mount(ow)}const iw=document.querySelector(".vue-laser-rack-configurator");if(iw){const e=an({});e.component("laser-rack-configurator",rZ),e.component("form-variants",zy),e.component("FormField",jy),e.component("FormInput",Hy),e.component("FormTextarea",Uy),e.component("FormSelect",Wy),e.component("FormCheckbox",Gy),e.component("FormCheckboxGroup",Vc),e.component("FormButton",Ih),e.component("FormAlert",Ky),e.use(Nn),e.use(qo),e.mount(iw)}const sw=document.querySelectorAll(".vue-form-container");if(sw.length>0)for(const e of sw){const t=an({});t.component("form-variants",zy),t.component("FormField",jy),t.component("FormInput",Hy),t.component("FormTextarea",Uy),t.component("FormSelect",Wy),t.component("FormCheckbox",Gy),t.component("FormCheckboxGroup",Vc),t.component("FormButton",Ih),t.component("FormAlert",Ky),t.use(Nn),t.use(qo),t.mount(e)}const lw=document.querySelector("#full-height-drawer");if(lw){const e=an(Lne);e.component("FormField",jy),e.component("FormInput",Hy),e.component("FormTextarea",Uy),e.component("FormSelect",Wy),e.component("FormCheckbox",Gy),e.component("FormCheckboxGroup",Vc),e.component("FormButton",Ih),e.component("FormAlert",Ky),e.use(Nn),e.use(qo),e.mount(lw)}qne();const aw=[...document.querySelectorAll("a")].find(e=>e.textContent?.includes("Cookies")&&e.href?.includes("#"));aw&&aw.addEventListener("click",e=>{e.preventDefault(),globalThis.UC_UI.showSecondLayer()});const Ore=jne();Wne.init(Ore);Kne.init();Xne.init();Jne.init();rre.init();ere.init();if(!document.documentElement.classList.contains("editmode")&&document.body.classList.contains("product-detail"))for(const e of document.querySelectorAll("section")){if(e.id==="search"||e.id==="hero-section")continue;const t=e.cloneNode(!0);t.querySelector("h1, h2, h3, h4, h5, h6")?.remove();const n=t.textContent.trim().length===0,r=e.querySelector("img, picture, svg, video, iframe")!==null;n&&!r&&(e.style.display="none")}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.