vue-pointer-boxes 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +252 -2
- package/dist/vue-pointer-boxes.es.js +2516 -0
- package/dist/vue-pointer-boxes.umd.cjs +57 -0
- package/dist/vue-pointer-boxes.umd.js +57 -0
- package/package.json +42 -4
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
(function(Ue,ii){typeof exports=="object"&&typeof module<"u"?ii(exports):typeof define=="function"&&define.amd?define(["exports"],ii):(Ue=typeof globalThis<"u"?globalThis:Ue||self,ii(Ue.VuePointerBoxes={}))})(this,function(Ue){"use strict";/**
|
|
2
|
+
* @vue/shared v3.5.44
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function ii(e){const t=Object.create(null);for(const i of e.split(","))t[i]=1;return i=>i in t}const dt={},ni=[],me=()=>{},Us=()=>!1,wn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tn=e=>e.startsWith("onUpdate:"),Dt=Object.assign,dr=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},tf=Object.prototype.hasOwnProperty,nt=(e,t)=>tf.call(e,t),K=Array.isArray,je=e=>zi(e)==="[object Map]",Sn=e=>zi(e)==="[object Set]",js=e=>zi(e)==="[object Date]",X=e=>typeof e=="function",vt=e=>typeof e=="string",fe=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",$s=e=>(ut(e)||X(e))&&X(e.then)&&X(e.catch),qs=Object.prototype.toString,zi=e=>qs.call(e),ef=e=>zi(e).slice(8,-1),Ks=e=>zi(e)==="[object Object]",pr=e=>vt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bi=ii(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},nf=/-\w/g,ue=Cn(e=>e.replace(nf,t=>t.slice(1).toUpperCase())),rf=/\B([A-Z])/g,ri=Cn(e=>e.replace(rf,"-$1").toLowerCase()),Ys=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_r=Cn(e=>e?`on${Ys(e)}`:""),ye=(e,t)=>!Object.is(e,t),gr=(e,...t)=>{for(let i=0;i<e.length;i++)e[i](...t)},Xs=(e,t,i,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:i})},sf=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gs;const On=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hi(e){if(K(e)){const t={};for(let i=0;i<e.length;i++){const n=e[i],r=vt(n)?ff(n):Hi(n);if(r)for(const s in r)t[s]=r[s]}return t}else if(vt(e)||ut(e))return e}const of=/;(?![^(]*\))/g,lf=/:([^]+)/,af=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ff(e){const t={};return e.replace(af,i=>i.startsWith("/*")?"":i).split(of).forEach(i=>{if(i){const n=i.split(lf);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function mr(e){let t="";if(vt(e))t=e;else if(K(e))for(let i=0;i<e.length;i++){const n=mr(e[i]);n&&(t+=n+" ")}else if(ut(e))for(const i in e)e[i]&&(t+=i+" ");return t.trim()}const uf=ii("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly");function Js(e){return!!e||e===""}function cf(e,t,i){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Pn(e[r],t[r],i);return n}function Zs(e,t,i){if(e.size!==t.size)return!1;const n=Array.from(t),r=new Uint8Array(n.length);for(const s of e){let o=-1;for(let l=0;l<n.length;l++)if(!r[l]&&Pn(s,n[l],i)){o=l;break}if(o<0)return!1;r[o]=1}return!0}function hf(e,t,i){let n=je(e),r=je(t);if(n||r||(n=Sn(e),r=Sn(t),n||r))return n&&r?Zs(e,t,i):!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const l in e){const a=e.hasOwnProperty(l),u=t.hasOwnProperty(l);if(a&&!u||!a&&u||!Pn(e[l],t[l],i))return!1}return String(e)===String(t)}function Qs(e,t,i,n){i||(i=[new Map,new Map]);const[r,s]=i;if(r.has(e)||s.has(t))return r.get(e)===t&&s.get(t)===e;r.set(e,t),s.set(t,e);const o=n(e,t,i);return r.delete(e),s.delete(t),o}function Pn(e,t,i){if(e===t)return!0;let n=js(e),r=js(t);return n||r?n&&r?e.getTime()===t.getTime():!1:(n=fe(e),r=fe(t),n||r?e===t:(n=K(e),r=K(t),n||r?n&&r?Qs(e,t,i,cf):!1:(n=ut(e),r=ut(t),n||r?!n||!r?!1:Qs(e,t,i,hf):String(e)===String(t))))}const to=e=>!!(e&&e.__v_isRef===!0),eo=e=>vt(e)?e:e==null?"":K(e)||ut(e)&&(e.toString===qs||!X(e.toString))?to(e)?eo(e.value):JSON.stringify(e,io,2):String(e),io=(e,t)=>to(t)?io(e,t.value):je(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((i,[n,r],s)=>(i[yr(n,s)+" =>"]=r,i),{})}:Sn(t)?{[`Set(${t.size})`]:[...t.values()].map(i=>yr(i))}:fe(t)?yr(t):ut(t)&&!K(t)&&!Ks(t)?String(t):t,yr=(e,t="")=>{var i;return fe(e)?`Symbol(${(i=e.description)!=null?i:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.44
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Pt;class df{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Pt&&(Pt.active?(this.parent=Pt,this.index=(Pt.scopes||(Pt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,i;if(this.scopes){const n=this.scopes.slice();for(t=0,i=n.length;t<i;t++)n[t].pause()}for(t=0,i=this.effects.length;t<i;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,i;if(this.scopes){const r=this.scopes.slice();for(t=0,i=r.length;t<i;t++)r[t].resume()}const n=this.effects.slice();for(t=0,i=n.length;t<i;t++)n[t].resume()}}run(t){if(this._active){const i=Pt;try{return Pt=this,t()}finally{Pt=i}}}on(){++this._on===1&&(this.prevScope=Pt,Pt=this)}off(){if(this._on>0&&--this._on===0){if(Pt===this)Pt=this.prevScope;else{let t=Pt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let i,n;for(i=0,n=this.effects.length;i<n;i++)this.effects[i].stop();for(this.effects.length=0,i=0,n=this.cleanups.length;i<n;i++)this.cleanups[i]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(i=0,n=r.length;i<n;i++)r[i].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function pf(){return Pt}let pt;const xr=new WeakSet;class no{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,Pt&&(Pt.active?Pt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xr.has(this)&&(xr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||so(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,uo(this),oo(this);const t=pt,i=ce;pt=this,ce=!0;try{return this.fn()}finally{lo(this),pt=t,ce=i,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Tr(t);this.deps=this.depsTail=void 0,uo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){wr(this)&&this.run()}get dirty(){return wr(this)}}let ro=0,Wi,Vi;function so(e,t=!1){if(e.flags|=8,t){e.next=Vi,Vi=e;return}e.next=Wi,Wi=e}function vr(){ro++}function br(){if(--ro>0)return;if(Vi){let t=Vi;for(Vi=void 0;t;){const i=t.next;t.next=void 0,t.flags&=-9,t=i}}let e;for(;Wi;){let t=Wi;for(Wi=void 0;t;){const i=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=i}}if(e)throw e}function oo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function lo(e){let t,i=e.depsTail,n=i;for(;n;){const r=n.prevDep;n.version===-1?(n===i&&(i=r),Tr(n),_f(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=i}function wr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ao(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ao(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ui)||(e.globalVersion=Ui,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!wr(e))))return;e.flags|=2;const t=e.dep,i=pt,n=ce;pt=e,ce=!0;try{oo(e);const r=e.fn(e._value);(t.version===0||ye(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pt=i,ce=n,lo(e),e.flags&=-3}}function Tr(e,t=!1){const{dep:i,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),i.subs===e&&(i.subs=n,!n&&i.computed)){i.computed.flags&=-5;for(let s=i.computed.deps;s;s=s.nextDep)Tr(s,!0)}!t&&!--i.sc&&i.map&&i.map.delete(i.key)}function _f(e){const{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}let ce=!0;const fo=[];function he(){fo.push(ce),ce=!1}function de(){const e=fo.pop();ce=e===void 0?!0:e}function uo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const i=pt;pt=void 0;try{t()}finally{pt=i}}}let Ui=0;class gf{constructor(t,i){this.sub=t,this.dep=i,this.version=i.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Sr{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(!pt||!ce||pt===this.computed)return;let i=this.activeLink;if(i===void 0||i.sub!==pt)i=this.activeLink=new gf(pt,this),pt.deps?(i.prevDep=pt.depsTail,pt.depsTail.nextDep=i,pt.depsTail=i):pt.deps=pt.depsTail=i,co(i);else if(i.version===-1&&(i.version=this.version,i.nextDep)){const n=i.nextDep;n.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=n),i.prevDep=pt.depsTail,i.nextDep=void 0,pt.depsTail.nextDep=i,pt.depsTail=i,pt.deps===i&&(pt.deps=n)}return i}trigger(t){this.version++,Ui++,this.notify(t)}notify(t){vr();try{for(let i=this.subs;i;i=i.prevSub)i.sub.notify()&&i.sub.dep.notify()}finally{br()}}}function co(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)co(n)}const i=e.dep.subs;i!==e&&(e.prevSub=i,i&&(i.nextSub=e)),e.dep.subs=e}}const Cr=new WeakMap,si=Symbol(""),Or=Symbol(""),ji=Symbol("");function kt(e,t,i){if(ce&&pt){let n=Cr.get(e);n||Cr.set(e,n=new Map);let r=n.get(i);r||(n.set(i,r=new Sr),r.map=n,r.key=i),r.track()}}function De(e,t,i,n,r,s){const o=Cr.get(e);if(!o){Ui++;return}const l=a=>{a&&a.trigger()};if(vr(),t==="clear")o.forEach(l);else{const a=K(e),u=a&&pr(i);if(a&&i==="length"){const f=Number(n);o.forEach((c,_)=>{(_==="length"||_===ji||!fe(_)&&_>=f)&&l(c)})}else switch((i!==void 0||o.has(void 0))&&l(o.get(i)),u&&l(o.get(ji)),t){case"add":a?u&&l(o.get("length")):(l(o.get(si)),je(e)&&l(o.get(Or)));break;case"delete":a||(l(o.get(si)),je(e)&&l(o.get(Or)));break;case"set":je(e)&&l(o.get(si));break}}br()}function vi(e){const t=it(e);return t===e||(kt(t,"iterate",ji),pe(e))?t:Fe(e)?oi(e)?t.map(i=>li(ve(i))):t.map(li):t.map(ve)}function Pr(e){return kt(e=it(e),"iterate",ji),e}function xe(e,t){return Fe(e)?li(oi(e)?ve(t):t):ve(t)}const mf={__proto__:null,[Symbol.iterator](){return Mr(this,Symbol.iterator,e=>xe(this,e))},concat(...e){return vi(this).concat(...e.map(t=>K(t)?vi(t):t))},entries(){return Mr(this,"entries",e=>(e[1]=xe(this,e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,i=>i.map(n=>xe(this,n)),arguments)},find(e,t){return ke(this,"find",e,t,i=>xe(this,i),arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,i=>xe(this,i),arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rr(this,"includes",e)},indexOf(...e){return Rr(this,"indexOf",e)},join(e){return vi(this).join(e)},lastIndexOf(...e){return Rr(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return $i(this,"pop")},push(...e){return $i(this,"push",e)},reduce(e,...t){return _o(this,"reduce",e,t)},reduceRight(e,...t){return _o(this,"reduceRight",e,t)},shift(){return $i(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return $i(this,"splice",e)},toReversed(){return vi(this).toReversed()},toSorted(e){return vi(this).toSorted(e)},toSpliced(...e){return vi(this).toSpliced(...e)},unshift(...e){return $i(this,"unshift",e)},values(){return Mr(this,"values",e=>xe(this,e))}};function Mr(e,t,i){const n=Pr(e),r=n[t],s=r.call(n);if(n!==e&&!pe(e)){if(s[Symbol.toStringTag]==="Array Iterator"){const o=Object.create(Object.getPrototypeOf(s));return o.next=()=>ho(s.next(),i),r!==po[t]&&Object.defineProperties(o,{return:{get(){const l=s.return;return typeof l=="function"?l.bind(s):l}},throw:{get(){const l=s.throw;return typeof l=="function"?l.bind(s):l}}}),o}s._next=s.next,s.next=()=>ho(s._next(),i)}return s}function ho(e,t){return e.done||(e.value=t(e.value)),e}const po=Array.prototype;function ke(e,t,i,n,r,s){const o=Pr(e),l=o!==e&&!pe(e),a=o[t];if(a!==po[t]){const c=a.apply(e,s);return l?ve(c):c}let u=i;o!==e&&(l?u=function(c,_){return i.call(this,xe(e,c),_,e)}:i.length>2&&(u=function(c,_){return i.call(this,c,_,e)}));const f=a.call(o,u,n);return l&&r?r(f):f}function _o(e,t,i,n){const r=Pr(e),s=r!==e&&!pe(e);let o=i,l=!1;r!==e&&(s?(l=n.length===0,o=function(u,f,c){return l&&(l=!1,u=xe(e,u)),i.call(this,u,xe(e,f),c,e)}):i.length>3&&(o=function(u,f,c){return i.call(this,u,f,c,e)}));const a=r[t](o,...n);return l?xe(e,a):a}function Rr(e,t,i){const n=it(e);kt(n,"iterate",ji);const r=n[t](...i);return(r===-1||r===!1)&&kr(i[0])?(i[0]=it(i[0]),n[t](...i)):r}function $i(e,t,i=[]){he(),vr();const n=it(e)[t].apply(e,i);return br(),de(),n}const yf=ii("__proto__,__v_isRef,__isVue"),go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(fe));function xf(e){fe(e)||(e=String(e));const t=it(this);return kt(t,"has",e),t.hasOwnProperty(e)}class mo{constructor(t=!1,i=!1){this._isReadonly=t,this._isShallow=i}get(t,i,n){if(i==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(i==="__v_isReactive")return!r;if(i==="__v_isReadonly")return r;if(i==="__v_isShallow")return s;if(i==="__v_raw")return n===(r?s?To:wo:s?bo:vo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=K(t);if(!r){let a;if(o&&(a=mf[i]))return a;if(i==="hasOwnProperty")return xf}const l=Reflect.get(t,i,Mt(t)?t:n);if((fe(i)?go.has(i):yf(i))||(r||kt(t,"get",i),s))return l;if(Mt(l)){const a=o&&pr(i)?l:l.value;return r&&ut(a)?Dr(a):a}return ut(l)?r?Dr(l):Ar(l):l}}class yo extends mo{constructor(t=!1){super(!1,t)}set(t,i,n,r){let s=t[i];const o=K(t)&&pr(i);if(!this._isShallow){const u=Fe(s);if(!pe(n)&&!Fe(n)&&(s=it(s),n=it(n)),!o&&Mt(s)&&!Mt(n))return u||(s.value=n),!0}const l=o?Number(i)<t.length:nt(t,i),a=Reflect.set(t,i,n,Mt(t)?t:r);return t===it(r)&&a&&(l?ye(n,s)&&De(t,"set",i,n):De(t,"add",i,n)),a}deleteProperty(t,i){const n=nt(t,i);t[i];const r=Reflect.deleteProperty(t,i);return r&&n&&De(t,"delete",i,void 0),r}has(t,i){const n=Reflect.has(t,i);return(!fe(i)||!go.has(i))&&kt(t,"has",i),n}ownKeys(t){return kt(t,"iterate",K(t)?"length":si),Reflect.ownKeys(t)}}class xo extends mo{constructor(t=!1){super(!0,t)}set(t,i){return!0}deleteProperty(t,i){return!0}}const vf=new yo,bf=new xo,wf=new yo(!0),Tf=new xo(!0),Er=e=>e,Mn=e=>Reflect.getPrototypeOf(e);function Sf(e,t,i){return function(...n){const r=this.__v_raw,s=it(r),o=je(s),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=r[e](...n),f=i?Er:t?li:ve;return!t&&kt(s,"iterate",a?Or:si),Dt(Object.create(u),{next(){const{value:c,done:_}=u.next();return _?{value:c,done:_}:{value:l?[f(c[0]),f(c[1])]:f(c),done:_}}})}}function Rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cf(e,t){const i={get(r){const s=this.__v_raw,o=it(s),l=it(r);e||(ye(r,l)&&kt(o,"get",r),kt(o,"get",l));const{has:a}=Mn(o),u=t?Er:e?li:ve;if(a.call(o,r))return u(s.get(r));if(a.call(o,l))return u(s.get(l));s!==o&&s.get(r)},get size(){const r=this.__v_raw;return!e&&kt(it(r),"iterate",si),r.size},has(r){const s=this.__v_raw,o=it(s),l=it(r);return e||(ye(r,l)&&kt(o,"has",r),kt(o,"has",l)),r===l?s.has(r):s.has(r)||s.has(l)},forEach(r,s){const o=this,l=o.__v_raw,a=it(l),u=t?Er:e?li:ve;return!e&&kt(a,"iterate",si),l.forEach((f,c)=>r.call(s,u(f),u(c),o))}};return Dt(i,e?{add:Rn("add"),set:Rn("set"),delete:Rn("delete"),clear:Rn("clear")}:{add(r){const s=it(this),o=Mn(s),l=it(r),a=!t&&!pe(r)&&!Fe(r)?l:r;return o.has.call(s,a)||ye(r,a)&&o.has.call(s,r)||ye(l,a)&&o.has.call(s,l)||(s.add(a),De(s,"add",a,a)),this},set(r,s){!t&&!pe(s)&&!Fe(s)&&(s=it(s));const o=it(this),{has:l,get:a}=Mn(o);let u=l.call(o,r);u||(r=it(r),u=l.call(o,r));const f=a.call(o,r);return o.set(r,s),u?ye(s,f)&&De(o,"set",r,s):De(o,"add",r,s),this},delete(r){const s=it(this),{has:o,get:l}=Mn(s);let a=o.call(s,r);a||(r=it(r),a=o.call(s,r)),l&&l.call(s,r);const u=s.delete(r);return a&&De(s,"delete",r,void 0),u},clear(){const r=it(this),s=r.size!==0,o=r.clear();return s&&De(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{i[r]=Sf(r,e,t)}),i}function En(e,t){const i=Cf(e,t);return(n,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_isShallow"?t:r==="__v_raw"?n:Reflect.get(nt(i,r)&&r in n?i:n,r,s)}const Of={get:En(!1,!1)},Pf={get:En(!1,!0)},Mf={get:En(!0,!1)},Rf={get:En(!0,!0)},vo=new WeakMap,bo=new WeakMap,wo=new WeakMap,To=new WeakMap;function Ef(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ar(e){return Fe(e)?e:An(e,!1,vf,Of,vo)}function Af(e){return An(e,!1,wf,Pf,bo)}function Dr(e){return An(e,!0,bf,Mf,wo)}function nd(e){return An(e,!0,Tf,Rf,To)}function An(e,t,i,n,r){if(!ut(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=r.get(e);if(s)return s;const o=Ef(ef(e));if(o===0)return e;const l=new Proxy(e,o===2?n:i);return r.set(e,l),l}function oi(e){return Fe(e)?oi(e.__v_raw):!!(e&&e.__v_isReactive)}function Fe(e){return!!(e&&e.__v_isReadonly)}function pe(e){return!!(e&&e.__v_isShallow)}function kr(e){return e?!!e.__v_raw:!1}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function Df(e){return!nt(e,"__v_skip")&&Object.isExtensible(e)&&Xs(e,"__v_skip",!0),e}const ve=e=>ut(e)?Ar(e):e,li=e=>ut(e)?Dr(e):e;function Mt(e){return e?e.__v_isRef===!0:!1}function So(e){return kf(e,!1)}function kf(e,t){return Mt(e)?e:new Ff(e,t)}class Ff{constructor(t,i){this.dep=new Sr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=i?t:it(t),this._value=i?t:ve(t),this.__v_isShallow=i}get value(){return this.dep.track(),this._value}set value(t){const i=this._rawValue,n=this.__v_isShallow||pe(t)||Fe(t);t=n?t:it(t),ye(t,i)&&(this._rawValue=t,this._value=n?t:ve(t),this.dep.trigger())}}function Lf(e){return Mt(e)?e.value:e}const If={get:(e,t,i)=>t==="__v_raw"?e:Lf(Reflect.get(e,t,i)),set:(e,t,i,n)=>{const r=e[t];return Mt(r)&&!Mt(i)?(r.value=i,!0):Reflect.set(e,t,i,n)}};function Co(e){return oi(e)?e:new Proxy(e,If)}class Nf{constructor(t,i,n){this.fn=t,this.setter=i,this._value=void 0,this.dep=new Sr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ui-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!i,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&pt!==this)return so(this,!0),!0}get value(){const t=this.dep.track();return ao(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function zf(e,t,i=!1){let n,r;return X(e)?n=e:(n=e.get,r=e.set),new Nf(n,r,i)}const Dn={},kn=new WeakMap;let ai;function Bf(e,t=!1,i=ai){if(i){let n=kn.get(i);n||kn.set(i,n=[]),n.push(e)}}function Hf(e,t,i=dt){const{immediate:n,deep:r,once:s,scheduler:o,augmentJob:l,call:a}=i,u=w=>r?w:pe(w)||r===!1||r===0?$e(w,1):$e(w);let f,c,_,g,y=!1,d=!1;if(Mt(e)?(c=()=>e.value,y=pe(e)):oi(e)?(c=()=>u(e),y=!0):K(e)?(d=!0,y=e.some(w=>oi(w)||pe(w)),c=()=>e.map(w=>{if(Mt(w))return w.value;if(oi(w))return u(w);if(X(w))return a?a(w,2):w()})):X(e)?t?c=a?()=>a(e,2):e:c=()=>{if(_){he();try{_()}finally{de()}}const w=ai;ai=f;try{return a?a(e,3,[g]):e(g)}finally{ai=w}}:c=me,t&&r){const w=c,P=r===!0?1/0:r;c=()=>$e(w(),P)}const b=pf(),S=()=>{f.stop(),b&&b.active&&dr(b.effects,f)};if(s&&t){const w=t;t=(...P)=>{try{return w(...P)}finally{S()}}}let T=d?new Array(e.length).fill(Dn):Dn;const O=w=>{if(!(!(f.flags&1)||!f.dirty&&!w))if(t){const P=f.run();if(w||r||y||(d?P.some((z,A)=>ye(z,T[A])):ye(P,T))){const z=ai;he();try{_&&_(),ai=f;const A=[P,T===Dn?void 0:d&&T[0]===Dn?[]:T,g];T=P,a?a(t,3,A):t(...A)}finally{ai=z,de()}}}else f.run()};return l&&l(O),f=new no(c),f.scheduler=o?()=>o(O,!1):O,g=w=>Bf(w,!1,f),_=f.onStop=()=>{const w=kn.get(f);if(w){if(a)a(w,4);else for(const P of w)P();kn.delete(f)}},t?n?O(!0):T=f.run():o?o(O.bind(null,!0),!0):f.run(),S.pause=f.pause.bind(f),S.resume=f.resume.bind(f),S.stop=S,S}function $e(e,t=1/0,i){if(t<=0||!ut(e)||e.__v_skip||(i=i||new Map,(i.get(e)||0)>=t))return e;if(i.set(e,t),t--,Mt(e))$e(e.value,t,i);else if(K(e))for(let n=0;n<e.length;n++)$e(e[n],t,i);else if(Sn(e)||je(e))e.forEach(n=>{$e(n,t,i)});else if(Ks(e)){for(const n in e)$e(e[n],t,i);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&$e(e[n],t,i)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.44
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/const qi=[];let Fr=!1;function rd(e,...t){if(Fr)return;Fr=!0,he();const i=qi.length?qi[qi.length-1].component:null,n=i&&i.appContext.config.warnHandler,r=Wf();if(n)bi(n,i,11,[e+t.map(s=>{var o,l;return(l=(o=s.toString)==null?void 0:o.call(s))!=null?l:JSON.stringify(s)}).join(""),i&&i.proxy,r.map(({vnode:s})=>`at <${Cl(i,s.type)}>`).join(`
|
|
14
|
+
`),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
|
|
15
|
+
`,...Vf(r)),console.warn(...s)}de(),Fr=!1}function Wf(){let e=qi[qi.length-1];if(!e)return[];const t=[];for(;e;){const i=t[0];i&&i.vnode===e?i.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Vf(e){const t=[];return e.forEach((i,n)=>{t.push(...n===0?[]:[`
|
|
16
|
+
`],...Uf(i))}),t}function Uf({vnode:e,recurseCount:t}){const i=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${Cl(e.component,e.type,n)}`,s=">"+i;return e.props?[r,...jf(e.props),s]:[r+s]}function jf(e){const t=[],i=Object.keys(e);return i.slice(0,3).forEach(n=>{t.push(...Oo(n,e[n]))}),i.length>3&&t.push(" ..."),t}function Oo(e,t,i){return vt(t)?(t=JSON.stringify(t),i?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?i?t:[`${e}=${t}`]:Mt(t)?(t=Oo(e,it(t.value),!0),i?t:[`${e}=Ref<`,t,">"]):X(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),i?t:[`${e}=`,t])}function bi(e,t,i,n){try{return n?e(...n):e()}catch(r){Fn(r,t,i)}}function _e(e,t,i,n){if(X(e)){const r=bi(e,t,i,n);return r&&$s(r)&&r.catch(s=>{Fn(s,t,i)}),r}if(K(e)){const r=[];for(let s=0;s<e.length;s++)r.push(_e(e[s],t,i,n));return r}}function Fn(e,t,i,n=!0){const r=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||dt;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${i}`;for(;l;){const f=l.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](e,a,u)===!1)return}l=l.parent}if(s){he(),bi(s,null,10,[e,a,u]),de();return}}$f(e,i,r,n,o)}function $f(e,t,i,n=!0,r=!1){if(r)throw e;console.error(e)}const It=[];let ge=-1;const be=[];let qe=null,wi=0;const Po=Promise.resolve();let Ln=null;function Mo(e){const t=Ln||Po;return e?t.then(this?e.bind(this):e):t}function qf(e){let t=ge+1,i=It.length;for(;t<i;){const n=t+i>>>1,r=It[n],s=Ki(r);s<e||s===e&&r.flags&2?t=n+1:i=n}return t}function Lr(e){if(!(e.flags&1)){const t=Ki(e),i=It[It.length-1];!i||!(e.flags&2)&&t>=Ki(i)?It.push(e):It.splice(qf(t),0,e),e.flags|=1,Ro()}}function Ro(){Ln||(Ln=Po.then(Do))}function Kf(e){if(!K(e))qe&&e.id===-1?qe.splice(wi+1,0,e):e.flags&1||(be.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)be.push(e[t]);Ro()}function Eo(e,t,i,n=ge+1){for(;n<It.length;n++){const r=It[n];if(r&&r.flags&2){if(e&&r.id!==e.uid||t!==void 0&&!(r.id>=t))continue;It.splice(n,1),n=e?n-1:ge,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ao(e,t,i=0){if(be.length){let n=be,r=0;if(t){n=[];for(let o=0;o<be.length;o++){const l=be[o];(l.i!==void 0?!l.i||l.i.uid<i:t.has(l))?be[r++]=l:n.push(l)}}const s=[...new Set(n)].sort((o,l)=>Ki(o)-Ki(l));if(be.length=r,qe){for(let o=0;o<s.length;o++)qe.push(s[o]);return}for(qe=s,wi=0;wi<qe.length;wi++){const o=qe[wi];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}qe=null,wi=0}}let Ir=!1;function Yf(e,t){if(Ir){e();return}const i=t===void 0?void 0:new Set(be);e(),Ir=!0;try{Eo(void 0,t),Ao(void 0,i,t)}finally{Ir=!1}}const Ki=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Do(e){try{for(ge=0;ge<It.length;ge++){const t=It[ge];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),bi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ge<It.length;ge++){const t=It[ge];t&&(t.flags&=-2)}ge=-1,It.length=0,Ao(),Ln=null,(It.length||be.length)&&Do()}}let Ht=null,ko=null;function In(e){const t=Ht;return Ht=e,ko=e&&e.type.__scopeId||null,t}function Xf(e,t=Ht,i){if(!t||e._n)return e;const n=(...r)=>{n._d&&gl(-1);const s=In(t),o=Ie.length;let l;try{l=e(...r)}finally{for(let a=Ie.length;a>o;a--)Jr();In(s),n._d&&gl(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function fi(e,t,i,n){const r=e.dirs,s=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];s&&(l.oldValue=s[o].value);let a=l.dir[n];a&&(he(),_e(a,i,8,[e.el,l,e,t]),de())}}function Gf(e,t){if(zt){let i=zt.provides;const n=zt.parent&&zt.parent.provides;n===i&&(i=zt.provides=Object.create(n)),i[e]=t}}function Nn(e,t,i=!1){const n=Yu();if(n||Si){let r=Si?Si._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return i&&X(t)?t.call(n&&n.proxy):t}}const Jf=Symbol.for("v-scx"),Zf=()=>Nn(Jf);function Nr(e,t,i){return Fo(e,t,i)}function Fo(e,t,i=dt){const{immediate:n,deep:r,flush:s,once:o}=i,l=Dt({},i),a=t&&n||!t&&s!=="post";let u;if(nn){if(s==="sync"){const g=Zf();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=me,g.resume=me,g.pause=me,g}}const f=zt;l.call=(g,y,d)=>_e(g,f,y,d);let c=!1;s==="post"?l.scheduler=g=>{g.i=f,Wt(g,f&&f.suspense)}:s!=="sync"&&(c=!0,l.scheduler=(g,y)=>{y?g():Lr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),c&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const _=Hf(e,t,l);return nn&&(u?u.push(_):a&&_()),_}function Qf(e,t,i){const n=this.proxy,r=vt(e)?e.includes(".")?Lo(n,e):()=>n[e]:e.bind(n,n);let s;X(t)?s=t:(s=t.handler,i=t);const o=en(this),l=Fo(r,s.bind(n),i);return o(),l}function Lo(e,t){const i=t.split(".");return()=>{let n=e;for(let r=0;r<i.length&&n;r++)n=n[i[r]];return n}}const tu=Symbol("_vte"),zn=e=>e.__isTeleport,zr=Symbol("_leaveCb");function eu(e){let t=e[0];if(e.length>1){for(const i of e)if(i.type!==se){t=i;break}}return t}function Io(e){if(!Hr(e))return zn(e.type)&&e.children?eu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:i}=e;if(i){if(t&16)return i[0];if(t&32&&X(i.default))return i.default()}}function Bn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const i=e.component.subTree;Bn(zn(i.type)&&Io(i)||i,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===Vt&&K(e.children)){const i=tl(e.children,!1);i&&Bn(i,t)}}function Br(e){if(e.component)return Br(e.component.subTree);if(e.type===Vt){const t=K(e.children)&&tl(e.children,!1);return t?Br(t):void 0}if(e.type!==se)return e}function No(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zo(e,t){let i;return!!((i=Object.getOwnPropertyDescriptor(e,t))&&!i.configurable)}const Hn=new WeakMap;function Yi(e,t,i,n,r=!1){if(K(e)){e.forEach((d,b)=>Yi(d,t&&(K(t)?t[b]:t),i,n,r));return}if(Ti(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Yi(e,t,i,n.component.subTree);return}const s=n.shapeFlag&4?ts(n.component):n.el,o=r?null:s,{i:l,r:a}=e,u=t&&t.r,f=l.refs===dt?l.refs={}:l.refs,c=l.setupState,_=it(c),g=c===dt?Us:d=>zo(f,d)?!1:nt(_,d),y=(d,b)=>!(b&&zo(f,b));if(u!=null&&u!==a){if(Bo(t),vt(u))f[u]=null,g(u)&&(c[u]=null);else if(Mt(u)){const d=t;y(u,d.k)&&(u.value=null),d.k&&(f[d.k]=null)}}if(X(a))bi(a,l,12,[o,f]);else{const d=vt(a),b=Mt(a);if(d||b){const S=()=>{if(e.f){const T=d?g(a)?c[a]:f[a]:y()||!e.k?a.value:f[e.k];if(r)K(T)&&dr(T,s);else if(K(T))T.includes(s)||T.push(s);else if(d)f[a]=[s],g(a)&&(c[a]=f[a]);else{const O=[s];y(a,e.k)&&(a.value=O),e.k&&(f[e.k]=O)}}else d?(f[a]=o,g(a)&&(c[a]=o)):b&&(y(a,e.k)&&(a.value=o),e.k&&(f[e.k]=o))};if(o){const T=()=>{S(),Hn.delete(e)};T.id=-1,Hn.set(e,T),Wt(T,i)}else Bo(e),S()}}}function Bo(e){const t=Hn.get(e);t&&(t.flags|=8,Hn.delete(e))}On().requestIdleCallback,On().cancelIdleCallback;const Ti=e=>!!e.type.__asyncLoader,Hr=e=>e.type.__isKeepAlive;function iu(e,t){Ho(e,"a",t)}function nu(e,t){Ho(e,"da",t)}function Ho(e,t,i=zt){const n=e.__wdc||(e.__wdc=()=>{let r=i;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Wn(t,n,i),i){let r=i.parent;for(;r&&r.parent;)Hr(r.parent.vnode)&&ru(n,t,i,r),r=r.parent}}function ru(e,t,i,n){const r=Wn(t,e,n,!0);Uo(()=>{dr(n[t],r)},i)}function Wn(e,t,i=zt,n=!1){if(i){const r=i[e]||(i[e]=[]),s=t.__weh||(t.__weh=(...o)=>{he();const l=en(i),a=_e(t,i,e,o);return l(),de(),a});return n?r.unshift(s):r.push(s),s}}const Le=e=>(t,i=zt)=>{(!nn||e==="sp")&&Wn(e,(...n)=>t(...n),i)},su=Le("bm"),Wo=Le("m"),ou=Le("bu"),lu=Le("u"),Vo=Le("bum"),Uo=Le("um"),au=Le("sp"),fu=Le("rtg"),uu=Le("rtc");function cu(e,t=zt){Wn("ec",e,t)}const hu=Symbol.for("v-ndc");function du(e,t,i,n,r,s){if(i==null&&(i={}),Ht.ce||Ht.parent&&Ti(Ht.parent)&&Ht.parent.ce){const u=i,f=Object.keys(u).length>0;return Ji(),Zr(Vt,null,[we("slot",u,n)],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);const l=Ie.length;Ji();let a;try{const u=o&&jo(o(i)),f=i.key||s||u&&u.key;a=Zr(Vt,{key:(f&&!fe(f)?f:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let f=Ie.length;f>l;f--)Jr();throw u}finally{o&&o._c&&(o._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function jo(e){return e.some(t=>$n(t)?!(t.type===se||t.type===Vt&&!jo(t.children)):!0)?e:null}const Wr=e=>e?wl(e)?ts(e):Wr(e.parent):null,Xi=Dt(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=>Wr(e.parent),$root:e=>Wr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yo(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Mo.bind(e.proxy)),$watch:e=>Qf.bind(e)}),Vr=(e,t)=>e!==dt&&!e.__isScriptSetup&&nt(e,t),pu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:i,setupState:n,data:r,props:s,accessCache:o,type:l,appContext:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return r[t];case 4:return i[t];case 3:return s[t]}else{if(Vr(n,t))return o[t]=1,n[t];if(r!==dt&&nt(r,t))return o[t]=2,r[t];if(nt(s,t))return o[t]=3,s[t];if(i!==dt&&nt(i,t))return o[t]=4,i[t];Ur&&(o[t]=0)}}const u=Xi[t];let f,c;if(u)return t==="$attrs"&&kt(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(i!==dt&&nt(i,t))return o[t]=4,i[t];if(c=a.config.globalProperties,nt(c,t))return c[t]},set({_:e},t,i){const{data:n,setupState:r,ctx:s}=e;return Vr(r,t)?(r[t]=i,!0):n!==dt&&nt(n,t)?(n[t]=i,!0):nt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:n,appContext:r,props:s,type:o}},l){let a;return!!(i[l]||e!==dt&&l[0]!=="$"&&nt(e,l)||Vr(t,l)||nt(s,l)||nt(n,l)||nt(Xi,l)||nt(r.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:nt(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};function $o(e){return K(e)?e.reduce((t,i)=>(t[i]=null,t),{}):e}let Ur=!0;function _u(e){const t=Yo(e),i=e.proxy,n=e.ctx;Ur=!1,t.beforeCreate&&qo(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:o,watch:l,provide:a,inject:u,created:f,beforeMount:c,mounted:_,beforeUpdate:g,updated:y,activated:d,deactivated:b,beforeDestroy:S,beforeUnmount:T,destroyed:O,unmounted:w,render:P,renderTracked:z,renderTriggered:A,errorCaptured:I,serverPrefetch:L,expose:j,inheritAttrs:ot,components:rt,directives:st,filters:lt}=t;if(u&&gu(u,n,null),o)for(const $ in o){const G=o[$];X(G)&&(n[$]=G.bind(i))}if(r){const $=r.call(i,i);ut($)&&(e.data=Ar($))}if(Ur=!0,s)for(const $ in s){const G=s[$],Et=X(G)?G.bind(i,i):X(G.get)?G.get.bind(i,i):me,ne=!X(G)&&X(G.set)?G.set.bind(i):me,Bt=es({get:Et,set:ne});Object.defineProperty(n,$,{enumerable:!0,configurable:!0,get:()=>Bt.value,set:wt=>Bt.value=wt})}if(l)for(const $ in l)Ko(l[$],n,i,$);if(a){const $=X(a)?a.call(i):a;Reflect.ownKeys($).forEach(G=>{Gf(G,$[G])})}f&&qo(f,e,"c");function Z($,G){K(G)?G.forEach(Et=>$(Et.bind(i))):G&&$(G.bind(i))}if(Z(su,c),Z(Wo,_),Z(ou,g),Z(lu,y),Z(iu,d),Z(nu,b),Z(cu,I),Z(uu,z),Z(fu,A),Z(Vo,T),Z(Uo,w),Z(au,L),K(j))if(j.length){const $=e.exposed||(e.exposed={});j.forEach(G=>{Object.defineProperty($,G,{get:()=>i[G],set:Et=>i[G]=Et,enumerable:!0})})}else e.exposed||(e.exposed={});P&&e.render===me&&(e.render=P),ot!=null&&(e.inheritAttrs=ot),rt&&(e.components=rt),st&&(e.directives=st),L&&No(e)}function gu(e,t,i=me){K(e)&&(e=jr(e));for(const n in e){const r=e[n];let s;ut(r)?"default"in r?s=Nn(r.from||n,r.default,!0):s=Nn(r.from||n):s=Nn(r),Mt(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[n]=s}}function qo(e,t,i){_e(K(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,i)}function Ko(e,t,i,n){let r=n.includes(".")?Lo(i,n):()=>i[n];if(vt(e)){const s=t[e];X(s)&&Nr(r,s)}else if(X(e))Nr(r,e.bind(i));else if(ut(e))if(K(e))e.forEach(s=>Ko(s,t,i,n));else{const s=X(e.handler)?e.handler.bind(i):t[e.handler];X(s)&&Nr(r,s,e)}}function Yo(e){const t=e.type,{mixins:i,extends:n}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let a;return l?a=l:!r.length&&!i&&!n?a=t:(a={},r.length&&r.forEach(u=>Vn(a,u,o,!0)),Vn(a,t,o)),ut(t)&&s.set(t,a),a}function Vn(e,t,i,n=!1){const{mixins:r,extends:s}=t;s&&Vn(e,s,i,!0),r&&r.forEach(o=>Vn(e,o,i,!0));for(const o in t)if(!(n&&o==="expose")){const l=mu[o]||i&&i[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const mu={data:Xo,props:Go,emits:Go,methods:Gi,computed:Gi,beforeCreate:Nt,created:Nt,beforeMount:Nt,mounted:Nt,beforeUpdate:Nt,updated:Nt,beforeDestroy:Nt,beforeUnmount:Nt,destroyed:Nt,unmounted:Nt,activated:Nt,deactivated:Nt,errorCaptured:Nt,serverPrefetch:Nt,components:Gi,directives:Gi,watch:xu,provide:Xo,inject:yu};function Xo(e,t){return t?e?function(){return Dt(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function yu(e,t){return Gi(jr(e),jr(t))}function jr(e){if(K(e)){const t={};for(let i=0;i<e.length;i++)t[e[i]]=e[i];return t}return e}function Nt(e,t){return e?[...new Set([].concat(e,t))]:t}function Gi(e,t){return e?Dt(Object.create(null),e,t):t}function Go(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:Dt(Object.create(null),$o(e),$o(t??{})):t}function xu(e,t){if(!e)return t;if(!t)return e;const i=Dt(Object.create(null),e);for(const n in t)i[n]=Nt(e[n],t[n]);return i}function Jo(){return{app:null,config:{isNativeTag:Us,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 vu=0;function bu(e,t){return function(n,r=null){X(n)||(n=Dt({},n)),r!=null&&!ut(r)&&(r=null);const s=Jo(),o=new WeakSet,l=[];let a=!1;const u=s.app={_uid:vu++,_component:n,_props:r,_container:null,_context:s,_instance:null,version:nc,get config(){return s.config},set config(f){},use(f,...c){return o.has(f)||(f&&X(f.install)?(o.add(f),f.install(u,...c)):X(f)&&(o.add(f),f(u,...c))),u},mixin(f){return s.mixins.includes(f)||s.mixins.push(f),u},component(f,c){return c?(s.components[f]=c,u):s.components[f]},directive(f,c){return c?(s.directives[f]=c,u):s.directives[f]},mount(f,c,_){if(!a){const g=u._ceVNode||we(n,r);return g.appContext=s,_===!0?_="svg":_===!1&&(_=void 0),e(g,f,_),a=!0,u._container=f,f.__vue_app__=u,ts(g.component)}},onUnmount(f){l.push(f)},unmount(){a&&(_e(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,c){return s.provides[f]=c,u},runWithContext(f){const c=Si;Si=u;try{return f()}finally{Si=c}}};return u}}let Si=null;const wu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ue(t)}Modifiers`]||e[`${ri(t)}Modifiers`];function Tu(e,t,...i){if(e.isUnmounted)return;const n=e.vnode.props||dt;let r=i;const s=t.startsWith("update:"),o=s&&wu(n,t.slice(7));o&&(o.trim&&(r=i.map(f=>vt(f)?f.trim():f)),o.number&&(r=r.map(sf)));let l,a=n[l=_r(t)]||n[l=_r(ue(t))];!a&&s&&(a=n[l=_r(ri(t))]),a&&_e(a,e,6,r);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,_e(u,e,6,r)}}const Su=new WeakMap;function Zo(e,t,i=!1){const n=i?Su:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const s=e.emits;let o={},l=!1;if(!X(e)){const a=u=>{const f=Zo(u,t,!0);f&&(l=!0,Dt(o,f))};!i&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(ut(e)&&n.set(e,null),null):(K(s)?s.forEach(a=>o[a]=null):Dt(o,s),ut(e)&&n.set(e,o),o)}function Un(e,t){return!e||!wn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),nt(e,t[0].toLowerCase()+t.slice(1))||nt(e,ri(t))||nt(e,t))}function sd(){}function Qo(e){const{type:t,vnode:i,proxy:n,withProxy:r,propsOptions:[s],slots:o,attrs:l,emit:a,render:u,renderCache:f,props:c,data:_,setupState:g,ctx:y,inheritAttrs:d}=e,b=In(e);let S,T;try{if(i.shapeFlag&4){const w=r||n,P=w;S=Te(u.call(P,w,f,c,g,_,y)),T=l}else{const w=t;S=Te(w.length>1?w(c,{attrs:l,slots:o,emit:a}):w(c,null)),T=t.props?l:Cu(l)}}catch(w){Ie.length=0,Fn(w,e,1),S=we(se)}let O=S;if(T&&d!==!1){const w=Object.keys(T),{shapeFlag:P}=O;w.length&&P&7&&(s&&w.some(Tn)&&(T=Ou(T,s)),O=Ci(O,T,!1,!0))}if(i.dirs&&(O=Ci(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(i.dirs):i.dirs),i.transition){const w=zn(O.type)&&Io(O)||O;Bn(w,i.transition)}return S=O,In(b),S}function tl(e,t=!0){let i;for(let n=0;n<e.length;n++){const r=e[n];if($n(r)){if(r.type!==se||r.children==="v-if"){if(i)return;i=r}}else return}return i}const Cu=e=>{let t;for(const i in e)(i==="class"||i==="style"||wn(i))&&((t||(t={}))[i]=e[i]);return t},Ou=(e,t)=>{const i={};for(const n in e)(!Tn(n)||!(n.slice(9)in t))&&(i[n]=e[n]);return i};function Pu(e,t,i){const{props:n,children:r,component:s}=e,{props:o,children:l,patchFlag:a}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(i&&a>=0){if(a&1024)return!0;if(a&16)return n?el(n,o,u):!!o;if(a&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const _=f[c];if(il(o,n,_)&&!Un(u,_))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?el(n,o,u):!0:!!o;return!1}function el(e,t,i){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const s=n[r];if(!nt(e,s)||il(t,e,s)&&!Un(i,s))return!0}return!1}function il(e,t,i){const n=e[i],r=t[i];return i==="style"&&ut(n)&&ut(r)?!Pn(n,r):n!==r}function Mu({vnode:e,parent:t,suspense:i},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}i&&i.activeBranch===e&&(i.vnode.el=n)}const nl={},rl=()=>Object.create(nl),sl=e=>Object.getPrototypeOf(e)===nl;function Ru(e,t,i,n=!1){const r={},s=rl();e.propsDefaults=Object.create(null),ol(e,t,r,s);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);i?e.props=n?r:Af(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function Eu(e,t,i,n){const{props:r,attrs:s,vnode:{patchFlag:o}}=e,l=it(r),[a]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let c=0;c<f.length;c++){let _=f[c];if(Un(e.emitsOptions,_))continue;const g=t[_];if(a)if(nt(s,_))g!==s[_]&&(s[_]=g,u=!0);else{const y=ue(_);r[y]=$r(a,l,y,g,e,!1)}else g!==s[_]&&(s[_]=g,u=!0)}}}else{ol(e,t,r,s)&&(u=!0);let f;for(const c in l)(!t||!nt(t,c)&&((f=ri(c))===c||!nt(t,f)))&&(a?i&&(i[c]!==void 0||i[f]!==void 0)&&(r[c]=$r(a,l,c,void 0,e,!0)):delete r[c]);if(s!==l)for(const c in s)(!t||!nt(t,c))&&(delete s[c],u=!0)}u&&De(e.attrs,"set","")}function ol(e,t,i,n){const[r,s]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(Bi(a))continue;const u=t[a];let f;r&&nt(r,f=ue(a))?!s||!s.includes(f)?i[f]=u:(l||(l={}))[f]=u:Un(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,o=!0)}if(s){const a=it(i),u=l||dt;for(let f=0;f<s.length;f++){const c=s[f];i[c]=$r(r,a,c,u[c],e,!nt(u,c))}}return o}function $r(e,t,i,n,r,s){const o=e[i];if(o!=null){const l=nt(o,"default");if(l&&n===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&X(a)){const{propsDefaults:u}=r;if(i in u)n=u[i];else{const f=en(r);n=u[i]=a.call(null,t),f()}}else n=a;r.ce&&r.ce._setProp(i,n)}o[0]&&(s&&!l?n=!1:o[1]&&(n===""||n===ri(i))&&(n=!0))}return n}const Au=new WeakMap;function ll(e,t,i=!1){const n=i?Au:t.propsCache,r=n.get(e);if(r)return r;const s=e.props,o={},l=[];let a=!1;if(!X(e)){const f=c=>{a=!0;const[_,g]=ll(c,t,!0);Dt(o,_),g&&l.push(...g)};!i&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!a)return ut(e)&&n.set(e,ni),ni;if(K(s))for(let f=0;f<s.length;f++){const c=ue(s[f]);al(c)&&(o[c]=dt)}else if(s)for(const f in s){const c=ue(f);if(al(c)){const _=s[f],g=o[c]=K(_)||X(_)?{type:_}:Dt({},_),y=g.type;let d=!1,b=!0;if(K(y))for(let S=0;S<y.length;++S){const T=y[S],O=X(T)&&T.name;if(O==="Boolean"){d=!0;break}else O==="String"&&(b=!1)}else d=X(y)&&y.name==="Boolean";g[0]=d,g[1]=b,(d||nt(g,"default"))&&l.push(c)}}const u=[o,l];return ut(e)&&n.set(e,u),u}function al(e){return e[0]!=="$"&&!Bi(e)}const qr=e=>e==="_"||e==="_ctx"||e==="$stable",Kr=e=>K(e)?e.map(Te):[Te(e)],Du=(e,t,i)=>{if(t._n)return t;const n=Xf((...r)=>Kr(t(...r)),i);return n._c=!1,n},fl=(e,t,i)=>{const n=e._ctx;for(const r in e){if(qr(r))continue;const s=e[r];if(X(s))t[r]=Du(r,s,n);else if(s!=null){const o=Kr(s);t[r]=()=>o}}},ul=(e,t)=>{const i=Kr(t);e.slots.default=()=>i},cl=(e,t,i)=>{for(const n in t)(i||!qr(n))&&(e[n]=t[n])},ku=(e,t,i)=>{const n=e.slots=rl();if(e.vnode.shapeFlag&32){const r=t._;r?(cl(n,t,i),i&&Xs(n,"_",r,!0)):fl(t,n)}else t&&ul(e,t)},Fu=(e,t,i)=>{const{vnode:n,slots:r}=e;let s=!0,o=dt;if(n.shapeFlag&32){const l=t._;l?i&&l===1?s=!1:cl(r,t,i):(s=!t.$stable,fl(t,r)),o=t}else t&&(ul(e,t),o={default:1});if(s)for(const l in r)!qr(l)&&o[l]==null&&delete r[l]},Wt=Bu;function Lu(e){return Iu(e)}function Iu(e,t){const i=On();i.__VUE__=!0;const{insert:n,remove:r,patchProp:s,createElement:o,createText:l,createComment:a,setText:u,setElementText:f,parentNode:c,nextSibling:_,setScopeId:g=me,insertStaticContent:y}=e,d=(h,p,v,E=null,C=null,M=null,k=void 0,F=null,D=!!p.dynamicChildren)=>{if(h===p)return;h&&!Qi(h,p)&&(E=H(h),wt(h,C,M,!0),h=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null),p.dynamicChildren&&h&&h.dynamicChildren&&h.dynamicChildren.hasOnce&&(p.dynamicChildren===ni&&(p.dynamicChildren=[]),p.dynamicChildren.hasOnce=!0);const{type:R,ref:W,shapeFlag:N}=p;switch(R){case jn:b(h,p,v,E);break;case se:S(h,p,v,E);break;case Gr:h==null&&T(p,v,E,k);break;case Vt:rt(h,p,v,E,C,M,k,F,D);break;default:N&1?P(h,p,v,E,C,M,k,F,D):N&6?st(h,p,v,E,C,M,k,F,D):(N&64||N&128)&&R.process(h,p,v,E,C,M,k,F,D,tt)}W!=null&&C?Yi(W,h&&h.ref,M,p||h,!p):W==null&&h&&h.ref!=null&&Yi(h.ref,null,M,h,!0)},b=(h,p,v,E)=>{if(h==null)n(p.el=l(p.children),v,E);else{const C=p.el=h.el;p.children!==h.children&&u(C,p.children)}},S=(h,p,v,E)=>{h==null?n(p.el=a(p.children||""),v,E):p.el=h.el},T=(h,p,v,E)=>{[h.el,h.anchor]=y(h.children,p,v,E,h.el,h.anchor)},O=({el:h,anchor:p},v,E)=>{let C;for(;h&&h!==p;)C=_(h),n(h,v,E),h=C;n(p,v,E)},w=({el:h,anchor:p})=>{let v;for(;h&&h!==p;)v=_(h),r(h),h=v;r(p)},P=(h,p,v,E,C,M,k,F,D)=>{if(p.type==="svg"?k="svg":p.type==="math"&&(k="mathml"),h==null)z(p,v,E,C,M,k,F,D);else{const R=h.el&&h.el._isVueCE?h.el:null;try{R&&R._beginPatch(),L(h,p,C,M,k,F,D)}finally{R&&R._endPatch()}}},z=(h,p,v,E,C,M,k,F)=>{let D,R;const{props:W,shapeFlag:N,transition:U,dirs:q}=h;if(D=h.el=o(h.type,M,W&&W.is,W),N&8?f(D,h.children):N&16&&I(h.children,D,null,E,C,Yr(h,M),k,F),q&&fi(h,null,E,"created"),A(D,h,h.scopeId,k,E),W){for(const ht in W)ht!=="value"&&!Bi(ht)&&s(D,ht,null,W[ht],M,E);"value"in W&&s(D,"value",null,W.value,M),(R=W.onVnodeBeforeMount)&&Se(R,E,h)}q&&fi(h,null,E,"beforeMount");const et=Nu(C,U);et&&U.beforeEnter(D),n(D,p,v),((R=W&&W.onVnodeMounted)||et||q)&&Wt(()=>{try{R&&Se(R,E,h),et&&U.enter(D),q&&fi(h,null,E,"mounted")}finally{}},C)},A=(h,p,v,E,C)=>{if(v&&g(h,v),E)for(let M=0;M<E.length;M++)g(h,E[M]);if(C){let M=C.subTree;if(p===M||_l(M.type)&&(M.ssContent===p||M.ssFallback===p)){const k=C.vnode;A(h,k,k.scopeId,k.slotScopeIds,C.parent)}}},I=(h,p,v,E,C,M,k,F,D=0)=>{for(let R=D;R<h.length;R++){const W=h[R]=F?Ne(h[R]):Te(h[R]);d(null,W,p,v,E,C,M,k,F)}},L=(h,p,v,E,C,M,k)=>{const F=p.el=h.el;let{patchFlag:D,dynamicChildren:R,dirs:W}=p;D|=h.patchFlag&16;const N=h.props||dt,U=p.props||dt;let q;if(v&&ui(v,!1),(q=U.onVnodeBeforeUpdate)&&Se(q,v,p,h),W&&fi(p,h,v,"beforeUpdate"),v&&ui(v,!0),R&&(!h.dynamicChildren||h.dynamicChildren.length!==R.length)&&(D=0,k=!1,R=null),(N.innerHTML&&U.innerHTML==null||N.textContent&&U.textContent==null)&&f(F,""),R?j(h.dynamicChildren,R,F,v,E,Yr(p,C),M):k||G(h,p,F,null,v,E,Yr(p,C),M,!1),D>0){if(D&16)ot(F,N,U,v,C);else if(D&2&&N.class!==U.class&&s(F,"class",null,U.class,C),D&4&&s(F,"style",N.style,U.style,C),D&8){const et=p.dynamicProps;for(let ht=0;ht<et.length;ht++){const ft=et[ht],Ct=N[ft],At=U[ft];(At!==Ct||ft==="value")&&s(F,ft,Ct,At,C,v)}}D&1&&h.children!==p.children&&f(F,p.children)}else!k&&R==null&&ot(F,N,U,v,C);((q=U.onVnodeUpdated)||W)&&Wt(()=>{q&&Se(q,v,p,h),W&&fi(p,h,v,"updated")},E)},j=(h,p,v,E,C,M,k)=>{for(let F=0;F<p.length;F++){const D=h[F],R=p[F],W=D.el||Xr(D),N=W&&(D.type===Vt||!Qi(D,R)||D.shapeFlag&198)?c(W):v;d(D,R,N,null,E,C,M,k,!0)}},ot=(h,p,v,E,C)=>{if(p!==v){if(p!==dt)for(const M in p)!Bi(M)&&!(M in v)&&s(h,M,p[M],null,C,E);for(const M in v){if(Bi(M))continue;const k=v[M],F=p[M];k!==F&&M!=="value"&&s(h,M,F,k,C,E)}"value"in v&&s(h,"value",p.value,v.value,C)}},rt=(h,p,v,E,C,M,k,F,D)=>{const R=p.el=h?h.el:l(""),W=p.anchor=h?h.anchor:l("");let{patchFlag:N,dynamicChildren:U,slotScopeIds:q}=p;q&&(F=F?F.concat(q):q),h==null?(n(R,v,E),n(W,v,E),I(p.children||[],v,W,C,M,k,F,D)):N>0&&N&64&&U&&h.dynamicChildren&&h.dynamicChildren.length===U.length?(j(h.dynamicChildren,U,v,C,M,k,F),(p.key!=null||C&&p===C.subTree)&&hl(h,p,!0)):G(h,p,v,W,C,M,k,F,D)},st=(h,p,v,E,C,M,k,F,D)=>{p.slotScopeIds=F,h==null?p.shapeFlag&512?C.ctx.activate(p,v,E,k,D):lt(p,v,E,C,M,k,D):xt(h,p,D)},lt=(h,p,v,E,C,M,k)=>{const F=h.component=Ku(h,E,C);if(Hr(h)&&(F.ctx.renderer=tt),Xu(F,!1,k),F.asyncDep){if(C&&C.registerDep(F,Z,k,M),!h.el){const D=F.subTree=we(se);S(null,D,p,v),h.placeholder=D.el}}else Z(F,h,p,v,C,M,k)},xt=(h,p,v)=>{const E=p.component=h.component;if(Pu(h,p,v))if(E.asyncDep&&!E.asyncResolved){p.el=h.el,p.placeholder=h.placeholder,$(E,p,v);return}else E.next=p,E.update();else p.el=h.el,p.placeholder=h.placeholder,E.vnode=p},Z=(h,p,v,E,C,M,k)=>{const F=()=>{if(h.isMounted){let{next:N,bu:U,u:q,parent:et,vnode:ht}=h;{const Ee=dl(h);if(Ee){N&&(N.el=ht.el,$(h,N,k)),Ee.asyncDep.then(()=>{Wt(()=>{h.isUnmounted||R()},C)});return}}let ft=N,Ct;ui(h,!1),N?(N.el=ht.el,$(h,N,k)):N=ht,U&&gr(U),(Ct=N.props&&N.props.onVnodeBeforeUpdate)&&Se(Ct,et,N,ht),ui(h,!0);const At=Qo(h),Re=h.subTree;h.subTree=At,d(Re,At,c(Re.el),H(Re),h,C,M),N.el=At.el,ft===null&&Mu(h,At.el),q&&Wt(q,C),(Ct=N.props&&N.props.onVnodeUpdated)&&Wt(()=>Se(Ct,et,N,ht),C)}else{let N;const{el:U,props:q}=p,{bm:et,m:ht,parent:ft,root:Ct,type:At}=h,Re=Ti(p);ui(h,!1),et&&gr(et),!Re&&(N=q&&q.onVnodeBeforeMount)&&Se(N,ft,p),ui(h,!0);{Ct.ce&&Ct.ce._hasShadowRoot()&&Ct.ce._injectChildStyle(At,h.parent?h.parent.type:void 0);const Ee=h.subTree=Qo(h);d(null,Ee,v,E,h,C,M),p.el=Ee.el}if(ht&&Wt(ht,C),!Re&&(N=q&&q.onVnodeMounted)){const Ee=p;Wt(()=>Se(N,ft,Ee),C)}(p.shapeFlag&256||ft&&Ti(ft.vnode)&&ft.vnode.shapeFlag&256)&&h.a&&Wt(h.a,C),h.isMounted=!0,p=v=E=null}};h.scope.on();const D=h.effect=new no(F);h.scope.off();const R=h.update=D.run.bind(D),W=h.job=D.runIfDirty.bind(D);W.i=h,W.id=h.uid,D.scheduler=()=>Lr(W),ui(h,!0),R()},$=(h,p,v)=>{p.component=h;const E=h.vnode.props;h.vnode=p,h.next=null,Eu(h,p.props,E,v),Fu(h,p.children,v),he(),Eo(h),de()},G=(h,p,v,E,C,M,k,F,D=!1)=>{const R=h&&h.children,W=h?h.shapeFlag:0,N=p.children,{patchFlag:U,shapeFlag:q}=p;if(U>0){if(U&128){ne(R,N,v,E,C,M,k,F,D);return}else if(U&256){Et(R,N,v,E,C,M,k,F,D);return}}q&8?(W&16&&V(R,C,M),N!==R&&f(v,N)):W&16?q&16?ne(R,N,v,E,C,M,k,F,D):V(R,C,M,!0):(W&8&&f(v,""),q&16&&I(N,v,E,C,M,k,F,D))},Et=(h,p,v,E,C,M,k,F,D)=>{h=h||ni,p=p||ni;const R=h.length,W=p.length,N=Math.min(R,W);let U;for(U=0;U<N;U++){const q=p[U]=D?Ne(p[U]):Te(p[U]);d(h[U],q,v,null,C,M,k,F,D)}R>W?V(h,C,M,!0,!1,N):I(p,v,E,C,M,k,F,D,N)},ne=(h,p,v,E,C,M,k,F,D)=>{let R=0;const W=p.length;let N=h.length-1,U=W-1;for(;R<=N&&R<=U;){const q=h[R],et=p[R]=D?Ne(p[R]):Te(p[R]);if(Qi(q,et))d(q,et,v,null,C,M,k,F,D);else break;R++}for(;R<=N&&R<=U;){const q=h[N],et=p[U]=D?Ne(p[U]):Te(p[U]);if(Qi(q,et))d(q,et,v,null,C,M,k,F,D);else break;N--,U--}if(R>N){if(R<=U){const q=U+1,et=q<W?p[q].el:E;for(;R<=U;)d(null,p[R]=D?Ne(p[R]):Te(p[R]),v,et,C,M,k,F,D),R++}}else if(R>U)for(;R<=N;)wt(h[R],C,M,!0),R++;else{const q=R,et=R,ht=new Map;for(R=et;R<=U;R++){const re=p[R]=D?Ne(p[R]):Te(p[R]);re.key!=null&&ht.set(re.key,R)}let ft,Ct=0;const At=U-et+1;let Re=!1,Ee=0;const bn=new Array(At);for(R=0;R<At;R++)bn[R]=0;for(R=q;R<=N;R++){const re=h[R];if(Ct>=At){wt(re,C,M,!0);continue}let Ae;if(re.key!=null)Ae=ht.get(re.key);else for(ft=et;ft<=U;ft++)if(bn[ft-et]===0&&Qi(re,p[ft])){Ae=ft;break}Ae===void 0?wt(re,C,M,!0):(bn[Ae-et]=R+1,Ae>=Ee?Ee=Ae:Re=!0,d(re,p[Ae],v,null,C,M,k,F,D),Ct++)}const Ja=Re?zu(bn):ni;for(ft=Ja.length-1,R=At-1;R>=0;R--){const re=et+R,Ae=p[re],Za=p[re+1],Qa=re+1<W?Za.el||Xr(Za):E;bn[R]===0?d(null,Ae,v,Qa,C,M,k,F,D):Re&&(ft<0||R!==Ja[ft]?Bt(Ae,v,Qa,2):ft--)}}},Bt=(h,p,v,E,C=null)=>{const{el:M,type:k,transition:F,children:D,shapeFlag:R}=h;if(R&6){Bt(h.component.subTree,p,v,E);return}if(R&128){h.suspense.move(p,v,E);return}if(R&64){k.move(h,p,v,tt);return}if(k===Vt){n(M,p,v);for(let N=0;N<D.length;N++)Bt(D[N],p,v,E);n(h.anchor,p,v);return}if(k===Gr){O(h,p,v);return}if(E!==2&&R&1&&F)if(E===0)F.persisted&&!M[zr]?n(M,p,v):(F.beforeEnter(M),n(M,p,v),Wt(()=>F.enter(M),C));else{const{leave:N,delayLeave:U,afterLeave:q}=F,et=()=>{h.ctx.isUnmounted?r(M):n(M,p,v)},ht=()=>{const ft=M._isLeaving||!!M[zr];M._isLeaving&&M[zr](!0),F.persisted&&!ft?et():N(M,()=>{et(),q&&q()})};U?U(M,et,ht):ht()}else n(M,p,v)},wt=(h,p,v,E=!1,C=!1)=>{const{type:M,props:k,ref:F,children:D,dynamicChildren:R,shapeFlag:W,patchFlag:N,dirs:U,cacheIndex:q,memo:et}=h;if((N===-2||R&&R.hasOnce)&&(C=!1),F!=null&&(he(),Yi(F,null,v,h,!0),de()),q!=null&&(!h.ctx||h.ctx===p)&&(p.renderCache[q]=void 0),W&256){p.ctx.deactivate(h);return}const ht=W&1&&U,ft=!Ti(h);let Ct;if(ft&&(Ct=k&&k.onVnodeBeforeUnmount)&&Se(Ct,p,h),W&6)x(h.component,v,E);else{if(W&128){h.suspense.unmount(v,E);return}ht&&fi(h,null,p,"beforeUnmount"),W&64?h.type.remove(h,p,v,tt,E):R&&!R.hasOnce&&(M!==Vt||N>0&&N&64)?V(R,p,v,!1,!0):(M===Vt&&N&384||!C&&W&16)&&V(D,p,v),E&&m(h)}const At=et!=null&&q==null;(ft&&(Ct=k&&k.onVnodeUnmounted)||ht||At)&&Wt(()=>{Ct&&Se(Ct,p,h),ht&&fi(h,null,p,"unmounted"),At&&(h.el=null)},v)},m=h=>{const{type:p,el:v,anchor:E,transition:C}=h,M=p===Vt;if(M&&!C){B(v,E);return}if(p===Gr){w(h),C&&!C.persisted&&C.afterLeave&&C.afterLeave();return}const k=M?Br(h):h,F=()=>{M?c(v)&&B(v,E):r(v),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(k&&k.shapeFlag&1&&C&&!C.persisted){const{leave:D,delayLeave:R}=C,W=k.el,N=()=>D(W,F);R?R(W,F,N):N()}else F()},B=(h,p)=>{let v;for(;h!==p;)v=_(h),r(h),h=v;r(p)},x=(h,p,v)=>{const{bum:E,scope:C,job:M,subTree:k,um:F,m:D,a:R}=h;pl(D),pl(R),E&&gr(E),C.stop(),M?(M.flags|=8,wt(k,h,p,v)):h.vnode.el&&k&&(k.transition=h.vnode.transition,wt(k,h,p,v)),F&&Wt(F,p),Wt(()=>{h.isUnmounted=!0},p)},V=(h,p,v,E=!1,C=!1,M=0)=>{for(let k=M;k<h.length;k++)wt(h[k],p,v,E,C)},H=h=>{if(h.shapeFlag&6)return H(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const p=_(h.anchor||h.el),v=p&&p[tu];return v?_(v):p},J=(h,p,v)=>{const E=h&&p._vnode?void 0:h&&h.component?h.component.uid:qu();Yf(()=>{h==null?p._vnode&&wt(p._vnode,null,null,!0):d(p._vnode||null,h,p,null,null,null,v),p._vnode=h},E)},tt={p:d,um:wt,m:Bt,r:m,mt:lt,mc:I,pc:G,pbc:j,n:H,o:e};return{render:J,hydrate:void 0,createApp:bu(J)}}function Yr({type:e,props:t},i){return i==="svg"&&e==="foreignObject"||i==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:i}function ui({effect:e,job:t},i){i?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hl(e,t,i=!1){const n=e.children,r=t.children;if(K(n)&&K(r))for(let s=0;s<n.length;s++){const o=n[s];let l=r[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[s]=Ne(r[s]),l.el=o.el),!i&&l.patchFlag!==-2&&hl(o,l)),l.type===jn&&(l.patchFlag===-1&&(l=r[s]=Ne(l)),l.el=o.el),l.type===se&&!l.el&&(l.el=o.el)}}function zu(e){const t=e.slice(),i=[0];let n,r,s,o,l;const a=e.length;for(n=0;n<a;n++){const u=e[n];if(u!==0){if(r=i[i.length-1],e[r]<u){t[n]=r,i.push(n);continue}for(s=0,o=i.length-1;s<o;)l=s+o>>1,e[i[l]]<u?s=l+1:o=l;u<e[i[s]]&&(s>0&&(t[n]=i[s-1]),i[s]=n)}}for(s=i.length,o=i[s-1];s-- >0;)i[s]=o,o=t[o];return i}function dl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:dl(t)}function pl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Xr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Xr(t.subTree):null}const _l=e=>e.__isSuspense;function Bu(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Kf(e)}const Vt=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),se=Symbol.for("v-cmt"),Gr=Symbol.for("v-stc"),Ie=[];let Xt=null;function Ji(e=!1){Ie.push(Xt=e?null:[])}function Jr(){Ie.pop(),Xt=Ie[Ie.length-1]||null}let Zi=1;function gl(e,t=!1){Zi+=e,e<0&&Xt&&t&&(Xt.hasOnce=!0)}function ml(e){return e.dynamicChildren=Zi>0?Xt||ni:null,Jr(),Zi>0&&Xt&&Xt.push(e),e}function yl(e,t,i,n,r,s){return ml(Qr(e,t,i,n,r,s,!0))}function Zr(e,t,i,n,r){return ml(we(e,t,i,n,r,!0))}function $n(e){return e?e.__v_isVNode===!0:!1}function Qi(e,t){return e.type===t.type&&e.key===t.key}const xl=({key:e})=>e??null,qn=({ref:e,ref_key:t,ref_for:i})=>(typeof e=="number"&&(e=""+e),e!=null?vt(e)||Mt(e)||X(e)?{i:Ht,r:e,k:t,f:!!i}:e:null);function Qr(e,t=null,i=null,n=0,r=null,s=e===Vt?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xl(t),ref:t&&qn(t),scopeId:ko,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ht};return l?(Kn(a,i),s&128&&e.normalize(a)):i&&(a.shapeFlag|=vt(i)?8:16),Zi>0&&!o&&Xt&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Xt.push(a),a}const we=Hu;function Hu(e,t=null,i=null,n=0,r=null,s=!1){if((!e||e===hu)&&(e=se),$n(e)){const l=Ci(e,t,!0);return i&&Kn(l,i),Zi>0&&!s&&Xt&&(l.shapeFlag&6?Xt[Xt.indexOf(e)]=l:Xt.push(l)),l.patchFlag=-2,l}if(ic(e)&&(e=e.__vccOpts),t){t=Wu(t);let{class:l,style:a}=t;l&&!vt(l)&&(t.class=mr(l)),ut(a)&&(kr(a)&&!K(a)&&(a=Dt({},a)),t.style=Hi(a))}const o=vt(e)?1:_l(e)?128:zn(e)?64:ut(e)?4:X(e)?2:0;return Qr(e,t,i,n,r,o,s,!0)}function Wu(e){return e?kr(e)||sl(e)?Dt({},e):e:null}function Ci(e,t,i=!1,n=!1){const{props:r,ref:s,patchFlag:o,children:l,transition:a}=e,u=t?ju(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&xl(u),ref:t&&t.ref?i&&s?K(s)?s.concat(qn(t)):[s,qn(t)]:qn(t):s,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!==Vt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ci(e.ssContent),ssFallback:e.ssFallback&&Ci(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return a&&n&&Bn(f,a.clone(f)),f}function Vu(e=" ",t=0){return we(jn,null,e,t)}function Uu(e="",t=!1){return t?(Ji(),Zr(se,null,e)):we(se,null,e)}function Te(e){return e==null||typeof e=="boolean"?we(se):K(e)?we(Vt,null,e.slice()):$n(e)?Ne(e):we(jn,null,String(e))}function Ne(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ci(e)}function Kn(e,t){let i=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(K(t))i=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Kn(e,r()),r._c&&(r._d=!0));return}else{i=32;const r=t._;!r&&!sl(t)?t._ctx=Ht:r===3&&Ht&&(Ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(X(t)){if(n&65){Kn(e,{default:t});return}t={default:t,_ctx:Ht},i=32}else t=String(t),n&64?(i=16,t=[Vu(t)]):i=8;e.children=t,e.shapeFlag|=i}function ju(...e){const t={};for(let i=0;i<e.length;i++){const n=e[i];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=mr([t.class,n.class]));else if(r==="style")t.style=Hi([t.style,n.style]);else if(wn(r)){const s=t[r],o=n[r];o&&s!==o&&!(K(s)&&s.includes(o))?t[r]=s?[].concat(s,o):o:o==null&&s==null&&!Tn(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function Se(e,t,i,n=null){_e(e,t,7,[i,n])}const $u=Jo();let vl=0;function qu(){return vl}function Ku(e,t,i){const n=e.type,r=(t?t.appContext:e.appContext)||$u,s={uid:vl++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new df(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ll(n,r),emitsOptions:Zo(n,r),emit:null,emitted:null,propsDefaults:dt,inheritAttrs:n.inheritAttrs,ctx:dt,data:dt,props:dt,attrs:dt,slots:dt,refs:dt,setupState:dt,setupContext:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Tu.bind(null,s),e.ce&&e.ce(s),s}let zt=null;const Yu=()=>zt||Ht;let Yn,tn;{const e=On(),t=(i,n)=>{let r;return(r=e[i])||(r=e[i]=[]),r.push(n),s=>{r.length>1?r.forEach(o=>o(s)):r[0](s)}};Yn=t("__VUE_INSTANCE_SETTERS__",i=>zt=i),tn=t("__VUE_SSR_SETTERS__",i=>nn=i)}const en=e=>{const t=zt;return Yn(e),e.scope.on(),()=>{e.scope.off(),Yn(t)}},bl=()=>{zt&&zt.scope.off(),Yn(null)};function wl(e){return e.vnode.shapeFlag&4}let nn=!1;function Xu(e,t=!1,i=!1){t&&tn(t);const{props:n,children:r}=e.vnode,s=wl(e);Ru(e,n,s,t),ku(e,r,i||t);const o=s?Gu(e,t):void 0;return t&&tn(!1),o}function Gu(e,t){const i=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pu);const{setup:n}=i;if(n){he();const r=e.setupContext=n.length>1?Zu(e):null,s=en(e),o=bi(n,e,0,[e.props,r]),l=$s(o);if(de(),s(),(l||e.sp)&&!Ti(e)&&No(e),l){if(o.then(bl,bl),t)return o.then(a=>{tn(!0);try{Tl(e,a,t)}finally{tn(!1)}}).catch(a=>{Fn(a,e,0)});e.asyncDep=o}else Tl(e,o)}else Sl(e)}function Tl(e,t,i){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ut(t)&&(e.setupState=Co(t)),Sl(e)}function Sl(e,t,i){const n=e.type;e.render||(e.render=n.render||me);{const r=en(e);he();try{_u(e)}finally{de(),r()}}}const Ju={get(e,t){return kt(e,"get",""),e[t]}};function Zu(e){const t=i=>{e.exposed=i||{}};return{attrs:new Proxy(e.attrs,Ju),slots:e.slots,emit:e.emit,expose:t}}function ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Co(Df(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in Xi)return Xi[i](e)},has(t,i){return i in t||i in Xi}})):e.proxy}const Qu=/(?:^|[-_])\w/g,tc=e=>e.replace(Qu,t=>t.toUpperCase()).replace(/[-_]/g,"");function ec(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function Cl(e,t,i=!1){let n=ec(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e){const r=s=>{for(const o in s)if(s[o]===t)return o};n=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return n?tc(n):i?"App":"Anonymous"}function ic(e){return X(e)&&"__vccOpts"in e}const es=(e,t)=>zf(e,t,nn),nc="3.5.44";/**
|
|
17
|
+
* @vue/runtime-dom v3.5.44
|
|
18
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
|
+
* @license MIT
|
|
20
|
+
**/let is;const Ol=typeof window<"u"&&window.trustedTypes;if(Ol)try{is=Ol.createPolicy("vue",{createHTML:e=>e})}catch{}const Pl=is?e=>is.createHTML(e):e=>e,rc="http://www.w3.org/2000/svg",sc="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,Ml=ze&&ze.createElement("template"),oc={insert:(e,t,i)=>{t.insertBefore(e,i||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,i,n)=>{const r=t==="svg"?ze.createElementNS(rc,e):t==="mathml"?ze.createElementNS(sc,e):i?ze.createElement(e,{is:i}):ze.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,i,n,r,s){const o=i?i.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),i),!(r===s||!(r=r.nextSibling)););else{Ml.innerHTML=Pl(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Ml.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,i)}return[o?o.nextSibling:t.firstChild,i?i.previousSibling:t.lastChild]}},lc=Symbol("_vtc");function ac(e,t,i){const n=e[lc];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):i?e.setAttribute("class",t):e.className=t}const Rl=Symbol("_vod"),fc=Symbol("_vsh"),uc=Symbol(""),cc=/(?:^|;)\s*display\s*:/;function hc(e,t,i){const n=e.style,r=vt(i);let s=!1;if(i&&!r){if(t)if(vt(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();i[l]==null&&rn(n,l,"")}else for(const o in t)i[o]==null&&rn(n,o,"");for(const o in i){o==="display"&&(s=!0);const l=i[o];l!=null?pc(e,o,!vt(t)&&t?t[o]:void 0,l)||rn(n,o,l):rn(n,o,"")}}else if(r){if(t!==i){const o=n[uc];o&&(i+=";"+o),n.cssText=i,s=cc.test(i)}}else t&&e.removeAttribute("style");Rl in e&&((!r||t!==i)&&(e[Rl]=s?n.display:""),e[fc]&&(n.display="none"))}const Xn=/\s*!important$/;function rn(e,t,i){if(K(i))i.forEach(n=>rn(e,t,n));else if(i==null&&(i=""),t.startsWith("--"))Xn.test(i)?e.setProperty(t,i.replace(Xn,""),"important"):e.setProperty(t,i);else{const n=dc(e,t);Xn.test(i)?e.setProperty(ri(n),i.replace(Xn,""),"important"):e[n]=i}}const El=["Webkit","Moz","ms"],ns={};function dc(e,t){const i=ns[t];if(i)return i;let n=ue(t);if(n!=="filter"&&n in e)return ns[t]=n;n=Ys(n);for(let r=0;r<El.length;r++){const s=El[r]+n;if(s in e)return ns[t]=s}return t}function pc(e,t,i,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&vt(n)&&i===n}const Al="http://www.w3.org/1999/xlink";function Dl(e,t,i,n,r,s=uf(t)){n&&t.startsWith("xlink:")?i==null?e.removeAttributeNS(Al,t.slice(6,t.length)):e.setAttributeNS(Al,t,i):i==null||s&&!Js(i)?e.removeAttribute(t):e.setAttribute(t,s?"":fe(i)?String(i):i)}function kl(e,t,i,n,r){if(t==="innerHTML"||t==="textContent"){i!=null&&(e[t]=t==="innerHTML"?Pl(i):i);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,a=i==null?e.type==="checkbox"?"on":"":String(i);(l!==a||!("_value"in e))&&(e.value=a),i==null&&e.removeAttribute(t),e._value=i;return}let o=!1;if(i===""||i==null){const l=typeof e[t];l==="boolean"?i=Js(i):i==null&&l==="string"?(i="",o=!0):l==="number"&&(i=0,o=!0)}try{e[t]=i}catch{}o&&e.removeAttribute(r||t)}function _c(e,t,i,n){e.addEventListener(t,i,n)}function gc(e,t,i,n){e.removeEventListener(t,i,n)}const Fl=Symbol("_vei");function mc(e,t,i,n,r=null){const s=e[Fl]||(e[Fl]={}),o=s[t];if(n&&o)o.value=n;else{const[l,a]=vc(t);if(n){const u=s[t]=Tc(n,r);_c(e,l,u,a)}else o&&(gc(e,l,o,a),s[t]=void 0)}}const yc=/(Once|Passive|Capture)$/,xc=/^on:?(?:Once|Passive|Capture)$/;function vc(e){let t,i;for(;(i=e.match(yc))&&!xc.test(e);)t||(t={}),e=e.slice(0,e.length-i[1].length),t[i[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ri(e.slice(2)),t]}let rs=0;const bc=Promise.resolve(),wc=()=>rs||(bc.then(()=>rs=0),rs=Date.now());function Tc(e,t){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;const r=i.value;if(K(r)){const s=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{s.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let a=0;a<o.length&&!n._stopped;a++){const u=o[a];u&&_e(u,t,5,l)}}else _e(r,t,5,[n])};return i.value=e,i.attached=wc(),i}const Ll=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sc=(e,t,i,n,r,s)=>{const o=r==="svg";t==="class"?ac(e,n,o):t==="style"?hc(e,i,n):wn(t)?Tn(t)||mc(e,t,i,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,n,o))?(kl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dl(e,t,n,o,s,t!=="value")):e._isVueCE&&(Oc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!vt(n)))?kl(e,ue(t),n,s,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Dl(e,t,n,o))};function Cc(e,t,i,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ll(t)&&X(i));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ll(t)&&vt(i)?!1:t in e}function Oc(e,t){const i=e._def.props;if(!i)return!1;const n=ue(t);return Array.isArray(i)?i.some(r=>ue(r)===n):Object.keys(i).some(r=>ue(r)===n)}const Pc=Dt({patchProp:Sc},oc);let Il;function Mc(){return Il||(Il=Lu(Pc))}const Rc=(...e)=>{const t=Mc().createApp(...e),{mount:i}=t;return t.mount=n=>{const r=Ac(n);if(!r)return;const s=t._component;!X(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=i(r,!1,Ec(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Ec(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ac(e){return vt(e)?document.querySelector(e):e}function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}/*!
|
|
21
|
+
* GSAP 3.15.1
|
|
22
|
+
* https://gsap.com
|
|
23
|
+
*
|
|
24
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
25
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
26
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
27
|
+
*/var Gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},sn={duration:.5,overwrite:!1,delay:0},ss,Rt,_t,oe=1e8,at=1/oe,os=Math.PI*2,Dc=os/4,kc=0,zl=Math.sqrt,Fc=Math.cos,Lc=Math.sin,Ot=function(t){return typeof t=="string"},bt=function(t){return typeof t=="function"},He=function(t){return typeof t=="number"},ls=function(t){return typeof t>"u"},Ce=function(t){return typeof t=="object"},Ut=function(t){return t!==!1},as=function(){return typeof window<"u"},Gn=function(t){return bt(t)||Ot(t)},Bl=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ft=Array.isArray,Ic=/random\([^)]+\)/g,Nc=/,\s*/g,Hl=/(?:-?\.?\d|\.)+/gi,Wl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Oi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Vl=/[+-]=-?[.\d]+/,zc=/[^,'"\[\]\s]+/gi,Bc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,gt,Oe,us,cs,Jt={},Jn={},Ul,jl=function(t){return(Jn=Mi(t,Jt))&&Kt},hs=function(t,i){return console.warn("Invalid property",t,"set to",i,"Missing plugin? gsap.registerPlugin()")},on=function(t,i){return!i&&console.warn(t)},$l=function(t,i){return t&&(Jt[t]=i)&&Jn&&(Jn[t]=i)||Jt},ln=function(){return 0},Hc={suppressEvents:!0,isStart:!0,kill:!1},Zn={suppressEvents:!0,kill:!1},Wc={suppressEvents:!0},ds={},Ke=[],ps={},ql,Zt={},_s={},Kl=30,Qn=[],gs="",ms=function(t){var i=t[0],n,r;if(Ce(i)||bt(i)||(t=[t]),!(n=(i._gsap||{}).harness)){for(r=Qn.length;r--&&!Qn[r].targetTest(i););n=Qn[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new va(t[r],n)))||t.splice(r,1);return t},ci=function(t){return t._gsap||ms(ae(t))[0]._gsap},Yl=function(t,i,n){return(n=t[i])&&bt(n)?t[i]():ls(n)&&t.getAttribute&&t.getAttribute(i)||n},jt=function(t,i){return(t=t.split(",")).forEach(i)||t},Tt=function(t){return Math.round(t*1e5)/1e5||0},mt=function(t){return Math.round(t*1e7)/1e7||0},Pi=function(t,i){var n=i.charAt(0),r=parseFloat(i.substr(2));return t=parseFloat(t),n==="+"?t+r:n==="-"?t-r:n==="*"?t*r:t/r},Vc=function(t,i){for(var n=i.length,r=0;t.indexOf(i[r])<0&&++r<n;);return r<n},tr=function(){var t=Ke.length,i=Ke.slice(0),n,r;for(ps={},Ke.length=0,n=0;n<t;n++)r=i[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},ys=function(t){return!!(t._initted||t._startAt||t.add)},Xl=function(t,i,n,r){Ke.length&&!Rt&&tr(),t.render(i,n,!!(Rt&&i<0&&ys(t))),Ke.length&&!Rt&&tr()},Gl=function(t){var i=parseFloat(t);return(i||i===0)&&(t+"").match(zc).length<2?i:Ot(t)?t.trim():t},Jl=function(t){return t},Qt=function(t,i){for(var n in i)n in t||(t[n]=i[n]);return t},Uc=function(t){return function(i,n){for(var r in n)r in i||r==="duration"&&t||r==="ease"||(i[r]=n[r])}},Mi=function(t,i){for(var n in i)t[n]=i[n];return t},Zl=function e(t,i){for(var n in i)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(t[n]=Ce(i[n])?e(t[n]||(t[n]={}),i[n]):i[n]);return t},er=function(t,i){var n={},r;for(r in t)r in i||(n[r]=t[r]);return n},an=function(t){var i=t.parent||gt,n=t.keyframes?Uc(Ft(t.keyframes)):Qt;if(Ut(t.inherit))for(;i;)n(t,i.vars.defaults),i=i.parent||i._dp;return t},jc=function(t,i){for(var n=t.length,r=n===i.length;r&&n--&&t[n]===i[n];);return n<0},Ql=function(t,i,n,r,s){var o=t[r],l;if(s)for(l=i[s];o&&o[s]>l;)o=o._prev;return o?(i._next=o._next,o._next=i):(i._next=t[n],t[n]=i),i._next?i._next._prev=i:t[r]=i,i._prev=o,i.parent=i._dp=t,i},ir=function(t,i,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var s=i._prev,o=i._next;s?s._next=o:t[n]===i&&(t[n]=o),o?o._prev=s:t[r]===i&&(t[r]=s),i._next=i._prev=i.parent=null},Ye=function(t,i){t.parent&&(!i||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},hi=function(t,i){if(t&&(!i||i._end>t._dur||i._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},$c=function(t){for(var i=t.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return t},xs=function(t,i,n,r){return t._startAt&&(Rt?t._startAt.revert(Zn):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(i,!0,r))},qc=function e(t){return!t||t._ts&&e(t.parent)},ta=function(t){return t._repeat?Ri(t._tTime,t=t.duration()+t._rDelay)*t:0},Ri=function(t,i){var n=Math.floor(t=mt(t/i));return t&&n===t?n-1:n},nr=function(t,i){return(t-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},rr=function(t){return t._end=mt(t._start+(t._tDur/Math.abs(t._ts||t._rts||at)||0))},sr=function(t,i){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=mt(n._time-(t._ts>0?i/t._ts:((t._dirty?t.totalDuration():t._tDur)-i)/-t._ts)),rr(t),n._dirty||hi(n,t)),t},ea=function(t,i){var n;if((i._time||!i._dur&&i._initted||i._start<t._time&&(i._dur||!i.add))&&(n=nr(t.rawTime(),i),(!i._dur||un(0,i.totalDuration(),n)-i._tTime>at)&&i.render(n,!0)),hi(t,i)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-at}},Pe=function(t,i,n,r){return i.parent&&Ye(i),i._start=mt((He(n)?n:!n&&or(i)&&(!t._last||t._last._start>=t._time)?t._last?t._last._start:t._time:n||t!==gt?le(t,n,i):t._time)+i._delay),i._end=mt(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0)),Ql(t,i,"_first","_last",t._sort?"_start":0),or(i)||(t._recent=i),r||ea(t,i),t._ts<0&&sr(t,t._tTime),t},ia=function(t,i){return(Jt.ScrollTrigger||hs("scrollTrigger",i))&&Jt.ScrollTrigger.create(i,t)},na=function(t,i,n,r,s){if(Ms(t,i,s),!t._initted)return 1;if(!n&&t._pt&&!Rt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&ql!==ee.frame)return Ke.push(t),t._lazy=[s,r],1},Kc=function e(t){var i=t.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||e(i))},or=function(t){var i=t.data;return i==="isFromStart"||i==="isStart"},Yc=function(t,i,n,r){var s=t.ratio,o=i<0||!i&&(!t._start&&Kc(t)&&!(!t._initted&&or(t))||(t._ts<0||t._dp._ts<0)&&!or(t))?0:1,l=t._rDelay,a=0,u,f,c;if(l&&t._repeat&&(a=un(0,t._tDur,i),f=Ri(a,l),t._yoyo&&f&1&&(o=1-o),f!==Ri(t._tTime,l)&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||Rt||r||t._zTime===at||!i&&t._zTime){if(!t._initted&&na(t,i,r,n,a))return;for(c=t._zTime,t._zTime=i||(n?at:0),n||(n=i&&!c),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=a,u=t._pt;u;)u.r(o,u.d),u=u._next;i<0&&xs(t,i,n,!0),t._onUpdate&&!n&&te(t,"onUpdate"),a&&t._repeat&&!n&&t.parent&&te(t,"onRepeat"),(i>=t._tDur||i<0)&&t.ratio===o&&(o&&Ye(t,1),!n&&!Rt&&(te(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=i)},Xc=function(t,i,n){var r;if(n>i)for(r=t._first;r&&r._start<=n;){if(r.data==="isPause"&&r._start>i)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(r.data==="isPause"&&r._start<i)return r;r=r._prev}},Ei=function(t,i,n,r){var s=t._repeat,o=mt(i)||0,l=t._tTime/t._tDur;return l&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:mt(o*(s+1)+t._rDelay*s):o,l>0&&!r&&sr(t,t._tTime=t._tDur*l),t.parent&&rr(t),n||hi(t.parent,t),t},ra=function(t){return t instanceof $t?hi(t):Ei(t,t._dur)},Gc={_start:0,endTime:ln,totalDuration:ln},le=function e(t,i,n){var r=t.labels,s=t._recent||Gc,o=t.duration()>=oe?s.endTime(!1):t._dur,l,a,u;return Ot(i)&&(isNaN(i)||i in r)?(a=i.charAt(0),u=i.substr(-1)==="%",l=i.indexOf("="),a==="<"||a===">"?(l>=0&&(i=i.replace(/=/,"")),(a==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(i.substr(1))||0)*(u?(l<0?s:n).totalDuration()/100:1)):l<0?(i in r||(r[i]=o),r[i]):(a=parseFloat(i.charAt(l-1)+i.substr(l+1)),u&&n&&(a=a/100*(Ft(n)?n[0]:n).totalDuration()),l>1?e(t,i.substr(0,l-1),n)+a:o+a)):i==null?o:+i},fn=function(t,i,n){var r=He(i[1]),s=(r?2:1)+(t<2?0:1),o=i[s],l,a;if(r&&(o.duration=i[1]),o.parent=n,t){for(l=o,a=n;a&&!("immediateRender"in l);)l=a.vars.defaults||{},a=Ut(a.vars.inherit)&&a.parent;o.immediateRender=Ut(l.immediateRender),t<2?o.runBackwards=1:o.startAt=i[s-1]}return new St(i[0],o,i[s+1])},Xe=function(t,i){return t||t===0?i(t):i},un=function(t,i,n){return n<t?t:n>i?i:n},Lt=function(t,i){return!Ot(t)||!(i=Bc.exec(t))?"":i[1]},Jc=function(t,i,n){return Xe(n,function(r){return un(t,i,r)})},vs=[].slice,sa=function(t,i){return t&&Ce(t)&&"length"in t&&(!i&&!t.length||t.length-1 in t&&Ce(t[0]))&&!t.nodeType&&t!==Oe},Zc=function(t,i,n){return n===void 0&&(n=[]),t.forEach(function(r){var s;return Ot(r)&&!i||sa(r,1)?(s=n).push.apply(s,ae(r)):n.push(r)})||n},ae=function(t,i,n){return _t&&!i&&_t.selector?_t.selector(t):Ot(t)&&!n&&(us||!Di())?vs.call((i||cs).querySelectorAll(t),0):Ft(t)?Zc(t,n):sa(t)?vs.call(t,0):t?[t]:[]},bs=function(t){return t=ae(t)[0]||on("Invalid scope")||{},function(i){var n=t.current||t.nativeElement||t;return ae(i,n.querySelectorAll?n:n===t?on("Invalid scope")||cs.createElement("div"):t)}},oa=function(t){return t.sort(function(){return .5-Math.random()})},la=function(t){if(bt(t))return t;var i=Ce(t)?t:{each:t},n=di(i.ease),r=i.from||0,s=parseFloat(i.base)||0,o={},l=r>0&&r<1,a=isNaN(r)||l,u=i.axis,f=r,c=r;return Ot(r)?f=c={center:.5,edges:.5,end:1}[r]||0:!l&&a&&(f=r[0],c=r[1]),function(_,g,y){var d=(y||i).length,b=o[d],S,T,O,w,P,z,A,I,L;if(!b){if(L=i.grid==="auto"?0:(i.grid||[1,oe])[1],!L){for(A=-oe;A<(A=y[L++].getBoundingClientRect().left)&&L<d;);L<d&&L--}for(b=o[d]=[],S=a?Math.min(L,d)*f-.5:r%L,T=L===oe?0:a?d*c/L-.5:r/L|0,A=0,I=oe,z=0;z<d;z++)O=z%L-S,w=T-(z/L|0),b[z]=P=u?Math.abs(u==="y"?w:O):zl(O*O+w*w),P>A&&(A=P),P<I&&(I=P);r==="random"&&oa(b),b.max=A-I,b.min=I,b.v=d=(parseFloat(i.amount)||parseFloat(i.each)*(L>d?d-1:u?u==="y"?d/L:L:Math.max(L,d/L))||0)*(r==="edges"?-1:1),b.b=d<0?s-d:s,b.u=Lt(i.amount||i.each)||0,n=n&&d<0?ch(n):n}return d=(b[_]-b.min)/b.max||0,mt(b.b+(n?n(d):d)*b.v)+b.u}},ws=function(t){var i=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=mt(Math.round(parseFloat(n)/t)*t*i);return(r-r%1)/i+(He(n)?0:Lt(n))}},aa=function(t,i){var n=Ft(t),r,s;return!n&&Ce(t)&&(r=n=t.radius||oe,t.values?(t=ae(t.values),(s=!He(t[0]))&&(r*=r)):t=ws(t.increment)),Xe(i,n?bt(t)?function(o){return s=t(o),Math.abs(s-o)<=r?s:o}:function(o){for(var l=parseFloat(s?o.x:o),a=parseFloat(s?o.y:0),u=oe,f=0,c=t.length,_,g;c--;)s?(_=t[c].x-l,g=t[c].y-a,_=_*_+g*g):_=Math.abs(t[c]-l),_<u&&(u=_,f=c);return f=!r||u<=r?t[f]:o,s||f===o||He(o)?f:f+Lt(o)}:ws(t))},fa=function(t,i,n,r){return Xe(Ft(t)?!i:n===!0?!!(n=0):!r,function(){return Ft(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(i-t+n*.99))/n)*n*r)/r})},Qc=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return function(r){return i.reduce(function(s,o){return o(s)},r)}},th=function(t,i){return function(n){return t(parseFloat(n))+(i||Lt(n))}},eh=function(t,i,n){return ca(t,i,0,1,n)},ua=function(t,i,n){return Xe(n,function(r){return t[~~i(r)]})},ih=function e(t,i,n){var r=i-t;return Ft(t)?ua(t,e(0,t.length),i):Xe(n,function(s){return(r+(s-t)%r)%r+t})},nh=function e(t,i,n){var r=i-t,s=r*2;return Ft(t)?ua(t,e(0,t.length-1),i):Xe(n,function(o){return o=(s+(o-t)%s)%s||0,t+(o>r?s-o:o)})},cn=function(t){return t.replace(Ic,function(i){var n=i.indexOf("[")+1,r=i.substring(n||7,n?i.indexOf("]"):i.length-1).split(Nc);return fa(n?r:+r[0],n?0:+r[1],+r[2]||1e-5)})},ca=function(t,i,n,r,s){var o=i-t,l=r-n;return Xe(s,function(a){return n+((a-t)/o*l||0)})},rh=function e(t,i,n,r){var s=isNaN(t+i)?0:function(g){return(1-g)*t+g*i};if(!s){var o=Ot(t),l={},a,u,f,c,_;if(n===!0&&(r=1)&&(n=null),o)t={p:t},i={p:i};else if(Ft(t)&&!Ft(i)){for(f=[],c=t.length,_=c-2,u=1;u<c;u++)f.push(e(t[u-1],t[u]));c--,s=function(y){y*=c;var d=Math.min(_,~~y);return f[d](y-d)},n=i}else r||(t=Mi(Ft(t)?[]:{},t));if(!f){for(a in i)Os.call(l,t,a,"get",i[a]);s=function(y){return As(y,l)||(o?t.p:t)}}}return Xe(n,s)},ha=function(t,i,n){var r=t.labels,s=oe,o,l,a;for(o in r)l=r[o]-i,l<0==!!n&&l&&s>(l=Math.abs(l))&&(a=o,s=l);return a},te=function(t,i,n){var r=t.vars,s=r[i],o=_t,l=t._ctx,a,u,f;if(s)return a=r[i+"Params"],u=r.callbackScope||t,n&&Ke.length&&tr(),l&&(_t=l),f=a?s.apply(u,a):s.call(u),_t=o,f},hn=function(t){return Ye(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Rt),t.progress()<1&&te(t,"onInterrupt"),t},Ai,da=[],pa=function(t){if(t)if(t=!t.name&&t.default||t,as()||t.headless){var i=t.name,n=bt(t),r=i&&!n&&t.init?function(){this._props=[]}:t,s={init:ln,render:As,add:Os,kill:bh,modifier:vh,rawVars:0},o={targetTest:0,get:0,getSetter:Es,aliases:{},register:0};if(Di(),t!==r){if(Zt[i])return;Qt(r,Qt(er(t,s),o)),Mi(r.prototype,Mi(s,er(t,o))),Zt[r.prop=i]=r,t.targetTest&&(Qn.push(r),ds[i]=1),i=(i==="css"?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}$l(i,r),t.register&&t.register(Kt,r,qt)}else da.push(t)},ct=255,dn={aqua:[0,ct,ct],lime:[0,ct,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ct],navy:[0,0,128],white:[ct,ct,ct],olive:[128,128,0],yellow:[ct,ct,0],orange:[ct,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ct,0,0],pink:[ct,192,203],cyan:[0,ct,ct],transparent:[ct,ct,ct,0]},Ts=function(t,i,n){return t+=t<0?1:t>1?-1:0,(t*6<1?i+(n-i)*t*6:t<.5?n:t*3<2?i+(n-i)*(2/3-t)*6:i)*ct+.5|0},_a=function(t,i,n){var r=t?He(t)?[t>>16,t>>8&ct,t&ct]:0:dn.black,s,o,l,a,u,f,c,_,g,y;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),dn[t])r=dn[t];else if(t.charAt(0)==="#"){if(t.length<6&&(s=t.charAt(1),o=t.charAt(2),l=t.charAt(3),t="#"+s+s+o+o+l+l+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&ct,r&ct,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&ct,t&ct]}else if(t.substr(0,3)==="hsl"){if(r=y=t.match(Hl),!i)a=+r[0]%360/360,u=+r[1]/100,f=+r[2]/100,o=f<=.5?f*(u+1):f+u-f*u,s=f*2-o,r.length>3&&(r[3]*=1),r[0]=Ts(a+1/3,s,o),r[1]=Ts(a,s,o),r[2]=Ts(a-1/3,s,o);else if(~t.indexOf("="))return r=t.match(Wl),n&&r.length<4&&(r[3]=1),r}else r=t.match(Hl)||dn.transparent;r=r.map(Number)}return i&&!y&&(s=r[0]/ct,o=r[1]/ct,l=r[2]/ct,c=Math.max(s,o,l),_=Math.min(s,o,l),f=(c+_)/2,c===_?a=u=0:(g=c-_,u=f>.5?g/(2-c-_):g/(c+_),a=c===s?(o-l)/g+(o<l?6:0):c===o?(l-s)/g+2:(s-o)/g+4,a*=60),r[0]=~~(a+.5),r[1]=~~(u*100+.5),r[2]=~~(f*100+.5)),n&&r.length<4&&(r[3]=1),r},ga=function(t){var i=[],n=[],r=-1;return t.split(Ge).forEach(function(s){var o=s.match(Oi)||[];i.push.apply(i,o),n.push(r+=o.length+1)}),i.c=n,i},ma=function(t,i,n){var r="",s=(t+r).match(Ge),o=i?"hsla(":"rgba(",l=0,a,u,f,c;if(!s)return t;if(s=s.map(function(_){return(_=_a(_,i,1))&&o+(i?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),n&&(f=ga(t),a=n.c,a.join(r)!==f.c.join(r)))for(u=t.replace(Ge,"1").split(Oi),c=u.length-1;l<c;l++)r+=u[l]+(~a.indexOf(l)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:n).shift());if(!u)for(u=t.split(Ge),c=u.length-1;l<c;l++)r+=u[l]+s[l];return r+u[c]},Ge=function(){var e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in dn)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),sh=/hsl[a]?\(/,ya=function(t){var i=t.join(" "),n;if(Ge.lastIndex=0,Ge.test(i))return n=sh.test(i),t[1]=ma(t[1],n),t[0]=ma(t[0],n,ga(t[1])),!0},pn,ee=function(){var e=Date.now,t=500,i=33,n=e(),r=n,s=1e3/240,o=s,l=[],a,u,f,c,_,g,y=function d(b){var S=e()-r,T=b===!0,O,w,P,z;if((S>t||S<0)&&(n+=S-i),r+=S,P=r-n,O=P-o,(O>0||T)&&(z=++c.frame,_=P-c.time*1e3,c.time=P=P/1e3,o+=O+(O>=s?0:s-O),w=1),T||(a=u(d)),w)for(g=0;g<l.length;g++)l[g](P,_,z,b)};return c={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(b){return _/(1e3/(b||60))},wake:function(){Ul&&(!us&&as()&&(Oe=us=window,cs=Oe.document||{},Jt.gsap=Kt,(Oe.gsapVersions||(Oe.gsapVersions=[])).push(Kt.version),jl(Jn||Oe.GreenSockGlobals||!Oe.gsap&&Oe||{}),da.forEach(pa)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,a&&c.sleep(),u=f||function(b){return setTimeout(b,o-c.time*1e3+1|0)},pn=1,y(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(a),pn=0,u=ln},lagSmoothing:function(b,S){t=b||1/0,i=Math.min(S||33,t)},fps:function(b){s=1e3/(b||240),o=c.time*1e3+s},add:function(b,S,T){var O=S?function(w,P,z,A){b(w,P,z,A),c.remove(O)}:b;return c.remove(b),l[T?"unshift":"push"](O),Di(),O},remove:function(b,S){~(S=l.indexOf(b))&&l.splice(S,1)&&g>=S&&g--},_listeners:l},c}(),Di=function(){return!pn&&ee.wake()},Q={},oh=/^[\d.\-M][\d.\-,\s]/,lh=/["']/g,ah=function(t){for(var i={},n=t.substr(1,t.length-3).split(":"),r=n[0],s=1,o=n.length,l,a,u;s<o;s++)a=n[s],l=s!==o-1?a.lastIndexOf(","):a.length,u=a.substr(0,l),i[r]=isNaN(u)?u.replace(lh,"").trim():+u,r=a.substr(l+1).trim();return i},fh=function(t){var i=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",i);return t.substring(i,~r&&r<n?t.indexOf(")",n+1):n)},uh=function(t){var i=(t+"").split("("),n=Q[i[0]];return n&&i.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[ah(i[1])]:fh(t).split(",").map(Gl)):Q._CE&&oh.test(t)?Q._CE("",t):n},ch=function(t){return function(i){return 1-t(1-i)}},di=function(t,i){return t&&(bt(t)?t:Q[t]||uh(t))||i},pi=function(t,i,n,r){n===void 0&&(n=function(a){return 1-i(1-a)}),r===void 0&&(r=function(a){return a<.5?i(a*2)/2:1-i((1-a)*2)/2});var s={easeIn:i,easeOut:n,easeInOut:r},o;return jt(t,function(l){Q[l]=Jt[l]=s,Q[o=l.toLowerCase()]=n;for(var a in s)Q[o+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=Q[l+"."+a]=s[a]}),s},xa=function(t){return function(i){return i<.5?(1-t(1-i*2))/2:.5+t((i-.5)*2)/2}},Ss=function e(t,i,n){var r=i>=1?i:1,s=(n||(t?.3:.45))/(i<1?i:1),o=s/os*(Math.asin(1/r)||0),l=function(f){return f===1?1:r*Math.pow(2,-10*f)*Lc((f-o)*s)+1},a=t==="out"?l:t==="in"?function(u){return 1-l(1-u)}:xa(l);return s=os/s,a.config=function(u,f){return e(t,u,f)},a},Cs=function e(t,i){i===void 0&&(i=1.70158);var n=function(o){return o?--o*o*((i+1)*o+i)+1:0},r=t==="out"?n:t==="in"?function(s){return 1-n(1-s)}:xa(n);return r.config=function(s){return e(t,s)},r};jt("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var i=t<5?t+1:t;pi(e+",Power"+(i-1),t?function(n){return Math.pow(n,i)}:function(n){return n},function(n){return 1-Math.pow(1-n,i)},function(n){return n<.5?Math.pow(n*2,i)/2:1-Math.pow((1-n)*2,i)/2})}),Q.Linear.easeNone=Q.none=Q.Linear.easeIn,pi("Elastic",Ss("in"),Ss("out"),Ss()),function(e,t){var i=1/t,n=2*i,r=2.5*i,s=function(l){return l<i?e*l*l:l<n?e*Math.pow(l-1.5/t,2)+.75:l<r?e*(l-=2.25/t)*l+.9375:e*Math.pow(l-2.625/t,2)+.984375};pi("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),pi("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),pi("Circ",function(e){return-(zl(1-e*e)-1)}),pi("Sine",function(e){return e===1?1:-Fc(e*Dc)+1}),pi("Back",Cs("in"),Cs("out"),Cs()),Q.SteppedEase=Q.steps=Jt.SteppedEase={config:function(t,i){t===void 0&&(t=1);var n=1/t,r=t+(i?0:1),s=i?1:0,o=1-at;return function(l){return((r*un(0,o,l)|0)+s)*n}}},sn.ease=Q["quad.out"],jt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return gs+=e+","+e+"Params,"});var va=function(t,i){this.id=kc++,t._gsap=this,this.target=t,this.harness=i,this.get=i?i.get:Yl,this.set=i?i.getSetter:Es},_n=function(){function e(i){this.vars=i,this._delay=+i.delay||0,(this._repeat=i.repeat===1/0?-2:i.repeat||0)&&(this._rDelay=i.repeatDelay||0,this._yoyo=!!i.yoyo||!!i.yoyoEase),this._ts=1,Ei(this,+i.duration,1,1),this.data=i.data,_t&&(this._ctx=_t,_t.data.push(this)),pn||ee.wake()}var t=e.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,Ei(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,r){if(Di(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(sr(this,n),!s._dp||s.parent||ea(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Pe(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===at||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Xl(this,n,r)),this},t.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+ta(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},t.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+ta(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,r){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,r):this._repeat?Ri(this._tTime,s)+1:1},t.timeScale=function(n,r){if(!arguments.length)return this._rts===-at?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?nr(this.parent._time,this):this._tTime,o=this._rts<0;this._rts=+n||0,this._ts=this._ps||n===-at?0:this._rts;var l=this.totalDuration();return(o!==this._rts<0||s>0&&s<l)&&this.totalTime(un(-Math.abs(this._delay),l,s),r!==!1),rr(this),$c(this)},t.paused=function(n){if(!arguments.length)return this._ps;if(this._ps!==n)if(this._ps=n,n)this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0;else{Di(),this._ts=this._rts;var r=this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,s=this.progress()===1&&Math.abs(this._zTime)!==at,o;if(s)for(this._tTime-=at,o=this._first;o;){if(!o._dur&&o._zTime<0&&o._ts&&o._start<=r+at){s=!1;break}o=o._next}this.totalTime(r,s)}return this},t.startTime=function(n){if(arguments.length){this._start=mt(n);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&Pe(r,this,this._start-this._delay),this}return this._start},t.endTime=function(n){return this._start+(Ut(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?nr(r.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Wc);var r=Rt;return Rt=n,ys(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),Rt=r,this},t.globalTime=function(n){for(var r=this,s=arguments.length?n:r.rawTime();r;)s=r._start+s/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,ra(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,ra(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,r){return this.totalTime(le(this,n),Ut(r))},t.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,Ut(r)),this._dur||(this._zTime=-at),this},t.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},t.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(n,r){return n!=null&&this.seek(n,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-at:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-at,this},t.isActive=function(){var n=this.parent||this._dp,r=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=r&&s<this.endTime(!0)-at)},t.eventCallback=function(n,r,s){var o=this.vars;return arguments.length>1?(r?(o[n]=r,s&&(o[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=r)):delete o[n],this):o[n]},t.then=function(n){var r=this,s=r._prom;return new Promise(function(o){var l=bt(n)?n:Jl,a=function(){var f=r.then;r.then=null,s&&s(),bt(l)&&(l=l(r))&&(l.then||l===r)&&(r.then=f),o(l),r.then=f};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){hn(this)},e}();Qt(_n.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:-at,_prom:0,_ps:!1,_rts:1});var $t=function(e){Nl(t,e);function t(n,r){var s;return n===void 0&&(n={}),s=e.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=Ut(n.sortChildren),gt&&Pe(n.parent||gt,Be(s),r),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&ia(Be(s),n.scrollTrigger),s}var i=t.prototype;return i.to=function(r,s,o){return fn(0,arguments,this),this},i.from=function(r,s,o){return fn(1,arguments,this),this},i.fromTo=function(r,s,o,l){return fn(2,arguments,this),this},i.set=function(r,s,o){return s.duration=0,s.parent=this,an(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new St(r,s,le(this,o),1),this},i.call=function(r,s,o){return Pe(this,St.delayedCall(0,r,s),o)},i.staggerTo=function(r,s,o,l,a,u,f){return o.duration=s,o.stagger=o.stagger||l,o.onComplete=u,o.onCompleteParams=f,o.parent=this,new St(r,o,le(this,a)),this},i.staggerFrom=function(r,s,o,l,a,u,f){return o.runBackwards=1,an(o).immediateRender=Ut(o.immediateRender),this.staggerTo(r,s,o,l,a,u,f)},i.staggerFromTo=function(r,s,o,l,a,u,f,c){return l.startAt=o,an(l).immediateRender=Ut(l.immediateRender),this.staggerTo(r,s,l,a,u,f,c)},i.render=function(r,s,o){var l=this._time,a=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=r<=0?0:mt(r),c=this._zTime<0!=r<0&&(this._initted||!u),_,g,y,d,b,S,T,O,w,P,z,A;if(this!==gt&&f>a&&r>=0&&(f=a),f!==this._tTime||o||c){if(l!==this._time&&u&&(f+=this._time-l,r+=this._time-l),_=f,w=this._start,O=this._ts,S=!O,c&&(u||(l=this._zTime),(r||!s)&&(this._zTime=r)),this._repeat){if(z=this._yoyo,b=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(b*100+r,s,o);if(_=mt(f%b),f===a?(d=this._repeat,_=u):(P=mt(f/b),d=~~P,d&&d===P&&(_=u,d--),_>u&&(_=u)),P=Ri(this._tTime,b),!l&&this._tTime&&P!==d&&this._tTime-P*b-this._dur<=0&&(P=d),z&&d&1&&(_=u-_,A=1),d!==P&&!this._lock){var I=z&&P&1,L=I===(z&&d&1);if(d<P&&(I=!I),l=I?0:f%u?u:f,this._lock=1,this.render(l||(A?0:mt(d*b)),s,!u)._lock=0,this._tTime=f,!s&&this.parent&&te(this,"onRepeat"),this.vars.repeatRefresh&&!A&&(this.invalidate()._lock=1,P=d),l&&l!==this._time||S!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,a=this._tDur,L&&(this._lock=2,l=I?u:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!A&&this.invalidate()),this._lock=0,!this._ts&&!S)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(T=Xc(this,mt(l),mt(_)),T&&(f-=_-(_=T._start))),this._tTime=f,this._time=_,this._act=!!O,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,l=0),!l&&f&&u&&!s&&!P&&(te(this,"onStart"),this._tTime!==f))return this;if(_>=l&&r>=0)for(g=this._first;g;){if(y=g._next,(g._act||_>=g._start)&&g._ts&&T!==g){if(g.parent!==this)return this.render(r,s,o);if(g.render(g._ts>0?(_-g._start)*g._ts:(g._dirty?g.totalDuration():g._tDur)+(_-g._start)*g._ts,s,o),_!==this._time||!this._ts&&!S){T=0,y&&(f+=this._zTime=-at);break}}g=y}else{g=this._last;for(var j=r<0?r:_;g;){if(y=g._prev,(g._act||j<=g._end)&&g._ts&&T!==g){if(g.parent!==this)return this.render(r,s,o);if(g.render(g._ts>0?(j-g._start)*g._ts:(g._dirty?g.totalDuration():g._tDur)+(j-g._start)*g._ts,s,o||Rt&&ys(g)),_!==this._time||!this._ts&&!S){T=0,y&&(f+=this._zTime=j?-at:at);break}}g=y}}if(T&&!s&&(this.pause(),T.render(_>=l?0:-at)._zTime=_>=l?1:-1,this._ts))return this._start=w,rr(this),this.render(r,s,o);this._onUpdate&&!s&&te(this,"onUpdate",!0),(f===a&&this._tTime>=this.totalDuration()||!f&&l)&&(w===this._start||Math.abs(O)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(f===a&&this._ts>0||!f&&this._ts<0)&&Ye(this,1),!s&&!(r<0&&!l)&&(f||l||!a)&&(te(this,f===a&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<a&&this.timeScale()>0)&&this._prom())))}return this},i.add=function(r,s){var o=this;if(He(s)||(s=le(this,s,r)),!(r instanceof _n)){if(Ft(r))return r.forEach(function(l){return o.add(l,s)}),this;if(Ot(r))return this.addLabel(r,s);if(bt(r))r=St.delayedCall(0,r);else return this}return this!==r?Pe(this,r,s):this},i.getChildren=function(r,s,o,l){r===void 0&&(r=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),l===void 0&&(l=-oe);for(var a=[],u=this._first;u;)u._start>=l&&(u instanceof St?s&&a.push(u):(o&&a.push(u),r&&a.push.apply(a,u.getChildren(!0,s,o)))),u=u._next;return a},i.getById=function(r){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===r)return s[o]},i.remove=function(r){return Ot(r)?this.removeLabel(r):bt(r)?this.killTweensOf(r):(r.parent===this&&ir(this,r),r===this._recent&&(this._recent=this._last),hi(this))},i.totalTime=function(r,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=mt(ee.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),e.prototype.totalTime.call(this,r,s),this._forcing=0,this):this._tTime},i.addLabel=function(r,s){return this.labels[r]=le(this,s),this},i.removeLabel=function(r){return delete this.labels[r],this},i.addPause=function(r,s,o){var l=St.delayedCall(0,s||ln,o);return l.data="isPause",this._hasPause=1,Pe(this,l,le(this,r))},i.removePause=function(r){var s=this._first;for(r=le(this,r);s;)s._start===r&&s.data==="isPause"&&Ye(s),s=s._next},i.killTweensOf=function(r,s,o){for(var l=this.getTweensOf(r,o),a=l.length;a--;)Je!==l[a]&&l[a].kill(r,s);return this},i.getTweensOf=function(r,s){for(var o=[],l=ae(r),a=this._first,u=He(s),f;a;)a instanceof St?Vc(a._targets,l)&&(u?(!Je||a._initted&&a._ts)&&a.globalTime(0)<=s&&a.globalTime(a.totalDuration())>s:!s||a.isActive())&&o.push(a):(f=a.getTweensOf(l,s)).length&&o.push.apply(o,f),a=a._next;return o},i.tweenTo=function(r,s){s=s||{};var o=this,l=le(o,r),a=s,u=a.startAt,f=a.onStart,c=a.onStartParams,_=a.immediateRender,g,y=St.to(o,Qt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:s.duration||Math.abs((l-(u&&"time"in u?u.time:o._time))/o.timeScale())||at,onStart:function(){if(o.pause(),!g){var b=s.duration||Math.abs((l-(u&&"time"in u?u.time:o._time))/o.timeScale());y._dur!==b&&Ei(y,b,0,1).render(y._time,!0,!0),g=1}f&&f.apply(y,c||[])}},s));return _?y.render(0):y},i.tweenFromTo=function(r,s,o){return this.tweenTo(s,Qt({startAt:{time:le(this,r)}},o))},i.recent=function(){return this._recent},i.nextLabel=function(r){return r===void 0&&(r=this._time),ha(this,le(this,r))},i.previousLabel=function(r){return r===void 0&&(r=this._time),ha(this,le(this,r),1)},i.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+at)},i.shiftChildren=function(r,s,o){o===void 0&&(o=0);var l=this._first,a=this.labels,u;for(r=mt(r);l;)l._start>=o&&(l._start+=r,l._end+=r),l=l._next;if(s)for(u in a)a[u]>=o&&(a[u]+=r);return hi(this)},i.invalidate=function(r){var s=this._first;for(this._lock=0;s;)s.invalidate(r),s=s._next;return e.prototype.invalidate.call(this,r)},i.clear=function(r){r===void 0&&(r=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),hi(this)},i.totalDuration=function(r){var s=0,o=this,l=o._last,a=oe,u,f,c;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(c=o.parent;l;)u=l._prev,l._dirty&&l.totalDuration(),f=l._start,f>a&&o._sort&&l._ts&&!o._lock?(o._lock=1,Pe(o,l,f-l._delay,1)._lock=0):a=f,f<0&&l._ts&&(s-=f,(!c&&!o._dp||c&&c.smoothChildTiming)&&(o._start+=mt(f/o._ts),o._time-=f,o._tTime-=f),o.shiftChildren(-f,!1,-1/0),a=0),l._end>s&&l._ts&&(s=l._end),l=u;Ei(o,o===gt&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(r){if(gt._ts&&(Xl(gt,nr(r,gt)),ql=ee.frame),ee.frame>=Kl){Kl+=Gt.autoSleep||120;var s=gt._first;if((!s||!s._ts)&&Gt.autoSleep&&ee._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||ee.sleep()}}},t}(_n);Qt($t.prototype,{_lock:0,_hasPause:0,_forcing:0});var hh=function(t,i,n,r,s,o,l){var a=new qt(this._pt,t,i,0,1,Ca,null,s),u=0,f=0,c,_,g,y,d,b,S,T;for(a.b=n,a.e=r,n+="",r+="",(S=~r.indexOf("random("))&&(r=cn(r)),o&&(T=[n,r],o(T,t,i),n=T[0],r=T[1]),_=n.match(fs)||[];c=fs.exec(r);)y=c[0],d=r.substring(u,c.index),g?g=(g+1)%5:d.substr(-5)==="rgba("&&(g=1),y!==_[f++]&&(b=parseFloat(_[f-1])||0,a._pt={_next:a._pt,p:d||f===1?d:",",s:b,c:y.charAt(1)==="="?Pi(b,y)-b:parseFloat(y)-b,m:g&&g<4?Math.round:0},u=fs.lastIndex);return a.c=u<r.length?r.substring(u,r.length):"",a.fp=l,(Vl.test(r)||S)&&(a.e=0),this._pt=a,a},Os=function(t,i,n,r,s,o,l,a,u,f){bt(r)&&(r=r(s||0,t,o));var c=t[i],_=n!=="get"?n:bt(c)?u?t[i.indexOf("set")||!bt(t["get"+i.substr(3)])?i:"get"+i.substr(3)](u):t[i]():c,g=bt(c)?u?mh:Ta:Rs,y;if(Ot(r)&&(~r.indexOf("random(")&&(r=cn(r)),r.charAt(1)==="="&&(y=Pi(_,r)+(Lt(_)||0),(y||y===0)&&(r=y))),!f||_!==r||Ps)return!isNaN(_*r)&&r!==""?(y=new qt(this._pt,t,i,+_||0,r-(_||0),typeof c=="boolean"?xh:Sa,0,g),u&&(y.fp=u),l&&y.modifier(l,this,t),this._pt=y):(!c&&!(i in t)&&hs(i,r),hh.call(this,t,i,_,r,g,a||Gt.stringFilter,u))},dh=function(t,i,n,r,s){if(bt(t)&&(t=gn(t,s,i,n,r)),!Ce(t)||t.style&&t.nodeType||Ft(t)||Bl(t))return Ot(t)?gn(t,s,i,n,r):t;var o={},l;for(l in t)o[l]=gn(t[l],s,i,n,r);return o},ba=function(t,i,n,r,s,o){var l,a,u,f;if(Zt[t]&&(l=new Zt[t]).init(s,l.rawVars?i[t]:dh(i[t],r,s,o,n),n,r,o)!==!1&&(n._pt=a=new qt(n._pt,s,t,0,1,l.render,l,0,l.priority),n!==Ai))for(u=n._ptLookup[n._targets.indexOf(s)],f=l._props.length;f--;)u[l._props[f]]=a;return l},Je,Ps,Ms=function e(t,i,n){var r=t.vars,s=r.ease,o=r.startAt,l=r.immediateRender,a=r.lazy,u=r.onUpdate,f=r.runBackwards,c=r.yoyoEase,_=r.keyframes,g=r.autoRevert,y=t._dur,d=t._startAt,b=t._targets,S=t.parent,T=S&&S.data==="nested"?S.vars.targets:b,O=t._overwrite==="auto"&&!ss,w=t.timeline,P=r.easeReverse||c,z,A,I,L,j,ot,rt,st,lt,xt,Z,$,G;if(w&&(!_||!s)&&(s="none"),t._ease=di(s,sn.ease),t._rEase=P&&(di(P)||t._ease),t._from=!w&&!!r.runBackwards,t._from&&(t.ratio=1),!w||_&&!r.stagger){if(st=b[0]?ci(b[0]).harness:0,$=st&&r[st.prop],z=er(r,ds),d&&(d._zTime<0&&d.progress(1),i<0&&f&&l&&!g?d.render(-1,!0):d.revert(f&&y?Zn:Hc),d._lazy=0),o){if(Ye(t._startAt=St.set(b,Qt({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!d&&Ut(a),startAt:null,delay:0,onUpdate:u&&function(){return te(t,"onUpdate")},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,i<0&&(Rt||!l&&!g)&&t._startAt.revert(Zn),l&&y&&i<=0&&n<=0){i&&(t._zTime=i);return}}else if(f&&y&&!d){if(i&&(l=!1),I=Qt({overwrite:!1,data:"isFromStart",lazy:l&&!d&&Ut(a),immediateRender:l,stagger:0,parent:S},z),$&&(I[st.prop]=$),Ye(t._startAt=St.set(b,I)),t._startAt._dp=0,t._startAt._sat=t,i<0&&(Rt?t._startAt.revert(Zn):t._startAt.render(-1,!0)),t._zTime=i,!l)e(t._startAt,at,at);else if(!i)return}for(t._pt=t._ptCache=0,a=y&&Ut(a)||a&&!y,A=0;A<b.length;A++){if(j=b[A],rt=j._gsap||ms(b)[A]._gsap,t._ptLookup[A]=xt={},ps[rt.id]&&Ke.length&&tr(),Z=T===b?A:T.indexOf(j),st&&(lt=new st).init(j,$||z,t,Z,T)!==!1&&(t._pt=L=new qt(t._pt,j,lt.name,0,1,lt.render,lt,0,lt.priority),lt._props.forEach(function(Et){xt[Et]=L}),lt.priority&&(ot=1)),!st||$)for(I in z)Zt[I]&&(lt=ba(I,z,t,Z,j,T))?lt.priority&&(ot=1):xt[I]=L=Os.call(t,j,I,"get",z[I],Z,T,0,r.stringFilter);t._op&&t._op[A]&&t.kill(j,t._op[A]),O&&t._pt&&(Je=t,gt.killTweensOf(j,xt,t.globalTime(i)),G=!t.parent,Je=0),t._pt&&a&&(ps[rt.id]=1)}ot&&Oa(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!G,_&&i<=0&&w.render(oe,!0,!0)},ph=function(t,i,n,r,s,o,l,a){var u=(t._pt&&t._ptCache||(t._ptCache={}))[i],f,c,_,g;if(!u)for(u=t._ptCache[i]=[],_=t._ptLookup,g=t._targets.length;g--;){if(f=_[g][i],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==i&&f.fp!==i;)f=f._next;if(!f)return Ps=1,t.vars[i]="+=0",Ms(t,l),Ps=0,a?on(i+" not eligible for reset. Try splitting into individual properties"):1;u.push(f)}for(g=u.length;g--;)c=u[g],f=c._pt||c,f.s=(r||r===0)&&!s?r:f.s+(r||0)+o*f.c,f.c=n-f.s,c.e&&(c.e=Tt(n)+Lt(c.e)),c.b&&(c.b=f.s+Lt(c.b))},_h=function(t,i){var n=t[0]?ci(t[0]).harness:0,r=n&&n.aliases,s,o,l,a;if(!r)return i;s=Mi({},i);for(o in r)if(o in s)for(a=r[o].split(","),l=a.length;l--;)s[a[l]]=s[o];return s},gh=function(t,i,n,r){var s=i.ease||r||"power1.inOut",o,l;if(Ft(i))l=n[t]||(n[t]=[]),i.forEach(function(a,u){return l.push({t:u/(i.length-1)*100,v:a,e:s})});else for(o in i)l=n[o]||(n[o]=[]),o==="ease"||l.push({t:parseFloat(t),v:i[o],e:s})},gn=function(t,i,n,r,s){return bt(t)?t.call(i,n,r,s):Ot(t)&&~t.indexOf("random(")?cn(t):t},lr=gs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",wa={};jt(lr+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return wa[e]=1}),lr=lr.split(",");var St=function(e){Nl(t,e);function t(n,r,s,o){var l;typeof r=="number"&&(s.duration=r,r=s,s=null),l=e.call(this,o?r:an(r))||this;var a=l.vars,u=a.duration,f=a.delay,c=a.immediateRender,_=a.stagger,g=a.overwrite,y=a.keyframes,d=a.defaults,b=a.scrollTrigger,S=r.parent||gt,T=(Ft(n)||Bl(n)?He(n[0]):"length"in r)?[n]:ae(n),O,w,P,z,A,I,L,j;if(l._targets=T.length?ms(T):on("GSAP target "+n+" not found. https://gsap.com",!Gt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=g,y||_||Gn(u)||Gn(f)){r=l.vars;var ot=r.easeReverse||r.yoyoEase;if(O=l.timeline=new $t({data:"nested",defaults:d||{},targets:S&&S.data==="nested"?S.vars.targets:T}),O.kill(),O.parent=O._dp=Be(l),O._start=0,_||Gn(u)||Gn(f)){if(z=T.length,L=_&&la(_),Ce(_))for(A in _)~lr.indexOf(A)&&(j||(j={}),j[A]=_[A]);for(w=0;w<z;w++)P=er(r,wa),P.stagger=0,ot&&(P.easeReverse=ot),j&&Mi(P,j),I=T[w],P.duration=+gn(u,Be(l),w,I,T),P.delay=(+gn(f,Be(l),w,I,T)||0)-l._delay,!_&&z===1&&P.delay&&(l._delay=f=P.delay,l._start+=f,P.delay=0),O.to(I,P,L?L(w,I,T):0),O._ease=Q.none;O.duration()?u=f=0:l.timeline=0}else if(y){an(Qt(O.vars.defaults,{ease:"none"})),O._ease=di(y.ease||r.ease||"none");var rt=0,st,lt,xt;if(Ft(y))y.forEach(function(Z){return O.to(T,Z,">")}),O.duration();else{P={};for(A in y)A==="ease"||A==="easeEach"||gh(A,y[A],P,y.easeEach);for(A in P)for(st=P[A].sort(function(Z,$){return Z.t-$.t}),rt=0,w=0;w<st.length;w++)lt=st[w],xt={ease:lt.e,duration:(lt.t-(w?st[w-1].t:0))/100*u},xt[A]=lt.v,O.to(T,xt,rt),rt+=xt.duration;O.duration()<u&&O.to({},{duration:u-O.duration()})}}u||l.duration(u=O.duration())}else l.timeline=0;return g===!0&&!ss&&(Je=Be(l),gt.killTweensOf(T),Je=0),Pe(S,Be(l),s),r.reversed&&l.reverse(),r.paused&&l.paused(!0),(c||!u&&!y&&l._start===mt(S._time)&&Ut(c)&&qc(Be(l))&&S.data!=="nested")&&(l._tTime=-at,l.render(Math.max(0,-f)||0)),b&&ia(Be(l),b),l}var i=t.prototype;return i.render=function(r,s,o){var l=this._time,a=this._tDur,u=this._dur,f=r<0,c=r>a-at&&!f?a:r<at?0:r,_,g,y,d,b,S,T,O;if(!u)Yc(this,r,s,o);else if(c!==this._tTime||!r||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(_=c,O=this.timeline,this._repeat){if(d=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(d*100+r,s,o);if(_=mt(c%d),c===a?(y=this._repeat,_=u):(b=mt(c/d),y=~~b,y&&y===b?(_=u,y--):_>u&&(_=u)),S=this._yoyo&&y&1,S&&(_=u-_),b=Ri(this._tTime,d),_===l&&!o&&this._initted&&y===b)return this._tTime=c,this;y!==b&&this.vars.repeatRefresh&&!S&&!this._lock&&_!==d&&this._initted&&(this._lock=o=1,this.render(mt(d*y),!0).invalidate()._lock=0)}if(!this._initted){if(na(this,f?r:_,o,s,c))return this._tTime=0,this;if(l!==this._time&&!(o&&this.vars.repeatRefresh&&y!==b))return this;if(u!==this._dur)return this.render(r,s,o)}if(this._rEase){var w=_<l;if(w!==this._inv){var P=w?l:u-l;this._inv=w,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=l,this._invRecip=P?(w?-1:1)/P:0,this._invScale=w?-this.ratio:1-this.ratio,this._invEase=w?this._rEase:this._ease}this.ratio=T=this._invRatio+this._invScale*this._invEase((_-this._invTime)*this._invRecip)}else this.ratio=T=this._ease(_/u);if(this._from&&(this.ratio=T=1-T),this._tTime=c,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),!l&&c&&!s&&!b&&(te(this,"onStart"),this._tTime!==c))return this;for(g=this._pt;g;)g.r(T,g.d),g=g._next;O&&O.render(r<0?r:O._dur*O._ease(_/this._dur),s,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!s&&(f&&xs(this,r,s,o),te(this,"onUpdate")),this._repeat&&y!==b&&this.vars.onRepeat&&!s&&this.parent&&te(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(f&&!this._onUpdate&&xs(this,r,!0,!0),(r||!u)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&Ye(this,1),!s&&!(f&&!l)&&(c||l||S)&&(te(this,c===a?"onComplete":"onReverseComplete",!0),this._prom&&!(c<a&&this.timeScale()>0)&&this._prom()))}return this},i.targets=function(){return this._targets},i.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),e.prototype.invalidate.call(this,r)},i.resetTo=function(r,s,o,l,a){pn||ee.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Ms(this,u),f=this._ease(u/this._dur),ph(this,r,s,o,l,f,u,a)?this.resetTo(r,s,o,l,1):(sr(this,0),this.parent||Ql(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(r,s){if(s===void 0&&(s="all"),!r&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?hn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Rt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,s,Je&&Je.vars.overwrite!==!0)._first||hn(this),this.parent&&o!==this.timeline.totalDuration()&&Ei(this,this._dur*this.timeline._tDur/o,0,1),this}var l=this._targets,a=r?ae(r):l,u=this._ptLookup,f=this._pt,c,_,g,y,d,b,S;if((!s||s==="all")&&jc(l,a))return s==="all"&&(this._pt=0),hn(this);for(c=this._op=this._op||[],s!=="all"&&(Ot(s)&&(d={},jt(s,function(T){return d[T]=1}),s=d),s=_h(l,s)),S=l.length;S--;)if(~a.indexOf(l[S])){_=u[S],s==="all"?(c[S]=s,y=_,g={}):(g=c[S]=c[S]||{},y=s);for(d in y)b=_&&_[d],b&&((!("kill"in b.d)||b.d.kill(d)===!0)&&ir(this,b,"_pt"),delete _[d]),g!=="all"&&(g[d]=1)}return this._initted&&!this._pt&&f&&hn(this),this},t.to=function(r,s){return new t(r,s,arguments[2])},t.from=function(r,s){return fn(1,arguments)},t.delayedCall=function(r,s,o,l){return new t(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:l})},t.fromTo=function(r,s,o){return fn(2,arguments)},t.set=function(r,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new t(r,s)},t.killTweensOf=function(r,s,o){return gt.killTweensOf(r,s,o)},t}(_n);Qt(St.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),jt("staggerTo,staggerFrom,staggerFromTo",function(e){St[e]=function(){var t=new $t,i=vs.call(arguments,0);return i.splice(e==="staggerFromTo"?5:4,0,0),t[e].apply(t,i)}});var Rs=function(t,i,n){return t[i]=n},Ta=function(t,i,n){return t[i](n)},mh=function(t,i,n,r){return t[i](r.fp,n)},yh=function(t,i,n){return t.setAttribute(i,n)},Es=function(t,i){return bt(t[i])?Ta:ls(t[i])&&t.setAttribute?yh:Rs},Sa=function(t,i){return i.set(i.t,i.p,Math.round((i.s+i.c*t)*1e6)/1e6,i)},xh=function(t,i){return i.set(i.t,i.p,!!(i.s+i.c*t),i)},Ca=function(t,i){var n=i._pt,r="";if(!t&&i.b)r=i.b;else if(t===1&&i.e)r=i.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+r,n=n._next;r+=i.c}i.set(i.t,i.p,r,i)},As=function(t,i){for(var n=i._pt;n;)n.r(t,n.d),n=n._next},vh=function(t,i,n,r){for(var s=this._pt,o;s;)o=s._next,s.p===r&&s.modifier(t,i,n),s=o},bh=function(t){for(var i=this._pt,n,r;i;)r=i._next,i.p===t&&!i.op||i.op===t?ir(this,i,"_pt"):i.dep||(n=1),i=r;return!n},wh=function(t,i,n,r){r.mSet(t,i,r.m.call(r.tween,n,r.mt),r)},Oa=function(t){for(var i=t._pt,n,r,s,o;i;){for(n=i._next,r=s;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:o)?i._prev._next=i:s=i,(i._next=r)?r._prev=i:o=i,i=n}t._pt=s},qt=function(){function e(i,n,r,s,o,l,a,u,f){this.t=n,this.s=s,this.c=o,this.p=r,this.r=l||Sa,this.d=a||this,this.set=u||Rs,this.pr=f||0,this._next=i,i&&(i._prev=this)}var t=e.prototype;return t.modifier=function(n,r,s){this.mSet=this.mSet||this.set,this.set=wh,this.m=n,this.mt=s,this.tween=r},e}();jt(gs+"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,easeReverse",function(e){return ds[e]=1}),Jt.TweenMax=Jt.TweenLite=St,Jt.TimelineLite=Jt.TimelineMax=$t,gt=new $t({sortChildren:!1,defaults:sn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Gt.stringFilter=ya;var _i=[],ar={},Th=[],Pa=0,Sh=0,Ds=function(t){return(ar[t]||Th).map(function(i){return i()})},mn=function(){var t=Date.now(),i=[];t-Pa>2&&(Ds("matchMediaInit"),_i.forEach(function(n){var r=n.queries,s=n.conditions,o,l,a,u;for(l in r)o=Oe.matchMedia(r[l]).matches,o&&(a=1),o!==s[l]&&(s[l]=o,u=1);u&&(n.revert(),a&&i.push(n))}),Ds("matchMediaRevert"),i.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),Pa=t,Ds("matchMedia"))},Ma=function(){function e(i,n){this.selector=n&&bs(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Sh++,i&&this.add(i)}var t=e.prototype;return t.add=function(n,r,s){bt(n)&&(s=r,r=n,n=bt);var o=this,l=function(){var u=_t,f=o.selector,c;return u&&u!==o&&u.data.push(o),s&&(o.selector=bs(s)),_t=o,c=r.apply(o,arguments),bt(c)&&o._r.push(c),_t=u,o.selector=f,o.isReverted=!1,c};return o.last=l,n===bt?l(o,function(a){return o.add(null,a)}):n?o[n]=l:l},t.ignore=function(n){var r=_t;_t=null,n(this),_t=r},t.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof e?n.push.apply(n,r.getTweens()):r instanceof St&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,r){var s=this;if(n?function(){for(var l=s.getTweens(),a=s.data.length,u;a--;)u=s.data[a],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return l.splice(l.indexOf(f),1)}));for(l.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,c){return c.g-f.g||-1/0}).forEach(function(f){return f.t.revert(n)}),a=s.data.length;a--;)u=s.data[a],u instanceof $t?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof St)&&u.revert&&u.revert(n);s._r.forEach(function(f){return f(n,s)}),s.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),r){for(var o=_i.length;o--;)_i[o].id===this.id&&_i.splice(o,1);this._mqs&&this._mqs.forEach(function(l){return l.removeListener?l.removeListener(mn):l.removeEventListener("change",mn)}),this._mqs=null}},t.revert=function(n){this.kill(n||{})},e}(),Ch=function(){function e(i){this.contexts=[],this.scope=i,_t&&_t.data.push(this)}var t=e.prototype;return t.add=function(n,r,s){Ce(n)||(n={matches:n});var o=new Ma(0,s||this.scope),l=o.conditions={},a,u,f;_t&&!o.selector&&(o.selector=_t.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=n;for(u in n)u==="all"?f=1:(a=Oe.matchMedia(n[u]),a&&(_i.indexOf(o)<0&&_i.push(o),(l[u]=a.matches)&&(f=1),a.addListener?a.addListener(mn):a.addEventListener("change",mn),(o._mqs||(o._mqs=[])).push(a)));return f&&r(o,function(c){return o.add(null,c)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},e}(),fr={registerPlugin:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i.forEach(function(r){return pa(r)})},timeline:function(t){return new $t(t)},getTweensOf:function(t,i){return gt.getTweensOf(t,i)},getProperty:function(t,i,n,r){Ot(t)&&(t=ae(t)[0]);var s=ci(t||{}).get,o=n?Jl:Gl;return n==="native"&&(n=""),t&&(i?o((Zt[i]&&Zt[i].get||s)(t,i,n,r)):function(l,a,u){return o((Zt[l]&&Zt[l].get||s)(t,l,a,u))})},quickSetter:function(t,i,n){if(t=ae(t),t.length>1){var r=t.map(function(f){return Kt.quickSetter(f,i,n)}),s=r.length;return function(f){for(var c=s;c--;)r[c](f)}}t=t[0]||{};var o=Zt[i],l=ci(t),a=l.harness&&(l.harness.aliases||{})[i]||i,u=o?function(f){var c=new o;Ai._pt=0,c.init(t,n?f+n:f,Ai,0,[t]),c.render(1,c),Ai._pt&&As(1,Ai)}:l.set(t,a);return o?u:function(f){return u(t,a,n?f+n:f,l,1)}},quickTo:function(t,i,n){var r,s=Kt.to(t,Qt((r={},r[i]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(a,u,f){return s.resetTo(i,a,u,f)};return o.tween=s,o},isTweening:function(t){return gt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=di(t.ease,sn.ease)),Zl(sn,t||{})},config:function(t){return Zl(Gt,t||{})},registerEffect:function(t){var i=t.name,n=t.effect,r=t.plugins,s=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach(function(l){return l&&!Zt[l]&&!Jt[l]&&on(i+" effect requires "+l+" plugin.")}),_s[i]=function(l,a,u){return n(ae(l),Qt(a||{},s),u)},o&&($t.prototype[i]=function(l,a,u){return this.add(_s[i](l,Ce(a)?a:(u=a)&&{},this),u)})},registerEase:function(t,i){Q[t]=di(i)},parseEase:function(t,i){return arguments.length?di(t,i):Q},getById:function(t){return gt.getById(t)},exportRoot:function(t,i){t===void 0&&(t={});var n=new $t(t),r,s;for(n.smoothChildTiming=Ut(t.smoothChildTiming),gt.remove(n),n._dp=0,n._time=n._tTime=gt._time,r=gt._first;r;)s=r._next,(i||!(!r._dur&&r instanceof St&&r.vars.onComplete===r._targets[0]))&&Pe(n,r,r._start-r._delay),r=s;return Pe(gt,n,0),n},context:function(t,i){return t?new Ma(t,i):_t},matchMedia:function(t){return new Ch(t)},matchMediaRefresh:function(){return _i.forEach(function(t){var i=t.conditions,n,r;for(r in i)i[r]&&(i[r]=!1,n=1);n&&t.revert()})||mn()},addEventListener:function(t,i){var n=ar[t]||(ar[t]=[]);~n.indexOf(i)||n.push(i)},removeEventListener:function(t,i){var n=ar[t],r=n&&n.indexOf(i);r>=0&&n.splice(r,1)},utils:{wrap:ih,wrapYoyo:nh,distribute:la,random:fa,snap:aa,normalize:eh,getUnit:Lt,clamp:Jc,splitColor:_a,toArray:ae,selector:bs,mapRange:ca,pipe:Qc,unitize:th,interpolate:rh,shuffle:oa},install:jl,effects:_s,ticker:ee,updateRoot:$t.updateRoot,plugins:Zt,globalTimeline:gt,core:{PropTween:qt,globals:$l,Tween:St,Timeline:$t,Animation:_n,getCache:ci,_removeLinkedListItem:ir,reverting:function(){return Rt},context:function(t){return t&&_t&&(_t.data.push(t),t._ctx=_t),_t},suppressOverwrites:function(t){return ss=t}}};jt("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return fr[e]=St[e]}),ee.add($t.updateRoot),Ai=fr.to({},{duration:0});var Oh=function(t,i){for(var n=t._pt;n&&n.p!==i&&n.op!==i&&n.fp!==i;)n=n._next;return n},Ph=function(t,i){var n=t._targets,r,s,o;for(r in i)for(s=n.length;s--;)o=t._ptLookup[s][r],o&&(o=o.d)&&(o._pt&&(o=Oh(o,r)),o&&o.modifier&&o.modifier(i[r],t,n[s],r))},ks=function(t,i){return{name:t,headless:1,rawVars:1,init:function(r,s,o){o._onInit=function(l){var a,u;if(Ot(s)&&(a={},jt(s,function(f){return a[f]=1}),s=a),i){a={};for(u in s)a[u]=i(s[u]);s=a}Ph(l,s)}}}},Kt=fr.registerPlugin({name:"attr",init:function(t,i,n,r,s){var o,l,a;this.tween=n;for(o in i)a=t.getAttribute(o)||"",l=this.add(t,"setAttribute",(a||0)+"",i[o],r,s,0,0,o),l.op=o,l.b=a,this._props.push(o)},render:function(t,i){for(var n=i._pt;n;)Rt?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",headless:1,init:function(t,i){for(var n=i.length;n--;)this.add(t,n,t[n]||0,i[n],0,0,0,0,0,1)}},ks("roundProps",ws),ks("modifiers"),ks("snap",aa))||fr;St.version=$t.version=Kt.version="3.15.1",Ul=1,as()&&Di(),Q.Power0,Q.Power1,Q.Power2,Q.Power3,Q.Power4,Q.Linear,Q.Quad,Q.Cubic,Q.Quart,Q.Quint,Q.Strong,Q.Elastic,Q.Back,Q.SteppedEase,Q.Bounce,Q.Sine,Q.Expo,Q.Circ;/*!
|
|
28
|
+
* CSSPlugin 3.15.1
|
|
29
|
+
* https://gsap.com
|
|
30
|
+
*
|
|
31
|
+
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
32
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
33
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
34
|
+
*/var Ra,Ze,ki,Fs,gi,Ea,Ls,Mh=function(){return typeof window<"u"},We={},mi=180/Math.PI,Fi=Math.PI/180,Li=Math.atan2,Aa=1e8,Is=/([A-Z])/g,Rh=/(left|right|width|margin|padding|x)/i,Eh=/[\s,\(]\S/,Me={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ns=function(t,i){return i.set(i.t,i.p,Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},Ah=function(t,i){return i.set(i.t,i.p,t===1?i.e:Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},Dh=function(t,i){return i.set(i.t,i.p,t?Math.round((i.s+i.c*t)*1e4)/1e4+i.u:i.b,i)},kh=function(t,i){return i.set(i.t,i.p,t===1?i.e:t?Math.round((i.s+i.c*t)*1e4)/1e4+i.u:i.b,i)},Fh=function(t,i){var n=i.s+i.c*t;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},Da=function(t,i){return i.set(i.t,i.p,t?i.e:i.b,i)},ka=function(t,i){return i.set(i.t,i.p,t!==1?i.b:i.e,i)},Lh=function(t,i,n){return t.style[i]=n},Ih=function(t,i,n){return t.style.setProperty(i,n)},Nh=function(t,i,n){return t._gsap[i]=n},zh=function(t,i,n){return t._gsap.scaleX=t._gsap.scaleY=n},Bh=function(t,i,n,r,s){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},Hh=function(t,i,n,r,s){var o=t._gsap;o[i]=n,o.renderTransform(s,o)},yt="transform",Yt=yt+"Origin",Wh=function e(t,i){var n=this,r=this.target,s=r.style,o=r._gsap;if(t in We&&s){if(this.tfm=this.tfm||{},t!=="transform")t=Me[t]||t,~t.indexOf(",")?t.split(",").forEach(function(l){return n.tfm[l]=Ve(r,l)}):this.tfm[t]=o.x?o[t]:Ve(r,t),t===Yt&&(this.tfm.zOrigin=o.zOrigin);else return Me.transform.split(",").forEach(function(l){return e.call(n,l,i)});if(this.props.indexOf(yt)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Yt,i,"")),t=yt}(s||i)&&this.props.push(t,i,s[t])},Fa=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Vh=function(){var t=this.props,i=this.target,n=i.style,r=i._gsap,s,o;for(s=0;s<t.length;s+=3)t[s+1]?t[s+1]===2?i[t[s]](t[s+2]):i[t[s]]=t[s+2]:t[s+2]?n[t[s]]=t[s+2]:n.removeProperty(t[s].substr(0,2)==="--"?t[s]:t[s].replace(Is,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)r[o]=this.tfm[o];r.svg&&(r.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),s=Ls(),(!s||!s.isStart)&&!n[yt]&&(Fa(n),r.zOrigin&&n[Yt]&&(n[Yt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},La=function(t,i){var n={target:t,props:[],revert:Vh,save:Wh};return t._gsap||Kt.core.getCache(t),i&&t.style&&t.nodeType&&i.split(",").forEach(function(r){return n.save(r)}),n},Ia,zs=function(t,i){var n=Ze.createElementNS?Ze.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ze.createElement(t);return n&&n.style?n:Ze.createElement(t)},ie=function e(t,i,n){var r=getComputedStyle(t);return r[i]||r.getPropertyValue(i.replace(Is,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&e(t,Ii(i)||i,1)||""},Na="O,Moz,ms,Ms,Webkit".split(","),Ii=function(t,i,n){var r=i||gi,s=r.style,o=5;if(t in s&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Na[o]+t in s););return o<0?null:(o===3?"ms":o>=0?Na[o]:"")+t},Bs=function(){Mh()&&window.document&&(Ra=window,Ze=Ra.document,ki=Ze.documentElement,gi=zs("div")||{style:{}},zs("div"),yt=Ii(yt),Yt=yt+"Origin",gi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ia=!!Ii("perspective"),Ls=Kt.core.reverting,Fs=1)},za=function(t){var i=t.ownerSVGElement,n=zs("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),s;r.style.display="block",n.appendChild(r),ki.appendChild(n);try{s=r.getBBox()}catch{}return n.removeChild(r),ki.removeChild(n),s},Ba=function(t,i){for(var n=i.length;n--;)if(t.hasAttribute(i[n]))return t.getAttribute(i[n])},Ha=function(t){var i,n;try{i=t.getBBox()}catch{i=za(t),n=1}return i&&(i.width||i.height)||n||(i=za(t)),i&&!i.width&&!i.x&&!i.y?{x:+Ba(t,["x","cx","x1"])||0,y:+Ba(t,["y","cy","y1"])||0,width:0,height:0}:i},Wa=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Ha(t))},Qe=function(t,i){if(i){var n=t.style,r;i in We&&i!==Yt&&(i=yt),n.removeProperty?(r=i.substr(0,2),(r==="ms"||i.substr(0,6)==="webkit")&&(i="-"+i),n.removeProperty(r==="--"?i:i.replace(Is,"-$1").toLowerCase())):n.removeAttribute(i)}},ti=function(t,i,n,r,s,o){var l=new qt(t._pt,i,n,0,1,o?ka:Da);return t._pt=l,l.b=r,l.e=s,t._props.push(n),l},Va={deg:1,rad:1,turn:1},Uh={grid:1,flex:1},ei=function e(t,i,n,r){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",l=gi.style,a=Rh.test(i),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(a?"Width":"Height"),c=100,_=r==="px",g=r==="%",y,d,b,S;if(r===o||!s||Va[r]||Va[o])return s;if(o!=="px"&&!_&&(s=e(t,i,n,"px")),S=t.getCTM&&Wa(t),(g||o==="%")&&(We[i]||~i.indexOf("adius")))return y=S?t.getBBox()[a?"width":"height"]:t[f],Tt(g?s/y*c:s/100*y);if(l[a?"width":"height"]=c+(_?o:r),d=r!=="rem"&&~i.indexOf("adius")||r==="em"&&t.appendChild&&!u?t:t.parentNode,S&&(d=(t.ownerSVGElement||{}).parentNode),(!d||d===Ze||!d.appendChild)&&(d=Ze.body),b=d._gsap,b&&g&&b.width&&a&&b.time===ee.time&&!b.uncache)return Tt(s/b.width*c);if(g&&(i==="height"||i==="width")){var T=t.style[i];t.style[i]=c+r,y=t[f],T?t.style[i]=T:Qe(t,i)}else(g||o==="%")&&!Uh[ie(d,"display")]&&(l.position=ie(t,"position")),d===t&&(l.position="static"),d.appendChild(gi),y=gi[f],d.removeChild(gi),l.position="absolute";return a&&g&&(b=ci(d),b.time=ee.time,b.width=d[f]),Tt(_?y*s/c:y&&s?c/y*s:0)},Ve=function(t,i,n,r){var s;return Fs||Bs(),i in Me&&i!=="transform"&&(i=Me[i],~i.indexOf(",")&&(i=i.split(",")[0])),We[i]&&i!=="transform"?(s=xn(t,r),s=i!=="transformOrigin"?s[i]:s.svg?s.origin:cr(ie(t,Yt))+" "+s.zOrigin+"px"):(s=t.style[i],(!s||s==="auto"||r||~(s+"").indexOf("calc("))&&(s=ur[i]&&ur[i](t,i,n)||ie(t,i)||Yl(t,i)||(i==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?ei(t,i,s,n)+n:s},jh=function(t,i,n,r){if(!n||n==="none"){var s=Ii(i,t,1),o=s&&ie(t,s,1);o&&o!==n?(i=s,n=o):i==="borderColor"&&(n=ie(t,"borderTopColor"))}var l=new qt(this._pt,t.style,i,0,1,Ca),a=0,u=0,f,c,_,g,y,d,b,S,T,O,w,P;if(l.b=n,l.e=r,n+="",r+="",r.substring(0,6)==="var(--"&&(r=ie(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(d=t.style[i],t.style[i]=r,r=ie(t,i)||r,d?t.style[i]=d:Qe(t,i)),f=[n,r],ya(f),n=f[0],r=f[1],_=n.match(Oi)||[],P=r.match(Oi)||[],P.length){for(;c=Oi.exec(r);)b=c[0],T=r.substring(a,c.index),y?y=(y+1)%5:(T.substr(-5)==="rgba("||T.substr(-5)==="hsla(")&&(y=1),b!==(d=_[u++]||"")&&(g=parseFloat(d)||0,w=d.substr((g+"").length),b.charAt(1)==="="&&(b=Pi(g,b)+w),S=parseFloat(b),O=b.substr((S+"").length),a=Oi.lastIndex-O.length,O||(O=O||Gt.units[i]||w,a===r.length&&(r+=O,l.e+=O)),w!==O&&(g=ei(t,i,d,O)||0),l._pt={_next:l._pt,p:T||u===1?T:",",s:g,c:S-g,m:y&&y<4||i==="zIndex"?Math.round:0});l.c=a<r.length?r.substring(a,r.length):""}else l.r=i==="display"&&r==="none"?ka:Da;return Vl.test(r)&&(l.e=0),this._pt=l,l},Ua={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},$h=function(t){var i=t.split(" "),n=i[0],r=i[1]||"50%";return(n==="top"||n==="bottom"||r==="left"||r==="right")&&(t=n,n=r,r=t),i[0]=Ua[n]||n,i[1]=Ua[r]||r,i.join(" ")},qh=function(t,i){if(i.tween&&i.tween._time===i.tween._dur){var n=i.t,r=n.style,s=i.u,o=n._gsap,l,a,u;if(s==="all"||s===!0)r.cssText="",a=1;else for(s=s.split(","),u=s.length;--u>-1;)l=s[u],We[l]&&(a=1,l=l==="transformOrigin"?Yt:yt),Qe(n,l);a&&(Qe(n,yt),o&&(o.svg&&n.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",xn(n,1),o.uncache=1,Fa(r)))}},ur={clearProps:function(t,i,n,r,s){if(s.data!=="isFromStart"){var o=t._pt=new qt(t._pt,i,n,0,0,qh);return o.u=r,o.pr=-10,o.tween=s,t._props.push(n),1}}},yn=[1,0,0,1,0,0],ja={},$a=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},qa=function(t){var i=ie(t,yt);return $a(i)?yn:i.substr(7).match(Wl).map(Tt)},Hs=function(t,i){var n=t._gsap||ci(t),r=t.style,s=qa(t),o,l,a,u;return n.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,s=[a.a,a.b,a.c,a.d,a.e,a.f],s.join(",")==="1,0,0,1,0,0"?yn:s):(s===yn&&!t.offsetParent&&t!==ki&&!n.svg&&(a=r.display,r.display="block",o=t.parentNode,(!o||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,l=t.nextElementSibling,ki.appendChild(t)),s=qa(t),a?r.display=a:Qe(t,"display"),u&&(l?o.insertBefore(t,l):o?o.appendChild(t):ki.removeChild(t))),i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Ws=function(t,i,n,r,s,o){var l=t._gsap,a=s||Hs(t,!0),u=l.xOrigin||0,f=l.yOrigin||0,c=l.xOffset||0,_=l.yOffset||0,g=a[0],y=a[1],d=a[2],b=a[3],S=a[4],T=a[5],O=i.split(" "),w=parseFloat(O[0])||0,P=parseFloat(O[1])||0,z,A,I,L;n?a!==yn&&(A=g*b-y*d)&&(I=w*(b/A)+P*(-d/A)+(d*T-b*S)/A,L=w*(-y/A)+P*(g/A)-(g*T-y*S)/A,w=I,P=L):(z=Ha(t),w=z.x+(~O[0].indexOf("%")?w/100*z.width:w),P=z.y+(~(O[1]||O[0]).indexOf("%")?P/100*z.height:P)),r||r!==!1&&l.smooth?(S=w-u,T=P-f,l.xOffset=c+(S*g+T*d)-S,l.yOffset=_+(S*y+T*b)-T):l.xOffset=l.yOffset=0,l.xOrigin=w,l.yOrigin=P,l.smooth=!!r,l.origin=i,l.originIsAbsolute=!!n,t.style[Yt]="0px 0px",o&&(ti(o,l,"xOrigin",u,w),ti(o,l,"yOrigin",f,P),ti(o,l,"xOffset",c,l.xOffset),ti(o,l,"yOffset",_,l.yOffset)),t.setAttribute("data-svg-origin",w+" "+P)},xn=function(t,i){var n=t._gsap||new va(t);if("x"in n&&!i&&!n.uncache)return n;var r=t.style,s=n.scaleX<0,o="px",l="deg",a=getComputedStyle(t),u=ie(t,Yt)||"0",f,c,_,g,y,d,b,S,T,O,w,P,z,A,I,L,j,ot,rt,st,lt,xt,Z,$,G,Et,ne,Bt,wt,m,B,x;return f=c=_=d=b=S=T=O=w=0,g=y=1,n.svg=!!(t.getCTM&&Wa(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(r[yt]=(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[yt]!=="none"?a[yt]:"")),r.scale=r.rotate=r.translate="none"),A=Hs(t,n.svg),n.svg&&(n.uncache?(G=t.getBBox(),u=n.xOrigin-G.x+"px "+(n.yOrigin-G.y)+"px",$=""):$=!i&&t.getAttribute("data-svg-origin"),Ws(t,$||u,!!$||n.originIsAbsolute,n.smooth!==!1,A)),P=n.xOrigin||0,z=n.yOrigin||0,A!==yn&&(ot=A[0],rt=A[1],st=A[2],lt=A[3],f=xt=A[4],c=Z=A[5],A.length===6?(g=Math.sqrt(ot*ot+rt*rt),y=Math.sqrt(lt*lt+st*st),d=ot||rt?Li(rt,ot)*mi:0,T=st||lt?Li(st,lt)*mi+d:0,T&&(y*=Math.abs(Math.cos(T*Fi))),n.svg&&(f-=P-(P*ot+z*st),c-=z-(P*rt+z*lt))):(x=A[6],m=A[7],ne=A[8],Bt=A[9],wt=A[10],B=A[11],f=A[12],c=A[13],_=A[14],I=Li(x,wt),b=I*mi,I&&(L=Math.cos(-I),j=Math.sin(-I),$=xt*L+ne*j,G=Z*L+Bt*j,Et=x*L+wt*j,ne=xt*-j+ne*L,Bt=Z*-j+Bt*L,wt=x*-j+wt*L,B=m*-j+B*L,xt=$,Z=G,x=Et),I=Li(-st,wt),S=I*mi,I&&(L=Math.cos(-I),j=Math.sin(-I),$=ot*L-ne*j,G=rt*L-Bt*j,Et=st*L-wt*j,B=lt*j+B*L,ot=$,rt=G,st=Et),I=Li(rt,ot),d=I*mi,I&&(L=Math.cos(I),j=Math.sin(I),$=ot*L+rt*j,G=xt*L+Z*j,rt=rt*L-ot*j,Z=Z*L-xt*j,ot=$,xt=G),b&&Math.abs(b)+Math.abs(d)>359.9&&(b=d=0,S=180-S),g=Tt(Math.sqrt(ot*ot+rt*rt+st*st)),y=Tt(Math.sqrt(Z*Z+x*x)),I=Li(xt,Z),T=Math.abs(I)>2e-4?I*mi:0,w=B?1/(B<0?-B:B):0),n.svg&&($=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!$a(ie(t,yt)),$&&t.setAttribute("transform",$))),Math.abs(T)>90&&Math.abs(T)<270&&(s?(g*=-1,T+=d<=0?180:-180,d+=d<=0?180:-180):(y*=-1,T+=T<=0?180:-180)),i=i||n.uncache,n.x=f-((n.xPercent=f&&(!i&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+o,n.y=c-((n.yPercent=c&&(!i&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+o,n.z=_+o,n.scaleX=Tt(g),n.scaleY=Tt(y),n.rotation=Tt(d)+l,n.rotationX=Tt(b)+l,n.rotationY=Tt(S)+l,n.skewX=T+l,n.skewY=O+l,n.transformPerspective=w+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!i&&n.zOrigin||0)&&(r[Yt]=cr(u)),n.xOffset=n.yOffset=0,n.force3D=Gt.force3D,n.renderTransform=n.svg?Yh:Ia?Ka:Kh,n.uncache=0,n},cr=function(t){return(t=t.split(" "))[0]+" "+t[1]},Vs=function(t,i,n){var r=Lt(i);return Tt(parseFloat(i)+parseFloat(ei(t,"x",n+"px",r)))+r},Kh=function(t,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Ka(t,i)},yi="0deg",vn="0px",xi=") ",Ka=function(t,i){var n=i||this,r=n.xPercent,s=n.yPercent,o=n.x,l=n.y,a=n.z,u=n.rotation,f=n.rotationY,c=n.rotationX,_=n.skewX,g=n.skewY,y=n.scaleX,d=n.scaleY,b=n.transformPerspective,S=n.force3D,T=n.target,O=n.zOrigin,w="",P=S==="auto"&&t&&t!==1||S===!0;if(O&&(c!==yi||f!==yi)){var z=parseFloat(f)*Fi,A=Math.sin(z),I=Math.cos(z),L;z=parseFloat(c)*Fi,L=Math.cos(z),o=Vs(T,o,A*L*-O),l=Vs(T,l,-Math.sin(z)*-O),a=Vs(T,a,I*L*-O+O)}b!==vn&&(w+="perspective("+b+xi),(r||s)&&(w+="translate("+r+"%, "+s+"%) "),(P||o!==vn||l!==vn||a!==vn)&&(w+=a!==vn||P?"translate3d("+o+", "+l+", "+a+") ":"translate("+o+", "+l+xi),u!==yi&&(w+="rotate("+u+xi),f!==yi&&(w+="rotateY("+f+xi),c!==yi&&(w+="rotateX("+c+xi),(_!==yi||g!==yi)&&(w+="skew("+_+", "+g+xi),(y!==1||d!==1)&&(w+="scale("+y+", "+d+xi),T.style[yt]=w||"translate(0, 0)"},Yh=function(t,i){var n=i||this,r=n.xPercent,s=n.yPercent,o=n.x,l=n.y,a=n.rotation,u=n.skewX,f=n.skewY,c=n.scaleX,_=n.scaleY,g=n.target,y=n.xOrigin,d=n.yOrigin,b=n.xOffset,S=n.yOffset,T=n.forceCSS,O=parseFloat(o),w=parseFloat(l),P,z,A,I,L;a=parseFloat(a),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,a+=f),a||u?(a*=Fi,u*=Fi,P=Math.cos(a)*c,z=Math.sin(a)*c,A=Math.sin(a-u)*-_,I=Math.cos(a-u)*_,u&&(f*=Fi,L=Math.tan(u-f),L=Math.sqrt(1+L*L),A*=L,I*=L,f&&(L=Math.tan(f),L=Math.sqrt(1+L*L),P*=L,z*=L)),P=Tt(P),z=Tt(z),A=Tt(A),I=Tt(I)):(P=c,I=_,z=A=0),(O&&!~(o+"").indexOf("px")||w&&!~(l+"").indexOf("px"))&&(O=ei(g,"x",o,"px"),w=ei(g,"y",l,"px")),(y||d||b||S)&&(O=Tt(O+y-(y*P+d*A)+b),w=Tt(w+d-(y*z+d*I)+S)),(r||s)&&(L=g.getBBox(),O=Tt(O+r/100*L.width),w=Tt(w+s/100*L.height)),L="matrix("+P+","+z+","+A+","+I+","+O+","+w+")",g.setAttribute("transform",L),T&&(g.style[yt]=L)},Xh=function(t,i,n,r,s){var o=360,l=Ot(s),a=parseFloat(s)*(l&&~s.indexOf("rad")?mi:1),u=a-r,f=r+u+"deg",c,_;return l&&(c=s.split("_")[1],c==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),c==="cw"&&u<0?u=(u+o*Aa)%o-~~(u/o)*o:c==="ccw"&&u>0&&(u=(u-o*Aa)%o-~~(u/o)*o)),t._pt=_=new qt(t._pt,i,n,r,u,Ah),_.e=f,_.u="deg",t._props.push(n),_},Ya=function(t,i){for(var n in i)t[n]=i[n];return t},Gh=function(t,i,n){var r=Ya({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,l,a,u,f,c,_,g,y;r.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[yt]=i,l=xn(n,1),Qe(n,yt),n.setAttribute("transform",u)):(u=getComputedStyle(n)[yt],o[yt]=i,l=xn(n,1),o[yt]=u);for(a in We)u=r[a],f=l[a],u!==f&&s.indexOf(a)<0&&(g=Lt(u),y=Lt(f),c=g!==y?ei(n,a,u,y):parseFloat(u),_=parseFloat(f),t._pt=new qt(t._pt,l,a,c,_-c,Ns),t._pt.u=y||0,t._props.push(a));Ya(l,r)};jt("padding,margin,Width,Radius",function(e,t){var i="Top",n="Right",r="Bottom",s="Left",o=(t<3?[i,n,r,s]:[i+s,i+n,r+n,r+s]).map(function(l){return t<2?e+l:"border"+l+e});ur[t>1?"border"+e:e]=function(l,a,u,f,c){var _,g;if(arguments.length<4)return _=o.map(function(y){return Ve(l,y,u)}),g=_.join(" "),g.split(_[0]).length===5?_[0]:g;_=(f+"").split(" "),g={},o.forEach(function(y,d){return g[y]=_[d]=_[d]||_[(d-1)/2|0]}),l.init(a,g,c)}});var Xa={name:"css",register:Bs,targetTest:function(t){return t.style&&t.nodeType},init:function(t,i,n,r,s){var o=this._props,l=t.style,a=n.vars.startAt,u,f,c,_,g,y,d,b,S,T,O,w,P,z,A,I,L;Fs||Bs(),this.styles=this.styles||La(t),I=this.styles.props,this.tween=n;for(d in i)if(d!=="autoRound"&&(f=i[d],!(Zt[d]&&ba(d,i,n,r,t,s)))){if(g=typeof f,y=ur[d],g==="function"&&(f=f.call(n,r,t,s),g=typeof f),g==="string"&&~f.indexOf("random(")&&(f=cn(f)),y)y(this,t,d,f,n)&&(A=1);else if(d.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(d)+"").trim(),f+="",Ge.lastIndex=0,Ge.test(u)||(b=Lt(u),S=Lt(f),S?b!==S&&(u=ei(t,d,u,S)+S):b&&(f+=b)),this.add(l,"setProperty",u,f,r,s,0,0,d),o.push(d),I.push(d,0,l[d]);else if(g!=="undefined"){if(a&&d in a?(u=typeof a[d]=="function"?a[d].call(n,r,t,s):a[d],Ot(u)&&~u.indexOf("random(")&&(u=cn(u)),Lt(u+"")||u==="auto"||(u+=Gt.units[d]||Lt(Ve(t,d))||""),(u+"").charAt(1)==="="&&(u=Ve(t,d))):u=Ve(t,d),_=parseFloat(u),T=g==="string"&&f.charAt(1)==="="&&f.substr(0,2),T&&(f=f.substr(2)),c=parseFloat(f),d in Me&&(d==="autoAlpha"&&(_===1&&Ve(t,"visibility")==="hidden"&&c&&(_=0),I.push("visibility",0,l.visibility),ti(this,l,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),d!=="scale"&&d!=="transform"&&(d=Me[d],~d.indexOf(",")&&(d=d.split(",")[0]))),O=d in We,O){if(this.styles.save(d),L=f,g==="string"&&f.substring(0,6)==="var(--"){if(f=ie(t,f.substring(4,f.indexOf(")"))),f.substring(0,5)==="calc("){var j=t.style.perspective;t.style.perspective=f,f=ie(t,"perspective"),j?t.style.perspective=j:Qe(t,"perspective")}c=parseFloat(f)}if(w||(P=t._gsap,P.renderTransform&&!i.parseTransform||xn(t,i.parseTransform),z=i.smoothOrigin!==!1&&P.smooth,w=this._pt=new qt(this._pt,l,yt,0,1,P.renderTransform,P,0,-1),w.dep=1),d==="scale")this._pt=new qt(this._pt,P,"scaleY",P.scaleY,(T?Pi(P.scaleY,T+c):c)-P.scaleY||0,Ns),this._pt.u=0,o.push("scaleY",d),d+="X";else if(d==="transformOrigin"){I.push(Yt,0,l[Yt]),f=$h(f),P.svg?Ws(t,f,0,z,0,this):(S=parseFloat(f.split(" ")[2])||0,S!==P.zOrigin&&ti(this,P,"zOrigin",P.zOrigin,S),ti(this,l,d,cr(u),cr(f)));continue}else if(d==="svgOrigin"){Ws(t,f,1,z,0,this);continue}else if(d in ja){Xh(this,P,d,_,T?Pi(_,T+f):f);continue}else if(d==="smoothOrigin"){ti(this,P,"smooth",P.smooth,f);continue}else if(d==="force3D"){P[d]=f;continue}else if(d==="transform"){Gh(this,f,t);continue}}else d in l||(d=Ii(d)||d);if(O||(c||c===0)&&(_||_===0)&&!Eh.test(f)&&d in l)b=(u+"").substr((_+"").length),c||(c=0),S=Lt(f)||(d in Gt.units?Gt.units[d]:b),b!==S&&(_=ei(t,d,u,S)),this._pt=new qt(this._pt,O?P:l,d,_,(T?Pi(_,T+c):c)-_,!O&&(S==="px"||d==="zIndex")&&i.autoRound!==!1?Fh:Ns),this._pt.u=S||0,O&&L!==f?(this._pt.b=u,this._pt.e=L,this._pt.r=kh):b!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=Dh);else if(d in l)jh.call(this,t,d,u,T?T+f:f);else if(d in t)this.add(t,d,u||t[d],T?T+f:f,r,s);else if(d!=="parseTransform"){hs(d,f);continue}O||(d in l?I.push(d,0,l[d]):typeof t[d]=="function"?I.push(d,2,t[d]()):I.push(d,1,u||t[d])),o.push(d)}}A&&Oa(this)},render:function(t,i){if(i.tween._time||!Ls())for(var n=i._pt;n;)n.r(t,n.d),n=n._next;else i.styles.revert()},get:Ve,aliases:Me,getSetter:function(t,i,n){var r=Me[i];return r&&r.indexOf(",")<0&&(i=r),i in We&&i!==Yt&&(t._gsap.x||Ve(t,"x"))?n&&Ea===n?i==="scale"?zh:Nh:(Ea=n||{})&&(i==="scale"?Bh:Hh):t.style&&!ls(t.style[i])?Lh:~i.indexOf("-")?Ih:Es(t,i)},core:{_removeProperty:Qe,_getMatrix:Hs}};Kt.utils.checkPrefix=Ii,Kt.core.getStyleSaver=La,function(e,t,i,n){var r=jt(e+","+t+","+i,function(s){We[s]=1});jt(t,function(s){Gt.units[s]="deg",ja[s]=1}),Me[r[13]]=e+","+t,jt(n,function(s){var o=s.split(":");Me[o[1]]=r[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),jt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Gt.units[e]="px"}),Kt.registerPlugin(Xa);var hr=Kt.registerPlugin(Xa)||Kt;hr.core.Tween;const Jh=`
|
|
35
|
+
.vpb-root{position:relative;width:100%;overflow-x:clip;color:#2c2e3a;font-family:system-ui,'Segoe UI',Roboto,sans-serif;}
|
|
36
|
+
.vpb-pointer-layer{position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;overflow:hidden;z-index:var(--vpb-pointer-z,9999);}
|
|
37
|
+
.vpb-box{/* 用户写的元素:占位容器,不动 */}
|
|
38
|
+
.vpb-box.show{/* 父 box 被激活时给个整体标记 */}
|
|
39
|
+
.vpb-inner{position:absolute;left:0;top:0;background:#fff;box-shadow:0 4px 14px rgba(40,50,80,.08);display:flex;align-items:center;justify-content:center;font-weight:500;color:#5a5e75;border:1px solid rgba(120,130,170,.15);overflow:hidden;opacity:0;transition:opacity .5s ease,box-shadow .3s ease;will-change:left,top,width,height,border-radius;pointer-events:none;user-select:none;box-sizing:border-box;}
|
|
40
|
+
.vpb-box.show .vpb-inner{opacity:1;}
|
|
41
|
+
.vpb-box.dragging .vpb-inner{box-shadow:0 10px 36px rgba(70,120,200,.28),0 0 0 2px rgba(100,160,255,.5);border-color:rgba(100,160,255,.4);}
|
|
42
|
+
.vpb-box.done .vpb-inner{box-shadow:0 14px 40px rgba(70,180,140,.3),0 0 0 2px rgba(100,200,160,.55);border-color:rgba(100,200,160,.45);color:#3a7a65;}
|
|
43
|
+
.vpb-inner .vpb-text{white-space:nowrap;pointer-events:none;user-select:none;}
|
|
44
|
+
.vpb-box.big-text-box .vpb-inner .vpb-text{white-space:normal;text-align:justify;line-height:1.65;font-size:.82rem;letter-spacing:.3px;}
|
|
45
|
+
.vpb-cursor-mock{position:absolute;width:var(--vpb-pointer-size,26px);height:var(--vpb-pointer-size,26px);pointer-events:none;transform:translate(-50%,-50%);opacity:var(--vpb-idle-opacity,.35);filter:drop-shadow(0 0 3px currentColor);will-change:left,top,opacity,filter;transition:opacity .25s ease,filter .25s ease,width .25s ease,height .25s ease;}
|
|
46
|
+
.vpb-cursor-mock svg{display:block;width:100%;height:100%;overflow:visible;}
|
|
47
|
+
.vpb-cursor-mock svg path{fill:currentColor;stroke:#e8eaf2;stroke-width:1;stroke-linejoin:round;stroke-opacity:.7;}
|
|
48
|
+
.vpb-cursor-mock.near{opacity:var(--vpb-near-opacity,.75);filter:drop-shadow(0 0 10px currentColor) brightness(1.4);}
|
|
49
|
+
.vpb-cursor-mock.dragging{width:var(--vpb-pointer-drag-size,38px);height:var(--vpb-pointer-drag-size,38px);opacity:1;filter:drop-shadow(0 0 16px currentColor) drop-shadow(0 0 32px currentColor) brightness(1.7);}
|
|
50
|
+
.vpb-cursor-mock.dragging svg path{stroke:#fff;stroke-opacity:.95;}
|
|
51
|
+
.vpb-cursor-mock.typing-cursor svg{display:none;}
|
|
52
|
+
.vpb-cursor-mock.typing-cursor{width:2px;height:1.3em;opacity:1;filter:none;background:#3a7a65;border-radius:1px;animation:vpb-type-blink .6s step-end infinite;transform:translate(-50%,-.65em);}
|
|
53
|
+
@keyframes vpb-type-blink{0%,100%{opacity:1}50%{opacity:0}}
|
|
54
|
+
.vpb-drag-line{position:absolute;pointer-events:none;height:2px;background:linear-gradient(90deg,rgba(100,160,255,0),rgba(100,160,255,.85));transform-origin:0 50%;opacity:0;}
|
|
55
|
+
.vpb-hint{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.9);padding:10px 22px;border-radius:40px;font-size:.8rem;color:#6b6f85;border:1px solid rgba(120,130,170,.18);box-shadow:0 4px 16px rgba(40,50,80,.08);pointer-events:none;letter-spacing:1px;z-index:10000;}
|
|
56
|
+
@media(max-width:600px){.vpb-hint{font-size:.7rem;width:85%;text-align:center}}
|
|
57
|
+
`,Ga="vpb-injected-styles";function Zh(){if(typeof document>"u"||document.getElementById(Ga))return;const e=document.createElement("style");e.id=Ga,e.textContent=Jh,document.head.appendChild(e)}const Qh={key:0,class:"vpb-hint"},td='<svg viewBox="0 0 32 32"><path d="M8 4L24 16L16 18L20 26L16 28L12 20L8 24L8 4Z" fill="currentColor" stroke="#e8eaf2" stroke-width="1" stroke-linejoin="round" stroke-opacity="0.7"/></svg>',Ni={__name:"PointerBoxes",props:{selector:{type:String,default:".vpb-box"},scanRoot:{type:[String,Object],default:null},initialWidth:{type:Number,default:48},initialHeight:{type:Number,default:48},initialRadius:{type:Number,default:10},pointerCount:{type:Number,default:20},pointerSize:{type:Number,default:26},pointerDragSize:{type:Number,default:38},minSpeed:{type:Number,default:.3},maxSpeed:{type:Number,default:1.1},nearRadius:{type:Number,default:150},lockRadius:{type:Number,default:90},idleOpacity:{type:Number,default:.35},nearOpacity:{type:Number,default:.75},pointerZIndex:{type:Number,default:9999},hideNativeCursor:{type:Boolean,default:!0},normalStagger:{type:Number,default:.14},bigTextStagger:{type:Number,default:.045},typeDelay:{type:Number,default:700},autoResetDistance:{type:Number,default:500},background:{type:String,default:"#f4f5fa"},darkSaturation:{type:Number,default:15},darkLightness:{type:Number,default:28},brightSaturation:{type:Number,default:75},brightLightness:{type:Number,default:62},hintText:{type:String,default:""}},emits:["dragstart","dragend","typed","ready"],setup(e,{expose:t,emit:i}){const n={br:[1,1],tr:[1,-1],bl:[-1,1],tl:[-1,-1],right:[1,0],left:[-1,0],down:[0,1],up:[0,-1]},r=e,s=i,o=So(null),l=So(null),a=es(()=>({background:r.background,cursor:r.hideNativeCursor?"none":"auto","--vpb-pointer-size":r.pointerSize+"px","--vpb-pointer-drag-size":r.pointerDragSize+"px","--vpb-idle-opacity":String(r.idleOpacity),"--vpb-near-opacity":String(r.nearOpacity)})),u=es(()=>({zIndex:String(r.pointerZIndex)})),f=(m,B)=>{const x=parseFloat(m);return Number.isFinite(x)?x:B},c=m=>Array.isArray(m)?[Math.sign(m[0]||0),Math.sign(m[1]||0)]:n[m]||[1,1],_=m=>`hsl(${m}, ${r.darkSaturation}%, ${r.darkLightness}%)`,g=m=>`hsl(${m}, ${r.brightSaturation}%, ${r.brightLightness}%)`;let y=[],d=[],b=null,S=null,T=null;const O=new Set,w=[],P=(m,B)=>{const x=setTimeout(()=>{O.delete(x),m()},B);return O.add(x),x};function z(m,B){const x=getComputedStyle(m),V=m.offsetWidth||0,H=m.offsetHeight||0;let J=m.dataset.text!==void 0?m.dataset.text:B??"";return{finalW:f(m.dataset.width,V||190),finalH:f(m.dataset.height,H||190),finalR:f(m.dataset.radius,parseFloat(x.borderRadius)||18),text:J,dir:c(m.dataset.dir),rate:f(m.dataset.growthRate,2.8),bigText:m.hasAttribute("data-big-text")||m.classList.contains("big-text-box"),placeholder:m.dataset.placeholder||"·",initW:f(m.dataset.initialWidth,r.initialWidth),initH:f(m.dataset.initialHeight,r.initialHeight),initR:f(m.dataset.initialRadius,r.initialRadius)}}function A(m){const B=m.el.getBoundingClientRect();return{left:B.left,top:B.top,width:m.cfg.finalW,height:m.cfg.finalH,right:B.left+m.cfg.finalW,bottom:B.top+m.cfg.finalH}}function I(){y=[];const m=r.scanRoot?typeof r.scanRoot=="string"?document.querySelector(r.scanRoot):r.scanRoot:o.value;if(!m)return;const B=Array.from(m.querySelectorAll(r.selector));(m.matches&&m.matches(r.selector)?[m,...B]:B).forEach((H,J)=>{getComputedStyle(H).position==="static"&&(H.style.position="relative");let Y=H.querySelector(":scope > .vpb-inner"),h=null;if(Y)h=Y._span||Y.querySelector("span.vpb-text");else{Y=document.createElement("div"),Y.className="vpb-inner";const v=Array.from(H.childNodes),E=[];v.forEach(C=>{C.nodeType===Node.ELEMENT_NODE&&C.classList.contains("vpb-box")?E.push(C):Y.appendChild(C)}),h=Y.querySelector(":scope > span.vpb-text"),h||(h=document.createElement("span"),h.className="vpb-text",Array.from(Y.childNodes).forEach(C=>{(C.nodeType===Node.TEXT_NODE&&C.textContent.trim()||C.nodeType===Node.ELEMENT_NODE)&&h.appendChild(C)}),Y.appendChild(h)),Y._span=h,H.appendChild(Y),E.forEach(C=>H.appendChild(C))}const p=z(H,h?h.textContent.trim():"");Y.style.position="absolute",Y.style.left="0",Y.style.top="0",Y.style.opacity="0",Y.style.width=p.initW+"px",Y.style.height=p.initH+"px",Y.style.borderRadius=p.initR+"px",y.push({i:J,el:H,inner:Y,span:Y._span||Y.querySelector("span.vpb-text"),cfg:p,parentIdx:-1,children:[],state:0,stretch:0,maxStretch:Math.max(p.finalW-p.initW,p.finalH-p.initH,1),dragPointerIdx:-1,dragLine:null,_signX:1,_signY:1})}),y.forEach(H=>{let J=H.el.parentElement;for(;J;){const tt=y.findIndex(Y=>Y.el===J);if(tt>=0){H.parentIdx=tt,y[tt].children.push(H.i);break}J=J.parentElement}})}function L(m){if(m.parentIdx<0)return!0;const B=y[m.parentIdx];return B&&B.state===3}function j(m){m.state===0&&L(m)&&(m.state=1,m.el.classList.add("show"),m.inner.style.opacity="",m.span&&(m.span.textContent=""))}function ot(m){m.state=0,m.stretch=0,m.dragPointerIdx=-1,m.el.classList.remove("show","dragging","done","typing"),m.inner.style.opacity="0",m.inner.style.width=m.cfg.initW+"px",m.inner.style.height=m.cfg.initH+"px",m.inner.style.borderRadius=m.cfg.initR+"px",m.inner.style.left="",m.inner.style.top="",m.span.style.fontSize="0.9rem",m.span.style.opacity="1",m.span.innerHTML="",m.span.textContent=m.cfg.placeholder,m.dragLine&&(m.dragLine.remove(),m.dragLine=null),m.children.forEach(B=>ot(y[B]))}function rt(){const m=l.value;if(!m)return;m.innerHTML="",d.length=0;const B=window.innerWidth,x=window.innerHeight;for(let V=0;V<r.pointerCount;V++){const H=document.createElement("div");H.className="vpb-cursor-mock",H.innerHTML=td;const J=Math.floor(Math.random()*360),tt=Math.random()*Math.PI*2,Y=r.minSpeed+Math.random()*(r.maxSpeed-r.minSpeed),h=30+Math.random()*Math.max(B-60,1),p=30+Math.random()*Math.max(x-60,1);H.style.color=_(J),H.style.left=h+"px",H.style.top=p+"px",m.appendChild(H),d.push({el:H,x:h,y:p,vx:Math.cos(tt)*Y,vy:Math.sin(tt)*Y,hue:J,lockedBox:-1,cooldown:0,typing:!1})}}function st(m,B){if(m.state!==1)return;const x=d[B];if(!x||x.lockedBox>=0||x.typing)return;for(const R of y)if(R!==m&&R.dragPointerIdx===B)return;m.state=2,m.dragPointerIdx=B,m.stretch=0,x.lockedBox=m.i,x.el.classList.add("dragging"),x.el.classList.remove("near"),x.el.style.color=g(x.hue),m.el.classList.add("dragging"),s("dragstart",{index:m.i});const V=A(m),H=V.left+m.cfg.finalW/2,J=V.top+m.cfg.finalH/2,tt=m.cfg.dir,Y=Math.sign(tt[0])||1,h=Math.sign(tt[1])||1,p=H-Y*m.cfg.finalW/2,v=J-h*m.cfg.finalH/2,E=Y!==0?p+Y*m.cfg.initW:H,C=h!==0?v+h*m.cfg.initH:J;x.x=E,x.y=C,x.vx=Y*3||.1,x.vy=h*3||.1,x.el.style.left=E+"px",x.el.style.top=C+"px",m._signX=Y,m._signY=h;const M=m.el.getBoundingClientRect();let k=Y>=0?p-M.left:p-M.left-m.cfg.initW,F=h>=0?v-M.top:v-M.top-m.cfg.initH;Y===0&&(k=H-M.left-m.cfg.initW/2),h===0&&(F=J-M.top-m.cfg.initH/2),m.inner.style.position="absolute",m.inner.style.left=k+"px",m.inner.style.top=F+"px",m.inner.style.width=m.cfg.initW+"px",m.inner.style.height=m.cfg.initH+"px",m.inner.style.borderRadius=m.cfg.initR+"px";const D=document.createElement("div");D.className="vpb-drag-line",l.value.appendChild(D),m.dragLine=D}function lt(m){const B=A(m),x=m.el.getBoundingClientRect();m.inner.style.left=B.left-x.left+"px",m.inner.style.top=B.top-x.top+"px",m.inner.style.width=m.cfg.finalW+"px",m.inner.style.height=m.cfg.finalH+"px",m.inner.style.borderRadius=m.cfg.finalR+"px",m.span.style.opacity="0",m.span.innerHTML="",m.span.textContent="";const V=m.dragPointerIdx;if(m.dragPointerIdx=-1,m.stretch=m.maxStretch,m.state=3,m.el.classList.remove("dragging"),m.el.classList.add("done"),m.dragLine&&(m.dragLine.remove(),m.dragLine=null),s("dragend",{index:m.i}),V>=0&&d[V]){const H=d[V];H.el.classList.remove("dragging"),H.el.classList.add("typing-cursor"),H.el.style.color=_(H.hue),H.lockedBox=-1,H.cooldown=9999,H.typing=!0}m.children.forEach(H=>{const J=y[H];J.state===0&&j(J)}),P(()=>xt(m,V),400)}function xt(m,B){const x=Z(m);if(!x){if(m.el.classList.remove("typing"),B>=0&&d[B]){const p=d[B];p.el.classList.remove("typing-cursor"),p.typing=!1,p.cooldown=0}return}m.span.style.opacity="1",m.span.style.fontSize=m.cfg.bigText?"0.82rem":"1.8rem",m.span.innerHTML="";for(const p of x){const v=document.createElement("span");v.className="vpb-char",v.textContent=p,v.style.display="inline-block",v.style.opacity="0",v.style.transform="translateY(8px) scale(0.7)",v.style.filter="blur(3px)",m.span.appendChild(v)}const V=Array.from(m.span.querySelectorAll(".vpb-char"));m.el.classList.add("typing");const H=A(m),J=H.left+H.width/2,tt=H.top+H.height/2;if(B>=0&&d[B]){const p=d[B];p.vx=0,p.vy=0,p.cooldown=V.length+120,p.el.classList.add("typing-cursor"),w.push(hr.to(p,{x:J,y:tt,duration:.6,ease:"power2.out",onUpdate:()=>{p.el.style.left=p.x.toFixed(1)+"px",p.el.style.top=p.y.toFixed(1)+"px"}}))}const Y=m.cfg.bigText?r.bigTextStagger:r.normalStagger,h=hr.timeline({delay:r.typeDelay/1e3,onComplete:()=>{if(B>=0&&d[B]){const p=d[B];p.el.classList.remove("typing-cursor"),p.typing=!1,p.cooldown=0;const v=Math.random()*Math.PI*2;p.vx=Math.cos(v)*1.8,p.vy=Math.sin(v)*1.8}m.el.classList.remove("typing"),s("typed",{index:m.i,text:x})}});w.push(h),h.to(V,{opacity:1,y:0,scale:1,filter:"blur(0px)",duration:.22,ease:"back.out(1.5)",stagger:Y})}function Z(m){return m.cfg.text&&m.cfg.text.trim()?m.cfg.text.trim():m.span.textContent.trim()}let $=0;function G(){const m=window.innerWidth,B=window.innerHeight;for(const x of d)if(!(x.lockedBox>=0||x.typing)){if(x.cooldown>0)x.cooldown--,x.x+=x.vx,x.y+=x.vy,x.x<-40&&(x.x=m+40),x.x>m+40&&(x.x=-40),x.y<-40&&(x.y=B+40),x.y>B+40&&(x.y=-40);else{if(Math.random()<.015){const J=Math.atan2(x.vy,x.vx)+(Math.random()-.5)*.6,tt=Math.hypot(x.vx,x.vy);x.vx=Math.cos(J)*tt,x.vy=Math.sin(J)*tt}x.x+=x.vx,x.y+=x.vy;const V=20;if(x.x<V&&(x.x=V,x.vx*=-.9),x.x>m-V&&(x.x=m-V,x.vx*=-.9),x.y<V&&(x.y=V,x.vy*=-.9),x.y>B-V&&(x.y=B-V,x.vy*=-.9),Math.hypot(x.vx,x.vy)<.3){const J=Math.random()*Math.PI*2;x.vx=Math.cos(J)*.9,x.vy=Math.sin(J)*.9}}x.el.classList.remove("near"),x.el.style.left=x.x.toFixed(1)+"px",x.el.style.top=x.y.toFixed(1)+"px"}for(const x of y){if(x.state!==1)continue;const V=A(x),H=V.left+V.width/2,J=V.top+V.height/2;let tt=-1,Y=1/0;for(let p=0;p<d.length;p++){const v=d[p];if(v.lockedBox>=0||v.cooldown>0||v.typing)continue;const E=Math.hypot(v.x-H,v.y-J);E<Y&&(Y=E,tt=p)}if(tt<0)continue;const h=d[tt];if(Y<r.nearRadius){h.el.classList.add("near");const p=H-h.x,v=J-h.y,E=Math.hypot(p,v)||1,C=.08*(1-Y/r.nearRadius);h.vx+=p/E*C,h.vy+=v/E*C}Y<r.lockRadius&&st(x,tt)}for(const x of y){if(x.state!==2||x.dragPointerIdx<0)continue;const V=d[x.dragPointerIdx];if(!V){lt(x);continue}x.stretch=Math.min(x.maxStretch,x.stretch+x.cfg.rate);const H=x.stretch/x.maxStretch,J=x.cfg.initW+(x.cfg.finalW-x.cfg.initW)*H,tt=x.cfg.initH+(x.cfg.finalH-x.cfg.initH)*H,Y=x.cfg.initR+(x.cfg.finalR-x.cfg.initR)*H,h=x._signX,p=x._signY,v=A(x),E=v.left+v.width/2,C=v.top+v.height/2,M=E-h*x.cfg.finalW/2,k=C-p*x.cfg.finalH/2;V.x=h!==0?M+h*J:E,V.y=p!==0?k+p*tt:C;let F=h>=0?M:M-J,D=p>=0?k:k-tt;h===0&&(F=E-J/2),p===0&&(D=C-tt/2);const R=x.el.getBoundingClientRect();if(F-=R.left,D-=R.top,x.inner.style.width=J.toFixed(1)+"px",x.inner.style.height=tt.toFixed(1)+"px",x.inner.style.borderRadius=Y.toFixed(1)+"px",x.inner.style.left=F.toFixed(1)+"px",x.inner.style.top=D.toFixed(1)+"px",x.span.style.fontSize="0.9rem",x.span.textContent=x.cfg.placeholder,V.el.style.left=V.x.toFixed(1)+"px",V.el.style.top=V.y.toFixed(1)+"px",x.dragLine){const W=V.x-M,N=V.y-k,U=Math.hypot(W,N),q=Math.atan2(N,W);x.dragLine.style.left=M+"px",x.dragLine.style.top=k+"px",x.dragLine.style.width=U.toFixed(1)+"px",x.dragLine.style.transform=`rotate(${q}rad)`,x.dragLine.style.opacity="1"}x.stretch>=x.maxStretch-.5&<(x)}if($++,$>=30){$=0;for(const x of y){if(x.state!==3)continue;const V=A(x),H=x.inner.getBoundingClientRect();if(Math.abs(H.left-V.left)+Math.abs(H.top-V.top)+Math.abs(H.width-x.cfg.finalW)+Math.abs(H.height-x.cfg.finalH)>4){const tt=x.el.getBoundingClientRect();x.inner.style.left=V.left-tt.left+"px",x.inner.style.top=V.top-tt.top+"px",x.inner.style.width=x.cfg.finalW+"px",x.inner.style.height=x.cfg.finalH+"px",x.inner.style.borderRadius=x.cfg.finalR+"px"}}}b=requestAnimationFrame(G)}function Et(){if(typeof IntersectionObserver>"u"){y.forEach(j);return}S&&S.disconnect(),S=new IntersectionObserver(m=>{for(const B of m){const x=y.find(V=>V.el===B.target);if(x){if(B.isIntersecting){j(x);continue}if(x.state===1){const V=B.boundingClientRect;(V.bottom<-r.autoResetDistance||V.top>window.innerHeight+r.autoResetDistance)&&ot(x)}}}},{rootMargin:"300px 0px 300px 0px",threshold:.01}),y.forEach(m=>S.observe(m.el))}function ne(){clearTimeout(T),T=setTimeout(()=>{rt(),y.forEach(m=>{if(m.state===3){m.inner.style.width=m.cfg.finalW+"px",m.inner.style.height=m.cfg.finalH+"px",m.inner.style.borderRadius=m.cfg.finalR+"px";const B=A(m),x=m.el.getBoundingClientRect();m.inner.style.left=B.left-x.left+"px",m.inner.style.top=B.top-x.top+"px"}})},150)}function Bt(){O.forEach(m=>clearTimeout(m)),O.clear(),w.forEach(m=>{try{m.kill&&m.kill()}catch{}}),w.length=0,y.forEach(m=>{m.dragLine&&m.dragLine.remove()}),y=[],S&&(S.disconnect(),S=null)}function wt(){Bt(),I(),rt(),Et()}return Wo(async()=>{Zh(),await Mo(),I(),rt(),Et(),window.addEventListener("resize",ne),b=requestAnimationFrame(G),s("ready",{count:y.length})}),Vo(()=>{b&&cancelAnimationFrame(b),b=null,window.removeEventListener("resize",ne),clearTimeout(T),O.forEach(m=>clearTimeout(m)),O.clear(),w.forEach(m=>{try{m.kill&&m.kill()}catch{}}),w.length=0,S&&(S.disconnect(),S=null),d.forEach(m=>{try{hr.killTweensOf(m)}catch{}m.el.remove()}),d=[],y.forEach(m=>m.dragLine&&m.dragLine.remove()),y=[]}),t({restart:wt,resetAll:wt}),(m,B)=>(Ji(),yl("div",{ref_key:"rootEl",ref:o,class:"vpb-root",style:Hi(a.value)},[Qr("div",{ref_key:"layerEl",ref:l,class:"vpb-pointer-layer",style:Hi(u.value)},null,4),du(m.$slots,"default"),e.hintText?(Ji(),yl("div",Qh,eo(e.hintText),1)):Uu("",!0)],4))}};Ni.install=e=>{e.component("PointerBoxes",Ni),e.component("VuePointerBoxes",Ni)};function ed(e,t={}){const i=typeof e=="string"?document.querySelector(e):e;if(!i)throw new Error(`[vue-pointer-boxes] 挂载目标不存在: ${e}`);const n=i.innerHTML,r=t.props||t,s=Rc(Ni,r);if(s.mount(i),n&&n.trim()){const o=i.querySelector(".vpb-root");if(o){const l=document.createElement("div");l.className="vpb-user-slot",l.innerHTML=n;const a=o.querySelector(".vpb-hint");a?o.insertBefore(l,a):o.appendChild(l)}}return s}Ue.PointerBoxes=Ni,Ue.default=Ni,Ue.mount=ed,Object.defineProperties(Ue,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-pointer-boxes",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Vue component: simulated cursors roam the page, then drag elements open from their corners and type text in on scroll.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/vue-pointer-boxes.umd.cjs",
|
|
7
|
+
"module": "./dist/vue-pointer-boxes.es.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/vue-pointer-boxes.es.js",
|
|
11
|
+
"require": "./dist/vue-pointer-boxes.umd.cjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"build": "vite build && vite build --config vite.config.umd.js && node scripts/copy-umd.mjs",
|
|
21
|
+
"preview": "vite preview"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"vue",
|
|
25
|
+
"vue3",
|
|
26
|
+
"animation",
|
|
27
|
+
"cursor",
|
|
28
|
+
"drag",
|
|
29
|
+
"scroll",
|
|
30
|
+
"gsap"
|
|
31
|
+
],
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"vue": "^3.2.0"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"gsap": "^3.12.5"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
|
+
"vite": "^5.4.11",
|
|
42
|
+
"vue": "^3.5.13"
|
|
43
|
+
}
|
|
44
|
+
}
|