@zyzgroup/core-vue 0.0.12 → 0.0.13
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 +0 -17
- package/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +53 -37
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +15468 -7392
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +53 -37
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +27 -15
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +13014 -5148
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +27 -15
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/types/components/AnimatePanel.ce.vue.d.ts +34 -0
- package/types/components/AnimatePanel.vue.d.ts +34 -0
- package/types/components/Dialog.ce.vue.d.ts +1 -1
- package/types/components/Dialog.vue.d.ts +1 -1
- package/types/components/DialogLoading.ce.vue.d.ts +1 -1
- package/types/components/DialogLoading.vue.d.ts +1 -1
- package/types/components/EaseGraphDisplay.ce.vue.d.ts +71 -0
- package/types/components/EaseGraphDisplay.vue.d.ts +71 -0
- package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +55 -0
- package/types/components/EaseGroupGraphDisplay.vue.d.ts +55 -0
- package/types/components/FPSStats.ce.vue.d.ts +2 -0
- package/types/components/FPSStats.vue.d.ts +2 -0
- package/types/components/HandWritePanel.ce.vue.d.ts +61 -0
- package/types/components/HandWritePanel.vue.d.ts +61 -0
- package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +54 -0
- package/types/components/InterpolationGraphDisplay.vue.d.ts +54 -0
- package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +45 -0
- package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +45 -0
- package/types/components/MobileLayout.ce.vue.d.ts +6 -36
- package/types/components/MobileLayout.vue.d.ts +6 -36
- package/types/components/Overlay.ce.vue.d.ts +5 -0
- package/types/components/Overlay.vue.d.ts +5 -0
- package/types/components/PlateKeyboard.ce.vue.d.ts +1 -1
- package/types/components/PlateKeyboard.vue.d.ts +1 -1
- package/types/components/Pop.ce.vue.d.ts +9 -4
- package/types/components/Pop.vue.d.ts +9 -4
- package/types/components/Popover.ce.vue.d.ts +5 -0
- package/types/components/Popover.vue.d.ts +5 -0
- package/types/lib.d.ts +7 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
var YZCustomElement=function(
|
|
1
|
+
var YZCustomElement=function(sr){"use strict";/**
|
|
2
2
|
* @vue/shared v3.4.25
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Ai(e,t){const n=new Set(e.split(","));return t?i=>n.has(i.toLowerCase()):i=>n.has(i)}const ce={}.NODE_ENV!=="production"?Object.freeze({}):{},Di={}.NODE_ENV!=="production"?Object.freeze([]):[],Ce=()=>{},mf=()=>!1,or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hr=e=>e.startsWith("onUpdate:"),ge=Object.assign,lo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gf=Object.prototype.hasOwnProperty,ne=(e,t)=>gf.call(e,t),Rt=Array.isArray,li=e=>Ur(e)==="[object Map]",al=e=>Ur(e)==="[object Set]",Gt=e=>typeof e=="function",_e=e=>typeof e=="string",ci=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",co=e=>(ae(e)||Gt(e))&&Gt(e.then)&&Gt(e.catch),ll=Object.prototype.toString,Ur=e=>ll.call(e),uo=e=>Ur(e).slice(8,-1),cl=e=>Ur(e)==="[object Object]",ho=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ar=Ai(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vf=Ai("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Wr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yf=/-(\w)/g,Qe=Wr(e=>e.replace(yf,(t,n)=>n?n.toUpperCase():"")),_f=/\B([A-Z])/g,Je=Wr(e=>e.replace(_f,"-$1").toLowerCase()),ui=Wr(e=>e.charAt(0).toUpperCase()+e.slice(1)),hi=Wr(e=>e?`on${ui(e)}`:""),Un=(e,t)=>!Object.is(e,t),lr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ul=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},bf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hl=e=>{const t=_e(e)?Number(e):NaN;return isNaN(t)?e:t};let fl;const fo=()=>fl||(fl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(e){if(Rt(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],r=_e(i)?Cf(i):Lt(i);if(r)for(const s in r)t[s]=r[s]}return t}else if(_e(e)||ae(e))return e}const xf=/;(?![^(]*\))/g,wf=/:([^]+)/,Ef=/\/\*[^]*?\*\//g;function Cf(e){const t={};return e.replace(Ef,"").split(xf).forEach(n=>{if(n){const i=n.split(wf);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Ht(e){let t="";if(_e(e))t=e;else if(Rt(e))for(let n=0;n<e.length;n++){const i=Ht(e[n]);i&&(t+=i+" ")}else if(ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const kf=Ai("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function dl(e){return!!e||e===""}const ke=e=>_e(e)?e:e==null?"":Rt(e)||ae(e)&&(e.toString===ll||!Gt(e.toString))?JSON.stringify(e,pl,2):String(e),pl=(e,t)=>t&&t.__v_isRef?pl(e,t.value):li(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,r],s)=>(n[po(i,s)+" =>"]=r,n),{})}:al(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>po(n))}:ci(t)?po(t):ae(t)&&!Rt(t)&&!cl(t)?String(t):t,po=(e,t="")=>{var n;return ci(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
6
|
* @vue/reactivity v3.4.25
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/function yt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let Be;class ec{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const o=Be;try{return Be=this,e()}finally{Be=o}}else({}).NODE_ENV!=="production"&&yt("cannot run an inactive effect scope.")}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.scopes)for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function tc(t,e=Be){e&&e.active&&e.effects.push(t)}function oc(){return Be}let Lt;class Kn{constructor(e,o,n,i){this.fn=e,this.trigger=o,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,tc(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,nt();for(let e=0;e<this._depsLength;e++){const o=this.deps[e];if(o.computed&&(nc(o.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),it()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=bt,o=Lt;try{return bt=!0,Lt=this,this._runnings++,Ps(this),this.fn()}finally{Ls(this),this._runnings--,Lt=o,bt=e}}stop(){var e;this.active&&(Ps(this),Ls(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function nc(t){return t.value}function Ps(t){t._trackId++,t._depsLength=0}function Ls(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Vs(t.deps[e],t);t.deps.length=t._depsLength}}function Vs(t,e){const o=t.get(e);o!==void 0&&e._trackId!==o&&(t.delete(e),t.size===0&&t.cleanup())}let bt=!0,qn=0;const Is=[];function nt(){Is.push(bt),bt=!1}function it(){const t=Is.pop();bt=t===void 0?!0:t}function Yn(){qn++}function Zn(){for(qn--;!qn&&Xn.length;)Xn.shift()()}function Ms(t,e,o){var n;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const i=t.deps[t._depsLength];i!==e?(i&&Vs(i,t),t.deps[t._depsLength++]=e):t._depsLength++,{}.NODE_ENV!=="production"&&((n=t.onTrack)==null||n.call(t,de({effect:t},o)))}}const Xn=[];function As(t,e,o){var n;Yn();for(const i of t.keys()){let s;i._dirtyLevel<e&&(s??(s=t.get(i)===i._trackId))&&(i._shouldSchedule||(i._shouldSchedule=i._dirtyLevel===0),i._dirtyLevel=e),i._shouldSchedule&&(s??(s=t.get(i)===i._trackId))&&({}.NODE_ENV!=="production"&&((n=i.onTrigger)==null||n.call(i,de({effect:i},o))),i.trigger(),(!i._runnings||i.allowRecurse)&&i._dirtyLevel!==2&&(i._shouldSchedule=!1,i.scheduler&&Xn.push(i.scheduler)))}Zn()}const Rs=(t,e)=>{const o=new Map;return o.cleanup=t,o.computed=e,o},Jn=new WeakMap,Vt=Symbol({}.NODE_ENV!=="production"?"iterate":""),Qn=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function Se(t,e,o){if(bt&&Lt){let n=Jn.get(t);n||Jn.set(t,n=new Map);let i=n.get(o);i||n.set(o,i=Rs(()=>n.delete(o))),Ms(Lt,i,{}.NODE_ENV!=="production"?{target:t,type:e,key:o}:void 0)}}function Ze(t,e,o,n,i,s){const r=Jn.get(t);if(!r)return;let a=[];if(e==="clear")a=[...r.values()];else if(o==="length"&&F(t)){const l=Number(n);r.forEach((c,d)=>{(d==="length"||!Tt(d)&&d>=l)&&a.push(c)})}else switch(o!==void 0&&a.push(r.get(o)),e){case"add":F(t)?Wn(o)&&a.push(r.get("length")):(a.push(r.get(Vt)),$t(t)&&a.push(r.get(Qn)));break;case"delete":F(t)||(a.push(r.get(Vt)),$t(t)&&a.push(r.get(Qn)));break;case"set":$t(t)&&a.push(r.get(Vt));break}Yn();for(const l of a)l&&As(l,4,{}.NODE_ENV!=="production"?{target:t,type:e,key:o,newValue:n,oldValue:i,oldTarget:s}:void 0);Zn()}const ic=Gt("__proto__,__v_isRef,__isVue"),js=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Tt)),Fs=sc();function sc(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...o){const n=Y(this);for(let s=0,r=this.length;s<r;s++)Se(n,"get",s+"");const i=n[e](...o);return i===-1||i===!1?n[e](...o.map(Y)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...o){nt(),Yn();const n=Y(this)[e].apply(this,o);return Zn(),it(),n}}),t}function rc(t){Tt(t)||(t=String(t));const e=Y(this);return Se(e,"has",t),e.hasOwnProperty(t)}class zs{constructor(e=!1,o=!1){this._isReadonly=e,this._isShallow=o}get(e,o,n){const i=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!i;if(o==="__v_isReadonly")return i;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(i?s?Js:Xs:s?Zs:Ys).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=F(e);if(!i){if(r&&Z(Fs,o))return Reflect.get(Fs,o,n);if(o==="hasOwnProperty")return rc}const a=Reflect.get(e,o,n);return(Tt(o)?js.has(o):ic(o))||(i||Se(e,"get",o),s)?a:$e(a)?r&&Wn(o)?a:a.value:ie(a)?i?Qs(a):Fe(a):a}}class Hs extends zs{constructor(e=!1){super(!1,e)}set(e,o,n,i){let s=e[o];if(!this._isShallow){const l=It(s);if(!Mt(n)&&!It(n)&&(s=Y(s),n=Y(n)),!F(e)&&$e(s)&&!$e(n))return l?!1:(s.value=n,!0)}const r=F(e)&&Wn(o)?Number(o)<e.length:Z(e,o),a=Reflect.set(e,o,n,i);return e===Y(i)&&(r?gt(n,s)&&Ze(e,"set",o,n,s):Ze(e,"add",o,n)),a}deleteProperty(e,o){const n=Z(e,o),i=e[o],s=Reflect.deleteProperty(e,o);return s&&n&&Ze(e,"delete",o,void 0,i),s}has(e,o){const n=Reflect.has(e,o);return(!Tt(o)||!js.has(o))&&Se(e,"has",o),n}ownKeys(e){return Se(e,"iterate",F(e)?"length":Vt),Reflect.ownKeys(e)}}class Bs extends zs{constructor(e=!1){super(!0,e)}set(e,o){return{}.NODE_ENV!=="production"&&yt(`Set operation on key "${String(o)}" failed: target is readonly.`,e),!0}deleteProperty(e,o){return{}.NODE_ENV!=="production"&&yt(`Delete operation on key "${String(o)}" failed: target is readonly.`,e),!0}}const ac=new Hs,lc=new Bs,cc=new Hs(!0),uc=new Bs(!0),ei=t=>t,Bo=t=>Reflect.getPrototypeOf(t);function Wo(t,e,o=!1,n=!1){t=t.__v_raw;const i=Y(t),s=Y(e);o||(gt(e,s)&&Se(i,"get",e),Se(i,"get",s));const{has:r}=Bo(i),a=n?ei:o?oi:po;if(r.call(i,e))return a(t.get(e));if(r.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function Uo(t,e=!1){const o=this.__v_raw,n=Y(o),i=Y(t);return e||(gt(t,i)&&Se(n,"has",t),Se(n,"has",i)),t===i?o.has(t):o.has(t)||o.has(i)}function Go(t,e=!1){return t=t.__v_raw,!e&&Se(Y(t),"iterate",Vt),Reflect.get(t,"size",t)}function Ws(t){t=Y(t);const e=Y(this);return Bo(e).has.call(e,t)||(e.add(t),Ze(e,"add",t,t)),this}function Us(t,e){e=Y(e);const o=Y(this),{has:n,get:i}=Bo(o);let s=n.call(o,t);s?{}.NODE_ENV!=="production"&&qs(o,n,t):(t=Y(t),s=n.call(o,t));const r=i.call(o,t);return o.set(t,e),s?gt(e,r)&&Ze(o,"set",t,e,r):Ze(o,"add",t,e),this}function Gs(t){const e=Y(this),{has:o,get:n}=Bo(e);let i=o.call(e,t);i?{}.NODE_ENV!=="production"&&qs(e,o,t):(t=Y(t),i=o.call(e,t));const s=n?n.call(e,t):void 0,r=e.delete(t);return i&&Ze(e,"delete",t,void 0,s),r}function Ks(){const t=Y(this),e=t.size!==0,o={}.NODE_ENV!=="production"?$t(t)?new Map(t):new Set(t):void 0,n=t.clear();return e&&Ze(t,"clear",void 0,void 0,o),n}function Ko(t,e){return function(n,i){const s=this,r=s.__v_raw,a=Y(r),l=e?ei:t?oi:po;return!t&&Se(a,"iterate",Vt),r.forEach((c,d)=>n.call(i,l(c),l(d),s))}}function qo(t,e,o){return function(...n){const i=this.__v_raw,s=Y(i),r=$t(s),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=i[t](...n),d=o?ei:e?oi:po;return!e&&Se(s,"iterate",l?Qn:Vt),{next(){const{value:f,done:u}=c.next();return u?{value:f,done:u}:{value:a?[d(f[0]),d(f[1])]:d(f),done:u}},[Symbol.iterator](){return this}}}}function _t(t){return function(...e){if({}.NODE_ENV!=="production"){const o=e[0]?`on key "${e[0]}" `:"";yt(`${Dt(t)} operation ${o}failed: target is readonly.`,Y(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function dc(){const t={get(s){return Wo(this,s)},get size(){return Go(this)},has:Uo,add:Ws,set:Us,delete:Gs,clear:Ks,forEach:Ko(!1,!1)},e={get(s){return Wo(this,s,!1,!0)},get size(){return Go(this)},has:Uo,add:Ws,set:Us,delete:Gs,clear:Ks,forEach:Ko(!1,!0)},o={get(s){return Wo(this,s,!0)},get size(){return Go(this,!0)},has(s){return Uo.call(this,s,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:Ko(!0,!1)},n={get(s){return Wo(this,s,!0,!0)},get size(){return Go(this,!0)},has(s){return Uo.call(this,s,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:Ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=qo(s,!1,!1),o[s]=qo(s,!0,!1),e[s]=qo(s,!1,!0),n[s]=qo(s,!0,!0)}),[t,o,e,n]}const[fc,pc,hc,mc]=dc();function Yo(t,e){const o=e?t?mc:hc:t?pc:fc;return(n,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(Z(o,i)&&i in n?o:n,i,s)}const vc={get:Yo(!1,!1)},gc={get:Yo(!1,!0)},yc={get:Yo(!0,!1)},bc={get:Yo(!0,!0)};function qs(t,e,o){const n=Y(o);if(n!==o&&e.call(t,n)){const i=Bn(t);yt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ys=new WeakMap,Zs=new WeakMap,Xs=new WeakMap,Js=new WeakMap;function _c(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xc(t){return t.__v_skip||!Object.isExtensible(t)?0:_c(Bn(t))}function Fe(t){return It(t)?t:Zo(t,!1,ac,vc,Ys)}function wc(t){return Zo(t,!1,cc,gc,Zs)}function Qs(t){return Zo(t,!0,lc,yc,Xs)}function st(t){return Zo(t,!0,uc,bc,Js)}function Zo(t,e,o,n,i){if(!ie(t))return{}.NODE_ENV!=="production"&&yt(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const r=xc(t);if(r===0)return t;const a=new Proxy(t,r===2?n:o);return i.set(t,a),a}function qt(t){return It(t)?qt(t.__v_raw):!!(t&&t.__v_isReactive)}function It(t){return!!(t&&t.__v_isReadonly)}function Mt(t){return!!(t&&t.__v_isShallow)}function ti(t){return t?!!t.__v_raw:!1}function Y(t){const e=t&&t.__v_raw;return e?Y(e):t}function Ec(t){return Object.isExtensible(t)&&Os(t,"__v_skip",!0),t}const po=t=>ie(t)?Fe(t):t,oi=t=>ie(t)?Qs(t):t,Cc="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class er{constructor(e,o,n,i){this.getter=e,this._setter=o,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Kn(()=>e(this._value),()=>Xo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Y(this);return(!e._cacheable||e.effect.dirty)&>(e._value,e._value=e.effect.run())&&Xo(e,4),tr(e),e.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&yt(Cc,`
|
|
9
|
+
**/function Wn(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let un;class Sf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=un,!t&&un&&(this.index=(un.scopes||(un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=un;try{return un=this,t()}finally{un=n}}else({}).NODE_ENV!=="production"&&Wn("cannot run an inactive effect scope.")}on(){un=this}off(){un=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!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,this._active=!1}}}function Tf(e,t=un){t&&t.active&&t.effects.push(e)}function Nf(){return un}let fi;class mo{constructor(t,n,i,r){this.fn=t,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Tf(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,kn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Of(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Sn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qn,n=fi;try{return qn=!0,fi=this,this._runnings++,ml(this),this.fn()}finally{gl(this),this._runnings--,fi=n,qn=t}}stop(){var t;this.active&&(ml(this),gl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Of(e){return e.value}function ml(e){e._trackId++,e._depsLength=0}function gl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)vl(e.deps[t],e);e.deps.length=e._depsLength}}function vl(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qn=!0,go=0;const yl=[];function kn(){yl.push(qn),qn=!1}function Sn(){const e=yl.pop();qn=e===void 0?!0:e}function vo(){go++}function yo(){for(go--;!go&&_o.length;)_o.shift()()}function _l(e,t,n){var i;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&vl(r,e),e.deps[e._depsLength++]=t):e._depsLength++,{}.NODE_ENV!=="production"&&((i=e.onTrack)==null||i.call(e,ge({effect:e},n)))}}const _o=[];function bl(e,t,n){var i;vo();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&({}.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,ge({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&_o.push(r.scheduler)))}yo()}const xl=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},bo=new WeakMap,di=Symbol({}.NODE_ENV!=="production"?"iterate":""),xo=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function Me(e,t,n){if(qn&&fi){let i=bo.get(e);i||bo.set(e,i=new Map);let r=i.get(n);r||i.set(n,r=xl(()=>i.delete(n))),_l(fi,r,{}.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function gn(e,t,n,i,r,s){const o=bo.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&Rt(e)){const l=Number(i);o.forEach((p,m)=>{(m==="length"||!ci(m)&&m>=l)&&a.push(p)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Rt(e)?ho(n)&&a.push(o.get("length")):(a.push(o.get(di)),li(e)&&a.push(o.get(xo)));break;case"delete":Rt(e)||(a.push(o.get(di)),li(e)&&a.push(o.get(xo)));break;case"set":li(e)&&a.push(o.get(di));break}vo();for(const l of a)l&&bl(l,4,{}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:i,oldValue:r,oldTarget:s}:void 0);yo()}const Pf=Ai("__proto__,__v_isRef,__isVue"),wl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ci)),El=If();function If(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Qt(this);for(let s=0,o=this.length;s<o;s++)Me(i,"get",s+"");const r=i[t](...n);return r===-1||r===!1?i[t](...n.map(Qt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){kn(),vo();const i=Qt(this)[t].apply(this,n);return yo(),Sn(),i}}),e}function Mf(e){ci(e)||(e=String(e));const t=Qt(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Cl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return i===(r?s?Ll:Dl:s?Al:Ml).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=Rt(t);if(!r){if(o&&ne(El,n))return Reflect.get(El,n,i);if(n==="hasOwnProperty")return Mf}const a=Reflect.get(t,n,i);return(ci(n)?wl.has(n):Pf(n))||(r||Me(t,"get",n),s)?a:Ae(a)?o&&ho(n)?a:a.value:ae(a)?r?$l(a):tn(a):a}}class kl extends Cl{constructor(t=!1){super(!1,t)}set(t,n,i,r){let s=t[n];if(!this._isShallow){const l=pi(s);if(!mi(i)&&!pi(i)&&(s=Qt(s),i=Qt(i)),!Rt(t)&&Ae(s)&&!Ae(i))return l?!1:(s.value=i,!0)}const o=Rt(t)&&ho(n)?Number(n)<t.length:ne(t,n),a=Reflect.set(t,n,i,r);return t===Qt(r)&&(o?Un(i,s)&&gn(t,"set",n,i,s):gn(t,"add",n,i)),a}deleteProperty(t,n){const i=ne(t,n),r=t[n],s=Reflect.deleteProperty(t,n);return s&&i&&gn(t,"delete",n,void 0,r),s}has(t,n){const i=Reflect.has(t,n);return(!ci(n)||!wl.has(n))&&Me(t,"has",n),i}ownKeys(t){return Me(t,"iterate",Rt(t)?"length":di),Reflect.ownKeys(t)}}class Sl extends Cl{constructor(t=!1){super(!0,t)}set(t,n){return{}.NODE_ENV!=="production"&&Wn(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return{}.NODE_ENV!=="production"&&Wn(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Af=new kl,Df=new Sl,Lf=new kl(!0),$f=new Sl(!0),wo=e=>e,qr=e=>Reflect.getPrototypeOf(e);function Yr(e,t,n=!1,i=!1){e=e.__v_raw;const r=Qt(e),s=Qt(t);n||(Un(t,s)&&Me(r,"get",t),Me(r,"get",s));const{has:o}=qr(r),a=i?wo:n?Co:cr;if(o.call(r,t))return a(e.get(t));if(o.call(r,s))return a(e.get(s));e!==r&&e.get(t)}function Xr(e,t=!1){const n=this.__v_raw,i=Qt(n),r=Qt(e);return t||(Un(e,r)&&Me(i,"has",e),Me(i,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Kr(e,t=!1){return e=e.__v_raw,!t&&Me(Qt(e),"iterate",di),Reflect.get(e,"size",e)}function Tl(e){e=Qt(e);const t=Qt(this);return qr(t).has.call(t,e)||(t.add(e),gn(t,"add",e,e)),this}function Nl(e,t){t=Qt(t);const n=Qt(this),{has:i,get:r}=qr(n);let s=i.call(n,e);s?{}.NODE_ENV!=="production"&&Il(n,i,e):(e=Qt(e),s=i.call(n,e));const o=r.call(n,e);return n.set(e,t),s?Un(t,o)&&gn(n,"set",e,t,o):gn(n,"add",e,t),this}function Ol(e){const t=Qt(this),{has:n,get:i}=qr(t);let r=n.call(t,e);r?{}.NODE_ENV!=="production"&&Il(t,n,e):(e=Qt(e),r=n.call(t,e));const s=i?i.call(t,e):void 0,o=t.delete(e);return r&&gn(t,"delete",e,void 0,s),o}function Pl(){const e=Qt(this),t=e.size!==0,n={}.NODE_ENV!=="production"?li(e)?new Map(e):new Set(e):void 0,i=e.clear();return t&&gn(e,"clear",void 0,void 0,n),i}function Zr(e,t){return function(i,r){const s=this,o=s.__v_raw,a=Qt(o),l=t?wo:e?Co:cr;return!e&&Me(a,"iterate",di),o.forEach((p,m)=>i.call(r,l(p),l(m),s))}}function Qr(e,t,n){return function(...i){const r=this.__v_raw,s=Qt(r),o=li(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,p=r[e](...i),m=n?wo:t?Co:cr;return!t&&Me(s,"iterate",l?xo:di),{next(){const{value:g,done:d}=p.next();return d?{value:g,done:d}:{value:a?[m(g[0]),m(g[1])]:m(g),done:d}},[Symbol.iterator](){return this}}}}function Yn(e){return function(...t){if({}.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Wn(`${ui(e)} operation ${n}failed: target is readonly.`,Qt(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Rf(){const e={get(s){return Yr(this,s)},get size(){return Kr(this)},has:Xr,add:Tl,set:Nl,delete:Ol,clear:Pl,forEach:Zr(!1,!1)},t={get(s){return Yr(this,s,!1,!0)},get size(){return Kr(this)},has:Xr,add:Tl,set:Nl,delete:Ol,clear:Pl,forEach:Zr(!1,!0)},n={get(s){return Yr(this,s,!0)},get size(){return Kr(this,!0)},has(s){return Xr.call(this,s,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Zr(!0,!1)},i={get(s){return Yr(this,s,!0,!0)},get size(){return Kr(this,!0)},has(s){return Xr.call(this,s,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Zr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Qr(s,!1,!1),n[s]=Qr(s,!0,!1),t[s]=Qr(s,!1,!0),i[s]=Qr(s,!0,!0)}),[e,n,t,i]}const[Vf,Ff,zf,jf]=Rf();function Jr(e,t){const n=t?e?jf:zf:e?Ff:Vf;return(i,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(ne(n,r)&&r in i?n:i,r,s)}const Bf={get:Jr(!1,!1)},Gf={get:Jr(!1,!0)},Hf={get:Jr(!0,!1)},Uf={get:Jr(!0,!0)};function Il(e,t,n){const i=Qt(n);if(i!==n&&t.call(e,i)){const r=uo(e);Wn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ml=new WeakMap,Al=new WeakMap,Dl=new WeakMap,Ll=new WeakMap;function Wf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qf(e){return e.__v_skip||!Object.isExtensible(e)?0:Wf(uo(e))}function tn(e){return pi(e)?e:ts(e,!1,Af,Bf,Ml)}function Yf(e){return ts(e,!1,Lf,Gf,Al)}function $l(e){return ts(e,!0,Df,Hf,Dl)}function Tn(e){return ts(e,!0,$f,Uf,Ll)}function ts(e,t,n,i,r){if(!ae(e))return{}.NODE_ENV!=="production"&&Wn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const o=qf(e);if(o===0)return e;const a=new Proxy(e,o===2?i:n);return r.set(e,a),a}function Li(e){return pi(e)?Li(e.__v_raw):!!(e&&e.__v_isReactive)}function pi(e){return!!(e&&e.__v_isReadonly)}function mi(e){return!!(e&&e.__v_isShallow)}function Eo(e){return e?!!e.__v_raw:!1}function Qt(e){const t=e&&e.__v_raw;return t?Qt(t):e}function Xf(e){return Object.isExtensible(e)&&ul(e,"__v_skip",!0),e}const cr=e=>ae(e)?tn(e):e,Co=e=>ae(e)?$l(e):e,Kf="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Rl{constructor(t,n,i,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new mo(()=>t(this._value),()=>es(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const t=Qt(this);return(!t._cacheable||t.effect.dirty)&&Un(t._value,t._value=t.effect.run())&&es(t,4),Vl(t),t.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&Wn(Kf,`
|
|
10
10
|
|
|
11
|
-
getter: `,this.getter),
|
|
11
|
+
getter: `,this.getter),es(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Zf(e,t,n=!1){let i,r;const s=Gt(e);s?(i=e,r={}.NODE_ENV!=="production"?()=>{Wn("Write operation failed: computed value is readonly")}:Ce):(i=e.get,r=e.set);const o=new Rl(i,r,s||!r,n);return{}.NODE_ENV!=="production"&&t&&!n&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}function Vl(e){var t;qn&&fi&&(e=Qt(e),_l(fi,(t=e.dep)!=null?t:e.dep=xl(()=>e.dep=void 0,e instanceof Rl?e:void 0),{}.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function es(e,t=4,n){e=Qt(e);const i=e.dep;i&&bl(i,t,{}.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function Ct(e){return Qf(e,!1)}function Qf(e,t){return Ae(e)?e:new Jf(e,t)}class Jf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Qt(t),this._value=n?t:cr(t)}get value(){return Vl(this),this._value}set value(t){const n=this.__v_isShallow||mi(t)||pi(t);t=n?t:Qt(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cr(t),es(this,4,t))}}function he(e){return Ae(e)?e.value:e}const td={get:(e,t,n)=>he(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function Fl(e){return Li(e)?e:new Proxy(e,td)}/**
|
|
12
12
|
* @vue/runtime-core v3.4.25
|
|
13
13
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
14
|
* @license MIT
|
|
15
|
-
**/const
|
|
16
|
-
`),
|
|
17
|
-
`,...
|
|
18
|
-
`],...Dc(o))}),e}function Dc({vnode:t,recurseCount:e}){const o=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${yn(t.component,t.type,n)}`,s=">"+o;return t.props?[i,...Pc(t.props),s]:[i+s]}function Pc(t){const e=[],o=Object.keys(t);return o.slice(0,3).forEach(n=>{e.push(...nr(n,t[n]))}),o.length>3&&e.push(" ..."),e}function nr(t,e,o){return me(e)?(e=JSON.stringify(e),o?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?o?e:[`${t}=${e}`]:$e(e)?(e=nr(t,Y(e.value),!0),o?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Y(e),o?e:[`${t}=`,e])}const ni={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function rt(t,e,o,n){try{return n?t(...n):t()}catch(i){ho(i,e,o)}}function We(t,e,o,n){if(W(t)){const i=rt(t,e,o,n);return i&&Hn(i)&&i.catch(s=>{ho(s,e,o)}),i}if(F(t)){const i=[];for(let s=0;s<t.length;s++)i.push(We(t[s],e,o,n));return i}else({}).NODE_ENV!=="production"&&N(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function ho(t,e,o,n=!0){const i=e?e.vnode:null;if(e){let s=e.parent;const r=e.proxy,a={}.NODE_ENV!=="production"?ni[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](t,r,a)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){nt(),rt(l,null,10,[t,r,a]),it();return}}Lc(t,o,i,n)}function Lc(t,e,o,n=!0){if({}.NODE_ENV!=="production"){const i=ni[e];if(o&&Jo(o),N(`Unhandled error${i?` during execution of ${i}`:""}`),o&&Qo(),n)throw t;console.error(t)}else console.error(t)}let mo=!1,ii=!1;const De=[];let Xe=0;const Yt=[];let at=null,xt=0;const ir=Promise.resolve();let si=null;const Vc=100;function sr(t){const e=si||ir;return t?e.then(this?t.bind(this):t):e}function Ic(t){let e=Xe+1,o=De.length;for(;e<o;){const n=e+o>>>1,i=De[n],s=vo(i);s<t||s===t&&i.pre?e=n+1:o=n}return e}function en(t){(!De.length||!De.includes(t,mo&&t.allowRecurse?Xe+1:Xe))&&(t.id==null?De.push(t):De.splice(Ic(t.id),0,t),rr())}function rr(){!mo&&!ii&&(ii=!0,si=ir.then(ur))}function Mc(t){const e=De.indexOf(t);e>Xe&&De.splice(e,1)}function ar(t){F(t)?Yt.push(...t):(!at||!at.includes(t,t.allowRecurse?xt+1:xt))&&Yt.push(t),rr()}function lr(t,e,o=mo?Xe+1:0){for({}.NODE_ENV!=="production"&&(e=e||new Map);o<De.length;o++){const n=De[o];if(n&&n.pre){if(t&&n.id!==t.uid||{}.NODE_ENV!=="production"&&ri(e,n))continue;De.splice(o,1),o--,n()}}}function cr(t){if(Yt.length){const e=[...new Set(Yt)].sort((o,n)=>vo(o)-vo(n));if(Yt.length=0,at){at.push(...e);return}for(at=e,{}.NODE_ENV!=="production"&&(t=t||new Map),xt=0;xt<at.length;xt++)({}).NODE_ENV!=="production"&&ri(t,at[xt])||at[xt]();at=null,xt=0}}const vo=t=>t.id==null?1/0:t.id,Ac=(t,e)=>{const o=vo(t)-vo(e);if(o===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return o};function ur(t){ii=!1,mo=!0,{}.NODE_ENV!=="production"&&(t=t||new Map),De.sort(Ac);const e={}.NODE_ENV!=="production"?o=>ri(t,o):ge;try{for(Xe=0;Xe<De.length;Xe++){const o=De[Xe];if(o&&o.active!==!1){if({}.NODE_ENV!=="production"&&e(o))continue;rt(o,null,14)}}}finally{Xe=0,De.length=0,cr(t),mo=!1,si=null,(De.length||Yt.length)&&ur(t)}}function ri(t,e){if(!t.has(e))t.set(e,1);else{const o=t.get(e);if(o>Vc){const n=e.ownerInstance,i=n&&Li(n.type);return ho(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,o+1)}}let Rt=!1;const Zt=new Set;({}).NODE_ENV!=="production"&&(Un().__VUE_HMR_RUNTIME__={createRecord:ai(dr),rerender:ai(Fc),reload:ai(zc)});const jt=new Map;function Rc(t){const e=t.type.__hmrId;let o=jt.get(e);o||(dr(e,t.type),o=jt.get(e)),o.instances.add(t)}function jc(t){jt.get(t.type.__hmrId).instances.delete(t)}function dr(t,e){return jt.has(t)?!1:(jt.set(t,{initialDef:go(e),instances:new Set}),!0)}function go(t){return ia(t)?t.__vccOpts:t}function Fc(t,e){const o=jt.get(t);o&&(o.initialDef.render=e,[...o.instances].forEach(n=>{e&&(n.render=e,go(n.type).render=e),n.renderCache=[],Rt=!0,n.effect.dirty=!0,n.update(),Rt=!1}))}function zc(t,e){const o=jt.get(t);if(!o)return;e=go(e),fr(o.initialDef,e);const n=[...o.instances];for(const i of n){const s=go(i.type);Zt.has(s)||(s!==o.initialDef&&fr(s,e),Zt.add(s)),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(Zt.add(s),i.ceReload(e.styles),Zt.delete(s)):i.parent?(i.parent.effect.dirty=!0,en(i.parent.update)):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ar(()=>{for(const i of n)Zt.delete(go(i.type))})}function fr(t,e){de(t,e);for(const o in t)o!=="__file"&&!(o in e)&&delete t[o]}function ai(t){return(e,o)=>{try{return t(e,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Je,yo=[],li=!1;function bo(t,...e){Je?Je.emit(t,...e):li||yo.push({event:t,args:e})}function pr(t,e){var o,n;Je=t,Je?(Je.enabled=!0,yo.forEach(({event:i,args:s})=>Je.emit(i,...s)),yo=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{pr(s,e)}),setTimeout(()=>{Je||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,li=!0,yo=[])},3e3)):(li=!0,yo=[])}function Hc(t,e){bo("app:init",t,e,{Fragment:be,Text:No,Comment:Ie,Static:pn})}function Bc(t){bo("app:unmount",t)}const Wc=ci("component:added"),hr=ci("component:updated"),Uc=ci("component:removed"),Gc=t=>{Je&&typeof Je.cleanupBuffer=="function"&&!Je.cleanupBuffer(t)&&Uc(t)};/*! #__NO_SIDE_EFFECTS__ */function ci(t){return e=>{bo(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const Kc=mr("perf:start"),qc=mr("perf:end");function mr(t){return(e,o,n)=>{bo(t,e.appContext.app,e.uid,e,o,n)}}function Yc(t,e,o){bo("component:emit",t.appContext.app,t,e,o)}function Zc(t,e,...o){if(t.isUnmounted)return;const n=t.vnode.props||ae;if({}.NODE_ENV!=="production"){const{emitsOptions:d,propsOptions:[f]}=t;if(d)if(!(e in d))(!f||!(Pt(e)in f))&&N(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Pt(e)}" prop.`);else{const u=d[e];W(u)&&(u(...o)||N(`Invalid event arguments: event validation failed for event "${e}".`))}}let i=o;const s=e.startsWith("update:"),r=s&&e.slice(7);if(r&&r in n){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:f,trim:u}=n[d]||ae;u&&(i=o.map(v=>me(v)?v.trim():v)),f&&(i=o.map(ql))}if({}.NODE_ENV!=="production"&&Yc(t,e,i),{}.NODE_ENV!=="production"){const d=e.toLowerCase();d!==e&&n[Pt(d)]&&N(`Event "${d}" is emitted in component ${yn(t,t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${je(e)}" instead of "${e}".`)}let a,l=n[a=Pt(e)]||n[a=Pt(Re(e))];!l&&s&&(l=n[a=Pt(je(e))]),l&&We(l,t,6,i);const c=n[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,We(c,t,6,i)}}function vr(t,e,o=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const s=t.emits;let r={},a=!1;if(!W(t)){const l=c=>{const d=vr(c,e,!0);d&&(a=!0,de(r,d))};!o&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(ie(t)&&n.set(t,null),null):(F(s)?s.forEach(l=>r[l]=null):de(r,s),ie(t)&&n.set(t,r),r)}function tn(t,e){return!t||!co(e)?!1:(e=e.slice(2).replace(/Once$/,""),Z(t,e[0].toLowerCase()+e.slice(1))||Z(t,je(e))||Z(t,e))}let ye=null,on=null;function nn(t){const e=ye;return ye=t,on=t&&t.type.__scopeId||null,e}function _o(t){on=t}function xo(){on=null}function Ce(t,e=ye,o){if(!e||t._n)return t;const n=(...i)=>{n._d&&qr(-1);const s=nn(e);let r;try{r=t(...i)}finally{nn(s),n._d&&qr(1)}return{}.NODE_ENV!=="production"&&hr(e),r};return n._n=!0,n._c=!0,n._d=!0,n}let ui=!1;function sn(){ui=!0}function di(t){const{type:e,vnode:o,proxy:n,withProxy:i,propsOptions:[s],slots:r,attrs:a,emit:l,render:c,renderCache:d,props:f,data:u,setupState:v,ctx:b,inheritAttrs:y}=t,k=nn(t);let A,$;({}).NODE_ENV!=="production"&&(ui=!1);try{if(o.shapeFlag&4){const ne=i||n,M={}.NODE_ENV!=="production"&&v.__isScriptSetup?new Proxy(ne,{get(I,he,ve){return N(`Property '${String(he)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(I,he,ve)}}):ne;A=Ge(c.call(M,ne,d,{}.NODE_ENV!=="production"?st(f):f,v,u,b)),$=a}else{const ne=e;({}).NODE_ENV!=="production"&&a===f&&sn(),A=Ge(ne.length>1?ne({}.NODE_ENV!=="production"?st(f):f,{}.NODE_ENV!=="production"?{get attrs(){return sn(),a},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):ne({}.NODE_ENV!=="production"?st(f):f,null)),$=e.props?a:Xc(a)}}catch(ne){Oo.length=0,ho(ne,t,1),A=oe(Ie)}let z=A,G;if({}.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&([z,G]=gr(A)),$&&y!==!1){const ne=Object.keys($),{shapeFlag:M}=z;if(ne.length){if(M&7)s&&ne.some(Fo)&&($=Jc($,s)),z=Et(z,$);else if({}.NODE_ENV!=="production"&&!ui&&z.type!==Ie){const I=Object.keys(a),he=[],ve=[];for(let Te=0,Nt=I.length;Te<Nt;Te++){const qe=I[Te];co(qe)?Fo(qe)||he.push(qe[2].toLowerCase()+qe.slice(3)):ve.push(qe)}ve.length&&N(`Extraneous non-props attributes (${ve.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),he.length&&N(`Extraneous non-emits event listeners (${he.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return o.dirs&&({}.NODE_ENV!=="production"&&!yr(z)&&N("Runtime directive used on component with non-element root node. The directives will not function as intended."),z=Et(z),z.dirs=z.dirs?z.dirs.concat(o.dirs):o.dirs),o.transition&&({}.NODE_ENV!=="production"&&!yr(z)&&N("Component inside <Transition> renders non-element root node that cannot be animated."),z.transition=o.transition),{}.NODE_ENV!=="production"&&G?G(z):A=z,nn(k),A}const gr=t=>{const e=t.children,o=t.dynamicChildren,n=fi(e,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return gr(n)}else return[t,void 0];const i=e.indexOf(n),s=o?o.indexOf(n):-1,r=a=>{e[i]=a,o&&(s>-1?o[s]=a:a.patchFlag>0&&(t.dynamicChildren=[...o,a]))};return[Ge(n),r]};function fi(t,e=!0){let o;for(let n=0;n<t.length;n++){const i=t[n];if(Jt(i)){if(i.type!==Ie||i.children==="v-if"){if(o)return;if(o=i,{}.NODE_ENV!=="production"&&e&&o.patchFlag>0&&o.patchFlag&2048)return fi(o.children)}}else return}return o}const Xc=t=>{let e;for(const o in t)(o==="class"||o==="style"||co(o))&&((e||(e={}))[o]=t[o]);return e},Jc=(t,e)=>{const o={};for(const n in t)(!Fo(n)||!(n.slice(9)in e))&&(o[n]=t[n]);return o},yr=t=>t.shapeFlag&7||t.type===Ie;function Qc(t,e,o){const{props:n,children:i,component:s}=t,{props:r,children:a,patchFlag:l}=e,c=s.emitsOptions;if({}.NODE_ENV!=="production"&&(i||a)&&Rt||e.dirs||e.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?br(n,r,c):!!r;if(l&8){const d=e.dynamicProps;for(let f=0;f<d.length;f++){const u=d[f];if(r[u]!==n[u]&&!tn(c,u))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?br(n,r,c):!0:!!r;return!1}function br(t,e,o){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==t[s]&&!tn(o,s))return!0}return!1}function eu({vnode:t,parent:e},o){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=o,e=e.parent;else break}}const pi="components";function tu(t,e){return nu(pi,t,!0,e)||t}const ou=Symbol.for("v-ndc");function nu(t,e,o=!0,n=!1){const i=ye||we;if(i){const s=i.type;if(t===pi){const a=Li(s,!1);if(a&&(a===e||a===Re(e)||a===Dt(Re(e))))return s}const r=_r(i[t]||s[t],e)||_r(i.appContext[t],e);if(!r&&n)return s;if({}.NODE_ENV!=="production"&&o&&!r){const a=t===pi?`
|
|
19
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";N(`Failed to resolve ${t.slice(0,-1)}: ${e}${a}`)}return r}else({}).NODE_ENV!=="production"&&N(`resolve${Dt(t.slice(0,-1))} can only be used in render() or setup().`)}function _r(t,e){return t&&(t[e]||t[Re(e)]||t[Dt(Re(e))])}const iu=t=>t.__isSuspense;function su(t,e){e&&e.pendingBranch?F(t)?e.effects.push(...t):e.effects.push(t):ar(t)}const ru=Symbol.for("v-scx"),au=()=>{{const t=un(ru);return t||{}.NODE_ENV!=="production"&&N("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},rn={};function se(t,e,o){return{}.NODE_ENV!=="production"&&!W(e)&&N("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),xr(t,e,o)}function xr(t,e,{immediate:o,deep:n,flush:i,once:s,onTrack:r,onTrigger:a}=ae){if(e&&s){const I=e;e=(...he)=>{I(...he),M()}}({}).NODE_ENV!=="production"&&n!==void 0&&typeof n=="number"&&N('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!e&&(o!==void 0&&N('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&N('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&N('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=I=>{N("Invalid watch source: ",I,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=we,d=I=>n===!0?I:Ft(I,n===!1?1:void 0);let f,u=!1,v=!1;if($e(t)?(f=()=>t.value,u=Mt(t)):qt(t)?(f=()=>d(t),u=!0):F(t)?(v=!0,u=t.some(I=>qt(I)||Mt(I)),f=()=>t.map(I=>{if($e(I))return I.value;if(qt(I))return d(I);if(W(I))return rt(I,c,2);({}).NODE_ENV!=="production"&&l(I)})):W(t)?e?f=()=>rt(t,c,2):f=()=>(b&&b(),We(t,c,3,[y])):(f=ge,{}.NODE_ENV!=="production"&&l(t)),e&&n){const I=f;f=()=>Ft(I())}let b,y=I=>{b=G.onStop=()=>{rt(I,c,4),b=G.onStop=void 0}},k;if(vn)if(y=ge,e?o&&We(e,c,3,[f(),v?[]:void 0,y]):f(),i==="sync"){const I=au();k=I.__watcherHandles||(I.__watcherHandles=[])}else return ge;let A=v?new Array(t.length).fill(rn):rn;const $=()=>{if(!(!G.active||!G.dirty))if(e){const I=G.run();(n||u||(v?I.some((he,ve)=>gt(he,A[ve])):gt(I,A)))&&(b&&b(),We(e,c,3,[I,A===rn?void 0:v&&A[0]===rn?[]:A,y]),A=I)}else G.run()};$.allowRecurse=!!e;let z;i==="sync"?z=$:i==="post"?z=()=>Ve($,c&&c.suspense):($.pre=!0,c&&($.id=c.uid),z=()=>en($));const G=new Kn(f,ge,z),ne=oc(),M=()=>{G.stop(),ne&&zn(ne.effects,G)};return{}.NODE_ENV!=="production"&&(G.onTrack=r,G.onTrigger=a),e?o?$():A=G.run():i==="post"?Ve(G.run.bind(G),c&&c.suspense):G.run(),k&&k.push(M),M}function lu(t,e,o){const n=this.proxy,i=me(t)?t.includes(".")?wr(n,t):()=>n[t]:t.bind(n,n);let s;W(e)?s=e:(s=e.handler,o=e);const r=To(this),a=xr(i,s.bind(n),o);return r(),a}function wr(t,e){const o=e.split(".");return()=>{let n=t;for(let i=0;i<o.length&&n;i++)n=n[o[i]];return n}}function Ft(t,e,o=0,n){if(!ie(t)||t.__v_skip)return t;if(e&&e>0){if(o>=e)return t;o++}if(n=n||new Set,n.has(t))return t;if(n.add(t),$e(t))Ft(t.value,e,o,n);else if(F(t))for(let i=0;i<t.length;i++)Ft(t[i],e,o,n);else if(Cs(t)||$t(t))t.forEach(i=>{Ft(i,e,o,n)});else if(Ns(t))for(const i in t)Ft(t[i],e,o,n);return t}function Er(t){Ul(t)&&N("Do not use built-in directive ids as custom directive id: "+t)}function hi(t,e){if(ye===null)return{}.NODE_ENV!=="production"&&N("withDirectives can only be used inside render functions."),t;const o=gn(ye)||ye.proxy,n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,r,a,l=ae]=e[i];s&&(W(s)&&(s={mounted:s,updated:s}),s.deep&&Ft(r),n.push({dir:s,instance:o,value:r,oldValue:void 0,arg:a,modifiers:l}))}return t}function zt(t,e,o,n){const i=t.dirs,s=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];s&&(a.oldValue=s[r].value);let l=a.dir[n];l&&(nt(),We(l,o,8,[t.el,a,t,e]),it())}}/*! #__NO_SIDE_EFFECTS__ */function X(t,e){return W(t)?(()=>de({name:t.name},e,{setup:t}))():t}const wo=t=>!!t.type.__asyncLoader,mi=t=>t.type.__isKeepAlive;function cu(t,e){Cr(t,"a",e)}function uu(t,e){Cr(t,"da",e)}function Cr(t,e,o=we){const n=t.__wdc||(t.__wdc=()=>{let i=o;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(an(e,n,o),o){let i=o.parent;for(;i&&i.parent;)mi(i.parent.vnode)&&du(n,e,o,i),i=i.parent}}function du(t,e,o,n){const i=an(e,t,n,!0);ln(()=>{zn(n[e],i)},o)}function an(t,e,o=we,n=!1){if(o){const i=o[t]||(o[t]=[]),s=e.__weh||(e.__weh=(...r)=>{if(o.isUnmounted)return;nt();const a=To(o),l=We(e,o,t,r);return a(),it(),l});return n?i.unshift(s):i.push(s),s}else if({}.NODE_ENV!=="production"){const i=Pt(ni[t].replace(/ hook$/,""));N(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const lt=t=>(e,o=we)=>(!vn||t==="sp")&&an(t,(...n)=>e(...n),o),fu=lt("bm"),vi=lt("m"),pu=lt("bu"),hu=lt("u"),mu=lt("bum"),ln=lt("um"),vu=lt("sp"),gu=lt("rtg"),yu=lt("rtc");function bu(t,e=we){an("ec",t,e)}function Xt(t,e,o,n){let i;const s=o&&o[n];if(F(t)||me(t)){i=new Array(t.length);for(let r=0,a=t.length;r<a;r++)i[r]=e(t[r],r,void 0,s&&s[r])}else if(typeof t=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(t)&&N(`The v-for range expect an integer value but got ${t}.`),i=new Array(t);for(let r=0;r<t;r++)i[r]=e(r+1,r,void 0,s&&s[r])}else if(ie(t))if(t[Symbol.iterator])i=Array.from(t,(r,a)=>e(r,a,void 0,s&&s[a]));else{const r=Object.keys(t);i=new Array(r.length);for(let a=0,l=r.length;a<l;a++){const c=r[a];i[a]=e(t[c],c,a,s&&s[a])}}else i=[];return o&&(o[n]=i),i}function ue(t,e,o={},n,i){if(ye.isCE||ye.parent&&wo(ye.parent)&&ye.parent.isCE)return e!=="default"&&(o.name=e),oe("slot",o,n&&n());let s=t[e];({}).NODE_ENV!=="production"&&s&&s.length>1&&(N("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),D();const r=s&&kr(s(o)),a=_e(be,{key:o.key||r&&r.key||`_${e}`},r||(n?n():[]),r&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function kr(t){return t.some(e=>Jt(e)?!(e.type===Ie||e.type===be&&!kr(e.children)):!0)?t:null}const gi=t=>t?ea(t)?gn(t)||t.proxy:gi(t.parent):null,Ht=de(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>({}).NODE_ENV!=="production"?st(t.props):t.props,$attrs:t=>({}).NODE_ENV!=="production"?st(t.attrs):t.attrs,$slots:t=>({}).NODE_ENV!=="production"?st(t.slots):t.slots,$refs:t=>({}).NODE_ENV!=="production"?st(t.refs):t.refs,$parent:t=>gi(t.parent),$root:t=>gi(t.root),$emit:t=>t.emit,$options:t=>xi(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,en(t.update)}),$nextTick:t=>t.n||(t.n=sr.bind(t.proxy)),$watch:t=>lu.bind(t)}),yi=t=>t==="_"||t==="$",bi=(t,e)=>t!==ae&&!t.__isScriptSetup&&Z(t,e),Nr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:o,setupState:n,data:i,props:s,accessCache:r,type:a,appContext:l}=t;if({}.NODE_ENV!=="production"&&e==="__isVue")return!0;let c;if(e[0]!=="$"){const v=r[e];if(v!==void 0)switch(v){case 1:return n[e];case 2:return i[e];case 4:return o[e];case 3:return s[e]}else{if(bi(n,e))return r[e]=1,n[e];if(i!==ae&&Z(i,e))return r[e]=2,i[e];if((c=t.propsOptions[0])&&Z(c,e))return r[e]=3,s[e];if(o!==ae&&Z(o,e))return r[e]=4,o[e];_i&&(r[e]=0)}}const d=Ht[e];let f,u;if(d)return e==="$attrs"?(Se(t.attrs,"get",""),{}.NODE_ENV!=="production"&&sn()):{}.NODE_ENV!=="production"&&e==="$slots"&&Se(t,"get",e),d(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(o!==ae&&Z(o,e))return r[e]=4,o[e];if(u=l.config.globalProperties,Z(u,e))return u[e];({}).NODE_ENV!=="production"&&ye&&(!me(e)||e.indexOf("__v")!==0)&&(i!==ae&&yi(e[0])&&Z(i,e)?N(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===ye&&N(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,o){const{data:n,setupState:i,ctx:s}=t;return bi(i,e)?(i[e]=o,!0):{}.NODE_ENV!=="production"&&i.__isScriptSetup&&Z(i,e)?(N(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):n!==ae&&Z(n,e)?(n[e]=o,!0):Z(t.props,e)?({}.NODE_ENV!=="production"&&N(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?({}.NODE_ENV!=="production"&&N(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(s,e,{enumerable:!0,configurable:!0,value:o}):s[e]=o,!0)},has({_:{data:t,setupState:e,accessCache:o,ctx:n,appContext:i,propsOptions:s}},r){let a;return!!o[r]||t!==ae&&Z(t,r)||bi(e,r)||(a=s[0])&&Z(a,r)||Z(n,r)||Z(Ht,r)||Z(i.config.globalProperties,r)},defineProperty(t,e,o){return o.get!=null?t._.accessCache[e]=0:Z(o,"value")&&this.set(t,e,o.value,null),Reflect.defineProperty(t,e,o)}};({}).NODE_ENV!=="production"&&(Nr.ownKeys=t=>(N("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function _u(t){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>t}),Object.keys(Ht).forEach(o=>{Object.defineProperty(e,o,{configurable:!0,enumerable:!1,get:()=>Ht[o](t),set:ge})}),e}function xu(t){const{ctx:e,propsOptions:[o]}=t;o&&Object.keys(o).forEach(n=>{Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>t.props[n],set:ge})})}function wu(t){const{ctx:e,setupState:o}=t;Object.keys(Y(o)).forEach(n=>{if(!o.__isScriptSetup){if(yi(n[0])){N(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:ge})}})}function Or(t){return F(t)?t.reduce((e,o)=>(e[o]=null,e),{}):t}function Eu(){const t=Object.create(null);return(e,o)=>{t[o]?N(`${e} property "${o}" is already defined in ${t[o]}.`):t[o]=e}}let _i=!0;function Cu(t){const e=xi(t),o=t.proxy,n=t.ctx;_i=!1,e.beforeCreate&&Sr(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:r,watch:a,provide:l,inject:c,created:d,beforeMount:f,mounted:u,beforeUpdate:v,updated:b,activated:y,deactivated:k,beforeDestroy:A,beforeUnmount:$,destroyed:z,unmounted:G,render:ne,renderTracked:M,renderTriggered:I,errorCaptured:he,serverPrefetch:ve,expose:Te,inheritAttrs:Nt,components:qe,directives:jn,filters:Rl}=e,Ot={}.NODE_ENV!=="production"?Eu():null;if({}.NODE_ENV!=="production"){const[te]=t.propsOptions;if(te)for(const Q in te)Ot("Props",Q)}if(c&&ku(c,n,Ot),r)for(const te in r){const Q=r[te];W(Q)?({}.NODE_ENV!=="production"?Object.defineProperty(n,te,{value:Q.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[te]=Q.bind(o),{}.NODE_ENV!=="production"&&Ot("Methods",te)):{}.NODE_ENV!=="production"&&N(`Method "${te}" has type "${typeof Q}" in the component definition. Did you reference the function correctly?`)}if(i){({}).NODE_ENV!=="production"&&!W(i)&&N("The data option must be a function. Plain object usage is no longer supported.");const te=i.call(o,o);if({}.NODE_ENV!=="production"&&Hn(te)&&N("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!ie(te))({}).NODE_ENV!=="production"&&N("data() should return an object.");else if(t.data=Fe(te),{}.NODE_ENV!=="production")for(const Q in te)Ot("Data",Q),yi(Q[0])||Object.defineProperty(n,Q,{configurable:!0,enumerable:!0,get:()=>te[Q],set:ge})}if(_i=!0,s)for(const te in s){const Q=s[te],tt=W(Q)?Q.bind(o,o):W(Q.get)?Q.get.bind(o,o):ge;({}).NODE_ENV!=="production"&&tt===ge&&N(`Computed property "${te}" has no getter.`);const bs=!W(Q)&&W(Q.set)?Q.set.bind(o):{}.NODE_ENV!=="production"?()=>{N(`Write operation failed: computed property "${te}" is readonly.`)}:ge,Ro=ud({get:tt,set:bs});Object.defineProperty(n,te,{enumerable:!0,configurable:!0,get:()=>Ro.value,set:so=>Ro.value=so}),{}.NODE_ENV!=="production"&&Ot("Computed",te)}if(a)for(const te in a)$r(a[te],n,o,te);if(l){const te=W(l)?l.call(o):l;Reflect.ownKeys(te).forEach(Q=>{Du(Q,te[Q])})}d&&Sr(d,t,"c");function Ae(te,Q){F(Q)?Q.forEach(tt=>te(tt.bind(o))):Q&&te(Q.bind(o))}if(Ae(fu,f),Ae(vi,u),Ae(pu,v),Ae(hu,b),Ae(cu,y),Ae(uu,k),Ae(bu,he),Ae(yu,M),Ae(gu,I),Ae(mu,$),Ae(ln,G),Ae(vu,ve),F(Te))if(Te.length){const te=t.exposed||(t.exposed={});Te.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>o[Q],set:tt=>o[Q]=tt})})}else t.exposed||(t.exposed={});ne&&t.render===ge&&(t.render=ne),Nt!=null&&(t.inheritAttrs=Nt),qe&&(t.components=qe),jn&&(t.directives=jn)}function ku(t,e,o=ge){F(t)&&(t=wi(t));for(const n in t){const i=t[n];let s;ie(i)?"default"in i?s=un(i.from||n,i.default,!0):s=un(i.from||n):s=un(i),$e(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):e[n]=s,{}.NODE_ENV!=="production"&&o("Inject",n)}}function Sr(t,e,o){We(F(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,o)}function $r(t,e,o,n){const i=n.includes(".")?wr(o,n):()=>o[n];if(me(t)){const s=e[t];W(s)?se(i,s):{}.NODE_ENV!=="production"&&N(`Invalid watch handler specified by key "${t}"`,s)}else if(W(t))se(i,t.bind(o));else if(ie(t))if(F(t))t.forEach(s=>$r(s,e,o,n));else{const s=W(t.handler)?t.handler.bind(o):e[t.handler];W(s)?se(i,s,t):{}.NODE_ENV!=="production"&&N(`Invalid watch handler specified by key "${t.handler}"`,s)}else({}).NODE_ENV!=="production"&&N(`Invalid watch option: "${n}"`,t)}function xi(t){const e=t.type,{mixins:o,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:r}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!o&&!n?l=e:(l={},i.length&&i.forEach(c=>cn(l,c,r,!0)),cn(l,e,r)),ie(e)&&s.set(e,l),l}function cn(t,e,o,n=!1){const{mixins:i,extends:s}=e;s&&cn(t,s,o,!0),i&&i.forEach(r=>cn(t,r,o,!0));for(const r in e)if(n&&r==="expose")({}).NODE_ENV!=="production"&&N('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=Nu[r]||o&&o[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Nu={data:Tr,props:Dr,emits:Dr,methods:Eo,computed:Eo,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Eo,directives:Eo,watch:Su,provide:Tr,inject:Ou};function Tr(t,e){return e?t?function(){return de(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function Ou(t,e){return Eo(wi(t),wi(e))}function wi(t){if(F(t)){const e={};for(let o=0;o<t.length;o++)e[t[o]]=t[o];return e}return t}function Pe(t,e){return t?[...new Set([].concat(t,e))]:e}function Eo(t,e){return t?de(Object.create(null),t,e):e}function Dr(t,e){return t?F(t)&&F(e)?[...new Set([...t,...e])]:de(Object.create(null),Or(t),Or(e??{})):e}function Su(t,e){if(!t)return e;if(!e)return t;const o=de(Object.create(null),t);for(const n in e)o[n]=Pe(t[n],e[n]);return o}function Pr(){return{app:null,config:{isNativeTag:Bl,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 $u=0;function Tu(t,e){return function(n,i=null){W(n)||(n=de({},n)),i!=null&&!ie(i)&&({}.NODE_ENV!=="production"&&N("root props passed to app.mount() must be an object."),i=null);const s=Pr(),r=new WeakSet;let a=!1;const l=s.app={_uid:$u++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:ra,get config(){return s.config},set config(c){({}).NODE_ENV!=="production"&&N("app.config cannot be replaced. Modify individual options instead.")},use(c,...d){return r.has(c)?{}.NODE_ENV!=="production"&&N("Plugin has already been applied to target app."):c&&W(c.install)?(r.add(c),c.install(l,...d)):W(c)?(r.add(c),c(l,...d)):{}.NODE_ENV!=="production"&&N('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return s.mixins.includes(c)?{}.NODE_ENV!=="production"&&N("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):s.mixins.push(c),l},component(c,d){return{}.NODE_ENV!=="production"&&Di(c,s.config),d?({}.NODE_ENV!=="production"&&s.components[c]&&N(`Component "${c}" has already been registered in target app.`),s.components[c]=d,l):s.components[c]},directive(c,d){return{}.NODE_ENV!=="production"&&Er(c),d?({}.NODE_ENV!=="production"&&s.directives[c]&&N(`Directive "${c}" has already been registered in target app.`),s.directives[c]=d,l):s.directives[c]},mount(c,d,f){if(a)({}).NODE_ENV!=="production"&&N("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&c.__vue_app__&&N("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const u=oe(n,i);return u.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),{}.NODE_ENV!=="production"&&(s.reload=()=>{t(Et(u),c,f)}),d&&e?e(u,c):t(u,c,f),a=!0,l._container=c,c.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=u.component,Hc(l,ra)),gn(u.component)||u.component.proxy}},unmount(){a?(t(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Bc(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&N("Cannot unmount an app that is not mounted.")},provide(c,d){return{}.NODE_ENV!=="production"&&c in s.provides&&N(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),s.provides[c]=d,l},runWithContext(c){const d=Co;Co=l;try{return c()}finally{Co=d}}};return l}}let Co=null;function Du(t,e){if(!we)({}).NODE_ENV!=="production"&&N("provide() can only be used inside setup().");else{let o=we.provides;const n=we.parent&&we.parent.provides;n===o&&(o=we.provides=Object.create(n)),o[t]=e}}function un(t,e,o=!1){const n=we||ye;if(n||Co){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Co._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return o&&W(e)?e.call(n&&n.proxy):e;({}).NODE_ENV!=="production"&&N(`injection "${String(t)}" not found.`)}else({}).NODE_ENV!=="production"&&N("inject() can only be used inside setup() or functional components.")}const Lr={},Vr=()=>Object.create(Lr),Ir=t=>Object.getPrototypeOf(t)===Lr;function Pu(t,e,o,n=!1){const i={},s=Vr();t.propsDefaults=Object.create(null),Mr(t,e,i,s);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);({}).NODE_ENV!=="production"&&zr(e||{},i,t),o?t.props=n?i:wc(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Lu(t){for(;t;){if(t.type.__hmrId)return!0;t=t.parent}}function Vu(t,e,o,n){const{props:i,attrs:s,vnode:{patchFlag:r}}=t,a=Y(i),[l]=t.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Lu(t))&&(n||r>0)&&!(r&16)){if(r&8){const d=t.vnode.dynamicProps;for(let f=0;f<d.length;f++){let u=d[f];if(tn(t.emitsOptions,u))continue;const v=e[u];if(l)if(Z(s,u))v!==s[u]&&(s[u]=v,c=!0);else{const b=Re(u);i[b]=Ei(l,a,b,v,t,!1)}else v!==s[u]&&(s[u]=v,c=!0)}}}else{Mr(t,e,i,s)&&(c=!0);let d;for(const f in a)(!e||!Z(e,f)&&((d=je(f))===f||!Z(e,d)))&&(l?o&&(o[f]!==void 0||o[d]!==void 0)&&(i[f]=Ei(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!Z(e,f))&&(delete s[f],c=!0)}c&&Ze(t.attrs,"set",""),{}.NODE_ENV!=="production"&&zr(e||{},i,t)}function Mr(t,e,o,n){const[i,s]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(uo(l))continue;const c=e[l];let d;i&&Z(i,d=Re(l))?!s||!s.includes(d)?o[d]=c:(a||(a={}))[d]=c:tn(t.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,r=!0)}if(s){const l=Y(o),c=a||ae;for(let d=0;d<s.length;d++){const f=s[d];o[f]=Ei(i,l,f,c[f],t,!Z(c,f))}}return r}function Ei(t,e,o,n,i,s){const r=t[o];if(r!=null){const a=Z(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:c}=i;if(o in c)n=c[o];else{const d=To(i);n=c[o]=l.call(null,e),d()}}else n=l}r[0]&&(s&&!a?n=!1:r[1]&&(n===""||n===je(o))&&(n=!0))}return n}function Ar(t,e,o=!1){const n=e.propsCache,i=n.get(t);if(i)return i;const s=t.props,r={},a=[];let l=!1;if(!W(t)){const d=f=>{l=!0;const[u,v]=Ar(f,e,!0);de(r,u),v&&a.push(...v)};!o&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!l)return ie(t)&&n.set(t,Kt),Kt;if(F(s))for(let d=0;d<s.length;d++){({}).NODE_ENV!=="production"&&!me(s[d])&&N("props must be strings when using array syntax.",s[d]);const f=Re(s[d]);Rr(f)&&(r[f]=ae)}else if(s){({}).NODE_ENV!=="production"&&!ie(s)&&N("invalid props options",s);for(const d in s){const f=Re(d);if(Rr(f)){const u=s[d],v=r[f]=F(u)||W(u)?{type:u}:de({},u);if(v){const b=Fr(Boolean,v.type),y=Fr(String,v.type);v[0]=b>-1,v[1]=y<0||b<y,(b>-1||Z(v,"default"))&&a.push(f)}}}}const c=[r,a];return ie(t)&&n.set(t,c),c}function Rr(t){return t[0]!=="$"&&!uo(t)?!0:({}.NODE_ENV!=="production"&&N(`Invalid prop name: "${t}" is a reserved property.`),!1)}function Ci(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function jr(t,e){return Ci(t)===Ci(e)}function Fr(t,e){return F(e)?e.findIndex(o=>jr(o,t)):W(e)&&jr(e,t)?0:-1}function zr(t,e,o){const n=Y(e),i=o.propsOptions[0];for(const s in i){let r=i[s];r!=null&&Iu(s,n[s],r,{}.NODE_ENV!=="production"?st(n):n,!Z(t,s)&&!Z(t,je(s)))}}function Iu(t,e,o,n,i){const{type:s,required:r,validator:a,skipCheck:l}=o;if(r&&i){N('Missing required prop: "'+t+'"');return}if(!(e==null&&!r)){if(s!=null&&s!==!0&&!l){let c=!1;const d=F(s)?s:[s],f=[];for(let u=0;u<d.length&&!c;u++){const{valid:v,expectedType:b}=Au(e,d[u]);f.push(b||""),c=v}if(!c){N(Ru(t,e,f));return}}a&&!a(e,n)&&N('Invalid prop: custom validator check failed for prop "'+t+'".')}}const Mu=Gt("String,Number,Boolean,Function,Symbol,BigInt");function Au(t,e){let o;const n=Ci(e);if(Mu(n)){const i=typeof t;o=i===n.toLowerCase(),!o&&i==="object"&&(o=t instanceof e)}else n==="Object"?o=ie(t):n==="Array"?o=F(t):n==="null"?o=t===null:o=t instanceof e;return{valid:o,expectedType:n}}function Ru(t,e,o){if(o.length===0)return`Prop type [] for prop "${t}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${t}". Expected ${o.map(Dt).join(" | ")}`;const i=o[0],s=Bn(e),r=Hr(e,i),a=Hr(e,s);return o.length===1&&Br(i)&&!ju(i,s)&&(n+=` with value ${r}`),n+=`, got ${s} `,Br(s)&&(n+=`with value ${a}.`),n}function Hr(t,e){return e==="String"?`"${t}"`:e==="Number"?`${Number(t)}`:`${t}`}function Br(t){return["string","number","boolean"].some(o=>t.toLowerCase()===o)}function ju(...t){return t.some(e=>e.toLowerCase()==="boolean")}const Wr=t=>t[0]==="_"||t==="$stable",ki=t=>F(t)?t.map(Ge):[Ge(t)],Fu=(t,e,o)=>{if(e._n)return e;const n=Ce((...i)=>({}.NODE_ENV!=="production"&&we&&(!o||o.root===we.root)&&N(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ki(e(...i))),o);return n._c=!1,n},Ur=(t,e,o)=>{const n=t._ctx;for(const i in t){if(Wr(i))continue;const s=t[i];if(W(s))e[i]=Fu(i,s,n);else if(s!=null){({}).NODE_ENV!=="production"&&N(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const r=ki(s);e[i]=()=>r}}},Gr=(t,e)=>{({}).NODE_ENV!=="production"&&!mi(t.vnode)&&N("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=ki(e);t.slots.default=()=>o},zu=(t,e)=>{const o=t.slots=Vr();if(t.vnode.shapeFlag&32){const n=e._;n?(de(o,e),Os(o,"_",n)):Ur(e,o)}else e&&Gr(t,e)},Hu=(t,e,o)=>{const{vnode:n,slots:i}=t;let s=!0,r=ae;if(n.shapeFlag&32){const a=e._;a?{}.NODE_ENV!=="production"&&Rt?(de(i,e),Ze(t,"set","$slots")):o&&a===1?s=!1:(de(i,e),!o&&a===1&&delete i._):(s=!e.$stable,Ur(e,i)),r=e}else e&&(Gr(t,e),r={default:1});if(s)for(const a in i)!Wr(a)&&r[a]==null&&delete i[a]};function Ni(t,e,o,n,i=!1){if(F(t)){t.forEach((u,v)=>Ni(u,e&&(F(e)?e[v]:e),o,n,i));return}if(wo(n)&&!i)return;const s=n.shapeFlag&4?gn(n.component)||n.component.proxy:n.el,r=i?null:s,{i:a,r:l}=t;if({}.NODE_ENV!=="production"&&!a){N("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=e&&e.r,d=a.refs===ae?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(me(c)?(d[c]=null,Z(f,c)&&(f[c]=null)):$e(c)&&(c.value=null)),W(l))rt(l,a,12,[r,d]);else{const u=me(l),v=$e(l);if(u||v){const b=()=>{if(t.f){const y=u?Z(f,l)?f[l]:d[l]:l.value;i?F(y)&&zn(y,s):F(y)?y.includes(s)||y.push(s):u?(d[l]=[s],Z(f,l)&&(f[l]=d[l])):(l.value=[s],t.k&&(d[t.k]=l.value))}else u?(d[l]=r,Z(f,l)&&(f[l]=r)):v?(l.value=r,t.k&&(d[t.k]=r)):{}.NODE_ENV!=="production"&&N("Invalid template ref type:",l,`(${typeof l})`)};r?(b.id=-1,Ve(b,o)):b()}else({}).NODE_ENV!=="production"&&N("Invalid template ref type:",l,`(${typeof l})`)}}let ko,wt;function ct(t,e){t.appContext.config.performance&&dn()&&wt.mark(`vue-${e}-${t.uid}`),{}.NODE_ENV!=="production"&&Kc(t,e,dn()?wt.now():Date.now())}function ut(t,e){if(t.appContext.config.performance&&dn()){const o=`vue-${e}-${t.uid}`,n=o+":end";wt.mark(n),wt.measure(`<${yn(t,t.type)}> ${e}`,o,n),wt.clearMarks(o),wt.clearMarks(n)}({}).NODE_ENV!=="production"&&qc(t,e,dn()?wt.now():Date.now())}function dn(){return ko!==void 0||(typeof window<"u"&&window.performance?(ko=!0,wt=window.performance):ko=!1),ko}function Bu(){const t=[];if({}.NODE_ENV!=="production"&&t.length){const e=t.length>1;console.warn(`Feature flag${e?"s":""} ${t.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
15
|
+
**/const gi=[];function ns(e){gi.push(e)}function is(){gi.pop()}function wt(e,...t){kn();const n=gi.length?gi[gi.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=ed();if(i)Nn(i,n,11,[e+t.map(s=>{var o,a;return(a=(o=s.toString)==null?void 0:o.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${ws(n,s.type)}>`).join(`
|
|
16
|
+
`),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
|
|
17
|
+
`,...nd(r)),console.warn(...s)}Sn()}function ed(){let e=gi[gi.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function nd(e){const t=[];return e.forEach((n,i)=>{t.push(...i===0?[]:[`
|
|
18
|
+
`],...id(n))}),t}function id({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,r=` at <${ws(e.component,e.type,i)}`,s=">"+n;return e.props?[r,...rd(e.props),s]:[r+s]}function rd(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(i=>{t.push(...zl(i,e[i]))}),n.length>3&&t.push(" ..."),t}function zl(e,t,n){return _e(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ae(t)?(t=zl(e,Qt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Gt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Qt(t),n?t:[`${e}=`,t])}const ko={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Nn(e,t,n,i){try{return i?e(...i):e()}catch(r){ur(r,t,n)}}function hn(e,t,n,i){if(Gt(e)){const r=Nn(e,t,n,i);return r&&co(r)&&r.catch(s=>{ur(s,t,n)}),r}if(Rt(e)){const r=[];for(let s=0;s<e.length;s++)r.push(hn(e[s],t,n,i));return r}else({}).NODE_ENV!=="production"&&wt(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ur(e,t,n,i=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a={}.NODE_ENV!=="production"?ko[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const p=s.ec;if(p){for(let m=0;m<p.length;m++)if(p[m](e,o,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){kn(),Nn(l,null,10,[e,o,a]),Sn();return}}sd(e,n,r,i)}function sd(e,t,n,i=!0){if({}.NODE_ENV!=="production"){const r=ko[t];if(n&&ns(n),wt(`Unhandled error${r?` during execution of ${r}`:""}`),n&&is(),i)throw e;console.error(e)}else console.error(e)}let hr=!1,So=!1;const Le=[];let vn=0;const $i=[];let On=null,Xn=0;const jl=Promise.resolve();let To=null;const od=100;function Bl(e){const t=To||jl;return e?t.then(this?e.bind(this):e):t}function ad(e){let t=vn+1,n=Le.length;for(;t<n;){const i=t+n>>>1,r=Le[i],s=fr(r);s<e||s===e&&r.pre?t=i+1:n=i}return t}function rs(e){(!Le.length||!Le.includes(e,hr&&e.allowRecurse?vn+1:vn))&&(e.id==null?Le.push(e):Le.splice(ad(e.id),0,e),Gl())}function Gl(){!hr&&!So&&(So=!0,To=jl.then(ql))}function ld(e){const t=Le.indexOf(e);t>vn&&Le.splice(t,1)}function Hl(e){Rt(e)?$i.push(...e):(!On||!On.includes(e,e.allowRecurse?Xn+1:Xn))&&$i.push(e),Gl()}function Ul(e,t,n=hr?vn+1:0){for({}.NODE_ENV!=="production"&&(t=t||new Map);n<Le.length;n++){const i=Le[n];if(i&&i.pre){if(e&&i.id!==e.uid||{}.NODE_ENV!=="production"&&No(t,i))continue;Le.splice(n,1),n--,i()}}}function Wl(e){if($i.length){const t=[...new Set($i)].sort((n,i)=>fr(n)-fr(i));if($i.length=0,On){On.push(...t);return}for(On=t,{}.NODE_ENV!=="production"&&(e=e||new Map),Xn=0;Xn<On.length;Xn++)({}).NODE_ENV!=="production"&&No(e,On[Xn])||On[Xn]();On=null,Xn=0}}const fr=e=>e.id==null?1/0:e.id,cd=(e,t)=>{const n=fr(e)-fr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ql(e){So=!1,hr=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),Le.sort(cd);const t={}.NODE_ENV!=="production"?n=>No(e,n):Ce;try{for(vn=0;vn<Le.length;vn++){const n=Le[vn];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;Nn(n,null,14)}}}finally{vn=0,Le.length=0,Wl(e),hr=!1,To=null,(Le.length||$i.length)&&ql(e)}}function No(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>od){const i=t.ownerInstance,r=i&&ta(i.type);return ur(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}let vi=!1;const Ri=new Set;({}).NODE_ENV!=="production"&&(fo().__VUE_HMR_RUNTIME__={createRecord:Oo(Yl),rerender:Oo(fd),reload:Oo(dd)});const yi=new Map;function ud(e){const t=e.type.__hmrId;let n=yi.get(t);n||(Yl(t,e.type),n=yi.get(t)),n.instances.add(e)}function hd(e){yi.get(e.type.__hmrId).instances.delete(e)}function Yl(e,t){return yi.has(e)?!1:(yi.set(e,{initialDef:dr(t),instances:new Set}),!0)}function dr(e){return jc(e)?e.__vccOpts:e}function fd(e,t){const n=yi.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(i=>{t&&(i.render=t,dr(i.type).render=t),i.renderCache=[],vi=!0,i.effect.dirty=!0,i.update(),vi=!1}))}function dd(e,t){const n=yi.get(e);if(!n)return;t=dr(t),Xl(n.initialDef,t);const i=[...n.instances];for(const r of i){const s=dr(r.type);Ri.has(s)||(s!==n.initialDef&&Xl(s,t),Ri.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(Ri.add(s),r.ceReload(t.styles),Ri.delete(s)):r.parent?(r.parent.effect.dirty=!0,rs(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Hl(()=>{for(const r of i)Ri.delete(dr(r.type))})}function Xl(e,t){ge(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Oo(e){return(t,n)=>{try{return e(t,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let yn,pr=[],Po=!1;function mr(e,...t){yn?yn.emit(e,...t):Po||pr.push({event:e,args:t})}function Kl(e,t){var n,i;yn=e,yn?(yn.enabled=!0,pr.forEach(({event:r,args:s})=>yn.emit(r,...s)),pr=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Kl(s,t)}),setTimeout(()=>{yn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Po=!0,pr=[])},3e3)):(Po=!0,pr=[])}function pd(e,t){mr("app:init",e,t,{Fragment:ve,Text:wr,Comment:Ue,Static:vs})}function md(e){mr("app:unmount",e)}const gd=Io("component:added"),Zl=Io("component:updated"),vd=Io("component:removed"),yd=e=>{yn&&typeof yn.cleanupBuffer=="function"&&!yn.cleanupBuffer(e)&&vd(e)};/*! #__NO_SIDE_EFFECTS__ */function Io(e){return t=>{mr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const _d=Ql("perf:start"),bd=Ql("perf:end");function Ql(e){return(t,n,i)=>{mr(e,t.appContext.app,t.uid,t,n,i)}}function xd(e,t,n){mr("component:emit",e.appContext.app,e,t,n)}function wd(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||ce;if({}.NODE_ENV!=="production"){const{emitsOptions:m,propsOptions:[g]}=e;if(m)if(!(t in m))(!g||!(hi(t)in g))&&wt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${hi(t)}" prop.`);else{const d=m[t];Gt(d)&&(d(...n)||wt(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in i){const m=`${o==="modelValue"?"model":o}Modifiers`,{number:g,trim:d}=i[m]||ce;d&&(r=n.map(_=>_e(_)?_.trim():_)),g&&(r=n.map(bf))}if({}.NODE_ENV!=="production"&&xd(e,t,r),{}.NODE_ENV!=="production"){const m=t.toLowerCase();m!==t&&i[hi(m)]&&wt(`Event "${m}" is emitted in component ${ws(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Je(t)}" instead of "${t}".`)}let a,l=i[a=hi(t)]||i[a=hi(Qe(t))];!l&&s&&(l=i[a=hi(Je(t))]),l&&hn(l,e,6,r);const p=i[a+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,hn(p,e,6,r)}}function Jl(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(r!==void 0)return r;const s=e.emits;let o={},a=!1;if(!Gt(e)){const l=p=>{const m=Jl(p,t,!0);m&&(a=!0,ge(o,m))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ae(e)&&i.set(e,null),null):(Rt(s)?s.forEach(l=>o[l]=null):ge(o,s),ae(e)&&i.set(e,o),o)}function ss(e,t){return!e||!or(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Je(t))||ne(e,t))}let Se=null,os=null;function as(e){const t=Se;return Se=e,os=e&&e.type.__scopeId||null,t}function gr(e){os=e}function vr(){os=null}function fe(e,t=Se,n){if(!t||e._n)return e;const i=(...r)=>{i._d&&Ic(-1);const s=as(t);let o;try{o=e(...r)}finally{as(s),i._d&&Ic(1)}return{}.NODE_ENV!=="production"&&Zl(t),o};return i._n=!0,i._c=!0,i._d=!0,i}let Mo=!1;function ls(){Mo=!0}function Ao(e){const{type:t,vnode:n,proxy:i,withProxy:r,propsOptions:[s],slots:o,attrs:a,emit:l,render:p,renderCache:m,props:g,data:d,setupState:_,ctx:N,inheritAttrs:C}=e,M=as(e);let z,P;({}).NODE_ENV!=="production"&&(Mo=!1);try{if(n.shapeFlag&4){const Y=r||i,J={}.NODE_ENV!=="production"&&_.__isScriptSetup?new Proxy(Y,{get(V,ht,_t){return wt(`Property '${String(ht)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(V,ht,_t)}}):Y;z=dn(p.call(J,Y,m,{}.NODE_ENV!=="production"?Tn(g):g,_,d,N)),P=a}else{const Y=t;({}).NODE_ENV!=="production"&&a===g&&ls(),z=dn(Y.length>1?Y({}.NODE_ENV!=="production"?Tn(g):g,{}.NODE_ENV!=="production"?{get attrs(){return ls(),a},slots:o,emit:l}:{attrs:a,slots:o,emit:l}):Y({}.NODE_ENV!=="production"?Tn(g):g,null)),P=t.props?a:Ed(a)}}catch(Y){Er.length=0,ur(Y,e,1),z=Jt(Ue)}let $=z,H;if({}.NODE_ENV!=="production"&&z.patchFlag>0&&z.patchFlag&2048&&([$,H]=tc(z)),P&&C!==!1){const Y=Object.keys(P),{shapeFlag:J}=$;if(Y.length){if(J&7)s&&Y.some(Hr)&&(P=Cd(P,s)),$=Qn($,P);else if({}.NODE_ENV!=="production"&&!Mo&&$.type!==Ue){const V=Object.keys(a),ht=[],_t=[];for(let Pt=0,Et=V.length;Pt<Et;Pt++){const vt=V[Pt];or(vt)?Hr(vt)||ht.push(vt[2].toLowerCase()+vt.slice(3)):_t.push(vt)}_t.length&&wt(`Extraneous non-props attributes (${_t.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),ht.length&&wt(`Extraneous non-emits event listeners (${ht.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&({}.NODE_ENV!=="production"&&!ec($)&&wt("Runtime directive used on component with non-element root node. The directives will not function as intended."),$=Qn($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&({}.NODE_ENV!=="production"&&!ec($)&&wt("Component inside <Transition> renders non-element root node that cannot be animated."),$.transition=n.transition),{}.NODE_ENV!=="production"&&H?H($):z=$,as(M),z}const tc=e=>{const t=e.children,n=e.dynamicChildren,i=Do(t,!1);if(i){if({}.NODE_ENV!=="production"&&i.patchFlag>0&&i.patchFlag&2048)return tc(i)}else return[e,void 0];const r=t.indexOf(i),s=n?n.indexOf(i):-1,o=a=>{t[r]=a,n&&(s>-1?n[s]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[dn(i),o]};function Do(e,t=!0){let n;for(let i=0;i<e.length;i++){const r=e[i];if(Vi(r)){if(r.type!==Ue||r.children==="v-if"){if(n)return;if(n=r,{}.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return Do(n.children)}}else return}return n}const Ed=e=>{let t;for(const n in e)(n==="class"||n==="style"||or(n))&&((t||(t={}))[n]=e[n]);return t},Cd=(e,t)=>{const n={};for(const i in e)(!Hr(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n},ec=e=>e.shapeFlag&7||e.type===Ue;function kd(e,t,n){const{props:i,children:r,component:s}=e,{props:o,children:a,patchFlag:l}=t,p=s.emitsOptions;if({}.NODE_ENV!=="production"&&(r||a)&&vi||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?nc(i,o,p):!!o;if(l&8){const m=t.dynamicProps;for(let g=0;g<m.length;g++){const d=m[g];if(o[d]!==i[d]&&!ss(p,d))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:i===o?!1:i?o?nc(i,o,p):!0:!!o;return!1}function nc(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let r=0;r<i.length;r++){const s=i[r];if(t[s]!==e[s]&&!ss(n,s))return!0}return!1}function Sd({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const Lo="components";function Td(e,t){return Od(Lo,e,!0,t)||e}const Nd=Symbol.for("v-ndc");function Od(e,t,n=!0,i=!1){const r=Se||Oe;if(r){const s=r.type;if(e===Lo){const a=ta(s,!1);if(a&&(a===t||a===Qe(t)||a===ui(Qe(t))))return s}const o=ic(r[e]||s[e],t)||ic(r.appContext[e],t);if(!o&&i)return s;if({}.NODE_ENV!=="production"&&n&&!o){const a=e===Lo?`
|
|
19
|
+
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";wt(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return o}else({}).NODE_ENV!=="production"&&wt(`resolve${ui(e.slice(0,-1))} can only be used in render() or setup().`)}function ic(e,t){return e&&(e[t]||e[Qe(t)]||e[ui(Qe(t))])}const Pd=e=>e.__isSuspense;function Id(e,t){t&&t.pendingBranch?Rt(e)?t.effects.push(...e):t.effects.push(e):Hl(e)}const Md=Symbol.for("v-scx"),Ad=()=>{{const e=ps(Md);return e||{}.NODE_ENV!=="production"&&wt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},cs={};function se(e,t,n){return{}.NODE_ENV!=="production"&&!Gt(t)&&wt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),rc(e,t,n)}function rc(e,t,{immediate:n,deep:i,flush:r,once:s,onTrack:o,onTrigger:a}=ce){if(t&&s){const V=t;t=(...ht)=>{V(...ht),J()}}({}).NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&wt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(n!==void 0&&wt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&wt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&wt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=V=>{wt("Invalid watch source: ",V,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Oe,m=V=>i===!0?V:_i(V,i===!1?1:void 0);let g,d=!1,_=!1;if(Ae(e)?(g=()=>e.value,d=mi(e)):Li(e)?(g=()=>m(e),d=!0):Rt(e)?(_=!0,d=e.some(V=>Li(V)||mi(V)),g=()=>e.map(V=>{if(Ae(V))return V.value;if(Li(V))return m(V);if(Gt(V))return Nn(V,p,2);({}).NODE_ENV!=="production"&&l(V)})):Gt(e)?t?g=()=>Nn(e,p,2):g=()=>(N&&N(),hn(e,p,3,[C])):(g=Ce,{}.NODE_ENV!=="production"&&l(e)),t&&i){const V=g;g=()=>_i(V())}let N,C=V=>{N=H.onStop=()=>{Nn(V,p,4),N=H.onStop=void 0}},M;if(bs)if(C=Ce,t?n&&hn(t,p,3,[g(),_?[]:void 0,C]):g(),r==="sync"){const V=Ad();M=V.__watcherHandles||(V.__watcherHandles=[])}else return Ce;let z=_?new Array(e.length).fill(cs):cs;const P=()=>{if(!(!H.active||!H.dirty))if(t){const V=H.run();(i||d||(_?V.some((ht,_t)=>Un(ht,z[_t])):Un(V,z)))&&(N&&N(),hn(t,p,3,[V,z===cs?void 0:_&&z[0]===cs?[]:z,C]),z=V)}else H.run()};P.allowRecurse=!!t;let $;r==="sync"?$=P:r==="post"?$=()=>He(P,p&&p.suspense):(P.pre=!0,p&&(P.id=p.uid),$=()=>rs(P));const H=new mo(g,Ce,$),Y=Nf(),J=()=>{H.stop(),Y&&lo(Y.effects,H)};return{}.NODE_ENV!=="production"&&(H.onTrack=o,H.onTrigger=a),t?n?P():z=H.run():r==="post"?He(H.run.bind(H),p&&p.suspense):H.run(),M&&M.push(J),J}function Dd(e,t,n){const i=this.proxy,r=_e(e)?e.includes(".")?sc(i,e):()=>i[e]:e.bind(i,i);let s;Gt(t)?s=t:(s=t.handler,n=t);const o=Sr(this),a=rc(r,s.bind(i),n);return o(),a}function sc(e,t){const n=t.split(".");return()=>{let i=e;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function _i(e,t,n=0,i){if(!ae(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(i=i||new Set,i.has(e))return e;if(i.add(e),Ae(e))_i(e.value,t,n,i);else if(Rt(e))for(let r=0;r<e.length;r++)_i(e[r],t,n,i);else if(al(e)||li(e))e.forEach(r=>{_i(r,t,n,i)});else if(cl(e))for(const r in e)_i(e[r],t,n,i);return e}function oc(e){vf(e)&&wt("Do not use built-in directive ids as custom directive id: "+e)}function $o(e,t){if(Se===null)return{}.NODE_ENV!=="production"&&wt("withDirectives can only be used inside render functions."),e;const n=xs(Se)||Se.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,o,a,l=ce]=t[r];s&&(Gt(s)&&(s={mounted:s,updated:s}),s.deep&&_i(o),i.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function bi(e,t,n,i){const r=e.dirs,s=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];s&&(a.oldValue=s[o].value);let l=a.dir[i];l&&(kn(),hn(l,n,8,[e.el,a,e,t]),Sn())}}/*! #__NO_SIDE_EFFECTS__ */function Kt(e,t){return Gt(e)?(()=>ge({name:e.name},t,{setup:e}))():e}const yr=e=>!!e.type.__asyncLoader,Ro=e=>e.type.__isKeepAlive;function Ld(e,t){ac(e,"a",t)}function $d(e,t){ac(e,"da",t)}function ac(e,t,n=Oe){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(us(t,i,n),n){let r=n.parent;for(;r&&r.parent;)Ro(r.parent.vnode)&&Rd(i,t,n,r),r=r.parent}}function Rd(e,t,n,i){const r=us(t,e,i,!0);fs(()=>{lo(i[t],r)},n)}function us(e,t,n=Oe,i=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;kn();const a=Sr(n),l=hn(t,n,e,o);return a(),Sn(),l});return i?r.unshift(s):r.push(s),s}else if({}.NODE_ENV!=="production"){const r=hi(ko[e].replace(/ hook$/,""));wt(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Pn=e=>(t,n=Oe)=>(!bs||e==="sp")&&us(e,(...i)=>t(...i),n),Vd=Pn("bm"),hs=Pn("m"),Fd=Pn("bu"),zd=Pn("u"),jd=Pn("bum"),fs=Pn("um"),Bd=Pn("sp"),Gd=Pn("rtg"),Hd=Pn("rtc");function Ud(e,t=Oe){us("ec",e,t)}function Kn(e,t,n,i){let r;const s=n&&n[i];if(Rt(e)||_e(e)){r=new Array(e.length);for(let o=0,a=e.length;o<a;o++)r[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&wt(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,s&&s[o])}else if(ae(e))if(e[Symbol.iterator])r=Array.from(e,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const p=o[a];r[a]=t(e[p],p,a,s&&s[a])}}else r=[];return n&&(n[i]=r),r}function pe(e,t,n={},i,r){if(Se.isCE||Se.parent&&yr(Se.parent)&&Se.parent.isCE)return t!=="default"&&(n.name=t),Jt("slot",n,i&&i());let s=e[t];({}).NODE_ENV!=="production"&&s&&s.length>1&&(wt("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),xt();const o=s&&lc(s(n)),a=be(ve,{key:n.key||o&&o.key||`_${t}`},o||(i?i():[]),o&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function lc(e){return e.some(t=>Vi(t)?!(t.type===Ue||t.type===ve&&!lc(t.children)):!0)?e:null}const Vo=e=>e?Rc(e)?xs(e)||e.proxy:Vo(e.parent):null,xi=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?Tn(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?Tn(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?Tn(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?Tn(e.refs):e.refs,$parent:e=>Vo(e.parent),$root:e=>Vo(e.root),$emit:e=>e.emit,$options:e=>Bo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,rs(e.update)}),$nextTick:e=>e.n||(e.n=Bl.bind(e.proxy)),$watch:e=>Dd.bind(e)}),Fo=e=>e==="_"||e==="$",zo=(e,t)=>e!==ce&&!e.__isScriptSetup&&ne(e,t),cc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let p;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(zo(i,t))return o[t]=1,i[t];if(r!==ce&&ne(r,t))return o[t]=2,r[t];if((p=e.propsOptions[0])&&ne(p,t))return o[t]=3,s[t];if(n!==ce&&ne(n,t))return o[t]=4,n[t];jo&&(o[t]=0)}}const m=xi[t];let g,d;if(m)return t==="$attrs"?(Me(e.attrs,"get",""),{}.NODE_ENV!=="production"&&ls()):{}.NODE_ENV!=="production"&&t==="$slots"&&Me(e,"get",t),m(e);if((g=a.__cssModules)&&(g=g[t]))return g;if(n!==ce&&ne(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,ne(d,t))return d[t];({}).NODE_ENV!=="production"&&Se&&(!_e(t)||t.indexOf("__v")!==0)&&(r!==ce&&Fo(t[0])&&ne(r,t)?wt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Se&&wt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:i,setupState:r,ctx:s}=e;return zo(r,t)?(r[t]=n,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&ne(r,t)?(wt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):i!==ce&&ne(i,t)?(i[t]=n,!0):ne(e.props,t)?({}.NODE_ENV!=="production"&&wt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&wt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!n[o]||e!==ce&&ne(e,o)||zo(t,o)||(a=s[0])&&ne(a,o)||ne(i,o)||ne(xi,o)||ne(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};({}).NODE_ENV!=="production"&&(cc.ownKeys=e=>(wt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Wd(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(xi).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>xi[n](e),set:Ce})}),t}function qd(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(i=>{Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>e.props[i],set:Ce})})}function Yd(e){const{ctx:t,setupState:n}=e;Object.keys(Qt(n)).forEach(i=>{if(!n.__isScriptSetup){if(Fo(i[0])){wt(`setup() return property ${JSON.stringify(i)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>n[i],set:Ce})}})}function uc(e){return Rt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Xd(){const e=Object.create(null);return(t,n)=>{e[n]?wt(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let jo=!0;function Kd(e){const t=Bo(e),n=e.proxy,i=e.ctx;jo=!1,t.beforeCreate&&hc(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:p,created:m,beforeMount:g,mounted:d,beforeUpdate:_,updated:N,activated:C,deactivated:M,beforeDestroy:z,beforeUnmount:P,destroyed:$,unmounted:H,render:Y,renderTracked:J,renderTriggered:V,errorCaptured:ht,serverPrefetch:_t,expose:Pt,inheritAttrs:Et,components:vt,directives:It,filters:kt}=t,Ut={}.NODE_ENV!=="production"?Xd():null;if({}.NODE_ENV!=="production"){const[Ot]=e.propsOptions;if(Ot)for(const W in Ot)Ut("Props",W)}if(p&&Zd(p,i,Ut),o)for(const Ot in o){const W=o[Ot];Gt(W)?({}.NODE_ENV!=="production"?Object.defineProperty(i,Ot,{value:W.bind(n),configurable:!0,enumerable:!0,writable:!0}):i[Ot]=W.bind(n),{}.NODE_ENV!=="production"&&Ut("Methods",Ot)):{}.NODE_ENV!=="production"&&wt(`Method "${Ot}" has type "${typeof W}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Gt(r)&&wt("The data option must be a function. Plain object usage is no longer supported.");const Ot=r.call(n,n);if({}.NODE_ENV!=="production"&&co(Ot)&&wt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!ae(Ot))({}).NODE_ENV!=="production"&&wt("data() should return an object.");else if(e.data=tn(Ot),{}.NODE_ENV!=="production")for(const W in Ot)Ut("Data",W),Fo(W[0])||Object.defineProperty(i,W,{configurable:!0,enumerable:!0,get:()=>Ot[W],set:Ce})}if(jo=!0,s)for(const Ot in s){const W=s[Ot],at=Gt(W)?W.bind(n,n):Gt(W.get)?W.get.bind(n,n):Ce;({}).NODE_ENV!=="production"&&at===Ce&&wt(`Computed property "${Ot}" has no getter.`);const mt=!Gt(W)&&Gt(W.set)?W.set.bind(n):{}.NODE_ENV!=="production"?()=>{wt(`Write operation failed: computed property "${Ot}" is readonly.`)}:Ce,S=$p({get:at,set:mt});Object.defineProperty(i,Ot,{enumerable:!0,configurable:!0,get:()=>S.value,set:w=>S.value=w}),{}.NODE_ENV!=="production"&&Ut("Computed",Ot)}if(a)for(const Ot in a)fc(a[Ot],i,n,Ot);if(l){const Ot=Gt(l)?l.call(n):l;Reflect.ownKeys(Ot).forEach(W=>{ip(W,Ot[W])})}m&&hc(m,e,"c");function jt(Ot,W){Rt(W)?W.forEach(at=>Ot(at.bind(n))):W&&Ot(W.bind(n))}if(jt(Vd,g),jt(hs,d),jt(Fd,_),jt(zd,N),jt(Ld,C),jt($d,M),jt(Ud,ht),jt(Hd,J),jt(Gd,V),jt(jd,P),jt(fs,H),jt(Bd,_t),Rt(Pt))if(Pt.length){const Ot=e.exposed||(e.exposed={});Pt.forEach(W=>{Object.defineProperty(Ot,W,{get:()=>n[W],set:at=>n[W]=at})})}else e.exposed||(e.exposed={});Y&&e.render===Ce&&(e.render=Y),Et!=null&&(e.inheritAttrs=Et),vt&&(e.components=vt),It&&(e.directives=It)}function Zd(e,t,n=Ce){Rt(e)&&(e=Go(e));for(const i in e){const r=e[i];let s;ae(r)?"default"in r?s=ps(r.from||i,r.default,!0):s=ps(r.from||i):s=ps(r),Ae(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s,{}.NODE_ENV!=="production"&&n("Inject",i)}}function hc(e,t,n){hn(Rt(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function fc(e,t,n,i){const r=i.includes(".")?sc(n,i):()=>n[i];if(_e(e)){const s=t[e];Gt(s)?se(r,s):{}.NODE_ENV!=="production"&&wt(`Invalid watch handler specified by key "${e}"`,s)}else if(Gt(e))se(r,e.bind(n));else if(ae(e))if(Rt(e))e.forEach(s=>fc(s,t,n,i));else{const s=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(s)?se(r,s,e):{}.NODE_ENV!=="production"&&wt(`Invalid watch handler specified by key "${e.handler}"`,s)}else({}).NODE_ENV!=="production"&&wt(`Invalid watch option: "${i}"`,e)}function Bo(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!r.length&&!n&&!i?l=t:(l={},r.length&&r.forEach(p=>ds(l,p,o,!0)),ds(l,t,o)),ae(t)&&s.set(t,l),l}function ds(e,t,n,i=!1){const{mixins:r,extends:s}=t;s&&ds(e,s,n,!0),r&&r.forEach(o=>ds(e,o,n,!0));for(const o in t)if(i&&o==="expose")({}).NODE_ENV!=="production"&&wt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=Qd[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Qd={data:dc,props:pc,emits:pc,methods:_r,computed:_r,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:_r,directives:_r,watch:tp,provide:dc,inject:Jd};function dc(e,t){return t?e?function(){return ge(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function Jd(e,t){return _r(Go(e),Go(t))}function Go(e){if(Rt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function _r(e,t){return e?ge(Object.create(null),e,t):t}function pc(e,t){return e?Rt(e)&&Rt(t)?[...new Set([...e,...t])]:ge(Object.create(null),uc(e),uc(t??{})):t}function tp(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const i in t)n[i]=je(e[i],t[i]);return n}function mc(){return{app:null,config:{isNativeTag:mf,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 ep=0;function np(e,t){return function(i,r=null){Gt(i)||(i=ge({},i)),r!=null&&!ae(r)&&({}.NODE_ENV!=="production"&&wt("root props passed to app.mount() must be an object."),r=null);const s=mc(),o=new WeakSet;let a=!1;const l=s.app={_uid:ep++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:Gc,get config(){return s.config},set config(p){({}).NODE_ENV!=="production"&&wt("app.config cannot be replaced. Modify individual options instead.")},use(p,...m){return o.has(p)?{}.NODE_ENV!=="production"&&wt("Plugin has already been applied to target app."):p&&Gt(p.install)?(o.add(p),p.install(l,...m)):Gt(p)?(o.add(p),p(l,...m)):{}.NODE_ENV!=="production"&&wt('A plugin must either be a function or an object with an "install" function.'),l},mixin(p){return s.mixins.includes(p)?{}.NODE_ENV!=="production"&&wt("Mixin has already been applied to target app"+(p.name?`: ${p.name}`:"")):s.mixins.push(p),l},component(p,m){return{}.NODE_ENV!=="production"&&Qo(p,s.config),m?({}.NODE_ENV!=="production"&&s.components[p]&&wt(`Component "${p}" has already been registered in target app.`),s.components[p]=m,l):s.components[p]},directive(p,m){return{}.NODE_ENV!=="production"&&oc(p),m?({}.NODE_ENV!=="production"&&s.directives[p]&&wt(`Directive "${p}" has already been registered in target app.`),s.directives[p]=m,l):s.directives[p]},mount(p,m,g){if(a)({}).NODE_ENV!=="production"&&wt("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&p.__vue_app__&&wt("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const d=Jt(i,r);return d.appContext=s,g===!0?g="svg":g===!1&&(g=void 0),{}.NODE_ENV!=="production"&&(s.reload=()=>{e(Qn(d),p,g)}),m&&t?t(d,p):e(d,p,g),a=!0,l._container=p,p.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=d.component,pd(l,Gc)),xs(d.component)||d.component.proxy}},unmount(){a?(e(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,md(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&wt("Cannot unmount an app that is not mounted.")},provide(p,m){return{}.NODE_ENV!=="production"&&p in s.provides&&wt(`App already provides property with key "${String(p)}". It will be overwritten with the new value.`),s.provides[p]=m,l},runWithContext(p){const m=br;br=l;try{return p()}finally{br=m}}};return l}}let br=null;function ip(e,t){if(!Oe)({}).NODE_ENV!=="production"&&wt("provide() can only be used inside setup().");else{let n=Oe.provides;const i=Oe.parent&&Oe.parent.provides;i===n&&(n=Oe.provides=Object.create(i)),n[e]=t}}function ps(e,t,n=!1){const i=Oe||Se;if(i||br){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:br._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Gt(t)?t.call(i&&i.proxy):t;({}).NODE_ENV!=="production"&&wt(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&wt("inject() can only be used inside setup() or functional components.")}const gc={},vc=()=>Object.create(gc),yc=e=>Object.getPrototypeOf(e)===gc;function rp(e,t,n,i=!1){const r={},s=vc();e.propsDefaults=Object.create(null),_c(e,t,r,s);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);({}).NODE_ENV!=="production"&&Cc(t||{},r,e),n?e.props=i?r:Yf(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function sp(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function op(e,t,n,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=e,a=Qt(r),[l]=e.propsOptions;let p=!1;if(!({}.NODE_ENV!=="production"&&sp(e))&&(i||o>0)&&!(o&16)){if(o&8){const m=e.vnode.dynamicProps;for(let g=0;g<m.length;g++){let d=m[g];if(ss(e.emitsOptions,d))continue;const _=t[d];if(l)if(ne(s,d))_!==s[d]&&(s[d]=_,p=!0);else{const N=Qe(d);r[N]=Ho(l,a,N,_,e,!1)}else _!==s[d]&&(s[d]=_,p=!0)}}}else{_c(e,t,r,s)&&(p=!0);let m;for(const g in a)(!t||!ne(t,g)&&((m=Je(g))===g||!ne(t,m)))&&(l?n&&(n[g]!==void 0||n[m]!==void 0)&&(r[g]=Ho(l,a,g,void 0,e,!0)):delete r[g]);if(s!==a)for(const g in s)(!t||!ne(t,g))&&(delete s[g],p=!0)}p&&gn(e.attrs,"set",""),{}.NODE_ENV!=="production"&&Cc(t||{},r,e)}function _c(e,t,n,i){const[r,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(ar(l))continue;const p=t[l];let m;r&&ne(r,m=Qe(l))?!s||!s.includes(m)?n[m]=p:(a||(a={}))[m]=p:ss(e.emitsOptions,l)||(!(l in i)||p!==i[l])&&(i[l]=p,o=!0)}if(s){const l=Qt(n),p=a||ce;for(let m=0;m<s.length;m++){const g=s[m];n[g]=Ho(r,l,g,p[g],e,!ne(p,g))}}return o}function Ho(e,t,n,i,r,s){const o=e[n];if(o!=null){const a=ne(o,"default");if(a&&i===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&Gt(l)){const{propsDefaults:p}=r;if(n in p)i=p[n];else{const m=Sr(r);i=p[n]=l.call(null,t),m()}}else i=l}o[0]&&(s&&!a?i=!1:o[1]&&(i===""||i===Je(n))&&(i=!0))}return i}function bc(e,t,n=!1){const i=t.propsCache,r=i.get(e);if(r)return r;const s=e.props,o={},a=[];let l=!1;if(!Gt(e)){const m=g=>{l=!0;const[d,_]=bc(g,t,!0);ge(o,d),_&&a.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!s&&!l)return ae(e)&&i.set(e,Di),Di;if(Rt(s))for(let m=0;m<s.length;m++){({}).NODE_ENV!=="production"&&!_e(s[m])&&wt("props must be strings when using array syntax.",s[m]);const g=Qe(s[m]);xc(g)&&(o[g]=ce)}else if(s){({}).NODE_ENV!=="production"&&!ae(s)&&wt("invalid props options",s);for(const m in s){const g=Qe(m);if(xc(g)){const d=s[m],_=o[g]=Rt(d)||Gt(d)?{type:d}:ge({},d);if(_){const N=Ec(Boolean,_.type),C=Ec(String,_.type);_[0]=N>-1,_[1]=C<0||N<C,(N>-1||ne(_,"default"))&&a.push(g)}}}}const p=[o,a];return ae(e)&&i.set(e,p),p}function xc(e){return e[0]!=="$"&&!ar(e)?!0:({}.NODE_ENV!=="production"&&wt(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Uo(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wc(e,t){return Uo(e)===Uo(t)}function Ec(e,t){return Rt(t)?t.findIndex(n=>wc(n,e)):Gt(t)&&wc(t,e)?0:-1}function Cc(e,t,n){const i=Qt(t),r=n.propsOptions[0];for(const s in r){let o=r[s];o!=null&&ap(s,i[s],o,{}.NODE_ENV!=="production"?Tn(i):i,!ne(e,s)&&!ne(e,Je(s)))}}function ap(e,t,n,i,r){const{type:s,required:o,validator:a,skipCheck:l}=n;if(o&&r){wt('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(s!=null&&s!==!0&&!l){let p=!1;const m=Rt(s)?s:[s],g=[];for(let d=0;d<m.length&&!p;d++){const{valid:_,expectedType:N}=cp(t,m[d]);g.push(N||""),p=_}if(!p){wt(up(e,t,g));return}}a&&!a(t,i)&&wt('Invalid prop: custom validator check failed for prop "'+e+'".')}}const lp=Ai("String,Number,Boolean,Function,Symbol,BigInt");function cp(e,t){let n;const i=Uo(t);if(lp(i)){const r=typeof e;n=r===i.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else i==="Object"?n=ae(e):i==="Array"?n=Rt(e):i==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:i}}function up(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let i=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(ui).join(" | ")}`;const r=n[0],s=uo(t),o=kc(t,r),a=kc(t,s);return n.length===1&&Sc(r)&&!hp(r,s)&&(i+=` with value ${o}`),i+=`, got ${s} `,Sc(s)&&(i+=`with value ${a}.`),i}function kc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Sc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function hp(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Tc=e=>e[0]==="_"||e==="$stable",Wo=e=>Rt(e)?e.map(dn):[dn(e)],fp=(e,t,n)=>{if(t._n)return t;const i=fe((...r)=>({}.NODE_ENV!=="production"&&Oe&&(!n||n.root===Oe.root)&&wt(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Wo(t(...r))),n);return i._c=!1,i},Nc=(e,t,n)=>{const i=e._ctx;for(const r in e){if(Tc(r))continue;const s=e[r];if(Gt(s))t[r]=fp(r,s,i);else if(s!=null){({}).NODE_ENV!=="production"&&wt(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const o=Wo(s);t[r]=()=>o}}},Oc=(e,t)=>{({}).NODE_ENV!=="production"&&!Ro(e.vnode)&&wt("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Wo(t);e.slots.default=()=>n},dp=(e,t)=>{const n=e.slots=vc();if(e.vnode.shapeFlag&32){const i=t._;i?(ge(n,t),ul(n,"_",i)):Nc(t,n)}else t&&Oc(e,t)},pp=(e,t,n)=>{const{vnode:i,slots:r}=e;let s=!0,o=ce;if(i.shapeFlag&32){const a=t._;a?{}.NODE_ENV!=="production"&&vi?(ge(r,t),gn(e,"set","$slots")):n&&a===1?s=!1:(ge(r,t),!n&&a===1&&delete r._):(s=!t.$stable,Nc(t,r)),o=t}else t&&(Oc(e,t),o={default:1});if(s)for(const a in r)!Tc(a)&&o[a]==null&&delete r[a]};function qo(e,t,n,i,r=!1){if(Rt(e)){e.forEach((d,_)=>qo(d,t&&(Rt(t)?t[_]:t),n,i,r));return}if(yr(i)&&!r)return;const s=i.shapeFlag&4?xs(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=e;if({}.NODE_ENV!=="production"&&!a){wt("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const p=t&&t.r,m=a.refs===ce?a.refs={}:a.refs,g=a.setupState;if(p!=null&&p!==l&&(_e(p)?(m[p]=null,ne(g,p)&&(g[p]=null)):Ae(p)&&(p.value=null)),Gt(l))Nn(l,a,12,[o,m]);else{const d=_e(l),_=Ae(l);if(d||_){const N=()=>{if(e.f){const C=d?ne(g,l)?g[l]:m[l]:l.value;r?Rt(C)&&lo(C,s):Rt(C)?C.includes(s)||C.push(s):d?(m[l]=[s],ne(g,l)&&(g[l]=m[l])):(l.value=[s],e.k&&(m[e.k]=l.value))}else d?(m[l]=o,ne(g,l)&&(g[l]=o)):_?(l.value=o,e.k&&(m[e.k]=o)):{}.NODE_ENV!=="production"&&wt("Invalid template ref type:",l,`(${typeof l})`)};o?(N.id=-1,He(N,n)):N()}else({}).NODE_ENV!=="production"&&wt("Invalid template ref type:",l,`(${typeof l})`)}}let xr,Zn;function In(e,t){e.appContext.config.performance&&ms()&&Zn.mark(`vue-${t}-${e.uid}`),{}.NODE_ENV!=="production"&&_d(e,t,ms()?Zn.now():Date.now())}function Mn(e,t){if(e.appContext.config.performance&&ms()){const n=`vue-${t}-${e.uid}`,i=n+":end";Zn.mark(i),Zn.measure(`<${ws(e,e.type)}> ${t}`,n,i),Zn.clearMarks(n),Zn.clearMarks(i)}({}).NODE_ENV!=="production"&&bd(e,t,ms()?Zn.now():Date.now())}function ms(){return xr!==void 0||(typeof window<"u"&&window.performance?(xr=!0,Zn=window.performance):xr=!1),xr}function mp(){const e=[];if({}.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
20
20
|
|
|
21
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const Ve=su;function Wu(t){return Uu(t)}function Uu(t,e){Bu();const o=Un();o.__VUE__=!0,{}.NODE_ENV!=="production"&&pr(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:i,patchProp:s,createElement:r,createText:a,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:u,setScopeId:v=ge,insertStaticContent:b}=t,y=(p,m,g,_=null,x=null,C=null,S=void 0,E=null,O={}.NODE_ENV!=="production"&&Rt?!1:!!m.dynamicChildren)=>{if(p===m)return;p&&!$o(p,m)&&(_=Fn(p),St(p,x,C,!0),p=null),m.patchFlag===-2&&(O=!1,m.dynamicChildren=null);const{type:w,ref:P,shapeFlag:H}=m;switch(w){case No:k(p,m,g,_);break;case Ie:A(p,m,g,_);break;case pn:p==null?$(m,g,_,S):{}.NODE_ENV!=="production"&&z(p,m,g,S);break;case be:jn(p,m,g,_,x,C,S,E,O);break;default:H&1?M(p,m,g,_,x,C,S,E,O):H&6?Rl(p,m,g,_,x,C,S,E,O):H&64||H&128?w.process(p,m,g,_,x,C,S,E,O,ro):{}.NODE_ENV!=="production"&&N("Invalid VNode type:",w,`(${typeof w})`)}P!=null&&x&&Ni(P,p&&p.ref,C,m||p,!m)},k=(p,m,g,_)=>{if(p==null)n(m.el=a(m.children),g,_);else{const x=m.el=p.el;m.children!==p.children&&c(x,m.children)}},A=(p,m,g,_)=>{p==null?n(m.el=l(m.children||""),g,_):m.el=p.el},$=(p,m,g,_)=>{[p.el,p.anchor]=b(p.children,m,g,_,p.el,p.anchor)},z=(p,m,g,_)=>{if(m.children!==p.children){const x=u(p.anchor);ne(p),[m.el,m.anchor]=b(m.children,g,x,_)}else m.el=p.el,m.anchor=p.anchor},G=({el:p,anchor:m},g,_)=>{let x;for(;p&&p!==m;)x=u(p),n(p,g,_),p=x;n(m,g,_)},ne=({el:p,anchor:m})=>{let g;for(;p&&p!==m;)g=u(p),i(p),p=g;i(m)},M=(p,m,g,_,x,C,S,E,O)=>{m.type==="svg"?S="svg":m.type==="math"&&(S="mathml"),p==null?I(m,g,_,x,C,S,E,O):Te(p,m,x,C,S,E,O)},I=(p,m,g,_,x,C,S,E)=>{let O,w;const{props:P,shapeFlag:H,transition:j,dirs:K}=p;if(O=p.el=r(p.type,C,P&&P.is,P),H&8?d(O,p.children):H&16&&ve(p.children,O,null,_,x,Oi(p,C),S,E),K&&zt(p,null,_,"created"),he(O,p,p.scopeId,S,_),P){for(const re in P)re!=="value"&&!uo(re)&&s(O,re,null,P[re],C,p.children,_,x,vt);"value"in P&&s(O,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Qe(w,_,p)}({}).NODE_ENV!=="production"&&(Object.defineProperty(O,"__vnode",{value:p,enumerable:!1}),Object.defineProperty(O,"__vueParentComponent",{value:_,enumerable:!1})),K&&zt(p,null,_,"beforeMount");const J=Gu(x,j);J&&j.beforeEnter(O),n(O,m,g),((w=P&&P.onVnodeMounted)||J||K)&&Ve(()=>{w&&Qe(w,_,p),J&&j.enter(O),K&&zt(p,null,_,"mounted")},x)},he=(p,m,g,_,x)=>{if(g&&v(p,g),_)for(let C=0;C<_.length;C++)v(p,_[C]);if(x){let C=x.subTree;if({}.NODE_ENV!=="production"&&C.patchFlag>0&&C.patchFlag&2048&&(C=fi(C.children)||C),m===C){const S=x.vnode;he(p,S,S.scopeId,S.slotScopeIds,x.parent)}}},ve=(p,m,g,_,x,C,S,E,O=0)=>{for(let w=O;w<p.length;w++){const P=p[w]=E?Ct(p[w]):Ge(p[w]);y(null,P,m,g,_,x,C,S,E)}},Te=(p,m,g,_,x,C,S)=>{const E=m.el=p.el;let{patchFlag:O,dynamicChildren:w,dirs:P}=m;O|=p.patchFlag&16;const H=p.props||ae,j=m.props||ae;let K;if(g&&Bt(g,!1),(K=j.onVnodeBeforeUpdate)&&Qe(K,g,m,p),P&&zt(m,p,g,"beforeUpdate"),g&&Bt(g,!0),{}.NODE_ENV!=="production"&&Rt&&(O=0,S=!1,w=null),w?(Nt(p.dynamicChildren,w,E,g,_,Oi(m,x),C),{}.NODE_ENV!=="production"&&fn(p,m)):S||tt(p,m,E,null,g,_,Oi(m,x),C,!1),O>0){if(O&16)qe(E,m,H,j,g,_,x);else if(O&2&&H.class!==j.class&&s(E,"class",null,j.class,x),O&4&&s(E,"style",H.style,j.style,x),O&8){const J=m.dynamicProps;for(let re=0;re<J.length;re++){const pe=J[re],Ne=H[pe],Ye=j[pe];(Ye!==Ne||pe==="value")&&s(E,pe,Ne,Ye,x,p.children,g,_,vt)}}O&1&&p.children!==m.children&&d(E,m.children)}else!S&&w==null&&qe(E,m,H,j,g,_,x);((K=j.onVnodeUpdated)||P)&&Ve(()=>{K&&Qe(K,g,m,p),P&&zt(m,p,g,"updated")},_)},Nt=(p,m,g,_,x,C,S)=>{for(let E=0;E<m.length;E++){const O=p[E],w=m[E],P=O.el&&(O.type===be||!$o(O,w)||O.shapeFlag&70)?f(O.el):g;y(O,w,P,null,_,x,C,S,!0)}},qe=(p,m,g,_,x,C,S)=>{if(g!==_){if(g!==ae)for(const E in g)!uo(E)&&!(E in _)&&s(p,E,g[E],null,S,m.children,x,C,vt);for(const E in _){if(uo(E))continue;const O=_[E],w=g[E];O!==w&&E!=="value"&&s(p,E,w,O,S,m.children,x,C,vt)}"value"in _&&s(p,"value",g.value,_.value,S)}},jn=(p,m,g,_,x,C,S,E,O)=>{const w=m.el=p?p.el:a(""),P=m.anchor=p?p.anchor:a("");let{patchFlag:H,dynamicChildren:j,slotScopeIds:K}=m;({}).NODE_ENV!=="production"&&(Rt||H&2048)&&(H=0,O=!1,j=null),K&&(E=E?E.concat(K):K),p==null?(n(w,g,_),n(P,g,_),ve(m.children||[],g,P,x,C,S,E,O)):H>0&&H&64&&j&&p.dynamicChildren?(Nt(p.dynamicChildren,j,g,x,C,S,E),{}.NODE_ENV!=="production"?fn(p,m):(m.key!=null||x&&m===x.subTree)&&fn(p,m,!0)):tt(p,m,g,P,x,C,S,E,O)},Rl=(p,m,g,_,x,C,S,E,O)=>{m.slotScopeIds=E,p==null?m.shapeFlag&512?x.ctx.activate(m,g,_,S,O):Ot(m,g,_,x,C,S,O):Ae(p,m,O)},Ot=(p,m,g,_,x,C,S)=>{const E=p.component=ed(p,_,x);if({}.NODE_ENV!=="production"&&E.type.__hmrId&&Rc(E),{}.NODE_ENV!=="production"&&(Jo(p),ct(E,"mount")),mi(p)&&(E.ctx.renderer=ro),{}.NODE_ENV!=="production"&&ct(E,"init"),nd(E),{}.NODE_ENV!=="production"&&ut(E,"init"),E.asyncDep){if(x&&x.registerDep(E,te),!p.el){const O=E.subTree=oe(Ie);A(null,O,m,g)}}else te(E,p,m,g,x,C,S);({}).NODE_ENV!=="production"&&(Qo(),ut(E,"mount"))},Ae=(p,m,g)=>{const _=m.component=p.component;if(Qc(p,m,g))if(_.asyncDep&&!_.asyncResolved){({}).NODE_ENV!=="production"&&Jo(m),Q(_,m,g),{}.NODE_ENV!=="production"&&Qo();return}else _.next=m,Mc(_.update),_.effect.dirty=!0,_.update();else m.el=p.el,_.vnode=m},te=(p,m,g,_,x,C,S)=>{const E=()=>{if(p.isMounted){let{next:P,bu:H,u:j,parent:K,vnode:J}=p;{const ao=Kr(p);if(ao){P&&(P.el=J.el,Q(p,P,S)),ao.asyncDep.then(()=>{p.isUnmounted||E()});return}}let re=P,pe;({}).NODE_ENV!=="production"&&Jo(P||p.vnode),Bt(p,!1),P?(P.el=J.el,Q(p,P,S)):P=J,H&&fo(H),(pe=P.props&&P.props.onVnodeBeforeUpdate)&&Qe(pe,K,P,J),Bt(p,!0),{}.NODE_ENV!=="production"&&ct(p,"render");const Ne=di(p);({}).NODE_ENV!=="production"&&ut(p,"render");const Ye=p.subTree;p.subTree=Ne,{}.NODE_ENV!=="production"&&ct(p,"patch"),y(Ye,Ne,f(Ye.el),Fn(Ye),p,x,C),{}.NODE_ENV!=="production"&&ut(p,"patch"),P.el=Ne.el,re===null&&eu(p,Ne.el),j&&Ve(j,x),(pe=P.props&&P.props.onVnodeUpdated)&&Ve(()=>Qe(pe,K,P,J),x),{}.NODE_ENV!=="production"&&hr(p),{}.NODE_ENV!=="production"&&Qo()}else{let P;const{el:H,props:j}=m,{bm:K,m:J,parent:re}=p,pe=wo(m);if(Bt(p,!1),K&&fo(K),!pe&&(P=j&&j.onVnodeBeforeMount)&&Qe(P,re,m),Bt(p,!0),H&&Es){const Ne=()=>{({}).NODE_ENV!=="production"&&ct(p,"render"),p.subTree=di(p),{}.NODE_ENV!=="production"&&ut(p,"render"),{}.NODE_ENV!=="production"&&ct(p,"hydrate"),Es(H,p.subTree,p,x,null),{}.NODE_ENV!=="production"&&ut(p,"hydrate")};pe?m.type.__asyncLoader().then(()=>!p.isUnmounted&&Ne()):Ne()}else{({}).NODE_ENV!=="production"&&ct(p,"render");const Ne=p.subTree=di(p);({}).NODE_ENV!=="production"&&ut(p,"render"),{}.NODE_ENV!=="production"&&ct(p,"patch"),y(null,Ne,g,_,p,x,C),{}.NODE_ENV!=="production"&&ut(p,"patch"),m.el=Ne.el}if(J&&Ve(J,x),!pe&&(P=j&&j.onVnodeMounted)){const Ne=m;Ve(()=>Qe(P,re,Ne),x)}(m.shapeFlag&256||re&&wo(re.vnode)&&re.vnode.shapeFlag&256)&&p.a&&Ve(p.a,x),p.isMounted=!0,{}.NODE_ENV!=="production"&&Wc(p),m=g=_=null}},O=p.effect=new Kn(E,ge,()=>en(w),p.scope),w=p.update=()=>{O.dirty&&O.run()};w.id=p.uid,Bt(p,!0),{}.NODE_ENV!=="production"&&(O.onTrack=p.rtc?P=>fo(p.rtc,P):void 0,O.onTrigger=p.rtg?P=>fo(p.rtg,P):void 0,w.ownerInstance=p),w()},Q=(p,m,g)=>{m.component=p;const _=p.vnode.props;p.vnode=m,p.next=null,Vu(p,m.props,_,g),Hu(p,m.children,g),nt(),lr(p),it()},tt=(p,m,g,_,x,C,S,E,O=!1)=>{const w=p&&p.children,P=p?p.shapeFlag:0,H=m.children,{patchFlag:j,shapeFlag:K}=m;if(j>0){if(j&128){Ro(w,H,g,_,x,C,S,E,O);return}else if(j&256){bs(w,H,g,_,x,C,S,E,O);return}}K&8?(P&16&&vt(w,x,C),H!==w&&d(g,H)):P&16?K&16?Ro(w,H,g,_,x,C,S,E,O):vt(w,x,C,!0):(P&8&&d(g,""),K&16&&ve(H,g,_,x,C,S,E,O))},bs=(p,m,g,_,x,C,S,E,O)=>{p=p||Kt,m=m||Kt;const w=p.length,P=m.length,H=Math.min(w,P);let j;for(j=0;j<H;j++){const K=m[j]=O?Ct(m[j]):Ge(m[j]);y(p[j],K,g,null,x,C,S,E,O)}w>P?vt(p,x,C,!0,!1,H):ve(m,g,_,x,C,S,E,O,H)},Ro=(p,m,g,_,x,C,S,E,O)=>{let w=0;const P=m.length;let H=p.length-1,j=P-1;for(;w<=H&&w<=j;){const K=p[w],J=m[w]=O?Ct(m[w]):Ge(m[w]);if($o(K,J))y(K,J,g,null,x,C,S,E,O);else break;w++}for(;w<=H&&w<=j;){const K=p[H],J=m[j]=O?Ct(m[j]):Ge(m[j]);if($o(K,J))y(K,J,g,null,x,C,S,E,O);else break;H--,j--}if(w>H){if(w<=j){const K=j+1,J=K<P?m[K].el:_;for(;w<=j;)y(null,m[w]=O?Ct(m[w]):Ge(m[w]),g,J,x,C,S,E,O),w++}}else if(w>j)for(;w<=H;)St(p[w],x,C,!0),w++;else{const K=w,J=w,re=new Map;for(w=J;w<=j;w++){const Le=m[w]=O?Ct(m[w]):Ge(m[w]);Le.key!=null&&({}.NODE_ENV!=="production"&&re.has(Le.key)&&N("Duplicate keys found during update:",JSON.stringify(Le.key),"Make sure keys are unique."),re.set(Le.key,w))}let pe,Ne=0;const Ye=j-J+1;let ao=!1,Fl=0;const jo=new Array(Ye);for(w=0;w<Ye;w++)jo[w]=0;for(w=K;w<=H;w++){const Le=p[w];if(Ne>=Ye){St(Le,x,C,!0);continue}let ot;if(Le.key!=null)ot=re.get(Le.key);else for(pe=J;pe<=j;pe++)if(jo[pe-J]===0&&$o(Le,m[pe])){ot=pe;break}ot===void 0?St(Le,x,C,!0):(jo[ot-J]=w+1,ot>=Fl?Fl=ot:ao=!0,y(Le,m[ot],g,null,x,C,S,E,O),Ne++)}const zl=ao?Ku(jo):Kt;for(pe=zl.length-1,w=Ye-1;w>=0;w--){const Le=J+w,ot=m[Le],Hl=Le+1<P?m[Le+1].el:_;jo[w]===0?y(null,ot,g,Hl,x,C,S,E,O):ao&&(pe<0||w!==zl[pe]?so(ot,g,Hl,2):pe--)}}},so=(p,m,g,_,x=null)=>{const{el:C,type:S,transition:E,children:O,shapeFlag:w}=p;if(w&6){so(p.component.subTree,m,g,_);return}if(w&128){p.suspense.move(m,g,_);return}if(w&64){S.move(p,m,g,ro);return}if(S===be){n(C,m,g);for(let H=0;H<O.length;H++)so(O[H],m,g,_);n(p.anchor,m,g);return}if(S===pn){G(p,m,g);return}if(_!==2&&w&1&&E)if(_===0)E.beforeEnter(C),n(C,m,g),Ve(()=>E.enter(C),x);else{const{leave:H,delayLeave:j,afterLeave:K}=E,J=()=>n(C,m,g),re=()=>{H(C,()=>{J(),K&&K()})};j?j(C,J,re):re()}else n(C,m,g)},St=(p,m,g,_=!1,x=!1)=>{const{type:C,props:S,ref:E,children:O,dynamicChildren:w,shapeFlag:P,patchFlag:H,dirs:j}=p;if(E!=null&&Ni(E,null,g,p,!0),P&256){m.ctx.deactivate(p);return}const K=P&1&&j,J=!wo(p);let re;if(J&&(re=S&&S.onVnodeBeforeUnmount)&&Qe(re,m,p),P&6)Jm(p.component,g,_);else{if(P&128){p.suspense.unmount(g,_);return}K&&zt(p,null,m,"beforeUnmount"),P&64?p.type.remove(p,m,g,x,ro,_):w&&(C!==be||H>0&&H&64)?vt(w,m,g,!1,!0):(C===be&&H&384||!x&&P&16)&&vt(O,m,g),_&&_s(p)}(J&&(re=S&&S.onVnodeUnmounted)||K)&&Ve(()=>{re&&Qe(re,m,p),K&&zt(p,null,m,"unmounted")},g)},_s=p=>{const{type:m,el:g,anchor:_,transition:x}=p;if(m===be){({}).NODE_ENV!=="production"&&p.patchFlag>0&&p.patchFlag&2048&&x&&!x.persisted?p.children.forEach(S=>{S.type===Ie?i(S.el):_s(S)}):Xm(g,_);return}if(m===pn){ne(p);return}const C=()=>{i(g),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:S,delayLeave:E}=x,O=()=>S(g,C);E?E(p.el,C,O):O()}else C()},Xm=(p,m)=>{let g;for(;p!==m;)g=u(p),i(p),p=g;i(m)},Jm=(p,m,g)=>{({}).NODE_ENV!=="production"&&p.type.__hmrId&&jc(p);const{bum:_,scope:x,update:C,subTree:S,um:E}=p;_&&fo(_),x.stop(),C&&(C.active=!1,St(S,p,m,g)),E&&Ve(E,m),Ve(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve()),{}.NODE_ENV!=="production"&&Gc(p)},vt=(p,m,g,_=!1,x=!1,C=0)=>{for(let S=C;S<p.length;S++)St(p[S],m,g,_,x)},Fn=p=>p.shapeFlag&6?Fn(p.component.subTree):p.shapeFlag&128?p.suspense.next():u(p.anchor||p.el);let xs=!1;const jl=(p,m,g)=>{p==null?m._vnode&&St(m._vnode,null,null,!0):y(m._vnode||null,p,m,null,null,null,g),xs||(xs=!0,lr(),cr(),xs=!1),m._vnode=p},ro={p:y,um:St,m:so,r:_s,mt:Ot,mc:ve,pc:tt,pbc:Nt,n:Fn,o:t};let ws,Es;return e&&([ws,Es]=e(ro)),{render:jl,hydrate:ws,createApp:Tu(jl,ws)}}function Oi({type:t,props:e},o){return o==="svg"&&t==="foreignObject"||o==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:o}function Bt({effect:t,update:e},o){t.allowRecurse=e.allowRecurse=o}function Gu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function fn(t,e,o=!1){const n=t.children,i=e.children;if(F(n)&&F(i))for(let s=0;s<n.length;s++){const r=n[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Ct(i[s]),a.el=r.el),o||fn(r,a)),a.type===No&&(a.el=r.el),{}.NODE_ENV!=="production"&&a.type===Ie&&!a.el&&(a.el=r.el)}}function Ku(t){const e=t.slice(),o=[0];let n,i,s,r,a;const l=t.length;for(n=0;n<l;n++){const c=t[n];if(c!==0){if(i=o[o.length-1],t[i]<c){e[n]=i,o.push(n);continue}for(s=0,r=o.length-1;s<r;)a=s+r>>1,t[o[a]]<c?s=a+1:r=a;c<t[o[s]]&&(s>0&&(e[n]=o[s-1]),o[s]=n)}}for(s=o.length,r=o[s-1];s-- >0;)o[s]=r,r=e[r];return o}function Kr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Kr(e)}const qu=t=>t.__isTeleport,be=Symbol.for("v-fgt"),No=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),pn=Symbol.for("v-stc"),Oo=[];let Ue=null;function D(t=!1){Oo.push(Ue=t?null:[])}function Yu(){Oo.pop(),Ue=Oo[Oo.length-1]||null}let So=1;function qr(t){So+=t}function Yr(t){return t.dynamicChildren=So>0?Ue||Kt:null,Yu(),So>0&&Ue&&Ue.push(t),t}function B(t,e,o,n,i,s){return Yr(h(t,e,o,n,i,s,!0))}function _e(t,e,o,n,i){return Yr(oe(t,e,o,n,i,!0))}function Jt(t){return t?t.__v_isVNode===!0:!1}function $o(t,e){return{}.NODE_ENV!=="production"&&e.shapeFlag&6&&Zt.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const Zu=(...t)=>Xr(...t),Zr=({key:t})=>t??null,hn=({ref:t,ref_key:e,ref_for:o})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||$e(t)||W(t)?{i:ye,r:t,k:e,f:!!o}:t:null);function h(t,e=null,o=null,n=0,i=null,s=t===be?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Zr(e),ref:e&&hn(e),scopeId:on,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ye};return a?(Si(l,o),s&128&&t.normalize(l)):o&&(l.shapeFlag|=me(o)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&N("VNode created with invalid key (NaN). VNode type:",l.type),So>0&&!r&&Ue&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ue.push(l),l}const oe={}.NODE_ENV!=="production"?Zu:Xr;function Xr(t,e=null,o=null,n=0,i=null,s=!1){if((!t||t===ou)&&({}.NODE_ENV!=="production"&&!t&&N(`Invalid vnode type when creating vnode: ${t}.`),t=Ie),Jt(t)){const a=Et(t,e,!0);return o&&Si(a,o),So>0&&!s&&Ue&&(a.shapeFlag&6?Ue[Ue.indexOf(t)]=a:Ue.push(a)),a.patchFlag|=-2,a}if(ia(t)&&(t=t.__vccOpts),e){e=Xu(e);let{class:a,style:l}=e;a&&!me(a)&&(e.class=U(a)),ie(l)&&(ti(l)&&!F(l)&&(l=de({},l)),e.style=R(l))}const r=me(t)?1:iu(t)?128:qu(t)?64:ie(t)?4:W(t)?2:0;return{}.NODE_ENV!=="production"&&r&4&&ti(t)&&(t=Y(t),N("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
22
|
-
Component that was made reactive: `,
|
|
21
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const He=Id;function gp(e){return vp(e)}function vp(e,t){mp();const n=fo();n.__VUE__=!0,{}.NODE_ENV!=="production"&&Kl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:p,setElementText:m,parentNode:g,nextSibling:d,setScopeId:_=Ce,insertStaticContent:N}=e,C=(O,D,B,X=null,Q=null,K=null,pt=void 0,nt=null,ft={}.NODE_ENV!=="production"&&vi?!1:!!D.dynamicChildren)=>{if(O===D)return;O&&!kr(O,D)&&(X=rt(O),x(O,Q,K,!0),O=null),D.patchFlag===-2&&(ft=!1,D.dynamicChildren=null);const{type:tt,ref:bt,shapeFlag:Tt}=D;switch(tt){case wr:M(O,D,B,X);break;case Ue:z(O,D,B,X);break;case vs:O==null?P(D,B,X,pt):{}.NODE_ENV!=="production"&&$(O,D,B,pt);break;case ve:It(O,D,B,X,Q,K,pt,nt,ft);break;default:Tt&1?J(O,D,B,X,Q,K,pt,nt,ft):Tt&6?kt(O,D,B,X,Q,K,pt,nt,ft):Tt&64||Tt&128?tt.process(O,D,B,X,Q,K,pt,nt,ft,yt):{}.NODE_ENV!=="production"&&wt("Invalid VNode type:",tt,`(${typeof tt})`)}bt!=null&&Q&&qo(bt,O&&O.ref,K,D||O,!D)},M=(O,D,B,X)=>{if(O==null)i(D.el=a(D.children),B,X);else{const Q=D.el=O.el;D.children!==O.children&&p(Q,D.children)}},z=(O,D,B,X)=>{O==null?i(D.el=l(D.children||""),B,X):D.el=O.el},P=(O,D,B,X)=>{[O.el,O.anchor]=N(O.children,D,B,X,O.el,O.anchor)},$=(O,D,B,X)=>{if(D.children!==O.children){const Q=d(O.anchor);Y(O),[D.el,D.anchor]=N(D.children,B,Q,X)}else D.el=O.el,D.anchor=O.anchor},H=({el:O,anchor:D},B,X)=>{let Q;for(;O&&O!==D;)Q=d(O),i(O,B,X),O=Q;i(D,B,X)},Y=({el:O,anchor:D})=>{let B;for(;O&&O!==D;)B=d(O),r(O),O=B;r(D)},J=(O,D,B,X,Q,K,pt,nt,ft)=>{D.type==="svg"?pt="svg":D.type==="math"&&(pt="mathml"),O==null?V(D,B,X,Q,K,pt,nt,ft):Pt(O,D,Q,K,pt,nt,ft)},V=(O,D,B,X,Q,K,pt,nt)=>{let ft,tt;const{props:bt,shapeFlag:Tt,transition:Mt,dirs:Vt}=O;if(ft=O.el=o(O.type,K,bt&&bt.is,bt),Tt&8?m(ft,O.children):Tt&16&&_t(O.children,ft,null,X,Q,Yo(O,K),pt,nt),Vt&&bi(O,null,X,"created"),ht(ft,O,O.scopeId,pt,X),bt){for(const ee in bt)ee!=="value"&&!ar(ee)&&s(ft,ee,null,bt[ee],K,O.children,X,Q,F);"value"in bt&&s(ft,"value",null,bt.value,K),(tt=bt.onVnodeBeforeMount)&&_n(tt,X,O)}({}).NODE_ENV!=="production"&&(Object.defineProperty(ft,"__vnode",{value:O,enumerable:!1}),Object.defineProperty(ft,"__vueParentComponent",{value:X,enumerable:!1})),Vt&&bi(O,null,X,"beforeMount");const Bt=yp(Q,Mt);Bt&&Mt.beforeEnter(ft),i(ft,D,B),((tt=bt&&bt.onVnodeMounted)||Bt||Vt)&&He(()=>{tt&&_n(tt,X,O),Bt&&Mt.enter(ft),Vt&&bi(O,null,X,"mounted")},Q)},ht=(O,D,B,X,Q)=>{if(B&&_(O,B),X)for(let K=0;K<X.length;K++)_(O,X[K]);if(Q){let K=Q.subTree;if({}.NODE_ENV!=="production"&&K.patchFlag>0&&K.patchFlag&2048&&(K=Do(K.children)||K),D===K){const pt=Q.vnode;ht(O,pt,pt.scopeId,pt.slotScopeIds,Q.parent)}}},_t=(O,D,B,X,Q,K,pt,nt,ft=0)=>{for(let tt=ft;tt<O.length;tt++){const bt=O[tt]=nt?Jn(O[tt]):dn(O[tt]);C(null,bt,D,B,X,Q,K,pt,nt)}},Pt=(O,D,B,X,Q,K,pt)=>{const nt=D.el=O.el;let{patchFlag:ft,dynamicChildren:tt,dirs:bt}=D;ft|=O.patchFlag&16;const Tt=O.props||ce,Mt=D.props||ce;let Vt;if(B&&wi(B,!1),(Vt=Mt.onVnodeBeforeUpdate)&&_n(Vt,B,D,O),bt&&bi(D,O,B,"beforeUpdate"),B&&wi(B,!0),{}.NODE_ENV!=="production"&&vi&&(ft=0,pt=!1,tt=null),tt?(Et(O.dynamicChildren,tt,nt,B,X,Yo(D,Q),K),{}.NODE_ENV!=="production"&&gs(O,D)):pt||at(O,D,nt,null,B,X,Yo(D,Q),K,!1),ft>0){if(ft&16)vt(nt,D,Tt,Mt,B,X,Q);else if(ft&2&&Tt.class!==Mt.class&&s(nt,"class",null,Mt.class,Q),ft&4&&s(nt,"style",Tt.style,Mt.style,Q),ft&8){const Bt=D.dynamicProps;for(let ee=0;ee<Bt.length;ee++){const re=Bt[ee],le=Tt[re],we=Mt[re];(we!==le||re==="value")&&s(nt,re,le,we,Q,O.children,B,X,F)}}ft&1&&O.children!==D.children&&m(nt,D.children)}else!pt&&tt==null&&vt(nt,D,Tt,Mt,B,X,Q);((Vt=Mt.onVnodeUpdated)||bt)&&He(()=>{Vt&&_n(Vt,B,D,O),bt&&bi(D,O,B,"updated")},X)},Et=(O,D,B,X,Q,K,pt)=>{for(let nt=0;nt<D.length;nt++){const ft=O[nt],tt=D[nt],bt=ft.el&&(ft.type===ve||!kr(ft,tt)||ft.shapeFlag&70)?g(ft.el):B;C(ft,tt,bt,null,X,Q,K,pt,!0)}},vt=(O,D,B,X,Q,K,pt)=>{if(B!==X){if(B!==ce)for(const nt in B)!ar(nt)&&!(nt in X)&&s(O,nt,B[nt],null,pt,D.children,Q,K,F);for(const nt in X){if(ar(nt))continue;const ft=X[nt],tt=B[nt];ft!==tt&&nt!=="value"&&s(O,nt,tt,ft,pt,D.children,Q,K,F)}"value"in X&&s(O,"value",B.value,X.value,pt)}},It=(O,D,B,X,Q,K,pt,nt,ft)=>{const tt=D.el=O?O.el:a(""),bt=D.anchor=O?O.anchor:a("");let{patchFlag:Tt,dynamicChildren:Mt,slotScopeIds:Vt}=D;({}).NODE_ENV!=="production"&&(vi||Tt&2048)&&(Tt=0,ft=!1,Mt=null),Vt&&(nt=nt?nt.concat(Vt):Vt),O==null?(i(tt,B,X),i(bt,B,X),_t(D.children||[],B,bt,Q,K,pt,nt,ft)):Tt>0&&Tt&64&&Mt&&O.dynamicChildren?(Et(O.dynamicChildren,Mt,B,Q,K,pt,nt),{}.NODE_ENV!=="production"?gs(O,D):(D.key!=null||Q&&D===Q.subTree)&&gs(O,D,!0)):at(O,D,B,bt,Q,K,pt,nt,ft)},kt=(O,D,B,X,Q,K,pt,nt,ft)=>{D.slotScopeIds=nt,O==null?D.shapeFlag&512?Q.ctx.activate(D,B,X,pt,ft):Ut(D,B,X,Q,K,pt,ft):jt(O,D,ft)},Ut=(O,D,B,X,Q,K,pt)=>{const nt=O.component=Sp(O,X,Q);if({}.NODE_ENV!=="production"&&nt.type.__hmrId&&ud(nt),{}.NODE_ENV!=="production"&&(ns(O),In(nt,"mount")),Ro(O)&&(nt.ctx.renderer=yt),{}.NODE_ENV!=="production"&&In(nt,"init"),Op(nt),{}.NODE_ENV!=="production"&&Mn(nt,"init"),nt.asyncDep){if(Q&&Q.registerDep(nt,Ot),!O.el){const ft=nt.subTree=Jt(Ue);z(null,ft,D,B)}}else Ot(nt,O,D,B,Q,K,pt);({}).NODE_ENV!=="production"&&(is(),Mn(nt,"mount"))},jt=(O,D,B)=>{const X=D.component=O.component;if(kd(O,D,B))if(X.asyncDep&&!X.asyncResolved){({}).NODE_ENV!=="production"&&ns(D),W(X,D,B),{}.NODE_ENV!=="production"&&is();return}else X.next=D,ld(X.update),X.effect.dirty=!0,X.update();else D.el=O.el,X.vnode=D},Ot=(O,D,B,X,Q,K,pt)=>{const nt=()=>{if(O.isMounted){let{next:bt,bu:Tt,u:Mt,parent:Vt,vnode:Bt}=O;{const en=Pc(O);if(en){bt&&(bt.el=Bt.el,W(O,bt,pt)),en.asyncDep.then(()=>{O.isUnmounted||nt()});return}}let ee=bt,re;({}).NODE_ENV!=="production"&&ns(bt||O.vnode),wi(O,!1),bt?(bt.el=Bt.el,W(O,bt,pt)):bt=Bt,Tt&&lr(Tt),(re=bt.props&&bt.props.onVnodeBeforeUpdate)&&_n(re,Vt,bt,Bt),wi(O,!0),{}.NODE_ENV!=="production"&&In(O,"render");const le=Ao(O);({}).NODE_ENV!=="production"&&Mn(O,"render");const we=O.subTree;O.subTree=le,{}.NODE_ENV!=="production"&&In(O,"patch"),C(we,le,g(we.el),rt(we),O,Q,K),{}.NODE_ENV!=="production"&&Mn(O,"patch"),bt.el=le.el,ee===null&&Sd(O,le.el),Mt&&He(Mt,Q),(re=bt.props&&bt.props.onVnodeUpdated)&&He(()=>_n(re,Vt,bt,Bt),Q),{}.NODE_ENV!=="production"&&Zl(O),{}.NODE_ENV!=="production"&&is()}else{let bt;const{el:Tt,props:Mt}=D,{bm:Vt,m:Bt,parent:ee}=O,re=yr(D);if(wi(O,!1),Vt&&lr(Vt),!re&&(bt=Mt&&Mt.onVnodeBeforeMount)&&_n(bt,ee,D),wi(O,!0),Tt&&Ft){const le=()=>{({}).NODE_ENV!=="production"&&In(O,"render"),O.subTree=Ao(O),{}.NODE_ENV!=="production"&&Mn(O,"render"),{}.NODE_ENV!=="production"&&In(O,"hydrate"),Ft(Tt,O.subTree,O,Q,null),{}.NODE_ENV!=="production"&&Mn(O,"hydrate")};re?D.type.__asyncLoader().then(()=>!O.isUnmounted&&le()):le()}else{({}).NODE_ENV!=="production"&&In(O,"render");const le=O.subTree=Ao(O);({}).NODE_ENV!=="production"&&Mn(O,"render"),{}.NODE_ENV!=="production"&&In(O,"patch"),C(null,le,B,X,O,Q,K),{}.NODE_ENV!=="production"&&Mn(O,"patch"),D.el=le.el}if(Bt&&He(Bt,Q),!re&&(bt=Mt&&Mt.onVnodeMounted)){const le=D;He(()=>_n(bt,ee,le),Q)}(D.shapeFlag&256||ee&&yr(ee.vnode)&&ee.vnode.shapeFlag&256)&&O.a&&He(O.a,Q),O.isMounted=!0,{}.NODE_ENV!=="production"&&gd(O),D=B=X=null}},ft=O.effect=new mo(nt,Ce,()=>rs(tt),O.scope),tt=O.update=()=>{ft.dirty&&ft.run()};tt.id=O.uid,wi(O,!0),{}.NODE_ENV!=="production"&&(ft.onTrack=O.rtc?bt=>lr(O.rtc,bt):void 0,ft.onTrigger=O.rtg?bt=>lr(O.rtg,bt):void 0,tt.ownerInstance=O),tt()},W=(O,D,B)=>{D.component=O;const X=O.vnode.props;O.vnode=D,O.next=null,op(O,D.props,X,B),pp(O,D.children,B),kn(),Ul(O),Sn()},at=(O,D,B,X,Q,K,pt,nt,ft=!1)=>{const tt=O&&O.children,bt=O?O.shapeFlag:0,Tt=D.children,{patchFlag:Mt,shapeFlag:Vt}=D;if(Mt>0){if(Mt&128){S(tt,Tt,B,X,Q,K,pt,nt,ft);return}else if(Mt&256){mt(tt,Tt,B,X,Q,K,pt,nt,ft);return}}Vt&8?(bt&16&&F(tt,Q,K),Tt!==tt&&m(B,Tt)):bt&16?Vt&16?S(tt,Tt,B,X,Q,K,pt,nt,ft):F(tt,Q,K,!0):(bt&8&&m(B,""),Vt&16&&_t(Tt,B,X,Q,K,pt,nt,ft))},mt=(O,D,B,X,Q,K,pt,nt,ft)=>{O=O||Di,D=D||Di;const tt=O.length,bt=D.length,Tt=Math.min(tt,bt);let Mt;for(Mt=0;Mt<Tt;Mt++){const Vt=D[Mt]=ft?Jn(D[Mt]):dn(D[Mt]);C(O[Mt],Vt,B,null,Q,K,pt,nt,ft)}tt>bt?F(O,Q,K,!0,!1,Tt):_t(D,B,X,Q,K,pt,nt,ft,Tt)},S=(O,D,B,X,Q,K,pt,nt,ft)=>{let tt=0;const bt=D.length;let Tt=O.length-1,Mt=bt-1;for(;tt<=Tt&&tt<=Mt;){const Vt=O[tt],Bt=D[tt]=ft?Jn(D[tt]):dn(D[tt]);if(kr(Vt,Bt))C(Vt,Bt,B,null,Q,K,pt,nt,ft);else break;tt++}for(;tt<=Tt&&tt<=Mt;){const Vt=O[Tt],Bt=D[Mt]=ft?Jn(D[Mt]):dn(D[Mt]);if(kr(Vt,Bt))C(Vt,Bt,B,null,Q,K,pt,nt,ft);else break;Tt--,Mt--}if(tt>Tt){if(tt<=Mt){const Vt=Mt+1,Bt=Vt<bt?D[Vt].el:X;for(;tt<=Mt;)C(null,D[tt]=ft?Jn(D[tt]):dn(D[tt]),B,Bt,Q,K,pt,nt,ft),tt++}}else if(tt>Mt)for(;tt<=Tt;)x(O[tt],Q,K,!0),tt++;else{const Vt=tt,Bt=tt,ee=new Map;for(tt=Bt;tt<=Mt;tt++){const oe=D[tt]=ft?Jn(D[tt]):dn(D[tt]);oe.key!=null&&({}.NODE_ENV!=="production"&&ee.has(oe.key)&&wt("Duplicate keys found during update:",JSON.stringify(oe.key),"Make sure keys are unique."),ee.set(oe.key,tt))}let re,le=0;const we=Mt-Bt+1;let en=!1,Te=0;const Re=new Array(we);for(tt=0;tt<we;tt++)Re[tt]=0;for(tt=Vt;tt<=Tt;tt++){const oe=O[tt];if(le>=we){x(oe,Q,K,!0);continue}let Ee;if(oe.key!=null)Ee=ee.get(oe.key);else for(re=Bt;re<=Mt;re++)if(Re[re-Bt]===0&&kr(oe,D[re])){Ee=re;break}Ee===void 0?x(oe,Q,K,!0):(Re[Ee-Bt]=tt+1,Ee>=Te?Te=Ee:en=!0,C(oe,D[Ee],B,null,Q,K,pt,nt,ft),le++)}const pn=en?_p(Re):Di;for(re=pn.length-1,tt=we-1;tt>=0;tt--){const oe=Bt+tt,Ee=D[oe],Ve=oe+1<bt?D[oe+1].el:X;Re[tt]===0?C(null,Ee,B,Ve,Q,K,pt,nt,ft):en&&(re<0||tt!==pn[re]?w(Ee,B,Ve,2):re--)}}},w=(O,D,B,X,Q=null)=>{const{el:K,type:pt,transition:nt,children:ft,shapeFlag:tt}=O;if(tt&6){w(O.component.subTree,D,B,X);return}if(tt&128){O.suspense.move(D,B,X);return}if(tt&64){pt.move(O,D,B,yt);return}if(pt===ve){i(K,D,B);for(let Tt=0;Tt<ft.length;Tt++)w(ft[Tt],D,B,X);i(O.anchor,D,B);return}if(pt===vs){H(O,D,B);return}if(X!==2&&tt&1&&nt)if(X===0)nt.beforeEnter(K),i(K,D,B),He(()=>nt.enter(K),Q);else{const{leave:Tt,delayLeave:Mt,afterLeave:Vt}=nt,Bt=()=>i(K,D,B),ee=()=>{Tt(K,()=>{Bt(),Vt&&Vt()})};Mt?Mt(K,Bt,ee):ee()}else i(K,D,B)},x=(O,D,B,X=!1,Q=!1)=>{const{type:K,props:pt,ref:nt,children:ft,dynamicChildren:tt,shapeFlag:bt,patchFlag:Tt,dirs:Mt}=O;if(nt!=null&&qo(nt,null,B,O,!0),bt&256){D.ctx.deactivate(O);return}const Vt=bt&1&&Mt,Bt=!yr(O);let ee;if(Bt&&(ee=pt&&pt.onVnodeBeforeUnmount)&&_n(ee,D,O),bt&6)j(O.component,B,X);else{if(bt&128){O.suspense.unmount(B,X);return}Vt&&bi(O,null,D,"beforeUnmount"),bt&64?O.type.remove(O,D,B,Q,yt,X):tt&&(K!==ve||Tt>0&&Tt&64)?F(tt,D,B,!1,!0):(K===ve&&Tt&384||!Q&&bt&16)&&F(ft,D,B),X&&I(O)}(Bt&&(ee=pt&&pt.onVnodeUnmounted)||Vt)&&He(()=>{ee&&_n(ee,D,O),Vt&&bi(O,null,D,"unmounted")},B)},I=O=>{const{type:D,el:B,anchor:X,transition:Q}=O;if(D===ve){({}).NODE_ENV!=="production"&&O.patchFlag>0&&O.patchFlag&2048&&Q&&!Q.persisted?O.children.forEach(pt=>{pt.type===Ue?r(pt.el):I(pt)}):R(B,X);return}if(D===vs){Y(O);return}const K=()=>{r(B),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(O.shapeFlag&1&&Q&&!Q.persisted){const{leave:pt,delayLeave:nt}=Q,ft=()=>pt(B,K);nt?nt(O.el,K,ft):ft()}else K()},R=(O,D)=>{let B;for(;O!==D;)B=d(O),r(O),O=B;r(D)},j=(O,D,B)=>{({}).NODE_ENV!=="production"&&O.type.__hmrId&&hd(O);const{bum:X,scope:Q,update:K,subTree:pt,um:nt}=O;X&&lr(X),Q.stop(),K&&(K.active=!1,x(pt,O,D,B)),nt&&He(nt,D),He(()=>{O.isUnmounted=!0},D),D&&D.pendingBranch&&!D.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===D.pendingId&&(D.deps--,D.deps===0&&D.resolve()),{}.NODE_ENV!=="production"&&yd(O)},F=(O,D,B,X=!1,Q=!1,K=0)=>{for(let pt=K;pt<O.length;pt++)x(O[pt],D,B,X,Q)},rt=O=>O.shapeFlag&6?rt(O.component.subTree):O.shapeFlag&128?O.suspense.next():d(O.anchor||O.el);let G=!1;const st=(O,D,B)=>{O==null?D._vnode&&x(D._vnode,null,null,!0):C(D._vnode||null,O,D,null,null,null,B),G||(G=!0,Ul(),Wl(),G=!1),D._vnode=O},yt={p:C,um:x,m:w,r:I,mt:Ut,mc:_t,pc:at,pbc:Et,n:rt,o:e};let St,Ft;return t&&([St,Ft]=t(yt)),{render:st,hydrate:St,createApp:np(st,St)}}function Yo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function wi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function yp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gs(e,t,n=!1){const i=e.children,r=t.children;if(Rt(i)&&Rt(r))for(let s=0;s<i.length;s++){const o=i[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=Jn(r[s]),a.el=o.el),n||gs(o,a)),a.type===wr&&(a.el=o.el),{}.NODE_ENV!=="production"&&a.type===Ue&&!a.el&&(a.el=o.el)}}function _p(e){const t=e.slice(),n=[0];let i,r,s,o,a;const l=e.length;for(i=0;i<l;i++){const p=e[i];if(p!==0){if(r=n[n.length-1],e[r]<p){t[i]=r,n.push(i);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<p?s=a+1:o=a;p<e[n[s]]&&(s>0&&(t[i]=n[s-1]),n[s]=i)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Pc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pc(t)}const bp=e=>e.__isTeleport,ve=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),vs=Symbol.for("v-stc"),Er=[];let fn=null;function xt(e=!1){Er.push(fn=e?null:[])}function xp(){Er.pop(),fn=Er[Er.length-1]||null}let Cr=1;function Ic(e){Cr+=e}function Mc(e){return e.dynamicChildren=Cr>0?fn||Di:null,xp(),Cr>0&&fn&&fn.push(e),e}function At(e,t,n,i,r,s){return Mc(A(e,t,n,i,r,s,!0))}function be(e,t,n,i,r){return Mc(Jt(e,t,n,i,r,!0))}function Vi(e){return e?e.__v_isVNode===!0:!1}function kr(e,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&Ri.has(t.type)?(e.shapeFlag&=-257,t.shapeFlag&=-513,!1):e.type===t.type&&e.key===t.key}const wp=(...e)=>Dc(...e),Ac=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ae(e)||Gt(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function A(e,t=null,n=null,i=0,r=null,s=e===ve?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ac(t),ref:t&&ys(t),scopeId:os,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return a?(Xo(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=_e(n)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&wt("VNode created with invalid key (NaN). VNode type:",l.type),Cr>0&&!o&&fn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&fn.push(l),l}const Jt={}.NODE_ENV!=="production"?wp:Dc;function Dc(e,t=null,n=null,i=0,r=null,s=!1){if((!e||e===Nd)&&({}.NODE_ENV!=="production"&&!e&&wt(`Invalid vnode type when creating vnode: ${e}.`),e=Ue),Vi(e)){const a=Qn(e,t,!0);return n&&Xo(a,n),Cr>0&&!s&&fn&&(a.shapeFlag&6?fn[fn.indexOf(e)]=a:fn.push(a)),a.patchFlag|=-2,a}if(jc(e)&&(e=e.__vccOpts),t){t=Ep(t);let{class:a,style:l}=t;a&&!_e(a)&&(t.class=Ht(a)),ae(l)&&(Eo(l)&&!Rt(l)&&(l=ge({},l)),t.style=Lt(l))}const o=_e(e)?1:Pd(e)?128:bp(e)?64:ae(e)?4:Gt(e)?2:0;return{}.NODE_ENV!=="production"&&o&4&&Eo(e)&&(e=Qt(e),wt("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
22
|
+
Component that was made reactive: `,e)),A(e,t,n,i,r,o,s,!0)}function Ep(e){return e?Eo(e)||yc(e)?ge({},e):e:null}function Qn(e,t,n=!1){const{props:i,ref:r,patchFlag:s,children:o}=e,a=t?Ko(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ac(a),ref:t&&t.ref?n&&r?Rt(r)?r.concat(ys(t)):[r,ys(t)]:ys(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&Rt(o)?o.map(Lc):o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Lc(e){const t=Qn(e);return Rt(e.children)&&(t.children=e.children.map(Lc)),t}function De(e=" ",t=0){return Jt(wr,null,e,t)}function de(e="",t=!1){return t?(xt(),be(Ue,null,e)):Jt(Ue,null,e)}function dn(e){return e==null||typeof e=="boolean"?Jt(Ue):Rt(e)?Jt(ve,null,e.slice()):typeof e=="object"?Jn(e):Jt(wr,null,String(e))}function Jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qn(e)}function Xo(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Rt(t))n=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),Xo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!yc(t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),i&64?(n=16,t=[De(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ko(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const r in i)if(r==="class")t.class!==i.class&&(t.class=Ht([t.class,i.class]));else if(r==="style")t.style=Lt([t.style,i.style]);else if(or(r)){const s=t[r],o=i[r];o&&s!==o&&!(Rt(s)&&s.includes(o))&&(t[r]=s?[].concat(s,o):o)}else r!==""&&(t[r]=i[r])}return t}function _n(e,t,n,i=null){hn(e,t,7,[n,i])}const Cp=mc();let kp=0;function Sp(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||Cp,s={uid:kp++,vnode:e,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Sf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bc(i,r),emitsOptions:Jl(i,r),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:i.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return{}.NODE_ENV!=="production"?s.ctx=Wd(s):s.ctx={_:s},s.root=t?t.root:s,s.emit=wd.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const Tp=()=>Oe||Se;let _s,Zo;{const e=fo(),t=(n,i)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(i),s=>{r.length>1?r.forEach(o=>o(s)):r[0](s)}};_s=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),Zo=t("__VUE_SSR_SETTERS__",n=>bs=n)}const Sr=e=>{const t=Oe;return _s(e),e.scope.on(),()=>{e.scope.off(),_s(t)}},$c=()=>{Oe&&Oe.scope.off(),_s(null)},Np=Ai("slot,component");function Qo(e,{isNativeTag:t}){(Np(e)||t(e))&&wt("Do not use built-in or reserved HTML elements as component id: "+e)}function Rc(e){return e.vnode.shapeFlag&4}let bs=!1;function Op(e,t=!1){t&&Zo(t);const{props:n,children:i}=e.vnode,r=Rc(e);rp(e,n,r,t),dp(e,i);const s=r?Pp(e,t):void 0;return t&&Zo(!1),s}function Pp(e,t){var n;const i=e.type;if({}.NODE_ENV!=="production"){if(i.name&&Qo(i.name,e.appContext.config),i.components){const s=Object.keys(i.components);for(let o=0;o<s.length;o++)Qo(s[o],e.appContext.config)}if(i.directives){const s=Object.keys(i.directives);for(let o=0;o<s.length;o++)oc(s[o])}i.compilerOptions&&Ip()&&wt('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cc),{}.NODE_ENV!=="production"&&qd(e);const{setup:r}=i;if(r){const s=e.setupContext=r.length>1?Ap(e):null,o=Sr(e);kn();const a=Nn(r,e,0,[{}.NODE_ENV!=="production"?Tn(e.props):e.props,s]);if(Sn(),o(),co(a)){if(a.then($c,$c),t)return a.then(l=>{Vc(e,l,t)}).catch(l=>{ur(l,e,0)});if(e.asyncDep=a,{}.NODE_ENV!=="production"&&!e.suspense){const l=(n=i.name)!=null?n:"Anonymous";wt(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Vc(e,a,t)}else Fc(e,t)}function Vc(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)?({}.NODE_ENV!=="production"&&Vi(t)&&wt("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Fl(t),{}.NODE_ENV!=="production"&&Yd(e)):{}.NODE_ENV!=="production"&&t!==void 0&&wt(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Fc(e,n)}let Jo;const Ip=()=>!Jo;function Fc(e,t,n){const i=e.type;if(!e.render){if(!t&&Jo&&!i.render){const r=i.template||Bo(e).template;if(r){({}).NODE_ENV!=="production"&&In(e,"compile");const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,p=ge(ge({isCustomElement:s,delimiters:a},o),l);i.render=Jo(r,p),{}.NODE_ENV!=="production"&&Mn(e,"compile")}}e.render=i.render||Ce}{const r=Sr(e);kn();try{Kd(e)}finally{Sn(),r()}}({}).NODE_ENV!=="production"&&!i.render&&e.render===Ce&&!t&&(i.template?wt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):wt("Component is missing template or render function."))}const zc={}.NODE_ENV!=="production"?{get(e,t){return ls(),Me(e,"get",""),e[t]},set(){return wt("setupContext.attrs is readonly."),!1},deleteProperty(){return wt("setupContext.attrs is readonly."),!1}}:{get(e,t){return Me(e,"get",""),e[t]}};function Mp(e){return e.slotsProxy||(e.slotsProxy=new Proxy(e.slots,{get(t,n){return Me(e,"get","$slots"),t[n]}}))}function Ap(e){const t=n=>{if({}.NODE_ENV!=="production"&&(e.exposed&&wt("expose() should be called only once per setup()."),n!=null)){let i=typeof n;i==="object"&&(Rt(n)?i="array":Ae(n)&&(i="ref")),i!=="object"&&wt(`expose() should be passed a plain object, received ${i}.`)}e.exposed=n||{}};if({}.NODE_ENV!=="production"){let n;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,zc))},get slots(){return Mp(e)},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,zc),slots:e.slots,emit:e.emit,expose:t}}function xs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Fl(Xf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xi)return xi[n](e)},has(t,n){return n in t||n in xi}}))}const Dp=/(?:^|[-_])(\w)/g,Lp=e=>e.replace(Dp,t=>t.toUpperCase()).replace(/[-_]/g,"");function ta(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function ws(e,t,n=!1){let i=ta(t);if(!i&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&e&&e.parent){const r=s=>{for(const o in s)if(s[o]===t)return o};i=r(e.components||e.parent.type.components)||r(e.appContext.components)}return i?Lp(i):n?"App":"Anonymous"}function jc(e){return Gt(e)&&"__vccOpts"in e}const $p=(e,t)=>{const n=Zf(e,t,bs);if({}.NODE_ENV!=="production"){const i=Tp();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Bc(e,t,n){const i=arguments.length;return i===2?ae(t)&&!Rt(t)?Vi(t)?Jt(e,null,[t]):Jt(e,t):Jt(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Vi(n)&&(n=[n]),Jt(e,t,n))}function Rp(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={header(g){return ae(g)?g.__isVue?["div",e,"VueInstance"]:Ae(g)?["div",{},["span",e,m(g)],"<",a(g.value),">"]:Li(g)?["div",{},["span",e,mi(g)?"ShallowReactive":"Reactive"],"<",a(g),`>${pi(g)?" (readonly)":""}`]:pi(g)?["div",{},["span",e,mi(g)?"ShallowReadonly":"Readonly"],"<",a(g),">"]:null:null},hasBody(g){return g&&g.__isVue},body(g){if(g&&g.__isVue)return["div",{},...s(g.$)]}};function s(g){const d=[];g.type.props&&g.props&&d.push(o("props",Qt(g.props))),g.setupState!==ce&&d.push(o("setup",g.setupState)),g.data!==ce&&d.push(o("data",Qt(g.data)));const _=l(g,"computed");_&&d.push(o("computed",_));const N=l(g,"inject");return N&&d.push(o("injected",N)),d.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:g}]]),d}function o(g,d){return d=ge({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},g],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(_=>["div",{},["span",i,_+": "],a(d[_],!1)])]]:["span",{}]}function a(g,d=!0){return typeof g=="number"?["span",t,g]:typeof g=="string"?["span",n,JSON.stringify(g)]:typeof g=="boolean"?["span",i,g]:ae(g)?["object",{object:d?Qt(g):g}]:["span",n,String(g)]}function l(g,d){const _=g.type;if(Gt(_))return;const N={};for(const C in g.ctx)p(_,C,d)&&(N[C]=g.ctx[C]);return N}function p(g,d,_){const N=g[_];if(Rt(N)&&N.includes(d)||ae(N)&&d in N||g.extends&&p(g.extends,d,_)||g.mixins&&g.mixins.some(C=>p(C,d,_)))return!0}function m(g){return mi(g)?"ShallowRef":g.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Gc="3.4.25",Es={}.NODE_ENV!=="production"?wt:Ce;/**
|
|
23
23
|
* @vue/runtime-dom v3.4.25
|
|
24
24
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
25
25
|
* @license MIT
|
|
26
|
-
**/const
|
|
27
|
-
Expected function or array of functions, received type ${typeof
|
|
26
|
+
**/const Vp="http://www.w3.org/2000/svg",Fp="http://www.w3.org/1998/Math/MathML",ti=typeof document<"u"?document:null,Hc=ti&&ti.createElement("template"),zp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r=t==="svg"?ti.createElementNS(Vp,e):t==="mathml"?ti.createElementNS(Fp,e):ti.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:e=>ti.createTextNode(e),createComment:e=>ti.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ti.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,s){const o=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{Hc.innerHTML=i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e;const a=Hc.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jp=Symbol("_vtc");function Bp(e,t,n){const i=e[jp];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Cs=Symbol("_vod"),Uc=Symbol("_vsh"),ks={beforeMount(e,{value:t},{transition:n}){e[Cs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Tr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Tr(e,!0),i.enter(e)):i.leave(e,()=>{Tr(e,!1)}):Tr(e,t))},beforeUnmount(e,{value:t}){Tr(e,t)}};({}).NODE_ENV!=="production"&&(ks.name="show");function Tr(e,t){e.style.display=t?e[Cs]:"none",e[Uc]=!t}const Gp=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Hp=/(^|;)\s*display\s*:/;function Up(e,t,n){const i=e.style,r=_e(n);let s=!1;if(n&&!r){if(t)if(_e(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ss(i,a,"")}else for(const o in t)n[o]==null&&Ss(i,o,"");for(const o in n)o==="display"&&(s=!0),Ss(i,o,n[o])}else if(r){if(t!==n){const o=i[Gp];o&&(n+=";"+o),i.cssText=n,s=Hp.test(n)}}else t&&e.removeAttribute("style");Cs in e&&(e[Cs]=s?i.display:"",e[Uc]&&(i.display="none"))}const Wp=/[^\\];\s*$/,Wc=/\s*!important$/;function Ss(e,t,n){if(Rt(n))n.forEach(i=>Ss(e,t,i));else if(n==null&&(n=""),{}.NODE_ENV!=="production"&&Wp.test(n)&&Es(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const i=qp(e,t);Wc.test(n)?e.setProperty(Je(i),n.replace(Wc,""),"important"):e[i]=n}}const qc=["Webkit","Moz","ms"],ea={};function qp(e,t){const n=ea[t];if(n)return n;let i=Qe(t);if(i!=="filter"&&i in e)return ea[t]=i;i=ui(i);for(let r=0;r<qc.length;r++){const s=qc[r]+i;if(s in e)return ea[t]=s}return t}const Yc="http://www.w3.org/1999/xlink";function Yp(e,t,n,i,r){if(i&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Yc,t.slice(6,t.length)):e.setAttributeNS(Yc,t,n);else{const s=kf(t);n==null||s&&!dl(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Xp(e,t,n,i,r,s,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,r,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const p=a==="OPTION"?e.getAttribute("value")||"":e.value,m=n??"";(p!==m||!("_value"in e))&&(e.value=m),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const p=typeof e[t];p==="boolean"?n=dl(n):n==null&&p==="string"?(n="",l=!0):p==="number"&&(n=0,l=!0)}try{e[t]=n}catch(p){({}).NODE_ENV!=="production"&&!l&&Es(`Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${n} is invalid.`,p)}l&&e.removeAttribute(t)}function Kp(e,t,n,i){e.addEventListener(t,n,i)}function Zp(e,t,n,i){e.removeEventListener(t,n,i)}const Xc=Symbol("_vei");function Qp(e,t,n,i,r=null){const s=e[Xc]||(e[Xc]={}),o=s[t];if(i&&o)o.value={}.NODE_ENV!=="production"?Zc(i,t):i;else{const[a,l]=Jp(t);if(i){const p=s[t]=nm({}.NODE_ENV!=="production"?Zc(i,t):i,r);Kp(e,a,p,l)}else o&&(Zp(e,a,o,l),s[t]=void 0)}}const Kc=/(?:Once|Passive|Capture)$/;function Jp(e){let t;if(Kc.test(e)){t={};let i;for(;i=e.match(Kc);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let na=0;const tm=Promise.resolve(),em=()=>na||(tm.then(()=>na=0),na=Date.now());function nm(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;hn(im(i,n.value),t,5,[i])};return n.value=e,n.attached=em(),n}function Zc(e,t){return Gt(e)||Rt(e)?e:(Es(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
27
|
+
Expected function or array of functions, received type ${typeof e}.`),Ce)}function im(e,t){if(Rt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const Qc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rm=(e,t,n,i,r,s,o,a,l)=>{const p=r==="svg";t==="class"?Bp(e,i,p):t==="style"?Up(e,n,i):or(t)?Hr(t)||Qp(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sm(e,t,i,p))?Xp(e,t,i,s,o,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Yp(e,t,i,p))};function sm(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&Qc(t)&&Gt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 Qc(t)&&_e(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function me(e,t){const n=Kt(e);class i extends ia{constructor(s){super(n,s,t)}}return i.def=n,i}const om=typeof HTMLElement<"u"?HTMLElement:class{};class ia extends om{constructor(t,n={},i){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):({}.NODE_ENV!=="production"&&this.shadowRoot&&Es("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Bl(()=>{this._connected||(tu(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const r of i)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,r=!1)=>{const{props:s,styles:o}=i;let a;if(s&&!Rt(s))for(const l in s){const p=s[l];(p===Number||p&&p.type===Number)&&(l in this._props&&(this._props[l]=hl(this._props[l])),(a||(a=Object.create(null)))[Qe(l)]=!0)}this._numberProps=a,r&&this._resolveProps(i),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(i=>t(i,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,i=Rt(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&i.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of i.map(Qe))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(s){this._setProp(r,s)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const i=Qe(t);this._numberProps&&this._numberProps[i]&&(n=hl(n)),this._setProp(i,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),i&&(n===!0?this.setAttribute(Je(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Je(t),n+""):n||this.removeAttribute(Je(t))))}_update(){tu(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Jt(this._def,ge({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=s=>{this._styles&&(this._styles.forEach(o=>this.shadowRoot.removeChild(o)),this._styles.length=0),this._applyStyles(s),this._instance=null,this._update()});const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};n.emit=(s,...o)=>{i(s,o),Je(s)!==s&&i(Je(s),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ia){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const i=document.createElement("style");i.textContent=n,this.shadowRoot.appendChild(i),{}.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(i)})}}const am=ge({patchProp:rm},zp);let Jc;function lm(){return Jc||(Jc=gp(am))}const tu=(...e)=>{lm().render(...e)};/**
|
|
28
28
|
* vue v3.4.25
|
|
29
29
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
30
|
* @license MIT
|
|
31
|
-
**/function
|
|
31
|
+
**/function cm(){Rp()}({}).NODE_ENV!=="production"&&cm();const Ts=typeof window=="object"&&typeof document=="object";typeof process<"u"&&process.versions!=null&&process.versions.node!=null;const eu=e=>{let t=null;switch(e){case"bin":t=/^[0-1]+$/;break;case"oct":t=/^(0b)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"phone-number":t=/^[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}$/gi;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+@[A-Za-z0-9._-]+$/gm;break;case"ip":t=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;break;case"base64-data":t=/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
|
|
32
32
|
[\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
|
|
33
33
|
|[\u{4E00}-\u{9FCC}]
|
|
34
34
|
|[\u{3400}-\u{4DB5}]
|
|
@@ -37,32 +37,48 @@ Expected function or array of functions, received type ${typeof t}.`),ge)}functi
|
|
|
37
37
|
|[\u{2B740}-\u{2B81D}]
|
|
38
38
|
|[\u{2B820}-\u{2CEAF}]
|
|
39
39
|
|[\u{2CEB0}-\u{2EBEF}]
|
|
40
|
-
`.replace(/\s+/g,""),"u");break;case"mime-image":e=/^image\//;break;case"mime-video":e=/^video\//;break;case"mime-audio":e=/^audio\//;break;case"mime-document-word":e=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":e=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":e=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":e=/^application\/json$/;break;case"mime-document-xml":e=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return e};function ba(t){const e={matchIndex:-1,fullMatch:null,groupMatchs:[]};if(t){e.matchIndex=typeof t.index=="number"?t.index:-1;for(let o=0,n=t.length;o<n;o++)o==0?e.fullMatch=t[o]:e.groupMatchs.push(t[o])}return e}const Rd=(t,e)=>{typeof t=="string"&&(t=ya(t)||new RegExp(t));const o=e.match(t);return ba(o)},_a=(t,e)=>{typeof t=="string"&&(t=ya(t)||new RegExp(t));const o=[],n=e.matchAll(t);for(const i of n)o.push(ba(i));return o},jd=(t,e="")=>(t=t.replace(/\[data-v-[0-9a-zA-Z]*\]/g,e),t);function Po(t,e){const o=t.length,n=e.length;for(let s=0;s<n;s++)t[s]=e[s];let i=Math.max(0,o-n);for(;i>0;)t.pop(),i--}function xa(t,e=12){return+t.toPrecision(e)}function Fd(t,e){let o=+new Date,n;return function(...i){const s=+new Date;s-o<e?(clearTimeout(n),n=setTimeout(()=>{o=s,t.apply(this,i)},e)):(clearTimeout(n),o=s,t.apply(this,i))}}var wa={exports:{}},Qt=typeof Reflect=="object"?Reflect:null,Ea=Qt&&typeof Qt.apply=="function"?Qt.apply:function(e,o,n){return Function.prototype.apply.call(e,o,n)},En;Qt&&typeof Qt.ownKeys=="function"?En=Qt.ownKeys:Object.getOwnPropertySymbols?En=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:En=function(e){return Object.getOwnPropertyNames(e)};function zd(t){console&&console.warn&&console.warn(t)}var Ca=Number.isNaN||function(e){return e!==e};function ce(){ce.init.call(this)}wa.exports=ce,wa.exports.once=Ud,ce.EventEmitter=ce,ce.prototype._events=void 0,ce.prototype._eventsCount=0,ce.prototype._maxListeners=void 0;var ka=10;function Cn(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(ce,"defaultMaxListeners",{enumerable:!0,get:function(){return ka},set:function(t){if(typeof t!="number"||t<0||Ca(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");ka=t}}),ce.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ce.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Ca(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Na(t){return t._maxListeners===void 0?ce.defaultMaxListeners:t._maxListeners}ce.prototype.getMaxListeners=function(){return Na(this)},ce.prototype.emit=function(e){for(var o=[],n=1;n<arguments.length;n++)o.push(arguments[n]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var r;if(o.length>0&&(r=o[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var l=s[e];if(l===void 0)return!1;if(typeof l=="function")Ea(l,this,o);else for(var c=l.length,d=Da(l,c),n=0;n<c;++n)Ea(d[n],this,o);return!0};function Oa(t,e,o,n){var i,s,r;if(Cn(o),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,o.listener?o.listener:o),s=t._events),r=s[e]),r===void 0)r=s[e]=o,++t._eventsCount;else if(typeof r=="function"?r=s[e]=n?[o,r]:[r,o]:n?r.unshift(o):r.push(o),i=Na(t),i>0&&r.length>i&&!r.warned){r.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=r.length,zd(a)}return t}ce.prototype.addListener=function(e,o){return Oa(this,e,o,!1)},ce.prototype.on=ce.prototype.addListener,ce.prototype.prependListener=function(e,o){return Oa(this,e,o,!0)};function Hd(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Sa(t,e,o){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:o},i=Hd.bind(n);return i.listener=o,n.wrapFn=i,i}ce.prototype.once=function(e,o){return Cn(o),this.on(e,Sa(this,e,o)),this},ce.prototype.prependOnceListener=function(e,o){return Cn(o),this.prependListener(e,Sa(this,e,o)),this},ce.prototype.removeListener=function(e,o){var n,i,s,r,a;if(Cn(o),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===o||n.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||o));else if(typeof n!="function"){for(s=-1,r=n.length-1;r>=0;r--)if(n[r]===o||n[r].listener===o){a=n[r].listener,s=r;break}if(s<0)return this;s===0?n.shift():Bd(n,s),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||o)}return this},ce.prototype.off=ce.prototype.removeListener,ce.prototype.removeAllListeners=function(e){var o,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var s=Object.keys(n),r;for(i=0;i<s.length;++i)r=s[i],r!=="removeListener"&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=n[e],typeof o=="function")this.removeListener(e,o);else if(o!==void 0)for(i=o.length-1;i>=0;i--)this.removeListener(e,o[i]);return this};function $a(t,e,o){var n=t._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?o?[i.listener||i]:[i]:o?Wd(i):Da(i,i.length)}ce.prototype.listeners=function(e){return $a(this,e,!0)},ce.prototype.rawListeners=function(e){return $a(this,e,!1)},ce.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Ta.call(t,e)},ce.prototype.listenerCount=Ta;function Ta(t){var e=this._events;if(e!==void 0){var o=e[t];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}ce.prototype.eventNames=function(){return this._eventsCount>0?En(this._events):[]};function Da(t,e){for(var o=new Array(e),n=0;n<e;++n)o[n]=t[n];return o}function Bd(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function Wd(t){for(var e=new Array(t.length),o=0;o<e.length;++o)e[o]=t[o].listener||t[o];return e}function Ud(t,e){return new Promise(function(o,n){function i(r){t.removeListener(e,s),n(r)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),o([].slice.call(arguments))}Pa(t,e,s,{once:!0}),e!=="error"&&Gd(t,i,{once:!0})})}function Gd(t,e,o){typeof t.on=="function"&&Pa(t,"error",e,o)}function Pa(t,e,o,n){if(typeof t.on=="function")n.once?t.once(e,o):t.on(e,o);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){n.once&&t.removeEventListener(e,i),o(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}const Lo=/^[a-z0-9]+(-[a-z0-9]+)*$/,kn=(t,e,o,n="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const a=i.pop(),l=i.pop(),c={provider:i.length>0?i[0]:n,prefix:l,name:a};return e&&!Nn(c)?null:c}const s=i[0],r=s.split("-");if(r.length>1){const a={provider:n,prefix:r.shift(),name:r.join("-")};return e&&!Nn(a)?null:a}if(o&&n===""){const a={provider:n,prefix:"",name:s};return e&&!Nn(a,o)?null:a}return null},Nn=(t,e)=>t?!!((t.provider===""||t.provider.match(Lo))&&(e&&t.prefix===""||t.prefix.match(Lo))&&t.name.match(Lo)):!1,La=Object.freeze({left:0,top:0,width:16,height:16}),On=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sn=Object.freeze({...La,...On}),Ai=Object.freeze({...Sn,body:"",hidden:!1});function Kd(t,e){const o={};!t.hFlip!=!e.hFlip&&(o.hFlip=!0),!t.vFlip!=!e.vFlip&&(o.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(o.rotate=n),o}function Va(t,e){const o=Kd(t,e);for(const n in Ai)n in On?n in t&&!(n in o)&&(o[n]=On[n]):n in e?o[n]=e[n]:n in t&&(o[n]=t[n]);return o}function qd(t,e){const o=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);function s(r){if(o[r])return i[r]=[];if(!(r in i)){i[r]=null;const a=n[r]&&n[r].parent,l=a&&s(a);l&&(i[r]=[a].concat(l))}return i[r]}return(e||Object.keys(o).concat(Object.keys(n))).forEach(s),i}function Yd(t,e,o){const n=t.icons,i=t.aliases||Object.create(null);let s={};function r(a){s=Va(n[a]||i[a],s)}return r(e),o.forEach(r),Va(t,s)}function Ia(t,e){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{e(i,null),o.push(i)});const n=qd(t);for(const i in n){const s=n[i];s&&(e(i,Yd(t,i,s)),o.push(i))}return o}const Zd={provider:"",aliases:{},not_found:{},...La};function Ri(t,e){for(const o in e)if(o in t&&typeof t[o]!=typeof e[o])return!1;return!0}function Ma(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ri(t,Zd))return null;const o=e.icons;for(const i in o){const s=o[i];if(!i.match(Lo)||typeof s.body!="string"||!Ri(s,Ai))return null}const n=e.aliases||Object.create(null);for(const i in n){const s=n[i],r=s.parent;if(!i.match(Lo)||typeof r!="string"||!o[r]&&!n[r]||!Ri(s,Ai))return null}return e}const Aa=Object.create(null);function Xd(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function Wt(t,e){const o=Aa[t]||(Aa[t]=Object.create(null));return o[e]||(o[e]=Xd(t,e))}function ji(t,e){return Ma(e)?Ia(e,(o,n)=>{n?t.icons[o]=n:t.missing.add(o)}):[]}function Jd(t,e,o){try{if(typeof o.body=="string")return t.icons[e]={...o},!0}catch{}return!1}let Vo=!1;function Ra(t){return typeof t=="boolean"&&(Vo=t),Vo}function Qd(t){const e=typeof t=="string"?kn(t,!0,Vo):t;if(e){const o=Wt(e.provider,e.prefix),n=e.name;return o.icons[n]||(o.missing.has(n)?null:void 0)}}function ef(t,e){const o=kn(t,!0,Vo);if(!o)return!1;const n=Wt(o.provider,o.prefix);return Jd(n,o.name,e)}function tf(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),Vo&&!e&&!t.prefix){let i=!1;return Ma(t)&&(t.prefix="",Ia(t,(s,r)=>{r&&ef(s,r)&&(i=!0)})),i}const o=t.prefix;if(!Nn({provider:e,prefix:o,name:"a"}))return!1;const n=Wt(e,o);return!!ji(n,t)}const ja=Object.freeze({width:null,height:null}),Fa=Object.freeze({...ja,...On}),of=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nf=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function za(t,e,o){if(e===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*e*o)/o;if(typeof t!="string")return t;const n=t.split(of);if(n===null||!n.length)return t;const i=[];let s=n.shift(),r=nf.test(s);for(;;){if(r){const a=parseFloat(s);isNaN(a)?i.push(s):i.push(Math.ceil(a*e*o)/o)}else i.push(s);if(s=n.shift(),s===void 0)return i.join("");r=!r}}function sf(t,e="defs"){let o="";const n=t.indexOf("<"+e);for(;n>=0;){const i=t.indexOf(">",n),s=t.indexOf("</"+e);if(i===-1||s===-1)break;const r=t.indexOf(">",s);if(r===-1)break;o+=t.slice(i+1,s).trim(),t=t.slice(0,n).trim()+t.slice(r+1)}return{defs:o,content:t}}function rf(t,e){return t?"<defs>"+t+"</defs>"+e:e}function af(t,e,o){const n=sf(t);return rf(n.defs,e+n.content+o)}const lf=t=>t==="unset"||t==="undefined"||t==="none";function cf(t,e){const o={...Sn,...t},n={...Fa,...e},i={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(y=>{const k=[],A=y.hFlip,$=y.vFlip;let z=y.rotate;A?$?z+=2:(k.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),k.push("scale(-1 1)"),i.top=i.left=0):$&&(k.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),k.push("scale(1 -1)"),i.top=i.left=0);let G;switch(z<0&&(z-=Math.floor(z/4)*4),z=z%4,z){case 1:G=i.height/2+i.top,k.unshift("rotate(90 "+G.toString()+" "+G.toString()+")");break;case 2:k.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:G=i.width/2+i.left,k.unshift("rotate(-90 "+G.toString()+" "+G.toString()+")");break}z%2===1&&(i.left!==i.top&&(G=i.left,i.left=i.top,i.top=G),i.width!==i.height&&(G=i.width,i.width=i.height,i.height=G)),k.length&&(s=af(s,'<g transform="'+k.join(" ")+'">',"</g>"))});const r=n.width,a=n.height,l=i.width,c=i.height;let d,f;r===null?(f=a===null?"1em":a==="auto"?c:a,d=za(f,l/c)):(d=r==="auto"?l:r,f=a===null?za(d,c/l):a==="auto"?c:a);const u={},v=(y,k)=>{lf(k)||(u[y]=k.toString())};v("width",d),v("height",f);const b=[i.left,i.top,l,c];return u.viewBox=b.join(" "),{attributes:u,viewBox:b,body:s}}const uf=/\sid="(\S+)"/g,df="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ff=0;function pf(t,e=df){const o=[];let n;for(;n=uf.exec(t);)o.push(n[1]);if(!o.length)return t;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(s=>{const r=typeof e=="function"?e(s):e+(ff++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}const Fi=Object.create(null);function hf(t,e){Fi[t]=e}function zi(t){return Fi[t]||Fi[""]}function Hi(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Bi=Object.create(null),Io=["https://api.simplesvg.com","https://api.unisvg.com"],$n=[];for(;Io.length>0;)Io.length===1||Math.random()>.5?$n.push(Io.shift()):$n.push(Io.pop());Bi[""]=Hi({resources:["https://api.iconify.design"].concat($n)});function mf(t,e){const o=Hi(e);return o===null?!1:(Bi[t]=o,!0)}function Wi(t){return Bi[t]}let Ha=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function vf(t,e){const o=Wi(t);if(!o)return 0;let n;if(!o.maxURL)n=0;else{let i=0;o.resources.forEach(r=>{i=Math.max(i,r.length)});const s=e+".json?icons=";n=o.maxURL-i-o.path.length-s.length}return n}function gf(t){return t===404}const yf=(t,e,o)=>{const n=[],i=vf(t,e),s="icons";let r={type:s,provider:t,prefix:e,icons:[]},a=0;return o.forEach((l,c)=>{a+=l.length+1,a>=i&&c>0&&(n.push(r),r={type:s,provider:t,prefix:e,icons:[]},a=l.length),r.icons.push(l)}),n.push(r),n};function bf(t){if(typeof t=="string"){const e=Wi(t);if(e)return e.path}return"/"}const _f={prepare:yf,send:(t,e,o)=>{if(!Ha){o("abort",424);return}let n=bf(e.provider);switch(e.type){case"icons":{const s=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});n+=s+".json?"+l.toString();break}case"custom":{const s=e.uri;n+=s.slice(0,1)==="/"?s.slice(1):s;break}default:o("abort",400);return}let i=503;Ha(t+n).then(s=>{const r=s.status;if(r!==200){setTimeout(()=>{o(gf(r)?"abort":"next",r)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?o("abort",s):o("next",i)});return}setTimeout(()=>{o("success",s)})}).catch(()=>{o("next",i)})}};function xf(t){const e={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let n={provider:"",prefix:"",name:""};return t.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const s=i.provider,r=i.prefix,a=i.name,l=o[s]||(o[s]=Object.create(null)),c=l[r]||(l[r]=Wt(s,r));let d;a in c.icons?d=e.loaded:r===""||c.missing.has(a)?d=e.missing:d=e.pending;const f={provider:s,prefix:r,name:a};d.push(f)}),e}function Ba(t,e){t.forEach(o=>{const n=o.loaderCallbacks;n&&(o.loaderCallbacks=n.filter(i=>i.id!==e))})}function wf(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let o=!1;const n=t.provider,i=t.prefix;e.forEach(s=>{const r=s.icons,a=r.pending.length;r.pending=r.pending.filter(l=>{if(l.prefix!==i)return!0;const c=l.name;if(t.icons[c])r.loaded.push({provider:n,prefix:i,name:c});else if(t.missing.has(c))r.missing.push({provider:n,prefix:i,name:c});else return o=!0,!0;return!1}),r.pending.length!==a&&(o||Ba([t],s.id),s.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),s.abort))})}))}let Ef=0;function Cf(t,e,o){const n=Ef++,i=Ba.bind(null,o,n);if(!e.pending.length)return i;const s={id:n,icons:e,callback:t,abort:i};return o.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(s)}),i}function kf(t,e=!0,o=!1){const n=[];return t.forEach(i=>{const s=typeof i=="string"?kn(i,e,o):i;s&&n.push(s)}),n}var Nf={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Of(t,e,o,n){const i=t.resources.length,s=t.random?Math.floor(Math.random()*i):t.index;let r;if(t.random){let M=t.resources.slice(0);for(r=[];M.length>1;){const I=Math.floor(Math.random()*M.length);r.push(M[I]),M=M.slice(0,I).concat(M.slice(I+1))}r=r.concat(M)}else r=t.resources.slice(s).concat(t.resources.slice(0,s));const a=Date.now();let l="pending",c=0,d,f=null,u=[],v=[];typeof n=="function"&&v.push(n);function b(){f&&(clearTimeout(f),f=null)}function y(){l==="pending"&&(l="aborted"),b(),u.forEach(M=>{M.status==="pending"&&(M.status="aborted")}),u=[]}function k(M,I){I&&(v=[]),typeof M=="function"&&v.push(M)}function A(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:u.length,subscribe:k,abort:y}}function $(){l="failed",v.forEach(M=>{M(void 0,d)})}function z(){u.forEach(M=>{M.status==="pending"&&(M.status="aborted")}),u=[]}function G(M,I,he){const ve=I!=="success";switch(u=u.filter(Te=>Te!==M),l){case"pending":break;case"failed":if(ve||!t.dataAfterTimeout)return;break;default:return}if(I==="abort"){d=he,$();return}if(ve){d=he,u.length||(r.length?ne():$());return}if(b(),z(),!t.random){const Te=t.resources.indexOf(M.resource);Te!==-1&&Te!==t.index&&(t.index=Te)}l="completed",v.forEach(Te=>{Te(he)})}function ne(){if(l!=="pending")return;b();const M=r.shift();if(M===void 0){if(u.length){f=setTimeout(()=>{b(),l==="pending"&&(z(),$())},t.timeout);return}$();return}const I={status:"pending",resource:M,callback:(he,ve)=>{G(I,he,ve)}};u.push(I),c++,f=setTimeout(ne,t.rotate),o(M,e,I.callback)}return setTimeout(ne),A}function Wa(t){const e={...Nf,...t};let o=[];function n(){o=o.filter(a=>a().status==="pending")}function i(a,l,c){const d=Of(e,a,l,(f,u)=>{n(),c&&c(f,u)});return o.push(d),d}function s(a){return o.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:n}}function Ua(){}const Ui=Object.create(null);function Sf(t){if(!Ui[t]){const e=Wi(t);if(!e)return;const o=Wa(e),n={config:e,redundancy:o};Ui[t]=n}return Ui[t]}function $f(t,e,o){let n,i;if(typeof t=="string"){const s=zi(t);if(!s)return o(void 0,424),Ua;i=s.send;const r=Sf(t);r&&(n=r.redundancy)}else{const s=Hi(t);if(s){n=Wa(s);const r=t.resources?t.resources[0]:"",a=zi(r);a&&(i=a.send)}}return!n||!i?(o(void 0,424),Ua):n.query(e,i,o)().abort}const Ga="iconify2",Mo="iconify",Ka=Mo+"-count",qa=Mo+"-version",Ya=36e5,Tf=168,Df=50;function Gi(t,e){try{return t.getItem(e)}catch{}}function Ki(t,e,o){try{return t.setItem(e,o),!0}catch{}}function Za(t,e){try{t.removeItem(e)}catch{}}function qi(t,e){return Ki(t,Ka,e.toString())}function Yi(t){return parseInt(Gi(t,Ka))||0}const Tn={local:!0,session:!0},Xa={local:new Set,session:new Set};let Zi=!1;function Pf(t){Zi=t}let Dn=typeof window>"u"?{}:window;function Ja(t){const e=t+"Storage";try{if(Dn&&Dn[e]&&typeof Dn[e].length=="number")return Dn[e]}catch{}Tn[t]=!1}function Qa(t,e){const o=Ja(t);if(!o)return;const n=Gi(o,qa);if(n!==Ga){if(n){const a=Yi(o);for(let l=0;l<a;l++)Za(o,Mo+l.toString())}Ki(o,qa,Ga),qi(o,0);return}const i=Math.floor(Date.now()/Ya)-Tf,s=a=>{const l=Mo+a.toString(),c=Gi(o,l);if(typeof c=="string"){try{const d=JSON.parse(c);if(typeof d=="object"&&typeof d.cached=="number"&&d.cached>i&&typeof d.provider=="string"&&typeof d.data=="object"&&typeof d.data.prefix=="string"&&e(d,a))return!0}catch{}Za(o,l)}};let r=Yi(o);for(let a=r-1;a>=0;a--)s(a)||(a===r-1?(r--,qi(o,r)):Xa[t].add(a))}function el(){if(!Zi){Pf(!0);for(const t in Tn)Qa(t,e=>{const o=e.data,n=e.provider,i=o.prefix,s=Wt(n,i);if(!ji(s,o).length)return!1;const r=o.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,r):r,!0})}}function Lf(t,e){const o=t.lastModifiedCached;if(o&&o>=e)return o===e;if(t.lastModifiedCached=e,o)for(const n in Tn)Qa(n,i=>{const s=i.data;return i.provider!==t.provider||s.prefix!==t.prefix||s.lastModified===e});return!0}function Vf(t,e){Zi||el();function o(n){let i;if(!Tn[n]||!(i=Ja(n)))return;const s=Xa[n];let r;if(s.size)s.delete(r=Array.from(s).shift());else if(r=Yi(i),r>=Df||!qi(i,r+1))return;const a={cached:Math.floor(Date.now()/Ya),provider:t.provider,data:e};return Ki(i,Mo+r.toString(),JSON.stringify(a))}e.lastModified&&!Lf(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),o("local")||o("session"))}function tl(){}function If(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,wf(t)}))}function Mf(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:n}=t,i=t.iconsToLoad;delete t.iconsToLoad;let s;if(!i||!(s=zi(o)))return;s.prepare(o,n,i).forEach(a=>{$f(o,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{t.missing.add(c)});else try{const c=ji(t,l);if(!c.length)return;const d=t.pendingIcons;d&&c.forEach(f=>{d.delete(f)}),Vf(t,l)}catch(c){console.error(c)}If(t)})})}))}const Af=(t,e)=>{const o=kf(t,!0,Ra()),n=xf(o);if(!n.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(n.loaded,n.missing,n.pending,tl)}),()=>{l=!1}}const i=Object.create(null),s=[];let r,a;return n.pending.forEach(l=>{const{provider:c,prefix:d}=l;if(d===a&&c===r)return;r=c,a=d,s.push(Wt(c,d));const f=i[c]||(i[c]=Object.create(null));f[d]||(f[d]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:d,name:f}=l,u=Wt(c,d),v=u.pendingIcons||(u.pendingIcons=new Set);v.has(f)||(v.add(f),i[c][d].push(f))}),s.forEach(l=>{const{provider:c,prefix:d}=l;i[c][d].length&&Mf(l,i[c][d])}),e?Cf(e,n,s):tl};function Rf(t,e){const o={...t};for(const n in e){const i=e[n],s=typeof i;n in ja?(i===null||i&&(s==="string"||s==="number"))&&(o[n]=i):s===typeof o[n]&&(o[n]=n==="rotate"?i%4:i)}return o}const jf=/[\s,]+/;function Ff(t,e){e.split(jf).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function zf(t,e=0){const o=t.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:n(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(t.slice(0,t.length-o.length));return isNaN(s)?0:(s=s/i,s%1===0?n(s):0)}}return e}function Hf(t,e){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in e)o+=" "+n+'="'+e[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Bf(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Wf(t){return"data:image/svg+xml,"+Bf(t)}function Uf(t){return'url("'+Wf(t)+'")'}const ol={...Fa,inline:!1},Gf={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Kf={display:"inline-block"},Xi={backgroundColor:"currentColor"},nl={backgroundColor:"transparent"},il={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},sl={webkitMask:Xi,mask:Xi,background:nl};for(const t in sl){const e=sl[t];for(const o in il)e[t+o]=il[o]}const Pn={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Pn[t+"-flip"]=e,Pn[t.slice(0,1)+"-flip"]=e,Pn[t+"Flip"]=e});function rl(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const al=(t,e)=>{const o=Rf(ol,e),n={...Gf},i=e.mode||"svg",s={},r=e.style,a=typeof r=="object"&&!(r instanceof Array)?r:{};for(let y in e){const k=e[y];if(k!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[y]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Ff(o,k);break;case"color":s.color=k;break;case"rotate":typeof k=="string"?o[y]=zf(k):typeof k=="number"&&(o[y]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete n["aria-hidden"];break;default:{const A=Pn[y];A?(k===!0||k==="true"||k===1)&&(o[A]=!0):ol[y]===void 0&&(n[y]=k)}}}const l=cf(t,o),c=l.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),i==="svg"){n.style={...s,...a},Object.assign(n,c);let y=0,k=e.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),n.innerHTML=pf(l.body,k?()=>k+"ID"+y++:"iconifyVue"),sa("svg",n)}const{body:d,width:f,height:u}=t,v=i==="mask"||(i==="bg"?!1:d.indexOf("currentColor")!==-1),b=Hf(d,{...c,width:f+"",height:u+""});return n.style={...s,"--svg":Uf(b),width:rl(c.width),height:rl(c.height),...Kf,...v?Xi:nl,...a},sa("span",n)};if(Ra(!0),hf("",_f),typeof document<"u"&&typeof window<"u"){el();const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!tf(n))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let o in e){const n="IconifyProviders["+o+"] is invalid.";try{const i=e[o];if(typeof i!="object"||!i||i.resources===void 0)continue;mf(o,i)||console.error(n)}catch{console.error(n)}}}}const qf={...Sn,body:""},ll=X({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,e){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=kn(t,!1,!0))===null)return this.abortLoading(),null;const n=Qd(o);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:t,abort:Af([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,e&&e(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:n,classes:i}}},render(){this.counter;const t=this.$attrs,e=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!e)return al(qf,t);let o=t;return e.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+e.classes.join(" ")}),al({...Sn,...e.data},o)}});function cl(){return document.compatMode=="BackCompat"?document.body:document.documentElement}function ul(){const t=cl();return{scrollTop:t.scrollTop,scrollLeft:t.scrollLeft,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight}}function Yf(){const t=cl();return{clientTop:t.clientTop,clientLeft:t.clientLeft,clientWidth:t.clientWidth,clientHeight:t.clientHeight}}function Ji(){const{clientWidth:t,clientHeight:e}=Yf();return{width:t,height:e}}function Zf(t){const{top:e,left:o}=t.getBoundingClientRect(),n=ul();return{x:o+n.scrollLeft,y:e+n.scrollTop}}function Xf(t){if(t.pageX&&t.pageY)return{x:t.pageX,y:t.pageY};const e=ul();return{x:t.clientX+e.scrollLeft,y:t.clientY+e.scrollTop}}function ft(t,e){const o=Xf(e),n=Zf(t);return{x:o.x-n.x,y:o.y-n.y}}function dl(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}function Jf(){const t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){const i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}const n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}const Qi=Jf()!==-1;(()=>{const t=dl();return!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL)})(),function(){if(!dl().OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),o=e.getContext("2d");o.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch{return!1}return!0}();function Qf(t){var e=document.documentElement,o=window.top===window.self?window.devicePixelRatio:1;e.dataset.dpr=o;var n=100,i=function(){var s=Math.min(e.clientWidth,t);e.dataset.width=s,e.dataset.rem=n=Math.round(100*(s/t)),e.style.fontSize=n+"px"};i(),window.rem2px=function(s){return s=parseFloat(s),s*n},window.px2rem=function(s){return s=parseFloat(s),s/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",i,!1)}class q{static onDocumentReady(e){function o(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",o))}typeof document<"u"&&(document.addEventListener("DOMContentLoaded",o),o())}static getCSSVar(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}static setCSSVar(e,o){document.documentElement.style.setProperty(e,o)}static safeExec(e){const o=new Proxy(window,{get(n,i,s){if(typeof i=="string"&&["open","location","document"].includes(i))throw new Error(`禁止访问 key: ${i}`);return i==="window"?o:Reflect.get(n,i,s)},set(n,i,s,r){return Reflect.set(n,i,s,r)}});new Function("window",`with(window) { ${e} }`)(o,null)}static dom=new Proxy({},{get(e,o){return function(n={},...i){const s=document.createElement(o);for(const r of Object.keys(n))s.setAttribute(r,n[r]);for(const r of i)typeof r=="string"?s.appendChild(document.createTextNode(r)):s.appendChild(r);return s}}});static compileTemplate(e){return e=e.replace(/<%=(.+?)%>/g,"`); \n echo( $1 ); \n echo(`").replace(/<%([\s\S]+?)%>/g,"`); \n $1 \n echo(`"),e="echo(`"+e+"`);",`(function parse(data){
|
|
40
|
+
`.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t};function nu(e){const t={matchIndex:-1,fullMatch:null,groupMatchs:[]};if(e){t.matchIndex=typeof e.index=="number"?e.index:-1;for(let n=0,i=e.length;n<i;n++)n==0?t.fullMatch=e[n]:t.groupMatchs.push(e[n])}return t}const um=(e,t)=>{typeof e=="string"&&(e=eu(e)||new RegExp(e));const n=t.match(e);return nu(n)},iu=(e,t)=>{typeof e=="string"&&(e=eu(e)||new RegExp(e));const n=[],i=t.matchAll(e);for(const r of i)n.push(nu(r));return n};function ru(e){return e.replace(/(^\w|[_-]\w)/g,function(t){return t.slice(-1).toUpperCase()})}const hm=(e,t="")=>(e=e.replace(/\[data-v-[0-9a-zA-Z]*\]/g,t),e);function fm(e){const t=typeof e;return t!=="object"?t:Object.prototype.toString.call(e).replace(/^\[object (\S+)\]$/,"$1").toLowerCase()}function dm(e){return fm(e)==="object"}function su(e,t=new WeakMap){if(e==null)return e;if(e.constructor===Date)return new Date(e);if(e.constructor===RegExp)return new RegExp(e);if(typeof e!="object")return e;if(t.has(e))return t.get(e);const n=Object.getOwnPropertyDescriptors(e),i=Object.create(Object.getPrototypeOf(e),n);t.set(e,i);for(const r of Reflect.ownKeys(e))i[r]=dm(e[r])?su(e[r],t):e[r];return i}function Nr(e,t){const n=e.length,i=t.length;for(let s=0;s<i;s++)e[s]=t[s];let r=Math.max(0,n-i);for(;r>0;)e.pop(),r--}function ou(e,t=12){return+e.toPrecision(t)}class au{queue=[];results=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){this.concurrency=t,this.rs=new ReadableStream({start:async n=>{this.controller=n}})}get readableStream(){return this.rs}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const n=await Promise.allSettled(t.map(i=>i()));this.results.push(...n),n.forEach(i=>{i.status=="fulfilled"?this.controller?.enqueue(i.value):i.status=="rejected"&&this.controller?.enqueue(new Error(i.reason))}),this.activeTaskCount-=n.length}}}var pm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ra(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lu={exports:{}},Fi=typeof Reflect=="object"?Reflect:null,cu=Fi&&typeof Fi.apply=="function"?Fi.apply:function(t,n,i){return Function.prototype.apply.call(t,n,i)},Ns;Fi&&typeof Fi.ownKeys=="function"?Ns=Fi.ownKeys:Object.getOwnPropertySymbols?Ns=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Ns=function(t){return Object.getOwnPropertyNames(t)};function mm(e){console&&console.warn&&console.warn(e)}var uu=Number.isNaN||function(t){return t!==t};function ue(){ue.init.call(this)}lu.exports=ue,lu.exports.once=_m,ue.EventEmitter=ue,ue.prototype._events=void 0,ue.prototype._eventsCount=0,ue.prototype._maxListeners=void 0;var hu=10;function Os(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ue,"defaultMaxListeners",{enumerable:!0,get:function(){return hu},set:function(e){if(typeof e!="number"||e<0||uu(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");hu=e}}),ue.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ue.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||uu(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function fu(e){return e._maxListeners===void 0?ue.defaultMaxListeners:e._maxListeners}ue.prototype.getMaxListeners=function(){return fu(this)},ue.prototype.emit=function(t){for(var n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);var r=t==="error",s=this._events;if(s!==void 0)r=r&&s.error===void 0;else if(!r)return!1;if(r){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var l=s[t];if(l===void 0)return!1;if(typeof l=="function")cu(l,this,n);else for(var p=l.length,m=vu(l,p),i=0;i<p;++i)cu(m[i],this,n);return!0};function du(e,t,n,i){var r,s,o;if(Os(n),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]),o===void 0)o=s[t]=n,++e._eventsCount;else if(typeof o=="function"?o=s[t]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),r=fu(e),r>0&&o.length>r&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,mm(a)}return e}ue.prototype.addListener=function(t,n){return du(this,t,n,!1)},ue.prototype.on=ue.prototype.addListener,ue.prototype.prependListener=function(t,n){return du(this,t,n,!0)};function gm(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function pu(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=gm.bind(i);return r.listener=n,i.wrapFn=r,r}ue.prototype.once=function(t,n){return Os(n),this.on(t,pu(this,t,n)),this},ue.prototype.prependOnceListener=function(t,n){return Os(n),this.prependListener(t,pu(this,t,n)),this},ue.prototype.removeListener=function(t,n){var i,r,s,o,a;if(Os(n),r=this._events,r===void 0)return this;if(i=r[t],i===void 0)return this;if(i===n||i.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,i.listener||n));else if(typeof i!="function"){for(s=-1,o=i.length-1;o>=0;o--)if(i[o]===n||i[o].listener===n){a=i[o].listener,s=o;break}if(s<0)return this;s===0?i.shift():vm(i,s),i.length===1&&(r[t]=i[0]),r.removeListener!==void 0&&this.emit("removeListener",t,a||n)}return this},ue.prototype.off=ue.prototype.removeListener,ue.prototype.removeAllListeners=function(t){var n,i,r;if(i=this._events,i===void 0)return this;if(i.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):i[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[t]),this;if(arguments.length===0){var s=Object.keys(i),o;for(r=0;r<s.length;++r)o=s[r],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=i[t],typeof n=="function")this.removeListener(t,n);else if(n!==void 0)for(r=n.length-1;r>=0;r--)this.removeListener(t,n[r]);return this};function mu(e,t,n){var i=e._events;if(i===void 0)return[];var r=i[t];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?ym(r):vu(r,r.length)}ue.prototype.listeners=function(t){return mu(this,t,!0)},ue.prototype.rawListeners=function(t){return mu(this,t,!1)},ue.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):gu.call(e,t)},ue.prototype.listenerCount=gu;function gu(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}ue.prototype.eventNames=function(){return this._eventsCount>0?Ns(this._events):[]};function vu(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function vm(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function ym(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function _m(e,t){return new Promise(function(n,i){function r(o){e.removeListener(t,s),i(o)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",r),n([].slice.call(arguments))}yu(e,t,s,{once:!0}),t!=="error"&&bm(e,r,{once:!0})})}function bm(e,t,n){typeof e.on=="function"&&yu(e,"error",t,n)}function yu(e,t,n,i){if(typeof e.on=="function")i.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener=="function")e.addEventListener(t,function r(s){i.once&&e.removeEventListener(t,r),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}class xm{events;constructor(){this.events={}}on(t,n){this.events[t]||(this.events[t]=[]),this.events[t].push(n)}addListener(t,n){this.on(t,n)}prependListener(t,n){this.events[t]||(this.events[t]=[]),this.events[t].unshift(n)}removeListener(t,n){this.events[t]&&(this.events[t]=this.events[t].filter(i=>i!==n))}off(t,n){this.removeListener(t,n)}removeAllListeners(t){t?this.events[t]=[]:this.events={}}emit(t,...n){this.events[t]&&this.events[t].forEach(i=>{Reflect.apply(i,this,n)})}once(t,n){const r=(()=>{let s=!1;return(...o)=>{s||(s=!0,Reflect.apply(n,this,o),this.off(t,r))}})();this.on(t,r)}}var _u=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function wm(e,t={}){var n=1,i=1;function r(at){var mt=at.match(/\n/g);mt&&(n+=mt.length);var S=at.lastIndexOf(`
|
|
41
|
+
`);i=~S?at.length-S:i+at.length}function s(){var at={line:n,column:i};return function(mt){return mt.position=new o(at),N(),mt}}function o(at){this.start=at,this.end={line:n,column:i},this.source=t.source}o.prototype.content=e;var a=[];function l(at){var mt=new Error(t.source+":"+n+":"+i+": "+at);if(mt.reason=at,mt.filename=t.source,mt.line=n,mt.column=i,mt.source=e,t.silent)a.push(mt);else throw mt}function p(){var at=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:at,parsingErrors:a}}}function m(){return _(/^{\s*/)}function g(){return _(/^}/)}function d(){var at,mt=[];for(N(),C(mt);e.length&&e.charAt(0)!="}"&&(at=Ot()||W());)at!==!1&&(mt.push(at),C(mt));return mt}function _(at){var mt=at.exec(e);if(mt){var S=mt[0];return r(S),e=e.slice(S.length),mt}}function N(){_(/^\s*/)}function C(at){var mt;for(at=at||[];mt=M();)mt!==!1&&at.push(mt);return at}function M(){var at=s();if(!(e.charAt(0)!="/"||e.charAt(1)!="*")){for(var mt=2;e.charAt(mt)!=""&&(e.charAt(mt)!="*"||e.charAt(mt+1)!="/");)++mt;if(mt+=2,e.charAt(mt-1)==="")return l("End of comment missing");var S=e.slice(2,mt-2);return i+=2,r(S),e=e.slice(mt),i+=2,at({type:"comment",comment:S})}}function z(){var at=_(/^([^{]+)/);if(at)return An(at[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(mt){return mt.replace(/,/g,"")}).split(/\s*(?![^(]*\)),\s*/).map(function(mt){return mt.replace(/\u200C/g,",")})}function P(){var at=s(),mt=_(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(mt){if(mt=An(mt[0]),!_(/^:\s*/))return l("property missing ':'");var S=_(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),w=at({type:"declaration",property:mt.replace(_u,""),value:S?An(S[0]).replace(_u,""):""});return _(/^[;\s]*/),w}}function $(){var at=[];if(!m())return l("missing '{'");C(at);for(var mt;mt=P();)mt!==!1&&(at.push(mt),C(at));return g()?at:l("missing '}'")}function H(){for(var at,mt=[],S=s();at=_(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)mt.push(at[1]),_(/^,\s*/);if(mt.length)return S({type:"keyframe",values:mt,declarations:$()})}function Y(){var at=s(),mt=_(/^@([-\w]+)?keyframes\s*/);if(mt){var S=mt[1];if(mt=_(/^([-\w]+)\s*/),!mt)return l("@keyframes missing name");var w=mt[1];if(!m())return l("@keyframes missing '{'");for(var x,I=C();x=H();)I.push(x),I=I.concat(C());return g()?at({type:"keyframes",name:w,vendor:S,keyframes:I}):l("@keyframes missing '}'")}}function J(){var at=s(),mt=_(/^@supports *([^{]+)/);if(mt){var S=An(mt[1]);if(!m())return l("@supports missing '{'");var w=C().concat(d());return g()?at({type:"supports",supports:S,rules:w}):l("@supports missing '}'")}}function V(){var at=s(),mt=_(/^@host\s*/);if(mt){if(!m())return l("@host missing '{'");var S=C().concat(d());return g()?at({type:"host",rules:S}):l("@host missing '}'")}}function ht(){var at=s(),mt=_(/^@media *([^{]+)/);if(mt){var S=An(mt[1]);if(!m())return l("@media missing '{'");var w=C().concat(d());return g()?at({type:"media",media:S,rules:w}):l("@media missing '}'")}}function _t(){var at=s(),mt=_(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(mt)return at({type:"custom-media",name:An(mt[1]),media:An(mt[2])})}function Pt(){var at=s(),mt=_(/^@page */);if(mt){var S=z()||[];if(!m())return l("@page missing '{'");for(var w=C(),x;x=P();)w.push(x),w=w.concat(C());return g()?at({type:"page",selectors:S,declarations:w}):l("@page missing '}'")}}function Et(){var at=s(),mt=_(/^@([-\w]+)?document *([^{]+)/);if(mt){var S=An(mt[1]),w=An(mt[2]);if(!m())return l("@document missing '{'");var x=C().concat(d());return g()?at({type:"document",document:w,vendor:S,rules:x}):l("@document missing '}'")}}function vt(){var at=s(),mt=_(/^@font-face\s*/);if(mt){if(!m())return l("@font-face missing '{'");for(var S=C(),w;w=P();)S.push(w),S=S.concat(C());return g()?at({type:"font-face",declarations:S}):l("@font-face missing '}'")}}var It=jt("import"),kt=jt("charset"),Ut=jt("namespace");function jt(at){var mt=new RegExp("^@"+at+"\\s*([^;]+);");return function(){var S=s(),w=_(mt);if(w){var x={type:at};return x[at]=w[1].trim(),S(x)}}}function Ot(){if(e[0]=="@")return Y()||ht()||_t()||J()||It()||kt()||Ut()||Et()||Pt()||V()||vt()}function W(){var at=s(),mt=z();return mt?(C(),at({type:"rule",selectors:mt,declarations:$()})):l("selector missing")}return sa(p())}function An(e){return e?e.replace(/^\s+|\s+$/g,""):""}function sa(e,t){var n=e&&typeof e.type=="string",i=n?e:t;for(var r in e){var s=e[r];Array.isArray(s)?s.forEach(function(o){sa(o,i)}):s&&typeof s=="object"&&sa(s,i)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}const Or=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ps=(e,t,n,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const a=r.pop(),l=r.pop(),p={provider:r.length>0?r[0]:i,prefix:l,name:a};return t&&!Is(p)?null:p}const s=r[0],o=s.split("-");if(o.length>1){const a={provider:i,prefix:o.shift(),name:o.join("-")};return t&&!Is(a)?null:a}if(n&&i===""){const a={provider:i,prefix:"",name:s};return t&&!Is(a,n)?null:a}return null},Is=(e,t)=>e?!!((e.provider===""||e.provider.match(Or))&&(t&&e.prefix===""||e.prefix.match(Or))&&e.name.match(Or)):!1,bu=Object.freeze({left:0,top:0,width:16,height:16}),Ms=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),As=Object.freeze({...bu,...Ms}),oa=Object.freeze({...As,body:"",hidden:!1});function Em(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(t.rotate||0))%4;return i&&(n.rotate=i),n}function xu(e,t){const n=Em(e,t);for(const i in oa)i in Ms?i in e&&!(i in n)&&(n[i]=Ms[i]):i in t?n[i]=t[i]:i in e&&(n[i]=e[i]);return n}function Cm(e,t){const n=e.icons,i=e.aliases||Object.create(null),r=Object.create(null);function s(o){if(n[o])return r[o]=[];if(!(o in r)){r[o]=null;const a=i[o]&&i[o].parent,l=a&&s(a);l&&(r[o]=[a].concat(l))}return r[o]}return(t||Object.keys(n).concat(Object.keys(i))).forEach(s),r}function km(e,t,n){const i=e.icons,r=e.aliases||Object.create(null);let s={};function o(a){s=xu(i[a]||r[a],s)}return o(t),n.forEach(o),xu(e,s)}function wu(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const i=Cm(e);for(const r in i){const s=i[r];s&&(t(r,km(e,r,s)),n.push(r))}return n}const Sm={provider:"",aliases:{},not_found:{},...bu};function aa(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Eu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!aa(e,Sm))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r.match(Or)||typeof s.body!="string"||!aa(s,oa))return null}const i=t.aliases||Object.create(null);for(const r in i){const s=i[r],o=s.parent;if(!r.match(Or)||typeof o!="string"||!n[o]&&!i[o]||!aa(s,oa))return null}return t}const Cu=Object.create(null);function Tm(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ei(e,t){const n=Cu[e]||(Cu[e]=Object.create(null));return n[t]||(n[t]=Tm(e,t))}function la(e,t){return Eu(t)?wu(t,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function Nm(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Pr=!1;function ku(e){return typeof e=="boolean"&&(Pr=e),Pr}function Om(e){const t=typeof e=="string"?Ps(e,!0,Pr):e;if(t){const n=Ei(t.provider,t.prefix),i=t.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function Pm(e,t){const n=Ps(e,!0,Pr);if(!n)return!1;const i=Ei(n.provider,n.prefix);return Nm(i,n.name,t)}function Im(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Pr&&!t&&!e.prefix){let r=!1;return Eu(e)&&(e.prefix="",wu(e,(s,o)=>{o&&Pm(s,o)&&(r=!0)})),r}const n=e.prefix;if(!Is({provider:t,prefix:n,name:"a"}))return!1;const i=Ei(t,n);return!!la(i,e)}const Su=Object.freeze({width:null,height:null}),Tu=Object.freeze({...Su,...Ms}),Mm=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Am=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Nu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const i=e.split(Mm);if(i===null||!i.length)return e;const r=[];let s=i.shift(),o=Am.test(s);for(;;){if(o){const a=parseFloat(s);isNaN(a)?r.push(s):r.push(Math.ceil(a*t*n)/n)}else r.push(s);if(s=i.shift(),s===void 0)return r.join("");o=!o}}function Dm(e,t="defs"){let n="";const i=e.indexOf("<"+t);for(;i>=0;){const r=e.indexOf(">",i),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const o=e.indexOf(">",s);if(o===-1)break;n+=e.slice(r+1,s).trim(),e=e.slice(0,i).trim()+e.slice(o+1)}return{defs:n,content:e}}function Lm(e,t){return e?"<defs>"+e+"</defs>"+t:t}function $m(e,t,n){const i=Dm(e);return Lm(i.defs,t+i.content+n)}const Rm=e=>e==="unset"||e==="undefined"||e==="none";function Vm(e,t){const n={...As,...e},i={...Tu,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,i].forEach(C=>{const M=[],z=C.hFlip,P=C.vFlip;let $=C.rotate;z?P?$+=2:(M.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),M.push("scale(-1 1)"),r.top=r.left=0):P&&(M.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),M.push("scale(1 -1)"),r.top=r.left=0);let H;switch($<0&&($-=Math.floor($/4)*4),$=$%4,$){case 1:H=r.height/2+r.top,M.unshift("rotate(90 "+H.toString()+" "+H.toString()+")");break;case 2:M.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:H=r.width/2+r.left,M.unshift("rotate(-90 "+H.toString()+" "+H.toString()+")");break}$%2===1&&(r.left!==r.top&&(H=r.left,r.left=r.top,r.top=H),r.width!==r.height&&(H=r.width,r.width=r.height,r.height=H)),M.length&&(s=$m(s,'<g transform="'+M.join(" ")+'">',"</g>"))});const o=i.width,a=i.height,l=r.width,p=r.height;let m,g;o===null?(g=a===null?"1em":a==="auto"?p:a,m=Nu(g,l/p)):(m=o==="auto"?l:o,g=a===null?Nu(m,p/l):a==="auto"?p:a);const d={},_=(C,M)=>{Rm(M)||(d[C]=M.toString())};_("width",m),_("height",g);const N=[r.left,r.top,l,p];return d.viewBox=N.join(" "),{attributes:d,viewBox:N,body:s}}const Fm=/\sid="(\S+)"/g,zm="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let jm=0;function Bm(e,t=zm){const n=[];let i;for(;i=Fm.exec(e);)n.push(i[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const o=typeof t=="function"?t(s):t+(jm++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const ca=Object.create(null);function Gm(e,t){ca[e]=t}function ua(e){return ca[e]||ca[""]}function ha(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const fa=Object.create(null),Ir=["https://api.simplesvg.com","https://api.unisvg.com"],Ds=[];for(;Ir.length>0;)Ir.length===1||Math.random()>.5?Ds.push(Ir.shift()):Ds.push(Ir.pop());fa[""]=ha({resources:["https://api.iconify.design"].concat(Ds)});function Hm(e,t){const n=ha(t);return n===null?!1:(fa[e]=n,!0)}function da(e){return fa[e]}let Ou=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Um(e,t){const n=da(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(o=>{r=Math.max(r,o.length)});const s=t+".json?icons=";i=n.maxURL-r-n.path.length-s.length}return i}function Wm(e){return e===404}const qm=(e,t,n)=>{const i=[],r=Um(e,t),s="icons";let o={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,p)=>{a+=l.length+1,a>=r&&p>0&&(i.push(o),o={type:s,provider:e,prefix:t,icons:[]},a=l.length),o.icons.push(l)}),i.push(o),i};function Ym(e){if(typeof e=="string"){const t=da(e);if(t)return t.path}return"/"}const Xm={prepare:qm,send:(e,t,n)=>{if(!Ou){n("abort",424);return}let i=Ym(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});i+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;i+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;Ou(e+i).then(s=>{const o=s.status;if(o!==200){setTimeout(()=>{n(Wm(o)?"abort":"next",o)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})}};function Km(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const s=r.provider,o=r.prefix,a=r.name,l=n[s]||(n[s]=Object.create(null)),p=l[o]||(l[o]=Ei(s,o));let m;a in p.icons?m=t.loaded:o===""||p.missing.has(a)?m=t.missing:m=t.pending;const g={provider:s,prefix:o,name:a};m.push(g)}),t}function Pu(e,t){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(r=>r.id!==t))})}function Zm(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const i=e.provider,r=e.prefix;t.forEach(s=>{const o=s.icons,a=o.pending.length;o.pending=o.pending.filter(l=>{if(l.prefix!==r)return!0;const p=l.name;if(e.icons[p])o.loaded.push({provider:i,prefix:r,name:p});else if(e.missing.has(p))o.missing.push({provider:i,prefix:r,name:p});else return n=!0,!0;return!1}),o.pending.length!==a&&(n||Pu([e],s.id),s.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),s.abort))})}))}let Qm=0;function Jm(e,t,n){const i=Qm++,r=Pu.bind(null,n,i);if(!t.pending.length)return r;const s={id:i,icons:t,callback:e,abort:r};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(s)}),r}function t0(e,t=!0,n=!1){const i=[];return e.forEach(r=>{const s=typeof r=="string"?Ps(r,t,n):r;s&&i.push(s)}),i}var e0={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function n0(e,t,n,i){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let o;if(e.random){let J=e.resources.slice(0);for(o=[];J.length>1;){const V=Math.floor(Math.random()*J.length);o.push(J[V]),J=J.slice(0,V).concat(J.slice(V+1))}o=o.concat(J)}else o=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",p=0,m,g=null,d=[],_=[];typeof i=="function"&&_.push(i);function N(){g&&(clearTimeout(g),g=null)}function C(){l==="pending"&&(l="aborted"),N(),d.forEach(J=>{J.status==="pending"&&(J.status="aborted")}),d=[]}function M(J,V){V&&(_=[]),typeof J=="function"&&_.push(J)}function z(){return{startTime:a,payload:t,status:l,queriesSent:p,queriesPending:d.length,subscribe:M,abort:C}}function P(){l="failed",_.forEach(J=>{J(void 0,m)})}function $(){d.forEach(J=>{J.status==="pending"&&(J.status="aborted")}),d=[]}function H(J,V,ht){const _t=V!=="success";switch(d=d.filter(Pt=>Pt!==J),l){case"pending":break;case"failed":if(_t||!e.dataAfterTimeout)return;break;default:return}if(V==="abort"){m=ht,P();return}if(_t){m=ht,d.length||(o.length?Y():P());return}if(N(),$(),!e.random){const Pt=e.resources.indexOf(J.resource);Pt!==-1&&Pt!==e.index&&(e.index=Pt)}l="completed",_.forEach(Pt=>{Pt(ht)})}function Y(){if(l!=="pending")return;N();const J=o.shift();if(J===void 0){if(d.length){g=setTimeout(()=>{N(),l==="pending"&&($(),P())},e.timeout);return}P();return}const V={status:"pending",resource:J,callback:(ht,_t)=>{H(V,ht,_t)}};d.push(V),p++,g=setTimeout(Y,e.rotate),n(J,t,V.callback)}return setTimeout(Y),z}function Iu(e){const t={...e0,...e};let n=[];function i(){n=n.filter(a=>a().status==="pending")}function r(a,l,p){const m=n0(t,a,l,(g,d)=>{i(),p&&p(g,d)});return n.push(m),m}function s(a){return n.find(l=>a(l))||null}return{query:r,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:i}}function Mu(){}const pa=Object.create(null);function i0(e){if(!pa[e]){const t=da(e);if(!t)return;const n=Iu(t),i={config:t,redundancy:n};pa[e]=i}return pa[e]}function r0(e,t,n){let i,r;if(typeof e=="string"){const s=ua(e);if(!s)return n(void 0,424),Mu;r=s.send;const o=i0(e);o&&(i=o.redundancy)}else{const s=ha(e);if(s){i=Iu(s);const o=e.resources?e.resources[0]:"",a=ua(o);a&&(r=a.send)}}return!i||!r?(n(void 0,424),Mu):i.query(t,r,n)().abort}const Au="iconify2",Mr="iconify",Du=Mr+"-count",Lu=Mr+"-version",$u=36e5,s0=168,o0=50;function ma(e,t){try{return e.getItem(t)}catch{}}function ga(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ru(e,t){try{e.removeItem(t)}catch{}}function va(e,t){return ga(e,Du,t.toString())}function ya(e){return parseInt(ma(e,Du))||0}const Ls={local:!0,session:!0},Vu={local:new Set,session:new Set};let _a=!1;function a0(e){_a=e}let $s=typeof window>"u"?{}:window;function Fu(e){const t=e+"Storage";try{if($s&&$s[t]&&typeof $s[t].length=="number")return $s[t]}catch{}Ls[e]=!1}function zu(e,t){const n=Fu(e);if(!n)return;const i=ma(n,Lu);if(i!==Au){if(i){const a=ya(n);for(let l=0;l<a;l++)Ru(n,Mr+l.toString())}ga(n,Lu,Au),va(n,0);return}const r=Math.floor(Date.now()/$u)-s0,s=a=>{const l=Mr+a.toString(),p=ma(n,l);if(typeof p=="string"){try{const m=JSON.parse(p);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>r&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}Ru(n,l)}};let o=ya(n);for(let a=o-1;a>=0;a--)s(a)||(a===o-1?(o--,va(n,o)):Vu[e].add(a))}function ju(){if(!_a){a0(!0);for(const e in Ls)zu(e,t=>{const n=t.data,i=t.provider,r=n.prefix,s=Ei(i,r);if(!la(s,n).length)return!1;const o=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,o):o,!0})}}function l0(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const i in Ls)zu(i,r=>{const s=r.data;return r.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function c0(e,t){_a||ju();function n(i){let r;if(!Ls[i]||!(r=Fu(i)))return;const s=Vu[i];let o;if(s.size)s.delete(o=Array.from(s).shift());else if(o=ya(r),o>=o0||!va(r,o+1))return;const a={cached:Math.floor(Date.now()/$u),provider:e.provider,data:t};return ga(r,Mr+o.toString(),JSON.stringify(a))}t.lastModified&&!l0(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Bu(){}function u0(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Zm(e)}))}function h0(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,r=e.iconsToLoad;delete e.iconsToLoad;let s;if(!r||!(s=ua(n)))return;s.prepare(n,i,r).forEach(a=>{r0(n,a,l=>{if(typeof l!="object")a.icons.forEach(p=>{e.missing.add(p)});else try{const p=la(e,l);if(!p.length)return;const m=e.pendingIcons;m&&p.forEach(g=>{m.delete(g)}),c0(e,l)}catch(p){console.error(p)}u0(e)})})}))}const f0=(e,t)=>{const n=t0(e,!0,ku()),i=Km(n);if(!i.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(i.loaded,i.missing,i.pending,Bu)}),()=>{l=!1}}const r=Object.create(null),s=[];let o,a;return i.pending.forEach(l=>{const{provider:p,prefix:m}=l;if(m===a&&p===o)return;o=p,a=m,s.push(Ei(p,m));const g=r[p]||(r[p]=Object.create(null));g[m]||(g[m]=[])}),i.pending.forEach(l=>{const{provider:p,prefix:m,name:g}=l,d=Ei(p,m),_=d.pendingIcons||(d.pendingIcons=new Set);_.has(g)||(_.add(g),r[p][m].push(g))}),s.forEach(l=>{const{provider:p,prefix:m}=l;r[p][m].length&&h0(l,r[p][m])}),t?Jm(t,i,s):Bu};function d0(e,t){const n={...e};for(const i in t){const r=t[i],s=typeof r;i in Su?(r===null||r&&(s==="string"||s==="number"))&&(n[i]=r):s===typeof n[i]&&(n[i]=i==="rotate"?r%4:r)}return n}const p0=/[\s,]+/;function m0(e,t){t.split(p0).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function g0(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?i(s):0)}}return t}function v0(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in t)n+=" "+i+'="'+t[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function y0(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function _0(e){return"data:image/svg+xml,"+y0(e)}function b0(e){return'url("'+_0(e)+'")'}const Gu={...Tu,inline:!1},x0={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},w0={display:"inline-block"},ba={backgroundColor:"currentColor"},Hu={backgroundColor:"transparent"},Uu={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Wu={webkitMask:ba,mask:ba,background:Hu};for(const e in Wu){const t=Wu[e];for(const n in Uu)t[e+n]=Uu[n]}const Rs={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Rs[e+"-flip"]=t,Rs[e.slice(0,1)+"-flip"]=t,Rs[e+"Flip"]=t});function qu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Yu=(e,t)=>{const n=d0(Gu,t),i={...x0},r=t.mode||"svg",s={},o=t.style,a=typeof o=="object"&&!(o instanceof Array)?o:{};for(let C in t){const M=t[C];if(M!==void 0)switch(C){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[C]=M===!0||M==="true"||M===1;break;case"flip":typeof M=="string"&&m0(n,M);break;case"color":s.color=M;break;case"rotate":typeof M=="string"?n[C]=g0(M):typeof M=="number"&&(n[C]=M);break;case"ariaHidden":case"aria-hidden":M!==!0&&M!=="true"&&delete i["aria-hidden"];break;default:{const z=Rs[C];z?(M===!0||M==="true"||M===1)&&(n[z]=!0):Gu[C]===void 0&&(i[C]=M)}}}const l=Vm(e,n),p=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),r==="svg"){i.style={...s,...a},Object.assign(i,p);let C=0,M=t.id;return typeof M=="string"&&(M=M.replace(/-/g,"_")),i.innerHTML=Bm(l.body,M?()=>M+"ID"+C++:"iconifyVue"),Bc("svg",i)}const{body:m,width:g,height:d}=e,_=r==="mask"||(r==="bg"?!1:m.indexOf("currentColor")!==-1),N=v0(m,{...p,width:g+"",height:d+""});return i.style={...s,"--svg":b0(N),width:qu(p.width),height:qu(p.height),...w0,..._?ba:Hu,...a},Bc("span",i)};if(ku(!0),Gm("",Xm),typeof document<"u"&&typeof window<"u"){ju();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!Im(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const i="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;Hm(n,r)||console.error(i)}catch{console.error(i)}}}}const E0={...As,body:""},Xu=Kt({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Ps(e,!1,!0))===null)return this.abortLoading(),null;const i=Om(n);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:e,abort:f0([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:i,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return Yu(E0,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Yu({...As,...t.data},n)}}),Ku=(e,t="image/svg+xml",n="utf-8")=>new Blob([e],{type:`${t};charset=${n}`}),C0=e=>new XMLSerializer().serializeToString(e),k0=(e,t="image/svg+xml",n="utf-8")=>Ku(C0(e),t,n),Zu=(e,t)=>{const n=document.createElement("a");n.style.visibility="hidden",document.body.appendChild(n),n.download=t,typeof e=="string"?n.href=e:n.href=window.URL.createObjectURL(e),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(n.href)};function Qu(){return document.compatMode=="BackCompat"?document.body:document.documentElement}function Ju(){const e=Qu();return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight}}function S0(){const e=Qu();return{clientTop:e.clientTop,clientLeft:e.clientLeft,clientWidth:e.clientWidth,clientHeight:e.clientHeight}}function xa(){const{clientWidth:e,clientHeight:t}=S0();return{width:e,height:t}}function T0(e){const{top:t,left:n}=e.getBoundingClientRect(),i=Ju();return{x:n+i.scrollLeft,y:t+i.scrollTop}}function N0(e){if("center"in e)return e.center;if(e.pageX&&e.pageY)return{x:e.pageX,y:e.pageY};const t=Ju();return{x:e.clientX+t.scrollLeft,y:e.clientY+t.scrollTop}}function wa(e,t){const n=N0(t),i=T0(e);return{x:n.x-i.x,y:n.y-i.y}}function th(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}const O0=()=>{const e=navigator.userAgent.toLowerCase();let t="Unknown";return/mac/i.test(e)?t="macOS":/win/i.test(e)?t="Windows":/android/i.test(e)?t="Android":/iphone|ipad|ipod/i.test(e)?t="iOS":/linux/i.test(e)?t="Linux":/bsd/i.test(e)&&(t="BSD"),t.toLowerCase()};function P0(){return O0()==="macos"}function I0(){const e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){const r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}const i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}const Ea=I0()!==-1;(()=>{const e=th();return!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL)})(),function(){if(!th().OffscreenCanvas)return!1;var t=new OffscreenCanvas(1,1),n=t.getContext("2d");n.fillRect(0,0,1,1);var i=t.transferToImageBitmap();try{n.createPattern(i,"no-repeat")}catch{return!1}return!0}();function M0(e){var t=document.documentElement,n=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=n;var i=100,r=function(){var s=Math.min(t.clientWidth,e);t.dataset.width=s,t.dataset.rem=i=Math.round(100*(s/e)),t.style.fontSize=i+"px"};r(),window.rem2px=function(s){return s=parseFloat(s),s*i},window.px2rem=function(s){return s=parseFloat(s),s/i},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}var eh={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
42
|
+
* http://hammerjs.github.io/
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) 2016 Jorik Tangelder;
|
|
45
|
+
* Licensed under the MIT license */(function(e){(function(t,n,i,r){var s=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),a="function",l=Math.round,p=Math.abs,m=Date.now;function g(c,h,y){return setTimeout($(c,y),h)}function d(c,h,y){return Array.isArray(c)?(_(c,y[h],y),!0):!1}function _(c,h,y){var b;if(c)if(c.forEach)c.forEach(h,y);else if(c.length!==r)for(b=0;b<c.length;)h.call(y,c[b],b,c),b++;else for(b in c)c.hasOwnProperty(b)&&h.call(y,c[b],b,c)}function N(c,h,y){var b="DEPRECATED METHOD: "+h+`
|
|
46
|
+
`+y+` AT
|
|
47
|
+
`;return function(){var E=new Error("get-stack-trace"),k=E&&E.stack?E.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",L=t.console&&(t.console.warn||t.console.log);return L&&L.call(t.console,b,k),c.apply(this,arguments)}}var C;typeof Object.assign!="function"?C=function(h){if(h===r||h===null)throw new TypeError("Cannot convert undefined or null to object");for(var y=Object(h),b=1;b<arguments.length;b++){var E=arguments[b];if(E!==r&&E!==null)for(var k in E)E.hasOwnProperty(k)&&(y[k]=E[k])}return y}:C=Object.assign;var M=N(function(h,y,b){for(var E=Object.keys(y),k=0;k<E.length;)(!b||b&&h[E[k]]===r)&&(h[E[k]]=y[E[k]]),k++;return h},"extend","Use `assign`."),z=N(function(h,y){return M(h,y,!0)},"merge","Use `assign`.");function P(c,h,y){var b=h.prototype,E;E=c.prototype=Object.create(b),E.constructor=c,E._super=b,y&&C(E,y)}function $(c,h){return function(){return c.apply(h,arguments)}}function H(c,h){return typeof c==a?c.apply(h&&h[0]||r,h):c}function Y(c,h){return c===r?h:c}function J(c,h,y){_(Pt(h),function(b){c.addEventListener(b,y,!1)})}function V(c,h,y){_(Pt(h),function(b){c.removeEventListener(b,y,!1)})}function ht(c,h){for(;c;){if(c==h)return!0;c=c.parentNode}return!1}function _t(c,h){return c.indexOf(h)>-1}function Pt(c){return c.trim().split(/\s+/g)}function Et(c,h,y){if(c.indexOf&&!y)return c.indexOf(h);for(var b=0;b<c.length;){if(y&&c[b][y]==h||!y&&c[b]===h)return b;b++}return-1}function vt(c){return Array.prototype.slice.call(c,0)}function It(c,h,y){for(var b=[],E=[],k=0;k<c.length;){var L=h?c[k][h]:c[k];Et(E,L)<0&&b.push(c[k]),E[k]=L,k++}return y&&(h?b=b.sort(function(it,Z){return it[h]>Z[h]}):b=b.sort()),b}function kt(c,h){for(var y,b,E=h[0].toUpperCase()+h.slice(1),k=0;k<s.length;){if(y=s[k],b=y?y+E:h,b in c)return b;k++}return r}var Ut=1;function jt(){return Ut++}function Ot(c){var h=c.ownerDocument||c;return h.defaultView||h.parentWindow||t}var W=/mobile|tablet|ip(ad|hone|od)|android/i,at="ontouchstart"in t,mt=kt(t,"PointerEvent")!==r,S=at&&W.test(navigator.userAgent),w="touch",x="pen",I="mouse",R="kinect",j=25,F=1,rt=2,G=4,st=8,yt=1,St=2,Ft=4,O=8,D=16,B=St|Ft,X=O|D,Q=B|X,K=["x","y"],pt=["clientX","clientY"];function nt(c,h){var y=this;this.manager=c,this.callback=h,this.element=c.element,this.target=c.options.inputTarget,this.domHandler=function(b){H(c.options.enable,[c])&&y.handler(b)},this.init()}nt.prototype={handler:function(){},init:function(){this.evEl&&J(this.element,this.evEl,this.domHandler),this.evTarget&&J(this.target,this.evTarget,this.domHandler),this.evWin&&J(Ot(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&V(this.element,this.evEl,this.domHandler),this.evTarget&&V(this.target,this.evTarget,this.domHandler),this.evWin&&V(Ot(this.element),this.evWin,this.domHandler)}};function ft(c){var h,y=c.options.inputClass;return y?h=y:mt?h=on:S?h=Vn:at?h=Xi:h=Ee,new h(c,tt)}function tt(c,h,y){var b=y.pointers.length,E=y.changedPointers.length,k=h&F&&b-E===0,L=h&(G|st)&&b-E===0;y.isFirst=!!k,y.isFinal=!!L,k&&(c.session={}),y.eventType=h,bt(c,y),c.emit("hammer.input",y),c.recognize(y),c.session.prevInput=y}function bt(c,h){var y=c.session,b=h.pointers,E=b.length;y.firstInput||(y.firstInput=Vt(h)),E>1&&!y.firstMultiple?y.firstMultiple=Vt(h):E===1&&(y.firstMultiple=!1);var k=y.firstInput,L=y.firstMultiple,U=L?L.center:k.center,it=h.center=Bt(b);h.timeStamp=m(),h.deltaTime=h.timeStamp-k.timeStamp,h.angle=we(U,it),h.distance=le(U,it),Tt(y,h),h.offsetDirection=re(h.deltaX,h.deltaY);var Z=ee(h.deltaTime,h.deltaX,h.deltaY);h.overallVelocityX=Z.x,h.overallVelocityY=Z.y,h.overallVelocity=p(Z.x)>p(Z.y)?Z.x:Z.y,h.scale=L?Te(L.pointers,b):1,h.rotation=L?en(L.pointers,b):0,h.maxPointers=y.prevInput?h.pointers.length>y.prevInput.maxPointers?h.pointers.length:y.prevInput.maxPointers:h.pointers.length,Mt(y,h);var q=c.element;ht(h.srcEvent.target,q)&&(q=h.srcEvent.target),h.target=q}function Tt(c,h){var y=h.center,b=c.offsetDelta||{},E=c.prevDelta||{},k=c.prevInput||{};(h.eventType===F||k.eventType===G)&&(E=c.prevDelta={x:k.deltaX||0,y:k.deltaY||0},b=c.offsetDelta={x:y.x,y:y.y}),h.deltaX=E.x+(y.x-b.x),h.deltaY=E.y+(y.y-b.y)}function Mt(c,h){var y=c.lastInterval||h,b=h.timeStamp-y.timeStamp,E,k,L,U;if(h.eventType!=st&&(b>j||y.velocity===r)){var it=h.deltaX-y.deltaX,Z=h.deltaY-y.deltaY,q=ee(b,it,Z);k=q.x,L=q.y,E=p(q.x)>p(q.y)?q.x:q.y,U=re(it,Z),c.lastInterval=h}else E=y.velocity,k=y.velocityX,L=y.velocityY,U=y.direction;h.velocity=E,h.velocityX=k,h.velocityY=L,h.direction=U}function Vt(c){for(var h=[],y=0;y<c.pointers.length;)h[y]={clientX:l(c.pointers[y].clientX),clientY:l(c.pointers[y].clientY)},y++;return{timeStamp:m(),pointers:h,center:Bt(h),deltaX:c.deltaX,deltaY:c.deltaY}}function Bt(c){var h=c.length;if(h===1)return{x:l(c[0].clientX),y:l(c[0].clientY)};for(var y=0,b=0,E=0;E<h;)y+=c[E].clientX,b+=c[E].clientY,E++;return{x:l(y/h),y:l(b/h)}}function ee(c,h,y){return{x:h/c||0,y:y/c||0}}function re(c,h){return c===h?yt:p(c)>=p(h)?c<0?St:Ft:h<0?O:D}function le(c,h,y){y||(y=K);var b=h[y[0]]-c[y[0]],E=h[y[1]]-c[y[1]];return Math.sqrt(b*b+E*E)}function we(c,h,y){y||(y=K);var b=h[y[0]]-c[y[0]],E=h[y[1]]-c[y[1]];return Math.atan2(E,b)*180/Math.PI}function en(c,h){return we(h[1],h[0],pt)+we(c[1],c[0],pt)}function Te(c,h){return le(h[0],h[1],pt)/le(c[0],c[1],pt)}var Re={mousedown:F,mousemove:rt,mouseup:G},pn="mousedown",oe="mousemove mouseup";function Ee(){this.evEl=pn,this.evWin=oe,this.pressed=!1,nt.apply(this,arguments)}P(Ee,nt,{handler:function(h){var y=Re[h.type];y&F&&h.button===0&&(this.pressed=!0),y&rt&&h.which!==1&&(y=G),this.pressed&&(y&G&&(this.pressed=!1),this.callback(this.manager,y,{pointers:[h],changedPointers:[h],pointerType:I,srcEvent:h}))}});var Ve={pointerdown:F,pointermove:rt,pointerup:G,pointercancel:st,pointerout:st},Ti={2:w,3:x,4:I,5:R},Ln="pointerdown",ni="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ln="MSPointerDown",ni="MSPointerMove MSPointerUp MSPointerCancel");function on(){this.evEl=Ln,this.evWin=ni,nt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}P(on,nt,{handler:function(h){var y=this.store,b=!1,E=h.type.toLowerCase().replace("ms",""),k=Ve[E],L=Ti[h.pointerType]||h.pointerType,U=L==w,it=Et(y,h.pointerId,"pointerId");k&F&&(h.button===0||U)?it<0&&(y.push(h),it=y.length-1):k&(G|st)&&(b=!0),!(it<0)&&(y[it]=h,this.callback(this.manager,k,{pointers:y,changedPointers:[h],pointerType:L,srcEvent:h}),b&&y.splice(it,1))}});var Fe={touchstart:F,touchmove:rt,touchend:G,touchcancel:st},Ks="touchstart",ii="touchstart touchmove touchend touchcancel";function $n(){this.evTarget=Ks,this.evWin=ii,this.started=!1,nt.apply(this,arguments)}P($n,nt,{handler:function(h){var y=Fe[h.type];if(y===F&&(this.started=!0),!!this.started){var b=wn.call(this,h,y);y&(G|st)&&b[0].length-b[1].length===0&&(this.started=!1),this.callback(this.manager,y,{pointers:b[0],changedPointers:b[1],pointerType:w,srcEvent:h})}}});function wn(c,h){var y=vt(c.touches),b=vt(c.changedTouches);return h&(G|st)&&(y=It(y.concat(b),"identifier",!0)),[y,b]}var qi={touchstart:F,touchmove:rt,touchend:G,touchcancel:st},Rn="touchstart touchmove touchend touchcancel";function Vn(){this.evTarget=Rn,this.targetIds={},nt.apply(this,arguments)}P(Vn,nt,{handler:function(h){var y=qi[h.type],b=Ni.call(this,h,y);b&&this.callback(this.manager,y,{pointers:b[0],changedPointers:b[1],pointerType:w,srcEvent:h})}});function Ni(c,h){var y=vt(c.touches),b=this.targetIds;if(h&(F|rt)&&y.length===1)return b[y[0].identifier]=!0,[y,y];var E,k,L=vt(c.changedTouches),U=[],it=this.target;if(k=y.filter(function(Z){return ht(Z.target,it)}),h===F)for(E=0;E<k.length;)b[k[E].identifier]=!0,E++;for(E=0;E<L.length;)b[L[E].identifier]&&U.push(L[E]),h&(G|st)&&delete b[L[E].identifier],E++;if(U.length)return[It(k.concat(U),"identifier",!0),U]}var Yi=2500,Zs=25;function Xi(){nt.apply(this,arguments);var c=$(this.handler,this);this.touch=new Vn(this.manager,c),this.mouse=new Ee(this.manager,c),this.primaryTouch=null,this.lastTouches=[]}P(Xi,nt,{handler:function(h,y,b){var E=b.pointerType==w,k=b.pointerType==I;if(!(k&&b.sourceCapabilities&&b.sourceCapabilities.firesTouchEvents)){if(E)Qs.call(this,y,b);else if(k&&Fn.call(this,b))return;this.callback(h,y,b)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Qs(c,h){c&F?(this.primaryTouch=h.changedPointers[0].identifier,Js.call(this,h)):c&(G|st)&&Js.call(this,h)}function Js(c){var h=c.changedPointers[0];if(h.identifier===this.primaryTouch){var y={x:h.clientX,y:h.clientY};this.lastTouches.push(y);var b=this.lastTouches,E=function(){var k=b.indexOf(y);k>-1&&b.splice(k,1)};setTimeout(E,Yi)}}function Fn(c){for(var h=c.srcEvent.clientX,y=c.srcEvent.clientY,b=0;b<this.lastTouches.length;b++){var E=this.lastTouches[b],k=Math.abs(h-E.x),L=Math.abs(y-E.y);if(k<=Zs&&L<=Zs)return!0}return!1}var to=kt(o.style,"touchAction"),eo=to!==r,no="compute",io="auto",Ki="manipulation",zn="none",Xe="pan-x",jn="pan-y",ri=si();function ie(c,h){this.manager=c,this.set(h)}ie.prototype={set:function(c){c==no&&(c=this.compute()),eo&&this.manager.element.style&&ri[c]&&(this.manager.element.style[to]=c),this.actions=c.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var c=[];return _(this.manager.recognizers,function(h){H(h.options.enable,[h])&&(c=c.concat(h.getTouchAction()))}),ro(c.join(" "))},preventDefaults:function(c){var h=c.srcEvent,y=c.offsetDirection;if(this.manager.session.prevented){h.preventDefault();return}var b=this.actions,E=_t(b,zn)&&!ri[zn],k=_t(b,jn)&&!ri[jn],L=_t(b,Xe)&&!ri[Xe];if(E){var U=c.pointers.length===1,it=c.distance<2,Z=c.deltaTime<250;if(U&&it&&Z)return}if(!(L&&k)&&(E||k&&y&B||L&&y&X))return this.preventSrc(h)},preventSrc:function(c){this.manager.session.prevented=!0,c.preventDefault()}};function ro(c){if(_t(c,zn))return zn;var h=_t(c,Xe),y=_t(c,jn);return h&&y?zn:h||y?h?Xe:jn:_t(c,Ki)?Ki:io}function si(){if(!eo)return!1;var c={},h=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(y){c[y]=h?t.CSS.supports("touch-action",y):!0}),c}var Oi=1,ze=2,En=4,mn=8,an=mn,Bn=16,ye=32;function Wt(c){this.options=C({},this.defaults,c||{}),this.id=jt(),this.manager=null,this.options.enable=Y(this.options.enable,!0),this.state=Oi,this.simultaneous={},this.requireFail=[]}Wt.prototype={defaults:{},set:function(c){return C(this.options,c),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(c){if(d(c,"recognizeWith",this))return this;var h=this.simultaneous;return c=oi(c,this),h[c.id]||(h[c.id]=c,c.recognizeWith(this)),this},dropRecognizeWith:function(c){return d(c,"dropRecognizeWith",this)?this:(c=oi(c,this),delete this.simultaneous[c.id],this)},requireFailure:function(c){if(d(c,"requireFailure",this))return this;var h=this.requireFail;return c=oi(c,this),Et(h,c)===-1&&(h.push(c),c.requireFailure(this)),this},dropRequireFailure:function(c){if(d(c,"dropRequireFailure",this))return this;c=oi(c,this);var h=Et(this.requireFail,c);return h>-1&&this.requireFail.splice(h,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(c){return!!this.simultaneous[c.id]},emit:function(c){var h=this,y=this.state;function b(E){h.manager.emit(E,c)}y<mn&&b(h.options.event+Br(y)),b(h.options.event),c.additionalEvent&&b(c.additionalEvent),y>=mn&&b(h.options.event+Br(y))},tryEmit:function(c){if(this.canEmit())return this.emit(c);this.state=ye},canEmit:function(){for(var c=0;c<this.requireFail.length;){if(!(this.requireFail[c].state&(ye|Oi)))return!1;c++}return!0},recognize:function(c){var h=C({},c);if(!H(this.options.enable,[this,h])){this.reset(),this.state=ye;return}this.state&(an|Bn|ye)&&(this.state=Oi),this.state=this.process(h),this.state&(ze|En|mn|Bn)&&this.tryEmit(h)},process:function(c){},getTouchAction:function(){},reset:function(){}};function Br(c){return c&Bn?"cancel":c&mn?"end":c&En?"move":c&ze?"start":""}function Zi(c){return c==D?"down":c==O?"up":c==St?"left":c==Ft?"right":""}function oi(c,h){var y=h.manager;return y?y.get(c):c}function nn(){Wt.apply(this,arguments)}P(nn,Wt,{defaults:{pointers:1},attrTest:function(c){var h=this.options.pointers;return h===0||c.pointers.length===h},process:function(c){var h=this.state,y=c.eventType,b=h&(ze|En),E=this.attrTest(c);return b&&(y&st||!E)?h|Bn:b||E?y&G?h|mn:h&ze?h|En:ze:ye}});function Ke(){nn.apply(this,arguments),this.pX=null,this.pY=null}P(Ke,nn,{defaults:{event:"pan",threshold:10,pointers:1,direction:Q},getTouchAction:function(){var c=this.options.direction,h=[];return c&B&&h.push(jn),c&X&&h.push(Xe),h},directionTest:function(c){var h=this.options,y=!0,b=c.distance,E=c.direction,k=c.deltaX,L=c.deltaY;return E&h.direction||(h.direction&B?(E=k===0?yt:k<0?St:Ft,y=k!=this.pX,b=Math.abs(c.deltaX)):(E=L===0?yt:L<0?O:D,y=L!=this.pY,b=Math.abs(c.deltaY))),c.direction=E,y&&b>h.threshold&&E&h.direction},attrTest:function(c){return nn.prototype.attrTest.call(this,c)&&(this.state&ze||!(this.state&ze)&&this.directionTest(c))},emit:function(c){this.pX=c.deltaX,this.pY=c.deltaY;var h=Zi(c.direction);h&&(c.additionalEvent=this.options.event+h),this._super.emit.call(this,c)}});function Gn(){nn.apply(this,arguments)}P(Gn,nn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[zn]},attrTest:function(c){return this._super.attrTest.call(this,c)&&(Math.abs(c.scale-1)>this.options.threshold||this.state&ze)},emit:function(c){if(c.scale!==1){var h=c.scale<1?"in":"out";c.additionalEvent=this.options.event+h}this._super.emit.call(this,c)}});function Qi(){Wt.apply(this,arguments),this._timer=null,this._input=null}P(Qi,Wt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[io]},process:function(c){var h=this.options,y=c.pointers.length===h.pointers,b=c.distance<h.threshold,E=c.deltaTime>h.time;if(this._input=c,!b||!y||c.eventType&(G|st)&&!E)this.reset();else if(c.eventType&F)this.reset(),this._timer=g(function(){this.state=an,this.tryEmit()},h.time,this);else if(c.eventType&G)return an;return ye},reset:function(){clearTimeout(this._timer)},emit:function(c){this.state===an&&(c&&c.eventType&G?this.manager.emit(this.options.event+"up",c):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}});function Ji(){nn.apply(this,arguments)}P(Ji,nn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[zn]},attrTest:function(c){return this._super.attrTest.call(this,c)&&(Math.abs(c.rotation)>this.options.threshold||this.state&ze)}});function tr(){nn.apply(this,arguments)}P(tr,nn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:B|X,pointers:1},getTouchAction:function(){return Ke.prototype.getTouchAction.call(this)},attrTest:function(c){var h=this.options.direction,y;return h&(B|X)?y=c.overallVelocity:h&B?y=c.overallVelocityX:h&X&&(y=c.overallVelocityY),this._super.attrTest.call(this,c)&&h&c.offsetDirection&&c.distance>this.options.threshold&&c.maxPointers==this.options.pointers&&p(y)>this.options.velocity&&c.eventType&G},emit:function(c){var h=Zi(c.offsetDirection);h&&this.manager.emit(this.options.event+h,c),this.manager.emit(this.options.event,c)}});function ln(){Wt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}P(ln,Wt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ki]},process:function(c){var h=this.options,y=c.pointers.length===h.pointers,b=c.distance<h.threshold,E=c.deltaTime<h.time;if(this.reset(),c.eventType&F&&this.count===0)return this.failTimeout();if(b&&E&&y){if(c.eventType!=G)return this.failTimeout();var k=this.pTime?c.timeStamp-this.pTime<h.interval:!0,L=!this.pCenter||le(this.pCenter,c.center)<h.posThreshold;this.pTime=c.timeStamp,this.pCenter=c.center,!L||!k?this.count=1:this.count+=1,this._input=c;var U=this.count%h.taps;if(U===0)return this.hasRequireFailures()?(this._timer=g(function(){this.state=an,this.tryEmit()},h.interval,this),ze):an}return ye},failTimeout:function(){return this._timer=g(function(){this.state=ye},this.options.interval,this),ye},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==an&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function cn(c,h){return h=h||{},h.recognizers=Y(h.recognizers,cn.defaults.preset),new Ii(c,h)}cn.VERSION="2.0.7",cn.defaults={domEvents:!1,touchAction:no,enable:!0,inputTarget:null,inputClass:null,preset:[[Ji,{enable:!1}],[Gn,{enable:!1},["rotate"]],[tr,{direction:B}],[Ke,{direction:B},["swipe"]],[ln],[ln,{event:"doubletap",taps:2},["tap"]],[Qi]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Pi=1,Pe=2;function Ii(c,h){this.options=C({},cn.defaults,h||{}),this.options.inputTarget=this.options.inputTarget||c,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=c,this.input=ft(this),this.touchAction=new ie(this,this.options.touchAction),u(this,!0),_(this.options.recognizers,function(y){var b=this.add(new y[0](y[1]));y[2]&&b.recognizeWith(y[2]),y[3]&&b.requireFailure(y[3])},this)}Ii.prototype={set:function(c){return C(this.options,c),c.touchAction&&this.touchAction.update(),c.inputTarget&&(this.input.destroy(),this.input.target=c.inputTarget,this.input.init()),this},stop:function(c){this.session.stopped=c?Pe:Pi},recognize:function(c){var h=this.session;if(!h.stopped){this.touchAction.preventDefaults(c);var y,b=this.recognizers,E=h.curRecognizer;(!E||E&&E.state&an)&&(E=h.curRecognizer=null);for(var k=0;k<b.length;)y=b[k],h.stopped!==Pe&&(!E||y==E||y.canRecognizeWith(E))?y.recognize(c):y.reset(),!E&&y.state&(ze|En|mn)&&(E=h.curRecognizer=y),k++}},get:function(c){if(c instanceof Wt)return c;for(var h=this.recognizers,y=0;y<h.length;y++)if(h[y].options.event==c)return h[y];return null},add:function(c){if(d(c,"add",this))return this;var h=this.get(c.options.event);return h&&this.remove(h),this.recognizers.push(c),c.manager=this,this.touchAction.update(),c},remove:function(c){if(d(c,"remove",this))return this;if(c=this.get(c),c){var h=this.recognizers,y=Et(h,c);y!==-1&&(h.splice(y,1),this.touchAction.update())}return this},on:function(c,h){if(c!==r&&h!==r){var y=this.handlers;return _(Pt(c),function(b){y[b]=y[b]||[],y[b].push(h)}),this}},off:function(c,h){if(c!==r){var y=this.handlers;return _(Pt(c),function(b){h?y[b]&&y[b].splice(Et(y[b],h),1):delete y[b]}),this}},emit:function(c,h){this.options.domEvents&&f(c,h);var y=this.handlers[c]&&this.handlers[c].slice();if(!(!y||!y.length)){h.type=c,h.preventDefault=function(){h.srcEvent.preventDefault()};for(var b=0;b<y.length;)y[b](h),b++}},destroy:function(){this.element&&u(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function u(c,h){var y=c.element;if(y.style){var b;_(c.options.cssProps,function(E,k){b=kt(y.style,k),h?(c.oldCssProps[b]=y.style[b],y.style[b]=E):y.style[b]=c.oldCssProps[b]||""}),h||(c.oldCssProps={})}}function f(c,h){var y=n.createEvent("Event");y.initEvent(c,!0,!0),y.gesture=h,h.target.dispatchEvent(y)}C(cn,{INPUT_START:F,INPUT_MOVE:rt,INPUT_END:G,INPUT_CANCEL:st,STATE_POSSIBLE:Oi,STATE_BEGAN:ze,STATE_CHANGED:En,STATE_ENDED:mn,STATE_RECOGNIZED:an,STATE_CANCELLED:Bn,STATE_FAILED:ye,DIRECTION_NONE:yt,DIRECTION_LEFT:St,DIRECTION_RIGHT:Ft,DIRECTION_UP:O,DIRECTION_DOWN:D,DIRECTION_HORIZONTAL:B,DIRECTION_VERTICAL:X,DIRECTION_ALL:Q,Manager:Ii,Input:nt,TouchAction:ie,TouchInput:Vn,MouseInput:Ee,PointerEventInput:on,TouchMouseInput:Xi,SingleTouchInput:$n,Recognizer:Wt,AttrRecognizer:nn,Tap:ln,Pan:Ke,Swipe:tr,Pinch:Gn,Rotate:Ji,Press:Qi,on:J,off:V,each:_,merge:z,extend:M,assign:C,inherit:P,bindFn:$,prefixed:kt});var v=typeof t<"u"?t:typeof self<"u"?self:{};v.Hammer=cn,typeof r=="function"&&r.amd?r(function(){return cn}):e.exports?e.exports=cn:t[i]=cn})(window,document,"Hammer")})(eh);var A0=eh.exports;const D0=ra(A0);function Ca(e){return e*Math.PI/180}function L0(e){return e*180/Math.PI}function $0(e,t,n,i){const r=e-n,s=t-i;return Math.sqrt(r*r+s*s)}function R0(e,t,n,i){const r=n-e,s=i-t;return Math.atan2(s,r)}function nh(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}}function ka(e,t){return Math.sqrt(e*e+t*t)}function ih(e,t){const n=ka(e,t);return{x:e/=n,y:t/=n}}class Vs{x;y;vx;vy;ax;ay;mass;constructor(t){this.x=t.x,this.y=t.y,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||0}distanceTo(t){return $0(this.x,this.y,t.x,t.y)}angleTo(t){return R0(this.x,this.y,t.x,t.y)}velocityTo(t){return{vx:t.x-this.x,vy:t.y-this.y}}followTo(t,n=3){const i=this.angleTo(t),{x:r,y:s}=nh(i,n);this.vx=r,this.vy=s,this.nextFrame()}followAccelerationTo(t,n=.05){const i=this.angleTo(t),{x:r,y:s}=nh(i,n);this.ax=r,this.ay=s,this.nextFrame()}nextFrame(t){const n=t?.gravity??0,i=t?.friction??0;if(this.vx+=this.ax,this.vy+=this.ay,this.vy+=n,i>0){const r=Math.atan2(this.vy,this.vx);let s=Math.sqrt(this.vx*this.vx+this.vy*this.vy);s>i?s-=i:s=0,this.vx=Math.cos(r)*s,this.vy=Math.sin(r)*s}this.x+=this.vx,this.y+=this.vy}nextFrameEaseTo(t,n){const i=n?.gravity??0,r=n?.friction??1,s=n?.easing??.05,o=t.x-this.x,a=t.y-this.y;this.vx=o*s,this.vy=a*s,this.vy+=i,this.vx*=r,this.vy*=r,this.x+=this.vx,this.y+=this.vy}nextFrameSpringTo(t,n){const i=n?.gravity??0,r=n?.friction??.95,s=n?.spring??.03;(Array.isArray(t)?t:[t]).forEach(a=>{const l=a.x-this.x,p=a.y-this.y,m=l*s,g=p*s;this.vx+=m,this.vy+=g}),this.vy+=i,this.vx*=r,this.vy*=r,this.x+=this.vx,this.y+=this.vy}nextFrameSpringConnect(t,n){const i=n?.gravity??0,r=n?.friction??.95,s=n?.spring??.03,o=n?.springLength??100,a=this.angleTo(t);this.nextFrameSpringTo(new Vs({x:t.x-Math.cos(a)*o,y:t.y-Math.sin(a)*o}),{spring:s,friction:r,gravity:i})}}class V0 extends Vs{width;height;constructor(t){super(t),this.width=t.width,this.height=t.height}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t){return!(t.x<this.x||t.x>this.x+this.width||t.y<this.y||t.y>this.y+this.height)}toArray(){return[this.x,this.y,this.width,this.height]}clone(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height}}class ei extends Vs{radius;constructor(t){super(t),this.radius=t?.radius??0}toSVGPathData(){return[this.x,this.y]}toSVGPathD(){return`${this.x},${this.y}`}setX(t){this.x=t}setY(t){this.y=t}setXY(t,n){this.x=t,this.y=n}eq(t){return this.x===t.x&&this.y===t.y}midPointBtw(t){return new ei({x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2})}toArray(){return[this.x,this.y]}clone(t){this.setXY(t.x,t.y)}getBounds(){return new V0({x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2})}nextFrameCollisionTo(t){const n=t.x-this.x,i=t.y-this.y;if(Math.sqrt(n*n+i*i)<this.radius+t.radius){const o=Math.atan2(i,n),a=Math.sin(o),l=Math.cos(o),p={x:0,y:0},m=s(n,i,a,l,!0),g=s(this.vx,this.vy,a,l,!0),d=s(t.vx,t.vy,a,l,!0),_=g.x-d.x;g.x=((this.mass-t.mass)*g.x+2*t.mass*d.x)/(this.mass+t.mass),d.x=_+g.x;const N=Math.abs(g.x)+Math.abs(d.x),C=this.radius+t.radius-Math.abs(p.x-m.x);p.x+=g.x/N*C,m.x+=d.x/N*C;const M=s(p.x,p.y,a,l,!1),z=s(m.x,m.y,a,l,!1);t.x=this.x+z.x,t.y=this.y+z.y,this.x=this.x+M.x,this.y=this.y+M.y;const P=s(g.x,g.y,a,l,!1),$=s(d.x,d.y,a,l,!1);this.vx=P.x,this.vy=P.y,t.vx=$.x,t.vy=$.y}function s(o,a,l,p,m=!1){return{x:m?o*p+a*l:o*p-a*l,y:m?a*p-o*l:a*p+o*l}}}nextFrameBounce(t){const n=t.left,i=t.top,r=t.right,s=t.bottom,o=t?.bounce??-1;this.x+this.radius>r?(this.x=r-this.radius,this.vx*=o):this.x-this.radius<n&&(this.x=n+this.radius,this.vx*=o),this.y+this.radius>s?(this.y=s-this.radius,this.vy*=o):this.y-this.radius<i&&(this.y=i+this.radius,this.vy*=o)}}class F0{constructor(){}static getFormatKeyNames(t){const n=P0(),i=[];return t.ctrl&&i.push(n?"Cmd":"Ctrl"),t.shift&&i.push("Shift"),t.alt&&i.push("Alt"),typeof t.key=="string"?i.push(ru(t.key)):Array.isArray(t.key)&&(t.key.map(r=>ru(r)),i.push(...t.key)),i}static matchKeyScheme(t,n){const i=t.ctrl??!1,r=t.shift??!1,s=t.alt??!1;if(t.exact)return(i===n.metaKey||i===n.ctrlKey)&&r===n.shiftKey&&s===n.altKey;const o=[];return i&&o.push(i===n.metaKey||i===n.ctrlKey),r&&o.push(r===n.shiftKey),s&&o.push(s===n.altKey),o.every(a=>a)}static on(t,n){if(t?.key===void 0||t?.key===null)return n;const i=t?.target??window;let r=!1;const s=this.getFormatKeyNames(t),o=a=>{if(a.stopPropagation(),!r&&a.key!=="Control"&&a.key!=="Meta"&&a.key!=="Shift"&&a.key!=="Option"&&a.key!=="Alt"&&s.find(l=>l.toLowerCase()===a.key.toLowerCase())&&this.matchKeyScheme(t,a)){a.preventDefault();const l=n(a);if(typeof l!="function")return;const p=m=>{m.preventDefault(),l(m),i.removeEventListener("keyup",p)};i.addEventListener("keyup",p)}};return n.title=t?.title??"",n.formatedKeyNames=s,n.pause=()=>r=!0,n.restart=()=>r=!1,n.removeListener=()=>i.removeEventListener("keydown",o),i.addEventListener("keydown",o),n}}const rh=z0("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function z0(e,t=10){const n={},i=e.split(",");for(let r=0;r<i.length;r+=2){const s="&"+i[r+1]+";",o=parseInt(i[r],t);n[s]="&#"+o+";"}return n["\\xa0"]=" ",n}function Be(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i++)e=e.replace(new RegExp("{"+n[i]+"}","gi"),""+t[n[i]]);return e}function Fs(e){let t,n;if(!e)throw new Error("cannot create a random attribute name for an undefined object");const i="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",n=0;n<12;n++)t+=i[Math.floor(Math.random()*i.length)];while(e[t]);return t}function j0(e){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[e]||t.start}function B0(e){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[e]||t.alphabetic}const Ar={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"}};class Sa{__root;__ctx;constructor(t,n){this.__root=t,this.__ctx=n}addColorStop(t,n){const i=this.__ctx.__createElement("stop");if(i.setAttribute("offset",""+t),n.indexOf("rgba")!==-1){const s=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(n);s&&(i.setAttribute("stop-color",Be("rgb({r},{g},{b})",{r:s[1],g:s[2],b:s[3]})),i.setAttribute("stop-opacity",s[4]))}else i.setAttribute("stop-color",n);this.__root.appendChild(i)}}class sh{__root;__ctx;constructor(t,n){this.__root=t,this.__ctx=n}}class zs{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:n=500,height:i=500,enableMirroring:r=!1}){this.enableMirroring=r,t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=n,this.height=i),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(Ar);for(let n=0,i=t.length;n<i;n++){const r=t[n];this[r]=Ar[r].canvas}}__getStyleState(){const t={},n=Object.keys(Ar);for(let i=0,r=n.length;i<r;i++){const s=n[i];t[s]=this[s]}return t}__applyStyleState(t){const n=Object.keys(t);for(let i=0,r=n.length;i<r;i++){const s=n[i];this[s]=t[s]}}__createElement(t,n={},i=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),s=Object.keys(n);i&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let o=0;o<s.length;o++){const a=s[o];r.setAttribute(a,n[a])}return r}__applyStyleToCurrentElement(t){let n=this.__currentElement;const i=this.__currentElementsToStyle;i&&(n.setAttribute(t,""),n=i.element,i.children.forEach(s=>{s.setAttribute(t,"")}));const r=Object.keys(Ar);for(let s=0;s<r.length;s++){const o=Ar[r[s]],a=this[r[s]];if(o.apply){if(a instanceof sh){if(a.__ctx)for(;a.__ctx.__SVGdefs.childNodes.length;){const l=a.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(a.__ctx.__SVGdefs.childNodes[0])}n.setAttribute(o.apply,Be("url(#{id})",{id:a.__root.getAttribute("id")}))}else if(a instanceof Sa)n.setAttribute(o.apply,Be("url(#{id})",{id:a.__root.getAttribute("id")}));else if(o.apply.indexOf(t)!==-1&&o.svg!==a)if((o.svgAttr==="stroke"||o.svgAttr==="fill")&&a.indexOf("rgba")!==-1){const p=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(a);n.setAttribute(o.svgAttr,Be("rgb({r},{g},{b})",{r:p[1],g:p[2],b:p[3]}));let m=parseFloat(p[4]);const g=this.globalAlpha;g!=null&&(m*=g),n.setAttribute(o.svgAttr+"-opacity",""+m)}else{let l=o.svgAttr;if(r[s]==="globalAlpha"&&(l=t+"-"+o.svgAttr,n.getAttribute(l)))continue;l&&n.setAttribute(l,a)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let n=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(n)&&(n=n.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const r=Object.keys(rh);for(let s=0,o=r.length;s<o;s++){const a=r[s],l=rh[a],p=new RegExp(a,"gi");p.test(n)&&(n=n.replace(p,l))}}return n}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),n=this.__closestGroupOrSvg();this.__groupStack.push(n),n.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const n=this.__styleStack.pop();n&&this.__applyStyleState(n)}__addTransform(t){const n=this.__closestGroupOrSvg();if(n.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:n,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const r=this.__createElement("g");n.appendChild(r),this.__currentElement=r}let i=this.__currentElement.getAttribute("transform");i?i+=" ":i="",i+=t,this.__currentElement.setAttribute("transform",i)}scale(t,n){n===void 0&&(n=t),this.__addTransform(Be("scale({x},{y})",{x:t,y:n}))}rotate(t){const n=t*180/Math.PI;this.__addTransform(Be("rotate({angle},{cx},{cy})",{angle:n,cx:0,cy:0}))}translate(t,n){this.__addTransform(Be("translate({x},{y})",{x:t,y:n}))}transform(t,n,i,r,s,o){this.__addTransform(Be("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:n,c:i,d:r,e:s,f:o}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"?t.setAttribute("d",this.__currentDefaultPath):console.error("Attempted to apply path command to node",t.nodeName)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,n){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:n},this.__addPathCommand(Be("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,n){this.__currentPosition={x:t,y:n},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Be("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Be("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,n,i,r,s,o){this.__currentPosition={x:s,y:o},this.__addPathCommand(Be("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:n,cp2x:i,cp2y:r,x:s,y:o}))}quadraticCurveTo(t,n,i,r){this.__currentPosition={x:i,y:r},this.__addPathCommand(Be("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:n,x:i,y:r}))}normalize(t){const n=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/n,t[1]/n]}arcTo(t,n,i,r,s){const o=this.__currentPosition&&this.__currentPosition.x,a=this.__currentPosition&&this.__currentPosition.y;if(typeof o>"u"||typeof a>"u")return;if(s<0)throw new Error("IndexSizeError: The radius provided ("+s+") is negative.");if(o===t&&a===n||t===i&&n===r||s===0){this.lineTo(t,n);return}const l=this.normalize([o-t,a-n]),p=this.normalize([i-t,r-n]);if(l[0]*p[1]===l[1]*p[0]){this.lineTo(t,n);return}const m=l[0]*p[0]+l[1]*p[1],g=Math.acos(Math.abs(m)),d=this.normalize([l[0]+p[0],l[1]+p[1]]),_=s/Math.sin(g/2),N=t+_*d[0],C=n+_*d[1],M=[-l[1],l[0]],z=[p[1],-p[0]],P=function(Y){const J=Y[0];return Y[1]>=0?Math.acos(J):-Math.acos(J)},$=P(M),H=P(z);this.lineTo(N+M[0]*s,C+M[1]*s),this.arc(N,C,s,$,H)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,n,i,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,n),this.lineTo(t+i,n),this.lineTo(t+i,n+r),this.lineTo(t,n+r),this.lineTo(t,n),this.closePath()}fillRect(t,n,i,r){const s=this.__createElement("rect",{x:t,y:n,width:i,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("fill")}strokeRect(t,n,i,r){const s=this.__createElement("rect",{x:t,y:n,width:i,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const n=this.__closestGroupOrSvg().getAttribute("transform"),i=this.__rootSVG.childNodes[1],r=i.childNodes;for(let s=r.length-1;s>=0;s--)r[s]&&i.removeChild(r[s]);this.__currentElement=i,this.__groupStack=[],n&&this.__addTransform(n)}clearRect(t,n,i,r){if(t===0&&n===0&&i===this.width&&r===this.height){this.__clearCanvas();return}const s=this.__closestGroupOrSvg(),o=this.__createElement("rect",{x:t,y:n,width:i,height:r,fill:"#FFFFFF"},!0);s.appendChild(o)}createLinearGradient(t,n,i,r){const s=this.__createElement("linearGradient",{id:Fs(this.__ids),x1:t+"px",x2:i+"px",y1:n+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(s),new Sa(s,this)}createRadialGradient(t,n,i,r,s,o){const a=this.__createElement("radialGradient",{id:Fs(this.__ids),cx:r+"px",cy:s+"px",r:o+"px",fx:t+"px",fy:n+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(a),new Sa(a,this)}__parseFont(){const n=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),i={style:n[1]||"normal",size:n[4]||"10px",family:n[6]||"sans-serif",weight:n[3]||"normal",decoration:n[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(i.decoration="underline"),this.__fontHref&&(i.href=this.__fontHref),i}__wrapTextLink(t,n){if(t.href){const i=this.__createElement("a");return i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),i.appendChild(n),i}return n}__applyText(t,n,i,r){const s=this.__parseFont(),o=this.__closestGroupOrSvg(),a=this.__createElement("text",{"font-family":s.family,"font-size":s.size,"font-style":s.style,"font-weight":s.weight,"text-decoration":s.decoration,x:n,y:i,"text-anchor":j0(this.textAlign),"dominant-baseline":B0(this.textBaseline)},!0);a.appendChild(this.__document.createTextNode(t)),this.__currentElement=a,this.__applyStyleToCurrentElement(r),o.appendChild(this.__wrapTextLink(s,a))}fillText(t,n,i){this.__applyText(t,n,i,"fill")}strokeText(t,n,i){this.__applyText(t,n,i,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,n,i,r,s,o){if(r===s)return;r=r%(2*Math.PI),s=s%(2*Math.PI),r===s&&(s=(s+2*Math.PI-.001*(o?-1:1))%(2*Math.PI));const a=t+i*Math.cos(s),l=n+i*Math.sin(s),p=t+i*Math.cos(r),m=n+i*Math.sin(r),g=o?0:1;let d=0,_=s-r;_<0&&(_+=2*Math.PI),o?d=_>Math.PI?0:1:d=_>Math.PI?1:0,this.lineTo(p,m),this.__addPathCommand(Be("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:i,ry:i,xAxisRotation:0,largeArcFlag:d,sweepFlag:g,endX:a,endY:l})),this.__currentPosition={x:a,y:l}}clip(){const t=this.__closestGroupOrSvg(),n=this.__createElement("clipPath"),i=Fs(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),n.setAttribute("id",i),n.appendChild(this.__currentElement),this.__SVGdefs.appendChild(n),t.setAttribute("clip-path",Be("url(#{id})",{id:i})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let n=t[0],i,r,s,o,a=0,l=0,p,m,g,d,_,N,C,M;if(t.length===3)i=t[1],r=t[2],p=n.width,m=n.height,s=p,o=m;else if(t.length===5)i=t[1],r=t[2],s=t[3],o=t[4],p=n.width,m=n.height;else if(t.length===9)a=t[1],l=t[2],p=t[3],m=t[4],i=t[5],r=t[6],s=t[7],o=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const z=this.__closestGroupOrSvg();this.__currentElement;const P="translate("+i+", "+r+")";if(n instanceof zs){if(g=n.getSvg().cloneNode(!0),g.childNodes&&g.childNodes.length>1){for(d=g.childNodes[0];d.childNodes.length;)M=d.childNodes[0].getAttribute("id"),this.__ids[M]=M,this.__SVGdefs.appendChild(d.childNodes[0]);if(_=g.childNodes[1],_){const $=_.getAttribute("transform");let H;$?H=$+" "+P:H=P,_.setAttribute("transform",H),z.appendChild(_)}}}else(n.nodeName==="CANVAS"||n.nodeName==="IMG")&&(N=this.__createElement("image"),N.setAttribute("width",s),N.setAttribute("height",o),N.setAttribute("preserveAspectRatio","none"),(a||l||p!==n.width||m!==n.height)&&(C=this.__document.createElement("canvas"),C.width=s,C.height=o,C.getContext("2d")?.drawImage(n,a,l,p,m,0,0,s,o),n=C),N.setAttribute("transform",P),N.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n.nodeName==="CANVAS"?n.toDataURL():n.getAttribute("src")),z.appendChild(N))}createPattern(t,n){const i=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=Fs(this.__ids);let s;return i.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(s=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),s.setAttribute("width",""+t.width),s.setAttribute("height",""+t.height),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),i.appendChild(s),this.__SVGdefs.appendChild(i)):t instanceof zs&&(i.setAttribute("width",""+t.width),i.setAttribute("height",""+t.height),i.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(i)),new sh(i,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}function G0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var oh={},Ta={exports:{}},ah;function H0(){return ah||(ah=1,function(e){(function(t){var n="0.4.0",i="hasOwnProperty",r=/[\.\/]/,s="*",o=function(){},a=function(d,_){return d-_},l,p,m={n:{}},g=function(d,_){var N=p,C=Array.prototype.slice.call(arguments,2),M=g.listeners(d),z=0,P,$=[],H={},Y=[];l=d,p=0;for(var J=0,V=M.length;J<V;J++)"zIndex"in M[J]&&($.push(M[J].zIndex),M[J].zIndex<0&&(H[M[J].zIndex]=M[J]));for($.sort(a);$[z]<0;)if(P=H[$[z++]],Y.push(P.apply(_,C)),p)return p=N,Y;for(J=0;J<V;J++)if(P=M[J],"zIndex"in P)if(P.zIndex==$[z]){if(Y.push(P.apply(_,C)),p)return p=N,Y;do if(z++,P=H[$[z]],P&&Y.push(P.apply(_,C)),p)return p=N,Y;while(P)}else H[P.zIndex]=P;else if(Y.push(P.apply(_,C)),p)return p=N,Y;return p=N,Y.length?Y:null};g.listeners=function(d){var _=d.split(r),N=m,C,M,z,P,$,H,Y,J,V=[N],ht=[];for(P=0,$=_.length;P<$;P++){for(J=[],H=0,Y=V.length;H<Y;H++)for(N=V[H].n,M=[N[_[P]],N[s]],z=2;z--;)C=M[z],C&&(J.push(C),ht=ht.concat(C.f||[]));V=J}return ht},g.on=function(d,_){for(var N=d.split(r),C=m,M=0,z=N.length;M<z;M++)C=C.n,!C[N[M]]&&(C[N[M]]={n:{}}),C=C[N[M]];for(C.f=C.f||[],M=0,z=C.f.length;M<z;M++)if(C.f[M]==_)return o;return C.f.push(_),function(P){+P==+P&&(_.zIndex=+P)}},g.stop=function(){p=1},g.nt=function(d){return d?new RegExp("(?:\\.|\\/|^)"+d+"(?:\\.|\\/|$)").test(l):l},g.unbind=function(d,_){var N=d.split(r),C,M,z,P,$,H,Y,J=[m];for(P=0,$=N.length;P<$;P++)for(H=0;H<J.length;H+=z.length-2){if(z=[H,1],C=J[H].n,N[P]!=s)C[N[P]]&&z.push(C[N[P]]);else for(M in C)C[i](M)&&z.push(C[M]);J.splice.apply(J,z)}for(P=0,$=J.length;P<$;P++)for(C=J[P];C.n;){if(_){if(C.f){for(H=0,Y=C.f.length;H<Y;H++)if(C.f[H]==_){C.f.splice(H,1);break}!C.f.length&&delete C.f}for(M in C.n)if(C.n[i](M)&&C.n[M].f){var V=C.n[M].f;for(H=0,Y=V.length;H<Y;H++)if(V[H]==_){V.splice(H,1);break}!V.length&&delete C.n[M].f}}else{delete C.f;for(M in C.n)C.n[i](M)&&C.n[M].f&&delete C.n[M].f}C=C.n}},g.once=function(d,_){var N=function(){_.apply(this,arguments),g.unbind(d,N)};return g.on(d,N)},g.version=n,g.toString=function(){return"You are running Eve "+n},e.exports?e.exports=g:t.eve=g})(pm)}(Ta)),Ta.exports}(function(e){if(typeof G0=="function")var t=H0();(function(){function n(d){var _=function(N){_.parse(N)};return _.mode="text",_.type=String(d||"html").toLowerCase(),_.textchunk="",_.raw="",_.parse=l,_.on=o,_.event=s,_.end=r,_}function i(d,_,N){d==`
|
|
48
|
+
`&&this.event("newline"),g[this.mode].call(this,d,_,N)}function r(){i.call(this,"eof"),this.event("eof")}function s(d,_,N){typeof t=="function"&&t("elemental."+d+"."+_,null,_,N||"",this.raw);for(var C=this.events&&this.events[d],M=C&&C.length;M--;)try{this.events[d][M](_,N||"",this.raw)}catch{}this.raw=""}function o(d,_){this.events=this.events||{},this.events[d]=this.events[d]||[],this.events[d].push(_)}function a(d,_){return d&&(d.charAt?d.charAt(_):d[_])}function l(d){d=d||Object(d);for(var _=1,N=d.length+1,C,M,z=a(d,0);_<N;_++)C=M,M=z,z=a(d,_),this.raw+=M,i.call(this,M,z,C);this._beforeEnd=function(){i.call(this,"","",M)}}var p=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]/,m=function(){for(var d in this.attr)this.attr.hasOwnProperty(d)&&this.event("attr",d,{value:this.attr[d],tagname:this.tagname,attr:this.attr})},g={text:function(d,_,N){switch(d){case"<":case"eof":this.nodename="",this.attr={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.event("text",this.textchunk),this.raw+=d,this.textchunk="";break;default:this.textchunk+=d}},special:function(d,_,N){if(N=="!"&&d=="-"&&_=="-")this.mode="comment start";else{if(this.textchunk=="[CDATA"&&d=="["){this.mode="cdata",this.textchunk="";return}if(d==">"||d=="eof"){this.event("special",this.textchunk),this.mode="text",this.textchunk="";return}this.textchunk+=d}},cdata:function(d,_,N){N=="]"&&d=="]"&&_==">"?(this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1)):(d=="eof"&&g["cdata end"].call(this),this.textchunk+=d)},"cdata end":function(d,_,N){this.event("cdata",this.textchunk),this.textchunk="",this.mode="text"},"comment start":function(d,_,N){_==">"||d=="eof"?(this.event("comment",""),this.mode="comment instant end"):this.mode="comment"},"comment instant end":function(d,_,N){this.mode="text"},comment:function(d,_,N){d=="-"&&N=="-"&&_==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):d=="eof"?this.event("comment",this.textchunk):this.textchunk+=d},"comment end":function(d,_,N){this.event("comment",this.textchunk),this.textchunk="",this.mode="text"},declaration:function(d,_,N){d=="?"&&_==">"?this.mode="declaration end":(d=="eof"&&this.event("comment",this.textchunk),this.textchunk+=d)},"declaration end":function(d,_,N){this.event("comment",this.textchunk),this.textchunk="",this.mode="text"},"tag name start":function(d,_,N){if(d=="eof")this.event("text","<");else if(!p.test(d)){if(this.mode="tag name",d=="/"){this.mode="close tag name start";return}if(d=="!"){this.mode="special",this.textchunk="";return}if(d=="?"){this.mode="declaration";return}g[this.mode].call(this,d,_,N)}},"close tag name start":function(d,_,N){p.test(d)||(this.mode="close tag name",this.tagname="",this.nodename="",g[this.mode].call(this,d,_,N))},"close tag name":function(d,_,N){if(p.test(d))this.tagname=this.nodename;else switch(d){case">":this.event("/tag",this.tagname||this.nodename),this.mode="text";break;default:!this.tagname&&(this.nodename+=d)}},"tag name":function(d,_,N){if(p.test(d))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(d){case">":this.event("tag",this.nodename),this.mode="text";break;default:this.nodename+=d}},"attr start":function(d,_,N){p.test(d)||(this.mode="attr",this.nodename="",g[this.mode].call(this,d,_,N))},attr:function(d,_,N){if(p.test(d)||d=="=")this.attr[this.nodename]="",this.mode="attr value start";else switch(d){case">":this.nodename=="/"?(delete this.attr["/"],this.event("tag",this.tagname,this.attr),m.call(this),this.event("/tag",this.tagname,!0)):(this.nodename&&(this.attr[this.nodename]=""),this.event("tag",this.tagname,this.attr),m.call(this)),this.mode="text";break;default:this.nodename+=d}},"attr value start":function(d,_,N){if(!p.test(d)){if(this.mode="attr value",this.quote=!1,d=="'"||d=='"'){this.quote=d;return}g[this.mode].call(this,d,_,N)}},"attr value":function(d,_,N){if(p.test(d)&&!this.quote)this.mode="attr start";else if(d==">"&&!this.quote)this.event("tag",this.tagname,this.attr),this.mode="text";else switch(d){case'"':case"'":this.quote==d&&N!="\\"&&(this.mode="attr start");break;default:this.attr[this.nodename]+=d}}};n.version="0.2.1",e.elemental=n,e.eve=t})()})(oh);const lh=ra(oh),ch=[1,0,0,1,0,0],uh=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ge{value;matrix3d;isEverTo3d=!1;_prev_rotatex=0;_prev_rotatey=0;constructor(t=ch){this.value=Array.from(t),this.matrix3d=this.toMatrix3D()}unit(){return this.value=Array.from(ch),this.matrix3d=this.toMatrix3D(),this}transformPoint(t,n,i=0,r=0){const s=t-i,o=n-r;return t=s*this.value[0]+o*this.value[2]+this.value[4],n=s*this.value[1]+o*this.value[3]+this.value[5],[t+i,n+r]}fromString(t){const n=iu("number",t);return n.length===6?n.forEach((i,r)=>{i.fullMatch&&(this.value[r]=parseFloat(i.fullMatch))}):this.unit(),this}toMatrix3D(t=this.matrix3d){const n=[this.value[0],this.value[1],0,0,this.value[2],this.value[3],0,0,0,0,1,0,this.value[4],this.value[5],0,1];return t?(t.value=n,t):new zi(n)}offset(t=0,n=0){return[t-this.value[4],n-this.value[5]]}clone(){return new Ge(this.value)}multiply(t){const n=this.value;let i;t instanceof Ge?i=t.value:i=t;const r=n[0]*i[0]+n[2]*i[1],s=n[1]*i[0]+n[3]*i[1],o=n[0]*i[2]+n[2]*i[3],a=n[1]*i[2]+n[3]*i[3],l=n[0]*i[4]+n[2]*i[5]+n[4],p=n[1]*i[4]+n[3]*i[5]+n[5];return n[0]=r,n[1]=s,n[2]=o,n[3]=a,n[4]=l,n[5]=p,this}inverse(){const t=new Ge(this.value),n=t.value,i=1/(n[0]*n[3]-n[1]*n[2]),r=n[3]*i,s=-n[1]*i,o=-n[2]*i,a=n[0]*i,l=i*(n[2]*n[5]-n[3]*n[4]),p=i*(n[1]*n[4]-n[0]*n[5]);return n[0]=r,n[1]=s,n[2]=o,n[3]=a,n[4]=l,n[5]=p,t}translate(t,n){return this.matrix3d.translate(t,n,0),this.multiply([1,0,0,1,t,n])}translateTo(t,n){const i=this.offset(t,n);return this.translate(i[0],i[1])}translateX(t){return this.translate(t,0)}translateY(t){return this.translate(0,t)}translateZ(t){return this.isEverTo3d=!0,this.matrix3d.translate(0,0,t)}translate3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.translate(t,n,i)}rotate(t,n=0,i=0){const r=Ca(t),s=+Math.cos(r).toFixed(9),o=+Math.sin(r).toFixed(9);return this.multiply([s,o,-o,s,n,i]),this.translate(-n,-i),this}rotateX(t){return this._prev_rotatex=t,this.isEverTo3d=!0,this.matrix3d.rotate("x",t)}rotateXTo(t){return this.rotateX(t-this._prev_rotatex)}rotateY(t){return this._prev_rotatey=t,this.isEverTo3d=!0,this.matrix3d.rotate("y",t)}rotateYTo(t){return this.rotateY(t-this._prev_rotatey)}rotateZ(t){return this.isEverTo3d=!0,this.matrix3d.rotate("z",t)}rotate3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.rotate("x",t).rotate("y",n).rotate("z",i)}scale(t,n=t,i=0,r=0){return this.matrix3d.scale(t,n,1),this.translate(i,r),this.multiply([t,0,0,n,0,0]),this.translate(-i,-r),this}scaleTo(t,n=t){return this.scale(t/this.value[0],n/this.value[3]),this}scaleX(t){return this.scale(t,1)}scaleY(t){return this.scale(1,t)}scaleZ(t){return this.isEverTo3d=!0,this.matrix3d.scale(1,1,t)}scale3d(t,n,i){return this.isEverTo3d=!0,this.matrix3d.scale(t,n,i)}skew(t,n=0){const i=t*Math.PI/180,r=n*Math.PI/180,s=Math.tan(i),o=Math.tan(r);return this.multiply([1,o,s,1,0,0])}skewX(t){return this.skew(t,0)}skewY(t){return this.skew(0,t)}skewZ(t){return this}skew3d(t,n,i){return this}split(){const t={dx:0,dy:0,scalex:1,scaley:1,shear:1,rotate:0,isSimple:!0,isSuperSimple:!0,noRotation:!1};t.dx=this.value[4],t.dy=this.value[5];const n=[[this.value[0],this.value[2]],[this.value[1],this.value[3]]];t.scalex=ka(n[0][0],n[0][1]);let i=ih(n[0][0],n[0][1]);n[0][0]=i.x,n[0][1]=i.y,t.shear=n[0][0]*n[1][0]+n[0][1]*n[1][1],n[1]=[n[1][0]-n[0][0]*t.shear,n[1][1]-n[0][1]*t.shear],t.scaley=ka(n[1][0],n[1][1]),i=ih(n[1][0],n[1][1]),n[1][0]=i.x,n[1][1]=i.y,t.shear/=t.scaley;const r=-n[0][1],s=n[1][1];return s<0?(t.rotate=L0(Math.acos(s)),r<0&&(t.rotate=360-t.rotate)):t.rotate=Ca(Math.asin(r)),t.isSimple=!+t.shear.toFixed(9)&&(t.scalex.toFixed(9)==t.scaley.toFixed(9)||!t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t}toTransformString(){const t=this.split();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx&&t.dy?"t"+[t.dx,t.dy]:"")+(t.scalex!=1||t.scaley!=1?"s"+[t.scalex,t.scaley,0,0]:"")+(t.rotate?"r"+[t.rotate,0,0]:"")):"matrix"+[this.value[0],this.value[1],this.value[2],this.value[3],this.value[4],this.value[5]]}toString(){return this.isEverTo3d?this.toMatrix3DString():`matrix(${this.value.map(t=>ou(t,6)).join(",")})`}toMatrix3DString(){return this.matrix3d.toString()}toFilter(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.value[0]+", M12="+this.value[2]+", M21="+this.value[1]+", M22="+this.value[3]+", Dx="+this.value[4]+", Dy="+this.value[5]+", sizingmethod='auto expand')"}}class zi{value;constructor(t=uh){this.value=Array.from(t)}unit(){return this.value=Array.from(uh),this}fromString(t){const n=iu("number",t);return n.length===16?n.forEach((i,r)=>{i.fullMatch&&(this.value[r]=parseFloat(i.fullMatch))}):this.unit(),this}toMatrix(t){const n=[this.value[0],this.value[1],this.value[4],this.value[5],this.value[12],this.value[13]];return t?(t.value=n,t):new Ge(n)}multiplyMatrix(t){const n=this.value[0],i=this.value[1],r=this.value[2],s=this.value[3],o=this.value[4],a=this.value[5],l=this.value[6],p=this.value[7],m=this.value[8],g=this.value[9],d=this.value[10],_=this.value[11],N=this.value[12],C=this.value[13],M=this.value[14],z=this.value[15],P=t.value[0],$=t.value[1],H=t.value[2],Y=t.value[3],J=P*n+$*o+H*m+Y*N,V=P*i+$*a+H*g+Y*C,ht=P*r+$*l+H*d+Y*M,_t=P*s+$*p+H*_+Y*z;return new Ge([J,V,ht,_t,0,0])}multiply(t){const n=new Ge([t.value[0],t.value[1],t.value[2],t.value[3],0,0]),i=new Ge([t.value[4],t.value[5],t.value[6],t.value[7],0,0]),r=new Ge([t.value[8],t.value[9],t.value[10],t.value[11],0,0]),s=new Ge([t.value[12],t.value[13],t.value[14],t.value[15],0,0]),o=this.multiplyMatrix(n),a=this.multiplyMatrix(i),l=this.multiplyMatrix(r),p=this.multiplyMatrix(s);return this.value[0]=o.value[0],this.value[1]=o.value[1],this.value[2]=o.value[2],this.value[3]=o.value[3],this.value[4]=a.value[0],this.value[5]=a.value[1],this.value[6]=a.value[2],this.value[7]=a.value[3],this.value[8]=l.value[0],this.value[9]=l.value[1],this.value[10]=l.value[2],this.value[11]=l.value[3],this.value[12]=p.value[0],this.value[13]=p.value[1],this.value[14]=p.value[2],this.value[15]=p.value[3],this}translate(t=0,n=0,i=0){return this.multiply(new zi([1,0,0,0,0,1,0,0,0,0,1,0,t,n,i,1]))}scale(t=1,n=1,i=1){return this.multiply(new zi([t,0,0,0,0,n,0,0,0,0,i,0,0,0,0,1]))}rotate(t,n){const i=Ca(n),r=Math.sin,s=Math.cos;let o;switch(t){case"x":o=[1,0,0,0,0,s(i),r(i),0,0,-r(i),s(i),0,0,0,0,1];break;case"y":o=[s(i),0,-r(i),0,0,1,0,0,r(i),0,s(i),0,0,0,0,1];break;case"z":o=[s(i),r(i),0,0,-r(i),s(i),0,0,0,0,1,0,0,0,0,1];break}return this.multiply(new zi(o))}toString(){return`matrix3d(${this.value.map(t=>ou(t,6)).join(",")})`}}function js(e){const t=new Ge;return e.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(n,i,r){r.indexOf(",")>=0?r=r.split(/\s*,\s*/):r=r.split(/\s+/);const s=[];for(let o=0,a=r.length;o<a;o++)r[o].trim()&&s.push(parseFloat(""+r[o]));switch(i.toLowerCase()){case"t":case"translate":t.translate(s[0],s[1]);break;case"translatex":t.translateX(s[0]);break;case"translatey":t.translateY(s[0]);break;case"translatez":t.translateZ(s[0]);break;case"translate3d":t.translate3d(s[0],s[1],s[2]);break;case"r":case"rotate":t.rotate(s[0],s[1]??0,s[2]??0);break;case"rotatex":t.rotateX(s[0]);break;case"rotatey":t.rotateY(s[0]);break;case"rotatez":t.rotateZ(s[0]);break;case"rotate3d":t.rotate3d(s[0],s[1],s[2]);break;case"s":case"scale":t.scale(s[0],s[1]??s[0]);break;case"scalex":t.scaleX(s[0]);break;case"scaley":t.scaleY(s[0]);break;case"scalez":t.scaleZ(s[0]);break;case"scale3d":t.scale3d(s[0],s[1],s[2]);break;case"skew":t.skew(s[0],s[1]??0);break;case"skewx":t.skewX(s[0]);break;case"skewy":t.skewY(s[0]);break;case"skewz":t.skewZ(s[0]);break;case"skew3d":t.skew3d(s[0],s[1],s[2]);break;case"m":case"matrix":t.multiply([s[0],s[1],s[2],s[3],s[4],s[5]]);break;case"matrix3d":t.matrix3d.multiply(new zi(s));break}return""}),t}function Na(e,t,n,i,r,s){if(typeof r>"u"||typeof s>"u"){const o=e-n,a=t-i;return!o&&!a?0:(180+Math.atan2(-a,-o)*180/Math.PI+360)%360}else return Na(e,t,r,s)-Na(n,i,r,s)}const Xt=lh.eve,U0=lh.elemental,Bs={cursor:1,cx:0,cy:0,fill:1,"fill-opacity":0,font:1,"font-family":1,"font-size":0,"font-style":1,"font-weight":1,height:0,"letter-spacing":0,opacity:0,r:0,rx:0,ry:0,src:1,stroke:1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":1,width:0,x:0,y:0};function Oa(e,t,n){for(var i=(e+"").split(";"),r=/^\s+|\s+$/g,s,o=0,a=i.length;o<a;o++){var l=i[o].split(":");s=l[0].replace(r,"").replace(/[A-Z]/g,function(p){return"-"+p.toLowerCase()}),(!n||s in n)&&(t[s]=l[1].replace(r,""),n&&!n[s]&&(t[s]=parseFloat(t[s])))}}function W0(e){const t=U0(),n=[],i=[],r={};let s,o,a;const l={};function p(m,g){return function(d,_){const N={type:g||m};n.push(N);for(let C in _)Object.prototype.hasOwnProperty.call(_,C)&&Xt("rappar."+m+".attr."+C,N,_[C],C);Xt("rappar."+m+".attrend",N,_)}}return Xt.on("rappar.polygon.attr.points",function(m){this.path="M"+m+"z",Xt.stop()}),Xt.on("rappar.image.attr.xlink:href",function(m){this.src=m,Xt.stop()}),Xt.on("rappar.path.attr.d",function(m){this.path=m,Xt.stop()}),Xt.on("rappar.*.attr.transform",function(m){this.transform=js(m).toTransformString(),Xt.stop()}),Xt.on("rappar.*.attr.fill",function(m){var g=m.match(/url\(#([^)]+)\)/),d=this;g&&(g=g[1],r[g]?this.fill=r[g]:Xt.on("rappar.found."+g,function(_){d.fill=_}),Xt.stop())}),Xt.on("rappar.line.attrend",function(m){this.path="M"+[m.x1,m.y1,m.x2,m.y2]}),Xt.on("rappar.*.attrend",function(){for(var m=i.length;m--;)if(i[m]!=this){let d="",_="";for(var g in i[m])g=="transform"?d=i[m].transform:g=="class"&&l["."+i[m][g]]?_=l["."+i[m][g]].join(";")+";"+_:g=="id"&&l["#"+i[m][g]]?_=l["#"+i[m][g]].join(";")+";"+_:typeof this[g]>"u"&&(this[g]=i[m][g]);this.type&&(typeof this.transform>"u"?this.transform=d:this.transform+=d,typeof this.style>"u"?this.style=_:this.style=_+this.style,Oa(this.style,this,Bs))}}),Xt.on("rappar.*.attr.style",function(m){var g=function(){Oa(m,this,Bs),Xt.unbind("rappar.*.attrend",g)};Xt.on("rappar.*.attrend",g),Xt.stop()}),Xt.on("rappar.*.attr.*",function(m,g){g in Bs&&(this[g]=Bs[g]?m:parseFloat(m))}),Xt.on("elemental.tag.circle",p("circle")),Xt.on("elemental.tag.ellipse",p("ellipse")),Xt.on("elemental.tag.polygon",p("polygon","path")),Xt.on("elemental.tag.path",p("path")),Xt.on("elemental.tag.line",p("line","path")),Xt.on("elemental.tag.rect",p("rect")),Xt.on("elemental.tag.image",p("image")),Xt.on("elemental.tag.text",p("text")),Xt.on("elemental.text",function(m){try{const g=wm(m);for(let d of g.stylesheet.rules){for(let _ of d.selectors)l[_]=[];for(let _ of d.declarations)for(let N of d.selectors)l[N].push(`${_.property}:${_.value}`)}}catch{}}),Xt.on("elemental.tag.svg",function(m,g){let d=g.width||0,_=g.height||0;if(!d||!_){const N=g.viewBox.split(/\s+/gi);d=parseFloat(N[2])-parseFloat(N[0]),_=parseFloat(N[3])-parseFloat(N[1])}n.push({type:"viewbox",width:d,height:_})}),Xt.on("rappar.text.attrend",function(){s="",o=this,this["text-anchor"]=this["text-anchor"]||"start"}),Xt.on("elemental.text",function(m,g,d){o&&(s+=d)}),Xt.on("elemental./tag.text",function(){o.text=s,o=null}),Xt.on("elemental.tag.g",function(m,g){var d={};i.push(d);for(var _ in g)Object.prototype.hasOwnProperty.call(g,_)&&(d[_]=g[_],Xt("rappar.g.attr."+_,d,g[_],_));Xt("rappar.g.attrend",d)}),Xt.on("elemental./tag.g",function(m,g){i.pop()}),Xt.on("elemental.tag.linearGradient",function(m,g){a={id:g.id,angle:+(360+Na(g.x1,g.y1,g.x2,g.y2,g.x1+100,g.y1)).toFixed(2),stops:[]}}),Xt.on("elemental./tag.linearGradient",function(){for(var m=[a.angle],g,d=0,_=a.stops.length;d<_;d++)g=a.stops[d],d&&d!=_-1?m.push(g.color+":"+g.offset):m.push(g.color);r[a.id]=m.join("-"),Xt("rappar.found."+a.id,null,r[a.id])}),Xt.on("elemental.tag.radialGradient",function(m,g){a={id:g.id,stops:[]}}),Xt.on("elemental./tag.radialGradient",function(){for(var m=[],g,d=0,_=a.stops.length;d<_;d++)g=a.stops[d],d&&d!=_-1?m.push(g.color+":"+g.offset):m.push(g.color);r[a.id]="r"+m.join("-"),Xt("rappar.found."+a.id,null,r[a.id])}),Xt.on("elemental.tag.stop",function(m,g){var d={};g.style&&Oa(g.style,d),d.offset=d.offset||g.offset,d.color=d["stop-color"]||g["stop-color"],d.opacity=d["stop-opacity"]||g["stop-opacity"],~(d.offset+"").indexOf("%")?d.offset=parseFloat(d.offset):d.offset=parseFloat(d.offset)*100,d.offset=+d.offset.toFixed(2),a.stops.push(d)}),t(e),t.end(),n}function q0(e){return typeof e!="string"?!1:(e=e.trim(),/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(e)&&/[\dz]$/i.test(e)&&e.length>4)}const Pa={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Y0=/([astvzqmhlc])([^astvzqmhlc]*)/gi,X0=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;function K0(e){const t=e.match(X0);return t?t.map(Number):[]}function Ia(e){const t=[];return e.replace(Y0,function(n,i,r){let s=i.toLowerCase();for(r=K0(r),s=="m"&&r.length>2&&(t.push([i].concat(r.splice(0,2))),s="l",i=i=="m"?"l":"L");;){if(r.length==Pa[s])return r.unshift(i),t.push(r);if(r.length<Pa[s])throw new Error("malformed path data");t.push([i].concat(r.splice(0,Pa[s])))}}),t}function Ma(e){var t=0,n=0,i=0,r=0;return e.map(function(s){s=s.slice();var o=s[0],a=o.toUpperCase();if(o!=a)switch(s[0]=a,o){case"a":s[6]+=i,s[7]+=r;break;case"v":s[1]+=r;break;case"h":s[1]+=i;break;default:for(var l=1;l<s.length;)s[l++]+=i,s[l++]+=r}switch(a){case"Z":i=t,r=n;break;case"H":i=s[1];break;case"V":r=s[1];break;case"M":i=t=s[1],r=n=s[2];break;default:i=s[s.length-2],r=s[s.length-1]}return s})}const Dr=Math.PI*2;function hh(e,t,n,i){const r=e*i-t*n<0?-1:1;let s=e*n+t*i;return s>1&&(s=1),s<-1&&(s=-1),r*Math.acos(s)}function Z0(e,t,n,i,r,s,o,a,l,p){const m=p*(e-n)/2+l*(t-i)/2,g=-l*(e-n)/2+p*(t-i)/2,d=o*o,_=a*a,N=m*m,C=g*g;let M=d*_-d*C-_*N;M<0&&(M=0),M/=d*C+_*N,M=Math.sqrt(M)*(r===s?-1:1);const z=M*o/a*g,P=M*-a/o*m,$=p*z-l*P+(e+n)/2,H=l*z+p*P+(t+i)/2,Y=(m-z)/o,J=(g-P)/a,V=(-m-z)/o,ht=(-g-P)/a,_t=hh(1,0,Y,J);let Pt=hh(Y,J,V,ht);return s===0&&Pt>0&&(Pt-=Dr),s===1&&Pt<0&&(Pt+=Dr),[$,H,_t,Pt]}function Q0(e,t){const n=1.3333333333333333*Math.tan(t/4),i=Math.cos(e),r=Math.sin(e),s=Math.cos(e+t),o=Math.sin(e+t);return[i,r,i-r*n,r+i*n,s+o*n,o-s*n,s,o]}function J0(e,t,n,i,r,s,o,a,l){const p=Math.sin(l*Dr/360),m=Math.cos(l*Dr/360),g=m*(e-n)/2+p*(t-i)/2,d=-p*(e-n)/2+m*(t-i)/2;if(g===0&&d===0)return[];if(o===0||a===0)return[];o=Math.abs(o),a=Math.abs(a);const _=g*g/(o*o)+d*d/(a*a);_>1&&(o*=Math.sqrt(_),a*=Math.sqrt(_));const N=Z0(e,t,n,i,r,s,o,a,p,m),C=[];let M=N[2],z=N[3];const P=Math.max(Math.ceil(Math.abs(z)/(Dr/4)),1);z/=P;for(let $=0;$<P;$++)C.push(Q0(M,z)),M+=z;return C.map($=>{for(let H=0;H<$.length;H+=2){let Y=$[H+0],J=$[H+1];Y*=o,J*=a;const V=m*Y-p*J,ht=p*Y+m*J;$[H+0]=V+N[0],$[H+1]=ht+N[1]}return $})}function Aa(e){for(var t,n=[],i=0,r=0,s=0,o=0,a=null,l=null,p=0,m=0,g=0,d=e.length;g<d;g++){var _=e[g],N=_[0];switch(N){case"M":s=_[1],o=_[2];break;case"A":var C=J0(p,m,_[6],_[7],_[4],_[5],_[1],_[2],_[3]);if(!C.length)continue;C=C.map(H=>{const[Y,J,V,ht,_t,Pt,Et,vt]=H;return{x1:V,y1:ht,x2:_t,y2:Pt,x:Et,y:vt}});for(var M=0,z;M<C.length;M++)z=C[M],_=["C",z.x1,z.y1,z.x2,z.y2,z.x,z.y],M<C.length-1&&n.push(_);break;case"S":var P=p,$=m;(t=="C"||t=="S")&&(P+=P-i,$+=$-r),_=["C",P,$,_[1],_[2],_[3],_[4]];break;case"T":t=="Q"||t=="T"?(a=p*2-a,l=m*2-l):(a=p,l=m),_=fh(p,m,a,l,_[1],_[2]);break;case"Q":a=_[1],l=_[2],_=fh(p,m,_[1],_[2],_[3],_[4]);break;case"L":_=Gs(p,m,_[1],_[2]);break;case"H":_=Gs(p,m,_[1],m);break;case"V":_=Gs(p,m,p,_[1]);break;case"Z":_=Gs(p,m,s,o);break}t=N,p=_[_.length-2],m=_[_.length-1],_.length>4?(i=_[_.length-4],r=_[_.length-3]):(i=p,r=m),n.push(_)}return n}function Gs(e,t,n,i){return["C",e,t,n,i,n,i]}function fh(e,t,n,i,r,s){return["C",e/3+.6666666666666666*n,t/3+.6666666666666666*i,r/3+.6666666666666666*n,s/3+.6666666666666666*i,r,s]}const tg=e=>Array.isArray(e);function ji(e){if(!(this instanceof ji))return new ji(e);this._path=tg(e)?e:Ia(e),this._path=Ma(this._path),this._path=ng(this._path),this._path=eg(this._path)}ji.prototype.at=function(e,t){return this._walk(e,t).pos},ji.prototype.length=function(){return this._walk(null).length},ji.prototype._walk=function(e,t){let n=[0,0],i=[0,0,0],r=[0,0],s=0;for(let m=0;m<this._path.length;m++){let g=this._path[m];if(g[0]==="M"){if(n[0]=g[1],n[1]=g[2],e===0)return{length:s,pos:n}}else if(g[0]==="C"){i[0]=r[0]=n[0],i[1]=r[1]=n[1],i[2]=s;let d=100;for(let _=0;_<=d;_++){let N=_/d,C=o(g,N),M=a(g,N);if(s+=Da(n[0],n[1],C,M),n[0]=C,n[1]=M,typeof e=="number"&&s>=e){let z=(s-e)/(s-i[2]),P=[n[0]*(1-z)+i[0]*z,n[1]*(1-z)+i[1]*z];return{length:s,pos:P}}i[0]=n[0],i[1]=n[1],i[2]=s}}else if(g[0]==="Q"){i[0]=r[0]=n[0],i[1]=r[1]=n[1],i[2]=s;let d=100;for(let _=0;_<=d;_++){let N=_/d,C=l(g,N),M=p(g,N);if(s+=Da(n[0],n[1],C,M),n[0]=C,n[1]=M,typeof e=="number"&&s>=e){let z=(s-e)/(s-i[2]),P=[n[0]*(1-z)+i[0]*z,n[1]*(1-z)+i[1]*z];return{length:s,pos:P}}i[0]=n[0],i[1]=n[1],i[2]=s}}else if(g[0]==="L"){if(i[0]=n[0],i[1]=n[1],i[2]=s,s+=Da(n[0],n[1],g[1],g[2]),n[0]=g[1],n[1]=g[2],typeof e=="number"&&s>=e){let d=(s-e)/(s-i[2]),_=[n[0]*(1-d)+i[0]*d,n[1]*(1-d)+i[1]*d];return{length:s,pos:_}}i[0]=n[0],i[1]=n[1],i[2]=s}}return{length:s,pos:n};function o(m,g){return Math.pow(1-g,3)*r[0]+3*Math.pow(1-g,2)*g*m[1]+3*(1-g)*Math.pow(g,2)*m[3]+Math.pow(g,3)*m[5]}function a(m,g){return Math.pow(1-g,3)*r[1]+3*Math.pow(1-g,2)*g*m[2]+3*(1-g)*Math.pow(g,2)*m[4]+Math.pow(g,3)*m[6]}function l(m,g){return Math.pow(1-g,2)*r[0]+2*(1-g)*g*m[1]+Math.pow(g,2)*m[3]}function p(m,g){return Math.pow(1-g,2)*r[1]+2*(1-g)*g*m[2]+Math.pow(g,2)*m[4]}};function Da(e,t,n,i){let r=e-n,s=t-i;return Math.sqrt(r*r+s*s)}function eg(e){let t,n=0,i=0,r={S:{to:"C",x:3},T:{to:"Q",x:1}};for(let s=0,o=e.length;s<o;s++){let a=e[s],l=r[a[0]];l&&(a[0]=l.to,t&&(t[0]===l.to?(n=2*t[l.x+2]-t[l.x],i=2*t[l.x+3]-t[l.x+1]):(n=t[t.length-2],i=t[t.length-1])),a.splice(1,0,n,i)),t=a}return e}function ng(e){let t=[],n=["L",0,0],i;for(let r=0,s=e.length;r<s;r++){let o=e[r];switch(o[0]){case"M":n=["L",o[1],o[2]],t.push(o);break;case"Z":t.push(n);break;case"H":i=t[t.length-1]||["L",0,0],t.push(["L",o[1],i[i.length-1]]);break;case"V":i=t[t.length-1]||["L",0,0],t.push(["L",i[i.length-2],o[1]]);break;default:t.push(o)}}return t}const La=e=>{if(typeof e=="function"||Object(e)!==e)return e;const t=new e.constructor;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=La(e[n]));return t};function $a(e){const t=$a.ps=$a.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(()=>{for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&n!==e&&(t[n].sleep--,t[n].sleep||delete t[n])}),t[e]}function Lr(e,t,n,i){return e==null&&(e=t=n=i=0),t==null&&(t=e.y,n=e.width,i=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:i,h:i,x2:e+n,y2:t+i,cx:e+n/2,cy:t+i/2,r1:Math.min(n,i)/2,r2:Math.max(n,i)/2,r0:Math.sqrt(n*n+i*i)/2,path:cg(e,t,n,i),vb:[e,t,n,i].join(" ")}}function dh(e,t,n,i,r,s,o,a,l){const p=1-l,m=p**3,g=p**2,d=l*l,_=d*l,N=m*e+g*3*l*n+p*3*l*l*r+_*o,C=m*t+g*3*l*i+p*3*l*l*s+_*a,M=e+2*l*(n-e)+d*(r-2*n+e),z=t+2*l*(i-t)+d*(s-2*i+t),P=n+2*l*(r-n)+d*(o-2*r+n),$=i+2*l*(s-i)+d*(a-2*s+i),H=p*e+l*n,Y=p*t+l*i,J=p*r+l*o,V=p*s+l*a,ht=90-Math.atan2(M-P,z-$)*180/Math.PI;return{x:N,y:C,m:{x:M,y:z},n:{x:P,y:$},start:{x:H,y:Y},end:{x:J,y:V},alpha:ht}}function ph(e,t,n,i,r,s,o,a){Array.isArray(e)||(e=[e,t,n,i,r,s,o,a]);const l=vh(...e);return Lr(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)}function ig(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function rg(e,t){e=Lr(e),t=Lr(t);const{x:n,y:i,width:r,height:s}=e,{x:o,y:a,width:l,height:p}=t,m=n+r/2,g=i+s/2,d=o+l/2,_=a+p/2;return Math.abs(m-d)<=(r+l)/2||Math.abs(g-_)<=(s+p)/2}function mh(e,t,n,i,r){const s=-3*t+9*n-9*i+3*r,o=e*s+6*t-12*n+6*i;return e*o-3*t+3*n}function gh(e,t,n,i,r,s,o,a,l){l==null&&(l=1),l=Math.max(0,Math.min(l,1));const p=l/2,m=12,g=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let _=0;for(let N=0;N<m;N++){const C=p*g[N]+p,M=mh(C,e,n,r,o),z=mh(C,t,i,s,a),P=M*M+z*z;_+=d[N]*Math.sqrt(P)}return p*_}function sg(e,t,n,i,r,s,o,a){if(Math.max(e,n)<Math.min(r,o)||Math.min(e,n)>Math.max(r,o)||Math.max(t,i)<Math.min(s,a)||Math.min(t,i)>Math.max(s,a))return;const l=(e*i-t*n)*(r-o)-(e-n)*(r*a-s*o),p=(e*i-t*n)*(s-a)-(t-i)*(r*a-s*o),m=(e-n)*(s-a)-(t-i)*(r-o);if(!m)return;const g=l/m,d=p/m,_=Number(g.toFixed(2)),N=Number(d.toFixed(2));if(!(_<Number(Math.min(e,n).toFixed(2))||_>Number(Math.max(e,n).toFixed(2))||_<Number(Math.min(r,o).toFixed(2))||_>Number(Math.max(r,o).toFixed(2))||N<Number(Math.min(t,i).toFixed(2))||N>Number(Math.max(t,i).toFixed(2))||N<Number(Math.min(s,a).toFixed(2))||N>Number(Math.max(s,a).toFixed(2))))return{x:g,y:d}}function og(e,t,n){const i=ph(e),r=ph(t);if(!rg(i,r))return n?0:[];const s=gh.apply(0,e),o=gh.apply(0,t),a=Math.ceil(s/8),l=Math.ceil(o/8),p=[],m=[],g={};let d=n?0:[];for(let _=0;_<a+1;_++){const N=dh.apply(0,e.concat(_/a));p.push({x:N.x,y:N.y,t:_/a})}for(let _=0;_<l+1;_++){const N=dh.apply(0,t.concat(_/l));m.push({x:N.x,y:N.y,t:_/l})}for(let _=0;_<a;_++)for(let N=0;N<l;N++){const C=p[_],M=p[_+1],z=m[N],P=m[N+1],$=Math.abs(M.x-C.x)<.001?"y":"x",H=Math.abs(P.x-z.x)<.001?"y":"x",Y=sg(C.x,C.y,M.x,M.y,z.x,z.y,P.x,P.y);if(Y&&g[Y.x.toFixed(4)]!==Y.y.toFixed(4)){g[Y.x.toFixed(4)]=Y.y.toFixed(4);const J=C.t+Math.abs((Y[$]-C[$])/(M[$]-C[$]))*(M.t-C.t),V=z.t+Math.abs((Y[H]-z[H])/(P[H]-z[H]))*(P.t-z.t);J>=0&&J<=1&&V>=0&&V<=1&&(n?d++:d.push({x:Y.x,y:Y.y,t1:J,t2:V}))}}return d}function ag(e,t,n){let i,r,s,o,a,l,p,m,g,d,_=n?0:[];for(let N=0,C=e.length;N<C;N++){const M=e[N];if(M[0]==="M")i=a=M[1],r=l=M[2];else{M[0]==="C"?(g=[i,r].concat(M.slice(1)),i=g[6],r=g[7]):(g=[i,r,i,r,a,l,a,l],i=a,r=l);for(let z=0,P=t.length;z<P;z++){const $=t[z];if($[0]==="M")s=p=$[1],o=m=$[2];else{$[0]==="C"?(d=[s,o].concat($.slice(1)),s=d[6],o=d[7]):(d=[s,o,s,o,p,m,p,m],s=p,o=m);const H=og(g,d,n);if(n)_+=H;else{for(let Y=0,J=H.length;Y<J;Y++)H[Y].segment1=N,H[Y].segment2=z,H[Y].bez1=g,H[Y].bez2=d;_=_.concat(H)}}}}}return _}function lg(e){const t=$a(e);if(t.bbox)return La(t.bbox);if(!e)return Lr();let n=0,i=0,r=[],s=[],o=[];for(let d=0,_=e.length;d<_;d++)if(o=e[d],o[0]==="M")n=o[1],i=o[2],r.push(n),s.push(i);else{const N=vh(n,i,o[1],o[2],o[3],o[4],o[5],o[6]);r=r.concat(N.min.x,N.max.x),s=s.concat(N.min.y,N.max.y),n=o[5],i=o[6]}const a=Math.min.apply(0,r),l=Math.min.apply(0,s),p=Math.max.apply(0,r),m=Math.max.apply(0,s),g=Lr(a,l,p-a,m-l);return t.bbox=La(g),g}function cg(e,t,n,i,r){return r?[["M",Number(e)+Number(r),t],["l",n-r*2,0],["a",r,r,0,0,1,r,r],["l",0,i-r*2],["a",r,r,0,0,1,-r,r],["l",r*2-n,0],["a",r,r,0,0,1,-r,-r],["l",0,r*2-i],["a",r,r,0,0,1,r,-r],["z"]]:[["M",e,t],["l",n,0],["l",0,i],["l",-n,0],["z"]]}function vh(e,t,n,i,r,s,o,a){const l=[],p=[[],[]];let m,g,d,_,N,C,M,z;for(let Y=0;Y<2;++Y){if(Y===0?(g=6*e-12*n+6*r,m=-3*e+9*n-9*r+3*o,d=3*n-3*e):(g=6*t-12*i+6*s,m=-3*t+9*i-9*s+3*a,d=3*i-3*t),Math.abs(m)<1e-12){if(Math.abs(g)<1e-12)continue;_=-d/g,_>0&&_<1&&l.push(_);continue}M=g*g-4*d*m,z=Math.sqrt(M),!(M<0)&&(N=(-g+z)/(2*m),N>0&&N<1&&l.push(N),C=(-g-z)/(2*m),C>0&&C<1&&l.push(C))}let P=l.length,$;const H=P;for(;P--;)_=l[P],$=1-_,p[0][P]=$*$*$*e+3*$*$*_*n+3*$*_*_*r+_*_*_*o,p[1][P]=$*$*$*t+3*$*$*_*i+3*$*_*_*s+_*_*_*a;return p[0][H]=e,p[1][H]=t,p[0][H+1]=o,p[1][H+1]=a,p[0].length=p[1].length=H+2,{min:{x:Math.min.apply(0,p[0]),y:Math.min.apply(0,p[1])},max:{x:Math.max.apply(0,p[0]),y:Math.max.apply(0,p[1])}}}function ug(e,t,n){const i=lg(e);return!(!ig(i,t,n)||ag(e,Aa([["M",t,n],["H",i.x2+10]]),1)%2!==1)}const Ra=new Map;function yh(e){if(Ra.has(e))return Ra.get(e);const t=ji(e);return Ra.set(e,t),t}function _h(e){const t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",e),t}function hg(e,t){return Ts?_h(e).getTotalLength(t):yh(e).length()}function fg(e,t){if(Ts)return _h(e).getPointAtLength(t);{const n=yh(e),[i,r]=n.at(t);return{x:i,y:r}}}let rn=null;function dg(e,t,n){if(Ts){rn||(rn=document.createElement("canvas").getContext("2d"));const i=new Path2D(e);return rn.isPointInPath(i,t,n)}else return ug(e,t,n)}function pg(e,t,n,{lineWidth:i=1,lineCap:r="butt",lineJoin:s="miter"}){if(Ts){if(rn||(rn=document.createElement("canvas").getContext("2d")),rn.isPointInStroke){rn.save(),rn.lineWidth=i,rn.lineCap=r,rn.lineJoin=s;const o=new Path2D(e),a=rn.isPointInStroke(o,t,n);return rn.restore(),a}}else return null}class Va{point;constructor(t){this.point=new ei(t)}static fromSVGPathData(t){if(t.length<3)throw new Error("Line 参数个数错误");if(t[0].toUpperCase()!=="L")throw new Error("Line command 错误");return new Va({x:t[1],y:t[2]})}toSVGPathData(){return["L",this.point.x,this.point.y]}toSVGPathD(){return"L "+this.point.toSVGPathD()}}const bh=Va;class Fa extends bh{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1}static fromSVGPathData(t){if(t.length<8)throw new Error("Arc 参数个数错误");if(t[0].toUpperCase()!=="A")throw new Error("Arc command 错误");return new Fa({x:t[6],y:t[7],rx:t[1],ry:t[2],xAxisRotate:t[3],largeArcFlag:t[4],sweepFlag:t[5]})}toSVGPathData(){return["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.point.x,this.point.y]}toSVGPathD(){return`A ${this.rx},${this.ry} ${this.xAxisRotate} ${this.largeArcFlag},${this.sweepFlag} ${this.point.toSVGPathD()}`}}const xh=Fa;class za extends bh{ctrlPoints=[];constructor(t){super(t),this.ctrlPoints.push(new ei({x:t.c1x,y:t.c1y})),this.ctrlPoints.push(new ei({x:t.c2x,y:t.c2y}))}static fromSVGPathData(t){if(t.length<7)throw new Error("CubicBezier 参数个数错误");if(t[0].toUpperCase()!=="C")throw new Error("CubicBezier command 错误");return new za({c1x:t[1],c1y:t[2],c2x:t[3],c2y:t[4],x:t[5],y:t[6]})}toSVGPathData(){return["C",this.ctrlPoints[0].x,this.ctrlPoints[0].y,this.ctrlPoints[1].x,this.ctrlPoints[1].y,this.point.x,this.point.y]}toSVGPathD(){return`C ${this.ctrlPoints.map(t=>t.toSVGPathD()).join(" ")} ${this.point.toSVGPathD()}`}}const ja=za;class $r{startPoint;isClosed=!1;lines=[];normalizedLines=[];constructor(t){this.startPoint=t?.startPoint??null,this.isClosed=t?.isClosed??!1,t?.lines?.forEach(this.addLine),this.normalize()}setStartPoint(t,n){return this.startPoint=new ei({x:t,y:n}),this}addLine(t){return this.lines.push(t),this}normalize(){let t=this.lines.reduce((i,r)=>(i+=r.toSVGPathD(),i),"");this.startPoint&&(t="M "+this.startPoint.toSVGPathD()+t),this.isClosed&&(t+="Z"),this.normalizedLines=[];const n=Aa(Ma(Ia(t)));for(let i=0,r=n.length;i<r;i++){const s=n[i];if(i==0&&s[0]=="M"){this.setStartPoint(s[1],s[2]);continue}if(i==r-1&&s[0]=="Z"){this.isClosed=!0;continue}this.normalizedLines.push(ja.fromSVGPathData(s))}return this}static fromSVGPathD(t,n){if(!q0(t))throw new Error("Not an SVG path!");const i=Aa(Ma(Ia(t)));return $r.fromSVGPathData(i,n)}static fromSVGPathData(t,n){const i=new $r;for(let s=0,o=t.length;s<o;s++){const a=t[s],l=a[0];if(s==0&&l=="M"){i.setStartPoint(a[1],a[2]);continue}if(s==o-1&&l=="Z"){i.isClosed=!0;continue}i.addLine(new ja({c1x:a[1],c1y:a[2],c2x:a[3],c2y:a[4],x:a[5],y:a[6]}))}i.normalize();const r=js(n??"");return i.transform(r)}toSVGPathD(){let t="";this.startPoint&&(t+="M "+this.startPoint.toSVGPathD());for(let n=0,i=this.normalizedLines.length;n<i;n++)t+=this.normalizedLines[n].toSVGPathD();return this.isClosed&&(t+="Z"),t}toSVGPathData(){const t=[];this.startPoint&&t.push(["M",...this.startPoint.toSVGPathData()]);for(let n=0,i=this.normalizedLines.length;n<i;n++)t.push(this.normalizedLines[n].toSVGPathData());return this.isClosed&&t.push(["Z"]),t}toCanvas(t){const n=this.normalizedLines;n.length&&(this.startPoint&&(t.beginPath(),t.moveTo(this.startPoint.x,this.startPoint.y)),n.forEach(i=>{const[r,...s]=i.toSVGPathData();r==="M"?t.moveTo(s[0],s[1]):r==="Z"?t.closePath():t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5])}),this.isClosed&&t.closePath())}get bounds(){let t=[0,0,0,0];if(this.normalizedLines.length){t=[1/0,1/0,-1/0,-1/0];for(let n=0,i=this.normalizedLines.length;n<i;n++){const r=this.normalizedLines[n],s=[...r.ctrlPoints,r.point];for(let o=0;o<s.length;o++){const a=s[o].x,l=s[o].y;a<t[0]&&(t[0]=a),l<t[1]&&(t[1]=l),a>t[2]&&(t[2]=a),l>t[3]&&(t[3]=l)}}}return t}get size(){const t=this.bounds;return[t[2]-t[0],t[3]-t[1]]}get center(){const[t,n,i,r]=this.bounds;return[(t+i)/2,(n+r)/2]}getTotalLength(){return hg(this.toSVGPathD())}getPointAtLength(t){return fg(this.toSVGPathD(),t)}isPointInPath(t,n){return dg(this.toSVGPathD(),t,n)}isPointInStroke(t,n,i={lineWidth:1,lineCap:"butt",lineJoin:"miter"}){return pg(this.toSVGPathD(),t,n,i)}transform(t){if(this.startPoint){const[n,i]=t.transformPoint(this.startPoint.x,this.startPoint.y);this.setStartPoint(n,i)}return this.normalizedLines=this.normalizedLines.map(n=>{const[i,...r]=n.toSVGPathData(),s=[i];for(let o=0,a=r.length;o<a;o+=2){const l=r[o],p=r[o+1],[m,g]=t.transformPoint(l,p);s.push(m,g)}return ja.fromSVGPathData(s)}),this}translate(t,n){const i=new Ge().translate(t,n);return this.transform(i)}rotate(t,n=0,i=0){const r=new Ge().rotate(t,n,i);return this.transform(r)}scale(t,n=t,i=0,r=0){const s=new Ge().scale(t,n,i,r);return this.transform(s)}skew(t,n=0){const i=new Ge().skew(t,n);return this.transform(i)}trim(){const[t,n]=this.bounds;return this.translate(-t,-n),this}static generateRosetta(t,n,i,r,s){if(s==0)throw new Error("no dividing by zero, please");const o=new $r;o.setStartPoint(t,n);const a=360/s;for(let l=0;l<s;l+=1){const p=a*l*Math.PI/180,m=t+2*i*Math.cos(p),g=n+2*i*Math.sin(p);o.addLine(new xh({x:m,y:g,rx:i,ry:r,xAxisRotate:a*l,largeArcFlag:1,sweepFlag:1})),o.addLine(new xh({x:t,y:n,rx:i,ry:r,xAxisRotate:a*l,largeArcFlag:1,sweepFlag:1}))}return o.normalize(),o}}const wh=$r;var Eh={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(window,function(){return function(n){var i={};function r(s){if(i[s])return i[s].exports;var o=i[s]={i:s,l:!1,exports:{}};return n[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=i,r.d=function(s,o,a){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:a})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(1&o&&(s=r(s)),8&o||4&o&&typeof s=="object"&&s&&s.__esModule)return s;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:s}),2&o&&typeof s!="string")for(var l in s)r.d(a,l,function(p){return s[p]}.bind(null,l));return a},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s=1)}([function(n,i,r){var s,o;s=[r(2)],(o=function(a){function l(u){if(l.is(u,"function"))return p?u():a.on("raphael.DOMload",u);if(l.is(u,at))return l._engine.create[P](l,u.splice(0,3+l.is(u[0],W))).add(u);var f=Array.prototype.slice.call(arguments,0);if(l.is(f[f.length-1],"function")){var v=f.pop();return p?v.call(l._engine.create[P](l,f)):a.on("raphael.DOMload",function(){v.call(l._engine.create[P](l,f))})}return l._engine.create[P](l,arguments)}l.version="2.3.0",l.eve=a;var p,m,g=/[, ]+/,d={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},_=/\{(\d+)\}/g,N="hasOwnProperty",C={doc:document,win:window},M={was:Object.prototype[N].call(C.win,"Raphael"),is:C.win.Raphael},z=function(){this.ca=this.customAttributes={}},P="apply",$="concat",H="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,Y="",J=" ",V=String,ht="split",_t="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[ht](J),Pt={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},Et=V.prototype.toLowerCase,vt=Math,It=vt.max,kt=vt.min,Ut=vt.abs,jt=vt.pow,Ot=vt.PI,W="number",at="array",mt=Object.prototype.toString,S=(l._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),w={NaN:1,Infinity:1,"-Infinity":1},x=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,I=vt.round,R=parseFloat,j=parseInt,F=V.prototype.toUpperCase,rt=l._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},G=l._availableAnimAttrs={blur:W,"clip-rect":"csv",cx:W,cy:W,fill:"colour","fill-opacity":W,"font-size":W,height:W,opacity:W,path:"path",r:W,rx:W,ry:W,stroke:"colour","stroke-opacity":W,"stroke-width":W,transform:"transform",width:W,x:W,y:W},st=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,yt={hs:1,rg:1},St=/,?([achlmqrstvxz]),?/gi,Ft=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,O=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,D=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,B=(l._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),X=function(u,f){return R(u)-R(f)},Q=function(u){return u},K=l._rectPath=function(u,f,v,c,h){return h?[["M",u+h,f],["l",v-2*h,0],["a",h,h,0,0,1,h,h],["l",0,c-2*h],["a",h,h,0,0,1,-h,h],["l",2*h-v,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-c],["a",h,h,0,0,1,h,-h],["z"]]:[["M",u,f],["l",v,0],["l",0,c],["l",-v,0],["z"]]},pt=function(u,f,v,c){return c==null&&(c=v),[["M",u,f],["m",0,-c],["a",v,c,0,1,1,0,2*c],["a",v,c,0,1,1,0,-2*c],["z"]]},nt=l._getPath={path:function(u){return u.attr("path")},circle:function(u){var f=u.attrs;return pt(f.cx,f.cy,f.r)},ellipse:function(u){var f=u.attrs;return pt(f.cx,f.cy,f.rx,f.ry)},rect:function(u){var f=u.attrs;return K(f.x,f.y,f.width,f.height,f.r)},image:function(u){var f=u.attrs;return K(f.x,f.y,f.width,f.height)},text:function(u){var f=u._getBBox();return K(f.x,f.y,f.width,f.height)},set:function(u){var f=u._getBBox();return K(f.x,f.y,f.width,f.height)}},ft=l.mapPath=function(u,f){if(!f)return u;var v,c,h,y,b,E,k;for(h=0,b=(u=Ni(u)).length;h<b;h++)for(y=1,E=(k=u[h]).length;y<E;y+=2)v=f.x(k[y],k[y+1]),c=f.y(k[y],k[y+1]),k[y]=v,k[y+1]=c;return u};if(l._g=C,l.type=C.win.SVGAngle||C.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML",l.type=="VML"){var tt,bt=C.doc.createElement("div");if(bt.innerHTML='<v:shape adj="1"/>',(tt=bt.firstChild).style.behavior="url(#default#VML)",!tt||typeof tt.adj!="object")return l.type=Y;bt=null}function Tt(u){if(typeof u=="function"||Object(u)!==u)return u;var f=new u.constructor;for(var v in u)u[N](v)&&(f[v]=Tt(u[v]));return f}l.svg=!(l.vml=l.type=="VML"),l._Paper=z,l.fn=m=z.prototype=l.prototype,l._id=0,l.is=function(u,f){return(f=Et.call(f))=="finite"?!w[N](+u):f=="array"?u instanceof Array:f=="null"&&u===null||f==typeof u&&u!==null||f=="object"&&u===Object(u)||f=="array"&&Array.isArray&&Array.isArray(u)||mt.call(u).slice(8,-1).toLowerCase()==f},l.angle=function(u,f,v,c,h,y){if(h==null){var b=u-v,E=f-c;return b||E?(180+180*vt.atan2(-E,-b)/Ot+360)%360:0}return l.angle(u,f,h,y)-l.angle(v,c,h,y)},l.rad=function(u){return u%360*Ot/180},l.deg=function(u){return Math.round(180*u/Ot%360*1e3)/1e3},l.snapTo=function(u,f,v){if(v=l.is(v,"finite")?v:10,l.is(u,at)){for(var c=u.length;c--;)if(Ut(u[c]-f)<=v)return u[c]}else{var h=f%(u=+u);if(h<v)return f-h;if(h>u-v)return f-h+u}return f};var Mt,Vt;l.createUUID=(Mt=/[xy]/g,Vt=function(u){var f=16*vt.random()|0;return(u=="x"?f:3&f|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Mt,Vt).toUpperCase()}),l.setWindow=function(u){a("raphael.setWindow",l,C.win,u),C.win=u,C.doc=C.win.document,l._engine.initWin&&l._engine.initWin(C.win)};var Bt=function(u){if(l.vml){var f,v=/^\s+|\s+$/g;try{var c=new ActiveXObject("htmlfile");c.write("<body>"),c.close(),f=c.body}catch{f=createPopup().document.body}var h=f.createTextRange();Bt=Te(function(b){try{f.style.color=V(b).replace(v,Y);var E=h.queryCommandValue("ForeColor");return"#"+("000000"+(E=(255&E)<<16|65280&E|(16711680&E)>>>16).toString(16)).slice(-6)}catch{return"none"}})}else{var y=C.doc.createElement("i");y.title="Raphaël Colour Picker",y.style.display="none",C.doc.body.appendChild(y),Bt=Te(function(b){return y.style.color=b,C.doc.defaultView.getComputedStyle(y,Y).getPropertyValue("color")})}return Bt(u)},ee=function(){return"hsb("+[this.h,this.s,this.b]+")"},re=function(){return"hsl("+[this.h,this.s,this.l]+")"},le=function(){return this.hex},we=function(u,f,v){if(f==null&&l.is(u,"object")&&"r"in u&&"g"in u&&"b"in u&&(v=u.b,f=u.g,u=u.r),f==null&&l.is(u,"string")){var c=l.getRGB(u);u=c.r,f=c.g,v=c.b}return(u>1||f>1||v>1)&&(u/=255,f/=255,v/=255),[u,f,v]},en=function(u,f,v,c){var h={r:u*=255,g:f*=255,b:v*=255,hex:l.rgb(u,f,v),toString:le};return l.is(c,"finite")&&(h.opacity=c),h};function Te(u,f,v){return function c(){var h=Array.prototype.slice.call(arguments,0),y=h.join("␀"),b=c.cache=c.cache||{},E=c.count=c.count||[];return b[N](y)?(function(k,L){for(var U=0,it=k.length;U<it;U++)if(k[U]===L)return k.push(k.splice(U,1)[0])}(E,y),v?v(b[y]):b[y]):(E.length>=1e3&&delete b[E.shift()],E.push(y),b[y]=u[P](f,h),v?v(b[y]):b[y])}}l.color=function(u){var f;return l.is(u,"object")&&"h"in u&&"s"in u&&"b"in u?(f=l.hsb2rgb(u),u.r=f.r,u.g=f.g,u.b=f.b,u.hex=f.hex):l.is(u,"object")&&"h"in u&&"s"in u&&"l"in u?(f=l.hsl2rgb(u),u.r=f.r,u.g=f.g,u.b=f.b,u.hex=f.hex):(l.is(u,"string")&&(u=l.getRGB(u)),l.is(u,"object")&&"r"in u&&"g"in u&&"b"in u?(f=l.rgb2hsl(u),u.h=f.h,u.s=f.s,u.l=f.l,f=l.rgb2hsb(u),u.v=f.b):(u={hex:"none"}).r=u.g=u.b=u.h=u.s=u.v=u.l=-1),u.toString=le,u},l.hsb2rgb=function(u,f,v,c){var h,y,b,E,k;return this.is(u,"object")&&"h"in u&&"s"in u&&"b"in u&&(v=u.b,f=u.s,c=u.o,u=u.h),E=(k=v*f)*(1-Ut((u=(u*=360)%360/60)%2-1)),h=y=b=v-k,en(h+=[k,E,0,0,E,k][u=~~u],y+=[E,k,k,E,0,0][u],b+=[0,0,E,k,k,E][u],c)},l.hsl2rgb=function(u,f,v,c){var h,y,b,E,k;return this.is(u,"object")&&"h"in u&&"s"in u&&"l"in u&&(v=u.l,f=u.s,u=u.h),(u>1||f>1||v>1)&&(u/=360,f/=100,v/=100),E=(k=2*f*(v<.5?v:1-v))*(1-Ut((u=(u*=360)%360/60)%2-1)),h=y=b=v-k/2,en(h+=[k,E,0,0,E,k][u=~~u],y+=[E,k,k,E,0,0][u],b+=[0,0,E,k,k,E][u],c)},l.rgb2hsb=function(u,f,v){var c,h;return u=(v=we(u,f,v))[0],f=v[1],v=v[2],{h:(((h=(c=It(u,f,v))-kt(u,f,v))==0?null:c==u?(f-v)/h:c==f?(v-u)/h+2:(u-f)/h+4)+360)%6*60/360,s:h==0?0:h/c,b:c,toString:ee}},l.rgb2hsl=function(u,f,v){var c,h,y,b;return u=(v=we(u,f,v))[0],f=v[1],v=v[2],c=((h=It(u,f,v))+(y=kt(u,f,v)))/2,{h:(((b=h-y)==0?null:h==u?(f-v)/b:h==f?(v-u)/b+2:(u-f)/b+4)+360)%6*60/360,s:b==0?0:c<.5?b/(2*c):b/(2-2*c),l:c,toString:re}},l._path2string=function(){return this.join(",").replace(St,"$1")},l._preload=function(u,f){var v=C.doc.createElement("img");v.style.cssText="position:absolute;left:-9999em;top:-9999em",v.onload=function(){f.call(this),this.onload=null,C.doc.body.removeChild(this)},v.onerror=function(){C.doc.body.removeChild(this)},C.doc.body.appendChild(v),v.src=u};function Re(){return this.hex}function pn(u,f){for(var v=[],c=0,h=u.length;h-2*!f>c;c+=2){var y=[{x:+u[c-2],y:+u[c-1]},{x:+u[c],y:+u[c+1]},{x:+u[c+2],y:+u[c+3]},{x:+u[c+4],y:+u[c+5]}];f?c?h-4==c?y[3]={x:+u[0],y:+u[1]}:h-2==c&&(y[2]={x:+u[0],y:+u[1]},y[3]={x:+u[2],y:+u[3]}):y[0]={x:+u[h-2],y:+u[h-1]}:h-4==c?y[3]=y[2]:c||(y[0]={x:+u[c],y:+u[c+1]}),v.push(["C",(-y[0].x+6*y[1].x+y[2].x)/6,(-y[0].y+6*y[1].y+y[2].y)/6,(y[1].x+6*y[2].x-y[3].x)/6,(y[1].y+6*y[2].y-y[3].y)/6,y[2].x,y[2].y])}return v}l.getRGB=Te(function(u){if(!u||(u=V(u)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Re};if(u=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:Re};!yt[N](u.toLowerCase().substring(0,2))&&u.charAt()!="#"&&(u=Bt(u));var f,v,c,h,y,b,E=u.match(S);return E?(E[2]&&(c=j(E[2].substring(5),16),v=j(E[2].substring(3,5),16),f=j(E[2].substring(1,3),16)),E[3]&&(c=j((y=E[3].charAt(3))+y,16),v=j((y=E[3].charAt(2))+y,16),f=j((y=E[3].charAt(1))+y,16)),E[4]&&(b=E[4][ht](st),f=R(b[0]),b[0].slice(-1)=="%"&&(f*=2.55),v=R(b[1]),b[1].slice(-1)=="%"&&(v*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),E[1].toLowerCase().slice(0,4)=="rgba"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100)),E[5]?(b=E[5][ht](st),f=R(b[0]),b[0].slice(-1)=="%"&&(f*=2.55),v=R(b[1]),b[1].slice(-1)=="%"&&(v*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),(b[0].slice(-3)=="deg"||b[0].slice(-1)=="°")&&(f/=360),E[1].toLowerCase().slice(0,4)=="hsba"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100),l.hsb2rgb(f,v,c,h)):E[6]?(b=E[6][ht](st),f=R(b[0]),b[0].slice(-1)=="%"&&(f*=2.55),v=R(b[1]),b[1].slice(-1)=="%"&&(v*=2.55),c=R(b[2]),b[2].slice(-1)=="%"&&(c*=2.55),(b[0].slice(-3)=="deg"||b[0].slice(-1)=="°")&&(f/=360),E[1].toLowerCase().slice(0,4)=="hsla"&&(h=R(b[3])),b[3]&&b[3].slice(-1)=="%"&&(h/=100),l.hsl2rgb(f,v,c,h)):((E={r:f,g:v,b:c,toString:Re}).hex="#"+(16777216|c|v<<8|f<<16).toString(16).slice(1),l.is(h,"finite")&&(E.opacity=h),E)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Re}},l),l.hsb=Te(function(u,f,v){return l.hsb2rgb(u,f,v).hex}),l.hsl=Te(function(u,f,v){return l.hsl2rgb(u,f,v).hex}),l.rgb=Te(function(u,f,v){function c(h){return h+.5|0}return"#"+(16777216|c(v)|c(f)<<8|c(u)<<16).toString(16).slice(1)}),l.getColor=function(u){var f=this.getColor.start=this.getColor.start||{h:0,s:1,b:u||.75},v=this.hsb2rgb(f.h,f.s,f.b);return f.h+=.075,f.h>1&&(f.h=0,f.s-=.2,f.s<=0&&(this.getColor.start={h:0,s:1,b:f.b})),v.hex},l.getColor.reset=function(){delete this.start},l.parsePathString=function(u){if(!u)return null;var f=oe(u);if(f.arr)return Fe(f.arr);var v={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},c=[];return l.is(u,at)&&l.is(u[0],at)&&(c=Fe(u)),c.length||V(u).replace(Ft,function(h,y,b){var E=[],k=y.toLowerCase();if(b.replace(D,function(L,U){U&&E.push(+U)}),k=="m"&&E.length>2&&(c.push([y][$](E.splice(0,2))),k="l",y=y=="m"?"l":"L"),k=="r")c.push([y][$](E));else for(;E.length>=v[k]&&(c.push([y][$](E.splice(0,v[k]))),v[k]););}),c.toString=l._path2string,f.arr=Fe(c),c},l.parseTransformString=Te(function(u){if(!u)return null;var f=[];return l.is(u,at)&&l.is(u[0],at)&&(f=Fe(u)),f.length||V(u).replace(O,function(v,c,h){var y=[];Et.call(c),h.replace(D,function(b,E){E&&y.push(+E)}),f.push([c][$](y))}),f.toString=l._path2string,f},this,function(u){if(!u)return u;for(var f=[],v=0;v<u.length;v++){for(var c=[],h=0;h<u[v].length;h++)c.push(u[v][h]);f.push(c)}return f});var oe=function(u){var f=oe.ps=oe.ps||{};return f[u]?f[u].sleep=100:f[u]={sleep:100},setTimeout(function(){for(var v in f)f[N](v)&&v!=u&&(f[v].sleep--,!f[v].sleep&&delete f[v])}),f[u]};function Ee(u,f,v,c,h){return u*(u*(-3*f+9*v-9*c+3*h)+6*f-12*v+6*c)-3*f+3*v}function Ve(u,f,v,c,h,y,b,E,k){k==null&&(k=1);for(var L=(k=k>1?1:k<0?0:k)/2,U=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],it=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Z=0,q=0;q<12;q++){var ot=L*U[q]+L,ct=Ee(ot,u,v,h,b),lt=Ee(ot,f,c,y,E),et=ct*ct+lt*lt;Z+=it[q]*vt.sqrt(et)}return L*Z}function Ti(u,f,v,c,h,y,b,E){if(!(It(u,v)<kt(h,b)||kt(u,v)>It(h,b)||It(f,c)<kt(y,E)||kt(f,c)>It(y,E))){var k=(u-v)*(y-E)-(f-c)*(h-b);if(k){var L=((u*c-f*v)*(h-b)-(u-v)*(h*E-y*b))/k,U=((u*c-f*v)*(y-E)-(f-c)*(h*E-y*b))/k,it=+L.toFixed(2),Z=+U.toFixed(2);if(!(it<+kt(u,v).toFixed(2)||it>+It(u,v).toFixed(2)||it<+kt(h,b).toFixed(2)||it>+It(h,b).toFixed(2)||Z<+kt(f,c).toFixed(2)||Z>+It(f,c).toFixed(2)||Z<+kt(y,E).toFixed(2)||Z>+It(y,E).toFixed(2)))return{x:L,y:U}}}}function Ln(u,f,v){var c=l.bezierBBox(u),h=l.bezierBBox(f);if(!l.isBBoxIntersect(c,h))return v?0:[];for(var y=Ve.apply(0,u),b=Ve.apply(0,f),E=It(~~(y/5),1),k=It(~~(b/5),1),L=[],U=[],it={},Z=v?0:[],q=0;q<E+1;q++){var ot=l.findDotsAtSegment.apply(l,u.concat(q/E));L.push({x:ot.x,y:ot.y,t:q/E})}for(q=0;q<k+1;q++)ot=l.findDotsAtSegment.apply(l,f.concat(q/k)),U.push({x:ot.x,y:ot.y,t:q/k});for(q=0;q<E;q++)for(var ct=0;ct<k;ct++){var lt=L[q],et=L[q+1],Nt=U[ct],ut=U[ct+1],gt=Ut(et.x-lt.x)<.001?"y":"x",dt=Ut(ut.x-Nt.x)<.001?"y":"x",qt=Ti(lt.x,lt.y,et.x,et.y,Nt.x,Nt.y,ut.x,ut.y);if(qt){if(it[qt.x.toFixed(4)]==qt.y.toFixed(4))continue;it[qt.x.toFixed(4)]=qt.y.toFixed(4);var zt=lt.t+Ut((qt[gt]-lt[gt])/(et[gt]-lt[gt]))*(et.t-lt.t),Yt=Nt.t+Ut((qt[dt]-Nt[dt])/(ut[dt]-Nt[dt]))*(ut.t-Nt.t);zt>=0&&zt<=1.001&&Yt>=0&&Yt<=1.001&&(v?Z++:Z.push({x:qt.x,y:qt.y,t1:kt(zt,1),t2:kt(Yt,1)}))}}return Z}function ni(u,f,v){u=l._path2curve(u),f=l._path2curve(f);for(var c,h,y,b,E,k,L,U,it,Z,q=v?0:[],ot=0,ct=u.length;ot<ct;ot++){var lt=u[ot];if(lt[0]=="M")c=E=lt[1],h=k=lt[2];else{lt[0]=="C"?(it=[c,h].concat(lt.slice(1)),c=it[6],h=it[7]):(it=[c,h,c,h,E,k,E,k],c=E,h=k);for(var et=0,Nt=f.length;et<Nt;et++){var ut=f[et];if(ut[0]=="M")y=L=ut[1],b=U=ut[2];else{ut[0]=="C"?(Z=[y,b].concat(ut.slice(1)),y=Z[6],b=Z[7]):(Z=[y,b,y,b,L,U,L,U],y=L,b=U);var gt=Ln(it,Z,v);if(v)q+=gt;else{for(var dt=0,qt=gt.length;dt<qt;dt++)gt[dt].segment1=ot,gt[dt].segment2=et,gt[dt].bez1=it,gt[dt].bez2=Z;q=q.concat(gt)}}}}}return q}l.findDotsAtSegment=function(u,f,v,c,h,y,b,E,k){var L=1-k,U=jt(L,3),it=jt(L,2),Z=k*k,q=Z*k,ot=U*u+3*it*k*v+3*L*k*k*h+q*b,ct=U*f+3*it*k*c+3*L*k*k*y+q*E,lt=u+2*k*(v-u)+Z*(h-2*v+u),et=f+2*k*(c-f)+Z*(y-2*c+f),Nt=v+2*k*(h-v)+Z*(b-2*h+v),ut=c+2*k*(y-c)+Z*(E-2*y+c),gt=L*u+k*v,dt=L*f+k*c,qt=L*h+k*b,zt=L*y+k*E,Yt=90-180*vt.atan2(lt-Nt,et-ut)/Ot;return(lt>Nt||et<ut)&&(Yt+=180),{x:ot,y:ct,m:{x:lt,y:et},n:{x:Nt,y:ut},start:{x:gt,y:dt},end:{x:qt,y:zt},alpha:Yt}},l.bezierBBox=function(u,f,v,c,h,y,b,E){l.is(u,"array")||(u=[u,f,v,c,h,y,b,E]);var k=Vn.apply(null,u);return{x:k.min.x,y:k.min.y,x2:k.max.x,y2:k.max.y,width:k.max.x-k.min.x,height:k.max.y-k.min.y}},l.isPointInsideBBox=function(u,f,v){return f>=u.x&&f<=u.x2&&v>=u.y&&v<=u.y2},l.isBBoxIntersect=function(u,f){var v=l.isPointInsideBBox;return v(f,u.x,u.y)||v(f,u.x2,u.y)||v(f,u.x,u.y2)||v(f,u.x2,u.y2)||v(u,f.x,f.y)||v(u,f.x2,f.y)||v(u,f.x,f.y2)||v(u,f.x2,f.y2)||(u.x<f.x2&&u.x>f.x||f.x<u.x2&&f.x>u.x)&&(u.y<f.y2&&u.y>f.y||f.y<u.y2&&f.y>u.y)},l.pathIntersection=function(u,f){return ni(u,f)},l.pathIntersectionNumber=function(u,f){return ni(u,f,1)},l.isPointInsidePath=function(u,f,v){var c=l.pathBBox(u);return l.isPointInsideBBox(c,f,v)&&ni(u,[["M",f,v],["H",c.x2+10]],1)%2==1},l._removedFactory=function(u){return function(){a("raphael.log",null,"Raphaël: you are calling to method “"+u+"” of removed object",u)}};var on=l.pathBBox=function(u){var f=oe(u);if(f.bbox)return Tt(f.bbox);if(!u)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var v,c=0,h=0,y=[],b=[],E=0,k=(u=Ni(u)).length;E<k;E++)if((v=u[E])[0]=="M")c=v[1],h=v[2],y.push(c),b.push(h);else{var L=Vn(c,h,v[1],v[2],v[3],v[4],v[5],v[6]);y=y[$](L.min.x,L.max.x),b=b[$](L.min.y,L.max.y),c=v[5],h=v[6]}var U=kt[P](0,y),it=kt[P](0,b),Z=It[P](0,y),q=It[P](0,b),ot=Z-U,ct=q-it,lt={x:U,y:it,x2:Z,y2:q,width:ot,height:ct,cx:U+ot/2,cy:it+ct/2};return f.bbox=Tt(lt),lt},Fe=function(u){var f=Tt(u);return f.toString=l._path2string,f},Ks=l._pathToRelative=function(u){var f=oe(u);if(f.rel)return Fe(f.rel);l.is(u,at)&&l.is(u&&u[0],at)||(u=l.parsePathString(u));var v=[],c=0,h=0,y=0,b=0,E=0;u[0][0]=="M"&&(y=c=u[0][1],b=h=u[0][2],E++,v.push(["M",c,h]));for(var k=E,L=u.length;k<L;k++){var U=v[k]=[],it=u[k];if(it[0]!=Et.call(it[0]))switch(U[0]=Et.call(it[0]),U[0]){case"a":U[1]=it[1],U[2]=it[2],U[3]=it[3],U[4]=it[4],U[5]=it[5],U[6]=+(it[6]-c).toFixed(3),U[7]=+(it[7]-h).toFixed(3);break;case"v":U[1]=+(it[1]-h).toFixed(3);break;case"m":y=it[1],b=it[2];default:for(var Z=1,q=it.length;Z<q;Z++)U[Z]=+(it[Z]-(Z%2?c:h)).toFixed(3)}else{U=v[k]=[],it[0]=="m"&&(y=it[1]+c,b=it[2]+h);for(var ot=0,ct=it.length;ot<ct;ot++)v[k][ot]=it[ot]}var lt=v[k].length;switch(v[k][0]){case"z":c=y,h=b;break;case"h":c+=+v[k][lt-1];break;case"v":h+=+v[k][lt-1];break;default:c+=+v[k][lt-2],h+=+v[k][lt-1]}}return v.toString=l._path2string,f.rel=Fe(v),v},ii=l._pathToAbsolute=function(u){var f=oe(u);if(f.abs)return Fe(f.abs);if(l.is(u,at)&&l.is(u&&u[0],at)||(u=l.parsePathString(u)),!u||!u.length)return[["M",0,0]];var v=[],c=0,h=0,y=0,b=0,E=0;u[0][0]=="M"&&(y=c=+u[0][1],b=h=+u[0][2],E++,v[0]=["M",c,h]);for(var k,L,U=u.length==3&&u[0][0]=="M"&&u[1][0].toUpperCase()=="R"&&u[2][0].toUpperCase()=="Z",it=E,Z=u.length;it<Z;it++){if(v.push(k=[]),(L=u[it])[0]!=F.call(L[0]))switch(k[0]=F.call(L[0]),k[0]){case"A":k[1]=L[1],k[2]=L[2],k[3]=L[3],k[4]=L[4],k[5]=L[5],k[6]=+(L[6]+c),k[7]=+(L[7]+h);break;case"V":k[1]=+L[1]+h;break;case"H":k[1]=+L[1]+c;break;case"R":for(var q=[c,h][$](L.slice(1)),ot=2,ct=q.length;ot<ct;ot++)q[ot]=+q[ot]+c,q[++ot]=+q[ot]+h;v.pop(),v=v[$](pn(q,U));break;case"M":y=+L[1]+c,b=+L[2]+h;default:for(ot=1,ct=L.length;ot<ct;ot++)k[ot]=+L[ot]+(ot%2?c:h)}else if(L[0]=="R")q=[c,h][$](L.slice(1)),v.pop(),v=v[$](pn(q,U)),k=["R"][$](L.slice(-2));else for(var lt=0,et=L.length;lt<et;lt++)k[lt]=L[lt];switch(k[0]){case"Z":c=y,h=b;break;case"H":c=k[1];break;case"V":h=k[1];break;case"M":y=k[k.length-2],b=k[k.length-1];default:c=k[k.length-2],h=k[k.length-1]}}return v.toString=l._path2string,f.abs=Fe(v),v},$n=function(u,f,v,c){return[u,f,v,c,v,c]},wn=function(u,f,v,c,h,y){return[1/3*u+2/3*v,1/3*f+2/3*c,1/3*h+2/3*v,1/3*y+2/3*c,h,y]},qi=function(u,f,v,c,h,y,b,E,k,L){var U,it=120*Ot/180,Z=Ot/180*(+h||0),q=[],ot=Te(function(df,pf,ao){return{x:df*vt.cos(ao)-pf*vt.sin(ao),y:df*vt.sin(ao)+pf*vt.cos(ao)}});if(L)zt=L[0],Yt=L[1],dt=L[2],qt=L[3];else{u=(U=ot(u,f,-Z)).x,f=U.y,E=(U=ot(E,k,-Z)).x,k=U.y;var ct=(u-E)/2,lt=(f-k)/2,et=ct*ct/(v*v)+lt*lt/(c*c);et>1&&(v*=et=vt.sqrt(et),c*=et);var Nt=v*v,ut=c*c,gt=(y==b?-1:1)*vt.sqrt(Ut((Nt*ut-Nt*lt*lt-ut*ct*ct)/(Nt*lt*lt+ut*ct*ct))),dt=gt*v*lt/c+(u+E)/2,qt=gt*-c*ct/v+(f+k)/2,zt=vt.asin(((f-qt)/c).toFixed(9)),Yt=vt.asin(((k-qt)/c).toFixed(9));(zt=u<dt?Ot-zt:zt)<0&&(zt=2*Ot+zt),(Yt=E<dt?Ot-Yt:Yt)<0&&(Yt=2*Ot+Yt),b&&zt>Yt&&(zt-=2*Ot),!b&&Yt>zt&&(Yt-=2*Ot)}var er=Yt-zt;if(Ut(er)>it){var Gr=Yt,Ze=E,Cn=k;Yt=zt+it*(b&&Yt>zt?1:-1),E=dt+v*vt.cos(Yt),k=qt+c*vt.sin(Yt),q=qi(E,k,v,c,h,0,b,Ze,Cn,[Yt,Gr,dt,qt])}er=Yt-zt;var nr=vt.cos(zt),ir=vt.sin(zt),so=vt.cos(Yt),Hn=vt.sin(Yt),Mi=vt.tan(er/4),oo=4/3*v*Mi,lf=4/3*c*Mi,cf=[u,f],rr=[u+oo*ir,f-lf*nr],uf=[E+oo*Hn,k-lf*so],hf=[E,k];if(rr[0]=2*cf[0]-rr[0],rr[1]=2*cf[1]-rr[1],L)return[rr,uf,hf][$](q);for(var ff=[],ai=0,L_=(q=[rr,uf,hf][$](q).join()[ht](",")).length;ai<L_;ai++)ff[ai]=ai%2?ot(q[ai-1],q[ai],Z).y:ot(q[ai],q[ai+1],Z).x;return ff},Rn=function(u,f,v,c,h,y,b,E,k){var L=1-k;return{x:jt(L,3)*u+3*jt(L,2)*k*v+3*L*k*k*h+jt(k,3)*b,y:jt(L,3)*f+3*jt(L,2)*k*c+3*L*k*k*y+jt(k,3)*E}},Vn=Te(function(u,f,v,c,h,y,b,E){var k,L=h-2*v+u-(b-2*h+v),U=2*(v-u)-2*(h-v),it=u-v,Z=(-U+vt.sqrt(U*U-4*L*it))/2/L,q=(-U-vt.sqrt(U*U-4*L*it))/2/L,ot=[f,E],ct=[u,b];return Ut(Z)>"1e12"&&(Z=.5),Ut(q)>"1e12"&&(q=.5),Z>0&&Z<1&&(k=Rn(u,f,v,c,h,y,b,E,Z),ct.push(k.x),ot.push(k.y)),q>0&&q<1&&(k=Rn(u,f,v,c,h,y,b,E,q),ct.push(k.x),ot.push(k.y)),L=y-2*c+f-(E-2*y+c),it=f-c,Z=(-(U=2*(c-f)-2*(y-c))+vt.sqrt(U*U-4*L*it))/2/L,q=(-U-vt.sqrt(U*U-4*L*it))/2/L,Ut(Z)>"1e12"&&(Z=.5),Ut(q)>"1e12"&&(q=.5),Z>0&&Z<1&&(k=Rn(u,f,v,c,h,y,b,E,Z),ct.push(k.x),ot.push(k.y)),q>0&&q<1&&(k=Rn(u,f,v,c,h,y,b,E,q),ct.push(k.x),ot.push(k.y)),{min:{x:kt[P](0,ct),y:kt[P](0,ot)},max:{x:It[P](0,ct),y:It[P](0,ot)}}}),Ni=l._path2curve=Te(function(u,f){var v=!f&&oe(u);if(!f&&v.curve)return Fe(v.curve);for(var c=ii(u),h=f&&ii(f),y={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},b={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},E=function(gt,dt,qt){var zt,Yt;if(!gt)return["C",dt.x,dt.y,dt.x,dt.y,dt.x,dt.y];switch(!(gt[0]in{T:1,Q:1})&&(dt.qx=dt.qy=null),gt[0]){case"M":dt.X=gt[1],dt.Y=gt[2];break;case"A":gt=["C"][$](qi[P](0,[dt.x,dt.y][$](gt.slice(1))));break;case"S":qt=="C"||qt=="S"?(zt=2*dt.x-dt.bx,Yt=2*dt.y-dt.by):(zt=dt.x,Yt=dt.y),gt=["C",zt,Yt][$](gt.slice(1));break;case"T":qt=="Q"||qt=="T"?(dt.qx=2*dt.x-dt.qx,dt.qy=2*dt.y-dt.qy):(dt.qx=dt.x,dt.qy=dt.y),gt=["C"][$](wn(dt.x,dt.y,dt.qx,dt.qy,gt[1],gt[2]));break;case"Q":dt.qx=gt[1],dt.qy=gt[2],gt=["C"][$](wn(dt.x,dt.y,gt[1],gt[2],gt[3],gt[4]));break;case"L":gt=["C"][$]($n(dt.x,dt.y,gt[1],gt[2]));break;case"H":gt=["C"][$]($n(dt.x,dt.y,gt[1],dt.y));break;case"V":gt=["C"][$]($n(dt.x,dt.y,dt.x,gt[1]));break;case"Z":gt=["C"][$]($n(dt.x,dt.y,dt.X,dt.Y))}return gt},k=function(gt,dt){if(gt[dt].length>7){gt[dt].shift();for(var qt=gt[dt];qt.length;)U[dt]="A",h&&(it[dt]="A"),gt.splice(dt++,0,["C"][$](qt.splice(0,6)));gt.splice(dt,1),ct=It(c.length,h&&h.length||0)}},L=function(gt,dt,qt,zt,Yt){gt&&dt&>[Yt][0]=="M"&&dt[Yt][0]!="M"&&(dt.splice(Yt,0,["M",zt.x,zt.y]),qt.bx=0,qt.by=0,qt.x=gt[Yt][1],qt.y=gt[Yt][2],ct=It(c.length,h&&h.length||0))},U=[],it=[],Z="",q="",ot=0,ct=It(c.length,h&&h.length||0);ot<ct;ot++){c[ot]&&(Z=c[ot][0]),Z!="C"&&(U[ot]=Z,ot&&(q=U[ot-1])),c[ot]=E(c[ot],y,q),U[ot]!="A"&&Z=="C"&&(U[ot]="C"),k(c,ot),h&&(h[ot]&&(Z=h[ot][0]),Z!="C"&&(it[ot]=Z,ot&&(q=it[ot-1])),h[ot]=E(h[ot],b,q),it[ot]!="A"&&Z=="C"&&(it[ot]="C"),k(h,ot)),L(c,h,y,b,ot),L(h,c,b,y,ot);var lt=c[ot],et=h&&h[ot],Nt=lt.length,ut=h&&et.length;y.x=lt[Nt-2],y.y=lt[Nt-1],y.bx=R(lt[Nt-4])||y.x,y.by=R(lt[Nt-3])||y.y,b.bx=h&&(R(et[ut-4])||b.x),b.by=h&&(R(et[ut-3])||b.y),b.x=h&&et[ut-2],b.y=h&&et[ut-1]}return h||(v.curve=Fe(c)),h?[c,h]:c},null,Fe),Yi=(l._parseDots=Te(function(u){for(var f=[],v=0,c=u.length;v<c;v++){var h={},y=u[v].match(/^([^:]*):?([\d\.]*)/);if(h.color=l.getRGB(y[1]),h.color.error)return null;h.opacity=h.color.opacity,h.color=h.color.hex,y[2]&&(h.offset=y[2]+"%"),f.push(h)}for(v=1,c=f.length-1;v<c;v++)if(!f[v].offset){for(var b=R(f[v-1].offset||0),E=0,k=v+1;k<c;k++)if(f[k].offset){E=f[k].offset;break}E||(E=100,k=c);for(var L=((E=R(E))-b)/(k-v+1);v<k;v++)b+=L,f[v].offset=b+"%"}return f}),l._tear=function(u,f){u==f.top&&(f.top=u.prev),u==f.bottom&&(f.bottom=u.next),u.next&&(u.next.prev=u.prev),u.prev&&(u.prev.next=u.next)}),Zs=(l._tofront=function(u,f){f.top!==u&&(Yi(u,f),u.next=null,u.prev=f.top,f.top.next=u,f.top=u)},l._toback=function(u,f){f.bottom!==u&&(Yi(u,f),u.next=f.bottom,u.prev=null,f.bottom.prev=u,f.bottom=u)},l._insertafter=function(u,f,v){Yi(u,v),f==v.top&&(v.top=u),f.next&&(f.next.prev=u),u.next=f.next,u.prev=f,f.next=u},l._insertbefore=function(u,f,v){Yi(u,v),f==v.bottom&&(v.bottom=u),f.prev&&(f.prev.next=u),u.prev=f.prev,f.prev=u,u.next=f},l.toMatrix=function(u,f){var v=on(u),c={_:{transform:Y},getBBox:function(){return v}};return Xi(c,f),c.matrix}),Xi=(l.transformPath=function(u,f){return ft(u,Zs(u,f))},l._extractTransform=function(u,f){if(f==null)return u._.transform;f=V(f).replace(/\.{3}|\u2026/g,u._.transform||Y);var v,c,h=l.parseTransformString(f),y=0,b=1,E=1,k=u._,L=new Fn;if(k.transform=h||[],h)for(var U=0,it=h.length;U<it;U++){var Z,q,ot,ct,lt,et=h[U],Nt=et.length,ut=V(et[0]).toLowerCase(),gt=et[0]!=ut,dt=gt?L.invert():0;ut=="t"&&Nt==3?gt?(Z=dt.x(0,0),q=dt.y(0,0),ot=dt.x(et[1],et[2]),ct=dt.y(et[1],et[2]),L.translate(ot-Z,ct-q)):L.translate(et[1],et[2]):ut=="r"?Nt==2?(lt=lt||u.getBBox(1),L.rotate(et[1],lt.x+lt.width/2,lt.y+lt.height/2),y+=et[1]):Nt==4&&(gt?(ot=dt.x(et[2],et[3]),ct=dt.y(et[2],et[3]),L.rotate(et[1],ot,ct)):L.rotate(et[1],et[2],et[3]),y+=et[1]):ut=="s"?Nt==2||Nt==3?(lt=lt||u.getBBox(1),L.scale(et[1],et[Nt-1],lt.x+lt.width/2,lt.y+lt.height/2),b*=et[1],E*=et[Nt-1]):Nt==5&&(gt?(ot=dt.x(et[3],et[4]),ct=dt.y(et[3],et[4]),L.scale(et[1],et[2],ot,ct)):L.scale(et[1],et[2],et[3],et[4]),b*=et[1],E*=et[2]):ut=="m"&&Nt==7&&L.add(et[1],et[2],et[3],et[4],et[5],et[6]),k.dirtyT=1,u.matrix=L}u.matrix=L,k.sx=b,k.sy=E,k.deg=y,k.dx=v=L.e,k.dy=c=L.f,b==1&&E==1&&!y&&k.bbox?(k.bbox.x+=+v,k.bbox.y+=+c):k.dirtyT=1}),Qs=function(u){var f=u[0];switch(f.toLowerCase()){case"t":return[f,0,0];case"m":return[f,1,0,0,1,0,0];case"r":return u.length==4?[f,0,u[2],u[3]]:[f,0];case"s":return u.length==5?[f,1,1,u[3],u[4]]:u.length==3?[f,1,1]:[f,1]}},Js=l._equaliseTransform=function(u,f){f=V(f).replace(/\.{3}|\u2026/g,u),u=l.parseTransformString(u)||[],f=l.parseTransformString(f)||[];for(var v,c,h,y,b=It(u.length,f.length),E=[],k=[],L=0;L<b;L++){if(h=u[L]||Qs(f[L]),y=f[L]||Qs(h),h[0]!=y[0]||h[0].toLowerCase()=="r"&&(h[2]!=y[2]||h[3]!=y[3])||h[0].toLowerCase()=="s"&&(h[3]!=y[3]||h[4]!=y[4]))return;for(E[L]=[],k[L]=[],v=0,c=It(h.length,y.length);v<c;v++)v in h&&(E[L][v]=h[v]),v in y&&(k[L][v]=y[v])}return{from:E,to:k}};function Fn(u,f,v,c,h,y){u!=null?(this.a=+u,this.b=+f,this.c=+v,this.d=+c,this.e=+h,this.f=+y):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}l._getContainer=function(u,f,v,c){var h;if((h=c!=null||l.is(u,"object")?u:C.doc.getElementById(u))!=null)return h.tagName?f==null?{container:h,width:h.style.pixelWidth||h.offsetWidth,height:h.style.pixelHeight||h.offsetHeight}:{container:h,width:f,height:v}:{container:1,x:u,y:f,width:v,height:c}},l.pathToRelative=Ks,l._engine={},l.path2curve=Ni,l.matrix=function(u,f,v,c,h,y){return new Fn(u,f,v,c,h,y)},function(u){function f(c){return c[0]*c[0]+c[1]*c[1]}function v(c){var h=vt.sqrt(f(c));c[0]&&(c[0]/=h),c[1]&&(c[1]/=h)}u.add=function(c,h,y,b,E,k){var L,U,it,Z,q=[[],[],[]],ot=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],ct=[[c,y,E],[h,b,k],[0,0,1]];for(c&&c instanceof Fn&&(ct=[[c.a,c.c,c.e],[c.b,c.d,c.f],[0,0,1]]),L=0;L<3;L++)for(U=0;U<3;U++){for(Z=0,it=0;it<3;it++)Z+=ot[L][it]*ct[it][U];q[L][U]=Z}this.a=q[0][0],this.b=q[1][0],this.c=q[0][1],this.d=q[1][1],this.e=q[0][2],this.f=q[1][2]},u.invert=function(){var c=this,h=c.a*c.d-c.b*c.c;return new Fn(c.d/h,-c.b/h,-c.c/h,c.a/h,(c.c*c.f-c.d*c.e)/h,(c.b*c.e-c.a*c.f)/h)},u.clone=function(){return new Fn(this.a,this.b,this.c,this.d,this.e,this.f)},u.translate=function(c,h){this.add(1,0,0,1,c,h)},u.scale=function(c,h,y,b){h==null&&(h=c),(y||b)&&this.add(1,0,0,1,y,b),this.add(c,0,0,h,0,0),(y||b)&&this.add(1,0,0,1,-y,-b)},u.rotate=function(c,h,y){c=l.rad(c),h=h||0,y=y||0;var b=+vt.cos(c).toFixed(9),E=+vt.sin(c).toFixed(9);this.add(b,E,-E,b,h,y),this.add(1,0,0,1,-h,-y)},u.x=function(c,h){return c*this.a+h*this.c+this.e},u.y=function(c,h){return c*this.b+h*this.d+this.f},u.get=function(c){return+this[V.fromCharCode(97+c)].toFixed(4)},u.toString=function(){return l.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},u.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},u.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},u.split=function(){var c={};c.dx=this.e,c.dy=this.f;var h=[[this.a,this.c],[this.b,this.d]];c.scalex=vt.sqrt(f(h[0])),v(h[0]),c.shear=h[0][0]*h[1][0]+h[0][1]*h[1][1],h[1]=[h[1][0]-h[0][0]*c.shear,h[1][1]-h[0][1]*c.shear],c.scaley=vt.sqrt(f(h[1])),v(h[1]),c.shear/=c.scaley;var y=-h[0][1],b=h[1][1];return b<0?(c.rotate=l.deg(vt.acos(b)),y<0&&(c.rotate=360-c.rotate)):c.rotate=l.deg(vt.asin(y)),c.isSimple=!(+c.shear.toFixed(9)||c.scalex.toFixed(9)!=c.scaley.toFixed(9)&&c.rotate),c.isSuperSimple=!+c.shear.toFixed(9)&&c.scalex.toFixed(9)==c.scaley.toFixed(9)&&!c.rotate,c.noRotation=!+c.shear.toFixed(9)&&!c.rotate,c},u.toTransformString=function(c){var h=c||this[ht]();return h.isSimple?(h.scalex=+h.scalex.toFixed(4),h.scaley=+h.scaley.toFixed(4),h.rotate=+h.rotate.toFixed(4),(h.dx||h.dy?"t"+[h.dx,h.dy]:Y)+(h.scalex!=1||h.scaley!=1?"s"+[h.scalex,h.scaley,0,0]:Y)+(h.rotate?"r"+[h.rotate,0,0]:Y)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(Fn.prototype);for(var to=function(){this.returnValue=!1},eo=function(){return this.originalEvent.preventDefault()},no=function(){this.cancelBubble=!0},io=function(){return this.originalEvent.stopPropagation()},Ki=function(u){var f=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,v=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;return{x:u.clientX+v,y:u.clientY+f}},zn=C.doc.addEventListener?function(u,f,v,c){var h=function(b){var E=Ki(b);return v.call(c,b,E.x,E.y)};if(u.addEventListener(f,h,!1),H&&Pt[f]){var y=function(b){for(var E=Ki(b),k=b,L=0,U=b.targetTouches&&b.targetTouches.length;L<U;L++)if(b.targetTouches[L].target==u){(b=b.targetTouches[L]).originalEvent=k,b.preventDefault=eo,b.stopPropagation=io;break}return v.call(c,b,E.x,E.y)};u.addEventListener(Pt[f],y,!1)}return function(){return u.removeEventListener(f,h,!1),H&&Pt[f]&&u.removeEventListener(Pt[f],y,!1),!0}}:C.doc.attachEvent?function(u,f,v,c){var h=function(y){y=y||C.win.event;var b=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,E=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,k=y.clientX+E,L=y.clientY+b;return y.preventDefault=y.preventDefault||to,y.stopPropagation=y.stopPropagation||no,v.call(c,y,k,L)};return u.attachEvent("on"+f,h),function(){return u.detachEvent("on"+f,h),!0}}:void 0,Xe=[],jn=function(u){for(var f,v=u.clientX,c=u.clientY,h=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,y=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,b=Xe.length;b--;){if(f=Xe[b],H&&u.touches){for(var E,k=u.touches.length;k--;)if((E=u.touches[k]).identifier==f.el._drag.id){v=E.clientX,c=E.clientY,(u.originalEvent?u.originalEvent:u).preventDefault();break}}else u.preventDefault();var L,U=f.el.node,it=U.nextSibling,Z=U.parentNode,q=U.style.display;C.win.opera&&Z.removeChild(U),U.style.display="none",L=f.el.paper.getElementByPoint(v,c),U.style.display=q,C.win.opera&&(it?Z.insertBefore(U,it):Z.appendChild(U)),L&&a("raphael.drag.over."+f.el.id,f.el,L),v+=y,c+=h,a("raphael.drag.move."+f.el.id,f.move_scope||f.el,v-f.el._drag.x,c-f.el._drag.y,v,c,u)}},ri=function(u){l.unmousemove(jn).unmouseup(ri);for(var f,v=Xe.length;v--;)(f=Xe[v]).el._drag={},a("raphael.drag.end."+f.el.id,f.end_scope||f.start_scope||f.move_scope||f.el,u);Xe=[]},ie=l.el={},ro=_t.length;ro--;)(function(u){l[u]=ie[u]=function(f,v){return l.is(f,"function")&&(this.events=this.events||[],this.events.push({name:u,f,unbind:zn(this.shape||this.node||C.doc,u,f,v||this)})),this},l["un"+u]=ie["un"+u]=function(f){for(var v=this.events||[],c=v.length;c--;)v[c].name!=u||!l.is(f,"undefined")&&v[c].f!=f||(v[c].unbind(),v.splice(c,1),!v.length&&delete this.events);return this}})(_t[ro]);ie.data=function(u,f){var v=B[this.id]=B[this.id]||{};if(arguments.length==0)return v;if(arguments.length==1){if(l.is(u,"object")){for(var c in u)u[N](c)&&this.data(c,u[c]);return this}return a("raphael.data.get."+this.id,this,v[u],u),v[u]}return v[u]=f,a("raphael.data.set."+this.id,this,f,u),this},ie.removeData=function(u){return u==null?delete B[this.id]:B[this.id]&&delete B[this.id][u],this},ie.getData=function(){return Tt(B[this.id]||{})},ie.hover=function(u,f,v,c){return this.mouseover(u,v).mouseout(f,c||v)},ie.unhover=function(u,f){return this.unmouseover(u).unmouseout(f)};var si=[];ie.drag=function(u,f,v,c,h,y){function b(E){(E.originalEvent||E).preventDefault();var k=E.clientX,L=E.clientY,U=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,it=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;if(this._drag.id=E.identifier,H&&E.touches){for(var Z,q=E.touches.length;q--;)if(Z=E.touches[q],this._drag.id=Z.identifier,Z.identifier==this._drag.id){k=Z.clientX,L=Z.clientY;break}}this._drag.x=k+it,this._drag.y=L+U,!Xe.length&&l.mousemove(jn).mouseup(ri),Xe.push({el:this,move_scope:c,start_scope:h,end_scope:y}),f&&a.on("raphael.drag.start."+this.id,f),u&&a.on("raphael.drag.move."+this.id,u),v&&a.on("raphael.drag.end."+this.id,v),a("raphael.drag.start."+this.id,h||c||this,this._drag.x,this._drag.y,E)}return this._drag={},si.push({el:this,start:b}),this.mousedown(b),this},ie.onDragOver=function(u){u?a.on("raphael.drag.over."+this.id,u):a.unbind("raphael.drag.over."+this.id)},ie.undrag=function(){for(var u=si.length;u--;)si[u].el==this&&(this.unmousedown(si[u].start),si.splice(u,1),a.unbind("raphael.drag.*."+this.id));!si.length&&l.unmousemove(jn).unmouseup(ri),Xe=[]},m.circle=function(u,f,v){var c=l._engine.circle(this,u||0,f||0,v||0);return this.__set__&&this.__set__.push(c),c},m.rect=function(u,f,v,c,h){var y=l._engine.rect(this,u||0,f||0,v||0,c||0,h||0);return this.__set__&&this.__set__.push(y),y},m.ellipse=function(u,f,v,c){var h=l._engine.ellipse(this,u||0,f||0,v||0,c||0);return this.__set__&&this.__set__.push(h),h},m.path=function(u){u&&!l.is(u,"string")&&!l.is(u[0],at)&&(u+=Y);var f=l._engine.path(l.format[P](l,arguments),this);return this.__set__&&this.__set__.push(f),f},m.image=function(u,f,v,c,h){var y=l._engine.image(this,u||"about:blank",f||0,v||0,c||0,h||0);return this.__set__&&this.__set__.push(y),y},m.text=function(u,f,v){var c=l._engine.text(this,u||0,f||0,V(v));return this.__set__&&this.__set__.push(c),c},m.set=function(u){!l.is(u,"array")&&(u=Array.prototype.splice.call(arguments,0,arguments.length));var f=new Pi(u);return this.__set__&&this.__set__.push(f),f.paper=this,f.type="set",f},m.setStart=function(u){this.__set__=u||this.set()},m.setFinish=function(u){var f=this.__set__;return delete this.__set__,f},m.getSize=function(){var u=this.canvas.parentNode;return{width:u.offsetWidth,height:u.offsetHeight}},m.setSize=function(u,f){return l._engine.setSize.call(this,u,f)},m.setViewBox=function(u,f,v,c,h){return l._engine.setViewBox.call(this,u,f,v,c,h)},m.top=m.bottom=null,m.raphael=l;function Oi(){return this.x+J+this.y+J+this.width+" × "+this.height}m.getElementByPoint=function(u,f){var v,c,h,y,b,E,k,L=this.canvas,U=C.doc.elementFromPoint(u,f);if(C.win.opera&&U.tagName=="svg"){var it=(c=(v=L).getBoundingClientRect(),h=v.ownerDocument,y=h.body,b=h.documentElement,E=b.clientTop||y.clientTop||0,k=b.clientLeft||y.clientLeft||0,{y:c.top+(C.win.pageYOffset||b.scrollTop||y.scrollTop)-E,x:c.left+(C.win.pageXOffset||b.scrollLeft||y.scrollLeft)-k}),Z=L.createSVGRect();Z.x=u-it.x,Z.y=f-it.y,Z.width=Z.height=1;var q=L.getIntersectionList(Z,null);q.length&&(U=q[q.length-1])}if(!U)return null;for(;U.parentNode&&U!=L.parentNode&&!U.raphael;)U=U.parentNode;return U==this.canvas.parentNode&&(U=L),U=U&&U.raphael?this.getById(U.raphaelid):null},m.getElementsByBBox=function(u){var f=this.set();return this.forEach(function(v){l.isBBoxIntersect(v.getBBox(),u)&&f.push(v)}),f},m.getById=function(u){for(var f=this.bottom;f;){if(f.id==u)return f;f=f.next}return null},m.forEach=function(u,f){for(var v=this.bottom;v;){if(u.call(f,v)===!1)return this;v=v.next}return this},m.getElementsByPoint=function(u,f){var v=this.set();return this.forEach(function(c){c.isPointInside(u,f)&&v.push(c)}),v},ie.isPointInside=function(u,f){var v=this.realPath=nt[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(v=l.transformPath(v,this.attr("transform"))),l.isPointInsidePath(v,u,f)},ie.getBBox=function(u){if(this.removed)return{};var f=this._;return u?(!f.dirty&&f.bboxwt||(this.realPath=nt[this.type](this),f.bboxwt=on(this.realPath),f.bboxwt.toString=Oi,f.dirty=0),f.bboxwt):((f.dirty||f.dirtyT||!f.bbox)&&(!f.dirty&&this.realPath||(f.bboxwt=0,this.realPath=nt[this.type](this)),f.bbox=on(ft(this.realPath,this.matrix)),f.bbox.toString=Oi,f.dirty=f.dirtyT=0),f.bbox)},ie.clone=function(){if(this.removed)return null;var u=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(u),u},ie.glow=function(u){if(this.type=="text")return null;var f={width:((u=u||{}).width||10)+(+this.attr("stroke-width")||1),fill:u.fill||!1,opacity:u.opacity==null?.5:u.opacity,offsetx:u.offsetx||0,offsety:u.offsety||0,color:u.color||"#000"},v=f.width/2,c=this.paper,h=c.set(),y=this.realPath||nt[this.type](this);y=this.matrix?ft(y,this.matrix):y;for(var b=1;b<v+1;b++)h.push(c.path(y).attr({stroke:f.color,fill:f.fill?f.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(f.width/v*b).toFixed(3),opacity:+(f.opacity/v).toFixed(3)}));return h.insertBefore(this).translate(f.offsetx,f.offsety)};var ze=function(u,f,v,c,h,y,b,E,k){return k==null?Ve(u,f,v,c,h,y,b,E):l.findDotsAtSegment(u,f,v,c,h,y,b,E,function(L,U,it,Z,q,ot,ct,lt,et){if(!(et<0||Ve(L,U,it,Z,q,ot,ct,lt)<et)){var Nt,ut=.5,gt=1-ut;for(Nt=Ve(L,U,it,Z,q,ot,ct,lt,gt);Ut(Nt-et)>.01;)Nt=Ve(L,U,it,Z,q,ot,ct,lt,gt+=(Nt<et?1:-1)*(ut/=2));return gt}}(u,f,v,c,h,y,b,E,k))},En=function(u,f){return function(v,c,h){for(var y,b,E,k,L,U="",it={},Z=0,q=0,ot=(v=Ni(v)).length;q<ot;q++){if((E=v[q])[0]=="M")y=+E[1],b=+E[2];else{if(Z+(k=ze(y,b,E[1],E[2],E[3],E[4],E[5],E[6]))>c){if(f&&!it.start){if(U+=["C"+(L=ze(y,b,E[1],E[2],E[3],E[4],E[5],E[6],c-Z)).start.x,L.start.y,L.m.x,L.m.y,L.x,L.y],h)return U;it.start=U,U=["M"+L.x,L.y+"C"+L.n.x,L.n.y,L.end.x,L.end.y,E[5],E[6]].join(),Z+=k,y=+E[5],b=+E[6];continue}if(!u&&!f)return{x:(L=ze(y,b,E[1],E[2],E[3],E[4],E[5],E[6],c-Z)).x,y:L.y,alpha:L.alpha}}Z+=k,y=+E[5],b=+E[6]}U+=E.shift()+E}return it.end=U,(L=u?Z:f?it:l.findDotsAtSegment(y,b,E[0],E[1],E[2],E[3],E[4],E[5],1)).alpha&&(L={x:L.x,y:L.y,alpha:L.alpha}),L}},mn=En(1),an=En(),Bn=En(0,1);l.getTotalLength=mn,l.getPointAtLength=an,l.getSubpath=function(u,f,v){if(this.getTotalLength(u)-v<1e-6)return Bn(u,f).end;var c=Bn(u,v,1);return f?Bn(c,f).end:c},ie.getTotalLength=function(){var u=this.getPath();if(u)return this.node.getTotalLength?this.node.getTotalLength():mn(u)},ie.getPointAtLength=function(u){var f=this.getPath();if(f)return an(f,u)},ie.getPath=function(){var u,f=l._getPath[this.type];if(this.type!="text"&&this.type!="set")return f&&(u=f(this)),u},ie.getSubpath=function(u,f){var v=this.getPath();if(v)return l.getSubpath(v,u,f)};var ye=l.easing_formulas={linear:function(u){return u},"<":function(u){return jt(u,1.7)},">":function(u){return jt(u,.48)},"<>":function(u){var f=.48-u/1.04,v=vt.sqrt(.1734+f*f),c=v-f,h=-v-f,y=jt(Ut(c),1/3)*(c<0?-1:1)+jt(Ut(h),1/3)*(h<0?-1:1)+.5;return 3*(1-y)*y*y+y*y*y},backIn:function(u){var f=1.70158;return u*u*((f+1)*u-f)},backOut:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},elastic:function(u){return u==!!u?u:jt(2,-10*u)*vt.sin(2*Ot*(u-.075)/.3)+1},bounce:function(u){var f=7.5625,v=2.75;return u<1/v?f*u*u:u<2/v?f*(u-=1.5/v)*u+.75:u<2.5/v?f*(u-=2.25/v)*u+.9375:f*(u-=2.625/v)*u+.984375}};ye.easeIn=ye["ease-in"]=ye["<"],ye.easeOut=ye["ease-out"]=ye[">"],ye.easeInOut=ye["ease-in-out"]=ye["<>"],ye["back-in"]=ye.backIn,ye["back-out"]=ye.backOut;var Wt=[],Br=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(u){setTimeout(u,16)},Zi=function(){for(var u=+new Date,f=0;f<Wt.length;f++){var v=Wt[f];if(!v.el.removed&&!v.paused){var c,h,y=u-v.start,b=v.ms,E=v.easing,k=v.from,L=v.diff,U=v.to,it=(v.t,v.el),Z={},q={};if(v.initstatus?(y=(v.initstatus*v.anim.top-v.prev)/(v.percent-v.prev)*b,v.status=v.initstatus,delete v.initstatus,v.stop&&Wt.splice(f--,1)):v.status=(v.prev+(v.percent-v.prev)*(y/b))/v.anim.top,!(y<0))if(y<b){var ot=E(y/b);for(var ct in k)if(k[N](ct)){switch(G[ct]){case W:c=+k[ct]+ot*b*L[ct];break;case"colour":c="rgb("+[oi(I(k[ct].r+ot*b*L[ct].r)),oi(I(k[ct].g+ot*b*L[ct].g)),oi(I(k[ct].b+ot*b*L[ct].b))].join(",")+")";break;case"path":c=[];for(var lt=0,et=k[ct].length;lt<et;lt++){c[lt]=[k[ct][lt][0]];for(var Nt=1,ut=k[ct][lt].length;Nt<ut;Nt++)c[lt][Nt]=+k[ct][lt][Nt]+ot*b*L[ct][lt][Nt];c[lt]=c[lt].join(J)}c=c.join(J);break;case"transform":if(L[ct].real)for(c=[],lt=0,et=k[ct].length;lt<et;lt++)for(c[lt]=[k[ct][lt][0]],Nt=1,ut=k[ct][lt].length;Nt<ut;Nt++)c[lt][Nt]=k[ct][lt][Nt]+ot*b*L[ct][lt][Nt];else{var gt=function(qt){return+k[ct][qt]+ot*b*L[ct][qt]};c=[["m",gt(0),gt(1),gt(2),gt(3),gt(4),gt(5)]]}break;case"csv":if(ct=="clip-rect")for(c=[],lt=4;lt--;)c[lt]=+k[ct][lt]+ot*b*L[ct][lt];break;default:var dt=[][$](k[ct]);for(c=[],lt=it.paper.customAttributes[ct].length;lt--;)c[lt]=+dt[lt]+ot*b*L[ct][lt]}Z[ct]=c}it.attr(Z),function(qt,zt,Yt){setTimeout(function(){a("raphael.anim.frame."+qt,zt,Yt)})}(it.id,it,v.anim)}else{if(function(qt,zt,Yt){setTimeout(function(){a("raphael.anim.frame."+zt.id,zt,Yt),a("raphael.anim.finish."+zt.id,zt,Yt),l.is(qt,"function")&&qt.call(zt)})}(v.callback,it,v.anim),it.attr(U),Wt.splice(f--,1),v.repeat>1&&!v.next){for(h in U)U[N](h)&&(q[h]=v.totalOrigin[h]);v.el.attr(q),Gn(v.anim,v.el,v.anim.percents[0],null,v.totalOrigin,v.repeat-1)}v.next&&!v.stop&&Gn(v.anim,v.el,v.next,null,v.totalOrigin,v.repeat)}}}Wt.length&&Br(Zi)},oi=function(u){return u>255?255:u<0?0:u};function nn(u,f,v,c,h,y){var b=3*f,E=3*(c-f)-b,k=1-b-E,L=3*v,U=3*(h-v)-L,it=1-L-U;function Z(q){return((k*q+E)*q+b)*q}return function(q,ot){var ct=function(lt,et){var Nt,ut,gt,dt,qt,zt;for(gt=lt,zt=0;zt<8;zt++){if(dt=Z(gt)-lt,Ut(dt)<et)return gt;if(Ut(qt=(3*k*gt+2*E)*gt+b)<1e-6)break;gt-=dt/qt}if(ut=1,(gt=lt)<(Nt=0))return Nt;if(gt>ut)return ut;for(;Nt<ut;){if(dt=Z(gt),Ut(dt-lt)<et)return gt;lt>dt?Nt=gt:ut=gt,gt=(ut-Nt)/2+Nt}return gt}(q,ot);return((it*ct+U)*ct+L)*ct}(u,1/(200*y))}function Ke(u,f){var v=[],c={};if(this.ms=f,this.times=1,u){for(var h in u)u[N](h)&&(c[R(h)]=u[h],v.push(R(h)));v.sort(X)}this.anim=c,this.top=v[v.length-1],this.percents=v}function Gn(u,f,v,c,h,y){v=R(v);var b,E,k,L,U,it,Z=u.ms,q={},ot={},ct={};if(c)for(et=0,Nt=Wt.length;et<Nt;et++){var lt=Wt[et];if(lt.el.id==f.id&<.anim==u){lt.percent!=v?(Wt.splice(et,1),k=1):E=lt,f.attr(lt.totalOrigin);break}}else c=+ot;for(var et=0,Nt=u.percents.length;et<Nt;et++){if(u.percents[et]==v||u.percents[et]>c*u.top){v=u.percents[et],U=u.percents[et-1]||0,Z=Z/u.top*(v-U),L=u.percents[et+1],b=u.anim[v];break}c&&f.attr(u.anim[u.percents[et]])}if(b){if(E)E.initstatus=c,E.start=new Date-E.ms*c;else{for(var ut in b)if(b[N](ut)&&(G[N](ut)||f.paper.customAttributes[N](ut)))switch(q[ut]=f.attr(ut),q[ut]==null&&(q[ut]=rt[ut]),ot[ut]=b[ut],G[ut]){case W:ct[ut]=(ot[ut]-q[ut])/Z;break;case"colour":q[ut]=l.getRGB(q[ut]);var gt=l.getRGB(ot[ut]);ct[ut]={r:(gt.r-q[ut].r)/Z,g:(gt.g-q[ut].g)/Z,b:(gt.b-q[ut].b)/Z};break;case"path":var dt=Ni(q[ut],ot[ut]),qt=dt[1];for(q[ut]=dt[0],ct[ut]=[],et=0,Nt=q[ut].length;et<Nt;et++){ct[ut][et]=[0];for(var zt=1,Yt=q[ut][et].length;zt<Yt;zt++)ct[ut][et][zt]=(qt[et][zt]-q[ut][et][zt])/Z}break;case"transform":var er=f._,Gr=Js(er[ut],ot[ut]);if(Gr)for(q[ut]=Gr.from,ot[ut]=Gr.to,ct[ut]=[],ct[ut].real=!0,et=0,Nt=q[ut].length;et<Nt;et++)for(ct[ut][et]=[q[ut][et][0]],zt=1,Yt=q[ut][et].length;zt<Yt;zt++)ct[ut][et][zt]=(ot[ut][et][zt]-q[ut][et][zt])/Z;else{var Ze=f.matrix||new Fn,Cn={_:{transform:er.transform},getBBox:function(){return f.getBBox(1)}};q[ut]=[Ze.a,Ze.b,Ze.c,Ze.d,Ze.e,Ze.f],Xi(Cn,ot[ut]),ot[ut]=Cn._.transform,ct[ut]=[(Cn.matrix.a-Ze.a)/Z,(Cn.matrix.b-Ze.b)/Z,(Cn.matrix.c-Ze.c)/Z,(Cn.matrix.d-Ze.d)/Z,(Cn.matrix.e-Ze.e)/Z,(Cn.matrix.f-Ze.f)/Z]}break;case"csv":var nr=V(b[ut])[ht](g),ir=V(q[ut])[ht](g);if(ut=="clip-rect")for(q[ut]=ir,ct[ut]=[],et=ir.length;et--;)ct[ut][et]=(nr[et]-q[ut][et])/Z;ot[ut]=nr;break;default:for(nr=[][$](b[ut]),ir=[][$](q[ut]),ct[ut]=[],et=f.paper.customAttributes[ut].length;et--;)ct[ut][et]=((nr[et]||0)-(ir[et]||0))/Z}var so=b.easing,Hn=l.easing_formulas[so];if(!Hn)if((Hn=V(so).match(x))&&Hn.length==5){var Mi=Hn;Hn=function(oo){return nn(oo,+Mi[1],+Mi[2],+Mi[3],+Mi[4],Z)}}else Hn=Q;if(lt={anim:u,percent:v,timestamp:it=b.start||u.start||+new Date,start:it+(u.del||0),status:0,initstatus:c||0,stop:!1,ms:Z,easing:Hn,from:q,diff:ct,to:ot,el:f,callback:b.callback,prev:U,next:L,repeat:y||u.times,origin:f.attr(),totalOrigin:h},Wt.push(lt),c&&!E&&!k&&(lt.stop=!0,lt.start=new Date-Z*c,Wt.length==1))return Zi();k&&(lt.start=new Date-lt.ms*c),Wt.length==1&&Br(Zi)}a("raphael.anim.start."+f.id,f,u)}}function Qi(u){for(var f=0;f<Wt.length;f++)Wt[f].el.paper==u&&Wt.splice(f--,1)}ie.animateWith=function(u,f,v,c,h,y){if(this.removed)return y&&y.call(this),this;var b=v instanceof Ke?v:l.animation(v,c,h,y);Gn(b,this,b.percents[0],null,this.attr());for(var E=0,k=Wt.length;E<k;E++)if(Wt[E].anim==f&&Wt[E].el==u){Wt[k-1].start=Wt[E].start;break}return this},ie.onAnimation=function(u){return u?a.on("raphael.anim.frame."+this.id,u):a.unbind("raphael.anim.frame."+this.id),this},Ke.prototype.delay=function(u){var f=new Ke(this.anim,this.ms);return f.times=this.times,f.del=+u||0,f},Ke.prototype.repeat=function(u){var f=new Ke(this.anim,this.ms);return f.del=this.del,f.times=vt.floor(It(u,0))||1,f},l.animation=function(u,f,v,c){if(u instanceof Ke)return u;!l.is(v,"function")&&v||(c=c||v||null,v=null),u=Object(u),f=+f||0;var h,y,b={};for(y in u)u[N](y)&&R(y)!=y&&R(y)+"%"!=y&&(h=!0,b[y]=u[y]);if(h)return v&&(b.easing=v),c&&(b.callback=c),new Ke({100:b},f);if(c){var E=0;for(var k in u){var L=j(k);u[N](k)&&L>E&&(E=L)}!u[E+="%"].callback&&(u[E].callback=c)}return new Ke(u,f)},ie.animate=function(u,f,v,c){if(this.removed)return c&&c.call(this),this;var h=u instanceof Ke?u:l.animation(u,f,v,c);return Gn(h,this,h.percents[0],null,this.attr()),this},ie.setTime=function(u,f){return u&&f!=null&&this.status(u,kt(f,u.ms)/u.ms),this},ie.status=function(u,f){var v,c,h=[],y=0;if(f!=null)return Gn(u,this,-1,kt(f,1)),this;for(v=Wt.length;y<v;y++)if((c=Wt[y]).el.id==this.id&&(!u||c.anim==u)){if(u)return c.status;h.push({anim:c.anim,status:c.status})}return u?0:h},ie.pause=function(u){for(var f=0;f<Wt.length;f++)Wt[f].el.id!=this.id||u&&Wt[f].anim!=u||a("raphael.anim.pause."+this.id,this,Wt[f].anim)!==!1&&(Wt[f].paused=!0);return this},ie.resume=function(u){for(var f=0;f<Wt.length;f++)if(Wt[f].el.id==this.id&&(!u||Wt[f].anim==u)){var v=Wt[f];a("raphael.anim.resume."+this.id,this,v.anim)!==!1&&(delete v.paused,this.status(v.anim,v.status))}return this},ie.stop=function(u){for(var f=0;f<Wt.length;f++)Wt[f].el.id!=this.id||u&&Wt[f].anim!=u||a("raphael.anim.stop."+this.id,this,Wt[f].anim)!==!1&&Wt.splice(f--,1);return this},a.on("raphael.remove",Qi),a.on("raphael.clear",Qi),ie.toString=function(){return"Raphaël’s object"};var Ji,tr,ln,cn,Pi=function(u){if(this.items=[],this.length=0,this.type="set",u)for(var f=0,v=u.length;f<v;f++)!u[f]||u[f].constructor!=ie.constructor&&u[f].constructor!=Pi||(this[this.items.length]=this.items[this.items.length]=u[f],this.length++)},Pe=Pi.prototype;for(var Ii in Pe.push=function(){for(var u,f,v=0,c=arguments.length;v<c;v++)!(u=arguments[v])||u.constructor!=ie.constructor&&u.constructor!=Pi||(this[f=this.items.length]=this.items[f]=u,this.length++);return this},Pe.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},Pe.forEach=function(u,f){for(var v=0,c=this.items.length;v<c;v++)if(u.call(f,this.items[v],v)===!1)return this;return this},ie)ie[N](Ii)&&(Pe[Ii]=function(u){return function(){var f=arguments;return this.forEach(function(v){v[u][P](v,f)})}}(Ii));return Pe.attr=function(u,f){if(u&&l.is(u,at)&&l.is(u[0],"object"))for(var v=0,c=u.length;v<c;v++)this.items[v].attr(u[v]);else for(var h=0,y=this.items.length;h<y;h++)this.items[h].attr(u,f);return this},Pe.clear=function(){for(;this.length;)this.pop()},Pe.splice=function(u,f,v){u=u<0?It(this.length+u,0):u,f=It(0,kt(this.length-u,f));var c,h=[],y=[],b=[];for(c=2;c<arguments.length;c++)b.push(arguments[c]);for(c=0;c<f;c++)y.push(this[u+c]);for(;c<this.length-u;c++)h.push(this[u+c]);var E=b.length;for(c=0;c<E+h.length;c++)this.items[u+c]=this[u+c]=c<E?b[c]:h[c-E];for(c=this.items.length=this.length-=f-E;this[c];)delete this[c++];return new Pi(y)},Pe.exclude=function(u){for(var f=0,v=this.length;f<v;f++)if(this[f]==u)return this.splice(f,1),!0},Pe.animate=function(u,f,v,c){(l.is(v,"function")||!v)&&(c=v||null);var h,y,b=this.items.length,E=b,k=this;if(!b)return this;c&&(y=function(){!--b&&c.call(k)}),v=l.is(v,"string")?v:y;var L=l.animation(u,f,v,y);for(h=this.items[--E].animate(L);E--;)this.items[E]&&!this.items[E].removed&&this.items[E].animateWith(h,L,L),this.items[E]&&!this.items[E].removed||b--;return this},Pe.insertAfter=function(u){for(var f=this.items.length;f--;)this.items[f].insertAfter(u);return this},Pe.getBBox=function(){for(var u=[],f=[],v=[],c=[],h=this.items.length;h--;)if(!this.items[h].removed){var y=this.items[h].getBBox();u.push(y.x),f.push(y.y),v.push(y.x+y.width),c.push(y.y+y.height)}return{x:u=kt[P](0,u),y:f=kt[P](0,f),x2:v=It[P](0,v),y2:c=It[P](0,c),width:v-u,height:c-f}},Pe.clone=function(u){u=this.paper.set();for(var f=0,v=this.items.length;f<v;f++)u.push(this.items[f].clone());return u},Pe.toString=function(){return"Raphaël‘s set"},Pe.glow=function(u){var f=this.paper.set();return this.forEach(function(v,c){var h=v.glow(u);h?.forEach(function(y,b){f.push(y)})}),f},Pe.isPointInside=function(u,f){var v=!1;return this.forEach(function(c){if(c.isPointInside(u,f))return v=!0,!1}),v},l.registerFont=function(u){if(!u.face)return u;this.fonts=this.fonts||{};var f={w:u.w,face:{},glyphs:{}},v=u.face["font-family"];for(var c in u.face)u.face[N](c)&&(f.face[c]=u.face[c]);if(this.fonts[v]?this.fonts[v].push(f):this.fonts[v]=[f],!u.svg){for(var h in f.face["units-per-em"]=j(u.face["units-per-em"],10),u.glyphs)if(u.glyphs[N](h)){var y=u.glyphs[h];if(f.glyphs[h]={w:y.w,k:{},d:y.d&&"M"+y.d.replace(/[mlcxtrv]/g,function(E){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[E]||"M"})+"z"},y.k)for(var b in y.k)y[N](b)&&(f.glyphs[h].k[b]=y.k[b])}}return u},m.getFont=function(u,f,v,c){if(c=c||"normal",v=v||"normal",f=+f||{normal:400,bold:700,lighter:300,bolder:800}[f]||400,l.fonts){var h,y=l.fonts[u];if(!y){var b=new RegExp("(^|\\s)"+u.replace(/[^\w\d\s+!~.:_-]/g,Y)+"(\\s|$)","i");for(var E in l.fonts)if(l.fonts[N](E)&&b.test(E)){y=l.fonts[E];break}}if(y)for(var k=0,L=y.length;k<L&&((h=y[k]).face["font-weight"]!=f||h.face["font-style"]!=v&&h.face["font-style"]||h.face["font-stretch"]!=c);k++);return h}},m.print=function(u,f,v,c,h,y,b,E){y=y||"middle",b=It(kt(b||0,1),-1),E=It(kt(E||1,3),1);var k,L=V(v)[ht](Y),U=0,it=0,Z=Y;if(l.is(c,"string")&&(c=this.getFont(c)),c){k=(h||16)/c.face["units-per-em"];for(var q=c.face.bbox[ht](g),ot=+q[0],ct=q[3]-q[1],lt=0,et=+q[1]+(y=="baseline"?ct+ +c.face.descent:ct/2),Nt=0,ut=L.length;Nt<ut;Nt++){if(L[Nt]==`
|
|
49
|
+
`)U=0,dt=0,it=0,lt+=ct*E;else{var gt=it&&c.glyphs[L[Nt-1]]||{},dt=c.glyphs[L[Nt]];U+=it?(gt.w||c.w)+(gt.k&>.k[L[Nt]]||0)+c.w*b:0,it=1}dt&&dt.d&&(Z+=l.transformPath(dt.d,["t",U*k,lt*k,"s",k,k,ot,et,"t",(u-ot)/k,(f-et)/k]))}}return this.path(Z).attr({fill:"#000",stroke:"none"})},m.add=function(u){if(l.is(u,"array"))for(var f,v=this.set(),c=0,h=u.length;c<h;c++)f=u[c]||{},d[N](f.type)&&v.push(this[f.type]().attr(f));return v},l.format=function(u,f){var v=l.is(f,at)?[0][$](f):arguments;return u&&l.is(u,"string")&&v.length-1&&(u=u.replace(_,function(c,h){return v[++h]==null?Y:v[h]})),u||Y},l.fullfill=(Ji=/\{([^\}]+)\}/g,tr=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(u,f){return String(u).replace(Ji,function(v,c){return function(h,y,b){var E=b;return y.replace(tr,function(k,L,U,it,Z){L=L||it,E&&(L in E&&(E=E[L]),typeof E=="function"&&Z&&(E=E()))}),E=(E==null||E==b?h:E)+""}(v,c,f)})}),l.ninja=function(){if(M.was)C.win.Raphael=M.is;else{window.Raphael=void 0;try{delete window.Raphael}catch{}}return l},l.st=Pe,a.on("raphael.DOMload",function(){p=!0}),(ln=document).readyState==null&&ln.addEventListener&&(ln.addEventListener("DOMContentLoaded",cn=function(){ln.removeEventListener("DOMContentLoaded",cn,!1),ln.readyState="complete"},!1),ln.readyState="loading"),function u(){/in/.test(ln.readyState)?setTimeout(u,9):l.eve("raphael.DOMload")}(),l}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o;s=[r(0),r(3),r(4)],(o=function(a){return a}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o,a,l,p,m,g,d,_,N,C,M,z,P;l="hasOwnProperty",p=/[\.\/]/,m=/\s*,\s*/,g=function($,H){return $-H},d={n:{}},_=function(){for(var $=0,H=this.length;$<H;$++)if(this[$]!==void 0)return this[$]},N=function(){for(var $=this.length;--$;)if(this[$]!==void 0)return this[$]},C=Object.prototype.toString,M=String,z=Array.isArray||function($){return $ instanceof Array||C.call($)=="[object Array]"},(P=function($,H){var Y,J=a,V=Array.prototype.slice.call(arguments,2),ht=P.listeners($),_t=0,Pt=[],Et={},vt=[],It=o;vt.firstDefined=_,vt.lastDefined=N,o=$,a=0;for(var kt=0,Ut=ht.length;kt<Ut;kt++)"zIndex"in ht[kt]&&(Pt.push(ht[kt].zIndex),ht[kt].zIndex<0&&(Et[ht[kt].zIndex]=ht[kt]));for(Pt.sort(g);Pt[_t]<0;)if(Y=Et[Pt[_t++]],vt.push(Y.apply(H,V)),a)return a=J,vt;for(kt=0;kt<Ut;kt++)if("zIndex"in(Y=ht[kt]))if(Y.zIndex==Pt[_t]){if(vt.push(Y.apply(H,V)),a)break;do if((Y=Et[Pt[++_t]])&&vt.push(Y.apply(H,V)),a)break;while(Y)}else Et[Y.zIndex]=Y;else if(vt.push(Y.apply(H,V)),a)break;return a=J,o=It,vt})._events=d,P.listeners=function($){var H,Y,J,V,ht,_t,Pt,Et,vt=z($)?$:$.split(p),It=d,kt=[It],Ut=[];for(V=0,ht=vt.length;V<ht;V++){for(Et=[],_t=0,Pt=kt.length;_t<Pt;_t++)for(Y=[(It=kt[_t].n)[vt[V]],It["*"]],J=2;J--;)(H=Y[J])&&(Et.push(H),Ut=Ut.concat(H.f||[]));kt=Et}return Ut},P.separator=function($){$?($="["+($=M($).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",p=new RegExp($)):p=/[\.\/]/},P.on=function($,H){if(typeof H!="function")return function(){};for(var Y=z($)?z($[0])?$:[$]:M($).split(m),J=0,V=Y.length;J<V;J++)(function(ht){for(var _t,Pt=z(ht)?ht:M(ht).split(p),Et=d,vt=0,It=Pt.length;vt<It;vt++)Et=(Et=Et.n).hasOwnProperty(Pt[vt])&&Et[Pt[vt]]||(Et[Pt[vt]]={n:{}});for(Et.f=Et.f||[],vt=0,It=Et.f.length;vt<It;vt++)if(Et.f[vt]==H){_t=!0;break}!_t&&Et.f.push(H)})(Y[J]);return function(ht){+ht==+ht&&(H.zIndex=+ht)}},P.f=function($){var H=[].slice.call(arguments,1);return function(){P.apply(null,[$,null].concat(H).concat([].slice.call(arguments,0)))}},P.stop=function(){a=1},P.nt=function($){var H=z(o)?o.join("."):o;return $?new RegExp("(?:\\.|\\/|^)"+$+"(?:\\.|\\/|$)").test(H):H},P.nts=function(){return z(o)?o:o.split(p)},P.off=P.unbind=function($,H){if($){var Y=z($)?z($[0])?$:[$]:M($).split(m);if(Y.length>1)for(var J=0,V=Y.length;J<V;J++)P.off(Y[J],H);else{Y=z($)?$:M($).split(p);var ht,_t,Pt,Et,vt,It=[d];for(J=0,V=Y.length;J<V;J++)for(Et=0;Et<It.length;Et+=Pt.length-2){if(Pt=[Et,1],ht=It[Et].n,Y[J]!="*")ht[Y[J]]&&Pt.push(ht[Y[J]]);else for(_t in ht)ht[l](_t)&&Pt.push(ht[_t]);It.splice.apply(It,Pt)}for(J=0,V=It.length;J<V;J++)for(ht=It[J];ht.n;){if(H){if(ht.f){for(Et=0,vt=ht.f.length;Et<vt;Et++)if(ht.f[Et]==H){ht.f.splice(Et,1);break}!ht.f.length&&delete ht.f}for(_t in ht.n)if(ht.n[l](_t)&&ht.n[_t].f){var kt=ht.n[_t].f;for(Et=0,vt=kt.length;Et<vt;Et++)if(kt[Et]==H){kt.splice(Et,1);break}!kt.length&&delete ht.n[_t].f}}else for(_t in delete ht.f,ht.n)ht.n[l](_t)&&ht.n[_t].f&&delete ht.n[_t].f;ht=ht.n}}}else P._events=d={n:{}}},P.once=function($,H){var Y=function(){return P.off($,Y),H.apply(this,arguments)};return P.on($,Y)},P.version="0.5.0",P.toString=function(){return"You are running Eve 0.5.0"},n.exports?n.exports=P:(s=function(){return P}.apply(i,[]))===void 0||(n.exports=s)},function(n,i,r){var s,o;s=[r(0)],(o=function(a){if(!a||a.svg){var l="hasOwnProperty",p=String,m=parseFloat,g=parseInt,d=Math,_=d.max,N=d.abs,C=d.pow,M=/[, ]+/,z=a.eve,P="",$=" ",H="http://www.w3.org/1999/xlink",Y={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},J={};a.toString=function(){return`Your browser supports SVG.
|
|
50
|
+
You are running Raphaël `+this.version};var V=function(S,w){if(w)for(var x in typeof S=="string"&&(S=V(S)),w)w[l](x)&&(x.substring(0,6)=="xlink:"?S.setAttributeNS(H,x.substring(6),p(w[x])):S.setAttribute(x,p(w[x])));else(S=a._g.doc.createElementNS("http://www.w3.org/2000/svg",S)).style&&(S.style.webkitTapHighlightColor="rgba(0,0,0,0)");return S},ht=function(S,w){var x="linear",I=S.id+w,R=.5,j=.5,F=S.node,rt=S.paper,G=F.style,st=a._g.doc.getElementById(I);if(!st){if(w=(w=p(w).replace(a._radial_gradient,function(X,Q,K){if(x="radial",Q&&K){R=m(Q);var pt=2*((j=m(K))>.5)-1;C(R-.5,2)+C(j-.5,2)>.25&&(j=d.sqrt(.25-C(R-.5,2))*pt+.5)&&j!=.5&&(j=j.toFixed(5)-1e-5*pt)}return P})).split(/\s*\-\s*/),x=="linear"){var yt=w.shift();if(yt=-m(yt),isNaN(yt))return null;var St=[0,0,d.cos(a.rad(yt)),d.sin(a.rad(yt))],Ft=1/(_(N(St[2]),N(St[3]))||1);St[2]*=Ft,St[3]*=Ft,St[2]<0&&(St[0]=-St[2],St[2]=0),St[3]<0&&(St[1]=-St[3],St[3]=0)}var O=a._parseDots(w);if(!O)return null;if(I=I.replace(/[\(\)\s,\xb0#]/g,"_"),S.gradient&&I!=S.gradient.id&&(rt.defs.removeChild(S.gradient),delete S.gradient),!S.gradient){st=V(x+"Gradient",{id:I}),S.gradient=st,V(st,x=="radial"?{fx:R,fy:j}:{x1:St[0],y1:St[1],x2:St[2],y2:St[3],gradientTransform:S.matrix.invert()}),rt.defs.appendChild(st);for(var D=0,B=O.length;D<B;D++)st.appendChild(V("stop",{offset:O[D].offset?O[D].offset:D?"100%":"0%","stop-color":O[D].color||"#fff","stop-opacity":isFinite(O[D].opacity)?O[D].opacity:1}))}}return V(F,{fill:_t(I),opacity:1,"fill-opacity":1}),G.fill=P,G.opacity=1,G.fillOpacity=1,1},_t=function(S){if((w=document.documentMode)&&(w===9||w===10))return"url('#"+S+"')";var w,x=document.location;return"url('"+(x.protocol+"//"+x.host+x.pathname+x.search)+"#"+S+"')"},Pt=function(S){var w=S.getBBox(1);V(S.pattern,{patternTransform:S.matrix.invert()+" translate("+w.x+","+w.y+")"})},Et=function(S,w,x){if(S.type=="path"){for(var I,R,j,F,rt,G=p(w).toLowerCase().split("-"),st=S.paper,yt=x?"end":"start",St=S.node,Ft=S.attrs,O=Ft["stroke-width"],D=G.length,B="classic",X=3,Q=3,K=5;D--;)switch(G[D]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":B=G[D];break;case"wide":Q=5;break;case"narrow":Q=2;break;case"long":X=5;break;case"short":X=2}if(B=="open"?(X+=2,Q+=2,K+=2,j=1,F=x?4:1,rt={fill:"none",stroke:Ft.stroke}):(F=j=X/2,rt={fill:Ft.stroke,stroke:"none"}),S._.arrows?x?(S._.arrows.endPath&&J[S._.arrows.endPath]--,S._.arrows.endMarker&&J[S._.arrows.endMarker]--):(S._.arrows.startPath&&J[S._.arrows.startPath]--,S._.arrows.startMarker&&J[S._.arrows.startMarker]--):S._.arrows={},B!="none"){var pt="raphael-marker-"+B,nt="raphael-marker-"+yt+B+X+Q+"-obj"+S.id;a._g.doc.getElementById(pt)?J[pt]++:(st.defs.appendChild(V(V("path"),{"stroke-linecap":"round",d:Y[B],id:pt})),J[pt]=1);var ft,tt=a._g.doc.getElementById(nt);tt?(J[nt]++,ft=tt.getElementsByTagName("use")[0]):(tt=V(V("marker"),{id:nt,markerHeight:Q,markerWidth:X,orient:"auto",refX:F,refY:Q/2}),ft=V(V("use"),{"xlink:href":"#"+pt,transform:(x?"rotate(180 "+X/2+" "+Q/2+") ":P)+"scale("+X/K+","+Q/K+")","stroke-width":(1/((X/K+Q/K)/2)).toFixed(4)}),tt.appendChild(ft),st.defs.appendChild(tt),J[nt]=1),V(ft,rt);var bt=j*(B!="diamond"&&B!="oval");x?(I=S._.arrows.startdx*O||0,R=a.getTotalLength(Ft.path)-bt*O):(I=bt*O,R=a.getTotalLength(Ft.path)-(S._.arrows.enddx*O||0)),(rt={})["marker-"+yt]="url(#"+nt+")",(R||I)&&(rt.d=a.getSubpath(Ft.path,I,R)),V(St,rt),S._.arrows[yt+"Path"]=pt,S._.arrows[yt+"Marker"]=nt,S._.arrows[yt+"dx"]=bt,S._.arrows[yt+"Type"]=B,S._.arrows[yt+"String"]=w}else x?(I=S._.arrows.startdx*O||0,R=a.getTotalLength(Ft.path)-I):(I=0,R=a.getTotalLength(Ft.path)-(S._.arrows.enddx*O||0)),S._.arrows[yt+"Path"]&&V(St,{d:a.getSubpath(Ft.path,I,R)}),delete S._.arrows[yt+"Path"],delete S._.arrows[yt+"Marker"],delete S._.arrows[yt+"dx"],delete S._.arrows[yt+"Type"],delete S._.arrows[yt+"String"];for(rt in J)if(J[l](rt)&&!J[rt]){var Tt=a._g.doc.getElementById(rt);Tt&&Tt.parentNode.removeChild(Tt)}}},vt={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},It=function(S,w,x){if(w=vt[p(w).toLowerCase()]){for(var I=S.attrs["stroke-width"]||"1",R={round:I,square:I,butt:0}[S.attrs["stroke-linecap"]||x["stroke-linecap"]]||0,j=[],F=w.length;F--;)j[F]=w[F]*I+(F%2?1:-1)*R;V(S.node,{"stroke-dasharray":j.join(",")})}else V(S.node,{"stroke-dasharray":"none"})},kt=function(S,w){var x=S.node,I=S.attrs,R=x.style.visibility;for(var j in x.style.visibility="hidden",w)if(w[l](j)){if(!a._availableAttrs[l](j))continue;var F=w[j];switch(I[j]=F,j){case"blur":S.blur(F);break;case"title":var rt=x.getElementsByTagName("title");if(rt.length&&(rt=rt[0]))rt.firstChild.nodeValue=F;else{rt=V("title");var G=a._g.doc.createTextNode(F);rt.appendChild(G),x.appendChild(rt)}break;case"href":case"target":var st=x.parentNode;if(st.tagName.toLowerCase()!="a"){var yt=V("a");st.insertBefore(yt,x),yt.appendChild(x),st=yt}j=="target"?st.setAttributeNS(H,"show",F=="blank"?"new":F):st.setAttributeNS(H,j,F);break;case"cursor":x.style.cursor=F;break;case"transform":S.transform(F);break;case"arrow-start":Et(S,F);break;case"arrow-end":Et(S,F,1);break;case"clip-rect":var St=p(F).split(M);if(St.length==4){S.clip&&S.clip.parentNode.parentNode.removeChild(S.clip.parentNode);var Ft=V("clipPath"),O=V("rect");Ft.id=a.createUUID(),V(O,{x:St[0],y:St[1],width:St[2],height:St[3]}),Ft.appendChild(O),S.paper.defs.appendChild(Ft),V(x,{"clip-path":"url(#"+Ft.id+")"}),S.clip=O}if(!F){var D=x.getAttribute("clip-path");if(D){var B=a._g.doc.getElementById(D.replace(/(^url\(#|\)$)/g,P));B&&B.parentNode.removeChild(B),V(x,{"clip-path":P}),delete S.clip}}break;case"path":S.type=="path"&&(V(x,{d:F?I.path=a._pathToAbsolute(F):"M0,0"}),S._.dirty=1,S._.arrows&&("startString"in S._.arrows&&Et(S,S._.arrows.startString),"endString"in S._.arrows&&Et(S,S._.arrows.endString,1)));break;case"width":if(x.setAttribute(j,F),S._.dirty=1,!I.fx)break;j="x",F=I.x;case"x":I.fx&&(F=-I.x-(I.width||0));case"rx":if(j=="rx"&&S.type=="rect")break;case"cx":x.setAttribute(j,F),S.pattern&&Pt(S),S._.dirty=1;break;case"height":if(x.setAttribute(j,F),S._.dirty=1,!I.fy)break;j="y",F=I.y;case"y":I.fy&&(F=-I.y-(I.height||0));case"ry":if(j=="ry"&&S.type=="rect")break;case"cy":x.setAttribute(j,F),S.pattern&&Pt(S),S._.dirty=1;break;case"r":S.type=="rect"?V(x,{rx:F,ry:F}):x.setAttribute(j,F),S._.dirty=1;break;case"src":S.type=="image"&&x.setAttributeNS(H,"href",F);break;case"stroke-width":S._.sx==1&&S._.sy==1||(F/=_(N(S._.sx),N(S._.sy))||1),x.setAttribute(j,F),I["stroke-dasharray"]&&It(S,I["stroke-dasharray"],w),S._.arrows&&("startString"in S._.arrows&&Et(S,S._.arrows.startString),"endString"in S._.arrows&&Et(S,S._.arrows.endString,1));break;case"stroke-dasharray":It(S,F,w);break;case"fill":var X=p(F).match(a._ISURL);if(X){Ft=V("pattern");var Q=V("image");Ft.id=a.createUUID(),V(Ft,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),V(Q,{x:0,y:0,"xlink:href":X[1]}),Ft.appendChild(Q),function(tt){a._preload(X[1],function(){var bt=this.offsetWidth,Tt=this.offsetHeight;V(tt,{width:bt,height:Tt}),V(Q,{width:bt,height:Tt})})}(Ft),S.paper.defs.appendChild(Ft),V(x,{fill:"url(#"+Ft.id+")"}),S.pattern=Ft,S.pattern&&Pt(S);break}var K=a.getRGB(F);if(K.error){if((S.type=="circle"||S.type=="ellipse"||p(F).charAt()!="r")&&ht(S,F)){if("opacity"in I||"fill-opacity"in I){var pt=a._g.doc.getElementById(x.getAttribute("fill").replace(/^url\(#|\)$/g,P));if(pt){var nt=pt.getElementsByTagName("stop");V(nt[nt.length-1],{"stop-opacity":("opacity"in I?I.opacity:1)*("fill-opacity"in I?I["fill-opacity"]:1)})}}I.gradient=F,I.fill="none";break}}else delete w.gradient,delete I.gradient,!a.is(I.opacity,"undefined")&&a.is(w.opacity,"undefined")&&V(x,{opacity:I.opacity}),!a.is(I["fill-opacity"],"undefined")&&a.is(w["fill-opacity"],"undefined")&&V(x,{"fill-opacity":I["fill-opacity"]});K[l]("opacity")&&V(x,{"fill-opacity":K.opacity>1?K.opacity/100:K.opacity});case"stroke":K=a.getRGB(F),x.setAttribute(j,K.hex),j=="stroke"&&K[l]("opacity")&&V(x,{"stroke-opacity":K.opacity>1?K.opacity/100:K.opacity}),j=="stroke"&&S._.arrows&&("startString"in S._.arrows&&Et(S,S._.arrows.startString),"endString"in S._.arrows&&Et(S,S._.arrows.endString,1));break;case"gradient":(S.type=="circle"||S.type=="ellipse"||p(F).charAt()!="r")&&ht(S,F);break;case"opacity":I.gradient&&!I[l]("stroke-opacity")&&V(x,{"stroke-opacity":F>1?F/100:F});case"fill-opacity":if(I.gradient){(pt=a._g.doc.getElementById(x.getAttribute("fill").replace(/^url\(#|\)$/g,P)))&&(nt=pt.getElementsByTagName("stop"),V(nt[nt.length-1],{"stop-opacity":F}));break}default:j=="font-size"&&(F=g(F,10)+"px");var ft=j.replace(/(\-.)/g,function(tt){return tt.substring(1).toUpperCase()});x.style[ft]=F,S._.dirty=1,x.setAttribute(j,F)}}Ut(S,w),x.style.visibility=R},Ut=function(S,w){if(S.type=="text"&&(w[l]("text")||w[l]("font")||w[l]("font-size")||w[l]("x")||w[l]("y"))){var x=S.attrs,I=S.node,R=I.firstChild?g(a._g.doc.defaultView.getComputedStyle(I.firstChild,P).getPropertyValue("font-size"),10):10;if(w[l]("text")){for(x.text=w.text;I.firstChild;)I.removeChild(I.firstChild);for(var j,F=p(w.text).split(`
|
|
51
|
+
`),rt=[],G=0,st=F.length;G<st;G++)j=V("tspan"),G&&V(j,{dy:1.2*R,x:x.x}),j.appendChild(a._g.doc.createTextNode(F[G])),I.appendChild(j),rt[G]=j}else for(G=0,st=(rt=I.getElementsByTagName("tspan")).length;G<st;G++)G?V(rt[G],{dy:1.2*R,x:x.x}):V(rt[0],{dy:0});V(I,{x:x.x,y:x.y}),S._.dirty=1;var yt=S._getBBox(),St=x.y-(yt.y+yt.height/2);St&&a.is(St,"finite")&&V(rt[0],{dy:St})}},jt=function(S){return S.parentNode&&S.parentNode.tagName.toLowerCase()==="a"?S.parentNode:S},Ot=function(S,w){this[0]=this.node=S,S.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),S.raphaelid=this.id,this.matrix=a.matrix(),this.realPath=null,this.paper=w,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!w.bottom&&(w.bottom=this),this.prev=w.top,w.top&&(w.top.next=this),w.top=this,this.next=null},W=a.el;Ot.prototype=W,W.constructor=Ot,a._engine.path=function(S,w){var x=V("path");w.canvas&&w.canvas.appendChild(x);var I=new Ot(x,w);return I.type="path",kt(I,{fill:"none",stroke:"#000",path:S}),I},W.rotate=function(S,w,x){if(this.removed)return this;if((S=p(S).split(M)).length-1&&(w=m(S[1]),x=m(S[2])),S=m(S[0]),x==null&&(w=x),w==null||x==null){var I=this.getBBox(1);w=I.x+I.width/2,x=I.y+I.height/2}return this.transform(this._.transform.concat([["r",S,w,x]])),this},W.scale=function(S,w,x,I){if(this.removed)return this;if((S=p(S).split(M)).length-1&&(w=m(S[1]),x=m(S[2]),I=m(S[3])),S=m(S[0]),w==null&&(w=S),I==null&&(x=I),x==null||I==null)var R=this.getBBox(1);return x=x??R.x+R.width/2,I=I??R.y+R.height/2,this.transform(this._.transform.concat([["s",S,w,x,I]])),this},W.translate=function(S,w){return this.removed?this:((S=p(S).split(M)).length-1&&(w=m(S[1])),S=m(S[0])||0,w=+w||0,this.transform(this._.transform.concat([["t",S,w]])),this)},W.transform=function(S){var w=this._;if(S==null)return w.transform;if(a._extractTransform(this,S),this.clip&&V(this.clip,{transform:this.matrix.invert()}),this.pattern&&Pt(this),this.node&&V(this.node,{transform:this.matrix}),w.sx!=1||w.sy!=1){var x=this.attrs[l]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":x})}return this},W.hide=function(){return this.removed||(this.node.style.display="none"),this},W.show=function(){return this.removed||(this.node.style.display=""),this},W.remove=function(){var S=jt(this.node);if(!this.removed&&S.parentNode){var w=this.paper;for(var x in w.__set__&&w.__set__.exclude(this),z.unbind("raphael.*.*."+this.id),this.gradient&&w.defs.removeChild(this.gradient),a._tear(this,w),S.parentNode.removeChild(S),this.removeData(),this)this[x]=typeof this[x]=="function"?a._removedFactory(x):null;this.removed=!0}},W._getBBox=function(){if(this.node.style.display=="none"){this.show();var S=!0}var w,x=!1;this.paper.canvas.parentElement?w=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(w=this.paper.canvas.parentNode.style),w&&w.display=="none"&&(x=!0,w.display="");var I={};try{I=this.node.getBBox()}catch{I={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{I=I||{},x&&(w.display="none")}return S&&this.hide(),I},W.attr=function(S,w){if(this.removed)return this;if(S==null){var x={};for(var I in this.attrs)this.attrs[l](I)&&(x[I]=this.attrs[I]);return x.gradient&&x.fill=="none"&&(x.fill=x.gradient)&&delete x.gradient,x.transform=this._.transform,x}if(w==null&&a.is(S,"string")){if(S=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(S=="transform")return this._.transform;for(var R=S.split(M),j={},F=0,rt=R.length;F<rt;F++)(S=R[F])in this.attrs?j[S]=this.attrs[S]:a.is(this.paper.customAttributes[S],"function")?j[S]=this.paper.customAttributes[S].def:j[S]=a._availableAttrs[S];return rt-1?j:j[R[0]]}if(w==null&&a.is(S,"array")){for(j={},F=0,rt=S.length;F<rt;F++)j[S[F]]=this.attr(S[F]);return j}if(w!=null){var G={};G[S]=w}else S!=null&&a.is(S,"object")&&(G=S);for(var st in G)z("raphael.attr."+st+"."+this.id,this,G[st]);for(st in this.paper.customAttributes)if(this.paper.customAttributes[l](st)&&G[l](st)&&a.is(this.paper.customAttributes[st],"function")){var yt=this.paper.customAttributes[st].apply(this,[].concat(G[st]));for(var St in this.attrs[st]=G[st],yt)yt[l](St)&&(G[St]=yt[St])}return kt(this,G),this},W.toFront=function(){if(this.removed)return this;var S=jt(this.node);S.parentNode.appendChild(S);var w=this.paper;return w.top!=this&&a._tofront(this,w),this},W.toBack=function(){if(this.removed)return this;var S=jt(this.node),w=S.parentNode;return w.insertBefore(S,w.firstChild),a._toback(this,this.paper),this.paper,this},W.insertAfter=function(S){if(this.removed||!S)return this;var w=jt(this.node),x=jt(S.node||S[S.length-1].node);return x.nextSibling?x.parentNode.insertBefore(w,x.nextSibling):x.parentNode.appendChild(w),a._insertafter(this,S,this.paper),this},W.insertBefore=function(S){if(this.removed||!S)return this;var w=jt(this.node),x=jt(S.node||S[0].node);return x.parentNode.insertBefore(w,x),a._insertbefore(this,S,this.paper),this},W.blur=function(S){var w=this;if(+S!=0){var x=V("filter"),I=V("feGaussianBlur");w.attrs.blur=S,x.id=a.createUUID(),V(I,{stdDeviation:+S||1.5}),x.appendChild(I),w.paper.defs.appendChild(x),w._blur=x,V(w.node,{filter:"url(#"+x.id+")"})}else w._blur&&(w._blur.parentNode.removeChild(w._blur),delete w._blur,delete w.attrs.blur),w.node.removeAttribute("filter");return w},a._engine.circle=function(S,w,x,I){var R=V("circle");S.canvas&&S.canvas.appendChild(R);var j=new Ot(R,S);return j.attrs={cx:w,cy:x,r:I,fill:"none",stroke:"#000"},j.type="circle",V(R,j.attrs),j},a._engine.rect=function(S,w,x,I,R,j){var F=V("rect");S.canvas&&S.canvas.appendChild(F);var rt=new Ot(F,S);return rt.attrs={x:w,y:x,width:I,height:R,rx:j||0,ry:j||0,fill:"none",stroke:"#000"},rt.type="rect",V(F,rt.attrs),rt},a._engine.ellipse=function(S,w,x,I,R){var j=V("ellipse");S.canvas&&S.canvas.appendChild(j);var F=new Ot(j,S);return F.attrs={cx:w,cy:x,rx:I,ry:R,fill:"none",stroke:"#000"},F.type="ellipse",V(j,F.attrs),F},a._engine.image=function(S,w,x,I,R,j){var F=V("image");V(F,{x,y:I,width:R,height:j,preserveAspectRatio:"none"}),F.setAttributeNS(H,"href",w),S.canvas&&S.canvas.appendChild(F);var rt=new Ot(F,S);return rt.attrs={x,y:I,width:R,height:j,src:w},rt.type="image",rt},a._engine.text=function(S,w,x,I){var R=V("text");S.canvas&&S.canvas.appendChild(R);var j=new Ot(R,S);return j.attrs={x:w,y:x,"text-anchor":"middle",text:I,"font-family":a._availableAttrs["font-family"],"font-size":a._availableAttrs["font-size"],stroke:"none",fill:"#000"},j.type="text",kt(j,j.attrs),j},a._engine.setSize=function(S,w){return this.width=S||this.width,this.height=w||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},a._engine.create=function(){var S=a._getContainer.apply(0,arguments),w=S&&S.container;if(!w)throw new Error("SVG container not found.");var x,I=S.x,R=S.y,j=S.width,F=S.height,rt=V("svg"),G="overflow:hidden;";return I=I||0,R=R||0,V(rt,{height:F=F||342,version:1.1,width:j=j||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),w==1?(rt.style.cssText=G+"position:absolute;left:"+I+"px;top:"+R+"px",a._g.doc.body.appendChild(rt),x=1):(rt.style.cssText=G+"position:relative",w.firstChild?w.insertBefore(rt,w.firstChild):w.appendChild(rt)),(w=new a._Paper).width=j,w.height=F,w.canvas=rt,w.clear(),w._left=w._top=0,x&&(w.renderfix=function(){}),w.renderfix(),w},a._engine.setViewBox=function(S,w,x,I,R){z("raphael.setViewBox",this,this._viewBox,[S,w,x,I,R]);var j,F,rt=this.getSize(),G=_(x/rt.width,I/rt.height),st=this.top,yt=R?"xMidYMid meet":"xMinYMin";for(S==null?(this._vbSize&&(G=1),delete this._vbSize,j="0 0 "+this.width+$+this.height):(this._vbSize=G,j=S+$+w+$+x+$+I),V(this.canvas,{viewBox:j,preserveAspectRatio:yt});G&&st;)F="stroke-width"in st.attrs?st.attrs["stroke-width"]:1,st.attr({"stroke-width":F}),st._.dirty=1,st._.dirtyT=1,st=st.prev;return this._viewBox=[S,w,x,I,!!R],this},a.prototype.renderfix=function(){var S,w=this.canvas,x=w.style;try{S=w.getScreenCTM()||w.createSVGMatrix()}catch{S=w.createSVGMatrix()}var I=-S.e%1,R=-S.f%1;(I||R)&&(I&&(this._left=(this._left+I)%1,x.left=this._left+"px"),R&&(this._top=(this._top+R)%1,x.top=this._top+"px"))},a.prototype.clear=function(){a.eve("raphael.clear",this);for(var S=this.canvas;S.firstChild;)S.removeChild(S.firstChild);this.bottom=this.top=null,(this.desc=V("desc")).appendChild(a._g.doc.createTextNode("Created with Raphaël "+a.version)),S.appendChild(this.desc),S.appendChild(this.defs=V("defs"))},a.prototype.remove=function(){for(var S in z("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[S]=typeof this[S]=="function"?a._removedFactory(S):null};var at=a.st;for(var mt in W)W[l](mt)&&!at[l](mt)&&(at[mt]=function(S){return function(){var w=arguments;return this.forEach(function(x){x[S].apply(x,w)})}}(mt))}}.apply(i,s))===void 0||(n.exports=o)},function(n,i,r){var s,o;s=[r(0)],(o=function(a){if(!a||a.vml){var l="hasOwnProperty",p=String,m=parseFloat,g=Math,d=g.round,_=g.max,N=g.min,C=g.abs,M=/[, ]+/,z=a.eve,P=" ",$="",H={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},Y=/([clmz]),?([^clmz]*)/gi,J=/ progid:\S+Blur\([^\)]+\)/g,V=/-?[^,\s-]+/g,ht="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",_t=21600,Pt={path:1,rect:1,image:1},Et={circle:1,ellipse:1},vt=function(w,x,I){var R=a.matrix();return R.rotate(-w,.5,.5),{dx:R.x(x,I),dy:R.y(x,I)}},It=function(w,x,I,R,j,F){var rt=w._,G=w.matrix,st=rt.fillpos,yt=w.node,St=yt.style,Ft=1,O="",D=_t/x,B=_t/I;if(St.visibility="hidden",x&&I){if(yt.coordsize=C(D)+P+C(B),St.rotation=F*(x*I<0?-1:1),F){var X=vt(F,R,j);R=X.dx,j=X.dy}if(x<0&&(O+="x"),I<0&&(O+=" y")&&(Ft=-1),St.flip=O,yt.coordorigin=R*-D+P+j*-B,st||rt.fillsize){var Q=yt.getElementsByTagName("fill");Q=Q&&Q[0],yt.removeChild(Q),st&&(X=vt(F,G.x(st[0],st[1]),G.y(st[0],st[1])),Q.position=X.dx*Ft+P+X.dy*Ft),rt.fillsize&&(Q.size=rt.fillsize[0]*C(x)+P+rt.fillsize[1]*C(I)),yt.appendChild(Q)}St.visibility="visible"}};a.toString=function(){return`Your browser doesn’t support SVG. Falling down to VML.
|
|
52
|
+
You are running Raphaël `+this.version};var kt,Ut=function(w,x,I){for(var R=p(x).toLowerCase().split("-"),j=I?"end":"start",F=R.length,rt="classic",G="medium",st="medium";F--;)switch(R[F]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":rt=R[F];break;case"wide":case"narrow":st=R[F];break;case"long":case"short":G=R[F]}var yt=w.node.getElementsByTagName("stroke")[0];yt[j+"arrow"]=rt,yt[j+"arrowlength"]=G,yt[j+"arrowwidth"]=st},jt=function(w,x){w.attrs=w.attrs||{};var I=w.node,R=w.attrs,j=I.style,F=Pt[w.type]&&(x.x!=R.x||x.y!=R.y||x.width!=R.width||x.height!=R.height||x.cx!=R.cx||x.cy!=R.cy||x.rx!=R.rx||x.ry!=R.ry||x.r!=R.r),rt=Et[w.type]&&(R.cx!=x.cx||R.cy!=x.cy||R.r!=x.r||R.rx!=x.rx||R.ry!=x.ry),G=w;for(var st in x)x[l](st)&&(R[st]=x[st]);if(F&&(R.path=a._getPath[w.type](w),w._.dirty=1),x.href&&(I.href=x.href),x.title&&(I.title=x.title),x.target&&(I.target=x.target),x.cursor&&(j.cursor=x.cursor),"blur"in x&&w.blur(x.blur),(x.path&&w.type=="path"||F)&&(I.path=function(Te){var Re=/[ahqstv]/gi,pn=a._pathToAbsolute;if(p(Te).match(Re)&&(pn=a._path2curve),Re=/[clmz]/g,pn==a._pathToAbsolute&&!p(Te).match(Re)){var oe=p(Te).replace(Y,function(Ks,ii,$n){var wn=[],qi=ii.toLowerCase()=="m",Rn=H[ii];return $n.replace(V,function(Vn){qi&&wn.length==2&&(Rn+=wn+H[ii=="m"?"l":"L"],wn=[]),wn.push(d(Vn*_t))}),Rn+wn});return oe}var Ee,Ve,Ti=pn(Te);oe=[];for(var Ln=0,ni=Ti.length;Ln<ni;Ln++){Ee=Ti[Ln],(Ve=Ti[Ln][0].toLowerCase())=="z"&&(Ve="x");for(var on=1,Fe=Ee.length;on<Fe;on++)Ve+=d(Ee[on]*_t)+(on!=Fe-1?",":$);oe.push(Ve)}return oe.join(P)}(~p(R.path).toLowerCase().indexOf("r")?a._pathToAbsolute(R.path):R.path),w._.dirty=1,w.type=="image"&&(w._.fillpos=[R.x,R.y],w._.fillsize=[R.width,R.height],It(w,1,1,0,0,0))),"transform"in x&&w.transform(x.transform),rt){var yt=+R.cx,St=+R.cy,Ft=+R.rx||+R.r||0,O=+R.ry||+R.r||0;I.path=a.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",d((yt-Ft)*_t),d((St-O)*_t),d((yt+Ft)*_t),d((St+O)*_t),d(yt*_t)),w._.dirty=1}if("clip-rect"in x){var D=p(x["clip-rect"]).split(M);if(D.length==4){D[2]=+D[2]+ +D[0],D[3]=+D[3]+ +D[1];var B=I.clipRect||a._g.doc.createElement("div"),X=B.style;X.clip=a.format("rect({1}px {2}px {3}px {0}px)",D),I.clipRect||(X.position="absolute",X.top=0,X.left=0,X.width=w.paper.width+"px",X.height=w.paper.height+"px",I.parentNode.insertBefore(B,I),B.appendChild(I),I.clipRect=B)}x["clip-rect"]||I.clipRect&&(I.clipRect.style.clip="auto")}if(w.textpath){var Q=w.textpath.style;x.font&&(Q.font=x.font),x["font-family"]&&(Q.fontFamily='"'+x["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,$)+'"'),x["font-size"]&&(Q.fontSize=x["font-size"]),x["font-weight"]&&(Q.fontWeight=x["font-weight"]),x["font-style"]&&(Q.fontStyle=x["font-style"])}if("arrow-start"in x&&Ut(G,x["arrow-start"]),"arrow-end"in x&&Ut(G,x["arrow-end"],1),x.opacity!=null||x.fill!=null||x.src!=null||x.stroke!=null||x["stroke-width"]!=null||x["stroke-opacity"]!=null||x["fill-opacity"]!=null||x["stroke-dasharray"]!=null||x["stroke-miterlimit"]!=null||x["stroke-linejoin"]!=null||x["stroke-linecap"]!=null){var K=I.getElementsByTagName("fill");if(!(K=K&&K[0])&&(K=kt("fill")),w.type=="image"&&x.src&&(K.src=x.src),x.fill&&(K.on=!0),K.on!=null&&x.fill!="none"&&x.fill!==null||(K.on=!1),K.on&&x.fill){var pt=p(x.fill).match(a._ISURL);if(pt){K.parentNode==I&&I.removeChild(K),K.rotate=!0,K.src=pt[1],K.type="tile";var nt=w.getBBox(1);K.position=nt.x+P+nt.y,w._.fillpos=[nt.x,nt.y],a._preload(pt[1],function(){w._.fillsize=[this.offsetWidth,this.offsetHeight]})}else K.color=a.getRGB(x.fill).hex,K.src=$,K.type="solid",a.getRGB(x.fill).error&&(G.type in{circle:1,ellipse:1}||p(x.fill).charAt()!="r")&&Ot(G,x.fill,K)&&(R.fill="none",R.gradient=x.fill,K.rotate=!1)}if("fill-opacity"in x||"opacity"in x){var ft=((+R["fill-opacity"]+1||2)-1)*((+R.opacity+1||2)-1)*((+a.getRGB(x.fill).o+1||2)-1);ft=N(_(ft,0),1),K.opacity=ft,K.src&&(K.color="none")}I.appendChild(K);var tt=I.getElementsByTagName("stroke")&&I.getElementsByTagName("stroke")[0],bt=!1;!tt&&(bt=tt=kt("stroke")),(x.stroke&&x.stroke!="none"||x["stroke-width"]||x["stroke-opacity"]!=null||x["stroke-dasharray"]||x["stroke-miterlimit"]||x["stroke-linejoin"]||x["stroke-linecap"])&&(tt.on=!0),(x.stroke=="none"||x.stroke===null||tt.on==null||x.stroke==0||x["stroke-width"]==0)&&(tt.on=!1);var Tt=a.getRGB(x.stroke);tt.on&&x.stroke&&(tt.color=Tt.hex),ft=((+R["stroke-opacity"]+1||2)-1)*((+R.opacity+1||2)-1)*((+Tt.o+1||2)-1);var Mt=.75*(m(x["stroke-width"])||1);if(ft=N(_(ft,0),1),x["stroke-width"]==null&&(Mt=R["stroke-width"]),x["stroke-width"]&&(tt.weight=Mt),Mt&&Mt<1&&(ft*=Mt)&&(tt.weight=1),tt.opacity=ft,x["stroke-linejoin"]&&(tt.joinstyle=x["stroke-linejoin"]||"miter"),tt.miterlimit=x["stroke-miterlimit"]||8,x["stroke-linecap"]&&(tt.endcap=x["stroke-linecap"]=="butt"?"flat":x["stroke-linecap"]=="square"?"square":"round"),"stroke-dasharray"in x){var Vt={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};tt.dashstyle=Vt[l](x["stroke-dasharray"])?Vt[x["stroke-dasharray"]]:$}bt&&I.appendChild(tt)}if(G.type=="text"){G.paper.canvas.style.display=$;var Bt=G.paper.span,ee=R.font&&R.font.match(/\d+(?:\.\d*)?(?=px)/);j=Bt.style,R.font&&(j.font=R.font),R["font-family"]&&(j.fontFamily=R["font-family"]),R["font-weight"]&&(j.fontWeight=R["font-weight"]),R["font-style"]&&(j.fontStyle=R["font-style"]),ee=m(R["font-size"]||ee&&ee[0])||10,j.fontSize=100*ee+"px",G.textpath.string&&(Bt.innerHTML=p(G.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>"));var re=Bt.getBoundingClientRect();G.W=R.w=(re.right-re.left)/100,G.H=R.h=(re.bottom-re.top)/100,G.X=R.x,G.Y=R.y+G.H/2,("x"in x||"y"in x)&&(G.path.v=a.format("m{0},{1}l{2},{1}",d(R.x*_t),d(R.y*_t),d(R.x*_t)+1));for(var le=["x","y","text","font","font-family","font-weight","font-style","font-size"],we=0,en=le.length;we<en;we++)if(le[we]in x){G._.dirty=1;break}switch(R["text-anchor"]){case"start":G.textpath.style["v-text-align"]="left",G.bbx=G.W/2;break;case"end":G.textpath.style["v-text-align"]="right",G.bbx=-G.W/2;break;default:G.textpath.style["v-text-align"]="center",G.bbx=0}G.textpath.style["v-text-kern"]=!0}},Ot=function(w,x,I){w.attrs=w.attrs||{},w.attrs;var R=Math.pow,j="linear",F=".5 .5";if(w.attrs.gradient=x,x=(x=p(x).replace(a._radial_gradient,function(Ft,O,D){return j="radial",O&&D&&(O=m(O),D=m(D),R(O-.5,2)+R(D-.5,2)>.25&&(D=g.sqrt(.25-R(O-.5,2))*(2*(D>.5)-1)+.5),F=O+P+D),$})).split(/\s*\-\s*/),j=="linear"){var rt=x.shift();if(rt=-m(rt),isNaN(rt))return null}var G=a._parseDots(x);if(!G)return null;if(w=w.shape||w.node,G.length){w.removeChild(I),I.on=!0,I.method="none",I.color=G[0].color,I.color2=G[G.length-1].color;for(var st=[],yt=0,St=G.length;yt<St;yt++)G[yt].offset&&st.push(G[yt].offset+P+G[yt].color);I.colors=st.length?st.join():"0% "+I.color,j=="radial"?(I.type="gradientTitle",I.focus="100%",I.focussize="0 0",I.focusposition=F,I.angle=0):(I.type="gradient",I.angle=(270-rt)%360),w.appendChild(I)}return 1},W=function(w,x){this[0]=this.node=w,w.raphael=!0,this.id=a._oid++,w.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=x,this.matrix=a.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!x.bottom&&(x.bottom=this),this.prev=x.top,x.top&&(x.top.next=this),x.top=this,this.next=null},at=a.el;W.prototype=at,at.constructor=W,at.transform=function(w){if(w==null)return this._.transform;var x,I=this.paper._viewBoxShift,R=I?"s"+[I.scale,I.scale]+"-1-1t"+[I.dx,I.dy]:$;I&&(x=w=p(w).replace(/\.{3}|\u2026/g,this._.transform||$)),a._extractTransform(this,R+w);var j,F=this.matrix.clone(),rt=this.skew,G=this.node,st=~p(this.attrs.fill).indexOf("-"),yt=!p(this.attrs.fill).indexOf("url(");if(F.translate(1,1),yt||st||this.type=="image")if(rt.matrix="1 0 0 1",rt.offset="0 0",j=F.split(),st&&j.noRotation||!j.isSimple){G.style.filter=F.toFilter();var St=this.getBBox(),Ft=this.getBBox(1),O=St.x-Ft.x,D=St.y-Ft.y;G.coordorigin=O*-_t+P+D*-_t,It(this,1,1,O,D,0)}else G.style.filter=$,It(this,j.scalex,j.scaley,j.dx,j.dy,j.rotate);else G.style.filter=$,rt.matrix=p(F),rt.offset=F.offset();return x!==null&&(this._.transform=x,a._extractTransform(this,x)),this},at.rotate=function(w,x,I){if(this.removed)return this;if(w!=null){if((w=p(w).split(M)).length-1&&(x=m(w[1]),I=m(w[2])),w=m(w[0]),I==null&&(x=I),x==null||I==null){var R=this.getBBox(1);x=R.x+R.width/2,I=R.y+R.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",w,x,I]])),this}},at.translate=function(w,x){return this.removed?this:((w=p(w).split(M)).length-1&&(x=m(w[1])),w=m(w[0])||0,x=+x||0,this._.bbox&&(this._.bbox.x+=w,this._.bbox.y+=x),this.transform(this._.transform.concat([["t",w,x]])),this)},at.scale=function(w,x,I,R){if(this.removed)return this;if((w=p(w).split(M)).length-1&&(x=m(w[1]),I=m(w[2]),R=m(w[3]),isNaN(I)&&(I=null),isNaN(R)&&(R=null)),w=m(w[0]),x==null&&(x=w),R==null&&(I=R),I==null||R==null)var j=this.getBBox(1);return I=I??j.x+j.width/2,R=R??j.y+j.height/2,this.transform(this._.transform.concat([["s",w,x,I,R]])),this._.dirtyT=1,this},at.hide=function(){return!this.removed&&(this.node.style.display="none"),this},at.show=function(){return!this.removed&&(this.node.style.display=$),this},at.auxGetBBox=a.el.getBBox,at.getBBox=function(){var w=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var x={},I=1/this.paper._viewBoxShift.scale;return x.x=w.x-this.paper._viewBoxShift.dx,x.x*=I,x.y=w.y-this.paper._viewBoxShift.dy,x.y*=I,x.width=w.width*I,x.height=w.height*I,x.x2=x.x+x.width,x.y2=x.y+x.height,x}return w},at._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},at.remove=function(){if(!this.removed&&this.node.parentNode){for(var w in this.paper.__set__&&this.paper.__set__.exclude(this),a.eve.unbind("raphael.*.*."+this.id),a._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[w]=typeof this[w]=="function"?a._removedFactory(w):null;this.removed=!0}},at.attr=function(w,x){if(this.removed)return this;if(w==null){var I={};for(var R in this.attrs)this.attrs[l](R)&&(I[R]=this.attrs[R]);return I.gradient&&I.fill=="none"&&(I.fill=I.gradient)&&delete I.gradient,I.transform=this._.transform,I}if(x==null&&a.is(w,"string")){if(w=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;for(var j=w.split(M),F={},rt=0,G=j.length;rt<G;rt++)(w=j[rt])in this.attrs?F[w]=this.attrs[w]:a.is(this.paper.customAttributes[w],"function")?F[w]=this.paper.customAttributes[w].def:F[w]=a._availableAttrs[w];return G-1?F:F[j[0]]}if(this.attrs&&x==null&&a.is(w,"array")){for(F={},rt=0,G=w.length;rt<G;rt++)F[w[rt]]=this.attr(w[rt]);return F}var st;for(var yt in x!=null&&((st={})[w]=x),x==null&&a.is(w,"object")&&(st=w),st)z("raphael.attr."+yt+"."+this.id,this,st[yt]);if(st){for(yt in this.paper.customAttributes)if(this.paper.customAttributes[l](yt)&&st[l](yt)&&a.is(this.paper.customAttributes[yt],"function")){var St=this.paper.customAttributes[yt].apply(this,[].concat(st[yt]));for(var Ft in this.attrs[yt]=st[yt],St)St[l](Ft)&&(st[Ft]=St[Ft])}st.text&&this.type=="text"&&(this.textpath.string=st.text),jt(this,st)}return this},at.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&a._tofront(this,this.paper),this},at.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper)),this)},at.insertAfter=function(w){return this.removed?this:(w.constructor==a.st.constructor&&(w=w[w.length-1]),w.node.nextSibling?w.node.parentNode.insertBefore(this.node,w.node.nextSibling):w.node.parentNode.appendChild(this.node),a._insertafter(this,w,this.paper),this)},at.insertBefore=function(w){return this.removed?this:(w.constructor==a.st.constructor&&(w=w[0]),w.node.parentNode.insertBefore(this.node,w.node),a._insertbefore(this,w,this.paper),this)},at.blur=function(w){var x=this.node.runtimeStyle,I=x.filter;return I=I.replace(J,$),+w!=0?(this.attrs.blur=w,x.filter=I+P+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+w||1.5)+")",x.margin=a.format("-{0}px 0 0 -{0}px",d(+w||1.5))):(x.filter=I,x.margin=0,delete this.attrs.blur),this},a._engine.path=function(w,x){var I=kt("shape");I.style.cssText=ht,I.coordsize=_t+P+_t,I.coordorigin=x.coordorigin;var R=new W(I,x),j={fill:"none",stroke:"#000"};w&&(j.path=w),R.type="path",R.path=[],R.Path=$,jt(R,j),x.canvas&&x.canvas.appendChild(I);var F=kt("skew");return F.on=!0,I.appendChild(F),R.skew=F,R.transform($),R},a._engine.rect=function(w,x,I,R,j,F){var rt=a._rectPath(x,I,R,j,F),G=w.path(rt),st=G.attrs;return G.X=st.x=x,G.Y=st.y=I,G.W=st.width=R,G.H=st.height=j,st.r=F,st.path=rt,G.type="rect",G},a._engine.ellipse=function(w,x,I,R,j){var F=w.path();return F.attrs,F.X=x-R,F.Y=I-j,F.W=2*R,F.H=2*j,F.type="ellipse",jt(F,{cx:x,cy:I,rx:R,ry:j}),F},a._engine.circle=function(w,x,I,R){var j=w.path();return j.attrs,j.X=x-R,j.Y=I-R,j.W=j.H=2*R,j.type="circle",jt(j,{cx:x,cy:I,r:R}),j},a._engine.image=function(w,x,I,R,j,F){var rt=a._rectPath(I,R,j,F),G=w.path(rt).attr({stroke:"none"}),st=G.attrs,yt=G.node,St=yt.getElementsByTagName("fill")[0];return st.src=x,G.X=st.x=I,G.Y=st.y=R,G.W=st.width=j,G.H=st.height=F,st.path=rt,G.type="image",St.parentNode==yt&&yt.removeChild(St),St.rotate=!0,St.src=x,St.type="tile",G._.fillpos=[I,R],G._.fillsize=[j,F],yt.appendChild(St),It(G,1,1,0,0,0),G},a._engine.text=function(w,x,I,R){var j=kt("shape"),F=kt("path"),rt=kt("textpath");x=x||0,I=I||0,R=R||"",F.v=a.format("m{0},{1}l{2},{1}",d(x*_t),d(I*_t),d(x*_t)+1),F.textpathok=!0,rt.string=p(R),rt.on=!0,j.style.cssText=ht,j.coordsize=_t+P+_t,j.coordorigin="0 0";var G=new W(j,w),st={fill:"#000",stroke:"none",font:a._availableAttrs.font,text:R};G.shape=j,G.path=F,G.textpath=rt,G.type="text",G.attrs.text=p(R),G.attrs.x=x,G.attrs.y=I,G.attrs.w=1,G.attrs.h=1,jt(G,st),j.appendChild(rt),j.appendChild(F),w.canvas.appendChild(j);var yt=kt("skew");return yt.on=!0,j.appendChild(yt),G.skew=yt,G.transform($),G},a._engine.setSize=function(w,x){var I=this.canvas.style;return this.width=w,this.height=x,w==+w&&(w+="px"),x==+x&&(x+="px"),I.width=w,I.height=x,I.clip="rect(0 "+w+" "+x+" 0)",this._viewBox&&a._engine.setViewBox.apply(this,this._viewBox),this},a._engine.setViewBox=function(w,x,I,R,j){a.eve("raphael.setViewBox",this,this._viewBox,[w,x,I,R,j]);var F,rt,G=this.getSize(),st=G.width,yt=G.height;return j&&(I*(F=yt/R)<st&&(w-=(st-I*F)/2/F),R*(rt=st/I)<yt&&(x-=(yt-R*rt)/2/rt)),this._viewBox=[w,x,I,R,!!j],this._viewBoxShift={dx:-w,dy:-x,scale:G},this.forEach(function(St){St.transform("...")}),this},a._engine.initWin=function(w){var x=w.document;x.styleSheets.length<31?x.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):x.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!x.namespaces.rvml&&x.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),kt=function(I){return x.createElement("<rvml:"+I+' class="rvml">')}}catch{kt=function(R){return x.createElement("<"+R+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},a._engine.initWin(a._g.win),a._engine.create=function(){var w=a._getContainer.apply(0,arguments),x=w.container,I=w.height,R=w.width,j=w.x,F=w.y;if(!x)throw new Error("VML container not found.");var rt=new a._Paper,G=rt.canvas=a._g.doc.createElement("div"),st=G.style;return j=j||0,F=F||0,R=R||512,I=I||342,rt.width=R,rt.height=I,R==+R&&(R+="px"),I==+I&&(I+="px"),rt.coordsize=216e5+P+216e5,rt.coordorigin="0 0",rt.span=a._g.doc.createElement("span"),rt.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",G.appendChild(rt.span),st.cssText=a.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",R,I),x==1?(a._g.doc.body.appendChild(G),st.left=j+"px",st.top=F+"px",st.position="absolute"):x.firstChild?x.insertBefore(G,x.firstChild):x.appendChild(G),rt.renderfix=function(){},rt},a.prototype.clear=function(){a.eve("raphael.clear",this),this.canvas.innerHTML=$,this.span=a._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},a.prototype.remove=function(){for(var w in a.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[w]=typeof this[w]=="function"?a._removedFactory(w):null;return!0};var mt=a.st;for(var S in at)at[l](S)&&!mt[l](S)&&(mt[S]=function(w){return function(){var x=arguments;return this.forEach(function(I){I[w].apply(I,x)})}}(S))}}.apply(i,s))===void 0||(n.exports=o)}])})})(Eh);var mg=Eh.exports;const We=ra(mg);class Ba{points;constructor(t=[]){this.points=t}toSVGPathData(){const t=[];for(let n=0,i=this.length;n<i;n++)t.push([n===0?"M":"L",this.points[n].x,this.points[n].y]);return t}toSVGPathD(){let t="";for(let n=0,i=this.length;n<i;n++)t+=(n===0?"M":"L")+this.points[n].x+","+this.points[n].y;return t}get length(){return this.points.length}addPoint(t){this.points.push(t)}getPoint(t){return this.points[t]}isContainPoint(t){const n=t.x,i=t.y,r=this.length;let s=!1;const o=2e-10;for(let a=0,l=r-1;a<r;l=a,a++){const p=this.points[a].x,m=this.points[a].y,g=this.points[l].x,d=this.points[l].y;if(p===n&&m===i||g===n&&d===i||i===m&&i===d)return!0;if(i>=m&&i<d||i<m&&i>=d){const _=(g-p)/(d-m),N=p+_*(i-m);if(N===n||Math.abs(N-n)<o)return!0;N>n&&(s=!s)}}return s}[Symbol.iterator](){let t=0;return{next:()=>({value:t>=this.length-1?this.points[++t]:void 0,done:t>=this.length})}}static generateInMultiplePoint(t,n,i,r,s=1){const o=new Ba;for(let a=0;a<=s*i;a+=1){const l=Math.floor(a/s)/i*2*Math.PI,p=t+Math.cos(l)*r,m=n+Math.sin(l)*r;o.addPoint(new ei({x:p,y:m}))}return o}}const Ch=Ba;We.easing_formulas.swing=function(e){return e+Math.sin(e*Math.PI*2)/2},We.easing_formulas.may_cause_seizures=function(e){return e+.2*Math.random()-.1},We.fn.importSVG=function(e,t){const n=Ci.fromRawSVG(e);return n.toRaphael(this,(i,r)=>{n.save(),t&&t(i),r(),n.restore()}),this},We.fn.NPolygonPath=function(e,t,n,i,r=2){return{shape:this.path(Ch.generateInMultiplePoint(e,t,n,i,r).toSVGPathD()),afterPath:Ch.generateInMultiplePoint(e,t,n*r,i,1).toSVGPathD()}},We.fn.zoom=function(e=1){return this.setViewBox(0,0,this.width/e,this.height/e),this},We.fn.brickwall=function(e,t,n,i,r){for(var s=i/r,o=n/3,a={fill:"firebrick",stroke:"#CCC"},l=0;l<r;l+=1){var p=this.rect(0,0,o,s).attr(a),m=this.rect(0,0,2*o,s).attr(a);l%2?(p.transform("T"+e+","+(t+l*s)),m.transform("T"+(e+o)+","+(t+l*s))):(m.transform("T"+e+","+(t+l*s)),p.transform("T"+(e+2*o)+","+(t+l*s)))}},We.fn.rosetta=function(e,t,n,i,r){const s=wh.generateRosetta(e,t,n,i,r);return s.center,this.path(s.toSVGPathD())},We.fn.moon=function(e){e=e||{},e.r=typeof e.r=="number"?e.r:100,e.phase=typeof e.phase=="number"?e.phase:.25,e.x=typeof e.x=="number"?e.x:0,e.y=typeof e.y=="number"?e.y:0,this.circle(e.r+e.x,e.r+e.y,e.r).attr({"stroke-width":0,fill:"#999"});function t(i){i=typeof i=="number"?i:.25,i=Math.max(0,Math.min(1,i)),i=(i-.5)*2;let r="M"+e.r+",0";r+="a"+e.r+","+e.r+" 0 0,0 0,"+e.r*2;let s=i>0?0:1;return i=Math.abs(i),i=i||1e-4,e.inner_r=e.r/Math.pow(i,.5),r+="M"+e.r+","+e.r*2,r+="a"+e.inner_r+","+e.inner_r+" 0 0,"+s+" 0,"+e.r*-2,r}var n=this.path(t(e.phase)).attr({"stroke-width":0,stroke:"#999",fill:"#FF9"}).transform("T"+e.x+","+e.y);return{setPhase:function(i){n.attr("path",t(i))}}},We.fn.star=function(e,t,n){let i="M"+e+","+(t-n);for(var r=0;r<6;r+=1){const s=270+r*144,o=e+n*Math.cos(s*Math.PI/180),a=t+n*Math.sin(s*Math.PI/180);i+="L"+o+","+a}return this.path(i).attr("stroke-width",0).attr("fill","red")},We.fn.heart=function(e=150,t=300){let n="M"+e+","+t;return n+="l120,-175a50,50 0 0,0 -120,-75a50,50 0 0,0 -120,75l120,175",this.path(n).attr("stroke","red").attr("fill","pink")},We.el.redder=function(){const e=We.getRGB(this.attr("fill"));e.r+=51,this.attr("fill","rgb("+e.r+","+e.g+","+e.b+")")},We.installCustomAttributes=function(e){e.customAttributes.redness=function(t){const n=255*(1-t/100);return{fill:"rgb(255,"+n+", "+n+")"}},e.customAttributes.progress=function(t){const n=this.data("progresspath"),i=this.attr(),r={x:0,y:0},s=this.data("progresstrail");if(!n)return{transform:"t0,0"};Object.prototype.hasOwnProperty.call(i,"width")&&(r.x=-this.attr("width")/2,r.y=-this.attr("height")/2);const o=n.getTotalLength(),a=n.getPointAtLength(t*o);return s&&s.attr("path",n.getSubpath(0,t*o)),{transform:"t"+(a.x+r.x)+","+(a.y+r.y)+"r"+a.alpha}}};const kh=We;class Ci{pgs=[];history=[];save(){this.history.push(su(this.pgs))}restore(){const t=this.history.pop();t&&(this.pgs=t)}get size(){let t=0,n=0;return this.pgs.forEach(i=>{const r=i.pg;if(r){const[s,o,a,l]=r.bounds,[p,m]=r.size;t=Math.max(t,s,s+p,a),n=Math.max(n,o,o+m,l)}}),[Math.ceil(t),Math.ceil(n)]}static fromRawSVG(t){return Ci.fromRawSVGUseRappar(t)}static fromRawSVGUseRappar(t){const n=new Ci,i=W0(t);for(let r=0,s=i.length;r<s;r++){const o=i[r];if(o.type=="viewbox"&&o.width&&o.height)continue;const a={attrs:{}};for(const l in o)l==="type"||l==="path"||l==="transform"||(a.attrs[l]=o[l]);switch(o.type){case"path":a.d=o.path,a.pg=wh.fromSVGPathD(o.path,o.transform);break}n.pgs.push(a)}return n}toRaphael(t,n){let i;t instanceof HTMLElement?i=kh(HTMLElement):typeof t=="string"?i=kh(document.getElementById(t)):i=t;const[r,s]=this.size;i.setSize(r,s);const o=(a=!1)=>{for(let l=0,p=this.pgs.length;l<p;l++){const m=this.pgs[l];if(m.pg&&(m.raphaelPath?m.raphaelPath.attr("path",m.pg.toSVGPathD()):m.raphaelPath=i.path(m.pg.toSVGPathD()),m.raphaelPath.attr(m.attrs)),a&&n){const g=d=>{const{x:_,y:N}=wa(i.canvas,d),C=this.pgs.find(M=>M.raphaelPath?.isPointInside(_,N));C&&n?.(C,o)};m.raphaelPath?.unclick(g),m.raphaelPath?.click(g)}}};return o(!0),i}toCanvasOperation(t,n){let i;typeof t=="string"?i=document.getElementById(t):i=t;const[r,s]=this.size;i.width=r,i.height=s;const o=new Bi(i),a=()=>{o.clearRect(0,0,r,s);for(let p=0,m=this.pgs.length;p<m;p++){const g=this.pgs[p];g.pg&&(o.save(),this.toCanvasAttrs(o,g.attrs),g.pg.toCanvas(o),g.attrs.stroke!=="none"&&o.stroke(),g.attrs.fill!=="none"&&o.fill(),o.restore())}};a();const l=p=>{const{x:m,y:g}=wa(o.canvas,p),d=this.pgs.find(_=>_.pg?.isPointInPath(m,g));d&&n?.(d,a)};return i.removeEventListener("click",l),i.addEventListener("click",l),o}toCanvasAttrs(t,n){for(const i in n){const r=n[i];switch(i){case"fill":t.fillStyle=String(r);break;case"stroke":t.strokeStyle=String(r);break;case"stroke-width":t.lineWidth=Number(r);break;case"stroke-linecap":t.lineCap=r;break;case"stroke-linejoin":t.lineJoin=r;break}}}static toDownloadSVGElement(t,n="shape"){Zu(k0(t),`${n}.svg`)}toDownloadSVGElement(t,n="shape"){return Ci.toDownloadSVGElement(t,n),this}static toDownloadSVGString(t,n="shape"){Zu(Ku(t),`${n}.svg`)}toDownloadSVGString(t,n="shape"){return Ci.toDownloadSVGString(t,n),this}static getSVGDOM(t){if(t instanceof HTMLObjectElement||t instanceof HTMLIFrameElement)return t.contentDocument;if(t instanceof HTMLEmbedElement)return t.getSVGDocument()}}class Bi{canvas;context;customContext;constructor(t){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),this.customContext=new zs({canvas:this.canvas,width:this.canvas.width,height:this.canvas.height})}set lineWidth(t){this.context.lineWidth=t,this.customContext.lineWidth=t}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.context.lineCap=t,this.customContext.lineCap=t}get lineCap(){return this.context.lineCap}set lineJoin(t){this.context.lineJoin=t,this.customContext.lineCap=t}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.context.lineDashOffset=t,this.customContext.lineDashOffset=t}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.context.miterLimit=t,this.customContext.miterLimit=t}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext.globalAlpha=t}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext.fillStyle=t):(this.context.fillStyle=t.gradient,this.customContext.fillStyle=t.gradientCustom)}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext.strokeStyle=t):(this.context.strokeStyle=t.gradient,this.customContext.strokeStyle=t.gradientCustom)}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext.font=t}get font(){return this.context.font}fill(){return this.context.fill(),this.customContext.fill(),this}fillRect(t,n,i,r){return this.context.fillRect(t,n,i,r),this.customContext.fillRect(t,n,i,r),this}fillText(t,n,i,r){return this.context.fillText(t,n,i,r),this.customContext.fillText(t,n,i),this}setLineDash(t){return this.context.setLineDash(t),this.customContext.setLineDash(t),this}stroke(){return this.context.stroke(),this.customContext.stroke(),this}strokeText(t,n,i,r){return this.context.strokeText(t,n,i,r),this.customContext.strokeText(t,n,i),this}strokeRect(t,n,i,r){return this.context.strokeRect(t,n,i,r),this.customContext.strokeRect(t,n,i,r),this}clearRect(t=0,n=0,i=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,n,i,r),this.customContext.clearRect(t,n,i,r),this}save(){return this.context.save(),this.customContext.save(),this}restore(){return this.context.restore(),this.customContext.restore(),this}beginPath(){return this.context.beginPath(),this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext.closePath(),this}isPointInPath(t,n){return this.context.isPointInPath(t,n)}moveTo(t,n){return this.context.moveTo(t,n),this.customContext.moveTo(t,n),this}lineTo(t,n){return this.context.lineTo(t,n),this.customContext.lineTo(t,n),this}arc(t,n,i,r,s,o){return this.context.arc(t,n,i,r,s,o),this.customContext.arc(t,n,i,r,s,o?-1:1),this}arcTo(t,n,i,r,s){return this.context.arcTo(t,n,i,r,s),this.customContext.arcTo(t,n,i,r,s),this}quadraticCurveTo(t,n,i,r){return this.context.quadraticCurveTo(t,n,i,r),this.customContext.quadraticCurveTo(t,n,i,r),this}bezierCurveTo(t,n,i,r,s,o){return this.context.bezierCurveTo(t,n,i,r,s,o),this.customContext.bezierCurveTo(t,n,i,r,s,o),this}rect(t,n,i,r){return this.context.rect(t,n,i,r),this.customContext.rect(t,n,i,r),this}translate(t,n){return this.context.translate(t,n),this.customContext.translate(t,n),this}rotate(t){return this.context.rotate(t),this.customContext.rotate(t),this}scale(t,n){return this.context.scale(t,n),this.customContext.scale(t,n),this}createLinearGradient(t,n,i,r,s){const o=this.context.createLinearGradient(t,n,i,r),a=this.customContext.createLinearGradient(t,n,i,r);return s&&Object.keys(s).forEach(l=>{const p=parseFloat(l);o.addColorStop(p,s[p]),a.addColorStop(p,s[p])}),{gradient:o,gradientCustom:a}}createRadialGradient(t,n,i,r,s,o,a){const l=this.context.createRadialGradient(t,n,i,r,s,o),p=this.customContext.createRadialGradient(t,n,i,r,s,o);return a&&Object.keys(a).forEach(m=>{const g=parseFloat(m);l.addColorStop(g,a[g]),p.addColorStop(g,a[g])}),{gradient:l,gradientCustom:p}}drawImage(t,n=0,i=0){return this.context.drawImage(t,n,i),this.customContext.drawImage(t,n,i),this}getImageData(t,n,i,r,s){return this.context.getImageData(t,n,i,r,s)}putImageData(t,n=0,i=0){return this.context.putImageData(t,n,i)}toRawSVG(){const t=this.customContext.getSerializedSvg(!0),n=this.customContext.getSvg();return{raw:t,element:n}}toSVGOperation(){const{raw:t}=this.toRawSVG();return Ci.fromRawSVG(t)}}class Sh extends xm{container;hammer;mousePoint;ctx;removeEventListeners=[];constructor(t=document.documentElement){super(),this.container=t,this.hammer=new D0(this.container),this.mousePoint=new ei({x:0,y:0}),this.container instanceof HTMLCanvasElement&&(this.ctx=new Bi(this.container)),this.restart()}restart(){this.destroy(),this.removeEventListeners=[this.initEventListeners()],this.on("pointerMove",this.setMousePoint),this.addRemoveWhenDestroy(()=>{this.off("pointerMove",this.setMousePoint)})}destroy(){this.removeEventListeners.forEach(t=>t())}addRemoveWhenDestroy(t){this.removeEventListeners.push(t)}setMousePoint(t){const n=wa(this.container,t);this.mousePoint.x=n.x,this.mousePoint.y=n.y}initEventListeners(){const t=new ResizeObserver(W=>{const{width:at,height:mt}=W[0].contentRect;this.emit("resize",at,mt)}),n=W=>{this.emit("mouseDown",W),this.container.style.userSelect="none"},i=W=>{this.emit("mouseUp",W),this.container.style.userSelect=""},r=W=>{this.emit("mouseMove",W)},s=W=>{this.emit("mouseOver",W)},o=W=>{this.emit("mouseOut",W),this.container.style.userSelect=""},a=W=>{this.emit("mouseClick",W)},l=W=>{this.emit("mouseDoubleClick",W)},p=W=>{this.emit("mouseWheel",W)},m=W=>{this.emit("mouseContextMenu",W)},g=W=>{this.emit("touchStart",W),this.container.style.userSelect="none"},d=W=>{this.emit("touchEnd",W),this.container.style.userSelect=""},_=W=>{this.emit("touchCancel",W),this.container.style.userSelect=""},N=W=>{this.emit("touchMove",W)},C=W=>{this.emit("pointerDown",W),this.container.style.userSelect="none"},M=W=>{this.emit("pointerUp",W),this.container.style.userSelect=""},z=W=>{this.emit("pointerCancel",W),this.container.style.userSelect=""},P=W=>{this.emit("pointerMove",W)},$=W=>{this.emit("pan",W)},H=W=>{this.emit("panStart",W),this.container.style.userSelect="none"},Y=W=>{this.emit("panMove",W)},J=W=>{this.emit("panEnd",W),this.container.style.userSelect=""},V=W=>{this.emit("panCancel",W),this.container.style.userSelect=""},ht=W=>{this.emit("panLeft",W)},_t=W=>{this.emit("panRight",W)},Pt=W=>{this.emit("panUp",W),this.container.style.userSelect=""},Et=W=>{this.emit("panDown",W),this.container.style.userSelect="none"},vt=W=>{this.emit("pinch",W)},It=W=>{this.emit("press",W)},kt=W=>{this.emit("rotate",W)},Ut=W=>{this.emit("swipe",W)},jt=W=>{this.emit("tap",W)},Ot=W=>{!W.target||this.container==W.target||this.container.contains(W.target)||this.emit("tapOutSide",W)};return t.observe(this.container),this.container.addEventListener("mousedown",n),this.container.addEventListener("mouseup",i),this.container.addEventListener("mousemove",r),this.container.addEventListener("mouseover",s),this.container.addEventListener("mouseout",o),this.container.addEventListener("click",a),this.container.addEventListener("dblclick",l),this.container.addEventListener("wheel",p),this.container.addEventListener("contextmenu",m),this.container.addEventListener("touchstart",g),this.container.addEventListener("touchend",d),this.container.addEventListener("touchcancel",_),this.container.addEventListener("touchmove",N),this.container.addEventListener("pointerdown",C),this.container.addEventListener("pointerup",M),this.container.addEventListener("pointercancel",z),this.container.addEventListener("pointermove",P),this.hammer.on("pan",$),this.hammer.on("panstart",H),this.hammer.on("panmove",Y),this.hammer.on("panend",J),this.hammer.on("pancancel",V),this.hammer.on("panleft",ht),this.hammer.on("panright",_t),this.hammer.on("panup",Pt),this.hammer.on("pandown",Et),this.hammer.on("pinch",vt),this.hammer.on("press",It),this.hammer.on("rotate",kt),this.hammer.on("swipe",Ut),this.hammer.on("tap",jt),document.addEventListener("pointerdown",Ot,!1),()=>{t.unobserve(this.container),this.container.removeEventListener("mousedown",n),this.container.removeEventListener("mouseup",i),this.container.removeEventListener("mousemove",r),this.container.removeEventListener("mouseover",s),this.container.removeEventListener("mouseout",o),this.container.removeEventListener("click",a),this.container.removeEventListener("dblclick",l),this.container.removeEventListener("wheel",p),this.container.removeEventListener("contextmenu",m),this.container.removeEventListener("touchstart",g),this.container.removeEventListener("touchend",d),this.container.removeEventListener("touchcancel",_),this.container.removeEventListener("touchmove",N),this.container.removeEventListener("pointerdown",C),this.container.removeEventListener("pointerup",M),this.container.removeEventListener("pointercancel",z),this.container.removeEventListener("pointermove",P),this.hammer.off("pan",$),this.hammer.off("panstart",H),this.hammer.off("panmove",Y),this.hammer.off("panend",J),this.hammer.off("pancancel",V),this.hammer.off("panleft",ht),this.hammer.off("panright",_t),this.hammer.off("panup",Pt),this.hammer.off("pandown",Et),this.hammer.off("pinch",vt),this.hammer.off("press",It),this.hammer.off("rotate",kt),this.hammer.off("swipe",Ut),this.hammer.off("tap",jt),document.removeEventListener("pointerdown",Ot,!1),document.removeEventListener("touchstart",Ot,!1),document.removeEventListener("mousedown",Ot,!1)}}registerKeyDown(t,n,i){const r=F0.on(t,s=>(n(s,r.formatedKeyNames,r.pause,r.restart),i));r.removeListener&&this.addRemoveWhenDestroy(r.removeListener)}drawMouseMoveLine(t,n){if(!this.ctx)return;let i=!1;switch(t){case"brush":const r=(n&&n.brushSize)??10,s=(n&&n.brushDensity)??50,o=(n&&n.brushColor)??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),l=a.data,p=Th(o);this.captureMove({start:()=>{i=!0},end:()=>{i=!1},move:()=>{if(i){for(let m=0;m<s;m++){const g=Math.random()*Math.PI*2,d=Math.random()*r,_=this.mousePoint.x+Math.cos(g)*d|0,N=this.mousePoint.y+Math.sin(g)*d|0,C=(_+N*a.width)*4;l[C]=p>>16&255,l[C+1]=p>>8&255,l[C+2]=p&255,l[C+3]=255}this.ctx.putImageData(a)}}});break;case"line":default:this.captureMove({start:m=>{i=!0,this.ctx.beginPath(),this.setMousePoint(m),this.ctx.moveTo(this.mousePoint.x,this.mousePoint.y)},end:()=>{i=!1,this.ctx.closePath()},move:()=>{i&&(this.ctx.lineTo(this.mousePoint.x,this.mousePoint.y),this.ctx.stroke())}})}}static isTouchEnabled(){return"ontouchstart"in window||navigator.maxTouchPoints>0}captureMove(t){return this.captureMoveUsePointer(t)}captureMoveUseMouse(t){const n=s=>{document.addEventListener("mousemove",r,!1),document.addEventListener("mouseup",i,!1),this.container.style.userSelect="none",t?.start?.(s)},i=s=>{document.removeEventListener("mousemove",r,!1),document.removeEventListener("mouseup",i,!1),this.container.style.userSelect="",t?.end?.(s)},r=s=>{t?.move?.(s)};this.on("mouseDown",n),this.addRemoveWhenDestroy(()=>{this.off("mouseDown",n)})}captureMoveUseTouch(t){const n=s=>{s.preventDefault(),t?.start?.(s)},i=s=>{t?.end?.(s)},r=s=>{t?.move?.(s)};this.on("touchStart",n),this.on("touchEnd",i),this.on("touchCancel",i),this.on("touchMove",r),this.addRemoveWhenDestroy(()=>{this.off("touchStart",n),this.off("touchEnd",i),this.off("touchCancel",i),this.off("touchMove",r)})}captureMoveUsePointer(t){const n=s=>{this.container.setPointerCapture(s.pointerId),this.container.style.userSelect="none",t?.start?.(s)},i=s=>{this.container.style.userSelect="",t?.end?.(s)},r=s=>{t?.move?.(s)};this.on("pointerDown",n),this.on("pointerUp",i),this.on("pointerCancel",i),this.on("pointerMove",r),this.addRemoveWhenDestroy(()=>{this.off("pointerDown",n),this.off("pointerUp",i),this.off("pointerCancel",i),this.off("pointerMove",r)})}static getMouseButton(t){if(document.implementation.hasFeature("MouseEvents","2.0"))return t.button;switch(t.button){case 0:case 1:case 3:case 5:case 7:return 0;case 2:case 6:return 2;case 4:return 1}}}class Zt{static onDocumentReady(t){function n(){document.readyState!=="loading"&&(t(),document.removeEventListener("DOMContentLoaded",n))}typeof document<"u"&&(document.addEventListener("DOMContentLoaded",n),n())}static getCSSVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}static setCSSVar(t,n){document.documentElement.style.setProperty(t,n)}static safeExec(t){const n=new Proxy(window,{get(i,r,s){if(typeof r=="string"&&["open","location","document"].includes(r))throw new Error(`禁止访问 key: ${r}`);return r==="window"?n:Reflect.get(i,r,s)},set(i,r,s,o){return Reflect.set(i,r,s,o)}});new Function("window",`with(window) { ${t} }`)(n,null)}static dom=new Proxy({},{get(t,n){return function(i={},...r){const s=document.createElement(n);for(const o of Object.keys(i))s.setAttribute(o,i[o]);for(const o of r)typeof o=="string"?s.appendChild(document.createTextNode(o)):s.appendChild(o);return s}}});static compileTemplate(t){return t=t.replace(/<%=(.+?)%>/g,"`); \n echo( $1 ); \n echo(`").replace(/<%([\s\S]+?)%>/g,"`); \n $1 \n echo(`"),t="echo(`"+t+"`);",`(function parse(data){
|
|
41
53
|
let output = "";
|
|
42
54
|
function echo(html){
|
|
43
55
|
output += html;
|
|
44
56
|
}
|
|
45
|
-
${
|
|
57
|
+
${t}
|
|
46
58
|
return output;
|
|
47
|
-
})`}static safeHtml(e,o="encode"){const n={"&":"&","<":"<",">":">",""":'"',"'":"'"};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e=e.replace(new RegExp(o=="decode"?i:n[i],"g"),o=="decode"?n[i]:i));return e}static loadScript(e,o=()=>{},n=(i,s,r,a,l)=>{}){const i=document.createElement("script");i.type="text/javascript",i.src=e,i.async=!1,document.body.appendChild(i),i.onload=o,i.onerror=n}static loadStyle(e){const o=document.createElement("link");o.rel="stylesheet",o.href=e,document.head.insertBefore(o,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}static waitForStyleSheetsLoaded=()=>new Promise(e=>{const o=Array.from(document.querySelectorAll("link[rel=stylesheet]"));let n=document.styleSheets.length??0;const i=()=>n>=o.length?(e(),!0):!1;i()||o.forEach(s=>{s.onload=()=>{n+=1,i()}})});static lazyloadImages(){const e=document.getElementsByTagName("img"),o=Ji().height;let n=0;return()=>{for(let i=n;i<e.length;i++)e[i].getBoundingClientRect().top<o&&(e[i].src=e[i].getAttribute("data-src")??"",n=i+1)}}static iframePostMessage(e,o="http://test.com/localstorage.html"){const n=document.createElement("iframe");n.src=o,document.body.append(n),setTimeout(function(){n.contentWindow?.postMessage(e,o)},4e3),setTimeout(function(){n.remove()},6e3)}static getTextWidth=(e,o,n=400)=>{const i=document.createElement("span");i.style.visibility="hidden",i.style.padding="0",i.style.whiteSpace="nowrap",i.style.overflow="visible",i.style.fontSize=o>12?o+"px":"12px",i.style.fontWeight=n.toString(),i.innerText=e,document.body.appendChild(i);const s=i.offsetWidth;return document.body.removeChild(i),s};static getFixedWidthText=(e,o,n=12,i=400,s=!0)=>{let r="",a="",l="";if(!e||o<n||typeof e!="string")return r;const c=e.split(""),d=document.createElement("span");d.style.visibility="hidden",d.style.padding="0",d.style.whiteSpace="nowrap",d.style.overflow="visible",d.style.fontSize=n>12?n+"px":"12px",d.style.fontWeight=i.toString(),document.body.appendChild(d);for(let f=0,u=c.length;f<u;f++){const v=c[f];if(a=l,l+=v,r=l,d.innerText=l,d.offsetWidth>o){s?r=a+"...":r=a;break}}return document.body.removeChild(d),r};static getLocation(){return new Promise((e,o)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(n=>{e(n.coords)}):o("Geolocation is not supported by this browser")})}static vibrate(e=200){"vibrate"in navigator?window.navigator.vibrate(e):console.error("Your device is not support vibrate on this browser.")}static copyToClipboard=e=>navigator.clipboard.writeText(e);static getSelectedText=()=>window.getSelection()?.toString();static siblings=e=>Array.prototype.slice.call(e.parentNode?.children).filter(o=>o!==e);static isElementFocus=e=>e===document.activeElement;static isTabInView=()=>!document.hidden;static navigateBack=()=>history.back();static navigateBack2=()=>history.go(-1);static addDebuggerOnBeforeUnload=()=>{window.addEventListener("beforeunload",()=>{debugger})}}function pt(t,e=document){return new xe(t,e)}class xe{context;nodes;prefixs=["moz","o","ms","webkit"];constructor(e,o=document){if(this.context=o,typeof e=="string"?this.nodes=Array.from(this.context.querySelectorAll(e)):e instanceof HTMLElement?this.nodes=[e]:this.nodes=e,this.nodes.length===0)throw new Error(`can not find ${e}`);this.each((n,i)=>{n instanceof HTMLInputElement&&n.addEventListener("change",s=>{this.changeRadioChecked(s.currentTarget.value)}),n instanceof HTMLSelectElement&&n.addEventListener("change",s=>{this.changeSelectSelected(s.currentTarget.value)})})}get(e){return e<0&&(e=this.nodes.length+e),this.nodes[e]}concat(e){return new xe(this.nodes.concat(e.nodes),this.context)}then(e){return e(this)??this}each(e){return this.nodes.forEach((o,n)=>{e(o,n)}),this}_save(e,o,n){e._mQuery||(e._mQuery={}),Array.isArray(n)?(e._mQuery[o]=e._mQuery[o]??[],e._mQuery[o].push(...n)):n!=null?e._mQuery[o]=n:delete e._mQuery[o]}on(e,o,n){return this.nodes.forEach(i=>{this._save(i,"events",[{event:e,callback:o,options:n}]),i.addEventListener(e,o,n)}),this}off(e,o,n){return this.nodes.forEach(i=>{i.removeEventListener(e,o,n)}),this}dispatchEvent(e,o){let n;const i=["click","dblclick","mousedown","mouseup","mousemove"],s=["keydown","keyup","keypress"];return typeof e=="string"?i.includes(e)?n=new MouseEvent(e,o):s.includes(e)?n=new KeyboardEvent(e,o):n=new Event(e,o):n=e,this.nodes.forEach(r=>{r.dispatchEvent(n)}),this}change(){return this.dispatchEvent("change")}click(){return this.dispatchEvent("click")}static hasEvent(e,o){return"on"+o in e}static _fragment(e){const o=document.createElement("template");return o.innerHTML=e,o.content.childNodes.forEach(n=>{const i=xe._scriptConvert(n);i!=n&&o.content.replaceChild(i,n)}),o.content}static _scriptConvert(e){const o=n=>{const s=n.ownerDocument.createElement("script");s.text=n.text;const r=n.attributes;for(let a=0;a<r.length;a++)s.setAttribute(r[a].name,r[a].value);return s};return e.tagName=="SCRIPT"&&(e=o(e)),e.querySelectorAll&&e.querySelectorAll("script").forEach(n=>{n.parentNode?.replaceChild(o(n),n)}),e}static _fixProp(e){const o={cellpadding:"cellPadding",cellspacing:"cellSpacing",class:"className",colspan:"colSpan",contenteditable:"contentEditable",for:"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap"};return o[e]?o[e]:e}static isSVG(e){return(e||document.documentElement).nodeName.toLowerCase()==="svg"}static createElement(e){return xe.isSVG()?document.createElementNS.call(document,"http://www.w3.org/2000/svg",e):document.createElement.call(document,e)}static createTextNode(e){return document.createTextNode.call(document,e)}static createDocumentFragment(){return document.createDocumentFragment.call(document)}_insert(e,o){const n=this.nodes.length;if(n<1)return this;const i=[];if(typeof o=="string")this.nodes.forEach(s=>{const r=xe._fragment(o);i.push(...r.children),s[e](r)});else if(o instanceof HTMLElement)this.each(s=>{const r=n===1?o:xe._fragment(o.outerHTML);i.push(...n===1?[o]:r.children),s[e](r)}),n>1&&o.remove();else if(o instanceof xe){const s=n==1;o.each(r=>{this.each(a=>{const l=s?r:r.cloneNode(!0);i.push(l),a[e](l),xe._scriptConvert(l)})}),s||o.remove()}return e=="replaceWith"&&(this.nodes=i),this}append(e){return this._insert("append",e)}prepend(e){return this._insert("prepend",e)}after(e){return this._insert("after",e)}before(e){return this._insert("before",e)}replace(e){return this._insert("replaceWith",e)}remove(){return this.nodes.forEach(e=>{e.remove()}),this}static removeChild(e){e.parentElement?.removeChild(e)}find(e){const o=[];return this.nodes.forEach(n=>{o.push(...Array.from(n.querySelectorAll(e)))}),new xe(o,this.context)}filter(e){const o=[];return this.nodes.forEach(n=>{(n===e||typeof e=="string"&&n.matches&&n.matches(e))&&o.push(n)}),new xe(o,this.context)}next(){const e=[];return this.nodes.forEach(o=>{const n=o.nextElementSibling;n&&e.push(n)}),new xe(e,this.context)}prev(){const e=[];return this.nodes.forEach(o=>{const n=o.previousElementSibling;n&&e.push(n)}),new xe(e,this.context)}closest(e){const o=[];return this.nodes.forEach(n=>{const i=n.closest(e);i&&o.push(i)}),new xe(o,this.context)}shadow(e){const o=[];this.nodes.forEach(i=>{i.shadowRoot&&o.push(i.shadowRoot)});const n=new xe(o,this.context);return e!==void 0?n.find(e):n}parent(e){return this.parents(e,!0)}parents(e,o=!1){const n=[],i=r=>{if(n.indexOf(r)==-1&&n.push(r),!o&&r.parentElement)return i(r.parentElement)};this.nodes.forEach(r=>{r.parentElement&&i(r.parentElement)});const s=new xe(n,this.context);return e!==void 0?s.filter(e):s}static getComputedStyle(e,o,n){let i;const s=e.style.getPropertyPriority(o);return"getComputedStyle"in window?(i=getComputedStyle.call(window,e,n),i=i.getPropertyValue(o)):i=e.style.getPropertyValue(o),i+(s?"!"+s:"")}css(e,o){if((e===void 0||typeof e=="string")&&o===void 0){const n=this.nodes[0].style;if(typeof e=="string"){const i=n.getPropertyPriority(e),s=n.getPropertyValue(e).trim();return s?s+(i?"!"+i:""):xe.getComputedStyle(this.nodes[0],e)}else{const i=Object.fromEntries(this.nodes[0].style.cssText.split(";").filter(s=>!!s).map(s=>s.split(":").map(r=>r.trim())));return Object.assign(i,getComputedStyle.call(window,this.nodes[0])),i}}else{let n={};return typeof e=="string"&&o!==void 0?n[e]=o:typeof e=="object"&&(n=e),this.nodes.forEach(i=>{Object.keys(n).forEach(s=>{const r=String(n[s]).toLowerCase().includes("!important")?"important":"";i.style.setProperty(s,String(n[s]).replace(/!important/i,""),r)})}),this}}addClass(e){return this.toggleClass(e,!0)}removeClass(e){return this.toggleClass(e,!1)}toggleClass(e,o){const n=e.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(s=>{if(s.trim()!==""){let r="toggle";o!==void 0&&(r=o?"add":"remove"),i.classList[r](s.trim())}})}),this}hasClass(e){const o=e.split(/[,\s]+/);let n=!1;return this.nodes.forEach(i=>{n=n||o.every(s=>Array.from(i.classList??[]).includes(s.trim()))}),n}attr(e,o){if(o===void 0&&typeof e=="string")return this.nodes[0].getAttribute(e);let n={};return typeof e=="object"?n=e:o!==void 0&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{i.setAttribute(s,r)})}),this}removeAttr(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{n.removeAttribute(i)})}),this}prop(e,o){if(o===void 0&&typeof e=="string")return this.nodes[0][e];{let n={};return typeof e=="object"?n=e:typeof e=="string"&&o!==void 0&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{const a=xe._fixProp(s);i[a]=r,a=="innerHTML"&&xe._scriptConvert(i)})}),this}}removeProp(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{delete n[xe._fixProp(i)]})}),this}changeSelectSelected(e){this.nodes.forEach(o=>{if(o instanceof HTMLSelectElement){const n=o.options;for(let i=0,s=n.length;i<s;i++)n[i].value==e?n[i].selected=!0:n[i].selected=!1}})}changeRadioChecked(e){this.nodes.forEach(o=>{o instanceof HTMLInputElement&&(o.value==e?o.checked=!0:o.checked=!1)})}data(e,o){if(typeof e=="string"&&e.indexOf("-")!=-1)throw new Error(`Key "${e}" contains "-" (dash). Dashes are not allowed in property names. Use camelCase instead.`);if((typeof e=="string"||e===void 0)&&o===void 0){const n=Object.assign({},this.nodes[0].dataset);return Object.keys(n).forEach(i=>{if(n[i]?.startsWith("[")||n[i]?.startsWith("{"))try{n[i]=JSON.parse(n[i]??"")}catch{}}),typeof e=="string"?n[e]:n}else{let n={};return typeof e=="object"?n=e:typeof e=="string"&&(n[e]=o),this.nodes.forEach(i=>{Object.entries(n).forEach(([s,r])=>{r!=null?i.dataset[s]=r instanceof Object?JSON.stringify(r):r:delete i.dataset[s]})}),this}}removeData(e){const o=e.split(/[,\s]+/);return this.nodes.forEach(n=>{o.forEach(i=>{delete n.dataset[i]})}),this}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}toggle(e){return this.nodes.forEach(o=>{const n=o.style.display,i=getComputedStyle(o).display,s=n=="none"||i=="none";if(s&&(e===void 0||e===!0)){const r=o instanceof HTMLTableRowElement?"table-row":o instanceof HTMLTableCellElement?"table-cell":"block";o.style.display=o._mQuery?.prevDisplay??(n==i&&i!="none"?"":r),this._save(o,"prevDisplay",null)}!s&&(e==null||e===!1)&&(i!="none"&&this._save(o,"prevDisplay",i),o.style.setProperty("display","none"))})}empty(){return this.html("")}html(e){return e instanceof HTMLElement?this.empty().append(e.innerHTML):this.prop("innerHTML",e)}text(e){return this.prop("textContent",e)}val(e){return this.prop("value",e)}}function es(t){return t*Math.PI/180}function fl(t){return t*180/Math.PI}function ep(t,e,o,n){const i=t-o,s=e-n;return Math.sqrt(i*i+s*s)}function pl(t,e,o,n){const i=o-t,s=n-e;return Math.atan2(s,i)}function ts(t){return t[0]*t[0]+t[1]*t[1]}function hl(t){const e=Math.sqrt(ts(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}function tp(t,e,o,n,i=10){if(Math.abs(o-t)<i&&Math.abs(n-e)<i)return"no";const s=fl(pl(t,e,o,n));return s>=-135&&s<=-45?"up":s>45&&s<135?"down":s>=135&&s<=180||s>=-180&&s<-135?"left":s>=-45&&s<=45?"right":"no"}class Ao{x;y;vx;vy;ax;ay;mass;constructor(e){this.x=e.x,this.y=e.y,this.vx=e?.vx||0,this.vy=e?.vy||0,this.ax=e?.ax||0,this.ay=e?.ay||0,this.mass=e?.mass||0}fromAngleAndLength(e,o){return new Ao({x:Math.cos(e)*o,y:Math.sin(e)*o})}distanceTo(e){return ep(this.x,this.y,e.x,e.y)}angleTo(e){return pl(this.x,this.y,e.x,e.y)}followTo(e,o=3){const n=this.angleTo(e),{x:i,y:s}=this.fromAngleAndLength(n,o);this.vx=i,this.vy=s,this.nextFrame()}followAccelerationTo(e,o=.05){const n=this.angleTo(e),{x:i,y:s}=this.fromAngleAndLength(n,o);this.ax=i,this.ay=s,this.nextFrame()}nextFrame(e){const o=e?.gravity??0,n=e?.friction??0;if(this.vx+=this.ax,this.vy+=this.ay,this.vy+=o,n>0){const i=Math.atan2(this.vy,this.vx);let s=Math.sqrt(this.vx*this.vx+this.vy*this.vy);s>n?s-=n:s=0,this.vx=Math.cos(i)*s,this.vy=Math.sin(i)*s}this.x+=this.vx,this.y+=this.vy}nextFrameEaseTo(e,o){const n=o?.gravity??0,i=o?.friction??1,s=o?.easing??.05,r=e.x-this.x,a=e.y-this.y;this.vx=r*s,this.vy=a*s,this.vy+=n,this.vx*=i,this.vy*=i,this.x+=this.vx,this.y+=this.vy}nextFrameSpringTo(e,o){const n=o?.gravity??0,i=o?.friction??.95,s=o?.spring??.03;(Array.isArray(e)?e:[e]).forEach(a=>{const l=a.x-this.x,c=a.y-this.y,d=l*s,f=c*s;this.vx+=d,this.vy+=f}),this.vy+=n,this.vx*=i,this.vy*=i,this.x+=this.vx,this.y+=this.vy}nextFrameSpringConnect(e,o){const n=o?.gravity??0,i=o?.friction??.95,s=o?.spring??.03,r=o?.springLength??100,a=this.angleTo(e);this.nextFrameSpringTo(new Ao({x:e.x-Math.cos(a)*r,y:e.y-Math.sin(a)*r}),{spring:s,friction:i,gravity:n})}}class op extends Ao{width;height;constructor(e){super(e),this.width=e.width,this.height=e.height}eq(e){return this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height}isIntersectRect(e){return!(this.x+this.width<e.x||e.x+e.width<this.x||this.y+this.height<e.y||e.y+e.height<this.y)}isContainPoint(e){return!(e.x<this.x||e.x>this.x+this.width||e.y<this.y||e.y>this.y+this.height)}toArray(){return[this.x,this.y,this.width,this.height]}clone(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height}}class Ln extends Ao{radius;constructor(e){super(e),this.radius=e?.radius??0}toSVGPathData(){return[this.x,this.y]}toSVGPathD(){return`${this.x},${this.y}`}setX(e){this.x=e}setY(e){this.y=e}setXY(e,o){this.x=e,this.y=o}eq(e){return this.x===e.x&&this.y===e.y}midPointBtw(e){return new Ln({x:this.x+(e.x-this.x)/2,y:this.y+(e.y-this.y)/2})}toArray(){return[this.x,this.y]}clone(e){this.setXY(e.x,e.y)}getBounds(){return new op({x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2})}nextFrameCollisionTo(e){const o=e.x-this.x,n=e.y-this.y;if(Math.sqrt(o*o+n*n)<this.radius+e.radius){const r=Math.atan2(n,o),a=Math.sin(r),l=Math.cos(r),c={x:0,y:0},d=s(o,n,a,l,!0),f=s(this.vx,this.vy,a,l,!0),u=s(e.vx,e.vy,a,l,!0),v=f.x-u.x;f.x=((this.mass-e.mass)*f.x+2*e.mass*u.x)/(this.mass+e.mass),u.x=v+f.x;const b=Math.abs(f.x)+Math.abs(u.x),y=this.radius+e.radius-Math.abs(c.x-d.x);c.x+=f.x/b*y,d.x+=u.x/b*y;const k=s(c.x,c.y,a,l,!1),A=s(d.x,d.y,a,l,!1);e.x=this.x+A.x,e.y=this.y+A.y,this.x=this.x+k.x,this.y=this.y+k.y;const $=s(f.x,f.y,a,l,!1),z=s(u.x,u.y,a,l,!1);this.vx=$.x,this.vy=$.y,e.vx=z.x,e.vy=z.y}function s(r,a,l,c,d=!1){return{x:d?r*c+a*l:r*c-a*l,y:d?a*c-r*l:a*c+r*l}}}nextFrameBounce(e){const o=e.left,n=e.top,i=e.right,s=e.bottom,r=e?.bounce??-1;this.x+this.radius>i?(this.x=i-this.radius,this.vx*=r):this.x-this.radius<o&&(this.x=o+this.radius,this.vx*=r),this.y+this.radius>s?(this.y=s-this.radius,this.vy*=r):this.y-this.radius<n&&(this.y=n+this.radius,this.vy*=r)}}class os extends Ln{startPoint;startTime;slideDetectDuration=300;slideDetectDistance=10;directionDebounceDuration=100;getDirectionDebounce=e=>Fd((o,n,i,s)=>e(tp(o,n,i,s)),this.directionDebounceDuration);constructor(e={x:0,y:0}){super(e),this.startPoint=new Ln({x:this.x,y:this.y}),this.startTime=new Date}static isTouchEnabled(){return"ontouchstart"in window||navigator.maxTouchPoints>0}capture(e,o={}){return os.isTouchEnabled()?this.capturePointer(e,o):this.captureMouse(e,o)}captureMouse(e,o={}){const n=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",i,!1),e.style.userSelect="none",e.style.webkitUserSelect="",this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,document.removeEventListener("mouseup",i,!1),document.removeEventListener("mousemove",a,!1),e.style.userSelect="",e.style.webkitUserSelect="",o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("mousedown",n,!1),document.addEventListener("mousedown",r,!1),()=>{e.removeEventListener("mousedown",n,!1),document.removeEventListener("mousedown",r,!1)}}captureTouch(e,o={}){const n=l=>{l.preventDefault();const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=l.changedTouches[0],d=ft(e,c);this.x=d.x,this.y=d.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("touchstart",n,!1),e.addEventListener("touchend",i,!1),e.addEventListener("touchcancel",i,!1),e.addEventListener("touchmove",a,!1),document.addEventListener("touchstart",r,!1),()=>{e.removeEventListener("touchstart",n,!1),e.removeEventListener("touchend",i,!1),e.removeEventListener("touchcancel",i,!1),e.removeEventListener("touchmove",a,!1),document.removeEventListener("touchstart",r,!1)}}capturePointer(e,o={}){const n=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,e.setPointerCapture(l.pointerId),e.style.userSelect="none",e.style.webkitUserSelect="",this.startPoint.x=this.x,this.startPoint.y=this.y,this.startTime=new Date,o.start?.(this)},i=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,e.style.userSelect="",e.style.webkitUserSelect="",o.end?.(this)},s=this.getDirectionDebounce(l=>{new Date().getTime()-this.startTime.getTime()>this.slideDetectDuration||(l=="left"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance?o.slideLeft?.(this.x-this.startPoint.x,this.y-this.startPoint.y):l=="right"&&Math.abs(this.x-this.startPoint.x)>=this.slideDetectDistance&&o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y))}),r=l=>{!l.target||e==l.target||e.contains(l.target)||o.slideRight?.(this.x-this.startPoint.x,this.y-this.startPoint.y)},a=l=>{const c=ft(e,l);this.x=c.x,this.y=c.y,s(this.startPoint.x,this.startPoint.y,this.x,this.y),o.move?.(this)};return e.addEventListener("pointerdown",n,!1),e.addEventListener("pointerup",i,!1),e.addEventListener("pointercancel",i,!1),e.addEventListener("pointermove",a,!1),document.addEventListener("pointerdown",r,!1),()=>{e.removeEventListener("pointerdown",n,!1),e.removeEventListener("pointerup",i,!1),e.removeEventListener("pointercancel",i,!1),e.removeEventListener("pointermove",a,!1),document.removeEventListener("pointerdown",r,!1)}}static clickEvent=typeof document<"u"&&document.ontouchstart?"touchstart":"click";static getMouseButton(e){if(document.implementation.hasFeature("MouseEvents","2.0"))return e.button;switch(e.button){case 0:case 1:case 3:case 5:case 7:return 0;case 2:case 6:return 2;case 4:return 1}}}const ml=[1,0,0,1,0,0],vl=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ke{value;matrix3d;isEverTo3d=!1;_prev_rotatex=0;_prev_rotatey=0;constructor(e=ml){this.value=Array.from(e),this.matrix3d=this.toMatrix3D()}unit(){return this.value=Array.from(ml),this.matrix3d=this.toMatrix3D(),this}transformPoint(e,o,n=0,i=0){const s=e-n,r=o-i;return e=s*this.value[0]+r*this.value[2]+this.value[4],o=s*this.value[1]+r*this.value[3]+this.value[5],[e+n,o+i]}fromString(e){const o=_a("number",e);return o.length===6?o.forEach((n,i)=>{n.fullMatch&&(this.value[i]=parseFloat(n.fullMatch))}):this.unit(),this}toMatrix3D(e=this.matrix3d){const o=[this.value[0],this.value[1],0,0,this.value[2],this.value[3],0,0,0,0,1,0,this.value[4],this.value[5],0,1];return e?(e.value=o,e):new eo(o)}offset(e=0,o=0){return[e-this.value[4],o-this.value[5]]}clone(){return new Ke(this.value)}multiply(e){const o=this.value;let n;e instanceof Ke?n=e.value:n=e;const i=o[0]*n[0]+o[2]*n[1],s=o[1]*n[0]+o[3]*n[1],r=o[0]*n[2]+o[2]*n[3],a=o[1]*n[2]+o[3]*n[3],l=o[0]*n[4]+o[2]*n[5]+o[4],c=o[1]*n[4]+o[3]*n[5]+o[5];return o[0]=i,o[1]=s,o[2]=r,o[3]=a,o[4]=l,o[5]=c,this}inverse(){const e=new Ke(this.value),o=e.value,n=1/(o[0]*o[3]-o[1]*o[2]),i=o[3]*n,s=-o[1]*n,r=-o[2]*n,a=o[0]*n,l=n*(o[2]*o[5]-o[3]*o[4]),c=n*(o[1]*o[4]-o[0]*o[5]);return o[0]=i,o[1]=s,o[2]=r,o[3]=a,o[4]=l,o[5]=c,e}translate(e,o){return this.matrix3d.translate(e,o,0),this.multiply([1,0,0,1,e,o])}translateTo(e,o){const n=this.offset(e,o);return this.translate(n[0],n[1])}translateX(e){return this.translate(e,0)}translateY(e){return this.translate(0,e)}translateZ(e){return this.isEverTo3d=!0,this.matrix3d.translate(0,0,e)}translate3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.translate(e,o,n)}rotate(e,o=0,n=0){const i=es(e),s=+Math.cos(i).toFixed(9),r=+Math.sin(i).toFixed(9);return this.multiply([s,r,-r,s,o,n]),this.translate(-o,-n),this}rotateX(e){return this._prev_rotatex=e,this.isEverTo3d=!0,this.matrix3d.rotate("x",e)}rotateXTo(e){return this.rotateX(e-this._prev_rotatex)}rotateY(e){return this._prev_rotatey=e,this.isEverTo3d=!0,this.matrix3d.rotate("y",e)}rotateYTo(e){return this.rotateY(e-this._prev_rotatey)}rotateZ(e){return this.isEverTo3d=!0,this.matrix3d.rotate("z",e)}rotate3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.rotate("x",e).rotate("y",o).rotate("z",n)}scale(e,o=e,n=0,i=0){return this.matrix3d.scale(e,o,1),this.translate(n,i),this.multiply([e,0,0,o,0,0]),this.translate(-n,-i),this}scaleTo(e,o=e){return this.scale(e/this.value[0],o/this.value[3]),this}scaleX(e){return this.scale(e,1)}scaleY(e){return this.scale(1,e)}scaleZ(e){return this.isEverTo3d=!0,this.matrix3d.scale(1,1,e)}scale3d(e,o,n){return this.isEverTo3d=!0,this.matrix3d.scale(e,o,n)}skew(e,o=0){const n=e*Math.PI/180,i=o*Math.PI/180,s=Math.tan(n),r=Math.tan(i);return this.multiply([1,r,s,1,0,0])}skewX(e){return this.skew(e,0)}skewY(e){return this.skew(0,e)}skewZ(e){return this}skew3d(e,o,n){return this}split(){const e={dx:0,dy:0,scalex:1,scaley:1,shear:1,rotate:0,isSimple:!0,isSuperSimple:!0,noRotation:!1};e.dx=this.value[4],e.dy=this.value[5];const o=[[this.value[0],this.value[2]],[this.value[1],this.value[3]]];e.scalex=Math.sqrt(ts(o[0])),hl(o[0]),e.shear=o[0][0]*o[1][0]+o[0][1]*o[1][1],o[1]=[o[1][0]-o[0][0]*e.shear,o[1][1]-o[0][1]*e.shear],e.scaley=Math.sqrt(ts(o[1])),hl(o[1]),e.shear/=e.scaley;const n=-o[0][1],i=o[1][1];return i<0?(e.rotate=fl(Math.acos(i)),n<0&&(e.rotate=360-e.rotate)):e.rotate=es(Math.asin(n)),e.isSimple=!+e.shear.toFixed(9)&&(e.scalex.toFixed(9)==e.scaley.toFixed(9)||!e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e}toTransformString(){const e=this.split();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx&&e.dy?"t"+[e.dx,e.dy]:"")+(e.scalex!=1||e.scaley!=1?"s"+[e.scalex,e.scaley,0,0]:"")+(e.rotate?"r"+[e.rotate,0,0]:"")):"matrix"+[this.value[0],this.value[1],this.value[2],this.value[3],this.value[4],this.value[5]]}toString(){return this.isEverTo3d?this.toMatrix3DString():`matrix(${this.value.map(e=>xa(e,6)).join(",")})`}toMatrix3DString(){return this.matrix3d.toString()}toFilter(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.value[0]+", M12="+this.value[2]+", M21="+this.value[1]+", M22="+this.value[3]+", Dx="+this.value[4]+", Dy="+this.value[5]+", sizingmethod='auto expand')"}}class eo{value;constructor(e=vl){this.value=Array.from(e)}unit(){return this.value=Array.from(vl),this}fromString(e){const o=_a("number",e);return o.length===16?o.forEach((n,i)=>{n.fullMatch&&(this.value[i]=parseFloat(n.fullMatch))}):this.unit(),this}toMatrix(e){const o=[this.value[0],this.value[1],this.value[4],this.value[5],this.value[12],this.value[13]];return e?(e.value=o,e):new Ke(o)}multiplyMatrix(e){const o=this.value[0],n=this.value[1],i=this.value[2],s=this.value[3],r=this.value[4],a=this.value[5],l=this.value[6],c=this.value[7],d=this.value[8],f=this.value[9],u=this.value[10],v=this.value[11],b=this.value[12],y=this.value[13],k=this.value[14],A=this.value[15],$=e.value[0],z=e.value[1],G=e.value[2],ne=e.value[3],M=$*o+z*r+G*d+ne*b,I=$*n+z*a+G*f+ne*y,he=$*i+z*l+G*u+ne*k,ve=$*s+z*c+G*v+ne*A;return new Ke([M,I,he,ve,0,0])}multiply(e){const o=new Ke([e.value[0],e.value[1],e.value[2],e.value[3],0,0]),n=new Ke([e.value[4],e.value[5],e.value[6],e.value[7],0,0]),i=new Ke([e.value[8],e.value[9],e.value[10],e.value[11],0,0]),s=new Ke([e.value[12],e.value[13],e.value[14],e.value[15],0,0]),r=this.multiplyMatrix(o),a=this.multiplyMatrix(n),l=this.multiplyMatrix(i),c=this.multiplyMatrix(s);return this.value[0]=r.value[0],this.value[1]=r.value[1],this.value[2]=r.value[2],this.value[3]=r.value[3],this.value[4]=a.value[0],this.value[5]=a.value[1],this.value[6]=a.value[2],this.value[7]=a.value[3],this.value[8]=l.value[0],this.value[9]=l.value[1],this.value[10]=l.value[2],this.value[11]=l.value[3],this.value[12]=c.value[0],this.value[13]=c.value[1],this.value[14]=c.value[2],this.value[15]=c.value[3],this}translate(e=0,o=0,n=0){return this.multiply(new eo([1,0,0,0,0,1,0,0,0,0,1,0,e,o,n,1]))}scale(e=1,o=1,n=1){return this.multiply(new eo([e,0,0,0,0,o,0,0,0,0,n,0,0,0,0,1]))}rotate(e,o){const n=es(o),i=Math.sin,s=Math.cos;let r;switch(e){case"x":r=[1,0,0,0,0,s(n),i(n),0,0,-i(n),s(n),0,0,0,0,1];break;case"y":r=[s(n),0,-i(n),0,0,1,0,0,i(n),0,s(n),0,0,0,0,1];break;case"z":r=[s(n),i(n),0,0,-i(n),s(n),0,0,0,0,1,0,0,0,0,1];break}return this.multiply(new eo(r))}toString(){return`matrix3d(${this.value.map(e=>xa(e,6)).join(",")})`}}function gl(t){const e=new Ke;return t.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(o,n,i){i.indexOf(",")>=0?i=i.split(/\s*,\s*/):i=i.split(/\s+/);const s=[];for(let r=0,a=i.length;r<a;r++)i[r].trim()&&s.push(parseFloat(""+i[r]));switch(n.toLowerCase()){case"t":case"translate":e.translate(s[0],s[1]);break;case"translatex":e.translateX(s[0]);break;case"translatey":e.translateY(s[0]);break;case"translatez":e.translateZ(s[0]);break;case"translate3d":e.translate3d(s[0],s[1],s[2]);break;case"r":case"rotate":e.rotate(s[0],s[1]??0,s[2]??0);break;case"rotatex":e.rotateX(s[0]);break;case"rotatey":e.rotateY(s[0]);break;case"rotatez":e.rotateZ(s[0]);break;case"rotate3d":e.rotate3d(s[0],s[1],s[2]);break;case"s":case"scale":e.scale(s[0],s[1]??s[0]);break;case"scalex":e.scaleX(s[0]);break;case"scaley":e.scaleY(s[0]);break;case"scalez":e.scaleZ(s[0]);break;case"scale3d":e.scale3d(s[0],s[1],s[2]);break;case"skew":e.skew(s[0],s[1]??0);break;case"skewx":e.skewX(s[0]);break;case"skewy":e.skewY(s[0]);break;case"skewz":e.skewZ(s[0]);break;case"skew3d":e.skew3d(s[0],s[1],s[2]);break;case"m":case"matrix":e.multiply([s[0],s[1],s[2],s[3],s[4],s[5]]);break;case"matrix3d":e.matrix3d.multiply(new eo(s));break}return""}),e}const V={safeAreaTop:q.getCSSVar("--safe-area-inset-top"),safeAreaRight:q.getCSSVar("--safe-area-inset-right"),safeAreaBottom:q.getCSSVar("--safe-area-inset-bottom"),safeAreaLeft:q.getCSSVar("--safe-area-inset-left"),colorPrimary:q.getCSSVar("--color-primary"),colorRed:q.getCSSVar("--color-red"),colorOrange:q.getCSSVar("--color-orange"),colorYellow:q.getCSSVar("--color-yellow"),colorGreen:q.getCSSVar("--color-green"),colorBlue:q.getCSSVar("--color-blue"),colorPurple:q.getCSSVar("--color-purple"),colorBlack:q.getCSSVar("--color-black"),colorGray0:q.getCSSVar("--color-gray-0"),colorGray3:q.getCSSVar("--color-gray-3"),colorGray6:q.getCSSVar("--color-gray-6"),colorGray9:q.getCSSVar("--color-gray-9"),colorGrayCC:q.getCSSVar("--color-gray-cc"),colorGrayDD:q.getCSSVar("--color-gray-dd"),colorGrayE6:q.getCSSVar("--color-gray-e6"),colorGrayEE:q.getCSSVar("--color-gray-ee"),colorGrayEF:q.getCSSVar("--color-gray-ef"),colorGrayF5:q.getCSSVar("--color-gray-f5"),colorGrayFF:q.getCSSVar("--color-gray-ff"),fontLineHeight:q.getCSSVar("--font-line-height"),fontSize32:q.getCSSVar("--font-size-32"),fontSize24:q.getCSSVar("--font-size-24"),fontSize20:q.getCSSVar("--font-size-20"),fontSize18:q.getCSSVar("--font-size-18"),fontSize16:q.getCSSVar("--font-size-16"),fontSize14:q.getCSSVar("--font-size-14"),fontSize12:q.getCSSVar("--font-size-12"),fontSize11:q.getCSSVar("--font-size-11"),gap4:q.getCSSVar("--gap-4"),gap8:q.getCSSVar("--gap-8"),gap12:q.getCSSVar("--gap-12"),gap16:q.getCSSVar("--gap-16"),gap20:q.getCSSVar("--gap-20"),gap40:q.getCSSVar("--gap-40"),height44:q.getCSSVar("--height-44"),height32:q.getCSSVar("--height-32"),borderRadius:q.getCSSVar("--border-radius")},np=function(t){return t[0]==="#"&&(t=t.slice(1)),parseInt(t,16)},ip=function(t,e=1){const o=t>>16&255,n=t>>8&255,i=t&255,s=e<0?0:e>1?1:e;return s===1?"rgb("+o+","+n+","+i+")":"rgba("+o+","+n+","+i+","+s+")"},yl=function(t,e=1){const o=np(t);return ip(o,e)};function ht(t,e){let o=parseInt(t.substring(1,3),16),n=parseInt(t.substring(3,5),16),i=parseInt(t.substring(5,7),16);o==0&&(o=32),n==0&&(n=32),i==0&&(i=32),o=o*(100+e)/100,n=n*(100+e)/100,i=i*(100+e)/100,o=o<255?o:255,n=n<255?n:255,i=i<255?i:255,o=Math.round(o),n=Math.round(n),i=Math.round(i);const s=o.toString(16).length==1?"0"+o.toString(16):o.toString(16),r=n.toString(16).length==1?"0"+n.toString(16):n.toString(16),a=i.toString(16).length==1?"0"+i.toString(16):i.toString(16);return"#"+s+r+a}function bl(t){switch(t){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-in-out":return[.42,0,.58,1];case"ease-out":return[0,0,.58,1]}}const sp={attributeName:["display"],values:[["block","block"]]},Me={easeName:"linear",begin:0,dur:300,repeatCount:1,direction:"normal",fill:"freeze",keyTimes:[0,1]};class ns{currentAnimateName;objects=[];actions=[];constructor(){}hasObjects(){return this.objects.length>0}fromDOM(e){return Array.isArray(e)||(e=[e]),this.objects=[],e.forEach(o=>{const n=pt(o);this.objects.push({width:parseFloat(n.css("width")),height:parseFloat(n.css("height")),dom:n,el:o,originCSSObject:n.css()})}),this}toCSS(e,...o){if(!this.hasObjects())return;switch(this.currentAnimateName=e,this[e](...o),this.objects[0].dom?.parent().css({position:"relative",perspective:"1000px",overflow:"hidden"}),e){default:this.objects.forEach((s,r)=>{s.dom?.css({position:"absolute","z-index":String(1e3+r),"transform-style":"preserve-3d","backface-visibility":"hidden"})});break}let n=0;const i=()=>{this.actions.forEach((s,r)=>{const a=this.objects[s.objectIndex];let l=[],c=[];Array.isArray(s.attributeName)?(l=s.attributeName,c=s.values):s.attributeName&&(l=[s.attributeName],c=[s.values]);const d=s.keyTimes.length,f=gl(a.dom?.css("transform")??"");let u=s.begin;s.keyTimes.forEach((v,b)=>{const y={_matrix:f};l.forEach((k,A)=>{const $=c[A][s.direction=="reverse"?d-b-1:b];this._transformAttributeToCSSObjectUseMatrix(k,$,y)}),b==0?a.dom?.css(Object.assign(y,{transition:""})):(setTimeout(()=>{a.dom?.css(Object.assign(y,{transition:`all ${s.realKeyTimes[b]}ms cubic-bezier(${s.keySplines[b-1].join(",")})`}))},u),u+=s.realKeyTimes[b])}),setTimeout(()=>{s.fill==="remove"&&a.dom?.css(a.originCSSObject??{}),r==this.actions.length-1&&(typeof s.repeatCount=="number"&&++n<s.repeatCount||s.repeatCount=="infinite")&&requestAnimationFrame(()=>{this.currentAnimateName===e&&i()})},s.begin+s.dur)})};i()}_transformAttributeToCSSObjectUseMatrix(e,o,n={}){switch(e){case"translateTo":n._matrix.translateTo(o[0]??0,o[1]??0);break;case"translate":n._matrix.translate(o[0]??0,o[1]??0);break;case"rotate":n._matrix.rotate(o??0);break;case"rotateXTo":n._matrix.rotateXTo(o??0);break;case"rotateYTo":n._matrix.rotateYTo(o??0);break;case"scaleTo":typeof o=="number"?n._matrix.scaleTo(o??1):n._matrix.scaleTo(o[0]??1,o[1]??1);break;case"scale":typeof o=="number"?n._matrix.scale(o??1):n._matrix.scale(o[0]??1,o[1]??1);break;case"scaleX":n._matrix.scale(o??1,1);break;case"scaleY":n._matrix.scale(1,o??1);break;default:Object.assign(n,{[e]:`${o??""}`});break}return Object.assign(n,{transform:n._matrix.toString()}),n}_addAction(e,o=!1){return this.actions=o?[]:this.actions,Array.isArray(e)||(e=[e]),e.forEach(n=>{this.actions.push(Object.assign(n,{realKeyTimes:n.keyTimes.map(i=>n.dur*i)}))}),this}_addAnimate(e=sp,o=Me,n=0,i=!1){const s=o.keyTimes??[0,1],r=[];return s.forEach((a,l)=>{l>0&&r.push(bl(o.easeName??"linear"))}),this._addAction({objectIndex:n,attributeName:e.attributeName,values:e.values,begin:o.begin??0,dur:o.dur??300,keyTimes:s,keySplines:r,repeatCount:o.repeatCount??1,direction:o.direction??"normal",fill:o.fill??"freeze"},i),this}_predefinedAnimate(e,o,n,i,s=Me,r=this.objects.length-1){let a=!0,l=!1,c=!1,d=!1;const f=this.objects.length;r=(r+f)%f;const u=(r-1+f)%f,v=(r+1+f)%f,b=this.objects[r],y=this.objects[u],k=this.objects[v];if(y&&u!==r){const A=e(y);A&&(this._addAnimate(A,s,u,a),a=!1,l=!0)}if(b){const A=o(b);A&&(this._addAnimate(A,s,r,a),a=!1,c=!0)}if(k&&v!==r){const A=n(k);A&&(this._addAnimate(A,s,v,a),a=!1,d=!0)}this.objects.forEach((A,$)=>{if(!($==u&&l||$==r&&c||$==v&&d)){const z=i(A);z&&(this._addAnimate(z,s,$,a),a=!1)}})}flip(e=Me,o=this.objects.length-1){const n=o-1,i=this.objects[n],s=this.objects[o],r=gl(s.dom?.css("transform")??""),a=r.clone();i.dom?.show(),i.dom?.css("opacity","1");const l=i.el?.getBoundingClientRect();i.dom?.css("opacity","0"),s.dom?.show(),s.dom?.css("opacity","1");const c=s.el?.getBoundingClientRect(),d=i.dom?.css("background-color"),f=s.dom?.css("background-color");a.translate((l?.left??0)-(c?.left??0),(l?.top??0)-(c?.top??0)),a.scale((l?.width??1)/(c?.width??1),(l?.height??1)/(c?.height??1));const u={transform:a.toString(),transition:""};d&&Object.assign(u,{"background-color":d}),s.dom?.css(u);const v={transform:r.toString(),transition:`all ${e.dur}ms cubic-bezier(${bl(e.easeName??"linear").join(",")})`};f&&Object.assign(v,{"background-color":f}),setTimeout(()=>{s.dom?.css(v)},e.begin)}slideLeft(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[-n.width,0]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[n.width,0],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[-n.width,0],[-n.width,0]]]}),e,o)}slideRight(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[-n.width,0],[0,0]]]}),n=>({attributeName:["translateTo"],values:[[[0,0],[n.width,0]]]}),n=>({attributeName:["translateTo"],values:[[[n.width,0],[n.width,0]]]}),e,o)}slideDown(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[0,n.height]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,-n.height],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[0,n.height],[0,n.height]]]}),e,o)}slideUp(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["translateTo"],values:[[[0,0],[0,-n.height]]]}),n=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,n.height],[0,0]]]}),n=>{},n=>({attributeName:["translateTo"],values:[[[0,-n.height],[0,-n.height]]]}),e,o)}flipLeft(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,180]]}),n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[-180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipRight(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,-180]]}),n=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipDown(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,-180]]}),n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}flipUp(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,180]]}),n=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[-180,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}popIn(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[.8,1],[0,1]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}popOut(e=Me,o=this.objects.length-1){this._predefinedAnimate(n=>{},n=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[1,1.2],[1,0]]}),n=>{},n=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}rotate(e=Me,o=this.objects.length-1){Object.assign(e,{keyTimes:[0,1]});const n=e.degree??360;this._predefinedAnimate(i=>{},i=>({attributeName:["opacity","rotate"],values:[[1,1],[0,n]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),e,o)}}class rp{map;constructor(e,o=120.619585,n=31.299379,i=18){this.map=new T.Map(e),this.map.centerAndZoom(new T.LngLat(o,n),i)}}const ap=X({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("span",{class:"icon",style:R(["color: "+o.color])},[oe(le(ll),{icon:e.icon,color:o.color},null,8,["icon","color"])],4))}}),lp=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
|
|
48
|
-
`,
|
|
49
|
-
`]],["__scopeId","data-v-
|
|
50
|
-
`]],["__scopeId","data-v-
|
|
51
|
-
`]],["__scopeId","data-v-98fe6558"]]),
|
|
52
|
-
`]],["__scopeId","data-v-98779112"]]),
|
|
53
|
-
`]],["__scopeId","data-v-f95be0da"]]),
|
|
54
|
-
`]],["__scopeId","data-v-fd1230c0"]]),
|
|
55
|
-
`]],["__scopeId","data-v-6bad62b2"]]),
|
|
56
|
-
`]],["__scopeId","data-v-9a00674d"]]),
|
|
57
|
-
`]],["__scopeId","data-v-f418d0bb"]]),nh=(t=>(_o("data-v-b2152bcf"),t=t(),xo(),t))(()=>h("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),as=ee(X({customOptions:{Pop:ze,Button:He},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10}},setup(t){const e=t,o=L(),n=L(),i=L(),s=Fe({left:"0",top:"0"});se(n,()=>{r()}),se(i,()=>{r()});function r(){if(!n.value||!i.value)return;const l=Ji(),c=n.value.getBoundingClientRect(),d=i.value.getBoundingClientRect(),f=d.width,u=d.height;let v=c.x+c.width+e.gap,b=c.y;v=Math.max(e.gap,Math.min(v,l.width-f-e.gap)),b=Math.max(e.gap,Math.min(b,l.height-u-e.gap)),s.left=`${v}px`,s.top=`${b}px`}function a(){o.value.open()}return(l,c)=>(D(),B(be,null,[h("div",{ref_key:"popoverButtonRef",ref:n,style:{display:"inline-block"},onClick:a},[ue(l.$slots,"button",{},()=>[oe(He,null,{default:Ce(()=>[dt("popover-default-button")]),_:1})],!0)],512),oe(ze,{ref_key:"popRef",ref:o,"direction-from":"absolute"},{default:Ce(()=>[h("div",{ref_key:"popoverPanelRef",ref:i,style:R([{display:"inline-block",position:"absolute"},s])},[ue(l.$slots,"panel",{},()=>[nh],!0)],4)]),_:3},512)],64))}}),[["styles",[""]],["__scopeId","data-v-b2152bcf"]]),ih=(t=>(_o("data-v-943bcc32"),t=t(),xo(),t))(()=>h("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),sh=X({customOptions:{Pop:ze,Button:He},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10}},setup(t){const e=t,o=L(),n=L(),i=L(),s=Fe({left:"0",top:"0"});se(n,()=>{r()}),se(i,()=>{r()});function r(){if(!n.value||!i.value)return;const l=Ji(),c=n.value.getBoundingClientRect(),d=i.value.getBoundingClientRect(),f=d.width,u=d.height;let v=c.x+c.width+e.gap,b=c.y;v=Math.max(e.gap,Math.min(v,l.width-f-e.gap)),b=Math.max(e.gap,Math.min(b,l.height-u-e.gap)),s.left=`${v}px`,s.top=`${b}px`}function a(){o.value.open()}return(l,c)=>(D(),B(be,null,[h("div",{ref_key:"popoverButtonRef",ref:n,style:{display:"inline-block"},onClick:a},[ue(l.$slots,"button",{},()=>[oe(He,null,{default:Ce(()=>[dt("popover-default-button")]),_:1})],!0)],512),oe(ze,{ref_key:"popRef",ref:o,"direction-from":"absolute"},{default:Ce(()=>[h("div",{ref_key:"popoverPanelRef",ref:i,style:R([{display:"inline-block",position:"absolute"},s])},[ue(l.$slots,"panel",{},()=>[ih],!0)],4)]),_:3},512)],64))}}),Tv="",Cl=ee(sh,[["__scopeId","data-v-943bcc32"]]),oo=(t,e=0,o=1)=>t>o?o:t<e?e:t,ke=(t,e=0,o=Math.pow(10,e))=>Math.round(o*t)/o,rh=t=>uh(ls(t)),ls=t=>(t[0]==="#"&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ke(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:t.length===8?ke(parseInt(t.substring(6,8),16)/255,2):1}),ah=t=>ch(lh(t)),kl=({h:t,s:e,v:o,a:n})=>{const i=(200-e)*o/100;return{h:ke(t),s:ke(i>0&&i<200?e*o/100/(i<=100?i:200-i)*100:0),l:ke(i/2),a:ke(n,2)}},cs=t=>{const{h:e,s:o,l:n}=kl(t);return`hsl(${e}, ${o}%, ${n}%)`},us=t=>{const{h:e,s:o,l:n,a:i}=kl(t);return`hsla(${e}, ${o}%, ${n}%, ${i})`},lh=({h:t,s:e,v:o,a:n})=>{t=t/360*6,e=e/100,o=o/100;const i=Math.floor(t),s=o*(1-e),r=o*(1-(t-i)*e),a=o*(1-(1-t+i)*e),l=i%6;return{r:ke([o,r,s,s,a,o][l]*255),g:ke([a,o,o,r,s,s][l]*255),b:ke([s,s,a,o,o,r][l]*255),a:ke(n,2)}},Vn=t=>{const e=t.toString(16);return e.length<2?"0"+e:e},ch=({r:t,g:e,b:o,a:n})=>{const i=n<1?Vn(ke(n*255)):"";return"#"+Vn(t)+Vn(e)+Vn(o)+i},uh=({r:t,g:e,b:o,a:n})=>{const i=Math.max(t,e,o),s=i-Math.min(t,e,o),r=s?i===t?(e-o)/s:i===e?2+(o-t)/s:4+(t-e)/s:0;return{h:ke(60*(r<0?r+6:r)),s:ke(i?s/i*100:0),v:ke(i/255*100),a:n}},Nl=(t,e)=>{if(t===e)return!0;for(const o in t)if(t[o]!==e[o])return!1;return!0},dh=(t,e)=>t.toLowerCase()===e.toLowerCase()?!0:Nl(ls(t),ls(e)),Ol={},Sl=t=>{let e=Ol[t];return e||(e=document.createElement("template"),e.innerHTML=t,Ol[t]=e),e},ds=(t,e,o)=>{t.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:o}))};let no=!1;const fs=t=>"touches"in t,fh=t=>no&&!fs(t)?!1:(no||(no=fs(t)),!0),$l=(t,e)=>{const o=fs(e)?e.touches[0]:e,n=t.el.getBoundingClientRect();ds(t.el,"move",t.getMove({x:oo((o.pageX-(n.left+window.pageXOffset))/n.width),y:oo((o.pageY-(n.top+window.pageYOffset))/n.height)}))},ph=(t,e)=>{const o=e.keyCode;o>40||t.xy&&o<37||o<33||(e.preventDefault(),ds(t.el,"move",t.getMove({x:o===39?.01:o===37?-.01:o===34?.05:o===33?-.05:o===35?1:o===36?-1:0,y:o===40?.01:o===38?-.01:0},!0)))};class ps{constructor(e,o,n,i){const s=Sl(`<div role="slider" tabindex="0" part="${o}" ${n}><div part="${o}-pointer"></div></div>`);e.appendChild(s.content.cloneNode(!0));const r=e.querySelector(`[part=${o}]`);r.addEventListener("mousedown",this),r.addEventListener("touchstart",this),r.addEventListener("keydown",this),this.el=r,this.xy=i,this.nodes=[r.firstChild,r]}set dragging(e){const o=e?document.addEventListener:document.removeEventListener;o(no?"touchmove":"mousemove",this),o(no?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!fh(e)||!no&&e.button!=0)return;this.el.focus(),$l(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),$l(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":ph(this,e);break}}style(e){e.forEach((o,n)=>{for(const i in o)this.nodes[n].style.setProperty(i,o[i])})}}class hh extends ps{constructor(e){super(e,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:e}){this.h=e,this.style([{left:`${e/360*100}%`,color:cs({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${ke(e)}`)}getMove(e,o){return{h:o?oo(this.h+e.x*360,0,360):360*e.x}}}class mh extends ps{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:`${100-e.v}%`,left:`${e.s}%`,color:cs(e)},{"background-color":cs({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${ke(e.s)}%, Brightness ${ke(e.v)}%`)}getMove(e,o){return{s:o?oo(this.hsva.s+e.x*100,0,100):e.x*100,v:o?oo(this.hsva.v-e.y*100,0,100):Math.round(100-e.y*100)}}}const vh=':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',gh="[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}",yh="[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}",In=Symbol("same"),hs=Symbol("color"),Tl=Symbol("hsva"),ms=Symbol("update"),Dl=Symbol("parts"),Mn=Symbol("css"),An=Symbol("sliders");let bh=class extends HTMLElement{static get observedAttributes(){return["color"]}get[Mn](){return[vh,gh,yh]}get[An](){return[mh,hh]}get color(){return this[hs]}set color(e){if(!this[In](e)){const o=this.colorModel.toHsva(e);this[ms](o),this[hs]=e}}constructor(){super();const e=Sl(`<style>${this[Mn].join("")}</style>`),o=this.attachShadow({mode:"open"});o.appendChild(e.content.cloneNode(!0)),o.addEventListener("move",this),this[Dl]=this[An].map(n=>new n(o))}connectedCallback(){if(this.hasOwnProperty("color")){const e=this.color;delete this.color,this.color=e}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(e,o,n){const i=this.colorModel.fromAttr(n);this[In](i)||(this.color=i)}handleEvent(e){const o=this[Tl],n={...o,...e.detail};this[ms](n);let i;!Nl(n,o)&&!this[In](i=this.colorModel.fromHsva(n))&&(this[hs]=i,ds(this,"color-changed",{value:i}))}[In](e){return this.color&&this.colorModel.equal(e,this.color)}[ms](e){this[Tl]=e,this[Dl].forEach(o=>o.update(e))}};class _h extends ps{constructor(e){super(e,"alpha",'aria-label="Alpha" aria-valuemin="0" aria-valuemax="1"',!1)}update(e){this.hsva=e;const o=us({...e,a:0}),n=us({...e,a:1}),i=e.a*100;this.style([{left:`${i}%`,color:us(e)},{"--gradient":`linear-gradient(90deg, ${o}, ${n}`}]);const s=ke(i);this.el.setAttribute("aria-valuenow",`${s}`),this.el.setAttribute("aria-valuetext",`${s}%`)}getMove(e,o){return{a:o?oo(this.hsva.a+e.x):e.x}}}const xh=`[part=alpha]{flex:0 0 24px}[part=alpha]::after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-image:var(--gradient);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part^=alpha]{background-color:#fff;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>')}[part=alpha-pointer]{top:50%}`;class wh extends bh{get[Mn](){return[...super[Mn],xh]}get[An](){return[...super[An],_h]}}const Eh={defaultColor:"#0001",toHsva:rh,fromHsva:ah,equal:dh,fromAttr:t=>t};class Ch extends wh{get colorModel(){return Eh}}class kh extends Ch{}customElements.define("hex-alpha-color-picker",kh);const Nh=X({customOptions:{Popover:Cl},__name:"ColorPicker.ce",props:{color:{default:V.colorPrimary}},emits:["change"],setup(t,{emit:e}){const o=t,n=e,i=L(o.color);se(i,(a,l)=>{a!==l&&n("change",a)});const s=L(),r=a=>{i.value=a.detail.value};return se(s,()=>{s.value&&(s.value.removeEventListener("color-changed",r),s.value.addEventListener("color-changed",r))}),(a,l)=>{const c=tu("hex-alpha-color-picker");return D(),_e(Cl,null,{button:Ce(()=>[ue(a.$slots,"default",{},()=>[h("span",{class:"button",style:R({backgroundColor:i.value})},null,4)],!0)]),panel:Ce(()=>[oe(c,{ref_key:"colorPickerRef",ref:s,color:i.value},null,8,["color"])]),_:3})}}}),Pl=ee(Nh,[["styles",[`.button[data-v-ccef37cf]{display:inline-block;vertical-align:middle;width:1em;height:1em;border-radius:.3em;cursor:pointer}
|
|
58
|
-
`]],["__scopeId","data-v-ccef37cf"]]),
|
|
59
|
-
`,
|
|
60
|
-
`]],["__scopeId","data-v-8fe3f9fd"]]),Rh=["fill"],jh=["fill"],Fh=X({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:e.color},null,8,Rh),h("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:e.color},null,8,jh)],4))}}),Lv="",Ll=ee(Fh,[["__scopeId","data-v-987aed3d"]]),vs=t=>(_o("data-v-85491020"),t=t(),xo(),t),zh=[vs(()=>h("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),vs(()=>h("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),vs(()=>h("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],Hh=X({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:V.colorPrimary}},setup(t){const e=t;return(o,n)=>(D(),B("svg",{style:R(["width: "+e.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},zh,4))}}),Av="",io=ee(Hh,[["__scopeId","data-v-85491020"]]),Bh=["data-unactive"],Wh=["data-unactive"],Uh=["data-unactive"],Gh=["data-unactive"],Kh=["data-unactive"],qh=["data-unactive"],Yh=["data-unactive"],Zh=["data-unactive"],Xh=["data-unactive"],Jh=["data-unactive"],Qh=["data-unactive"],em=["data-unactive"],tm=["data-unactive"],om=["data-unactive"],nm=["data-unactive"],im=["data-unactive"],sm=["data-unactive"],rm=X({customOptions:{Pop:ze,SVGCleanUp:io},__name:"PlateKeyboard",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=L(),r=L(0),a=Fe([]);function l(){a.length==0?r.value=0:a.length==1?r.value=1:r.value=2,a.length>=n.completePlateLength&&d()}se(()=>[...n.initPlates],()=>{Po(a,n.initPlates),l()},{immediate:!0});const c=()=>{s.value.open(),i("open")},d=()=>{s.value.close(),i("close")},f=()=>{a.pop(),l(),i("plates",a)},u=v=>{if(v.target.dataset.unactive||"")return;let y=v.target.dataset.number;y&&(a.push(y),l(),i("plates",a))};return e({open:c,close:d}),(v,b)=>(D(),_e(ze,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:Ce(()=>[h("div",{class:"popup-plate",style:R({paddingBottom:le(V).safeAreaBottom})},[h("div",null,[h("div",{onClick:d},"关闭")]),h("div",{class:U(["step",r.value==0?"":"hide"])},[h("div",{class:"popitem",onClick:u,"data-number":"京"}," 京 "),h("div",{class:"popitem",onClick:u,"data-number":"沪"}," 沪 "),h("div",{class:"popitem",onClick:u,"data-number":"津"}," 津 "),h("div",{class:"popitem",onClick:u,"data-number":"渝"}," 渝 "),h("div",{class:"popitem",onClick:u,"data-number":"黑"}," 黑 "),h("div",{class:"popitem",onClick:u,"data-number":"吉"}," 吉 "),h("div",{class:"popitem",onClick:u,"data-number":"辽"}," 辽 "),h("div",{class:"popitem",onClick:u,"data-number":"蒙"}," 蒙 "),h("div",{class:"popitem",onClick:u,"data-number":"冀"}," 冀 "),h("div",{class:"popitem",onClick:u,"data-number":"新"}," 新 "),h("div",{class:"popitem",onClick:u,"data-number":"甘"}," 甘 "),h("div",{class:"popitem",onClick:u,"data-number":"青"}," 青 "),h("div",{class:"popitem",onClick:u,"data-number":"陕"}," 陕 "),h("div",{class:"popitem",onClick:u,"data-number":"宁"}," 宁 "),h("div",{class:"popitem",onClick:u,"data-number":"豫"}," 豫 "),h("div",{class:"popitem",onClick:u,"data-number":"鲁"}," 鲁 "),h("div",{class:"popitem",onClick:u,"data-number":"晋"}," 晋 "),h("div",{class:"popitem",onClick:u,"data-number":"皖"}," 皖 "),h("div",{class:"popitem",onClick:u,"data-number":"鄂"}," 鄂 "),h("div",{class:"popitem",onClick:u,"data-number":"湘"}," 湘 "),h("div",{class:"popitem",onClick:u,"data-number":"苏"}," 苏 "),h("div",{class:"popitem",onClick:u,"data-number":"川"}," 川 "),h("div",{class:"popitem",onClick:u,"data-number":"云"}," 云 "),h("div",{class:"popitem",onClick:u,"data-number":"桂"}," 桂 "),h("div",{class:"popitem",onClick:u,"data-number":"藏"}," 藏 "),h("div",{class:"popitem",onClick:u,"data-number":"浙"}," 浙 "),h("div",{class:"popitem",onClick:u,"data-number":"赣"}," 赣 "),h("div",{class:"popitem",onClick:u,"data-number":"粤"}," 粤 "),h("div",{class:"popitem",onClick:u,"data-number":"闽"}," 闽 "),h("div",{class:"popitem",onClick:u,"data-number":"琼"}," 琼 "),h("div",{class:"popitem",onClick:u,"data-number":"贵"}," 贵 "),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2),h("div",{class:U(["step",r.value!=0?"":"hide"])},[h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"1","data-unactive":r.value!=2?"unactive":""}," 1 ",10,Bh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"2","data-unactive":r.value!=2?"unactive":""}," 2 ",10,Wh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"3","data-unactive":r.value!=2?"unactive":""}," 3 ",10,Uh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"4","data-unactive":r.value!=2?"unactive":""}," 4 ",10,Gh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"5","data-unactive":r.value!=2?"unactive":""}," 5 ",10,Kh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"6","data-unactive":r.value!=2?"unactive":""}," 6 ",10,qh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"7","data-unactive":r.value!=2?"unactive":""}," 7 ",10,Yh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"8","data-unactive":r.value!=2?"unactive":""}," 8 ",10,Zh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"9","data-unactive":r.value!=2?"unactive":""}," 9 ",10,Xh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"0","data-unactive":r.value!=2?"unactive":""}," 0 ",10,Jh),h("div",{class:"popitem",onClick:u,"data-number":"A"}," A "),h("div",{class:"popitem",onClick:u,"data-number":"B"}," B "),h("div",{class:"popitem",onClick:u,"data-number":"C"}," C "),h("div",{class:"popitem",onClick:u,"data-number":"D"}," D "),h("div",{class:"popitem",onClick:u,"data-number":"E"}," E "),h("div",{class:"popitem",onClick:u,"data-number":"F"}," F "),h("div",{class:"popitem",onClick:u,"data-number":"G"}," G "),h("div",{class:"popitem",onClick:u,"data-number":"H"}," H "),h("div",{class:"popitem",onClick:u,"data-number":"J"}," J "),h("div",{class:"popitem",onClick:u,"data-number":"K"}," K "),h("div",{class:"popitem",onClick:u,"data-number":"L"}," L "),h("div",{class:"popitem",onClick:u,"data-number":"M"}," M "),h("div",{class:"popitem",onClick:u,"data-number":"N"}," N "),h("div",{class:"popitem",onClick:u,"data-number":"P"}," P "),h("div",{class:"popitem",onClick:u,"data-number":"Q"}," Q "),h("div",{class:"popitem",onClick:u,"data-number":"R"}," R "),h("div",{class:"popitem",onClick:u,"data-number":"S"}," S "),h("div",{class:"popitem",onClick:u,"data-number":"T"}," T "),h("div",{class:"popitem",onClick:u,"data-number":"U"}," U "),h("div",{class:"popitem",onClick:u,"data-number":"V"}," V "),h("div",{class:"popitem",onClick:u,"data-number":"W"}," W "),h("div",{class:"popitem",onClick:u,"data-number":"X"}," X "),h("div",{class:"popitem",onClick:u,"data-number":"Y"}," Y "),h("div",{class:"popitem",onClick:u,"data-number":"Z"}," Z "),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"港","data-unactive":r.value!=2?"unactive":""}," 港 ",10,Qh),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"澳","data-unactive":r.value!=2?"unactive":""}," 澳 ",10,em),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"学","data-unactive":r.value!=2?"unactive":""}," 学 ",10,tm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"警","data-unactive":r.value!=2?"unactive":""}," 警 ",10,om),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"使","data-unactive":r.value!=2?"unactive":""}," 使 ",10,nm),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"领","data-unactive":r.value!=2?"unactive":""}," 领 ",10,im),h("div",{class:U(["popitem",r.value!=2?"unactive":""]),onClick:u,"data-number":"挂","data-unactive":r.value!=2?"unactive":""}," 挂 ",10,sm),h("div",{class:"popitem popitem-clear",onClick:f},[oe(io,{width:"16px"})])],2)],4)]),_:1},512))}}),Rv="",Vl=ee(rm,[["__scopeId","data-v-6e8b6f81"]]),Rn=t=>(_o("data-v-17611eb2"),t=t(),xo(),t),am=Rn(()=>h("div",{class:"title"},"车牌颜色",-1)),lm={class:"plate-types"},cm=["onClick"],um=Rn(()=>h("div",{class:"title"},"车牌号码",-1)),dm={class:"plate-numbers"},fm=Rn(()=>h("div",{class:"dot"},"·",-1)),pm=["onClick"],hm=Rn(()=>h("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),Il=ee(X({customOptions:{SVGCheck:Ll,PlateKeyboard:Vl},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(t,{expose:e,emit:o}){const n=t,i=o,s=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],r=L(),a=L(0),l=Fe([]),c=L(-1),d=v=>{a.value=v,c.value<=s[v].completePlateLength&&l.length<s[v].completePlateLength?(c.value=l.length,r.value.open(),i("clear")):Po(l,l.slice(0,s[v].completePlateLength)),s[v].completePlateLength===l.length&&i("complete",s[a.value].name,l.join(""))},f=v=>{Po(l,l.slice(0,v)),c.value=Math.min(Math.max(0,c.value),v),r.value.open(),i("clear")},u=v=>{Po(l,v),c.value=l.length,l.length===s[a.value].completePlateLength&&i("complete",s[a.value].name,l.join(""))};return e({}),(v,b)=>(D(),B(be,null,[h("div",$i(v.$attrs,{class:"plate-mobile",style:{maxWidth:n.maxWidth}}),[am,h("div",lm,[(D(),B(be,null,Xt(s,(y,k)=>h("div",{key:k,class:U(k==a.value?"checked":""),onClick:A=>d(k)},[h("div",{style:R(y.style)},null,4),h("div",null,Oe(y.name),1),h("div",null,[oe(Ll,{color:"#ffffff",width:"0.14rem"})])],10,cm)),64))]),um,h("div",dm,[h("div",{onClick:b[0]||(b[0]=y=>f(0)),class:U(c.value==0?"current":"")},Oe(l[0]),3),h("div",{onClick:b[1]||(b[1]=y=>f(1)),class:U(c.value==1?"current":"")},Oe(l[1]),3),fm,(D(!0),B(be,null,Xt(s[a.value].completePlateLength-2,y=>(D(),B("div",{key:y,class:U(y+1==c.value?"current":""),onClick:k=>f(y+1)},Oe(l[y+1]),11,pm))),128))]),hm],16),oe(Vl,{ref_key:"plateKeyboardRef",ref:r,initPlates:l,completePlateLength:s[a.value].completePlateLength,onPlates:u},null,8,["initPlates","completePlateLength"])],64))}}),[["styles",[`.plate-mobile[data-v-17611eb2]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-17611eb2]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-17611eb2]{display:flex;justify-content:center}.plate-types>div[data-v-17611eb2]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-17611eb2]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-17611eb2]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-17611eb2]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-17611eb2]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-17611eb2]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-17611eb2]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-17611eb2]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-17611eb2]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-types>div.checked[data-v-17611eb2]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(3){display:block}.plate-numbers[data-v-17611eb2]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-17611eb2]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-17611eb2]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-numbers>div.dot[data-v-17611eb2]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-17611eb2]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
|
|
61
|
-
`]],["__scopeId","data-v-17611eb2"]]),
|
|
62
|
-
`]],["__scopeId","data-v-7aebdea0"]]),
|
|
63
|
-
`]],["__scopeId","data-v-c391106b"]]),
|
|
64
|
-
`]],["__scopeId","data-v-8745630f"]]),
|
|
65
|
-
`]],["__scopeId","data-v-
|
|
66
|
-
`]],["__scopeId","data-v-14d35058"]]),
|
|
67
|
-
`]],["__scopeId","data-v-0f02d488"]]);
|
|
59
|
+
})`}static safeHtml(t,n="encode"){const i={"&":"&","<":"<",">":">",""":'"',"'":"'"};for(const r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t=t.replace(new RegExp(n=="decode"?r:i[r],"g"),n=="decode"?i[r]:r));return t}static loadScript(t,n=()=>{},i=(r,s,o,a,l)=>{}){const r=document.createElement("script");r.type="text/javascript",r.src=t,r.async=!1,document.body.appendChild(r),r.onload=n,r.onerror=i}static loadStyle(t){const n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.insertBefore(n,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}static waitForStyleSheetsLoaded=()=>new Promise(t=>{const n=Array.from(document.querySelectorAll("link[rel=stylesheet]"));let i=document.styleSheets.length??0;const r=()=>i>=n.length?(t(),!0):!1;r()||n.forEach(s=>{s.onload=()=>{i+=1,r()}})});static lazyloadImages(){const t=document.getElementsByTagName("img"),n=xa().height;let i=0;return()=>{for(let r=i;r<t.length;r++)t[r].getBoundingClientRect().top<n&&(t[r].src=t[r].getAttribute("data-src")??"",i=r+1)}}static iframePostMessage(t,n="http://test.com/localstorage.html"){const i=document.createElement("iframe");i.src=n,document.body.append(i),setTimeout(function(){i.contentWindow?.postMessage(t,n)},4e3),setTimeout(function(){i.remove()},6e3)}static getTextWidth=(t,n,i=400)=>{const r=document.createElement("span");r.style.visibility="hidden",r.style.padding="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=n>12?n+"px":"12px",r.style.fontWeight=i.toString(),r.innerText=t,document.body.appendChild(r);const s=r.offsetWidth;return document.body.removeChild(r),s};static getFixedWidthText=(t,n,i=12,r=400,s=!0)=>{let o="",a="",l="";if(!t||n<i||typeof t!="string")return o;const p=t.split(""),m=document.createElement("span");m.style.visibility="hidden",m.style.padding="0",m.style.whiteSpace="nowrap",m.style.overflow="visible",m.style.fontSize=i>12?i+"px":"12px",m.style.fontWeight=r.toString(),document.body.appendChild(m);for(let g=0,d=p.length;g<d;g++){const _=p[g];if(a=l,l+=_,o=l,m.innerText=l,m.offsetWidth>n){s?o=a+"...":o=a;break}}return document.body.removeChild(m),o};static getLocation(){return new Promise((t,n)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(i=>{t(i.coords)}):n("Geolocation is not supported by this browser")})}static vibrate(t=200){"vibrate"in navigator?window.navigator.vibrate(t):console.error("Your device is not support vibrate on this browser.")}static copyToClipboard=t=>navigator.clipboard.writeText(t);static getSelectedText=()=>window.getSelection()?.toString();static siblings=t=>Array.prototype.slice.call(t.parentNode?.children).filter(n=>n!==t);static isElementFocus=t=>t===document.activeElement;static isTabInView=()=>!document.hidden;static navigateBack=()=>history.back();static navigateBack2=()=>history.go(-1);static addDebuggerOnBeforeUnload=()=>{window.addEventListener("beforeunload",()=>{debugger})}}function gg(e,t=document){return new Ne(e,t)}class Ne{context;nodes;prefixs=["moz","o","ms","webkit"];constructor(t,n=document){if(this.context=n,typeof t=="string"?this.nodes=Array.from(this.context.querySelectorAll(t)):t instanceof HTMLElement?this.nodes=[t]:this.nodes=t,this.nodes.length===0)throw new Error(`can not find ${t}`);this.each((i,r)=>{i instanceof HTMLInputElement&&i.addEventListener("change",s=>{this.changeRadioChecked(s.currentTarget.value)}),i instanceof HTMLSelectElement&&i.addEventListener("change",s=>{this.changeSelectSelected(s.currentTarget.value)})})}get(t){return t<0&&(t=this.nodes.length+t),this.nodes[t]}concat(t){return new Ne(this.nodes.concat(t.nodes),this.context)}then(t){return t(this)??this}each(t){return this.nodes.forEach((n,i)=>{t(n,i)}),this}_save(t,n,i){t._mQuery||(t._mQuery={}),Array.isArray(i)?(t._mQuery[n]=t._mQuery[n]??[],t._mQuery[n].push(...i)):i!=null?t._mQuery[n]=i:delete t._mQuery[n]}on(t,n,i){return this.nodes.forEach(r=>{this._save(r,"events",[{event:t,callback:n,options:i}]),r.addEventListener(t,n,i)}),this}off(t,n,i){return this.nodes.forEach(r=>{r.removeEventListener(t,n,i)}),this}dispatchEvent(t,n){let i;const r=["click","dblclick","mousedown","mouseup","mousemove"],s=["keydown","keyup","keypress"];return typeof t=="string"?r.includes(t)?i=new MouseEvent(t,n):s.includes(t)?i=new KeyboardEvent(t,n):i=new Event(t,n):i=t,this.nodes.forEach(o=>{o.dispatchEvent(i)}),this}change(){return this.dispatchEvent("change")}click(){return this.dispatchEvent("click")}static hasEvent(t,n){return"on"+n in t}static _fragment(t){const n=document.createElement("template");return n.innerHTML=t,n.content.childNodes.forEach(i=>{const r=Ne._scriptConvert(i);r!=i&&n.content.replaceChild(r,i)}),n.content}static _scriptConvert(t){const n=i=>{const s=i.ownerDocument.createElement("script");s.text=i.text;const o=i.attributes;for(let a=0;a<o.length;a++)s.setAttribute(o[a].name,o[a].value);return s};return t.tagName=="SCRIPT"&&(t=n(t)),t.querySelectorAll&&t.querySelectorAll("script").forEach(i=>{i.parentNode?.replaceChild(n(i),i)}),t}static _fixProp(t){const n={cellpadding:"cellPadding",cellspacing:"cellSpacing",class:"className",colspan:"colSpan",contenteditable:"contentEditable",for:"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap"};return n[t]?n[t]:t}static isSVG(t){return(t||document.documentElement).nodeName.toLowerCase()==="svg"}static createElement(t){return Ne.isSVG()?document.createElementNS.call(document,"http://www.w3.org/2000/svg",t):document.createElement.call(document,t)}static createTextNode(t){return document.createTextNode.call(document,t)}static createDocumentFragment(){return document.createDocumentFragment.call(document)}_insert(t,n){const i=this.nodes.length;if(i<1)return this;const r=[];if(typeof n=="string")this.nodes.forEach(s=>{const o=Ne._fragment(n);r.push(...o.children),s[t](o)});else if(n instanceof HTMLElement)this.each(s=>{const o=i===1?n:Ne._fragment(n.outerHTML);r.push(...i===1?[n]:o.children),s[t](o)}),i>1&&n.remove();else if(n instanceof Ne){const s=i==1;n.each(o=>{this.each(a=>{const l=s?o:o.cloneNode(!0);r.push(l),a[t](l),Ne._scriptConvert(l)})}),s||n.remove()}return t=="replaceWith"&&(this.nodes=r),this}append(t){return this._insert("append",t)}prepend(t){return this._insert("prepend",t)}after(t){return this._insert("after",t)}before(t){return this._insert("before",t)}replace(t){return this._insert("replaceWith",t)}remove(){return this.nodes.forEach(t=>{t.remove()}),this}static removeChild(t){t.parentElement?.removeChild(t)}find(t){const n=[];return this.nodes.forEach(i=>{n.push(...Array.from(i.querySelectorAll(t)))}),new Ne(n,this.context)}filter(t){const n=[];return this.nodes.forEach(i=>{(i===t||typeof t=="string"&&i.matches&&i.matches(t))&&n.push(i)}),new Ne(n,this.context)}next(){const t=[];return this.nodes.forEach(n=>{const i=n.nextElementSibling;i&&t.push(i)}),new Ne(t,this.context)}prev(){const t=[];return this.nodes.forEach(n=>{const i=n.previousElementSibling;i&&t.push(i)}),new Ne(t,this.context)}closest(t){const n=[];return this.nodes.forEach(i=>{const r=i.closest(t);r&&n.push(r)}),new Ne(n,this.context)}shadow(t){const n=[];this.nodes.forEach(r=>{r.shadowRoot&&n.push(r.shadowRoot)});const i=new Ne(n,this.context);return t!==void 0?i.find(t):i}parent(t){return this.parents(t,!0)}parents(t,n=!1){const i=[],r=o=>{if(i.indexOf(o)==-1&&i.push(o),!n&&o.parentElement)return r(o.parentElement)};this.nodes.forEach(o=>{o.parentElement&&r(o.parentElement)});const s=new Ne(i,this.context);return t!==void 0?s.filter(t):s}static getComputedStyle(t,n,i){let r;const s=t.style.getPropertyPriority(n);return"getComputedStyle"in window?(r=getComputedStyle.call(window,t,i),r=r.getPropertyValue(n)):r=t.style.getPropertyValue(n),r+(s?"!"+s:"")}css(t,n){if((t===void 0||typeof t=="string")&&n===void 0){const i=this.nodes[0].style;if(typeof t=="string"){const r=i.getPropertyPriority(t),s=i.getPropertyValue(t).trim();return s?s+(r?"!"+r:""):Ne.getComputedStyle(this.nodes[0],t)}else{const r=Object.fromEntries(this.nodes[0].style.cssText.split(";").filter(s=>!!s).map(s=>s.split(":").map(o=>o.trim())));return Object.assign(r,getComputedStyle.call(window,this.nodes[0])),r}}else{let i={};return typeof t=="string"&&n!==void 0?i[t]=n:typeof t=="object"&&(i=t),this.nodes.forEach(r=>{Object.keys(i).forEach(s=>{const o=String(i[s]).toLowerCase().includes("!important")?"important":"";r.style.setProperty(s,String(i[s]).replace(/!important/i,""),o)})}),this}}addClass(t){return this.toggleClass(t,!0)}removeClass(t){return this.toggleClass(t,!1)}toggleClass(t,n){const i=t.split(/[,\s]+/);return this.nodes.forEach(r=>{i.forEach(s=>{if(s.trim()!==""){let o="toggle";n!==void 0&&(o=n?"add":"remove"),r.classList[o](s.trim())}})}),this}hasClass(t){const n=t.split(/[,\s]+/);let i=!1;return this.nodes.forEach(r=>{i=i||n.every(s=>Array.from(r.classList??[]).includes(s.trim()))}),i}attr(t,n){if(n===void 0&&typeof t=="string")return this.nodes[0].getAttribute(t);let i={};return typeof t=="object"?i=t:n!==void 0&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{r.setAttribute(s,o)})}),this}removeAttr(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{i.removeAttribute(r)})}),this}prop(t,n){if(n===void 0&&typeof t=="string")return this.nodes[0][t];{let i={};return typeof t=="object"?i=t:typeof t=="string"&&n!==void 0&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{const a=Ne._fixProp(s);r[a]=o,a=="innerHTML"&&Ne._scriptConvert(r)})}),this}}removeProp(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{delete i[Ne._fixProp(r)]})}),this}changeSelectSelected(t){this.nodes.forEach(n=>{if(n instanceof HTMLSelectElement){const i=n.options;for(let r=0,s=i.length;r<s;r++)i[r].value==t?i[r].selected=!0:i[r].selected=!1}})}changeRadioChecked(t){this.nodes.forEach(n=>{n instanceof HTMLInputElement&&(n.value==t?n.checked=!0:n.checked=!1)})}data(t,n){if(typeof t=="string"&&t.indexOf("-")!=-1)throw new Error(`Key "${t}" contains "-" (dash). Dashes are not allowed in property names. Use camelCase instead.`);if((typeof t=="string"||t===void 0)&&n===void 0){const i=Object.assign({},this.nodes[0].dataset);return Object.keys(i).forEach(r=>{if(i[r]?.startsWith("[")||i[r]?.startsWith("{"))try{i[r]=JSON.parse(i[r]??"")}catch{}}),typeof t=="string"?i[t]:i}else{let i={};return typeof t=="object"?i=t:typeof t=="string"&&(i[t]=n),this.nodes.forEach(r=>{Object.entries(i).forEach(([s,o])=>{o!=null?r.dataset[s]=o instanceof Object?JSON.stringify(o):o:delete r.dataset[s]})}),this}}removeData(t){const n=t.split(/[,\s]+/);return this.nodes.forEach(i=>{n.forEach(r=>{delete i.dataset[r]})}),this}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}toggle(t){return this.nodes.forEach(n=>{const i=n.style.display,r=getComputedStyle(n).display,s=i=="none"||r=="none";if(s&&(t===void 0||t===!0)){const o=n instanceof HTMLTableRowElement?"table-row":n instanceof HTMLTableCellElement?"table-cell":"block";n.style.display=n._mQuery?.prevDisplay??(i==r&&r!="none"?"":o),this._save(n,"prevDisplay",null)}!s&&(t==null||t===!1)&&(r!="none"&&this._save(n,"prevDisplay",r),n.style.setProperty("display","none"))})}empty(){return this.html("")}html(t){return t instanceof HTMLElement?this.empty().append(t.innerHTML):this.prop("innerHTML",t)}text(t){return this.prop("textContent",t)}val(t){return this.prop("value",t)}}const Dt={safeAreaTop:Zt.getCSSVar("--safe-area-inset-top"),safeAreaRight:Zt.getCSSVar("--safe-area-inset-right"),safeAreaBottom:Zt.getCSSVar("--safe-area-inset-bottom"),safeAreaLeft:Zt.getCSSVar("--safe-area-inset-left"),colorPrimary:Zt.getCSSVar("--color-primary"),colorRed:Zt.getCSSVar("--color-red"),colorOrange:Zt.getCSSVar("--color-orange"),colorYellow:Zt.getCSSVar("--color-yellow"),colorGreen:Zt.getCSSVar("--color-green"),colorBlue:Zt.getCSSVar("--color-blue"),colorPurple:Zt.getCSSVar("--color-purple"),colorBlack:Zt.getCSSVar("--color-black"),colorGray0:Zt.getCSSVar("--color-gray-0"),colorGray3:Zt.getCSSVar("--color-gray-3"),colorGray6:Zt.getCSSVar("--color-gray-6"),colorGray9:Zt.getCSSVar("--color-gray-9"),colorGrayCC:Zt.getCSSVar("--color-gray-cc"),colorGrayDD:Zt.getCSSVar("--color-gray-dd"),colorGrayE6:Zt.getCSSVar("--color-gray-e6"),colorGrayEE:Zt.getCSSVar("--color-gray-ee"),colorGrayEF:Zt.getCSSVar("--color-gray-ef"),colorGrayF5:Zt.getCSSVar("--color-gray-f5"),colorGrayFF:Zt.getCSSVar("--color-gray-ff"),fontLineHeight:Zt.getCSSVar("--font-line-height"),fontSize32:Zt.getCSSVar("--font-size-32"),fontSize24:Zt.getCSSVar("--font-size-24"),fontSize20:Zt.getCSSVar("--font-size-20"),fontSize18:Zt.getCSSVar("--font-size-18"),fontSize16:Zt.getCSSVar("--font-size-16"),fontSize14:Zt.getCSSVar("--font-size-14"),fontSize12:Zt.getCSSVar("--font-size-12"),fontSize11:Zt.getCSSVar("--font-size-11"),gap4:Zt.getCSSVar("--gap-4"),gap8:Zt.getCSSVar("--gap-8"),gap12:Zt.getCSSVar("--gap-12"),gap16:Zt.getCSSVar("--gap-16"),gap20:Zt.getCSSVar("--gap-20"),gap40:Zt.getCSSVar("--gap-40"),height44:Zt.getCSSVar("--height-44"),height32:Zt.getCSSVar("--height-32"),borderRadius:Zt.getCSSVar("--border-radius")},Th=function(e){return e[0]==="#"&&(e=e.slice(1)),parseInt(e,16)},vg=function(e,t=1){const n=e>>16&255,i=e>>8&255,r=e&255,s=t<0?0:t>1?1:t;return s===1?"rgb("+n+","+i+","+r+")":"rgba("+n+","+i+","+r+","+s+")"},Nh=function(e,t=1){const n=Th(e);return vg(n,t)};function Dn(e,t){let n=parseInt(e.substring(1,3),16),i=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16);n==0&&(n=32),i==0&&(i=32),r==0&&(r=32),n=n*(100+t)/100,i=i*(100+t)/100,r=r*(100+t)/100,n=n<255?n:255,i=i<255?i:255,r=r<255?r:255,n=Math.round(n),i=Math.round(i),r=Math.round(r);const s=n.toString(16).length==1?"0"+n.toString(16):n.toString(16),o=i.toString(16).length==1?"0"+i.toString(16):i.toString(16),a=r.toString(16).length==1?"0"+r.toString(16):r.toString(16);return"#"+s+o+a}(function(){let e=0;window.requestAnimationFrame||(window.requestAnimationFrame=function(t){const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout(function(){t(n+i)},i);return e=n+i,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})})();const yg=e=>{let t=window.requestAnimationFrame(function n(i){t=window.requestAnimationFrame(n),e(i,t)});return()=>window.cancelAnimationFrame(t)};class _g{id=0;renders={};cancelFn;constructor(){}get length(){let t=0;for(let n in this.renders)t++;return t}register(t){const n=this.id++;this.renders[n]=t,this.run()}run(){this.cancelFn||(this.cancelFn=yg((t,n)=>{const i=[];for(let r in this.renders)this.renders[r](t)===!1&&i.push(parseInt(r));for(let r of i)delete this.renders[r];this.length||this.stop()}))}stop(){this.cancelFn&&(this.cancelFn(),this.cancelFn=void 0)}}const Oh=new _g;let Rr;typeof self>"u"&&typeof process<"u"&&process.hrtime?Rr=function(){const e=process.hrtime();return e[0]*1e3+e[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?Rr=self.performance.now.bind(self.performance):Date.now!==void 0?Rr=Date.now:Rr=function(){return new Date().getTime()};const Gi=Rr;class Vr{static _nextId=0;static nextId(){return Vr._nextId++}}const Hs={Linear:{None:function(e){return e}},Ease:{In:function(e){return Math.pow(e,1.7)}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){return e===1?1:e*e*((1.70158+1)*e-1.70158)},Out:function(e){return e===0?0:--e*e*((1.70158+1)*e+1.70158)+1},InOut:function(e){const t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-Hs.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?Hs.Bounce.In(e*2)*.5:Hs.Bounce.Out(e*2-1)*.5+.5}},generatePow:function(e=4){return e=e<Number.EPSILON?Number.EPSILON:e,e=e>1e4?1e4:e,{In:function(t){return t**e},Out:function(t){return 1-(1-t)**e},InOut:function(t){return t<.5?(t*2)**e/2:(1-(2-t*2)**e)/2+.5}}},random:function(e){return Math.random()},createStep:function(e){return function(t){return Math.floor(t*e)/e}},createNoisyEasing:function(e,t=.1){const n=1-t;return function(i){return t*Math.random()+n*e(i)}}},Ga=Hs,Fr={Utils:{Linear:function(e,t,n){return(t-e)*n+e},Factorial:function(){const e=[1];return function(t){let n=1;if(e[t])return e[t];for(let i=t;i>1;i--)n*=i;return e[t]=n,n}}(),Bernstein:function(e,t){const n=Fr.Utils.Factorial;return n(e)/n(t)/n(e-t)},CatmullRom:function(e,t,n,i,r){const s=(n-e)*.5,o=(i-t)*.5,a=r*r,l=r*a;return(2*t-2*n+s+o)*l+(-3*t+3*n-2*s-o)*a+s*r+t}},Linear:function(e,t){const n=e.length-1,i=n*t,r=Math.floor(i),s=Fr.Utils.Linear;return t<0?s(e[0],e[1],i):t>1?s(e[n],e[n-1],n-i):s(e[r],e[r+1>n?n:r+1],i-r)},Bezier:function(e,t){let n=0;const i=e.length-1,r=Math.pow,s=Fr.Utils.Bernstein;for(let o=0;o<=i;o++)n+=r(1-t,i-o)*r(t,o)*e[o]*s(i,o);return n},CatmullRom:function(e,t){const n=e.length-1;let i=n*t,r=Math.floor(i);const s=Fr.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(r=Math.floor(i=n*(1+t))),s(e[(r-1+n)%n],e[r],e[(r+1)%n],e[(r+2)%n],i-r)):t<0?e[0]-(s(e[0],e[0],e[1],e[1],-i)-e[0]):t>1?e[n]-(s(e[n],e[n],e[n-1],e[n-1],i-n)-e[n]):s(e[r?r-1:0],e[r],e[n<r+1?n:r+1],e[n<r+2?n:r+2],i-r)}},Ha=Fr;class Ph{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=Gi(),n=!1){let i=Object.keys(this._tweens);if(i.length===0)return!1;for(;i.length>0;){this._tweensAddedDuringUpdate={};for(let r=0;r<i.length;r++){const s=this._tweens[i[r]],o=!n;s&&s.update(t,o)===!1&&!n&&delete this._tweens[i[r]]}i=Object.keys(this._tweensAddedDuringUpdate)}return!0}}const sn=new Ph;class bg{constructor(t,n=sn){this._object=t,this._group=n}_id=Vr.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=Ga.Linear.None;_interpolationFunction=Ha.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,n){return this._valuesEnd=Object.create(t),n!==void 0&&(this._durationTime=n),this}duration(t=1e3){return this._durationTime=t,this}start(t=Gi()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const n in this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,n,i,r){for(const s in i){const o=t[s],a=Array.isArray(o),l=a?"array":typeof o,p=!a&&Array.isArray(i[s]);if(!(l==="undefined"||l==="function")){if(p){let m=i[s];if(m.length===0)continue;m=m.map(this._handleRelativeValue.bind(this,o)),i[s]=[o].concat(m)}if((l==="object"||a)&&o&&!p){n[s]=a?[]:{};for(const m in o)n[s][m]=o[m];r[s]=a?[]:{},this._setupProperties(o,n[s],i[s],r[s])}else typeof n[s]>"u"&&(n[s]=o),a||(n[s]*=1),p?r[s]=i[s].slice().reverse():r[s]=n[s]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=Gi()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=Gi()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,n=this._chainedTweens.length;t<n;t++)this._chainedTweens[t].stop();return this}group(t=sn){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=Ga.Linear.None){return this._easingFunction=t,this}interpolation(t=Ha.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=Gi(),n=!0){if(this._isPaused)return!0;let i,r;const s=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>s)return!1;n&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const o=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,o),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(i in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[i]=="string"&&(this._valuesStartRepeat[i]=this._valuesStartRepeat[i]+parseFloat(this._valuesEnd[i])),this._yoyo&&this._swapEndStartRepeatValues(i),this._valuesStart[i]=this._valuesStartRepeat[i];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let a=0,l=this._chainedTweens.length;a<l;a++)this._chainedTweens[a].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,n,i,r){for(const s in i){if(n[s]===void 0)continue;const o=n[s]||0;let a=i[s];const l=Array.isArray(t[s]),p=Array.isArray(a);!l&&p?t[s]=this._interpolationFunction(a,r):typeof a=="object"&&a?this._updateProperties(t[s],o,a,r):(a=this._handleRelativeValue(o,a),typeof a=="number"&&(t[s]=o+(a-o)*r))}}_handleRelativeValue(t,n){return typeof n!="string"?n:n.charAt(0)==="+"||n.charAt(0)==="-"?t+parseFloat(n):parseFloat(n)}_swapEndStartRepeatValues(t){const n=this._valuesStartRepeat[t],i=this._valuesEnd[t];typeof i=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(i):this._valuesStartRepeat[t]=i,this._valuesEnd[t]=n}}const xg=bg,wg=Vr.nextId,Eg=sn.getAll.bind(sn),Cg=sn.removeAll.bind(sn),kg=sn.add.bind(sn),Sg=sn.remove.bind(sn),Tg=sn.update.bind(sn),$t={now:Gi,Sequence:Vr,Easing:Ga,Interpolation:Ha,Group:Ph,Tween:xg,nextId:wg,getAll:Eg,removeAll:Cg,add:kg,remove:Sg,update:Tg};function Ih(e){switch(e){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-in-out":return[.42,0,.58,1];case"ease-out":return[0,0,.58,1]}}const Ng={attributeName:["display"],values:[["block","block"]]},qe={easeName:"linear",begin:0,dur:300,repeatCount:1,direction:"normal",fill:"freeze",keyTimes:[0,1]};class bn{currentAnimateName;objects=[];actions=[];constructor(){}static toTween(t,n,i){const r=i?.onUpdate??(()=>{}),s=i?.duration??1e3,o=i?.delay??0,a=i?.easeFunction??$t.Easing.Linear.None,l=i?.repeat??0,p=i?.yoyo??!1,m=new $t.Tween(t).to(n,s).delay(o).easing(a).repeat(l).yoyo(p).onUpdate(function(g,d){r(g,d)});return i?.interpolationFunction&&m.interpolation(i.interpolationFunction),{tween:m,startAuto:()=>{m.start(),Oh.register(()=>m.update())}}}hasObjects(){return this.objects.length>0}fromDOM(t){return Array.isArray(t)||(t=[t]),this.objects=[],t.forEach(n=>{const i=gg(n);this.objects.push({width:parseFloat(i.css("width")),height:parseFloat(i.css("height")),dom:i,el:n,originCSSObject:i.css()})}),this}toCSS(t,...n){if(!this.hasObjects())return;switch(this.currentAnimateName=t,this[t](...n),this.objects[0].dom?.parent().css({position:"relative",perspective:"1000px",overflow:"hidden"}),t){default:this.objects.forEach((s,o)=>{s.dom?.css({position:"absolute","z-index":String(1e3+o),"transform-style":"preserve-3d","backface-visibility":"hidden"})});break}let i=0;const r=()=>{this.actions.forEach((s,o)=>{const a=this.objects[s.objectIndex];let l=[],p=[];Array.isArray(s.attributeName)?(l=s.attributeName,p=s.values):s.attributeName&&(l=[s.attributeName],p=[s.values]);const m=s.keyTimes.length,g=js(a.dom?.css("transform")??"");let d=s.begin;s.keyTimes.forEach((_,N)=>{const C={_matrix:g};l.forEach((M,z)=>{const P=p[z][s.direction=="reverse"?m-N-1:N];this._transformAttributeToCSSObjectUseMatrix(M,P,C)}),N==0?a.dom?.css(Object.assign(C,{transition:""})):(setTimeout(()=>{a.dom?.css(Object.assign(C,{transition:`all ${s.realKeyTimes[N]}ms cubic-bezier(${s.keySplines[N-1].join(",")})`}))},d),d+=s.realKeyTimes[N])}),setTimeout(()=>{s.fill==="remove"&&a.dom?.css(a.originCSSObject??{}),o==this.actions.length-1&&(typeof s.repeatCount=="number"&&++i<s.repeatCount||s.repeatCount=="infinite")&&requestAnimationFrame(()=>{this.currentAnimateName===t&&r()})},s.begin+s.dur)})};r()}_transformAttributeToCSSObjectUseMatrix(t,n,i={}){switch(t){case"translateTo":i._matrix.translateTo(n[0]??0,n[1]??0);break;case"translate":i._matrix.translate(n[0]??0,n[1]??0);break;case"rotate":i._matrix.rotate(n??0);break;case"rotateXTo":i._matrix.rotateXTo(n??0);break;case"rotateYTo":i._matrix.rotateYTo(n??0);break;case"scaleTo":typeof n=="number"?i._matrix.scaleTo(n??1):i._matrix.scaleTo(n[0]??1,n[1]??1);break;case"scale":typeof n=="number"?i._matrix.scale(n??1):i._matrix.scale(n[0]??1,n[1]??1);break;case"scaleX":i._matrix.scale(n??1,1);break;case"scaleY":i._matrix.scale(1,n??1);break;default:Object.assign(i,{[t]:`${n??""}`});break}return Object.assign(i,{transform:i._matrix.toString()}),i}_addAction(t,n=!1){return this.actions=n?[]:this.actions,Array.isArray(t)||(t=[t]),t.forEach(i=>{this.actions.push(Object.assign(i,{realKeyTimes:i.keyTimes.map(r=>i.dur*r)}))}),this}_addAnimate(t=Ng,n=qe,i=0,r=!1){const s=n.keyTimes??[0,1],o=[];return s.forEach((a,l)=>{l>0&&o.push(Ih(n.easeName??"linear"))}),this._addAction({objectIndex:i,attributeName:t.attributeName,values:t.values,begin:n.begin??0,dur:n.dur??300,keyTimes:s,keySplines:o,repeatCount:n.repeatCount??1,direction:n.direction??"normal",fill:n.fill??"freeze"},r),this}_predefinedAnimate(t,n,i,r,s=qe,o=this.objects.length-1){let a=!0,l=!1,p=!1,m=!1;const g=this.objects.length;o=(o+g)%g;const d=(o-1+g)%g,_=(o+1+g)%g,N=this.objects[o],C=this.objects[d],M=this.objects[_];if(C&&d!==o){const z=t(C);z&&(this._addAnimate(z,s,d,a),a=!1,l=!0)}if(N){const z=n(N);z&&(this._addAnimate(z,s,o,a),a=!1,p=!0)}if(M&&_!==o){const z=i(M);z&&(this._addAnimate(z,s,_,a),a=!1,m=!0)}this.objects.forEach((z,P)=>{if(!(P==d&&l||P==o&&p||P==_&&m)){const $=r(z);$&&(this._addAnimate($,s,P,a),a=!1)}})}flip(t=qe,n=this.objects.length-1){const i=n-1,r=this.objects[i],s=this.objects[n],o=js(s.dom?.css("transform")??""),a=o.clone();r.dom?.show(),r.dom?.css("opacity","1");const l=r.el?.getBoundingClientRect();r.dom?.css("opacity","0"),s.dom?.show(),s.dom?.css("opacity","1");const p=s.el?.getBoundingClientRect(),m=r.dom?.css("background-color"),g=s.dom?.css("background-color");a.translate((l?.left??0)-(p?.left??0),(l?.top??0)-(p?.top??0)),a.scale((l?.width??1)/(p?.width??1),(l?.height??1)/(p?.height??1));const d={transform:a.toString(),transition:""};m&&Object.assign(d,{"background-color":m}),s.dom?.css(d);const _={transform:o.toString(),transition:`all ${t.dur}ms cubic-bezier(${Ih(t.easeName??"linear").join(",")})`};g&&Object.assign(_,{"background-color":g}),setTimeout(()=>{s.dom?.css(_)},t.begin)}slideLeft(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[-i.width,0]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[i.width,0],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[-i.width,0],[-i.width,0]]]}),t,n)}slideRight(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[-i.width,0],[0,0]]]}),i=>({attributeName:["translateTo"],values:[[[0,0],[i.width,0]]]}),i=>({attributeName:["translateTo"],values:[[[i.width,0],[i.width,0]]]}),t,n)}slideDown(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[0,i.height]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,-i.height],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[0,i.height],[0,i.height]]]}),t,n)}slideUp(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["translateTo"],values:[[[0,0],[0,-i.height]]]}),i=>({attributeName:["opacity","translateTo"],values:[[1,1],[[0,i.height],[0,0]]]}),i=>{},i=>({attributeName:["translateTo"],values:[[[0,-i.height],[0,-i.height]]]}),t,n)}flipLeft(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,180]]}),i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[-180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipRight(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[0,-180]]}),i=>({attributeName:["opacity","rotateYTo"],values:[[1,1],[180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipDown(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,-180]]}),i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}flipUp(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[0,180]]}),i=>({attributeName:["opacity","rotateXTo"],values:[[1,1],[-180,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}popIn(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[.8,1],[0,1]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}popOut(t=qe,n=this.objects.length-1){this._predefinedAnimate(i=>{},i=>({attributeName:["translateTo","scaleTo","opacity"],values:[[[0,0],[0,0]],[1,1.2],[1,0]]}),i=>{},i=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}rotate(t=qe,n=this.objects.length-1){Object.assign(t,{keyTimes:[0,1]});const i=t.degree??360;this._predefinedAnimate(r=>{},r=>({attributeName:["opacity","rotate"],values:[[1,1],[0,i]]}),r=>{},r=>({attributeName:["opacity"],values:[[0,0]]}),t,n)}}class Og{map;constructor(t,n=120.619585,i=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(n,i),r)}}const Pg=Kt({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("span",{class:"icon",style:Lt(["color: "+n.color])},[Jt(he(Xu),{icon:t.icon,color:n.color},null,8,["icon","color"])],4))}}),Ig=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
|
|
60
|
+
`,te=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Mh=te(Pg,[["styles",[Ig]],["__scopeId","data-v-b2d9b612"]]),Mg=Kt({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("span",{class:"icon",style:Lt(["color: "+n.color])},[Jt(he(Xu),{icon:t.icon,color:n.color},null,8,["icon","color"])],4))}}),z_="",xn=te(Mg,[["__scopeId","data-v-8789b4ce"]]),zr=te(Kt({customOptions:{},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(),o=Ct(i.borderColor),a=Ct(i.bgColor),l=Ct(i.fontColor),p=Ct(i.borderColor),m=Ct(i.bgColor);function g(P){switch(P){case"outline":o.value=i.borderColor??Dt.colorPrimary,a.value=i.bgColor??Dt.colorGrayFF,l.value=i.fontColor??Dt.colorPrimary,p.value=o.value,m.value=a.value;break;default:o.value=i.borderColor??Dt.colorPrimary,a.value=i.bgColor??Dt.colorPrimary,l.value=i.fontColor??Dt.colorGrayFF,p.value=o.value,m.value=a.value;break}}se(()=>i.stylePattern,()=>{g(i.stylePattern)},{immediate:!0});const d=Ct(i.isDisabled?"0.6":"1"),_=Ct(i.isDisabled?"not-allowed":"pointer");let N=!1;const C=()=>{i.isDisabled||(N=!0,o.value=Dn(p.value,10),a.value=Dn(m.value,10))},M=()=>{i.isDisabled||(N=!1,o.value=p.value,a.value=m.value)},z=()=>{i.isDisabled||(o.value=Dn(p.value,-10),a.value=Dn(m.value,-10),setTimeout(()=>{N?C():M()},150),r("ceClick"),r("click"))};return t({wrapper:s}),(P,$)=>(xt(),At("div",{ref_key:"wrapper",ref:s,class:"button",style:Lt([`opacity: ${d.value}`,`border: 1px solid ${o.value}`,`background-color: ${a.value}`,`color: ${l.value}`,`border-radius: ${i.borderRadius}`,`height: ${i.height}`,`line-height: ${i.height}`,`font-size: ${i.fontSize}`,`cursor: ${_.value}`]),onMouseover:C,onMouseleave:M,onClick:z},[A("label",{class:"label truncate",style:Lt({padding:"0 "+P.padding,cursor:_.value})},[pe(P.$slots,"default",{},()=>[P.icon&&P.iconPosition==="left"?(xt(),be(xn,{key:0,icon:P.icon,color:l.value,style:Lt({marginRight:he(Dt).gap4,cursor:_.value})},null,8,["icon","color","style"])):de("",!0),A("span",{style:Lt({cursor:_.value})},ke(P.label),5),P.icon&&P.iconPosition==="right"?(xt(),be(xn,{key:1,icon:P.icon,color:l.value,style:Lt({marginLeft:he(Dt).gap4,cursor:_.value})},null,8,["icon","color","style"])):de("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-6d5475a7]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-6d5475a7]{display:inline-flex;justify-content:center;align-items:center}
|
|
61
|
+
`]],["__scopeId","data-v-6d5475a7"]]),G_="",Ag={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},Dg=Kt({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean},bgColor:{default:Nh(Dt.colorGray0,.25)},isGlobal:{type:Boolean,default:!0}},setup(e,{expose:t,emit:n}){const i=e;function r(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return se(()=>i.visible,()=>{r(i.visible)},{immediate:!0}),t({}),(s,o)=>i.visible?(xt(),At("div",{key:0,class:"overlay",style:Lt([{"z-index":"2000",inset:"0"},[`position: ${i.isGlobal?"fixed":"absolute"};`,"background-color: "+i.bgColor]])},[A("div",{class:"content-fixed",style:Lt([{"z-index":"2001",inset:"0","overflow-y":"auto"},[`position: ${i.isGlobal?"fixed":"absolute"};`]])},[A("div",Ag,[pe(s.$slots,"default",{},void 0,!0)])],4)],4)):de("",!0)}}),H_="",ki=te(Dg,[["__scopeId","data-v-f08aab15"]]),Lg=Kt({customOptions:{Overlay:ki},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150},isGlobal:{type:Boolean,default:!0}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct();let o;const a=tn({}),l=tn({});se(()=>i.directionFrom,()=>{switch(i.directionFrom){case"absolute":o="",a.display="block";break;case"top":o="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":o="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":o="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":o="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:o="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const p=new bn,m=(C=!0)=>{o&&(C?se(s,()=>{s.value&&(p.fromDOM(s.value),p.toCSS(o,{easeName:"ease",dur:i.openDurTime}))},{once:!0}):p.toCSS(o,{easeName:"ease",dur:i.closeDurTime,direction:"reverse"}))},g=Ct(!1);function d(C){C.target.contains(s.value)&&i.closeWhenClickOverlay&&N()}function _(){g.value=!0,m(!0),r("open")}function N(){m(!1),r("close"),setTimeout(()=>{g.value=!1},i.closeDurTime)}return t({open:_,close:N}),(C,M)=>(xt(),be(ki,{visible:g.value,isGlobal:i.isGlobal},{default:fe(()=>[A("div",{class:"pop-parent",style:Lt([{position:"relative",width:"100%",height:"100%"},a]),onClick:d},[A("div",{ref_key:"pop",ref:s,class:"pop",style:Lt([{position:"absolute"},l])},[pe(C.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible","isGlobal"]))}}),U_="",$e=te(Lg,[["__scopeId","data-v-88fef783"]]),$g={id:"page"},Rg={id:"main"},Vg={style:{height:"100%","background-color":"#ffffff"}},Fg={style:{height:"100%","background-color":"#ffffff"}},Ah=te(Kt({customOptions:{Pop:$e},inheritAttrs:!0,__name:"MobileLayout.ce",props:{designWidth:{default:750}},setup(e,{expose:t,emit:n}){M0(e.designWidth);const r=Ct(),s=Ct(),o=Ct(),a=Ct();return t({openLeft:()=>{r.value?.open()},closeLeft:()=>{r.value?.close()},openRight:()=>{s.value?.open()},closeRight:()=>{s.value?.close()}}),(d,_)=>(xt(),At("div",$g,[A("header",{id:"header",ref_key:"refHeader",ref:o},[pe(d.$slots,"header",{},void 0,!0)],512),A("div",Rg,[A("div",null,[pe(d.$slots,"main",{},void 0,!0)])]),A("footer",{id:"footer",ref_key:"refFooter",ref:a},[pe(d.$slots,"footer",{},void 0,!0)],512),Jt($e,{ref_key:"popLeftRef",ref:r,"direction-from":"left",isGlobal:!1},{default:fe(()=>[A("div",Vg,[pe(d.$slots,"left",{},void 0,!0)])]),_:3},512),Jt($e,{ref_key:"popRightRef",ref:s,"direction-from":"right",isGlobal:!1},{default:fe(()=>[A("div",Fg,[pe(d.$slots,"right",{},void 0,!0)])]),_:3},512)]))}}),[["styles",[`#page[data-v-7331747c]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}#main[data-v-7331747c]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}#main>div[data-v-7331747c]{flex:1 1 auto;width:100%}#main>div[data-v-7331747c]>:nth-child(1){min-height:100%}#header[data-v-7331747c],#footer[data-v-7331747c]{flex:0 0 auto}
|
|
62
|
+
`]],["__scopeId","data-v-7331747c"]]),zg={class:"content-relative",style:{position:"relative",width:"100%",height:"100%"}},jg=Kt({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean},bgColor:{default:Nh(Dt.colorGray0,.25)},isGlobal:{type:Boolean,default:!0}},setup(e,{expose:t,emit:n}){const i=e;function r(s){s?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow="",document.body.style.overflow="")}return se(()=>i.visible,()=>{r(i.visible)},{immediate:!0}),t({}),(s,o)=>i.visible?(xt(),At("div",{key:0,class:"overlay",style:Lt([{"z-index":"2000",inset:"0"},[`position: ${i.isGlobal?"fixed":"absolute"};`,"background-color: "+i.bgColor]])},[A("div",{class:"content-fixed",style:Lt([{"z-index":"2001",inset:"0","overflow-y":"auto"},[`position: ${i.isGlobal?"fixed":"absolute"};`]])},[A("div",zg,[pe(s.$slots,"default",{},void 0,!0)])],4)],4)):de("",!0)}}),Ua=te(jg,[["styles",[""]],["__scopeId","data-v-a2310476"]]),Si=te(Kt({customOptions:{Overlay:ki},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},openDurTime:{default:200},closeDurTime:{default:150},isGlobal:{type:Boolean,default:!0}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct();let o;const a=tn({}),l=tn({});se(()=>i.directionFrom,()=>{switch(i.directionFrom){case"absolute":o="",a.display="block";break;case"top":o="slideDown",a.display="block",l.width="100%",l.top="0",l.left="0";break;case"left":o="slideRight",a.display="block",l.height="100%",l.top="0",l.left="0";break;case"right":o="slideLeft",a.display="block",l.height="100%",l.top="0",l.right="0";break;case"bottom":o="slideUp",a.display="block",l.width="100%",l.bottom="0",l.left="0";break;case"center":default:o="popIn",a.display="flex",a.justifyContent="center",a.alignItems="center";break}},{immediate:!0});const p=new bn,m=(C=!0)=>{o&&(C?se(s,()=>{s.value&&(p.fromDOM(s.value),p.toCSS(o,{easeName:"ease",dur:i.openDurTime}))},{once:!0}):p.toCSS(o,{easeName:"ease",dur:i.closeDurTime,direction:"reverse"}))},g=Ct(!1);function d(C){C.target.contains(s.value)&&i.closeWhenClickOverlay&&N()}function _(){g.value=!0,m(!0),r("open")}function N(){m(!1),r("close"),setTimeout(()=>{g.value=!1},i.closeDurTime)}return t({open:_,close:N}),(C,M)=>(xt(),be(ki,{visible:g.value,isGlobal:i.isGlobal},{default:fe(()=>[A("div",{class:"pop-parent",style:Lt([{position:"relative",width:"100%",height:"100%"},a]),onClick:d},[A("div",{ref_key:"pop",ref:s,class:"pop",style:Lt([{position:"absolute"},l])},[pe(C.$slots,"default",{},void 0,!0)],4)],4)]),_:3},8,["visible","isGlobal"]))}}),[["styles",[""]],["__scopeId","data-v-2a84faee"]]),Bg=Kt({customOptions:{},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},isDisabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{}},emits:["ceClick","click"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(),o=Ct(i.borderColor),a=Ct(i.bgColor),l=Ct(i.fontColor),p=Ct(i.borderColor),m=Ct(i.bgColor);function g(P){switch(P){case"outline":o.value=i.borderColor??Dt.colorPrimary,a.value=i.bgColor??Dt.colorGrayFF,l.value=i.fontColor??Dt.colorPrimary,p.value=o.value,m.value=a.value;break;default:o.value=i.borderColor??Dt.colorPrimary,a.value=i.bgColor??Dt.colorPrimary,l.value=i.fontColor??Dt.colorGrayFF,p.value=o.value,m.value=a.value;break}}se(()=>i.stylePattern,()=>{g(i.stylePattern)},{immediate:!0});const d=Ct(i.isDisabled?"0.6":"1"),_=Ct(i.isDisabled?"not-allowed":"pointer");let N=!1;const C=()=>{i.isDisabled||(N=!0,o.value=Dn(p.value,10),a.value=Dn(m.value,10))},M=()=>{i.isDisabled||(N=!1,o.value=p.value,a.value=m.value)},z=()=>{i.isDisabled||(o.value=Dn(p.value,-10),a.value=Dn(m.value,-10),setTimeout(()=>{N?C():M()},150),r("ceClick"),r("click"))};return t({wrapper:s}),(P,$)=>(xt(),At("div",{ref_key:"wrapper",ref:s,class:"button",style:Lt([`opacity: ${d.value}`,`border: 1px solid ${o.value}`,`background-color: ${a.value}`,`color: ${l.value}`,`border-radius: ${i.borderRadius}`,`height: ${i.height}`,`line-height: ${i.height}`,`font-size: ${i.fontSize}`,`cursor: ${_.value}`]),onMouseover:C,onMouseleave:M,onClick:z},[A("label",{class:"label truncate",style:Lt({padding:"0 "+P.padding,cursor:_.value})},[pe(P.$slots,"default",{},()=>[P.icon&&P.iconPosition==="left"?(xt(),be(xn,{key:0,icon:P.icon,color:l.value,style:Lt({marginRight:he(Dt).gap4,cursor:_.value})},null,8,["icon","color","style"])):de("",!0),A("span",{style:Lt({cursor:_.value})},ke(P.label),5),P.icon&&P.iconPosition==="right"?(xt(),be(xn,{key:1,icon:P.icon,color:l.value,style:Lt({marginLeft:he(Dt).gap4,cursor:_.value})},null,8,["icon","color","style"])):de("",!0)],!0)],4)],36))}}),Z_="",xe=te(Bg,[["__scopeId","data-v-f3d3c7ec"]]),Gg={class:"dialog-wrap"},Hg={class:"dialog"},Ug={key:0,class:"title"},Wg={key:0,class:"title-inner truncate"},qg={class:"custom-content"},Yg={key:1,class:"btns"},Wa=te(Kt({customOptions:{Overlay:ki,Pop:$e,Icon:xn,Button:xe},inheritAttrs:!0,__name:"Dialog.ce",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}function l(){a(),r("cancel")}function p(){a(),r("confirm")}return t({open:o,close:a}),(m,g)=>(xt(),be($e,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:fe(()=>[A("div",Gg,[A("div",Hg,[m.showTitle||m.showClose?(xt(),At("div",Ug,[m.showTitle?(xt(),At("div",Wg,ke(m.title),1)):de("",!0),m.showClose?(xt(),be(xn,{key:1,class:"close",icon:"ic:baseline-close",color:he(Dt).colorGrayCC,onClick:a},null,8,["color"])):de("",!0)])):de("",!0),A("div",qg,[pe(m.$slots,"default",{},()=>[De(ke(m.content),1)],!0)]),m.showCancel||m.showConfirm?(xt(),At("div",Yg,[m.showCancel?(xt(),be(xe,{key:0,onClick:l,class:"btn",bgColor:he(Dt).colorGrayE6,borderColor:he(Dt).colorGrayE6,fontColor:he(Dt).colorGray3,borderRadius:"0"},{default:fe(()=>[De(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):de("",!0),m.showConfirm?(xt(),be(xe,{key:1,onClick:p,class:"btn",borderRadius:"0"},{default:fe(()=>[De(" 确定 ")]),_:1})):de("",!0)])):de("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.dialog-wrap[data-v-98fe6558]{display:flex;justify-content:center;align-items:center}.dialog[data-v-98fe6558]{border-radius:8px;background-color:#fff;min-width:20em;max-width:50%;overflow:hidden}.title[data-v-98fe6558]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-98fe6558]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-98fe6558]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em}.custom-content[data-v-98fe6558]{font-size:16px;padding:1em;word-break:break-all}.btns[data-v-98fe6558]{display:flex;justify-content:center}.btn[data-v-98fe6558]{flex:1 1 auto;border-radius:0}
|
|
63
|
+
`]],["__scopeId","data-v-98fe6558"]]),Xg=Kt({__name:"SVGLoading.ce",props:{width:{default:"4em"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{viewBox:"25 25 50 50",style:Lt(["width: "+t.width])},[A("circle",{cx:"50",cy:"50",r:"20",style:Lt(["stroke: "+t.color])},null,4)],4))}}),Kg=te(Xg,[["styles",[`svg[data-v-98779112]{transform-origin:center;animation:rotate-98779112 2s linear infinite}circle[data-v-98779112]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-98779112 1.5s ease-in-out infinite}@keyframes rotate-98779112{to{transform:rotate(360deg)}}@keyframes dash-98779112{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
|
|
64
|
+
`]],["__scopeId","data-v-98779112"]]),Zg={class:"dialog-wrap"},Qg={class:"dialog"},Jg={key:0,class:"title"},tv={key:0,class:"title-inner truncate"},ev={class:"custom-content"},nv={key:1,class:"btns"},iv=Kt({customOptions:{Overlay:ki,Pop:$e,Icon:xn,Button:xe},inheritAttrs:!0,__name:"Dialog",props:{title:{default:"通知"},content:{default:"..."},showTitle:{type:Boolean,default:!0},showClose:{type:Boolean,default:!1},showCancel:{type:Boolean,default:!1},showConfirm:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}function l(){a(),r("cancel")}function p(){a(),r("confirm")}return t({open:o,close:a}),(m,g)=>(xt(),be($e,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:fe(()=>[A("div",Zg,[A("div",Qg,[m.showTitle||m.showClose?(xt(),At("div",Jg,[m.showTitle?(xt(),At("div",tv,ke(m.title),1)):de("",!0),m.showClose?(xt(),be(xn,{key:1,class:"close",icon:"ic:baseline-close",color:he(Dt).colorGrayCC,onClick:a},null,8,["color"])):de("",!0)])):de("",!0),A("div",ev,[pe(m.$slots,"default",{},()=>[De(ke(m.content),1)],!0)]),m.showCancel||m.showConfirm?(xt(),At("div",nv,[m.showCancel?(xt(),be(xe,{key:0,onClick:l,class:"btn",bgColor:he(Dt).colorGrayE6,borderColor:he(Dt).colorGrayE6,fontColor:he(Dt).colorGray3,borderRadius:"0"},{default:fe(()=>[De(" 取消 ")]),_:1},8,["bgColor","borderColor","fontColor"])):de("",!0),m.showConfirm?(xt(),be(xe,{key:1,onClick:p,class:"btn",borderRadius:"0"},{default:fe(()=>[De(" 确定 ")]),_:1})):de("",!0)])):de("",!0)])])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),e1="",Dh=te(iv,[["__scopeId","data-v-002ae342"]]),rv=Kt({__name:"SVGLoading",props:{width:{default:"4em"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{viewBox:"25 25 50 50",style:Lt(["width: "+t.width])},[A("circle",{cx:"50",cy:"50",r:"20",style:Lt(["stroke: "+t.color])},null,4)],4))}}),n1="",Lh=te(rv,[["__scopeId","data-v-29f8de14"]]),sv={class:"loading"},ov={class:"icon"},av={key:0,class:"content"},$h=te(Kt({customOptions:{Overlay:ki,Pop:$e,Dialog:Dh,SVGLoading:Lh},inheritAttrs:!0,__name:"DialogLoading.ce",props:{content:{},closeWhenClickOverlay:{type:Boolean,default:!1},openDurTime:{default:200},closeDurTime:{default:150}},emits:["open","close"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct();function o(){s.value.open(),r("open")}function a(){s.value.close(),r("close")}return t({open:o,close:a}),(l,p)=>(xt(),be(Dh,{ref_key:"dialogRef",ref:s,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:i.closeWhenClickOverlay,openDurTime:i.openDurTime,closeDurTime:i.closeDurTime},{default:fe(()=>[A("div",sv,[A("div",ov,[pe(l.$slots,"default",{},()=>[Jt(Lh)],!0)]),l.content?(xt(),At("div",av,ke(l.content),1)):de("",!0)])]),_:3},8,["closeWhenClickOverlay","openDurTime","closeDurTime"]))}}),[["styles",[`.loading[data-v-f95be0da]{display:flex;flex-direction:column;justify-content:center;align-items:center}.icon[data-v-f95be0da]{padding:2em 0}.content[data-v-f95be0da]{font-size:1em;margin-top:-1em;margin-bottom:1em}
|
|
65
|
+
`]],["__scopeId","data-v-f95be0da"]]),lv=["onClick","value"],cv=te(Kt({customOptions:{Icon:xn,Button:xe},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=function(){return{"--select-option-bg-color":Dt.colorGrayFF,"--select-option-bg-color-hover":Dt.colorGrayF5}},s=Ct(!1),o=Ct(n.initIndex);se(o,function(){i("change",n.options[o.value])});function a(){s.value=!s.value}function l(p){o.value=p,s.value=!1}return(p,m)=>(xt(),At("div",{class:"wrap",style:Lt(["font-size:"+p.fontSize])},[A("div",{onClick:a},[pe(p.$slots,"button",{selectedIndex:o.value},()=>[Jt(xe,{icon:"carbon:chevron-sort",iconPosition:"right",label:p.options[o.value],style:{width:"100%"}},null,8,["label"])],!0)]),$o(A("div",{class:"options",style:Lt({border:"1px solid "+he(Dt).colorGrayCC})},[(xt(!0),At(ve,null,Kn(p.options,(g,d)=>(xt(),At("div",{onClick:_=>l(d),class:"option",key:d,value:d,style:Lt({borderTop:(d==0?"0":"1px")+" solid "+he(Dt).colorGrayCC})},[A("div",{class:"option-inner",style:r},[pe(p.$slots,"default",{item:g,index:d},()=>[A("span",null,ke(g),1),d==o.value?(xt(),be(xn,{key:0,icon:"mingcute:check-fill",class:"icon"})):de("",!0)],!0)])],12,lv))),128))],4),[[ks,s.value]])],4))}}),[["styles",[`.wrap[data-v-fd1230c0]{display:inline-block;position:relative}.button[data-v-fd1230c0]{position:relative;width:100%;border-width:0;display:flex;justify-content:center;padding:0}.options[data-v-fd1230c0]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box}.option[data-v-fd1230c0]{cursor:pointer}.option-inner[data-v-fd1230c0]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-fd1230c0]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-fd1230c0]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
|
|
66
|
+
`]],["__scopeId","data-v-fd1230c0"]]),uv=Kt({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"52px"},height:{default:"32px"},padding:{default:"4px"},colorPrimary:{default:Dt.colorPrimary},colorBgOn:{default:Dt.colorGrayEF},colorBgOff:{default:Dt.colorGrayF5}},emits:["change"],setup(e,{emit:t}){const n=e;function i(_){const N=um("number",_);return{number:N.fullMatch?parseFloat(N.fullMatch):0,suffix:N.fullMatch?_.substring(N.matchIndex+N.fullMatch.length+1):""}}const r=i(n.width),s=i(n.height),o=i(n.padding),a=s.number-o.number*2+s.suffix,l=n.padding,p=r.number-i(l).number-i(a).number+r.suffix,m=t,g=Ct(n.init);se(g,function(){m("change",g.value)});function d(){g.value=!g.value}return(_,N)=>(xt(),At("div",{class:"switch",onClick:d,style:Lt(["width: "+n.width,"height: "+n.height,"background-color: "+(g.value?n.colorBgOn:n.colorBgOff)])},[A("span",{class:"round",style:Lt(["width: "+a,"height: "+a,"background-color: "+(g.value?n.colorPrimary:he(Dn)(n.colorPrimary,30)),"transform: translate("+(g.value?p:he(l))+", 0)"])},null,4)],4))}}),hv=te(uv,[["styles",[`.switch[data-v-6bad62b2]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-6bad62b2]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
|
|
67
|
+
`]],["__scopeId","data-v-6bad62b2"]]),fv={class:"wrap"},dv=["onClick"],pv=["stroke","fill"],mv=["stroke","fill"],gv=["stroke"],vv=Kt({customOptions:{},__name:"RadioGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!0},isFullfilled:{type:Boolean,default:!1},colorPath:{default:Dt.colorPrimary},colorBg:{default:Dt.colorGrayFF},colorBorder:{default:Dt.colorGrayCC},fontSize:{default:Dt.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=Ct(n.colorPath),s=Ct(n.colorBg),o=Ct(n.colorBorder);n.isFullfilled&&(r.value=n.colorBg,s.value=n.colorPath,o.value=n.colorPath);let a=Ct(n.initIndexs??0);se(a,function(){i("change",n.options[a.value])});const l=function(p){a.value=p};return(p,m)=>(xt(),At("div",fv,[(xt(!0),At(ve,null,Kn(p.options,(g,d)=>(xt(),At("span",{class:"item",key:d,onClick:_=>l(d),style:Lt(["margin-left:"+(d>0?n.itemPadding:0)])},[pe(p.$slots,"default",{label:g,index:d},()=>[(xt(),At("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:Lt(["margin-right:"+n.labelPadding,"width:"+n.itemWidth])},[n.isRounded?de("",!0):(xt(),At("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:o.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,pv)),n.isRounded?(xt(),At("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:o.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,mv)):de("",!0),$o(A("path",{d:"M7 13l3 3 7-7",stroke:r.value,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,gv),[[ks,he(a)===d]])],4)),A("span",{style:Lt(["font-size:"+n.fontSize])},ke(g),5)],!0)],12,dv))),128))]))}}),yv=te(vv,[["styles",[`.wrap[data-v-9a00674d]{display:inline-block;position:relative}.item[data-v-9a00674d]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-9a00674d]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
|
|
68
|
+
`]],["__scopeId","data-v-9a00674d"]]),_v={class:"wrap"},bv=["onClick"],xv=["stroke","fill"],wv=["stroke","fill"],Ev=["stroke"],Cv=Kt({customOptions:{},__name:"CheckboxGroup.ce",props:{options:{},initIndexs:{},isRounded:{type:Boolean,default:!1},isFullfilled:{type:Boolean,default:!1},colorPath:{default:Dt.colorPrimary},colorBg:{default:Dt.colorGrayFF},colorBorder:{default:Dt.colorGrayCC},fontSize:{default:Dt.fontSize14},itemWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=Ct(n.colorPath),s=Ct(n.colorBg),o=Ct(n.colorBorder);n.isFullfilled&&(r.value=n.colorBg,s.value=n.colorPath,o.value=n.colorPath);let a=tn(n.initIndexs??[0]);se(a,function(){i("change",a.map(p=>n.options[p]))});const l=function(p){const m=a.findIndex(g=>g===p);m>=0?a.splice(m,1):a.push(p)};return(p,m)=>(xt(),At("div",_v,[(xt(!0),At(ve,null,Kn(p.options,(g,d)=>(xt(),At("span",{class:"item",key:d,onClick:_=>l(d),style:Lt(["margin-left:"+(d>0?n.itemPadding:0)])},[pe(p.$slots,"default",{label:g,index:d},()=>[(xt(),At("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:Lt(["margin-right:"+n.labelPadding,"width:"+n.itemWidth])},[n.isRounded?de("",!0):(xt(),At("rect",{key:0,x:"0",y:"0",width:"22",height:"22",stroke:o.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,xv)),n.isRounded?(xt(),At("circle",{key:1,cx:"12",cy:"12",r:"11",stroke:o.value,"strke-width":"1",fill:s.value,"fill-opacity":1},null,8,wv)):de("",!0),$o(A("path",{d:"M7 13l3 3 7-7",stroke:r.value,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ev),[[ks,he(a).findIndex(_=>_===d)>=0]])],4)),A("span",{style:Lt(["font-size:"+n.fontSize])},ke(g),5)],!0)],12,bv))),128))]))}}),kv=te(Cv,[["styles",[`.wrap[data-v-f418d0bb]{display:inline-block;position:relative}.item[data-v-f418d0bb]{display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.icon[data-v-f418d0bb]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
|
|
69
|
+
`]],["__scopeId","data-v-f418d0bb"]]),Sv=(e=>(gr("data-v-8d198707"),e=e(),vr(),e))(()=>A("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),qa=te(Kt({customOptions:{Pop:$e,Button:xe},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0}},setup(e){const t=e,n=Ct(),i=Ct(),r=Ct(),s=tn({left:"0",top:"0"});se(i,()=>{o()}),se(r,()=>{o()});function o(){if(!i.value||!r.value)return;const l=xa(),p=i.value.getBoundingClientRect(),m=r.value.getBoundingClientRect(),g=m.width,d=m.height;let _=p.x+p.width+t.gap,N=p.y;_=Math.max(t.gap,Math.min(_,l.width-g-t.gap)),N=Math.max(t.gap,Math.min(N,l.height-d-t.gap)),s.left=`${_}px`,s.top=`${N}px`}function a(){n.value.open()}return(l,p)=>(xt(),At(ve,null,[A("div",{ref_key:"popoverButtonRef",ref:i,style:{display:"inline-block"},onClick:a},[pe(l.$slots,"button",{},()=>[Jt(xe,null,{default:fe(()=>[De("popover-default-button")]),_:1})],!0)],512),Jt($e,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:t.isGlobal},{default:fe(()=>[A("div",{ref_key:"popoverPanelRef",ref:r,style:Lt([{display:"inline-block",position:"absolute"},s])},[pe(l.$slots,"panel",{},()=>[Sv],!0)],4)]),_:3},8,["isGlobal"])],64))}}),[["styles",[""]],["__scopeId","data-v-8d198707"]]),Tv=(e=>(gr("data-v-d02782ac"),e=e(),vr(),e))(()=>A("div",{style:{"background-color":"#ffffff"}},"popover-default-panel",-1)),Nv=Kt({customOptions:{Pop:$e,Button:xe},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0}},setup(e){const t=e,n=Ct(),i=Ct(),r=Ct(),s=tn({left:"0",top:"0"});se(i,()=>{o()}),se(r,()=>{o()});function o(){if(!i.value||!r.value)return;const l=xa(),p=i.value.getBoundingClientRect(),m=r.value.getBoundingClientRect(),g=m.width,d=m.height;let _=p.x+p.width+t.gap,N=p.y;_=Math.max(t.gap,Math.min(_,l.width-g-t.gap)),N=Math.max(t.gap,Math.min(N,l.height-d-t.gap)),s.left=`${_}px`,s.top=`${N}px`}function a(){n.value.open()}return(l,p)=>(xt(),At(ve,null,[A("div",{ref_key:"popoverButtonRef",ref:i,style:{display:"inline-block"},onClick:a},[pe(l.$slots,"button",{},()=>[Jt(xe,null,{default:fe(()=>[De("popover-default-button")]),_:1})],!0)],512),Jt($e,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:t.isGlobal},{default:fe(()=>[A("div",{ref_key:"popoverPanelRef",ref:r,style:Lt([{display:"inline-block",position:"absolute"},s])},[pe(l.$slots,"panel",{},()=>[Tv],!0)],4)]),_:3},8,["isGlobal"])],64))}}),p1="",Rh=te(Nv,[["__scopeId","data-v-d02782ac"]]),Hi=(e,t=0,n=1)=>e>n?n:e<t?t:e,Ie=(e,t=0,n=Math.pow(10,t))=>Math.round(n*e)/n,Ov=e=>Av(Ya(e)),Ya=e=>(e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Ie(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Ie(parseInt(e.substring(6,8),16)/255,2):1}),Pv=e=>Mv(Iv(e)),Vh=({h:e,s:t,v:n,a:i})=>{const r=(200-t)*n/100;return{h:Ie(e),s:Ie(r>0&&r<200?t*n/100/(r<=100?r:200-r)*100:0),l:Ie(r/2),a:Ie(i,2)}},Xa=e=>{const{h:t,s:n,l:i}=Vh(e);return`hsl(${t}, ${n}%, ${i}%)`},Ka=e=>{const{h:t,s:n,l:i,a:r}=Vh(e);return`hsla(${t}, ${n}%, ${i}%, ${r})`},Iv=({h:e,s:t,v:n,a:i})=>{e=e/360*6,t=t/100,n=n/100;const r=Math.floor(e),s=n*(1-t),o=n*(1-(e-r)*t),a=n*(1-(1-e+r)*t),l=r%6;return{r:Ie([n,o,s,s,a,n][l]*255),g:Ie([a,n,n,o,s,s][l]*255),b:Ie([s,s,a,n,n,o][l]*255),a:Ie(i,2)}},Us=e=>{const t=e.toString(16);return t.length<2?"0"+t:t},Mv=({r:e,g:t,b:n,a:i})=>{const r=i<1?Us(Ie(i*255)):"";return"#"+Us(e)+Us(t)+Us(n)+r},Av=({r:e,g:t,b:n,a:i})=>{const r=Math.max(e,t,n),s=r-Math.min(e,t,n),o=s?r===e?(t-n)/s:r===t?2+(n-e)/s:4+(e-t)/s:0;return{h:Ie(60*(o<0?o+6:o)),s:Ie(r?s/r*100:0),v:Ie(r/255*100),a:i}},Fh=(e,t)=>{if(e===t)return!0;for(const n in e)if(e[n]!==t[n])return!1;return!0},Dv=(e,t)=>e.toLowerCase()===t.toLowerCase()?!0:Fh(Ya(e),Ya(t)),zh={},jh=e=>{let t=zh[e];return t||(t=document.createElement("template"),t.innerHTML=e,zh[e]=t),t},Za=(e,t,n)=>{e.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:n}))};let Ui=!1;const Qa=e=>"touches"in e,Lv=e=>Ui&&!Qa(e)?!1:(Ui||(Ui=Qa(e)),!0),Bh=(e,t)=>{const n=Qa(t)?t.touches[0]:t,i=e.el.getBoundingClientRect();Za(e.el,"move",e.getMove({x:Hi((n.pageX-(i.left+window.pageXOffset))/i.width),y:Hi((n.pageY-(i.top+window.pageYOffset))/i.height)}))},$v=(e,t)=>{const n=t.keyCode;n>40||e.xy&&n<37||n<33||(t.preventDefault(),Za(e.el,"move",e.getMove({x:n===39?.01:n===37?-.01:n===34?.05:n===33?-.05:n===35?1:n===36?-1:0,y:n===40?.01:n===38?-.01:0},!0)))};class Ja{constructor(t,n,i,r){const s=jh(`<div role="slider" tabindex="0" part="${n}" ${i}><div part="${n}-pointer"></div></div>`);t.appendChild(s.content.cloneNode(!0));const o=t.querySelector(`[part=${n}]`);o.addEventListener("mousedown",this),o.addEventListener("touchstart",this),o.addEventListener("keydown",this),this.el=o,this.xy=r,this.nodes=[o.firstChild,o]}set dragging(t){const n=t?document.addEventListener:document.removeEventListener;n(Ui?"touchmove":"mousemove",this),n(Ui?"touchend":"mouseup",this)}handleEvent(t){switch(t.type){case"mousedown":case"touchstart":if(t.preventDefault(),!Lv(t)||!Ui&&t.button!=0)return;this.el.focus(),Bh(this,t),this.dragging=!0;break;case"mousemove":case"touchmove":t.preventDefault(),Bh(this,t);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":$v(this,t);break}}style(t){t.forEach((n,i)=>{for(const r in n)this.nodes[i].style.setProperty(r,n[r])})}}class Rv extends Ja{constructor(t){super(t,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:t}){this.h=t,this.style([{left:`${t/360*100}%`,color:Xa({h:t,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Ie(t)}`)}getMove(t,n){return{h:n?Hi(this.h+t.x*360,0,360):360*t.x}}}class Vv extends Ja{constructor(t){super(t,"saturation",'aria-label="Color"',!0)}update(t){this.hsva=t,this.style([{top:`${100-t.v}%`,left:`${t.s}%`,color:Xa(t)},{"background-color":Xa({h:t.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Ie(t.s)}%, Brightness ${Ie(t.v)}%`)}getMove(t,n){return{s:n?Hi(this.hsva.s+t.x*100,0,100):t.x*100,v:n?Hi(this.hsva.v-t.y*100,0,100):Math.round(100-t.y*100)}}}const Fv=':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',zv="[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}",jv="[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}",Ws=Symbol("same"),tl=Symbol("color"),Gh=Symbol("hsva"),el=Symbol("update"),Hh=Symbol("parts"),qs=Symbol("css"),Ys=Symbol("sliders");let Bv=class extends HTMLElement{static get observedAttributes(){return["color"]}get[qs](){return[Fv,zv,jv]}get[Ys](){return[Vv,Rv]}get color(){return this[tl]}set color(t){if(!this[Ws](t)){const n=this.colorModel.toHsva(t);this[el](n),this[tl]=t}}constructor(){super();const t=jh(`<style>${this[qs].join("")}</style>`),n=this.attachShadow({mode:"open"});n.appendChild(t.content.cloneNode(!0)),n.addEventListener("move",this),this[Hh]=this[Ys].map(i=>new i(n))}connectedCallback(){if(this.hasOwnProperty("color")){const t=this.color;delete this.color,this.color=t}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(t,n,i){const r=this.colorModel.fromAttr(i);this[Ws](r)||(this.color=r)}handleEvent(t){const n=this[Gh],i={...n,...t.detail};this[el](i);let r;!Fh(i,n)&&!this[Ws](r=this.colorModel.fromHsva(i))&&(this[tl]=r,Za(this,"color-changed",{value:r}))}[Ws](t){return this.color&&this.colorModel.equal(t,this.color)}[el](t){this[Gh]=t,this[Hh].forEach(n=>n.update(t))}};class Gv extends Ja{constructor(t){super(t,"alpha",'aria-label="Alpha" aria-valuemin="0" aria-valuemax="1"',!1)}update(t){this.hsva=t;const n=Ka({...t,a:0}),i=Ka({...t,a:1}),r=t.a*100;this.style([{left:`${r}%`,color:Ka(t)},{"--gradient":`linear-gradient(90deg, ${n}, ${i}`}]);const s=Ie(r);this.el.setAttribute("aria-valuenow",`${s}`),this.el.setAttribute("aria-valuetext",`${s}%`)}getMove(t,n){return{a:n?Hi(this.hsva.a+t.x):t.x}}}const Hv=`[part=alpha]{flex:0 0 24px}[part=alpha]::after{display:block;content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-image:var(--gradient);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part^=alpha]{background-color:#fff;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>')}[part=alpha-pointer]{top:50%}`;class Uv extends Bv{get[qs](){return[...super[qs],Hv]}get[Ys](){return[...super[Ys],Gv]}}const Wv={defaultColor:"#0001",toHsva:Ov,fromHsva:Pv,equal:Dv,fromAttr:e=>e};class qv extends Uv{get colorModel(){return Wv}}class Yv extends qv{}customElements.define("hex-alpha-color-picker",Yv);const Xv=Kt({customOptions:{Popover:Rh},__name:"ColorPicker.ce",props:{color:{default:Dt.colorPrimary}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=Ct(n.color);se(r,(a,l)=>{a!==l&&i("change",a)});const s=Ct(),o=a=>{r.value=a.detail.value};return se(s,()=>{s.value&&(s.value.removeEventListener("color-changed",o),s.value.addEventListener("color-changed",o))}),(a,l)=>{const p=Td("hex-alpha-color-picker");return xt(),be(Rh,null,{button:fe(()=>[pe(a.$slots,"default",{},()=>[A("span",{class:"button",style:Lt({backgroundColor:r.value})},null,4)],!0)]),panel:fe(()=>[Jt(p,{ref_key:"colorPickerRef",ref:s,color:r.value},null,8,["color"])]),_:3})}}}),Uh=te(Xv,[["styles",[`.button[data-v-ccef37cf]{display:inline-block;vertical-align:middle;width:1em;height:1em;border-radius:.3em;cursor:pointer}
|
|
70
|
+
`]],["__scopeId","data-v-ccef37cf"]]),Kv=`.resize-observer[data-v-5beaa9ca]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-5beaa9ca] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}
|
|
71
|
+
`,Zv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!0},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Ea&&this.$el.appendChild(e),e.data="about:blank",Ea||this.$el.appendChild(e)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("resize",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Ea&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},Qv={class:"resize-observer",tabindex:"-1"};function Jv(e,t,n,i,r,s){return xt(),At("div",Qv)}const ty=te(Zv,[["render",Jv],["styles",[Kv]],["__scopeId","data-v-5beaa9ca"]]),ey=()=>{const e=Ct(window.innerWidth),t=Ct(window.innerHeight),n=i=>{e.value=i.target.innerWidth,t.value=i.target.innerHeight};return hs(()=>window.addEventListener("resize",n)),fs(()=>window.removeEventListener("resize",n)),{width:e,height:t}},ny=Kt({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(e,{expose:t,emit:n}){const i=e,{width:r,height:s}=ey(),o=Ct(i.mapWidth??r.value+"px"),a=Ct(i.mapHeight??s.value+"px");return se(r,(l,p)=>{l!=p&&!i.mapWidth&&(o.value=l+"px")}),se(s,(l,p)=>{l!=p&&!i.mapHeight&&(a.value=l+"px")}),hs(()=>{Zt.loadScript(`http://api.tianditu.gov.cn/api?v=4.0&tk=${i.mapKey}`,()=>{new Og(i.mapContainerID,i.mapCenterLng,i.mapCenterLat,i.mapZoom)},l=>{console.log("error",l)})}),t({}),(l,p)=>(xt(),At("div",Ko({class:"mapDivWrap"},l.$attrs,{style:{position:"relative",width:o.value,height:a.value}}),[pe(l.$slots,"default",{width:o.value,height:a.value})],16))}}),iy=["fill"],ry=["fill"],sy=Kt({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{style:Lt(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[A("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,iy),A("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,ry)],4))}}),oy=te(sy,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
|
|
72
|
+
`]],["__scopeId","data-v-8fe3f9fd"]]),ay=["fill"],ly=["fill"],cy=Kt({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{style:Lt(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[A("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,ay),A("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,ly)],4))}}),v1="",Wh=te(cy,[["__scopeId","data-v-987aed3d"]]),nl=e=>(gr("data-v-85491020"),e=e(),vr(),e),uy=[nl(()=>A("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),nl(()=>A("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),nl(()=>A("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],hy=Kt({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{style:Lt(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},uy,4))}}),x1="",Wi=te(hy,[["__scopeId","data-v-85491020"]]),fy=["data-unactive"],dy=["data-unactive"],py=["data-unactive"],my=["data-unactive"],gy=["data-unactive"],vy=["data-unactive"],yy=["data-unactive"],_y=["data-unactive"],by=["data-unactive"],xy=["data-unactive"],wy=["data-unactive"],Ey=["data-unactive"],Cy=["data-unactive"],ky=["data-unactive"],Sy=["data-unactive"],Ty=["data-unactive"],Ny=["data-unactive"],Oy=Kt({customOptions:{Pop:$e,SVGCleanUp:Wi},__name:"PlateKeyboard",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(),o=Ct(0),a=tn([]);function l(){a.length==0?o.value=0:a.length==1?o.value=1:o.value=2,a.length>=i.completePlateLength&&m()}se(()=>[...i.initPlates],()=>{Nr(a,i.initPlates),l()},{immediate:!0});const p=()=>{s.value.open(),r("open")},m=()=>{s.value.close(),r("close")},g=()=>{a.pop(),l(),r("plates",a)},d=_=>{if(_.target.dataset.unactive||"")return;let C=_.target.dataset.number;C&&(a.push(C),l(),r("plates",a))};return t({open:p,close:m}),(_,N)=>(xt(),be($e,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:fe(()=>[A("div",{class:"popup-plate",style:Lt({paddingBottom:he(Dt).safeAreaBottom})},[A("div",null,[A("div",{onClick:m},"关闭")]),A("div",{class:Ht(["step",o.value==0?"":"hide"])},[A("div",{class:"popitem",onClick:d,"data-number":"京"}," 京 "),A("div",{class:"popitem",onClick:d,"data-number":"沪"}," 沪 "),A("div",{class:"popitem",onClick:d,"data-number":"津"}," 津 "),A("div",{class:"popitem",onClick:d,"data-number":"渝"}," 渝 "),A("div",{class:"popitem",onClick:d,"data-number":"黑"}," 黑 "),A("div",{class:"popitem",onClick:d,"data-number":"吉"}," 吉 "),A("div",{class:"popitem",onClick:d,"data-number":"辽"}," 辽 "),A("div",{class:"popitem",onClick:d,"data-number":"蒙"}," 蒙 "),A("div",{class:"popitem",onClick:d,"data-number":"冀"}," 冀 "),A("div",{class:"popitem",onClick:d,"data-number":"新"}," 新 "),A("div",{class:"popitem",onClick:d,"data-number":"甘"}," 甘 "),A("div",{class:"popitem",onClick:d,"data-number":"青"}," 青 "),A("div",{class:"popitem",onClick:d,"data-number":"陕"}," 陕 "),A("div",{class:"popitem",onClick:d,"data-number":"宁"}," 宁 "),A("div",{class:"popitem",onClick:d,"data-number":"豫"}," 豫 "),A("div",{class:"popitem",onClick:d,"data-number":"鲁"}," 鲁 "),A("div",{class:"popitem",onClick:d,"data-number":"晋"}," 晋 "),A("div",{class:"popitem",onClick:d,"data-number":"皖"}," 皖 "),A("div",{class:"popitem",onClick:d,"data-number":"鄂"}," 鄂 "),A("div",{class:"popitem",onClick:d,"data-number":"湘"}," 湘 "),A("div",{class:"popitem",onClick:d,"data-number":"苏"}," 苏 "),A("div",{class:"popitem",onClick:d,"data-number":"川"}," 川 "),A("div",{class:"popitem",onClick:d,"data-number":"云"}," 云 "),A("div",{class:"popitem",onClick:d,"data-number":"桂"}," 桂 "),A("div",{class:"popitem",onClick:d,"data-number":"藏"}," 藏 "),A("div",{class:"popitem",onClick:d,"data-number":"浙"}," 浙 "),A("div",{class:"popitem",onClick:d,"data-number":"赣"}," 赣 "),A("div",{class:"popitem",onClick:d,"data-number":"粤"}," 粤 "),A("div",{class:"popitem",onClick:d,"data-number":"闽"}," 闽 "),A("div",{class:"popitem",onClick:d,"data-number":"琼"}," 琼 "),A("div",{class:"popitem",onClick:d,"data-number":"贵"}," 贵 "),A("div",{class:"popitem popitem-clear",onClick:g},[Jt(Wi,{width:"16px"})])],2),A("div",{class:Ht(["step",o.value!=0?"":"hide"])},[A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"1","data-unactive":o.value!=2?"unactive":""}," 1 ",10,fy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"2","data-unactive":o.value!=2?"unactive":""}," 2 ",10,dy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"3","data-unactive":o.value!=2?"unactive":""}," 3 ",10,py),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"4","data-unactive":o.value!=2?"unactive":""}," 4 ",10,my),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"5","data-unactive":o.value!=2?"unactive":""}," 5 ",10,gy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"6","data-unactive":o.value!=2?"unactive":""}," 6 ",10,vy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"7","data-unactive":o.value!=2?"unactive":""}," 7 ",10,yy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"8","data-unactive":o.value!=2?"unactive":""}," 8 ",10,_y),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"9","data-unactive":o.value!=2?"unactive":""}," 9 ",10,by),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"0","data-unactive":o.value!=2?"unactive":""}," 0 ",10,xy),A("div",{class:"popitem",onClick:d,"data-number":"A"}," A "),A("div",{class:"popitem",onClick:d,"data-number":"B"}," B "),A("div",{class:"popitem",onClick:d,"data-number":"C"}," C "),A("div",{class:"popitem",onClick:d,"data-number":"D"}," D "),A("div",{class:"popitem",onClick:d,"data-number":"E"}," E "),A("div",{class:"popitem",onClick:d,"data-number":"F"}," F "),A("div",{class:"popitem",onClick:d,"data-number":"G"}," G "),A("div",{class:"popitem",onClick:d,"data-number":"H"}," H "),A("div",{class:"popitem",onClick:d,"data-number":"J"}," J "),A("div",{class:"popitem",onClick:d,"data-number":"K"}," K "),A("div",{class:"popitem",onClick:d,"data-number":"L"}," L "),A("div",{class:"popitem",onClick:d,"data-number":"M"}," M "),A("div",{class:"popitem",onClick:d,"data-number":"N"}," N "),A("div",{class:"popitem",onClick:d,"data-number":"P"}," P "),A("div",{class:"popitem",onClick:d,"data-number":"Q"}," Q "),A("div",{class:"popitem",onClick:d,"data-number":"R"}," R "),A("div",{class:"popitem",onClick:d,"data-number":"S"}," S "),A("div",{class:"popitem",onClick:d,"data-number":"T"}," T "),A("div",{class:"popitem",onClick:d,"data-number":"U"}," U "),A("div",{class:"popitem",onClick:d,"data-number":"V"}," V "),A("div",{class:"popitem",onClick:d,"data-number":"W"}," W "),A("div",{class:"popitem",onClick:d,"data-number":"X"}," X "),A("div",{class:"popitem",onClick:d,"data-number":"Y"}," Y "),A("div",{class:"popitem",onClick:d,"data-number":"Z"}," Z "),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"港","data-unactive":o.value!=2?"unactive":""}," 港 ",10,wy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"澳","data-unactive":o.value!=2?"unactive":""}," 澳 ",10,Ey),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"学","data-unactive":o.value!=2?"unactive":""}," 学 ",10,Cy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"警","data-unactive":o.value!=2?"unactive":""}," 警 ",10,ky),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"使","data-unactive":o.value!=2?"unactive":""}," 使 ",10,Sy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"领","data-unactive":o.value!=2?"unactive":""}," 领 ",10,Ty),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"挂","data-unactive":o.value!=2?"unactive":""}," 挂 ",10,Ny),A("div",{class:"popitem popitem-clear",onClick:g},[Jt(Wi,{width:"16px"})])],2)],4)]),_:1},512))}}),w1="",qh=te(Oy,[["__scopeId","data-v-6e8b6f81"]]),Xs=e=>(gr("data-v-17611eb2"),e=e(),vr(),e),Py=Xs(()=>A("div",{class:"title"},"车牌颜色",-1)),Iy={class:"plate-types"},My=["onClick"],Ay=Xs(()=>A("div",{class:"title"},"车牌号码",-1)),Dy={class:"plate-numbers"},Ly=Xs(()=>A("div",{class:"dot"},"·",-1)),$y=["onClick"],Ry=Xs(()=>A("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),Yh=te(Kt({customOptions:{SVGCheck:Wh,PlateKeyboard:qh},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],o=Ct(),a=Ct(0),l=tn([]),p=Ct(-1),m=_=>{a.value=_,p.value<=s[_].completePlateLength&&l.length<s[_].completePlateLength?(p.value=l.length,o.value.open(),r("clear")):Nr(l,l.slice(0,s[_].completePlateLength)),s[_].completePlateLength===l.length&&r("complete",s[a.value].name,l.join(""))},g=_=>{Nr(l,l.slice(0,_)),p.value=Math.min(Math.max(0,p.value),_),o.value.open(),r("clear")},d=_=>{Nr(l,_),p.value=l.length,l.length===s[a.value].completePlateLength&&r("complete",s[a.value].name,l.join(""))};return t({}),(_,N)=>(xt(),At(ve,null,[A("div",Ko(_.$attrs,{class:"plate-mobile",style:{maxWidth:i.maxWidth}}),[Py,A("div",Iy,[(xt(),At(ve,null,Kn(s,(C,M)=>A("div",{key:M,class:Ht(M==a.value?"checked":""),onClick:z=>m(M)},[A("div",{style:Lt(C.style)},null,4),A("div",null,ke(C.name),1),A("div",null,[Jt(Wh,{color:"#ffffff",width:"0.14rem"})])],10,My)),64))]),Ay,A("div",Dy,[A("div",{onClick:N[0]||(N[0]=C=>g(0)),class:Ht(p.value==0?"current":"")},ke(l[0]),3),A("div",{onClick:N[1]||(N[1]=C=>g(1)),class:Ht(p.value==1?"current":"")},ke(l[1]),3),Ly,(xt(!0),At(ve,null,Kn(s[a.value].completePlateLength-2,C=>(xt(),At("div",{key:C,class:Ht(C+1==p.value?"current":""),onClick:M=>g(C+1)},ke(l[C+1]),11,$y))),128))]),Ry],16),Jt(qh,{ref_key:"plateKeyboardRef",ref:o,initPlates:l,completePlateLength:s[a.value].completePlateLength,onPlates:d},null,8,["initPlates","completePlateLength"])],64))}}),[["styles",[`.plate-mobile[data-v-17611eb2]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-17611eb2]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-17611eb2]{display:flex;justify-content:center}.plate-types>div[data-v-17611eb2]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-17611eb2]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-17611eb2]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-17611eb2]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-17611eb2]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-17611eb2]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-17611eb2]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-17611eb2]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-17611eb2]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-types>div.checked[data-v-17611eb2]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-17611eb2]:nth-child(3){display:block}.plate-numbers[data-v-17611eb2]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-17611eb2]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-17611eb2]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-17611eb2]{margin-left:.1rem}.plate-numbers>div.dot[data-v-17611eb2]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-17611eb2]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
|
|
73
|
+
`]],["__scopeId","data-v-17611eb2"]]),il=e=>(gr("data-v-7aebdea0"),e=e(),vr(),e),Vy=[il(()=>A("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1)),il(()=>A("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1)),il(()=>A("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1))],Fy=Kt({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{style:Lt(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Vy,4))}}),zy=te(Fy,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
|
|
74
|
+
`]],["__scopeId","data-v-7aebdea0"]]),jy=["data-unactive"],By=["data-unactive"],Gy=["data-unactive"],Hy=["data-unactive"],Uy=["data-unactive"],Wy=["data-unactive"],qy=["data-unactive"],Yy=["data-unactive"],Xy=["data-unactive"],Ky=["data-unactive"],Zy=["data-unactive"],Qy=["data-unactive"],Jy=["data-unactive"],t_=["data-unactive"],e_=["data-unactive"],n_=["data-unactive"],i_=["data-unactive"],rl=te(Kt({customOptions:{Pop:$e,SVGCleanUp:Wi},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(),o=Ct(0),a=tn([]);function l(){a.length==0?o.value=0:a.length==1?o.value=1:o.value=2,a.length>=i.completePlateLength&&m()}se(()=>[...i.initPlates],()=>{Nr(a,i.initPlates),l()},{immediate:!0});const p=()=>{s.value.open(),r("open")},m=()=>{s.value.close(),r("close")},g=()=>{a.pop(),l(),r("plates",a)},d=_=>{if(_.target.dataset.unactive||"")return;let C=_.target.dataset.number;C&&(a.push(C),l(),r("plates",a))};return t({open:p,close:m}),(_,N)=>(xt(),be($e,{ref_key:"popRef",ref:s,directionFrom:"bottom",closeWhenClickOverlay:!1},{default:fe(()=>[A("div",{class:"popup-plate",style:Lt({paddingBottom:he(Dt).safeAreaBottom})},[A("div",null,[A("div",{onClick:m},"关闭")]),A("div",{class:Ht(["step",o.value==0?"":"hide"])},[A("div",{class:"popitem",onClick:d,"data-number":"京"}," 京 "),A("div",{class:"popitem",onClick:d,"data-number":"沪"}," 沪 "),A("div",{class:"popitem",onClick:d,"data-number":"津"}," 津 "),A("div",{class:"popitem",onClick:d,"data-number":"渝"}," 渝 "),A("div",{class:"popitem",onClick:d,"data-number":"黑"}," 黑 "),A("div",{class:"popitem",onClick:d,"data-number":"吉"}," 吉 "),A("div",{class:"popitem",onClick:d,"data-number":"辽"}," 辽 "),A("div",{class:"popitem",onClick:d,"data-number":"蒙"}," 蒙 "),A("div",{class:"popitem",onClick:d,"data-number":"冀"}," 冀 "),A("div",{class:"popitem",onClick:d,"data-number":"新"}," 新 "),A("div",{class:"popitem",onClick:d,"data-number":"甘"}," 甘 "),A("div",{class:"popitem",onClick:d,"data-number":"青"}," 青 "),A("div",{class:"popitem",onClick:d,"data-number":"陕"}," 陕 "),A("div",{class:"popitem",onClick:d,"data-number":"宁"}," 宁 "),A("div",{class:"popitem",onClick:d,"data-number":"豫"}," 豫 "),A("div",{class:"popitem",onClick:d,"data-number":"鲁"}," 鲁 "),A("div",{class:"popitem",onClick:d,"data-number":"晋"}," 晋 "),A("div",{class:"popitem",onClick:d,"data-number":"皖"}," 皖 "),A("div",{class:"popitem",onClick:d,"data-number":"鄂"}," 鄂 "),A("div",{class:"popitem",onClick:d,"data-number":"湘"}," 湘 "),A("div",{class:"popitem",onClick:d,"data-number":"苏"}," 苏 "),A("div",{class:"popitem",onClick:d,"data-number":"川"}," 川 "),A("div",{class:"popitem",onClick:d,"data-number":"云"}," 云 "),A("div",{class:"popitem",onClick:d,"data-number":"桂"}," 桂 "),A("div",{class:"popitem",onClick:d,"data-number":"藏"}," 藏 "),A("div",{class:"popitem",onClick:d,"data-number":"浙"}," 浙 "),A("div",{class:"popitem",onClick:d,"data-number":"赣"}," 赣 "),A("div",{class:"popitem",onClick:d,"data-number":"粤"}," 粤 "),A("div",{class:"popitem",onClick:d,"data-number":"闽"}," 闽 "),A("div",{class:"popitem",onClick:d,"data-number":"琼"}," 琼 "),A("div",{class:"popitem",onClick:d,"data-number":"贵"}," 贵 "),A("div",{class:"popitem popitem-clear",onClick:g},[Jt(Wi,{width:"16px"})])],2),A("div",{class:Ht(["step",o.value!=0?"":"hide"])},[A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"1","data-unactive":o.value!=2?"unactive":""}," 1 ",10,jy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"2","data-unactive":o.value!=2?"unactive":""}," 2 ",10,By),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"3","data-unactive":o.value!=2?"unactive":""}," 3 ",10,Gy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"4","data-unactive":o.value!=2?"unactive":""}," 4 ",10,Hy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"5","data-unactive":o.value!=2?"unactive":""}," 5 ",10,Uy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"6","data-unactive":o.value!=2?"unactive":""}," 6 ",10,Wy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"7","data-unactive":o.value!=2?"unactive":""}," 7 ",10,qy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"8","data-unactive":o.value!=2?"unactive":""}," 8 ",10,Yy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"9","data-unactive":o.value!=2?"unactive":""}," 9 ",10,Xy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"0","data-unactive":o.value!=2?"unactive":""}," 0 ",10,Ky),A("div",{class:"popitem",onClick:d,"data-number":"A"}," A "),A("div",{class:"popitem",onClick:d,"data-number":"B"}," B "),A("div",{class:"popitem",onClick:d,"data-number":"C"}," C "),A("div",{class:"popitem",onClick:d,"data-number":"D"}," D "),A("div",{class:"popitem",onClick:d,"data-number":"E"}," E "),A("div",{class:"popitem",onClick:d,"data-number":"F"}," F "),A("div",{class:"popitem",onClick:d,"data-number":"G"}," G "),A("div",{class:"popitem",onClick:d,"data-number":"H"}," H "),A("div",{class:"popitem",onClick:d,"data-number":"J"}," J "),A("div",{class:"popitem",onClick:d,"data-number":"K"}," K "),A("div",{class:"popitem",onClick:d,"data-number":"L"}," L "),A("div",{class:"popitem",onClick:d,"data-number":"M"}," M "),A("div",{class:"popitem",onClick:d,"data-number":"N"}," N "),A("div",{class:"popitem",onClick:d,"data-number":"P"}," P "),A("div",{class:"popitem",onClick:d,"data-number":"Q"}," Q "),A("div",{class:"popitem",onClick:d,"data-number":"R"}," R "),A("div",{class:"popitem",onClick:d,"data-number":"S"}," S "),A("div",{class:"popitem",onClick:d,"data-number":"T"}," T "),A("div",{class:"popitem",onClick:d,"data-number":"U"}," U "),A("div",{class:"popitem",onClick:d,"data-number":"V"}," V "),A("div",{class:"popitem",onClick:d,"data-number":"W"}," W "),A("div",{class:"popitem",onClick:d,"data-number":"X"}," X "),A("div",{class:"popitem",onClick:d,"data-number":"Y"}," Y "),A("div",{class:"popitem",onClick:d,"data-number":"Z"}," Z "),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"港","data-unactive":o.value!=2?"unactive":""}," 港 ",10,Zy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"澳","data-unactive":o.value!=2?"unactive":""}," 澳 ",10,Qy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"学","data-unactive":o.value!=2?"unactive":""}," 学 ",10,Jy),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"警","data-unactive":o.value!=2?"unactive":""}," 警 ",10,t_),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"使","data-unactive":o.value!=2?"unactive":""}," 使 ",10,e_),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"领","data-unactive":o.value!=2?"unactive":""}," 领 ",10,n_),A("div",{class:Ht(["popitem",o.value!=2?"unactive":""]),onClick:d,"data-number":"挂","data-unactive":o.value!=2?"unactive":""}," 挂 ",10,i_),A("div",{class:"popitem popitem-clear",onClick:g},[Jt(Wi,{width:"16px"})])],2)],4)]),_:1},512))}}),[["styles",[`.popup-plate[data-v-c391106b]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-c391106b]{display:none!important}.popup-plate>div[data-v-c391106b]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-c391106b]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-c391106b]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-c391106b]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-c391106b]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-c391106b]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-c391106b]{background-color:#eee;display:flex;justify-content:center;align-items:center}
|
|
75
|
+
`]],["__scopeId","data-v-c391106b"]]),r_=["width","height"],s_=["fill"],o_=Kt({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[A("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,s_)],8,r_))}}),a_=te(o_,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
|
|
76
|
+
`]],["__scopeId","data-v-8745630f"]]),l_=["width","height"],c_=["fill"],u_=Kt({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:Dt.colorPrimary}},setup(e){const t=e;return(n,i)=>(xt(),At("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[A("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,c_)],8,l_))}}),M1="",Xh=te(u_,[["__scopeId","data-v-4747d4a7"]]),h_=Kt({customOptions:{SVGDelete:Xh},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:Dt.colorGrayFF},deleteColor:{default:Dt.colorRed},fontColor:{default:Dt.colorGrayFF},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(!1),o=()=>{r("delete"),s.value=!1};let a;const l=Ct();return se(l,()=>{l.value&&(a=new Sh(l.value),a.on("panLeft",()=>{s.value=!0}),a.on("panRight",()=>{s.value=!1}),a.on("tapOutSide",()=>{s.value=!1}))}),fs(()=>{a?.destroy()}),t({}),(p,m)=>(xt(),At("div",{class:"parent",ref_key:"item",ref:l,style:Lt({backgroundColor:i.bgColor})},[A("div",{class:"content",style:Lt({transition:"all ease-in "+i.transtionDuration,transform:s.value?"translate(-"+i.deleteWidth+", 0)":"translate(0, 0)"})},[pe(p.$slots,"default",{},void 0,!0)],4),A("div",{class:"delete",onClick:o,style:Lt({backgroundColor:i.deleteColor,width:i.deleteWidth,transition:"all ease-in "+i.transtionDuration,transform:s.value?"translate(0, 0)":"translate("+i.deleteWidth+", 0)"})},[Jt(Xh,{color:i.fontColor},null,8,["color"])],4)],4))}}),Kh=te(h_,[["styles",[`.parent[data-v-155fa7cc]{position:relative;overflow:hidden;width:100%}.content[data-v-155fa7cc]{width:100%;height:100%}.delete[data-v-155fa7cc]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
|
|
77
|
+
`]],["__scopeId","data-v-155fa7cc"]]),f_={class:"parent"},d_=te(Kt({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(e,{expose:t,emit:n}){const i=e,r=[{name:"蓝牌",style:"background-color: #0078f0; color: #ffffff;"},{name:"绿牌",style:"background-color: #00f08c; color: #000000;"},{name:"黄牌",style:"background-color: #fac800; color: #000000;"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%); color: #000000;"},{name:"黑牌",style:"background-color: #222222; color: #ffffff;"},{name:"未知",style:"background-color: #cccccc; color: #ffffff;"}];function s(g){return g.length>2?g.substring(0,2)+"·"+g.substring(2):g}function o(g){const d=r.filter(_=>_.name===g);return d.length?d[0]:o("未知")}const a=s(i.plate),l=Ct(o(i.plateType));let p=i.fontColor,m=i.fontSize;switch(i.displayType){case"dot":p=p??"#999999",m=m??"14px";break;case"chinese":p=p??"#333333",m=m??"20px";break}return t({}),(g,d)=>(xt(),At("div",f_,[A("div",{class:Ht(["leading",i.displayType]),style:Lt(l.value.style)},ke(l.value.name),7),A("div",{class:"text",style:Lt({color:he(p),"font-size":he(m)})},ke(he(a)),5)]))}}),[["styles",[`.parent[data-v-14d35058]{display:flex;justify-content:center;align-items:center}.leading[data-v-14d35058]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:2px}.leading.chinese[data-v-14d35058]{padding:4px}.leading.dot[data-v-14d35058]{font-size:0;width:14px;height:14px;border-radius:50%}.text[data-v-14d35058]{margin-left:5px;margin-right:5px;line-height:1}
|
|
78
|
+
`]],["__scopeId","data-v-14d35058"]]),p_=["onClick"],m_=te(Kt({customOptions:{},inheritAttrs:!0,__name:"TabsForCE.ce",props:{headers:{default:()=>[]},initIndex:{default:0}},emits:["changedIndex"],setup(e,{expose:t,emit:n}){const i=e,r=n,s=Ct(i.initIndex),o=Ct(),a=Ct(0),l=Ct(0),p=Ct(0),m=Ct([]),g=[],d=(C,M)=>{if(C){if(g.push({index:M,el:C}),g.length<i.headers.length)return;m.value=g}};se([o,m],()=>{_()});function _(){if(o.value&&m.value.length){const C=o.value.getBoundingClientRect(),M=m.value[s.value].el.getBoundingClientRect();a.value=M.x-C.x,l.value=M.y-C.y+M.height,p.value=M.width}}function N(C){s.value=C,r("changedIndex",C),_()}return t({}),(C,M)=>(xt(),At("div",null,[A("div",{class:"header",ref_key:"headerRef",ref:o},[(xt(!0),At(ve,null,Kn(C.headers,(z,P)=>(xt(),At("div",{key:z,class:Ht(P==s.value?"active":""),onClick:$=>N(P)},[A("div",{ref_for:!0,ref:$=>d($,P)},ke(z),513)],10,p_))),128)),A("div",{class:"indicator",style:Lt({top:l.value+"px",left:a.value+"px",width:p.value+"px",height:"2px"})},null,4)],512)]))}}),[["styles",[`.header[data-v-0f02d488]{position:relative;display:flex;font-size:14px;line-height:1;color:#999}.header .active[data-v-0f02d488]{color:#5a82f0}.header>div[data-v-0f02d488]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative}.header>div>div[data-v-0f02d488]{box-sizing:border-box;padding:7px 4px}.header>div.indicator[data-v-0f02d488]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
|
|
79
|
+
`]],["__scopeId","data-v-0f02d488"]]);var jr=function(){var e=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(m){m.preventDefault(),i(++e%t.children.length)},!1);function n(m){return t.appendChild(m.dom),m}function i(m){for(var g=0;g<t.children.length;g++)t.children[g].style.display=g===m?"block":"none";e=m}var r=(performance||Date).now(),s=r,o=0,a=n(new jr.Panel("FPS","#0ff","#002")),l=n(new jr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var p=n(new jr.Panel("MB","#f08","#201"));return i(0),{REVISION:16,dom:t,addPanel:n,showPanel:i,begin:function(){r=(performance||Date).now()},end:function(){o++;var m=(performance||Date).now();if(l.update(m-r,200),m>s+1e3&&(a.update(o*1e3/(m-s),100),s=m,o=0,p)){var g=performance.memory;p.update(g.usedJSHeapSize/1048576,g.jsHeapSizeLimit/1048576)}return m},update:function(){r=this.end()},domElement:t,setMode:i}};jr.Panel=function(e,t,n){var i=1/0,r=0,s=Math.round,o=s(window.devicePixelRatio||1),a=80*o,l=48*o,p=3*o,m=2*o,g=3*o,d=15*o,_=74*o,N=30*o,C=document.createElement("canvas");C.width=a,C.height=l,C.style.cssText="width:80px;height:48px";var M=C.getContext("2d");return M.font="bold "+9*o+"px Helvetica,Arial,sans-serif",M.textBaseline="top",M.fillStyle=n,M.fillRect(0,0,a,l),M.fillStyle=t,M.fillText(e,p,m),M.fillRect(g,d,_,N),M.fillStyle=n,M.globalAlpha=.9,M.fillRect(g,d,_,N),{dom:C,update:function(z,P){i=Math.min(i,z),r=Math.max(r,z),M.fillStyle=n,M.globalAlpha=1,M.fillRect(0,0,a,d),M.fillStyle=t,M.fillText(s(z)+" "+e+" ("+s(i)+"-"+s(r)+")",p,m),M.drawImage(C,g+o,d,_-o,N,g,d,_-o,N),M.fillRect(g+_-o,d,o,N),M.fillStyle=n,M.globalAlpha=.9,M.fillRect(g+_-o,d,o,s((1-z/P)*N))}}};const g_=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(e,{expose:t}){const n=Ct();return hs(()=>{const i=new jr,r=i.domElement.style;r.margin="1em",n.value.appendChild(i.domElement),Oh.register(()=>(i.update(),!0))}),t({}),(i,r)=>(xt(),At("div",{ref_key:"containerRef",ref:n},null,512))}}),v_={class:"ease-graph"},y_=["width","height"],sl=te(Kt({customOptions:{Button:xe},inheritAttrs:!0,__name:"EaseGraphDisplay.ce",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=Ct();se(o,()=>{o.value&&(s=new Bi(o.value),a(),r("onMounted",i.easeName))});const a=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.lineWidth=.5,s.strokeStyle="rgb(230,230,230)",s.beginPath(),s.moveTo(0,i.graphVerticalGap),s.lineTo(i.canvasWidth,i.graphVerticalGap),s.moveTo(0,i.canvasHeight-i.graphVerticalGap),s.lineTo(i.canvasWidth,i.canvasHeight-i.graphVerticalGap),s.closePath(),s.stroke(),s.lineWidth=2,s.strokeStyle="rgb(255,127,127)"};let l=!1;const p=()=>{if(!s||l)return;l=!0,r("onStart",i.easeName),a();const g={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap},d={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap};bn.toTween(g,{x:i.canvasWidth-i.graphHorizontalGap},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None}).startAuto(),bn.toTween(g,{y:i.graphVerticalGap},{duration:i.easeDuration,easeFunction:i.easeFunction,onUpdate:()=>{s.beginPath(),s.moveTo(d.x,d.y),s.lineTo(g.x,g.y),s.closePath(),s.stroke(),d.x=g.x,d.y=g.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.easeName),l=!1},i.easeDuration)},m=()=>{r("onSelected",i.easeName,i.easeFunction)};return t({start:p}),(g,d)=>(xt(),At("div",v_,[A("div",null,"缓动:"+ke(g.easeName),1),A("div",null,[Jt(xe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:p},{default:fe(()=>[De(" 开始 ")]),_:1}),Jt(xe,{stylePattern:i.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:m},{default:fe(()=>[De(" 选择 ")]),_:1},8,["stylePattern"])]),A("canvas",{ref_key:"canvasRef",ref:o,width:g.canvasWidth,height:g.canvasHeight},null,8,y_)]))}}),[["styles",[`.ease-graph[data-v-0f645937]{display:inline-block}.ease-graph>div[data-v-0f645937]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-0f645937]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div+div[data-v-0f645937]{margin-left:10px}
|
|
80
|
+
`]],["__scopeId","data-v-0f645937"]]),__={class:"ease-graph"},b_=["width","height"],x_=Kt({customOptions:{Button:xe},inheritAttrs:!0,__name:"EaseGraphDisplay",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=Ct();se(o,()=>{o.value&&(s=new Bi(o.value),a(),r("onMounted",i.easeName))});const a=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.lineWidth=.5,s.strokeStyle="rgb(230,230,230)",s.beginPath(),s.moveTo(0,i.graphVerticalGap),s.lineTo(i.canvasWidth,i.graphVerticalGap),s.moveTo(0,i.canvasHeight-i.graphVerticalGap),s.lineTo(i.canvasWidth,i.canvasHeight-i.graphVerticalGap),s.closePath(),s.stroke(),s.lineWidth=2,s.strokeStyle="rgb(255,127,127)"};let l=!1;const p=()=>{if(!s||l)return;l=!0,r("onStart",i.easeName),a();const g={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap},d={x:i.graphHorizontalGap,y:i.canvasHeight-i.graphVerticalGap};bn.toTween(g,{x:i.canvasWidth-i.graphHorizontalGap},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None}).startAuto(),bn.toTween(g,{y:i.graphVerticalGap},{duration:i.easeDuration,easeFunction:i.easeFunction,onUpdate:()=>{s.beginPath(),s.moveTo(d.x,d.y),s.lineTo(g.x,g.y),s.closePath(),s.stroke(),d.x=g.x,d.y=g.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.easeName),l=!1},i.easeDuration)},m=()=>{r("onSelected",i.easeName,i.easeFunction)};return t({start:p}),(g,d)=>(xt(),At("div",__,[A("div",null,"缓动:"+ke(g.easeName),1),A("div",null,[Jt(xe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:p},{default:fe(()=>[De(" 开始 ")]),_:1}),Jt(xe,{stylePattern:i.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:m},{default:fe(()=>[De(" 选择 ")]),_:1},8,["stylePattern"])]),A("canvas",{ref_key:"canvasRef",ref:o,width:g.canvasWidth,height:g.canvasHeight},null,8,b_)]))}}),j1="",Zh=te(x_,[["__scopeId","data-v-1f39c8d3"]]),w_={class:"ease-graph-wrap"},E_={key:0,class:"ease-group-gap"},Qh=2e3,Jh=te(Kt({customOptions:{EaseGraphDisplay:Zh},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:$t.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:$t.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:$t.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:$t.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:$t.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:$t.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:$t.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:$t.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:$t.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:$t.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:$t.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:$t.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:$t.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:$t.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:$t.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:$t.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:$t.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:$t.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:$t.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:$t.Easing.Circular.In},{easeName:"CircularOut",easeFunction:$t.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:$t.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:$t.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:$t.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:$t.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:$t.Easing.Back.In},{easeName:"BackOut",easeFunction:$t.Easing.Back.Out},{easeName:"BackInOut",easeFunction:$t.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:$t.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:$t.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:$t.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:$t.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:$t.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:$t.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:$t.Easing.createStep(4)},{easeName:"8 steps",easeFunction:$t.Easing.createStep(8)},{easeName:"12 steps",easeFunction:$t.Easing.createStep(12)},{easeName:"16 steps",easeFunction:$t.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:$t.Easing.createNoisyEasing($t.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:$t.Easing.createNoisyEasing($t.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:$t.Easing.createNoisyEasing($t.Easing.Circular.InOut,.1)}]}},emits:["selectedEaseFunction"],setup(e,{expose:t,emit:n}){const i=e,r=n,s={};function o(g,d){g&&(s[d]=g)}const a=new au(10);function l(g){a.addTask(()=>(s[g].start(),new Promise(d=>{setTimeout(()=>{d()},Qh)})))}const p=Ct("");function m(g,d){p.value=g,r("selectedEaseFunction",d)}return t({}),(g,d)=>(xt(),At("div",null,[(xt(!0),At(ve,null,Kn(i.easeList,_=>(xt(),At(ve,{key:_.easeName},[A("div",w_,[_.easeFunction?(xt(),be(Zh,{key:0,easeName:_.easeName,easeFunction:_.easeFunction,easeDuration:Qh,isSelected:p.value==_.easeName,onOnMounted:l,onOnSelected:m,ref_for:!0,ref:N=>o(N,_.easeName)},null,8,["easeName","easeFunction","isSelected"])):de("",!0)]),_.easeFunction?de("",!0):(xt(),At("div",E_))],64))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-3381c4e1]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-3381c4e1]{margin:10px}
|
|
81
|
+
`]],["__scopeId","data-v-3381c4e1"]]),C_={class:"interpolation-graph"},k_=["width","height"],tf=1/6,ef=5/6,ol=te(Kt({customOptions:{Button:xe},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},easeDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=Ct();se(o,()=>{o.value&&(s=new Bi(o.value),_(),r("onMounted",i.interpolationName))});const a=i.canvasWidth*tf,l=i.canvasHeight/2,p=[i.canvasWidth*ef,i.canvasWidth/2],m=[i.canvasHeight*tf,i.canvasHeight*ef],g=[...p,a],d=[...m,l],_=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.fillStyle="rgb(200,200,200)",s.fillRect(a-3,l-3,6,6),s.fillRect(p[p.length-1]-3,m[m.length-1]-3,6,6);for(var M=0;M<p.length;M++)s.fillRect(p[M]-2,m[M]-2,4,4)};let N=!1;const C=()=>{if(!s||N)return;N=!0,r("onStart",i.interpolationName),_();const M={x:a,y:l,old:{x:a,y:l}};bn.toTween(M,{x:p,y:m},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:P=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.9)",s.beginPath(),s.moveTo(P.old.x,P.old.y),s.lineTo(P.x,P.y),s.closePath(),s.stroke(),P.old.x=P.x,P.old.y=P.y}}).startAuto();const z={x:a,y:l,old:{x:a,y:l}};bn.toTween(z,{x:g,y:d},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:P=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.5)",s.beginPath(),s.moveTo(P.old.x,P.old.y),s.lineTo(P.x,P.y),s.closePath(),s.stroke(),P.old.x=P.x,P.old.y=P.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.interpolationName),N=!1},i.easeDuration)};return t({start:C}),(M,z)=>(xt(),At("div",C_,[A("div",null,[De(" 插值:"+ke(M.interpolationName)+" ",1),Jt(xe,{stylePattern:"outline",height:"32px",onClick:C},{default:fe(()=>[De(" 开始 ")]),_:1})]),A("canvas",{ref_key:"canvasRef",ref:o,width:M.canvasWidth,height:M.canvasHeight},null,8,k_)]))}}),[["styles",[`.interpolation-graph[data-v-56071a65]{display:inline-block}.interpolation-graph>div[data-v-56071a65]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
|
|
82
|
+
`]],["__scopeId","data-v-56071a65"]]),S_={class:"interpolation-graph"},T_=["width","height"],nf=1/6,rf=5/6,N_=Kt({customOptions:{Button:xe},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},easeDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:n}){const i=e,r=n;let s;const o=Ct();se(o,()=>{o.value&&(s=new Bi(o.value),_(),r("onMounted",i.interpolationName))});const a=i.canvasWidth*nf,l=i.canvasHeight/2,p=[i.canvasWidth*rf,i.canvasWidth/2],m=[i.canvasHeight*nf,i.canvasHeight*rf],g=[...p,a],d=[...m,l],_=()=>{s.fillStyle="rgb(250,250,250)",s.fillRect(0,0,i.canvasWidth,i.canvasHeight),s.fillStyle="rgb(200,200,200)",s.fillRect(a-3,l-3,6,6),s.fillRect(p[p.length-1]-3,m[m.length-1]-3,6,6);for(var M=0;M<p.length;M++)s.fillRect(p[M]-2,m[M]-2,4,4)};let N=!1;const C=()=>{if(!s||N)return;N=!0,r("onStart",i.interpolationName),_();const M={x:a,y:l,old:{x:a,y:l}};bn.toTween(M,{x:p,y:m},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:P=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.9)",s.beginPath(),s.moveTo(P.old.x,P.old.y),s.lineTo(P.x,P.y),s.closePath(),s.stroke(),P.old.x=P.x,P.old.y=P.y}}).startAuto();const z={x:a,y:l,old:{x:a,y:l}};bn.toTween(z,{x:g,y:d},{duration:i.easeDuration,easeFunction:$t.Easing.Linear.None,interpolationFunction:i.interpolationFunction,onUpdate:P=>{s.lineWidth=2,s.strokeStyle="rgba(255,127,127,0.5)",s.beginPath(),s.moveTo(P.old.x,P.old.y),s.lineTo(P.x,P.y),s.closePath(),s.stroke(),P.old.x=P.x,P.old.y=P.y}}).startAuto(),setTimeout(()=>{r("onCompleted",i.interpolationName),N=!1},i.easeDuration)};return t({start:C}),(M,z)=>(xt(),At("div",S_,[A("div",null,[De(" 插值:"+ke(M.interpolationName)+" ",1),Jt(xe,{stylePattern:"outline",height:"32px",onClick:C},{default:fe(()=>[De(" 开始 ")]),_:1})]),A("canvas",{ref_key:"canvasRef",ref:o,width:M.canvasWidth,height:M.canvasHeight},null,8,T_)]))}}),W1="",sf=te(N_,[["__scopeId","data-v-5e4289c7"]]),of=2e3,af=te(Kt({customOptions:{InterpolationGraphDisplay:sf},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:$t.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:$t.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:$t.Interpolation.CatmullRom}]}},setup(e,{expose:t,emit:n}){const i=e,r={};function s(l,p){l&&(r[p]=l)}const o=new au(1);function a(l){o.addTask(()=>(r[l].start(),new Promise(p=>{setTimeout(()=>{p()},of)})))}return t({}),(l,p)=>(xt(),At("div",null,[(xt(!0),At(ve,null,Kn(i.interpolationList,m=>(xt(),At("div",{key:m.interpolationName,class:"interpolation-graph-wrap"},[Jt(sf,{interpolationName:m.interpolationName,interpolationFunction:m.interpolationFunction,easeDuration:of,onOnMounted:a,ref_for:!0,ref:g=>s(g,m.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-e0ab5945]{display:inline-block;margin-right:10px}
|
|
83
|
+
`]],["__scopeId","data-v-e0ab5945"]]),O_=["width","height"],P_=Kt({customOptions:{},inheritAttrs:!0,__name:"HandWritePanel.ce",props:{canvasWidth:{default:"400"},canvasHeight:{default:"300"},borderColor:{default:"#000000"},brushSize:{default:4},brushDensity:{default:200},brushColor:{default:"#000000"},downloadFileName:{default:"手写图片"}},setup(e,{expose:t,emit:n}){const i=e;let r=()=>{};const s=Ct();return se(s,()=>{if(!s.value)return;const o=new Sh(s.value);o.ctx.strokeStyle=i.brushColor,o.ctx.lineWidth=i.brushSize,o.drawMouseMoveLine("line"),r=()=>{o.ctx.toSVGOperation().toDownloadSVGString(o.ctx.toRawSVG().raw,i.downloadFileName)}}),t({download:()=>r()}),(o,a)=>(xt(),At("canvas",{ref_key:"panelRef",ref:s,width:i.canvasWidth,height:i.canvasHeight,style:Lt([`border: 1px solid ${o.borderColor}`])},null,12,O_))}});class I_ extends HTMLElement{constructor(){super(),this.listenedMedia=[],this.reloadQueued=!1}connectedCallback(){this.video=this.querySelector("video"),this.bindMediaListeners()}disconnectedCallback(){this.unbindMediaListeners()}bindMediaListeners(){this.querySelectorAll("source").forEach(t=>{if(t.media){const n=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:n}),window.matchMedia(t.media).addEventListener("change",n)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,n){const i=t;for(;t.previousElementSibling;)if(i.src===n)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,n=this.video.playState;this.video.load();const i=()=>{this.video.playState=n,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",i)};this.video.addEventListener("loadeddata",i)}}const M_=I_;function A_(e,t="style.css"){for(let n of e){const i=document.querySelector(n)?.shadowRoot;if(i){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),i.appendChild(r)}}}const Ye=(e,t,n=!0)=>{let i=0,r=[...e.styles];for(let s in e.customOptions){const o=`[${e.customOptions[s].__scopeId}]`;r=[...t[i++].styles.map(a=>hm(a,o)),...r]}if(n)e.styles=r;else for(let s of e.styles){const o=document.createElement("style");o.innerHTML=s,document.head.insertBefore(o,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return e},D_=()=>{const e=me(Mh);customElements.define("yz-icon",e);const t=me(zr);customElements.define("yz-button",t),Ye(Ah,[Si]);const n=me(Ah);customElements.define("yz-mobile-layout",n),Ye(Si,[Ua]);const i=me(Si);customElements.define("yz-pop",i),Ye(Wa,[Ua,Si,Mh,zr]);const r=me(Wa);customElements.define("yz-dialog",r),Ye($h,[Ua,Si,Wa,Kg]);const s=me($h);customElements.define("yz-dialog-loading",s);const o=me(cv);customElements.define("yz-select",o);const a=me(hv);customElements.define("yz-switch",a);const l=me(yv);customElements.define("yz-radiogroup",l);const p=me(kv);customElements.define("yz-checkboxgroup",p),Ye(qa,[Si,zr]);const m=me(qa);customElements.define("yz-popover",m),Ye(Uh,[qa]);const g=me(Uh);customElements.define("yz-colorpicker",g);const d=me(ty);customElements.define("yz-resize-observer",d);const _=me(ny);customElements.define("yz-map-tianditu",_),Ye(rl,[Si,zy]);const N=me(rl);customElements.define("yz-plate-keyboard",N),Ye(Yh,[oy,rl]);const C=me(Yh);customElements.define("yz-plate-mobile",C),Ye(Kh,[a_]);const M=me(Kh);customElements.define("yz-slide-left-item",M);const z=me(d_);customElements.define("yz-plate-display",z);const P=me(m_);customElements.define("yz-tabs",P);const $=me(g_);customElements.define("yz-fps-stats",$),Ye(sl,[zr]);const H=me(sl);customElements.define("yz-ease-graph-display",H),Ye(Jh,[sl]);const Y=me(Jh);customElements.define("yz-ease-group-graph-display",Y),Ye(ol,[zr]);const J=me(ol);customElements.define("yz-interpolation-graph-display",J),Ye(af,[ol]);const V=me(af);customElements.define("yz-interpolation-group-graph-display",V),customElements.define("yz-hand-write-panel",me(P_)),customElements.define("yz-responsive-video",M_)};return sr.install=D_,sr.linkChildrenComponentsStyles=A_,sr.mergeChildComponentCSS=Ye,Object.defineProperty(sr,Symbol.toStringTag,{value:"Module"}),sr}({});
|
|
68
84
|
//# sourceMappingURL=yz_custom_element.iife.js.map
|