@zyzgroup/core-vue 0.0.43 → 0.0.44

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.
Files changed (81) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +146 -149
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +14780 -13330
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +146 -149
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/zyzgroup_core_vue.iife.js +17 -10
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +8708 -3704
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +17 -10
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +2 -2
  16. package/types/components/Accordion.ce.vue.d.ts +5 -11
  17. package/types/components/Accordion.vue.d.ts +5 -11
  18. package/types/components/Button.ce.vue.d.ts +17 -13
  19. package/types/components/Button.vue.d.ts +17 -13
  20. package/types/components/Canvas.ce.vue.d.ts +5 -5
  21. package/types/components/Canvas.vue.d.ts +5 -5
  22. package/types/components/Container.ce.vue.d.ts +166 -12
  23. package/types/components/Container.vue.d.ts +166 -12
  24. package/types/components/Dialog.ce.vue.d.ts +28 -10
  25. package/types/components/Dialog.vue.d.ts +28 -10
  26. package/types/components/MapTianditu.ce.vue.d.ts +8 -4
  27. package/types/components/MapTianditu.vue.d.ts +8 -4
  28. package/types/components/Page.ce.vue.d.ts +2 -3
  29. package/types/components/Page.vue.d.ts +2 -3
  30. package/types/components/PlateKeyboard.ce.vue.d.ts +2 -2
  31. package/types/components/PlateKeyboard.vue.d.ts +2 -2
  32. package/types/components/Pop.ce.vue.d.ts +7 -8
  33. package/types/components/Pop.vue.d.ts +7 -8
  34. package/types/components/Popover.ce.vue.d.ts +9 -9
  35. package/types/components/Popover.vue.d.ts +9 -9
  36. package/types/components/SVG.ce.vue.d.ts +5 -5
  37. package/types/components/SVG.vue.d.ts +5 -5
  38. package/types/components/effect/BorderFocusText.ce.vue.d.ts +3 -4
  39. package/types/components/effect/BorderFocusText.vue.d.ts +3 -4
  40. package/types/components/effect/CSSAnimation.ce.vue.d.ts +3 -4
  41. package/types/components/effect/CSSAnimation.vue.d.ts +3 -4
  42. package/types/components/effect/CSSTransition.ce.vue.d.ts +3 -4
  43. package/types/components/effect/CSSTransition.vue.d.ts +3 -4
  44. package/types/components/effect/Circle.ce.vue.d.ts +4 -5
  45. package/types/components/effect/Circle.vue.d.ts +4 -5
  46. package/types/components/effect/Float.ce.vue.d.ts +1 -2
  47. package/types/components/effect/Float.vue.d.ts +1 -2
  48. package/types/components/effect/ImageMask.ce.vue.d.ts +3 -3
  49. package/types/components/effect/ImageMask.vue.d.ts +3 -3
  50. package/types/components/effect/LineDouble.ce.vue.d.ts +4 -5
  51. package/types/components/effect/LineDouble.vue.d.ts +4 -5
  52. package/types/components/effect/LineSingle.ce.vue.d.ts +4 -5
  53. package/types/components/effect/LineSingle.vue.d.ts +4 -5
  54. package/types/components/effect/Slide.ce.vue.d.ts +1 -2
  55. package/types/components/effect/Slide.vue.d.ts +1 -2
  56. package/types/components/effect/SlideCorner.ce.vue.d.ts +4 -5
  57. package/types/components/effect/SlideCorner.vue.d.ts +4 -5
  58. package/types/components/form/ColorPicker.ce.vue.d.ts +9 -13
  59. package/types/components/form/ColorPicker.vue.d.ts +9 -13
  60. package/types/components/form/Input.ce.vue.d.ts +1 -1
  61. package/types/components/form/Input.vue.d.ts +1 -1
  62. package/types/components/form/InputRangeBox.ce.vue.d.ts +2 -2
  63. package/types/components/form/InputRangeBox.vue.d.ts +2 -2
  64. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +6 -4
  65. package/types/components/form/InputRangeCanvas.vue.d.ts +6 -4
  66. package/types/components/form/SlideLeftItem.ce.vue.d.ts +8 -7
  67. package/types/components/form/SlideLeftItem.vue.d.ts +8 -7
  68. package/types/components/form/Switch.ce.vue.d.ts +1 -1
  69. package/types/components/form/Switch.vue.d.ts +1 -1
  70. package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
  71. package/types/components/svg/SVGAdd.vue.d.ts +7 -0
  72. package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
  73. package/types/components/svg/SVGClose.vue.d.ts +7 -0
  74. package/types/components/svg/SVGDelete.ce.vue.d.ts +0 -3
  75. package/types/components/svg/SVGDelete.vue.d.ts +0 -3
  76. package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
  77. package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
  78. package/types/components/svg/SVGWarn.ce.vue.d.ts +4 -4
  79. package/types/components/svg/SVGWarn.vue.d.ts +4 -4
  80. package/types/globalTeleport.d.ts +3 -2
  81. package/types/main.d.ts +1 -0
@@ -1,32 +1,32 @@
1
- var YZCustomElement=function(ie){"use strict";/**
1
+ var YZCustomElement=function(ce){"use strict";/**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function ko(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ht={}.NODE_ENV!=="production"?Object.freeze({}):{},On={}.NODE_ENV!=="production"?Object.freeze([]):[],ge=()=>{},am=()=>!1,qn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ur=e=>e.startsWith("onUpdate:"),Jt=Object.assign,Fs=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},sm=Object.prototype.hasOwnProperty,Yt=(e,t)=>sm.call(e,t),_t=Array.isArray,an=e=>Kn(e)==="[object Map]",sc=e=>Kn(e)==="[object Set]",im=e=>Kn(e)==="[object RegExp]",Tt=e=>typeof e=="function",ee=e=>typeof e=="string",wo=e=>typeof e=="symbol",Wt=e=>e!==null&&typeof e=="object",Ls=e=>(Wt(e)||Tt(e))&&Tt(e.then)&&Tt(e.catch),ic=Object.prototype.toString,Kn=e=>ic.call(e),zs=e=>Kn(e).slice(8,-1),jr=e=>Kn(e)==="[object Object]",Ms=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qn=ko(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lm=ko("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hr=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},cm=/-(\w)/g,be=Hr(e=>e.replace(cm,(t,o)=>o?o.toUpperCase():"")),um=/\B([A-Z])/g,Ye=Hr(e=>e.replace(um,"-$1").toLowerCase()),sn=Hr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ln=Hr(e=>e?`on${sn(e)}`:""),Bo=(e,t)=>!Object.is(e,t),cn=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},Wr=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},fm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bs=e=>{const t=ee(e)?Number(e):NaN;return isNaN(t)?e:t};let lc;const Jn=()=>lc||(lc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(e){if(_t(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],r=ee(n)?mm(n):N(n);if(r)for(const a in r)t[a]=r[a]}return t}else if(ee(e)||Wt(e))return e}const dm=/;(?![^(]*\))/g,pm=/:([^]+)/,hm=/\/\*[^]*?\*\//g;function mm(e){const t={};return e.replace(hm,"").split(dm).forEach(o=>{if(o){const n=o.split(pm);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ut(e){let t="";if(ee(e))t=e;else if(_t(e))for(let o=0;o<e.length;o++){const n=Ut(e[o]);n&&(t+=n+" ")}else if(Wt(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const gm="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",ym="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",vm="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",bm=ko(gm),_m=ko(ym),xm=ko(vm),km=ko("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function cc(e){return!!e||e===""}const uc=e=>!!(e&&e.__v_isRef===!0),ut=e=>ee(e)?e:e==null?"":_t(e)||Wt(e)&&(e.toString===ic||!Tt(e.toString))?uc(e)?ut(e.value):JSON.stringify(e,fc,2):String(e),fc=(e,t)=>uc(t)?fc(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,r],a)=>(o[Ys(n,a)+" =>"]=r,o),{})}:sc(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Ys(o))}:wo(t)?Ys(t):Wt(t)&&!_t(t)&&!jr(t)?String(t):t,Ys=(e,t="")=>{var o;return wo(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function wo(o){const t=Object.create(null);for(const e of o.split(","))t[e]=1;return e=>e in t}const qt={}.NODE_ENV!=="production"?Object.freeze({}):{},On={}.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},Zm=()=>!1,os=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),tr=o=>o.startsWith("onUpdate:"),ee=Object.assign,Ja=(o,t)=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},Um=Object.prototype.hasOwnProperty,Lt=(o,t)=>Um.call(o,t),_t=Array.isArray,an=o=>ns(o)==="[object Map]",Nc=o=>ns(o)==="[object Set]",Gm=o=>ns(o)==="[object RegExp]",Tt=o=>typeof o=="function",se=o=>typeof o=="string",Co=o=>typeof o=="symbol",Kt=o=>o!==null&&typeof o=="object",ti=o=>(Kt(o)||Tt(o))&&Tt(o.then)&&Tt(o.catch),Fc=Object.prototype.toString,ns=o=>Fc.call(o),ei=o=>ns(o).slice(8,-1),er=o=>ns(o)==="[object Object]",oi=o=>se(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,ss=wo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hm=wo("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),or=o=>{const t=Object.create(null);return e=>t[e]||(t[e]=o(e))},jm=/-(\w)/g,ke=or(o=>o.replace(jm,(t,e)=>e?e.toUpperCase():"")),Wm=/\B([A-Z])/g,Be=or(o=>o.replace(Wm,"-$1").toLowerCase()),ln=or(o=>o.charAt(0).toUpperCase()+o.slice(1)),cn=or(o=>o?`on${ln(o)}`:""),Vo=(o,t)=>!Object.is(o,t),un=(o,...t)=>{for(let e=0;e<o.length;e++)o[e](...t)},nr=(o,t,e,n=!1)=>{Object.defineProperty(o,t,{configurable:!0,enumerable:!1,writable:n,value:e})},qm=o=>{const t=parseFloat(o);return isNaN(t)?o:t},ni=o=>{const t=se(o)?Number(o):NaN;return isNaN(t)?o:t};let zc;const rs=()=>zc||(zc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(o){if(_t(o)){const t={};for(let e=0;e<o.length;e++){const n=o[e],s=se(n)?t0(n):N(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(se(o)||Kt(o))return o}const Km=/;(?![^(]*\))/g,Qm=/:([^]+)/,Jm=/\/\*[^]*?\*\//g;function t0(o){const t={};return o.replace(Jm,"").split(Km).forEach(e=>{if(e){const n=e.split(Qm);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function jt(o){let t="";if(se(o))t=o;else if(_t(o))for(let e=0;e<o.length;e++){const n=jt(o[e]);n&&(t+=n+" ")}else if(Kt(o))for(const e in o)o[e]&&(t+=e+" ");return t.trim()}const e0="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",o0="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",n0="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",s0=wo(e0),r0=wo(o0),a0=wo(n0),i0=wo("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Dc(o){return!!o||o===""}const Mc=o=>!!(o&&o.__v_isRef===!0),dt=o=>se(o)?o:o==null?"":_t(o)||Kt(o)&&(o.toString===Fc||!Tt(o.toString))?Mc(o)?dt(o.value):JSON.stringify(o,Lc,2):String(o),Lc=(o,t)=>Mc(t)?Lc(o,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[n,s],r)=>(e[si(n,r)+" =>"]=s,e),{})}:Nc(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>si(e))}:Co(t)?si(t):Kt(t)&&!_t(t)&&!er(t)?String(t):t,si=(o,t="")=>{var e;return Co(o)?`Symbol(${(e=o.description)!=null?e:t})`:o};/**
6
6
  * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/function lo(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ve;class wm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=Ve;try{return Ve=this,t()}finally{Ve=o}}else({}).NODE_ENV!=="production"&&lo("cannot run an inactive effect scope.")}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Cm(){return Ve}let qt;const Vs=new WeakSet;class dc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vs.has(this)&&(Vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,bc(this),mc(this);const t=qt,o=to;qt=this,to=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&qt!==this&&lo("Active effect was not restored correctly - this is likely a Vue internal bug."),gc(this),qt=t,to=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Us(t);this.deps=this.depsTail=void 0,bc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gs(this)&&this.run()}get dirty(){return Gs(this)}}let pc=0,tr,er;function hc(e,t=!1){if(e.flags|=8,t){e.next=er,er=e;return}e.next=tr,tr=e}function Xs(){pc++}function Zs(){if(--pc>0)return;if(er){let t=er;for(er=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;tr;){let t=tr;for(tr=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function mc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gc(e){let t,o=e.depsTail,n=o;for(;n;){const r=n.prevDep;n.version===-1?(n===o&&(o=r),Us(n),Tm(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=o}function Gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===or))return;e.globalVersion=or;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Gs(e)){e.flags&=-3;return}const o=qt,n=to;qt=e,to=!0;try{mc(e);const r=e.fn(e._value);(t.version===0||Bo(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{qt=o,to=n,gc(e),e.flags&=-3}}function Us(e,t=!1){const{dep:o,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),{}.NODE_ENV!=="production"&&o.subsHead===e&&(o.subsHead=r),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)Us(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Tm(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let to=!0;const vc=[];function Co(){vc.push(to),to=!1}function To(){const e=vc.pop();to=e===void 0?!0:e}function bc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=qt;qt=void 0;try{t()}finally{qt=o}}}let or=0;class Em{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let js=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!qt||!to||qt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==qt)o=this.activeLink=new Em(qt,this),qt.deps?(o.prevDep=qt.depsTail,qt.depsTail.nextDep=o,qt.depsTail=o):qt.deps=qt.depsTail=o,_c(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=qt.depsTail,o.nextDep=void 0,qt.depsTail.nextDep=o,qt.depsTail=o,qt.deps===o&&(qt.deps=n)}return{}.NODE_ENV!=="production"&&qt.onTrack&&qt.onTrack(Jt({effect:qt},t)),o}trigger(t){this.version++,or++,this.notify(t)}notify(t){Xs();try{if({}.NODE_ENV!=="production")for(let o=this.subsHead;o;o=o.nextSub)o.sub.onTrigger&&!(o.sub.flags&8)&&o.sub.onTrigger(Jt({effect:o.sub},t));for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Zs()}}};function _c(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)_c(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),{}.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Hs=new WeakMap,un=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),Ws=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),nr=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function ye(e,t,o){if(to&&qt){let n=Hs.get(e);n||Hs.set(e,n=new Map);let r=n.get(o);r||(n.set(o,r=new js),r.map=n,r.key=o),{}.NODE_ENV!=="production"?r.track({target:e,type:t,key:o}):r.track()}}function co(e,t,o,n,r,a){const s=Hs.get(e);if(!s){or++;return}const l=i=>{i&&({}.NODE_ENV!=="production"?i.trigger({target:e,type:t,key:o,newValue:n,oldValue:r,oldTarget:a}):i.trigger())};if(Xs(),t==="clear")s.forEach(l);else{const i=_t(e),c=i&&Ms(o);if(i&&o==="length"){const u=Number(n);s.forEach((f,d)=>{(d==="length"||d===nr||!wo(d)&&d>=u)&&l(f)})}else switch((o!==void 0||s.has(void 0))&&l(s.get(o)),c&&l(s.get(nr)),t){case"add":i?c&&l(s.get("length")):(l(s.get(un)),an(e)&&l(s.get(Ws)));break;case"delete":i||(l(s.get(un)),an(e)&&l(s.get(Ws)));break;case"set":an(e)&&l(s.get(un));break}}Zs()}function Pn(e){const t=At(e);return t===e?t:(ye(t,"iterate",nr),Ie(e)?t:t.map(Oe))}function qr(e){return ye(e=At(e),"iterate",nr),e}const Sm={__proto__:null,[Symbol.iterator](){return qs(this,Symbol.iterator,Oe)},concat(...e){return Pn(this).concat(...e.map(t=>_t(t)?Pn(t):t))},entries(){return qs(this,"entries",e=>(e[1]=Oe(e[1]),e))},every(e,t){return Eo(this,"every",e,t,void 0,arguments)},filter(e,t){return Eo(this,"filter",e,t,o=>o.map(Oe),arguments)},find(e,t){return Eo(this,"find",e,t,Oe,arguments)},findIndex(e,t){return Eo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Eo(this,"findLast",e,t,Oe,arguments)},findLastIndex(e,t){return Eo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Eo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ks(this,"includes",e)},indexOf(...e){return Ks(this,"indexOf",e)},join(e){return Pn(this).join(e)},lastIndexOf(...e){return Ks(this,"lastIndexOf",e)},map(e,t){return Eo(this,"map",e,t,void 0,arguments)},pop(){return rr(this,"pop")},push(...e){return rr(this,"push",e)},reduce(e,...t){return xc(this,"reduce",e,t)},reduceRight(e,...t){return xc(this,"reduceRight",e,t)},shift(){return rr(this,"shift")},some(e,t){return Eo(this,"some",e,t,void 0,arguments)},splice(...e){return rr(this,"splice",e)},toReversed(){return Pn(this).toReversed()},toSorted(e){return Pn(this).toSorted(e)},toSpliced(...e){return Pn(this).toSpliced(...e)},unshift(...e){return rr(this,"unshift",e)},values(){return qs(this,"values",Oe)}};function qs(e,t,o){const n=qr(e),r=n[t]();return n!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const a=r._next();return a.value&&(a.value=o(a.value)),a}),r}const Om=Array.prototype;function Eo(e,t,o,n,r,a){const s=qr(e),l=s!==e&&!Ie(e),i=s[t];if(i!==Om[t]){const f=i.apply(e,a);return l?Oe(f):f}let c=o;s!==e&&(l?c=function(f,d){return o.call(this,Oe(f),d,e)}:o.length>2&&(c=function(f,d){return o.call(this,f,d,e)}));const u=i.call(s,c,n);return l&&r?r(u):u}function xc(e,t,o,n){const r=qr(e);let a=o;return r!==e&&(Ie(e)?o.length>3&&(a=function(s,l,i){return o.call(this,s,l,i,e)}):a=function(s,l,i){return o.call(this,s,Oe(l),i,e)}),r[t](a,...n)}function Ks(e,t,o){const n=At(e);ye(n,"iterate",nr);const r=n[t](...o);return(r===-1||r===!1)&&ea(o[0])?(o[0]=At(o[0]),n[t](...o)):r}function rr(e,t,o=[]){Co(),Xs();const n=At(e)[t].apply(e,o);return Zs(),To(),n}const Pm=ko("__proto__,__v_isRef,__isVue"),kc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wo));function Rm(e){wo(e)||(e=String(e));const t=At(this);return ye(t,"has",e),t.hasOwnProperty(e)}class wc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const r=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!r;if(o==="__v_isReadonly")return r;if(o==="__v_isShallow")return a;if(o==="__v_raw")return n===(r?a?Rc:Pc:a?Oc:Sc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=_t(t);if(!r){let i;if(s&&(i=Sm[o]))return i;if(o==="hasOwnProperty")return Rm}const l=Reflect.get(t,o,pe(t)?t:n);return(wo(o)?kc.has(o):Pm(o))||(r||ye(t,"get",o),a)?l:pe(l)?s&&Ms(o)?l:l.value:Wt(l)?r?Ac(l):jt(l):l}}class Cc extends wc{constructor(t=!1){super(!1,t)}set(t,o,n,r){let a=t[o];if(!this._isShallow){const i=So(a);if(!Ie(n)&&!So(n)&&(a=At(a),n=At(n)),!_t(t)&&pe(a)&&!pe(n))return i?!1:(a.value=n,!0)}const s=_t(t)&&Ms(o)?Number(o)<t.length:Yt(t,o),l=Reflect.set(t,o,n,pe(t)?t:r);return t===At(r)&&(s?Bo(n,a)&&co(t,"set",o,n,a):co(t,"add",o,n)),l}deleteProperty(t,o){const n=Yt(t,o),r=t[o],a=Reflect.deleteProperty(t,o);return a&&n&&co(t,"delete",o,void 0,r),a}has(t,o){const n=Reflect.has(t,o);return(!wo(o)||!kc.has(o))&&ye(t,"has",o),n}ownKeys(t){return ye(t,"iterate",_t(t)?"length":un),Reflect.ownKeys(t)}}class Tc extends wc{constructor(t=!1){super(!0,t)}set(t,o){return{}.NODE_ENV!=="production"&&lo(`Set operation on key "${String(o)}" failed: target is readonly.`,t),!0}deleteProperty(t,o){return{}.NODE_ENV!=="production"&&lo(`Delete operation on key "${String(o)}" failed: target is readonly.`,t),!0}}const Im=new Cc,Am=new Tc,$m=new Cc(!0),Nm=new Tc(!0),Qs=e=>e,Kr=e=>Reflect.getPrototypeOf(e);function Dm(e,t,o){return function(...n){const r=this.__v_raw,a=At(r),s=an(a),l=e==="entries"||e===Symbol.iterator&&s,i=e==="keys"&&s,c=r[e](...n),u=o?Qs:t?Js:Oe;return!t&&ye(a,"iterate",i?Ws:un),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Qr(e){return function(...t){if({}.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";lo(`${sn(e)} operation ${o}failed: target is readonly.`,At(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Fm(e,t){const o={get(r){const a=this.__v_raw,s=At(a),l=At(r);e||(Bo(r,l)&&ye(s,"get",r),ye(s,"get",l));const{has:i}=Kr(s),c=t?Qs:e?Js:Oe;if(i.call(s,r))return c(a.get(r));if(i.call(s,l))return c(a.get(l));a!==s&&a.get(r)},get size(){const r=this.__v_raw;return!e&&ye(At(r),"iterate",un),Reflect.get(r,"size",r)},has(r){const a=this.__v_raw,s=At(a),l=At(r);return e||(Bo(r,l)&&ye(s,"has",r),ye(s,"has",l)),r===l?a.has(r):a.has(r)||a.has(l)},forEach(r,a){const s=this,l=s.__v_raw,i=At(l),c=t?Qs:e?Js:Oe;return!e&&ye(i,"iterate",un),l.forEach((u,f)=>r.call(a,c(u),c(f),s))}};return Jt(o,e?{add:Qr("add"),set:Qr("set"),delete:Qr("delete"),clear:Qr("clear")}:{add(r){!t&&!Ie(r)&&!So(r)&&(r=At(r));const a=At(this);return Kr(a).has.call(a,r)||(a.add(r),co(a,"add",r,r)),this},set(r,a){!t&&!Ie(a)&&!So(a)&&(a=At(a));const s=At(this),{has:l,get:i}=Kr(s);let c=l.call(s,r);c?{}.NODE_ENV!=="production"&&Ec(s,l,r):(r=At(r),c=l.call(s,r));const u=i.call(s,r);return s.set(r,a),c?Bo(a,u)&&co(s,"set",r,a,u):co(s,"add",r,a),this},delete(r){const a=At(this),{has:s,get:l}=Kr(a);let i=s.call(a,r);i?{}.NODE_ENV!=="production"&&Ec(a,s,r):(r=At(r),i=s.call(a,r));const c=l?l.call(a,r):void 0,u=a.delete(r);return i&&co(a,"delete",r,void 0,c),u},clear(){const r=At(this),a=r.size!==0,s={}.NODE_ENV!=="production"?an(r)?new Map(r):new Set(r):void 0,l=r.clear();return a&&co(r,"clear",void 0,void 0,s),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{o[r]=Dm(r,e,t)}),o}function Jr(e,t){const o=Fm(e,t);return(n,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(Yt(o,r)&&r in n?o:n,r,a)}const Lm={get:Jr(!1,!1)},zm={get:Jr(!1,!0)},Mm={get:Jr(!0,!1)},Bm={get:Jr(!0,!0)};function Ec(e,t,o){const n=At(o);if(n!==o&&t.call(e,n)){const r=zs(e);lo(`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 Sc=new WeakMap,Oc=new WeakMap,Pc=new WeakMap,Rc=new WeakMap;function Ym(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vm(e){return e.__v_skip||!Object.isExtensible(e)?0:Ym(zs(e))}function jt(e){return So(e)?e:ta(e,!1,Im,Lm,Sc)}function Ic(e){return ta(e,!1,$m,zm,Oc)}function Ac(e){return ta(e,!0,Am,Mm,Pc)}function uo(e){return ta(e,!0,Nm,Bm,Rc)}function ta(e,t,o,n,r){if(!Wt(e))return{}.NODE_ENV!=="production"&&lo(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const s=Vm(e);if(s===0)return e;const l=new Proxy(e,s===2?n:o);return r.set(e,l),l}function fn(e){return So(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function So(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function ea(e){return e?!!e.__v_raw:!1}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function Xm(e){return!Yt(e,"__v_skip")&&Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const Oe=e=>Wt(e)?jt(e):e,Js=e=>Wt(e)?Ac(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function R(e){return $c(e,!1)}function Zm(e){return $c(e,!0)}function $c(e,t){return pe(e)?e:new Gm(e,t)}class Gm{constructor(t,o){this.dep=new js,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:At(t),this._value=o?t:Oe(t),this.__v_isShallow=o}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ie(t)||So(t);t=n?t:At(t),Bo(t,o)&&(this._rawValue=t,this._value=n?t:Oe(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:o}):this.dep.trigger())}}function vt(e){return pe(e)?e.value:e}const Um={get:(e,t,o)=>t==="__v_raw"?e:vt(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return pe(r)&&!pe(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Nc(e){return fn(e)?e:new Proxy(e,Um)}class jm{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new js(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=or-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&qt!==this)return hc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return yc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&lo("Write operation failed: computed value is readonly")}}function Hm(e,t,o=!1){let n,r;Tt(e)?n=e:(n=e.get,r=e.set);const a=new jm(n,r,o);return{}.NODE_ENV!=="production"&&t&&!o&&(a.onTrack=t.onTrack,a.onTrigger=t.onTrigger),a}const oa={},na=new WeakMap;let dn;function Wm(e,t=!1,o=dn){if(o){let n=na.get(o);n||na.set(o,n=[]),n.push(e)}else({}).NODE_ENV!=="production"&&!t&&lo("onWatcherCleanup() was called when there was no active watcher to associate with.")}function qm(e,t,o=Ht){const{immediate:n,deep:r,once:a,scheduler:s,augmentJob:l,call:i}=o,c=_=>{(o.onWarn||lo)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=_=>r?_:Ie(_)||r===!1||r===0?Oo(_,1):Oo(_);let f,d,h,p,w=!1,x=!1;if(pe(e)?(d=()=>e.value,w=Ie(e)):fn(e)?(d=()=>u(e),w=!0):_t(e)?(x=!0,w=e.some(_=>fn(_)||Ie(_)),d=()=>e.map(_=>{if(pe(_))return _.value;if(fn(_))return u(_);if(Tt(_))return i?i(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Tt(e)?t?d=i?()=>i(e,2):e:d=()=>{if(h){Co();try{h()}finally{To()}}const _=dn;dn=f;try{return i?i(e,3,[p]):e(p)}finally{dn=_}}:(d=ge,{}.NODE_ENV!=="production"&&c(e)),t&&r){const _=d,C=r===!0?1/0:r;d=()=>Oo(_(),C)}const v=Cm(),g=()=>{f.stop(),v&&v.active&&Fs(v.effects,f)};if(a&&t){const _=t;t=(...C)=>{_(...C),g()}}let y=x?new Array(e.length).fill(oa):oa;const m=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const C=f.run();if(r||w||(x?C.some((M,X)=>Bo(M,y[X])):Bo(C,y))){h&&h();const M=dn;dn=f;try{const X=[C,y===oa?void 0:x&&y[0]===oa?[]:y,p];i?i(t,3,X):t(...X),y=C}finally{dn=M}}}else f.run()};return l&&l(m),f=new dc(d),f.scheduler=s?()=>s(m,!1):m,p=_=>Wm(_,!1,f),h=f.onStop=()=>{const _=na.get(f);if(_){if(i)i(_,4);else for(const C of _)C();na.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=o.onTrack,f.onTrigger=o.onTrigger),t?n?m(!0):y=f.run():s?s(m.bind(null,!0),!0):f.run(),g.pause=f.pause.bind(f),g.resume=f.resume.bind(f),g.stop=g,g}function Oo(e,t=1/0,o){if(t<=0||!Wt(e)||e.__v_skip||(o=o||new Set,o.has(e)))return e;if(o.add(e),t--,pe(e))Oo(e.value,t,o);else if(_t(e))for(let n=0;n<e.length;n++)Oo(e[n],t,o);else if(sc(e)||an(e))e.forEach(n=>{Oo(n,t,o)});else if(jr(e)){for(const n in e)Oo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Oo(e[n],t,o)}return e}/**
9
+ **/function fo(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let Ve;class l0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Ve;try{return Ve=this,t()}finally{Ve=e}}else({}).NODE_ENV!=="production"&&fo("cannot run an inactive effect scope.")}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){this._active=!1;let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function c0(){return Ve}let Qt;const ri=new WeakSet;class Bc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ri.has(this)&&(ri.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hc(this),Xc(this);const t=Qt,e=oo;Qt=this,oo=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Qt!==this&&fo("Active effect was not restored correctly - this is likely a Vue internal bug."),Zc(this),Qt=t,oo=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ci(t);this.deps=this.depsTail=void 0,Hc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ri.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){li(this)&&this.run()}get dirty(){return li(this)}}let Vc=0,as,is;function Yc(o,t=!1){if(o.flags|=8,t){o.next=is,is=o;return}o.next=as,as=o}function ai(){Vc++}function ii(){if(--Vc>0)return;if(is){let t=is;for(is=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;as;){let t=as;for(as=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){o||(o=n)}t=e}}if(o)throw o}function Xc(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zc(o){let t,e=o.depsTail,n=e;for(;n;){const s=n.prevDep;n.version===-1?(n===e&&(e=s),ci(n),u0(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}o.deps=t,o.depsTail=e}function li(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Uc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function Uc(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===ls))return;o.globalVersion=ls;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!li(o)){o.flags&=-3;return}const e=Qt,n=oo;Qt=o,oo=!0;try{Xc(o);const s=o.fn(o._value);(t.version===0||Vo(s,o._value))&&(o._value=s,t.version++)}catch(s){throw t.version++,s}finally{Qt=e,oo=n,Zc(o),o.flags&=-3}}function ci(o,t=!1){const{dep:e,prevSub:n,nextSub:s}=o;if(n&&(n.nextSub=s,o.prevSub=void 0),s&&(s.prevSub=n,o.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===o&&(e.subsHead=s),e.subs===o&&(e.subs=n,!n&&e.computed)){e.computed.flags&=-5;for(let r=e.computed.deps;r;r=r.nextDep)ci(r,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function u0(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let oo=!0;const Gc=[];function To(){Gc.push(oo),oo=!1}function Eo(){const o=Gc.pop();oo=o===void 0?!0:o}function Hc(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Qt;Qt=void 0;try{t()}finally{Qt=e}}}let ls=0;class f0{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let ui=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Qt||!oo||Qt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Qt)e=this.activeLink=new f0(Qt,this),Qt.deps?(e.prevDep=Qt.depsTail,Qt.depsTail.nextDep=e,Qt.depsTail=e):Qt.deps=Qt.depsTail=e,jc(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const n=e.nextDep;n.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=n),e.prevDep=Qt.depsTail,e.nextDep=void 0,Qt.depsTail.nextDep=e,Qt.depsTail=e,Qt.deps===e&&(Qt.deps=n)}return{}.NODE_ENV!=="production"&&Qt.onTrack&&Qt.onTrack(ee({effect:Qt},t)),e}trigger(t){this.version++,ls++,this.notify(t)}notify(t){ai();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(ee({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ii()}}};function jc(o){if(o.dep.sc++,o.sub.flags&4){const t=o.dep.computed;if(t&&!o.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)jc(n)}const e=o.dep.subs;e!==o&&(o.prevSub=e,e&&(e.nextSub=o)),{}.NODE_ENV!=="production"&&o.dep.subsHead===void 0&&(o.dep.subsHead=o),o.dep.subs=o}}const fi=new WeakMap,fn=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),di=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),cs=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function _e(o,t,e){if(oo&&Qt){let n=fi.get(o);n||fi.set(o,n=new Map);let s=n.get(e);s||(n.set(e,s=new ui),s.map=n,s.key=e),{}.NODE_ENV!=="production"?s.track({target:o,type:t,key:e}):s.track()}}function ho(o,t,e,n,s,r){const a=fi.get(o);if(!a){ls++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:o,type:t,key:e,newValue:n,oldValue:s,oldTarget:r}):l.trigger())};if(ai(),t==="clear")a.forEach(i);else{const l=_t(o),c=l&&oi(e);if(l&&e==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===cs||!Co(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(cs)),t){case"add":l?c&&i(a.get("length")):(i(a.get(fn)),an(o)&&i(a.get(di)));break;case"delete":l||(i(a.get(fn)),an(o)&&i(a.get(di)));break;case"set":an(o)&&i(a.get(fn));break}}ii()}function Pn(o){const t=It(o);return t===o?t:(_e(t,"iterate",cs),Ae(o)?t:t.map(Pe))}function sr(o){return _e(o=It(o),"iterate",cs),o}const d0={__proto__:null,[Symbol.iterator](){return hi(this,Symbol.iterator,Pe)},concat(...o){return Pn(this).concat(...o.map(t=>_t(t)?Pn(t):t))},entries(){return hi(this,"entries",o=>(o[1]=Pe(o[1]),o))},every(o,t){return So(this,"every",o,t,void 0,arguments)},filter(o,t){return So(this,"filter",o,t,e=>e.map(Pe),arguments)},find(o,t){return So(this,"find",o,t,Pe,arguments)},findIndex(o,t){return So(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return So(this,"findLast",o,t,Pe,arguments)},findLastIndex(o,t){return So(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return So(this,"forEach",o,t,void 0,arguments)},includes(...o){return pi(this,"includes",o)},indexOf(...o){return pi(this,"indexOf",o)},join(o){return Pn(this).join(o)},lastIndexOf(...o){return pi(this,"lastIndexOf",o)},map(o,t){return So(this,"map",o,t,void 0,arguments)},pop(){return us(this,"pop")},push(...o){return us(this,"push",o)},reduce(o,...t){return Wc(this,"reduce",o,t)},reduceRight(o,...t){return Wc(this,"reduceRight",o,t)},shift(){return us(this,"shift")},some(o,t){return So(this,"some",o,t,void 0,arguments)},splice(...o){return us(this,"splice",o)},toReversed(){return Pn(this).toReversed()},toSorted(o){return Pn(this).toSorted(o)},toSpliced(...o){return Pn(this).toSpliced(...o)},unshift(...o){return us(this,"unshift",o)},values(){return hi(this,"values",Pe)}};function hi(o,t,e){const n=sr(o),s=n[t]();return n!==o&&!Ae(o)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=e(r.value)),r}),s}const h0=Array.prototype;function So(o,t,e,n,s,r){const a=sr(o),i=a!==o&&!Ae(o),l=a[t];if(l!==h0[t]){const f=l.apply(o,r);return i?Pe(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Pe(f),d,o)}:e.length>2&&(c=function(f,d){return e.call(this,f,d,o)}));const u=l.call(a,c,n);return i&&s?s(u):u}function Wc(o,t,e,n){const s=sr(o);let r=e;return s!==o&&(Ae(o)?e.length>3&&(r=function(a,i,l){return e.call(this,a,i,l,o)}):r=function(a,i,l){return e.call(this,a,Pe(i),l,o)}),s[t](r,...n)}function pi(o,t,e){const n=It(o);_e(n,"iterate",cs);const s=n[t](...e);return(s===-1||s===!1)&&cr(e[0])?(e[0]=It(e[0]),n[t](...e)):s}function us(o,t,e=[]){To(),ai();const n=It(o)[t].apply(o,e);return ii(),Eo(),n}const p0=wo("__proto__,__v_isRef,__isVue"),qc=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(Co));function m0(o){Co(o)||(o=String(o));const t=It(this);return _e(t,"has",o),t.hasOwnProperty(o)}class Kc{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if(e==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(e==="__v_isReactive")return!s;if(e==="__v_isReadonly")return s;if(e==="__v_isShallow")return r;if(e==="__v_raw")return n===(s?r?su:nu:r?ou:eu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=_t(t);if(!s){let l;if(a&&(l=d0[e]))return l;if(e==="hasOwnProperty")return m0}const i=Reflect.get(t,e,me(t)?t:n);return(Co(e)?qc.has(e):p0(e))||(s||_e(t,"get",e),r)?i:me(i)?a&&oi(e)?i:i.value:Kt(i)?s?au(i):Wt(i):i}}class Qc extends Kc{constructor(t=!1){super(!1,t)}set(t,e,n,s){let r=t[e];if(!this._isShallow){const l=Oo(r);if(!Ae(n)&&!Oo(n)&&(r=It(r),n=It(n)),!_t(t)&&me(r)&&!me(n))return l?!1:(r.value=n,!0)}const a=_t(t)&&oi(e)?Number(e)<t.length:Lt(t,e),i=Reflect.set(t,e,n,me(t)?t:s);return t===It(s)&&(a?Vo(n,r)&&ho(t,"set",e,n,r):ho(t,"add",e,n)),i}deleteProperty(t,e){const n=Lt(t,e),s=t[e],r=Reflect.deleteProperty(t,e);return r&&n&&ho(t,"delete",e,void 0,s),r}has(t,e){const n=Reflect.has(t,e);return(!Co(e)||!qc.has(e))&&_e(t,"has",e),n}ownKeys(t){return _e(t,"iterate",_t(t)?"length":fn),Reflect.ownKeys(t)}}class Jc extends Kc{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&fo(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&fo(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const g0=new Qc,y0=new Jc,v0=new Qc(!0),b0=new Jc(!0),mi=o=>o,rr=o=>Reflect.getPrototypeOf(o);function _0(o,t,e){return function(...n){const s=this.__v_raw,r=It(s),a=an(r),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=s[o](...n),u=e?mi:t?gi:Pe;return!t&&_e(r,"iterate",l?di:fn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:i?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ar(o){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";fo(`${ln(o)} operation ${e}failed: target is readonly.`,It(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function x0(o,t){const e={get(s){const r=this.__v_raw,a=It(r),i=It(s);o||(Vo(s,i)&&_e(a,"get",s),_e(a,"get",i));const{has:l}=rr(a),c=t?mi:o?gi:Pe;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!o&&_e(It(s),"iterate",fn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=It(r),i=It(s);return o||(Vo(s,i)&&_e(a,"has",s),_e(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=It(i),c=t?mi:o?gi:Pe;return!o&&_e(l,"iterate",fn),i.forEach((u,f)=>s.call(r,c(u),c(f),a))}};return ee(e,o?{add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear")}:{add(s){!t&&!Ae(s)&&!Oo(s)&&(s=It(s));const r=It(this);return rr(r).has.call(r,s)||(r.add(s),ho(r,"add",s,s)),this},set(s,r){!t&&!Ae(r)&&!Oo(r)&&(r=It(r));const a=It(this),{has:i,get:l}=rr(a);let c=i.call(a,s);c?{}.NODE_ENV!=="production"&&tu(a,i,s):(s=It(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?Vo(r,u)&&ho(a,"set",s,r,u):ho(a,"add",s,r),this},delete(s){const r=It(this),{has:a,get:i}=rr(r);let l=a.call(r,s);l?{}.NODE_ENV!=="production"&&tu(r,a,s):(s=It(s),l=a.call(r,s));const c=i?i.call(r,s):void 0,u=r.delete(s);return l&&ho(r,"delete",s,void 0,c),u},clear(){const s=It(this),r=s.size!==0,a={}.NODE_ENV!=="production"?an(s)?new Map(s):new Set(s):void 0,i=s.clear();return r&&ho(s,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=_0(s,o,t)}),e}function ir(o,t){const e=x0(o,t);return(n,s,r)=>s==="__v_isReactive"?!o:s==="__v_isReadonly"?o:s==="__v_raw"?n:Reflect.get(Lt(e,s)&&s in n?e:n,s,r)}const k0={get:ir(!1,!1)},w0={get:ir(!1,!0)},C0={get:ir(!0,!1)},T0={get:ir(!0,!0)};function tu(o,t,e){const n=It(e);if(n!==e&&t.call(o,n)){const s=ei(o);fo(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="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 eu=new WeakMap,ou=new WeakMap,nu=new WeakMap,su=new WeakMap;function E0(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function S0(o){return o.__v_skip||!Object.isExtensible(o)?0:E0(ei(o))}function Wt(o){return Oo(o)?o:lr(o,!1,g0,k0,eu)}function ru(o){return lr(o,!1,v0,w0,ou)}function au(o){return lr(o,!0,y0,C0,nu)}function po(o){return lr(o,!0,b0,T0,su)}function lr(o,t,e,n,s){if(!Kt(o))return{}.NODE_ENV!=="production"&&fo(`value cannot be made ${t?"readonly":"reactive"}: ${String(o)}`),o;if(o.__v_raw&&!(t&&o.__v_isReactive))return o;const r=s.get(o);if(r)return r;const a=S0(o);if(a===0)return o;const i=new Proxy(o,a===2?n:e);return s.set(o,i),i}function dn(o){return Oo(o)?dn(o.__v_raw):!!(o&&o.__v_isReactive)}function Oo(o){return!!(o&&o.__v_isReadonly)}function Ae(o){return!!(o&&o.__v_isShallow)}function cr(o){return o?!!o.__v_raw:!1}function It(o){const t=o&&o.__v_raw;return t?It(t):o}function O0(o){return!Lt(o,"__v_skip")&&Object.isExtensible(o)&&nr(o,"__v_skip",!0),o}const Pe=o=>Kt(o)?Wt(o):o,gi=o=>Kt(o)?au(o):o;function me(o){return o?o.__v_isRef===!0:!1}function O(o){return iu(o,!1)}function P0(o){return iu(o,!0)}function iu(o,t){return me(o)?o:new R0(o,t)}class R0{constructor(t,e){this.dep=new ui,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:It(t),this._value=e?t:Pe(t),this.__v_isShallow=e}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ae(t)||Oo(t);t=n?t:It(t),Vo(t,e)&&(this._rawValue=t,this._value=n?t:Pe(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Ot(o){return me(o)?o.value:o}const I0={get:(o,t,e)=>t==="__v_raw"?o:Ot(Reflect.get(o,t,e)),set:(o,t,e,n)=>{const s=o[t];return me(s)&&!me(e)?(s.value=e,!0):Reflect.set(o,t,e,n)}};function lu(o){return dn(o)?o:new Proxy(o,I0)}class A0{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new ui(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ls-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qt!==this)return Yc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Uc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&fo("Write operation failed: computed value is readonly")}}function $0(o,t,e=!1){let n,s;Tt(o)?n=o:(n=o.get,s=o.set);const r=new A0(n,s,e);return{}.NODE_ENV!=="production"&&t&&!e&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const ur={},fr=new WeakMap;let hn;function N0(o,t=!1,e=hn){if(e){let n=fr.get(e);n||fr.set(e,n=[]),n.push(o)}else({}).NODE_ENV!=="production"&&!t&&fo("onWatcherCleanup() was called when there was no active watcher to associate with.")}function F0(o,t,e=qt){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=e,c=b=>{(e.onWarn||fo)("Invalid watch source: ",b,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=b=>s?b:Ae(b)||s===!1||s===0?Po(b,1):Po(b);let f,d,h,p,v=!1,k=!1;if(me(o)?(d=()=>o.value,v=Ae(o)):dn(o)?(d=()=>u(o),v=!0):_t(o)?(k=!0,v=o.some(b=>dn(b)||Ae(b)),d=()=>o.map(b=>{if(me(b))return b.value;if(dn(b))return u(b);if(Tt(b))return l?l(b,2):b();({}).NODE_ENV!=="production"&&c(b)})):Tt(o)?t?d=l?()=>l(o,2):o:d=()=>{if(h){To();try{h()}finally{Eo()}}const b=hn;hn=f;try{return l?l(o,3,[p]):o(p)}finally{hn=b}}:(d=be,{}.NODE_ENV!=="production"&&c(o)),t&&s){const b=d,_=s===!0?1/0:s;d=()=>Po(b(),_)}const x=c0(),m=()=>{f.stop(),x&&x.active&&Ja(x.effects,f)};if(r&&t){const b=t;t=(..._)=>{b(..._),m()}}let g=k?new Array(o.length).fill(ur):ur;const y=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const _=f.run();if(s||v||(k?_.some(($,Y)=>Vo($,g[Y])):Vo(_,g))){h&&h();const $=hn;hn=f;try{const Y=[_,g===ur?void 0:k&&g[0]===ur?[]:g,p];l?l(t,3,Y):t(...Y),g=_}finally{hn=$}}}else f.run()};return i&&i(y),f=new Bc(d),f.scheduler=a?()=>a(y,!1):y,p=b=>N0(b,!1,f),h=f.onStop=()=>{const b=fr.get(f);if(b){if(l)l(b,4);else for(const _ of b)_();fr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?n?y(!0):g=f.run():a?a(y.bind(null,!0),!0):f.run(),m.pause=f.pause.bind(f),m.resume=f.resume.bind(f),m.stop=m,m}function Po(o,t=1/0,e){if(t<=0||!Kt(o)||o.__v_skip||(e=e||new Set,e.has(o)))return o;if(e.add(o),t--,me(o))Po(o.value,t,e);else if(_t(o))for(let n=0;n<o.length;n++)Po(o[n],t,e);else if(Nc(o)||an(o))o.forEach(n=>{Po(n,t,e)});else if(er(o)){for(const n in o)Po(o[n],t,e);for(const n of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,n)&&Po(o[n],t,e)}return o}/**
10
10
  * @vue/runtime-core v3.5.13
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const pn=[];function ra(e){pn.push(e)}function aa(){pn.pop()}let ti=!1;function Q(e,...t){if(ti)return;ti=!0,Co();const o=pn.length?pn[pn.length-1].component:null,n=o&&o.appContext.config.warnHandler,r=Km();if(n)Rn(n,o,11,[e+t.map(a=>{var s,l;return(l=(s=a.toString)==null?void 0:s.call(a))!=null?l:JSON.stringify(a)}).join(""),o&&o.proxy,r.map(({vnode:a})=>`at <${Sa(o,a.type)}>`).join(`
14
- `),r]);else{const a=[`[Vue warn]: ${e}`,...t];r.length&&a.push(`
15
- `,...Qm(r)),console.warn(...a)}To(),ti=!1}function Km(){let e=pn[pn.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Qm(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
16
- `],...Jm(o))}),t}function Jm({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${Sa(e.component,e.type,n)}`,a=">"+o;return e.props?[r,...t0(e.props),a]:[r+a]}function t0(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Dc(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Dc(e,t,o){return ee(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:pe(t)?(t=Dc(e,At(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Tt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),o?t:[`${e}=`,t])}function e0(e,t){({}).NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?Q(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Q(`${t} is NaN - the duration expression might be incorrect.`))}const ei={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Rn(e,t,o,n){try{return n?e(...n):e()}catch(r){ar(r,t,o)}}function eo(e,t,o,n){if(Tt(e)){const r=Rn(e,t,o,n);return r&&Ls(r)&&r.catch(a=>{ar(a,t,o)}),r}if(_t(e)){const r=[];for(let a=0;a<e.length;a++)r.push(eo(e[a],t,o,n));return r}else({}).NODE_ENV!=="production"&&Q(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ar(e,t,o,n=!0){const r=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Ht;if(t){let l=t.parent;const i=t.proxy,c={}.NODE_ENV!=="production"?ei[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,i,c)===!1)return}l=l.parent}if(a){Co(),Rn(a,null,10,[e,i,c]),To();return}}o0(e,o,r,n,s)}function o0(e,t,o,n=!0,r=!1){if({}.NODE_ENV!=="production"){const a=ei[t];if(o&&ra(o),Q(`Unhandled error${a?` during execution of ${a}`:""}`),o&&aa(),n)throw e;console.error(e)}else{if(r)throw e;console.error(e)}}const Ae=[];let fo=-1;const In=[];let Yo=null,An=0;const Fc=Promise.resolve();let sa=null;const n0=100;function ia(e){const t=sa||Fc;return e?t.then(this?e.bind(this):e):t}function r0(e){let t=fo+1,o=Ae.length;for(;t<o;){const n=t+o>>>1,r=Ae[n],a=sr(r);a<e||a===e&&r.flags&2?t=n+1:o=n}return t}function la(e){if(!(e.flags&1)){const t=sr(e),o=Ae[Ae.length-1];!o||!(e.flags&2)&&t>=sr(o)?Ae.push(e):Ae.splice(r0(t),0,e),e.flags|=1,Lc()}}function Lc(){sa||(sa=Fc.then(Yc))}function zc(e){_t(e)?In.push(...e):Yo&&e.id===-1?Yo.splice(An+1,0,e):e.flags&1||(In.push(e),e.flags|=1),Lc()}function Mc(e,t,o=fo+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);o<Ae.length;o++){const n=Ae[o];if(n&&n.flags&2){if(e&&n.id!==e.uid||{}.NODE_ENV!=="production"&&oi(t,n))continue;Ae.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Bc(e){if(In.length){const t=[...new Set(In)].sort((o,n)=>sr(o)-sr(n));if(In.length=0,Yo){Yo.push(...t);return}for(Yo=t,{}.NODE_ENV!=="production"&&(e=e||new Map),An=0;An<Yo.length;An++){const o=Yo[An];({}).NODE_ENV!=="production"&&oi(e,o)||(o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2)}Yo=null,An=0}}const sr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Yc(e){({}).NODE_ENV!=="production"&&(e=e||new Map);const t={}.NODE_ENV!=="production"?o=>oi(e,o):ge;try{for(fo=0;fo<Ae.length;fo++){const o=Ae[fo];if(o&&!(o.flags&8)){if({}.NODE_ENV!=="production"&&t(o))continue;o.flags&4&&(o.flags&=-2),Rn(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2)}}}finally{for(;fo<Ae.length;fo++){const o=Ae[fo];o&&(o.flags&=-2)}fo=-1,Ae.length=0,Bc(e),sa=null,(Ae.length||In.length)&&Yc(e)}}function oi(e,t){const o=e.get(t)||0;if(o>n0){const n=t.i,r=n&&br(n.type);return ar(`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}return e.set(t,o+1),!1}let po=!1;const ca=new Map;({}).NODE_ENV!=="production"&&(Jn().__VUE_HMR_RUNTIME__={createRecord:ni(Vc),rerender:ni(i0),reload:ni(l0)});const hn=new Map;function a0(e){const t=e.type.__hmrId;let o=hn.get(t);o||(Vc(t,e.type),o=hn.get(t)),o.instances.add(e)}function s0(e){hn.get(e.type.__hmrId).instances.delete(e)}function Vc(e,t){return hn.has(e)?!1:(hn.set(e,{initialDef:ua(t),instances:new Set}),!0)}function ua(e){return ju(e)?e.__vccOpts:e}function i0(e,t){const o=hn.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(n=>{t&&(n.render=t,ua(n.type).render=t),n.renderCache=[],po=!0,n.update(),po=!1}))}function l0(e,t){const o=hn.get(e);if(!o)return;t=ua(t),Xc(o.initialDef,t);const n=[...o.instances];for(let r=0;r<n.length;r++){const a=n[r],s=ua(a.type);let l=ca.get(s);l||(s!==o.initialDef&&Xc(s,t),ca.set(s,l=new Set)),l.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(l.add(a),a.ceReload(t.styles),l.delete(a)):a.parent?la(()=>{po=!0,a.parent.update(),po=!1,l.delete(a)}):a.appContext.reload?a.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),a.root.ce&&a!==a.root&&a.root.ce._removeChildStyle(s)}zc(()=>{ca.clear()})}function Xc(e,t){Jt(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function ni(e){return(t,o)=>{try{return e(t,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ho,ir=[],ri=!1;function lr(e,...t){ho?ho.emit(e,...t):ri||ir.push({event:e,args:t})}function Zc(e,t){var o,n;ho=e,ho?(ho.enabled=!0,ir.forEach(({event:r,args:a})=>ho.emit(r,...a)),ir=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Zc(a,t)}),setTimeout(()=>{ho||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ri=!0,ir=[])},3e3)):(ri=!0,ir=[])}function c0(e,t){lr("app:init",e,t,{Fragment:zt,Text:pr,Comment:ce,Static:hr})}function u0(e){lr("app:unmount",e)}const ai=si("component:added"),Gc=si("component:updated"),f0=si("component:removed"),d0=e=>{ho&&typeof ho.cleanupBuffer=="function"&&!ho.cleanupBuffer(e)&&f0(e)};/*! #__NO_SIDE_EFFECTS__ */function si(e){return t=>{lr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const p0=Uc("perf:start"),h0=Uc("perf:end");function Uc(e){return(t,o,n)=>{lr(e,t.appContext.app,t.uid,t,o,n)}}function m0(e,t,o){lr("component:emit",e.appContext.app,e,t,o)}let he=null,jc=null;function fa(e){const t=he;return he=e,jc=e&&e.type.__scopeId||null,t}function at(e,t=he,o){if(!t||e._n)return e;const n=(...r)=>{n._d&&Du(-1);const a=fa(t);let s;try{s=e(...r)}finally{fa(a),n._d&&Du(1)}return{}.NODE_ENV!=="production"&&Gc(t),s};return n._n=!0,n._c=!0,n._d=!0,n}function Hc(e){lm(e)&&Q("Do not use built-in directive ids as custom directive id: "+e)}function g0(e,t){if(he===null)return{}.NODE_ENV!=="production"&&Q("withDirectives can only be used inside render functions."),e;const o=Ea(he),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[a,s,l,i=Ht]=t[r];a&&(Tt(a)&&(a={mounted:a,updated:a}),a.deep&&Oo(s),n.push({dir:a,instance:o,value:s,oldValue:void 0,arg:l,modifiers:i}))}return e}function mn(e,t,o,n){const r=e.dirs,a=t&&t.dirs;for(let s=0;s<r.length;s++){const l=r[s];a&&(l.oldValue=a[s].value);let i=l.dir[n];i&&(Co(),eo(i,o,8,[e.el,l,e,t]),To())}}const y0=Symbol("_vte"),Wc=e=>e.__isTeleport,Vo=Symbol("_leaveCb"),da=Symbol("_enterCb");function v0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fe(()=>{e.isMounted=!0}),ui(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],qc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},Kc=e=>{const t=e.subTree;return t.component?Kc(t.component):t},b0={name:"BaseTransition",props:qc,setup(e,{slots:t}){const o=jo(),n=v0();return()=>{const r=t.default&&eu(t.default(),!0);if(!r||!r.length)return;const a=Qc(r),s=At(e),{mode:l}=s;if({}.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&Q(`invalid <transition> mode: ${l}`),n.isLeaving)return li(a);const i=tu(a);if(!i)return li(a);let c=ii(i,s,n,o,f=>c=f);i.type!==ce&&$n(i,c);let u=o.subTree&&tu(o.subTree);if(u&&u.type!==ce&&!Go(i,u)&&Kc(o).type!==ce){let f=ii(u,s,n,o);if($n(u,f),l==="out-in"&&i.type!==ce)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete f.afterLeave,u=void 0},li(a);l==="in-out"&&i.type!==ce?f.delayLeave=(d,h,p)=>{const w=Jc(n,u);w[String(u.key)]=u,d[Vo]=()=>{h(),d[Vo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return a}}};function Qc(e){let t=e[0];if(e.length>1){let o=!1;for(const n of e)if(n.type!==ce){if({}.NODE_ENV!=="production"&&o){Q("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,o=!0,{}.NODE_ENV==="production")break}}return t}const _0=b0;function Jc(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function ii(e,t,o,n,r){const{appear:a,mode:s,persisted:l=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:w,onBeforeAppear:x,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,m=String(e.key),_=Jc(o,e),C=(G,V)=>{G&&eo(G,n,9,V)},M=(G,V)=>{const pt=V[1];C(G,V),_t(G)?G.every(K=>K.length<=1)&&pt():G.length<=1&&pt()},X={mode:s,persisted:l,beforeEnter(G){let V=i;if(!o.isMounted)if(a)V=x||i;else return;G[Vo]&&G[Vo](!0);const pt=_[m];pt&&Go(e,pt)&&pt.el[Vo]&&pt.el[Vo](),C(V,[G])},enter(G){let V=c,pt=u,K=f;if(!o.isMounted)if(a)V=v||c,pt=g||u,K=y||f;else return;let lt=!1;const gt=G[da]=wt=>{lt||(lt=!0,wt?C(K,[G]):C(pt,[G]),X.delayedLeave&&X.delayedLeave(),G[da]=void 0)};V?M(V,[G,gt]):gt()},leave(G,V){const pt=String(e.key);if(G[da]&&G[da](!0),o.isUnmounting)return V();C(d,[G]);let K=!1;const lt=G[Vo]=gt=>{K||(K=!0,V(),gt?C(w,[G]):C(p,[G]),G[Vo]=void 0,_[pt]===e&&delete _[pt])};_[pt]=e,h?M(h,[G,lt]):lt()},clone(G){const V=ii(G,t,o,n,r);return r&&r(V),V}};return X}function li(e){if(cr(e))return e=no(e),e.children=null,e}function tu(e){if(!cr(e))return Wc(e.type)&&e.children?Qc(e.children):e;if({}.NODE_ENV!=="production"&&e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Tt(o.default))return o.default()}}function $n(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$n(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eu(e,t=!1,o){let n=[],r=0;for(let a=0;a<e.length;a++){let s=e[a];const l=o==null?s.key:String(o)+String(s.key!=null?s.key:a);s.type===zt?(s.patchFlag&128&&r++,n=n.concat(eu(s.children,t,l))):(t||s.type!==ce)&&n.push(l!=null?no(s,{key:l}):s)}if(r>1)for(let a=0;a<n.length;a++)n[a].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Y(e,t){return Tt(e)?(()=>Jt({name:e.name},t,{setup:e}))():e}function ou(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const x0=new WeakSet;function pa(e,t,o,n,r=!1){if(_t(e)){e.forEach((p,w)=>pa(p,t&&(_t(t)?t[w]:t),o,n,r));return}if(gn(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&pa(e,t,o,n.component.subTree);return}const a=n.shapeFlag&4?Ea(n.component):n.el,s=r?null:a,{i:l,r:i}=e;if({}.NODE_ENV!=="production"&&!l){Q("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=t&&t.r,u=l.refs===Ht?l.refs={}:l.refs,f=l.setupState,d=At(f),h=f===Ht?()=>!1:p=>({}).NODE_ENV!=="production"&&(Yt(d,p)&&!pe(d[p])&&Q(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),x0.has(d[p]))?!1:Yt(d,p);if(c!=null&&c!==i&&(ee(c)?(u[c]=null,h(c)&&(f[c]=null)):pe(c)&&(c.value=null)),Tt(i))Rn(i,l,12,[s,u]);else{const p=ee(i),w=pe(i);if(p||w){const x=()=>{if(e.f){const v=p?h(i)?f[i]:u[i]:i.value;r?_t(v)&&Fs(v,a):_t(v)?v.includes(a)||v.push(a):p?(u[i]=[a],h(i)&&(f[i]=u[i])):(i.value=[a],e.k&&(u[e.k]=i.value))}else p?(u[i]=s,h(i)&&(f[i]=s)):w?(i.value=s,e.k&&(u[e.k]=s)):{}.NODE_ENV!=="production"&&Q("Invalid template ref type:",i,`(${typeof i})`)};s?(x.id=-1,Ce(x,o)):x()}else({}).NODE_ENV!=="production"&&Q("Invalid template ref type:",i,`(${typeof i})`)}}Jn().requestIdleCallback,Jn().cancelIdleCallback;const gn=e=>!!e.type.__asyncLoader,cr=e=>e.type.__isKeepAlive,nu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const o=jo(),n=o.ctx;if(!n.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const r=new Map,a=new Set;let s=null;({}).NODE_ENV!=="production"&&(o.__v_cache=r);const l=o.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(g,y,m,_,C)=>{const M=g.component;c(g,y,m,0,l),i(M.vnode,g,y,m,M,l,_,g.slotScopeIds,C),Ce(()=>{M.isDeactivated=!1,M.a&&cn(M.a);const X=g.props&&g.props.onVnodeMounted;X&&He(X,M.parent,g)},l),{}.NODE_ENV!=="production"&&ai(M)},n.deactivate=g=>{const y=g.component;_a(y.m),_a(y.a),c(g,d,null,1,l),Ce(()=>{y.da&&cn(y.da);const m=g.props&&g.props.onVnodeUnmounted;m&&He(m,y.parent,g),y.isDeactivated=!0},l),{}.NODE_ENV!=="production"&&ai(y)};function h(g){ci(g),u(g,o,l,!0)}function p(g){r.forEach((y,m)=>{const _=br(y.type);_&&!g(_)&&w(m)})}function w(g){const y=r.get(g);y&&(!s||!Go(y,s))?h(y):s&&ci(s),r.delete(g),a.delete(g)}Pt(()=>[e.include,e.exclude],([g,y])=>{g&&p(m=>ur(g,m)),y&&p(m=>!ur(y,m))},{flush:"post",deep:!0});let x=null;const v=()=>{x!=null&&(wa(o.subTree.type)?Ce(()=>{r.set(x,ha(o.subTree))},o.subTree.suspense):r.set(x,ha(o.subTree)))};return fe(v),au(v),ui(()=>{r.forEach(g=>{const{subTree:y,suspense:m}=o,_=ha(y);if(g.type===_.type&&g.key===_.key){ci(_);const C=_.component.da;C&&Ce(C,m);return}h(g)})}),()=>{if(x=null,!t.default)return s=null;const g=t.default(),y=g[0];if(g.length>1)return{}.NODE_ENV!=="production"&&Q("KeepAlive should contain exactly one component child."),s=null,g;if(!Zo(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return s=null,y;let m=ha(y);if(m.type===ce)return s=null,m;const _=m.type,C=br(gn(m)?m.type.__asyncResolved||{}:_),{include:M,exclude:X,max:G}=e;if(M&&(!C||!ur(M,C))||X&&C&&ur(X,C))return m.shapeFlag&=-257,s=m,y;const V=m.key==null?_:m.key,pt=r.get(V);return m.el&&(m=no(m),y.shapeFlag&128&&(y.ssContent=m)),x=V,pt?(m.el=pt.el,m.component=pt.component,m.transition&&$n(m,m.transition),m.shapeFlag|=512,a.delete(V),a.add(V)):(a.add(V),G&&a.size>parseInt(G,10)&&w(a.values().next().value)),m.shapeFlag|=256,s=m,wa(y.type)?y:m}}};function ur(e,t){return _t(e)?e.some(o=>ur(o,t)):ee(e)?e.split(",").includes(t):im(e)?(e.lastIndex=0,e.test(t)):!1}function k0(e,t){ru(e,"a",t)}function w0(e,t){ru(e,"da",t)}function ru(e,t,o=ve){const n=e.__wdc||(e.__wdc=()=>{let r=o;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ma(t,n,o),o){let r=o.parent;for(;r&&r.parent;)cr(r.parent.vnode)&&C0(n,t,o,r),r=r.parent}}function C0(e,t,o,n){const r=ma(t,e,n,!0);re(()=>{Fs(n[t],r)},o)}function ci(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ha(e){return e.shapeFlag&128?e.ssContent:e}function ma(e,t,o=ve,n=!1){if(o){const r=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...s)=>{Co();const l=yr(o),i=eo(t,o,e,s);return l(),To(),i});return n?r.unshift(a):r.push(a),a}else if({}.NODE_ENV!=="production"){const r=ln(ei[e].replace(/ hook$/,""));Q(`${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 Po=e=>(t,o=ve)=>{(!vr||e==="sp")&&ma(e,(...n)=>t(...n),o)},T0=Po("bm"),fe=Po("m"),E0=Po("bu"),au=Po("u"),ui=Po("bum"),re=Po("um"),S0=Po("sp"),O0=Po("rtg"),P0=Po("rtc");function R0(e,t=ve){ma("ec",e,t)}const fi="components",su=Symbol.for("v-ndc");function iu(e){return ee(e)?I0(fi,e,!1)||e:e||su}function I0(e,t,o=!0,n=!1){const r=he||ve;if(r){const a=r.type;if(e===fi){const l=br(a,!1);if(l&&(l===t||l===be(t)||l===sn(be(t))))return a}const s=lu(r[e]||a[e],t)||lu(r.appContext[e],t);if(!s&&n)return a;if({}.NODE_ENV!=="production"&&o&&!s){const l=e===fi?`
17
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";Q(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return s}else({}).NODE_ENV!=="production"&&Q(`resolve${sn(e.slice(0,-1))} can only be used in render() or setup().`)}function lu(e,t){return e&&(e[t]||e[be(t)]||e[sn(be(t))])}function we(e,t,o,n){let r;const a=o&&o[n],s=_t(e);if(s||ee(e)){const l=s&&fn(e);let i=!1;l&&(i=!Ie(e),e=qr(e)),r=new Array(e.length);for(let c=0,u=e.length;c<u;c++)r[c]=t(i?Oe(e[c]):e[c],c,void 0,a&&a[c])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&Q(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,a&&a[l])}else if(Wt(e))if(e[Symbol.iterator])r=Array.from(e,(l,i)=>t(l,i,void 0,a&&a[i]));else{const l=Object.keys(e);r=new Array(l.length);for(let i=0,c=l.length;i<c;i++){const u=l[i];r[i]=t(e[u],u,i,a&&a[i])}}else r=[];return o&&(o[n]=r),r}function dt(e,t,o={},n,r){if(he.ce||he.parent&&gn(he.parent)&&he.parent.ce)return t!=="default"&&(o.name=t),A(),ht(zt,null,[J("slot",o,n&&n())],64);let a=e[t];({}).NODE_ENV!=="production"&&a&&a.length>1&&(Q("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."),a=()=>[]),a&&a._c&&(a._d=!1),A();const s=a&&cu(a(o)),l=o.key||s&&s.key,i=ht(zt,{key:(l&&!wo(l)?l:`_${t}`)+(!s&&n?"_fb":"")},s||(n?n():[]),s&&e._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),a&&a._c&&(a._d=!0),i}function cu(e){return e.some(t=>Zo(t)?!(t.type===ce||t.type===zt&&!cu(t.children)):!0)?e:null}const di=e=>e?Vu(e)?Ea(e):di(e.parent):null,yn=Jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?uo(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?uo(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?uo(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?uo(e.refs):e.refs,$parent:e=>di(e.parent),$root:e=>di(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gi(e),$forceUpdate:e=>e.f||(e.f=()=>{la(e.update)}),$nextTick:e=>e.n||(e.n=ia.bind(e.proxy)),$watch:e=>fg.bind(e)}),pi=e=>e==="_"||e==="$",hi=(e,t)=>e!==Ht&&!e.__isScriptSetup&&Yt(e,t),uu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:r,props:a,accessCache:s,type:l,appContext:i}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return a[t]}else{if(hi(n,t))return s[t]=1,n[t];if(r!==Ht&&Yt(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&Yt(c,t))return s[t]=3,a[t];if(o!==Ht&&Yt(o,t))return s[t]=4,o[t];mi&&(s[t]=0)}}const u=yn[t];let f,d;if(u)return t==="$attrs"?(ye(e.attrs,"get",""),{}.NODE_ENV!=="production"&&ka()):{}.NODE_ENV!=="production"&&t==="$slots"&&ye(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(o!==Ht&&Yt(o,t))return s[t]=4,o[t];if(d=i.config.globalProperties,Yt(d,t))return d[t];({}).NODE_ENV!=="production"&&he&&(!ee(t)||t.indexOf("__v")!==0)&&(r!==Ht&&pi(t[0])&&Yt(r,t)?Q(`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===he&&Q(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:n,setupState:r,ctx:a}=e;return hi(r,t)?(r[t]=o,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&Yt(r,t)?(Q(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==Ht&&Yt(n,t)?(n[t]=o,!0):Yt(e.props,t)?({}.NODE_ENV!=="production"&&Q(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&Q(`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(a,t,{enumerable:!0,configurable:!0,value:o}):a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,propsOptions:a}},s){let l;return!!o[s]||e!==Ht&&Yt(e,s)||hi(t,s)||(l=a[0])&&Yt(l,s)||Yt(n,s)||Yt(yn,s)||Yt(r.config.globalProperties,s)},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Yt(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};({}).NODE_ENV!=="production"&&(uu.ownKeys=e=>(Q("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 A0(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(yn).forEach(o=>{Object.defineProperty(t,o,{configurable:!0,enumerable:!1,get:()=>yn[o](e),set:ge})}),t}function $0(e){const{ctx:t,propsOptions:[o]}=e;o&&Object.keys(o).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:ge})})}function N0(e){const{ctx:t,setupState:o}=e;Object.keys(At(o)).forEach(n=>{if(!o.__isScriptSetup){if(pi(n[0])){Q(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:ge})}})}function D0(){return F0().slots}function F0(){const e=jo();return{}.NODE_ENV!=="production"&&!e&&Q("useContext() called without active instance."),e.setupContext||(e.setupContext=Uu(e))}function fu(e){return _t(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}function L0(){const e=Object.create(null);return(t,o)=>{e[o]?Q(`${t} property "${o}" is already defined in ${e[o]}.`):e[o]=t}}let mi=!0;function z0(e){const t=gi(e),o=e.proxy,n=e.ctx;mi=!1,t.beforeCreate&&du(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:s,watch:l,provide:i,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:w,deactivated:x,beforeDestroy:v,beforeUnmount:g,destroyed:y,unmounted:m,render:_,renderTracked:C,renderTriggered:M,errorCaptured:X,serverPrefetch:G,expose:V,inheritAttrs:pt,components:K,directives:lt,filters:gt}=t,wt={}.NODE_ENV!=="production"?L0():null;if({}.NODE_ENV!=="production"){const[Et]=e.propsOptions;if(Et)for(const St in Et)wt("Props",St)}if(c&&M0(c,n,wt),s)for(const Et in s){const St=s[Et];Tt(St)?({}.NODE_ENV!=="production"?Object.defineProperty(n,Et,{value:St.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[Et]=St.bind(o),{}.NODE_ENV!=="production"&&wt("Methods",Et)):{}.NODE_ENV!=="production"&&Q(`Method "${Et}" has type "${typeof St}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Tt(r)&&Q("The data option must be a function. Plain object usage is no longer supported.");const Et=r.call(o,o);if({}.NODE_ENV!=="production"&&Ls(Et)&&Q("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Wt(Et))({}).NODE_ENV!=="production"&&Q("data() should return an object.");else if(e.data=jt(Et),{}.NODE_ENV!=="production")for(const St in Et)wt("Data",St),pi(St[0])||Object.defineProperty(n,St,{configurable:!0,enumerable:!0,get:()=>Et[St],set:ge})}if(mi=!0,a)for(const Et in a){const St=a[Et],ue=Tt(St)?St.bind(o,o):Tt(St.get)?St.get.bind(o,o):ge;({}).NODE_ENV!=="production"&&ue===ge&&Q(`Computed property "${Et}" has no getter.`);const Re=!Tt(St)&&Tt(St.set)?St.set.bind(o):{}.NODE_ENV!=="production"?()=>{Q(`Write operation failed: computed property "${Et}" is readonly.`)}:ge,Te=de({get:ue,set:Re});Object.defineProperty(n,Et,{enumerable:!0,configurable:!0,get:()=>Te.value,set:Bt=>Te.value=Bt}),{}.NODE_ENV!=="production"&&wt("Computed",Et)}if(l)for(const Et in l)pu(l[Et],n,o,Et);if(i){const Et=Tt(i)?i.call(o):i;Reflect.ownKeys(Et).forEach(St=>{ya(St,Et[St])})}u&&du(u,e,"c");function Mt(Et,St){_t(St)?St.forEach(ue=>Et(ue.bind(o))):St&&Et(St.bind(o))}if(Mt(T0,f),Mt(fe,d),Mt(E0,h),Mt(au,p),Mt(k0,w),Mt(w0,x),Mt(R0,X),Mt(P0,C),Mt(O0,M),Mt(ui,g),Mt(re,m),Mt(S0,G),_t(V))if(V.length){const Et=e.exposed||(e.exposed={});V.forEach(St=>{Object.defineProperty(Et,St,{get:()=>o[St],set:ue=>o[St]=ue})})}else e.exposed||(e.exposed={});_&&e.render===ge&&(e.render=_),pt!=null&&(e.inheritAttrs=pt),K&&(e.components=K),lt&&(e.directives=lt),G&&ou(e)}function M0(e,t,o=ge){_t(e)&&(e=yi(e));for(const n in e){const r=e[n];let a;Wt(r)?"default"in r?a=oo(r.from||n,r.default,!0):a=oo(r.from||n):a=oo(r),pe(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[n]=a,{}.NODE_ENV!=="production"&&o("Inject",n)}}function du(e,t,o){eo(_t(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function pu(e,t,o,n){let r=n.includes(".")?Ru(o,n):()=>o[n];if(ee(e)){const a=t[e];Tt(a)?Pt(r,a):{}.NODE_ENV!=="production"&&Q(`Invalid watch handler specified by key "${e}"`,a)}else if(Tt(e))Pt(r,e.bind(o));else if(Wt(e))if(_t(e))e.forEach(a=>pu(a,t,o,n));else{const a=Tt(e.handler)?e.handler.bind(o):t[e.handler];Tt(a)?Pt(r,a,e):{}.NODE_ENV!=="production"&&Q(`Invalid watch handler specified by key "${e.handler}"`,a)}else({}).NODE_ENV!=="production"&&Q(`Invalid watch option: "${n}"`,e)}function gi(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,l=a.get(t);let i;return l?i=l:!r.length&&!o&&!n?i=t:(i={},r.length&&r.forEach(c=>ga(i,c,s,!0)),ga(i,t,s)),Wt(t)&&a.set(t,i),i}function ga(e,t,o,n=!1){const{mixins:r,extends:a}=t;a&&ga(e,a,o,!0),r&&r.forEach(s=>ga(e,s,o,!0));for(const s in t)if(n&&s==="expose")({}).NODE_ENV!=="production"&&Q('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=B0[s]||o&&o[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const B0={data:hu,props:mu,emits:mu,methods:fr,computed:fr,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:fr,directives:fr,watch:V0,provide:hu,inject:Y0};function hu(e,t){return t?e?function(){return Jt(Tt(e)?e.call(this,this):e,Tt(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return fr(yi(e),yi(t))}function yi(e){if(_t(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function $e(e,t){return e?[...new Set([].concat(e,t))]:t}function fr(e,t){return e?Jt(Object.create(null),e,t):t}function mu(e,t){return e?_t(e)&&_t(t)?[...new Set([...e,...t])]:Jt(Object.create(null),fu(e),fu(t??{})):t}function V0(e,t){if(!e)return t;if(!t)return e;const o=Jt(Object.create(null),e);for(const n in t)o[n]=$e(e[n],t[n]);return o}function gu(){return{app:null,config:{isNativeTag:am,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 X0=0;function Z0(e,t){return function(n,r=null){Tt(n)||(n=Jt({},n)),r!=null&&!Wt(r)&&({}.NODE_ENV!=="production"&&Q("root props passed to app.mount() must be an object."),r=null);const a=gu(),s=new WeakSet,l=[];let i=!1;const c=a.app={_uid:X0++,_component:n,_props:r,_container:null,_context:a,_instance:null,version:Hu,get config(){return a.config},set config(u){({}).NODE_ENV!=="production"&&Q("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return s.has(u)?{}.NODE_ENV!=="production"&&Q("Plugin has already been applied to target app."):u&&Tt(u.install)?(s.add(u),u.install(c,...f)):Tt(u)?(s.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&Q('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return a.mixins.includes(u)?{}.NODE_ENV!=="production"&&Q("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):a.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Pi(u,a.config),f?({}.NODE_ENV!=="production"&&a.components[u]&&Q(`Component "${u}" has already been registered in target app.`),a.components[u]=f,c):a.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&Hc(u),f?({}.NODE_ENV!=="production"&&a.directives[u]&&Q(`Directive "${u}" has already been registered in target app.`),a.directives[u]=f,c):a.directives[u]},mount(u,f,d){if(i)({}).NODE_ENV!=="production"&&Q("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"&&u.__vue_app__&&Q("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 h=c._ceVNode||J(n,r);return h.appContext=a,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(a.reload=()=>{e(no(h),u,d)}),f&&t?t(h,u):e(h,u,d),i=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,c0(c,Hu)),Ea(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&Q(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){i?(eo(l,c._instance,16),e(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,u0(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&Q("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in a.provides&&Q(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),a.provides[u]=f,c},runWithContext(u){const f=Nn;Nn=c;try{return u()}finally{Nn=f}}};return c}}let Nn=null;function ya(e,t){if(!ve)({}).NODE_ENV!=="production"&&Q("provide() can only be used inside setup().");else{let o=ve.provides;const n=ve.parent&&ve.parent.provides;n===o&&(o=ve.provides=Object.create(n)),o[e]=t}}function oo(e,t,o=!1){const n=ve||he;if(n||Nn){const r=Nn?Nn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return o&&Tt(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&Q(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&Q("inject() can only be used inside setup() or functional components.")}const yu={},vu=()=>Object.create(yu),bu=e=>Object.getPrototypeOf(e)===yu;function G0(e,t,o,n=!1){const r={},a=vu();e.propsDefaults=Object.create(null),_u(e,t,r,a);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);({}).NODE_ENV!=="production"&&wu(t||{},r,e),o?e.props=n?r:Ic(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function U0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function j0(e,t,o,n){const{props:r,attrs:a,vnode:{patchFlag:s}}=e,l=At(r),[i]=e.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&U0(e))&&(n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(xa(e.emitsOptions,d))continue;const h=t[d];if(i)if(Yt(a,d))h!==a[d]&&(a[d]=h,c=!0);else{const p=be(d);r[p]=vi(i,l,p,h,e,!1)}else h!==a[d]&&(a[d]=h,c=!0)}}}else{_u(e,t,r,a)&&(c=!0);let u;for(const f in l)(!t||!Yt(t,f)&&((u=Ye(f))===f||!Yt(t,u)))&&(i?o&&(o[f]!==void 0||o[u]!==void 0)&&(r[f]=vi(i,l,f,void 0,e,!0)):delete r[f]);if(a!==l)for(const f in a)(!t||!Yt(t,f))&&(delete a[f],c=!0)}c&&co(e.attrs,"set",""),{}.NODE_ENV!=="production"&&wu(t||{},r,e)}function _u(e,t,o,n){const[r,a]=e.propsOptions;let s=!1,l;if(t)for(let i in t){if(Qn(i))continue;const c=t[i];let u;r&&Yt(r,u=be(i))?!a||!a.includes(u)?o[u]=c:(l||(l={}))[u]=c:xa(e.emitsOptions,i)||(!(i in n)||c!==n[i])&&(n[i]=c,s=!0)}if(a){const i=At(o),c=l||Ht;for(let u=0;u<a.length;u++){const f=a[u];o[f]=vi(r,i,f,c[f],e,!Yt(c,f))}}return s}function vi(e,t,o,n,r,a){const s=e[o];if(s!=null){const l=Yt(s,"default");if(l&&n===void 0){const i=s.default;if(s.type!==Function&&!s.skipFactory&&Tt(i)){const{propsDefaults:c}=r;if(o in c)n=c[o];else{const u=yr(r);n=c[o]=i.call(null,t),u()}}else n=i;r.ce&&r.ce._setProp(o,n)}s[0]&&(a&&!l?n=!1:s[1]&&(n===""||n===Ye(o))&&(n=!0))}return n}const H0=new WeakMap;function xu(e,t,o=!1){const n=o?H0:t.propsCache,r=n.get(e);if(r)return r;const a=e.props,s={},l=[];let i=!1;if(!Tt(e)){const u=f=>{i=!0;const[d,h]=xu(f,t,!0);Jt(s,d),h&&l.push(...h)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!i)return Wt(e)&&n.set(e,On),On;if(_t(a))for(let u=0;u<a.length;u++){({}).NODE_ENV!=="production"&&!ee(a[u])&&Q("props must be strings when using array syntax.",a[u]);const f=be(a[u]);ku(f)&&(s[f]=Ht)}else if(a){({}).NODE_ENV!=="production"&&!Wt(a)&&Q("invalid props options",a);for(const u in a){const f=be(u);if(ku(f)){const d=a[u],h=s[f]=_t(d)||Tt(d)?{type:d}:Jt({},d),p=h.type;let w=!1,x=!0;if(_t(p))for(let v=0;v<p.length;++v){const g=p[v],y=Tt(g)&&g.name;if(y==="Boolean"){w=!0;break}else y==="String"&&(x=!1)}else w=Tt(p)&&p.name==="Boolean";h[0]=w,h[1]=x,(w||Yt(h,"default"))&&l.push(f)}}}const c=[s,l];return Wt(e)&&n.set(e,c),c}function ku(e){return e[0]!=="$"&&!Qn(e)?!0:({}.NODE_ENV!=="production"&&Q(`Invalid prop name: "${e}" is a reserved property.`),!1)}function W0(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wu(e,t,o){const n=At(t),r=o.propsOptions[0],a=Object.keys(e).map(s=>be(s));for(const s in r){let l=r[s];l!=null&&q0(s,n[s],l,{}.NODE_ENV!=="production"?uo(n):n,!a.includes(s))}}function q0(e,t,o,n,r){const{type:a,required:s,validator:l,skipCheck:i}=o;if(s&&r){Q('Missing required prop: "'+e+'"');return}if(!(t==null&&!s)){if(a!=null&&a!==!0&&!i){let c=!1;const u=_t(a)?a:[a],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Q0(t,u[d]);f.push(p||""),c=h}if(!c){Q(J0(e,t,f));return}}l&&!l(t,n)&&Q('Invalid prop: custom validator check failed for prop "'+e+'".')}}const K0=ko("String,Number,Boolean,Function,Symbol,BigInt");function Q0(e,t){let o;const n=W0(t);if(n==="null")o=e===null;else if(K0(n)){const r=typeof e;o=r===n.toLowerCase(),!o&&r==="object"&&(o=e instanceof t)}else n==="Object"?o=Wt(e):n==="Array"?o=_t(e):o=e instanceof t;return{valid:o,expectedType:n}}function J0(e,t,o){if(o.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${e}". Expected ${o.map(sn).join(" | ")}`;const r=o[0],a=zs(t),s=Cu(t,r),l=Cu(t,a);return o.length===1&&Tu(r)&&!tg(r,a)&&(n+=` with value ${s}`),n+=`, got ${a} `,Tu(a)&&(n+=`with value ${l}.`),n}function Cu(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Tu(e){return["string","number","boolean"].some(o=>e.toLowerCase()===o)}function tg(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Eu=e=>e[0]==="_"||e==="$stable",bi=e=>_t(e)?e.map(ro):[ro(e)],eg=(e,t,o)=>{if(t._n)return t;const n=at((...r)=>({}.NODE_ENV!=="production"&&ve&&(!o||o.root===ve.root)&&Q(`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.`),bi(t(...r))),o);return n._c=!1,n},Su=(e,t,o)=>{const n=e._ctx;for(const r in e){if(Eu(r))continue;const a=e[r];if(Tt(a))t[r]=eg(r,a,n);else if(a!=null){({}).NODE_ENV!=="production"&&Q(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const s=bi(a);t[r]=()=>s}}},Ou=(e,t)=>{({}).NODE_ENV!=="production"&&!cr(e.vnode)&&Q("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=bi(t);e.slots.default=()=>o},_i=(e,t,o)=>{for(const n in t)(o||n!=="_")&&(e[n]=t[n])},og=(e,t,o)=>{const n=e.slots=vu();if(e.vnode.shapeFlag&32){const r=t._;r?(_i(n,t,o),o&&Wr(n,"_",r,!0)):Su(t,n)}else t&&Ou(e,t)},ng=(e,t,o)=>{const{vnode:n,slots:r}=e;let a=!0,s=Ht;if(n.shapeFlag&32){const l=t._;l?{}.NODE_ENV!=="production"&&po?(_i(r,t,o),co(e,"set","$slots")):o&&l===1?a=!1:_i(r,t,o):(a=!t.$stable,Su(t,r)),s=t}else t&&(Ou(e,t),s={default:1});if(a)for(const l in r)!Eu(l)&&s[l]==null&&delete r[l]};let dr,Xo;function Ro(e,t){e.appContext.config.performance&&va()&&Xo.mark(`vue-${t}-${e.uid}`),{}.NODE_ENV!=="production"&&p0(e,t,va()?Xo.now():Date.now())}function Io(e,t){if(e.appContext.config.performance&&va()){const o=`vue-${t}-${e.uid}`,n=o+":end";Xo.mark(n),Xo.measure(`<${Sa(e,e.type)}> ${t}`,o,n),Xo.clearMarks(o),Xo.clearMarks(n)}({}).NODE_ENV!=="production"&&h0(e,t,va()?Xo.now():Date.now())}function va(){return dr!==void 0||(typeof window<"u"&&window.performance?(dr=!0,Xo=window.performance):dr=!1),dr}function rg(){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.
13
+ **/const pn=[];function dr(o){pn.push(o)}function hr(){pn.pop()}let yi=!1;function J(o,...t){if(yi)return;yi=!0,To();const e=pn.length?pn[pn.length-1].component:null,n=e&&e.appContext.config.warnHandler,s=z0();if(n)Rn(n,e,11,[o+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),e&&e.proxy,s.map(({vnode:r})=>`at <${Fr(e,r.type)}>`).join(`
14
+ `),s]);else{const r=[`[Vue warn]: ${o}`,...t];s.length&&r.push(`
15
+ `,...D0(s)),console.warn(...r)}Eo(),yi=!1}function z0(){let o=pn[pn.length-1];if(!o)return[];const t=[];for(;o;){const e=t[0];e&&e.vnode===o?e.recurseCount++:t.push({vnode:o,recurseCount:0});const n=o.component&&o.component.parent;o=n&&n.vnode}return t}function D0(o){const t=[];return o.forEach((e,n)=>{t.push(...n===0?[]:[`
16
+ `],...M0(e))}),t}function M0({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",n=o.component?o.component.parent==null:!1,s=` at <${Fr(o.component,o.type,n)}`,r=">"+e;return o.props?[s,...L0(o.props),r]:[s+r]}function L0(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(n=>{t.push(...cu(n,o[n]))}),e.length>3&&t.push(" ..."),t}function cu(o,t,e){return se(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:me(t)?(t=cu(o,It(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Tt(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=It(t),e?t:[`${o}=`,t])}function B0(o,t){({}).NODE_ENV!=="production"&&o!==void 0&&(typeof o!="number"?J(`${t} is not a valid number - got ${JSON.stringify(o)}.`):isNaN(o)&&J(`${t} is NaN - the duration expression might be incorrect.`))}const vi={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Rn(o,t,e,n){try{return n?o(...n):o()}catch(s){fs(s,t,e)}}function no(o,t,e,n){if(Tt(o)){const s=Rn(o,t,e,n);return s&&ti(s)&&s.catch(r=>{fs(r,t,e)}),s}if(_t(o)){const s=[];for(let r=0;r<o.length;r++)s.push(no(o[r],t,e,n));return s}else({}).NODE_ENV!=="production"&&J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function fs(o,t,e,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||qt;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?vi[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](o,l,c)===!1)return}i=i.parent}if(r){To(),Rn(r,null,10,[o,l,c]),Eo();return}}V0(o,e,s,n,a)}function V0(o,t,e,n=!0,s=!1){if({}.NODE_ENV!=="production"){const r=vi[t];if(e&&dr(e),J(`Unhandled error${r?` during execution of ${r}`:""}`),e&&hr(),n)throw o;console.error(o)}else{if(s)throw o;console.error(o)}}const $e=[];let mo=-1;const In=[];let Yo=null,An=0;const uu=Promise.resolve();let pr=null;const Y0=100;function mr(o){const t=pr||uu;return o?t.then(this?o.bind(this):o):t}function X0(o){let t=mo+1,e=$e.length;for(;t<e;){const n=t+e>>>1,s=$e[n],r=ds(s);r<o||r===o&&s.flags&2?t=n+1:e=n}return t}function gr(o){if(!(o.flags&1)){const t=ds(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=ds(e)?$e.push(o):$e.splice(X0(t),0,o),o.flags|=1,fu()}}function fu(){pr||(pr=uu.then(mu))}function du(o){_t(o)?In.push(...o):Yo&&o.id===-1?Yo.splice(An+1,0,o):o.flags&1||(In.push(o),o.flags|=1),fu()}function hu(o,t,e=mo+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<$e.length;e++){const n=$e[e];if(n&&n.flags&2){if(o&&n.id!==o.uid||{}.NODE_ENV!=="production"&&bi(t,n))continue;$e.splice(e,1),e--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function pu(o){if(In.length){const t=[...new Set(In)].sort((e,n)=>ds(e)-ds(n));if(In.length=0,Yo){Yo.push(...t);return}for(Yo=t,{}.NODE_ENV!=="production"&&(o=o||new Map),An=0;An<Yo.length;An++){const e=Yo[An];({}).NODE_ENV!=="production"&&bi(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Yo=null,An=0}}const ds=o=>o.id==null?o.flags&2?-1:1/0:o.id;function mu(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>bi(o,e):be;try{for(mo=0;mo<$e.length;mo++){const e=$e[mo];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),Rn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;mo<$e.length;mo++){const e=$e[mo];e&&(e.flags&=-2)}mo=-1,$e.length=0,pu(o),pr=null,($e.length||In.length)&&mu(o)}}function bi(o,t){const e=o.get(t)||0;if(e>Y0){const n=t.i,s=n&&Ts(n.type);return fs(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. 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}return o.set(t,e+1),!1}let go=!1;const yr=new Map;({}).NODE_ENV!=="production"&&(rs().__VUE_HMR_RUNTIME__={createRecord:_i(gu),rerender:_i(G0),reload:_i(H0)});const mn=new Map;function Z0(o){const t=o.type.__hmrId;let e=mn.get(t);e||(gu(t,o.type),e=mn.get(t)),e.instances.add(o)}function U0(o){mn.get(o.type.__hmrId).instances.delete(o)}function gu(o,t){return mn.has(o)?!1:(mn.set(o,{initialDef:vr(t),instances:new Set}),!0)}function vr(o){return xf(o)?o.__vccOpts:o}function G0(o,t){const e=mn.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(n=>{t&&(n.render=t,vr(n.type).render=t),n.renderCache=[],go=!0,n.update(),go=!1}))}function H0(o,t){const e=mn.get(o);if(!e)return;t=vr(t),yu(e.initialDef,t);const n=[...e.instances];for(let s=0;s<n.length;s++){const r=n[s],a=vr(r.type);let i=yr.get(a);i||(a!==e.initialDef&&yu(a,t),yr.set(a,i=new Set)),i.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(i.add(r),r.ceReload(t.styles),i.delete(r)):r.parent?gr(()=>{go=!0,r.parent.update(),go=!1,i.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(a)}du(()=>{yr.clear()})}function yu(o,t){ee(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function _i(o){return(t,e)=>{try{return o(t,e)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let yo,hs=[],xi=!1;function ps(o,...t){yo?yo.emit(o,...t):xi||hs.push({event:o,args:t})}function vu(o,t){var e,n;yo=o,yo?(yo.enabled=!0,hs.forEach(({event:s,args:r})=>yo.emit(s,...r)),hs=[]):typeof window<"u"&&window.HTMLElement&&!((n=(e=window.navigator)==null?void 0:e.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{vu(r,t)}),setTimeout(()=>{yo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xi=!0,hs=[])},3e3)):(xi=!0,hs=[])}function j0(o,t){ps("app:init",o,t,{Fragment:Dt,Text:bs,Comment:fe,Static:_s})}function W0(o){ps("app:unmount",o)}const ki=wi("component:added"),bu=wi("component:updated"),q0=wi("component:removed"),K0=o=>{yo&&typeof yo.cleanupBuffer=="function"&&!yo.cleanupBuffer(o)&&q0(o)};/*! #__NO_SIDE_EFFECTS__ */function wi(o){return t=>{ps(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Q0=_u("perf:start"),J0=_u("perf:end");function _u(o){return(t,e,n)=>{ps(o,t.appContext.app,t.uid,t,e,n)}}function tg(o,t,e){ps("component:emit",o.appContext.app,o,t,e)}let ge=null,xu=null;function br(o){const t=ge;return ge=o,xu=o&&o.type.__scopeId||null,t}function st(o,t=ge,e){if(!t||o._n)return o;const n=(...s)=>{n._d&&uf(-1);const r=br(t);let a;try{a=o(...s)}finally{br(r),n._d&&uf(1)}return{}.NODE_ENV!=="production"&&bu(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function ku(o){Hm(o)&&J("Do not use built-in directive ids as custom directive id: "+o)}function eg(o,t){if(ge===null)return{}.NODE_ENV!=="production"&&J("withDirectives can only be used inside render functions."),o;const e=Nr(ge),n=o.dirs||(o.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,i,l=qt]=t[s];r&&(Tt(r)&&(r={mounted:r,updated:r}),r.deep&&Po(a),n.push({dir:r,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function gn(o,t,e,n){const s=o.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&(To(),no(l,e,8,[o.el,i,o,t]),Eo())}}const og=Symbol("_vte"),wu=o=>o.__isTeleport,Xo=Symbol("_leaveCb"),_r=Symbol("_enterCb");function ng(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ye(()=>{o.isMounted=!0}),Si(()=>{o.isUnmounting=!0}),o}const He=[Function,Array],Cu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},Tu=o=>{const t=o.subTree;return t.component?Tu(t.component):t},sg={name:"BaseTransition",props:Cu,setup(o,{slots:t}){const e=jo(),n=ng();return()=>{const s=t.default&&Pu(t.default(),!0);if(!s||!s.length)return;const r=Eu(s),a=It(o),{mode:i}=a;if({}.NODE_ENV!=="production"&&i&&i!=="in-out"&&i!=="out-in"&&i!=="default"&&J(`invalid <transition> mode: ${i}`),n.isLeaving)return Ti(r);const l=Ou(r);if(!l)return Ti(r);let c=Ci(l,a,n,e,f=>c=f);l.type!==fe&&$n(l,c);let u=e.subTree&&Ou(e.subTree);if(u&&u.type!==fe&&!Go(l,u)&&Tu(e).type!==fe){let f=Ci(u,a,n,e);if($n(u,f),i==="out-in"&&l.type!==fe)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.job.flags&8||e.update(),delete f.afterLeave,u=void 0},Ti(r);i==="in-out"&&l.type!==fe?f.delayLeave=(d,h,p)=>{const v=Su(n,u);v[String(u.key)]=u,d[Xo]=()=>{h(),d[Xo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Eu(o){let t=o[0];if(o.length>1){let e=!1;for(const n of o)if(n.type!==fe){if({}.NODE_ENV!=="production"&&e){J("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,e=!0,{}.NODE_ENV==="production")break}}return t}const rg=sg;function Su(o,t){const{leavingVNodes:e}=o;let n=e.get(t.type);return n||(n=Object.create(null),e.set(t.type,n)),n}function Ci(o,t,e,n,s){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:k,onAppear:x,onAfterAppear:m,onAppearCancelled:g}=t,y=String(o.key),b=Su(e,o),_=(B,D)=>{B&&no(B,n,9,D)},$=(B,D)=>{const ut=D[1];_(B,D),_t(B)?B.every(j=>j.length<=1)&&ut():B.length<=1&&ut()},Y={mode:a,persisted:i,beforeEnter(B){let D=l;if(!e.isMounted)if(r)D=k||l;else return;B[Xo]&&B[Xo](!0);const ut=b[y];ut&&Go(o,ut)&&ut.el[Xo]&&ut.el[Xo](),_(D,[B])},enter(B){let D=c,ut=u,j=f;if(!e.isMounted)if(r)D=x||c,ut=m||u,j=g||f;else return;let tt=!1;const vt=B[_r]=St=>{tt||(tt=!0,St?_(j,[B]):_(ut,[B]),Y.delayedLeave&&Y.delayedLeave(),B[_r]=void 0)};D?$(D,[B,vt]):vt()},leave(B,D){const ut=String(o.key);if(B[_r]&&B[_r](!0),e.isUnmounting)return D();_(d,[B]);let j=!1;const tt=B[Xo]=vt=>{j||(j=!0,D(),vt?_(v,[B]):_(p,[B]),B[Xo]=void 0,b[ut]===o&&delete b[ut])};b[ut]=o,h?$(h,[B,tt]):tt()},clone(B){const D=Ci(B,t,e,n,s);return s&&s(D),D}};return Y}function Ti(o){if(ms(o))return o=ro(o),o.children=null,o}function Ou(o){if(!ms(o))return wu(o.type)&&o.children?Eu(o.children):o;if({}.NODE_ENV!=="production"&&o.component)return o.component.subTree;const{shapeFlag:t,children:e}=o;if(e){if(t&16)return e[0];if(t&32&&Tt(e.default))return e.default()}}function $n(o,t){o.shapeFlag&6&&o.component?(o.transition=t,$n(o.component.subTree,t)):o.shapeFlag&128?(o.ssContent.transition=t.clone(o.ssContent),o.ssFallback.transition=t.clone(o.ssFallback)):o.transition=t}function Pu(o,t=!1,e){let n=[],s=0;for(let r=0;r<o.length;r++){let a=o[r];const i=e==null?a.key:String(e)+String(a.key!=null?a.key:r);a.type===Dt?(a.patchFlag&128&&s++,n=n.concat(Pu(a.children,t,i))):(t||a.type!==fe)&&n.push(i!=null?ro(a,{key:i}):a)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function X(o,t){return Tt(o)?(()=>ee({name:o.name},t,{setup:o}))():o}function Ru(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const ag=new WeakSet;function xr(o,t,e,n,s=!1){if(_t(o)){o.forEach((p,v)=>xr(p,t&&(_t(t)?t[v]:t),e,n,s));return}if(yn(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xr(o,t,e,n.component.subTree);return}const r=n.shapeFlag&4?Nr(n.component):n.el,a=s?null:r,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){J("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=t&&t.r,u=i.refs===qt?i.refs={}:i.refs,f=i.setupState,d=It(f),h=f===qt?()=>!1:p=>({}).NODE_ENV!=="production"&&(Lt(d,p)&&!me(d[p])&&J(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),ag.has(d[p]))?!1:Lt(d,p);if(c!=null&&c!==l&&(se(c)?(u[c]=null,h(c)&&(f[c]=null)):me(c)&&(c.value=null)),Tt(l))Rn(l,i,12,[a,u]);else{const p=se(l),v=me(l);if(p||v){const k=()=>{if(o.f){const x=p?h(l)?f[l]:u[l]:l.value;s?_t(x)&&Ja(x,r):_t(x)?x.includes(r)||x.push(r):p?(u[l]=[r],h(l)&&(f[l]=u[l])):(l.value=[r],o.k&&(u[o.k]=l.value))}else p?(u[l]=a,h(l)&&(f[l]=a)):v?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)};a?(k.id=-1,Ee(k,e)):k()}else({}).NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)}}rs().requestIdleCallback,rs().cancelIdleCallback;const yn=o=>!!o.type.__asyncLoader,ms=o=>o.type.__isKeepAlive,Iu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:t}){const e=jo(),n=e.ctx;if(!n.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const s=new Map,r=new Set;let a=null;({}).NODE_ENV!=="production"&&(e.__v_cache=s);const i=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(m,g,y,b,_)=>{const $=m.component;c(m,g,y,0,i),l($.vnode,m,g,y,$,i,b,m.slotScopeIds,_),Ee(()=>{$.isDeactivated=!1,$.a&&un($.a);const Y=m.props&&m.props.onVnodeMounted;Y&&je(Y,$.parent,m)},i),{}.NODE_ENV!=="production"&&ki($)},n.deactivate=m=>{const g=m.component;Or(g.m),Or(g.a),c(m,d,null,1,i),Ee(()=>{g.da&&un(g.da);const y=m.props&&m.props.onVnodeUnmounted;y&&je(y,g.parent,m),g.isDeactivated=!0},i),{}.NODE_ENV!=="production"&&ki(g)};function h(m){Ei(m),u(m,e,i,!0)}function p(m){s.forEach((g,y)=>{const b=Ts(g.type);b&&!m(b)&&v(y)})}function v(m){const g=s.get(m);g&&(!a||!Go(g,a))?h(g):a&&Ei(a),s.delete(m),r.delete(m)}Rt(()=>[o.include,o.exclude],([m,g])=>{m&&p(y=>gs(m,y)),g&&p(y=>!gs(g,y))},{flush:"post",deep:!0});let k=null;const x=()=>{k!=null&&(Ir(e.subTree.type)?Ee(()=>{s.set(k,kr(e.subTree))},e.subTree.suspense):s.set(k,kr(e.subTree)))};return ye(x),$u(x),Si(()=>{s.forEach(m=>{const{subTree:g,suspense:y}=e,b=kr(g);if(m.type===b.type&&m.key===b.key){Ei(b);const _=b.component.da;_&&Ee(_,y);return}h(m)})}),()=>{if(k=null,!t.default)return a=null;const m=t.default(),g=m[0];if(m.length>1)return{}.NODE_ENV!=="production"&&J("KeepAlive should contain exactly one component child."),a=null,m;if(!Uo(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return a=null,g;let y=kr(g);if(y.type===fe)return a=null,y;const b=y.type,_=Ts(yn(y)?y.type.__asyncResolved||{}:b),{include:$,exclude:Y,max:B}=o;if($&&(!_||!gs($,_))||Y&&_&&gs(Y,_))return y.shapeFlag&=-257,a=y,g;const D=y.key==null?b:y.key,ut=s.get(D);return y.el&&(y=ro(y),g.shapeFlag&128&&(g.ssContent=y)),k=D,ut?(y.el=ut.el,y.component=ut.component,y.transition&&$n(y,y.transition),y.shapeFlag|=512,r.delete(D),r.add(D)):(r.add(D),B&&r.size>parseInt(B,10)&&v(r.values().next().value)),y.shapeFlag|=256,a=y,Ir(g.type)?g:y}}};function gs(o,t){return _t(o)?o.some(e=>gs(e,t)):se(o)?o.split(",").includes(t):Gm(o)?(o.lastIndex=0,o.test(t)):!1}function ig(o,t){Au(o,"a",t)}function lg(o,t){Au(o,"da",t)}function Au(o,t,e=xe){const n=o.__wdc||(o.__wdc=()=>{let s=e;for(;s;){if(s.isDeactivated)return;s=s.parent}return o()});if(wr(t,n,e),e){let s=e.parent;for(;s&&s.parent;)ms(s.parent.vnode)&&cg(n,t,e,s),s=s.parent}}function cg(o,t,e,n){const s=wr(t,o,n,!0);ue(()=>{Ja(n[t],s)},e)}function Ei(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function kr(o){return o.shapeFlag&128?o.ssContent:o}function wr(o,t,e=xe,n=!1){if(e){const s=e[o]||(e[o]=[]),r=t.__weh||(t.__weh=(...a)=>{To();const i=ws(e),l=no(t,e,o,a);return i(),Eo(),l});return n?s.unshift(r):s.push(r),r}else if({}.NODE_ENV!=="production"){const s=cn(vi[o].replace(/ hook$/,""));J(`${s} 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 Ro=o=>(t,e=xe)=>{(!Cs||o==="sp")&&wr(o,(...n)=>t(...n),e)},ug=Ro("bm"),ye=Ro("m"),fg=Ro("bu"),$u=Ro("u"),Si=Ro("bum"),ue=Ro("um"),dg=Ro("sp"),hg=Ro("rtg"),pg=Ro("rtc");function mg(o,t=xe){wr("ec",o,t)}const Oi="components",Nu=Symbol.for("v-ndc");function Fu(o){return se(o)?gg(Oi,o,!1)||o:o||Nu}function gg(o,t,e=!0,n=!1){const s=ge||xe;if(s){const r=s.type;if(o===Oi){const i=Ts(r,!1);if(i&&(i===t||i===ke(t)||i===ln(ke(t))))return r}const a=zu(s[o]||r[o],t)||zu(s.appContext[o],t);if(!a&&n)return r;if({}.NODE_ENV!=="production"&&e&&!a){const i=o===Oi?`
17
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${o.slice(0,-1)}: ${t}${i}`)}return a}else({}).NODE_ENV!=="production"&&J(`resolve${ln(o.slice(0,-1))} can only be used in render() or setup().`)}function zu(o,t){return o&&(o[t]||o[ke(t)]||o[ln(ke(t))])}function Te(o,t,e,n){let s;const r=e&&e[n],a=_t(o);if(a||se(o)){const i=a&&dn(o);let l=!1;i&&(l=!Ae(o),o=sr(o)),s=new Array(o.length);for(let c=0,u=o.length;c<u;c++)s[c]=t(l?Pe(o[c]):o[c],c,void 0,r&&r[c])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&J(`The v-for range expect an integer value but got ${o}.`),s=new Array(o);for(let i=0;i<o;i++)s[i]=t(i+1,i,void 0,r&&r[i])}else if(Kt(o))if(o[Symbol.iterator])s=Array.from(o,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(o);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(o[u],u,l,r&&r[l])}}else s=[];return e&&(e[n]=s),s}function gt(o,t,e={},n,s){if(ge.ce||ge.parent&&yn(ge.parent)&&ge.parent.ce)return t!=="default"&&(e.name=t),I(),ht(Dt,null,[Q("slot",e,n&&n())],64);let r=o[t];({}).NODE_ENV!=="production"&&r&&r.length>1&&(J("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."),r=()=>[]),r&&r._c&&(r._d=!1),I();const a=r&&Du(r(e)),i=e.key||a&&a.key,l=ht(Dt,{key:(i&&!Co(i)?i:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&o._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Du(o){return o.some(t=>Uo(t)?!(t.type===fe||t.type===Dt&&!Du(t.children)):!0)?o:null}const Pi=o=>o?gf(o)?Nr(o):Pi(o.parent):null,vn=ee(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?po(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?po(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?po(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?po(o.refs):o.refs,$parent:o=>Pi(o.parent),$root:o=>Pi(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>$i(o),$forceUpdate:o=>o.f||(o.f=()=>{gr(o.update)}),$nextTick:o=>o.n||(o.n=mr.bind(o.proxy)),$watch:o=>qg.bind(o)}),Ri=o=>o==="_"||o==="$",Ii=(o,t)=>o!==qt&&!o.__isScriptSetup&&Lt(o,t),Mu={get({_:o},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return e[t];case 3:return r[t]}else{if(Ii(n,t))return a[t]=1,n[t];if(s!==qt&&Lt(s,t))return a[t]=2,s[t];if((c=o.propsOptions[0])&&Lt(c,t))return a[t]=3,r[t];if(e!==qt&&Lt(e,t))return a[t]=4,e[t];Ai&&(a[t]=0)}}const u=vn[t];let f,d;if(u)return t==="$attrs"?(_e(o.attrs,"get",""),{}.NODE_ENV!=="production"&&Rr()):{}.NODE_ENV!=="production"&&t==="$slots"&&_e(o,"get",t),u(o);if((f=i.__cssModules)&&(f=f[t]))return f;if(e!==qt&&Lt(e,t))return a[t]=4,e[t];if(d=l.config.globalProperties,Lt(d,t))return d[t];({}).NODE_ENV!=="production"&&ge&&(!se(t)||t.indexOf("__v")!==0)&&(s!==qt&&Ri(t[0])&&Lt(s,t)?J(`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.`):o===ge&&J(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:n,setupState:s,ctx:r}=o;return Ii(s,t)?(s[t]=e,!0):{}.NODE_ENV!=="production"&&s.__isScriptSetup&&Lt(s,t)?(J(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==qt&&Lt(n,t)?(n[t]=e,!0):Lt(o.props,t)?({}.NODE_ENV!=="production"&&J(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&J(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in o.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:e}):r[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:n,appContext:s,propsOptions:r}},a){let i;return!!e[a]||o!==qt&&Lt(o,a)||Ii(t,a)||(i=r[0])&&Lt(i,a)||Lt(n,a)||Lt(vn,a)||Lt(s.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:Lt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(Mu.ownKeys=o=>(J("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(o)));function yg(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(vn).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>vn[e](o),set:be})}),t}function vg(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.props[n],set:be})})}function bg(o){const{ctx:t,setupState:e}=o;Object.keys(It(e)).forEach(n=>{if(!e.__isScriptSetup){if(Ri(n[0])){J(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e[n],set:be})}})}function _g(){return xg().slots}function xg(){const o=jo();return{}.NODE_ENV!=="production"&&!o&&J("useContext() called without active instance."),o.setupContext||(o.setupContext=_f(o))}function Lu(o){return _t(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function kg(){const o=Object.create(null);return(t,e)=>{o[e]?J(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Ai=!0;function wg(o){const t=$i(o),e=o.proxy,n=o.ctx;Ai=!1,t.beforeCreate&&Bu(t.beforeCreate,o,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:k,beforeDestroy:x,beforeUnmount:m,destroyed:g,unmounted:y,render:b,renderTracked:_,renderTriggered:$,errorCaptured:Y,serverPrefetch:B,expose:D,inheritAttrs:ut,components:j,directives:tt,filters:vt}=t,St={}.NODE_ENV!=="production"?kg():null;if({}.NODE_ENV!=="production"){const[kt]=o.propsOptions;if(kt)for(const wt in kt)St("Props",wt)}if(c&&Cg(c,n,St),a)for(const kt in a){const wt=a[kt];Tt(wt)?({}.NODE_ENV!=="production"?Object.defineProperty(n,kt,{value:wt.bind(e),configurable:!0,enumerable:!0,writable:!0}):n[kt]=wt.bind(e),{}.NODE_ENV!=="production"&&St("Methods",kt)):{}.NODE_ENV!=="production"&&J(`Method "${kt}" has type "${typeof wt}" in the component definition. Did you reference the function correctly?`)}if(s){({}).NODE_ENV!=="production"&&!Tt(s)&&J("The data option must be a function. Plain object usage is no longer supported.");const kt=s.call(e,e);if({}.NODE_ENV!=="production"&&ti(kt)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Kt(kt))({}).NODE_ENV!=="production"&&J("data() should return an object.");else if(o.data=Wt(kt),{}.NODE_ENV!=="production")for(const wt in kt)St("Data",wt),Ri(wt[0])||Object.defineProperty(n,wt,{configurable:!0,enumerable:!0,get:()=>kt[wt],set:be})}if(Ai=!0,r)for(const kt in r){const wt=r[kt],oe=Tt(wt)?wt.bind(e,e):Tt(wt.get)?wt.get.bind(e,e):be;({}).NODE_ENV!=="production"&&oe===be&&J(`Computed property "${kt}" has no getter.`);const pe=!Tt(wt)&&Tt(wt.set)?wt.set.bind(e):{}.NODE_ENV!=="production"?()=>{J(`Write operation failed: computed property "${kt}" is readonly.`)}:be,he=de({get:oe,set:pe});Object.defineProperty(n,kt,{enumerable:!0,configurable:!0,get:()=>he.value,set:Xt=>he.value=Xt}),{}.NODE_ENV!=="production"&&St("Computed",kt)}if(i)for(const kt in i)Vu(i[kt],n,e,kt);if(l){const kt=Tt(l)?l.call(e):l;Reflect.ownKeys(kt).forEach(wt=>{Tr(wt,kt[wt])})}u&&Bu(u,o,"c");function $t(kt,wt){_t(wt)?wt.forEach(oe=>kt(oe.bind(e))):wt&&kt(wt.bind(e))}if($t(ug,f),$t(ye,d),$t(fg,h),$t($u,p),$t(ig,v),$t(lg,k),$t(mg,Y),$t(pg,_),$t(hg,$),$t(Si,m),$t(ue,y),$t(dg,B),_t(D))if(D.length){const kt=o.exposed||(o.exposed={});D.forEach(wt=>{Object.defineProperty(kt,wt,{get:()=>e[wt],set:oe=>e[wt]=oe})})}else o.exposed||(o.exposed={});b&&o.render===be&&(o.render=b),ut!=null&&(o.inheritAttrs=ut),j&&(o.components=j),tt&&(o.directives=tt),B&&Ru(o)}function Cg(o,t,e=be){_t(o)&&(o=Ni(o));for(const n in o){const s=o[n];let r;Kt(s)?"default"in s?r=so(s.from||n,s.default,!0):r=so(s.from||n):r=so(s),me(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r,{}.NODE_ENV!=="production"&&e("Inject",n)}}function Bu(o,t,e){no(_t(o)?o.map(n=>n.bind(t.proxy)):o.bind(t.proxy),t,e)}function Vu(o,t,e,n){let s=n.includes(".")?sf(e,n):()=>e[n];if(se(o)){const r=t[o];Tt(r)?Rt(s,r):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o}"`,r)}else if(Tt(o))Rt(s,o.bind(e));else if(Kt(o))if(_t(o))o.forEach(r=>Vu(r,t,e,n));else{const r=Tt(o.handler)?o.handler.bind(e):t[o.handler];Tt(r)?Rt(s,r,o):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o.handler}"`,r)}else({}).NODE_ENV!=="production"&&J(`Invalid watch option: "${n}"`,o)}function $i(o){const t=o.type,{mixins:e,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=o.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!e&&!n?l=t:(l={},s.length&&s.forEach(c=>Cr(l,c,a,!0)),Cr(l,t,a)),Kt(t)&&r.set(t,l),l}function Cr(o,t,e,n=!1){const{mixins:s,extends:r}=t;r&&Cr(o,r,e,!0),s&&s.forEach(a=>Cr(o,a,e,!0));for(const a in t)if(n&&a==="expose")({}).NODE_ENV!=="production"&&J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=Tg[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const Tg={data:Yu,props:Xu,emits:Xu,methods:ys,computed:ys,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:ys,directives:ys,watch:Sg,provide:Yu,inject:Eg};function Yu(o,t){return t?o?function(){return ee(Tt(o)?o.call(this,this):o,Tt(t)?t.call(this,this):t)}:t:o}function Eg(o,t){return ys(Ni(o),Ni(t))}function Ni(o){if(_t(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function Ne(o,t){return o?[...new Set([].concat(o,t))]:t}function ys(o,t){return o?ee(Object.create(null),o,t):t}function Xu(o,t){return o?_t(o)&&_t(t)?[...new Set([...o,...t])]:ee(Object.create(null),Lu(o),Lu(t??{})):t}function Sg(o,t){if(!o)return t;if(!t)return o;const e=ee(Object.create(null),o);for(const n in t)e[n]=Ne(o[n],t[n]);return e}function Zu(){return{app:null,config:{isNativeTag:Zm,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 Og=0;function Pg(o,t){return function(n,s=null){Tt(n)||(n=ee({},n)),s!=null&&!Kt(s)&&({}.NODE_ENV!=="production"&&J("root props passed to app.mount() must be an object."),s=null);const r=Zu(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Og++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:kf,get config(){return r.config},set config(u){({}).NODE_ENV!=="production"&&J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&J("Plugin has already been applied to target app."):u&&Tt(u.install)?(a.add(u),u.install(c,...f)):Tt(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?{}.NODE_ENV!=="production"&&J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Gi(u,r.config),f?({}.NODE_ENV!=="production"&&r.components[u]&&J(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&ku(u),f?({}.NODE_ENV!=="production"&&r.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(l)({}).NODE_ENV!=="production"&&J("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"&&u.__vue_app__&&J("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 h=c._ceVNode||Q(n,s);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(r.reload=()=>{o(ro(h),u,d)}),f&&t?t(h,u):o(h,u,d),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,j0(c,kf)),Nr(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(no(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,W0(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&J("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in r.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),r.provides[u]=f,c},runWithContext(u){const f=Nn;Nn=c;try{return u()}finally{Nn=f}}};return c}}let Nn=null;function Tr(o,t){if(!xe)({}).NODE_ENV!=="production"&&J("provide() can only be used inside setup().");else{let e=xe.provides;const n=xe.parent&&xe.parent.provides;n===e&&(e=xe.provides=Object.create(n)),e[o]=t}}function so(o,t,e=!1){const n=xe||ge;if(n||Nn){const s=Nn?Nn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&o in s)return s[o];if(arguments.length>1)return e&&Tt(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&J(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&J("inject() can only be used inside setup() or functional components.")}const Uu={},Gu=()=>Object.create(Uu),Hu=o=>Object.getPrototypeOf(o)===Uu;function Rg(o,t,e,n=!1){const s={},r=Gu();o.propsDefaults=Object.create(null),ju(o,t,s,r);for(const a in o.propsOptions[0])a in s||(s[a]=void 0);({}).NODE_ENV!=="production"&&Ku(t||{},s,o),e?o.props=n?s:ru(s):o.type.props?o.props=s:o.props=r,o.attrs=r}function Ig(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Ag(o,t,e,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=o,i=It(s),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Ig(o))&&(n||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Pr(o.emitsOptions,d))continue;const h=t[d];if(l)if(Lt(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const p=ke(d);s[p]=Fi(l,i,p,h,o,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{ju(o,t,s,r)&&(c=!0);let u;for(const f in i)(!t||!Lt(t,f)&&((u=Be(f))===f||!Lt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(s[f]=Fi(l,i,f,void 0,o,!0)):delete s[f]);if(r!==i)for(const f in r)(!t||!Lt(t,f))&&(delete r[f],c=!0)}c&&ho(o.attrs,"set",""),{}.NODE_ENV!=="production"&&Ku(t||{},s,o)}function ju(o,t,e,n){const[s,r]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(ss(l))continue;const c=t[l];let u;s&&Lt(s,u=ke(l))?!r||!r.includes(u)?e[u]=c:(i||(i={}))[u]=c:Pr(o.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=It(e),c=i||qt;for(let u=0;u<r.length;u++){const f=r[u];e[f]=Fi(s,l,f,c[f],o,!Lt(c,f))}}return a}function Fi(o,t,e,n,s,r){const a=o[e];if(a!=null){const i=Lt(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Tt(l)){const{propsDefaults:c}=s;if(e in c)n=c[e];else{const u=ws(s);n=c[e]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(e,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===Be(e))&&(n=!0))}return n}const $g=new WeakMap;function Wu(o,t,e=!1){const n=e?$g:t.propsCache,s=n.get(o);if(s)return s;const r=o.props,a={},i=[];let l=!1;if(!Tt(o)){const u=f=>{l=!0;const[d,h]=Wu(f,t,!0);ee(a,d),h&&i.push(...h)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!r&&!l)return Kt(o)&&n.set(o,On),On;if(_t(r))for(let u=0;u<r.length;u++){({}).NODE_ENV!=="production"&&!se(r[u])&&J("props must be strings when using array syntax.",r[u]);const f=ke(r[u]);qu(f)&&(a[f]=qt)}else if(r){({}).NODE_ENV!=="production"&&!Kt(r)&&J("invalid props options",r);for(const u in r){const f=ke(u);if(qu(f)){const d=r[u],h=a[f]=_t(d)||Tt(d)?{type:d}:ee({},d),p=h.type;let v=!1,k=!0;if(_t(p))for(let x=0;x<p.length;++x){const m=p[x],g=Tt(m)&&m.name;if(g==="Boolean"){v=!0;break}else g==="String"&&(k=!1)}else v=Tt(p)&&p.name==="Boolean";h[0]=v,h[1]=k,(v||Lt(h,"default"))&&i.push(f)}}}const c=[a,i];return Kt(o)&&n.set(o,c),c}function qu(o){return o[0]!=="$"&&!ss(o)?!0:({}.NODE_ENV!=="production"&&J(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Ng(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function Ku(o,t,e){const n=It(t),s=e.propsOptions[0],r=Object.keys(o).map(a=>ke(a));for(const a in s){let i=s[a];i!=null&&Fg(a,n[a],i,{}.NODE_ENV!=="production"?po(n):n,!r.includes(a))}}function Fg(o,t,e,n,s){const{type:r,required:a,validator:i,skipCheck:l}=e;if(a&&s){J('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(r!=null&&r!==!0&&!l){let c=!1;const u=_t(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Dg(t,u[d]);f.push(p||""),c=h}if(!c){J(Mg(o,t,f));return}}i&&!i(t,n)&&J('Invalid prop: custom validator check failed for prop "'+o+'".')}}const zg=wo("String,Number,Boolean,Function,Symbol,BigInt");function Dg(o,t){let e;const n=Ng(t);if(n==="null")e=o===null;else if(zg(n)){const s=typeof o;e=s===n.toLowerCase(),!e&&s==="object"&&(e=o instanceof t)}else n==="Object"?e=Kt(o):n==="Array"?e=_t(o):e=o instanceof t;return{valid:e,expectedType:n}}function Mg(o,t,e){if(e.length===0)return`Prop type [] for prop "${o}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(ln).join(" | ")}`;const s=e[0],r=ei(t),a=Qu(t,s),i=Qu(t,r);return e.length===1&&Ju(s)&&!Lg(s,r)&&(n+=` with value ${a}`),n+=`, got ${r} `,Ju(r)&&(n+=`with value ${i}.`),n}function Qu(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function Ju(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function Lg(...o){return o.some(t=>t.toLowerCase()==="boolean")}const tf=o=>o[0]==="_"||o==="$stable",zi=o=>_t(o)?o.map(ao):[ao(o)],Bg=(o,t,e)=>{if(t._n)return t;const n=st((...s)=>({}.NODE_ENV!=="production"&&xe&&(!e||e.root===xe.root)&&J(`Slot "${o}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),zi(t(...s))),e);return n._c=!1,n},ef=(o,t,e)=>{const n=o._ctx;for(const s in o){if(tf(s))continue;const r=o[s];if(Tt(r))t[s]=Bg(s,r,n);else if(r!=null){({}).NODE_ENV!=="production"&&J(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const a=zi(r);t[s]=()=>a}}},of=(o,t)=>{({}).NODE_ENV!=="production"&&!ms(o.vnode)&&J("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=zi(t);o.slots.default=()=>e},Di=(o,t,e)=>{for(const n in t)(e||n!=="_")&&(o[n]=t[n])},Vg=(o,t,e)=>{const n=o.slots=Gu();if(o.vnode.shapeFlag&32){const s=t._;s?(Di(n,t,e),e&&nr(n,"_",s,!0)):ef(t,n)}else t&&of(o,t)},Yg=(o,t,e)=>{const{vnode:n,slots:s}=o;let r=!0,a=qt;if(n.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&go?(Di(s,t,e),ho(o,"set","$slots")):e&&i===1?r=!1:Di(s,t,e):(r=!t.$stable,ef(t,s)),a=t}else t&&(of(o,t),a={default:1});if(r)for(const i in s)!tf(i)&&a[i]==null&&delete s[i]};let vs,Zo;function Io(o,t){o.appContext.config.performance&&Er()&&Zo.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&Q0(o,t,Er()?Zo.now():Date.now())}function Ao(o,t){if(o.appContext.config.performance&&Er()){const e=`vue-${t}-${o.uid}`,n=e+":end";Zo.mark(n),Zo.measure(`<${Fr(o,o.type)}> ${t}`,e,n),Zo.clearMarks(e),Zo.clearMarks(n)}({}).NODE_ENV!=="production"&&J0(o,t,Er()?Zo.now():Date.now())}function Er(){return vs!==void 0||(typeof window<"u"&&window.performance?(vs=!0,Zo=window.performance):vs=!1),vs}function Xg(){const o=[];if({}.NODE_ENV!=="production"&&o.length){const t=o.length>1;console.warn(`Feature flag${t?"s":""} ${o.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.
18
18
 
19
- For more details, see https://link.vuejs.org/feature-flags.`)}}const Ce=vg;function ag(e){return sg(e)}function sg(e,t){rg();const o=Jn();o.__VUE__=!0,{}.NODE_ENV!=="production"&&Zc(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:r,patchProp:a,createElement:s,createText:l,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ge,insertStaticContent:p}=e,w=(S,O,z,B=null,Z=null,j=null,rt=void 0,H=null,ot={}.NODE_ENV!=="production"&&po?!1:!!O.dynamicChildren)=>{if(S===O)return;S&&!Go(S,O)&&(B=et(S),tt(S,Z,j,!0),S=null),O.patchFlag===-2&&(ot=!1,O.dynamicChildren=null);const{type:q,ref:Ct,shapeFlag:it}=O;switch(q){case pr:x(S,O,z,B);break;case ce:v(S,O,z,B);break;case hr:S==null?g(O,z,B,rt):{}.NODE_ENV!=="production"&&y(S,O,z,rt);break;case zt:lt(S,O,z,B,Z,j,rt,H,ot);break;default:it&1?C(S,O,z,B,Z,j,rt,H,ot):it&6?gt(S,O,z,B,Z,j,rt,H,ot):it&64||it&128?q.process(S,O,z,B,Z,j,rt,H,ot,It):{}.NODE_ENV!=="production"&&Q("Invalid VNode type:",q,`(${typeof q})`)}Ct!=null&&Z&&pa(Ct,S&&S.ref,j,O||S,!O)},x=(S,O,z,B)=>{if(S==null)n(O.el=l(O.children),z,B);else{const Z=O.el=S.el;O.children!==S.children&&c(Z,O.children)}},v=(S,O,z,B)=>{S==null?n(O.el=i(O.children||""),z,B):O.el=S.el},g=(S,O,z,B)=>{[S.el,S.anchor]=p(S.children,O,z,B,S.el,S.anchor)},y=(S,O,z,B)=>{if(O.children!==S.children){const Z=d(S.anchor);_(S),[O.el,O.anchor]=p(O.children,z,Z,B)}else O.el=S.el,O.anchor=S.anchor},m=({el:S,anchor:O},z,B)=>{let Z;for(;S&&S!==O;)Z=d(S),n(S,z,B),S=Z;n(O,z,B)},_=({el:S,anchor:O})=>{let z;for(;S&&S!==O;)z=d(S),r(S),S=z;r(O)},C=(S,O,z,B,Z,j,rt,H,ot)=>{O.type==="svg"?rt="svg":O.type==="math"&&(rt="mathml"),S==null?M(O,z,B,Z,j,rt,H,ot):V(S,O,Z,j,rt,H,ot)},M=(S,O,z,B,Z,j,rt,H)=>{let ot,q;const{props:Ct,shapeFlag:it,transition:bt,dirs:Ot}=S;if(ot=S.el=s(S.type,j,Ct&&Ct.is,Ct),it&8?u(ot,S.children):it&16&&G(S.children,ot,null,B,Z,xi(S,j),rt,H),Ot&&mn(S,null,B,"created"),X(ot,S,S.scopeId,rt,B),Ct){for(const Qt in Ct)Qt!=="value"&&!Qn(Qt)&&a(ot,Qt,null,Ct[Qt],j,B);"value"in Ct&&a(ot,"value",null,Ct.value,j),(q=Ct.onVnodeBeforeMount)&&He(q,B,S)}({}).NODE_ENV!=="production"&&(Wr(ot,"__vnode",S,!0),Wr(ot,"__vueParentComponent",B,!0)),Ot&&mn(S,null,B,"beforeMount");const Ft=ig(Z,bt);Ft&&bt.beforeEnter(ot),n(ot,O,z),((q=Ct&&Ct.onVnodeMounted)||Ft||Ot)&&Ce(()=>{q&&He(q,B,S),Ft&&bt.enter(ot),Ot&&mn(S,null,B,"mounted")},Z)},X=(S,O,z,B,Z)=>{if(z&&h(S,z),B)for(let j=0;j<B.length;j++)h(S,B[j]);if(Z){let j=Z.subTree;if({}.NODE_ENV!=="production"&&j.patchFlag>0&&j.patchFlag&2048&&(j=Ei(j.children)||j),O===j||wa(j.type)&&(j.ssContent===O||j.ssFallback===O)){const rt=Z.vnode;X(S,rt,rt.scopeId,rt.slotScopeIds,Z.parent)}}},G=(S,O,z,B,Z,j,rt,H,ot=0)=>{for(let q=ot;q<S.length;q++){const Ct=S[q]=H?Uo(S[q]):ro(S[q]);w(null,Ct,O,z,B,Z,j,rt,H)}},V=(S,O,z,B,Z,j,rt)=>{const H=O.el=S.el;({}).NODE_ENV!=="production"&&(H.__vnode=O);let{patchFlag:ot,dynamicChildren:q,dirs:Ct}=O;ot|=S.patchFlag&16;const it=S.props||Ht,bt=O.props||Ht;let Ot;if(z&&vn(z,!1),(Ot=bt.onVnodeBeforeUpdate)&&He(Ot,z,O,S),Ct&&mn(O,S,z,"beforeUpdate"),z&&vn(z,!0),{}.NODE_ENV!=="production"&&po&&(ot=0,rt=!1,q=null),(it.innerHTML&&bt.innerHTML==null||it.textContent&&bt.textContent==null)&&u(H,""),q?(pt(S.dynamicChildren,q,H,z,B,xi(O,Z),j),{}.NODE_ENV!=="production"&&ba(S,O)):rt||ue(S,O,H,null,z,B,xi(O,Z),j,!1),ot>0){if(ot&16)K(H,it,bt,z,Z);else if(ot&2&&it.class!==bt.class&&a(H,"class",null,bt.class,Z),ot&4&&a(H,"style",it.style,bt.style,Z),ot&8){const Ft=O.dynamicProps;for(let Qt=0;Qt<Ft.length;Qt++){const Gt=Ft[Qt],xe=it[Gt],me=bt[Gt];(me!==xe||Gt==="value")&&a(H,Gt,xe,me,Z,z)}}ot&1&&S.children!==O.children&&u(H,O.children)}else!rt&&q==null&&K(H,it,bt,z,Z);((Ot=bt.onVnodeUpdated)||Ct)&&Ce(()=>{Ot&&He(Ot,z,O,S),Ct&&mn(O,S,z,"updated")},B)},pt=(S,O,z,B,Z,j,rt)=>{for(let H=0;H<O.length;H++){const ot=S[H],q=O[H],Ct=ot.el&&(ot.type===zt||!Go(ot,q)||ot.shapeFlag&70)?f(ot.el):z;w(ot,q,Ct,null,B,Z,j,rt,!0)}},K=(S,O,z,B,Z)=>{if(O!==z){if(O!==Ht)for(const j in O)!Qn(j)&&!(j in z)&&a(S,j,O[j],null,Z,B);for(const j in z){if(Qn(j))continue;const rt=z[j],H=O[j];rt!==H&&j!=="value"&&a(S,j,H,rt,Z,B)}"value"in z&&a(S,"value",O.value,z.value,Z)}},lt=(S,O,z,B,Z,j,rt,H,ot)=>{const q=O.el=S?S.el:l(""),Ct=O.anchor=S?S.anchor:l("");let{patchFlag:it,dynamicChildren:bt,slotScopeIds:Ot}=O;({}).NODE_ENV!=="production"&&(po||it&2048)&&(it=0,ot=!1,bt=null),Ot&&(H=H?H.concat(Ot):Ot),S==null?(n(q,z,B),n(Ct,z,B),G(O.children||[],z,Ct,Z,j,rt,H,ot)):it>0&&it&64&&bt&&S.dynamicChildren?(pt(S.dynamicChildren,bt,z,Z,j,rt,H),{}.NODE_ENV!=="production"?ba(S,O):(O.key!=null||Z&&O===Z.subTree)&&ba(S,O,!0)):ue(S,O,z,Ct,Z,j,rt,H,ot)},gt=(S,O,z,B,Z,j,rt,H,ot)=>{O.slotScopeIds=H,S==null?O.shapeFlag&512?Z.ctx.activate(O,z,B,rt,ot):wt(O,z,B,Z,j,rt,ot):Mt(S,O,ot)},wt=(S,O,z,B,Z,j,rt)=>{const H=S.component=Tg(S,B,Z);if({}.NODE_ENV!=="production"&&H.type.__hmrId&&a0(H),{}.NODE_ENV!=="production"&&(ra(S),Ro(H,"mount")),cr(S)&&(H.ctx.renderer=It),{}.NODE_ENV!=="production"&&Ro(H,"init"),Sg(H,!1,rt),{}.NODE_ENV!=="production"&&Io(H,"init"),H.asyncDep){if({}.NODE_ENV!=="production"&&po&&(S.el=null),Z&&Z.registerDep(H,Et,rt),!S.el){const ot=H.subTree=J(ce);v(null,ot,O,z)}}else Et(H,S,O,z,Z,j,rt);({}).NODE_ENV!=="production"&&(aa(),Io(H,"mount"))},Mt=(S,O,z)=>{const B=O.component=S.component;if(gg(S,O,z))if(B.asyncDep&&!B.asyncResolved){({}).NODE_ENV!=="production"&&ra(O),St(B,O,z),{}.NODE_ENV!=="production"&&aa();return}else B.next=O,B.update();else O.el=S.el,B.vnode=O},Et=(S,O,z,B,Z,j,rt)=>{const H=()=>{if(S.isMounted){let{next:it,bu:bt,u:Ot,parent:Ft,vnode:Qt}=S;{const Fe=Pu(S);if(Fe){it&&(it.el=Qt.el,St(S,it,rt)),Fe.asyncDep.then(()=>{S.isUnmounted||H()});return}}let Gt=it,xe;({}).NODE_ENV!=="production"&&ra(it||S.vnode),vn(S,!1),it?(it.el=Qt.el,St(S,it,rt)):it=Qt,bt&&cn(bt),(xe=it.props&&it.props.onVnodeBeforeUpdate)&&He(xe,Ft,it,Qt),vn(S,!0),{}.NODE_ENV!=="production"&&Ro(S,"render");const me=Ti(S);({}).NODE_ENV!=="production"&&Io(S,"render");const Ue=S.subTree;S.subTree=me,{}.NODE_ENV!=="production"&&Ro(S,"patch"),w(Ue,me,f(Ue.el),et(Ue),S,Z,j),{}.NODE_ENV!=="production"&&Io(S,"patch"),it.el=me.el,Gt===null&&yg(S,me.el),Ot&&Ce(Ot,Z),(xe=it.props&&it.props.onVnodeUpdated)&&Ce(()=>He(xe,Ft,it,Qt),Z),{}.NODE_ENV!=="production"&&Gc(S),{}.NODE_ENV!=="production"&&aa()}else{let it;const{el:bt,props:Ot}=O,{bm:Ft,m:Qt,parent:Gt,root:xe,type:me}=S,Ue=gn(O);if(vn(S,!1),Ft&&cn(Ft),!Ue&&(it=Ot&&Ot.onVnodeBeforeMount)&&He(it,Gt,O),vn(S,!0),bt&&Rt){const Fe=()=>{({}).NODE_ENV!=="production"&&Ro(S,"render"),S.subTree=Ti(S),{}.NODE_ENV!=="production"&&Io(S,"render"),{}.NODE_ENV!=="production"&&Ro(S,"hydrate"),Rt(bt,S.subTree,S,Z,null),{}.NODE_ENV!=="production"&&Io(S,"hydrate")};Ue&&me.__asyncHydrate?me.__asyncHydrate(bt,S,Fe):Fe()}else{xe.ce&&xe.ce._injectChildStyle(me),{}.NODE_ENV!=="production"&&Ro(S,"render");const Fe=S.subTree=Ti(S);({}).NODE_ENV!=="production"&&Io(S,"render"),{}.NODE_ENV!=="production"&&Ro(S,"patch"),w(null,Fe,z,B,S,Z,j),{}.NODE_ENV!=="production"&&Io(S,"patch"),O.el=Fe.el}if(Qt&&Ce(Qt,Z),!Ue&&(it=Ot&&Ot.onVnodeMounted)){const Fe=O;Ce(()=>He(it,Gt,Fe),Z)}(O.shapeFlag&256||Gt&&gn(Gt.vnode)&&Gt.vnode.shapeFlag&256)&&S.a&&Ce(S.a,Z),S.isMounted=!0,{}.NODE_ENV!=="production"&&ai(S),O=z=B=null}};S.scope.on();const ot=S.effect=new dc(H);S.scope.off();const q=S.update=ot.run.bind(ot),Ct=S.job=ot.runIfDirty.bind(ot);Ct.i=S,Ct.id=S.uid,ot.scheduler=()=>la(Ct),vn(S,!0),{}.NODE_ENV!=="production"&&(ot.onTrack=S.rtc?it=>cn(S.rtc,it):void 0,ot.onTrigger=S.rtg?it=>cn(S.rtg,it):void 0),q()},St=(S,O,z)=>{O.component=S;const B=S.vnode.props;S.vnode=O,S.next=null,j0(S,O.props,B,z),ng(S,O.children,z),Co(),Mc(S),To()},ue=(S,O,z,B,Z,j,rt,H,ot=!1)=>{const q=S&&S.children,Ct=S?S.shapeFlag:0,it=O.children,{patchFlag:bt,shapeFlag:Ot}=O;if(bt>0){if(bt&128){Te(q,it,z,B,Z,j,rt,H,ot);return}else if(bt&256){Re(q,it,z,B,Z,j,rt,H,ot);return}}Ot&8?(Ct&16&&D(q,Z,j),it!==q&&u(z,it)):Ct&16?Ot&16?Te(q,it,z,B,Z,j,rt,H,ot):D(q,Z,j,!0):(Ct&8&&u(z,""),Ot&16&&G(it,z,B,Z,j,rt,H,ot))},Re=(S,O,z,B,Z,j,rt,H,ot)=>{S=S||On,O=O||On;const q=S.length,Ct=O.length,it=Math.min(q,Ct);let bt;for(bt=0;bt<it;bt++){const Ot=O[bt]=ot?Uo(O[bt]):ro(O[bt]);w(S[bt],Ot,z,null,Z,j,rt,H,ot)}q>Ct?D(S,Z,j,!0,!1,it):G(O,z,B,Z,j,rt,H,ot,it)},Te=(S,O,z,B,Z,j,rt,H,ot)=>{let q=0;const Ct=O.length;let it=S.length-1,bt=Ct-1;for(;q<=it&&q<=bt;){const Ot=S[q],Ft=O[q]=ot?Uo(O[q]):ro(O[q]);if(Go(Ot,Ft))w(Ot,Ft,z,null,Z,j,rt,H,ot);else break;q++}for(;q<=it&&q<=bt;){const Ot=S[it],Ft=O[bt]=ot?Uo(O[bt]):ro(O[bt]);if(Go(Ot,Ft))w(Ot,Ft,z,null,Z,j,rt,H,ot);else break;it--,bt--}if(q>it){if(q<=bt){const Ot=bt+1,Ft=Ot<Ct?O[Ot].el:B;for(;q<=bt;)w(null,O[q]=ot?Uo(O[q]):ro(O[q]),z,Ft,Z,j,rt,H,ot),q++}}else if(q>bt)for(;q<=it;)tt(S[q],Z,j,!0),q++;else{const Ot=q,Ft=q,Qt=new Map;for(q=Ft;q<=bt;q++){const Ee=O[q]=ot?Uo(O[q]):ro(O[q]);Ee.key!=null&&({}.NODE_ENV!=="production"&&Qt.has(Ee.key)&&Q("Duplicate keys found during update:",JSON.stringify(Ee.key),"Make sure keys are unique."),Qt.set(Ee.key,q))}let Gt,xe=0;const me=bt-Ft+1;let Ue=!1,Fe=0;const En=new Array(me);for(q=0;q<me;q++)En[q]=0;for(q=Ot;q<=it;q++){const Ee=S[q];if(xe>=me){tt(Ee,Z,j,!0);continue}let Le;if(Ee.key!=null)Le=Qt.get(Ee.key);else for(Gt=Ft;Gt<=bt;Gt++)if(En[Gt-Ft]===0&&Go(Ee,O[Gt])){Le=Gt;break}Le===void 0?tt(Ee,Z,j,!0):(En[Le-Ft]=q+1,Le>=Fe?Fe=Le:Ue=!0,w(Ee,O[Le],z,null,Z,j,rt,H,ot),xe++)}const Os=Ue?lg(En):On;for(Gt=Os.length-1,q=me-1;q>=0;q--){const Ee=Ft+q,Le=O[Ee],Ps=Ee+1<Ct?O[Ee+1].el:B;En[q]===0?w(null,Le,z,Ps,Z,j,rt,H,ot):Ue&&(Gt<0||q!==Os[Gt]?Bt(Le,z,Ps,2):Gt--)}}},Bt=(S,O,z,B,Z=null)=>{const{el:j,type:rt,transition:H,children:ot,shapeFlag:q}=S;if(q&6){Bt(S.component.subTree,O,z,B);return}if(q&128){S.suspense.move(O,z,B);return}if(q&64){rt.move(S,O,z,It);return}if(rt===zt){n(j,O,z);for(let it=0;it<ot.length;it++)Bt(ot[it],O,z,B);n(S.anchor,O,z);return}if(rt===hr){m(S,O,z);return}if(B!==2&&q&1&&H)if(B===0)H.beforeEnter(j),n(j,O,z),Ce(()=>H.enter(j),Z);else{const{leave:it,delayLeave:bt,afterLeave:Ot}=H,Ft=()=>n(j,O,z),Qt=()=>{it(j,()=>{Ft(),Ot&&Ot()})};bt?bt(j,Ft,Qt):Qt()}else n(j,O,z)},tt=(S,O,z,B=!1,Z=!1)=>{const{type:j,props:rt,ref:H,children:ot,dynamicChildren:q,shapeFlag:Ct,patchFlag:it,dirs:bt,cacheIndex:Ot}=S;if(it===-2&&(Z=!1),H!=null&&pa(H,null,z,S,!0),Ot!=null&&(O.renderCache[Ot]=void 0),Ct&256){O.ctx.deactivate(S);return}const Ft=Ct&1&&bt,Qt=!gn(S);let Gt;if(Qt&&(Gt=rt&&rt.onVnodeBeforeUnmount)&&He(Gt,O,S),Ct&6)Nt(S.component,z,B);else{if(Ct&128){S.suspense.unmount(z,B);return}Ft&&mn(S,null,O,"beforeUnmount"),Ct&64?S.type.remove(S,O,z,It,B):q&&!q.hasOnce&&(j!==zt||it>0&&it&64)?D(q,O,z,!1,!0):(j===zt&&it&384||!Z&&Ct&16)&&D(ot,O,z),B&&I(S)}(Qt&&(Gt=rt&&rt.onVnodeUnmounted)||Ft)&&Ce(()=>{Gt&&He(Gt,O,S),Ft&&mn(S,null,O,"unmounted")},z)},I=S=>{const{type:O,el:z,anchor:B,transition:Z}=S;if(O===zt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&Z&&!Z.persisted?S.children.forEach(rt=>{rt.type===ce?r(rt.el):I(rt)}):te(z,B);return}if(O===hr){_(S);return}const j=()=>{r(z),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(S.shapeFlag&1&&Z&&!Z.persisted){const{leave:rt,delayLeave:H}=Z,ot=()=>rt(z,j);H?H(S.el,j,ot):ot()}else j()},te=(S,O)=>{let z;for(;S!==O;)z=d(S),r(S),S=z;r(O)},Nt=(S,O,z)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&s0(S);const{bum:B,scope:Z,job:j,subTree:rt,um:H,m:ot,a:q}=S;_a(ot),_a(q),B&&cn(B),Z.stop(),j&&(j.flags|=8,tt(rt,S,O,z)),H&&Ce(H,O),Ce(()=>{S.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve()),{}.NODE_ENV!=="production"&&d0(S)},D=(S,O,z,B=!1,Z=!1,j=0)=>{for(let rt=j;rt<S.length;rt++)tt(S[rt],O,z,B,Z)},et=S=>{if(S.shapeFlag&6)return et(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const O=d(S.anchor||S.el),z=O&&O[y0];return z?d(z):O};let U=!1;const $=(S,O,z)=>{S==null?O._vnode&&tt(O._vnode,null,null,!0):w(O._vnode||null,S,O,null,null,null,z),O._vnode=S,U||(U=!0,Mc(),Bc(),U=!1)},It={p:w,um:tt,m:Bt,r:I,mt:wt,mc:G,pc:ue,pbc:pt,n:et,o:e};let Kt,Rt;return t&&([Kt,Rt]=t(It)),{render:$,hydrate:Kt,createApp:Z0($,Kt)}}function xi({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function vn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ba(e,t,o=!1){const n=e.children,r=t.children;if(_t(n)&&_t(r))for(let a=0;a<n.length;a++){const s=n[a];let l=r[a];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[a]=Uo(r[a]),l.el=s.el),!o&&l.patchFlag!==-2&&ba(s,l)),l.type===pr&&(l.el=s.el),{}.NODE_ENV!=="production"&&l.type===ce&&!l.el&&(l.el=s.el)}}function lg(e){const t=e.slice(),o=[0];let n,r,a,s,l;const i=e.length;for(n=0;n<i;n++){const c=e[n];if(c!==0){if(r=o[o.length-1],e[r]<c){t[n]=r,o.push(n);continue}for(a=0,s=o.length-1;a<s;)l=a+s>>1,e[o[l]]<c?a=l+1:s=l;c<e[o[a]]&&(a>0&&(t[n]=o[a-1]),o[a]=n)}}for(a=o.length,s=o[a-1];a-- >0;)o[a]=s,s=t[s];return o}function Pu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pu(t)}function _a(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const cg=Symbol.for("v-scx"),ug=()=>{{const e=oo(cg);return e||{}.NODE_ENV!=="production"&&Q("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ki(e,t){return wi(e,null,t)}function Pt(e,t,o){return{}.NODE_ENV!=="production"&&!Tt(t)&&Q("`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."),wi(e,t,o)}function wi(e,t,o=Ht){const{immediate:n,deep:r,flush:a,once:s}=o;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&Q('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Q('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&Q('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=Jt({},o);({}).NODE_ENV!=="production"&&(l.onWarn=Q);const i=t&&n||!t&&a!=="post";let c;if(vr){if(a==="sync"){const h=ug();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!i){const h=()=>{};return h.stop=ge,h.resume=ge,h.pause=ge,h}}const u=ve;l.call=(h,p,w)=>eo(h,u,p,w);let f=!1;a==="post"?l.scheduler=h=>{Ce(h,u&&u.suspense)}:a!=="sync"&&(f=!0,l.scheduler=(h,p)=>{p?h():la(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=qm(e,t,l);return vr&&(c?c.push(d):i&&d()),d}function fg(e,t,o){const n=this.proxy,r=ee(e)?e.includes(".")?Ru(n,e):()=>n[e]:e.bind(n,n);let a;Tt(t)?a=t:(a=t.handler,o=t);const s=yr(this),l=wi(r,a.bind(n),o);return s(),l}function Ru(e,t){const o=t.split(".");return()=>{let n=e;for(let r=0;r<o.length&&n;r++)n=n[o[r]];return n}}const dg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${be(t)}Modifiers`]||e[`${Ye(t)}Modifiers`];function pg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ht;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(ln(be(t))in f))&&Q(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ln(be(t))}" prop.`);else{const d=u[t];Tt(d)&&(d(...o)||Q(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=o;const a=t.startsWith("update:"),s=a&&dg(n,t.slice(7));if(s&&(s.trim&&(r=o.map(u=>ee(u)?u.trim():u)),s.number&&(r=o.map(fm))),{}.NODE_ENV!=="production"&&m0(e,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[ln(u)]&&Q(`Event "${u}" is emitted in component ${Sa(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 "${Ye(t)}" instead of "${t}".`)}let l,i=n[l=ln(t)]||n[l=ln(be(t))];!i&&a&&(i=n[l=ln(Ye(t))]),i&&eo(i,e,6,r);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,eo(c,e,6,r)}}function Iu(e,t,o=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const a=e.emits;let s={},l=!1;if(!Tt(e)){const i=c=>{const u=Iu(c,t,!0);u&&(l=!0,Jt(s,u))};!o&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!a&&!l?(Wt(e)&&n.set(e,null),null):(_t(a)?a.forEach(i=>s[i]=null):Jt(s,a),Wt(e)&&n.set(e,s),s)}function xa(e,t){return!e||!qn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Yt(e,t[0].toLowerCase()+t.slice(1))||Yt(e,Ye(t))||Yt(e,t))}let Ci=!1;function ka(){Ci=!0}function Ti(e){const{type:t,vnode:o,proxy:n,withProxy:r,propsOptions:[a],slots:s,attrs:l,emit:i,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:w}=e,x=fa(e);let v,g;({}).NODE_ENV!=="production"&&(Ci=!1);try{if(o.shapeFlag&4){const _=r||n,C={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(_,{get(M,X,G){return Q(`Property '${String(X)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(M,X,G)}}):_;v=ro(c.call(C,_,u,{}.NODE_ENV!=="production"?uo(f):f,h,d,p)),g=l}else{const _=t;({}).NODE_ENV!=="production"&&l===f&&ka(),v=ro(_.length>1?_({}.NODE_ENV!=="production"?uo(f):f,{}.NODE_ENV!=="production"?{get attrs(){return ka(),uo(l)},slots:s,emit:i}:{attrs:l,slots:s,emit:i}):_({}.NODE_ENV!=="production"?uo(f):f,null)),g=t.props?l:hg(l)}}catch(_){mr.length=0,ar(_,e,1),v=J(ce)}let y=v,m;if({}.NODE_ENV!=="production"&&v.patchFlag>0&&v.patchFlag&2048&&([y,m]=Au(v)),g&&w!==!1){const _=Object.keys(g),{shapeFlag:C}=y;if(_.length){if(C&7)a&&_.some(Ur)&&(g=mg(g,a)),y=no(y,g,!1,!0);else if({}.NODE_ENV!=="production"&&!Ci&&y.type!==ce){const M=Object.keys(l),X=[],G=[];for(let V=0,pt=M.length;V<pt;V++){const K=M[V];qn(K)?Ur(K)||X.push(K[2].toLowerCase()+K.slice(3)):G.push(K)}G.length&&Q(`Extraneous non-props attributes (${G.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),X.length&&Q(`Extraneous non-emits event listeners (${X.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"&&!$u(y)&&Q("Runtime directive used on component with non-element root node. The directives will not function as intended."),y=no(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(o.dirs):o.dirs),o.transition&&({}.NODE_ENV!=="production"&&!$u(y)&&Q("Component inside <Transition> renders non-element root node that cannot be animated."),$n(y,o.transition)),{}.NODE_ENV!=="production"&&m?m(y):v=y,fa(x),v}const Au=e=>{const t=e.children,o=e.dynamicChildren,n=Ei(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return Au(n)}else return[e,void 0];const r=t.indexOf(n),a=o?o.indexOf(n):-1,s=l=>{t[r]=l,o&&(a>-1?o[a]=l:l.patchFlag>0&&(e.dynamicChildren=[...o,l]))};return[ro(n),s]};function Ei(e,t=!0){let o;for(let n=0;n<e.length;n++){const r=e[n];if(Zo(r)){if(r.type!==ce||r.children==="v-if"){if(o)return;if(o=r,{}.NODE_ENV!=="production"&&t&&o.patchFlag>0&&o.patchFlag&2048)return Ei(o.children)}}else return}return o}const hg=e=>{let t;for(const o in e)(o==="class"||o==="style"||qn(o))&&((t||(t={}))[o]=e[o]);return t},mg=(e,t)=>{const o={};for(const n in e)(!Ur(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o},$u=e=>e.shapeFlag&7||e.type===ce;function gg(e,t,o){const{props:n,children:r,component:a}=e,{props:s,children:l,patchFlag:i}=t,c=a.emitsOptions;if({}.NODE_ENV!=="production"&&(r||l)&&po||t.dirs||t.transition)return!0;if(o&&i>=0){if(i&1024)return!0;if(i&16)return n?Nu(n,s,c):!!s;if(i&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==n[d]&&!xa(c,d))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===s?!1:n?s?Nu(n,s,c):!0:!!s;return!1}function Nu(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const a=n[r];if(t[a]!==e[a]&&!xa(o,a))return!0}return!1}function yg({vnode:e,parent:t},o){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=o,t=t.parent;else break}}const wa=e=>e.__isSuspense;function vg(e,t){t&&t.pendingBranch?_t(e)?t.effects.push(...e):t.effects.push(e):zc(e)}const zt=Symbol.for("v-fgt"),pr=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),hr=Symbol.for("v-stc"),mr=[];let Xe=null;function A(e=!1){mr.push(Xe=e?null:[])}function bg(){mr.pop(),Xe=mr[mr.length-1]||null}let gr=1;function Du(e,t=!1){gr+=e,e<0&&Xe&&t&&(Xe.hasOnce=!0)}function Fu(e){return e.dynamicChildren=gr>0?Xe||On:null,bg(),gr>0&&Xe&&Xe.push(e),e}function F(e,t,o,n,r,a){return Fu(k(e,t,o,n,r,a,!0))}function ht(e,t,o,n,r){return Fu(J(e,t,o,n,r,!0))}function Zo(e){return e?e.__v_isVNode===!0:!1}function Go(e,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const o=ca.get(t.type);if(o&&o.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const _g=(...e)=>zu(...e),Lu=({key:e})=>e??null,Ca=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||pe(e)||Tt(e)?{i:he,r:e,k:t,f:!!o}:e:null);function k(e,t=null,o=null,n=0,r=null,a=e===zt?0:1,s=!1,l=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lu(t),ref:t&&Ca(t),scopeId:jc,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(Si(i,o),a&128&&e.normalize(i)):o&&(i.shapeFlag|=ee(o)?8:16),{}.NODE_ENV!=="production"&&i.key!==i.key&&Q("VNode created with invalid key (NaN). VNode type:",i.type),gr>0&&!s&&Xe&&(i.patchFlag>0||a&6)&&i.patchFlag!==32&&Xe.push(i),i}const J={}.NODE_ENV!=="production"?_g:zu;function zu(e,t=null,o=null,n=0,r=null,a=!1){if((!e||e===su)&&({}.NODE_ENV!=="production"&&!e&&Q(`Invalid vnode type when creating vnode: ${e}.`),e=ce),Zo(e)){const l=no(e,t,!0);return o&&Si(l,o),gr>0&&!a&&Xe&&(l.shapeFlag&6?Xe[Xe.indexOf(e)]=l:Xe.push(l)),l.patchFlag=-2,l}if(ju(e)&&(e=e.__vccOpts),t){t=xg(t);let{class:l,style:i}=t;l&&!ee(l)&&(t.class=Ut(l)),Wt(i)&&(ea(i)&&!_t(i)&&(i=Jt({},i)),t.style=N(i))}const s=ee(e)?1:wa(e)?128:Wc(e)?64:Wt(e)?4:Tt(e)?2:0;return{}.NODE_ENV!=="production"&&s&4&&ea(e)&&(e=At(e),Q("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`.",`
20
- Component that was made reactive: `,e)),k(e,t,o,n,r,s,a,!0)}function xg(e){return e?ea(e)||bu(e)?Jt({},e):e:null}function no(e,t,o=!1,n=!1){const{props:r,ref:a,patchFlag:s,children:l,transition:i}=e,c=t?Bu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Lu(c),ref:t&&t.ref?o&&a?_t(a)?a.concat(Ca(t)):[a,Ca(t)]:Ca(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&s===-1&&_t(l)?l.map(Mu):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==zt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&no(e.ssContent),ssFallback:e.ssFallback&&no(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&n&&$n(u,i.clone(u)),u}function Mu(e){const t=no(e);return _t(e.children)&&(t.children=e.children.map(Mu)),t}function Vt(e=" ",t=0){return J(pr,null,e,t)}function kg(e,t){const o=J(hr,null,e);return o.staticCount=t,o}function yt(e="",t=!1){return t?(A(),ht(ce,null,e)):J(ce,null,e)}function ro(e){return e==null||typeof e=="boolean"?J(ce):_t(e)?J(zt,null,e.slice()):Zo(e)?Uo(e):J(pr,null,String(e))}function Uo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:no(e)}function Si(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(_t(t))o=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Si(e,r()),r._c&&(r._d=!0));return}else{o=32;const r=t._;!r&&!bu(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Tt(t)?(t={default:t,_ctx:he},o=32):(t=String(t),n&64?(o=16,t=[Vt(t)]):o=8);e.children=t,e.shapeFlag|=o}function Bu(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Ut([t.class,n.class]));else if(r==="style")t.style=N([t.style,n.style]);else if(qn(r)){const a=t[r],s=n[r];s&&a!==s&&!(_t(a)&&a.includes(s))&&(t[r]=a?[].concat(a,s):s)}else r!==""&&(t[r]=n[r])}return t}function He(e,t,o,n=null){eo(e,t,7,[o,n])}const wg=gu();let Cg=0;function Tg(e,t,o){const n=e.type,r=(t?t.appContext:e.appContext)||wg,a={uid:Cg++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xu(n,r),emitsOptions:Iu(n,r),emit:null,emitted:null,propsDefaults:Ht,inheritAttrs:n.inheritAttrs,ctx:Ht,data:Ht,props:Ht,attrs:Ht,slots:Ht,refs:Ht,setupState:Ht,setupContext:null,suspense:o,suspenseId:o?o.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"?a.ctx=A0(a):a.ctx={_:a},a.root=t?t.root:a,a.emit=pg.bind(null,a),e.ce&&e.ce(a),a}let ve=null;const jo=()=>ve||he;let Ta,Oi;{const e=Jn(),t=(o,n)=>{let r;return(r=e[o])||(r=e[o]=[]),r.push(n),a=>{r.length>1?r.forEach(s=>s(a)):r[0](a)}};Ta=t("__VUE_INSTANCE_SETTERS__",o=>ve=o),Oi=t("__VUE_SSR_SETTERS__",o=>vr=o)}const yr=e=>{const t=ve;return Ta(e),e.scope.on(),()=>{e.scope.off(),Ta(t)}},Yu=()=>{ve&&ve.scope.off(),Ta(null)},Eg=ko("slot,component");function Pi(e,{isNativeTag:t}){(Eg(e)||t(e))&&Q("Do not use built-in or reserved HTML elements as component id: "+e)}function Vu(e){return e.vnode.shapeFlag&4}let vr=!1;function Sg(e,t=!1,o=!1){t&&Oi(t);const{props:n,children:r}=e.vnode,a=Vu(e);G0(e,n,a,t),og(e,r,o);const s=a?Og(e,t):void 0;return t&&Oi(!1),s}function Og(e,t){var o;const n=e.type;if({}.NODE_ENV!=="production"){if(n.name&&Pi(n.name,e.appContext.config),n.components){const a=Object.keys(n.components);for(let s=0;s<a.length;s++)Pi(a[s],e.appContext.config)}if(n.directives){const a=Object.keys(n.directives);for(let s=0;s<a.length;s++)Hc(a[s])}n.compilerOptions&&Pg()&&Q('"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,uu),{}.NODE_ENV!=="production"&&$0(e);const{setup:r}=n;if(r){Co();const a=e.setupContext=r.length>1?Uu(e):null,s=yr(e),l=Rn(r,e,0,[{}.NODE_ENV!=="production"?uo(e.props):e.props,a]),i=Ls(l);if(To(),s(),(i||e.sp)&&!gn(e)&&ou(e),i){if(l.then(Yu,Yu),t)return l.then(c=>{Xu(e,c,t)}).catch(c=>{ar(c,e,0)});if(e.asyncDep=l,{}.NODE_ENV!=="production"&&!e.suspense){const c=(o=n.name)!=null?o:"Anonymous";Q(`Component <${c}>: 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 Xu(e,l,t)}else Zu(e,t)}function Xu(e,t,o){Tt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Wt(t)?({}.NODE_ENV!=="production"&&Zo(t)&&Q("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Nc(t),{}.NODE_ENV!=="production"&&N0(e)):{}.NODE_ENV!=="production"&&t!==void 0&&Q(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Zu(e,o)}let Ri;const Pg=()=>!Ri;function Zu(e,t,o){const n=e.type;if(!e.render){if(!t&&Ri&&!n.render){const r=n.template||gi(e).template;if(r){({}).NODE_ENV!=="production"&&Ro(e,"compile");const{isCustomElement:a,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:i}=n,c=Jt(Jt({isCustomElement:a,delimiters:l},s),i);n.render=Ri(r,c),{}.NODE_ENV!=="production"&&Io(e,"compile")}}e.render=n.render||ge}{const r=yr(e);Co();try{z0(e)}finally{To(),r()}}({}).NODE_ENV!=="production"&&!n.render&&e.render===ge&&!t&&(n.template?Q('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".'):Q("Component is missing template or render function: ",n))}const Gu={}.NODE_ENV!=="production"?{get(e,t){return ka(),ye(e,"get",""),e[t]},set(){return Q("setupContext.attrs is readonly."),!1},deleteProperty(){return Q("setupContext.attrs is readonly."),!1}}:{get(e,t){return ye(e,"get",""),e[t]}};function Rg(e){return new Proxy(e.slots,{get(t,o){return ye(e,"get","$slots"),t[o]}})}function Uu(e){const t=o=>{if({}.NODE_ENV!=="production"&&(e.exposed&&Q("expose() should be called only once per setup()."),o!=null)){let n=typeof o;n==="object"&&(_t(o)?n="array":pe(o)&&(n="ref")),n!=="object"&&Q(`expose() should be passed a plain object, received ${n}.`)}e.exposed=o||{}};if({}.NODE_ENV!=="production"){let o,n;return Object.freeze({get attrs(){return o||(o=new Proxy(e.attrs,Gu))},get slots(){return n||(n=Rg(e))},get emit(){return(r,...a)=>e.emit(r,...a)},expose:t})}else return{attrs:new Proxy(e.attrs,Gu),slots:e.slots,emit:e.emit,expose:t}}function Ea(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nc(Xm(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in yn)return yn[o](e)},has(t,o){return o in t||o in yn}})):e.proxy}const Ig=/(?:^|[-_])(\w)/g,Ag=e=>e.replace(Ig,t=>t.toUpperCase()).replace(/[-_]/g,"");function br(e,t=!0){return Tt(e)?e.displayName||e.name:e.name||t&&e.__name}function Sa(e,t,o=!1){let n=br(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e&&e.parent){const r=a=>{for(const s in a)if(a[s]===t)return s};n=r(e.components||e.parent.type.components)||r(e.appContext.components)}return n?Ag(n):o?"App":"Anonymous"}function ju(e){return Tt(e)&&"__vccOpts"in e}const de=(e,t)=>{const o=Hm(e,t,vr);if({}.NODE_ENV!=="production"){const n=jo();n&&n.appContext.config.warnRecursiveComputed&&(o._warnRecursive=!0)}return o};function Xt(e,t,o){const n=arguments.length;return n===2?Wt(t)&&!_t(t)?Zo(t)?J(e,null,[t]):J(e,t):J(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Zo(o)&&(o=[o]),J(e,t,o))}function $g(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},o={style:"color:#f5222d"},n={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(f){return Wt(f)?f.__isVue?["div",e,"VueInstance"]:pe(f)?["div",{},["span",e,u(f)],"<",l("_value"in f?f._value:f),">"]:fn(f)?["div",{},["span",e,Ie(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${So(f)?" (readonly)":""}`]:So(f)?["div",{},["span",e,Ie(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...a(f.$)]}};function a(f){const d=[];f.type.props&&f.props&&d.push(s("props",At(f.props))),f.setupState!==Ht&&d.push(s("setup",f.setupState)),f.data!==Ht&&d.push(s("data",At(f.data)));const h=i(f,"computed");h&&d.push(s("computed",h));const p=i(f,"inject");return p&&d.push(s("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function s(f,d){return d=Jt({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",o,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Wt(f)?["object",{object:d?At(f):f}]:["span",o,String(f)]}function i(f,d){const h=f.type;if(Tt(h))return;const p={};for(const w in f.ctx)c(h,w,d)&&(p[w]=f.ctx[w]);return p}function c(f,d,h){const p=f[h];if(_t(p)&&p.includes(d)||Wt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(w=>c(w,d,h)))return!0}function u(f){return Ie(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Hu="3.5.13",Me={}.NODE_ENV!=="production"?Q:ge;/**
19
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Ee=ny;function Zg(o){return Ug(o)}function Ug(o,t){Xg();const e=rs();e.__VUE__=!0,{}.NODE_ENV!=="production"&&vu(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=be,insertStaticContent:p}=o,v=(E,P,L,Z=null,U=null,G=null,rt=void 0,W=null,ot={}.NODE_ENV!=="production"&&go?!1:!!P.dynamicChildren)=>{if(E===P)return;E&&!Go(E,P)&&(Z=nt(E),et(E,U,G,!0),E=null),P.patchFlag===-2&&(ot=!1,P.dynamicChildren=null);const{type:K,ref:Ct,shapeFlag:ct}=P;switch(K){case bs:k(E,P,L,Z);break;case fe:x(E,P,L,Z);break;case _s:E==null?m(P,L,Z,rt):{}.NODE_ENV!=="production"&&g(E,P,L,rt);break;case Dt:tt(E,P,L,Z,U,G,rt,W,ot);break;default:ct&1?_(E,P,L,Z,U,G,rt,W,ot):ct&6?vt(E,P,L,Z,U,G,rt,W,ot):ct&64||ct&128?K.process(E,P,L,Z,U,G,rt,W,ot,Pt):{}.NODE_ENV!=="production"&&J("Invalid VNode type:",K,`(${typeof K})`)}Ct!=null&&U&&xr(Ct,E&&E.ref,G,P||E,!P)},k=(E,P,L,Z)=>{if(E==null)n(P.el=i(P.children),L,Z);else{const U=P.el=E.el;P.children!==E.children&&c(U,P.children)}},x=(E,P,L,Z)=>{E==null?n(P.el=l(P.children||""),L,Z):P.el=E.el},m=(E,P,L,Z)=>{[E.el,E.anchor]=p(E.children,P,L,Z,E.el,E.anchor)},g=(E,P,L,Z)=>{if(P.children!==E.children){const U=d(E.anchor);b(E),[P.el,P.anchor]=p(P.children,L,U,Z)}else P.el=E.el,P.anchor=E.anchor},y=({el:E,anchor:P},L,Z)=>{let U;for(;E&&E!==P;)U=d(E),n(E,L,Z),E=U;n(P,L,Z)},b=({el:E,anchor:P})=>{let L;for(;E&&E!==P;)L=d(E),s(E),E=L;s(P)},_=(E,P,L,Z,U,G,rt,W,ot)=>{P.type==="svg"?rt="svg":P.type==="math"&&(rt="mathml"),E==null?$(P,L,Z,U,G,rt,W,ot):D(E,P,U,G,rt,W,ot)},$=(E,P,L,Z,U,G,rt,W)=>{let ot,K;const{props:Ct,shapeFlag:ct,transition:bt,dirs:Et}=E;if(ot=E.el=a(E.type,G,Ct&&Ct.is,Ct),ct&8?u(ot,E.children):ct&16&&B(E.children,ot,null,Z,U,Mi(E,G),rt,W),Et&&gn(E,null,Z,"created"),Y(ot,E,E.scopeId,rt,Z),Ct){for(const te in Ct)te!=="value"&&!ss(te)&&r(ot,te,null,Ct[te],G,Z);"value"in Ct&&r(ot,"value",null,Ct.value,G),(K=Ct.onVnodeBeforeMount)&&je(K,Z,E)}({}).NODE_ENV!=="production"&&(nr(ot,"__vnode",E,!0),nr(ot,"__vueParentComponent",Z,!0)),Et&&gn(E,null,Z,"beforeMount");const Ft=Gg(U,bt);Ft&&bt.beforeEnter(ot),n(ot,P,L),((K=Ct&&Ct.onVnodeMounted)||Ft||Et)&&Ee(()=>{K&&je(K,Z,E),Ft&&bt.enter(ot),Et&&gn(E,null,Z,"mounted")},U)},Y=(E,P,L,Z,U)=>{if(L&&h(E,L),Z)for(let G=0;G<Z.length;G++)h(E,Z[G]);if(U){let G=U.subTree;if({}.NODE_ENV!=="production"&&G.patchFlag>0&&G.patchFlag&2048&&(G=Yi(G.children)||G),P===G||Ir(G.type)&&(G.ssContent===P||G.ssFallback===P)){const rt=U.vnode;Y(E,rt,rt.scopeId,rt.slotScopeIds,U.parent)}}},B=(E,P,L,Z,U,G,rt,W,ot=0)=>{for(let K=ot;K<E.length;K++){const Ct=E[K]=W?Ho(E[K]):ao(E[K]);v(null,Ct,P,L,Z,U,G,rt,W)}},D=(E,P,L,Z,U,G,rt)=>{const W=P.el=E.el;({}).NODE_ENV!=="production"&&(W.__vnode=P);let{patchFlag:ot,dynamicChildren:K,dirs:Ct}=P;ot|=E.patchFlag&16;const ct=E.props||qt,bt=P.props||qt;let Et;if(L&&bn(L,!1),(Et=bt.onVnodeBeforeUpdate)&&je(Et,L,P,E),Ct&&gn(P,E,L,"beforeUpdate"),L&&bn(L,!0),{}.NODE_ENV!=="production"&&go&&(ot=0,rt=!1,K=null),(ct.innerHTML&&bt.innerHTML==null||ct.textContent&&bt.textContent==null)&&u(W,""),K?(ut(E.dynamicChildren,K,W,L,Z,Mi(P,U),G),{}.NODE_ENV!=="production"&&Sr(E,P)):rt||oe(E,P,W,null,L,Z,Mi(P,U),G,!1),ot>0){if(ot&16)j(W,ct,bt,L,U);else if(ot&2&&ct.class!==bt.class&&r(W,"class",null,bt.class,U),ot&4&&r(W,"style",ct.style,bt.style,U),ot&8){const Ft=P.dynamicProps;for(let te=0;te<Ft.length;te++){const Ht=Ft[te],we=ct[Ht],ve=bt[Ht];(ve!==we||Ht==="value")&&r(W,Ht,we,ve,U,L)}}ot&1&&E.children!==P.children&&u(W,P.children)}else!rt&&K==null&&j(W,ct,bt,L,U);((Et=bt.onVnodeUpdated)||Ct)&&Ee(()=>{Et&&je(Et,L,P,E),Ct&&gn(P,E,L,"updated")},Z)},ut=(E,P,L,Z,U,G,rt)=>{for(let W=0;W<P.length;W++){const ot=E[W],K=P[W],Ct=ot.el&&(ot.type===Dt||!Go(ot,K)||ot.shapeFlag&70)?f(ot.el):L;v(ot,K,Ct,null,Z,U,G,rt,!0)}},j=(E,P,L,Z,U)=>{if(P!==L){if(P!==qt)for(const G in P)!ss(G)&&!(G in L)&&r(E,G,P[G],null,U,Z);for(const G in L){if(ss(G))continue;const rt=L[G],W=P[G];rt!==W&&G!=="value"&&r(E,G,W,rt,U,Z)}"value"in L&&r(E,"value",P.value,L.value,U)}},tt=(E,P,L,Z,U,G,rt,W,ot)=>{const K=P.el=E?E.el:i(""),Ct=P.anchor=E?E.anchor:i("");let{patchFlag:ct,dynamicChildren:bt,slotScopeIds:Et}=P;({}).NODE_ENV!=="production"&&(go||ct&2048)&&(ct=0,ot=!1,bt=null),Et&&(W=W?W.concat(Et):Et),E==null?(n(K,L,Z),n(Ct,L,Z),B(P.children||[],L,Ct,U,G,rt,W,ot)):ct>0&&ct&64&&bt&&E.dynamicChildren?(ut(E.dynamicChildren,bt,L,U,G,rt,W),{}.NODE_ENV!=="production"?Sr(E,P):(P.key!=null||U&&P===U.subTree)&&Sr(E,P,!0)):oe(E,P,L,Ct,U,G,rt,W,ot)},vt=(E,P,L,Z,U,G,rt,W,ot)=>{P.slotScopeIds=W,E==null?P.shapeFlag&512?U.ctx.activate(P,L,Z,rt,ot):St(P,L,Z,U,G,rt,ot):$t(E,P,ot)},St=(E,P,L,Z,U,G,rt)=>{const W=E.component=uy(E,Z,U);if({}.NODE_ENV!=="production"&&W.type.__hmrId&&Z0(W),{}.NODE_ENV!=="production"&&(dr(E),Io(W,"mount")),ms(E)&&(W.ctx.renderer=Pt),{}.NODE_ENV!=="production"&&Io(W,"init"),dy(W,!1,rt),{}.NODE_ENV!=="production"&&Ao(W,"init"),W.asyncDep){if({}.NODE_ENV!=="production"&&go&&(E.el=null),U&&U.registerDep(W,kt,rt),!E.el){const ot=W.subTree=Q(fe);x(null,ot,P,L)}}else kt(W,E,P,L,U,G,rt);({}).NODE_ENV!=="production"&&(hr(),Ao(W,"mount"))},$t=(E,P,L)=>{const Z=P.component=E.component;if(ey(E,P,L))if(Z.asyncDep&&!Z.asyncResolved){({}).NODE_ENV!=="production"&&dr(P),wt(Z,P,L),{}.NODE_ENV!=="production"&&hr();return}else Z.next=P,Z.update();else P.el=E.el,Z.vnode=P},kt=(E,P,L,Z,U,G,rt)=>{const W=()=>{if(E.isMounted){let{next:ct,bu:bt,u:Et,parent:Ft,vnode:te}=E;{const ze=nf(E);if(ze){ct&&(ct.el=te.el,wt(E,ct,rt)),ze.asyncDep.then(()=>{E.isUnmounted||W()});return}}let Ht=ct,we;({}).NODE_ENV!=="production"&&dr(ct||E.vnode),bn(E,!1),ct?(ct.el=te.el,wt(E,ct,rt)):ct=te,bt&&un(bt),(we=ct.props&&ct.props.onVnodeBeforeUpdate)&&je(we,Ft,ct,te),bn(E,!0),{}.NODE_ENV!=="production"&&Io(E,"render");const ve=Vi(E);({}).NODE_ENV!=="production"&&Ao(E,"render");const Ge=E.subTree;E.subTree=ve,{}.NODE_ENV!=="production"&&Io(E,"patch"),v(Ge,ve,f(Ge.el),nt(Ge),E,U,G),{}.NODE_ENV!=="production"&&Ao(E,"patch"),ct.el=ve.el,Ht===null&&oy(E,ve.el),Et&&Ee(Et,U),(we=ct.props&&ct.props.onVnodeUpdated)&&Ee(()=>je(we,Ft,ct,te),U),{}.NODE_ENV!=="production"&&bu(E),{}.NODE_ENV!=="production"&&hr()}else{let ct;const{el:bt,props:Et}=P,{bm:Ft,m:te,parent:Ht,root:we,type:ve}=E,Ge=yn(P);if(bn(E,!1),Ft&&un(Ft),!Ge&&(ct=Et&&Et.onVnodeBeforeMount)&&je(ct,Ht,P),bn(E,!0),bt&&V){const ze=()=>{({}).NODE_ENV!=="production"&&Io(E,"render"),E.subTree=Vi(E),{}.NODE_ENV!=="production"&&Ao(E,"render"),{}.NODE_ENV!=="production"&&Io(E,"hydrate"),V(bt,E.subTree,E,U,null),{}.NODE_ENV!=="production"&&Ao(E,"hydrate")};Ge&&ve.__asyncHydrate?ve.__asyncHydrate(bt,E,ze):ze()}else{we.ce&&we.ce._injectChildStyle(ve),{}.NODE_ENV!=="production"&&Io(E,"render");const ze=E.subTree=Vi(E);({}).NODE_ENV!=="production"&&Ao(E,"render"),{}.NODE_ENV!=="production"&&Io(E,"patch"),v(null,ze,L,Z,E,U,G),{}.NODE_ENV!=="production"&&Ao(E,"patch"),P.el=ze.el}if(te&&Ee(te,U),!Ge&&(ct=Et&&Et.onVnodeMounted)){const ze=P;Ee(()=>je(ct,Ht,ze),U)}(P.shapeFlag&256||Ht&&yn(Ht.vnode)&&Ht.vnode.shapeFlag&256)&&E.a&&Ee(E.a,U),E.isMounted=!0,{}.NODE_ENV!=="production"&&ki(E),P=L=Z=null}};E.scope.on();const ot=E.effect=new Bc(W);E.scope.off();const K=E.update=ot.run.bind(ot),Ct=E.job=ot.runIfDirty.bind(ot);Ct.i=E,Ct.id=E.uid,ot.scheduler=()=>gr(Ct),bn(E,!0),{}.NODE_ENV!=="production"&&(ot.onTrack=E.rtc?ct=>un(E.rtc,ct):void 0,ot.onTrigger=E.rtg?ct=>un(E.rtg,ct):void 0),K()},wt=(E,P,L)=>{P.component=E;const Z=E.vnode.props;E.vnode=P,E.next=null,Ag(E,P.props,Z,L),Yg(E,P.children,L),To(),hu(E),Eo()},oe=(E,P,L,Z,U,G,rt,W,ot=!1)=>{const K=E&&E.children,Ct=E?E.shapeFlag:0,ct=P.children,{patchFlag:bt,shapeFlag:Et}=P;if(bt>0){if(bt&128){he(K,ct,L,Z,U,G,rt,W,ot);return}else if(bt&256){pe(K,ct,L,Z,U,G,rt,W,ot);return}}Et&8?(Ct&16&&F(K,U,G),ct!==K&&u(L,ct)):Ct&16?Et&16?he(K,ct,L,Z,U,G,rt,W,ot):F(K,U,G,!0):(Ct&8&&u(L,""),Et&16&&B(ct,L,Z,U,G,rt,W,ot))},pe=(E,P,L,Z,U,G,rt,W,ot)=>{E=E||On,P=P||On;const K=E.length,Ct=P.length,ct=Math.min(K,Ct);let bt;for(bt=0;bt<ct;bt++){const Et=P[bt]=ot?Ho(P[bt]):ao(P[bt]);v(E[bt],Et,L,null,U,G,rt,W,ot)}K>Ct?F(E,U,G,!0,!1,ct):B(P,L,Z,U,G,rt,W,ot,ct)},he=(E,P,L,Z,U,G,rt,W,ot)=>{let K=0;const Ct=P.length;let ct=E.length-1,bt=Ct-1;for(;K<=ct&&K<=bt;){const Et=E[K],Ft=P[K]=ot?Ho(P[K]):ao(P[K]);if(Go(Et,Ft))v(Et,Ft,L,null,U,G,rt,W,ot);else break;K++}for(;K<=ct&&K<=bt;){const Et=E[ct],Ft=P[bt]=ot?Ho(P[bt]):ao(P[bt]);if(Go(Et,Ft))v(Et,Ft,L,null,U,G,rt,W,ot);else break;ct--,bt--}if(K>ct){if(K<=bt){const Et=bt+1,Ft=Et<Ct?P[Et].el:Z;for(;K<=bt;)v(null,P[K]=ot?Ho(P[K]):ao(P[K]),L,Ft,U,G,rt,W,ot),K++}}else if(K>bt)for(;K<=ct;)et(E[K],U,G,!0),K++;else{const Et=K,Ft=K,te=new Map;for(K=Ft;K<=bt;K++){const Se=P[K]=ot?Ho(P[K]):ao(P[K]);Se.key!=null&&({}.NODE_ENV!=="production"&&te.has(Se.key)&&J("Duplicate keys found during update:",JSON.stringify(Se.key),"Make sure keys are unique."),te.set(Se.key,K))}let Ht,we=0;const ve=bt-Ft+1;let Ge=!1,ze=0;const En=new Array(ve);for(K=0;K<ve;K++)En[K]=0;for(K=Et;K<=ct;K++){const Se=E[K];if(we>=ve){et(Se,U,G,!0);continue}let De;if(Se.key!=null)De=te.get(Se.key);else for(Ht=Ft;Ht<=bt;Ht++)if(En[Ht-Ft]===0&&Go(Se,P[Ht])){De=Ht;break}De===void 0?et(Se,U,G,!0):(En[De-Ft]=K+1,De>=ze?ze=De:Ge=!0,v(Se,P[De],L,null,U,G,rt,W,ot),we++)}const Ua=Ge?Hg(En):On;for(Ht=Ua.length-1,K=ve-1;K>=0;K--){const Se=Ft+K,De=P[Se],Ga=Se+1<Ct?P[Se+1].el:Z;En[K]===0?v(null,De,L,Ga,U,G,rt,W,ot):Ge&&(Ht<0||K!==Ua[Ht]?Xt(De,L,Ga,2):Ht--)}}},Xt=(E,P,L,Z,U=null)=>{const{el:G,type:rt,transition:W,children:ot,shapeFlag:K}=E;if(K&6){Xt(E.component.subTree,P,L,Z);return}if(K&128){E.suspense.move(P,L,Z);return}if(K&64){rt.move(E,P,L,Pt);return}if(rt===Dt){n(G,P,L);for(let ct=0;ct<ot.length;ct++)Xt(ot[ct],P,L,Z);n(E.anchor,P,L);return}if(rt===_s){y(E,P,L);return}if(Z!==2&&K&1&&W)if(Z===0)W.beforeEnter(G),n(G,P,L),Ee(()=>W.enter(G),U);else{const{leave:ct,delayLeave:bt,afterLeave:Et}=W,Ft=()=>n(G,P,L),te=()=>{ct(G,()=>{Ft(),Et&&Et()})};bt?bt(G,Ft,te):te()}else n(G,P,L)},et=(E,P,L,Z=!1,U=!1)=>{const{type:G,props:rt,ref:W,children:ot,dynamicChildren:K,shapeFlag:Ct,patchFlag:ct,dirs:bt,cacheIndex:Et}=E;if(ct===-2&&(U=!1),W!=null&&xr(W,null,L,E,!0),Et!=null&&(P.renderCache[Et]=void 0),Ct&256){P.ctx.deactivate(E);return}const Ft=Ct&1&&bt,te=!yn(E);let Ht;if(te&&(Ht=rt&&rt.onVnodeBeforeUnmount)&&je(Ht,P,E),Ct&6)Nt(E.component,L,Z);else{if(Ct&128){E.suspense.unmount(L,Z);return}Ft&&gn(E,null,P,"beforeUnmount"),Ct&64?E.type.remove(E,P,L,Pt,Z):K&&!K.hasOnce&&(G!==Dt||ct>0&&ct&64)?F(K,P,L,!1,!0):(G===Dt&&ct&384||!U&&Ct&16)&&F(ot,P,L),Z&&A(E)}(te&&(Ht=rt&&rt.onVnodeUnmounted)||Ft)&&Ee(()=>{Ht&&je(Ht,P,E),Ft&&gn(E,null,P,"unmounted")},L)},A=E=>{const{type:P,el:L,anchor:Z,transition:U}=E;if(P===Dt){({}).NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&U&&!U.persisted?E.children.forEach(rt=>{rt.type===fe?s(rt.el):A(rt)}):ne(L,Z);return}if(P===_s){b(E);return}const G=()=>{s(L),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(E.shapeFlag&1&&U&&!U.persisted){const{leave:rt,delayLeave:W}=U,ot=()=>rt(L,G);W?W(E.el,G,ot):ot()}else G()},ne=(E,P)=>{let L;for(;E!==P;)L=d(E),s(E),E=L;s(P)},Nt=(E,P,L)=>{({}).NODE_ENV!=="production"&&E.type.__hmrId&&U0(E);const{bum:Z,scope:U,job:G,subTree:rt,um:W,m:ot,a:K}=E;Or(ot),Or(K),Z&&un(Z),U.stop(),G&&(G.flags|=8,et(rt,E,P,L)),W&&Ee(W,P),Ee(()=>{E.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve()),{}.NODE_ENV!=="production"&&K0(E)},F=(E,P,L,Z=!1,U=!1,G=0)=>{for(let rt=G;rt<E.length;rt++)et(E[rt],P,L,Z,U)},nt=E=>{if(E.shapeFlag&6)return nt(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const P=d(E.anchor||E.el),L=P&&P[og];return L?d(L):P};let H=!1;const lt=(E,P,L)=>{E==null?P._vnode&&et(P._vnode,null,null,!0):v(P._vnode||null,E,P,null,null,null,L),P._vnode=E,H||(H=!0,hu(),pu(),H=!1)},Pt={p:v,um:et,m:Xt,r:A,mt:St,mc:B,pc:oe,pbc:ut,n:nt,o};let Zt,V;return t&&([Zt,V]=t(Pt)),{render:lt,hydrate:Zt,createApp:Pg(lt,Zt)}}function Mi({type:o,props:t},e){return e==="svg"&&o==="foreignObject"||e==="mathml"&&o==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function bn({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function Gg(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Sr(o,t,e=!1){const n=o.children,s=t.children;if(_t(n)&&_t(s))for(let r=0;r<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=Ho(s[r]),i.el=a.el),!e&&i.patchFlag!==-2&&Sr(a,i)),i.type===bs&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===fe&&!i.el&&(i.el=a.el)}}function Hg(o){const t=o.slice(),e=[0];let n,s,r,a,i;const l=o.length;for(n=0;n<l;n++){const c=o[n];if(c!==0){if(s=e[e.length-1],o[s]<c){t[n]=s,e.push(n);continue}for(r=0,a=e.length-1;r<a;)i=r+a>>1,o[e[i]]<c?r=i+1:a=i;c<o[e[r]]&&(r>0&&(t[n]=e[r-1]),e[r]=n)}}for(r=e.length,a=e[r-1];r-- >0;)e[r]=a,a=t[a];return e}function nf(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nf(t)}function Or(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const jg=Symbol.for("v-scx"),Wg=()=>{{const o=so(jg);return o||{}.NODE_ENV!=="production"&&J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Fn(o,t){return Li(o,null,t)}function Rt(o,t,e){return{}.NODE_ENV!=="production"&&!Tt(t)&&J("`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."),Li(o,t,e)}function Li(o,t,e=qt){const{immediate:n,deep:s,flush:r,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=ee({},e);({}).NODE_ENV!=="production"&&(i.onWarn=J);const l=t&&n||!t&&r!=="post";let c;if(Cs){if(r==="sync"){const h=Wg();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=be,h.resume=be,h.pause=be,h}}const u=xe;i.call=(h,p,v)=>no(h,u,p,v);let f=!1;r==="post"?i.scheduler=h=>{Ee(h,u&&u.suspense)}:r!=="sync"&&(f=!0,i.scheduler=(h,p)=>{p?h():gr(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=F0(o,t,i);return Cs&&(c?c.push(d):l&&d()),d}function qg(o,t,e){const n=this.proxy,s=se(o)?o.includes(".")?sf(n,o):()=>n[o]:o.bind(n,n);let r;Tt(t)?r=t:(r=t.handler,e=t);const a=ws(this),i=Li(s,r.bind(n),e);return a(),i}function sf(o,t){const e=t.split(".");return()=>{let n=o;for(let s=0;s<e.length&&n;s++)n=n[e[s]];return n}}const Kg=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${ke(t)}Modifiers`]||o[`${Be(t)}Modifiers`];function Qg(o,t,...e){if(o.isUnmounted)return;const n=o.vnode.props||qt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=o;if(u)if(!(t in u))(!f||!(cn(ke(t))in f))&&J(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${cn(ke(t))}" prop.`);else{const d=u[t];Tt(d)&&(d(...e)||J(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=e;const r=t.startsWith("update:"),a=r&&Kg(n,t.slice(7));if(a&&(a.trim&&(s=e.map(u=>se(u)?u.trim():u)),a.number&&(s=e.map(qm))),{}.NODE_ENV!=="production"&&tg(o,t,s),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[cn(u)]&&J(`Event "${u}" is emitted in component ${Fr(o,o.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 "${Be(t)}" instead of "${t}".`)}let i,l=n[i=cn(t)]||n[i=cn(ke(t))];!l&&r&&(l=n[i=cn(Be(t))]),l&&no(l,o,6,s);const c=n[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,no(c,o,6,s)}}function rf(o,t,e=!1){const n=t.emitsCache,s=n.get(o);if(s!==void 0)return s;const r=o.emits;let a={},i=!1;if(!Tt(o)){const l=c=>{const u=rf(c,t,!0);u&&(i=!0,ee(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!r&&!i?(Kt(o)&&n.set(o,null),null):(_t(r)?r.forEach(l=>a[l]=null):ee(a,r),Kt(o)&&n.set(o,a),a)}function Pr(o,t){return!o||!os(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(o,t[0].toLowerCase()+t.slice(1))||Lt(o,Be(t))||Lt(o,t))}let Bi=!1;function Rr(){Bi=!0}function Vi(o){const{type:t,vnode:e,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=o,k=br(o);let x,m;({}).NODE_ENV!=="production"&&(Bi=!1);try{if(e.shapeFlag&4){const b=s||n,_={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(b,{get($,Y,B){return J(`Property '${String(Y)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,Y,B)}}):b;x=ao(c.call(_,b,u,{}.NODE_ENV!=="production"?po(f):f,h,d,p)),m=i}else{const b=t;({}).NODE_ENV!=="production"&&i===f&&Rr(),x=ao(b.length>1?b({}.NODE_ENV!=="production"?po(f):f,{}.NODE_ENV!=="production"?{get attrs(){return Rr(),po(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):b({}.NODE_ENV!=="production"?po(f):f,null)),m=t.props?i:Jg(i)}}catch(b){xs.length=0,fs(b,o,1),x=Q(fe)}let g=x,y;if({}.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&([g,y]=af(x)),m&&v!==!1){const b=Object.keys(m),{shapeFlag:_}=g;if(b.length){if(_&7)r&&b.some(tr)&&(m=ty(m,r)),g=ro(g,m,!1,!0);else if({}.NODE_ENV!=="production"&&!Bi&&g.type!==fe){const $=Object.keys(i),Y=[],B=[];for(let D=0,ut=$.length;D<ut;D++){const j=$[D];os(j)?tr(j)||Y.push(j[2].toLowerCase()+j.slice(3)):B.push(j)}B.length&&J(`Extraneous non-props attributes (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),Y.length&&J(`Extraneous non-emits event listeners (${Y.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 e.dirs&&({}.NODE_ENV!=="production"&&!lf(g)&&J("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=ro(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!lf(g)&&J("Component inside <Transition> renders non-element root node that cannot be animated."),$n(g,e.transition)),{}.NODE_ENV!=="production"&&y?y(g):x=g,br(k),x}const af=o=>{const t=o.children,e=o.dynamicChildren,n=Yi(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return af(n)}else return[o,void 0];const s=t.indexOf(n),r=e?e.indexOf(n):-1,a=i=>{t[s]=i,e&&(r>-1?e[r]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[ao(n),a]};function Yi(o,t=!0){let e;for(let n=0;n<o.length;n++){const s=o[n];if(Uo(s)){if(s.type!==fe||s.children==="v-if"){if(e)return;if(e=s,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Yi(e.children)}}else return}return e}const Jg=o=>{let t;for(const e in o)(e==="class"||e==="style"||os(e))&&((t||(t={}))[e]=o[e]);return t},ty=(o,t)=>{const e={};for(const n in o)(!tr(n)||!(n.slice(9)in t))&&(e[n]=o[n]);return e},lf=o=>o.shapeFlag&7||o.type===fe;function ey(o,t,e){const{props:n,children:s,component:r}=o,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if({}.NODE_ENV!=="production"&&(s||i)&&go||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?cf(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==n[d]&&!Pr(c,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?cf(n,a,c):!0:!!a;return!1}function cf(o,t,e){const n=Object.keys(t);if(n.length!==Object.keys(o).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==o[r]&&!Pr(e,r))return!0}return!1}function oy({vnode:o,parent:t},e){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===o&&(n.el=o.el),n===o)(o=t.vnode).el=e,t=t.parent;else break}}const Ir=o=>o.__isSuspense;function ny(o,t){t&&t.pendingBranch?_t(o)?t.effects.push(...o):t.effects.push(o):du(o)}const Dt=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),xs=[];let Ye=null;function I(o=!1){xs.push(Ye=o?null:[])}function sy(){xs.pop(),Ye=xs[xs.length-1]||null}let ks=1;function uf(o,t=!1){ks+=o,o<0&&Ye&&t&&(Ye.hasOnce=!0)}function ff(o){return o.dynamicChildren=ks>0?Ye||On:null,sy(),ks>0&&Ye&&Ye.push(o),o}function z(o,t,e,n,s,r){return ff(w(o,t,e,n,s,r,!0))}function ht(o,t,e,n,s){return ff(Q(o,t,e,n,s,!0))}function Uo(o){return o?o.__v_isVNode===!0:!1}function Go(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=yr.get(t.type);if(e&&e.has(o.component))return o.shapeFlag&=-257,t.shapeFlag&=-513,!1}return o.type===t.type&&o.key===t.key}const ry=(...o)=>hf(...o),df=({key:o})=>o??null,Ar=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?se(o)||me(o)||Tt(o)?{i:ge,r:o,k:t,f:!!e}:o:null);function w(o,t=null,e=null,n=0,s=null,r=o===Dt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&df(t),ref:t&&Ar(t),scopeId:xu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ge};return i?(Xi(l,e),r&128&&o.normalize(l)):e&&(l.shapeFlag|=se(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),ks>0&&!a&&Ye&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ye.push(l),l}const Q={}.NODE_ENV!=="production"?ry:hf;function hf(o,t=null,e=null,n=0,s=null,r=!1){if((!o||o===Nu)&&({}.NODE_ENV!=="production"&&!o&&J(`Invalid vnode type when creating vnode: ${o}.`),o=fe),Uo(o)){const i=ro(o,t,!0);return e&&Xi(i,e),ks>0&&!r&&Ye&&(i.shapeFlag&6?Ye[Ye.indexOf(o)]=i:Ye.push(i)),i.patchFlag=-2,i}if(xf(o)&&(o=o.__vccOpts),t){t=ay(t);let{class:i,style:l}=t;i&&!se(i)&&(t.class=jt(i)),Kt(l)&&(cr(l)&&!_t(l)&&(l=ee({},l)),t.style=N(l))}const a=se(o)?1:Ir(o)?128:wu(o)?64:Kt(o)?4:Tt(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&cr(o)&&(o=It(o),J("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`.",`
20
+ Component that was made reactive: `,o)),w(o,t,e,n,s,a,r,!0)}function ay(o){return o?cr(o)||Hu(o)?ee({},o):o:null}function ro(o,t,e=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=o,c=t?Zi(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&df(c),ref:t&&t.ref?e&&r?_t(r)?r.concat(Ar(t)):[r,Ar(t)]:Ar(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&_t(i)?i.map(pf):i,target:o.target,targetStart:o.targetStart,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Dt?a===-1?16:a|16:a,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:l,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&ro(o.ssContent),ssFallback:o.ssFallback&&ro(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&n&&$n(u,l.clone(u)),u}function pf(o){const t=ro(o);return _t(o.children)&&(t.children=o.children.map(pf)),t}function Bt(o=" ",t=0){return Q(bs,null,o,t)}function iy(o,t){const e=Q(_s,null,o);return e.staticCount=t,e}function yt(o="",t=!1){return t?(I(),ht(fe,null,o)):Q(fe,null,o)}function ao(o){return o==null||typeof o=="boolean"?Q(fe):_t(o)?Q(Dt,null,o.slice()):Uo(o)?Ho(o):Q(bs,null,String(o))}function Ho(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:ro(o)}function Xi(o,t){let e=0;const{shapeFlag:n}=o;if(t==null)t=null;else if(_t(t))e=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Xi(o,s()),s._c&&(s._d=!0));return}else{e=32;const s=t._;!s&&!Hu(t)?t._ctx=ge:s===3&&ge&&(ge.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Tt(t)?(t={default:t,_ctx:ge},e=32):(t=String(t),n&64?(e=16,t=[Bt(t)]):e=8);o.children=t,o.shapeFlag|=e}function Zi(...o){const t={};for(let e=0;e<o.length;e++){const n=o[e];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=jt([t.class,n.class]));else if(s==="style")t.style=N([t.style,n.style]);else if(os(s)){const r=t[s],a=n[s];a&&r!==a&&!(_t(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}function je(o,t,e,n=null){no(o,t,7,[e,n])}const ly=Zu();let cy=0;function uy(o,t,e){const n=o.type,s=(t?t.appContext:o.appContext)||ly,r={uid:cy++,vnode:o,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new l0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wu(n,s),emitsOptions:rf(n,s),emit:null,emitted:null,propsDefaults:qt,inheritAttrs:n.inheritAttrs,ctx:qt,data:qt,props:qt,attrs:qt,slots:qt,refs:qt,setupState:qt,setupContext:null,suspense:e,suspenseId:e?e.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"?r.ctx=yg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Qg.bind(null,r),o.ce&&o.ce(r),r}let xe=null;const jo=()=>xe||ge;let $r,Ui;{const o=rs(),t=(e,n)=>{let s;return(s=o[e])||(s=o[e]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};$r=t("__VUE_INSTANCE_SETTERS__",e=>xe=e),Ui=t("__VUE_SSR_SETTERS__",e=>Cs=e)}const ws=o=>{const t=xe;return $r(o),o.scope.on(),()=>{o.scope.off(),$r(t)}},mf=()=>{xe&&xe.scope.off(),$r(null)},fy=wo("slot,component");function Gi(o,{isNativeTag:t}){(fy(o)||t(o))&&J("Do not use built-in or reserved HTML elements as component id: "+o)}function gf(o){return o.vnode.shapeFlag&4}let Cs=!1;function dy(o,t=!1,e=!1){t&&Ui(t);const{props:n,children:s}=o.vnode,r=gf(o);Rg(o,n,r,t),Vg(o,s,e);const a=r?hy(o,t):void 0;return t&&Ui(!1),a}function hy(o,t){var e;const n=o.type;if({}.NODE_ENV!=="production"){if(n.name&&Gi(n.name,o.appContext.config),n.components){const r=Object.keys(n.components);for(let a=0;a<r.length;a++)Gi(r[a],o.appContext.config)}if(n.directives){const r=Object.keys(n.directives);for(let a=0;a<r.length;a++)ku(r[a])}n.compilerOptions&&py()&&J('"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.')}o.accessCache=Object.create(null),o.proxy=new Proxy(o.ctx,Mu),{}.NODE_ENV!=="production"&&vg(o);const{setup:s}=n;if(s){To();const r=o.setupContext=s.length>1?_f(o):null,a=ws(o),i=Rn(s,o,0,[{}.NODE_ENV!=="production"?po(o.props):o.props,r]),l=ti(i);if(Eo(),a(),(l||o.sp)&&!yn(o)&&Ru(o),l){if(i.then(mf,mf),t)return i.then(c=>{yf(o,c,t)}).catch(c=>{fs(c,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const c=(e=n.name)!=null?e:"Anonymous";J(`Component <${c}>: 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 yf(o,i,t)}else vf(o,t)}function yf(o,t,e){Tt(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Kt(t)?({}.NODE_ENV!=="production"&&Uo(t)&&J("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=lu(t),{}.NODE_ENV!=="production"&&bg(o)):{}.NODE_ENV!=="production"&&t!==void 0&&J(`setup() should return an object. Received: ${t===null?"null":typeof t}`),vf(o,e)}let Hi;const py=()=>!Hi;function vf(o,t,e){const n=o.type;if(!o.render){if(!t&&Hi&&!n.render){const s=n.template||$i(o).template;if(s){({}).NODE_ENV!=="production"&&Io(o,"compile");const{isCustomElement:r,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=n,c=ee(ee({isCustomElement:r,delimiters:i},a),l);n.render=Hi(s,c),{}.NODE_ENV!=="production"&&Ao(o,"compile")}}o.render=n.render||be}{const s=ws(o);To();try{wg(o)}finally{Eo(),s()}}({}).NODE_ENV!=="production"&&!n.render&&o.render===be&&!t&&(n.template?J('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".'):J("Component is missing template or render function: ",n))}const bf={}.NODE_ENV!=="production"?{get(o,t){return Rr(),_e(o,"get",""),o[t]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}}:{get(o,t){return _e(o,"get",""),o[t]}};function my(o){return new Proxy(o.slots,{get(t,e){return _e(o,"get","$slots"),t[e]}})}function _f(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&J("expose() should be called only once per setup()."),e!=null)){let n=typeof e;n==="object"&&(_t(e)?n="array":me(e)&&(n="ref")),n!=="object"&&J(`expose() should be passed a plain object, received ${n}.`)}o.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,n;return Object.freeze({get attrs(){return e||(e=new Proxy(o.attrs,bf))},get slots(){return n||(n=my(o))},get emit(){return(s,...r)=>o.emit(s,...r)},expose:t})}else return{attrs:new Proxy(o.attrs,bf),slots:o.slots,emit:o.emit,expose:t}}function Nr(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(lu(O0(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in vn)return vn[e](o)},has(t,e){return e in t||e in vn}})):o.proxy}const gy=/(?:^|[-_])(\w)/g,yy=o=>o.replace(gy,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ts(o,t=!0){return Tt(o)?o.displayName||o.name:o.name||t&&o.__name}function Fr(o,t,e=!1){let n=Ts(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&o&&o.parent){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(o.components||o.parent.type.components)||s(o.appContext.components)}return n?yy(n):e?"App":"Anonymous"}function xf(o){return Tt(o)&&"__vccOpts"in o}const de=(o,t)=>{const e=$0(o,t,Cs);if({}.NODE_ENV!=="production"){const n=jo();n&&n.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Ut(o,t,e){const n=arguments.length;return n===2?Kt(t)&&!_t(t)?Uo(t)?Q(o,null,[t]):Q(o,t):Q(o,null,t):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&Uo(e)&&(e=[e]),Q(o,t,e))}function vy(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(f){return Kt(f)?f.__isVue?["div",o,"VueInstance"]:me(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:dn(f)?["div",{},["span",o,Ae(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Oo(f)?" (readonly)":""}`]:Oo(f)?["div",{},["span",o,Ae(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(a("props",It(f.props))),f.setupState!==qt&&d.push(a("setup",f.setupState)),f.data!==qt&&d.push(a("data",It(f.data)));const h=l(f,"computed");h&&d.push(a("computed",h));const p=l(f,"inject");return p&&d.push(a("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=ee({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],i(d[h],!1)])]]:["span",{}]}function i(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",e,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Kt(f)?["object",{object:d?It(f):f}]:["span",e,String(f)]}function l(f,d){const h=f.type;if(Tt(h))return;const p={};for(const v in f.ctx)c(h,v,d)&&(p[v]=f.ctx[v]);return p}function c(f,d,h){const p=f[h];if(_t(p)&&p.includes(d)||Kt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(v=>c(v,d,h)))return!0}function u(f){return Ae(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const kf="3.5.13",Le={}.NODE_ENV!=="production"?J:be;/**
21
21
  * @vue/runtime-dom v3.5.13
22
22
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
23
23
  * @license MIT
24
- **/let Ii;const Wu=typeof window<"u"&&window.trustedTypes;if(Wu)try{Ii=Wu.createPolicy("vue",{createHTML:e=>e})}catch(e){({}).NODE_ENV!=="production"&&Me(`Error creating trusted types policy: ${e}`)}const qu=Ii?e=>Ii.createHTML(e):e=>e,Ng="http://www.w3.org/2000/svg",Dg="http://www.w3.org/1998/Math/MathML",Ao=typeof document<"u"?document:null,Ku=Ao&&Ao.createElement("template"),Fg={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const r=t==="svg"?Ao.createElementNS(Ng,e):t==="mathml"?Ao.createElementNS(Dg,e):o?Ao.createElement(e,{is:o}):Ao.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ao.createTextNode(e),createComment:e=>Ao.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ao.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,r,a){const s=o?o.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),o),!(r===a||!(r=r.nextSibling)););else{Ku.innerHTML=qu(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Ku.content;if(n==="svg"||n==="mathml"){const i=l.firstChild;for(;i.firstChild;)l.appendChild(i.firstChild);l.removeChild(i)}t.insertBefore(l,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Ho="transition",_r="animation",xr=Symbol("_vtc"),Qu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Lg=Jt({},qc,Qu),Ju=(e=>(e.displayName="Transition",e.props=Lg,e))((e,{slots:t})=>Xt(_0,zg(e),t)),bn=(e,t=[])=>{_t(e)?e.forEach(o=>o(...t)):e&&e(...t)},tf=e=>e?_t(e)?e.some(t=>t.length>1):e.length>1:!1;function zg(e){const t={};for(const K in e)K in Qu||(t[K]=e[K]);if(e.css===!1)return t;const{name:o="v",type:n,duration:r,enterFromClass:a=`${o}-enter-from`,enterActiveClass:s=`${o}-enter-active`,enterToClass:l=`${o}-enter-to`,appearFromClass:i=a,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${o}-leave-from`,leaveActiveClass:d=`${o}-leave-active`,leaveToClass:h=`${o}-leave-to`}=e,p=Mg(r),w=p&&p[0],x=p&&p[1],{onBeforeEnter:v,onEnter:g,onEnterCancelled:y,onLeave:m,onLeaveCancelled:_,onBeforeAppear:C=v,onAppear:M=g,onAppearCancelled:X=y}=t,G=(K,lt,gt,wt)=>{K._enterCancelled=wt,_n(K,lt?u:l),_n(K,lt?c:s),gt&&gt()},V=(K,lt)=>{K._isLeaving=!1,_n(K,f),_n(K,h),_n(K,d),lt&&lt()},pt=K=>(lt,gt)=>{const wt=K?M:g,Mt=()=>G(lt,K,gt);bn(wt,[lt,Mt]),ef(()=>{_n(lt,K?i:a),$o(lt,K?u:l),tf(wt)||of(lt,n,w,Mt)})};return Jt(t,{onBeforeEnter(K){bn(v,[K]),$o(K,a),$o(K,s)},onBeforeAppear(K){bn(C,[K]),$o(K,i),$o(K,c)},onEnter:pt(!1),onAppear:pt(!0),onLeave(K,lt){K._isLeaving=!0;const gt=()=>V(K,lt);$o(K,f),K._enterCancelled?($o(K,d),af()):(af(),$o(K,d)),ef(()=>{K._isLeaving&&(_n(K,f),$o(K,h),tf(m)||of(K,n,x,gt))}),bn(m,[K,gt])},onEnterCancelled(K){G(K,!1,void 0,!0),bn(y,[K])},onAppearCancelled(K){G(K,!0,void 0,!0),bn(X,[K])},onLeaveCancelled(K){V(K),bn(_,[K])}})}function Mg(e){if(e==null)return null;if(Wt(e))return[Ai(e.enter),Ai(e.leave)];{const t=Ai(e);return[t,t]}}function Ai(e){const t=Bs(e);return{}.NODE_ENV!=="production"&&e0(t,"<transition> explicit duration"),t}function $o(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[xr]||(e[xr]=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const o=e[xr];o&&(o.delete(t),o.size||(e[xr]=void 0))}function ef(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Bg=0;function of(e,t,o,n){const r=e._endId=++Bg,a=()=>{r===e._endId&&n()};if(o!=null)return setTimeout(a,o);const{type:s,timeout:l,propCount:i}=Yg(e,t);if(!s)return n();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),a()},d=h=>{h.target===e&&++u>=i&&f()};setTimeout(()=>{u<i&&f()},l+1),e.addEventListener(c,d)}function Yg(e,t){const o=window.getComputedStyle(e),n=p=>(o[p]||"").split(", "),r=n(`${Ho}Delay`),a=n(`${Ho}Duration`),s=nf(r,a),l=n(`${_r}Delay`),i=n(`${_r}Duration`),c=nf(l,i);let u=null,f=0,d=0;t===Ho?s>0&&(u=Ho,f=s,d=a.length):t===_r?c>0&&(u=_r,f=c,d=i.length):(f=Math.max(s,c),u=f>0?s>c?Ho:_r:null,d=u?u===Ho?a.length:i.length:0);const h=u===Ho&&/\b(transform|all)(,|$)/.test(n(`${Ho}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function nf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,n)=>rf(o)+rf(e[n])))}function rf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function af(){return document.body.offsetHeight}function Vg(e,t,o){const n=e[xr];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Oa=Symbol("_vod"),sf=Symbol("_vsh"),lf={beforeMount(e,{value:t},{transition:o}){e[Oa]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):kr(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),kr(e,!0),n.enter(e)):n.leave(e,()=>{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};({}).NODE_ENV!=="production"&&(lf.name="show");function kr(e,t){e.style.display=t?e[Oa]:"none",e[sf]=!t}const Xg=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Zg=/(^|;)\s*display\s*:/;function Gg(e,t,o){const n=e.style,r=ee(o);let a=!1;if(o&&!r){if(t)if(ee(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();o[l]==null&&Pa(n,l,"")}else for(const s in t)o[s]==null&&Pa(n,s,"");for(const s in o)s==="display"&&(a=!0),Pa(n,s,o[s])}else if(r){if(t!==o){const s=n[Xg];s&&(o+=";"+s),n.cssText=o,a=Zg.test(o)}}else t&&e.removeAttribute("style");Oa in e&&(e[Oa]=a?n.display:"",e[sf]&&(n.display="none"))}const Ug=/[^\\];\s*$/,cf=/\s*!important$/;function Pa(e,t,o){if(_t(o))o.forEach(n=>Pa(e,t,n));else if(o==null&&(o=""),{}.NODE_ENV!=="production"&&Ug.test(o)&&Me(`Unexpected semicolon at the end of '${t}' style value: '${o}'`),t.startsWith("--"))e.setProperty(t,o);else{const n=jg(e,t);cf.test(o)?e.setProperty(Ye(n),o.replace(cf,""),"important"):e[n]=o}}const uf=["Webkit","Moz","ms"],$i={};function jg(e,t){const o=$i[t];if(o)return o;let n=be(t);if(n!=="filter"&&n in e)return $i[t]=n;n=sn(n);for(let r=0;r<uf.length;r++){const a=uf[r]+n;if(a in e)return $i[t]=a}return t}const ff="http://www.w3.org/1999/xlink";function df(e,t,o,n,r,a=km(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(ff,t.slice(6,t.length)):e.setAttributeNS(ff,t,o):o==null||a&&!cc(o)?e.removeAttribute(t):e.setAttribute(t,a?"":wo(o)?String(o):o)}function pf(e,t,o,n,r){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?qu(o):o);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const l=a==="OPTION"?e.getAttribute("value")||"":e.value,i=o==null?e.type==="checkbox"?"on":"":String(o);(l!==i||!("_value"in e))&&(e.value=i),o==null&&e.removeAttribute(t),e._value=o;return}let s=!1;if(o===""||o==null){const l=typeof e[t];l==="boolean"?o=cc(o):o==null&&l==="string"?(o="",s=!0):l==="number"&&(o=0,s=!0)}try{e[t]=o}catch(l){({}).NODE_ENV!=="production"&&!s&&Me(`Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${o} is invalid.`,l)}s&&e.removeAttribute(r||t)}function Hg(e,t,o,n){e.addEventListener(t,o,n)}function Wg(e,t,o,n){e.removeEventListener(t,o,n)}const hf=Symbol("_vei");function qg(e,t,o,n,r=null){const a=e[hf]||(e[hf]={}),s=a[t];if(n&&s)s.value={}.NODE_ENV!=="production"?gf(n,t):n;else{const[l,i]=Kg(t);if(n){const c=a[t]=ty({}.NODE_ENV!=="production"?gf(n,t):n,r);Hg(e,l,c,i)}else s&&(Wg(e,l,s,i),a[t]=void 0)}}const mf=/(?:Once|Passive|Capture)$/;function Kg(e){let t;if(mf.test(e)){t={};let n;for(;n=e.match(mf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ye(e.slice(2)),t]}let Ni=0;const Qg=Promise.resolve(),Jg=()=>Ni||(Qg.then(()=>Ni=0),Ni=Date.now());function ty(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;eo(ey(n,o.value),t,5,[n])};return o.value=e,o.attached=Jg(),o}function gf(e,t){return Tt(e)||_t(e)?e:(Me(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
25
- Expected function or array of functions, received type ${typeof e}.`),ge)}function ey(e,t){if(_t(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const yf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oy=(e,t,o,n,r,a)=>{const s=r==="svg";t==="class"?Vg(e,n,s):t==="style"?Gg(e,o,n):qn(t)?Ur(t)||qg(e,t,o,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ny(e,t,n,s))?(pf(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&df(e,t,n,s,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ee(n))?pf(e,be(t),n,a,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),df(e,t,n,s))};function ny(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&yf(t)&&Tt(o));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 yf(t)&&ee(o)?!1:t in e}const vf={};/*! #__NO_SIDE_EFFECTS__ */function ry(e,t,o){const n=Y(e,t);jr(n)&&Jt(n,t);class r extends Di{constructor(s){super(n,s,o)}}return r.def=n,r}const ay=typeof HTMLElement<"u"?HTMLElement:class{};class Di extends ay{constructor(t,o={},n=Fi){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Fi?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&Me("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Di){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,ia(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const r of n)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:s}=n;let l;if(a&&!_t(a))for(const i in a){const c=a[i];(c===Number||c&&c.type===Number)&&(i in this._props&&(this._props[i]=Bs(this._props[i])),(l||(l=Object.create(null)))[be(i)]=!0)}this._numberProps=l,r&&this._resolveProps(n),this.shadowRoot?this._applyStyles(s):{}.NODE_ENV!=="production"&&s&&Me("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){({}).NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Yt(this,n)?{}.NODE_ENV!=="production"&&Me(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>vt(o[n])})}_resolveProps(t){const{props:o}=t,n=_t(o)?o:Object.keys(o||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(be))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(a){this._setProp(r,a,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):vf;const r=be(t);o&&this._numberProps&&this._numberProps[r]&&(n=Bs(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,r=!1){if(o!==this._props[t]&&(o===vf?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),r&&this._instance&&this._update(),n)){const a=this._ob;a&&a.disconnect(),o===!0?this.setAttribute(Ye(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Ye(t),o+""):o||this.removeAttribute(Ye(t)),a&&a.observe(this,{attributes:!0})}}_update(){Ra(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=J(this._def,Jt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=a=>{this._styles&&(this._styles.forEach(s=>this._root.removeChild(s)),this._styles.length=0),this._applyStyles(a),this._instance=null,this._update()});const r=(a,s)=>{this.dispatchEvent(new CustomEvent(a,jr(s[0])?Jt({detail:s},s[0]):{detail:s}))};n.emit=(a,...s)=>{r(a,s),Ye(a)!==a&&r(Ye(a),s)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const n=this._nonce;for(let r=t.length-1;r>=0;r--){const a=document.createElement("style");if(n&&a.setAttribute("nonce",n),a.textContent=t[r],this.shadowRoot.prepend(a),{}.NODE_ENV!=="production")if(o){if(o.__hmrId){this._childStyles||(this._childStyles=new Map);let s=this._childStyles.get(o.__hmrId);s||this._childStyles.set(o.__hmrId,s=[]),s.push(a)}}else(this._styles||(this._styles=[])).push(a)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const r=t[n],a=r.getAttribute("name")||"default",s=this._slots[a],l=r.parentNode;if(s)for(const i of s){if(o&&i.nodeType===1){const c=o+"-s",u=document.createTreeWalker(i,1);i.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(i,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const o=this._childStyles.get(t.__hmrId);o&&(o.forEach(n=>this._root.removeChild(n)),o.length=0)}}}function bf(e){const t=jo(),o=t&&t.ce;return o||({}.NODE_ENV!=="production"&&Me(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function sy(){const e={}.NODE_ENV!=="production"?bf("useShadowRoot"):bf();return e&&e.shadowRoot}const iy=Jt({patchProp:oy},Fg);let _f;function xf(){return _f||(_f=ag(iy))}const Ra=(...e)=>{xf().render(...e)},Fi=(...e)=>{const t=xf().createApp(...e);({}).NODE_ENV!=="production"&&(cy(t),uy(t));const{mount:o}=t;return t.mount=n=>{const r=fy(n);if(!r)return;const a=t._component;!Tt(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=o(r,!1,ly(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function ly(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cy(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>bm(t)||_m(t)||xm(t),writable:!1})}function uy(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Me("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const o=e.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Me(n),o},set(){Me(n)}})}}function fy(e){if(ee(e)){const t=document.querySelector(e);return{}.NODE_ENV!=="production"&&!t&&Me(`Failed to mount app: mount target selector "${e}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Me('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}/**
24
+ **/let ji;const wf=typeof window<"u"&&window.trustedTypes;if(wf)try{ji=wf.createPolicy("vue",{createHTML:o=>o})}catch(o){({}).NODE_ENV!=="production"&&Le(`Error creating trusted types policy: ${o}`)}const Cf=ji?o=>ji.createHTML(o):o=>o,by="http://www.w3.org/2000/svg",_y="http://www.w3.org/1998/Math/MathML",$o=typeof document<"u"?document:null,Tf=$o&&$o.createElement("template"),xy={insert:(o,t,e)=>{t.insertBefore(o,e||null)},remove:o=>{const t=o.parentNode;t&&t.removeChild(o)},createElement:(o,t,e,n)=>{const s=t==="svg"?$o.createElementNS(by,o):t==="mathml"?$o.createElementNS(_y,o):e?$o.createElement(o,{is:e}):$o.createElement(o);return o==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:o=>$o.createTextNode(o),createComment:o=>$o.createComment(o),setText:(o,t)=>{o.nodeValue=t},setElementText:(o,t)=>{o.textContent=t},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>$o.querySelector(o),setScopeId(o,t){o.setAttribute(t,"")},insertStaticContent(o,t,e,n,s,r){const a=e?e.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),e),!(s===r||!(s=s.nextSibling)););else{Tf.innerHTML=Cf(n==="svg"?`<svg>${o}</svg>`:n==="mathml"?`<math>${o}</math>`:o);const i=Tf.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},Wo="transition",Es="animation",Ss=Symbol("_vtc"),Ef={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ky=ee({},Cu,Ef),Sf=(o=>(o.displayName="Transition",o.props=ky,o))((o,{slots:t})=>Ut(rg,wy(o),t)),_n=(o,t=[])=>{_t(o)?o.forEach(e=>e(...t)):o&&o(...t)},Of=o=>o?_t(o)?o.some(t=>t.length>1):o.length>1:!1;function wy(o){const t={};for(const j in o)j in Ef||(t[j]=o[j]);if(o.css===!1)return t;const{name:e="v",type:n,duration:s,enterFromClass:r=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:i=`${e}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=o,p=Cy(s),v=p&&p[0],k=p&&p[1],{onBeforeEnter:x,onEnter:m,onEnterCancelled:g,onLeave:y,onLeaveCancelled:b,onBeforeAppear:_=x,onAppear:$=m,onAppearCancelled:Y=g}=t,B=(j,tt,vt,St)=>{j._enterCancelled=St,xn(j,tt?u:i),xn(j,tt?c:a),vt&&vt()},D=(j,tt)=>{j._isLeaving=!1,xn(j,f),xn(j,h),xn(j,d),tt&&tt()},ut=j=>(tt,vt)=>{const St=j?$:m,$t=()=>B(tt,j,vt);_n(St,[tt,$t]),Pf(()=>{xn(tt,j?l:r),No(tt,j?u:i),Of(St)||Rf(tt,n,v,$t)})};return ee(t,{onBeforeEnter(j){_n(x,[j]),No(j,r),No(j,a)},onBeforeAppear(j){_n(_,[j]),No(j,l),No(j,c)},onEnter:ut(!1),onAppear:ut(!0),onLeave(j,tt){j._isLeaving=!0;const vt=()=>D(j,tt);No(j,f),j._enterCancelled?(No(j,d),$f()):($f(),No(j,d)),Pf(()=>{j._isLeaving&&(xn(j,f),No(j,h),Of(y)||Rf(j,n,k,vt))}),_n(y,[j,vt])},onEnterCancelled(j){B(j,!1,void 0,!0),_n(g,[j])},onAppearCancelled(j){B(j,!0,void 0,!0),_n(Y,[j])},onLeaveCancelled(j){D(j),_n(b,[j])}})}function Cy(o){if(o==null)return null;if(Kt(o))return[Wi(o.enter),Wi(o.leave)];{const t=Wi(o);return[t,t]}}function Wi(o){const t=ni(o);return{}.NODE_ENV!=="production"&&B0(t,"<transition> explicit duration"),t}function No(o,t){t.split(/\s+/).forEach(e=>e&&o.classList.add(e)),(o[Ss]||(o[Ss]=new Set)).add(t)}function xn(o,t){t.split(/\s+/).forEach(n=>n&&o.classList.remove(n));const e=o[Ss];e&&(e.delete(t),e.size||(o[Ss]=void 0))}function Pf(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let Ty=0;function Rf(o,t,e,n){const s=o._endId=++Ty,r=()=>{s===o._endId&&n()};if(e!=null)return setTimeout(r,e);const{type:a,timeout:i,propCount:l}=Ey(o,t);if(!a)return n();const c=a+"end";let u=0;const f=()=>{o.removeEventListener(c,d),r()},d=h=>{h.target===o&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},i+1),o.addEventListener(c,d)}function Ey(o,t){const e=window.getComputedStyle(o),n=p=>(e[p]||"").split(", "),s=n(`${Wo}Delay`),r=n(`${Wo}Duration`),a=If(s,r),i=n(`${Es}Delay`),l=n(`${Es}Duration`),c=If(i,l);let u=null,f=0,d=0;t===Wo?a>0&&(u=Wo,f=a,d=r.length):t===Es?c>0&&(u=Es,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?Wo:Es:null,d=u?u===Wo?r.length:l.length:0);const h=u===Wo&&/\b(transform|all)(,|$)/.test(n(`${Wo}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function If(o,t){for(;o.length<t.length;)o=o.concat(o);return Math.max(...t.map((e,n)=>Af(e)+Af(o[n])))}function Af(o){return o==="auto"?0:Number(o.slice(0,-1).replace(",","."))*1e3}function $f(){return document.body.offsetHeight}function Sy(o,t,e){const n=o[Ss];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?o.removeAttribute("class"):e?o.setAttribute("class",t):o.className=t}const zr=Symbol("_vod"),Nf=Symbol("_vsh"),Ff={beforeMount(o,{value:t},{transition:e}){o[zr]=o.style.display==="none"?"":o.style.display,e&&t?e.beforeEnter(o):Os(o,t)},mounted(o,{value:t},{transition:e}){e&&t&&e.enter(o)},updated(o,{value:t,oldValue:e},{transition:n}){!t!=!e&&(n?t?(n.beforeEnter(o),Os(o,!0),n.enter(o)):n.leave(o,()=>{Os(o,!1)}):Os(o,t))},beforeUnmount(o,{value:t}){Os(o,t)}};({}).NODE_ENV!=="production"&&(Ff.name="show");function Os(o,t){o.style.display=t?o[zr]:"none",o[Nf]=!t}const Oy=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Py=/(^|;)\s*display\s*:/;function Ry(o,t,e){const n=o.style,s=se(e);let r=!1;if(e&&!s){if(t)if(se(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&Dr(n,i,"")}else for(const a in t)e[a]==null&&Dr(n,a,"");for(const a in e)a==="display"&&(r=!0),Dr(n,a,e[a])}else if(s){if(t!==e){const a=n[Oy];a&&(e+=";"+a),n.cssText=e,r=Py.test(e)}}else t&&o.removeAttribute("style");zr in o&&(o[zr]=r?n.display:"",o[Nf]&&(n.display="none"))}const Iy=/[^\\];\s*$/,zf=/\s*!important$/;function Dr(o,t,e){if(_t(e))e.forEach(n=>Dr(o,t,n));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&Iy.test(e)&&Le(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))o.setProperty(t,e);else{const n=Ay(o,t);zf.test(e)?o.setProperty(Be(n),e.replace(zf,""),"important"):o[n]=e}}const Df=["Webkit","Moz","ms"],qi={};function Ay(o,t){const e=qi[t];if(e)return e;let n=ke(t);if(n!=="filter"&&n in o)return qi[t]=n;n=ln(n);for(let s=0;s<Df.length;s++){const r=Df[s]+n;if(r in o)return qi[t]=r}return t}const Mf="http://www.w3.org/1999/xlink";function Lf(o,t,e,n,s,r=i0(t)){n&&t.startsWith("xlink:")?e==null?o.removeAttributeNS(Mf,t.slice(6,t.length)):o.setAttributeNS(Mf,t,e):e==null||r&&!Dc(e)?o.removeAttribute(t):o.setAttribute(t,r?"":Co(e)?String(e):e)}function Bf(o,t,e,n,s){if(t==="innerHTML"||t==="textContent"){e!=null&&(o[t]=t==="innerHTML"?Cf(e):e);return}const r=o.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?o.getAttribute("value")||"":o.value,l=e==null?o.type==="checkbox"?"on":"":String(e);(i!==l||!("_value"in o))&&(o.value=l),e==null&&o.removeAttribute(t),o._value=e;return}let a=!1;if(e===""||e==null){const i=typeof o[t];i==="boolean"?e=Dc(e):e==null&&i==="string"?(e="",a=!0):i==="number"&&(e=0,a=!0)}try{o[t]=e}catch(i){({}).NODE_ENV!=="production"&&!a&&Le(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${e} is invalid.`,i)}a&&o.removeAttribute(s||t)}function $y(o,t,e,n){o.addEventListener(t,e,n)}function Ny(o,t,e,n){o.removeEventListener(t,e,n)}const Vf=Symbol("_vei");function Fy(o,t,e,n,s=null){const r=o[Vf]||(o[Vf]={}),a=r[t];if(n&&a)a.value={}.NODE_ENV!=="production"?Xf(n,t):n;else{const[i,l]=zy(t);if(n){const c=r[t]=Ly({}.NODE_ENV!=="production"?Xf(n,t):n,s);$y(o,i,c,l)}else a&&(Ny(o,i,a,l),r[t]=void 0)}}const Yf=/(?:Once|Passive|Capture)$/;function zy(o){let t;if(Yf.test(o)){t={};let n;for(;n=o.match(Yf);)o=o.slice(0,o.length-n[0].length),t[n[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):Be(o.slice(2)),t]}let Ki=0;const Dy=Promise.resolve(),My=()=>Ki||(Dy.then(()=>Ki=0),Ki=Date.now());function Ly(o,t){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;no(By(n,e.value),t,5,[n])};return e.value=o,e.attached=My(),e}function Xf(o,t){return Tt(o)||_t(o)?o:(Le(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
25
+ Expected function or array of functions, received type ${typeof o}.`),be)}function By(o,t){if(_t(t)){const e=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{e.call(o),o._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Zf=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,Vy=(o,t,e,n,s,r)=>{const a=s==="svg";t==="class"?Sy(o,n,a):t==="style"?Ry(o,e,n):os(t)?tr(t)||Fy(o,t,e,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yy(o,t,n,a))?(Bf(o,t,n),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lf(o,t,n,a,r,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!se(n))?Bf(o,ke(t),n,r,t):(t==="true-value"?o._trueValue=n:t==="false-value"&&(o._falseValue=n),Lf(o,t,n,a))};function Yy(o,t,e,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in o&&Zf(t)&&Tt(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&o.tagName==="INPUT"||t==="type"&&o.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=o.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Zf(t)&&se(e)?!1:t in o}const Uf={};/*! #__NO_SIDE_EFFECTS__ */function Xy(o,t,e){const n=X(o,t);er(n)&&ee(n,t);class s extends Qi{constructor(a){super(n,a,e)}}return s.def=n,s}const Zy=typeof HTMLElement<"u"?HTMLElement:class{};class Qi extends Zy{constructor(t,e={},n=Ji){super(),this._def=t,this._props=e,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Ji?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&Le("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Qi){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,mr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const s of n)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!_t(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ni(this._props[l])),(i||(i=Object.create(null)))[ke(l)]=!0)}this._numberProps=i,s&&this._resolveProps(n),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&Le("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){({}).NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const n in e)Lt(this,n)?{}.NODE_ENV!=="production"&&Le(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>Ot(e[n])})}_resolveProps(t){const{props:e}=t,n=_t(e)?e:Object.keys(e||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(ke))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let n=e?this.getAttribute(t):Uf;const s=ke(t);e&&this._numberProps&&this._numberProps[s]&&(n=ni(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,n=!0,s=!1){if(e!==this._props[t]&&(e===Uf?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&r.disconnect(),e===!0?this.setAttribute(Be(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(Be(t),e+""):e||this.removeAttribute(Be(t)),r&&r.observe(this,{attributes:!0})}}_update(){Mr(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=Q(this._def,ee(t,this._props));return this._instance||(e.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,er(a[0])?ee({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),Be(r)!==r&&s(Be(r),a)},this._setParent()}),e}_applyStyles(t,e){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),{}.NODE_ENV!=="production")if(e){if(e.__hmrId){this._childStyles||(this._childStyles=new Map);let a=this._childStyles.get(e.__hmrId);a||this._childStyles.set(e.__hmrId,a=[]),a.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const n=e.nodeType===1&&e.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(e&&l.nodeType===1){const c=e+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const e=this._childStyles.get(t.__hmrId);e&&(e.forEach(n=>this._root.removeChild(n)),e.length=0)}}}function Gf(o){const t=jo(),e=t&&t.ce;return e||({}.NODE_ENV!=="production"&&Le(t?`${o||"useHost"} can only be used in components defined via defineCustomElement.`:`${o||"useHost"} called without an active component instance.`),null)}function Uy(){const o={}.NODE_ENV!=="production"?Gf("useShadowRoot"):Gf();return o&&o.shadowRoot}const Gy=ee({patchProp:Vy},xy);let Hf;function jf(){return Hf||(Hf=Zg(Gy))}const Mr=(...o)=>{jf().render(...o)},Ji=(...o)=>{const t=jf().createApp(...o);({}).NODE_ENV!=="production"&&(jy(t),Wy(t));const{mount:e}=t;return t.mount=n=>{const s=qy(n);if(!s)return;const r=t._component;!Tt(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=e(s,!1,Hy(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function Hy(o){if(o instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&o instanceof MathMLElement)return"mathml"}function jy(o){Object.defineProperty(o.config,"isNativeTag",{value:t=>s0(t)||r0(t)||a0(t),writable:!1})}function Wy(o){{const t=o.config.isCustomElement;Object.defineProperty(o.config,"isCustomElement",{get(){return t},set(){Le("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const e=o.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(o.config,"compilerOptions",{get(){return Le(n),e},set(){Le(n)}})}}function qy(o){if(se(o)){const t=document.querySelector(o);return{}.NODE_ENV!=="production"&&!t&&Le(`Failed to mount app: mount target selector "${o}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&o instanceof window.ShadowRoot&&o.mode==="closed"&&Le('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),o}/**
26
26
  * vue v3.5.13
27
27
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28
28
  * @license MIT
29
- **/function dy(){$g()}({}).NODE_ENV!=="production"&&dy();function kf(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const Ia=e=>{let t=null;switch(e){case"any-character":t=/[^]/;break;case"bin":t=/^(0b)?[0-1]+$/i;break;case"oct":t=/^(0o)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"ascii":t=/^[\x00-\xFF]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"number-single":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/i;break;case"split":t=/\s*,\s*/gi;break;case"trim":t=/^\s+|\s+$/g;break;case"regexp":t=/[\\^$.*+?()[\]{}|]/g;break;case"regexp-flags":t=/\w*$/;break;case"native-method":t=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(Ia("regexp"),"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");break;case"svg-segment":t=/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi;break;case"mobile-china":t=/^\+?[1-9]{1}[0-9]{10}$/g;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+\@[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"url":t=/^http[s]?:\/\/([\w-]+\.)+[\w-]+([\w-./?%&=]*)?$/;break;case"element-url":t=/^url\(['"]?(.+?)['"]?\)$/i;break;case"date":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})$/;break;case"time":t=/^(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"datetime":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})$/;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"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"color":t=/^\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;break;case"whitespace":t=/[\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]/g;break;case"commaSpaces":t=/[\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]*/;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"bezier":t=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
29
+ **/function Ky(){vy()}({}).NODE_ENV!=="production"&&Ky();function Wf(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const Lr=o=>{let t=null;switch(o){case"any-character":t=/[^]/;break;case"bin":t=/^(0b)?[0-1]+$/i;break;case"oct":t=/^(0o)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"ascii":t=/^[\x00-\xFF]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"number-single":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/i;break;case"split":t=/\s*,\s*/gi;break;case"trim":t=/^\s+|\s+$/g;break;case"regexp":t=/[\\^$.*+?()[\]{}|]/g;break;case"regexp-flags":t=/\w*$/;break;case"native-method":t=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(Lr("regexp"),"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");break;case"svg-segment":t=/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi;break;case"mobile-china":t=/^\+?[1-9]{1}[0-9]{10}$/g;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+\@[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"url":t=/^http[s]?:\/\/([\w-]+\.)+[\w-]+([\w-./?%&=]*)?$/;break;case"element-url":t=/^url\(['"]?(.+?)['"]?\)$/i;break;case"date":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})$/;break;case"time":t=/^(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"datetime":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})$/;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"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"color":t=/^\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;break;case"whitespace":t=/[\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]/g;break;case"commaSpaces":t=/[\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]*/;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"bezier":t=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
30
30
  [\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
31
31
  |[\u{4E00}-\u{9FCC}]
32
32
  |[\u{3400}-\u{4DB5}]
@@ -35,9 +35,13 @@ Expected function or array of functions, received type ${typeof e}.`),ge)}functi
35
35
  |[\u{2B740}-\u{2B81D}]
36
36
  |[\u{2B820}-\u{2CEAF}]
37
37
  |[\u{2CEB0}-\u{2EBEF}]
38
- `.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},py=(e,t)=>(typeof e=="string"&&(e=Ia(e)||new RegExp(e)),e.test(t)),wf=(e,t)=>{typeof e=="string"&&(e=Ia(e)||new RegExp(e));const o=t.match(e);return o?e.flags.toLowerCase().indexOf("g")>=0?o.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof o.index=="number"?o.index:-1,fullMatch:o[0],groupMatchs:o.slice(1)}:null},Cf=(e,t)=>{typeof e=="string"&&(e=Ia(e)||new RegExp(e));const o=[],n=t.matchAll(e);for(const r of n)o.push({matchIndex:typeof r.index=="number"?r.index:-1,fullMatch:r[0],groupMatchs:r.slice(1)});return o};function Dn(e=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",o=t.length;let n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*o)];return n}function hy(e){return e.replace(/(^\w)/g,t=>t.toLowerCase())}const No=(e,t="-")=>{let o=e.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return o=o.replace(new RegExp(`^${t}`),""),o};function my(e){return e.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function gy(e){return hy(my(e))}const Li=(e,t="")=>(e=e.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),e),yy="[object String]",vy="[object Symbol]";function Tf(e){return Object.prototype.toString.call(e)}function by(e){return e!=null}function _y(e){return Tf(e)===yy}function xy(e){return e===e+0}function ky(e){return Tf(e)===vy}function wy(e,...t){return new e.constructor(...t)}function Ef(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&delete e[t];return e}function wr(e=[],t=[]){const o=e.length,n=t.length;for(let a=0;a<n;a++)e[a]=t[a];let r=Math.max(0,o-n);for(;r>0;)e.pop(),r--;return e}function Cy(e,t){const o=e.findIndex(n=>n===t);return o>=0&&e.splice(o,1),e}function Ty(e,t){return e.findIndex(o=>o==t)>=0}let Sf;try{Sf=Map}catch{Sf=function(){}}let Of;try{Of=Set}catch{Of=function(){}}function Ey(e){return typeof e=="number"&&Number.isNaN(e)}function xn(e,t){if(e=parseFloat(e),Ey(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${e}) isNaN!`)}return e}function Pf(e,t,o=Number.EPSILON*Math.pow(2,2)){return Math.abs(e-t)<o}const le=(e,t,o)=>e<t?t:e>o?o:e;function Sy(e,t,o,n,r){return n+(r-n)*((e-t)/(o-t))}const Oy=(e,t,o)=>n=>{const r=le(n,e,t);return o==0?r:t-r<o?t:Math.round(r/o)*o};function Py(e,t=12){return xn(e,0).toFixed(t)}function Pe(e,t=12){return+Py(e,t)}function Fn(e,t){const o=wf("number-single",String(e));return{hasNumber:!!o,number:o&&!Array.isArray(o)&&o.fullMatch?parseFloat(o.fullMatch):by(t)?t:NaN,prefix:o&&!Array.isArray(o)&&o.fullMatch?e.substring(0,o.matchIndex):"",suffix:o&&!Array.isArray(o)&&o.fullMatch?e.substring(o.matchIndex+o.fullMatch.length):""}}function zi(e){const t=wf("number",e);return t?Array.isArray(t)?t.map(o=>Number(o.fullMatch)):[Number(t.fullMatch)]:[]}Ry();function Ry(){const e=new ArrayBuffer(4),t=new Float32Array(e),o=new Uint32Array(e),n=new Uint32Array(512),r=new Uint32Array(512);for(let i=0;i<256;++i){const c=i-127;c<-27?(n[i]=0,n[i|256]=32768,r[i]=24,r[i|256]=24):c<-14?(n[i]=1024>>-c-14,n[i|256]=1024>>-c-14|32768,r[i]=-c-1,r[i|256]=-c-1):c<=15?(n[i]=c+15<<10,n[i|256]=c+15<<10|32768,r[i]=13,r[i|256]=13):c<128?(n[i]=31744,n[i|256]=64512,r[i]=24,r[i|256]=24):(n[i]=31744,n[i|256]=64512,r[i]=13,r[i|256]=13)}const a=new Uint32Array(2048),s=new Uint32Array(64),l=new Uint32Array(64);for(let i=1;i<1024;++i){let c=i<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,a[i]=c|u}for(let i=1024;i<2048;++i)a[i]=939524096+(i-1024<<13);for(let i=1;i<31;++i)s[i]=i<<23;s[31]=1199570944,s[32]=2147483648;for(let i=33;i<63;++i)s[i]=2147483648+(i-32<<23);s[63]=3347054592;for(let i=1;i<64;++i)i!==32&&(l[i]=1024);return{floatView:t,uint32View:o,baseTable:n,shiftTable:r,mantissaTable:a,exponentTable:s,offsetTable:l}}var Rf=(e=>(e.UNKNOWN="",e.TEXT="text/plain",e.MD="text/plain",e.HTML="text/html",e.XML_TEXT="text/xml",e.CSS="text/css",e.JPEG="image/jpeg",e.PNG="image/png",e.GIF="image/gif",e.BMP="image/bmp",e.WEBP="image/webp",e.SVG="image/svg+xml",e.ICON="image/x-icon",e.MICROSOFT_ICON="image/vnd.microsoft.icon",e.MPEG="audio/mpeg",e.MP3="audio/mpeg",e.MP4="video/mp4",e.OGG="audio/ogg",e.WAV="audio/wav",e.MIDI="audio/midi",e.WEBM="video/webm",e.VIDEO_OGG="video/ogg",e.OCTET_STREAM="application/octet-stream",e.JAVASCRIPT="application/javascript",e.ECMASCRIPT="application/ecmascript",e.JSON="application/json",e.XML="application/xml",e.XHTML="application/xhtml+xml",e.XWWW="application/x-www-form-urlencoded",e.DOC="application/msword",e.CSV="application/x-csv",e.EXCEL="application/vnb.ms-excel",e.PPT="application/vnb.mspowerpoint",e.PDF="application/pdf",e.ZIP="application/zip",e.TGZ="application/x-gtar",e.TAR_GZ="application/x-gzip",e.EOT="appliaction/vnd.ms-fontobject",e.TTF="aplication/font-sfnt",e.PKCS12="aplication/pkcs12",e))(Rf||{}),Aa=(e=>(e.ascii="ascii",e.utf8="utf8",e.utf16le="utf16le",e.ucs2="ucs2",e.base64="base64",e.base64url="base64url",e.latin1="latin1",e.binary="binary",e.hex="hex",e))(Aa||{});const If=(e,t,o)=>t?o===Aa.base64?new Blob([e],{type:`${t};${o}`}):o===Aa.utf8?new Blob([e],{type:`${t};charset=${o}`}):new Blob([e],{type:`${t}`}):new Blob([e]);function ne(){return(performance||Date).now()}function Iy(e){let t=0;for(let o=5;o>=0;o=o-2)o==5?t+=e[o-1]*10+e[o]:o==3?t+=(e[o-1]*10+e[o])*60:o==1&&(t+=(e[o-1]*10+e[o])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function Mi(e){let t=Iy(e)/1e3;const o=t%60;e[5]=o%10,e[4]=Math.floor(o/10),t=Math.floor(t/60);const n=t%60;e[3]=n%10,e[2]=Math.floor(n/10),t=Math.floor(t/60);const r=t%60%24;return e[1]=r%10,e[0]=Math.floor(r/10),e}function Ay(e){const t=[0,0,0,0,0,0],o=zi(e),n=o.length,r=Math.min(n,3);for(let a=0;a<r;a++){const s=Math.floor(Math.abs(o[n-r+a]||0));t[2*a+1]=s%10,t[2*a]=Math.floor(s/10)}return Mi(t)}function Bi(e,t=1){return e[5]+=t,Mi(e)}function Yi(e,t=1){return e[5]-=t,Mi(e)}function $y(e,t){e.forEach((o,n)=>{t[n]=o})}function Ny(e,t){const o=t.reduce((n,r)=>{const{match:a,error:s}=r;return a(e)||n.push(s),n},[]);return{valid:o.length===0,errors:o}}function Dy(e="xxx不能为空!"){return{match:t=>!!t,error:e}}function Fy(e="邮箱格式不正确!"){return{match:t=>py("email",t),error:e}}class Ly{criterias=[];constructor(t=[]){t.forEach(o=>this.add(o))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>Ny(t,this.criterias)}run(t){return this.get()(t)}}function Ln(e){return new Ly([Dy("邮箱不能为空!"),Fy("邮箱格式不正确!")]).run(e)}function Af(e,t){let o=!0;return function(...n){o&&(o=!1,e.apply(this,n),setTimeout(()=>{o=!0},t))}}function zy(e,t){let o;return function(...n){clearTimeout(o),o=setTimeout(()=>{e.apply(this,n)},t)}}class $a{events;constructor(){this.events={}}has(t,o){return this.events[t]!==void 0&&this.events[t].indexOf(o)!==-1}prependListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(o),this}addListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].push(o),this}on(t,o){return this.addListener(t,o),this}removeListener(t,o){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==o)),this}off(t,o){return this.removeListener(t,o),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...o){return this.events[t]&&this.events[t].slice(0).forEach(r=>{r(...o)}),this}once(t,o){const r=(()=>{let a=!1;return(...s)=>{a||(a=!0,o(...s),this.off(t,r))}})();return this.on(t,r),this}}class Na extends $a{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async o=>{this.controller=o}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}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 o=await Promise.allSettled(t.map(r=>r())),n=this.results.length;o.forEach((r,a)=>{if(r.status=="fulfilled"){const s=r.value;this.results.push(s),this.controller?.enqueue(s),this.emit("success",n+a,s)}else if(r.status=="rejected"){const s=new Error(r.reason);this.results.push(s),this.controller?.enqueue(s),this.emit("error",n+a,s)}}),this.activeTaskCount-=o.length}}}Array.prototype.ap=function(e){return this.reduce((t,o)=>t.concat(e.map(o)),[])};let Cr;function My(e){Cr=e,e(),Cr=null}class By{subscribers=new Set;add(){Cr&&!this.subscribers.has(Cr)&&this.subscribers.add(Cr)}notify(){this.subscribers.forEach(t=>t())}}const $f=new WeakMap;function Vi(e,t){let o=$f.get(e);o||(o=new Map,$f.set(e,o));let n=o.get(t);return n||(n=new By,o.set(t,n)),n}function Nf(e,t=!1){const o={get(r,a,s){const l=Reflect.get(r,a,s);if(t&&typeof l=="object"&&l!==null&&!("isYZReactiveProxy"in l)){const c=Nf(l,t);c.YZReactiveProxyParentTarget=r,c.YZReactiveProxyParentKey=a,Reflect.set(s,a,c)}return Vi(r,a).add(),Reflect.get(r,a,s)},set(r,a,s,l){const i=Reflect.get(r,a,l),c=Reflect.set(r,a,s,l);return Array.isArray(r)?Vi(r.YZReactiveProxyParentTarget,r.YZReactiveProxyParentKey).notify():i!=s&&Vi(r,a).notify(),c},has(r,a){return a==="isYZReactiveProxy"||a in r}};return new Proxy(e,o)}const Yy=Nf;class Xi{maps=new Map;mapsAddedDuringUpdate=new Map;entries(){return Array.from(this.maps.entries())}keys(){return Array.from(this.maps.keys())}values(){return Array.from(this.maps.values())}json(){return this.entries().reduce((t,[o,n])=>((_y(o)||xy(o)||ky(o))&&(t[o]=n),t),{})}get length(){return this.entries().length}set(t,o){this.maps.set(t,o),this.mapsAddedDuringUpdate.set(t,o)}get(t){return this.maps.get(t)}getIndex(t){const o=this.entries();if(o.length&&o[t]){const[n,r]=o[t];return[n,r]}}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[o]=t;this.delete(o)}return t}delete(t){return this.mapsAddedDuringUpdate.delete(t),this.maps.delete(t)}clear(){this.maps.clear(),this.mapsAddedDuringUpdate.clear()}filter(t){let o=Array.from(this.maps.entries());for(;o.length>0;){this.mapsAddedDuringUpdate.clear();for(let n=0,r=o.length;n<r;n++){const[a,s]=o[n];t(a,s)===!1&&this.delete(a)}o=Array.from(this.mapsAddedDuringUpdate.entries())}}}function Vy(e,t=(o,n)=>o<=n){const o=e.length;let n=Math.floor(o/2);for(;n>0;){for(let r=n;r<o;r++){const a=e[r];let s=r;for(;s>=n&&!t(e[s-n],a);)e[s]=e[s-n],s-=n;e[s]=a}n=Math.floor(n/2)}}let Df;try{Df=Promise}catch{Df=function(){}}function Xy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zy={exports:{}};(function(e,t){(function(o){e.exports=o()})(function(o){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(v,g){var y=v[0],m=v[1],_=v[2],C=v[3];y+=(m&_|~m&C)+g[0]-680876936|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[1]-389564586|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[2]+606105819|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[3]-1044525330|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[4]-176418897|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[5]+1200080426|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[6]-1473231341|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[7]-45705983|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[8]+1770035416|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[9]-1958414417|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[10]-42063|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[11]-1990404162|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[12]+1804603682|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[13]-40341101|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[14]-1502002290|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[15]+1236535329|0,m=(m<<22|m>>>10)+_|0,y+=(m&C|_&~C)+g[1]-165796510|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[6]-1069501632|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[11]+643717713|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[0]-373897302|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[5]-701558691|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[10]+38016083|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[15]-660478335|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[4]-405537848|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[9]+568446438|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[14]-1019803690|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[3]-187363961|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[8]+1163531501|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[13]-1444681467|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[2]-51403784|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[7]+1735328473|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[12]-1926607734|0,m=(m<<20|m>>>12)+_|0,y+=(m^_^C)+g[5]-378558|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[8]-2022574463|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[11]+1839030562|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[14]-35309556|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[1]-1530992060|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[4]+1272893353|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[7]-155497632|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[10]-1094730640|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[13]+681279174|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[0]-358537222|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[3]-722521979|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[6]+76029189|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[9]-640364487|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[12]-421815835|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[15]+530742520|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[2]-995338651|0,m=(m<<23|m>>>9)+_|0,y+=(_^(m|~C))+g[0]-198630844|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[7]+1126891415|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[14]-1416354905|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[5]-57434055|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[12]+1700485571|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[3]-1894986606|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[10]-1051523|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[1]-2054922799|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[8]+1873313359|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[15]-30611744|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[6]-1560198380|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[13]+1309151649|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[4]-145523070|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[11]-1120210379|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[2]+718787259|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[9]-343485551|0,m=(m<<21|m>>>11)+_|0,v[0]=y+v[0]|0,v[1]=m+v[1]|0,v[2]=_+v[2]|0,v[3]=C+v[3]|0}function a(v){var g=[],y;for(y=0;y<64;y+=4)g[y>>2]=v.charCodeAt(y)+(v.charCodeAt(y+1)<<8)+(v.charCodeAt(y+2)<<16)+(v.charCodeAt(y+3)<<24);return g}function s(v){var g=[],y;for(y=0;y<64;y+=4)g[y>>2]=v[y]+(v[y+1]<<8)+(v[y+2]<<16)+(v[y+3]<<24);return g}function l(v){var g=v.length,y=[1732584193,-271733879,-1732584194,271733878],m,_,C,M,X,G;for(m=64;m<=g;m+=64)r(y,a(v.substring(m-64,m)));for(v=v.substring(m-64),_=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)C[m>>2]|=v.charCodeAt(m)<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(y,C),m=0;m<16;m+=1)C[m]=0;return M=g*8,M=M.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(M[2],16),G=parseInt(M[1],16)||0,C[14]=X,C[15]=G,r(y,C),y}function i(v){var g=v.length,y=[1732584193,-271733879,-1732584194,271733878],m,_,C,M,X,G;for(m=64;m<=g;m+=64)r(y,s(v.subarray(m-64,m)));for(v=m-64<g?v.subarray(m-64):new Uint8Array(0),_=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)C[m>>2]|=v[m]<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(y,C),m=0;m<16;m+=1)C[m]=0;return M=g*8,M=M.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(M[2],16),G=parseInt(M[1],16)||0,C[14]=X,C[15]=G,r(y,C),y}function c(v){var g="",y;for(y=0;y<4;y+=1)g+=n[v>>y*8+4&15]+n[v>>y*8&15];return g}function u(v){var g;for(g=0;g<v.length;g+=1)v[g]=c(v[g]);return v.join("")}u(l("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function v(g,y){return g=g|0||0,g<0?Math.max(g+y,0):Math.min(g,y)}ArrayBuffer.prototype.slice=function(g,y){var m=this.byteLength,_=v(g,m),C=m,M,X,G,V;return y!==o&&(C=v(y,m)),_>C?new ArrayBuffer(0):(M=C-_,X=new ArrayBuffer(M),G=new Uint8Array(X),V=new Uint8Array(this,_,M),G.set(V),X)}}();function f(v){return/[\u0080-\uFFFF]/.test(v)&&(v=unescape(encodeURIComponent(v))),v}function d(v,g){var y=v.length,m=new ArrayBuffer(y),_=new Uint8Array(m),C;for(C=0;C<y;C+=1)_[C]=v.charCodeAt(C);return g?_:m}function h(v){return String.fromCharCode.apply(null,new Uint8Array(v))}function p(v,g,y){var m=new Uint8Array(v.byteLength+g.byteLength);return m.set(new Uint8Array(v)),m.set(new Uint8Array(g),v.byteLength),y?m:m.buffer}function w(v){var g=[],y=v.length,m;for(m=0;m<y-1;m+=2)g.push(parseInt(v.substr(m,2),16));return String.fromCharCode.apply(String,g)}function x(){this.reset()}return x.prototype.append=function(v){return this.appendBinary(f(v)),this},x.prototype.appendBinary=function(v){this._buff+=v,this._length+=v.length;var g=this._buff.length,y;for(y=64;y<=g;y+=64)r(this._hash,a(this._buff.substring(y-64,y)));return this._buff=this._buff.substring(y-64),this},x.prototype.end=function(v){var g=this._buff,y=g.length,m,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C;for(m=0;m<y;m+=1)_[m>>2]|=g.charCodeAt(m)<<(m%4<<3);return this._finish(_,y),C=u(this._hash),v&&(C=w(C)),this.reset(),C},x.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},x.prototype.setState=function(v){return this._buff=v.buff,this._length=v.length,this._hash=v.hash,this},x.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},x.prototype._finish=function(v,g){var y=g,m,_,C;if(v[y>>2]|=128<<(y%4<<3),y>55)for(r(this._hash,v),y=0;y<16;y+=1)v[y]=0;m=this._length*8,m=m.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(m[2],16),C=parseInt(m[1],16)||0,v[14]=_,v[15]=C,r(this._hash,v)},x.hash=function(v,g){return x.hashBinary(f(v),g)},x.hashBinary=function(v,g){var y=l(v),m=u(y);return g?w(m):m},x.ArrayBuffer=function(){this.reset()},x.ArrayBuffer.prototype.append=function(v){var g=p(this._buff.buffer,v,!0),y=g.length,m;for(this._length+=v.byteLength,m=64;m<=y;m+=64)r(this._hash,s(g.subarray(m-64,m)));return this._buff=m-64<y?new Uint8Array(g.buffer.slice(m-64)):new Uint8Array(0),this},x.ArrayBuffer.prototype.end=function(v){var g=this._buff,y=g.length,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,C;for(_=0;_<y;_+=1)m[_>>2]|=g[_]<<(_%4<<3);return this._finish(m,y),C=u(this._hash),v&&(C=w(C)),this.reset(),C},x.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.ArrayBuffer.prototype.getState=function(){var v=x.prototype.getState.call(this);return v.buff=h(v.buff),v},x.ArrayBuffer.prototype.setState=function(v){return v.buff=d(v.buff,!0),x.prototype.setState.call(this,v)},x.ArrayBuffer.prototype.destroy=x.prototype.destroy,x.ArrayBuffer.prototype._finish=x.prototype._finish,x.ArrayBuffer.hash=function(v,g){var y=i(new Uint8Array(v)),m=u(y);return g?w(m):m},x})})(Zy);const Ff=e=>new XMLSerializer().serializeToString(e),Gy=(e,t=Rf.SVG,o=Aa.utf8)=>If(Ff(e),t,o);function Be(e,t,o,n=!1){const r=async a=>{await o(a)};try{e.addEventListener(t,r,n)}catch{e.attachEvent("on"+t,r)}return()=>{try{e.removeEventListener(t,r,n)}catch{e.detachEvent("on"+t,r)}}}function Da(e){e.preventDefault&&e.preventDefault();try{e.returnValue=!1}catch{}}function Tr(){const e=new $a;return{on:(t,o)=>{e.on(t,o)},off:(t,o)=>{e.off(t,o)},emit:(t,...o)=>{e.emit(t,...o)}}}function Uy(){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 n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}const Zi=Uy()!==-1;(()=>{const e=kf();return!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL)})(),function(){if(!kf().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),o=t.getContext("2d");o.fillRect(0,0,1,1);const n=t.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let e=ne();window.requestAnimationFrame=function(t){const o=ne(),n=Math.max(0,16-(o-e)),r=window.setTimeout(function(){t(o+n)},n);return e=o+n,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();function Fa(e){let t=!1;return window.requestAnimationFrame(function o(n){!t&&e(n)&&window.requestAnimationFrame(o)}),()=>{t=!0}}function Gi(e,t=0){if(t==0)return e(ne()),()=>{};{const o=ne();return Fa(n=>n-o>=t?(e(n),!1):!0)}}function jy(e,t=0){let o=!1,n=0;const r=ne(),a=s=>{if(o)return;n++;const l=s-r-n*t;e(s,n,t<=l),Gi(a,Math.max(0,t-l))};return Gi(a,t),()=>{o=!0}}function Hy(e,t=20){const o=1e3/t;let n=0,r;return()=>(ne()-n>=o&&(n=ne(),r=e()),r)}window.requestIdleCallback=window.requestIdleCallback||function(e,t){const o=ne();return setTimeout(function(){e({didTimeout:ne()-o>50,timeRemaining:()=>Math.max(0,50-(ne()-o))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};const Ui=new Xi;let ji=!1;function Lf(e,t,o){e&&t&&Ui.set(e,{cb:t,startTime:ne(),timeout:o}),!ji&&(ji=!0,qy(n=>{ji=!1;let r=n.timeRemaining();Ui.filter((a,s)=>{let l=!1;const i=ne();(r>0||s.timeout&&ne()-s.startTime>=s.timeout)&&(s.cb(),l=!0);const c=ne();return r-=c-i,!l}),Ui.length>0&&Lf()}))}let La=0,kn=33,Wo=33,Hi;const zf=new MessageChannel,Wy=zf.port2;zf.port1.onmessage=e=>{Hi!==null&&Hi({didTimeout:La<=ne(),timeRemaining:()=>Math.max(0,La-ne())})};function qy(e){return Hi=e,requestAnimationFrame(t=>{let o=t-La+Wo;o<Wo&&kn<Wo?(o<8&&(o=8),Wo=o<kn?kn:o):o>Wo&&kn>Wo?Wo=o<kn?kn:o:kn=o,La=t+Wo,Wy.postMessage(null)})}class Er{static _nextId=0;static nextId(){return Er._nextId++}}const st={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-st.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?st.Bounce.In(e*2)*.5:st.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 o=1-t;return function(n){return t*Math.random()+o*e(n)}},swing:function(e){return e+Math.sin(e*Math.PI*2)/2},causeSeizures:function(e){return e+.2*Math.random()-.1}},Wi=st;function Ky(e){switch(e){case st.Quadratic.In:return st.Quadratic.Out;case st.Quadratic.Out:return st.Quadratic.In;case st.Quadratic.InOut:return st.Quadratic.InOut;case st.Cubic.In:return st.Cubic.Out;case st.Cubic.Out:return st.Cubic.In;case st.Cubic.InOut:return st.Cubic.InOut;case st.Quartic.In:return st.Quartic.Out;case st.Quartic.Out:return st.Quartic.In;case st.Quartic.InOut:return st.Quartic.InOut;case st.Quintic.In:return st.Quintic.Out;case st.Quintic.Out:return st.Quintic.In;case st.Quintic.InOut:return st.Quintic.InOut;case st.Sinusoidal.In:return st.Sinusoidal.Out;case st.Sinusoidal.Out:return st.Sinusoidal.In;case st.Sinusoidal.InOut:return st.Sinusoidal.InOut;case st.Exponential.In:return st.Exponential.Out;case st.Exponential.Out:return st.Exponential.In;case st.Exponential.InOut:return st.Exponential.InOut;case st.Circular.In:return st.Circular.Out;case st.Circular.Out:return st.Circular.In;case st.Circular.InOut:return st.Circular.InOut;case st.Elastic.In:return st.Elastic.Out;case st.Elastic.Out:return st.Elastic.In;case st.Elastic.InOut:return st.Elastic.InOut;case st.Back.In:return st.Back.Out;case st.Back.Out:return st.Back.In;case st.Back.InOut:return st.Back.InOut;case st.Bounce.In:return st.Bounce.Out;case st.Bounce.Out:return st.Bounce.In;case st.Bounce.InOut:return st.Bounce.InOut;default:return e}}const zn={Utils:{Linear:function(e,t,o){return(t-e)*o+e},Factorial:function(){const e=[1];return function(t){let o=1;if(e[t])return e[t];for(let n=t;n>1;n--)o*=n;return e[t]=o,o}}(),Bernstein:function(e,t){const o=zn.Utils.Factorial;return o(e)/o(t)/o(e-t)},CatmullRom:function(e,t,o,n,r){const a=(o-e)*.5,s=(n-t)*.5,l=r*r,i=r*l;return(2*t-2*o+a+s)*i+(-3*t+3*o-2*a-s)*l+a*r+t},QuadraticBezier:(e,t,o,n)=>{const r=1-n;return r*r*e+2*r*n*t+n*n*o},CubicBezier:(e,t,o,n,r)=>{const a=1-r;return a*a*a*e+3*a*a*r*t+3*a*r*r*o+r*r*r*n}},Linear:function(e,t){const o=e.length-1,n=o*t,r=Math.floor(n),a=zn.Utils.Linear;return t<0?a(e[0],e[1],n):t>1?a(e[o],e[o-1],o-n):a(e[r],e[r+1>o?o:r+1],n-r)},Bezier:function(e,t){let o=0;const n=e.length-1,r=Math.pow,a=zn.Utils.Bernstein;for(let s=0;s<=n;s++)o+=r(1-t,n-s)*r(t,s)*e[s]*a(n,s);return o},CatmullRom:function(e,t){const o=e.length-1;let n=o*t,r=Math.floor(n);const a=zn.Utils.CatmullRom;return e[0]===e[o]?(t<0&&(r=Math.floor(n=o*(1+t))),a(e[(r-1+o)%o],e[r],e[(r+1)%o],e[(r+2)%o],n-r)):t<0?e[0]-(a(e[0],e[0],e[1],e[1],-n)-e[0]):t>1?e[o]-(a(e[o],e[o],e[o-1],e[o-1],n-o)-e[o]):a(e[r?r-1:0],e[r],e[o<r+1?o:r+1],e[o<r+2?o:r+2],n-r)}},qi=zn;class Mf{_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=ne(),o=!1){const n=Object.keys(this._tweens);for(let r=0;r<n.length;r++){const a=this._tweens[n[r]],s=!o;a&&a.update(t,s)===!1&&!o&&delete this._tweens[n[r]]}return!!Object.keys(this._tweens).length}}const We=new Mf;class Bf{constructor(t,o=We){this._object=t,this._group=o}_id=Er.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=Wi.Linear.None;_interpolationFunction=qi.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,o){return this._valuesEnd=Object.create(t),o!==void 0&&(this._durationTime=o),this}duration(t=1e3){return this._durationTime=t,this}start(t=ne()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const o in this._valuesStartRepeat)this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o]}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,o,n,r){for(const a in n){const s=t[a],l=Array.isArray(s),i=l?"array":typeof s,c=!l&&Array.isArray(n[a]);if(!(i==="undefined"||i==="function")){if(c){let u=n[a];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,s)),n[a]=[s].concat(u)}if((i==="object"||l)&&s&&!c){o[a]=l?[]:{};for(const u in s)o[a][u]=s[u];r[a]=l?[]:{},this._setupProperties(s,o[a],n[a],r[a])}else typeof o[a]>"u"&&(o[a]=s),l||(o[a]*=1),c?r[a]=n[a].slice().reverse():r[a]=o[a]||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=ne()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=ne()){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,o=this._chainedTweens.length;t<o;t++)this._chainedTweens[t].stop();return this}group(t=We){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=Wi.Linear.None){return this._easingFunction=t,this}interpolation(t=qi.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=ne(),o=!0){if(this._isPaused)return!0;let n,r;const a=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>a)return!1;o&&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 s=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,s),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];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 l=0,i=this._chainedTweens.length;l<i;l++)this._chainedTweens[l].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,o,n,r){for(const a in n){if(o[a]===void 0)continue;const s=o[a]||0;let l=n[a];const i=Array.isArray(t[a]),c=Array.isArray(l);!i&&c?t[a]=this._interpolationFunction(l,r):typeof l=="object"&&l?this._updateProperties(t[a],s,l,r):(l=this._handleRelativeValue(s,l),typeof l=="number"&&(t[a]=s+(l-s)*r))}}_handleRelativeValue(t,o){return typeof o!="string"?o:o.charAt(0)==="+"||o.charAt(0)==="-"?t+parseFloat(o):parseFloat(o)}_swapEndStartRepeatValues(t){const o=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=o}}const Qy=Bf,Jy=Er.nextId,tv=We.getAll.bind(We),ev=We.removeAll.bind(We),ov=We.add.bind(We),nv=We.remove.bind(We),rv=We.update.bind(We),xt={now:ne,Sequence:Er,Easing:Wi,Interpolation:qi,Group:Mf,Tween:Qy,nextId:Jy,getAll:tv,removeAll:ev,add:ov,remove:nv,update:rv};class av{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=ne(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const o=ne();t=o-this.oldTime,this.oldTime=o,this.elapsedTime+=t}return t}}const Yf=av;class Ze{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){Vy(this.tweens,(o,n)=>t?o.delay>n.delay:o.delay<=n.delay)}cloneTweens(t=this.tweens){const o=[];return t.forEach(n=>{const r={...n};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},o.push(r)}),o}addTween(t,o,n){const r={fromValues:t,toValues:o,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||st.Linear.None,interpolationFunction:n?.interpolationFunction||zn.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const o=new Yf,n=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Fa(a=>{if(!this.isPaused){const l=Math.max(0,a-this.pausedDuration),i=Math.max(0,o.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=i).forEach(c=>{c.tween||(c.tween=new Bf({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(l)),(c.delay+c.frames*(c.repeat+1))*n>i?c.tween.update(l):(c.tween.isPlaying()&&c.tween.end(),Cy(t,c))})}const s=!!t.length;return s||(this.onGroupComplete?.(),r()),s})})}isPaused=!1;pausedClock=new Yf;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let o=0;t.forEach(n=>{o=Math.max(o,n.delay+n.frames),n.easeFunction=Ky(n.easeFunction);const r={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...r}}),t.forEach(n=>{n.delay=o-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const za=new Xi,sv=(e=!0)=>{za.filter((t,o)=>(o.alternate&&(md(o,o.alternate),e&&za.set(t,o.alternate),o.alternate=void 0),e))};function Vf(e){let t=za.get(e);return t||(t=ll(e),za.set(e,t)),t}function iv(e){const t=Vf(e);return t.alternate||(t.alternate=ll(e)),t.alternate}function lv(e,t,o=!0){t(iv(e)),Lf("FLUSH_DOM_ACTION",()=>sv(o),50)}function ae(e){return e*Math.PI/180}function qe(e){return e*180/Math.PI}function Xf(e,t,o=0){return Math.sqrt(e*e+t*t+o*o)}function Zf(e,t,o,n){return Xf(o-e,n-t)}function Ki(e,t,o,n){const r=o-e,a=n-t;return r*r+a*a}function Ma(e,t,o,n){let r=Math.atan2(n-t,o-e);return r<0&&(r+=Math.PI*2),r}function Ba(e,t){return{dx:Math.cos(e)*t,dy:Math.sin(e)*t}}const Gf=cv("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 cv(e,t=10){const o={},n=e.split(",");for(let r=0;r<n.length;r+=2){const a="&"+n[r+1]+";",s=parseInt(n[r],t);o[a]="&#"+s+";"}return o["\\xa0"]="&#160;",o}function Ne(e,t){const o=Object.keys(t);for(let n=0;n<o.length;n++)e=e.replace(new RegExp("{"+o[n]+"}","gi"),""+t[o[n]]);return e}function Ya(e){let t,o;if(!e)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",o=0;o<12;o++)t+=n[Math.floor(Math.random()*n.length)];while(e[t]);return t}function uv(e){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[e]||t.start}function fv(e){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[e]||t.alphabetic}const Sr={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"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class Qi{__root;__ctx;constructor(t,o){this.__root=t,this.__ctx=o}addColorStop(t,o){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),o.indexOf("rgba")!==-1){const a=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(o);a&&(n.setAttribute("stop-color",Ne("rgb({r},{g},{b})",{r:a[1],g:a[2],b:a[3]})),n.setAttribute("stop-opacity",a[4]))}else n.setAttribute("stop-color",o);this.__root.appendChild(n)}}class Uf{__root;__ctx;constructor(t,o){this.__root=t,this.__ctx=o}}class Va{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:o=500,height:n=500}){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=o,this.height=n),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(Sr);for(let o=0,n=t.length;o<n;o++){const r=t[o];this[r]=Sr[r].canvas}}__getStyleState(){const t={},o=Object.keys(Sr);for(let n=0,r=o.length;n<r;n++){const a=o[n];t[a]=this[a]}return t}__applyStyleState(t){const o=Object.keys(t);for(let n=0,r=o.length;n<r;n++){const a=o[n];this[a]=t[a]}}__createElement(t,o={},n=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),a=Object.keys(o);n&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let s=0;s<a.length;s++){const l=a[s];r.setAttribute(l,o[l])}return r}__applyStyleToCurrentElement(t){let o=this.__currentElement;const n=this.__currentElementsToStyle;n&&(o.setAttribute(t,""),o=n.element,n.children.forEach(a=>{a.setAttribute(t,"")}));const r=Object.keys(Sr);for(let a=0;a<r.length;a++){const s=Sr[r[a]],l=this[r[a]];if(s.apply){if(l instanceof Uf){if(l.__ctx)for(;l.__ctx.__SVGdefs.childNodes.length;){const i=l.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[i]=i,this.__SVGdefs.appendChild(l.__ctx.__SVGdefs.childNodes[0])}o.setAttribute(s.apply,Ne("url(#{id})",{id:l.__root.getAttribute("id")}))}else if(l instanceof Qi)o.setAttribute(s.apply,Ne("url(#{id})",{id:l.__root.getAttribute("id")}));else if(s.apply.indexOf(t)!==-1&&s.svg!==l)if((s.svgAttr==="stroke"||s.svgAttr==="fill")&&l.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(l);if(c){o.setAttribute(s.svgAttr,Ne("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),o.setAttribute(s.svgAttr+"-opacity",""+u)}}else{let i=s.svgAttr;if(r[a]==="globalAlpha"&&(i=t+"-"+s.svgAttr,o.getAttribute(i)))continue;i&&o.setAttribute(i,l)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let o=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(o)&&(o=o.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const r=Object.keys(Gf);for(let a=0,s=r.length;a<s;a++){const l=r[a],i=Gf[l],c=new RegExp(l,"gi");c.test(o)&&(o=o.replace(c,i))}}return o}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),o=this.__closestGroupOrSvg();this.__groupStack.push(o),o.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 o=this.__styleStack.pop();o&&this.__applyStyleState(o)}__addTransform(t){const o=this.__closestGroupOrSvg();if(o.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:o,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const r=this.__createElement("g");o.appendChild(r),this.__currentElement=r}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,o){o===void 0&&(o=t),this.__addTransform(Ne("scale({x},{y})",{x:t,y:o}))}rotate(t){const o=t*180/Math.PI;this.__addTransform(Ne("rotate({angle},{cx},{cy})",{angle:o,cx:0,cy:0}))}translate(t,o){this.__addTransform(Ne("translate({x},{y})",{x:t,y:o}))}transform(t,o,n,r,a,s){this.__addTransform(Ne("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:o,c:n,d:r,e:a,f:s}))}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)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,o){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:o},this.__addPathCommand(Ne("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,o){this.__currentPosition={x:t,y:o},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Ne("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Ne("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,o,n,r,a,s){this.__currentPosition={x:a,y:s},this.__addPathCommand(Ne("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:o,cp2x:n,cp2y:r,x:a,y:s}))}quadraticCurveTo(t,o,n,r){this.__currentPosition={x:n,y:r},this.__addPathCommand(Ne("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:o,x:n,y:r}))}normalize(t){const o=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/o,t[1]/o]}arcTo(t,o,n,r,a){const s=this.__currentPosition&&this.__currentPosition.x,l=this.__currentPosition&&this.__currentPosition.y;if(typeof s>"u"||typeof l>"u")return;if(a<0)throw new Error("IndexSizeError: The radius provided ("+a+") is negative.");if(s===t&&l===o||t===n&&o===r||a===0){this.lineTo(t,o);return}const i=this.normalize([s-t,l-o]),c=this.normalize([n-t,r-o]);if(i[0]*c[1]===i[1]*c[0]){this.lineTo(t,o);return}const u=i[0]*c[0]+i[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([i[0]+c[0],i[1]+c[1]]),h=a/Math.sin(f/2),p=t+h*d[0],w=o+h*d[1],x=[-i[1],i[0]],v=[c[1],-c[0]],g=function(_){const C=_[0];return _[1]>=0?Math.acos(C):-Math.acos(C)},y=g(x),m=g(v);this.lineTo(p+x[0]*a,w+x[1]*a),this.arc(p,w,a,y,m)}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,o,n,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,o),this.lineTo(t+n,o),this.lineTo(t+n,o+r),this.lineTo(t,o+r),this.lineTo(t,o),this.closePath()}fillRect(t,o,n,r){const a=this.__createElement("rect",{x:t,y:o,width:n,height:r},!0);this.__closestGroupOrSvg().appendChild(a),this.__currentElement=a,this.__applyStyleToCurrentElement("fill")}strokeRect(t,o,n,r){const a=this.__createElement("rect",{x:t,y:o,width:n,height:r},!0);this.__closestGroupOrSvg().appendChild(a),this.__currentElement=a,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const o=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],r=n.childNodes;for(let a=r.length-1;a>=0;a--)r[a]&&n.removeChild(r[a]);this.__currentElement=n,this.__groupStack=[],o&&this.__addTransform(o)}clearRect(t,o,n,r){if(t===0&&o===0&&n===this.width&&r===this.height){this.__clearCanvas();return}const a=this.__closestGroupOrSvg(),s=this.__createElement("rect",{x:t,y:o,width:n,height:r,fill:"#FFFFFF"},!0);a.appendChild(s)}createLinearGradient(t,o,n,r){const a=this.__createElement("linearGradient",{id:Ya(this.__ids),x1:t+"px",x2:n+"px",y1:o+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(a),new Qi(a,this)}createRadialGradient(t,o,n,r,a,s){const l=this.__createElement("radialGradient",{id:Ya(this.__ids),cx:r+"px",cy:a+"px",r:s+"px",fx:t+"px",fy:o+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(l),new Qi(l,this)}__parseFont(){const o=/^\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),n={style:o[1]||"normal",size:o[4]||"10px",family:o[6]||"sans-serif",weight:o[3]||"normal",decoration:o[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,o){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(o),n}return o}__applyText(t,o,n,r){const a=this.__parseFont(),s=this.__closestGroupOrSvg(),l=this.__createElement("text",{"font-family":a.family,"font-size":a.size,"font-style":a.style,"font-weight":a.weight,"text-decoration":a.decoration,x:o,y:n,"text-anchor":uv(this.textAlign),"dominant-baseline":fv(this.textBaseline)},!0);l.appendChild(this.__document.createTextNode(t)),this.__currentElement=l,this.__applyStyleToCurrentElement(r),s.appendChild(this.__wrapTextLink(a,l))}fillText(t,o,n){this.__applyText(t,o,n,"fill")}strokeText(t,o,n){this.__applyText(t,o,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,o,n,r,a,s){if(r===a)return;r=r%(2*Math.PI),a=a%(2*Math.PI),r===a&&(a=(a+2*Math.PI-.001*(s?-1:1))%(2*Math.PI));const l=t+n*Math.cos(a),i=o+n*Math.sin(a),c=t+n*Math.cos(r),u=o+n*Math.sin(r),f=s?0:1;let d=0,h=a-r;h<0&&(h+=2*Math.PI),s?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Ne("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:l,endY:i})),this.__currentPosition={x:l,y:i}}clip(){const t=this.__closestGroupOrSvg(),o=this.__createElement("clipPath"),n=Ya(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),o.setAttribute("id",n),o.appendChild(this.__currentElement),this.__SVGdefs.appendChild(o),t.setAttribute("clip-path",Ne("url(#{id})",{id:n})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let o=t[0],n,r,a,s,l=0,i=0,c,u,f,d,h,p,w,x;if(t.length===3)n=t[1],r=t[2],c=o.width,u=o.height,a=c,s=u;else if(t.length===5)n=t[1],r=t[2],a=t[3],s=t[4],c=o.width,u=o.height;else if(t.length===9)l=t[1],i=t[2],c=t[3],u=t[4],n=t[5],r=t[6],a=t[7],s=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const v=this.__closestGroupOrSvg();this.__currentElement;const g="translate("+n+", "+r+")";if(o instanceof Va){if(f=o.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)x=d.childNodes[0].getAttribute("id"),this.__ids[x]=x,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const y=h.getAttribute("transform");let m;y?m=y+" "+g:m=g,h.setAttribute("transform",m),v.appendChild(h)}}}else(o.nodeName==="CANVAS"||o.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",a),p.setAttribute("height",s),p.setAttribute("preserveAspectRatio","none"),(l||i||c!==o.width||u!==o.height)&&(w=this.__document.createElement("canvas"),w.width=a,w.height=s,w.getContext("2d")?.drawImage(o,l,i,c,u,0,0,a,s),o=w),p.setAttribute("transform",g),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o.nodeName==="CANVAS"?o.toDataURL():o.getAttribute("src")),v.appendChild(p))}createPattern(t,o){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=Ya(this.__ids);let a;return n.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(a=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(a),this.__SVGdefs.appendChild(n)):t instanceof Va&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new Uf(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Ji{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,o,n,r=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),r&&(this.customContext=new Va({canvas:this.canvas,width:o||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,o,n,r){return this.context.fillRect(t,o,n,r),this.customContext&&this.customContext.fillRect(t,o,n,r),this}fillText(t,o,n,r){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,o,n,r),this.customContext&&this.customContext.fillText(t,o,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,o,n,r){return this.context.strokeText(t,o,n,r),this.customContext&&this.customContext.strokeText(t,o,n),this}strokeRect(t,o,n,r){return this.context.strokeRect(t,o,n,r),this.customContext&&this.customContext.strokeRect(t,o,n,r),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,o=0,n=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,o,n,r),this.customContext&&this.customContext.clearRect(t,o,n,r),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,o=this.currentMatrix){const n=new Path2D;n.addPath(t,o),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,o){return this.context.translate(t,o),this.customContext&&this.customContext.translate(t,o),this.currentMatrix.translate(t,o),this.changePath2D(),this}rotate(t,o=0,n=0){return this.translate(o,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-o,-n),this.changePath2D(),this}scale(t,o=t,n=0,r=0){return this.translate(n,r),this.context.scale(t,o),this.customContext&&this.customContext.scale(t,o),this.currentMatrix.scale(t,o),this.translate(-n,-r),this.changePath2D(),this}moveTo(t,o){return this.context.moveTo(t,o),this.customContext&&this.customContext.moveTo(t,o),this.currentPath2D.moveTo(t,o),this}lineTo(t,o){return this.context.lineTo(t,o),this.customContext&&this.customContext.lineTo(t,o),this.currentPath2D.lineTo(t,o),this}arc(t,o,n,r,a,s){return this.context.arc(t,o,n,r,a,s),this.customContext&&this.customContext.arc(t,o,n,r,a,s?-1:1),this.currentPath2D.arc(t,o,n,r,a,s),this}arcTo(t,o,n,r,a){return this.context.arcTo(t,o,n,r,a),this.customContext&&this.customContext.arcTo(t,o,n,r,a),this.currentPath2D.arcTo(t,o,n,r,a),this}ellipse(t,o,n,r,a,s,l,i){return this.context.ellipse(t,o,n,r,a,s,l,i),this.currentPath2D.ellipse(t,o,n,r,a,s,l,i),this}quadraticCurveTo(t,o,n,r){return this.context.quadraticCurveTo(t,o,n,r),this.customContext&&this.customContext.quadraticCurveTo(t,o,n,r),this.currentPath2D.quadraticCurveTo(t,o,n,r),this}bezierCurveTo(t,o,n,r,a,s){return this.context.bezierCurveTo(t,o,n,r,a,s),this.customContext&&this.customContext.bezierCurveTo(t,o,n,r,a,s),this.currentPath2D.bezierCurveTo(t,o,n,r,a,s),this}rect(t,o,n,r){return this.context.rect(t,o,n,r),this.customContext&&this.customContext.rect(t,o,n,r),this.currentPath2D.rect(t,o,n,r),this}createLinearGradient(t,o,n,r,a){const s=this.context.createLinearGradient(t,o,n,r);return a&&Object.entries(a).forEach(([l,i])=>{s.addColorStop(parseFloat(l),i)}),s}createRadialGradient(t,o,n,r,a,s,l){const i=this.context.createRadialGradient(t,o,n,r,a,s);return l&&Object.entries(l).forEach(([c,u])=>{i.addColorStop(parseFloat(c),u)}),i}drawImage(t,...o){if(o.length===0)this.context.drawImage(t,0,0);else if(o.length===2){const n=o[0],r=o[1];this.context.drawImage(t,n,r)}else if(o.length===4){const n=o[0],r=o[1],a=o[2],s=o[3];this.context.drawImage(t,n,r,a,s)}else if(o.length===8){const n=o[0],r=o[1],a=o[2],s=o[3],l=o[4],i=o[5],c=o[6],u=o[7];this.context.drawImage(t,n,r,a,s,l,i,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+o.length);return this.customContext&&this.customContext.drawImage(t,...o),this}getImageData(t=0,o=0,n=this.canvas.width,r=this.canvas.height,a){return this.context.getImageData(t,o,n,r,a)}putImageData(t,o=0,n=0){return this.context.putImageData(t,o,n)}createPattern(t,o){return this.context.createPattern(t,o)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),o=this.customContext.getSvg();return{raw:t,element:o}}else return{raw:"",element:null}}}const dv=Ji;class Xa{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=Ma(this.x,this.y,this.toX,this.toY);if(t===0){const o=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),r=Math.max(this.x,this.toX),a=Math.max(this.y,this.toY);return{x:o,y:n,width:r-o,height:a-n}}else{const o=Math.sin(t),n=Math.cos(t),r=n*this.x-o*this.y,a=n*this.toX-o*this.toY,s=n*this.y+o*this.x,l=n*this.toY+o*this.toX;return{x:Math.min(r,a),y:Math.min(s,l),width:Math.max(r,a)-Math.min(r,a),height:Math.max(s,l)-Math.min(s,l)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const o=this.x,n=this.y,r=t.toX,a=t.toY,s=this.toX-o,l=t.x-r;if(!s&&!l)return null;const i=(this.toY-n)/s,c=(t.y-a)/l;if(s){if(!l)return{x:r,y:i*(r-o)+n}}else return{x:o,y:c*(o-r)+a};const u=(-c*r+a+i*o-n)/(i-c),f=i*(u-o)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const jf=Xa;class pv extends Xa{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,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[o,n,r,a,s,l,i]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(o,n,r,a,s,l,i,!this.sweepFlag)}convert(t,o,n,r,a,s,l,i,c){const u=l/180*Math.PI,f=(t-n)/2,d=(o-r)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,w=h*h/(a*a)+p*p/(s*s);if(w>1){const pt=Math.sqrt(w);throw a=pt*a,s=pt*s,new Error(`Radii are too small to build an arc. Correcting them to ${a}/${s}.`)}const x=Math.sqrt((a*a*s*s-a*a*p*p-s*s*h*h)/(a*a*p*p+s*s*h*h)),v=i!=c?1:-1,g=v*x*a*p/s,y=v*x*-s*h/a,m=(t+n)/2,_=(o+r)/2,C=Math.cos(u)*g-Math.sin(u)*y+m,M=Math.sin(u)*g+Math.cos(u)*y+_,X=(pt,K,lt,gt)=>(pt*gt>=K*lt?1:-1)*Math.acos((pt*lt+K*gt)/(Math.sqrt(pt*pt+K*K)*Math.sqrt(lt*lt+gt*gt))),G=X(1,0,t-C,o-M)-u,V=X(t-C,o-M,n-C,r-M);return[C,M,a,s,u,G,G+V]}}const hv=pv;class mv extends Xa{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,o=this.cy*2-(this.y+this.toY)/2;return[["Q",t,o,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const o=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(o,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],o=[this.y,this.toY];let n,r,a,s;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,r=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,a=c==0?this.x:this.y,Math.abs(n)>1e-12&&(s=-r/(2*n),0<s&&s<1&&[t,o][c].push(n*s*s+r*s+a));const l={x:Math.min.apply(0,t),y:Math.min.apply(0,o)},i={x:Math.max.apply(0,t),y:Math.max.apply(0,o)};return{x:l.x,y:l.y,width:i.x-l.x,height:i.y-l.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const gv=mv;class Mn extends Xa{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),o=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,r=(-o+Math.sqrt(o*o-4*t*n))/2/t,a=(-o-Math.sqrt(o*o-4*t*n))/2/t;const s=[this.y,this.toY],l=[this.x,this.toX];let i;const c=[];Math.abs(r)>1e12&&(r=.5),Math.abs(a)>1e12&&(a=.5),r>=0&&r<=1&&(i=this.interpolate(r),l.push(i.x),s.push(i.y),c.push({X:i.x,Y:i.y})),a>=0&&a<=1&&(i=this.interpolate(a),l.push(i.x),s.push(i.y),c.push({X:i.x,Y:i.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),o=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,r=(-o+Math.sqrt(o*o-4*t*n))/2/t,a=(-o-Math.sqrt(o*o-4*t*n))/2/t,Math.abs(r)>1e12&&(r=.5),Math.abs(a)>1e12&&(a=.5),r>=0&&r<=1&&(i=this.interpolate(r),l.push(i.x),s.push(i.y),c.push({X:i.x,Y:i.y})),a>=0&&a<=1&&(i=this.interpolate(a),l.push(i.x),s.push(i.y),c.push({X:i.x,Y:i.y}));let u=[],f=c.length;for(let p=0;p<f;p++){for(let w=p+1;w<f;w++)c[p].X===c[w].X&&c[p].Y===c[w].Y&&(w=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,l),y:Math.min.apply(Math,s)},h={x:Math.max.apply(Math,l),y:Math.max.apply(Math,s)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,o,n,r,a){const s=-3*o+9*n-9*r+3*a,l=t*s+6*o-12*n+6*r;return t*l-3*o+3*n}static bezlen(t,o,n,r,a,s,l,i,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.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 h=0;for(let p=0;p<12;p++){const w=u*f[p]+u,x=this.base3(w,t,n,a,l),v=this.base3(w,o,r,s,i);h+=d[p]*Math.sqrt(x*x+v*v)}return u*h}length(t=1){return Mn.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const o=this.x,n=this.y,r=this.c1x,a=this.c1y,s=this.c2x,l=this.c2y,i=this.toX,c=this.toY;if(t<0||Mn.bezlen(o,n,r,a,s,l,i,c)<t)return 0;let u=1,f=u/2,d=u-f,h=Mn.bezlen(o,n,r,a,s,l,i,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Mn.bezlen(o,n,r,a,s,l,i,c,d);return d}getPointAtSegmentLength(t){const o=this.getTatLen(t);let n=1-o,r=Math.pow(n,3),a=Math.pow(n,2),s=o*o,l=s*o,i=r*this.x+a*3*o*this.c1x+n*3*o*o*this.c2x+l*this.toX,c=r*this.y+a*3*o*this.c1y+n*3*o*o*this.c2y+l*this.toY,u=this.x+2*o*(this.c1x-this.x)+s*(this.c2x-2*this.c1x+this.x),f=this.y+2*o*(this.c1y-this.y)+s*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*o*(this.c2x-this.c1x)+s*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*o*(this.c2y-this.c1y)+s*(this.toY-2*this.c2y+this.c1y),p=n*this.x+o*this.c1x,w=n*this.y+o*this.c1y,x=n*this.c2x+o*this.toX,v=n*this.c2y+o*this.toY,g=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:i,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:w},end:{x,y:v},alpha:g}}}const qo=Mn,Or=Math.PI*2;function Hf(e,t,o,n){const r=e*n-t*o<0?-1:1;let a=e*o+t*n;return a>1&&(a=1),a<-1&&(a=-1),r*Math.acos(a)}function yv(e,t,o,n,r,a,s,l,i,c){const u=c*(e-o)/2+i*(t-n)/2,f=-i*(e-o)/2+c*(t-n)/2,d=s*s,h=l*l,p=u*u,w=f*f;let x=d*h-d*w-h*p;x<0&&(x=0),x/=d*w+h*p,x=Math.sqrt(x)*(r===a?-1:1);const v=x*s/l*f,g=x*-l/s*u,y=c*v-i*g+(e+o)/2,m=i*v+c*g+(t+n)/2,_=(u-v)/s,C=(f-g)/l,M=(-u-v)/s,X=(-f-g)/l,G=Hf(1,0,_,C);let V=Hf(_,C,M,X);return a===0&&V>0&&(V-=Or),a===1&&V<0&&(V+=Or),[y,m,G,V]}function vv(e,t){const o=1.3333333333333333*Math.tan(t/4),n=Math.cos(e),r=Math.sin(e),a=Math.cos(e+t),s=Math.sin(e+t);return[n,r,n-r*o,r+n*o,a+s*o,s-a*o,a,s]}function Wf(e,t,o,n,r,a,s,l,i){const c=Math.sin(i*Or/360),u=Math.cos(i*Or/360),f=u*(e-o)/2+c*(t-n)/2,d=-c*(e-o)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(s===0||l===0)return[];s=Math.abs(s),l=Math.abs(l);const h=f*f/(s*s)+d*d/(l*l);h>1&&(s*=Math.sqrt(h),l*=Math.sqrt(h));const p=yv(e,t,o,n,r,a,s,l,c,u),w=[];let x=p[2],v=p[3];const g=Math.max(Math.ceil(Math.abs(v)/(Or/4)),1);v/=g;for(let y=0;y<g;y++)w.push(vv(x,v)),x+=v;return w.map(y=>{for(let m=0;m<y.length;m+=2){let _=y[m+0],C=y[m+1];_*=s,C*=l;const M=u*_-c*C,X=c*_+u*C;y[m+0]=M+p[0],y[m+1]=X+p[1]}return y})}function tl(e,t,o,n,r,a){return[e/3+.6666666666666666*o,t/3+.6666666666666666*n,r/3+.6666666666666666*o,a/3+.6666666666666666*n,r,a]}function Pr(e,t,o,n){return[e,t,o,n,o,n]}const Za={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class wn{static createSVGElement(t="path",o){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return o&&xv(n,o),n}static createSvgPath(t,o){return this.createSVGElement("path",{d:t,id:o||Dn()})}static downloadFromSVGElement(t,o="shape"){return dd(Gy(t),`${o}.svg`)}static downloadFromSVGString(t,o="shape"){return dd(If(t),`${o}.svg`)}static getSVGRawStringFromElement(t){return Ff(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(o=>{if(!o[0])return"";switch(o[0].toLowerCase()){case"a":return`${o[0]} ${o[1]},${o[2]} ${o[3]} ${o[4]},${o[5]} ${o[6]},${o[7]}`;case"c":return`${o[0]} ${o[1]},${o[2]} ${o[3]},${o[4]} ${o[5]},${o[6]}`;case"s":case"q":return`${o[0]} ${o[1]},${o[2]} ${o[3]},${o[4]}`;default:return o[0]+" "+o.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const o=[];return wn.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,r,a)=>{let s=r.toLowerCase();const l=zi(a);for(s=="m"&&l.length>Za[s]&&(o.push([r,...l.splice(0,Za[s])]),s="l",r=r=="m"?"l":"L");l.length;){if(l.length<Za[s])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${r} } args:{ ${l} }`);o.push([r,...l.splice(0,Za[s])])}return s=="z"&&o.push([r]),""}),o}static absolutizeSVGPath(t){let o=0,n=0,r=0,a=0;return t.map(function(s){const l=s[0],i=l.toUpperCase();if(l!=i)switch(s[0]=i,l){case"a":s[6]+=r,s[7]+=a;break;case"v":s[1]+=a;break;case"h":s[1]+=r;break;default:for(let c=1;c<s.length;)s[c++]+=r,s[c++]+=a}switch(i){case"Z":r=o,a=n;break;case"H":r=s[1];break;case"V":a=s[1];break;case"M":r=o=s[1],a=n=s[2];break;default:r=s[s.length-2],a=s[s.length-1]}return s})}static relativeSVGPath(t){let o=0,n=0,r=0,a=0;return t.map(function(s){const l=s[0],i=l.toLowerCase();if(l!=i)switch(s[0]=i,l){case"A":s[6]-=r,s[7]-=a;break;case"V":s[1]-=a;break;case"H":s[1]-=r;break;default:for(let c=1;c<s.length;)s[c++]-=r,s[c++]-=a}switch(i){case"z":r=o,a=n;break;case"h":r+=s[1];break;case"v":a+=s[1];break;case"m":r+=s[1],a+=s[2],o+=s[1],n+=s[2];break;default:r+=s[s.length-2],a+=s[s.length-1]}return s})}static normalizeSVGPath(t){const o=[];let n=0,r=0,a=0,s=0,l=0,i=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const w=p[0];switch(w){case"M":n=p[1],r=p[2];break;case"A":const x=Wf(a,s,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!x.length)continue;x.forEach((y,m)=>{const[_,C,M,X,G,V,pt,K]=y;p=["C",M,X,G,V,pt,K],m<x.length-1&&o.push(p)});break;case"S":let v=a,g=s;(f=="C"||f=="S")&&(v+=v-c,g+=g-u),p=["C",v,g,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(l=a*2-l,i=s*2-i):(l=a,i=s),p=["C",...tl(a,s,l,i,p[1],p[2])];break;case"Q":l=p[1],i=p[2],p=["C",...tl(a,s,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Pr(a,s,p[1],p[2])];break;case"H":p=["C",...Pr(a,s,p[1],s)];break;case"V":p=["C",...Pr(a,s,a,p[1])];break;case"Z":p=["C",...Pr(a,s,n,r)];break}f=w,a=p[p.length-2],s=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=a,u=s),o.push(p)}return o}static catmullRom2bezier(t){const o=[];for(let n=0,r=t.length;r-2>n;n+=2){let a;n==0?a=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:r-4==n?a=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:a=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const s=[{x:a[1].x,y:a[1].y},{x:(-a[0].x+6*a[1].x+a[2].x)/6,y:(-a[0].y+6*a[1].y+a[2].y)/6},{x:(a[1].x+6*a[2].x-a[3].x)/6,y:(a[1].y+6*a[2].y-a[3].y)/6},{x:a[2].x,y:a[2].y}];o.push(["C",s[1].x,s[1].y,s[2].x,s[2].y,s[3].x,s[3].y])}return o}static zvhToLSVGPath(t){const o=[];let n=["L",0,0],r;for(let a=0,s=t.length;a<s;a++){const l=t[a];switch(l[0]){case"M":n=["L",l[1],l[2]],o.push(l);break;case"Z":o.push(n);break;case"H":r=o[o.length-1]||["L",0,0],o.push(["L",l[1],r[r.length-1]]);break;case"V":r=o[o.length-1]||["L",0,0],o.push(["L",r[r.length-2],l[1]]);break;default:o.push(l)}}return o}static longhandSVGPath(t){const o={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,r=0,a=0;for(let s=0,l=t.length;s<l;s++){const i=t[s],c=o[i[0]];c&&(i[0]=c.to,n&&(n[0]===c.to?(r=2*Number(n[c.x+2])-Number(n[c.x]),a=2*Number(n[c.x+3])-Number(n[c.x+1])):(r=Number(n[n.length-2]),a=Number(n[n.length-1]))),i.splice(1,0,r,a)),n=i}return t}}class mo{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,o){typeof t=="string"?this.resetFromSVGPathData(wn.parseSVGPath(t),o):t instanceof mo?this.resetFromSVGPathData(t.toSVGPathData(),o):this.resetFromSVGPathData(t||[],o)}resetFromSVGPathData(t,o){this.normalizedLines=[];const n=wn.normalizeSVGPath(wn.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let r=!1;for(let a=0,s=n.length;a<s;a++){const l=n[a];if(l[0]=="M"){r||(r=!0,this.startPathX=l[1],this.startPathY=l[2]),this.prevPathX=l[1],this.prevPathY=l[2];continue}this.appendLine(new qo({c1x:l[1],c1y:l[2],c2x:l[3],c2y:l[4],toX:l[5],toY:l[6]}))}o&&({x:this.startPathX,y:this.startPathY}=o.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=o.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(a=>{({x:a.x,y:a.y}=o.transformPoint({x:a.x,y:a.y})),{x:a.c1x,y:a.c1y}=o.transformPoint({x:a.c1x,y:a.c1y}),{x:a.c2x,y:a.c2y}=o.transformPoint({x:a.c2x,y:a.c2y}),{x:a.toX,y:a.toY}=o.transformPoint({x:a.toX,y:a.toY})}))}static fromPolymorphPoints(t){const o=new mo;o.prevPathX=o.startPathX=t[0]||0,o.prevPathY=o.startPathY=t[1]||0;for(let n=2,r=t.length;n+5<r;n+=6)o.appendLine(new qo({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return o}static fromLines(t){const o=new mo;o.prevPathX=o.startPathX=t[0].x||0,o.prevPathY=o.startPathY=t[0].y||0;for(let n=0,r=t.length;n<r;n++)o.appendLine(t[n]);return o}appendLine(t){if(t instanceof hv){Wf(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,w,x,v]=c;this.normalizedLines.push(new qo({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:w,toX:x,toY:v})),this.prevPathX=x,this.prevPathY=v});return}let o,n,r,a,s,l;t instanceof qo?(o=t.c1x,n=t.c1y,r=t.c2x,a=t.c2y,s=t.toX,l=t.toY):t instanceof gv?[o,n,r,a,s,l]=tl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[o,n,r,a,s,l]=Pr(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new qo({x:this.prevPathX,y:this.prevPathY,c1x:o,c1y:n,c2x:r,c2y:a,toX:s,toY:l})),this.prevPathX=s,this.prevPathY=l}toSVGPathData(){const{startPathX:t,startPathY:o,normalizedLines:n}=this.updateTransform(),r=[];r.push(["M",t,o]);for(let a=0,s=n.length;a<s;a++)r.push(...n[a].toSVGPathData());return r}toSVGPathD(){return wn.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:o,startPathY:n,normalizedLines:r}=this.updateTransform();t.beginPath(),t.moveTo(o,n),r.forEach(a=>{a.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),o=[],n=[];if(t.forEach(i=>{const c=i.getBoundingClientRect();o.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),o.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const r=Math.min.apply(0,o),a=Math.min.apply(0,n),s=Math.max.apply(0,o),l=Math.max.apply(0,n);return{x:r,y:a,width:s-r,height:l-a}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Ke;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let o=this.startPathX,n=this.startPathY;({x:o,y:n}=t.transformPoint({x:o,y:n}));const r=[];return this.normalizedLines.forEach(a=>{let s=a.x,l=a.y,i=a.c1x,c=a.c1y,u=a.c2x,f=a.c2y,d=a.toX,h=a.toY;({x:s,y:l}=t.transformPoint({x:s,y:l})),{x:i,y:c}=t.transformPoint({x:i,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),r.push(new qo({x:s,y:l,c1x:i,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:o,startPathY:n,normalizedLines:r}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((o,n)=>o+=n.length(),0)}getPointAtLength(t){const{normalizedLines:o}=this.updateTransform();let n=0;const r=o.length;for(let a=0;a<r;a++){const s=o[a],l=s.length();if(n+l>=t)return s.getPointAtSegmentLength(t-n);n+=l}return o[r-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:o,startPathY:n,normalizedLines:r}=this.updateTransform(),a=r.length;if(a===0)return{x:o,y:n};if(a===1)return r[0].interpolate(t);{let s=t*a,l=r[0];if(s--,s>1)for(let i=1;i<a&&(l=r[i],s>1);i++)s-=1;return l.interpolate(s)}}getSubpath(t,o){if(this.getTotalLength()-o<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,o,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,o,n){const{startPathX:r,startPathY:a,normalizedLines:s}=t.updateTransform();let l=null,i=0;const c=new mo;c.prevPathX=c.startPathX=r,c.prevPathY=c.startPathY=a;for(let u=0,f=s.length;u<f;u++){const d=s[u],h=d.length();if(i+h>o&&!l){const p=d.getPointAtSegmentLength(o-i);if(c.appendLine(new qo({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;l=c,c.appendLine(new qo({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),i+=h;continue}i+=h,c.appendLine(d)}return c}closestPoint(t,o){const n=this.getTotalLength();let r={x:t,y:o},a=0,s=1/0,l=8;for(let c=0;c<=n;c+=l){let u=this.getPointAtLength(c),f=Ki(u.x,u.y,t,o);f<s&&(r=u,a=c,s=f)}for(l/=2;l>.5;){let c=a-l,u=this.getPointAtLength(c),f=Ki(u.x,u.y,t,o),d=a+l,h=this.getPointAtLength(d),p=Ki(h.x,h.y,t,o);c>=0&&f<s?(r=u,a=c,s=f):d<=n&&p<s?(r=h,a=d,s=p):l/=2}const i=this.getPointAtLength(a+(a===n?-.1:.1));return{point:r,rotation:a>=n?Ma(i.x,i.y,r.x,r.y):Ma(r.x,r.y,i.x,i.y),distance:Math.sqrt(s)}}get polymorphPoints(){const{startPathX:t,startPathY:o,normalizedLines:n}=this.updateTransform();return[t,o].concat(n.reduce((r,a)=>r.concat([a.c1x,a.c1y,a.c2x,a.c2y,a.toX,a.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,o=t.length;let n=t[o-2],r=t[o-1],a=0;for(let s=0;s<o;s+=6)a+=Zf(t[s],t[s+1],n,r),n=t[s],r=t[s+1];return Math.floor(a)}expendFill(t){const o=this.polymorphPoints,n=o.length;let r=t-n;const a=Math.ceil(t/n),s=[];s.push(["M",o[0],o[1]]);let l=2;for(;l+5<=n-1;){const i=o[l++],c=o[l++],u=o[l++],f=o[l++],d=o[l++],h=o[l++];s.push(["C",i,c,u,f,d,h]);let p=0;for(;p<a&&r>0;)s.push(["C",d,h,d,h,d,h]),r-=6,p++}return s}static mixPoints(t,o,n){const r=t.length,a=new Array(r);for(let s=0;s<r;s++)a[s]=Pe(t[s]+(o[s]-t[s])*n,6);return a}static getPathInterpolator(t,o){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?o:mo.fromPolymorphPoints(mo.mixPoints(new mo({d:t}).polymorphPoints,new mo({d:o}).polymorphPoints,n)).toSVGPathData()}}class Rr extends $a{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=Dn(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=zi(n).reduce((r,a)=>r+a,0)}return Yy(this)}forceSetCXY(t,o){this.cX=t,this.cY=o,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new mo,My(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,o){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),o={x:this.x,y:this.y};return t&&(o.x=t.x+t.width/2,o.y=t.y+t.height/2),o}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const r=n.originMatrix?n.originMatrix.clone():new Ke;r.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=r});const o=this.originMatrix?this.originMatrix.clone():new Ke;o.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=o}isPointInPath(t,o,n){if(n instanceof Ji)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,o);let r;try{r=new SVGPoint(t,o)}catch{r=n.createSVGPoint(),r.x=t,r.y=o}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(r);{const a=this.getBoundingClientRect();if(a)return t>=a.x&&t<=a.x+a.width&&o>=a.y&&o<=a.y+a.height}return!1}isPointInStroke(t,o,n){if(n instanceof Ji)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,o);let r;try{r=new SVGPoint(t,o)}catch{r=n.createSVGPoint(),r.x=t,r.y=o}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(r):!1}clone(){return wy(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,o){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,r])=>[No(n),r]))):o&&(this.attrs[No(t)]=o)}getAttr(t,o){return this.attrs[t]||this.attrs[No(t)]||o}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[No(t)]}distance(t){return Zf(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=qe(Ma(this.x,this.y,t.x,t.y))}followTo(t,o=3){this.rotateTo(t);const{dx:n,dy:r}=Ba(ae(this.degree),o);this.vx=n,this.vy=r,this.run()}followAccelerationTo(t,o=.05){this.rotateTo(t);const{dx:n,dy:r}=Ba(ae(this.degree),o);this.ax=n,this.ay=r,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const o=t.x-this.x,n=t.y-this.y,r=o*o+n*n,a=Math.sqrt(r),s=this.mass*t.mass/r,l=s*o/a,i=s*n/a;this.vx+=l/this.mass,this.vy+=i/this.mass,t.vx-=l/t.mass,t.vy-=i/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const o=xn(t?.gravity,0);this.vy+=o;const n=xn(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,o){const n=xn(o?.easing,.05),r=t.x-this.cX-this.x,a=t.y-this.cY-this.y;this.vx=r*n,this.vy=a*n,this.run(o)}runSpringTo(t,o){const n=xn(o?.spring,.03);(Array.isArray(t)?t:[t]).forEach(r=>{const a=r.x-this.cX-this.x,s=r.y-this.cY-this.y,l=a*n,i=s*n;this.vx+=l,this.vy+=i}),this.run({friction:.9,...o})}springMassTo(t,o){const n=xn(o?.springLength,100),r=xn(o?.spring,1e-4),a=t.x-this.x,s=t.y-this.y,l=Math.sqrt(a*a+s*s);if(l<n){const i=a*r,c=s*r;return this.vx+=i/this.mass,this.vy+=c/this.mass,t.vx-=i/t.mass,t.vy-=c/t.mass,1-l/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,o=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,o*n),this.getPointAtLength(o*n)}strokeDashTween(t=1e3,o){const n=this.initPathD(),r=Pe(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${r} ${r}`,strokeDashoffset:`${r}`});const a=o?.onUpdate,s=new Ze({frameDuration:t});s.addTween({offset:r},{offset:0},Object.assign(o||{},{onUpdate:(l,i)=>{this.setAttr("strokeDashoffset",""+Pe(l.offset,2)),a?.(l,i)}})),s.play()}}const bv=Rr;class _v extends Rr{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,o){this.vpX=t,this.vpY=o}setCenter(t,o,n){this.cX=t,this.cY=o,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=el(ae(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=el(ae(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=el(ae(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return Xf(this.x,this.y,this.z)}distance(t){const o=t.x-this.x,n=t.y-this.y,r=t.z-this.z;return Math.sqrt(o*o+n*n+r*r)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const o=this.length();if(o){const n=t/o;this.scalar(n)}return this}clamp(t){const o=this.length();return o&&o>t&&this.scalar(t/o),this}cross(t){const o=this.x,n=this.y,r=this.z;return{x:n*t.z-r*t.y,y:r*t.x-o*t.z,z:o*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const o=this.dot(t);return{x:this.x-2*o*t.x,y:this.y-2*o*t.y,z:this.z-2*o*t.z}}}const Ga=_v,qf=[1,0,0,1,0,0],Kf=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ke{value;_m13=0;_m23=0;_m33=1;matrix3d;constructor(t=qf){this.value=Array.from(t),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D()}static fromString(t){const o=new Ke,n=Cf("number",t);return n.length===6&&n.forEach((r,a)=>{r.fullMatch&&(o.value[a]=parseFloat(r.fullMatch))}),o}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}toMatrix3D(t=this.matrix3d){const o=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=o,t):new ao(o)}identity(){return this.value=Array.from(qf),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}scalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.scalar(1/t)}transformPoint(t){const o=t.z||1;return{x:t.x*this.m11+t.y*this.m21+o*this.m31,y:t.x*this.m12+t.y*this.m22+o*this.m32,z:t.x*this.m13+t.y*this.m23+o*this.m33}}clone(){return new Ke([...this.value])}multiply(t){const o=this.clone(),n=t instanceof Ke?t:new Ke(t);return this.m11=n.m11*o.m11+n.m12*o.m21+n.m13*o.m31,this.m12=n.m11*o.m12+n.m12*o.m22+n.m13*o.m32,this.m13=n.m11*o.m13+n.m12*o.m23+n.m13*o.m33,this.m21=n.m21*o.m11+n.m22*o.m21+n.m23*o.m31,this.m22=n.m21*o.m12+n.m22*o.m22+n.m23*o.m32,this.m23=n.m21*o.m13+n.m22*o.m23+n.m23*o.m33,this.m31=n.m31*o.m11+n.m32*o.m21+n.m33*o.m31,this.m32=n.m31*o.m12+n.m32*o.m22+n.m33*o.m32,this.m33=n.m31*o.m13+n.m32*o.m23+n.m33*o.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}inverse(){const t=this.m11,o=this.m12,n=this.m13,r=this.m21,a=this.m22,s=this.m23,l=this.m31,i=this.m32,c=this.m33,u=c*a-s*i,f=-c*r+s*l,d=i*r-a*l;let h=t*u+o*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*o+n*i)*h,this.m13=(s*o-n*a)*h,this.m21=f*h,this.m22=(c*t-n*l)*h,this.m23=(-s*t+n*r)*h,this.m31=d*h,this.m32=(-i*t+o*l)*h,this.m33=(a*t-o*r)*h,this):null}adjugate(){const t=new Ke;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:qe(Math.atan2(-this.m21,this.m22)),skewY:qe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const o=this.value[0],n=this.value[1],r=this.value[2],a=this.value[3],s=this.value[4],l=this.value[5],i=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=i*f,w=c*u,x=(u*n-o*f)/(w-p),v=(i*n-o*c)/(p-w),g=(u*a-r*f)/(w-p),y=(i*a-r*c)/(p-w),m=(u*(l-h)+f*(d-s))/(w-p),_=(i*(l-h)+c*(d-s))/(p-w),C=[x,v,g,y,m,_];return new Ke(C)}toString(t=6){return this.matrix3d.is2D()?`matrix(${this.value.map(o=>Pe(o,t)).join(",")})`:this.matrix3d.toString()}translate(t,o){return this.multiply([1,0,0,1,t,o]),this.toMatrix3D(),this}translateTo(t,o){return this.translate(t-this.m31,o-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix3d.translate(0,0,t),this.matrix3d.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix3d.m43),this}translate3d(t,o,n){return this.matrix3d.translate(t,o,n),this.matrix3d.toMatrix(this),this}translate3dTo(t,o,n){return this.translate3d(t-this.matrix3d.m41,o-this.matrix3d.m42,n-this.matrix3d.m43),this}rotate(t,o=0,n=0){const r=ae(t),a=Math.cos(r),s=Math.sin(r);return this.translate(o,n),this.multiply([a,s,-s,a,0,0]),this.translate(-o,-n),this.toMatrix3D(),this}rotateTo(t,o=0,n=0){const{degree:r}=this.split();return this.rotate(t-r,o,n),this}rotateX(t){return this.matrix3d.rotateX(t),this.matrix3d.toMatrix(this),this}rotateXTo(t){const{degreeX:o}=this.matrix3d.split();return this.rotateX(t-o),this}rotateY(t){return this.matrix3d.rotateY(t),this.matrix3d.toMatrix(this),this}rotateYTo(t){const{degreeY:o}=this.matrix3d.split();return this.rotateY(t-o),this}rotateZ(t){return this.matrix3d.rotateZ(t),this.matrix3d.toMatrix(this),this}rotateZTo(t){const{degreeZ:o}=this.matrix3d.split();return this.rotateZ(t-o),this}rotate3d(t,o,n){return this.matrix3d.rotateX(t).rotateY(o).rotateZ(n),this.matrix3d.toMatrix(this),this}rotate3dTo(t,o,n){const{degreeX:r,degreeY:a,degreeZ:s}=this.matrix3d.split();return this.rotate3d(t-r,o-a,n-s),this}scale(t,o=t,n=0,r=0){return this.translate(n,r),this.multiply([t,0,0,o,0,0]),this.translate(-n,-r),this.toMatrix3D(),this}scaleTo(t,o=t,n=0,r=0){return this.scale(t/this.m11,o/this.m22,n,r)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix3d.scale(1,1,t),this.matrix3d.toMatrix(this),this}scaleZTo(t){const{scalarZ:o}=this.matrix3d.split();return this.scaleZ(t/o),this}scale3d(t,o=t,n=t){return this.matrix3d.scale(t,o,n),this.matrix3d.toMatrix(this),this}scale3dTo(t,o=t,n=t){const{scalarX:r,scalarY:a,scalarZ:s}=this.matrix3d.split();return this.scale3d(t/r,o/a,n/s),this}skew(t,o=t){return this.multiply([Math.cos(ae(o)),Math.sin(ae(o)),-Math.sin(ae(t)),Math.cos(ae(t)),0,0]),this.toMatrix3D(),this}skewTo(t,o=t){const{skewX:n,skewY:r}=this.split();return this.skew(t-n,o-r)}skewX(t){const{skewY:o}=this.split();return this.skew(t,o)}skewXTo(t){const{skewY:o}=this.split();return this.skewTo(t,o)}skewY(t){const{skewX:o}=this.split();return this.skew(o,t)}skewYTo(t){const{skewX:o}=this.split();return this.skewTo(o,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,o,n){return this}skew3dTo(t,o,n){return this}perspective(t){return this.matrix3d.perspective(t),this.matrix3d.toMatrix(this),this}}class ao{value;is3dSpecial=!1;constructor(t=Kf){this.value=Array.from(t)}static fromString(t){const o=new ao,n=Cf("number",t);return n.length===16&&n.forEach((r,a)=>{r.fullMatch&&(o.value[a]=parseFloat(r.fullMatch))}),o}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from(Kf),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}clone(){return new ao([...this.value])}scalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this.m41*=t,this.m42*=t,this.m43*=t,this.m44*=t,this}normalize(){return this.scalar(1/(this.m44||1e-4))}transformPoint(t){const o=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+o*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+o*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+o*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+o*this.m34+n*this.m44}}toMatrix(t){const{scalarX:o,scalarY:n,skewX:r,skewY:a,x:s,y:l}=this.split(),i=[o,a,r,n,s,l];return t?(t.value=i,t):new Ke(i)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix3d(${this.value.map(o=>Pe(o,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),o=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),r=qe(le(Math.asin(-this.m13),-1,1));let a=qe(Math.atan2(this.m23,this.m33));Math.cos(ae(r))===0&&(a=qe(Math.atan2(-this.m31,this.m22)));let s=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(s+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:o,scalarZ:n,degreeX:a,degreeY:r,degreeZ:s,skewX:qe(this.m14),skewY:qe(this.m24),skewZ:qe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}inverse(){const t=[],o=this.m11,n=this.m12,r=this.m13,a=this.m14,s=this.m21,l=this.m22,i=this.m23,c=this.m24,u=this.m31,f=this.m32,d=this.m33,h=this.m34,p=this.m41,w=this.m42,x=this.m43,v=this.m44;t[0]=i*h*w-c*d*w+c*f*x-l*h*x-i*f*v+l*d*v,t[1]=a*d*w-r*h*w-a*f*x+n*h*x+r*f*v-n*d*v,t[2]=r*c*w-a*i*w+a*l*x-n*c*x-r*l*v+n*i*v,t[3]=a*i*f-r*c*f-a*l*d+n*c*d+r*l*h-n*i*h;const g=o*t[0]+s*t[1]+u*t[2]+p*t[3];if(g==0)return console.warn("Can't invert matrix, determinant is 0");t[4]=c*d*p-i*h*p-c*u*x+s*h*x+i*u*v-s*d*v,t[5]=r*h*p-a*d*p+a*u*x-o*h*x-r*u*v+o*d*v,t[6]=a*i*p-r*c*p-a*s*x+o*c*x+r*s*v-o*i*v,t[7]=r*c*u-a*i*u+a*s*d-o*c*d-r*s*h+o*i*h,t[8]=l*h*p-c*f*p+c*u*w-s*h*w-l*u*v+s*f*v,t[9]=a*f*p-n*h*p-a*u*w+o*h*w+n*u*v-o*f*v,t[10]=n*c*p-a*l*p+a*s*w-o*c*w-n*s*v+o*l*v,t[11]=a*l*u-n*c*u-a*s*f+o*c*f+n*s*h-o*l*h,t[12]=i*f*p-l*d*p-i*u*w+s*d*w+l*u*x-s*f*x,t[13]=n*d*p-r*f*p+r*u*w-o*d*w-n*u*x+o*f*x,t[14]=r*l*p-n*i*p-r*s*w+o*i*w+n*s*x-o*l*x,t[15]=n*i*u-r*l*u+r*s*f-o*i*f-n*s*d+o*l*d,this.value=t,this.scalar(1/g)}multiply(t){const o=this.clone();return this.m11=t.m11*o.m11+t.m12*o.m21+t.m13*o.m31+t.m14*o.m41,this.m12=t.m11*o.m12+t.m12*o.m22+t.m13*o.m32+t.m14*o.m42,this.m13=t.m11*o.m13+t.m12*o.m23+t.m13*o.m33+t.m14*o.m43,this.m14=t.m11*o.m14+t.m12*o.m24+t.m13*o.m34+t.m14*o.m44,this.m21=t.m21*o.m11+t.m22*o.m21+t.m23*o.m31+t.m24*o.m41,this.m22=t.m21*o.m12+t.m22*o.m22+t.m23*o.m32+t.m24*o.m42,this.m23=t.m21*o.m13+t.m22*o.m23+t.m23*o.m33+t.m24*o.m43,this.m24=t.m21*o.m14+t.m22*o.m24+t.m23*o.m34+t.m24*o.m44,this.m31=t.m31*o.m11+t.m32*o.m21+t.m33*o.m31+t.m34*o.m41,this.m32=t.m31*o.m12+t.m32*o.m22+t.m33*o.m32+t.m34*o.m42,this.m33=t.m31*o.m13+t.m32*o.m23+t.m33*o.m33+t.m34*o.m43,this.m34=t.m31*o.m14+t.m32*o.m24+t.m33*o.m34+t.m34*o.m44,this.m41=t.m41*o.m11+t.m42*o.m21+t.m43*o.m31+t.m44*o.m41,this.m42=t.m41*o.m12+t.m42*o.m22+t.m43*o.m32+t.m44*o.m42,this.m43=t.m41*o.m13+t.m42*o.m23+t.m43*o.m33+t.m44*o.m43,this.m44=t.m41*o.m14+t.m42*o.m24+t.m43*o.m34+t.m44*o.m44,this}translate(t=0,o=0,n=0){return this.multiply(new ao([1,0,0,0,0,1,0,0,0,0,1,0,t,o,n,1]))}scale(t=1,o=1,n=1){return this.multiply(new ao([t,0,0,0,0,o,0,0,0,0,n,0,0,0,0,1]))}rotateX(t){const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([1,0,0,0,0,n,r,0,0,-r,n,0,0,0,0,1]))}rotateY(t){const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([n,0,-r,0,0,1,0,0,r,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([n,r,0,0,-r,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,o=0,n=0){return this.multiply(new ao([1,0,0,ae(t),0,1,0,ae(o),0,0,1,ae(n),0,0,0,1]))}perspective(t){return this.multiply(new ao([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let o=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,r=t.x*this.m13+t.y*this.m23+this.m43,a=t.x*this.m14+t.y*this.m24+this.m44,s=o+this.m31,l=n+this.m32,i=r+this.m33,c=a+this.m34;a==0&&(a=1e-4),o/=a,n/=a,r/=a,c==0&&(c=1e-4),s/=c,l/=c,i/=c;const u=i-r;if(u==0)return{x:o,y:n,z:r,mass:a};const f=-r/u;return o+=f*(s-o),n+=f*(l-n),{x:o,y:n,z:r,mass:a}}project(t){const o=t.z;let n=t.x*this.m11+t.y*this.m21+o*this.m31+this.m41,r=t.x*this.m12+t.y*this.m22+o*this.m32+this.m42,a=t.x*this.m14+t.y*this.m24+o*this.m34+this.m44;return a==0&&(a=1e-4),n/=a,r/=a,a<0&&(n-=this.m41,r-=this.m42,n*=1/a,r*=1/a,n+=this.m41,r+=this.m42),{x:n,y:r,z:o,mass:a}}bounds(t,o,n,r){const a=new Ga({x:t,y:o}),s=new Ga({x:t+n,y:o}),l=new Ga({x:t+n,y:o+r}),i=new Ga({x:t,y:o+r});({x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a)),{x:s.x,y:s.y,z:s.z,mass:s.mass}=this.project(s),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i);const c=Math.min(a.x,s.x,l.x,i.x),u=Math.min(a.y,s.y,l.y,i.y),f=Math.max(a.x,s.x,l.x,i.x)-c,d=Math.max(a.y,s.y,l.y,i.y)-u;return{x:c,y:u,width:f,height:d}}}function el(e,t,o){const n=new Ke;return n.rotate(qe(e)),n.transformPoint({x:t,y:o})}function ol(e,t,o){const n=Vf(e);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[gy(t)]||n.props.style[No(t)]||"":n.props.style}function Qf(e){const t={};if(getComputedStyle){const o=getComputedStyle(e);for(let n=0,r=o.length;n<r;n++)t[o[n]]=o.getPropertyValue(t[n])}else{const o=e.currentStyle;for(const n in o)t[n]=o[n]}return e.style.cssText&&e.style.cssText.split(";").filter(o=>!!o).forEach(o=>{const[n,r]=o.split(":");n&&r&&(t[n.trim()]=r.trim())}),t}function nl(e,t,o){typeof t=="string"&&o?e.style.setProperty(No(t),o.replace(/!important/i,""),String(o).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{nl(e,n,t[n])})}function Jf(e,t){typeof t=="string"?e.style.removeProperty(No(t)):Object.keys(t).forEach(o=>{Jf(e,o)})}function go(e,t){let o;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?o=r:o=document.querySelector(t)}else o=t||document.getElementsByTagName("head")[0];const n=document.createElement("style");if(n.innerHTML=e,o)return o.appendChild(n),()=>{(o instanceof HTMLElement||o instanceof ShadowRoot)&&o.removeChild(n)};{const r=document.styleSheets[0].insertRule(e);return()=>{document.styleSheets[0].deleteRule(r)}}}function xv(e,t,o){if(t===void 0&&o===void 0)return td(e);if(typeof t=="string"&&o===void 0)return kv(e,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof o=="string"&&(n[t]=""+o),lv(e,r=>{Object.entries(n).forEach(([a,s])=>{r.props[a]=""+s})})}function td(e){const t={};for(let o=0,n=e.attributes,r=n.length;o<r;o++){const a=n[o];a.nodeName&&a.nodeValue&&(a.nodeName==="style"?t[a.nodeName]=Qf(e):t[a.nodeName]=a.nodeValue)}return t}function kv(e,t){return t==="style"?Qf(e):e.getAttribute(No(t))}function ed(e,t,o){return e.setAttribute(No(t),""+o)}function wv(e,t){const o=[];return o.push(Be(e,"dragenter",n=>{Da(n),t?.onEnter?.(n)})),o.push(Be(e,"dragover",n=>{Da(n);const r=n.dataTransfer;r&&(r.dropEffect="move"),t?.onOver?.(n)})),o.push(Be(e,"dragleave",n=>{Da(n),t?.onLeave?.(n)})),o.push(Be(e,"drop",n=>{Da(n);const r=n.dataTransfer;if(!r){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...r.files])})),()=>{o.forEach(n=>n())}}const so=Tr();let od="";new MutationObserver((e,t)=>{location.href!==od&&(od=location.href,so.emit("urlchange",location.href))}).observe(document,{attributes:!0,childList:!0,subtree:!0}),Be(window,"hashchange",()=>{so.emit("hashchange",location.hash)}),Be(window,"popstate",e=>{so.emit("popstate",e.state)}),Be(window,"orientationchange"in window?"orientationchange":"resize",e=>{const t=e.target.innerWidth,o=e.target.innerHeight;so.emit("windowresize",t,o)}),Be(window,"load",e=>{so.emit("load",e)}),Be(window,"beforeunload",e=>{so.emit("beforeunload",e)}),Be(window,"pagehide",e=>{so.emit("pagehide",e)}),Be(window,"focus",e=>{so.emit("focus",e)}),Be(window,"blur",e=>{so.emit("blur",e)}),Be(window,"visibilitychange",e=>{document.hidden?so.emit("windowhidden",e):so.emit("windowvisible",e)});function nd(e){document.getElementsByTagName("title")[0].innerText=e,document.title=e}let rd=!1;function Ua(){rd||(rd=!0,go(`
39
- /* iOS > 11.2 */
40
- /* 注意:--xxx:后面不要有空格 */
38
+ `.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},Qy=(o,t)=>(typeof o=="string"&&(o=Lr(o)||new RegExp(o)),o.test(t)),qf=(o,t)=>{typeof o=="string"&&(o=Lr(o)||new RegExp(o));const e=t.match(o);return e?o.flags.toLowerCase().indexOf("g")>=0?e.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},Kf=(o,t)=>{typeof o=="string"&&(o=Lr(o)||new RegExp(o));const e=[],n=t.matchAll(o);for(const s of n)e.push({matchIndex:typeof s.index=="number"?s.index:-1,fullMatch:s[0],groupMatchs:s.slice(1)});return e};function zn(o=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let n="";for(let s=0;s<o;s++)n+=t[Math.floor(Math.random()*e)];return n}function Jy(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const Fo=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function t1(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function e1(o){return Jy(t1(o))}const tl=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o),o1="[object String]",n1="[object Symbol]";function Qf(o){return Object.prototype.toString.call(o)}function s1(o){return o!=null}function r1(o){return Qf(o)===o1}function a1(o){return o===o+0}function i1(o){return Qf(o)===n1}function l1(o,...t){return new o.constructor(...t)}function Jf(o){for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function Ps(o=[],t=[]){const e=o.length,n=t.length;for(let r=0;r<n;r++)o[r]=t[r];let s=Math.max(0,e-n);for(;s>0;)o.pop(),s--;return o}function td(o,t){const e=o.findIndex(n=>n===t);return e>=0&&o.splice(e,1),o}function c1(o,t){return o.findIndex(e=>e==t)>=0}let ed;try{ed=Map}catch{ed=function(){}}let od;try{od=Set}catch{od=function(){}}function u1(o){return typeof o=="number"&&Number.isNaN(o)}function io(o,t){if(o=parseFloat(o),u1(o)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) isNaN!`)}return o}function nd(o,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(o-t)<e}function Vt(o,t,e){const n=Math.min(t,e),s=Math.max(t,e);return o<n?n:o>s?s:o}function f1(o,t){return(o%t+t)%t}function el(o,t,e){return(1-e)*o+e*t}function d1(o,t,e,n,s){return n+(s-n)*((o-t)/(e-t))}const h1=(o,t,e)=>n=>{const s=Vt(n,o,t);return e==0?s:t-s<e?t:Math.round(s/e)*e};function p1(o,t=12){return io(o,0).toFixed(t)}function Re(o,t=12){return+p1(o,t)}function Dn(o,t){const e=qf("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):s1(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(e.matchIndex+e.fullMatch.length):""}}function ol(o){const t=qf("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}m1();function m1(){const o=new ArrayBuffer(4),t=new Float32Array(o),e=new Uint32Array(o),n=new Uint32Array(512),s=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(n[l]=0,n[l|256]=32768,s[l]=24,s[l|256]=24):c<-14?(n[l]=1024>>-c-14,n[l|256]=1024>>-c-14|32768,s[l]=-c-1,s[l|256]=-c-1):c<=15?(n[l]=c+15<<10,n[l|256]=c+15<<10|32768,s[l]=13,s[l|256]=13):c<128?(n[l]=31744,n[l|256]=64512,s[l]=24,s[l|256]=24):(n[l]=31744,n[l|256]=64512,s[l]=13,s[l|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),i=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,r[l]=c|u}for(let l=1024;l<2048;++l)r[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)a[l]=l<<23;a[31]=1199570944,a[32]=2147483648;for(let l=33;l<63;++l)a[l]=2147483648+(l-32<<23);a[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(i[l]=1024);return{floatView:t,uint32View:e,baseTable:n,shiftTable:s,mantissaTable:r,exponentTable:a,offsetTable:i}}var sd=(o=>(o.UNKNOWN="",o.TEXT="text/plain",o.MD="text/plain",o.HTML="text/html",o.XML_TEXT="text/xml",o.CSS="text/css",o.JPEG="image/jpeg",o.PNG="image/png",o.GIF="image/gif",o.BMP="image/bmp",o.WEBP="image/webp",o.SVG="image/svg+xml",o.ICON="image/x-icon",o.MICROSOFT_ICON="image/vnd.microsoft.icon",o.MPEG="audio/mpeg",o.MP3="audio/mpeg",o.MP4="video/mp4",o.OGG="audio/ogg",o.WAV="audio/wav",o.MIDI="audio/midi",o.WEBM="video/webm",o.VIDEO_OGG="video/ogg",o.OCTET_STREAM="application/octet-stream",o.JAVASCRIPT="application/javascript",o.ECMASCRIPT="application/ecmascript",o.JSON="application/json",o.XML="application/xml",o.XHTML="application/xhtml+xml",o.XWWW="application/x-www-form-urlencoded",o.DOC="application/msword",o.CSV="application/x-csv",o.EXCEL="application/vnb.ms-excel",o.PPT="application/vnb.mspowerpoint",o.PDF="application/pdf",o.ZIP="application/zip",o.TGZ="application/x-gtar",o.TAR_GZ="application/x-gzip",o.EOT="appliaction/vnd.ms-fontobject",o.TTF="aplication/font-sfnt",o.PKCS12="aplication/pkcs12",o))(sd||{}),Br=(o=>(o.ascii="ascii",o.utf8="utf8",o.utf16le="utf16le",o.ucs2="ucs2",o.base64="base64",o.base64url="base64url",o.latin1="latin1",o.binary="binary",o.hex="hex",o))(Br||{});const rd=(o,t,e)=>t?e===Br.base64?new Blob([o],{type:`${t};${e}`}):e===Br.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function ae(){return(performance||Date).now()}function g1(o){let t=0;for(let e=5;e>=0;e=e-2)e==5?t+=o[e-1]*10+o[e]:e==3?t+=(o[e-1]*10+o[e])*60:e==1&&(t+=(o[e-1]*10+o[e])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function nl(o){let t=g1(o)/1e3;const e=t%60;o[5]=e%10,o[4]=Math.floor(e/10),t=Math.floor(t/60);const n=t%60;o[3]=n%10,o[2]=Math.floor(n/10),t=Math.floor(t/60);const s=t%60%24;return o[1]=s%10,o[0]=Math.floor(s/10),o}function y1(o){const t=[0,0,0,0,0,0],e=ol(o),n=e.length,s=Math.min(n,3);for(let r=0;r<s;r++){const a=Math.floor(Math.abs(e[n-s+r]||0));t[2*r+1]=a%10,t[2*r]=Math.floor(a/10)}return nl(t)}function sl(o,t=1){return o[5]+=t,nl(o)}function rl(o,t=1){return o[5]-=t,nl(o)}function v1(o,t){o.forEach((e,n)=>{t[n]=e})}function b1(o,t){const e=t.reduce((n,s)=>{const{match:r,error:a}=s;return r(o)||n.push(a),n},[]);return{valid:e.length===0,errors:e}}function _1(o="xxx不能为空!"){return{match:t=>!!t,error:o}}function x1(o="邮箱格式不正确!"){return{match:t=>Qy("email",t),error:o}}class k1{criterias=[];constructor(t=[]){t.forEach(e=>this.add(e))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>b1(t,this.criterias)}run(t){return this.get()(t)}}function Mn(o){return new k1([_1("邮箱不能为空!"),x1("邮箱格式不正确!")]).run(o)}function ad(o,t){let e=!0;return function(...n){e&&(e=!1,o.apply(this,n),setTimeout(()=>{e=!0},t))}}class Vr{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(s=>{s(...e)}),this}once(t,e){const s=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,s))}})();return this.on(t,s),this}}class Yr extends Vr{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async e=>{this.controller=e}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}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 e=await Promise.allSettled(t.map(s=>s())),n=this.results.length;e.forEach((s,r)=>{if(s.status=="fulfilled"){const a=s.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",n+r,a)}else if(s.status=="rejected"){const a=new Error(s.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",n+r,a)}}),this.activeTaskCount-=e.length}}}const w1=()=>{};Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let Rs;function al(o){Rs=o,o(),Rs=null}class C1{subscribers=new Set;add(){Rs&&!this.subscribers.has(Rs)&&this.subscribers.add(Rs)}notify(){this.subscribers.forEach(t=>t())}}const id=new WeakMap;function Xr(o,t){let e=id.get(o);e||(e=new Map,id.set(o,e));let n=e.get(t);return n||(n=new C1,e.set(t,n)),n}function T1(o,t=!1){return Object.keys(o).forEach(e=>{let n=o[e];if(t&&typeof n=="object"&&n!==null)o[e]=il(n,t);else{const s=Xr(o,e);Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get(){return s.add(),n},set(r){n!=r&&(n=r,s.notify())}})}}),o}function ld(o,t=!1){return T1({value:o},t)}function il(o,t=!1){const e={get(s,r,a){const i=Reflect.get(s,r,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=il(i,t);c.YZReactiveProxyParentTarget=s,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Xr(s,r).add(),Reflect.get(s,r,a)},set(s,r,a,i){const l=Reflect.get(s,r,i),c=Reflect.set(s,r,a,i);return Array.isArray(s)?Xr(s.YZReactiveProxyParentTarget,s.YZReactiveProxyParentKey).notify():l!=a&&Xr(s,r).notify(),c},has(s,r){return r==="isYZReactiveProxy"||r in s}};return new Proxy(o,e)}const E1=il;class ll{maps=new Map;mapsAddedDuringUpdate=new Map;entries(){return Array.from(this.maps.entries())}keys(){return Array.from(this.maps.keys())}values(){return Array.from(this.maps.values())}json(){return this.entries().reduce((t,[e,n])=>((r1(e)||a1(e)||i1(e))&&(t[e]=n),t),{})}get length(){return this.entries().length}set(t,e){this.maps.set(t,e),this.mapsAddedDuringUpdate.set(t,e)}get(t){return this.maps.get(t)}getIndex(t){const e=this.entries();if(e.length&&e[t]){const[n,s]=e[t];return[n,s]}}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this.mapsAddedDuringUpdate.delete(t),this.maps.delete(t)}clear(){this.maps.clear(),this.mapsAddedDuringUpdate.clear()}filter(t){let e=Array.from(this.maps.entries());for(;e.length>0;){this.mapsAddedDuringUpdate.clear();for(let n=0,s=e.length;n<s;n++){const[r,a]=e[n];t(r,a)===!1&&this.delete(r)}e=Array.from(this.mapsAddedDuringUpdate.entries())}}}function S1(o,t=(e,n)=>e<=n){const e=o.length;let n=Math.floor(e/2);for(;n>0;){for(let s=n;s<e;s++){const r=o[s];let a=s;for(;a>=n&&!t(o[a-n],r);)o[a]=o[a-n],a-=n;o[a]=r}n=Math.floor(n/2)}}let cd;try{cd=Promise}catch{cd=function(){}}function O1(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var P1={exports:{}};(function(o,t){(function(e){o.exports=e()})(function(e){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function s(x,m){var g=x[0],y=x[1],b=x[2],_=x[3];g+=(y&b|~y&_)+m[0]-680876936|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[1]-389564586|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[2]+606105819|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[3]-1044525330|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[4]-176418897|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[5]+1200080426|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[6]-1473231341|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[7]-45705983|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[8]+1770035416|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[9]-1958414417|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[10]-42063|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[11]-1990404162|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[12]+1804603682|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[13]-40341101|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[14]-1502002290|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[15]+1236535329|0,y=(y<<22|y>>>10)+b|0,g+=(y&_|b&~_)+m[1]-165796510|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[6]-1069501632|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[11]+643717713|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[0]-373897302|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[5]-701558691|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[10]+38016083|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[15]-660478335|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[4]-405537848|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[9]+568446438|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[14]-1019803690|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[3]-187363961|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[8]+1163531501|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[13]-1444681467|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[2]-51403784|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[7]+1735328473|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[12]-1926607734|0,y=(y<<20|y>>>12)+b|0,g+=(y^b^_)+m[5]-378558|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[8]-2022574463|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[11]+1839030562|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[14]-35309556|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[1]-1530992060|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[4]+1272893353|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[7]-155497632|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[10]-1094730640|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[13]+681279174|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[0]-358537222|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[3]-722521979|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[6]+76029189|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[9]-640364487|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[12]-421815835|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[15]+530742520|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[2]-995338651|0,y=(y<<23|y>>>9)+b|0,g+=(b^(y|~_))+m[0]-198630844|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[7]+1126891415|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[14]-1416354905|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[5]-57434055|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[12]+1700485571|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[3]-1894986606|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[10]-1051523|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[1]-2054922799|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[8]+1873313359|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[15]-30611744|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[6]-1560198380|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[13]+1309151649|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[4]-145523070|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[11]-1120210379|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[2]+718787259|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[9]-343485551|0,y=(y<<21|y>>>11)+b|0,x[0]=g+x[0]|0,x[1]=y+x[1]|0,x[2]=b+x[2]|0,x[3]=_+x[3]|0}function r(x){var m=[],g;for(g=0;g<64;g+=4)m[g>>2]=x.charCodeAt(g)+(x.charCodeAt(g+1)<<8)+(x.charCodeAt(g+2)<<16)+(x.charCodeAt(g+3)<<24);return m}function a(x){var m=[],g;for(g=0;g<64;g+=4)m[g>>2]=x[g]+(x[g+1]<<8)+(x[g+2]<<16)+(x[g+3]<<24);return m}function i(x){var m=x.length,g=[1732584193,-271733879,-1732584194,271733878],y,b,_,$,Y,B;for(y=64;y<=m;y+=64)s(g,r(x.substring(y-64,y)));for(x=x.substring(y-64),b=x.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<b;y+=1)_[y>>2]|=x.charCodeAt(y)<<(y%4<<3);if(_[y>>2]|=128<<(y%4<<3),y>55)for(s(g,_),y=0;y<16;y+=1)_[y]=0;return $=m*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,_[14]=Y,_[15]=B,s(g,_),g}function l(x){var m=x.length,g=[1732584193,-271733879,-1732584194,271733878],y,b,_,$,Y,B;for(y=64;y<=m;y+=64)s(g,a(x.subarray(y-64,y)));for(x=y-64<m?x.subarray(y-64):new Uint8Array(0),b=x.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<b;y+=1)_[y>>2]|=x[y]<<(y%4<<3);if(_[y>>2]|=128<<(y%4<<3),y>55)for(s(g,_),y=0;y<16;y+=1)_[y]=0;return $=m*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,_[14]=Y,_[15]=B,s(g,_),g}function c(x){var m="",g;for(g=0;g<4;g+=1)m+=n[x>>g*8+4&15]+n[x>>g*8&15];return m}function u(x){var m;for(m=0;m<x.length;m+=1)x[m]=c(x[m]);return x.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function x(m,g){return m=m|0||0,m<0?Math.max(m+g,0):Math.min(m,g)}ArrayBuffer.prototype.slice=function(m,g){var y=this.byteLength,b=x(m,y),_=y,$,Y,B,D;return g!==e&&(_=x(g,y)),b>_?new ArrayBuffer(0):($=_-b,Y=new ArrayBuffer($),B=new Uint8Array(Y),D=new Uint8Array(this,b,$),B.set(D),Y)}}();function f(x){return/[\u0080-\uFFFF]/.test(x)&&(x=unescape(encodeURIComponent(x))),x}function d(x,m){var g=x.length,y=new ArrayBuffer(g),b=new Uint8Array(y),_;for(_=0;_<g;_+=1)b[_]=x.charCodeAt(_);return m?b:y}function h(x){return String.fromCharCode.apply(null,new Uint8Array(x))}function p(x,m,g){var y=new Uint8Array(x.byteLength+m.byteLength);return y.set(new Uint8Array(x)),y.set(new Uint8Array(m),x.byteLength),g?y:y.buffer}function v(x){var m=[],g=x.length,y;for(y=0;y<g-1;y+=2)m.push(parseInt(x.substr(y,2),16));return String.fromCharCode.apply(String,m)}function k(){this.reset()}return k.prototype.append=function(x){return this.appendBinary(f(x)),this},k.prototype.appendBinary=function(x){this._buff+=x,this._length+=x.length;var m=this._buff.length,g;for(g=64;g<=m;g+=64)s(this._hash,r(this._buff.substring(g-64,g)));return this._buff=this._buff.substring(g-64),this},k.prototype.end=function(x){var m=this._buff,g=m.length,y,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_;for(y=0;y<g;y+=1)b[y>>2]|=m.charCodeAt(y)<<(y%4<<3);return this._finish(b,g),_=u(this._hash),x&&(_=v(_)),this.reset(),_},k.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},k.prototype.setState=function(x){return this._buff=x.buff,this._length=x.length,this._hash=x.hash,this},k.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},k.prototype._finish=function(x,m){var g=m,y,b,_;if(x[g>>2]|=128<<(g%4<<3),g>55)for(s(this._hash,x),g=0;g<16;g+=1)x[g]=0;y=this._length*8,y=y.toString(16).match(/(.*?)(.{0,8})$/),b=parseInt(y[2],16),_=parseInt(y[1],16)||0,x[14]=b,x[15]=_,s(this._hash,x)},k.hash=function(x,m){return k.hashBinary(f(x),m)},k.hashBinary=function(x,m){var g=i(x),y=u(g);return m?v(y):y},k.ArrayBuffer=function(){this.reset()},k.ArrayBuffer.prototype.append=function(x){var m=p(this._buff.buffer,x,!0),g=m.length,y;for(this._length+=x.byteLength,y=64;y<=g;y+=64)s(this._hash,a(m.subarray(y-64,y)));return this._buff=y-64<g?new Uint8Array(m.buffer.slice(y-64)):new Uint8Array(0),this},k.ArrayBuffer.prototype.end=function(x){var m=this._buff,g=m.length,y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b,_;for(b=0;b<g;b+=1)y[b>>2]|=m[b]<<(b%4<<3);return this._finish(y,g),_=u(this._hash),x&&(_=v(_)),this.reset(),_},k.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.ArrayBuffer.prototype.getState=function(){var x=k.prototype.getState.call(this);return x.buff=h(x.buff),x},k.ArrayBuffer.prototype.setState=function(x){return x.buff=d(x.buff,!0),k.prototype.setState.call(this,x)},k.ArrayBuffer.prototype.destroy=k.prototype.destroy,k.ArrayBuffer.prototype._finish=k.prototype._finish,k.ArrayBuffer.hash=function(x,m){var g=l(new Uint8Array(x)),y=u(g);return m?v(y):y},k})})(P1);const ud=o=>new XMLSerializer().serializeToString(o),R1=(o,t=sd.SVG,e=Br.utf8)=>rd(ud(o),t,e);function I1(o,t){const e=ld(t||"");if(!t)try{let n=window.localStorage.getItem(o);n&&(n=JSON.parse(n),e.value=n?n.value:"")}catch{}return al(()=>{if(e.value)try{window.localStorage.setItem(o,JSON.stringify(e))}catch{}else window.localStorage.removeItem(o)}),e}function Jt(o,t,e,n=!1){const s=async r=>{await e(r)};try{o.addEventListener(t,s,n)}catch{o.attachEvent("on"+t,s)}return()=>{try{o.removeEventListener(t,s,n)}catch{o.detachEvent("on"+t,s)}}}function Zr(o){o.preventDefault&&o.preventDefault();try{o.returnValue=!1}catch{}}function A1(){const o=window.navigator.userAgent,t=o.indexOf("MSIE ");if(t>0)return parseInt(o.substring(t+5,o.indexOf(".",t)),10);if(o.indexOf("Trident/")>0){const s=o.indexOf("rv:");return parseInt(o.substring(s+3,o.indexOf(".",s)),10)}const n=o.indexOf("Edge/");return n>0?parseInt(o.substring(n+5,o.indexOf(".",n)),10):-1}const cl=A1()!==-1;(()=>{const o=Wf();return!!(o.Worker&&o.Blob&&o.Promise&&o.OffscreenCanvas&&o.OffscreenCanvasRenderingContext2D&&o.HTMLCanvasElement&&o.HTMLCanvasElement.prototype.transferControlToOffscreen&&o.URL&&o.URL.createObjectURL)})(),function(){if(!Wf().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),e=t.getContext("2d");e.fillRect(0,0,1,1);const n=t.transferToImageBitmap();try{e.createPattern(n,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let o=ae();window.requestAnimationFrame=function(t){const e=ae(),n=Math.max(0,16-(e-o)),s=window.setTimeout(function(){t(e+n)},n);return o=e+n,s}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(o){clearTimeout(o)})}();function Ur(o){let t=!1;return window.requestAnimationFrame(function e(n){!t&&o(n)&&window.requestAnimationFrame(e)}),()=>{t=!0}}function ul(o,t=0){if(t==0)return o(ae()),()=>{};{const e=ae();return Ur(n=>n-e>=t?(o(n),!1):!0)}}function $1(o,t=0){let e=!1,n=0;const s=ae(),r=a=>{if(e)return;n++;const i=a-s-n*t;o(a,n,t<=i),ul(r,Math.max(0,t-i))};return ul(r,t),()=>{e=!0}}function N1(o,t=20){const e=1e3/t;let n=0,s;return()=>(ae()-n>=e&&(n=ae(),s=o()),s)}window.requestIdleCallback=window.requestIdleCallback||function(o,t){const e=ae();return setTimeout(function(){o({didTimeout:ae()-e>50,timeRemaining:()=>Math.max(0,50-(ae()-e))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};const fl=new ll;let dl=!1;function fd(o,t,e){o&&t&&fl.set(o,{cb:t,startTime:ae(),timeout:e}),!dl&&(dl=!0,z1(n=>{dl=!1;let s=n.timeRemaining();fl.filter((r,a)=>{let i=!1;const l=ae();(s>0||a.timeout&&ae()-a.startTime>=a.timeout)&&(a.cb(),i=!0);const c=ae();return s-=c-l,!i}),fl.length>0&&fd()}))}let Gr=0,kn=33,qo=33,hl;const dd=new MessageChannel,F1=dd.port2;dd.port1.onmessage=o=>{hl!==null&&hl({didTimeout:Gr<=ae(),timeRemaining:()=>Math.max(0,Gr-ae())})};function z1(o){return hl=o,requestAnimationFrame(t=>{let e=t-Gr+qo;e<qo&&kn<qo?(e<8&&(e=8),qo=e<kn?kn:e):e>qo&&kn>qo?qo=e<kn?kn:e:kn=e,Gr=t+qo,F1.postMessage(null)})}class Is{static _nextId=0;static nextId(){return Is._nextId++}}const it={Linear:{None:function(o){return o}},Ease:{In:function(o){return Math.pow(o,1.7)}},Quadratic:{In:function(o){return o*o},Out:function(o){return o*(2-o)},InOut:function(o){return(o*=2)<1?.5*o*o:-.5*(--o*(o-2)-1)}},Cubic:{In:function(o){return o*o*o},Out:function(o){return--o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o:.5*((o-=2)*o*o+2)}},Quartic:{In:function(o){return o*o*o*o},Out:function(o){return 1- --o*o*o*o},InOut:function(o){return(o*=2)<1?.5*o*o*o*o:-.5*((o-=2)*o*o*o-2)}},Quintic:{In:function(o){return o*o*o*o*o},Out:function(o){return--o*o*o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o*o*o:.5*((o-=2)*o*o*o*o+2)}},Sinusoidal:{In:function(o){return 1-Math.sin((1-o)*Math.PI/2)},Out:function(o){return Math.sin(o*Math.PI/2)},InOut:function(o){return .5*(1-Math.sin(Math.PI*(.5-o)))}},Exponential:{In:function(o){return o===0?0:Math.pow(1024,o-1)},Out:function(o){return o===1?1:1-Math.pow(2,-10*o)},InOut:function(o){return o===0?0:o===1?1:(o*=2)<1?.5*Math.pow(1024,o-1):.5*(-Math.pow(2,-10*(o-1))+2)}},Circular:{In:function(o){return 1-Math.sqrt(1-o*o)},Out:function(o){return Math.sqrt(1- --o*o)},InOut:function(o){return(o*=2)<1?-.5*(Math.sqrt(1-o*o)-1):.5*(Math.sqrt(1-(o-=2)*o)+1)}},Elastic:{In:function(o){return o===0?0:o===1?1:-Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI)},Out:function(o){return o===0?0:o===1?1:Math.pow(2,-10*o)*Math.sin((o-.1)*5*Math.PI)+1},InOut:function(o){return o===0?0:o===1?1:(o*=2,o<1?-.5*Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI):.5*Math.pow(2,-10*(o-1))*Math.sin((o-1.1)*5*Math.PI)+1)}},Back:{In:function(o){return o===1?1:o*o*((1.70158+1)*o-1.70158)},Out:function(o){return o===0?0:--o*o*((1.70158+1)*o+1.70158)+1},InOut:function(o){const t=2.5949095;return(o*=2)<1?.5*(o*o*((t+1)*o-t)):.5*((o-=2)*o*((t+1)*o+t)+2)}},Bounce:{In:function(o){return 1-it.Bounce.Out(1-o)},Out:function(o){return o<1/2.75?7.5625*o*o:o<2/2.75?7.5625*(o-=1.5/2.75)*o+.75:o<2.5/2.75?7.5625*(o-=2.25/2.75)*o+.9375:7.5625*(o-=2.625/2.75)*o+.984375},InOut:function(o){return o<.5?it.Bounce.In(o*2)*.5:it.Bounce.Out(o*2-1)*.5+.5}},generatePow:function(o=4){return o=o<Number.EPSILON?Number.EPSILON:o,o=o>1e4?1e4:o,{In:function(t){return t**o},Out:function(t){return 1-(1-t)**o},InOut:function(t){return t<.5?(t*2)**o/2:(1-(2-t*2)**o)/2+.5}}},random:function(o){return Math.random()},createStep:function(o){return function(t){return Math.floor(t*o)/o}},createNoisyEasing:function(o,t=.1){const e=1-t;return function(n){return t*Math.random()+e*o(n)}},swing:function(o){return o+Math.sin(o*Math.PI*2)/2},causeSeizures:function(o){return o+.2*Math.random()-.1}},pl=it;function D1(o){switch(o){case it.Quadratic.In:return it.Quadratic.Out;case it.Quadratic.Out:return it.Quadratic.In;case it.Quadratic.InOut:return it.Quadratic.InOut;case it.Cubic.In:return it.Cubic.Out;case it.Cubic.Out:return it.Cubic.In;case it.Cubic.InOut:return it.Cubic.InOut;case it.Quartic.In:return it.Quartic.Out;case it.Quartic.Out:return it.Quartic.In;case it.Quartic.InOut:return it.Quartic.InOut;case it.Quintic.In:return it.Quintic.Out;case it.Quintic.Out:return it.Quintic.In;case it.Quintic.InOut:return it.Quintic.InOut;case it.Sinusoidal.In:return it.Sinusoidal.Out;case it.Sinusoidal.Out:return it.Sinusoidal.In;case it.Sinusoidal.InOut:return it.Sinusoidal.InOut;case it.Exponential.In:return it.Exponential.Out;case it.Exponential.Out:return it.Exponential.In;case it.Exponential.InOut:return it.Exponential.InOut;case it.Circular.In:return it.Circular.Out;case it.Circular.Out:return it.Circular.In;case it.Circular.InOut:return it.Circular.InOut;case it.Elastic.In:return it.Elastic.Out;case it.Elastic.Out:return it.Elastic.In;case it.Elastic.InOut:return it.Elastic.InOut;case it.Back.In:return it.Back.Out;case it.Back.Out:return it.Back.In;case it.Back.InOut:return it.Back.InOut;case it.Bounce.In:return it.Bounce.Out;case it.Bounce.Out:return it.Bounce.In;case it.Bounce.InOut:return it.Bounce.InOut;default:return o}}const Ln={Utils:{Linear:function(o,t,e){return(t-o)*e+o},Factorial:function(){const o=[1];return function(t){let e=1;if(o[t])return o[t];for(let n=t;n>1;n--)e*=n;return o[t]=e,e}}(),Bernstein:function(o,t){const e=Ln.Utils.Factorial;return e(o)/e(t)/e(o-t)},CatmullRom:function(o,t,e,n,s){const r=(e-o)*.5,a=(n-t)*.5,i=s*s,l=s*i;return(2*t-2*e+r+a)*l+(-3*t+3*e-2*r-a)*i+r*s+t},QuadraticBezier:(o,t,e,n)=>{const s=1-n;return s*s*o+2*s*n*t+n*n*e},CubicBezier:(o,t,e,n,s)=>{const r=1-s;return r*r*r*o+3*r*r*s*t+3*r*s*s*e+s*s*s*n}},Linear:function(o,t){const e=o.length-1,n=e*t,s=Math.floor(n),r=Ln.Utils.Linear;return t<0?r(o[0],o[1],n):t>1?r(o[e],o[e-1],e-n):r(o[s],o[s+1>e?e:s+1],n-s)},Bezier:function(o,t){let e=0;const n=o.length-1,s=Math.pow,r=Ln.Utils.Bernstein;for(let a=0;a<=n;a++)e+=s(1-t,n-a)*s(t,a)*o[a]*r(n,a);return e},CatmullRom:function(o,t){const e=o.length-1;let n=e*t,s=Math.floor(n);const r=Ln.Utils.CatmullRom;return o[0]===o[e]?(t<0&&(s=Math.floor(n=e*(1+t))),r(o[(s-1+e)%e],o[s],o[(s+1)%e],o[(s+2)%e],n-s)):t<0?o[0]-(r(o[0],o[0],o[1],o[1],-n)-o[0]):t>1?o[e]-(r(o[e],o[e],o[e-1],o[e-1],n-e)-o[e]):r(o[s?s-1:0],o[s],o[e<s+1?e:s+1],o[e<s+2?e:s+2],n-s)}},ml=Ln;class hd{_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=ae(),e=!1){const n=Object.keys(this._tweens);for(let s=0;s<n.length;s++){const r=this._tweens[n[s]],a=!e;r&&r.update(t,a)===!1&&!e&&delete this._tweens[n[s]]}return!!Object.keys(this._tweens).length}}const We=new hd;class pd{constructor(t,e=We){this._object=t,this._group=e}_id=Is.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=pl.Linear.None;_interpolationFunction=ml.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,e){return this._valuesEnd=Object.create(t),e!==void 0&&(this._durationTime=e),this}duration(t=1e3){return this._durationTime=t,this}start(t=ae()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const e in this._valuesStartRepeat)this._swapEndStartRepeatValues(e),this._valuesStart[e]=this._valuesStartRepeat[e]}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,e,n,s){for(const r in n){const a=t[r],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(n[r]);if(!(l==="undefined"||l==="function")){if(c){let u=n[r];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),n[r]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[r]=i?[]:{};for(const u in a)e[r][u]=a[u];s[r]=i?[]:{},this._setupProperties(a,e[r],n[r],s[r])}else typeof e[r]>"u"&&(e[r]=a),i||(e[r]*=1),c?s[r]=n[r].slice().reverse():s[r]=e[r]||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=ae()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=ae()){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,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this}group(t=We){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=pl.Linear.None){return this._easingFunction=t,this}interpolation(t=ml.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=ae(),e=!0){if(this._isPaused)return!0;let n,s;const r=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&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),s=(t-this._startTime)/this._durationTime,s=this._durationTime===0||s>1?1:s;const a=this._easingFunction(s);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,s),s===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];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 i=0,l=this._chainedTweens.length;i<l;i++)this._chainedTweens[i].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,e,n,s){for(const r in n){if(e[r]===void 0)continue;const a=e[r]||0;let i=n[r];const l=Array.isArray(t[r]),c=Array.isArray(i);!l&&c?t[r]=this._interpolationFunction(i,s):typeof i=="object"&&i?this._updateProperties(t[r],a,i,s):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[r]=a+(i-a)*s))}}_handleRelativeValue(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)}_swapEndStartRepeatValues(t){const e=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=e}}const M1=pd,L1=Is.nextId,B1=We.getAll.bind(We),V1=We.removeAll.bind(We),Y1=We.add.bind(We),X1=We.remove.bind(We),Z1=We.update.bind(We),xt={now:ae,Sequence:Is,Easing:pl,Interpolation:ml,Group:hd,Tween:M1,nextId:L1,getAll:B1,removeAll:V1,add:Y1,remove:X1,update:Z1};class U1{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=ae(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=ae();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const md=U1;class Xe{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){S1(this.tweens,(e,n)=>t?e.delay>n.delay:e.delay<=n.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(n=>{const s={...n};delete s.tween,s.fromValues={...s.fromValues},s.toValues={...s.toValues},e.push(s)}),e}addTween(t,e,n){const s={fromValues:t,toValues:e,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||it.Linear.None,interpolationFunction:n?.interpolationFunction||Ln.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(s),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new md,n=this.frameDuration;return new Promise(s=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Ur(r=>{if(!this.isPaused){const i=Math.max(0,r-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=l).forEach(c=>{c.tween||(c.tween=new pd({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(i)),(c.delay+c.frames*(c.repeat+1))*n>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),td(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),s()),a})})}isPaused=!1;pausedClock=new md;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let e=0;t.forEach(n=>{e=Math.max(e,n.delay+n.frames),n.easeFunction=D1(n.easeFunction);const s={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...s}}),t.forEach(n=>{n.delay=e-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Hr=new ll,G1=(o=!0)=>{Hr.filter((t,e)=>(e.alternate&&(eh(e,e.alternate),o&&Hr.set(t,e.alternate),e.alternate=void 0),o))};function gd(o){let t=Hr.get(o);return t||(t=Al(o),Hr.set(o,t)),t}function H1(o){const t=gd(o);return t.alternate||(t.alternate=Al(o)),t.alternate}function j1(o,t,e=!0){t(H1(o)),fd("FLUSH_DOM_ACTION",()=>G1(e),50)}function ie(o){return o*Math.PI/180}function qe(o){return o*180/Math.PI}function yd(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function vd(o,t,e,n){return yd(e-o,n-t)}function gl(o,t,e,n){const s=e-o,r=n-t;return s*s+r*r}function jr(o,t,e,n){let s=Math.atan2(n-t,e-o);return s<0&&(s+=Math.PI*2),s}function Wr(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const bd=W1("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 W1(o,t=10){const e={},n=o.split(",");for(let s=0;s<n.length;s+=2){const r="&"+n[s+1]+";",a=parseInt(n[s],t);e[r]="&#"+a+";"}return e["\\xa0"]="&#160;",e}function Fe(o,t){const e=Object.keys(t);for(let n=0;n<e.length;n++)o=o.replace(new RegExp("{"+e[n]+"}","gi"),""+t[e[n]]);return o}function qr(o){let t,e;if(!o)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=n[Math.floor(Math.random()*n.length)];while(o[t]);return t}function q1(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function K1(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const As={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"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class yl{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const r=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);r&&(n.setAttribute("stop-color",Fe("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),n.setAttribute("stop-opacity",r[4]))}else n.setAttribute("stop-color",e);this.__root.appendChild(n)}}class _d{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class Kr{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:n=500}){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=e,this.height=n),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(As);for(let e=0,n=t.length;e<n;e++){const s=t[e];this[s]=As[s].canvas}}__getStyleState(){const t={},e=Object.keys(As);for(let n=0,s=e.length;n<s;n++){const r=e[n];t[r]=this[r]}return t}__applyStyleState(t){const e=Object.keys(t);for(let n=0,s=e.length;n<s;n++){const r=e[n];this[r]=t[r]}}__createElement(t,e={},n=!1){const s=this.__document.createElementNS("http://www.w3.org/2000/svg",t),r=Object.keys(e);n&&(s.setAttribute("fill","none"),s.setAttribute("stroke","none"));for(let a=0;a<r.length;a++){const i=r[a];s.setAttribute(i,e[i])}return s}__applyStyleToCurrentElement(t){let e=this.__currentElement;const n=this.__currentElementsToStyle;n&&(e.setAttribute(t,""),e=n.element,n.children.forEach(r=>{r.setAttribute(t,"")}));const s=Object.keys(As);for(let r=0;r<s.length;r++){const a=As[s[r]],i=this[s[r]];if(a.apply){if(i instanceof _d){if(i.__ctx)for(;i.__ctx.__SVGdefs.childNodes.length;){const l=i.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(i.__ctx.__SVGdefs.childNodes[0])}e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof yl)e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}));else if(a.apply.indexOf(t)!==-1&&a.svg!==i)if((a.svgAttr==="stroke"||a.svgAttr==="fill")&&i.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(i);if(c){e.setAttribute(a.svgAttr,Fe("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(s[r]==="globalAlpha"&&(l=t+"-"+a.svgAttr,e.getAttribute(l)))continue;l&&e.setAttribute(l,i)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let e=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(e)&&(e=e.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const s=Object.keys(bd);for(let r=0,a=s.length;r<a;r++){const i=s[r],l=bd[i],c=new RegExp(i,"gi");c.test(e)&&(e=e.replace(c,l))}}return e}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),e=this.__closestGroupOrSvg();this.__groupStack.push(e),e.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 e=this.__styleStack.pop();e&&this.__applyStyleState(e)}__addTransform(t){const e=this.__closestGroupOrSvg();if(e.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:e,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const s=this.__createElement("g");e.appendChild(s),this.__currentElement=s}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Fe("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Fe("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Fe("translate({x},{y})",{x:t,y:e}))}transform(t,e,n,s,r,a){this.__addTransform(Fe("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:n,d:s,e:r,f:a}))}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)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,e){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:e},this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,e){this.__currentPosition={x:t,y:e},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Fe("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,n,s,r,a){this.__currentPosition={x:r,y:a},this.__addPathCommand(Fe("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:n,cp2y:s,x:r,y:a}))}quadraticCurveTo(t,e,n,s){this.__currentPosition={x:n,y:s},this.__addPathCommand(Fe("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:n,y:s}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,n,s,r){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(r<0)throw new Error("IndexSizeError: The radius provided ("+r+") is negative.");if(a===t&&i===e||t===n&&e===s||r===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([n-t,s-e]);if(l[0]*c[1]===l[1]*c[0]){this.lineTo(t,e);return}const u=l[0]*c[0]+l[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([l[0]+c[0],l[1]+c[1]]),h=r/Math.sin(f/2),p=t+h*d[0],v=e+h*d[1],k=[-l[1],l[0]],x=[c[1],-c[0]],m=function(b){const _=b[0];return b[1]>=0?Math.acos(_):-Math.acos(_)},g=m(k),y=m(x);this.lineTo(p+k[0]*r,v+k[1]*r),this.arc(p,v,r,g,y)}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,e,n,s){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+s),this.lineTo(t,e+s),this.lineTo(t,e),this.closePath()}fillRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],s=n.childNodes;for(let r=s.length-1;r>=0;r--)s[r]&&n.removeChild(s[r]);this.__currentElement=n,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,n,s){if(t===0&&e===0&&n===this.width&&s===this.height){this.__clearCanvas();return}const r=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:n,height:s,fill:"#FFFFFF"},!0);r.appendChild(a)}createLinearGradient(t,e,n,s){const r=this.__createElement("linearGradient",{id:qr(this.__ids),x1:t+"px",x2:n+"px",y1:e+"px",y2:s+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(r),new yl(r,this)}createRadialGradient(t,e,n,s,r,a){const i=this.__createElement("radialGradient",{id:qr(this.__ids),cx:s+"px",cy:r+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new yl(i,this)}__parseFont(){const e=/^\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),n={style:e[1]||"normal",size:e[4]||"10px",family:e[6]||"sans-serif",weight:e[3]||"normal",decoration:e[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,e){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(e),n}return e}__applyText(t,e,n,s){const r=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":r.family,"font-size":r.size,"font-style":r.style,"font-weight":r.weight,"text-decoration":r.decoration,x:e,y:n,"text-anchor":q1(this.textAlign),"dominant-baseline":K1(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(s),a.appendChild(this.__wrapTextLink(r,i))}fillText(t,e,n){this.__applyText(t,e,n,"fill")}strokeText(t,e,n){this.__applyText(t,e,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,n,s,r,a){if(s===r)return;s=s%(2*Math.PI),r=r%(2*Math.PI),s===r&&(r=(r+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+n*Math.cos(r),l=e+n*Math.sin(r),c=t+n*Math.cos(s),u=e+n*Math.sin(s),f=a?0:1;let d=0,h=r-s;h<0&&(h+=2*Math.PI),a?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Fe("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),n=qr(this.__ids),s=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",n),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Fe("url(#{id})",{id:n})),t.appendChild(s),this.__currentElement=s}drawImage(...t){let e=t[0],n,s,r,a,i=0,l=0,c,u,f,d,h,p,v,k;if(t.length===3)n=t[1],s=t[2],c=e.width,u=e.height,r=c,a=u;else if(t.length===5)n=t[1],s=t[2],r=t[3],a=t[4],c=e.width,u=e.height;else if(t.length===9)i=t[1],l=t[2],c=t[3],u=t[4],n=t[5],s=t[6],r=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const x=this.__closestGroupOrSvg();this.__currentElement;const m="translate("+n+", "+s+")";if(e instanceof Kr){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)k=d.childNodes[0].getAttribute("id"),this.__ids[k]=k,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const g=h.getAttribute("transform");let y;g?y=g+" "+m:y=m,h.setAttribute("transform",y),x.appendChild(h)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",r),p.setAttribute("height",a),p.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(v=this.__document.createElement("canvas"),v.width=r,v.height=a,v.getContext("2d")?.drawImage(e,i,l,c,u,0,0,r,a),e=v),p.setAttribute("transform",m),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),x.appendChild(p))}createPattern(t,e){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),s=qr(this.__ids);let r;return n.setAttribute("id",s),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(r=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(r),this.__SVGdefs.appendChild(n)):t instanceof Kr&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new _d(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class vl{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,n,s=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),s&&(this.customContext=new Kr({canvas:this.canvas,width:e||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,e,n,s){return this.context.fillRect(t,e,n,s),this.customContext&&this.customContext.fillRect(t,e,n,s),this}fillText(t,e,n,s){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,n,s),this.customContext&&this.customContext.fillText(t,e,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,e,n,s){return this.context.strokeText(t,e,n,s),this.customContext&&this.customContext.strokeText(t,e,n),this}strokeRect(t,e,n,s){return this.context.strokeRect(t,e,n,s),this.customContext&&this.customContext.strokeRect(t,e,n,s),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,n=this.canvas.width,s=this.canvas.height){return this.context.clearRect(t,e,n,s),this.customContext&&this.customContext.clearRect(t,e,n,s),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,e=this.currentMatrix){const n=new Path2D;n.addPath(t,e),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,e){return this.context.translate(t,e),this.customContext&&this.customContext.translate(t,e),this.currentMatrix.translate(t,e),this.changePath2D(),this}rotate(t,e=0,n=0){return this.translate(e,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-n),this.changePath2D(),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-n,-s),this.changePath2D(),this}moveTo(t,e){return this.context.moveTo(t,e),this.customContext&&this.customContext.moveTo(t,e),this.currentPath2D.moveTo(t,e),this}lineTo(t,e){return this.context.lineTo(t,e),this.customContext&&this.customContext.lineTo(t,e),this.currentPath2D.lineTo(t,e),this}arc(t,e,n,s,r,a){return this.context.arc(t,e,n,s,r,a),this.customContext&&this.customContext.arc(t,e,n,s,r,a?-1:1),this.currentPath2D.arc(t,e,n,s,r,a),this}arcTo(t,e,n,s,r){return this.context.arcTo(t,e,n,s,r),this.customContext&&this.customContext.arcTo(t,e,n,s,r),this.currentPath2D.arcTo(t,e,n,s,r),this}ellipse(t,e,n,s,r,a,i,l){return this.context.ellipse(t,e,n,s,r,a,i,l),this.currentPath2D.ellipse(t,e,n,s,r,a,i,l),this}quadraticCurveTo(t,e,n,s){return this.context.quadraticCurveTo(t,e,n,s),this.customContext&&this.customContext.quadraticCurveTo(t,e,n,s),this.currentPath2D.quadraticCurveTo(t,e,n,s),this}bezierCurveTo(t,e,n,s,r,a){return this.context.bezierCurveTo(t,e,n,s,r,a),this.customContext&&this.customContext.bezierCurveTo(t,e,n,s,r,a),this.currentPath2D.bezierCurveTo(t,e,n,s,r,a),this}rect(t,e,n,s){return this.context.rect(t,e,n,s),this.customContext&&this.customContext.rect(t,e,n,s),this.currentPath2D.rect(t,e,n,s),this}createLinearGradient(t,e,n,s,r){const a=this.context.createLinearGradient(t,e,n,s);return r&&Object.entries(r).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,n,s,r,a,i){const l=this.context.createRadialGradient(t,e,n,s,r,a);return i&&Object.entries(i).forEach(([c,u])=>{l.addColorStop(parseFloat(c),u)}),l}drawImage(t,...e){if(e.length===0)this.context.drawImage(t,0,0);else if(e.length===2){const n=e[0],s=e[1];this.context.drawImage(t,n,s)}else if(e.length===4){const n=e[0],s=e[1],r=e[2],a=e[3];this.context.drawImage(t,n,s,r,a)}else if(e.length===8){const n=e[0],s=e[1],r=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,n,s,r,a,i,l,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+e.length);return this.customContext&&this.customContext.drawImage(t,...e),this}getImageData(t=0,e=0,n=this.canvas.width,s=this.canvas.height,r){return this.context.getImageData(t,e,n,s,r)}putImageData(t,e=0,n=0){return this.context.putImageData(t,e,n)}createPattern(t,e){return this.context.createPattern(t,e)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),e=this.customContext.getSvg();return{raw:t,element:e}}else return{raw:"",element:null}}}const Q1=vl;class Qr{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=jr(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),s=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return{x:e,y:n,width:s-e,height:r-n}}else{const e=Math.sin(t),n=Math.cos(t),s=n*this.x-e*this.y,r=n*this.toX-e*this.toY,a=n*this.y+e*this.x,i=n*this.toY+e*this.toX;return{x:Math.min(s,r),y:Math.min(a,i),width:Math.max(s,r)-Math.min(s,r),height:Math.max(a,i)-Math.min(a,i)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const e=this.x,n=this.y,s=t.toX,r=t.toY,a=this.toX-e,i=t.x-s;if(!a&&!i)return null;const l=(this.toY-n)/a,c=(t.y-r)/i;if(a){if(!i)return{x:s,y:l*(s-e)+n}}else return{x:e,y:c*(e-s)+r};const u=(-c*s+r+l*e-n)/(l-c),f=l*(u-e)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const xd=Qr;class J1 extends Qr{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,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[e,n,s,r,a,i,l]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(e,n,s,r,a,i,l,!this.sweepFlag)}convert(t,e,n,s,r,a,i,l,c){const u=i/180*Math.PI,f=(t-n)/2,d=(e-s)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,v=h*h/(r*r)+p*p/(a*a);if(v>1){const ut=Math.sqrt(v);throw r=ut*r,a=ut*a,new Error(`Radii are too small to build an arc. Correcting them to ${r}/${a}.`)}const k=Math.sqrt((r*r*a*a-r*r*p*p-a*a*h*h)/(r*r*p*p+a*a*h*h)),x=l!=c?1:-1,m=x*k*r*p/a,g=x*k*-a*h/r,y=(t+n)/2,b=(e+s)/2,_=Math.cos(u)*m-Math.sin(u)*g+y,$=Math.sin(u)*m+Math.cos(u)*g+b,Y=(ut,j,tt,vt)=>(ut*vt>=j*tt?1:-1)*Math.acos((ut*tt+j*vt)/(Math.sqrt(ut*ut+j*j)*Math.sqrt(tt*tt+vt*vt))),B=Y(1,0,t-_,e-$)-u,D=Y(t-_,e-$,n-_,s-$);return[_,$,r,a,u,B,B+D]}}const tv=J1;class ev extends Qr{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,e=this.cy*2-(this.y+this.toY)/2;return[["Q",t,e,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],e=[this.y,this.toY];let n,s,r,a;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,s=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,r=c==0?this.x:this.y,Math.abs(n)>1e-12&&(a=-s/(2*n),0<a&&a<1&&[t,e][c].push(n*a*a+s*a+r));const i={x:Math.min.apply(0,t),y:Math.min.apply(0,e)},l={x:Math.max.apply(0,t),y:Math.max.apply(0,e)};return{x:i.x,y:i.y,width:l.x-i.x,height:l.y-i.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const ov=ev;class Bn extends Qr{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),e=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),e=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t,Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));const u=[],f=c.length;for(let p=0;p<f;p++){for(let v=p+1;v<f;v++)c[p].X===c[v].X&&c[p].Y===c[v].Y&&(v=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},h={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,e,n,s,r){const a=-3*e+9*n-9*s+3*r,i=t*a+6*e-12*n+6*s;return t*i-3*e+3*n}static bezlen(t,e,n,s,r,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.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 h=0;for(let p=0;p<12;p++){const v=u*f[p]+u,k=this.base3(v,t,n,r,i),x=this.base3(v,e,s,a,l);h+=d[p]*Math.sqrt(k*k+x*x)}return u*h}length(t=1){return Bn.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,n=this.y,s=this.c1x,r=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||Bn.bezlen(e,n,s,r,a,i,l,c)<t)return 0;const u=1;let f=u/2,d=u-f,h=Bn.bezlen(e,n,s,r,a,i,l,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Bn.bezlen(e,n,s,r,a,i,l,c,d);return d}getPointAtSegmentLength(t){const e=this.getTatLen(t),n=1-e,s=Math.pow(n,3),r=Math.pow(n,2),a=e*e,i=a*e,l=s*this.x+r*3*e*this.c1x+n*3*e*e*this.c2x+i*this.toX,c=s*this.y+r*3*e*this.c1y+n*3*e*e*this.c2y+i*this.toY,u=this.x+2*e*(this.c1x-this.x)+a*(this.c2x-2*this.c1x+this.x),f=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),p=n*this.x+e*this.c1x,v=n*this.y+e*this.c1y,k=n*this.c2x+e*this.toX,x=n*this.c2y+e*this.toY,m=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:l,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:v},end:{x:k,y:x},alpha:m}}}const Ko=Bn,$s=Math.PI*2;function kd(o,t,e,n){const s=o*n-t*e<0?-1:1;let r=o*e+t*n;return r>1&&(r=1),r<-1&&(r=-1),s*Math.acos(r)}function nv(o,t,e,n,s,r,a,i,l,c){const u=c*(o-e)/2+l*(t-n)/2,f=-l*(o-e)/2+c*(t-n)/2,d=a*a,h=i*i,p=u*u,v=f*f;let k=d*h-d*v-h*p;k<0&&(k=0),k/=d*v+h*p,k=Math.sqrt(k)*(s===r?-1:1);const x=k*a/i*f,m=k*-i/a*u,g=c*x-l*m+(o+e)/2,y=l*x+c*m+(t+n)/2,b=(u-x)/a,_=(f-m)/i,$=(-u-x)/a,Y=(-f-m)/i,B=kd(1,0,b,_);let D=kd(b,_,$,Y);return r===0&&D>0&&(D-=$s),r===1&&D<0&&(D+=$s),[g,y,B,D]}function sv(o,t){const e=1.3333333333333333*Math.tan(t/4),n=Math.cos(o),s=Math.sin(o),r=Math.cos(o+t),a=Math.sin(o+t);return[n,s,n-s*e,s+n*e,r+a*e,a-r*e,r,a]}function wd(o,t,e,n,s,r,a,i,l){const c=Math.sin(l*$s/360),u=Math.cos(l*$s/360),f=u*(o-e)/2+c*(t-n)/2,d=-c*(o-e)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const h=f*f/(a*a)+d*d/(i*i);h>1&&(a*=Math.sqrt(h),i*=Math.sqrt(h));const p=nv(o,t,e,n,s,r,a,i,c,u),v=[];let k=p[2],x=p[3];const m=Math.max(Math.ceil(Math.abs(x)/($s/4)),1);x/=m;for(let g=0;g<m;g++)v.push(sv(k,x)),k+=x;return v.map(g=>{for(let y=0;y<g.length;y+=2){let b=g[y+0],_=g[y+1];b*=a,_*=i;const $=u*b-c*_,Y=c*b+u*_;g[y+0]=$+p[0],g[y+1]=Y+p[1]}return g})}function bl(o,t,e,n,s,r){return[o/3+.6666666666666666*e,t/3+.6666666666666666*n,s/3+.6666666666666666*e,r/3+.6666666666666666*n,s,r]}function Ns(o,t,e,n){return[o,t,e,n,e,n]}const Jr={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class wn{static createSVGElement(t="path",e){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&lv(n,e),n}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||zn()})}static downloadFromSVGElement(t,e="shape"){return Qd(R1(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return Qd(rd(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return ud(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(e=>{if(!e[0])return"";switch(e[0].toLowerCase()){case"a":return`${e[0]} ${e[1]},${e[2]} ${e[3]} ${e[4]},${e[5]} ${e[6]},${e[7]}`;case"c":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]} ${e[5]},${e[6]}`;case"s":case"q":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]}`;default:return e[0]+" "+e.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const e=[];return wn.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,s,r)=>{let a=s.toLowerCase();const i=ol(r);for(a=="m"&&i.length>Jr[a]&&(e.push([s,...i.splice(0,Jr[a])]),a="l",s=s=="m"?"l":"L");i.length;){if(i.length<Jr[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${s} } args:{ ${i} }`);e.push([s,...i.splice(0,Jr[a])])}return a=="z"&&e.push([s]),""}),e}static absolutizeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toUpperCase();if(i!=l)switch(a[0]=l,i){case"a":a[6]+=s,a[7]+=r;break;case"v":a[1]+=r;break;case"h":a[1]+=s;break;default:for(let c=1;c<a.length;)a[c++]+=s,a[c++]+=r}switch(l){case"Z":s=e,r=n;break;case"H":s=a[1];break;case"V":r=a[1];break;case"M":s=e=a[1],r=n=a[2];break;default:s=a[a.length-2],r=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toLowerCase();if(i!=l)switch(a[0]=l,i){case"A":a[6]-=s,a[7]-=r;break;case"V":a[1]-=r;break;case"H":a[1]-=s;break;default:for(let c=1;c<a.length;)a[c++]-=s,a[c++]-=r}switch(l){case"z":s=e,r=n;break;case"h":s+=a[1];break;case"v":r+=a[1];break;case"m":s+=a[1],r+=a[2],e+=a[1],n+=a[2];break;default:s+=a[a.length-2],r+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let n=0,s=0,r=0,a=0,i=0,l=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const v=p[0];switch(v){case"M":n=p[1],s=p[2];break;case"A":const k=wd(r,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!k.length)continue;k.forEach((g,y)=>{const[b,_,$,Y,B,D,ut,j]=g;p=["C",$,Y,B,D,ut,j],y<k.length-1&&e.push(p)});break;case"S":let x=r,m=a;(f=="C"||f=="S")&&(x+=x-c,m+=m-u),p=["C",x,m,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(i=r*2-i,l=a*2-l):(i=r,l=a),p=["C",...bl(r,a,i,l,p[1],p[2])];break;case"Q":i=p[1],l=p[2],p=["C",...bl(r,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Ns(r,a,p[1],p[2])];break;case"H":p=["C",...Ns(r,a,p[1],a)];break;case"V":p=["C",...Ns(r,a,r,p[1])];break;case"Z":p=["C",...Ns(r,a,n,s)];break}f=v,r=p[p.length-2],a=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=r,u=a),e.push(p)}return e}static catmullRom2bezier(t){const e=[];for(let n=0,s=t.length;s-2>n;n+=2){let r;n==0?r=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:s-4==n?r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const a=[{x:r[1].x,y:r[1].y},{x:(-r[0].x+6*r[1].x+r[2].x)/6,y:(-r[0].y+6*r[1].y+r[2].y)/6},{x:(r[1].x+6*r[2].x-r[3].x)/6,y:(r[1].y+6*r[2].y-r[3].y)/6},{x:r[2].x,y:r[2].y}];e.push(["C",a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y])}return e}static zvhToLSVGPath(t){const e=[];let n=["L",0,0],s;for(let r=0,a=t.length;r<a;r++){const i=t[r];switch(i[0]){case"M":n=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(n);break;case"H":s=e[e.length-1]||["L",0,0],e.push(["L",i[1],s[s.length-1]]);break;case"V":s=e[e.length-1]||["L",0,0],e.push(["L",s[s.length-2],i[1]]);break;default:e.push(i)}}return e}static longhandSVGPath(t){const e={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,s=0,r=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,n&&(n[0]===c.to?(s=2*Number(n[c.x+2])-Number(n[c.x]),r=2*Number(n[c.x+3])-Number(n[c.x+1])):(s=Number(n[n.length-2]),r=Number(n[n.length-1]))),l.splice(1,0,s,r)),n=l}return t}}class vo{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,e){typeof t=="string"?this.resetFromSVGPathData(wn.parseSVGPath(t),e):t instanceof vo?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const n=wn.normalizeSVGPath(wn.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let s=!1;for(let r=0,a=n.length;r<a;r++){const i=n[r];if(i[0]=="M"){s||(s=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new Ko({c1x:i[1],c1y:i[2],c2x:i[3],c2y:i[4],toX:i[5],toY:i[6]}))}e&&({x:this.startPathX,y:this.startPathY}=e.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=e.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(r=>{({x:r.x,y:r.y}=e.transformPoint({x:r.x,y:r.y})),{x:r.c1x,y:r.c1y}=e.transformPoint({x:r.c1x,y:r.c1y}),{x:r.c2x,y:r.c2y}=e.transformPoint({x:r.c2x,y:r.c2y}),{x:r.toX,y:r.toY}=e.transformPoint({x:r.toX,y:r.toY})}))}static fromPolymorphPoints(t){const e=new vo;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let n=2,s=t.length;n+5<s;n+=6)e.appendLine(new Ko({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return e}static fromLines(t){const e=new vo;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let n=0,s=t.length;n<s;n++)e.appendLine(t[n]);return e}appendLine(t){if(t instanceof tv){wd(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,v,k,x]=c;this.normalizedLines.push(new Ko({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:v,toX:k,toY:x})),this.prevPathX=k,this.prevPathY=x});return}let e,n,s,r,a,i;t instanceof Ko?(e=t.c1x,n=t.c1y,s=t.c2x,r=t.c2y,a=t.toX,i=t.toY):t instanceof ov?[e,n,s,r,a,i]=bl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,n,s,r,a,i]=Ns(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new Ko({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:n,c2x:s,c2y:r,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform(),s=[];s.push(["M",t,e]);for(let r=0,a=n.length;r<a;r++)s.push(...n[r].toSVGPathData());return s}toSVGPathD(){return wn.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform();t.beginPath(),t.moveTo(e,n),s.forEach(r=>{r.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],n=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),e.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const s=Math.min.apply(0,e),r=Math.min.apply(0,n),a=Math.max.apply(0,e),i=Math.max.apply(0,n);return{x:s,y:r,width:a-s,height:i-r}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Qe;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let e=this.startPathX,n=this.startPathY;({x:e,y:n}=t.transformPoint({x:e,y:n}));const s=[];return this.normalizedLines.forEach(r=>{let a=r.x,i=r.y,l=r.c1x,c=r.c1y,u=r.c2x,f=r.c2y,d=r.toX,h=r.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),s.push(new Ko({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:e,startPathY:n,normalizedLines:s}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,n)=>e+=n.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let n=0;const s=e.length;for(let r=0;r<s;r++){const a=e[r],i=a.length();if(n+i>=t)return a.getPointAtSegmentLength(t-n);n+=i}return e[s-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform(),r=s.length;if(r===0)return{x:e,y:n};if(r===1)return s[0].interpolate(t);{let a=t*r,i=s[0];if(a--,a>1)for(let l=1;l<r&&(i=s[l],a>1);l++)a-=1;return i.interpolate(a)}}getSubpath(t,e){if(this.getTotalLength()-e<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,e,n){const{startPathX:s,startPathY:r,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new vo;c.prevPathX=c.startPathX=s,c.prevPathY=c.startPathY=r;for(let u=0,f=a.length;u<f;u++){const d=a[u],h=d.length();if(l+h>e&&!i){const p=d.getPointAtSegmentLength(e-l);if(c.appendLine(new Ko({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;i=c,c.appendLine(new Ko({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),l+=h;continue}l+=h,c.appendLine(d)}return c}closestPoint(t,e){const n=this.getTotalLength();let s={x:t,y:e},r=0,a=1/0,i=8;for(let c=0;c<=n;c+=i){const u=this.getPointAtLength(c),f=gl(u.x,u.y,t,e);f<a&&(s=u,r=c,a=f)}for(i/=2;i>.5;){const c=r-i,u=this.getPointAtLength(c),f=gl(u.x,u.y,t,e),d=r+i,h=this.getPointAtLength(d),p=gl(h.x,h.y,t,e);c>=0&&f<a?(s=u,r=c,a=f):d<=n&&p<a?(s=h,r=d,a=p):i/=2}const l=this.getPointAtLength(r+(r===n?-.1:.1));return{point:s,rotation:r>=n?jr(l.x,l.y,s.x,s.y):jr(s.x,s.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform();return[t,e].concat(n.reduce((s,r)=>s.concat([r.c1x,r.c1y,r.c2x,r.c2y,r.toX,r.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let n=t[e-2],s=t[e-1],r=0;for(let a=0;a<e;a+=6)r+=vd(t[a],t[a+1],n,s),n=t[a],s=t[a+1];return Math.floor(r)}expendFill(t){const e=this.polymorphPoints,n=e.length;let s=t-n;const r=Math.ceil(t/n),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=n-1;){const l=e[i++],c=e[i++],u=e[i++],f=e[i++],d=e[i++],h=e[i++];a.push(["C",l,c,u,f,d,h]);let p=0;for(;p<r&&s>0;)a.push(["C",d,h,d,h,d,h]),s-=6,p++}return a}static mixPoints(t,e,n){const s=t.length,r=new Array(s);for(let a=0;a<s;a++)r[a]=Re(t[a]+(e[a]-t[a])*n,6);return r}static getPathInterpolator(t,e){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?e:vo.fromPolymorphPoints(vo.mixPoints(new vo({d:t}).polymorphPoints,new vo({d:e}).polymorphPoints,n)).toSVGPathData()}}class Fs extends Vr{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=zn(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=ol(n).reduce((s,r)=>s+r,0)}return E1(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new vo,al(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,e){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),e={x:this.x,y:this.y};return t&&(e.x=t.x+t.width/2,e.y=t.y+t.height/2),e}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const s=n.originMatrix?n.originMatrix.clone():new Qe;s.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=s});const e=this.originMatrix?this.originMatrix.clone():new Qe;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,n){if(n instanceof vl)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(s);{const r=this.getBoundingClientRect();if(r)return t>=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height}return!1}isPointInStroke(t,e,n){if(n instanceof vl)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(s):!1}clone(){return l1(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,e){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,s])=>[Fo(n),s]))):e&&(this.attrs[Fo(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[Fo(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[Fo(t)]}distance(t){return vd(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=qe(jr(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:n,dy:s}=Wr(ie(this.degree),e);this.vx=n,this.vy=s,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:n,dy:s}=Wr(ie(this.degree),e);this.ax=n,this.ay=s,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,n=t.y-this.y,s=e*e+n*n,r=Math.sqrt(s),a=this.mass*t.mass/s,i=a*e/r,l=a*n/r;this.vx+=i/this.mass,this.vy+=l/this.mass,t.vx-=i/t.mass,t.vy-=l/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const e=io(t?.gravity,0);this.vy+=e;const n=io(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const n=io(e?.easing,.05),s=t.x-this.cX-this.x,r=t.y-this.cY-this.y;this.vx=s*n,this.vy=r*n,this.run(e)}runSpringTo(t,e){const n=io(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(s=>{const r=s.x-this.cX-this.x,a=s.y-this.cY-this.y,i=r*n,l=a*n;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const n=io(e?.springLength,100),s=io(e?.spring,1e-4),r=t.x-this.x,a=t.y-this.y,i=Math.sqrt(r*r+a*a);if(i<n){const l=r*s,c=a*s;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,e=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*n),this.getPointAtLength(e*n)}strokeDashTween(t=1e3,e){const n=this.initPathD(),s=Re(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${s} ${s}`,strokeDashoffset:`${s}`});const r=e?.onUpdate,a=new Xe({frameDuration:t});a.addTween({offset:s},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+Re(i.offset,2)),r?.(i,l)}})),a.play()}}class rv extends Fs{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,e){this.vpX=t,this.vpY=e}setCenter(t,e,n){this.cX=t,this.cY=e,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=wl(ie(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=wl(ie(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=wl(ie(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return yd(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,n=t.y-this.y,s=t.z-this.z;return Math.sqrt(e*e+n*n+s*s)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const n=t/e;this.scalar(n)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,n=this.y,s=this.z;return{x:n*t.z-s*t.y,y:s*t.x-e*t.z,z:e*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y,z:this.z-2*e*t.z}}}const ta=rv;class _l{_x;_y;_z;_w;constructor(t=0,e=0,n=0,s=1){this._x=t,this._y=e,this._z=n,this._w=s}static slerpFlat(t,e,n,s,r,a,i){let l=n[s+0],c=n[s+1],u=n[s+2],f=n[s+3];const d=r[a+0],h=r[a+1],p=r[a+2],v=r[a+3];if(i===0){t[e+0]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f;return}if(i===1){t[e+0]=d,t[e+1]=h,t[e+2]=p,t[e+3]=v;return}if(f!==v||l!==d||c!==h||u!==p){let k=1-i;const x=l*d+c*h+u*p+f*v,m=x>=0?1:-1,g=1-x*x;if(g>Number.EPSILON){const b=Math.sqrt(g),_=Math.atan2(b,x*m);k=Math.sin(k*_)/b,i=Math.sin(i*_)/b}const y=i*m;if(l=l*k+d*y,c=c*k+h*y,u=u*k+p*y,f=f*k+v*y,k===1-i){const b=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=b,c*=b,u*=b,f*=b}}t[e]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f}static multiplyQuaternionsFlat(t,e,n,s,r,a){const i=n[s],l=n[s+1],c=n[s+2],u=n[s+3],f=r[a],d=r[a+1],h=r[a+2],p=r[a+3];return t[e]=i*p+u*f+l*h-c*d,t[e+1]=l*p+u*d+c*f-i*h,t[e+2]=c*p+u*h+i*d-l*f,t[e+3]=u*p-i*f-l*d-c*h,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t=this._x,e=this._y,n=this._z,s=this._w){return this._x=t,this._y=e,this._z=n,this._w=s,this._onChangeCallback(),this}clone(){return new _l(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const n=t.x,s=t.y,r=t.z,a=t.order,i=Math.cos,l=Math.sin,c=i(n/2),u=i(s/2),f=i(r/2),d=l(n/2),h=l(s/2),p=l(r/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("Quaternion: .setFromEuler() encountered an unknown order: "+a)}return e===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,s=Math.sin(n);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix4(t){const e=t.value,n=e[0],s=e[4],r=e[8],a=e[1],i=e[5],l=e[9],c=e[2],u=e[6],f=e[10],d=n+i+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(r-c)*h,this._z=(a-s)*h}else if(n>i&&n>f){const h=2*Math.sqrt(1+n-i-f);this._w=(u-l)/h,this._x=.25*h,this._y=(s+a)/h,this._z=(r+c)/h}else if(i>f){const h=2*Math.sqrt(1+i-n-f);this._w=(r-c)/h,this._x=(s+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-n-i);this._w=(a-s)/h,this._x=(r+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Vt(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(n===0)return this;const s=Math.min(1,e/n);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,s=t._y,r=t._z,a=t._w,i=e._x,l=e._y,c=e._z,u=e._w;return this._x=n*u+a*i+s*c-r*l,this._y=s*u+a*l+r*i-n*c,this._z=r*u+a*c+n*l-s*i,this._w=a*u-n*i-s*l-r*c,this._onChangeCallback(),this}slerp(t,e){if(e===0)return this;if(e===1)return this.copy(t);const n=this._x,s=this._y,r=this._z,a=this._w;let i=a*t._w+n*t._x+s*t._y+r*t._z;if(i<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,i=-i):this.copy(t),i>=1)return this._w=a,this._x=n,this._y=s,this._z=r,this;const l=1-i*i;if(l<=Number.EPSILON){const h=1-e;return this._w=h*a+e*this._w,this._x=h*n+e*this._x,this._y=h*s+e*this._y,this._z=h*r+e*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,i),f=Math.sin((1-e)*u)/c,d=Math.sin(e*u)/c;return this._w=a*f+this._w*d,this._x=n*f+this._x*d,this._y=s*f+this._y*d,this._z=r*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),n=Math.random(),s=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(s*Math.sin(t),s*Math.cos(t),r*Math.sin(e),r*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class lo{x=0;y=0;z=0;constructor(t=0,e=0,n=0){this.x=t,this.y=e,this.z=n}set(t=0,e=0,n=0){return this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new lo(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(Cd.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Cd.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[3]*n+r[6]*s,this.y=r[1]*e+r[4]*n+r[7]*s,this.z=r[2]*e+r[5]*n+r[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,s=this.z,r=t.value,a=1/(r[3]*e+r[7]*n+r[11]*s+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*s+r[12])*a,this.y=(r[1]*e+r[5]*n+r[9]*s+r[13])*a,this.z=(r[2]*e+r[6]*n+r[10]*s+r[14])*a,this}applyQuaternion(t){const e=this.x,n=this.y,s=this.z,r=t.x,a=t.y,i=t.z,l=t.w,c=2*(a*s-i*n),u=2*(i*e-r*s),f=2*(r*n-a*e);return this.x=e+l*c+a*f-i*u,this.y=n+l*u+i*c-r*f,this.z=s+l*f+r*u-a*c,this}transformDirection(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[4]*n+r[8]*s,this.y=r[1]*e+r[5]*n+r[9]*s,this.z=r[2]*e+r[6]*n+r[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Vt(this.x,t.x,e.x),this.y=Vt(this.y,t.y,e.y),this.z=Vt(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=Vt(this.x,t,e),this.y=Vt(this.y,t,e),this.z=Vt(this.z,t,e),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Vt(n,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,s=t.y,r=t.z,a=e.x,i=e.y,l=e.z;return this.x=s*l-r*i,this.y=r*a-n*l,this.z=n*i-s*a,this}projectOnVector(t){const e=t.lengthSq();if(e===0)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}perpendOnVector(t){return xl.copy(this).projectOnVector(t),this.sub(xl)}projectOnPlane(t){return this.perpendOnVector(t)}reflect(t){return this.sub(xl.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(e===0)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Vt(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,s=this.z-t.z;return e*e+n*n+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromMatrix4Position(t){const e=t.value;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrix4Scale(t){const e=this.setFromMatrix4Column(t,0).length(),n=this.setFromMatrix4Column(t,1).length(),s=this.setFromMatrix4Column(t,2).length();return this.x=e,this.y=n,this.z=s,this}setFromMatrix4Column(t,e){return this.fromArray(t.value,e*4)}setFromMatrix3Column(t,e){return this.fromArray(t.value,e*3)}setFromEuler(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=Math.random()*2-1,n=Math.sqrt(1-e*e);return this.x=n*Math.cos(t),this.y=e,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const xl=new lo,Cd=new _l,ea=2e3,Td=2001,Ed=[1,0,0,1,0,0],Sd=[1,0,0,0,1,0,0,0,1],Od=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class zs{value;constructor(t=Sd){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m21(){return this.value[3]}get m22(){return this.value[4]}get m23(){return this.value[5]}get m31(){return this.value[6]}get m32(){return this.value[7]}get m33(){return this.value[8]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m21(t){this.value[3]=t}set m22(t){this.value[4]=t}set m23(t){this.value[5]=t}set m31(t){this.value[6]=t}set m32(t){this.value[7]=t}set m33(t){this.value[8]=t}set(t=1,e=0,n=0,s=0,r=1,a=0,i=0,l=0,c=1){const u=this.value;return u[0]=t,u[1]=s,u[2]=i,u[3]=e,u[4]=r,u[5]=l,u[6]=n,u[7]=a,u[8]=c,this}identity(){return this.value=Array.from(Sd),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this}clone(){return new zs(this.value)}fromArray(t,e=0){for(let n=0;n<9;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){return t[e]=this.m11,t[e+1]=this.m12,t[e+2]=this.m13,t[e+3]=this.m21,t[e+4]=this.m22,t[e+5]=this.m23,t[e+6]=this.m31,t[e+7]=this.m32,t[e+8]=this.m33,t}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){return this.set(t.m11,t.m21,t.m31,t.m12,t.m22,t.m32,t.m13,t.m23,t.m33),this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[3],l=n[6],c=n[1],u=n[4],f=n[7],d=n[2],h=n[5],p=n[8],v=s[0],k=s[3],x=s[6],m=s[1],g=s[4],y=s[7],b=s[2],_=s[5],$=s[8];return r[0]=a*v+i*m+l*b,r[3]=a*k+i*g+l*_,r[6]=a*x+i*y+l*$,r[1]=c*v+u*m+f*b,r[4]=c*k+u*g+f*_,r[7]=c*x+u*y+f*$,r[2]=d*v+h*m+p*b,r[5]=d*k+h*g+p*_,r[8]=d*x+h*y+p*$,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}determinant(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8];return e*a*u-e*i*c-n*r*u+n*i*l+s*r*c-s*a*l}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=u*a-i*c,d=i*l-u*r,h=c*r-a*l,p=e*f+n*d+s*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const v=1/p;return t[0]=f*v,t[1]=(s*c-u*n)*v,t[2]=(i*n-s*a)*v,t[3]=d*v,t[4]=(u*e-s*l)*v,t[5]=(s*r-i*e)*v,t[6]=h*v,t[7]=(n*l-c*e)*v,t[8]=(a*e-n*r)*v,this}transpose(){let t;const e=this.value;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.value;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,s,r,a,i){const l=Math.cos(r),c=Math.sin(r);return this.set(n*l,n*c,-n*(l*a+c*i)+a+t,-s*c,s*l,-s*(-c*a+l*i)+i+e,0,0,1),this}scale(t,e){return this.premultiply(kl.makeScale(t,e)),this}rotate(t){return this.premultiply(kl.makeRotation(-t)),this}translate(t,e){return this.premultiply(kl.makeTranslation(t,e)),this}makeTranslation(t,e){return typeof t=="number"?this.set(1,0,t,0,1,e,0,0,1):this.set(1,0,t.x,0,1,t.y,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){for(let e=0;e<9;e++)if(this.value[e]!==t.value[e])return!1;return!0}}class Ke{value;is3dSpecial=!1;constructor(t=Od){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}set(t=1,e=0,n=0,s=0,r=0,a=1,i=0,l=0,c=0,u=0,f=1,d=0,h=0,p=0,v=0,k=1){const x=this.value;return x[0]=t,x[4]=e,x[8]=n,x[12]=s,x[1]=r,x[5]=a,x[9]=i,x[13]=l,x[2]=c,x[6]=u,x[10]=f,x[14]=d,x[3]=h,x[7]=p,x[11]=v,x[15]=k,this}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from(Od),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m14=t.m14,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m24=t.m24,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this.m34=t.m34,this.m41=t.m41,this.m42=t.m42,this.m43=t.m43,this.m44=t.m44,this}clone(){return new Ke(this.value)}static fromString(t){const e=new Ke,n=Kf("number",t);return n.length===16&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}fromArray(t,e=0){for(let n=0;n<16;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.value;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}copyPosition(t){const e=this.value,n=t.value;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.value;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrix4Column(this,0),e.setFromMatrix4Column(this,1),n.setFromMatrix4Column(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}normalize(){return this.multiplyScalar(1/(this.m44||1e-4))}transformPoint(t){const e=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+n*this.m44}}toMatrix(t){const{scalarX:e,scalarY:n,skewX:s,skewY:r,x:a,y:i}=this.split(),l=[e,r,s,n,a,i];return t?(t.value=l,t):new Qe(l)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix4(${this.value.map(e=>Re(e,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),e=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),s=qe(Vt(Math.asin(-this.m13),-1,1));let r=qe(Math.atan2(this.m23,this.m33));Math.cos(ie(s))===0&&(r=qe(Math.atan2(-this.m31,this.m22)));let a=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:e,scalarZ:n,degreeX:r,degreeY:s,degreeZ:a,skewX:qe(this.m14),skewY:qe(this.m24),skewZ:qe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}extractRotation(t){const e=this.value,n=t.value,s=1/Vn.setFromMatrix4Column(t,0).length(),r=1/Vn.setFromMatrix4Column(t,1).length(),a=1/Vn.setFromMatrix4Column(t,2).length();return e[0]=n[0]*s,e[1]=n[1]*s,e[2]=n[2]*s,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*a,e[9]=n[9]*a,e[10]=n[10]*a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.value,n=t.x,s=t.y,r=t.z,a=Math.cos(n),i=Math.sin(n),l=Math.cos(s),c=Math.sin(s),u=Math.cos(r),f=Math.sin(r);if(t.order==="XYZ"){const d=a*u,h=a*f,p=i*u,v=i*f;e[0]=l*u,e[4]=-l*f,e[8]=c,e[1]=h+p*c,e[5]=d-v*c,e[9]=-i*l,e[2]=v-d*c,e[6]=p+h*c,e[10]=a*l}else if(t.order==="YXZ"){const d=l*u,h=l*f,p=c*u,v=c*f;e[0]=d+v*i,e[4]=p*i-h,e[8]=a*c,e[1]=a*f,e[5]=a*u,e[9]=-i,e[2]=h*i-p,e[6]=v+d*i,e[10]=a*l}else if(t.order==="ZXY"){const d=l*u,h=l*f,p=c*u,v=c*f;e[0]=d-v*i,e[4]=-a*f,e[8]=p+h*i,e[1]=h+p*i,e[5]=a*u,e[9]=v-d*i,e[2]=-a*c,e[6]=i,e[10]=a*l}else if(t.order==="ZYX"){const d=a*u,h=a*f,p=i*u,v=i*f;e[0]=l*u,e[4]=p*c-h,e[8]=d*c+v,e[1]=l*f,e[5]=v*c+d,e[9]=h*c-p,e[2]=-c,e[6]=i*l,e[10]=a*l}else if(t.order==="YZX"){const d=a*l,h=a*c,p=i*l,v=i*c;e[0]=l*u,e[4]=v-d*f,e[8]=p*f+h,e[1]=f,e[5]=a*u,e[9]=-i*u,e[2]=-c*u,e[6]=h*f+p,e[10]=d-v*f}else if(t.order==="XZY"){const d=a*l,h=a*c,p=i*l,v=i*c;e[0]=l*u,e[4]=-f,e[8]=c*u,e[1]=d*f+v,e[5]=a*u,e[9]=h*f-p,e[2]=p*f-h,e[6]=i*u,e[10]=v*f+d}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(av,t,iv)}lookAt(t,e,n){const s=this.value;return Ze.subVectors(t,e),Ze.lengthSq()===0&&(Ze.z=1),Ze.normalize(),Qo.crossVectors(n,Ze),Qo.lengthSq()===0&&(Math.abs(n.z)===1?Ze.x+=1e-4:Ze.z+=1e-4,Ze.normalize(),Qo.crossVectors(n,Ze)),Qo.normalize(),oa.crossVectors(Ze,Qo),s[0]=Qo.x,s[4]=oa.x,s[8]=Ze.x,s[1]=Qo.y,s[5]=oa.y,s[9]=Ze.y,s[2]=Qo.z,s[6]=oa.z,s[10]=Ze.z,this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[4],l=n[8],c=n[12],u=n[1],f=n[5],d=n[9],h=n[13],p=n[2],v=n[6],k=n[10],x=n[14],m=n[3],g=n[7],y=n[11],b=n[15],_=s[0],$=s[4],Y=s[8],B=s[12],D=s[1],ut=s[5],j=s[9],tt=s[13],vt=s[2],St=s[6],$t=s[10],kt=s[14],wt=s[3],oe=s[7],pe=s[11],he=s[15];return r[0]=a*_+i*D+l*vt+c*wt,r[4]=a*$+i*ut+l*St+c*oe,r[8]=a*Y+i*j+l*$t+c*pe,r[12]=a*B+i*tt+l*kt+c*he,r[1]=u*_+f*D+d*vt+h*wt,r[5]=u*$+f*ut+d*St+h*oe,r[9]=u*Y+f*j+d*$t+h*pe,r[13]=u*B+f*tt+d*kt+h*he,r[2]=p*_+v*D+k*vt+x*wt,r[6]=p*$+v*ut+k*St+x*oe,r[10]=p*Y+v*j+k*$t+x*pe,r[14]=p*B+v*tt+k*kt+x*he,r[3]=m*_+g*D+y*vt+b*wt,r[7]=m*$+g*ut+y*St+b*oe,r[11]=m*Y+g*j+y*$t+b*pe,r[15]=m*B+g*tt+y*kt+b*he,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this}determinant(){const t=this.value,e=t[0],n=t[4],s=t[8],r=t[12],a=t[1],i=t[5],l=t[9],c=t[13],u=t[2],f=t[6],d=t[10],h=t[14],p=t[3],v=t[7],k=t[11],x=t[15];return p*(+r*l*f-s*c*f-r*i*d+n*c*d+s*i*h-n*l*h)+v*(+e*l*h-e*c*d+r*a*d-s*a*h+s*c*u-r*l*u)+k*(+e*c*f-e*i*h-r*a*f+n*a*h+r*i*u-n*c*u)+x*(-s*i*u-e*l*f+e*i*d+s*a*f-n*a*d+n*l*u)}transpose(){const t=this.value;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const s=this.value;return t instanceof lo?(s[12]=t.x,s[13]=t.y,s[14]=t.z):typeof t=="number"&&typeof e=="number"&&typeof n=="number"&&(s[12]=t,s[13]=e,s[14]=n),this}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],k=t[14],x=t[15],m=f*k*c-v*d*c+v*l*h-i*k*h-f*l*x+i*d*x,g=p*d*c-u*k*c-p*l*h+a*k*h+u*l*x-a*d*x,y=u*v*c-p*f*c+p*i*h-a*v*h-u*i*x+a*f*x,b=p*f*l-u*v*l-p*i*d+a*v*d+u*i*k-a*f*k,_=e*m+n*g+s*y+r*b;if(_===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const $=1/_;return t[0]=m*$,t[1]=(v*d*r-f*k*r-v*s*h+n*k*h+f*s*x-n*d*x)*$,t[2]=(i*k*r-v*l*r+v*s*c-n*k*c-i*s*x+n*l*x)*$,t[3]=(f*l*r-i*d*r-f*s*c+n*d*c+i*s*h-n*l*h)*$,t[4]=g*$,t[5]=(u*k*r-p*d*r+p*s*h-e*k*h-u*s*x+e*d*x)*$,t[6]=(p*l*r-a*k*r-p*s*c+e*k*c+a*s*x-e*l*x)*$,t[7]=(a*d*r-u*l*r+u*s*c-e*d*c-a*s*h+e*l*h)*$,t[8]=y*$,t[9]=(p*f*r-u*v*r-p*n*h+e*v*h+u*n*x-e*f*x)*$,t[10]=(a*v*r-p*i*r+p*n*c-e*v*c-a*n*x+e*i*x)*$,t[11]=(u*i*r-a*f*r-u*n*c+e*f*c+a*n*h-e*i*h)*$,t[12]=b*$,t[13]=(u*v*s-p*f*s+p*n*d-e*v*d-u*n*k+e*f*k)*$,t[14]=(p*i*s-a*v*s-p*n*l+e*v*l+a*n*k-e*i*k)*$,t[15]=(a*f*s-u*i*s+u*n*l-e*f*l-a*n*d+e*i*d)*$,this}getMaxScaleOnAxis(){const t=this.value,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,s))}makeTranslation(t,e,n){return t instanceof lo?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),s=Math.sin(e),r=1-n,a=t.x,i=t.y,l=t.z,c=r*a,u=r*i;return this.set(c*a+n,c*i-s*l,c*l+s*i,0,c*i+s*l,u*i+n,u*l-s*a,0,c*l-s*i,u*l+s*a,r*l*l+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,s,r,a){return this.set(1,n,r,0,t,1,a,0,e,s,1,0,0,0,0,1),this}makePerspective(t,e,n,s,r,a,i=ea){const l=this.value,c=2*r/(e-t),u=2*r/(n-s),f=(e+t)/(e-t),d=(n+s)/(n-s);let h,p;if(i===ea)h=-(a+r)/(a-r),p=-2*a*r/(a-r);else if(i===Td)h=-a/(a-r),p=-a*r/(a-r);else throw new Error("Matrix4.makePerspective(): Invalid coordinate system: "+i);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=d,l[13]=0,l[2]=0,l[6]=0,l[10]=h,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(t,e,n,s,r,a,i=ea){const l=this.value,c=1/(e-t),u=1/(n-s),f=1/(a-r),d=(e+t)*c,h=(n+s)*u;let p,v;if(i===ea)p=(a+r)*f,v=-2*f;else if(i===Td)p=r*f,v=-1*f;else throw new Error("Matrix4.makeOrthographic(): Invalid coordinate system: "+i);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-d,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-h,l[2]=0,l[6]=0,l[10]=v,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}compose(t,e,n){const s=this.value,r=e.x,a=e.y,i=e.z,l=e.w,c=r+r,u=a+a,f=i+i,d=r*c,h=r*u,p=r*f,v=a*u,k=a*f,x=i*f,m=l*c,g=l*u,y=l*f,b=n.x,_=n.y,$=n.z;return s[0]=(1-(v+x))*b,s[1]=(h+y)*b,s[2]=(p-g)*b,s[3]=0,s[4]=(h-y)*_,s[5]=(1-(d+x))*_,s[6]=(k+m)*_,s[7]=0,s[8]=(p+g)*$,s[9]=(k-m)*$,s[10]=(1-(d+v))*$,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,n){const s=this.value;let r=Vn.set(s[0],s[1],s[2]).length();const a=Vn.set(s[4],s[5],s[6]).length(),i=Vn.set(s[8],s[9],s[10]).length();this.determinant()<0&&(r=-r),t.x=s[12],t.y=s[13],t.z=s[14],co.copy(this);const c=1/r,u=1/a,f=1/i;return co.value[0]*=c,co.value[1]*=c,co.value[2]*=c,co.value[4]*=u,co.value[5]*=u,co.value[6]*=u,co.value[8]*=f,co.value[9]*=f,co.value[10]*=f,e.setFromRotationMatrix4(co),n.x=r,n.y=a,n.z=i,this}equals(t){for(let e=0;e<16;e++)if(this.value[e]!==t.value[e])return!1;return!0}translate(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1]))}scale(t=1,e=1,n=1){return this.multiply(new Ke([t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1]))}scaleVector3(t){const e=this.value,n=t.x,s=t.y,r=t.z;return e[0]*=n,e[4]*=s,e[8]*=r,e[1]*=n,e[5]*=s,e[9]*=r,e[2]*=n,e[6]*=s,e[10]*=r,e[3]*=n,e[7]*=s,e[11]*=r,this}rotateX(t){const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([1,0,0,0,0,n,s,0,0,-s,n,0,0,0,0,1]))}rotateY(t){const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,0,-s,0,0,1,0,0,s,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,ie(t),0,1,0,ie(e),0,0,1,ie(n),0,0,0,1]))}perspective(t){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let e=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,s=t.x*this.m13+t.y*this.m23+this.m43,r=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=n+this.m32,l=s+this.m33,c=r+this.m34;r==0&&(r=1e-4),e/=r,n/=r,s/=r,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-s;if(u==0)return{x:e,y:n,z:s,mass:r};const f=-s/u;return e+=f*(a-e),n+=f*(i-n),{x:e,y:n,z:s,mass:r}}project(t){const e=t.z;let n=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,s=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,r=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return r==0&&(r=1e-4),n/=r,s/=r,r<0&&(n-=this.m41,s-=this.m42,n*=1/r,s*=1/r,n+=this.m41,s+=this.m42),{x:n,y:s,z:e,mass:r}}bounds(t,e,n,s){const r=new ta({x:t,y:e}),a=new ta({x:t+n,y:e}),i=new ta({x:t+n,y:e+s}),l=new ta({x:t,y:e+s});({x:r.x,y:r.y,z:r.z,mass:r.mass}=this.project(r)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l);const c=Math.min(r.x,a.x,i.x,l.x),u=Math.min(r.y,a.y,i.y,l.y),f=Math.max(r.x,a.x,i.x,l.x)-c,d=Math.max(r.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}class Qe{value;_m13=0;_m23=0;_m33=1;matrix4;constructor(t=Ed){this.value=Array.from(t),this.matrix4=this.toMatrix4()}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}static fromString(t){const e=new Qe,n=Kf("number",t);return n.length===6&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}toMatrix4(t=this.matrix4){const e=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=e,t):new Ke(e)}identity(){return this.value=Array.from(Ed),this.m13=0,this.m23=0,this.m33=1,this.matrix4=this.toMatrix4(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.multiplyScalar(1/t)}transformPoint(t){const e=t.z||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31,y:t.x*this.m12+t.y*this.m22+e*this.m32,z:t.x*this.m13+t.y*this.m23+e*this.m33}}clone(){return new Qe(this.value)}multiply(t){const e=this.clone(),n=t instanceof Qe?t:new Qe(t);return this.m11=n.m11*e.m11+n.m12*e.m21+n.m13*e.m31,this.m12=n.m11*e.m12+n.m12*e.m22+n.m13*e.m32,this.m13=n.m11*e.m13+n.m12*e.m23+n.m13*e.m33,this.m21=n.m21*e.m11+n.m22*e.m21+n.m23*e.m31,this.m22=n.m21*e.m12+n.m22*e.m22+n.m23*e.m32,this.m23=n.m21*e.m13+n.m22*e.m23+n.m23*e.m33,this.m31=n.m31*e.m11+n.m32*e.m21+n.m33*e.m31,this.m32=n.m31*e.m12+n.m32*e.m22+n.m33*e.m32,this.m33=n.m31*e.m13+n.m32*e.m23+n.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}invert(){const t=this.m11,e=this.m12,n=this.m13,s=this.m21,r=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*r-a*l,f=-c*s+a*i,d=l*s-r*i;let h=t*u+e*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*e+n*l)*h,this.m13=(a*e-n*r)*h,this.m21=f*h,this.m22=(c*t-n*i)*h,this.m23=(-a*t+n*s)*h,this.m31=d*h,this.m32=(-l*t+e*i)*h,this.m33=(r*t-e*s)*h,this):null}adjugate(){const t=new Qe;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:qe(Math.atan2(-this.m21,this.m22)),skewY:qe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],n=this.value[1],s=this.value[2],r=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=l*f,v=c*u,k=(u*n-e*f)/(v-p),x=(l*n-e*c)/(p-v),m=(u*r-s*f)/(v-p),g=(l*r-s*c)/(p-v),y=(u*(i-h)+f*(d-a))/(v-p),b=(l*(i-h)+c*(d-a))/(p-v),_=[k,x,m,g,y,b];return new Qe(_)}toString(t=6){return this.matrix4.is2D()?`matrix(${this.value.map(e=>Re(e,t)).join(",")})`:this.matrix4.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix4(),this}translateTo(t,e){return this.translate(t-this.m31,e-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix4.translate(0,0,t),this.matrix4.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix4.m43),this}translate3d(t,e,n){return this.matrix4.translate(t,e,n),this.matrix4.toMatrix(this),this}translate3dTo(t,e,n){return this.translate3d(t-this.matrix4.m41,e-this.matrix4.m42,n-this.matrix4.m43),this}rotate(t,e=0,n=0){const s=ie(t),r=Math.cos(s),a=Math.sin(s);return this.translate(e,n),this.multiply([r,a,-a,r,0,0]),this.translate(-e,-n),this.toMatrix4(),this}rotateTo(t,e=0,n=0){const{degree:s}=this.split();return this.rotate(t-s,e,n),this}rotateX(t){return this.matrix4.rotateX(t),this.matrix4.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix4.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix4.rotateY(t),this.matrix4.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix4.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix4.rotateZ(t),this.matrix4.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix4.split();return this.rotateZ(t-e),this}rotate3d(t,e,n){return this.matrix4.rotateX(t).rotateY(e).rotateZ(n),this.matrix4.toMatrix(this),this}rotate3dTo(t,e,n){const{degreeX:s,degreeY:r,degreeZ:a}=this.matrix4.split();return this.rotate3d(t-s,e-r,n-a),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.multiply([t,0,0,e,0,0]),this.translate(-n,-s),this.toMatrix4(),this}scaleTo(t,e=t,n=0,s=0){return this.scale(t/this.m11,e/this.m22,n,s)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix4.scale(1,1,t),this.matrix4.toMatrix(this),this}scaleZTo(t){const{scalarZ:e}=this.matrix4.split();return this.scaleZ(t/e),this}scale3d(t,e=t,n=t){return this.matrix4.scale(t,e,n),this.matrix4.toMatrix(this),this}scale3dTo(t,e=t,n=t){const{scalarX:s,scalarY:r,scalarZ:a}=this.matrix4.split();return this.scale3d(t/s,e/r,n/a),this}skew(t,e=t){return this.multiply([Math.cos(ie(e)),Math.sin(ie(e)),-Math.sin(ie(t)),Math.cos(ie(t)),0,0]),this.toMatrix4(),this}skewTo(t,e=t){const{skewX:n,skewY:s}=this.split();return this.skew(t-n,e-s)}skewX(t){const{skewY:e}=this.split();return this.skew(t,e)}skewXTo(t){const{skewY:e}=this.split();return this.skewTo(t,e)}skewY(t){const{skewX:e}=this.split();return this.skew(e,t)}skewYTo(t){const{skewX:e}=this.split();return this.skewTo(e,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,e,n){return this}skew3dTo(t,e,n){return this}perspective(t){return this.matrix4.perspective(t),this.matrix4.toMatrix(this),this}}const av=new lo(0,0,0),iv=new lo(1,1,1),Qo=new lo,oa=new lo,Ze=new lo,Vn=new lo,kl=new zs,co=new Ke;function wl(o,t,e){const n=new Qe;return n.rotate(qe(o)),n.transformPoint({x:t,y:e})}function Cl(o,t,e){const n=gd(o);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[e1(t)]||n.props.style[Fo(t)]||"":n.props.style}function Pd(o){const t={};if(getComputedStyle){const e=getComputedStyle(o);for(let n=0,s=e.length;n<s;n++)t[e[n]]=e.getPropertyValue(t[n])}else{const e=o.currentStyle;for(const n in e)t[n]=e[n]}return o.style.cssText&&o.style.cssText.split(";").filter(e=>!!e).forEach(e=>{const[n,s]=e.split(":");n&&s&&(t[n.trim()]=s.trim())}),t}function Tl(o,t,e){typeof t=="string"&&e?o.style.setProperty(Fo(t),e.replace(/!important/i,""),String(e).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{Tl(o,n,t[n])})}function Rd(o,t){typeof t=="string"?o.style.removeProperty(Fo(t)):Object.keys(t).forEach(e=>{Rd(o,e)})}function bo(o,t){let e;if(typeof t=="string"){const n=document.querySelector(t)?.shadowRoot;n?e=n:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];if(e){const n=document.createElement("style");return n.innerHTML=o,e.appendChild(n),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(n)}}else{const n=document.styleSheets[0].insertRule(o);return()=>{document.styleSheets[0].deleteRule(n)}}}function lv(o,t,e){if(t===void 0&&e===void 0)return Id(o);if(typeof t=="string"&&e===void 0)return cv(o,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof e=="string"&&(n[t]=""+e),j1(o,s=>{Object.entries(n).forEach(([r,a])=>{s.props[r]=""+a})})}function Id(o){const t={};for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(r.nodeName==="style"?t[r.nodeName]=Pd(o):t[r.nodeName]=r.nodeValue)}return t}function cv(o,t){return t==="style"?Pd(o):o.getAttribute(Fo(t))}function na(o,t,e){return o.setAttribute(Fo(t),""+e)}function uv(o,t){const e=[];return e.push(Jt(o,"dragenter",n=>{Zr(n),t?.onEnter?.(n)})),e.push(Jt(o,"dragover",n=>{Zr(n);const s=n.dataTransfer;s&&(s.dropEffect="move"),t?.onOver?.(n)})),e.push(Jt(o,"dragleave",n=>{Zr(n),t?.onLeave?.(n)})),e.push(Jt(o,"drop",n=>{Zr(n);const s=n.dataTransfer;if(!s){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...s.files])})),()=>{e.forEach(n=>n())}}function sa(){const o=document.documentElement;return{clientWidth:o.clientWidth,clientHeight:o.clientHeight,clientTop:o.clientTop,clientLeft:o.clientLeft,scrollWidth:o.scrollWidth,scrollHeight:o.scrollHeight,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft,offsetWidth:o.offsetWidth,offsetHeight:o.offsetHeight,offsetTop:o.offsetTop,offsetLeft:o.offsetLeft,offsetParent:o.offsetParent}}function Ds(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function Ad(o){const{top:t,left:e,width:n,height:s}=o.getBoundingClientRect(),{scrollLeft:r,scrollTop:a}=sa();return{x:e+r,y:t+a,width:n,height:s}}function fv(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=sa(),n=e-o;return n<=0?0:t/n*100}function dv(){const o={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1},t={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1};return{mousePoint:t,setStartMousePoint:function(e,n){o.x=e.x,o.y=e.y,typeof n=="boolean"&&(o.isDown=n),this.setCurrentMousePoint(e,n)},setCurrentMousePoint:(e,n)=>{const s=t.x,r=t.y;t.x=e.x,t.y=e.y,t.dx=t.x-s,t.dy=t.y-r,t.dStartX=t.x-o.x,t.dStartY=t.y-o.y,typeof n=="boolean"&&(t.isDown=n)}}}function $d(o){if("center"in o)return o.center;if(typeof o.pageX=="number"&&typeof o.pageY=="number")return{x:o.pageX,y:o.pageY};const{scrollLeft:t,scrollTop:e}=sa();return{x:o.clientX+t,y:o.clientY+e}}function Ms(o,t){const e={x:0,y:0};if(t){const n=$d(o),s=Ad(t);e.x=Vt(n.x-s.x,0,s.width),e.y=Vt(n.y-s.y,0,s.height)}else{let n=0,s=0;if("currentTarget"in o&&o.currentTarget&&o.target&&o.currentTarget!=o.target){const r=o.currentTarget.getBoundingClientRect(),a=o.target.getBoundingClientRect();n=a.left-r.left,s=a.top-r.top}if("offsetX"in o)e.x=o.offsetX+n,e.y=o.offsetY+s;else{const r=$d(o),a=Ad(o.target);e.x=Vt(r.x-a.x+n,0,a.width),e.y=Vt(r.y-a.y+s,0,a.height)}}return e}var Nd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
39
+ * http://hammerjs.github.io/
40
+ *
41
+ * Copyright (c) 2016 Jorik Tangelder;
42
+ * Licensed under the MIT license */(function(o){(function(t,e,n,s){var r=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function f(C,S,R){return setTimeout(g(C,R),S)}function d(C,S,R){return Array.isArray(C)?(h(C,R[S],R),!0):!1}function h(C,S,R){var M;if(C)if(C.forEach)C.forEach(S,R);else if(C.length!==s)for(M=0;M<C.length;)S.call(R,C[M],M,C),M++;else for(M in C)C.hasOwnProperty(M)&&S.call(R,C[M],M,C)}function p(C,S,R){var M="DEPRECATED METHOD: "+S+`
43
+ `+R+` AT
44
+ `;return function(){var q=new Error("get-stack-trace"),mt=q&&q.stack?q.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zt=t.console&&(t.console.warn||t.console.log);return zt&&zt.call(t.console,M,mt),C.apply(this,arguments)}}var v;typeof Object.assign!="function"?v=function(S){if(S===s||S===null)throw new TypeError("Cannot convert undefined or null to object");for(var R=Object(S),M=1;M<arguments.length;M++){var q=arguments[M];if(q!==s&&q!==null)for(var mt in q)q.hasOwnProperty(mt)&&(R[mt]=q[mt])}return R}:v=Object.assign;var k=p(function(S,R,M){for(var q=Object.keys(R),mt=0;mt<q.length;)(!M||M&&S[q[mt]]===s)&&(S[q[mt]]=R[q[mt]]),mt++;return S},"extend","Use `assign`."),x=p(function(S,R){return k(S,R,!0)},"merge","Use `assign`.");function m(C,S,R){var M=S.prototype,q;q=C.prototype=Object.create(M),q.constructor=C,q._super=M,R&&v(q,R)}function g(C,S){return function(){return C.apply(S,arguments)}}function y(C,S){return typeof C==i?C.apply(S&&S[0]||s,S):C}function b(C,S){return C===s?S:C}function _(C,S,R){h(D(S),function(M){C.addEventListener(M,R,!1)})}function $(C,S,R){h(D(S),function(M){C.removeEventListener(M,R,!1)})}function Y(C,S){for(;C;){if(C==S)return!0;C=C.parentNode}return!1}function B(C,S){return C.indexOf(S)>-1}function D(C){return C.trim().split(/\s+/g)}function ut(C,S,R){if(C.indexOf&&!R)return C.indexOf(S);for(var M=0;M<C.length;){if(R&&C[M][R]==S||!R&&C[M]===S)return M;M++}return-1}function j(C){return Array.prototype.slice.call(C,0)}function tt(C,S,R){for(var M=[],q=[],mt=0;mt<C.length;){var zt=S?C[mt][S]:C[mt];ut(q,zt)<0&&M.push(C[mt]),q[mt]=zt,mt++}return R&&(S?M=M.sort(function(Oe,Me){return Oe[S]>Me[S]}):M=M.sort()),M}function vt(C,S){for(var R,M,q=S[0].toUpperCase()+S.slice(1),mt=0;mt<r.length;){if(R=r[mt],M=R?R+q:S,M in C)return M;mt++}return s}var St=1;function $t(){return St++}function kt(C){var S=C.ownerDocument||C;return S.defaultView||S.parentWindow||t}var wt=/mobile|tablet|ip(ad|hone|od)|android/i,oe="ontouchstart"in t,pe=vt(t,"PointerEvent")!==s,he=oe&&wt.test(navigator.userAgent),Xt="touch",et="pen",A="mouse",ne="kinect",Nt=25,F=1,nt=2,H=4,lt=8,Pt=1,Zt=2,V=4,E=8,P=16,L=Zt|V,Z=E|P,U=L|Z,G=["x","y"],rt=["clientX","clientY"];function W(C,S){var R=this;this.manager=C,this.callback=S,this.element=C.element,this.target=C.options.inputTarget,this.domHandler=function(M){y(C.options.enable,[C])&&R.handler(M)},this.init()}W.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(kt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&$(this.element,this.evEl,this.domHandler),this.evTarget&&$(this.target,this.evTarget,this.domHandler),this.evWin&&$(kt(this.element),this.evWin,this.domHandler)}};function ot(C){var S,R=C.options.inputClass;return R?S=R:pe?S=Tc:he?S=Ha:oe?S=Ec:S=De,new S(C,K)}function K(C,S,R){var M=R.pointers.length,q=R.changedPointers.length,mt=S&F&&M-q===0,zt=S&(H|lt)&&M-q===0;R.isFirst=!!mt,R.isFinal=!!zt,mt&&(C.session={}),R.eventType=S,Ct(C,R),C.emit("hammer.input",R),C.recognize(R),C.session.prevInput=R}function Ct(C,S){var R=C.session,M=S.pointers,q=M.length;R.firstInput||(R.firstInput=Et(S)),q>1&&!R.firstMultiple?R.firstMultiple=Et(S):q===1&&(R.firstMultiple=!1);var mt=R.firstInput,zt=R.firstMultiple,Ce=zt?zt.center:mt.center,Oe=S.center=Ft(M);S.timeStamp=u(),S.deltaTime=S.timeStamp-mt.timeStamp,S.angle=ve(Ce,Oe),S.distance=we(Ce,Oe),ct(R,S),S.offsetDirection=Ht(S.deltaX,S.deltaY);var Me=te(S.deltaTime,S.deltaX,S.deltaY);S.overallVelocityX=Me.x,S.overallVelocityY=Me.y,S.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,S.scale=zt?ze(zt.pointers,M):1,S.rotation=zt?Ge(zt.pointers,M):0,S.maxPointers=R.prevInput?S.pointers.length>R.prevInput.maxPointers?S.pointers.length:R.prevInput.maxPointers:S.pointers.length,bt(R,S);var ko=C.element;Y(S.srcEvent.target,ko)&&(ko=S.srcEvent.target),S.target=ko}function ct(C,S){var R=S.center,M=C.offsetDelta||{},q=C.prevDelta||{},mt=C.prevInput||{};(S.eventType===F||mt.eventType===H)&&(q=C.prevDelta={x:mt.deltaX||0,y:mt.deltaY||0},M=C.offsetDelta={x:R.x,y:R.y}),S.deltaX=q.x+(R.x-M.x),S.deltaY=q.y+(R.y-M.y)}function bt(C,S){var R=C.lastInterval||S,M=S.timeStamp-R.timeStamp,q,mt,zt,Ce;if(S.eventType!=lt&&(M>Nt||R.velocity===s)){var Oe=S.deltaX-R.deltaX,Me=S.deltaY-R.deltaY,ko=te(M,Oe,Me);mt=ko.x,zt=ko.y,q=c(ko.x)>c(ko.y)?ko.x:ko.y,Ce=Ht(Oe,Me),C.lastInterval=S}else q=R.velocity,mt=R.velocityX,zt=R.velocityY,Ce=R.direction;S.velocity=q,S.velocityX=mt,S.velocityY=zt,S.direction=Ce}function Et(C){for(var S=[],R=0;R<C.pointers.length;)S[R]={clientX:l(C.pointers[R].clientX),clientY:l(C.pointers[R].clientY)},R++;return{timeStamp:u(),pointers:S,center:Ft(S),deltaX:C.deltaX,deltaY:C.deltaY}}function Ft(C){var S=C.length;if(S===1)return{x:l(C[0].clientX),y:l(C[0].clientY)};for(var R=0,M=0,q=0;q<S;)R+=C[q].clientX,M+=C[q].clientY,q++;return{x:l(R/S),y:l(M/S)}}function te(C,S,R){return{x:S/C||0,y:R/C||0}}function Ht(C,S){return C===S?Pt:c(C)>=c(S)?C<0?Zt:V:S<0?E:P}function we(C,S,R){R||(R=G);var M=S[R[0]]-C[R[0]],q=S[R[1]]-C[R[1]];return Math.sqrt(M*M+q*q)}function ve(C,S,R){R||(R=G);var M=S[R[0]]-C[R[0]],q=S[R[1]]-C[R[1]];return Math.atan2(q,M)*180/Math.PI}function Ge(C,S){return ve(S[1],S[0],rt)+ve(C[1],C[0],rt)}function ze(C,S){return we(S[0],S[1],rt)/we(C[0],C[1],rt)}var En={mousedown:F,mousemove:nt,mouseup:H},Ua="mousedown",Se="mousemove mouseup";function De(){this.evEl=Ua,this.evWin=Se,this.pressed=!1,W.apply(this,arguments)}m(De,W,{handler:function(S){var R=En[S.type];R&F&&S.button===0&&(this.pressed=!0),R&nt&&S.which!==1&&(R=H),this.pressed&&(R&H&&(this.pressed=!1),this.callback(this.manager,R,{pointers:[S],changedPointers:[S],pointerType:A,srcEvent:S}))}});var Ga={pointerdown:F,pointermove:nt,pointerup:H,pointercancel:lt,pointerout:lt},vw={2:Xt,3:et,4:A,5:ne},Im="pointerdown",Am="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Im="MSPointerDown",Am="MSPointerMove MSPointerUp MSPointerCancel");function Tc(){this.evEl=Im,this.evWin=Am,W.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}m(Tc,W,{handler:function(S){var R=this.store,M=!1,q=S.type.toLowerCase().replace("ms",""),mt=Ga[q],zt=vw[S.pointerType]||S.pointerType,Ce=zt==Xt,Oe=ut(R,S.pointerId,"pointerId");mt&F&&(S.button===0||Ce)?Oe<0&&(R.push(S),Oe=R.length-1):mt&(H|lt)&&(M=!0),!(Oe<0)&&(R[Oe]=S,this.callback(this.manager,mt,{pointers:R,changedPointers:[S],pointerType:zt,srcEvent:S}),M&&R.splice(Oe,1))}});var bw={touchstart:F,touchmove:nt,touchend:H,touchcancel:lt},_w="touchstart",xw="touchstart touchmove touchend touchcancel";function $m(){this.evTarget=_w,this.evWin=xw,this.started=!1,W.apply(this,arguments)}m($m,W,{handler:function(S){var R=bw[S.type];if(R===F&&(this.started=!0),!!this.started){var M=kw.call(this,S,R);R&(H|lt)&&M[0].length-M[1].length===0&&(this.started=!1),this.callback(this.manager,R,{pointers:M[0],changedPointers:M[1],pointerType:Xt,srcEvent:S})}}});function kw(C,S){var R=j(C.touches),M=j(C.changedTouches);return S&(H|lt)&&(R=tt(R.concat(M),"identifier",!0)),[R,M]}var ww={touchstart:F,touchmove:nt,touchend:H,touchcancel:lt},Cw="touchstart touchmove touchend touchcancel";function Ha(){this.evTarget=Cw,this.targetIds={},W.apply(this,arguments)}m(Ha,W,{handler:function(S){var R=ww[S.type],M=Tw.call(this,S,R);M&&this.callback(this.manager,R,{pointers:M[0],changedPointers:M[1],pointerType:Xt,srcEvent:S})}});function Tw(C,S){var R=j(C.touches),M=this.targetIds;if(S&(F|nt)&&R.length===1)return M[R[0].identifier]=!0,[R,R];var q,mt,zt=j(C.changedTouches),Ce=[],Oe=this.target;if(mt=R.filter(function(Me){return Y(Me.target,Oe)}),S===F)for(q=0;q<mt.length;)M[mt[q].identifier]=!0,q++;for(q=0;q<zt.length;)M[zt[q].identifier]&&Ce.push(zt[q]),S&(H|lt)&&delete M[zt[q].identifier],q++;if(Ce.length)return[tt(mt.concat(Ce),"identifier",!0),Ce]}var Ew=2500,Nm=25;function Ec(){W.apply(this,arguments);var C=g(this.handler,this);this.touch=new Ha(this.manager,C),this.mouse=new De(this.manager,C),this.primaryTouch=null,this.lastTouches=[]}m(Ec,W,{handler:function(S,R,M){var q=M.pointerType==Xt,mt=M.pointerType==A;if(!(mt&&M.sourceCapabilities&&M.sourceCapabilities.firesTouchEvents)){if(q)Sw.call(this,R,M);else if(mt&&Ow.call(this,M))return;this.callback(S,R,M)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Sw(C,S){C&F?(this.primaryTouch=S.changedPointers[0].identifier,Fm.call(this,S)):C&(H|lt)&&Fm.call(this,S)}function Fm(C){var S=C.changedPointers[0];if(S.identifier===this.primaryTouch){var R={x:S.clientX,y:S.clientY};this.lastTouches.push(R);var M=this.lastTouches,q=function(){var mt=M.indexOf(R);mt>-1&&M.splice(mt,1)};setTimeout(q,Ew)}}function Ow(C){for(var S=C.srcEvent.clientX,R=C.srcEvent.clientY,M=0;M<this.lastTouches.length;M++){var q=this.lastTouches[M],mt=Math.abs(S-q.x),zt=Math.abs(R-q.y);if(mt<=Nm&&zt<=Nm)return!0}return!1}var zm=vt(a.style,"touchAction"),Dm=zm!==s,Mm="compute",Lm="auto",Sc="manipulation",Sn="none",Ks="pan-x",Qs="pan-y",ja=Rw();function Oc(C,S){this.manager=C,this.set(S)}Oc.prototype={set:function(C){C==Mm&&(C=this.compute()),Dm&&this.manager.element.style&&ja[C]&&(this.manager.element.style[zm]=C),this.actions=C.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var C=[];return h(this.manager.recognizers,function(S){y(S.options.enable,[S])&&(C=C.concat(S.getTouchAction()))}),Pw(C.join(" "))},preventDefaults:function(C){var S=C.srcEvent,R=C.offsetDirection;if(this.manager.session.prevented){S.preventDefault();return}var M=this.actions,q=B(M,Sn)&&!ja[Sn],mt=B(M,Qs)&&!ja[Qs],zt=B(M,Ks)&&!ja[Ks];if(q){var Ce=C.pointers.length===1,Oe=C.distance<2,Me=C.deltaTime<250;if(Ce&&Oe&&Me)return}if(!(zt&&mt)&&(q||mt&&R&L||zt&&R&Z))return this.preventSrc(S)},preventSrc:function(C){this.manager.session.prevented=!0,C.preventDefault()}};function Pw(C){if(B(C,Sn))return Sn;var S=B(C,Ks),R=B(C,Qs);return S&&R?Sn:S||R?S?Ks:Qs:B(C,Sc)?Sc:Lm}function Rw(){if(!Dm)return!1;var C={},S=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(R){C[R]=S?t.CSS.supports("touch-action",R):!0}),C}var Wa=1,eo=2,es=4,rn=8,Mo=rn,Js=16,xo=32;function Lo(C){this.options=v({},this.defaults,C||{}),this.id=$t(),this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=Wa,this.simultaneous={},this.requireFail=[]}Lo.prototype={defaults:{},set:function(C){return v(this.options,C),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(C){if(d(C,"recognizeWith",this))return this;var S=this.simultaneous;return C=qa(C,this),S[C.id]||(S[C.id]=C,C.recognizeWith(this)),this},dropRecognizeWith:function(C){return d(C,"dropRecognizeWith",this)?this:(C=qa(C,this),delete this.simultaneous[C.id],this)},requireFailure:function(C){if(d(C,"requireFailure",this))return this;var S=this.requireFail;return C=qa(C,this),ut(S,C)===-1&&(S.push(C),C.requireFailure(this)),this},dropRequireFailure:function(C){if(d(C,"dropRequireFailure",this))return this;C=qa(C,this);var S=ut(this.requireFail,C);return S>-1&&this.requireFail.splice(S,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(C){return!!this.simultaneous[C.id]},emit:function(C){var S=this,R=this.state;function M(q){S.manager.emit(q,C)}R<rn&&M(S.options.event+Bm(R)),M(S.options.event),C.additionalEvent&&M(C.additionalEvent),R>=rn&&M(S.options.event+Bm(R))},tryEmit:function(C){if(this.canEmit())return this.emit(C);this.state=xo},canEmit:function(){for(var C=0;C<this.requireFail.length;){if(!(this.requireFail[C].state&(xo|Wa)))return!1;C++}return!0},recognize:function(C){var S=v({},C);if(!y(this.options.enable,[this,S])){this.reset(),this.state=xo;return}this.state&(Mo|Js|xo)&&(this.state=Wa),this.state=this.process(S),this.state&(eo|es|rn|Js)&&this.tryEmit(S)},process:function(C){},getTouchAction:function(){},reset:function(){}};function Bm(C){return C&Js?"cancel":C&rn?"end":C&es?"move":C&eo?"start":""}function Vm(C){return C==P?"down":C==E?"up":C==Zt?"left":C==V?"right":""}function qa(C,S){var R=S.manager;return R?R.get(C):C}function uo(){Lo.apply(this,arguments)}m(uo,Lo,{defaults:{pointers:1},attrTest:function(C){var S=this.options.pointers;return S===0||C.pointers.length===S},process:function(C){var S=this.state,R=C.eventType,M=S&(eo|es),q=this.attrTest(C);return M&&(R&lt||!q)?S|Js:M||q?R&H?S|rn:S&eo?S|es:eo:xo}});function Ka(){uo.apply(this,arguments),this.pX=null,this.pY=null}m(Ka,uo,{defaults:{event:"pan",threshold:10,pointers:1,direction:U},getTouchAction:function(){var C=this.options.direction,S=[];return C&L&&S.push(Qs),C&Z&&S.push(Ks),S},directionTest:function(C){var S=this.options,R=!0,M=C.distance,q=C.direction,mt=C.deltaX,zt=C.deltaY;return q&S.direction||(S.direction&L?(q=mt===0?Pt:mt<0?Zt:V,R=mt!=this.pX,M=Math.abs(C.deltaX)):(q=zt===0?Pt:zt<0?E:P,R=zt!=this.pY,M=Math.abs(C.deltaY))),C.direction=q,R&&M>S.threshold&&q&S.direction},attrTest:function(C){return uo.prototype.attrTest.call(this,C)&&(this.state&eo||!(this.state&eo)&&this.directionTest(C))},emit:function(C){this.pX=C.deltaX,this.pY=C.deltaY;var S=Vm(C.direction);S&&(C.additionalEvent=this.options.event+S),this._super.emit.call(this,C)}});function Pc(){uo.apply(this,arguments)}m(Pc,uo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.scale-1)>this.options.threshold||this.state&eo)},emit:function(C){if(C.scale!==1){var S=C.scale<1?"in":"out";C.additionalEvent=this.options.event+S}this._super.emit.call(this,C)}});function Rc(){Lo.apply(this,arguments),this._timer=null,this._input=null}m(Rc,Lo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Lm]},process:function(C){var S=this.options,R=C.pointers.length===S.pointers,M=C.distance<S.threshold,q=C.deltaTime>S.time;if(this._input=C,!M||!R||C.eventType&(H|lt)&&!q)this.reset();else if(C.eventType&F)this.reset(),this._timer=f(function(){this.state=Mo,this.tryEmit()},S.time,this);else if(C.eventType&H)return Mo;return xo},reset:function(){clearTimeout(this._timer)},emit:function(C){this.state===Mo&&(C&&C.eventType&H?this.manager.emit(this.options.event+"up",C):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function Ic(){uo.apply(this,arguments)}m(Ic,uo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.rotation)>this.options.threshold||this.state&eo)}});function Ac(){uo.apply(this,arguments)}m(Ac,uo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:L|Z,pointers:1},getTouchAction:function(){return Ka.prototype.getTouchAction.call(this)},attrTest:function(C){var S=this.options.direction,R;return S&(L|Z)?R=C.overallVelocity:S&L?R=C.overallVelocityX:S&Z&&(R=C.overallVelocityY),this._super.attrTest.call(this,C)&&S&C.offsetDirection&&C.distance>this.options.threshold&&C.maxPointers==this.options.pointers&&c(R)>this.options.velocity&&C.eventType&H},emit:function(C){var S=Vm(C.offsetDirection);S&&this.manager.emit(this.options.event+S,C),this.manager.emit(this.options.event,C)}});function Qa(){Lo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}m(Qa,Lo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Sc]},process:function(C){var S=this.options,R=C.pointers.length===S.pointers,M=C.distance<S.threshold,q=C.deltaTime<S.time;if(this.reset(),C.eventType&F&&this.count===0)return this.failTimeout();if(M&&q&&R){if(C.eventType!=H)return this.failTimeout();var mt=this.pTime?C.timeStamp-this.pTime<S.interval:!0,zt=!this.pCenter||we(this.pCenter,C.center)<S.posThreshold;this.pTime=C.timeStamp,this.pCenter=C.center,!zt||!mt?this.count=1:this.count+=1,this._input=C;var Ce=this.count%S.taps;if(Ce===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Mo,this.tryEmit()},S.interval,this),eo):Mo}return xo},failTimeout:function(){return this._timer=f(function(){this.state=xo},this.options.interval,this),xo},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Mo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Bo(C,S){return S=S||{},S.recognizers=b(S.recognizers,Bo.defaults.preset),new $c(C,S)}Bo.VERSION="2.0.7",Bo.defaults={domEvents:!1,touchAction:Mm,enable:!0,inputTarget:null,inputClass:null,preset:[[Ic,{enable:!1}],[Pc,{enable:!1},["rotate"]],[Ac,{direction:L}],[Ka,{direction:L},["swipe"]],[Qa],[Qa,{event:"doubletap",taps:2},["tap"]],[Rc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Iw=1,Ym=2;function $c(C,S){this.options=v({},Bo.defaults,S||{}),this.options.inputTarget=this.options.inputTarget||C,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=C,this.input=ot(this),this.touchAction=new Oc(this,this.options.touchAction),Xm(this,!0),h(this.options.recognizers,function(R){var M=this.add(new R[0](R[1]));R[2]&&M.recognizeWith(R[2]),R[3]&&M.requireFailure(R[3])},this)}$c.prototype={set:function(C){return v(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?Ym:Iw},recognize:function(C){var S=this.session;if(!S.stopped){this.touchAction.preventDefaults(C);var R,M=this.recognizers,q=S.curRecognizer;(!q||q&&q.state&Mo)&&(q=S.curRecognizer=null);for(var mt=0;mt<M.length;)R=M[mt],S.stopped!==Ym&&(!q||R==q||R.canRecognizeWith(q))?R.recognize(C):R.reset(),!q&&R.state&(eo|es|rn)&&(q=S.curRecognizer=R),mt++}},get:function(C){if(C instanceof Lo)return C;for(var S=this.recognizers,R=0;R<S.length;R++)if(S[R].options.event==C)return S[R];return null},add:function(C){if(d(C,"add",this))return this;var S=this.get(C.options.event);return S&&this.remove(S),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 S=this.recognizers,R=ut(S,C);R!==-1&&(S.splice(R,1),this.touchAction.update())}return this},on:function(C,S){if(C!==s&&S!==s){var R=this.handlers;return h(D(C),function(M){R[M]=R[M]||[],R[M].push(S)}),this}},off:function(C,S){if(C!==s){var R=this.handlers;return h(D(C),function(M){S?R[M]&&R[M].splice(ut(R[M],S),1):delete R[M]}),this}},emit:function(C,S){this.options.domEvents&&Aw(C,S);var R=this.handlers[C]&&this.handlers[C].slice();if(!(!R||!R.length)){S.type=C,S.preventDefault=function(){S.srcEvent.preventDefault()};for(var M=0;M<R.length;)R[M](S),M++}},destroy:function(){this.element&&Xm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Xm(C,S){var R=C.element;if(R.style){var M;h(C.options.cssProps,function(q,mt){M=vt(R.style,mt),S?(C.oldCssProps[M]=R.style[M],R.style[M]=q):R.style[M]=C.oldCssProps[M]||""}),S||(C.oldCssProps={})}}function Aw(C,S){var R=e.createEvent("Event");R.initEvent(C,!0,!0),R.gesture=S,S.target.dispatchEvent(R)}v(Bo,{INPUT_START:F,INPUT_MOVE:nt,INPUT_END:H,INPUT_CANCEL:lt,STATE_POSSIBLE:Wa,STATE_BEGAN:eo,STATE_CHANGED:es,STATE_ENDED:rn,STATE_RECOGNIZED:Mo,STATE_CANCELLED:Js,STATE_FAILED:xo,DIRECTION_NONE:Pt,DIRECTION_LEFT:Zt,DIRECTION_RIGHT:V,DIRECTION_UP:E,DIRECTION_DOWN:P,DIRECTION_HORIZONTAL:L,DIRECTION_VERTICAL:Z,DIRECTION_ALL:U,Manager:$c,Input:W,TouchAction:Oc,TouchInput:Ha,MouseInput:De,PointerEventInput:Tc,TouchMouseInput:Ec,SingleTouchInput:$m,Recognizer:Lo,AttrRecognizer:uo,Tap:Qa,Pan:Ka,Swipe:Ac,Pinch:Pc,Rotate:Ic,Press:Rc,on:_,off:$,each:h,merge:x,extend:k,assign:v,inherit:m,bindFn:g,prefixed:vt});var $w=typeof t<"u"?t:typeof self<"u"?self:{};$w.Hammer=Bo,typeof s=="function"&&s.amd?s(function(){return Bo}):o.exports?o.exports=Bo:t[n]=Bo})(window,document,"Hammer")})(Nd);var hv=Nd.exports;const pv=O1(hv);async function Fd(o,t){return new Promise(e=>{const n=new ResizeObserver(s=>{const a=s[0].contentRect;t(a),e(()=>{n.unobserve(o)})});n.observe(o)})}function Cn(o,t){return mv(o,t)}function mv(o,t){const e=o.eb,n=a=>{e.on("pointerMove",r),e.on("pointerUp",s),e.on("pointerCancel",s),t?.start?.(a)},s=a=>{e.off("pointerMove",r),e.off("pointerUp",s),e.off("pointerCancel",s),t?.end?.(a)},r=a=>{t?.move?.(a)};return e.on("pointerDown",n),()=>e.off("pointerDown",n)}function ra(o=document.documentElement){const t=new Vr,e=new pv(o);let n=[];const s=dv(),r=s.mousePoint,a=V=>{t.emit("mouseDown",V)},i=V=>{t.emit("mouseUp",V)},l=V=>{r.isDown||s.setCurrentMousePoint(Ms(V,o)),t.emit("mouseMove",V)},c=V=>{t.emit("mouseOver",V)},u=V=>{t.emit("mouseOut",V)},f=V=>{t.emit("mouseEnter",V)},d=V=>{t.emit("mouseLeave",V)},h=V=>{t.emit("mouseClick",V)},p=V=>{t.emit("mouseDoubleClick",V)},v=V=>{t.emit("mouseWheel",V)},k=V=>{t.emit("mouseContextMenu",V)},x=V=>{t.emit("touchStart",V)},m=V=>{t.emit("touchEnd",V)},g=V=>{t.emit("touchCancel",V)},y=V=>{const E=V.changedTouches[0];r.isDown||s.setCurrentMousePoint(Ms(E,o)),t.emit("touchMove",V)},b=V=>{t.emit("pointerDown",V)},_=V=>{t.emit("pointerUp",V)},$=V=>{t.emit("pointerCancel",V)},Y=V=>{t.emit("pointerMove",V)},B=V=>{t.emit("pan",V)},D=V=>{t.emit("panStart",V)},ut=V=>{t.emit("panMove",V)},j=V=>{t.emit("panEnd",V)},tt=V=>{t.emit("panCancel",V)},vt=V=>{t.emit("panLeft",V)},St=V=>{t.emit("panRight",V)},$t=V=>{t.emit("panUp",V)},kt=V=>{t.emit("panDown",V)},wt=V=>{t.emit("pinch",V)},oe=V=>{t.emit("press",V)},pe=V=>{t.emit("rotate",V)},he=V=>{t.emit("swipe",V)},Xt=V=>{t.emit("swipeLeft",V)},et=V=>{t.emit("swipeRight",V)},A=V=>{t.emit("swipeUp",V)},ne=V=>{t.emit("swipeDown",V)},Nt=V=>{t.emit("tap",V)},F=V=>{!V.target||o==V.target||o.contains(V.target)||t.emit("tapOutSide",V)},nt=V=>{t.emit("transitionstart",V)},H=V=>{t.emit("transitionend",V)},lt=V=>{t.emit("animationstart",V)},Pt=V=>{t.emit("animationend",V)};let Zt={...o.getBoundingClientRect(),width:o.offsetWidth,height:o.offsetHeight};return{el:o,get rect(){return Zt},mousePoint:r,eb:t,start:async function(){n.push(Jt(o,"mousedown",a)),n.push(Jt(o,"mouseup",i)),n.push(Jt(o,"mousemove",l)),n.push(Jt(o,"mouseover",c)),n.push(Jt(o,"mouseout",u)),n.push(Jt(o,"mouseenter",f)),n.push(Jt(o,"mouseleave",d)),n.push(Jt(o,"click",h)),n.push(Jt(o,"dblclick",p)),n.push(Jt(o,"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",v)),n.push(Jt(o,"contextmenu",k)),n.push(Jt(o,"touchstart",x)),n.push(Jt(o,"touchend",m)),n.push(Jt(o,"touchcancel",g)),n.push(Jt(o,"touchmove",y)),n.push(Jt(o,"pointerdown",b)),n.push(Jt(o,"pointerup",_)),n.push(Jt(o,"pointercancel",$)),n.push(Jt(o,"pointermove",Y)),e.on("pan",B),e.on("panstart",D),e.on("panmove",ut),e.on("panend",j),e.on("pancancel",tt),e.on("panleft",vt),e.on("panright",St),e.on("panup",$t),e.on("pandown",kt),e.on("pinch",wt),e.on("press",oe),e.on("rotate",pe),e.on("swipe",he),e.on("swipeleft",Xt),e.on("swiperight",et),e.on("swipeup",A),e.on("swipedown",ne),e.on("tap",Nt),n.push(Jt(document,"pointerdown",F)),n.push(Jt(o,"transitionstart",nt)),n.push(Jt(o,"transitionend",H)),n.push(Jt(o,"animationstart",lt)),n.push(Jt(o,"animationend",Pt));const V=await Fd(o,E=>{Zt=E,t.emit("resize",E)});n.push(V),n.push(Cn(this,{start:E=>{s.setStartMousePoint(Ms(E,o),!0)},move:E=>{s.setCurrentMousePoint(Ms(E,o))},end:E=>{s.setCurrentMousePoint(Ms(E,o),!1)}}))},end:()=>{t.removeAllListeners(),n.forEach(V=>V()),n=[],e.off("pan",B),e.off("panstart",D),e.off("panmove",ut),e.off("panend",j),e.off("pancancel",tt),e.off("panleft",vt),e.off("panright",St),e.off("panup",$t),e.off("pandown",kt),e.off("pinch",wt),e.off("press",oe),e.off("rotate",pe),e.off("swipe",he),e.off("swipeleft",Xt),e.off("swiperight",et),e.off("swipeup",A),e.off("swipedown",ne),e.off("tap",Nt)}}}function gv(o="(prefers-color-scheme: dark)"){const t=window.matchMedia(o),e=ld(t.matches);return Jt(t,"change",n=>{e.value=n.matches}),e}const El=I1("__theme__");if(!El.value){const o=gv("(prefers-color-scheme: dark)");El.value=o.value?"dark":"light"}const zd=()=>{switch(El.value){case"dark":document.documentElement.classList.add("dark"),na(document.documentElement,"data-theme","dark");break;default:document.documentElement.classList.remove("dark"),na(document.documentElement,"data-theme","light");break}};al(()=>{zd()}),setTimeout(zd);function Yt(o,t=""){return getComputedStyle(document.documentElement).getPropertyValue(o)||t}function Dd(o){document.getElementsByTagName("title")[0].innerText=o,document.title=o}let Md=!1;function yv(){Md||(Md=!0,bo(`
41
45
  :root {
42
46
  --sat:env(safe-area-inset-top, 0px);
43
47
  --sar:env(safe-area-inset-right, 0px);
@@ -50,48 +54,42 @@ Expected function or array of functions, received type ${typeof e}.`),ge)}functi
50
54
  --sab:env(safe-area-inset-bottom, 0px);
51
55
  --sal:env(safe-area-inset-left, 0px);
52
56
  }
53
- `))}const Ko=Tr(),rl={onTop:e=>(Ua(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("top",t.getPropertyValue("--sat"))},1),Ko.on("top",e)),onRight:e=>(Ua(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("right",t.getPropertyValue("--sar"))},1),Ko.on("right",e)),onBottom:e=>(Ua(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("bottom",t.getPropertyValue("--sab"))},1),Ko.on("bottom",e)),onLeft:e=>(Ua(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("left",t.getPropertyValue("--sal"))},1),Ko.on("left",e))};function Cv(){const e=Tr();return{destroy:Be(document,"scroll",t=>{e.emit("scroll",t)}),on:t=>(e.on("scroll",t),()=>{e.off("scroll",t)})}}function Tv(e){const t=Tr(),o=new ResizeObserver(n=>{const r=n[0],{width:a,height:s}=r.contentRect;t.emit("resize",a,s)});return o.observe(e),{on:n=>(t.on("resize",n),()=>{t.off("resize",n)}),destroy:()=>{o.unobserve(e)}}}function ja(e,t=.5,o){const n=Tr();let r;const a=new IntersectionObserver((s,l)=>{let i=s[0];if(s.length>1){const u=s.find(f=>f.isIntersecting);u&&(i=u)}const c=i.isIntersecting&&i.intersectionRatio>=t;r!==c&&(c?n.emit("show"):n.emit("hide"),r=c)},{threshold:t,root:o});return a.observe(e),{onshow:s=>(n.on("show",s),()=>{n.off("show",s)}),onhide:s=>(n.on("hide",s),()=>{n.off("hide",s)}),destroy:()=>{a.unobserve(e)}}}function Ha(e,t,o,n,r){const a=t/o;let s=0,l=0;switch(e){case"aspectFit":a>=1?(s=n,l=s/a,l>r&&(l=r,s=l*a)):(l=r,s=l*a,s>n&&(s=n,l=s/a));break;case"aspectFill":a>=1?(l=r,s=l*a):(s=n,l=s/a);break;case"widthFix":s=n,l=s/a;break;case"heightFix":l=r,s=l*a;break;case"scaleToFill":default:s=n,l=r;break}return{width:s,height:l}}function Ev(e){try{const t=document.createElement("canvas"),o=t.getContext("2d");return t.width=e.width,t.height=e.height,o.drawImage(e,0,0,t.width,t.height),o.getImageData(0,0,t.width,t.height)}catch{return new ImageData(e.width,e.height)}}class ad extends Rr{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(o=>{o.parent=this,o.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(o=>{!o.forceCXY&&!o.independentTransformInGroup&&(o.cX=this.cX-o.diffXInGroup,o.cY=this.cY-o.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,o){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,o)}addShape(t){(Array.isArray(t)?t:[t]).forEach(o=>{this.shapes.findIndex(n=>n.id==o.id)==-1&&(o.on("draging",(n,r)=>{this.enableDrag&&(this.x+=n,this.y+=r,this.emit("draging",n,r,o))}),this.shapes.push(o),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],o=[];this.shapes.forEach(i=>{const c=i.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),o.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),o.push(n.y,n.y+n.height)),t.length==0||o.length==0)return null;const r=Math.min.apply(0,t),a=Math.min.apply(0,o),s=Math.max.apply(0,t),l=Math.max.apply(0,o);return{x:r,y:a,width:s-r,height:l-a}}setAttrs(t,o){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):o&&(super.setAttr(t,o),this.shapes.forEach(n=>{n.setAttr(t,o)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const o=t.initPathD();return{shape:t,perimeter:o.perimeterPoints()}}).sort((t,o)=>o.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const o=t.shapes.length,n=this.shapes.length;if(o<n)return t.expendFill(this);for(let r=n;r<o;r++){const s=t.shapes[r].initPathD().polymorphPoints,l=s[0],i=s[1],c=[["M",l,i]];for(let u=2;u+5<s.length;u+=6)c.push(["C",l,i,l,i,l,i]);this.addShape(new Rr({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,o){switch(o?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((l,i)=>{l.strokeDashTween(t,{...o,delay:i,onStart:()=>{i==0&&o?.onGroupStart?.()},onUpdate:()=>{o?.onGroupUpdate?.()},onComplete:()=>{i==n&&o?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Ze({frameDuration:t}),a={},s={};this.shapes.forEach((l,i)=>{const c=Pe(l.getTotalLength(),0);a[`offset_${i}`]=c,s[`offset_${i}`]=0,l.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(a,s,Object.assign(o||{},{onStart:()=>{o?.onGroupStart?.()},onUpdate:(l,i)=>{for(let c in l){const u=Fn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Pe(l[c],2))}o?.onGroupUpdate?.()},onComplete:()=>{o?.onGroupComplete?.()}})),r.play();break}}}const Sv=ad,Ov=getComputedStyle(document.documentElement);function Dt(e){return Ov.getPropertyValue(e)}const kt={colorPrimary:Dt("--color-primary")||"#5A82F0",colorRed:Dt("--color-red")||"#FA503C",colorOrange:Dt("--color-orange")||"#fa8c00",colorYellow:Dt("--color-yellow")||"#fadc32",colorGreen:Dt("--color-green")||"#00c878",colorBlue:Dt("--color-blue")||"#00b4fa",colorPurple:Dt("--color-purple")||"#6464fa",colorBlack:Dt("--color-black")||"#001428",colorGray00:Dt("--color-gray-00")||"#000000",colorGray33:Dt("--color-gray-33")||"#333333",colorGray66:Dt("--color-gray-66")||"#666666",colorGray99:Dt("--color-gray-99")||"#999999",colorGrayCC:Dt("--color-gray-cc")||"#cccccc",colorGrayDD:Dt("--color-gray-dd")||"#dddddd",colorGrayE6:Dt("--color-gray-e6")||"#e6e6e6",colorGrayEE:Dt("--color-gray-ee")||"#eeeeee",colorGrayEF:Dt("--color-gray-ef")||"#efefef",colorGrayF5:Dt("--color-gray-f5")||"#f5f5f5",colorGrayFF:Dt("--color-gray-ff")||"#ffffff",fontLineHeight:Dt("--font-line-height")||"1.4",fontSize32:Dt("--font-size-32")||"32px",fontSize24:Dt("--font-size-24")||"24px",fontSize22:Dt("--font-size-22")||"22px",fontSize20:Dt("--font-size-20")||"20px",fontSize18:Dt("--font-size-18")||"18px",fontSize16:Dt("--font-size-16")||"16px",fontSize14:Dt("--font-size-14")||"14px",fontSize12:Dt("--font-size-12")||"12px",fontSize10:Dt("--font-size-10")||"10px",d4:Dt("--distance-4")||"4px",d8:Dt("--distance-8")||"8px",d12:Dt("--distance-12")||"12px",d16:Dt("--distance-16")||"16px",d20:Dt("--distance-20")||"20px",d32:Dt("--distance-32")||"32px",d40:Dt("--distance-40")||"40px",d44:Dt("--distance-44")||"44px"};class De{__color={r:0,g:0,b:0,a:1};constructor(t,o){t&&this.setColor(t),typeof o=="number"&&this.setAlpha(o)}get color(){return this.__color}set color(t){this.__color=al(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=le(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=le(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=le(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=le(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,o,n){return this.r=t,this.g=o,this.b=n,this}setRGBA(t,o,n,r){return this.r=t,this.g=o,this.b=n,this.a=r,this}get hex(){return(this.r<<16)+(this.g<<8)+this.b}toString(){if(this.a===1){const t="000000"+this.hex.toString(16);return"#"+t.slice(t.length-6)}else return`rgba(${this.r},${this.g},${this.b},${Pe(this.a,6)})`}clone(){return new De(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,o="#000000",n="#ffffff"){if(t)return new De(this.r*.299+this.g*.587+this.b*.114>186?o:n);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=le(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o+=(255-o)*t,n+=(255-n)*t,r+=(255-r)*t,new De().setRGBA(o,n,r,this.color.a)}darken(t){t=le(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o=o*(1-t),n=n*(1-t),r=r*(1-t),new De().setRGBA(o,n,r,this.color.a)}static gradient(t,o,n){try{const r=al(t),a=al(o);return new De().setRGB((a.r-r.r)*n+r.r,(a.g-r.g)*n+r.g,(a.b-r.b)*n+r.b)}catch{return new De(o)}}static random(){return new De(Math.random()*16777215)}get hsv(){const{r:t,g:o,b:n,a:r}=this.color,a=Math.max(t,o,n),s=Math.min(t,o,n),l=a-s;let i;return t===a?i=(o-n)/l:o===a?i=2+(n-t)/l:i=4+(t-o)/l,i/=6,i<0&&(i+=1),{h:l==0?0:i*360,s:a===0?0:l/a,v:a/255,a:r}}set h(t){const o=this.hsv;o.h=le(t,0,360),this.setColor(o)}get h(){return this.hsv.h}set s(t){const o=this.hsv;o.s=le(t,0,1),this.setColor(o)}get s(){return this.hsv.s}set v(t){const o=this.hsv;o.v=le(t,0,1),this.setColor(o)}get v(){return this.hsv.v}}function _e(e,t){return new De(e,t)}function al(e){const t=Object.prototype.hasOwnProperty.call(e,"a")?le(e.a,0,1):1;if(Object.prototype.hasOwnProperty.call(e,"r")&&Object.prototype.hasOwnProperty.call(e,"g")&&Object.prototype.hasOwnProperty.call(e,"b"))return e.r=le(Math.round(e.r),0,255),e.g=le(Math.round(e.g),0,255),e.b=le(Math.round(e.b),0,255),e.a=t,e;if(Object.prototype.hasOwnProperty.call(e,"h")&&Object.prototype.hasOwnProperty.call(e,"s")&&Object.prototype.hasOwnProperty.call(e,"v")){const n=le(e.h,0,360),r=le(e.s,0,1),a=le(e.v,0,1),s=Math.floor(n/60)%6,l=n/60-Math.floor(n/60),i=a*(1-r),c=a*(1-l*r),u=a*(1-(1-l)*r),f=[[a,u,i],[c,a,i],[i,a,u],[i,c,a],[u,i,a],[a,i,c]][s];return{r:Math.round(f[0]*255),g:Math.round(f[1]*255),b:Math.round(f[2]*255),a:t}}const o={r:0,g:0,b:0,a:t};if(typeof e=="number")e<Math.pow(2,24)?(o.r=e>>16&255,o.g=e>>8&255,o.b=e&255):(o.r=e>>24&255,o.g=e>>16&255,o.b=e>>8&255,o.a=(e&255)/255);else if(typeof e=="string"){const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(e);if(n)o.r=parseInt(n[1]),o.g=parseInt(n[2]),o.b=parseInt(n[3]),n[4]&&(o.a=parseFloat(n[4]));else{let r=e.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(o.r=parseInt(`${r[1]}${r[1]}`,16),o.g=parseInt(`${r[2]}${r[2]}`,16),o.b=parseInt(`${r[3]}${r[3]}`,16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16),o.a=parseInt(r[4],16)/255):e==="none"&&(o.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+e);return o.r=le(o.r,0,255),o.g=le(o.g,0,255),o.b=le(o.b,0,255),o.a=le(o.a,0,1),o}const Qo={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};Qo.buttonColor=new De(Qo.saveRowColor).darken(.1).toString(),Qo.borderColor=new De(Qo.backgroundColor).lighten(.07).toString(),Qo.inputColor=new De(Qo.backgroundColor).lighten(.085).toString();class Pv extends bv{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let o=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(r,a,s,l){switch(a){case"x":r.toX=s+o;break;case"y":r.toY=s+n;break;case"toX":o=s-r.x;break;case"toY":n=s-r.y;break}return Reflect.set(r,a,s,l)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const o=new jf({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new jf({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return o.intersection(n)}}const Rv=Pv;var sd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
54
- * http://hammerjs.github.io/
55
- *
56
- * Copyright (c) 2016 Jorik Tangelder;
57
- * Licensed under the MIT license */(function(e){(function(t,o,n,r){var a=["","webkit","Moz","MS","ms","o"],s=o.createElement("div"),l="function",i=Math.round,c=Math.abs,u=Date.now;function f(b,E,P){return setTimeout(y(b,P),E)}function d(b,E,P){return Array.isArray(b)?(h(b,P[E],P),!0):!1}function h(b,E,P){var L;if(b)if(b.forEach)b.forEach(E,P);else if(b.length!==r)for(L=0;L<b.length;)E.call(P,b[L],L,b),L++;else for(L in b)b.hasOwnProperty(L)&&E.call(P,b[L],L,b)}function p(b,E,P){var L="DEPRECATED METHOD: "+E+`
58
- `+P+` AT
59
- `;return function(){var W=new Error("get-stack-trace"),ft=W&&W.stack?W.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Lt=t.console&&(t.console.warn||t.console.log);return Lt&&Lt.call(t.console,L,ft),b.apply(this,arguments)}}var w;typeof Object.assign!="function"?w=function(E){if(E===r||E===null)throw new TypeError("Cannot convert undefined or null to object");for(var P=Object(E),L=1;L<arguments.length;L++){var W=arguments[L];if(W!==r&&W!==null)for(var ft in W)W.hasOwnProperty(ft)&&(P[ft]=W[ft])}return P}:w=Object.assign;var x=p(function(E,P,L){for(var W=Object.keys(P),ft=0;ft<W.length;)(!L||L&&E[W[ft]]===r)&&(E[W[ft]]=P[W[ft]]),ft++;return E},"extend","Use `assign`."),v=p(function(E,P){return x(E,P,!0)},"merge","Use `assign`.");function g(b,E,P){var L=E.prototype,W;W=b.prototype=Object.create(L),W.constructor=b,W._super=L,P&&w(W,P)}function y(b,E){return function(){return b.apply(E,arguments)}}function m(b,E){return typeof b==l?b.apply(E&&E[0]||r,E):b}function _(b,E){return b===r?E:b}function C(b,E,P){h(V(E),function(L){b.addEventListener(L,P,!1)})}function M(b,E,P){h(V(E),function(L){b.removeEventListener(L,P,!1)})}function X(b,E){for(;b;){if(b==E)return!0;b=b.parentNode}return!1}function G(b,E){return b.indexOf(E)>-1}function V(b){return b.trim().split(/\s+/g)}function pt(b,E,P){if(b.indexOf&&!P)return b.indexOf(E);for(var L=0;L<b.length;){if(P&&b[L][P]==E||!P&&b[L]===E)return L;L++}return-1}function K(b){return Array.prototype.slice.call(b,0)}function lt(b,E,P){for(var L=[],W=[],ft=0;ft<b.length;){var Lt=E?b[ft][E]:b[ft];pt(W,Lt)<0&&L.push(b[ft]),W[ft]=Lt,ft++}return P&&(E?L=L.sort(function(Se,ze){return Se[E]>ze[E]}):L=L.sort()),L}function gt(b,E){for(var P,L,W=E[0].toUpperCase()+E.slice(1),ft=0;ft<a.length;){if(P=a[ft],L=P?P+W:E,L in b)return L;ft++}return r}var wt=1;function Mt(){return wt++}function Et(b){var E=b.ownerDocument||b;return E.defaultView||E.parentWindow||t}var St=/mobile|tablet|ip(ad|hone|od)|android/i,ue="ontouchstart"in t,Re=gt(t,"PointerEvent")!==r,Te=ue&&St.test(navigator.userAgent),Bt="touch",tt="pen",I="mouse",te="kinect",Nt=25,D=1,et=2,U=4,$=8,It=1,Kt=2,Rt=4,S=8,O=16,z=Kt|Rt,B=S|O,Z=z|B,j=["x","y"],rt=["clientX","clientY"];function H(b,E){var P=this;this.manager=b,this.callback=E,this.element=b.element,this.target=b.options.inputTarget,this.domHandler=function(L){m(b.options.enable,[b])&&P.handler(L)},this.init()}H.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(Et(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(Et(this.element),this.evWin,this.domHandler)}};function ot(b){var E,P=b.options.inputClass;return P?E=P:Re?E=Kl:Te?E=Rs:ue?E=Ql:E=Le,new E(b,q)}function q(b,E,P){var L=P.pointers.length,W=P.changedPointers.length,ft=E&D&&L-W===0,Lt=E&(U|$)&&L-W===0;P.isFirst=!!ft,P.isFinal=!!Lt,ft&&(b.session={}),P.eventType=E,Ct(b,P),b.emit("hammer.input",P),b.recognize(P),b.session.prevInput=P}function Ct(b,E){var P=b.session,L=E.pointers,W=L.length;P.firstInput||(P.firstInput=Ot(E)),W>1&&!P.firstMultiple?P.firstMultiple=Ot(E):W===1&&(P.firstMultiple=!1);var ft=P.firstInput,Lt=P.firstMultiple,ke=Lt?Lt.center:ft.center,Se=E.center=Ft(L);E.timeStamp=u(),E.deltaTime=E.timeStamp-ft.timeStamp,E.angle=me(ke,Se),E.distance=xe(ke,Se),it(P,E),E.offsetDirection=Gt(E.deltaX,E.deltaY);var ze=Qt(E.deltaTime,E.deltaX,E.deltaY);E.overallVelocityX=ze.x,E.overallVelocityY=ze.y,E.overallVelocity=c(ze.x)>c(ze.y)?ze.x:ze.y,E.scale=Lt?Fe(Lt.pointers,L):1,E.rotation=Lt?Ue(Lt.pointers,L):0,E.maxPointers=P.prevInput?E.pointers.length>P.prevInput.maxPointers?E.pointers.length:P.prevInput.maxPointers:E.pointers.length,bt(P,E);var xo=b.element;X(E.srcEvent.target,xo)&&(xo=E.srcEvent.target),E.target=xo}function it(b,E){var P=E.center,L=b.offsetDelta||{},W=b.prevDelta||{},ft=b.prevInput||{};(E.eventType===D||ft.eventType===U)&&(W=b.prevDelta={x:ft.deltaX||0,y:ft.deltaY||0},L=b.offsetDelta={x:P.x,y:P.y}),E.deltaX=W.x+(P.x-L.x),E.deltaY=W.y+(P.y-L.y)}function bt(b,E){var P=b.lastInterval||E,L=E.timeStamp-P.timeStamp,W,ft,Lt,ke;if(E.eventType!=$&&(L>Nt||P.velocity===r)){var Se=E.deltaX-P.deltaX,ze=E.deltaY-P.deltaY,xo=Qt(L,Se,ze);ft=xo.x,Lt=xo.y,W=c(xo.x)>c(xo.y)?xo.x:xo.y,ke=Gt(Se,ze),b.lastInterval=E}else W=P.velocity,ft=P.velocityX,Lt=P.velocityY,ke=P.direction;E.velocity=W,E.velocityX=ft,E.velocityY=Lt,E.direction=ke}function Ot(b){for(var E=[],P=0;P<b.pointers.length;)E[P]={clientX:i(b.pointers[P].clientX),clientY:i(b.pointers[P].clientY)},P++;return{timeStamp:u(),pointers:E,center:Ft(E),deltaX:b.deltaX,deltaY:b.deltaY}}function Ft(b){var E=b.length;if(E===1)return{x:i(b[0].clientX),y:i(b[0].clientY)};for(var P=0,L=0,W=0;W<E;)P+=b[W].clientX,L+=b[W].clientY,W++;return{x:i(P/E),y:i(L/E)}}function Qt(b,E,P){return{x:E/b||0,y:P/b||0}}function Gt(b,E){return b===E?It:c(b)>=c(E)?b<0?Kt:Rt:E<0?S:O}function xe(b,E,P){P||(P=j);var L=E[P[0]]-b[P[0]],W=E[P[1]]-b[P[1]];return Math.sqrt(L*L+W*W)}function me(b,E,P){P||(P=j);var L=E[P[0]]-b[P[0]],W=E[P[1]]-b[P[1]];return Math.atan2(W,L)*180/Math.PI}function Ue(b,E){return me(E[1],E[0],rt)+me(b[1],b[0],rt)}function Fe(b,E){return xe(E[0],E[1],rt)/xe(b[0],b[1],rt)}var En={mousedown:D,mousemove:et,mouseup:U},Os="mousedown",Ee="mousemove mouseup";function Le(){this.evEl=Os,this.evWin=Ee,this.pressed=!1,H.apply(this,arguments)}g(Le,H,{handler:function(E){var P=En[E.type];P&D&&E.button===0&&(this.pressed=!0),P&et&&E.which!==1&&(P=U),this.pressed&&(P&U&&(this.pressed=!1),this.callback(this.manager,P,{pointers:[E],changedPointers:[E],pointerType:I,srcEvent:E}))}});var Ps={pointerdown:D,pointermove:et,pointerup:U,pointercancel:$,pointerout:$},d3={2:Bt,3:tt,4:I,5:te},Uh="pointerdown",jh="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Uh="MSPointerDown",jh="MSPointerMove MSPointerUp MSPointerCancel");function Kl(){this.evEl=Uh,this.evWin=jh,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}g(Kl,H,{handler:function(E){var P=this.store,L=!1,W=E.type.toLowerCase().replace("ms",""),ft=Ps[W],Lt=d3[E.pointerType]||E.pointerType,ke=Lt==Bt,Se=pt(P,E.pointerId,"pointerId");ft&D&&(E.button===0||ke)?Se<0&&(P.push(E),Se=P.length-1):ft&(U|$)&&(L=!0),!(Se<0)&&(P[Se]=E,this.callback(this.manager,ft,{pointers:P,changedPointers:[E],pointerType:Lt,srcEvent:E}),L&&P.splice(Se,1))}});var p3={touchstart:D,touchmove:et,touchend:U,touchcancel:$},h3="touchstart",m3="touchstart touchmove touchend touchcancel";function Hh(){this.evTarget=h3,this.evWin=m3,this.started=!1,H.apply(this,arguments)}g(Hh,H,{handler:function(E){var P=p3[E.type];if(P===D&&(this.started=!0),!!this.started){var L=g3.call(this,E,P);P&(U|$)&&L[0].length-L[1].length===0&&(this.started=!1),this.callback(this.manager,P,{pointers:L[0],changedPointers:L[1],pointerType:Bt,srcEvent:E})}}});function g3(b,E){var P=K(b.touches),L=K(b.changedTouches);return E&(U|$)&&(P=lt(P.concat(L),"identifier",!0)),[P,L]}var y3={touchstart:D,touchmove:et,touchend:U,touchcancel:$},v3="touchstart touchmove touchend touchcancel";function Rs(){this.evTarget=v3,this.targetIds={},H.apply(this,arguments)}g(Rs,H,{handler:function(E){var P=y3[E.type],L=b3.call(this,E,P);L&&this.callback(this.manager,P,{pointers:L[0],changedPointers:L[1],pointerType:Bt,srcEvent:E})}});function b3(b,E){var P=K(b.touches),L=this.targetIds;if(E&(D|et)&&P.length===1)return L[P[0].identifier]=!0,[P,P];var W,ft,Lt=K(b.changedTouches),ke=[],Se=this.target;if(ft=P.filter(function(ze){return X(ze.target,Se)}),E===D)for(W=0;W<ft.length;)L[ft[W].identifier]=!0,W++;for(W=0;W<Lt.length;)L[Lt[W].identifier]&&ke.push(Lt[W]),E&(U|$)&&delete L[Lt[W].identifier],W++;if(ke.length)return[lt(ft.concat(ke),"identifier",!0),ke]}var _3=2500,Wh=25;function Ql(){H.apply(this,arguments);var b=y(this.handler,this);this.touch=new Rs(this.manager,b),this.mouse=new Le(this.manager,b),this.primaryTouch=null,this.lastTouches=[]}g(Ql,H,{handler:function(E,P,L){var W=L.pointerType==Bt,ft=L.pointerType==I;if(!(ft&&L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents)){if(W)x3.call(this,P,L);else if(ft&&k3.call(this,L))return;this.callback(E,P,L)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function x3(b,E){b&D?(this.primaryTouch=E.changedPointers[0].identifier,qh.call(this,E)):b&(U|$)&&qh.call(this,E)}function qh(b){var E=b.changedPointers[0];if(E.identifier===this.primaryTouch){var P={x:E.clientX,y:E.clientY};this.lastTouches.push(P);var L=this.lastTouches,W=function(){var ft=L.indexOf(P);ft>-1&&L.splice(ft,1)};setTimeout(W,_3)}}function k3(b){for(var E=b.srcEvent.clientX,P=b.srcEvent.clientY,L=0;L<this.lastTouches.length;L++){var W=this.lastTouches[L],ft=Math.abs(E-W.x),Lt=Math.abs(P-W.y);if(ft<=Wh&&Lt<=Wh)return!0}return!1}var Kh=gt(s.style,"touchAction"),Qh=Kh!==r,Jh="compute",tm="auto",Jl="manipulation",Sn="none",Xr="pan-x",Zr="pan-y",Is=C3();function tc(b,E){this.manager=b,this.set(E)}tc.prototype={set:function(b){b==Jh&&(b=this.compute()),Qh&&this.manager.element.style&&Is[b]&&(this.manager.element.style[Kh]=b),this.actions=b.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var b=[];return h(this.manager.recognizers,function(E){m(E.options.enable,[E])&&(b=b.concat(E.getTouchAction()))}),w3(b.join(" "))},preventDefaults:function(b){var E=b.srcEvent,P=b.offsetDirection;if(this.manager.session.prevented){E.preventDefault();return}var L=this.actions,W=G(L,Sn)&&!Is[Sn],ft=G(L,Zr)&&!Is[Zr],Lt=G(L,Xr)&&!Is[Xr];if(W){var ke=b.pointers.length===1,Se=b.distance<2,ze=b.deltaTime<250;if(ke&&Se&&ze)return}if(!(Lt&&ft)&&(W||ft&&P&z||Lt&&P&B))return this.preventSrc(E)},preventSrc:function(b){this.manager.session.prevented=!0,b.preventDefault()}};function w3(b){if(G(b,Sn))return Sn;var E=G(b,Xr),P=G(b,Zr);return E&&P?Sn:E||P?E?Xr:Zr:G(b,Jl)?Jl:tm}function C3(){if(!Qh)return!1;var b={},E=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(P){b[P]=E?t.CSS.supports("touch-action",P):!0}),b}var As=1,Je=2,Wn=4,rn=8,Lo=rn,Gr=16,_o=32;function zo(b){this.options=w({},this.defaults,b||{}),this.id=Mt(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=As,this.simultaneous={},this.requireFail=[]}zo.prototype={defaults:{},set:function(b){return w(this.options,b),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(b){if(d(b,"recognizeWith",this))return this;var E=this.simultaneous;return b=$s(b,this),E[b.id]||(E[b.id]=b,b.recognizeWith(this)),this},dropRecognizeWith:function(b){return d(b,"dropRecognizeWith",this)?this:(b=$s(b,this),delete this.simultaneous[b.id],this)},requireFailure:function(b){if(d(b,"requireFailure",this))return this;var E=this.requireFail;return b=$s(b,this),pt(E,b)===-1&&(E.push(b),b.requireFailure(this)),this},dropRequireFailure:function(b){if(d(b,"dropRequireFailure",this))return this;b=$s(b,this);var E=pt(this.requireFail,b);return E>-1&&this.requireFail.splice(E,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(b){return!!this.simultaneous[b.id]},emit:function(b){var E=this,P=this.state;function L(W){E.manager.emit(W,b)}P<rn&&L(E.options.event+em(P)),L(E.options.event),b.additionalEvent&&L(b.additionalEvent),P>=rn&&L(E.options.event+em(P))},tryEmit:function(b){if(this.canEmit())return this.emit(b);this.state=_o},canEmit:function(){for(var b=0;b<this.requireFail.length;){if(!(this.requireFail[b].state&(_o|As)))return!1;b++}return!0},recognize:function(b){var E=w({},b);if(!m(this.options.enable,[this,E])){this.reset(),this.state=_o;return}this.state&(Lo|Gr|_o)&&(this.state=As),this.state=this.process(E),this.state&(Je|Wn|rn|Gr)&&this.tryEmit(E)},process:function(b){},getTouchAction:function(){},reset:function(){}};function em(b){return b&Gr?"cancel":b&rn?"end":b&Wn?"move":b&Je?"start":""}function om(b){return b==O?"down":b==S?"up":b==Kt?"left":b==Rt?"right":""}function $s(b,E){var P=E.manager;return P?P.get(b):b}function io(){zo.apply(this,arguments)}g(io,zo,{defaults:{pointers:1},attrTest:function(b){var E=this.options.pointers;return E===0||b.pointers.length===E},process:function(b){var E=this.state,P=b.eventType,L=E&(Je|Wn),W=this.attrTest(b);return L&&(P&$||!W)?E|Gr:L||W?P&U?E|rn:E&Je?E|Wn:Je:_o}});function Ns(){io.apply(this,arguments),this.pX=null,this.pY=null}g(Ns,io,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var b=this.options.direction,E=[];return b&z&&E.push(Zr),b&B&&E.push(Xr),E},directionTest:function(b){var E=this.options,P=!0,L=b.distance,W=b.direction,ft=b.deltaX,Lt=b.deltaY;return W&E.direction||(E.direction&z?(W=ft===0?It:ft<0?Kt:Rt,P=ft!=this.pX,L=Math.abs(b.deltaX)):(W=Lt===0?It:Lt<0?S:O,P=Lt!=this.pY,L=Math.abs(b.deltaY))),b.direction=W,P&&L>E.threshold&&W&E.direction},attrTest:function(b){return io.prototype.attrTest.call(this,b)&&(this.state&Je||!(this.state&Je)&&this.directionTest(b))},emit:function(b){this.pX=b.deltaX,this.pY=b.deltaY;var E=om(b.direction);E&&(b.additionalEvent=this.options.event+E),this._super.emit.call(this,b)}});function ec(){io.apply(this,arguments)}g(ec,io,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.scale-1)>this.options.threshold||this.state&Je)},emit:function(b){if(b.scale!==1){var E=b.scale<1?"in":"out";b.additionalEvent=this.options.event+E}this._super.emit.call(this,b)}});function oc(){zo.apply(this,arguments),this._timer=null,this._input=null}g(oc,zo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[tm]},process:function(b){var E=this.options,P=b.pointers.length===E.pointers,L=b.distance<E.threshold,W=b.deltaTime>E.time;if(this._input=b,!L||!P||b.eventType&(U|$)&&!W)this.reset();else if(b.eventType&D)this.reset(),this._timer=f(function(){this.state=Lo,this.tryEmit()},E.time,this);else if(b.eventType&U)return Lo;return _o},reset:function(){clearTimeout(this._timer)},emit:function(b){this.state===Lo&&(b&&b.eventType&U?this.manager.emit(this.options.event+"up",b):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function nc(){io.apply(this,arguments)}g(nc,io,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.rotation)>this.options.threshold||this.state&Je)}});function rc(){io.apply(this,arguments)}g(rc,io,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:z|B,pointers:1},getTouchAction:function(){return Ns.prototype.getTouchAction.call(this)},attrTest:function(b){var E=this.options.direction,P;return E&(z|B)?P=b.overallVelocity:E&z?P=b.overallVelocityX:E&B&&(P=b.overallVelocityY),this._super.attrTest.call(this,b)&&E&b.offsetDirection&&b.distance>this.options.threshold&&b.maxPointers==this.options.pointers&&c(P)>this.options.velocity&&b.eventType&U},emit:function(b){var E=om(b.offsetDirection);E&&this.manager.emit(this.options.event+E,b),this.manager.emit(this.options.event,b)}});function Ds(){zo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}g(Ds,zo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Jl]},process:function(b){var E=this.options,P=b.pointers.length===E.pointers,L=b.distance<E.threshold,W=b.deltaTime<E.time;if(this.reset(),b.eventType&D&&this.count===0)return this.failTimeout();if(L&&W&&P){if(b.eventType!=U)return this.failTimeout();var ft=this.pTime?b.timeStamp-this.pTime<E.interval:!0,Lt=!this.pCenter||xe(this.pCenter,b.center)<E.posThreshold;this.pTime=b.timeStamp,this.pCenter=b.center,!Lt||!ft?this.count=1:this.count+=1,this._input=b;var ke=this.count%E.taps;if(ke===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Lo,this.tryEmit()},E.interval,this),Je):Lo}return _o},failTimeout:function(){return this._timer=f(function(){this.state=_o},this.options.interval,this),_o},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Lo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Mo(b,E){return E=E||{},E.recognizers=_(E.recognizers,Mo.defaults.preset),new ac(b,E)}Mo.VERSION="2.0.7",Mo.defaults={domEvents:!1,touchAction:Jh,enable:!0,inputTarget:null,inputClass:null,preset:[[nc,{enable:!1}],[ec,{enable:!1},["rotate"]],[rc,{direction:z}],[Ns,{direction:z},["swipe"]],[Ds],[Ds,{event:"doubletap",taps:2},["tap"]],[oc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var T3=1,nm=2;function ac(b,E){this.options=w({},Mo.defaults,E||{}),this.options.inputTarget=this.options.inputTarget||b,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=b,this.input=ot(this),this.touchAction=new tc(this,this.options.touchAction),rm(this,!0),h(this.options.recognizers,function(P){var L=this.add(new P[0](P[1]));P[2]&&L.recognizeWith(P[2]),P[3]&&L.requireFailure(P[3])},this)}ac.prototype={set:function(b){return w(this.options,b),b.touchAction&&this.touchAction.update(),b.inputTarget&&(this.input.destroy(),this.input.target=b.inputTarget,this.input.init()),this},stop:function(b){this.session.stopped=b?nm:T3},recognize:function(b){var E=this.session;if(!E.stopped){this.touchAction.preventDefaults(b);var P,L=this.recognizers,W=E.curRecognizer;(!W||W&&W.state&Lo)&&(W=E.curRecognizer=null);for(var ft=0;ft<L.length;)P=L[ft],E.stopped!==nm&&(!W||P==W||P.canRecognizeWith(W))?P.recognize(b):P.reset(),!W&&P.state&(Je|Wn|rn)&&(W=E.curRecognizer=P),ft++}},get:function(b){if(b instanceof zo)return b;for(var E=this.recognizers,P=0;P<E.length;P++)if(E[P].options.event==b)return E[P];return null},add:function(b){if(d(b,"add",this))return this;var E=this.get(b.options.event);return E&&this.remove(E),this.recognizers.push(b),b.manager=this,this.touchAction.update(),b},remove:function(b){if(d(b,"remove",this))return this;if(b=this.get(b),b){var E=this.recognizers,P=pt(E,b);P!==-1&&(E.splice(P,1),this.touchAction.update())}return this},on:function(b,E){if(b!==r&&E!==r){var P=this.handlers;return h(V(b),function(L){P[L]=P[L]||[],P[L].push(E)}),this}},off:function(b,E){if(b!==r){var P=this.handlers;return h(V(b),function(L){E?P[L]&&P[L].splice(pt(P[L],E),1):delete P[L]}),this}},emit:function(b,E){this.options.domEvents&&E3(b,E);var P=this.handlers[b]&&this.handlers[b].slice();if(!(!P||!P.length)){E.type=b,E.preventDefault=function(){E.srcEvent.preventDefault()};for(var L=0;L<P.length;)P[L](E),L++}},destroy:function(){this.element&&rm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function rm(b,E){var P=b.element;if(P.style){var L;h(b.options.cssProps,function(W,ft){L=gt(P.style,ft),E?(b.oldCssProps[L]=P.style[L],P.style[L]=W):P.style[L]=b.oldCssProps[L]||""}),E||(b.oldCssProps={})}}function E3(b,E){var P=o.createEvent("Event");P.initEvent(b,!0,!0),P.gesture=E,E.target.dispatchEvent(P)}w(Mo,{INPUT_START:D,INPUT_MOVE:et,INPUT_END:U,INPUT_CANCEL:$,STATE_POSSIBLE:As,STATE_BEGAN:Je,STATE_CHANGED:Wn,STATE_ENDED:rn,STATE_RECOGNIZED:Lo,STATE_CANCELLED:Gr,STATE_FAILED:_o,DIRECTION_NONE:It,DIRECTION_LEFT:Kt,DIRECTION_RIGHT:Rt,DIRECTION_UP:S,DIRECTION_DOWN:O,DIRECTION_HORIZONTAL:z,DIRECTION_VERTICAL:B,DIRECTION_ALL:Z,Manager:ac,Input:H,TouchAction:tc,TouchInput:Rs,MouseInput:Le,PointerEventInput:Kl,TouchMouseInput:Ql,SingleTouchInput:Hh,Recognizer:zo,AttrRecognizer:io,Tap:Ds,Pan:Ns,Swipe:rc,Pinch:ec,Rotate:nc,Press:oc,on:C,off:M,each:h,merge:v,extend:x,assign:w,inherit:g,bindFn:y,prefixed:gt});var S3=typeof t<"u"?t:typeof self<"u"?self:{};S3.Hammer=Mo,typeof r=="function"&&r.amd?r(function(){return Mo}):e.exports?e.exports=Mo:t[n]=Mo})(window,document,"Hammer")})(sd);var Iv=sd.exports;const Av=Xy(Iv);function Wa(){const e=document.documentElement;return{clientWidth:e.clientWidth,clientHeight:e.clientHeight,clientTop:e.clientTop,clientLeft:e.clientLeft,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,offsetWidth:e.offsetWidth,offsetHeight:e.offsetHeight,offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,offsetParent:e.offsetParent}}function Ir(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function id(e){const{top:t,left:o,width:n,height:r}=e.getBoundingClientRect(),{scrollLeft:a,scrollTop:s}=Wa();return{x:o+a,y:t+s,width:n,height:r}}function $v(){const{clientHeight:e,scrollTop:t,scrollHeight:o}=Wa(),n=o-e;return n<=0?0:t/n*100}function ld(e){if("center"in e)return e.center;if(typeof e.pageX=="number"&&typeof e.pageY=="number")return{x:e.pageX,y:e.pageY};const{scrollLeft:t,scrollTop:o}=Wa();return{x:e.clientX+t,y:e.clientY+o}}function yo(e,t){const o={x:0,y:0};if(t){const n=ld(e),r=id(t);o.x=n.x-r.x,o.y=n.y-r.y}else{let n=0,r=0;if("currentTarget"in e&&e.currentTarget&&e.target&&e.currentTarget!=e.target){const a=e.currentTarget.getBoundingClientRect(),s=e.target.getBoundingClientRect();n=s.left-a.left,r=s.top-a.top}if("offsetX"in e)o.x=e.offsetX+n,o.y=e.offsetY+r;else{const a=ld(e),s=id(e.target);o.x=a.x-s.x+n,o.y=a.y-s.y+r}}return o}class Cn extends $a{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,o=!0,n){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Av(this.container),o&&this.start(n)}emitDebounce=zy((t,...o)=>super.emit(t,...o),50);emit(t,...o){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...o);break;default:super.emit(t,...o);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),t&&t.forEach(o=>{this.addRemoves(o())}),this.on("pointerMove",o=>{this.setMousePoint(yo(o,this.container))})}destroy(){this.removes.forEach(t=>t()),this.removes=[],this.removeAllListeners()}restart(){this.destroy(),this.start()}addRemoves(t){this.removes.push(t)}registerMouseEventListeners(){const t=$=>{this.emit("mouseDown",$)},o=$=>{this.emit("mouseUp",$)},n=$=>{this.emit("mouseMove",$)},r=$=>{this.emit("mouseOver",$)},a=$=>{this.emit("mouseOut",$)},s=$=>{this.emit("mouseEnter",$)},l=$=>{this.emit("mouseLeave",$)},i=$=>{this.emit("mouseClick",$)},c=$=>{this.emit("mouseDoubleClick",$)},u=$=>{this.emit("mouseWheel",$)},f=$=>{this.emit("mouseContextMenu",$)},d=$=>{this.emit("touchStart",$)},h=$=>{this.emit("touchEnd",$)},p=$=>{this.emit("touchCancel",$)},w=$=>{this.emit("touchMove",$)},x=$=>{this.emit("pointerDown",$)},v=$=>{this.emit("pointerUp",$)},g=$=>{this.emit("pointerCancel",$)},y=$=>{this.emit("pointerMove",$)},m=$=>{this.emit("pan",$)},_=$=>{this.emit("panStart",$)},C=$=>{this.emit("panMove",$)},M=$=>{this.emit("panEnd",$)},X=$=>{this.emit("panCancel",$)},G=$=>{this.emit("panLeft",$)},V=$=>{this.emit("panRight",$)},pt=$=>{this.emit("panUp",$)},K=$=>{this.emit("panDown",$)},lt=$=>{this.emit("pinch",$)},gt=$=>{this.emit("press",$)},wt=$=>{this.emit("rotate",$)},Mt=$=>{this.emit("swipe",$)},Et=$=>{this.emit("swipeLeft",$)},St=$=>{this.emit("swipeRight",$)},ue=$=>{this.emit("swipeUp",$)},Re=$=>{this.emit("swipeDown",$)},Te=$=>{this.emit("tap",$)},Bt=$=>{!$.target||this.container==$.target||this.container.contains($.target)||this.emit("tapOutSide",$)},tt=$=>{this.emit("inputChange",$,this.container.files)},I=$=>{this.emit("dragstart",$)},te=$=>{$.dataTransfer&&($.dataTransfer.dropEffect="copy"),this.emit("dragover",$)},Nt=$=>{this.emit("dragenter",$)},D=$=>{this.emit("dragend",$)},et=$=>{$.dataTransfer,this.emit("drop",$,$.dataTransfer?.files||null)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",o,!1),this.container.addEventListener("mousemove",n,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",a,!1),this.container.addEventListener("mouseenter",s,!1),this.container.addEventListener("mouseleave",l,!1),this.container.addEventListener("click",i,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",f,!1),this.container.addEventListener("touchstart",d,!1),this.container.addEventListener("touchend",h,!1),this.container.addEventListener("touchcancel",p,!1),this.container.addEventListener("touchmove",w,!1),this.container.addEventListener("pointerdown",x,!1),this.container.addEventListener("pointerup",v,!1),this.container.addEventListener("pointercancel",g,!1),this.container.addEventListener("pointermove",y,!1),this.hammer.on("pan",m),this.hammer.on("panstart",_),this.hammer.on("panmove",C),this.hammer.on("panend",M),this.hammer.on("pancancel",X),this.hammer.on("panleft",G),this.hammer.on("panright",V),this.hammer.on("panup",pt),this.hammer.on("pandown",K),this.hammer.on("pinch",lt),this.hammer.on("press",gt),this.hammer.on("rotate",wt),this.hammer.on("swipe",Mt),this.hammer.on("swipeleft",Et),this.hammer.on("swiperight",St),this.hammer.on("swipeup",ue),this.hammer.on("swipedown",Re),this.hammer.on("tap",Te),document.addEventListener("pointerdown",Bt,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",tt,!1),this.container.addEventListener("dragstart",I,!1),this.container.addEventListener("dragover",te,!1),this.container.addEventListener("dragenter",Nt,!1),this.container.addEventListener("dragend",D,!1),this.container.addEventListener("drop",et,!1);const U=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",o,!1),this.container.removeEventListener("mousemove",n,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",a,!1),this.container.removeEventListener("mouseenter",s,!1),this.container.removeEventListener("mouseleave",l,!1),this.container.removeEventListener("click",i,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",f,!1),this.container.removeEventListener("touchstart",d,!1),this.container.removeEventListener("touchend",h,!1),this.container.removeEventListener("touchcancel",p,!1),this.container.removeEventListener("touchmove",w,!1),this.container.removeEventListener("pointerdown",x,!1),this.container.removeEventListener("pointerup",v,!1),this.container.removeEventListener("pointercancel",g),this.container.removeEventListener("pointermove",y,!1),this.hammer.off("pan",m),this.hammer.off("panstart",_),this.hammer.off("panmove",C),this.hammer.off("panend",M),this.hammer.off("pancancel",X),this.hammer.off("panleft",G),this.hammer.off("panright",V),this.hammer.off("panup",pt),this.hammer.off("pandown",K),this.hammer.off("pinch",lt),this.hammer.off("press",gt),this.hammer.off("rotate",wt),this.hammer.off("swipe",Mt),this.hammer.off("swipeleft",Et),this.hammer.off("swiperight",St),this.hammer.off("swipeup",ue),this.hammer.off("swipedown",Re),this.hammer.off("tap",Te),document.removeEventListener("pointerdown",Bt,!1),document.removeEventListener("touchstart",Bt,!1),document.removeEventListener("mousedown",Bt,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",tt,!1),this.container.removeEventListener("dragstart",I,!1),this.container.removeEventListener("dragover",te,!1),this.container.removeEventListener("dragenter",Nt,!1),this.container.removeEventListener("dragend",D,!1),this.container.removeEventListener("drop",et,!1)};return this.addRemoves(U),U}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},o=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",o,!1);const n=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",o,!1)};return this.addRemoves(n),n}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},o=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",o,!1);const n=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",o,!1)};return this.addRemoves(n),n}registerResizeObserver(){const{on:t,destroy:o}=Tv(this.container),n=t((a,s)=>{this.width=a,this.height=s,this.emit("resize",a,s)}),r=()=>{n(),o()};return this.addRemoves(r),r}registerPullDownRefresh(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullDowning",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&this.emit("pullDown")}})}registerPullUpLoading(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullUping",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&this.emit("pullUp")}})}setMousePoint(t){this.mousePoint.x=t.x,this.mousePoint.y=t.y,this.mousePoint.dx=typeof t.dx=="number"?t.dx:0,this.mousePoint.dy=typeof t.dy=="number"?t.dy:0,this.mousePoint.dStartX=typeof t.dStartX=="number"?t.dStartX:0,this.mousePoint.dStartY=typeof t.dStartY=="number"?t.dStartY:0}captureDrag(t){return this.captureDragUsePointer(t)}captureDragUsePointer(t){let o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),this.on("pointerMove",s),this.on("pointerUp",a),this.on("pointerCancel",a),n=yo(i,this.container);const c={...n};o=c,this.setMousePoint(c),t?.start?.(i,c)},a=i=>{i.preventDefault(),i.stopPropagation(),this.off("pointerMove",s),this.off("pointerUp",a),this.off("pointerCancel",a),n=yo(i,this.container);const c={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(c),t?.end?.(i,c),o=null},s=i=>{i.preventDefault(),i.stopPropagation();const c={...n};n=yo(i,this.container);const u={...n,dx:n.x-(c.x||0),dy:n.y-(c.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.move?.(i,u)};this.on("pointerDown",r);const l=()=>{this.off("pointerDown",r)};return this.addRemoves(l),l}captureDragUseMouse(t){let o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),document.addEventListener("mousemove",s,!1),document.addEventListener("mouseup",a,!1),n=yo(i,this.container);const c={...n};o=c,this.setMousePoint(c),t?.start?.(i,c)},a=i=>{i.preventDefault(),i.stopPropagation(),document.removeEventListener("mousemove",s,!1),document.removeEventListener("mouseup",a,!1),n=yo(i,this.container);const c={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(c),t?.end?.(i,c),o=null},s=i=>{i.preventDefault(),i.stopPropagation();const c={...n};n=yo(i,this.container);const u={...n,dx:n.x-(c.x||0),dy:n.y-(c.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.move?.(i,u)};this.on("mouseDown",r);const l=()=>{this.off("mouseDown",r)};return this.addRemoves(l),l}captureDragUseTouch(t){let o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),this.on("touchMove",s),this.on("touchEnd",a),this.on("touchCancel",a);const c=i.changedTouches[0];n=yo(c,this.container);const u={...n};o=u,this.setMousePoint(u),t?.start?.(c,u)},a=i=>{i.preventDefault(),i.stopPropagation(),this.off("touchMove",s),this.off("touchEnd",a),this.off("touchCancel",a);const c=i.changedTouches[0];n=yo(c,this.container);const u={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.end?.(c,u),o=null},s=i=>{i.preventDefault(),i.stopPropagation();const c=i.changedTouches[0],u={...n};n=yo(c,this.container);const f={...n,dx:n.x-(u.x||0),dy:n.y-(u.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(f),t?.move?.(c,f)};this.on("touchStart",r);const l=()=>{this.off("touchStart",r)};return this.addRemoves(l),l}}class sl{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",o=>{o.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const o=document.createElement("iframe"),n=document.createElement("video"),r=document.createElement("source"),a=new MediaSource;a.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(a),r.media="(min-width:10px)",n.append(r),o.width="5",o.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(o),o.contentDocument?.body.append(n),setTimeout(()=>{o.width="15"}),setTimeout(()=>{o.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(o=>{t.play().then(()=>{t.autoplay=!0,o(!0)}).catch(()=>{sl.setAutoPlayWhenClick(t),o(!1)})})}static setAutoPlayWhenClick(t){function o(){t.autoplay=!0,t.play(),document.removeEventListener("click",o),document.removeEventListener("touchend",o)}document.addEventListener("click",o),document.addEventListener("touchend",o)}}class Nv extends Rr{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const o=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=o-o*Math.abs(Math.sin(ae(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ae(this.extendDegree))),this.diffDegree=t.endDegree-t.startDegree,this.startDegree=180+t.startDegree-this.extendDegree,this.endDegree=180+t.endDegree+this.extendDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+(this.diffDegree+this.extendDegree*2)*t}toSVGPathData(){const{dx:t,dy:o}=Ba(ae(this.startDegree),this.radius),{dx:n,dy:r}=Ba(ae(this.endDegree),this.radius);return[["m",t,o],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,r-o]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ae(this.startDegree),ae(this.endDegree),!1)}}const cd=Nv;let Dv=class extends Sv{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const o=t?.startDegree||0,n=t?.endDegree||180,r=t?.extendDegree||15,a=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const s=20,l=2,i=17;this.ringBg=new cd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:o,endDegree:n,extendDegree:r,lineWidth:a,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new cd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:o,endDegree:n,extendDegree:r,lineWidth:a}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+s;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new Rv({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+i,degree:this.ringBg.startDegree+90+(n-o+r*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(l),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,o,n)=>{this.shapes.forEach(r=>{r!=n&&(r.x+=t,r.y+=o)})})}frameUpdate(t,o){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(o){const a=o.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:a})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let a=0;a<this.indicatorLineCount;a++){const s=a/(this.indicatorLineCount-1)<=this.percent;this.lines[a].setAttr({stroke:s&&o?o.createLinearGradient(0,0,this.lines[a].toX-this.lines[a].x,this.lines[a].toY-this.lines[a].y,{0:this.startColor,1:this.endColor}):s?this.startColor:this.bgColor})}}};function Fv(e){return window.URL.createObjectURL(e)}const ud=new Xi;async function fd(e,t=6e4){const o=typeof e=="string"?e:Fv(e);return new Promise((n,r)=>{const a=ud.get(o);if(a)return n(a);const s=document.createElement("img");s.onload=i=>{clearTimeout(l);const c=s.naturalWidth||s.width,u=s.naturalHeight||s.height,f={width:c,height:u,aspectRatio:c/u,element:s,imageData:Ev(s)};ud.set(o,f),n(f),s.onerror=s.onload=null},s.onerror=i=>{clearTimeout(l),r(i)},s.src=o;const l=setTimeout(()=>{r("Timeout!")},t)})}async function Lv(e,t=6e4){return new Promise((o,n)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!1,r.onload=s=>{clearTimeout(a),o(s),r.onerror=r.onload=null},r.onerror=s=>{clearTimeout(a),n(s)},r.src=e;const a=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(r)})}async function zv(e,t=document.getElementsByTagName("head")[0],o=6e4){return new Promise((n,r)=>{const a=document.createElement("link");a.setAttribute("type","text/css"),a.setAttribute("rel","stylesheet"),a.onload=l=>{clearTimeout(s),n(l),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(s),r(l)},a.setAttribute("href",e);const s=setTimeout(()=>{r("Timeout!")},o);t.appendChild(a)})}function dd(e,t){const o=document.createElement("a");o.style.visibility="hidden",o.download=t,typeof e=="string"?o.href=e:o.href=window.URL.createObjectURL(e),o.click()}function qa(e,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(e.className)||!1}function Ka(e){return{el:e,isRoot:()=>/(html|body)/i.test(e.tagName)||e===document.documentElement,isActive:()=>e===document.activeElement&&(e.type||e.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return e.parentElement?parseFloat(getComputedStyle(e.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=e;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>e.parentElement,parents:function(t=e,o=[]){return!t||t.parentElement===null?o:this.parents(t.parentElement,o.concat([t]))},scrollParent:function(){const t=this.parents();for(let o=0,n=t.length;o<n;o++)if(/(auto|scroll)/.test(ol(t[o],"overflow")+ol(t[o],"overflow-y")+ol(t[o],"overflow-x")))return t[o];return document.scrollingElement||document.documentElement},contains:t=>e.contains?e!=t&&e.contains(t):!!(e.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(e.parentElement?.children).filter(t=>t!==e),nextElementSibling:()=>e.nextElementSibling,previousElementSibling:()=>e.previousElementSibling,closest:t=>e.closest(t),shadowRoot:()=>e.shadowRoot,isInput:()=>e.tagName==="INPUT"||e instanceof HTMLInputElement,isSelect:()=>e.tagName==="SELECT"||e instanceof HTMLSelectElement,isTextArea:()=>e.tagName==="TEXTAREA"||e instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(e)&&e.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(e)&&e.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(e)&&e.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(e)&&e.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const o=e.options;for(let n=0,r=o.length;n<r;n++)o[n].selected=o[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const o=document.getElementsByName(e.name);for(let n=0,r=o.length;n<r;n++){const a=o[n];a.checked=a.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(e.checked=t)},insert:(t,o="append")=>{typeof t=="string"?e[o](Mv(t)):e[o](t)},html:function(t){if(typeof t=="string"){e.innerHTML=t;const o=pd(e);o!=e&&(e=o)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{e.textContent=t},getInnerText:()=>{if(e instanceof SVGElement)return"";let t=e.innerText;if(!t){const o=e.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=o.length-1;)"innerText"in o[n]&&(t=o[n].innerText),n++}return t},remove:()=>e.remove()}}function Mv(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes.forEach(o=>{const n=pd(o);n!=o&&t.content.replaceChild(n,o)}),t.content}function pd(e){return e.tagName=="SCRIPT"&&(e=hd(e)),e.querySelectorAll&&e.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(hd(t),t)}),e}function hd(e){const t=e.ownerDocument.createElement("script");t.text=e.text;const o=e.attributes;for(let n=0,r=o.length;n<r;n++)t.setAttribute(o[n].name,o[n].value);return t}async function il(e){if(navigator.clipboard)return await navigator.clipboard.writeText(e);{const t=document.createElement("textarea");return t.value=e,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function Bv(e,t={},o=[],n){return{tag:e,props:t,children:o,el:n}}function ll(e){return Bv(e.tagName,td(e),Array.from(e.children).map(t=>ll(t)),e)}function Qa(e,t=document.documentElement){if(e.el)return e.el;if(e.el=document.createElement(e.tag),e.props)for(const o in e.props){const n=e.props[o];o.startsWith("on")?e.el.addEventListener(o.slice(2).toLowerCase(),n):o==="style"?nl(e.el,e.props[o]):ed(e.el,o,n)}return e.children&&(typeof e.children=="string"?e.el.appendChild(document.createTextNode(e.children)):e.children.forEach(o=>{Qa(o,e.el)})),t.appendChild(e.el),e.el}function md(e,t){if(!e.el)return;if(e.tag!==t.tag){(e.el.parentElement||document.body).replaceChild(Qa(t),e.el);return}const o=t.el=e.el,n=e.props,r=t.props;for(const l in n)l in r||(l.startsWith("on")?o.removeEventListener(l.slice(2).toLowerCase(),n[l]):o.removeAttribute(l));for(const l in r){const i=n[l],c=r[l];if(c!=i)if(l.startsWith("on")){const u=l.slice(2).toLowerCase();o.removeEventListener(u,i),o.addEventListener(u,c)}else if(l==="style"){for(const u in i)u in c||Jf(o,u);nl(o,c)}else ed(o,l,c)}const a=e.children||[],s=t.children||[];if(typeof s=="string")o.innerHTML=s;else if(typeof a=="string")o.innerHTML="",s.forEach(l=>{Qa(l,o)});else{const l=Math.min(a.length,s.length);for(let i=0;i<l;i++)md(a[i],s[i]);s.length>a.length&&s.slice(a.length).forEach(i=>{Qa(i,o)}),s.length<a.length&&a.slice(s.length).forEach(i=>{i.el&&o.removeChild(i.el)})}}function gd(e){const t=document.documentElement,o=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=o;let n=100;const r=function(){const a=Math.min(t.clientWidth,e);t.dataset.width=a,t.dataset.rem=n=Math.round(100*(a/e)),t.style.fontSize=n+"px"};r(),window.rem2px=function(a){return a=parseFloat(a),a*n},window.px2rem=function(a){return a=parseFloat(a),a/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}class yd{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,o=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new dv(this.app.container,this.app.width,this.app.height,o),this.app.captureDrag({start:()=>{this.isMouseDown=!0,this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.isMouseDown=!1,this.dragDx=0,this.dragDy=0,this.setCursor()},move:(n,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let r=n.parent;for(;r;)r.emit("clicked",n),r=r.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.app.container.style.cursor="grab",this.isMouseDown&&(this.app.container.style.cursor="grabbing")):this.currentMouseInShape?this.app.container.style.cursor="pointer":this.app.container.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(ae(t.degree),t.cX,t.cY),this.ctx.scale(t.scalarX,t.scalarY,t.cX,t.cY))}_addDrawShape(t){this.shapes.push(t),t instanceof ad&&t.shapes.forEach(o=>{this._addDrawShape(o)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(o=>{this._addDrawShape(o)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const o of this.shapes){if(!o.isShow)continue;if(this.ctx.save(),o.frameStart(this.app.mousePoint),Yv(this.ctx,o.getAttrs()),o.followMouse&&(!Pf(o.x,this.app.mousePoint.x,5)||!Pf(o.y,this.app.mousePoint.y,5))&&o.followTo(this.app.mousePoint),o.targetToAfterDragFree&&(this.isMouseDown||o.runEaseTo({x:o.targetToAfterDragFree.targetX,y:o.targetToAfterDragFree.targetY},{easing:o.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==o){o.isDragging=!0;const r=this.dragDx,a=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||a){if(o.x+=r,o.y+=a,o.alongPath){const s=o.alongPath.closestPoint(o.x,o.y);o.x=s.point.x-o.cX,o.y=s.point.y-o.cY}o.emit("draging",r,a)}}else o.isDragging=!1;o.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(o),o.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(n,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(n,this.app.mousePoint.x,this.app.mousePoint.y)||!1;o.isMouseIn=r,r&&(this.currentMouseInShape=o,o.enableDrag&&(this.currentEnableDragMouseInShape=o))}o.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",o){switch(t){case"brush":const n=o?.brushSize??10,r=o?.brushDensity??50,a=o?.brushColor??"#000000",s=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),l=s.data,i=_e(a);return this.app.captureDrag({move:()=>{if(this.isMouseDown){for(let c=0;c<r;c++){const u=Math.random()*Math.PI*2,f=Math.random()*n,d=this.app.mousePoint.x+Math.cos(u)*f|0,h=this.app.mousePoint.y+Math.sin(u)*f|0,p=(d+h*s.width)*4;l[p]=i.r,l[p+1]=i.g,l[p+2]=i.b,l[p+3]=255}this.ctx.putImageData(s)}}});case"line":default:return this.app.captureDrag({start:c=>{this.ctx.beginPath(),this.ctx.moveTo(this.app.mousePoint.x,this.app.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.isMouseDown&&(this.ctx.lineTo(this.app.mousePoint.x,this.app.mousePoint.y),this.ctx.stroke())}})}}}function Yv(e,t){for(const o in t){const n=t[o];switch(o){case"fill":n!=="none"&&(e.fillStyle=n);break;case"stroke":n!=="none"&&(e.strokeStyle=n);break;case"stroke-width":case"strokeWidth":e.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":e.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":e.lineJoin=n;break;default:e.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":e.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":e.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&e.setLineDash(n.split(/\s+/).map(r=>Number(r)));break;case"cursor":break;case"font":typeof n=="string"&&(e.font=n);break;case"font-size":case"fontSize":e.font+=` ${n}`;break;case"font-family":case"fontFamily":e.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":e.textAlign="center";break;case"end":e.textAlign="end";break;case"start":e.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":e.textBaseline=n;break;default:e.textBaseline="alphabetic";break}break}}}class Vv{map;constructor(t,o=120.619585,n=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(o,n),r)}}const Xv=e=>{const t={};if(e.attributes)for(let o=0,n=e.attributes,r=n.length;o<r;o++){const a=n[o];a.nodeName&&a.nodeValue&&(t[a.nodeName]=a.nodeValue)}return t},Jo=Y({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(e,{expose:t}){const o=e,n=de(()=>({"background-color":o.color,position:"fixed","z-index":"99999",display:"block",width:"100%",height:"100%",inset:"0",overflow:"hidden"})),r=R(),a=document.documentElement.style.overflow;let s;return Pt(()=>o.visible,()=>{o.isGlobal?document.documentElement.style.overflow=o.visible?"hidden":a:(s||(s=r.value.parentElement.style.overflow||"visible"),r.value.parentElement.style.overflow=o.visible?"hidden":s)},{immediate:!0}),t({}),(l,i)=>o.visible?(A(),F("div",{key:0,class:"overlay",style:N(n.value),ref_key:"el",ref:r},[dt(l.$slots,"default")],4)):yt("",!0)}}),mt=Y({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","clipboard_success","clipboard_error","start","end"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a="start";const s=()=>{a="start",r("start")},l=()=>{a="end",r("end")},i=()=>{a=="start"?l():s()},c=R();let u=!1,f,d;fe(()=>{f=new Cn(c.value,!1),f.on("resize",(w,x)=>{r("resize",w,x,c.value.getBoundingClientRect()),d?.(f),u||(u=!0,n.effectTriggerTiming!=="manual"&&s(),r("ready",f),n.effectTriggerTiming=="immediate"&&i())}),f.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("tap",()=>{if(n.effectTriggerTiming=="click"&&i(),n.supportCopyText){const w=Ka(c.value).getInnerText();il(w).then(()=>{r("clipboard_success",w)}).catch(x=>{r("clipboard_error",x.toString())})}}),f.start()});const h=()=>new Promise(w=>{if(f)return w(f);d=w}),p=async()=>(await h(),c.value.getBoundingClientRect());return re(()=>{f?.destroy()}),t({getElement:()=>c.value,getApp:h,getSize:p}),(w,x)=>(A(),F("div",{class:Ut(["container",[n.type]]),ref_key:"r",ref:c,style:N({position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"})},[dt(w.$slots,"default")],6))}}),se=Y({customOptions:{Overlay:Jo,Container:mt},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=new Ze({frameDuration:n.dur}),s=jt({position:"absolute",overflow:"hidden",opacity:"1"}),l=R(!1),i=R("full");Pt(()=>[n.directionFrom,n.popValue],()=>{a.clear();const w=!n.popValue,x=n.popValue?n.popValue:100,v=n.popValue?"px":"%";switch(n.directionFrom){case"left":s.height="100%",w?delete s.width:s.width=`${x}${v}`,s.top="0",s.bottom="0",delete s.right,a.addTween({left:x},{left:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.left=`-${g.left}${v}`},onComplete:f});break;case"right":s.height="100%",w?delete s.width:s.width=`${x}${v}`,s.top="0",s.bottom="0",delete s.left,a.addTween({right:x},{right:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.right=`-${g.right}${v}`},onComplete:f});break;case"top":s.width="100%",w?delete s.height:s.height=`${x}${v}`,s.left="0",s.right="0",delete s.bottom,a.addTween({top:x},{top:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.top=`-${g.top}${v}`},onComplete:f});break;case"bottom":s.width="100%",w?delete s.height:s.height=`${x}${v}`,s.left="0",s.right="0",delete s.top,a.addTween({bottom:x},{bottom:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.bottom=`-${g.bottom}${v}`},onComplete:f});break;case"center":delete s.width,delete s.height,s.left="50%",delete s.right,s.top="50%",delete s.bottom,a.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:st.Quadratic.Out,onUpdate(g){s.transform=`translate(-50%, -50%) scale(${g.scale})`,s.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":s.width=n.absoluteWidth,s.height=n.absoluteHeight,s.left=n.absoluteLeft,s.top=n.absoluteTop,delete s.right,delete s.bottom;break}switch(n.directionFrom){case"center":i.value="shrink",s.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete s.transform,delete s.opacity;break;default:i.value="full",delete s.transform,delete s.opacity;break}w&&(i.value="shrink")},{immediate:!0}),Pt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":s.left=n.absoluteLeft;break}}),Pt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":s.top=n.absoluteTop;break}}),Pt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":s.width=n.absoluteWidth;break}}),Pt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":s.height=n.absoluteHeight;break}});const c=(w,x,v)=>{r("resize",w,x,v)};let u="open";function f(){u=="open"?r("open"):(l.value=!1,r("close"))}function d(){l.value=!0,u="open",a.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:a.reverse();break}}function p(w){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";w.target&&qa(w.target,x)&&(n.closeWhenClickOverlay&&h(),r("clickOverlay"))}return t({open:d,close:h}),(w,x)=>(A(),ht(Jo,{visible:l.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:at(()=>[k("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:p},[J(mt,{class:"pop-content",type:i.value,style:N(s),onResize:c},{default:at(()=>[dt(w.$slots,"default",{},()=>[x[0]||(x[0]=k("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),vd=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ja=(e,t,o,n="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),i=r.pop(),c={provider:r.length>0?r[0]:n,prefix:i,name:l};return t&&!ts(c)?null:c}const a=r[0],s=a.split("-");if(s.length>1){const l={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!ts(l)?null:l}if(o&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ts(l,o)?null:l}return null},ts=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,bd=Object.freeze({left:0,top:0,width:16,height:16}),es=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),os=Object.freeze({...bd,...es}),cl=Object.freeze({...os,body:"",hidden:!1});function Zv(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}function _d(e,t){const o=Zv(e,t);for(const n in cl)n in es?n in e&&!(n in o)&&(o[n]=es[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Gv(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function a(s){if(o[s])return r[s]=[];if(!(s in r)){r[s]=null;const l=n[s]&&n[s].parent,i=l&&a(l);i&&(r[s]=[l].concat(i))}return r[s]}return Object.keys(o).concat(Object.keys(n)).forEach(a),r}function Uv(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let a={};function s(l){a=_d(n[l]||r[l],a)}return s(t),o.forEach(s),_d(e,a)}function xd(e,t){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),o.push(r)});const n=Gv(e);for(const r in n){const a=n[r];a&&(t(r,Uv(e,r,a)),o.push(r))}return o}const jv={provider:"",aliases:{},not_found:{},...bd};function ul(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function kd(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ul(e,jv))return null;const o=t.icons;for(const r in o){const a=o[r];if(!r||typeof a.body!="string"||!ul(a,cl))return null}const n=t.aliases||Object.create(null);for(const r in n){const a=n[r],s=a.parent;if(!r||typeof s!="string"||!o[s]&&!n[s]||!ul(a,cl))return null}return t}const wd=Object.create(null);function Hv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Bn(e,t){const o=wd[e]||(wd[e]=Object.create(null));return o[t]||(o[t]=Hv(e,t))}function Cd(e,t){return kd(t)?xd(t,(o,n)=>{n?e.icons[o]=n:e.missing.add(o)}):[]}function Wv(e,t,o){try{if(typeof o.body=="string")return e.icons[t]={...o},!0}catch{}return!1}let Ar=!1;function Td(e){return typeof e=="boolean"&&(Ar=e),Ar}function qv(e){const t=typeof e=="string"?Ja(e,!0,Ar):e;if(t){const o=Bn(t.provider,t.prefix),n=t.name;return o.icons[n]||(o.missing.has(n)?null:void 0)}}function Kv(e,t){const o=Ja(e,!0,Ar);if(!o)return!1;const n=Bn(o.provider,o.prefix);return t?Wv(n,o.name,t):(n.missing.add(o.name),!0)}function Qv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ar&&!t&&!e.prefix){let r=!1;return kd(e)&&(e.prefix="",xd(e,(a,s)=>{Kv(a,s)&&(r=!0)})),r}const o=e.prefix;if(!ts({provider:t,prefix:o,name:"a"}))return!1;const n=Bn(t,o);return!!Cd(n,e)}const Ed=Object.freeze({width:null,height:null}),Sd=Object.freeze({...Ed,...es}),Jv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,t1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Od(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const n=e.split(Jv);if(n===null||!n.length)return e;const r=[];let a=n.shift(),s=t1.test(a);for(;;){if(s){const l=parseFloat(a);isNaN(l)?r.push(a):r.push(Math.ceil(l*t*o)/o)}else r.push(a);if(a=n.shift(),a===void 0)return r.join("");s=!s}}function e1(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),a=e.indexOf("</"+t);if(r===-1||a===-1)break;const s=e.indexOf(">",a);if(s===-1)break;o+=e.slice(r+1,a).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:o,content:e}}function o1(e,t){return e?"<defs>"+e+"</defs>"+t:t}function n1(e,t,o){const n=e1(e);return o1(n.defs,t+n.content+o)}const r1=e=>e==="unset"||e==="undefined"||e==="none";function a1(e,t){const o={...os,...e},n={...Sd,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let a=o.body;[o,n].forEach(w=>{const x=[],v=w.hFlip,g=w.vFlip;let y=w.rotate;v?g?y+=2:(x.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),x.push("scale(-1 1)"),r.top=r.left=0):g&&(x.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),x.push("scale(1 -1)"),r.top=r.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=r.height/2+r.top,x.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:x.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,x.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(r.left!==r.top&&(m=r.left,r.left=r.top,r.top=m),r.width!==r.height&&(m=r.width,r.width=r.height,r.height=m)),x.length&&(a=n1(a,'<g transform="'+x.join(" ")+'">',"</g>"))});const s=n.width,l=n.height,i=r.width,c=r.height;let u,f;s===null?(f=l===null?"1em":l==="auto"?c:l,u=Od(f,i/c)):(u=s==="auto"?i:s,f=l===null?Od(u,c/i):l==="auto"?c:l);const d={},h=(w,x)=>{r1(x)||(d[w]=x.toString())};h("width",u),h("height",f);const p=[r.left,r.top,i,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:a}}const s1=/\sid="(\S+)"/g,i1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let l1=0;function c1(e,t=i1){const o=[];let n;for(;n=s1.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(a=>{const s=typeof t=="function"?t(a):t+(l1++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const fl=Object.create(null);function u1(e,t){fl[e]=t}function dl(e){return fl[e]||fl[""]}function pl(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 hl=Object.create(null),$r=["https://api.simplesvg.com","https://api.unisvg.com"],ns=[];for(;$r.length>0;)$r.length===1||Math.random()>.5?ns.push($r.shift()):ns.push($r.pop());hl[""]=pl({resources:["https://api.iconify.design"].concat(ns)});function f1(e,t){const o=pl(t);return o===null?!1:(hl[e]=o,!0)}function ml(e){return hl[e]}let Pd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function d1(e,t){const o=ml(e);if(!o)return 0;let n;if(!o.maxURL)n=0;else{let r=0;o.resources.forEach(s=>{r=Math.max(r,s.length)});const a=t+".json?icons=";n=o.maxURL-r-o.path.length-a.length}return n}function p1(e){return e===404}const h1=(e,t,o)=>{const n=[],r=d1(e,t),a="icons";let s={type:a,provider:e,prefix:t,icons:[]},l=0;return o.forEach((i,c)=>{l+=i.length+1,l>=r&&c>0&&(n.push(s),s={type:a,provider:e,prefix:t,icons:[]},l=i.length),s.icons.push(i)}),n.push(s),n};function m1(e){if(typeof e=="string"){const t=ml(e);if(t)return t.path}return"/"}const g1={prepare:h1,send:(e,t,o)=>{if(!Pd){o("abort",424);return}let n=m1(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),i=new URLSearchParams({icons:l});n+=a+".json?"+i.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:o("abort",400);return}let r=503;Pd(e+n).then(a=>{const s=a.status;if(s!==200){setTimeout(()=>{o(p1(s)?"abort":"next",s)});return}return r=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?o("abort",a):o("next",r)});return}setTimeout(()=>{o("success",a)})}).catch(()=>{o("next",r)})}};function y1(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((r,a)=>r.provider!==a.provider?r.provider.localeCompare(a.provider):r.prefix!==a.prefix?r.prefix.localeCompare(a.prefix):r.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(r=>{if(n.name===r.name&&n.prefix===r.prefix&&n.provider===r.provider)return;n=r;const a=r.provider,s=r.prefix,l=r.name,i=o[a]||(o[a]=Object.create(null)),c=i[s]||(i[s]=Bn(a,s));let u;l in c.icons?u=t.loaded:s===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:a,prefix:s,name:l};u.push(f)}),t}function Rd(e,t){e.forEach(o=>{const n=o.loaderCallbacks;n&&(o.loaderCallbacks=n.filter(r=>r.id!==t))})}function v1(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach(a=>{const s=a.icons,l=s.pending.length;s.pending=s.pending.filter(i=>{if(i.prefix!==r)return!0;const c=i.name;if(e.icons[c])s.loaded.push({provider:n,prefix:r,name:c});else if(e.missing.has(c))s.missing.push({provider:n,prefix:r,name:c});else return o=!0,!0;return!1}),s.pending.length!==l&&(o||Rd([e],a.id),a.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),a.abort))})}))}let b1=0;function _1(e,t,o){const n=b1++,r=Rd.bind(null,o,n);if(!t.pending.length)return r;const a={id:n,icons:t,callback:e,abort:r};return o.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(a)}),r}function x1(e,t=!0,o=!1){const n=[];return e.forEach(r=>{const a=typeof r=="string"?Ja(r,t,o):r;a&&n.push(a)}),n}var k1={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function w1(e,t,o,n){const r=e.resources.length,a=e.random?Math.floor(Math.random()*r):e.index;let s;if(e.random){let C=e.resources.slice(0);for(s=[];C.length>1;){const M=Math.floor(Math.random()*C.length);s.push(C[M]),C=C.slice(0,M).concat(C.slice(M+1))}s=s.concat(C)}else s=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let i="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function w(){i==="pending"&&(i="aborted"),p(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function x(C,M){M&&(h=[]),typeof C=="function"&&h.push(C)}function v(){return{startTime:l,payload:t,status:i,queriesSent:c,queriesPending:d.length,subscribe:x,abort:w}}function g(){i="failed",h.forEach(C=>{C(void 0,u)})}function y(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,M,X){const G=M!=="success";switch(d=d.filter(V=>V!==C),i){case"pending":break;case"failed":if(G||!e.dataAfterTimeout)return;break;default:return}if(M==="abort"){u=X,g();return}if(G){u=X,d.length||(s.length?_():g());return}if(p(),y(),!e.random){const V=e.resources.indexOf(C.resource);V!==-1&&V!==e.index&&(e.index=V)}i="completed",h.forEach(V=>{V(X)})}function _(){if(i!=="pending")return;p();const C=s.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{p(),i==="pending"&&(y(),g())},e.timeout);return}g();return}const M={status:"pending",resource:C,callback:(X,G)=>{m(M,X,G)}};d.push(M),c++,f=setTimeout(_,e.rotate),o(C,t,M.callback)}return setTimeout(_),v}function Id(e){const t={...k1,...e};let o=[];function n(){o=o.filter(l=>l().status==="pending")}function r(l,i,c){const u=w1(t,l,i,(f,d)=>{n(),c&&c(f,d)});return o.push(u),u}function a(l){return o.find(i=>l(i))||null}return{query:r,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function Ad(){}const gl=Object.create(null);function C1(e){if(!gl[e]){const t=ml(e);if(!t)return;const o=Id(t),n={config:t,redundancy:o};gl[e]=n}return gl[e]}function T1(e,t,o){let n,r;if(typeof e=="string"){const a=dl(e);if(!a)return o(void 0,424),Ad;r=a.send;const s=C1(e);s&&(n=s.redundancy)}else{const a=pl(e);if(a){n=Id(a);const s=e.resources?e.resources[0]:"",l=dl(s);l&&(r=l.send)}}return!n||!r?(o(void 0,424),Ad):n.query(t,r,o)().abort}function $d(){}function E1(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,v1(e)}))}function S1(e){const t=[],o=[];return e.forEach(n=>{(n.match(vd)?t:o).push(n)}),{valid:t,invalid:o}}function Nr(e,t,o){function n(){const r=e.pendingIcons;t.forEach(a=>{r&&r.delete(a),e.icons[a]||e.missing.add(a)})}if(o&&typeof o=="object")try{if(!Cd(e,o).length){n();return}}catch(r){console.error(r)}n(),E1(e)}function Nd(e,t){e instanceof Promise?e.then(o=>{t(o)}).catch(()=>{t(null)}):t(e)}function O1(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:o,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const a=e.loadIcon;if(e.loadIcons&&(r.length>1||!a)){Nd(e.loadIcons(r,n,o),u=>{Nr(e,r,u)});return}if(a){r.forEach(u=>{const f=a(u,n,o);Nd(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Nr(e,[u],h)})});return}const{valid:s,invalid:l}=S1(r);if(l.length&&Nr(e,l,null),!s.length)return;const i=n.match(vd)?dl(o):null;if(!i){Nr(e,s,null);return}i.prepare(o,n,s).forEach(u=>{T1(o,u,f=>{Nr(e,u.icons,f)})})}))}const P1=(e,t)=>{const o=x1(e,!0,Td()),n=y1(o);if(!n.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(n.loaded,n.missing,n.pending,$d)}),()=>{i=!1}}const r=Object.create(null),a=[];let s,l;return n.pending.forEach(i=>{const{provider:c,prefix:u}=i;if(u===l&&c===s)return;s=c,l=u,a.push(Bn(c,u));const f=r[c]||(r[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(i=>{const{provider:c,prefix:u,name:f}=i,d=Bn(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),r[c][u].push(f))}),a.forEach(i=>{const c=r[i.provider][i.prefix];c.length&&O1(i,c)}),t?_1(t,n,a):$d};function R1(e,t){const o={...e};for(const n in t){const r=t[n],a=typeof r;n in Ed?(r===null||r&&(a==="string"||a==="number"))&&(o[n]=r):a===typeof o[n]&&(o[n]=n==="rotate"?r%4:r)}return o}const I1=/[\s,]+/;function A1(e,t){t.split(I1).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function $1(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(r){for(;r<0;)r+=4;return r%4}if(o===""){const r=parseInt(e);return isNaN(r)?0:n(r)}else if(o!==e){let r=0;switch(o){case"%":r=25;break;case"deg":r=90}if(r){let a=parseFloat(e.slice(0,e.length-o.length));return isNaN(a)?0:(a=a/r,a%1===0?n(a):0)}}return t}function N1(e,t){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)o+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function D1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function F1(e){return"data:image/svg+xml,"+D1(e)}function L1(e){return'url("'+F1(e)+'")'}const Dd={...Sd,inline:!1},z1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},M1={display:"inline-block"},yl={backgroundColor:"currentColor"},Fd={backgroundColor:"transparent"},Ld={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zd={webkitMask:yl,mask:yl,background:Fd};for(const e in zd){const t=zd[e];for(const o in Ld)t[e+o]=Ld[o]}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 Md(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Bd=(e,t)=>{const o=R1(Dd,t),n={...z1},r=t.mode||"svg",a={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let w in t){const x=t[w];if(x!==void 0)switch(w){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[w]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&A1(o,x);break;case"color":a.color=x;break;case"rotate":typeof x=="string"?o[w]=$1(x):typeof x=="number"&&(o[w]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete n["aria-hidden"];break;default:{const v=rs[w];v?(x===!0||x==="true"||x===1)&&(o[v]=!0):Dd[w]===void 0&&(n[w]=x)}}}const i=a1(e,o),c=i.attributes;if(o.inline&&(a.verticalAlign="-0.125em"),r==="svg"){n.style={...a,...l},Object.assign(n,c);let w=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),n.innerHTML=c1(i.body,x?()=>x+"ID"+w++:"iconifyVue"),Xt("svg",n)}const{body:u,width:f,height:d}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=N1(u,{...c,width:f+"",height:d+""});return n.style={...a,"--svg":L1(p),width:Md(c.width),height:Md(c.height),...M1,...h?yl:Fd,...l},Xt("span",n)};if(Td(!0),u1("",g1),typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Qv(n))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let o in t){const n="IconifyProviders["+o+"] is invalid.";try{const r=t[o];if(typeof r!="object"||!r||r.resources===void 0)continue;f1(o,r)||console.error(n)}catch{console.error(n)}}}}const B1={...os,body:""},Yd=Y({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,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Ja(e,!1,!0))===null)return this.abortLoading(),null;let r=qv(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:P1([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),o){r=Object.assign({},r);const s=o(r.body,n.name,n.prefix,n.provider);typeof s=="string"&&(r.body=s)}const a=["iconify"];return n.prefix!==""&&a.push("iconify--"+n.prefix),n.provider!==""&&a.push("iconify--"+n.provider),{data:r,classes:a}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return Bd(B1,e);let o=e;return t.classes&&(o={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Bd({...os,...t.data},o)}}),vo=Y({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("span",{class:"icon",style:N(["color: "+o.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[J(vt(Yd),{icon:t.icon,color:o.color},null,8,["icon","color"])],4))}}),Y1={class:"loading-11",ref:"loading11"},V1={class:"container container-1"},X1={class:"container container-2"},Z1={class:"container container-3"},G1=Y({__name:"Loading11",props:{color:{default:kt.colorPrimary},width:{default:"0.8em"}},setup(e){const t=e;return(o,n)=>(A(),F("div",Y1,[k("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[k("div",V1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",X1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Z1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),N3="",nt=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},as=nt(G1,[["__scopeId","data-v-f95fac77"]]),U1={key:0,class:"loading",style:{"margin-right":"6px"}},oe=Y({customOptions:{Loading11:as},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(n.borderColor),l=R(n.bgColor),i=R(n.fontColor),c=R(n.borderColor),u=R(n.bgColor);function f(m){switch(m){case"outline":s.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorGrayFF,i.value=n.fontColor??kt.colorPrimary,c.value=s.value,u.value=l.value;break;case"fullfilled":default:s.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorPrimary,i.value=n.fontColor??kt.colorGrayFF,c.value=s.value,u.value=l.value;break}}Pt(()=>n.stylePattern,()=>{f(n.stylePattern)},{immediate:!0});const d=R(n.disabled?"0.6":"1"),h=R(n.disabled?"not-allowed":"pointer");let p=!1;const w=()=>{n.disabled||(p=!0,s.value=_e(c.value).lighten(.05).toString(),l.value=_e(u.value).lighten(.05).toString())},x=()=>{n.disabled||(p=!1,s.value=c.value,l.value=u.value)},v=R(!1),y=Af(()=>{n.disabled||v.value||(s.value=_e(c.value).darken(.1).toString(),l.value=_e(u.value).darken(.1).toString(),setTimeout(()=>{p?w():x()},150),r("yz-click"),r("click"),n.asyncClick&&(v.value=!0,n.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},300);return t({el:a}),(m,_)=>(A(),F("div",{ref_key:"el",ref:a,class:"button",style:N([`opacity: ${d.value}`,`border: 1px solid ${s.value}`,`background-color: ${l.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${h.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:w,onMouseleave:x,onClick:_[0]||(_[0]=(...C)=>vt(y)&&vt(y)(...C))},[k("label",{class:"label truncate",style:N({padding:"0 "+m.padding,cursor:h.value,display:"inline-flex",justifyContent:"center",alignItems:"center"})},[v.value?(A(),F("div",U1,[J(as,{color:i.value},null,8,["color"])])):yt("",!0),dt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(A(),ht(vo,{key:0,icon:m.icon,color:i.value,style:N({marginRight:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0),k("span",{style:N({cursor:h.value})},ut(m.label),5),m.icon&&m.iconPosition==="right"?(A(),ht(vo,{key:1,icon:m.icon,color:i.value,style:N({marginLeft:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),j1={class:"dialog-parent"},H1={key:0,class:"title"},W1={key:0,class:"title-inner truncate"},q1={class:"custom-content"},K1={class:"custom-content-default"},Q1={key:1,class:"btns"},J1=Y({customOptions:{Overlay:Jo,Pop:se,Icon:vo,Button:oe},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(""),l=R(""),i=R(!1),c=R(""),u=R("");let f,d,h;const p=()=>{r("open")},w=()=>{f?.(),r("close")};function x(m){s.value=m?.title||"",l.value=m?.content||"",i.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,h=m?.onConfirm,a.value.open()}function v(){a.value.close()}function g(){v(),d?.(),r("cancel")}function y(){v(),h?.(),r("confirm")}return t({open:x,close:v}),(m,_)=>(A(),ht(se,{ref_key:"popRef",ref:a,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:p,onClose:w},{default:at(()=>[k("div",j1,[k("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[s.value||i.value?(A(),F("div",H1,[s.value?(A(),F("div",W1,ut(s.value),1)):yt("",!0),i.value?(A(),F("div",{key:1,class:"close",onClick:v},[J(vo,{icon:"ic:baseline-close",color:vt(kt).colorGrayCC},null,8,["color"])])):yt("",!0)])):yt("",!0),k("div",q1,[dt(m.$slots,"default",{},()=>[k("div",K1,ut(l.value),1)],!0)]),c.value||u.value?(A(),F("div",Q1,[c.value?(A(),ht(oe,{key:0,onClick:g,class:"btn",bgColor:vt(kt).colorGrayE6,borderColor:vt(kt).colorGrayE6,fontColor:vt(kt).colorGray33,borderRadius:"0"},{default:at(()=>[Vt(ut(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):yt("",!0),u.value?(A(),ht(oe,{key:1,onClick:y,class:"btn",borderRadius:"0"},{default:at(()=>[Vt(ut(u.value),1)]),_:1})):yt("",!0)])):yt("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),D3="",ss=nt(J1,[["__scopeId","data-v-f9df8635"]]),tb={class:"loading-8"},eb={viewBox:"25 25 50 50"},ob=Y({__name:"Loading8",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",tb,[(A(),F("svg",eb,[k("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),F3="",Vd=nt(ob,[["__scopeId","data-v-e5e3cf4c"]]),nb=["fill"],rb=["fill"],ab=["fill"],is=Y({__name:"SVGWarn",props:{scale:{default:1},color:{default:"#FA503C"}},setup(e){const t=e,o=de(()=>new De(t.color).opposite(!0).toString());return(n,r)=>(A(),F("svg",{width:"16",height:"16",viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:N({transformOrigin:"center",transform:`scale(${t.scale})`})},[k("circle",{cx:"12",cy:"12",r:"8",fill:t.color},null,8,nb),k("path",{d:"M11.4666 8.80006C11.4666 8.50551 11.7053 8.26672 11.9999 8.26672C12.2944 8.26672 12.5332 8.50551 12.5332 8.80006V13.0667C12.5332 13.3613 12.2944 13.6001 11.9999 13.6001C11.7053 13.6001 11.4666 13.3613 11.4666 13.0667V8.80006Z",fill:o.value},null,8,rb),k("path",{d:"M11.4666 15.2001C11.4666 14.9055 11.7053 14.6667 11.9999 14.6667C12.2944 14.6667 12.5332 14.9055 12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4666 15.4946 11.4666 15.2001Z",fill:o.value},null,8,ab)],4))}}),sb={class:"icon"},ib=Y({customOptions:{SVGWarn:is},inheritAttrs:!0,__name:"Text",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(e,{expose:t}){const o=e,n=de(()=>o.type!=="none"),r=de(()=>o.type=="warn");return t({}),(a,s)=>(A(),F("div",{class:"text",style:N({color:o.color})},[k("div",sb,[dt(a.$slots,"icon",{},()=>[r.value?(A(),ht(is,{key:0})):yt("",!0)],!0)]),k("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[dt(a.$slots,"default",{},()=>[Vt(ut(o.text),1)],!0)],4)],4))}}),L3="",vl=nt(ib,[["__scopeId","data-v-b1f6b1f2"]]),bl=Y({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{style:N(["transform-origin: center","width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},n[0]||(n[0]=[k("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),k("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),k("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)]),4))}});function z3(e){return e}const Yn=document.getElementById("teleport")||document.documentElement;function lb(e,t){{const o=document.querySelector("yz-dialog-toast#globalDialogToast");o&&"_instance"in o&&o._instance.exposed.open(e,t)}}function cb(e){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(e),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function ub(e){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(e),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Vn(e,t="bottom",o){let n;e instanceof HTMLElement?n=Xt(se,{directionFrom:t,absoluteLeft:o?.absoluteLeft,absoluteTop:o?.absoluteTop,absoluteWidth:o?.absoluteWidth,absoluteHeight:o?.absoluteHeight},()=>Xt("div",{...Xv(e),innerHTML:e.innerHTML})):n=Xt(se,{directionFrom:t,absoluteLeft:o?.absoluteLeft,absoluteTop:o?.absoluteTop,absoluteWidth:o?.absoluteWidth,absoluteHeight:o?.absoluteHeight},()=>e),Ra(n,Yn),n.component?.exposed?.open();const r=()=>{n.component?.exposed?.close()};return r.vnode=n,r}function Xd(e,t){return Vn(e,"bottom",t)}function Zd(e,t){return Vn(e,"top",t)}function Gd(e,t){return Vn(e,"left",t)}function Ud(e,t){return Vn(e,"right",t)}function jd(e,t){return Vn(e,"center",t)}function Hd(e,t){return Vn(e,"absolute",t)}const fb=()=>Xd(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),db=()=>Zd(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),pb=()=>Gd(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),hb=()=>Ud(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),mb=()=>jd(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),gb=()=>Hd(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Wd=!1;function qd(e){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");if(t&&"_instance"in t){Wd||(Wd=!0,t.addEventListener("plates",n=>{"detail"in n&&e?.onPlates?.(n.detail[0])}),t.addEventListener("open",n=>{e?.onOpen?.()}),t.addEventListener("close",n=>{e?.onClose?.()}),t.addEventListener("resize",n=>{"detail"in n&&e?.onResize?.apply(t,n.detail)}));const o=t;o.initPlates=e?.initPlates,o.completePlateLength=e?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function yb(){return Kd().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Kd(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const vb=typeof Proxy=="function",bb="devtools-plugin:setup",_b="plugin:settings:set";let Xn,_l;function xb(){var e;return Xn!==void 0||(typeof window<"u"&&window.performance?(Xn=!0,_l=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Xn=!0,_l=globalThis.perf_hooks.performance):Xn=!1),Xn}function kb(){return xb()?_l.now():Date.now()}class wb{constructor(t,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=o;const n={};if(t.settings)for(const s in t.settings){const l=t.settings[s];n[s]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},n);try{const s=localStorage.getItem(r),l=JSON.parse(s);Object.assign(a,l)}catch{}this.fallbacks={getSettings(){return a},setSettings(s){try{localStorage.setItem(r,JSON.stringify(s))}catch{}a=s},now(){return kb()}},o&&o.on(_b,(s,l)=>{s===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(s,l)=>this.target?this.target.on[l]:(...i)=>{this.onQueue.push({method:l,args:i})}}),this.proxiedTarget=new Proxy({},{get:(s,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...i)=>(this.targetQueue.push({method:l,args:i,resolve:()=>{}}),this.fallbacks[l](...i)):(...i)=>new Promise(c=>{this.targetQueue.push({method:l,args:i,resolve:c})})})}async setRealTarget(t){this.target=t;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function Cb(e,t){const o=e,n=Kd(),r=yb(),a=vb&&o.enableEarlyProxy;if(r&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(bb,e,t);else{const s=a?new wb(o,r):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
57
+ `))}yv();const Je=new Vr;let aa,ia,la,ca;Fd(document.documentElement,()=>{setTimeout(()=>{const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--sat");t!==aa&&Je.emit("top",t),aa=t;const e=o.getPropertyValue("--sar");e!==ia&&Je.emit("right",e),ia=e;const n=o.getPropertyValue("--sab");n!==la&&Je.emit("bottom",n),la=n;const s=o.getPropertyValue("--sal");s!==ca&&Je.emit("left",s),ca=s},0)});const Sl={onTop:o=>(aa&&o(aa),Je.on("top",o),()=>{Je.off("top",o)}),onRight:o=>(ia&&o(ia),Je.on("right",o),()=>{Je.off("right",o)}),onBottom:o=>(la&&o(la),Je.on("bottom",o),()=>{Je.off("bottom",o)}),onLeft:o=>(ca&&o(ca),Je.on("left",o),()=>{Je.off("left",o)})},Ls=[];let Ld=w1;function vv(o){return Ls.length==0&&(Ld=Jt(document,"scroll",t=>{Ls.forEach(e=>e(t))})),Ls.push(o),()=>{td(Ls,o),Ls.length==0&&Ld()}}async function bv(o,t,e={threshold:.5}){return new Promise(n=>{new IntersectionObserver((r,a)=>{t(r,a),n(()=>{a.unobserve(o)})},e).observe(o)})}async function ua(o,t){let e;const n=typeof t.threshold=="number"?t.threshold:.5;return bv(o,s=>{let r=s[0];if(s.length>1){const i=s.find(l=>l.isIntersecting);i&&(r=i)}const a=r.isIntersecting&&r.intersectionRatio>=n;e!==a&&(a?t?.onShow?.():t?.onHide?.()),e=a},{threshold:n,root:t.root})}function fa(o,t,e,n,s){const r=t/e;let a=0,i=0;switch(o){case"aspectFit":r>=1?(a=n,i=a/r,i>s&&(i=s,a=i*r)):(i=s,a=i*r,a>n&&(a=n,i=a/r));break;case"aspectFill":r>=1?(i=s,a=i*r):(a=n,i=a/r);break;case"widthFix":a=n,i=a/r;break;case"heightFix":i=s,a=i*r;break;case"scaleToFill":default:a=n,i=s;break}return{width:a,height:i}}function _v(o){try{const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=o.width,t.height=o.height,e.drawImage(o,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}catch{return new ImageData(o.width,o.height)}}class Bd extends Fs{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(e=>{e.parent=this,e.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(e=>{!e.forceCXY&&!e.independentTransformInGroup&&(e.cX=this.cX-e.diffXInGroup,e.cY=this.cY-e.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,e){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(n=>n.id==e.id)==-1&&(e.on("draging",(n,s)=>{this.enableDrag&&(this.x+=n,this.y+=s,this.emit("draging",n,s,e))}),this.shapes.push(e),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],e=[];this.shapes.forEach(l=>{const c=l.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),e.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),e.push(n.y,n.y+n.height)),t.length==0||e.length==0)return null;const s=Math.min.apply(0,t),r=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:s,y:r,width:a-s,height:i-r}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(n=>{n.setAttr(t,e)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const e=t.initPathD();return{shape:t,perimeter:e.perimeterPoints()}}).sort((t,e)=>e.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const e=t.shapes.length,n=this.shapes.length;if(e<n)return t.expendFill(this);for(let s=n;s<e;s++){const a=t.shapes[s].initPathD().polymorphPoints,i=a[0],l=a[1],c=[["M",i,l]];for(let u=2;u+5<a.length;u+=6)c.push(["C",i,l,i,l,i,l]);this.addShape(new Fs({attrs:{...t.shapes[s].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((i,l)=>{i.strokeDashTween(t,{...e,delay:l,onStart:()=>{l==0&&e?.onGroupStart?.()},onUpdate:()=>{e?.onGroupUpdate?.()},onComplete:()=>{l==n&&e?.onGroupComplete?.()}})});break;case"parallel":default:const s=new Xe({frameDuration:t}),r={},a={};this.shapes.forEach((i,l)=>{const c=Re(i.getTotalLength(),0);r[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),s.addTween(r,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(let c in i){const u=Dn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Re(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),s.play();break}}}const xv={1:705234,2:8108026,3:6346665,4:16630114,5:16607842,6:16158139,7:2542847,8:10640125,9:16735870,10:8978266,11:16580418,12:16754221,13:16725759,14:14436630,15:6844849,16:13744437,17:1817755,18:16744272,19:4964291,20:16750848,aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};class Ie{static NAMES=xv;_color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),this.setAlpha(e)}get color(){return this._color}set color(t){const e=`Color: Unknown color(${t}) type(${typeof t})`;if(typeof t=="number")this.setHEX(t);else if(typeof t=="string"){let n;if(n=/^(\w+)\(([^)]*)\)/.exec(t)){const s=n[2];let r;switch(n[1]){case"rgb":case"rgba":(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=parseInt(r[1],10),this.g=parseInt(r[2],10),this.b=parseInt(r[3],10),this.a=r[4]?parseFloat(r[4]):1):(r=/^\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=Vt(parseFloat(r[1]),0,100)*255/100,this.g=Vt(parseFloat(r[2]),0,100)*255/100,this.b=Vt(parseFloat(r[3]),0,100)*255/100,this.a=r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsl":case"hsla":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;default:console.warn(e)}}else if(n=/#([A-Fa-f0-9]+)/.exec(t)){const s=n[1],r=s.length;r===3?this.setRGB(parseInt(s.charAt(0),16),parseInt(s.charAt(1),16),parseInt(s.charAt(2),16),1):r===6||r===8?this.setHEX(parseInt(s,16)):console.warn(e)}else if(t&&t.length>0)try{this.setColorName(t)}catch{console.warn(e)}else console.warn(e)}else t instanceof Ie?this.setRGB(t.r,t.g,t.b,t.a):Object.prototype.hasOwnProperty.call(t,"r")&&Object.prototype.hasOwnProperty.call(t,"g")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setRGB(t.r,t.g,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"l")?this.setHSL(t.h,t.s,t.l,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"v")?this.setHSV(t.h,t.s,t.v,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):console.warn(e)}setColor(t){return this.color=t,this}set(t){return this.setColor(t)}get r(){return this._color.r}set r(t){try{this._color.r=Vt(Math.round(io(t)),0,255)}catch{}}get g(){return this._color.g}set g(t){try{this._color.g=Vt(Math.round(io(t)),0,255)}catch{}}get b(){return this._color.b}set b(t){try{this._color.b=Vt(Math.round(io(t)),0,255)}catch{}}get a(){return this._color.a}set a(t){try{this._color.a=Vt(io(t),0,1)}catch{}}setAlpha(t){return this.a=t,this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,s=this.b,r=t.value;return this.r=r[0]*e+r[3]*n+r[6]*s,this.g=r[1]*e+r[4]*n+r[7]*s,this.b=r[2]*e+r[5]*n+r[8]*s,this}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this.a=t[e+3],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t[e+3]=this.a,t}toRGBString(){return this.a===1?`rgb(${this.r},${this.g},${this.b})`:`rgba(${this.r},${this.g},${this.b},${Re(this.a,6)})`}toHexString(){return this.a===1?("000000"+this.hex.toString(16)).slice(-6):("00000000"+this.hex.toString(16)).slice(-8)}toString(){return this.a===1?"#"+this.toHexString():this.toRGBString()}toColorSpaceString(t=Zn){jd.fromWorkingColorSpace(Mt.copy(this),t);const e=Mt.r,n=Mt.g,s=Mt.b;return t!==Zn?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${s.toFixed(3)})`:this.toRGBString()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b,yield this.a}clone(){return new Ie(this.color)}copy(t){return this.setColor(t.color),this}copySRGBToLinear(t){return this.r=Yn(t.r),this.g=Yn(t.g),this.b=Yn(t.b),this}copyLinearToSRGB(t){return this.r=Xn(t.r),this.g=Xn(t.g),this.b=Xn(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}add(t){return this.r=this.r+t.r,this.g=this.g+t.g,this.b=this.b+t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r=this.r+t,this.g=this.g+t,this.b=this.b+t,this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}sub(t){return this.r=this.r-t.r,this.g=this.g-t.g,this.b=this.b-t.b,this}multiply(t){return this.r=this.r*t.r,this.g=this.g*t.g,this.b=this.b*t.b,this}multiplyScalar(t){return this.r=this.r*t,this.g=this.g*t,this.b=this.b*t,this}opposite(t=!0,e="#000000",n="#ffffff"){if(t)return this.setColor(this.r*.299+this.g*.587+this.b*.114>186?e:n);{const{r:s,g:r,b:a}=this.color;return this.r=255-s,this.g=255-r,this.b=255-a,this}}lighten(t){t=Vt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e+(255-e)*t,this.g=n+(255-n)*t,this.b=s+(255-s)*t,this}darken(t){t=Vt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e*(1-t),this.g=n*(1-t),this.b=s*(1-t),this}lerp(t,e){e=Vt(e,0,1);const{r:n,g:s,b:r}=this.color;return this.r=n+(t.r-n)*e,this.g=s+(t.g-s)*e,this.b=r+(t.b-r)*e,this}lerpColors(t,e,n){return n=Vt(n,0,1),this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}static gradient(t,e,n){try{return Mt.lerpColors(new Ie(t),new Ie(e),n).toString()}catch{return e}}static random(){return Mt.setHEX(Math.random()*16777215).toString()}static nextIndex=0;static next(t=Ie.nextIndex){Ie.nextIndex=t;const e=Object.keys(Ie.NAMES),n=e.length;return Mt.setHEX(Ie.NAMES[e[Ie.nextIndex++%n]]).toString()}setColorName(t){const e=Ie.NAMES[t.toLowerCase()];return e!==void 0?this.setHEX(e):t==="none"?this.a=0:(this.a=1,console.warn("Color.setColorName: Unknown color "+t)),this}static getColors(){return Object.values(Ie.NAMES).map(t=>Mt.setHEX(t).toString())}setRGB(t,e,n,s=1){return this.r=t,this.g=e,this.b=n,this.a=s,this}get rgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}setHEX(t){return t=Math.floor(t),t<16777216?(this.r=t>>16&255,this.g=t>>8&255,this.b=t&255,this.a=1):(this.r=t>>24&255,this.g=t>>16&255,this.b=t>>8&255,this.a=(t&255)/255),this}get hex(){let t=(this.r<<16)+(this.g<<8)+this.b;return this.a!==1&&(t=t<<8,t+=Math.round(this.a*255)),t}setHSL(t,e,n,s=1){const r=f1(t,1),a=Vt(e,0,1),i=Vt(n,0,1);if(a===0)this.r=i*255,this.g=i*255,this.b=i*255;else{const l=i<=.5?i*(1+a):i+a-i*a,c=2*i-l;this.r=Pl(c,l,r+.3333333333333333)*255,this.g=Pl(c,l,r)*255,this.b=Pl(c,l,r-.3333333333333333)*255}return this.a=s,this}getHSL(t){const e=this.r,n=this.g,s=this.b,r=Math.max(e,n,s)/255,a=Math.min(e,n,s)/255;let i,l;const c=(a+r)/2;if(a===r)i=0,l=0;else{const u=r-a;switch(l=c<=.5?u/(r+a):u/(2-r-a),r){case e:i=(n-s)/u+(n<s?6:0);break;case n:i=(s-e)/u+2;break;case s:default:i=(e-n)/u+4;break}i/=6}return t&&t.setHSL(i,l,c,this.a),{h:i,s:l,l:c,a:this.a}}offsetHSL(t,e,n){const s=this.getHSL();return this.setHSL(s.h+t,s.s+e,s.l+n)}lerpHSL(t,e){const n=this.getHSL(),s=t.getHSL(),r=el(n.h,s.h,e),a=el(n.s,s.s,e),i=el(n.l,s.l,e);return this.setHSL(r,a,i),this}setHSV(t,e,n,s=1){const r=Vt(t,0,1)*360,a=Vt(e,0,1),i=Vt(n,0,1),l=Math.floor(r/60)%6,c=r/60-Math.floor(r/60),u=i*(1-a),f=i*(1-c*a),d=i*(1-(1-c)*a),h=[[i,d,u],[f,i,u],[u,i,d],[u,f,i],[d,u,i],[i,u,f]][l];return this.r=h[0]*255,this.g=h[1]*255,this.b=h[2]*255,this.a=s,this}getHSV(t){const{r:e,g:n,b:s,a:r}=this.color,a=Math.max(e,n,s),i=Math.min(e,n,s),l=a-i;let c;e===a?c=(n-s)/l:n===a?c=2+(s-e)/l:c=4+(e-n)/l,c/=6,c<0&&(c+=1);const u=l==0?0:c,f=a===0?0:l/a,d=a/255;return t&&t.setHSV(u,f,d,r),{h:u,s:f,v:d,a:r}}}const Mt=new Ie;function Yn(o){return o<.04045?o*.0773993808:Math.pow(o*.9478672986+.0521327014,2.4)}function Xn(o){return o<.0031308?o*12.92:1.055*Math.pow(o,.41666)-.055}const kv="",Zn="srgb",Vd="srgb-linear",Yd="linear",Ol="srgb",Xd=new zs().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Zd=new zs().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),Ud=[.64,.33,.3,.6,.15,.06],Gd=[.2126,.7152,.0722],Hd=[.3127,.329],jd={enabled:!0,workingColorSpace:Vd,spaces:{},convert:function(o,t,e){return this.enabled===!1||t===e||!t||!e||(this.spaces[t].transfer===Ol&&(o.r=Yn(o.r),o.g=Yn(o.g),o.b=Yn(o.b)),this.spaces[t].primaries!==this.spaces[e].primaries&&(o.applyMatrix3(this.spaces[t].toXYZ),o.applyMatrix3(this.spaces[e].fromXYZ)),this.spaces[e].transfer===Ol&&(o.r=Xn(o.r),o.g=Xn(o.g),o.b=Xn(o.b))),o},fromWorkingColorSpace:function(o,t){return this.convert(o,this.workingColorSpace,t)},toWorkingColorSpace:function(o,t){return this.convert(o,t,this.workingColorSpace)},getPrimaries:function(o){return this.spaces[o].primaries},getTransfer:function(o){return o===kv?Yd:this.spaces[o].transfer},getLuminanceCoefficients:function(o,t=this.workingColorSpace){return o.fromArray(this.spaces[t].luminanceCoefficients)},define:function(o){Object.assign(this.spaces,o)},_getMatrix:function(o,t,e){return o.copy(this.spaces[t].toXYZ).multiply(this.spaces[e].fromXYZ)},_getDrawingBufferColorSpace:function(o){return this.spaces[o].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(o=this.workingColorSpace){return this.spaces[o].workingColorSpaceConfig.unpackColorSpace}};jd.define({[Vd]:{primaries:Ud,whitePoint:Hd,transfer:Yd,toXYZ:Xd,fromXYZ:Zd,luminanceCoefficients:Gd,workingColorSpaceConfig:{unpackColorSpace:Zn},outputColorSpaceConfig:{drawingBufferColorSpace:Zn}},[Zn]:{primaries:Ud,whitePoint:Hd,transfer:Ol,toXYZ:Xd,fromXYZ:Zd,luminanceCoefficients:Gd,outputColorSpaceConfig:{drawingBufferColorSpace:Zn}}});function Pl(o,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<.16666666666666666?o+(t-o)*6*e:e<.5?t:e<.6666666666666666?o+(t-o)*6*(.6666666666666666-e):o}class wv extends Fs{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(s,r,a,i){switch(r){case"x":s.toX=a+e;break;case"y":s.toY=a+n;break;case"toX":e=a-s.x;break;case"toY":n=a-s.y;break}return Reflect.set(s,r,a,i)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const e=new xd({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new xd({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(n)}}const Cv=wv;class Rl{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",e=>{e.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const e=document.createElement("iframe"),n=document.createElement("video"),s=document.createElement("source"),r=new MediaSource;r.addEventListener("sourceopen",()=>t(!0)),s.src=URL.createObjectURL(r),s.media="(min-width:10px)",n.append(s),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(n),setTimeout(()=>{e.width="15"}),setTimeout(()=>{e.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(e=>{t.play().then(()=>{t.autoplay=!0,e(!0)}).catch(()=>{Rl.setAutoPlayWhenClick(t),e(!1)})})}static setAutoPlayWhenClick(t){function e(){t.autoplay=!0,t.play(),document.removeEventListener("click",e),document.removeEventListener("touchend",e)}document.addEventListener("click",e),document.addEventListener("touchend",e)}}class Tv extends Fs{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const e=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=Math.max(0,e-e*Math.abs(Math.sin(ie(this.extendDegree)))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ie(this.extendDegree))),this.diffDegree=t.endDegree-t.startDegree,this.startDegree=180+t.startDegree-this.extendDegree,this.endDegree=180+t.endDegree+this.extendDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+(this.diffDegree+this.extendDegree*2)*t}toSVGPathData(){const{dx:t,dy:e}=Wr(ie(this.startDegree),this.radius),{dx:n,dy:s}=Wr(ie(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ie(this.startDegree),ie(this.endDegree),!1)}}const Wd=Tv;let Ev=class extends Bd{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,n=t?.endDegree||180,s=t?.extendDegree||15,r=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const a=20,i=2,l=17;this.ringBg=new Wd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new Wd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+a;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new Cv({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+l,degree:this.ringBg.startDegree+90+(n-e+s*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(i),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),s=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const r=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let r=0;r<this.indicatorLineCount;r++){const a=r/(this.indicatorLineCount-1)<=this.percent;this.lines[r].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[r].toX-this.lines[r].x,this.lines[r].toY-this.lines[r].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};function Sv(o){return window.URL.createObjectURL(o)}const qd=new ll;async function Kd(o,t=6e4){return new Promise((e,n)=>{const s=typeof o=="string"?o:Sv(o),r=qd.get(s);if(r)return e(r);const a=document.createElement("img");a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,element:a,imageData:_v(a)};qd.set(s,f),e(f),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),n(l)},a.src=s;const i=setTimeout(()=>{n("Timeout!")},t)})}async function Ov(o,t=6e4){return new Promise((e,n)=>{const s=document.createElement("script");s.type="text/javascript",s.async=!1,s.onload=a=>{clearTimeout(r),e(a),s.onerror=s.onload=null},s.onerror=a=>{clearTimeout(r),n(a)},s.src=o;const r=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(s)})}async function Pv(o,t=document.getElementsByTagName("head")[0],e=6e4){return new Promise((n,s)=>{const r=document.createElement("link");r.setAttribute("type","text/css"),r.setAttribute("rel","stylesheet"),r.onload=i=>{clearTimeout(a),n(i),r.onerror=r.onload=null},r.onerror=i=>{clearTimeout(a),s(i)},r.setAttribute("href",o);const a=setTimeout(()=>{s("Timeout!")},e);t.appendChild(r)})}function Qd(o,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof o=="string"?e.href=o:e.href=window.URL.createObjectURL(o),e.click()}function da(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function ha(o){return{el:o,isRoot:()=>/(html|body)/i.test(o.tagName)||o===document.documentElement,isActive:()=>o===document.activeElement&&(o.type||o.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return o.parentElement?parseFloat(getComputedStyle(o.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=o;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>o.parentElement,parents:function(t=o,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,n=t.length;e<n;e++)if(/(auto|scroll)/.test(Cl(t[e],"overflow")+Cl(t[e],"overflow-y")+Cl(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>o.contains?o!=t&&o.contains(t):!!(o.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(o.parentElement?.children).filter(t=>t!==o),nextElementSibling:()=>o.nextElementSibling,previousElementSibling:()=>o.previousElementSibling,closest:t=>o.closest(t),shadowRoot:()=>o.shadowRoot,isInput:()=>o.tagName==="INPUT"||o instanceof HTMLInputElement,isSelect:()=>o.tagName==="SELECT"||o instanceof HTMLSelectElement,isTextArea:()=>o.tagName==="TEXTAREA"||o instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(o)&&o.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(o)&&o.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(o)&&o.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(o)&&o.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=o.options;for(let n=0,s=e.length;n<s;n++)e[n].selected=e[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(o.name);for(let n=0,s=e.length;n<s;n++){const r=e[n];r.checked=r.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(o.checked=t)},insert:(t,e="append")=>{typeof t=="string"?o[e](Rv(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=Jd(o);e!=o&&(o=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{o.textContent=t},getInnerText:()=>{if(o instanceof SVGElement)return"";let t=o.innerText;if(!t){const e=o.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=e.length-1;)"innerText"in e[n]&&(t=e[n].innerText),n++}return t},remove:()=>o.remove()}}function Rv(o,t=!1){const e=document.createElement("template");return e.innerHTML=o,t&&e.content.childNodes.forEach(n=>{const s=Jd(n);s!=n&&e.content.replaceChild(s,n)}),e.content}function Jd(o){return o.tagName=="SCRIPT"&&(o=th(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(th(t),t)}),o}function th(o){const t=o.ownerDocument.createElement("script");t.text=o.text;const e=o.attributes;for(let n=0,s=e.length;n<s;n++)t.setAttribute(e[n].name,e[n].value);return t}async function Il(o){if(navigator.clipboard)return await navigator.clipboard.writeText(o);{const t=document.createElement("textarea");return t.value=o,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function Iv(o,t={},e=[],n){return{tag:o,props:t,children:e,el:n}}function Al(o){return Iv(o.tagName,Id(o),Array.from(o.children).map(t=>Al(t)),o)}function pa(o,t=document.documentElement){if(o.el)return o.el;if(o.el=document.createElement(o.tag),o.props)for(const e in o.props){const n=o.props[e];e.startsWith("on")?o.el.addEventListener(e.slice(2).toLowerCase(),n):e==="style"?Tl(o.el,o.props[e]):na(o.el,e,n)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{pa(e,o.el)})),t.appendChild(o.el),o.el}function eh(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(pa(t),o.el);return}const e=t.el=o.el,n=o.props,s=t.props;for(const i in n)i in s||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),n[i]):e.removeAttribute(i));for(const i in s){const l=n[i],c=s[i];if(c!=l)if(i.startsWith("on")){const u=i.slice(2).toLowerCase();e.removeEventListener(u,l),e.addEventListener(u,c)}else if(i==="style"){for(const u in l)u in c||Rd(e,u);Tl(e,c)}else na(e,i,c)}const r=o.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof r=="string")e.innerHTML="",a.forEach(i=>{pa(i,e)});else{const i=Math.min(r.length,a.length);for(let l=0;l<i;l++)eh(r[l],a[l]);a.length>r.length&&a.slice(r.length).forEach(l=>{pa(l,e)}),a.length<r.length&&r.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function oh(o){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let n=100;const s=function(){const r=Math.min(t.clientWidth,o);t.dataset.width=r,t.dataset.rem=n=Math.round(100*(r/o)),t.style.fontSize=n+"px"};s(),window.rem2px=function(r){return r=parseFloat(r),r*n},window.px2rem=function(r){return r=parseFloat(r),r/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",s,!1)}class nh{controller;ctx;shapes=[];currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.controller=t,!(this.controller.el instanceof HTMLCanvasElement))throw new Error("el 应该为 HTMLCanvasElement!");this.ctx=new Q1(this.controller.el,this.controller.rect.width,this.controller.rect.height,e),Cn(this.controller,{start:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},move:()=>{this.currentEnableDragMouseInShape&&(this.dragDx+=this.controller.mousePoint.dx,this.dragDy+=this.controller.mousePoint.dy),this.setCursor()}}),this.controller.eb.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let s=n.parent;for(;s;)s.emit("clicked",n),s=s.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.controller.el.style.cursor="grab",this.controller.mousePoint.isDown&&(this.controller.el.style.cursor="grabbing")):this.currentMouseInShape?this.controller.el.style.cursor="pointer":this.controller.el.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(ie(t.degree),t.cX,t.cY),this.ctx.scale(t.scalarX,t.scalarY,t.cX,t.cY))}_addDrawShape(t){this.shapes.push(t),t instanceof Bd&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.controller.mousePoint),Av(this.ctx,e.getAttrs()),e.followMouse&&(!nd(e.x,this.controller.mousePoint.x,5)||!nd(e.y,this.controller.mousePoint.y,5))&&e.followTo(this.controller.mousePoint),e.targetToAfterDragFree&&(this.controller.mousePoint.isDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const s=this.dragDx,r=this.dragDy;if(this.dragDx=0,this.dragDy=0,s||r){if(e.x+=s,e.y+=r,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",s,r)}}else e.isDragging=!1;e.frameUpdate(this.controller.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const s=this.ctx.isPointInPath(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||this.ctx.isPointInStroke(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||!1;e.isMouseIn=s,s&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.controller.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const n=e?.brushSize??10,s=e?.brushDensity??50,r=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=new Ie(r);Cn(this.controller,{move:c=>{for(let u=0;u<s;u++){const f=Math.random()*Math.PI*2,d=Math.random()*n,h=this.controller.mousePoint.x+Math.cos(f)*d|0,p=this.controller.mousePoint.y+Math.sin(f)*d|0,v=(h+p*a.width)*4;i[v]=l.r,i[v+1]=l.g,i[v+2]=l.b,i[v+3]=255}this.ctx.putImageData(a)}});break;case"line":default:Cn(this.controller,{start:()=>{this.ctx.beginPath(),this.ctx.moveTo(this.controller.mousePoint.x,this.controller.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.ctx.lineTo(this.controller.mousePoint.x,this.controller.mousePoint.y),this.ctx.stroke()}})}}}function Av(o,t){for(const e in t){const n=t[e];switch(e){case"fill":n!=="none"&&(o.fillStyle=n);break;case"stroke":n!=="none"&&(o.strokeStyle=n);break;case"stroke-width":case"strokeWidth":o.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":o.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":o.lineJoin=n;break;default:o.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":o.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":o.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&o.setLineDash(n.split(/\s+/).map(s=>Number(s)));break;case"cursor":break;case"font":typeof n=="string"&&(o.font=n);break;case"font-size":case"fontSize":o.font+=` ${n}`;break;case"font-family":case"fontFamily":o.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":o.textAlign="center";break;case"end":o.textAlign="end";break;case"start":o.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":o.textBaseline=n;break;default:o.textBaseline="alphabetic";break}break}}}class $v{map;constructor(t,e=120.619585,n=31.299379,s=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,n),s)}}const Nv=o=>{const t={};if(o.attributes)for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(t[r.nodeName]=r.nodeValue)}return t},Jo=X({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(o,{expose:t}){const e=o,n=de(()=>({"background-color":e.color,position:"fixed","z-index":"99999",display:"block",width:"100%",height:"100%",inset:"0",overflow:"hidden"})),s=O(),r=document.documentElement.style.overflow;let a;return Rt(()=>e.visible,()=>{e.isGlobal?document.documentElement.style.overflow=e.visible?"hidden":r:(a||(a=s.value.parentElement.style.overflow||"visible"),s.value.parentElement.style.overflow=e.visible?"hidden":a)},{immediate:!0}),t({}),(i,l)=>e.visible?(I(),z("div",{key:0,class:"overlay",style:N(n.value),ref_key:"el",ref:s},[gt(i.$slots,"default")],4)):yt("",!0)}}),pt=X({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=O();let u,f,d=!1;return Fn(()=>{c.value&&(u||(u=ra(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ha(c.value).getInnerText();Il(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),ye(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),z("div",Zi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[gt(h.$slots,"default")],16))}}),le=X({customOptions:{Overlay:Jo,Container:pt},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1"}),i=O(!1),l=O("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const v=!n.popValue,k=n.popValue?n.popValue:100,x=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:k},{left:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.left=`-${m.left}${x}`},onComplete:f});break;case"right":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:k},{right:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.right=`-${m.right}${x}`},onComplete:f});break;case"top":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:k},{top:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.top=`-${m.top}${x}`},onComplete:f});break;case"bottom":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:k},{bottom:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.bottom=`-${m.bottom}${x}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:it.Quadratic.Out,onUpdate(m){a.transform=`translate(-50%, -50%) scale(${m.scale})`,a.opacity=`${m.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}v&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=v=>{s("resize",v.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(v){const k=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";v.target&&da(v.target,k)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(v,k)=>(I(),ht(Jo,{visible:i.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[w("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Q(pt,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:st(()=>[gt(v.$slots,"default",{},()=>[k[0]||(k[0]=w("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),sh=/^[a-z0-9]+(-[a-z0-9]+)*$/,ma=(o,t,e,n="")=>{const s=o.split(":");if(o.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;n=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const i=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:n,prefix:l,name:i};return t&&!ga(c)?null:c}const r=s[0],a=r.split("-");if(a.length>1){const i={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!ga(i)?null:i}if(e&&n===""){const i={provider:n,prefix:"",name:r};return t&&!ga(i,e)?null:i}return null},ga=(o,t)=>o?!!((t&&o.prefix===""||o.prefix)&&o.name):!1,rh=Object.freeze({left:0,top:0,width:16,height:16}),ya=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),va=Object.freeze({...rh,...ya}),$l=Object.freeze({...va,body:"",hidden:!1});function Fv(o,t){const e={};!o.hFlip!=!t.hFlip&&(e.hFlip=!0),!o.vFlip!=!t.vFlip&&(e.vFlip=!0);const n=((o.rotate||0)+(t.rotate||0))%4;return n&&(e.rotate=n),e}function ah(o,t){const e=Fv(o,t);for(const n in $l)n in ya?n in o&&!(n in e)&&(e[n]=ya[n]):n in t?e[n]=t[n]:n in o&&(e[n]=o[n]);return e}function zv(o,t){const e=o.icons,n=o.aliases||Object.create(null),s=Object.create(null);function r(a){if(e[a])return s[a]=[];if(!(a in s)){s[a]=null;const i=n[a]&&n[a].parent,l=i&&r(i);l&&(s[a]=[i].concat(l))}return s[a]}return Object.keys(e).concat(Object.keys(n)).forEach(r),s}function Dv(o,t,e){const n=o.icons,s=o.aliases||Object.create(null);let r={};function a(i){r=ah(n[i]||s[i],r)}return a(t),e.forEach(a),ah(o,r)}function ih(o,t){const e=[];if(typeof o!="object"||typeof o.icons!="object")return e;o.not_found instanceof Array&&o.not_found.forEach(s=>{t(s,null),e.push(s)});const n=zv(o);for(const s in n){const r=n[s];r&&(t(s,Dv(o,s,r)),e.push(s))}return e}const Mv={provider:"",aliases:{},not_found:{},...rh};function Nl(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function lh(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!Nl(o,Mv))return null;const e=t.icons;for(const s in e){const r=e[s];if(!s||typeof r.body!="string"||!Nl(r,$l))return null}const n=t.aliases||Object.create(null);for(const s in n){const r=n[s],a=r.parent;if(!s||typeof a!="string"||!e[a]&&!n[a]||!Nl(r,$l))return null}return t}const ch=Object.create(null);function Lv(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function Un(o,t){const e=ch[o]||(ch[o]=Object.create(null));return e[t]||(e[t]=Lv(o,t))}function uh(o,t){return lh(t)?ih(t,(e,n)=>{n?o.icons[e]=n:o.missing.add(e)}):[]}function Bv(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let Bs=!1;function fh(o){return typeof o=="boolean"&&(Bs=o),Bs}function Vv(o){const t=typeof o=="string"?ma(o,!0,Bs):o;if(t){const e=Un(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Yv(o,t){const e=ma(o,!0,Bs);if(!e)return!1;const n=Un(e.provider,e.prefix);return t?Bv(n,e.name,t):(n.missing.add(e.name),!0)}function Xv(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),Bs&&!t&&!o.prefix){let s=!1;return lh(o)&&(o.prefix="",ih(o,(r,a)=>{Yv(r,a)&&(s=!0)})),s}const e=o.prefix;if(!ga({provider:t,prefix:e,name:"a"}))return!1;const n=Un(t,e);return!!uh(n,o)}const dh=Object.freeze({width:null,height:null}),hh=Object.freeze({...dh,...ya}),Zv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Uv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ph(o,t,e){if(t===1)return o;if(e=e||100,typeof o=="number")return Math.ceil(o*t*e)/e;if(typeof o!="string")return o;const n=o.split(Zv);if(n===null||!n.length)return o;const s=[];let r=n.shift(),a=Uv.test(r);for(;;){if(a){const i=parseFloat(r);isNaN(i)?s.push(r):s.push(Math.ceil(i*t*e)/e)}else s.push(r);if(r=n.shift(),r===void 0)return s.join("");a=!a}}function Gv(o,t="defs"){let e="";const n=o.indexOf("<"+t);for(;n>=0;){const s=o.indexOf(">",n),r=o.indexOf("</"+t);if(s===-1||r===-1)break;const a=o.indexOf(">",r);if(a===-1)break;e+=o.slice(s+1,r).trim(),o=o.slice(0,n).trim()+o.slice(a+1)}return{defs:e,content:o}}function Hv(o,t){return o?"<defs>"+o+"</defs>"+t:t}function jv(o,t,e){const n=Gv(o);return Hv(n.defs,t+n.content+e)}const Wv=o=>o==="unset"||o==="undefined"||o==="none";function qv(o,t){const e={...va,...o},n={...hh,...t},s={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,n].forEach(v=>{const k=[],x=v.hFlip,m=v.vFlip;let g=v.rotate;x?m?g+=2:(k.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),k.push("scale(-1 1)"),s.top=s.left=0):m&&(k.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),k.push("scale(1 -1)"),s.top=s.left=0);let y;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:y=s.height/2+s.top,k.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:k.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:y=s.width/2+s.left,k.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}g%2===1&&(s.left!==s.top&&(y=s.left,s.left=s.top,s.top=y),s.width!==s.height&&(y=s.width,s.width=s.height,s.height=y)),k.length&&(r=jv(r,'<g transform="'+k.join(" ")+'">',"</g>"))});const a=n.width,i=n.height,l=s.width,c=s.height;let u,f;a===null?(f=i===null?"1em":i==="auto"?c:i,u=ph(f,l/c)):(u=a==="auto"?l:a,f=i===null?ph(u,c/l):i==="auto"?c:i);const d={},h=(v,k)=>{Wv(k)||(d[v]=k.toString())};h("width",u),h("height",f);const p=[s.left,s.top,l,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:r}}const Kv=/\sid="(\S+)"/g,Qv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Jv=0;function tb(o,t=Qv){const e=[];let n;for(;n=Kv.exec(o);)e.push(n[1]);if(!e.length)return o;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(r=>{const a=typeof t=="function"?t(r):t+(Jv++).toString(),i=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),o=o.replace(new RegExp(s,"g"),""),o}const Fl=Object.create(null);function eb(o,t){Fl[o]=t}function zl(o){return Fl[o]||Fl[""]}function Dl(o){let t;if(typeof o.resources=="string")t=[o.resources];else if(t=o.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const Ml=Object.create(null),Vs=["https://api.simplesvg.com","https://api.unisvg.com"],ba=[];for(;Vs.length>0;)Vs.length===1||Math.random()>.5?ba.push(Vs.shift()):ba.push(Vs.pop());Ml[""]=Dl({resources:["https://api.iconify.design"].concat(ba)});function ob(o,t){const e=Dl(t);return e===null?!1:(Ml[o]=e,!0)}function Ll(o){return Ml[o]}let mh=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function nb(o,t){const e=Ll(o);if(!e)return 0;let n;if(!e.maxURL)n=0;else{let s=0;e.resources.forEach(a=>{s=Math.max(s,a.length)});const r=t+".json?icons=";n=e.maxURL-s-e.path.length-r.length}return n}function sb(o){return o===404}const rb=(o,t,e)=>{const n=[],s=nb(o,t),r="icons";let a={type:r,provider:o,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=s&&c>0&&(n.push(a),a={type:r,provider:o,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),n.push(a),n};function ab(o){if(typeof o=="string"){const t=Ll(o);if(t)return t.path}return"/"}const ib={prepare:rb,send:(o,t,e)=>{if(!mh){e("abort",424);return}let n=ab(t.provider);switch(t.type){case"icons":{const r=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});n+=r+".json?"+l.toString();break}case"custom":{const r=t.uri;n+=r.slice(0,1)==="/"?r.slice(1):r;break}default:e("abort",400);return}let s=503;mh(o+n).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{e(sb(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?e("abort",r):e("next",s)});return}setTimeout(()=>{e("success",r)})}).catch(()=>{e("next",s)})}};function lb(o){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);o.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let n={provider:"",prefix:"",name:""};return o.forEach(s=>{if(n.name===s.name&&n.prefix===s.prefix&&n.provider===s.provider)return;n=s;const r=s.provider,a=s.prefix,i=s.name,l=e[r]||(e[r]=Object.create(null)),c=l[a]||(l[a]=Un(r,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const f={provider:r,prefix:a,name:i};u.push(f)}),t}function gh(o,t){o.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(s=>s.id!==t))})}function cb(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const t=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const n=o.provider,s=o.prefix;t.forEach(r=>{const a=r.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(o.icons[c])a.loaded.push({provider:n,prefix:s,name:c});else if(o.missing.has(c))a.missing.push({provider:n,prefix:s,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||gh([o],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let ub=0;function fb(o,t,e){const n=ub++,s=gh.bind(null,e,n);if(!t.pending.length)return s;const r={id:n,icons:t,callback:o,abort:s};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function db(o,t=!0,e=!1){const n=[];return o.forEach(s=>{const r=typeof s=="string"?ma(s,t,e):s;r&&n.push(r)}),n}var hb={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pb(o,t,e,n){const s=o.resources.length,r=o.random?Math.floor(Math.random()*s):o.index;let a;if(o.random){let _=o.resources.slice(0);for(a=[];_.length>1;){const $=Math.floor(Math.random()*_.length);a.push(_[$]),_=_.slice(0,$).concat(_.slice($+1))}a=a.concat(_)}else a=o.resources.slice(r).concat(o.resources.slice(0,r));const i=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function v(){l==="pending"&&(l="aborted"),p(),d.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),d=[]}function k(_,$){$&&(h=[]),typeof _=="function"&&h.push(_)}function x(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:k,abort:v}}function m(){l="failed",h.forEach(_=>{_(void 0,u)})}function g(){d.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),d=[]}function y(_,$,Y){const B=$!=="success";switch(d=d.filter(D=>D!==_),l){case"pending":break;case"failed":if(B||!o.dataAfterTimeout)return;break;default:return}if($==="abort"){u=Y,m();return}if(B){u=Y,d.length||(a.length?b():m());return}if(p(),g(),!o.random){const D=o.resources.indexOf(_.resource);D!==-1&&D!==o.index&&(o.index=D)}l="completed",h.forEach(D=>{D(Y)})}function b(){if(l!=="pending")return;p();const _=a.shift();if(_===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(g(),m())},o.timeout);return}m();return}const $={status:"pending",resource:_,callback:(Y,B)=>{y($,Y,B)}};d.push($),c++,f=setTimeout(b,o.rotate),e(_,t,$.callback)}return setTimeout(b),x}function yh(o){const t={...hb,...o};let e=[];function n(){e=e.filter(i=>i().status==="pending")}function s(i,l,c){const u=pb(t,i,l,(f,d)=>{n(),c&&c(f,d)});return e.push(u),u}function r(i){return e.find(l=>i(l))||null}return{query:s,find:r,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:n}}function vh(){}const Bl=Object.create(null);function mb(o){if(!Bl[o]){const t=Ll(o);if(!t)return;const e=yh(t),n={config:t,redundancy:e};Bl[o]=n}return Bl[o]}function gb(o,t,e){let n,s;if(typeof o=="string"){const r=zl(o);if(!r)return e(void 0,424),vh;s=r.send;const a=mb(o);a&&(n=a.redundancy)}else{const r=Dl(o);if(r){n=yh(r);const a=o.resources?o.resources[0]:"",i=zl(a);i&&(s=i.send)}}return!n||!s?(e(void 0,424),vh):n.query(t,s,e)().abort}function bh(){}function yb(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,cb(o)}))}function vb(o){const t=[],e=[];return o.forEach(n=>{(n.match(sh)?t:e).push(n)}),{valid:t,invalid:e}}function Ys(o,t,e){function n(){const s=o.pendingIcons;t.forEach(r=>{s&&s.delete(r),o.icons[r]||o.missing.add(r)})}if(e&&typeof e=="object")try{if(!uh(o,e).length){n();return}}catch(s){console.error(s)}n(),yb(o)}function _h(o,t){o instanceof Promise?o.then(e=>{t(e)}).catch(()=>{t(null)}):t(o)}function bb(o,t){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(t).sort():o.iconsToLoad=t,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:e,prefix:n}=o,s=o.iconsToLoad;if(delete o.iconsToLoad,!s||!s.length)return;const r=o.loadIcon;if(o.loadIcons&&(s.length>1||!r)){_h(o.loadIcons(s,n,e),u=>{Ys(o,s,u)});return}if(r){s.forEach(u=>{const f=r(u,n,e);_h(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Ys(o,[u],h)})});return}const{valid:a,invalid:i}=vb(s);if(i.length&&Ys(o,i,null),!a.length)return;const l=n.match(sh)?zl(e):null;if(!l){Ys(o,a,null);return}l.prepare(e,n,a).forEach(u=>{gb(e,u,f=>{Ys(o,u.icons,f)})})}))}const _b=(o,t)=>{const e=db(o,!0,fh()),n=lb(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,bh)}),()=>{l=!1}}const s=Object.create(null),r=[];let a,i;return n.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,r.push(Un(c,u));const f=s[c]||(s[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Un(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),s[c][u].push(f))}),r.forEach(l=>{const c=s[l.provider][l.prefix];c.length&&bb(l,c)}),t?fb(t,n,r):bh};function xb(o,t){const e={...o};for(const n in t){const s=t[n],r=typeof s;n in dh?(s===null||s&&(r==="string"||r==="number"))&&(e[n]=s):r===typeof e[n]&&(e[n]=n==="rotate"?s%4:s)}return e}const kb=/[\s,]+/;function wb(o,t){t.split(kb).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Cb(o,t=0){const e=o.replace(/^-?[0-9.]*/,"");function n(s){for(;s<0;)s+=4;return s%4}if(e===""){const s=parseInt(o);return isNaN(s)?0:n(s)}else if(e!==o){let s=0;switch(e){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(o.slice(0,o.length-e.length));return isNaN(r)?0:(r=r/s,r%1===0?n(r):0)}}return t}function Tb(o,t){let e=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)e+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+o+"</svg>"}function Eb(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Sb(o){return"data:image/svg+xml,"+Eb(o)}function Ob(o){return'url("'+Sb(o)+'")'}const xh={...hh,inline:!1},Pb={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rb={display:"inline-block"},Vl={backgroundColor:"currentColor"},kh={backgroundColor:"transparent"},wh={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ch={webkitMask:Vl,mask:Vl,background:kh};for(const o in Ch){const t=Ch[o];for(const e in wh)t[o+e]=wh[e]}const _a={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";_a[o+"-flip"]=t,_a[o.slice(0,1)+"-flip"]=t,_a[o+"Flip"]=t});function Th(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const Eh=(o,t)=>{const e=xb(xh,t),n={...Pb},s=t.mode||"svg",r={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in t){const k=t[v];if(k!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":e[v]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&wb(e,k);break;case"color":r.color=k;break;case"rotate":typeof k=="string"?e[v]=Cb(k):typeof k=="number"&&(e[v]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete n["aria-hidden"];break;default:{const x=_a[v];x?(k===!0||k==="true"||k===1)&&(e[x]=!0):xh[v]===void 0&&(n[v]=k)}}}const l=qv(o,e),c=l.attributes;if(e.inline&&(r.verticalAlign="-0.125em"),s==="svg"){n.style={...r,...i},Object.assign(n,c);let v=0,k=t.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),n.innerHTML=tb(l.body,k?()=>k+"ID"+v++:"iconifyVue"),Ut("svg",n)}const{body:u,width:f,height:d}=o,h=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),p=Tb(u,{...c,width:f+"",height:d+""});return n.style={...r,"--svg":Ob(p),width:Th(c.width),height:Th(c.height),...Rb,...h?Vl:kh,...i},Ut("span",n)};if(fh(!0),eb("",ib),typeof document<"u"&&typeof window<"u"){const o=window;if(o.IconifyPreload!==void 0){const t=o.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Xv(n))&&console.error(e)}catch{console.error(e)}})}if(o.IconifyProviders!==void 0){const t=o.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const s=t[e];if(typeof s!="object"||!s||s.resources===void 0)continue;ob(e,s)||console.error(n)}catch{console.error(n)}}}}const Ib={...va,body:""},Sh=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(o,t,e){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let n;if(typeof o!="string"||(n=ma(o,!1,!0))===null)return this.abortLoading(),null;let s=Vv(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:_b([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==o&&(this._name=o,t&&t(o)),e){s=Object.assign({},s);const a=e(s.body,n.name,n.prefix,n.provider);typeof a=="string"&&(s.body=a)}const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const o=this.$attrs,t=this.iconMounted||o.ssr?this.getIcon(o.icon,o.onLoad,o.customise):null;if(!t)return Eh(Ib,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),Eh({...va,...t.data},e)}}),Gn=X({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Q(Ot(Sh),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ab={class:"loading-11",ref:"loading11"},$b={class:"container container-1"},Nb={class:"container container-2"},Fb={class:"container container-3"},zb=X({__name:"Loading11",props:{color:{default:Yt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),z("div",Ab,[w("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[w("div",$b,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Nb,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Fb,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),Bw="",at=(o,t)=>{const e=o.__vccOpts||o;for(const[n,s]of t)e[n]=s;return e},xa=at(zb,[["__scopeId","data-v-b6f6b2a6"]]),Db={key:0,class:"loading",style:{"margin-right":"6px"}},Yl=.05,Xl=.1,re=X({customOptions:{Loading11:xa},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=Yt("--xg-blue","#5a82f0"),i=O(n.fontColor),l=O(n.borderColor),c=O(n.bgColor),u=O(i.value),f=O(l.value),d=O(c.value),h=O(n.bgColorStart||""),p=O(n.bgColorEnd||""),v=n.bgColorStart&&n.bgColorEnd;function k(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,v&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{k(n.stylePattern)},{immediate:!0});const x=O(n.disabled?"0.6":"1"),m=O(n.disabled?"not-allowed":"pointer");let g=!1;const y=()=>{n.disabled||(g=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(Yl).toString()),l.value=Mt.set(f.value).darken(Yl).toString(),v?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(Yl).toString())},b=()=>{n.disabled||(g=!1,i.value=u.value,l.value=f.value,v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},_=O(!1),Y=ad(()=>{n.disabled||_.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(Xl).toString()),l.value=Mt.set(f.value).darken(Xl).toString(),v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(Xl).toString(),setTimeout(()=>{g?y():b()},150),s("yz-click"),s("click"),n.asyncClick&&(_.value=!0,n.asyncClick().then(()=>{_.value=!1}).catch(()=>{_.value=!1})))},300);return t({el:r}),(B,D)=>(I(),z("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${x.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${m.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:b,onClick:D[0]||(D[0]=(...ut)=>Ot(Y)&&Ot(Y)(...ut))},[w("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:m.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[_.value?(I(),z("div",Db,[Q(xa,{color:i.value},null,8,["color"])])):yt("",!0),gt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),ht(Gn,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0),w("span",{style:N({cursor:m.value})},dt(B.label),5),B.icon&&B.iconPosition==="right"?(I(),ht(Gn,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Mb={viewBox:"6 6 12 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},Lb=["fill"],Bb=["fill"],ka=X({__name:"SVGClose",props:{color:{default:"#666666"}},setup(o){const t=o;return(e,n)=>(I(),z("svg",Mb,[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.22785 6.22781C6.53159 5.92407 7.02405 5.92407 7.32779 6.22781L17.7722 16.6722C18.0759 16.976 18.0759 17.4685 17.7722 17.7722C17.4685 18.0759 16.976 18.0759 16.6723 17.7722L6.22785 7.32775C5.92411 7.02401 5.92411 6.53155 6.22785 6.22781Z",fill:t.color},null,8,Lb),w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.7722 6.22781C18.0759 6.53155 18.0759 7.02401 17.7722 7.32775L7.32775 17.7722C7.02401 18.0759 6.53155 18.0759 6.22781 17.7722C5.92406 17.4685 5.92407 16.976 6.22781 16.6722L16.6722 6.22781C16.976 5.92406 17.4684 5.92406 17.7722 6.22781Z",fill:t.color},null,8,Bb)]))}}),Vb={viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",transformOrigin:"center"}},Yb=["id"],Xb=["stop-color"],Zb=["stop-color"],Ub=["fill"],Gb=["fill"],Hb=["fill"],tn=X({__name:"SVGWarn",props:{colorStart:{default:Yt("--xg-red","#fa503c")},colorEnd:{default:Yt("--xg-red-light","#fa8c78")}},setup(o){const t=o,e=de(()=>Mt.set(t.colorStart).opposite(!0).toString());return(n,s)=>(I(),z("svg",Vb,[w("defs",null,[w("linearGradient",{id:`circle_bg_${n.colorStart}_${n.colorEnd}`,x1:"12",y1:"4",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse"},[w("stop",{offset:"0","stop-color":n.colorStart},null,8,Xb),w("stop",{offset:"1","stop-color":n.colorEnd},null,8,Zb)],8,Yb)]),w("circle",{cx:"12",cy:"12",r:"8",fill:`url(#circle_bg_${n.colorStart}_${n.colorEnd})`},null,8,Ub),w("path",{d:"M11.4666 8.80006C11.4666 8.50551 11.7053 8.26672 11.9999 8.26672C12.2944 8.26672 12.5332 8.50551 12.5332 8.80006V13.0667C12.5332 13.3613 12.2944 13.6001 11.9999 13.6001C11.7053 13.6001 11.4666 13.3613 11.4666 13.0667V8.80006Z",fill:e.value},null,8,Gb),w("path",{d:"M11.4666 15.2001C11.4666 14.9055 11.7053 14.6667 11.9999 14.6667C12.2944 14.6667 12.5332 14.9055 12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4666 15.4946 11.4666 15.2001Z",fill:e.value},null,8,Hb)]))}}),jb=["viewBox"],Wb=["cx","cy","rx","ry","fill"],wa=X({__name:"SVGEllipse",props:{color:{default:"#e6e6e6"}},setup(o){const t=o,e=O(0),n=O(0);function s(r){e.value=r.rect.width,n.value=r.rect.height}return(r,a)=>(I(),ht(pt,{type:"full",onReady:s},{default:st(()=>[(I(),z("svg",{viewBox:`0 0 ${e.value} ${n.value}`,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},[w("ellipse",{cx:e.value*.5,cy:n.value*.5,rx:e.value*.5,ry:n.value*.5,fill:t.color},null,8,Wb)],8,jb))]),_:1}))}}),qb={class:"dialog-parent"},Kb={key:0,class:"top-icon"},Qb={class:"top-icon-warn"},Jb={class:"top-icon-warn-shadow"},t_={key:0,class:"title"},e_={key:0,class:"title-inner truncate"},o_={class:"custom-content"},n_={class:"custom-content-default"},s_=X({customOptions:{Overlay:Jo,Pop:le,Button:re,SVGClose:ka,SVGWarn:tn,SVGEllipse:wa},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"20em"},overlayBgColor:{},stylePattern:{default:"fullfill"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=O(""),l=O(!1),c=O(""),u=O(""),f=O(n.stylePattern),d=O("transparent"),h=O("transparent"),p=O(!1),v=O(""),k=O(""),x=O(!1);function m(D){switch(f.value=D,D){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,v.value="",k.value="",x.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,v.value="",k.value="",x.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-red","#fa503c"),k.value=Yt("--xg-red-light","#fa8c78"),x.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-blue","#5a82f0"),k.value=Yt("--xg-blue-light","#66b3ff"),x.value=!0;break}}Rt(()=>n.stylePattern,()=>{m(n.stylePattern)},{immediate:!0});let g,y;const b=()=>{s("open")},_=()=>{s("close")};function $(D){a.value=D?.title||"",i.value=D?.content||"",l.value=typeof D?.showClose=="boolean"?D?.showClose:!1,c.value=D?.cancelText||"",u.value=D?.confirmText||"",m(D?.stylePattern||n.stylePattern),g=D?.onCancel,y=D?.onConfirm,r.value.open()}function Y(){r.value.close(),g?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(D,ut)=>(I(),ht(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:b,onClose:_},{default:st(()=>[w("div",qb,[w("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),z("div",Kb,[w("div",Qb,[Q(tn,{colorStart:v.value,colorEnd:k.value},null,8,["colorStart","colorEnd"])]),w("div",Jb,[Q(wa)])])):yt("",!0),w("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px"})},[a.value||l.value?(I(),z("div",t_,[a.value?(I(),z("div",e_,dt(a.value),1)):yt("",!0),l.value?(I(),z("div",{key:1,class:"close",onClick:Y},[w("div",null,[Q(ka)])])):yt("",!0)])):yt("",!0),w("div",o_,[gt(D.$slots,"default",{},()=>[w("div",n_,dt(i.value),1)],!0)]),c.value||u.value?(I(),z("div",{key:1,class:jt(["btns",[f.value,x.value?"vertical":""]])},[c.value?(I(),ht(re,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:st(()=>[Bt(dt(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),ht(re,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:v.value,bgColorEnd:k.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:st(()=>[Bt(dt(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),Vw="",Ca=at(s_,[["__scopeId","data-v-c9dd6c66"]]),r_={class:"loading-8"},a_={viewBox:"25 25 50 50"},i_=X({__name:"Loading8",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",r_,[(I(),z("svg",a_,[w("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),Yw="",Oh=at(i_,[["__scopeId","data-v-04be3476"]]),l_={class:"icon"},c_=X({customOptions:{SVGWarn:tn},inheritAttrs:!0,__name:"Text",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),z("div",{class:"text",style:N({color:e.color})},[w("div",l_,[gt(r.$slots,"icon",{},()=>[s.value?(I(),ht(tn,{key:0})):yt("",!0)],!0)]),w("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[gt(r.$slots,"default",{},()=>[Bt(dt(e.text),1)],!0)],4)],4))}}),Xw="",Zl=at(c_,[["__scopeId","data-v-b1f6b1f2"]]),Ul=X({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("svg",{style:N(["transform-origin: center","width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},n[0]||(n[0]=[w("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),w("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),w("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)]),4))}});function Zw(o){return o}const Hn=document.getElementById("teleport")||document.documentElement;function u_(o,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(o,t)}}function f_(o){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function d_(o){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function jn(o,t="bottom",e){let n;o instanceof HTMLElement?n=Ut(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Ut("div",{...Nv(o),innerHTML:o.innerHTML})):n=Ut(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),Mr(n,Hn),n.component?.exposed?.open();const s=()=>{n.component?.exposed?.close()};return s.vnode=n,s}function Ph(o,t){return jn(o,"bottom",t)}function Rh(o,t){return jn(o,"top",t)}function Ih(o,t){return jn(o,"left",t)}function Ah(o,t){return jn(o,"right",t)}function $h(o,t){return jn(o,"center",t)}function Nh(o,t){return jn(o,"absolute",t)}const h_=()=>Ph(Ut("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),p_=()=>Rh(Ut("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),m_=()=>Ih(Ut("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),g_=()=>Ah(Ut("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),y_=()=>$h(Ut("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),v_=()=>Nh(Ut("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Fh=!1;function zh(o){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");if(t&&"_instance"in t){Fh||(Fh=!0,t.addEventListener("plates",n=>{"detail"in n&&o?.onPlates?.(n.detail[0])}),t.addEventListener("open",n=>{o?.onOpen?.()}),t.addEventListener("close",n=>{o?.onClose?.()}),t.addEventListener("resize",n=>{"detail"in n&&o?.onResize?.apply(t,n.detail)}));const e=t;e.initPlates=o?.initPlates,e.completePlateLength=o?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function b_(){return Dh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Dh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const __=typeof Proxy=="function",x_="devtools-plugin:setup",k_="plugin:settings:set";let Wn,Gl;function w_(){var o;return Wn!==void 0||(typeof window<"u"&&window.performance?(Wn=!0,Gl=window.performance):typeof globalThis<"u"&&(!((o=globalThis.perf_hooks)===null||o===void 0)&&o.performance)?(Wn=!0,Gl=globalThis.perf_hooks.performance):Wn=!1),Wn}function C_(){return w_()?Gl.now():Date.now()}class T_{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const i=t.settings[a];n[a]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(r,i)}catch{}this.fallbacks={getSettings(){return r},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}r=a},now(){return C_()}},e&&e.on(k_,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function E_(o,t){const e=o,n=Dh(),s=b_(),r=__&&e.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(x_,o,t);else{const a=r?new T_(e,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
60
58
  * vue-router v4.5.0
61
59
  * (c) 2024 Eduardo San Martin Morote
62
60
  * @license MIT
63
- */const Do=typeof document<"u";function Qd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Tb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qd(e.default)}const Zt=Object.assign;function xl(e,t){const o={};for(const n in t){const r=t[n];o[n]=Ge(r)?r.map(e):e(r)}return o}const Dr=()=>{},Ge=Array.isArray;function $t(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Jd=/#/g,Eb=/&/g,Sb=/\//g,Ob=/=/g,Pb=/\?/g,tp=/\+/g,Rb=/%5B/g,Ib=/%5D/g,ep=/%5E/g,Ab=/%60/g,op=/%7B/g,$b=/%7C/g,np=/%7D/g,Nb=/%20/g;function kl(e){return encodeURI(""+e).replace($b,"|").replace(Rb,"[").replace(Ib,"]")}function Db(e){return kl(e).replace(op,"{").replace(np,"}").replace(ep,"^")}function wl(e){return kl(e).replace(tp,"%2B").replace(Nb,"+").replace(Jd,"%23").replace(Eb,"%26").replace(Ab,"`").replace(op,"{").replace(np,"}").replace(ep,"^")}function Fb(e){return wl(e).replace(Ob,"%3D")}function Lb(e){return kl(e).replace(Jd,"%23").replace(Pb,"%3F")}function zb(e){return e==null?"":Lb(e).replace(Sb,"%2F")}function Zn(e){try{return decodeURIComponent(""+e)}catch{({}).NODE_ENV!=="production"&&$t(`Error decoding "${e}". Using original value`)}return""+e}const Mb=/\/$/,Bb=e=>e.replace(Mb,"");function Cl(e,t,o="/"){let n,r={},a="",s="";const l=t.indexOf("#");let i=t.indexOf("?");return l<i&&l>=0&&(i=-1),i>-1&&(n=t.slice(0,i),a=t.slice(i+1,l>-1?l:t.length),r=e(a)),l>-1&&(n=n||t.slice(0,l),s=t.slice(l,t.length)),n=Xb(n??t,o),{fullPath:n+(a&&"?")+a+s,path:n,query:r,hash:Zn(s)}}function Yb(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}function rp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ap(e,t,o){const n=t.matched.length-1,r=o.matched.length-1;return n>-1&&n===r&&tn(t.matched[n],o.matched[r])&&sp(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function sp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!Vb(e[o],t[o]))return!1;return!0}function Vb(e,t){return Ge(e)?ip(e,t):Ge(t)?ip(t,e):e===t}function ip(e,t){return Ge(t)?e.length===t.length&&e.every((o,n)=>o===t[n]):e.length===1&&e[0]===t}function Xb(e,t){if(e.startsWith("/"))return e;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return $t(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const o=t.split("/"),n=e.split("/"),r=n[n.length-1];(r===".."||r===".")&&n.push("");let a=o.length-1,s,l;for(s=0;s<n.length;s++)if(l=n[s],l!==".")if(l==="..")a>1&&a--;else break;return o.slice(0,a).join("/")+"/"+n.slice(s).join("/")}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fr;(function(e){e.pop="pop",e.push="push"})(Fr||(Fr={}));var Lr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Lr||(Lr={}));function Zb(e){if(!e)if(Do){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bb(e)}const Gb=/^[^#]+#/;function Ub(e,t){return e.replace(Gb,"#")+t}function jb(e,t){const o=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-o.left-(t.left||0),top:n.top-o.top-(t.top||0)}}const ls=()=>({left:window.scrollX,top:window.scrollY});function Hb(e){let t;if("el"in e){const o=e.el,n=typeof o=="string"&&o.startsWith("#");if({}.NODE_ENV!=="production"&&typeof e.el=="string"&&(!n||!document.getElementById(e.el.slice(1))))try{const a=document.querySelector(e.el);if(n&&a){$t(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{$t(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const r=typeof o=="string"?n?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!r){({}).NODE_ENV!=="production"&&$t(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=jb(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function lp(e,t){return(history.state?history.state.position-t:-1)+e}const Tl=new Map;function Wb(e,t){Tl.set(e,t)}function qb(e){const t=Tl.get(e);return Tl.delete(e),t}let Kb=()=>location.protocol+"//"+location.host;function cp(e,t){const{pathname:o,search:n,hash:r}=t,a=e.indexOf("#");if(a>-1){let l=r.includes(e.slice(a))?e.slice(a).length:1,i=r.slice(l);return i[0]!=="/"&&(i="/"+i),rp(i,"")}return rp(o,e)+n+r}function Qb(e,t,o,n){let r=[],a=[],s=null;const l=({state:d})=>{const h=cp(e,location),p=o.value,w=t.value;let x=0;if(d){if(o.value=h,t.value=d,s&&s===p){s=null;return}x=w?d.position-w.position:0}else n(h);r.forEach(v=>{v(o.value,p,{delta:x,type:Fr.pop,direction:x?x>0?Lr.forward:Lr.back:Lr.unknown})})};function i(){s=o.value}function c(d){r.push(d);const h=()=>{const p=r.indexOf(d);p>-1&&r.splice(p,1)};return a.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Zt({},d.state,{scroll:ls()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function up(e,t,o,n=!1,r=!1){return{back:e,current:t,forward:o,replaced:n,position:window.history.length,scroll:r?ls():null}}function Jb(e){const{history:t,location:o}=window,n={value:cp(e,o)},r={value:t.state};r.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,c,u){const f=e.indexOf("#"),d=f>-1?(o.host&&document.querySelector("base")?e:e.slice(f))+i:Kb()+e+i;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(h){({}).NODE_ENV!=="production"?$t("Error with push/replace State",h):console.error(h),o[u?"replace":"assign"](d)}}function s(i,c){const u=Zt({},t.state,up(r.value.back,i,r.value.forward,!0),c,{position:r.value.position});a(i,u,!0),n.value=i}function l(i,c){const u=Zt({},r.value,t.state,{forward:i,scroll:ls()});({}).NODE_ENV!=="production"&&!t.state&&$t(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
61
+ */const zo=typeof document<"u";function Mh(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function S_(o){return o.__esModule||o[Symbol.toStringTag]==="Module"||o.default&&Mh(o.default)}const Gt=Object.assign;function Hl(o,t){const e={};for(const n in t){const s=t[n];e[n]=Ue(s)?s.map(o):o(s)}return e}const Xs=()=>{},Ue=Array.isArray;function At(o){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+o].concat(t))}const Lh=/#/g,O_=/&/g,P_=/\//g,R_=/=/g,I_=/\?/g,Bh=/\+/g,A_=/%5B/g,$_=/%5D/g,Vh=/%5E/g,N_=/%60/g,Yh=/%7B/g,F_=/%7C/g,Xh=/%7D/g,z_=/%20/g;function jl(o){return encodeURI(""+o).replace(F_,"|").replace(A_,"[").replace($_,"]")}function D_(o){return jl(o).replace(Yh,"{").replace(Xh,"}").replace(Vh,"^")}function Wl(o){return jl(o).replace(Bh,"%2B").replace(z_,"+").replace(Lh,"%23").replace(O_,"%26").replace(N_,"`").replace(Yh,"{").replace(Xh,"}").replace(Vh,"^")}function M_(o){return Wl(o).replace(R_,"%3D")}function L_(o){return jl(o).replace(Lh,"%23").replace(I_,"%3F")}function B_(o){return o==null?"":L_(o).replace(P_,"%2F")}function qn(o){try{return decodeURIComponent(""+o)}catch{({}).NODE_ENV!=="production"&&At(`Error decoding "${o}". Using original value`)}return""+o}const V_=/\/$/,Y_=o=>o.replace(V_,"");function ql(o,t,e="/"){let n,s={},r="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(n=t.slice(0,l),r=t.slice(l+1,i>-1?i:t.length),s=o(r)),i>-1&&(n=n||t.slice(0,i),a=t.slice(i,t.length)),n=U_(n??t,e),{fullPath:n+(r&&"?")+r+a,path:n,query:s,hash:qn(a)}}function X_(o,t){const e=t.query?o(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function Zh(o,t){return!t||!o.toLowerCase().startsWith(t.toLowerCase())?o:o.slice(t.length)||"/"}function Uh(o,t,e){const n=t.matched.length-1,s=e.matched.length-1;return n>-1&&n===s&&en(t.matched[n],e.matched[s])&&Gh(t.params,e.params)&&o(t.query)===o(e.query)&&t.hash===e.hash}function en(o,t){return(o.aliasOf||o)===(t.aliasOf||t)}function Gh(o,t){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const e in o)if(!Z_(o[e],t[e]))return!1;return!0}function Z_(o,t){return Ue(o)?Hh(o,t):Ue(t)?Hh(t,o):o===t}function Hh(o,t){return Ue(t)?o.length===t.length&&o.every((e,n)=>e===t[n]):o.length===1&&o[0]===t}function U_(o,t){if(o.startsWith("/"))return o;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return At(`Cannot resolve a relative location without an absolute path. Trying to resolve "${o}" from "${t}". It should look like "/${t}".`),o;if(!o)return t;const e=t.split("/"),n=o.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let r=e.length-1,a,i;for(a=0;a<n.length;a++)if(i=n[a],i!==".")if(i==="..")r>1&&r--;else break;return e.slice(0,r).join("/")+"/"+n.slice(a).join("/")}const on={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Zs;(function(o){o.pop="pop",o.push="push"})(Zs||(Zs={}));var Us;(function(o){o.back="back",o.forward="forward",o.unknown=""})(Us||(Us={}));function G_(o){if(!o)if(zo){const t=document.querySelector("base");o=t&&t.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),Y_(o)}const H_=/^[^#]+#/;function j_(o,t){return o.replace(H_,"#")+t}function W_(o,t){const e=document.documentElement.getBoundingClientRect(),n=o.getBoundingClientRect();return{behavior:t.behavior,left:n.left-e.left-(t.left||0),top:n.top-e.top-(t.top||0)}}const Ta=()=>({left:window.scrollX,top:window.scrollY});function q_(o){let t;if("el"in o){const e=o.el,n=typeof e=="string"&&e.startsWith("#");if({}.NODE_ENV!=="production"&&typeof o.el=="string"&&(!n||!document.getElementById(o.el.slice(1))))try{const r=document.querySelector(o.el);if(n&&r){At(`The selector "${o.el}" should be passed as "el: document.querySelector('${o.el}')" because it starts with "#".`);return}}catch{At(`The selector "${o.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const s=typeof e=="string"?n?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!s){({}).NODE_ENV!=="production"&&At(`Couldn't find element using selector "${o.el}" returned by scrollBehavior.`);return}t=W_(s,o)}else t=o;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jh(o,t){return(history.state?history.state.position-t:-1)+o}const Kl=new Map;function K_(o,t){Kl.set(o,t)}function Q_(o){const t=Kl.get(o);return Kl.delete(o),t}let J_=()=>location.protocol+"//"+location.host;function Wh(o,t){const{pathname:e,search:n,hash:s}=t,r=o.indexOf("#");if(r>-1){let i=s.includes(o.slice(r))?o.slice(r).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Zh(l,"")}return Zh(e,o)+n+s}function tx(o,t,e,n){let s=[],r=[],a=null;const i=({state:d})=>{const h=Wh(o,location),p=e.value,v=t.value;let k=0;if(d){if(e.value=h,t.value=d,a&&a===p){a=null;return}k=v?d.position-v.position:0}else n(h);s.forEach(x=>{x(e.value,p,{delta:k,type:Zs.pop,direction:k?k>0?Us.forward:Us.back:Us.unknown})})};function l(){a=e.value}function c(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return r.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Gt({},d.state,{scroll:Ta()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function qh(o,t,e,n=!1,s=!1){return{back:o,current:t,forward:e,replaced:n,position:window.history.length,scroll:s?Ta():null}}function ex(o){const{history:t,location:e}=window,n={value:Wh(o,e)},s={value:t.state};s.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=o.indexOf("#"),d=f>-1?(e.host&&document.querySelector("base")?o:o.slice(f))+l:J_()+o+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){({}).NODE_ENV!=="production"?At("Error with push/replace State",h):console.error(h),e[u?"replace":"assign"](d)}}function a(l,c){const u=Gt({},t.state,qh(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),n.value=l}function i(l,c){const u=Gt({},s.value,t.state,{forward:l,scroll:Ta()});({}).NODE_ENV!=="production"&&!t.state&&At(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
64
62
 
65
63
  history.replaceState(history.state, '', url)
66
64
 
67
- You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),a(u.current,u,!0);const f=Zt({},up(n.value,i,null),{position:u.position+1},c);a(i,f,!1),n.value=i}return{location:n,state:r,push:l,replace:s}}function t_(e){e=Zb(e);const t=Jb(e),o=Qb(e,t.state,t.location,t.replace);function n(a,s=!0){s||o.pauseListeners(),history.go(a)}const r=Zt({location:"",base:e,go:n,createHref:Ub.bind(null,e)},t,o);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function e_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),{}.NODE_ENV!=="production"&&!e.endsWith("#/")&&!e.endsWith("#")&&$t(`A hash base must end with a "#":
68
- "${e}" should be "${e.replace(/#.*$/,"#")}".`),t_(e)}function cs(e){return typeof e=="string"||e&&typeof e=="object"}function fp(e){return typeof e=="string"||typeof e=="symbol"}const El=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var dp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dp||(dp={}));const o_={1({location:e,currentLocation:t}){return`No match for
69
- ${JSON.stringify(e)}${t?`
65
+ You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),r(u.current,u,!0);const f=Gt({},qh(n.value,l,null),{position:u.position+1},c);r(l,f,!1),n.value=l}return{location:n,state:s,push:i,replace:a}}function ox(o){o=G_(o);const t=ex(o),e=tx(o,t.state,t.location,t.replace);function n(r,a=!0){a||e.pauseListeners(),history.go(r)}const s=Gt({location:"",base:o,go:n,createHref:j_.bind(null,o)},t,e);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function nx(o){return o=location.host?o||location.pathname+location.search:"",o.includes("#")||(o+="#"),{}.NODE_ENV!=="production"&&!o.endsWith("#/")&&!o.endsWith("#")&&At(`A hash base must end with a "#":
66
+ "${o}" should be "${o.replace(/#.*$/,"#")}".`),ox(o)}function Ea(o){return typeof o=="string"||o&&typeof o=="object"}function Kh(o){return typeof o=="string"||typeof o=="symbol"}const Ql=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var Qh;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Qh||(Qh={}));const sx={1({location:o,currentLocation:t}){return`No match for
67
+ ${JSON.stringify(o)}${t?`
70
68
  while being at
71
- `+JSON.stringify(t):""}`},2({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${r_(t)}" via a navigation guard.`},4({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function Gn(e,t){return{}.NODE_ENV!=="production"?Zt(new Error(o_[e](t)),{type:e,[El]:!0},t):Zt(new Error,{type:e,[El]:!0},t)}function Fo(e,t){return e instanceof Error&&El in e&&(t==null||!!(e.type&t))}const n_=["params","query","hash"];function r_(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const o of n_)o in e&&(t[o]=e[o]);return JSON.stringify(t,null,2)}const pp="[^/]+?",a_={sensitive:!1,strict:!1,start:!0,end:!0},s_=/[.+*?^${}()[\]/\\]/g;function i_(e,t){const o=Zt({},a_,t),n=[];let r=o.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];o.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(o.sensitive?.25:0);if(d.type===0)f||(r+="/"),r+=d.value.replace(s_,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:w,optional:x,regexp:v}=d;a.push({name:p,repeatable:w,optional:x});const g=v||pp;if(g!==pp){h+=10;try{new RegExp(`(${g})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+m.message)}}let y=w?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(y=x&&c.length<2?`(?:/${y})`:"/"+y),x&&(y+="?"),r+=y,h+=20,x&&(h+=-8),w&&(h+=-20),g===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(o.strict&&o.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}o.strict||(r+="/?"),o.end?r+="$":o.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const s=new RegExp(r,o.sensitive?"":"i");function l(c){const u=c.match(s),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=a[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function i(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:w,optional:x}=h,v=p in c?c[p]:"";if(Ge(v)&&!w)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Ge(v)?v.join("/"):v;if(!g)if(x)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=g}}return u||"/"}return{re:s,score:n,keys:a,parse:l,stringify:i}}function l_(e,t){let o=0;for(;o<e.length&&o<t.length;){const n=t[o]-e[o];if(n)return n;o++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function hp(e,t){let o=0;const n=e.score,r=t.score;for(;o<n.length&&o<r.length;){const a=l_(n[o],r[o]);if(a)return a;o++}if(Math.abs(r.length-n.length)===1){if(mp(n))return 1;if(mp(r))return-1}return r.length-n.length}function mp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const c_={type:0,value:""},u_=/[a-zA-Z0-9_]/;function f_(e){if(!e)return[[]];if(e==="/")return[[c_]];if(!e.startsWith("/"))throw new Error({}.NODE_ENV!=="production"?`Route paths should start with a "/": "${e}" should be "/${e}".`:`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${o})/"${c}": ${h}`)}let o=0,n=o;const r=[];let a;function s(){a&&r.push(a),a=[]}let l=0,i,c="",u="";function f(){c&&(o===0?a.push({type:0,value:c}):o===1||o===2||o===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=i}for(;l<e.length;){if(i=e[l++],i==="\\"&&o!==2){n=o,o=4;continue}switch(o){case 0:i==="/"?(c&&f(),s()):i===":"?(f(),o=1):d();break;case 4:d(),o=n;break;case 1:i==="("?o=2:u_.test(i)?d():(f(),o=0,i!=="*"&&i!=="?"&&i!=="+"&&l--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:o=3:u+=i;break;case 3:f(),o=0,i!=="*"&&i!=="?"&&i!=="+"&&l--,u="";break;default:t("Unknown state");break}}return o===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),r}function d_(e,t,o){const n=i_(f_(e.path),o);if({}.NODE_ENV!=="production"){const a=new Set;for(const s of n.keys)a.has(s.name)&&$t(`Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),a.add(s.name)}const r=Zt(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function p_(e,t){const o=[],n=new Map;t=bp({strict:!1,end:!0,sensitive:!1},t);function r(f){return n.get(f)}function a(f,d,h){const p=!h,w=yp(f);({}).NODE_ENV!=="production"&&y_(w,d),w.aliasOf=h&&h.record;const x=bp(t,f),v=[w];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of m)v.push(yp(Zt({},w,{components:h?h.record.components:w.components,path:_,aliasOf:h?h.record:w})))}let g,y;for(const m of v){const{path:_}=m;if(d&&_[0]!=="/"){const C=d.record.path,M=C[C.length-1]==="/"?"":"/";m.path=d.record.path+(_&&M+_)}if({}.NODE_ENV!=="production"&&m.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
72
- See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(g=d_(m,d,x),{}.NODE_ENV!=="production"&&d&&_[0]==="/"&&b_(g,d),h?(h.alias.push(g),{}.NODE_ENV!=="production"&&g_(h,g)):(y=y||g,y!==g&&y.alias.push(g),p&&f.name&&!vp(g)&&({}.NODE_ENV!=="production"&&v_(f,d),s(f.name))),_p(g)&&i(g),w.children){const C=w.children;for(let M=0;M<C.length;M++)a(C[M],g,h&&h.children[M])}h=h||g}return y?()=>{s(y)}:Dr}function s(f){if(fp(f)){const d=n.get(f);d&&(n.delete(f),o.splice(o.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=o.indexOf(f);d>-1&&(o.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function l(){return o}function i(f){const d=__(f,o);o.splice(d,0,f),f.record.name&&!vp(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},w,x;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Gn(1,{location:f});if({}.NODE_ENV!=="production"){const y=Object.keys(f.params||{}).filter(m=>!h.keys.find(_=>_.name===m));y.length&&$t(`Discarded invalid param(s) "${y.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}x=h.record.name,p=Zt(gp(d.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&gp(f.params,h.keys.map(y=>y.name))),w=h.stringify(p)}else if(f.path!=null)w=f.path,{}.NODE_ENV!=="production"&&!w.startsWith("/")&&$t(`The Matcher cannot resolve relative paths but received "${w}". Unless you directly called \`matcher.resolve("${w}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=o.find(y=>y.re.test(w)),h&&(p=h.parse(w),x=h.record.name);else{if(h=d.name?n.get(d.name):o.find(y=>y.re.test(d.path)),!h)throw Gn(1,{location:f,currentLocation:d});x=h.record.name,p=Zt({},d.params,f.params),w=h.stringify(p)}const v=[];let g=h;for(;g;)v.unshift(g.record),g=g.parent;return{name:x,path:w,params:p,matched:v,meta:m_(v)}}e.forEach(f=>a(f));function u(){o.length=0,n.clear()}return{addRoute:a,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function gp(e,t){const o={};for(const n of t)n in e&&(o[n]=e[n]);return o}function yp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:h_(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function h_(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const n in e.components)t[n]=typeof o=="object"?o[n]:o;return t}function vp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function m_(e){return e.reduce((t,o)=>Zt(t,o.meta),{})}function bp(e,t){const o={};for(const n in e)o[n]=n in t?t[n]:e[n];return o}function Sl(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function g_(e,t){for(const o of e.keys)if(!o.optional&&!t.keys.find(Sl.bind(null,o)))return $t(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${o.name}"`);for(const o of t.keys)if(!o.optional&&!e.keys.find(Sl.bind(null,o)))return $t(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${o.name}"`)}function y_(e,t){t&&t.record.name&&!e.name&&!e.path&&$t(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function v_(e,t){for(let o=t;o;o=o.parent)if(o.record.name===e.name)throw new Error(`A route named "${String(e.name)}" has been added as a ${t===o?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function b_(e,t){for(const o of t.keys)if(!e.keys.find(Sl.bind(null,o)))return $t(`Absolute path "${e.record.path}" must have the exact same param named "${o.name}" as its parent "${t.record.path}".`)}function __(e,t){let o=0,n=t.length;for(;o!==n;){const a=o+n>>1;hp(e,t[a])<0?n=a:o=a+1}const r=x_(e);return r&&(n=t.lastIndexOf(r,n-1),{}.NODE_ENV!=="production"&&n<0&&$t(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)),n}function x_(e){let t=e;for(;t=t.parent;)if(_p(t)&&hp(e,t)===0)return t}function _p({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function k_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const a=n[r].replace(tp," "),s=a.indexOf("="),l=Zn(s<0?a:a.slice(0,s)),i=s<0?null:Zn(a.slice(s+1));if(l in t){let c=t[l];Ge(c)||(c=t[l]=[c]),c.push(i)}else t[l]=i}return t}function xp(e){let t="";for(let o in e){const n=e[o];if(o=Fb(o),n==null){n!==void 0&&(t+=(t.length?"&":"")+o);continue}(Ge(n)?n.map(a=>a&&wl(a)):[n&&wl(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+o,a!=null&&(t+="="+a))})}return t}function w_(e){const t={};for(const o in e){const n=e[o];n!==void 0&&(t[o]=Ge(n)?n.map(r=>r==null?null:""+r):n==null?n:""+n)}return t}const C_=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),kp=Symbol({}.NODE_ENV!=="production"?"router view depth":""),us=Symbol({}.NODE_ENV!=="production"?"router":""),Ol=Symbol({}.NODE_ENV!=="production"?"route location":""),Pl=Symbol({}.NODE_ENV!=="production"?"router view location":"");function zr(){let e=[];function t(n){return e.push(n),()=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)}}function o(){e=[]}return{add:t,list:()=>e.slice(),reset:o}}function on(e,t,o,n,r,a=s=>s()){const s=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((l,i)=>{const c=d=>{d===!1?i(Gn(4,{from:o,to:t})):d instanceof Error?i(d):cs(d)?i(Gn(2,{from:t,to:d})):(s&&n.enterCallbacks[r]===s&&typeof d=="function"&&s.push(d),l())},u=a(()=>e.call(n&&n.instances[r],t,o,{}.NODE_ENV!=="production"?T_(c,t,o):c));let f=Promise.resolve(u);if(e.length<3&&(f=f.then(c)),{}.NODE_ENV!=="production"&&e.length>2){const d=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
73
- ${e.toString()}
74
- . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:($t(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){$t(d),i(new Error("Invalid navigation guard"));return}}f.catch(d=>i(d))})}function T_(e,t,o){let n=0;return function(){n++===1&&$t(`The "next" callback was called more than once in one navigation guard when going from "${o.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,n===1&&e.apply(null,arguments)}}function Rl(e,t,o,n,r=a=>a()){const a=[];for(const s of e){({}).NODE_ENV!=="production"&&!s.components&&!s.children.length&&$t(`Record with path "${s.path}" is either missing a "component(s)" or "children" property.`);for(const l in s.components){let i=s.components[l];if({}.NODE_ENV!=="production"){if(!i||typeof i!="object"&&typeof i!="function")throw $t(`Component "${l}" in record with path "${s.path}" is not a valid component. Received "${String(i)}".`),new Error("Invalid route component");if("then"in i){$t(`Component "${l}" in record with path "${s.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=i;i=()=>c}else i.__asyncLoader&&!i.__warnedDefineAsync&&(i.__warnedDefineAsync=!0,$t(`Component "${l}" in record with path "${s.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!s.instances[l]))if(Qd(i)){const u=(i.__vccOpts||i)[t];u&&a.push(on(u,o,n,s,l,r))}else{let c=i();({}).NODE_ENV!=="production"&&!("catch"in c)&&($t(`Component "${l}" in record with path "${s.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),a.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${s.path}"`);const f=Tb(u)?u.default:u;s.mods[l]=u,s.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&on(h,o,n,s,l,r)()}))}}}return a}function wp(e){const t=oo(us),o=oo(Ol);let n=!1,r=null;const a=de(()=>{const u=vt(e.to);return{}.NODE_ENV!=="production"&&(!n||u!==r)&&(cs(u)||(n?$t(`Invalid value for prop "to" in useLink()
69
+ `+JSON.stringify(t):""}`},2({from:o,to:t}){return`Redirected from "${o.fullPath}" to "${ax(t)}" via a navigation guard.`},4({from:o,to:t}){return`Navigation aborted from "${o.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:o,to:t}){return`Navigation cancelled from "${o.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:o,to:t}){return`Avoided redundant navigation to current location: "${o.fullPath}".`}};function Kn(o,t){return{}.NODE_ENV!=="production"?Gt(new Error(sx[o](t)),{type:o,[Ql]:!0},t):Gt(new Error,{type:o,[Ql]:!0},t)}function Do(o,t){return o instanceof Error&&Ql in o&&(t==null||!!(o.type&t))}const rx=["params","query","hash"];function ax(o){if(typeof o=="string")return o;if(o.path!=null)return o.path;const t={};for(const e of rx)e in o&&(t[e]=o[e]);return JSON.stringify(t,null,2)}const Jh="[^/]+?",ix={sensitive:!1,strict:!1,start:!0,end:!0},lx=/[.+*?^${}()[\]/\\]/g;function cx(o,t){const e=Gt({},ix,t),n=[];let s=e.start?"^":"";const r=[];for(const c of o){const u=c.length?[]:[90];e.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(e.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(lx,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:k,regexp:x}=d;r.push({name:p,repeatable:v,optional:k});const m=x||Jh;if(m!==Jh){h+=10;try{new RegExp(`(${m})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${m}): `+y.message)}}let g=v?`((?:${m})(?:/(?:${m}))*)`:`(${m})`;f||(g=k&&c.length<2?`(?:/${g})`:"/"+g),k&&(g+="?"),s+=g,h+=20,k&&(h+=-8),v&&(h+=-20),m===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(e.strict&&e.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}e.strict||(s+="/?"),e.end?s+="$":e.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,e.sensitive?"":"i");function i(c){const u=c.match(a),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=r[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of o){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:k}=h,x=p in c?c[p]:"";if(Ue(x)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const m=Ue(x)?x.join("/"):x;if(!m)if(k)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=m}}return u||"/"}return{re:a,score:n,keys:r,parse:i,stringify:l}}function ux(o,t){let e=0;for(;e<o.length&&e<t.length;){const n=t[e]-o[e];if(n)return n;e++}return o.length<t.length?o.length===1&&o[0]===80?-1:1:o.length>t.length?t.length===1&&t[0]===80?1:-1:0}function tp(o,t){let e=0;const n=o.score,s=t.score;for(;e<n.length&&e<s.length;){const r=ux(n[e],s[e]);if(r)return r;e++}if(Math.abs(s.length-n.length)===1){if(ep(n))return 1;if(ep(s))return-1}return s.length-n.length}function ep(o){const t=o[o.length-1];return o.length>0&&t[t.length-1]<0}const fx={type:0,value:""},dx=/[a-zA-Z0-9_]/;function hx(o){if(!o)return[[]];if(o==="/")return[[fx]];if(!o.startsWith("/"))throw new Error({}.NODE_ENV!=="production"?`Route paths should start with a "/": "${o}" should be "/${o}".`:`Invalid path "${o}"`);function t(h){throw new Error(`ERR (${e})/"${c}": ${h}`)}let e=0,n=e;const s=[];let r;function a(){r&&s.push(r),r=[]}let i=0,l,c="",u="";function f(){c&&(e===0?r.push({type:0,value:c}):e===1||e===2||e===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;i<o.length;){if(l=o[i++],l==="\\"&&e!==2){n=e,e=4;continue}switch(e){case 0:l==="/"?(c&&f(),a()):l===":"?(f(),e=1):d();break;case 4:d(),e=n;break;case 1:l==="("?e=2:dx.test(l)?d():(f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:e=3:u+=l;break;case 3:f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,u="";break;default:t("Unknown state");break}}return e===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),s}function px(o,t,e){const n=cx(hx(o.path),e);if({}.NODE_ENV!=="production"){const r=new Set;for(const a of n.keys)r.has(a.name)&&At(`Found duplicated params with name "${a.name}" for path "${o.path}". Only the last one will be available on "$route.params".`),r.add(a.name)}const s=Gt(n,{record:o,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function mx(o,t){const e=[],n=new Map;t=rp({strict:!1,end:!0,sensitive:!1},t);function s(f){return n.get(f)}function r(f,d,h){const p=!h,v=np(f);({}).NODE_ENV!=="production"&&bx(v,d),v.aliasOf=h&&h.record;const k=rp(t,f),x=[v];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const b of y)x.push(np(Gt({},v,{components:h?h.record.components:v.components,path:b,aliasOf:h?h.record:v})))}let m,g;for(const y of x){const{path:b}=y;if(d&&b[0]!=="/"){const _=d.record.path,$=_[_.length-1]==="/"?"":"/";y.path=d.record.path+(b&&$+b)}if({}.NODE_ENV!=="production"&&y.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
70
+ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(m=px(y,d,k),{}.NODE_ENV!=="production"&&d&&b[0]==="/"&&xx(m,d),h?(h.alias.push(m),{}.NODE_ENV!=="production"&&vx(h,m)):(g=g||m,g!==m&&g.alias.push(m),p&&f.name&&!sp(m)&&({}.NODE_ENV!=="production"&&_x(f,d),a(f.name))),ap(m)&&l(m),v.children){const _=v.children;for(let $=0;$<_.length;$++)r(_[$],m,h&&h.children[$])}h=h||m}return g?()=>{a(g)}:Xs}function a(f){if(Kh(f)){const d=n.get(f);d&&(n.delete(f),e.splice(e.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=e.indexOf(f);d>-1&&(e.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return e}function l(f){const d=kx(f,e);e.splice(d,0,f),f.record.name&&!sp(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},v,k;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Kn(1,{location:f});if({}.NODE_ENV!=="production"){const g=Object.keys(f.params||{}).filter(y=>!h.keys.find(b=>b.name===y));g.length&&At(`Discarded invalid param(s) "${g.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}k=h.record.name,p=Gt(op(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&op(f.params,h.keys.map(g=>g.name))),v=h.stringify(p)}else if(f.path!=null)v=f.path,{}.NODE_ENV!=="production"&&!v.startsWith("/")&&At(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=e.find(g=>g.re.test(v)),h&&(p=h.parse(v),k=h.record.name);else{if(h=d.name?n.get(d.name):e.find(g=>g.re.test(d.path)),!h)throw Kn(1,{location:f,currentLocation:d});k=h.record.name,p=Gt({},d.params,f.params),v=h.stringify(p)}const x=[];let m=h;for(;m;)x.unshift(m.record),m=m.parent;return{name:k,path:v,params:p,matched:x,meta:yx(x)}}o.forEach(f=>r(f));function u(){e.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:i,getRecordMatcher:s}}function op(o,t){const e={};for(const n of t)n in o&&(e[n]=o[n]);return e}function np(o){const t={path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:o.aliasOf,beforeEnter:o.beforeEnter,props:gx(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||null:o.component&&{default:o.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function gx(o){const t={},e=o.props||!1;if("component"in o)t.default=e;else for(const n in o.components)t[n]=typeof e=="object"?e[n]:e;return t}function sp(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function yx(o){return o.reduce((t,e)=>Gt(t,e.meta),{})}function rp(o,t){const e={};for(const n in o)e[n]=n in t?t[n]:o[n];return e}function Jl(o,t){return o.name===t.name&&o.optional===t.optional&&o.repeatable===t.repeatable}function vx(o,t){for(const e of o.keys)if(!e.optional&&!t.keys.find(Jl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`);for(const e of t.keys)if(!e.optional&&!o.keys.find(Jl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`)}function bx(o,t){t&&t.record.name&&!o.name&&!o.path&&At(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function _x(o,t){for(let e=t;e;e=e.parent)if(e.record.name===o.name)throw new Error(`A route named "${String(o.name)}" has been added as a ${t===e?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function xx(o,t){for(const e of t.keys)if(!o.keys.find(Jl.bind(null,e)))return At(`Absolute path "${o.record.path}" must have the exact same param named "${e.name}" as its parent "${t.record.path}".`)}function kx(o,t){let e=0,n=t.length;for(;e!==n;){const r=e+n>>1;tp(o,t[r])<0?n=r:e=r+1}const s=wx(o);return s&&(n=t.lastIndexOf(s,n-1),{}.NODE_ENV!=="production"&&n<0&&At(`Finding ancestor route "${s.record.path}" failed for "${o.record.path}"`)),n}function wx(o){let t=o;for(;t=t.parent;)if(ap(t)&&tp(o,t)===0)return t}function ap({record:o}){return!!(o.name||o.components&&Object.keys(o.components).length||o.redirect)}function Cx(o){const t={};if(o===""||o==="?")return t;const n=(o[0]==="?"?o.slice(1):o).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Bh," "),a=r.indexOf("="),i=qn(a<0?r:r.slice(0,a)),l=a<0?null:qn(r.slice(a+1));if(i in t){let c=t[i];Ue(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function ip(o){let t="";for(let e in o){const n=o[e];if(e=M_(e),n==null){n!==void 0&&(t+=(t.length?"&":"")+e);continue}(Ue(n)?n.map(r=>r&&Wl(r)):[n&&Wl(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+e,r!=null&&(t+="="+r))})}return t}function Tx(o){const t={};for(const e in o){const n=o[e];n!==void 0&&(t[e]=Ue(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const Ex=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),lp=Symbol({}.NODE_ENV!=="production"?"router view depth":""),Sa=Symbol({}.NODE_ENV!=="production"?"router":""),tc=Symbol({}.NODE_ENV!=="production"?"route location":""),ec=Symbol({}.NODE_ENV!=="production"?"router view location":"");function Gs(){let o=[];function t(n){return o.push(n),()=>{const s=o.indexOf(n);s>-1&&o.splice(s,1)}}function e(){o=[]}return{add:t,list:()=>o.slice(),reset:e}}function nn(o,t,e,n,s,r=a=>a()){const a=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=d=>{d===!1?l(Kn(4,{from:e,to:t})):d instanceof Error?l(d):Ea(d)?l(Kn(2,{from:t,to:d})):(a&&n.enterCallbacks[s]===a&&typeof d=="function"&&a.push(d),i())},u=r(()=>o.call(n&&n.instances[s],t,e,{}.NODE_ENV!=="production"?Sx(c,t,e):c));let f=Promise.resolve(u);if(o.length<3&&(f=f.then(c)),{}.NODE_ENV!=="production"&&o.length>2){const d=`The "next" callback was never called inside of ${o.name?'"'+o.name+'"':""}:
71
+ ${o.toString()}
72
+ . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:(At(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){At(d),l(new Error("Invalid navigation guard"));return}}f.catch(d=>l(d))})}function Sx(o,t,e){let n=0;return function(){n++===1&&At(`The "next" callback was called more than once in one navigation guard when going from "${e.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),o._called=!0,n===1&&o.apply(null,arguments)}}function oc(o,t,e,n,s=r=>r()){const r=[];for(const a of o){({}).NODE_ENV!=="production"&&!a.components&&!a.children.length&&At(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);for(const i in a.components){let l=a.components[i];if({}.NODE_ENV!=="production"){if(!l||typeof l!="object"&&typeof l!="function")throw At(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){At(`Component "${i}" in record with path "${a.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,At(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(Mh(l)){const u=(l.__vccOpts||l)[t];u&&r.push(nn(u,e,n,a,i,s))}else{let c=l();({}).NODE_ENV!=="production"&&!("catch"in c)&&(At(`Component "${i}" in record with path "${a.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=S_(u)?u.default:u;a.mods[i]=u,a.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&nn(h,e,n,a,i,s)()}))}}}return r}function cp(o){const t=so(Sa),e=so(tc);let n=!1,s=null;const r=de(()=>{const u=Ot(o.to);return{}.NODE_ENV!=="production"&&(!n||u!==s)&&(Ea(u)||(n?At(`Invalid value for prop "to" in useLink()
75
73
  - to:`,u,`
76
- - previous to:`,r,`
77
- - props:`,e):$t(`Invalid value for prop "to" in useLink()
74
+ - previous to:`,s,`
75
+ - props:`,o):At(`Invalid value for prop "to" in useLink()
78
76
  - to:`,u,`
79
- - props:`,e)),r=u,n=!0),t.resolve(u)}),s=de(()=>{const{matched:u}=a.value,{length:f}=u,d=u[f-1],h=o.matched;if(!d||!h.length)return-1;const p=h.findIndex(tn.bind(null,d));if(p>-1)return p;const w=Cp(u[f-2]);return f>1&&Cp(d)===w&&h[h.length-1].path!==w?h.findIndex(tn.bind(null,u[f-2])):p}),l=de(()=>s.value>-1&&P_(o.params,a.value.params)),i=de(()=>s.value>-1&&s.value===o.matched.length-1&&sp(o.params,a.value.params));function c(u={}){if(O_(u)){const f=t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(Dr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&Do){const u=jo();if(u){const f={route:a.value,isActive:l.value,isExactActive:i.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),ki(()=>{f.route=a.value,f.isActive=l.value,f.isExactActive=i.value,f.error=cs(vt(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:a,href:de(()=>a.value.href),isActive:l,isExactActive:i,navigate:c}}function E_(e){return e.length===1?e[0]:e}const S_=Y({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wp,setup(e,{slots:t}){const o=jt(wp(e)),{options:n}=oo(us),r=de(()=>({[Tp(e.activeClass,n.linkActiveClass,"router-link-active")]:o.isActive,[Tp(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const a=t.default&&E_(t.default(o));return e.custom?a:Xt("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:r.value},a)}}});function O_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function P_(e,t){for(const o in t){const n=t[o],r=e[o];if(typeof n=="string"){if(n!==r)return!1}else if(!Ge(r)||r.length!==n.length||n.some((a,s)=>a!==r[s]))return!1}return!0}function Cp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tp=(e,t,o)=>e??t??o,R_=Y({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){({}).NODE_ENV!=="production"&&I_();const n=oo(Pl),r=de(()=>e.route||n.value),a=oo(kp,0),s=de(()=>{let c=vt(a);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=de(()=>r.value.matched[s.value]);ya(kp,de(()=>s.value+1)),ya(C_,l),ya(Pl,r);const i=R();return Pt(()=>[i.value,l.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!tn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return Ep(o.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,x=Xt(d,Zt({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:i}));if({}.NODE_ENV!=="production"&&Do&&x.ref){const v={depth:s.value,name:f.name,path:f.path,meta:f.meta};(Ge(x.ref)?x.ref.map(y=>y.i):[x.ref.i]).forEach(y=>{y.__vrv_devtools=v})}return Ep(o.default,{Component:x,route:c})||x}}});function Ep(e,t){if(!e)return null;const o=e(t);return o.length===1?o[0]:o}const Il=R_;function I_(){const e=jo(),t=e.parent&&e.parent.type.name,o=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof o=="object"&&o.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";$t(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
77
+ - props:`,o)),s=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=r.value,{length:f}=u,d=u[f-1],h=e.matched;if(!d||!h.length)return-1;const p=h.findIndex(en.bind(null,d));if(p>-1)return p;const v=up(u[f-2]);return f>1&&up(d)===v&&h[h.length-1].path!==v?h.findIndex(en.bind(null,u[f-2])):p}),i=de(()=>a.value>-1&&Ix(e.params,r.value.params)),l=de(()=>a.value>-1&&a.value===e.matched.length-1&&Gh(e.params,r.value.params));function c(u={}){if(Rx(u)){const f=t[Ot(o.replace)?"replace":"push"](Ot(o.to)).catch(Xs);return o.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&zo){const u=jo();if(u){const f={route:r.value,isActive:i.value,isExactActive:l.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),Fn(()=>{f.route=r.value,f.isActive=i.value,f.isExactActive=l.value,f.error=Ea(Ot(o.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:de(()=>r.value.href),isActive:i,isExactActive:l,navigate:c}}function Ox(o){return o.length===1?o[0]:o}const Px=X({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:cp,setup(o,{slots:t}){const e=Wt(cp(o)),{options:n}=so(Sa),s=de(()=>({[fp(o.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[fp(o.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const r=t.default&&Ox(t.default(e));return o.custom?r:Ut("a",{"aria-current":e.isExactActive?o.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:s.value},r)}}});function Rx(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const t=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return o.preventDefault&&o.preventDefault(),!0}}function Ix(o,t){for(const e in t){const n=t[e],s=o[e];if(typeof n=="string"){if(n!==s)return!1}else if(!Ue(s)||s.length!==n.length||n.some((r,a)=>r!==s[a]))return!1}return!0}function up(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const fp=(o,t,e)=>o??t??e,Ax=X({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:t,slots:e}){({}).NODE_ENV!=="production"&&$x();const n=so(ec),s=de(()=>o.route||n.value),r=so(lp,0),a=de(()=>{let c=Ot(r);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),i=de(()=>s.value.matched[a.value]);Tr(lp,de(()=>a.value+1)),Tr(Ex,i),Tr(ec,s);const l=O();return Rt(()=>[l.value,i.value,o.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!en(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=s.value,u=o.name,f=i.value,d=f&&f.components[u];if(!d)return dp(e.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,k=Ut(d,Gt({},p,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[u]=null)},ref:l}));if({}.NODE_ENV!=="production"&&zo&&k.ref){const x={depth:a.value,name:f.name,path:f.path,meta:f.meta};(Ue(k.ref)?k.ref.map(g=>g.i):[k.ref.i]).forEach(g=>{g.__vrv_devtools=x})}return dp(e.default,{Component:k,route:c})||k}}});function dp(o,t){if(!o)return null;const e=o(t);return e.length===1?e[0]:e}const nc=Ax;function $x(){const o=jo(),t=o.parent&&o.parent.type.name,e=o.parent&&o.parent.subTree&&o.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof e=="object"&&e.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";At(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
80
78
  Use slot props instead:
81
79
 
82
80
  <router-view v-slot="{ Component }">
83
81
  <${n}>
84
82
  <component :is="Component" />
85
83
  </${n}>
86
- </router-view>`)}}function Mr(e,t){const o=Zt({},e,{matched:e.matched.map(n=>V_(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:o}}}function fs(e){return{_custom:{display:e}}}let A_=0;function $_(e,t,o){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=A_++;Cb({id:"org.vuejs.router"+(n?"."+n:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},r=>{typeof r.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Mr(t.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:Sp})}Ge(f.__vrl_devtools)&&(f.__devtoolsApi=r,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=Rp,w="",x=0;d.error?(h=d.error,p=z_,x=M_):d.isExactActive?(p=Pp,w="This is exactly active"):d.isActive&&(p=Op,w="This link is active"),u.tags.push({label:h,textColor:x,tooltip:w,backgroundColor:p})}))}),Pt(t.currentRoute,()=>{i(),r.notifyComponentUpdate(),r.sendInspectorTree(l),r.sendInspectorState(l)});const a="router:navigations:"+n;r.addTimelineLayer({id:a,label:`Router${n?" "+n:""} Navigations`,color:4237508}),t.onError((u,f)=>{r.addTimelineEvent({layerId:a,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:r.now(),data:{error:u},groupId:f.meta.__navigationId}})});let s=0;t.beforeEach((u,f)=>{const d={guard:fs("beforeEach"),from:Mr(f,"Current Location during this navigation"),to:Mr(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:a,event:{time:r.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const h={guard:fs("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=fs("❌")):h.status=fs("✅"),h.from=Mr(f,"Current Location during this navigation"),h.to=Mr(u,"Target location"),r.addTimelineEvent({layerId:a,event:{title:"End of navigation",subtitle:u.fullPath,time:r.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const l="router-inspector:"+n;r.addInspector({id:l,label:"Routes"+(n?" "+n:""),icon:"book",treeFilterPlaceholder:"Search routes"});function i(){if(!c)return;const u=c;let f=o.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach($p),u.filter&&(f=f.filter(d=>Al(d,u.filter.toLowerCase()))),f.forEach(d=>Ap(d,t.currentRoute.value)),u.rootNodes=f.map(Ip)}let c;r.on.getInspectorTree(u=>{c=u,u.app===e&&u.inspectorId===l&&i()}),r.on.getInspectorState(u=>{if(u.app===e&&u.inspectorId===l){const d=o.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:D_(d)})}}),r.sendInspectorTree(l),r.sendInspectorState(l)})}function N_(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function D_(e){const{record:t}=e,o=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&o.push({editable:!1,key:"name",value:t.name}),o.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&o.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(n=>`${n.name}${N_(n)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&o.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&o.push({editable:!1,key:"aliases",value:e.alias.map(n=>n.record.path)}),Object.keys(e.record.meta).length&&o.push({editable:!1,key:"meta",value:e.record.meta}),o.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(n=>n.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),o}const Sp=15485081,Op=2450411,Pp=8702998,F_=2282478,Rp=16486972,L_=6710886,z_=16704226,M_=12131356;function Ip(e){const t=[],{record:o}=e;o.name!=null&&t.push({label:String(o.name),textColor:0,backgroundColor:F_}),o.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Rp}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Sp}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Pp}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Op}),o.redirect&&t.push({label:typeof o.redirect=="string"?`redirect: ${o.redirect}`:"redirects",textColor:16777215,backgroundColor:L_});let n=o.__vd_id;return n==null&&(n=String(B_++),o.__vd_id=n),{id:n,label:o.path,tags:t,children:e.children.map(Ip)}}let B_=0;const Y_=/^\/(.*)\/([a-z]*)$/;function Ap(e,t){const o=t.matched.length&&tn(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=o,o||(e.__vd_active=t.matched.some(n=>tn(n,e.record))),e.children.forEach(n=>Ap(n,t))}function $p(e){e.__vd_match=!1,e.children.forEach($p)}function Al(e,t){const o=String(e.re).match(Y_);if(e.__vd_match=!1,!o||o.length<3)return!1;if(new RegExp(o[1].replace(/\$$/,""),o[2]).test(t))return e.children.forEach(s=>Al(s,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),a=Zn(r);return!t.startsWith("/")&&(a.includes(t)||r.includes(t))||a.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(s=>Al(s,t))}function V_(e,t){const o={};for(const n in e)t.includes(n)||(o[n]=e[n]);return o}function X_(e){const t=p_(e.routes,e),o=e.parseQuery||k_,n=e.stringifyQuery||xp,r=e.history;if({}.NODE_ENV!=="production"&&!r)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const a=zr(),s=zr(),l=zr(),i=Zm(en);let c=en;Do&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xl.bind(null,D=>""+D),f=xl.bind(null,zb),d=xl.bind(null,Zn);function h(D,et){let U,$;return fp(D)?(U=t.getRecordMatcher(D),{}.NODE_ENV!=="production"&&!U&&$t(`Parent route "${String(D)}" not found when adding child route`,et),$=et):$=D,t.addRoute($,U)}function p(D){const et=t.getRecordMatcher(D);et?t.removeRoute(et):{}.NODE_ENV!=="production"&&$t(`Cannot remove non-existent route "${String(D)}"`)}function w(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function v(D,et){if(et=Zt({},et||i.value),typeof D=="string"){const S=Cl(o,D,et.path),O=t.resolve({path:S.path},et),z=r.createHref(S.fullPath);return{}.NODE_ENV!=="production"&&(z.startsWith("//")?$t(`Location "${D}" resolved to "${z}". A resolved location cannot start with multiple slashes.`):O.matched.length||$t(`No match found for location with path "${D}"`)),Zt(S,O,{params:d(O.params),hash:Zn(S.hash),redirectedFrom:void 0,href:z})}if({}.NODE_ENV!=="production"&&!cs(D))return $t(`router.resolve() was passed an invalid location. This will fail in production.
87
- - Location:`,D),v({});let U;if(D.path!=null)({}).NODE_ENV!=="production"&&"params"in D&&!("name"in D)&&Object.keys(D.params).length&&$t(`Path "${D.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),U=Zt({},D,{path:Cl(o,D.path,et.path).path});else{const S=Zt({},D.params);for(const O in S)S[O]==null&&delete S[O];U=Zt({},D,{params:f(S)}),et.params=f(et.params)}const $=t.resolve(U,et),It=D.hash||"";({}).NODE_ENV!=="production"&&It&&!It.startsWith("#")&&$t(`A \`hash\` should always start with the character "#". Replace "${It}" with "#${It}".`),$.params=u(d($.params));const Kt=Yb(n,Zt({},D,{hash:Db(It),path:$.path})),Rt=r.createHref(Kt);return{}.NODE_ENV!=="production"&&(Rt.startsWith("//")?$t(`Location "${D}" resolved to "${Rt}". A resolved location cannot start with multiple slashes.`):$.matched.length||$t(`No match found for location with path "${D.path!=null?D.path:D}"`)),Zt({fullPath:Kt,hash:It,query:n===xp?w_(D.query):D.query||{}},$,{redirectedFrom:void 0,href:Rt})}function g(D){return typeof D=="string"?Cl(o,D,i.value.path):Zt({},D)}function y(D,et){if(c!==D)return Gn(8,{from:et,to:D})}function m(D){return M(D)}function _(D){return m(Zt(g(D),{replace:!0}))}function C(D){const et=D.matched[D.matched.length-1];if(et&&et.redirect){const{redirect:U}=et;let $=typeof U=="function"?U(D):U;if(typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=g($):{path:$},$.params={}),{}.NODE_ENV!=="production"&&$.path==null&&!("name"in $))throw $t(`Invalid redirect found:
88
- ${JSON.stringify($,null,2)}
89
- when navigating to "${D.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Zt({query:D.query,hash:D.hash,params:$.path!=null?{}:D.params},$)}}function M(D,et){const U=c=v(D),$=i.value,It=D.state,Kt=D.force,Rt=D.replace===!0,S=C(U);if(S)return M(Zt(g(S),{state:typeof S=="object"?Zt({},It,S.state):It,force:Kt,replace:Rt}),et||U);const O=U;O.redirectedFrom=et;let z;return!Kt&&ap(n,$,U)&&(z=Gn(16,{to:O,from:$}),Te($,$,!0,!1)),(z?Promise.resolve(z):V(O,$)).catch(B=>Fo(B)?Fo(B,2)?B:Re(B):St(B,O,$)).then(B=>{if(B){if(Fo(B,2))return{}.NODE_ENV!=="production"&&ap(n,v(B.to),O)&&et&&(et._count=et._count?et._count+1:1)>30?($t(`Detected a possibly infinite redirection in a navigation guard when going from "${$.fullPath}" to "${O.fullPath}". Aborting to avoid a Stack Overflow.
90
- Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):M(Zt({replace:Rt},g(B.to),{state:typeof B.to=="object"?Zt({},It,B.to.state):It,force:Kt}),et||O)}else B=K(O,$,!0,Rt,It);return pt(O,$,B),B})}function X(D,et){const U=y(D,et);return U?Promise.reject(U):Promise.resolve()}function G(D){const et=I.values().next().value;return et&&typeof et.runWithContext=="function"?et.runWithContext(D):D()}function V(D,et){let U;const[$,It,Kt]=Z_(D,et);U=Rl($.reverse(),"beforeRouteLeave",D,et);for(const S of $)S.leaveGuards.forEach(O=>{U.push(on(O,D,et))});const Rt=X.bind(null,D,et);return U.push(Rt),Nt(U).then(()=>{U=[];for(const S of a.list())U.push(on(S,D,et));return U.push(Rt),Nt(U)}).then(()=>{U=Rl(It,"beforeRouteUpdate",D,et);for(const S of It)S.updateGuards.forEach(O=>{U.push(on(O,D,et))});return U.push(Rt),Nt(U)}).then(()=>{U=[];for(const S of Kt)if(S.beforeEnter)if(Ge(S.beforeEnter))for(const O of S.beforeEnter)U.push(on(O,D,et));else U.push(on(S.beforeEnter,D,et));return U.push(Rt),Nt(U)}).then(()=>(D.matched.forEach(S=>S.enterCallbacks={}),U=Rl(Kt,"beforeRouteEnter",D,et,G),U.push(Rt),Nt(U))).then(()=>{U=[];for(const S of s.list())U.push(on(S,D,et));return U.push(Rt),Nt(U)}).catch(S=>Fo(S,8)?S:Promise.reject(S))}function pt(D,et,U){l.list().forEach($=>G(()=>$(D,et,U)))}function K(D,et,U,$,It){const Kt=y(D,et);if(Kt)return Kt;const Rt=et===en,S=Do?history.state:{};U&&($||Rt?r.replace(D.fullPath,Zt({scroll:Rt&&S&&S.scroll},It)):r.push(D.fullPath,It)),i.value=D,Te(D,et,U,Rt),Re()}let lt;function gt(){lt||(lt=r.listen((D,et,U)=>{if(!te.listening)return;const $=v(D),It=C($);if(It){M(Zt(It,{replace:!0,force:!0}),$).catch(Dr);return}c=$;const Kt=i.value;Do&&Wb(lp(Kt.fullPath,U.delta),ls()),V($,Kt).catch(Rt=>Fo(Rt,12)?Rt:Fo(Rt,2)?(M(Zt(g(Rt.to),{force:!0}),$).then(S=>{Fo(S,20)&&!U.delta&&U.type===Fr.pop&&r.go(-1,!1)}).catch(Dr),Promise.reject()):(U.delta&&r.go(-U.delta,!1),St(Rt,$,Kt))).then(Rt=>{Rt=Rt||K($,Kt,!1),Rt&&(U.delta&&!Fo(Rt,8)?r.go(-U.delta,!1):U.type===Fr.pop&&Fo(Rt,20)&&r.go(-1,!1)),pt($,Kt,Rt)}).catch(Dr)}))}let wt=zr(),Mt=zr(),Et;function St(D,et,U){Re(D);const $=Mt.list();return $.length?$.forEach(It=>It(D,et,U)):({}.NODE_ENV!=="production"&&$t("uncaught error during route navigation:"),console.error(D)),Promise.reject(D)}function ue(){return Et&&i.value!==en?Promise.resolve():new Promise((D,et)=>{wt.add([D,et])})}function Re(D){return Et||(Et=!D,gt(),wt.list().forEach(([et,U])=>D?U(D):et()),wt.reset()),D}function Te(D,et,U,$){const{scrollBehavior:It}=e;if(!Do||!It)return Promise.resolve();const Kt=!U&&qb(lp(D.fullPath,0))||($||!U)&&history.state&&history.state.scroll||null;return ia().then(()=>It(D,et,Kt)).then(Rt=>Rt&&Hb(Rt)).catch(Rt=>St(Rt,D,et))}const Bt=D=>r.go(D);let tt;const I=new Set,te={currentRoute:i,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:w,resolve:v,options:e,push:m,replace:_,go:Bt,back:()=>Bt(-1),forward:()=>Bt(1),beforeEach:a.add,beforeResolve:s.add,afterEach:l.add,onError:Mt.add,isReady:ue,install(D){const et=this;D.component("RouterLink",S_),D.component("RouterView",Il),D.config.globalProperties.$router=et,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(i)}),Do&&!tt&&i.value===en&&(tt=!0,m(r.location).catch(It=>{({}).NODE_ENV!=="production"&&$t("Unexpected error when starting the router:",It)}));const U={};for(const It in en)Object.defineProperty(U,It,{get:()=>i.value[It],enumerable:!0});D.provide(us,et),D.provide(Ol,Ic(U)),D.provide(Pl,i);const $=D.unmount;I.add(D),D.unmount=function(){I.delete(D),I.size<1&&(c=en,lt&&lt(),lt=null,i.value=en,tt=!1,Et=!1),$()},{}.NODE_ENV!=="production"&&Do&&$_(D,et,t)}};function Nt(D){return D.reduce((et,U)=>et.then(()=>G(U)),Promise.resolve())}return te}function Z_(e,t){const o=[],n=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const l=t.matched[s];l&&(e.matched.find(c=>tn(c,l))?n.push(l):o.push(l));const i=e.matched[s];i&&(t.matched.find(c=>tn(c,i))||r.push(i))}return[o,n,r]}function ds(){return oo(us)}function Np(e){return oo(Ol)}const G_={class:"page"},U_={class:"page-header"},j_={class:"page-main"},H_={class:"page-main-scroll"},W_={class:"page-footer"},q_={class:"page-global"},K_=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(e,{expose:t}){return t({}),(o,n)=>(A(),F("div",G_,[k("div",U_,[dt(o.$slots,"header",{},void 0,!0)]),k("div",j_,[k("div",H_,[dt(o.$slots,"default",{},void 0,!0)])]),k("div",W_,[dt(o.$slots,"footer",{},void 0,!0)]),k("div",q_,[dt(o.$slots,"global",{},void 0,!0)])]))}}),B3="",Qe=nt(K_,[["__scopeId","data-v-3c77fd20"]]),Q_={class:"view-document"},J_=["src"],tx=Y({inheritAttrs:!0,customOptions:{LayoutPage:Qe},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(e){const t=e,o=Np();nd(typeof o.params.title=="string"?o.params.title:t.title);const n=decodeURIComponent(typeof o.params.src=="string"?o.params.src:t.src);return(r,a)=>(A(),ht(Qe,null,{default:at(()=>[k("div",Q_,[k("img",{class:"img",src:vt(n)},null,8,J_)])]),_:1}))}}),Y3="",$l=nt(tx,[["__scopeId","data-v-786ac2a3"]]),ex={class:"xg-footer-inner"},ox=Y({customOptions:{Button:oe},inheritAttrs:!0,__name:"Footer",setup(e){const t=ds();function o(){t.push("/park")}const n=R("0px");let r;return fe(()=>{r=rl.onBottom(a=>{n.value=a})}),re(()=>{r?.()}),(a,s)=>(A(),F("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[k("div",ex,[J(oe,{label:"去支付",width:"100%",onClick:o})])],4))}}),V3="",ps=nt(ox,[["__scopeId","data-v-47056f4a"]]),nx={class:"text"},rx=Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(e,{expose:t,emit:o}){const n=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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function a(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=r.filter(f=>f.name===c);return u.length?u[0]:a("未知")}const s=R(a(n.plateType||"")),l=R(),i=R(14);return fe(()=>{i.value=Ka(l.value).getEmSize()}),t({}),(c,u)=>(A(),F("div",{class:"plate-display",ref_key:"el",ref:l},[c.displayType=="dot"&&c.plate!=="无牌车"?(A(),F("div",{key:0,class:Ut(["leading",c.displayType]),style:N({...s.value.style,width:i.value+"px",height:i.value+"px",marginRight:.36*i.value+"px"})},ut(s.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(A(),F("div",{key:1,class:Ut(["leading",c.displayType]),style:N(s.value.style)},ut(s.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(A(),F("div",{key:2,class:Ut(["leading",c.displayType])},ut(s.value.name),3)):yt("",!0),k("div",nx,ut(c.plate),1)],512))}}),X3="",hs=nt(rx,[["__scopeId","data-v-6395bb5a"]]),Un=Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=jt({}),s=jt({});let l=n.name,i=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(C){switch(l=C,l){case"superRainbow":i=n.duration||15e3;break;case"heartBeat":i=n.duration||1300;break;case"statusProcessing":i=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":i=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":i=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":i=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":i=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":i=n.duration||600;break;default:i=n.duration||500;break}switch(l){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(l){default:u=n.delay||0;break}switch(l){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(l){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(l){case"hinge":case"rotateFall":s.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":s.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":s.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":s.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":s.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":s.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":s.transformOrigin="right bottom";break;default:delete s.transformOrigin;break}switch(l){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":a.overflow="visible";break;default:a.overflow="hidden";break}switch(l){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":s.backfaceVisibility="visible";break;default:delete s.backfaceVisibility;break}}const p=R(),w=C=>{a.perspective=n.perspective,C.on("animationstart",M=>{r("cssanimationstart",M.animationName)}),C.on("animationend",M=>{r("cssanimationend",M.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const v=()=>{s.animation="none"},g=()=>{x(),s.animation=`${i}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${l}`},y=C=>{C&&h(C),v(),d="normal",g()},m=C=>{C&&h(C),v(),d="reverse",g()},_=()=>{s.animation="none"};return Pt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:y,triggerReverse:m,clear:_}),(C,M)=>(A(),ht(mt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(a),onReady:w,onStart:v,onEnd:g},{default:at(()=>[k("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...s})},[dt(C.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Z3="",ms=Y({customOptions:{Container:mt,CSSAnimation:Un},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:st.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=jt({}),l=()=>{r("ready",C,M)},i=()=>{w()},c=R();let u="rotateRightSideFirst",f=n.effect;function d(X,G){switch(f){case"static":G();break;default:X();break}}let h=!1;const p=new Ze,w=()=>{const X={},G={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(X,G,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{r(h?"pageCloseStart":"pageOpenStart")},onUpdate:V=>{s.transform="","x"in V&&(s.transform+=` translateX(${V.x}%)`),"y"in V&&(s.transform+=` translateY(${V.y}%)`),"rx"in V&&(s.transform+=` rotateX(${V.rx}deg)`),"ry"in V&&(s.transform+=` rotateY(${V.ry}deg)`),"scale"in V&&(s.transform+=` scale(${V.scale})`),"opacity"in V&&(s.opacity=`${V.opacity}`)},onComplete:()=>{r(h?"pageCloseEnd":"pageOpenEnd")}})})};Pt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,w()},{immediate:!0});const x=()=>{r(h?"pageCloseStart":"pageOpenStart")},v=()=>{r(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},y=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},m=()=>{s.transform="none",s.opacity="1"};function _(){d(()=>{m()},()=>{c.value?.clear()})}const C=X=>{X&&(f=X,w()),h=!1,_(),g()},M=X=>{X&&(f=X,w()),h=!0,_(),y()};return t({open:C,close:M,clear:m,getElement:()=>a.value.getElement()}),(X,G)=>(A(),ht(mt,{class:"page",ref_key:"pageRef",ref:a,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:l,onResize:i},{default:at(()=>[J(Un,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:v},{default:at(()=>[k("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...s})},[dt(X.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Br=Y({customOptions:{Page:ms,Container:mt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:st.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a=-1,s=-1,l;const i=[];let c=[],u=[],f=[];function d(tt){return tt>=0&&tt<c.length}function h(){return s>a}function p(tt,I,te){switch(tt){case a:return h()?I:te;case s:return h()?te:I;default:return"static"}}function w(tt,I){switch(tt){case"moveToLeft":return p(I,"moveToLeft","moveFromRight");case"moveToRight":return p(I,"moveToRight","moveFromLeft");case"moveToTop":return p(I,"moveToTop","moveFromBottom");case"moveToBottom":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(I,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(I,"fade","moveFromRight");case"moveFromTopPrevFade":return p(I,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(I,"fade","moveFromBottom");case"moveToLeftFade":return p(I,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(I,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(I,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(I,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(I,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(I,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(I,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(I,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(I,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(I,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(I,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(I,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(I,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(I,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(I,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(I,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(I,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(I,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(I,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(I,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(I,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(I,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(I,"flipOutLeft","flipInRight");case"flipToRight":return p(I,"flipOutRight","flipInLeft");case"flipToTop":return p(I,"flipOutTop","flipInBottom");case"flipToBottom":return p(I,"flipOutBottom","flipInTop");case"rotateFall":return p(I,"rotateFall","scaleFromSmall");case"newspaper":return p(I,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(I,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(I,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(I,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(I,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(I,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(I,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(I,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(I,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(I,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(I,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(I,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(I,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(I,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(I,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(I,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(I,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(I,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(I,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(I,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(I,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(I,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(I,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(I,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(I,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(I,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(I,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(I,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(I,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(I,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(I,"rotateSlideOut","rotateSlideIn")}}function x(tt,I=600,te=600){switch(tt){case a:return I;case s:return te;default:return n.duration}}function v(tt,I){switch(tt){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(I,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(I,700,600);case"scaleSmall":return x(I,700,500);case"scaleLarge":return x(I,500,700);case"scaleToLargePrevScaleToSmall":return x(I,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(I,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(I,800,600);default:return n.duration}}let g=n.timingFunction;function y(tt){switch(tt){default:return n.easeFunction}}function m(tt,I){switch(tt){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(I){case a:g=h()?"ease-in-out":"ease";break;case s:default:g=h()?"ease":"ease-in-out"}return y(I);default:return g=n.timingFunction,n.easeFunction}}function _(tt,I=300){switch(tt){case s:return n.delay+I;default:return n.delay}}function C(tt,I){switch(tt){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(I,500);case"scaleSmall":case"scaleLarge":return _(I,300);case"scaleToLargePrevScaleToSmall":return _(I,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(I,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(I,180);default:return n.delay}}let M=2,X=2;const G=()=>{M=2,X=2},V=()=>{M=2,X=3},pt=()=>{M=3,X=2};function K(tt){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":pt();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?pt():V();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?V():pt();break;default:G();break}d(a)&&a==tt&&(f[a].style.zIndex=`${M}`,f[a].style.visibility="visible"),d(s)&&s==tt&&(f[s].style.zIndex=`${X}`,f[s].style.visibility="visible")}function lt(tt){V(),tt==a&&(f[a].style.zIndex=`${M}`,f[a].style.visibility="hidden"),tt==s&&(f[s].style.zIndex=`${X}`,f[s].style.visibility="visible",i.shift()?.(),r("routeChangeEnd",a,s,c.length),a=s)}const gt=R();function wt(tt=0,I=!1){if(!gt.value)return;let te=0;Ra(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,D)=>{const et=w(n.effect,D);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:a==D?"visible":"hidden",zIndex:I?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(ms,{effect:et,duration:v(n.effect,D),easeFunction:m(n.effect,D),timingFunction:g,delay:C(n.effect,D),onReady:(U,$)=>{u[D]={open:U,close:$},++te==tt&&(l?.(),r("renderComplete"))},onPageOpenStart:()=>{K(D)},onPageOpenEnd:()=>{lt(D)},onPageCloseStart:()=>{K(D)},onPageCloseEnd:()=>{lt(D)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Pt(()=>n.effect,()=>{wt()});function Mt(tt=[]){c=[...tt],c.forEach(I=>{I.pageKey=I.pageKey||Dn()}),l=()=>{a=-1,Bt(0)},wt(c.length,!0)}function Et(tt){tt.pageKey=tt.pageKey||Dn(),c.push(tt),l=()=>{Bt(c.length-1)},wt(1,c.length==1)}function St(){c.length<=1||Bt(c.length-2,()=>{c.splice(c.length-1,1),a=c.length-1,wt()})}function ue(){Bt(a+1)}function Re(){Bt(a-1)}const Te=new Na(1);function Bt(tt,I){Te.addTask(()=>new Promise(te=>{const Nt=()=>{I?.(),te()};if(!d(tt)){Nt();return}if(s=tt,s==a){Nt();return}i.push(Nt),wt(),r("routeChangeStart",a,s,c.length),h()?(d(a)&&u[a].open(),d(s)&&u[s].open()):(d(a)&&u[a].close(),d(s)&&u[s].close())}))}return t({reset:Mt,push:Et,pop:St,forward:ue,back:Re,goto:Bt,currentPageIndex:()=>a,totalPages:()=>c.length}),(tt,I)=>(A(),F("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),ax=["src"],sx=Y({name:"Image",customOptions:{Container:mt,Pop:se},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=new Ze({frameDuration:n.dur}),s=R(0),l=R(0),i=R(0),c=R(0),u=R(0),f=R(0),d=R(0),h=R(0),p=R(!0),w=R(0),x=R(0);fd(n.src).then(lt=>{w.value=lt.width,x.value=lt.height,C()}).catch(()=>{p.value=!1});const v=R(0),g=R(0),y=(lt,gt)=>{v.value=lt,g.value=gt,C()},m=R(0),_=R(0);function C(){if(!v.value||!g.value||!w.value||!x.value)return;const lt=Ha(n.mode,w.value,x.value,v.value,g.value);m.value=lt.width,_.value=lt.height;const{width:gt,height:wt}=Ir(),Mt=Ha("aspectFit",w.value,x.value,gt,wt);d.value=Mt.width,h.value=Mt.height,u.value=(gt-d.value)/2,f.value=(wt-h.value)/2}const M=(lt,gt,wt)=>{r("settled",wt.x,wt.y,wt.width,wt.height)};let X=!1;const G=R(),V=R();async function pt(){if(!n.openImageDetailWhenClick)return;const lt=await G.value.getSize();a.clear(),a.addTween({left:lt.x,top:lt.y,width:lt.width,height:lt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:st.Quadratic.Out,onUpdate(gt){s.value=gt.left,l.value=gt.top,i.value=gt.width,c.value=gt.height},onComplete(){X&&V.value.close(),X=!X}}),X||(V.value.open(),a.play())}function K(){X&&a.reverse()}return t({}),(lt,gt)=>(A(),ht(mt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onResize:y,onClick:pt},{default:at(()=>[p.value?(A(),ht(mt,{key:0,class:"image-inner",ref_key:"imageRef",ref:G,type:"shrink",style:N({width:m.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${m.value}px ${_.value}px`}),onResize:M},null,8,["style"])):yt("",!0),p.value?yt("",!0):(A(),ht(mt,{key:1,type:"shrink"},{default:at(()=>[k("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,ax)]),_:1})),J(se,{ref_key:"popRef",ref:V,"direction-from":"absolute","absolute-left":`${s.value}px`,"absolute-top":`${l.value}px`,"absolute-width":`${i.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:K},{default:at(()=>[k("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),G3="",gs=nt(sx,[["__scopeId","data-v-fdc8ba41"]]),ix={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},ys=Y({customOptions:{Image:gs,Container:mt,Routes:Br},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(e,{expose:t,emit:o}){const n=e,r=R(0);function a(d,h){r.value=h}const s=R(),l=d=>{d.on("panLeft",()=>{s.value?.forward()}),d.on("panRight",()=>{s.value?.back()}),s.value.reset(n.urls.map(h=>({component:Xt(gs,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},i=R();function c(){i.value?.open()}function u(){i.value?.close()}const f=d=>{d.target&&qa(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(A(),ht(se,{ref_key:"popRef",ref:i,directionFrom:"absolute",onClick:f},{default:at(()=>[n.urls.length>1?(A(),F("div",ix,ut(r.value+1)+" / "+ut(n.urls.length),1)):yt("",!0),J(mt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:l},{default:at(()=>[J(Br,{ref_key:"routesRef",ref:s,effect:n.effect,onRouteChangeEnd:a},null,8,["effect"])]),_:1})]),_:1},512))}}),lx={class:"pop-tel"},cx=["href"],ux=Y({customOptions:{Pop:se},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(e,{expose:t,emit:o}){const n=R();function r(){n.value?.open()}function a(){n.value?.close()}return t({open:r,close:a}),(s,l)=>(A(),ht(se,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:at(()=>[k("div",lx,[k("div",null,ut(s.tel),1),k("a",{class:"pop-tel-call",onClick:a,href:`tel:${s.tel}`}," 呼叫 ",8,cx),k("div",{class:"pop-tel-cancel",onClick:a}," 取消 ")])]),_:1},512))}}),U3="",vs=nt(ux,[["__scopeId","data-v-c1425500"]]),fx={class:"lot-main"},dx={class:"lot-detail"},px={class:"bold"},hx=Y({customOptions:{LayoutPage:Qe,Footer:ps,PlateDisplay:hs,ViewDocument:$l,PopTel:vs,ImageView:ys},inheritAttrs:!0,__name:"Lot",setup(e){const t=ds();function o(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=R();function r(){n.value?.open()}const a=R();function s(){a.value?.open()}return(l,i)=>(A(),ht(Qe,{class:"lot"},{footer:at(()=>[J(ps)]),global:at(()=>[J(vs,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),J(ys,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:a},null,512)]),default:at(()=>[i[15]||(i[15]=k("div",{class:"lot-main-bg"},null,-1)),k("div",fx,[i[12]||(i[12]=k("div",null,"若临测试泊位机器人停车场",-1)),i[13]||(i[13]=k("div",null,[k("div"),k("div",null,"编号"),k("div")],-1)),i[14]||(i[14]=k("div",null,[k("span",null,"103"),k("span",null,"002")],-1)),k("div",null,[i[0]||(i[0]=k("div",null,"停车场主页",-1)),i[1]||(i[1]=k("div",null,"更换附近车位",-1)),k("div",{onClick:o},"收费标准")]),k("div",dx,[i[4]||(i[4]=k("div",null,[k("div",null,"待支付"),k("div",{class:"red"},"¥0.01")],-1)),i[5]||(i[5]=k("div",null,[k("div",null,"已支付"),k("div",null,"¥0.01")],-1)),i[6]||(i[6]=k("div",null,[k("div",null,"订单编号"),k("div",null,"33333333333")],-1)),i[7]||(i[7]=k("div",null,[k("div",null,"开始时间"),k("div",null,"2025-04-08 09:41:25")],-1)),i[8]||(i[8]=k("div",null,[k("div",null,"停车时长"),k("div",null,"51小时53分钟15秒")],-1)),i[9]||(i[9]=k("div",null,[k("div",null,"优惠券"),k("div",{class:"red"},"1分钟")],-1)),i[10]||(i[10]=k("div",null,[k("div",null,"优惠信息"),k("div",{class:"red"},"xxxx")],-1)),i[11]||(i[11]=k("div",{class:"lot-detail-gap"},null,-1)),k("div",null,[i[2]||(i[2]=k("div",null,"车牌号",-1)),k("div",px,[J(hs,{plate:"苏U77777","plate-type":"b"})])]),k("div",null,[i[3]||(i[3]=k("div",null,"现场照片",-1)),k("div",{onClick:s},"查看")])]),k("div",{class:"lot-actions"},[k("div",{onClick:r},"联系客服")])])]),_:1}))}}),j3="",Dp=nt(hx,[["__scopeId","data-v-feee85ac"]]),mx=Y({customOptions:{LayoutPage:Qe},inheritAttrs:!0,__name:"Park",setup(e){return(t,o)=>(A(),ht(Qe,{class:"park"},{default:at(()=>o[0]||(o[0]=[Vt("Park")])),_:1}))}}),H3="",Fp=nt(mx,[["__scopeId","data-v-9704593b"]]),Lp=X_({history:e_("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:$l},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:Dp},{path:"/park",name:"park",component:Fp}],scrollBehavior:(e,t,o)=>o||{left:0,top:0}}),gx=Lp,bs=R("next"),_s=[];Lp.beforeEach((e,t,o)=>{const n=_s.length,r=_s.findIndex(a=>a==e.name);n>1&&r>=0&&r<n-1?(bs.value="prev",_s.splice(r+1)):(bs.value="next",_s.push(e.name)),o()});const yx=Y({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","clipboard_success","clipboard_error","start","end"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a="start";const s=()=>{a="start",r("start")},l=()=>{a="end",r("end")},i=()=>{a=="start"?l():s()},c=R();let u=!1,f,d;fe(()=>{f=new Cn(c.value,!1),f.on("resize",(w,x)=>{r("resize",w,x,c.value.getBoundingClientRect()),d?.(f),u||(u=!0,n.effectTriggerTiming!=="manual"&&s(),r("ready",f),n.effectTriggerTiming=="immediate"&&i())}),f.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("tap",()=>{if(n.effectTriggerTiming=="click"&&i(),n.supportCopyText){const w=Ka(c.value).getInnerText();il(w).then(()=>{r("clipboard_success",w)}).catch(x=>{r("clipboard_error",x.toString())})}}),f.start()});const h=()=>new Promise(w=>{if(f)return w(f);d=w}),p=async()=>(await h(),c.value.getBoundingClientRect());return re(()=>{f?.destroy()}),t({getElement:()=>c.value,getApp:h,getSize:p}),(w,x)=>(A(),F("div",{class:Ut(["container",[n.type]]),ref_key:"r",ref:c,style:N({position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"})},[dt(w.$slots,"default")],6))}}),zp=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a=n.duration,s=n.timingFunction,l=n.delay;const i=jt({}),c=jt({}),u=h=>{h.on("transitionstart",p=>{r("csstransitionstart",p)}),h.on("transitionend",p=>{r("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${a}ms ${s} ${l}ms`};return Pt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:i.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(A(),ht(mt,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(i)},{default:at(()=>[k("div",{class:Ut(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[dt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
91
- `]]]),xs=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"CSSAnimation.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=jt({}),s=jt({});let l=n.name,i=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(C){switch(l=C,l){case"superRainbow":i=n.duration||15e3;break;case"heartBeat":i=n.duration||1300;break;case"statusProcessing":i=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":i=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":i=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":i=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":i=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":i=n.duration||600;break;default:i=n.duration||500;break}switch(l){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(l){default:u=n.delay||0;break}switch(l){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(l){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(l){case"hinge":case"rotateFall":s.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":s.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":s.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":s.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":s.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":s.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":s.transformOrigin="right bottom";break;default:delete s.transformOrigin;break}switch(l){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":a.overflow="visible";break;default:a.overflow="hidden";break}switch(l){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":s.backfaceVisibility="visible";break;default:delete s.backfaceVisibility;break}}const p=R(),w=C=>{a.perspective=n.perspective,C.on("animationstart",M=>{r("cssanimationstart",M.animationName)}),C.on("animationend",M=>{r("cssanimationend",M.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const v=()=>{s.animation="none"},g=()=>{x(),s.animation=`${i}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${l}`},y=C=>{C&&h(C),v(),d="normal",g()},m=C=>{C&&h(C),v(),d="reverse",g()},_=()=>{s.animation="none"};return Pt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:y,triggerReverse:m,clear:_}),(C,M)=>(A(),ht(mt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(a),onReady:w,onStart:v,onEnd:g},{default:at(()=>[k("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...s})},[dt(C.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
92
- `]]]),Mp=Y({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("span",{class:"icon",style:N(["color: "+o.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[J(vt(Yd),{icon:t.icon,color:o.color},null,8,["icon","color"])],4))}}),vx={class:"loading-1"},bx=Y({__name:"Loading1.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",vx,[k("div",{class:"rect1",style:o}),k("div",{class:"rect2",style:o}),k("div",{class:"rect3",style:o}),k("div",{class:"rect4",style:o}),k("div",{class:"rect5",style:o})]))}}),Bp=nt(bx,[["styles",[`.loading-1[data-v-f7deb691]{position:relative;display:block;overflow:hidden;width:100%;height:100%;text-align:center}.loading-1>div[data-v-f7deb691]{width:6px;height:100%;margin:auto 2px;display:inline-block;animation:stretchdelay-f7deb691 1.2s infinite ease-in-out}.loading-1 .rect2[data-v-f7deb691]{animation-delay:-1.1s}.loading-1 .rect3[data-v-f7deb691]{animation-delay:-1s}.loading-1 .rect4[data-v-f7deb691]{animation-delay:-.9s}.loading-1 .rect5[data-v-f7deb691]{animation-delay:-.8s}@keyframes stretchdelay-f7deb691{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}
93
- `]],["__scopeId","data-v-f7deb691"]]),_x={class:"loading-2"},xx=Y({__name:"Loading2.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",_x,[k("div",{class:"dot1",style:o}),k("div",{class:"dot2",style:o})]))}}),Yp=nt(xx,[["styles",[`.loading-2[data-v-945f5b2e]{position:relative;display:block;width:100%;height:100%;text-align:center;animation:rotate-945f5b2e 2s infinite linear}.dot1[data-v-945f5b2e],.dot2[data-v-945f5b2e]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:bounce-945f5b2e 2s infinite ease-in-out}.dot2[data-v-945f5b2e]{top:auto;bottom:0;animation-delay:-1s}@keyframes rotate-945f5b2e{to{transform:rotate(360deg)}}@keyframes bounce-945f5b2e{0%,to{transform:scale(0)}50%{transform:scale(1)}}
94
- `]],["__scopeId","data-v-945f5b2e"]]),kx=Y({__name:"Loading3.ce",props:{fromColor:{default:kt.colorPrimary},toColor:{default:kt.colorRed}},setup(e){const t=e,o={backgroundColor:t.fromColor,width:"20%"},n=R();return fe(()=>{go(`
84
+ </router-view>`)}}function Hs(o,t){const e=Gt({},o,{matched:o.matched.map(n=>Zx(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:o.fullPath,tooltip:t,value:e}}}function Oa(o){return{_custom:{display:o}}}let Nx=0;function Fx(o,t,e){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=Nx++;E_({id:"org.vuejs.router"+(n?"."+n:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:o},s=>{typeof s.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),s.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Hs(t.currentRoute.value,"Current Route")})}),s.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:hp})}Ue(f.__vrl_devtools)&&(f.__devtoolsApi=s,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=gp,v="",k=0;d.error?(h=d.error,p=Bx,k=Vx):d.isExactActive?(p=mp,v="This is exactly active"):d.isActive&&(p=pp,v="This link is active"),u.tags.push({label:h,textColor:k,tooltip:v,backgroundColor:p})}))}),Rt(t.currentRoute,()=>{l(),s.notifyComponentUpdate(),s.sendInspectorTree(i),s.sendInspectorState(i)});const r="router:navigations:"+n;s.addTimelineLayer({id:r,label:`Router${n?" "+n:""} Navigations`,color:4237508}),t.onError((u,f)=>{s.addTimelineEvent({layerId:r,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:s.now(),data:{error:u},groupId:f.meta.__navigationId}})});let a=0;t.beforeEach((u,f)=>{const d={guard:Oa("beforeEach"),from:Hs(f,"Current Location during this navigation"),to:Hs(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:a++}),s.addTimelineEvent({layerId:r,event:{time:s.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const h={guard:Oa("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=Oa("❌")):h.status=Oa("✅"),h.from=Hs(f,"Current Location during this navigation"),h.to=Hs(u,"Target location"),s.addTimelineEvent({layerId:r,event:{title:"End of navigation",subtitle:u.fullPath,time:s.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const i="router-inspector:"+n;s.addInspector({id:i,label:"Routes"+(n?" "+n:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let f=e.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(bp),u.filter&&(f=f.filter(d=>sc(d,u.filter.toLowerCase()))),f.forEach(d=>vp(d,t.currentRoute.value)),u.rootNodes=f.map(yp)}let c;s.on.getInspectorTree(u=>{c=u,u.app===o&&u.inspectorId===i&&l()}),s.on.getInspectorState(u=>{if(u.app===o&&u.inspectorId===i){const d=e.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:Dx(d)})}}),s.sendInspectorTree(i),s.sendInspectorState(i)})}function zx(o){return o.optional?o.repeatable?"*":"?":o.repeatable?"+":""}function Dx(o){const{record:t}=o,e=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&e.push({editable:!1,key:"name",value:t.name}),e.push({editable:!1,key:"regexp",value:o.re}),o.keys.length&&e.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:o.keys.map(n=>`${n.name}${zx(n)}`).join(" "),tooltip:"Param keys",value:o.keys}}}),t.redirect!=null&&e.push({editable:!1,key:"redirect",value:t.redirect}),o.alias.length&&e.push({editable:!1,key:"aliases",value:o.alias.map(n=>n.record.path)}),Object.keys(o.record.meta).length&&e.push({editable:!1,key:"meta",value:o.record.meta}),e.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:o.score.map(n=>n.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:o.score}}}),e}const hp=15485081,pp=2450411,mp=8702998,Mx=2282478,gp=16486972,Lx=6710886,Bx=16704226,Vx=12131356;function yp(o){const t=[],{record:e}=o;e.name!=null&&t.push({label:String(e.name),textColor:0,backgroundColor:Mx}),e.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:gp}),o.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:hp}),o.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:mp}),o.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:pp}),e.redirect&&t.push({label:typeof e.redirect=="string"?`redirect: ${e.redirect}`:"redirects",textColor:16777215,backgroundColor:Lx});let n=e.__vd_id;return n==null&&(n=String(Yx++),e.__vd_id=n),{id:n,label:e.path,tags:t,children:o.children.map(yp)}}let Yx=0;const Xx=/^\/(.*)\/([a-z]*)$/;function vp(o,t){const e=t.matched.length&&en(t.matched[t.matched.length-1],o.record);o.__vd_exactActive=o.__vd_active=e,e||(o.__vd_active=t.matched.some(n=>en(n,o.record))),o.children.forEach(n=>vp(n,t))}function bp(o){o.__vd_match=!1,o.children.forEach(bp)}function sc(o,t){const e=String(o.re).match(Xx);if(o.__vd_match=!1,!e||e.length<3)return!1;if(new RegExp(e[1].replace(/\$$/,""),e[2]).test(t))return o.children.forEach(a=>sc(a,t)),o.record.path!=="/"||t==="/"?(o.__vd_match=o.re.test(t),!0):!1;const s=o.record.path.toLowerCase(),r=qn(s);return!t.startsWith("/")&&(r.includes(t)||s.includes(t))||r.startsWith(t)||s.startsWith(t)||o.record.name&&String(o.record.name).includes(t)?!0:o.children.some(a=>sc(a,t))}function Zx(o,t){const e={};for(const n in o)t.includes(n)||(e[n]=o[n]);return e}function Ux(o){const t=mx(o.routes,o),e=o.parseQuery||Cx,n=o.stringifyQuery||ip,s=o.history;if({}.NODE_ENV!=="production"&&!s)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const r=Gs(),a=Gs(),i=Gs(),l=P0(on);let c=on;zo&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Hl.bind(null,F=>""+F),f=Hl.bind(null,B_),d=Hl.bind(null,qn);function h(F,nt){let H,lt;return Kh(F)?(H=t.getRecordMatcher(F),{}.NODE_ENV!=="production"&&!H&&At(`Parent route "${String(F)}" not found when adding child route`,nt),lt=nt):lt=F,t.addRoute(lt,H)}function p(F){const nt=t.getRecordMatcher(F);nt?t.removeRoute(nt):{}.NODE_ENV!=="production"&&At(`Cannot remove non-existent route "${String(F)}"`)}function v(){return t.getRoutes().map(F=>F.record)}function k(F){return!!t.getRecordMatcher(F)}function x(F,nt){if(nt=Gt({},nt||l.value),typeof F=="string"){const E=ql(e,F,nt.path),P=t.resolve({path:E.path},nt),L=s.createHref(E.fullPath);return{}.NODE_ENV!=="production"&&(L.startsWith("//")?At(`Location "${F}" resolved to "${L}". A resolved location cannot start with multiple slashes.`):P.matched.length||At(`No match found for location with path "${F}"`)),Gt(E,P,{params:d(P.params),hash:qn(E.hash),redirectedFrom:void 0,href:L})}if({}.NODE_ENV!=="production"&&!Ea(F))return At(`router.resolve() was passed an invalid location. This will fail in production.
85
+ - Location:`,F),x({});let H;if(F.path!=null)({}).NODE_ENV!=="production"&&"params"in F&&!("name"in F)&&Object.keys(F.params).length&&At(`Path "${F.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),H=Gt({},F,{path:ql(e,F.path,nt.path).path});else{const E=Gt({},F.params);for(const P in E)E[P]==null&&delete E[P];H=Gt({},F,{params:f(E)}),nt.params=f(nt.params)}const lt=t.resolve(H,nt),Pt=F.hash||"";({}).NODE_ENV!=="production"&&Pt&&!Pt.startsWith("#")&&At(`A \`hash\` should always start with the character "#". Replace "${Pt}" with "#${Pt}".`),lt.params=u(d(lt.params));const Zt=X_(n,Gt({},F,{hash:D_(Pt),path:lt.path})),V=s.createHref(Zt);return{}.NODE_ENV!=="production"&&(V.startsWith("//")?At(`Location "${F}" resolved to "${V}". A resolved location cannot start with multiple slashes.`):lt.matched.length||At(`No match found for location with path "${F.path!=null?F.path:F}"`)),Gt({fullPath:Zt,hash:Pt,query:n===ip?Tx(F.query):F.query||{}},lt,{redirectedFrom:void 0,href:V})}function m(F){return typeof F=="string"?ql(e,F,l.value.path):Gt({},F)}function g(F,nt){if(c!==F)return Kn(8,{from:nt,to:F})}function y(F){return $(F)}function b(F){return y(Gt(m(F),{replace:!0}))}function _(F){const nt=F.matched[F.matched.length-1];if(nt&&nt.redirect){const{redirect:H}=nt;let lt=typeof H=="function"?H(F):H;if(typeof lt=="string"&&(lt=lt.includes("?")||lt.includes("#")?lt=m(lt):{path:lt},lt.params={}),{}.NODE_ENV!=="production"&&lt.path==null&&!("name"in lt))throw At(`Invalid redirect found:
86
+ ${JSON.stringify(lt,null,2)}
87
+ when navigating to "${F.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Gt({query:F.query,hash:F.hash,params:lt.path!=null?{}:F.params},lt)}}function $(F,nt){const H=c=x(F),lt=l.value,Pt=F.state,Zt=F.force,V=F.replace===!0,E=_(H);if(E)return $(Gt(m(E),{state:typeof E=="object"?Gt({},Pt,E.state):Pt,force:Zt,replace:V}),nt||H);const P=H;P.redirectedFrom=nt;let L;return!Zt&&Uh(n,lt,H)&&(L=Kn(16,{to:P,from:lt}),he(lt,lt,!0,!1)),(L?Promise.resolve(L):D(P,lt)).catch(Z=>Do(Z)?Do(Z,2)?Z:pe(Z):wt(Z,P,lt)).then(Z=>{if(Z){if(Do(Z,2))return{}.NODE_ENV!=="production"&&Uh(n,x(Z.to),P)&&nt&&(nt._count=nt._count?nt._count+1:1)>30?(At(`Detected a possibly infinite redirection in a navigation guard when going from "${lt.fullPath}" to "${P.fullPath}". Aborting to avoid a Stack Overflow.
88
+ Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$(Gt({replace:V},m(Z.to),{state:typeof Z.to=="object"?Gt({},Pt,Z.to.state):Pt,force:Zt}),nt||P)}else Z=j(P,lt,!0,V,Pt);return ut(P,lt,Z),Z})}function Y(F,nt){const H=g(F,nt);return H?Promise.reject(H):Promise.resolve()}function B(F){const nt=A.values().next().value;return nt&&typeof nt.runWithContext=="function"?nt.runWithContext(F):F()}function D(F,nt){let H;const[lt,Pt,Zt]=Gx(F,nt);H=oc(lt.reverse(),"beforeRouteLeave",F,nt);for(const E of lt)E.leaveGuards.forEach(P=>{H.push(nn(P,F,nt))});const V=Y.bind(null,F,nt);return H.push(V),Nt(H).then(()=>{H=[];for(const E of r.list())H.push(nn(E,F,nt));return H.push(V),Nt(H)}).then(()=>{H=oc(Pt,"beforeRouteUpdate",F,nt);for(const E of Pt)E.updateGuards.forEach(P=>{H.push(nn(P,F,nt))});return H.push(V),Nt(H)}).then(()=>{H=[];for(const E of Zt)if(E.beforeEnter)if(Ue(E.beforeEnter))for(const P of E.beforeEnter)H.push(nn(P,F,nt));else H.push(nn(E.beforeEnter,F,nt));return H.push(V),Nt(H)}).then(()=>(F.matched.forEach(E=>E.enterCallbacks={}),H=oc(Zt,"beforeRouteEnter",F,nt,B),H.push(V),Nt(H))).then(()=>{H=[];for(const E of a.list())H.push(nn(E,F,nt));return H.push(V),Nt(H)}).catch(E=>Do(E,8)?E:Promise.reject(E))}function ut(F,nt,H){i.list().forEach(lt=>B(()=>lt(F,nt,H)))}function j(F,nt,H,lt,Pt){const Zt=g(F,nt);if(Zt)return Zt;const V=nt===on,E=zo?history.state:{};H&&(lt||V?s.replace(F.fullPath,Gt({scroll:V&&E&&E.scroll},Pt)):s.push(F.fullPath,Pt)),l.value=F,he(F,nt,H,V),pe()}let tt;function vt(){tt||(tt=s.listen((F,nt,H)=>{if(!ne.listening)return;const lt=x(F),Pt=_(lt);if(Pt){$(Gt(Pt,{replace:!0,force:!0}),lt).catch(Xs);return}c=lt;const Zt=l.value;zo&&K_(jh(Zt.fullPath,H.delta),Ta()),D(lt,Zt).catch(V=>Do(V,12)?V:Do(V,2)?($(Gt(m(V.to),{force:!0}),lt).then(E=>{Do(E,20)&&!H.delta&&H.type===Zs.pop&&s.go(-1,!1)}).catch(Xs),Promise.reject()):(H.delta&&s.go(-H.delta,!1),wt(V,lt,Zt))).then(V=>{V=V||j(lt,Zt,!1),V&&(H.delta&&!Do(V,8)?s.go(-H.delta,!1):H.type===Zs.pop&&Do(V,20)&&s.go(-1,!1)),ut(lt,Zt,V)}).catch(Xs)}))}let St=Gs(),$t=Gs(),kt;function wt(F,nt,H){pe(F);const lt=$t.list();return lt.length?lt.forEach(Pt=>Pt(F,nt,H)):({}.NODE_ENV!=="production"&&At("uncaught error during route navigation:"),console.error(F)),Promise.reject(F)}function oe(){return kt&&l.value!==on?Promise.resolve():new Promise((F,nt)=>{St.add([F,nt])})}function pe(F){return kt||(kt=!F,vt(),St.list().forEach(([nt,H])=>F?H(F):nt()),St.reset()),F}function he(F,nt,H,lt){const{scrollBehavior:Pt}=o;if(!zo||!Pt)return Promise.resolve();const Zt=!H&&Q_(jh(F.fullPath,0))||(lt||!H)&&history.state&&history.state.scroll||null;return mr().then(()=>Pt(F,nt,Zt)).then(V=>V&&q_(V)).catch(V=>wt(V,F,nt))}const Xt=F=>s.go(F);let et;const A=new Set,ne={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:v,resolve:x,options:o,push:y,replace:b,go:Xt,back:()=>Xt(-1),forward:()=>Xt(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:$t.add,isReady:oe,install(F){const nt=this;F.component("RouterLink",Px),F.component("RouterView",nc),F.config.globalProperties.$router=nt,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Ot(l)}),zo&&!et&&l.value===on&&(et=!0,y(s.location).catch(Pt=>{({}).NODE_ENV!=="production"&&At("Unexpected error when starting the router:",Pt)}));const H={};for(const Pt in on)Object.defineProperty(H,Pt,{get:()=>l.value[Pt],enumerable:!0});F.provide(Sa,nt),F.provide(tc,ru(H)),F.provide(ec,l);const lt=F.unmount;A.add(F),F.unmount=function(){A.delete(F),A.size<1&&(c=on,tt&&tt(),tt=null,l.value=on,et=!1,kt=!1),lt()},{}.NODE_ENV!=="production"&&zo&&Fx(F,nt,t)}};function Nt(F){return F.reduce((nt,H)=>nt.then(()=>B(H)),Promise.resolve())}return ne}function Gx(o,t){const e=[],n=[],s=[],r=Math.max(t.matched.length,o.matched.length);for(let a=0;a<r;a++){const i=t.matched[a];i&&(o.matched.find(c=>en(c,i))?n.push(i):e.push(i));const l=o.matched[a];l&&(t.matched.find(c=>en(c,l))||s.push(l))}return[e,n,s]}function Pa(){return so(Sa)}function _p(o){return so(tc)}const Hx={class:"page"},jx={class:"page-header"},Wx={class:"page-main"},qx={class:"page-main-scroll"},Kx={class:"page-footer"},Qx={class:"page-global"},Jx=X({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(o,{expose:t}){return t({}),(e,n)=>(I(),z("div",Hx,[w("div",jx,[gt(e.$slots,"header",{},void 0,!0)]),w("div",Wx,[w("div",qx,[gt(e.$slots,"default",{},void 0,!0)])]),w("div",Kx,[gt(e.$slots,"footer",{},void 0,!0)]),w("div",Qx,[gt(e.$slots,"global",{},void 0,!0)])]))}}),Gw="",to=at(Jx,[["__scopeId","data-v-3c77fd20"]]),t2={class:"view-document"},e2=["src"],o2=X({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=_p();Dd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),ht(to,null,{default:st(()=>[w("div",t2,[w("img",{class:"img",src:Ot(n)},null,8,e2)])]),_:1}))}}),Hw="",rc=at(o2,[["__scopeId","data-v-786ac2a3"]]),n2={class:"xg-footer-inner"},s2=X({customOptions:{Button:re},inheritAttrs:!0,__name:"Footer",setup(o){const t=Pa();function e(){t.push("/park")}const n=O("0px");let s;return ye(()=>{s=Sl.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),z("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[w("div",n2,[Q(re,{label:"去支付",width:"100%",onClick:e})])],4))}}),jw="",Ra=at(s2,[["__scopeId","data-v-47056f4a"]]),r2={class:"text"},a2=X({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=O(r(n.plateType||"")),i=O(),l=O(14);return ye(()=>{l.value=ha(i.value).getEmSize()}),t({}),(c,u)=>(I(),z("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),z("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},dt(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),z("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},dt(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),z("div",{key:2,class:jt(["leading",c.displayType])},dt(a.value.name),3)):yt("",!0),w("div",r2,dt(c.plate),1)],512))}}),Ww="",Ia=at(a2,[["__scopeId","data-v-6395bb5a"]]),Qn=X({customOptions:{Container:pt},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(_){switch(i=_,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=O(),v=_=>{r.perspective=n.perspective,_.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),_.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function k(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const x=()=>{a.animation="none"},m=()=>{k(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},g=_=>{_&&h(_),x(),d="normal",m()},y=_=>{_&&h(_),x(),d="reverse",m()},b=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:g,triggerReverse:y,clear:b}),(_,$)=>(I(),ht(pt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:v,onStart:x,onEnd:m},{default:st(()=>[w("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[gt(_.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),qw="",Aa=X({customOptions:{Container:pt,CSSAnimation:Qn},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:it.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=Wt({}),i=()=>{s("ready",_,$)},l=()=>{v()},c=O();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,v=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,v()},{immediate:!0});const k=()=>{s(h?"pageCloseStart":"pageOpenStart")},x=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},m=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{y()},()=>{c.value?.clear()})}const _=Y=>{Y&&(f=Y,v()),h=!1,b(),m()},$=Y=>{Y&&(f=Y,v()),h=!0,b(),g()};return t({open:_,close:$,clear:y}),(Y,B)=>(I(),ht(pt,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:st(()=>[Q(Qn,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:k,onCssanimationend:x},{default:st(()=>[w("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[gt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),js=X({customOptions:{Page:Aa,Container:pt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:it.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,ne){switch(et){case r:return h()?A:ne;case a:return h()?ne:A;default:return"static"}}function v(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function k(et,A=600,ne=600){switch(et){case r:return A;case a:return ne;default:return n.duration}}function x(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return k(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return k(A,700,600);case"scaleSmall":return k(A,700,500);case"scaleLarge":return k(A,500,700);case"scaleToLargePrevScaleToSmall":return k(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return k(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return k(A,800,600);default:return n.duration}}let m=n.timingFunction;function g(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:m=h()?"ease-in-out":"ease";break;case a:default:m=h()?"ease":"ease-in-out"}return g(A);default:return m=n.timingFunction,n.easeFunction}}function b(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function _(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(A,500);case"scaleSmall":case"scaleLarge":return b(A,300);case"scaleToLargePrevScaleToSmall":return b(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},D=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():D();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?D():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){D(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const vt=O();function St(et=0,A=!1){if(!vt.value)return;let ne=0;Mr(Ut("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const nt=v(n.effect,F);return Ut("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Ut(Aa,{effect:nt,duration:x(n.effect,F),easeFunction:y(n.effect,F),timingFunction:m,delay:_(n.effect,F),onReady:(H,lt)=>{u[F]={open:H,close:lt},++ne==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Ut("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Ut(Nt.component,Nt.attributes,()=>Nt.child)}))})),vt.value),f=vt.value.children[0].children}Rt(()=>n.effect,()=>{St()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||zn()}),i=()=>{r=-1,Xt(0)},St(c.length,!0)}function kt(et){et.pageKey=et.pageKey||zn(),c.push(et),i=()=>{Xt(c.length-1)},St(1,c.length==1)}function wt(){c.length<=1||Xt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,St()})}function oe(){Xt(r+1)}function pe(){Xt(r-1)}const he=new Yr(1);function Xt(et,A){he.addTask(()=>new Promise(ne=>{const Nt=()=>{A?.(),ne()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),St(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:kt,pop:wt,forward:oe,back:pe,goto:Xt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),z("div",{class:"routes",ref_key:"routesRef",ref:vt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),i2=["src"],l2=X({name:"Image",customOptions:{Container:pt,Pop:le},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=O(0),i=O(0),l=O(0),c=O(0),u=O(0),f=O(0),d=O(0),h=O(0),p=O(!0),v=O(0),k=O(0);Kd(n.src).then(tt=>{v.value=tt.width,k.value=tt.height,_()}).catch(()=>{p.value=!1});const x=O(0),m=O(0),g=tt=>{x.value=tt.rect.width,m.value=tt.rect.height,_()},y=O(0),b=O(0);function _(){if(!x.value||!m.value||!v.value||!k.value)return;const tt=fa(n.mode,v.value,k.value,x.value,m.value);y.value=tt.width,b.value=tt.height;const{width:vt,height:St}=Ds(),$t=fa("aspectFit",v.value,k.value,vt,St);d.value=$t.width,h.value=$t.height,u.value=(vt-d.value)/2,f.value=(St-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=O(),D=O();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:it.Quadratic.Out,onUpdate(vt){a.value=vt.left,i.value=vt.top,l.value=vt.width,c.value=vt.height},onComplete(){Y&&D.value.close(),Y=!Y}}),Y||(D.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,vt)=>(I(),ht(pt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:g,onUpdate:g,onClick:ut},{default:st(()=>[p.value?(I(),ht(pt,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:b.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${b.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),ht(pt,{key:1,type:"shrink"},{default:st(()=>[w("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,i2)]),_:1})),Q(le,{ref_key:"popRef",ref:D,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:st(()=>[w("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Kw="",$a=at(l2,[["__scopeId","data-v-67c2d0de"]]),c2={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Na=X({customOptions:{Image:$a,Container:pt,Routes:js},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(d,h){s.value=h}const a=O(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Ut($a,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=O();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&da(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),ht(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(I(),z("div",c2,dt(s.value+1)+" / "+dt(n.urls.length),1)):yt("",!0),Q(pt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:st(()=>[Q(js,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),u2={class:"pop-tel"},f2=["href"],d2=X({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=O();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),ht(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[w("div",u2,[w("div",null,dt(a.tel),1),w("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,f2),w("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),Qw="",Fa=at(d2,[["__scopeId","data-v-c1425500"]]),h2={class:"lot-main"},p2={class:"lot-detail"},m2={class:"bold"},g2=X({customOptions:{LayoutPage:to,Footer:Ra,PlateDisplay:Ia,ViewDocument:rc,PopTel:Fa,ImageView:Na},inheritAttrs:!0,__name:"Lot",setup(o){const t=Pa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=O();function s(){n.value?.open()}const r=O();function a(){r.value?.open()}return(i,l)=>(I(),ht(to,{class:"lot"},{footer:st(()=>[Q(Ra)]),global:st(()=>[Q(Fa,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Q(Na,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:st(()=>[l[15]||(l[15]=w("div",{class:"lot-main-bg"},null,-1)),w("div",h2,[l[12]||(l[12]=w("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=w("div",null,[w("div"),w("div",null,"编号"),w("div")],-1)),l[14]||(l[14]=w("div",null,[w("span",null,"103"),w("span",null,"002")],-1)),w("div",null,[l[0]||(l[0]=w("div",null,"停车场主页",-1)),l[1]||(l[1]=w("div",null,"更换附近车位",-1)),w("div",{onClick:e},"收费标准")]),w("div",p2,[l[4]||(l[4]=w("div",null,[w("div",null,"待支付"),w("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=w("div",null,[w("div",null,"已支付"),w("div",null,"¥0.01")],-1)),l[6]||(l[6]=w("div",null,[w("div",null,"订单编号"),w("div",null,"33333333333")],-1)),l[7]||(l[7]=w("div",null,[w("div",null,"开始时间"),w("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=w("div",null,[w("div",null,"停车时长"),w("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=w("div",null,[w("div",null,"优惠券"),w("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=w("div",null,[w("div",null,"优惠信息"),w("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=w("div",{class:"lot-detail-gap"},null,-1)),w("div",null,[l[2]||(l[2]=w("div",null,"车牌号",-1)),w("div",m2,[Q(Ia,{plate:"苏U77777","plate-type":"b"})])]),w("div",null,[l[3]||(l[3]=w("div",null,"现场照片",-1)),w("div",{onClick:a},"查看")])]),w("div",{class:"lot-actions"},[w("div",{onClick:s},"联系客服")])])]),_:1}))}}),Jw="",xp=at(g2,[["__scopeId","data-v-feee85ac"]]),y2=X({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park",setup(o){return(t,e)=>(I(),ht(to,{class:"park"},{default:st(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),t5="",kp=at(y2,[["__scopeId","data-v-9704593b"]]),wp=Ux({history:nx("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:rc},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:xp},{path:"/park",name:"park",component:kp}],scrollBehavior:(o,t,e)=>e||{left:0,top:0}}),v2=wp,za=O("next"),Da=[];wp.beforeEach((o,t,e)=>{const n=Da.length,s=Da.findIndex(r=>r==o.name);n>1&&s>=0&&s<n-1?(za.value="prev",Da.splice(s+1)):(za.value="next",Da.push(o.name)),e()});const b2=X({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=O();let u,f,d=!1;return Fn(()=>{c.value&&(u||(u=ra(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ha(c.value).getInnerText();Il(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),ye(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),z("div",Zi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[gt(h.$slots,"default")],16))}}),Cp=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=n.duration,a=n.timingFunction,i=n.delay;const l=Wt({}),c=Wt({}),u=h=>{h.eb.on("transitionstart",p=>{s("csstransitionstart",p)}),h.eb.on("transitionend",p=>{s("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${r}ms ${a} ${i}ms`};return Rt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:l.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(I(),ht(pt,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(l)},{default:st(()=>[w("div",{class:jt(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[gt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
89
+ `]]]),Ma=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"CSSAnimation.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(_){switch(i=_,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=O(),v=_=>{r.perspective=n.perspective,_.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),_.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function k(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const x=()=>{a.animation="none"},m=()=>{k(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},g=_=>{_&&h(_),x(),d="normal",m()},y=_=>{_&&h(_),x(),d="reverse",m()},b=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:g,triggerReverse:y,clear:b}),(_,$)=>(I(),ht(pt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:v,onStart:x,onEnd:m},{default:st(()=>[w("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[gt(_.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
90
+ `]]]),_2=X({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Q(Ot(Sh),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),x2={class:"loading-1"},k2=X({__name:"Loading1.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",x2,[w("div",{class:"rect1",style:e}),w("div",{class:"rect2",style:e}),w("div",{class:"rect3",style:e}),w("div",{class:"rect4",style:e}),w("div",{class:"rect5",style:e})]))}}),Tp=at(k2,[["styles",[`.loading-1[data-v-114b2f4a]{position:relative;display:block;overflow:hidden;width:100%;height:100%;text-align:center}.loading-1>div[data-v-114b2f4a]{width:6px;height:100%;margin:auto 2px;display:inline-block;animation:stretchdelay-114b2f4a 1.2s infinite ease-in-out}.loading-1 .rect2[data-v-114b2f4a]{animation-delay:-1.1s}.loading-1 .rect3[data-v-114b2f4a]{animation-delay:-1s}.loading-1 .rect4[data-v-114b2f4a]{animation-delay:-.9s}.loading-1 .rect5[data-v-114b2f4a]{animation-delay:-.8s}@keyframes stretchdelay-114b2f4a{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}
91
+ `]],["__scopeId","data-v-114b2f4a"]]),w2={class:"loading-2"},C2=X({__name:"Loading2.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",w2,[w("div",{class:"dot1",style:e}),w("div",{class:"dot2",style:e})]))}}),Ep=at(C2,[["styles",[`.loading-2[data-v-f380c52b]{position:relative;display:block;width:100%;height:100%;text-align:center;animation:rotate-f380c52b 2s infinite linear}.dot1[data-v-f380c52b],.dot2[data-v-f380c52b]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:bounce-f380c52b 2s infinite ease-in-out}.dot2[data-v-f380c52b]{top:auto;bottom:0;animation-delay:-1s}@keyframes rotate-f380c52b{to{transform:rotate(360deg)}}@keyframes bounce-f380c52b{0%,to{transform:scale(0)}50%{transform:scale(1)}}
92
+ `]],["__scopeId","data-v-f380c52b"]]),T2=X({__name:"Loading3.ce",props:{fromColor:{default:Yt("--xg-blue")},toColor:{default:Yt("--xg-red")}},setup(o){const t=o,e={backgroundColor:t.fromColor,width:"20%"},n=O();return ye(()=>{bo(`
95
93
  @keyframes snake {
96
94
  0% {
97
95
  opacity: 0.3;
@@ -110,42 +108,42 @@ ${JSON.stringify($,null,2)}
110
108
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
111
109
  }
112
110
  }
113
- `,n.value)}),re(()=>{}),(r,a)=>(A(),F("div",{class:"loading-3",ref_key:"loading3",ref:n},[k("div",{class:"dot",style:N({...o,left:"0"})},null,4),k("div",{class:"dot",style:N({...o,left:"20%"})},null,4),k("div",{class:"dot",style:N({...o,left:"40%"})},null,4),k("div",{class:"dot",style:N({...o,left:"60%"})},null,4),k("div",{class:"dot",style:N({...o,left:"80%"})},null,4)],512))}}),Vp=nt(kx,[["styles",[`.loading-3[data-v-f52e798a]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-f52e798a]{display:inline-block;top:50%;transform:translateY(-50%);position:absolute;aspect-ratio:1 / 1;opacity:.5;border-radius:100%;animation:snake 1s infinite ease-in-out}.loading-3 div[data-v-f52e798a]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-f52e798a]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-f52e798a]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-f52e798a]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-f52e798a]:nth-child(5){animation-delay:.8s}
114
- `]],["__scopeId","data-v-f52e798a"]]),wx={class:"loading-4"},Cx=Y({__name:"Loading4.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",wx,[k("div",{class:"rect",style:o})]))}}),Xp=nt(Cx,[["styles",[`.loading-4[data-v-b2b74418]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;perspective:120px}.rect[data-v-b2b74418]{width:40%;aspect-ratio:1 / 1;animation:rotateplane-b2b74418 1.2s infinite ease-in-out}@keyframes rotateplane-b2b74418{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-180deg)}}
115
- `]],["__scopeId","data-v-b2b74418"]]),Tx={class:"loading-5"},Ex=Y({__name:"Loading5.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",Tx,[k("div",{class:"cube1",style:o}),k("div",{class:"cube2",style:o})]))}}),Zp=nt(Ex,[["styles",[`.loading-5[data-v-2e49b1eb]{position:relative;display:block;width:100%;height:100%}.cube1[data-v-2e49b1eb],.cube2[data-v-2e49b1eb]{width:40%;aspect-ratio:1 / 1;display:inline-block;position:absolute;top:10%;left:10%;transform:translate(-10%,-10%);animation:cubemove-2e49b1eb 1.8s infinite ease-in-out;transform-origin:center}.cube2[data-v-2e49b1eb]{animation-delay:-.9s}@keyframes cubemove-2e49b1eb{25%{transform:translate(42px) rotate(-90deg) scale(.5)}50%{transform:translate(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translate(42px) translateY(42px) rotate(-180deg)}75%{transform:translate(0) translateY(42px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}
116
- `]],["__scopeId","data-v-2e49b1eb"]]),Sx={class:"loading-6"},Ox=Y({__name:"Loading6.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",Sx,[k("div",{style:o}),k("div",{style:o}),k("div",{style:o})]))}}),Gp=nt(Ox,[["styles",[`.loading-6[data-v-0e771b32]{position:relative;display:block;width:100%;height:100%}.loading-6>div[data-v-0e771b32]{border-radius:100%}.loading-6>div[data-v-0e771b32]:nth-child(2){animation-delay:-.4s}.loading-6>div[data-v-0e771b32]:nth-child(3){animation-delay:-.2s}.loading-6>div[data-v-0e771b32]{position:absolute;left:20%;top:20%;width:60%;aspect-ratio:1 / 1;opacity:0;margin:0;animation:loading-6-0e771b32 1s 0s linear infinite}@keyframes loading-6-0e771b32{0%{transform:scale(0);opacity:0}5%{opacity:1}to{transform:scale(1);opacity:0}}
117
- `]],["__scopeId","data-v-0e771b32"]]),Px=Y({__name:"Loading7.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e,o=R();return fe(()=>{go(`
111
+ `,n.value)}),ue(()=>{}),(s,r)=>(I(),z("div",{class:"loading-3",ref_key:"loading3",ref:n},[w("div",{class:"dot",style:N({...e,left:"0"})},null,4),w("div",{class:"dot",style:N({...e,left:"20%"})},null,4),w("div",{class:"dot",style:N({...e,left:"40%"})},null,4),w("div",{class:"dot",style:N({...e,left:"60%"})},null,4),w("div",{class:"dot",style:N({...e,left:"80%"})},null,4)],512))}}),Sp=at(T2,[["styles",[`.loading-3[data-v-ea05e166]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-ea05e166]{display:inline-block;top:50%;transform:translateY(-50%);position:absolute;aspect-ratio:1 / 1;opacity:.5;border-radius:100%;animation:snake 1s infinite ease-in-out}.loading-3 div[data-v-ea05e166]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-ea05e166]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-ea05e166]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-ea05e166]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-ea05e166]:nth-child(5){animation-delay:.8s}
112
+ `]],["__scopeId","data-v-ea05e166"]]),E2={class:"loading-4"},S2=X({__name:"Loading4.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",E2,[w("div",{class:"rect",style:e})]))}}),Op=at(S2,[["styles",[`.loading-4[data-v-1d313db2]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;perspective:120px}.rect[data-v-1d313db2]{width:40%;aspect-ratio:1 / 1;animation:rotateplane-1d313db2 1.2s infinite ease-in-out}@keyframes rotateplane-1d313db2{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-180deg)}}
113
+ `]],["__scopeId","data-v-1d313db2"]]),O2={class:"loading-5"},P2=X({__name:"Loading5.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",O2,[w("div",{class:"cube1",style:e}),w("div",{class:"cube2",style:e})]))}}),Pp=at(P2,[["styles",[`.loading-5[data-v-ae19640f]{position:relative;display:block;width:100%;height:100%}.cube1[data-v-ae19640f],.cube2[data-v-ae19640f]{width:40%;aspect-ratio:1 / 1;display:inline-block;position:absolute;top:10%;left:10%;transform:translate(-10%,-10%);animation:cubemove-ae19640f 1.8s infinite ease-in-out;transform-origin:center}.cube2[data-v-ae19640f]{animation-delay:-.9s}@keyframes cubemove-ae19640f{25%{transform:translate(42px) rotate(-90deg) scale(.5)}50%{transform:translate(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translate(42px) translateY(42px) rotate(-180deg)}75%{transform:translate(0) translateY(42px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}
114
+ `]],["__scopeId","data-v-ae19640f"]]),R2={class:"loading-6"},I2=X({__name:"Loading6.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",R2,[w("div",{style:e}),w("div",{style:e}),w("div",{style:e})]))}}),Rp=at(I2,[["styles",[`.loading-6[data-v-7a1031b5]{position:relative;display:block;width:100%;height:100%}.loading-6>div[data-v-7a1031b5]{border-radius:100%}.loading-6>div[data-v-7a1031b5]:nth-child(2){animation-delay:-.4s}.loading-6>div[data-v-7a1031b5]:nth-child(3){animation-delay:-.2s}.loading-6>div[data-v-7a1031b5]{position:absolute;left:20%;top:20%;width:60%;aspect-ratio:1 / 1;opacity:0;margin:0;animation:loading-6-7a1031b5 1s 0s linear infinite}@keyframes loading-6-7a1031b5{0%{transform:scale(0);opacity:0}5%{opacity:1}to{transform:scale(1);opacity:0}}
115
+ `]],["__scopeId","data-v-7a1031b5"]]),A2=X({__name:"Loading7.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o,e=O();return ye(()=>{bo(`
118
116
  :root {
119
117
  --loading-7-bg-color: ${t.color}
120
118
  }
121
119
  :host {
122
120
  --loading-7-bg-color: ${t.color}
123
121
  }
124
- `,o.value)}),re(()=>{}),(n,r)=>(A(),F("div",{class:"loading-7",ref_key:"loading7",ref:o},r[0]||(r[0]=[k("div",null,null,-1)]),512))}}),Up=nt(Px,[["styles",[`.loading-7[data-v-aaf2a3a7]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-aaf2a3a7]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-aaf2a3a7]:before{content:"";width:100%;height:5px;box-sizing:border-box;background:#000;opacity:.1;position:absolute;top:calc(100% + 5px);left:0;border-radius:50%;animation:shadow-aaf2a3a7 .5s linear infinite}.loading-7>div[data-v-aaf2a3a7]:after{content:"";width:100%;height:100%;animation:animate-aaf2a3a7 .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-aaf2a3a7{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-aaf2a3a7{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
125
- `]],["__scopeId","data-v-aaf2a3a7"]]),Rx={class:"loading-8"},Ix={viewBox:"25 25 50 50"},Ax=Y({__name:"Loading8.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",Rx,[(A(),F("svg",Ix,[k("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),Nl=nt(Ax,[["styles",[`.loading-8[data-v-51a259a7]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-8 svg[data-v-51a259a7]{transform-origin:center;animation:rotate-51a259a7 2s linear infinite;width:50%;aspect-ratio:1 / 1}.loading-8 circle[data-v-51a259a7]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-51a259a7 1.5s ease-in-out infinite}@keyframes rotate-51a259a7{to{transform:rotate(360deg)}}@keyframes dash-51a259a7{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
126
- `]],["__scopeId","data-v-51a259a7"]]),$x={class:"loading-9"},Nx=Y({__name:"Loading9.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={borderTopColor:e.color};return(n,r)=>(A(),F("div",$x,[k("div",{style:o})]))}}),jp=nt(Nx,[["styles",[`.loading-9[data-v-ee782ac8]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-9 div[data-v-ee782ac8]{width:50%;aspect-ratio:1 / 1;border:3px solid rgba(0,0,0,.1);border-radius:50%;animation:spin-ee782ac8 1s linear infinite}@keyframes spin-ee782ac8{to{transform:rotate(360deg)}}
127
- `]],["__scopeId","data-v-ee782ac8"]]),Dx={class:"loading-10"},Fx={viewBox:"0 0 50 50"},Lx=Y({__name:"Loading10.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",Dx,[(A(),F("svg",Fx,[n[0]||(n[0]=k("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),k("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),Hp=nt(Lx,[["styles",[`.loading-10[data-v-984ad184]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-10 svg[data-v-984ad184]{width:50%;aspect-ratio:1 / 1;transform-origin:center;animation:1.5s spin-984ad184 ease infinite}.ring[data-v-984ad184]{fill:none;stroke-width:2}.ball[data-v-984ad184]{stroke:none}@keyframes spin-984ad184{to{transform:rotate(360deg)}}
128
- `]],["__scopeId","data-v-984ad184"]]),zx={class:"loading-11",ref:"loading11"},Mx={class:"container container-1"},Bx={class:"container container-2"},Yx={class:"container container-3"},Vx=Y({__name:"Loading11.ce",props:{color:{default:kt.colorPrimary},width:{default:"0.8em"}},setup(e){const t=e;return(o,n)=>(A(),F("div",zx,[k("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[k("div",Mx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Bx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Yx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),Dl=nt(Vx,[["styles",[`.loading-11[data-v-7fb118c9]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-11-inner[data-v-7fb118c9]{position:relative}.loading-11-inner .container[data-v-7fb118c9]{position:absolute;width:100%;height:100%}.loading-11-inner .container .dot[data-v-7fb118c9]{width:20%;height:20%;border-radius:100%;position:absolute;animation:bouncedelay-7fb118c9 1.2s infinite ease-in-out;animation-fill-mode:both}.loading-11-inner .container .dot-1[data-v-7fb118c9]{top:0;left:0}.loading-11-inner .container .dot-2[data-v-7fb118c9]{top:0;right:0}.loading-11-inner .container .dot-3[data-v-7fb118c9]{right:0;bottom:0}.loading-11-inner .container .dot-4[data-v-7fb118c9]{left:0;bottom:0}.loading-11-inner .container-1 .dot-2[data-v-7fb118c9]{animation-delay:-.9s}.loading-11-inner .container-1 .dot-3[data-v-7fb118c9]{animation-delay:-.6s}.loading-11-inner .container-1 .dot-4[data-v-7fb118c9]{animation-delay:-.3s}.loading-11-inner .container-2[data-v-7fb118c9]{transform:rotate(45deg)}.loading-11-inner .container-2 .dot-1[data-v-7fb118c9]{animation-delay:-1.1s}.loading-11-inner .container-2 .dot-2[data-v-7fb118c9]{animation-delay:-.8s}.loading-11-inner .container-2 .dot-3[data-v-7fb118c9]{animation-delay:-.5s}.loading-11-inner .container-2 .dot-4[data-v-7fb118c9]{animation-delay:-.2s}.loading-11-inner .container-3[data-v-7fb118c9]{transform:rotate(90deg)}.loading-11-inner .container-3 .dot-1[data-v-7fb118c9]{animation-delay:-1s}.loading-11-inner .container-3 .dot-2[data-v-7fb118c9]{animation-delay:-.7s}.loading-11-inner .container-3 .dot-3[data-v-7fb118c9]{animation-delay:-.4s}.loading-11-inner .container-3 .dot-4[data-v-7fb118c9]{animation-delay:-.1s}@keyframes bouncedelay-7fb118c9{0%,80%,to{transform:scale(.3)}40%{transform:scale(1)}}
129
- `]],["__scopeId","data-v-7fb118c9"]]),Xx={key:0,class:"loading",style:{"margin-right":"6px"}},jn=Y({customOptions:{Loading11:as},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(n.borderColor),l=R(n.bgColor),i=R(n.fontColor),c=R(n.borderColor),u=R(n.bgColor);function f(m){switch(m){case"outline":s.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorGrayFF,i.value=n.fontColor??kt.colorPrimary,c.value=s.value,u.value=l.value;break;case"fullfilled":default:s.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorPrimary,i.value=n.fontColor??kt.colorGrayFF,c.value=s.value,u.value=l.value;break}}Pt(()=>n.stylePattern,()=>{f(n.stylePattern)},{immediate:!0});const d=R(n.disabled?"0.6":"1"),h=R(n.disabled?"not-allowed":"pointer");let p=!1;const w=()=>{n.disabled||(p=!0,s.value=_e(c.value).lighten(.05).toString(),l.value=_e(u.value).lighten(.05).toString())},x=()=>{n.disabled||(p=!1,s.value=c.value,l.value=u.value)},v=R(!1),y=Af(()=>{n.disabled||v.value||(s.value=_e(c.value).darken(.1).toString(),l.value=_e(u.value).darken(.1).toString(),setTimeout(()=>{p?w():x()},150),r("yz-click"),r("click"),n.asyncClick&&(v.value=!0,n.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},300);return t({el:a}),(m,_)=>(A(),F("div",{ref_key:"el",ref:a,class:"button",style:N([`opacity: ${d.value}`,`border: 1px solid ${s.value}`,`background-color: ${l.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${h.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:w,onMouseleave:x,onClick:_[0]||(_[0]=(...C)=>vt(y)&&vt(y)(...C))},[k("label",{class:"label truncate",style:N({padding:"0 "+m.padding,cursor:h.value,display:"inline-flex",justifyContent:"center",alignItems:"center"})},[v.value?(A(),F("div",Xx,[J(as,{color:i.value},null,8,["color"])])):yt("",!0),dt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(A(),ht(vo,{key:0,icon:m.icon,color:i.value,style:N({marginRight:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0),k("span",{style:N({cursor:h.value})},ut(m.label),5),m.icon&&m.iconPosition==="right"?(A(),ht(vo,{key:1,icon:m.icon,color:i.value,style:N({marginLeft:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Zx=["stroke","fill"],Gx=["stroke","fill"],Ux=["stroke"],ks=nt(Y({customOptions:{},__name:"BooleanBox.ce",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a=R(n.selected),s=R(n.disabled),l=R(n.label);const i=()=>{switch(n.colorChangeMode){case"only-foreground":return s.value?n.colorDisabled:n.colorBackground;case"reverse":default:return s.value?n.colorDisabled:a.value?n.colorForeground:n.colorBackground}},c=()=>s.value?n.colorDisabled:_e(i()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return s.value?n.colorBackground:n.colorForeground;case"reverse":default:return a.value?n.colorBackground:n.colorForeground}},f=()=>{s.value||(h(),r("change",a.value))},d=g=>{g!==a.value&&(a.value=g)},h=()=>{a.value=!a.value};return t({setValue:d,toggleValue:h,getValue:()=>a.value,enable:()=>{s.value=!1},disable:()=>{s.value=!0},setLabel:g=>{l.value=g}}),(g,y)=>(A(),F("div",{class:Ut(["boolean-box",vt(s)?"disabled":""]),onClick:f},[dt(g.$slots,"default",{selected:vt(a),disabled:vt(s),label:vt(l)},()=>[(A(),F("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(A(),F("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:i()},null,8,Zx)),n.isRounded?(A(),F("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:i()},null,8,Gx)):yt("",!0),vt(a)?(A(),F("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ux)):yt("",!0)],4)),g.label?(A(),F("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ut(g.label),5)):yt("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-79270ea2]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-79270ea2]{cursor:not-allowed}.icon[data-v-79270ea2]{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}
130
- `]],["__scopeId","data-v-79270ea2"]]),jx=["stroke","fill"],Hx=["stroke","fill"],Wx=["stroke"],qx=Y({customOptions:{},__name:"BooleanBox",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a=R(n.selected),s=R(n.disabled),l=R(n.label);const i=()=>{switch(n.colorChangeMode){case"only-foreground":return s.value?n.colorDisabled:n.colorBackground;case"reverse":default:return s.value?n.colorDisabled:a.value?n.colorForeground:n.colorBackground}},c=()=>s.value?n.colorDisabled:_e(i()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return s.value?n.colorBackground:n.colorForeground;case"reverse":default:return a.value?n.colorBackground:n.colorForeground}},f=()=>{s.value||(h(),r("change",a.value))},d=g=>{g!==a.value&&(a.value=g)},h=()=>{a.value=!a.value};return t({setValue:d,toggleValue:h,getValue:()=>a.value,enable:()=>{s.value=!1},disable:()=>{s.value=!0},setLabel:g=>{l.value=g}}),(g,y)=>(A(),F("div",{class:Ut(["boolean-box",vt(s)?"disabled":""]),onClick:f},[dt(g.$slots,"default",{selected:vt(a),disabled:vt(s),label:vt(l)},()=>[(A(),F("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(A(),F("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:i()},null,8,jx)),n.isRounded?(A(),F("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:i()},null,8,Hx)):yt("",!0),vt(a)?(A(),F("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Wx)):yt("",!0)],4)),g.label?(A(),F("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ut(g.label),5)):yt("",!0)],!0)],2))}}),dw="",nn=nt(qx,[["__scopeId","data-v-3df94794"]]),Fl=nt(Y({customOptions:{BooleanBox:nn},__name:"RadioGroup.ce",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t,r=R([]),a=(i,c)=>{i&&(r.value[c]=i)};let s=R(o.initIndex);const l=(i,c)=>{s.value!==i?(r.value[s.value].toggleValue(),c&&(s.value=i,n("change",o.options[s.value]))):c||r.value[s.value].setValue(!0)};return(i,c)=>(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?o.itemPadding:0)])},[J(nn,{ref_for:!0,ref:d=>a(d,f),selected:vt(s)==f,disabled:i.disabledIndexs&&i.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:o.isRounded,label:u,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:d=>l(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.radio-group[data-v-4793f58f]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
131
- `]],["__scopeId","data-v-4793f58f"]]),Ll=nt(Y({customOptions:{BooleanBox:nn},__name:"CheckboxGroup.ce",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;let r=jt(o.initIndexs??[]);const a=(s,l)=>{const i=r.findIndex(u=>u===s);let c=!1;i>=0&&!l?(r.splice(i,1),c=!0):i<0&&l&&(r.push(s),c=!0),c&&n("change",r.map(u=>o.options[u]))};return(s,l)=>(A(!0),F(zt,null,we(s.options,(i,c)=>(A(),F("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?o.itemPadding:0)])},[J(nn,{selected:vt(r).findIndex(u=>u===c)>=0,disabled:s.disabledIndexs&&s.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:o.isRounded,label:i,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:u=>a(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.checkbox-group[data-v-f267549e]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
132
- `]],["__scopeId","data-v-f267549e"]]),Wp=nt(Y({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"44px"},height:{default:"26px"},padding:{default:"3px"},colorPrimary:{default:"#5a82f0"},colorBgOn:{default:"#efefef"},colorBgOff:{default:"#f5f5f5"}},emits:["change"],setup(e,{emit:t}){const o=e,n=Fn(o.width),r=Fn(o.height),a=Fn(o.padding),s=r.number-a.number*2+r.suffix,l=o.padding,i=n.number-Fn(l).number-Fn(s).number+n.suffix,c=t,u=R(o.init);Pt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(A(),F("div",{class:"switch",onClick:f,style:N(["width: "+o.width,"height: "+o.height,"background-color: "+(u.value?o.colorBgOn:o.colorBgOff)])},[k("span",{class:"round",style:N(["width: "+s,"height: "+s,"background-color: "+(u.value?o.colorPrimary:vt(_e)(o.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?i:vt(l))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-fedd031c]{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-fedd031c]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
133
- `]],["__scopeId","data-v-fedd031c"]]),Kx=["onClick","value"],Qx={class:"option-inner"},qp=nt(Y({customOptions:{Icon:vo,Button:oe},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;fe(()=>{go(`
122
+ `,e.value)}),ue(()=>{}),(n,s)=>(I(),z("div",{class:"loading-7",ref_key:"loading7",ref:e},s[0]||(s[0]=[w("div",null,null,-1)]),512))}}),Ip=at(A2,[["styles",[`.loading-7[data-v-1689a97f]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-1689a97f]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-1689a97f]:before{content:"";width:100%;height:5px;box-sizing:border-box;background:#000;opacity:.1;position:absolute;top:calc(100% + 5px);left:0;border-radius:50%;animation:shadow-1689a97f .5s linear infinite}.loading-7>div[data-v-1689a97f]:after{content:"";width:100%;height:100%;animation:animate-1689a97f .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-1689a97f{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-1689a97f{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
123
+ `]],["__scopeId","data-v-1689a97f"]]),$2={class:"loading-8"},N2={viewBox:"25 25 50 50"},F2=X({__name:"Loading8.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",$2,[(I(),z("svg",N2,[w("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),ac=at(F2,[["styles",[`.loading-8[data-v-76be859d]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-8 svg[data-v-76be859d]{transform-origin:center;animation:rotate-76be859d 2s linear infinite;width:50%;aspect-ratio:1 / 1}.loading-8 circle[data-v-76be859d]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-76be859d 1.5s ease-in-out infinite}@keyframes rotate-76be859d{to{transform:rotate(360deg)}}@keyframes dash-76be859d{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
124
+ `]],["__scopeId","data-v-76be859d"]]),z2={class:"loading-9"},D2=X({__name:"Loading9.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={borderTopColor:o.color};return(n,s)=>(I(),z("div",z2,[w("div",{style:e})]))}}),Ap=at(D2,[["styles",[`.loading-9[data-v-73b7b3a1]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-9 div[data-v-73b7b3a1]{width:50%;aspect-ratio:1 / 1;border:3px solid rgba(0,0,0,.1);border-radius:50%;animation:spin-73b7b3a1 1s linear infinite}@keyframes spin-73b7b3a1{to{transform:rotate(360deg)}}
125
+ `]],["__scopeId","data-v-73b7b3a1"]]),M2={class:"loading-10"},L2={viewBox:"0 0 50 50"},B2=X({__name:"Loading10.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",M2,[(I(),z("svg",L2,[n[0]||(n[0]=w("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),w("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),$p=at(B2,[["styles",[`.loading-10[data-v-cacbaf2e]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-10 svg[data-v-cacbaf2e]{width:50%;aspect-ratio:1 / 1;transform-origin:center;animation:1.5s spin-cacbaf2e ease infinite}.ring[data-v-cacbaf2e]{fill:none;stroke-width:2}.ball[data-v-cacbaf2e]{stroke:none}@keyframes spin-cacbaf2e{to{transform:rotate(360deg)}}
126
+ `]],["__scopeId","data-v-cacbaf2e"]]),V2={class:"loading-11",ref:"loading11"},Y2={class:"container container-1"},X2={class:"container container-2"},Z2={class:"container container-3"},U2=X({__name:"Loading11.ce",props:{color:{default:Yt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),z("div",V2,[w("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[w("div",Y2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",X2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Z2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),ic=at(U2,[["styles",[`.loading-11[data-v-2b13c34d]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-11-inner[data-v-2b13c34d]{position:relative}.loading-11-inner .container[data-v-2b13c34d]{position:absolute;width:100%;height:100%}.loading-11-inner .container .dot[data-v-2b13c34d]{width:20%;height:20%;border-radius:100%;position:absolute;animation:bouncedelay-2b13c34d 1.2s infinite ease-in-out;animation-fill-mode:both}.loading-11-inner .container .dot-1[data-v-2b13c34d]{top:0;left:0}.loading-11-inner .container .dot-2[data-v-2b13c34d]{top:0;right:0}.loading-11-inner .container .dot-3[data-v-2b13c34d]{right:0;bottom:0}.loading-11-inner .container .dot-4[data-v-2b13c34d]{left:0;bottom:0}.loading-11-inner .container-1 .dot-2[data-v-2b13c34d]{animation-delay:-.9s}.loading-11-inner .container-1 .dot-3[data-v-2b13c34d]{animation-delay:-.6s}.loading-11-inner .container-1 .dot-4[data-v-2b13c34d]{animation-delay:-.3s}.loading-11-inner .container-2[data-v-2b13c34d]{transform:rotate(45deg)}.loading-11-inner .container-2 .dot-1[data-v-2b13c34d]{animation-delay:-1.1s}.loading-11-inner .container-2 .dot-2[data-v-2b13c34d]{animation-delay:-.8s}.loading-11-inner .container-2 .dot-3[data-v-2b13c34d]{animation-delay:-.5s}.loading-11-inner .container-2 .dot-4[data-v-2b13c34d]{animation-delay:-.2s}.loading-11-inner .container-3[data-v-2b13c34d]{transform:rotate(90deg)}.loading-11-inner .container-3 .dot-1[data-v-2b13c34d]{animation-delay:-1s}.loading-11-inner .container-3 .dot-2[data-v-2b13c34d]{animation-delay:-.7s}.loading-11-inner .container-3 .dot-3[data-v-2b13c34d]{animation-delay:-.4s}.loading-11-inner .container-3 .dot-4[data-v-2b13c34d]{animation-delay:-.1s}@keyframes bouncedelay-2b13c34d{0%,80%,to{transform:scale(.3)}40%{transform:scale(1)}}
127
+ `]],["__scopeId","data-v-2b13c34d"]]),G2={key:0,class:"loading",style:{"margin-right":"6px"}},lc=.05,cc=.1,Jn=X({customOptions:{Loading11:xa},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=Yt("--xg-blue","#5a82f0"),i=O(n.fontColor),l=O(n.borderColor),c=O(n.bgColor),u=O(i.value),f=O(l.value),d=O(c.value),h=O(n.bgColorStart||""),p=O(n.bgColorEnd||""),v=n.bgColorStart&&n.bgColorEnd;function k(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,v&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{k(n.stylePattern)},{immediate:!0});const x=O(n.disabled?"0.6":"1"),m=O(n.disabled?"not-allowed":"pointer");let g=!1;const y=()=>{n.disabled||(g=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(lc).toString()),l.value=Mt.set(f.value).darken(lc).toString(),v?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(lc).toString())},b=()=>{n.disabled||(g=!1,i.value=u.value,l.value=f.value,v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},_=O(!1),Y=ad(()=>{n.disabled||_.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(cc).toString()),l.value=Mt.set(f.value).darken(cc).toString(),v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(cc).toString(),setTimeout(()=>{g?y():b()},150),s("yz-click"),s("click"),n.asyncClick&&(_.value=!0,n.asyncClick().then(()=>{_.value=!1}).catch(()=>{_.value=!1})))},300);return t({el:r}),(B,D)=>(I(),z("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${x.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${m.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:b,onClick:D[0]||(D[0]=(...ut)=>Ot(Y)&&Ot(Y)(...ut))},[w("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:m.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[_.value?(I(),z("div",G2,[Q(xa,{color:i.value},null,8,["color"])])):yt("",!0),gt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),ht(Gn,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0),w("span",{style:N({cursor:m.value})},dt(B.label),5),B.icon&&B.iconPosition==="right"?(I(),ht(Gn,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),H2=["stroke","fill"],j2=["stroke","fill"],W2=["stroke"],La=at(X({customOptions:{},__name:"BooleanBox.ce",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=O(n.selected),a=O(n.disabled),i=O(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=m=>{m!==r.value&&(r.value=m)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:m=>{i.value=m}}),(m,g)=>(I(),z("div",{class:jt(["boolean-box",Ot(a)?"disabled":""]),onClick:f},[gt(m.$slots,"default",{selected:Ot(r),disabled:Ot(a),label:Ot(i)},()=>[(I(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,H2)),n.isRounded?(I(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,j2)):yt("",!0),Ot(r)?(I(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,W2)):yt("",!0)],4)),m.label?(I(),z("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},dt(m.label),5)):yt("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-3b6f7b07]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-3b6f7b07]{cursor:not-allowed}.icon[data-v-3b6f7b07]{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}
128
+ `]],["__scopeId","data-v-3b6f7b07"]]),q2=["stroke","fill"],K2=["stroke","fill"],Q2=["stroke"],J2=X({customOptions:{},__name:"BooleanBox",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=O(n.selected),a=O(n.disabled),i=O(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=m=>{m!==r.value&&(r.value=m)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:m=>{i.value=m}}),(m,g)=>(I(),z("div",{class:jt(["boolean-box",Ot(a)?"disabled":""]),onClick:f},[gt(m.$slots,"default",{selected:Ot(r),disabled:Ot(a),label:Ot(i)},()=>[(I(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,q2)),n.isRounded?(I(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,K2)):yt("",!0),Ot(r)?(I(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Q2)):yt("",!0)],4)),m.label?(I(),z("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},dt(m.label),5)):yt("",!0)],!0)],2))}}),v5="",sn=at(J2,[["__scopeId","data-v-4e49399c"]]),uc=at(X({customOptions:{BooleanBox:sn},__name:"RadioGroup.ce",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=O([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=O(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Q(sn,{ref_for:!0,ref:d=>r(d,f),selected:Ot(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.radio-group[data-v-4793f58f]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
129
+ `]],["__scopeId","data-v-4793f58f"]]),fc=at(X({customOptions:{BooleanBox:sn},__name:"CheckboxGroup.ce",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),z(Dt,null,Te(a.options,(l,c)=>(I(),z("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Q(sn,{selected:Ot(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.checkbox-group[data-v-f267549e]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
130
+ `]],["__scopeId","data-v-f267549e"]]),Np=at(X({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"44px"},height:{default:"26px"},padding:{default:"3px"},colorPrimary:{default:"#5a82f0"},colorBgOn:{default:"#efefef"},colorBgOff:{default:"#f5f5f5"}},emits:["change"],setup(o,{emit:t}){const e=o,n=Dn(e.width),s=Dn(e.height),r=Dn(e.padding),a=s.number-r.number*2+s.suffix,i=e.padding,l=n.number-Dn(i).number-Dn(a).number+n.suffix,c=t,u=O(e.init);Rt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(I(),z("div",{class:"switch",onClick:f,style:N(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[w("span",{class:"round",style:N(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Ot(Mt).set(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Ot(i))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-69e8e457]{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-69e8e457]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
131
+ `]],["__scopeId","data-v-69e8e457"]]),t3={class:"options",style:{border:"1px solid #cccccc"}},e3=["onClick","value"],o3={class:"option-inner"},Fp=at(X({customOptions:{Icon:Gn,Button:re},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;ye(()=>{bo(`
134
132
  :root {
135
- --select-option-bg-color: ${kt.colorGrayFF};
136
- --select-option-bg-color-hover: ${kt.colorGrayF5};
133
+ --select-option-bg-color: #ffffff;
134
+ --select-option-bg-color-hover: #f5f5f5;
137
135
  }
138
- `)});const r=R(!1),a=R(o.initIndex);Pt(a,function(){n("change",a.value,o.options[a.value])});function s(){r.value=!r.value}function l(i){a.value=i,r.value=!1}return(i,c)=>(A(),F("div",{class:"select",style:N(["font-size:"+i.fontSize])},[k("div",{onClick:s},[dt(i.$slots,"button",{selectedIndex:a.value},()=>[J(oe,{icon:"carbon:chevron-sort",iconPosition:"right",label:i.options[a.value],style:{width:"100%"}},null,8,["label"])],!0)]),g0(k("div",{class:"options",style:N({border:"1px solid "+vt(kt).colorGrayCC})},[(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{onClick:d=>l(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid "+vt(kt).colorGrayCC})},[k("div",Qx,[dt(i.$slots,"default",{item:u,index:f},()=>[k("span",null,ut(u),1),f==a.value?(A(),ht(vo,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,Kx))),128))],4),[[lf,r.value]])],4))}}),[["styles",[`.select[data-v-fa255391]{display:inline-block;position:relative}.options[data-v-fa255391]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-fa255391]{cursor:pointer}.option-inner[data-v-fa255391]{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-fa255391]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-fa255391]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
139
- `]],["__scopeId","data-v-fa255391"]]),Jx=["width","height"],t2=["fill"],ws=Y({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:kt.colorGrayCC}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height||t.width,style:{"transform-origin":"center"},fill:"none",xmlns:"http://www.w3.org/2000/svg"},[k("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,t2)],8,Jx))}}),e2={class:"button-default"},o2={class:"truncate"},n2=["onClick","value"],r2=Y({customOptions:{SVGDown:ws},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:kt.colorGrayFF},hoverColor:{default:kt.colorGrayF5},selectedColor:{default:kt.colorPrimary},fontColor:{default:kt.colorGray33},duration:{default:300}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;fe(()=>{go(`
136
+ `)});const s=O(!1),r=O(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(l){r.value=l,s.value=!1}return(l,c)=>(I(),z("div",{class:"select",style:N(["font-size:"+l.fontSize])},[w("div",{onClick:a},[gt(l.$slots,"button",{selectedIndex:r.value},()=>[Q(re,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[r.value],style:{width:"100%"}},null,8,["label"])],!0)]),eg(w("div",t3,[(I(!0),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{onClick:d=>i(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid #cccccc"})},[w("div",o3,[gt(l.$slots,"default",{item:u,index:f},()=>[w("span",null,dt(u),1),f==r.value?(I(),ht(Gn,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,e3))),128))],512),[[Ff,s.value]])],4))}}),[["styles",[`.select[data-v-b5769b65]{display:inline-block;position:relative}.options[data-v-b5769b65]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-b5769b65]{cursor:pointer}.option-inner[data-v-b5769b65]{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-b5769b65]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-b5769b65]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
137
+ `]],["__scopeId","data-v-b5769b65"]]),n3=["width","height"],s3=["fill"],Ba=X({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:"#cccccc"}},setup(o){const t=o;return(e,n)=>(I(),z("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height||t.width,style:{"transform-origin":"center"},fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,s3)],8,n3))}}),r3={class:"button-default"},a3={class:"truncate"},i3=["onClick","value"],l3=X({customOptions:{SVGDown:Ba},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:"#ffffff"},hoverColor:{default:"#f5f5f5"},selectedColor:{default:Yt("--xg-blue")},fontColor:{default:"#333333"},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;ye(()=>{bo(`
140
138
  :root {
141
- --select-option-bg-color: ${o.bgColor};
142
- --select-option-bg-color-hover: ${o.hoverColor};
139
+ --select-option-bg-color: ${e.bgColor};
140
+ --select-option-bg-color-hover: ${e.hoverColor};
143
141
  }
144
- `)});const r=R(!1),a=R(o.initIndex);Pt(a,function(){n("change",a.value,o.options[a.value])});function s(){r.value=!r.value}function l(c){a.value=c,r.value=!1}const i=R("rotate(-180deg)");return ki(()=>{i.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(A(),F("div",{class:"select-absolute",style:N({fontSize:o.fontSize,backgroundColor:o.bgColor})},[k("div",{class:"select-absolute-button",onClick:s},[dt(c.$slots,"button",{selectedIndex:a.value},()=>[k("div",e2,[k("div",o2,ut(c.options[a.value]),1),J(ws,{class:"icon-down",width:"20px",style:N({transition:`transform ${o.duration}ms ease-in-out`,transform:i.value})},null,8,["style"])])],!0)]),k("div",{class:"options",style:N({maxHeight:r.value?"200px":0,transition:`all ${o.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(A(!0),F(zt,null,we(c.options,(f,d)=>(A(),F("div",{onClick:h=>l(d),class:"option",key:d,value:d},[dt(c.$slots,"default",{item:f,index:d},()=>[k("div",{class:"option-default",style:N({color:a.value==d?o.selectedColor:o.fontColor})},ut(f),5)],!0)],8,n2))),128))],4)],4))}}),Kp=nt(r2,[["styles",[`.select-absolute[data-v-09b63393]{display:block;position:relative;width:100%}.select-absolute-button[data-v-09b63393]{overflow:hidden}.button-default[data-v-09b63393]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-09b63393]{flex:0 0 auto}.truncate[data-v-09b63393]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-09b63393]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-09b63393]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-09b63393]::-webkit-scrollbar:vertical{width:2px}.options[data-v-09b63393]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-09b63393]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-09b63393]{cursor:pointer}.option-default[data-v-09b63393]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-09b63393]:hover{background-color:var(--select-option-bg-color-hover)}
145
- `]],["__scopeId","data-v-09b63393"]]),a2=["width","height"],s2=["fill"],Qp=Y({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg",style:{"transform-origin":"center"}},[k("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,s2)],8,a2))}}),i2=Y({customOptions:{SVGDelete:Qp},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:kt.colorRed},fontColor:{default:kt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(!1),s=()=>{r("delete"),a.value=!1};let l;const i=R();return Pt(i,()=>{i.value&&(l=new Cn(i.value),l.on("panLeft",()=>{a.value=!0}),l.on("panRight",()=>{a.value=!1}),l.on("tapOutSide",()=>{a.value=!1}))}),re(()=>{l?.destroy()}),t({}),(c,u)=>(A(),F("div",{class:"parent",ref_key:"item",ref:i,style:N({borderRadius:n.borderRadius})},[k("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:a.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[dt(c.$slots,"default",{},void 0,!0)],4),k("div",{class:"delete",onClick:s,style:N({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:a.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[J(Qp,{color:n.fontColor},null,8,["color"])],4)],4))}}),Jp=nt(i2,[["styles",[`.parent[data-v-4042d51e]{position:relative;overflow:hidden;width:100%}.content[data-v-4042d51e]{width:100%;height:100%;overflow:hidden}.delete[data-v-4042d51e]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
146
- `]],["__scopeId","data-v-4042d51e"]]),l2={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},c2=Y({customOptions:{CSSAnimation:Un},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(e,{expose:t,emit:o}){const n=e;let r="";switch(n.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return n.color&&(r=n.color),t({}),(a,s)=>(A(),F("div",l2,[a.status==="processing"?(A(),ht(Un,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:at(()=>[k("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:vt(r)})},null,4)]),_:1})):yt("",!0),k("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:vt(r)})},null,4)]))}}),u2={class:"icon"},th=nt(Y({customOptions:{SVGWarn:is},inheritAttrs:!0,__name:"Text.ce",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(e,{expose:t}){const o=e,n=de(()=>o.type!=="none"),r=de(()=>o.type=="warn");return t({}),(a,s)=>(A(),F("div",{class:"text",style:N({color:o.color})},[k("div",u2,[dt(a.$slots,"icon",{},()=>[r.value?(A(),ht(is,{key:0})):yt("",!0)],!0)]),k("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[dt(a.$slots,"default",{},()=>[Vt(ut(o.text),1)],!0)],4)],4))}}),[["styles",[`.text[data-v-4d59217f]{display:flex;justify-content:flex-start;align-items:center;font-size:1em;line-height:1;max-width:100%}.icon[data-v-4d59217f]{font-size:0;flex:0 0 auto}.ellipsis[data-v-4d59217f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}
147
- `]],["__scopeId","data-v-4d59217f"]]),f2={class:"input"},d2={key:0,class:"error-prompt-top"},p2={key:0,style:{paddingLeft:"0.5em"}},h2={key:1},m2=["type","required"],g2={key:1,class:"error-prompt-bottom"},eh=nt(Y({customOptions:{Text:vl},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},required:{type:Boolean,default:!1},showError:{type:Boolean,default:!0},validator:{},defaultValue:{},height:{default:"44px"},type:{default:"text"},borderColor:{default:"#cccccc"},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input","error","yz-error"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=de(()=>n.placeholderType=="normal"),s=de(()=>n.placeholderType=="underline"),l=de(()=>n.placeholderType=="jump"),i=de(()=>n.placeholderType=="jump-each"),c=n.placeholder.split(""),u=n.duration/c.length,f=R(),d=R(!1),h=R(""),p=R(n.defaultValue||"");function w(){d.value=!0,r("focus"),r("yz-focus")}function x(){d.value=!1,r("blur"),r("yz-blur"),g()}function v(y){p.value=y.target.value,g()}function g(){if(p.value&&n.validator){const y=n.validator(p.value);if(!y.valid){h.value=y.errors[0],r("error",h.value),r("yz-error",h.value);return}}h.value="",p.value&&(r("input",p.value),r("yz-input",p.value))}return fe(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),re(()=>{}),t({}),(y,m)=>(A(),F("div",f2,[n.showError&&h.value&&!s.value?(A(),F("div",d2,[J(vl,{type:"warn",color:n.errorColor},{default:at(()=>[Vt(ut(h.value),1)]),_:1},8,["color"])])):yt("",!0),k("div",{class:Ut(["input-wrap",d.value||p.value?"focus":""])},[k("div",{class:"placeholder",style:N({lineHeight:d.value||p.value?1.3:n.height,color:n.placeholderColor,transition:a.value?"":n.duration+"ms",transform:a.value?"":d.value||p.value?"translateY(-100%)":"none"})},[!h.value&&a.value&&!d.value&&!p.value?(A(),F("div",p2,ut(n.placeholder),1)):yt("",!0),!h.value&&l.value?(A(),F("div",h2,ut(n.placeholder),1)):yt("",!0),!h.value&&i.value?(A(!0),F(zt,{key:2},we(vt(c),(_,C)=>(A(),F("span",{key:C,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*C}ms`,transform:d.value||p.value?`translateX(${100*C}%) translateY(-100%)`:`translateX(${100*C}%)`}),class:"single"},ut(_),5))),128)):yt("",!0)],4),k("input",{ref_key:"inputEl",ref:f,class:"input-raw",type:n.type,required:n.required,autocomplete:"off",style:N({height:n.height,lineHeight:n.height,color:n.fontColor,padding:s.value?"0.6em 0":"0.6em",border:`${s.value?"0":"1"}px solid transparent`,borderBottom:"1px solid transparent",borderRadius:s.value?"0":n.borderRadius,borderColor:h.value?n.errorColor:d.value?n.focusColor:p.value||a.value||s.value?n.borderColor:"transparent",transition:n.duration+"ms"}),onFocus:w,onBlur:x,onInput:v,onChange:v},null,44,m2),s.value?yt("",!0):(A(),F("div",{key:0,class:"background",style:N({transition:n.duration+"ms",backgroundColor:a.value||d.value||p.value?"transparent":n.borderColor,height:a.value||d.value||p.value?n.height:"2px",borderRadius:n.borderRadius})},null,4))],2),n.showError&&h.value&&s.value?(A(),F("div",g2,[J(vl,{type:"warn",color:n.errorColor},{default:at(()=>[Vt(ut(h.value),1)]),_:1},8,["color"])])):yt("",!0)]))}}),[["styles",[`.input[data-v-7b994853]{position:relative;box-sizing:border-box;font-size:1em}.error-prompt-top[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-bottom:.5em}.error-prompt-bottom[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-top:.5em}.input-wrap[data-v-7b994853]{position:relative;box-sizing:border-box}.input-raw[data-v-7b994853]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;z-index:10}.background[data-v-7b994853]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-7b994853]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus .placeholder[data-v-7b994853]{font-size:.75em}.placeholder>div[data-v-7b994853]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-7b994853]{position:absolute;left:0;top:0}
148
- `]],["__scopeId","data-v-7b994853"]]),y2=["max","min","step","value","autofocus"],v2={key:0,class:"label"},zl=nt(Y({customOptions:{},inheritAttrs:!0,__name:"InputRange.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(n.defaultValue),s=()=>Pe((a.value-n.min)/(n.max-n.min),4)*100,l=R(s());function i(f){a.value=Pe(f.target.value,2),l.value=s(),r("change",a.value)}const c=`
142
+ `)});const s=O(!1),r=O(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(c){r.value=c,s.value=!1}const l=O("rotate(-180deg)");return Fn(()=>{l.value=s.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(I(),z("div",{class:"select-absolute",style:N({fontSize:e.fontSize,backgroundColor:e.bgColor})},[w("div",{class:"select-absolute-button",onClick:a},[gt(c.$slots,"button",{selectedIndex:r.value},()=>[w("div",r3,[w("div",a3,dt(c.options[r.value]),1),Q(Ba,{class:"icon-down",width:"20px",style:N({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),w("div",{class:"options",style:N({maxHeight:s.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${s.value?1:0}px solid #e6e6e6`})},[(I(!0),z(Dt,null,Te(c.options,(f,d)=>(I(),z("div",{onClick:h=>i(d),class:"option",key:d,value:d},[gt(c.$slots,"default",{item:f,index:d},()=>[w("div",{class:"option-default",style:N({color:r.value==d?e.selectedColor:e.fontColor})},dt(f),5)],!0)],8,i3))),128))],4)],4))}}),zp=at(l3,[["styles",[`.select-absolute[data-v-d4388cc3]{display:block;position:relative;width:100%}.select-absolute-button[data-v-d4388cc3]{overflow:hidden}.button-default[data-v-d4388cc3]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-d4388cc3]{flex:0 0 auto}.truncate[data-v-d4388cc3]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-d4388cc3]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-d4388cc3]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-d4388cc3]::-webkit-scrollbar:vertical{width:2px}.options[data-v-d4388cc3]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-d4388cc3]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-d4388cc3]{cursor:pointer}.option-default[data-v-d4388cc3]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-d4388cc3]:hover{background-color:var(--select-option-bg-color-hover)}
143
+ `]],["__scopeId","data-v-d4388cc3"]]),c3={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{transformOrigin:"center",display:"inline-block",width:"100%",height:"100%"}},u3=["fill"],Dp=X({__name:"SVGDelete",props:{color:{default:Yt("--xg-blue","#5a82f0")}},setup(o){const t=o;return(e,n)=>(I(),z("svg",c3,[w("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,u3)]))}}),f3={style:{width:"38%"}},d3=X({customOptions:{SVGDelete:Dp},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:Yt("--xg-red","#fa503c")},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(!1),a=de(()=>Mt.set(n.deleteColor).opposite(!0).toString()),i=()=>{s("delete"),r.value=!1};function l(c){c.eb.on("panLeft",()=>{r.value=!0}),c.eb.on("panRight",()=>{r.value=!1}),c.eb.on("tapOutSide",()=>{r.value=!1})}return t({}),(c,u)=>(I(),ht(pt,{onReady:l,class:"slide-left-item",style:N({borderRadius:n.borderRadius})},{default:st(()=>[w("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[gt(c.$slots,"default",{},void 0,!0)],4),w("div",{class:"delete",onClick:i,style:N({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[w("div",f3,[Q(Dp,{color:a.value},null,8,["color"])])],4)]),_:3},8,["style"]))}}),Mp=at(d3,[["styles",[`.content[data-v-dc11c411]{width:100%;height:100%;overflow:hidden}.delete[data-v-dc11c411]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
144
+ `]],["__scopeId","data-v-dc11c411"]]),h3={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},p3=X({customOptions:{CSSAnimation:Qn},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const n=o;let s="";switch(n.status){case"wait":s="#d9d9d9";break;case"success":s="#52c41a";break;case"error":s="#ff4d4f";break;case"processing":default:s="#1677ff";break}return n.color&&(s=n.color),t({}),(r,a)=>(I(),z("div",h3,[r.status==="processing"?(I(),ht(Qn,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:st(()=>[w("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ot(s)})},null,4)]),_:1})):yt("",!0),w("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ot(s)})},null,4)]))}}),m3={class:"icon"},Lp=at(X({customOptions:{SVGWarn:tn},inheritAttrs:!0,__name:"Text.ce",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),z("div",{class:"text",style:N({color:e.color})},[w("div",m3,[gt(r.$slots,"icon",{},()=>[s.value?(I(),ht(tn,{key:0})):yt("",!0)],!0)]),w("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[gt(r.$slots,"default",{},()=>[Bt(dt(e.text),1)],!0)],4)],4))}}),[["styles",[`.text[data-v-4d59217f]{display:flex;justify-content:flex-start;align-items:center;font-size:1em;line-height:1;max-width:100%}.icon[data-v-4d59217f]{font-size:0;flex:0 0 auto}.ellipsis[data-v-4d59217f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}
145
+ `]],["__scopeId","data-v-4d59217f"]]),g3={class:"input"},y3={key:0,class:"error-prompt-top"},v3={key:0,style:{paddingLeft:"0.5em"}},b3={key:1},_3=["type","required"],x3={key:1,class:"error-prompt-bottom"},Bp=at(X({customOptions:{Text:Zl},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},required:{type:Boolean,default:!1},showError:{type:Boolean,default:!0},validator:{},defaultValue:{},height:{default:"44px"},type:{default:"text"},borderColor:{default:"#cccccc"},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input","error","yz-error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=de(()=>n.placeholderType=="normal"),a=de(()=>n.placeholderType=="underline"),i=de(()=>n.placeholderType=="jump"),l=de(()=>n.placeholderType=="jump-each"),c=n.placeholder.split(""),u=n.duration/c.length,f=O(),d=O(!1),h=O(""),p=O(n.defaultValue||"");function v(){d.value=!0,s("focus"),s("yz-focus")}function k(){d.value=!1,s("blur"),s("yz-blur"),m()}function x(g){p.value=g.target.value,m()}function m(){if(p.value&&n.validator){const g=n.validator(p.value);if(!g.valid){h.value=g.errors[0],s("error",h.value),s("yz-error",h.value);return}}h.value="",p.value&&(s("input",p.value),s("yz-input",p.value))}return ye(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),ue(()=>{}),t({}),(g,y)=>(I(),z("div",g3,[n.showError&&h.value&&!a.value?(I(),z("div",y3,[Q(Zl,{type:"warn",color:n.errorColor},{default:st(()=>[Bt(dt(h.value),1)]),_:1},8,["color"])])):yt("",!0),w("div",{class:jt(["input-wrap",d.value||p.value?"focus":""])},[w("div",{class:"placeholder",style:N({lineHeight:d.value||p.value?1.3:n.height,color:n.placeholderColor,transition:r.value?"":n.duration+"ms",transform:r.value?"":d.value||p.value?"translateY(-100%)":"none"})},[!h.value&&r.value&&!d.value&&!p.value?(I(),z("div",v3,dt(n.placeholder),1)):yt("",!0),!h.value&&i.value?(I(),z("div",b3,dt(n.placeholder),1)):yt("",!0),!h.value&&l.value?(I(!0),z(Dt,{key:2},Te(Ot(c),(b,_)=>(I(),z("span",{key:_,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*_}ms`,transform:d.value||p.value?`translateX(${100*_}%) translateY(-100%)`:`translateX(${100*_}%)`}),class:"single"},dt(b),5))),128)):yt("",!0)],4),w("input",{ref_key:"inputEl",ref:f,class:"input-raw",type:n.type,required:n.required,autocomplete:"off",style:N({height:n.height,lineHeight:n.height,color:n.fontColor,padding:a.value?"0.6em 0":"0.6em",border:`${a.value?"0":"1"}px solid transparent`,borderBottom:"1px solid transparent",borderRadius:a.value?"0":n.borderRadius,borderColor:h.value?n.errorColor:d.value?n.focusColor:p.value||r.value||a.value?n.borderColor:"transparent",transition:n.duration+"ms"}),onFocus:v,onBlur:k,onInput:x,onChange:x},null,44,_3),a.value?yt("",!0):(I(),z("div",{key:0,class:"background",style:N({transition:n.duration+"ms",backgroundColor:r.value||d.value||p.value?"transparent":n.borderColor,height:r.value||d.value||p.value?n.height:"2px",borderRadius:n.borderRadius})},null,4))],2),n.showError&&h.value&&a.value?(I(),z("div",x3,[Q(Zl,{type:"warn",color:n.errorColor},{default:st(()=>[Bt(dt(h.value),1)]),_:1},8,["color"])])):yt("",!0)]))}}),[["styles",[`.input[data-v-7b994853]{position:relative;box-sizing:border-box;font-size:1em}.error-prompt-top[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-bottom:.5em}.error-prompt-bottom[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-top:.5em}.input-wrap[data-v-7b994853]{position:relative;box-sizing:border-box}.input-raw[data-v-7b994853]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;z-index:10}.background[data-v-7b994853]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-7b994853]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus .placeholder[data-v-7b994853]{font-size:.75em}.placeholder>div[data-v-7b994853]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-7b994853]{position:absolute;left:0;top:0}
146
+ `]],["__scopeId","data-v-7b994853"]]),k3=["max","min","step","value","autofocus"],w3={key:0,class:"label"},dc=at(X({customOptions:{},inheritAttrs:!0,__name:"InputRange.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(n.defaultValue),a=()=>Re((r.value-n.min)/(n.max-n.min),4)*100,i=O(a());function l(f){r.value=Re(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
149
147
  :root {
150
148
  --input-range-color: ${n.color};
151
149
  --input-range-thumb-size: ${n.handleSize};
@@ -156,25 +154,25 @@ ${JSON.stringify($,null,2)}
156
154
  --input-range-thumb-size: ${n.handleSize};
157
155
  --input-range-track-size: ${n.barHeight};
158
156
  }
159
- `,u=R();return Pt(u,()=>{u.value&&go(c,u.value)}),re(()=>{}),t({}),(f,d)=>(A(),F("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[k("input",{type:"range",max:n.max,min:n.min,step:n.step,value:a.value,autofocus:n.autofocus,onInput:i,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${l.value}%, ${n.barColor} ${l.value}%, ${n.barColor})`})},null,44,y2),dt(f.$slots,"default",{value:a.value},()=>[f.showValue?(A(),F("label",v2,ut(a.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-d547a5f1]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-d547a5f1]{min-width:3em;text-align:right}input[type=range][data-v-d547a5f1]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-d547a5f1]:focus{outline:none}input[type=range][data-v-d547a5f1]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-d547a5f1]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:var(--input-range-thumb-size);width:var(--input-range-thumb-size);margin-top:-8px;background:var(--input-range-color);border-radius:50%;cursor:pointer}
160
- `]],["__scopeId","data-v-d547a5f1"]]),b2={key:0,class:"label"},_2=Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"InputRangeBox.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!1},bgColor:{default:Qo.inputColor},barColor:{default:Qo.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(n.defaultValue),s=()=>Pe(Oy(n.min,n.max,n.step)(a.value),2),l=()=>Pe((a.value-n.min)/(n.max-n.min),4)*100;a.value=s();const i=R(l()),c=R();function u(d){const h=async p=>{const w=await c.value.getSize();a.value=Pe(Sy(p,w.left,w.right,n.min,n.max),2),a.value=s(),i.value=l(),r("change",a.value)};d.captureDrag({start:p=>{h(p.clientX)},move:p=>{h(p.clientX)}})}const f=R();return fe(()=>{go(`
157
+ `,u=O();return Rt(u,()=>{u.value&&bo(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[w("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,k3),gt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),z("label",w3,dt(r.value)+dt(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-d547a5f1]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-d547a5f1]{min-width:3em;text-align:right}input[type=range][data-v-d547a5f1]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-d547a5f1]:focus{outline:none}input[type=range][data-v-d547a5f1]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-d547a5f1]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:var(--input-range-thumb-size);width:var(--input-range-thumb-size);margin-top:-8px;background:var(--input-range-color);border-radius:50%;cursor:pointer}
158
+ `]],["__scopeId","data-v-d547a5f1"]]),C3={key:0,class:"label"},Vp=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"InputRangeBox.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!1},bgColor:{default:"#2d2d2d"},barColor:{default:"#2FA1D6"},barHeight:{default:"20px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(n.defaultValue),a=()=>Re(h1(n.min,n.max,n.step)(r.value),2),i=()=>Re((r.value-n.min)/(n.max-n.min),4)*100;r.value=a();const l=O(i()),c=O();function u(d){const h=async p=>{const v=await c.value.getRect();r.value=Re(d1(p,v.left,v.right,n.min,n.max),2),r.value=a(),l.value=i(),s("change",r.value)};Cn(d,{start:p=>{h(p.clientX)},move:p=>{h(p.clientX)}})}const f=O();return ye(()=>{bo(`
161
159
  :root {
162
- --input-range-box-background-hover-color: ${_e(n.bgColor).lighten(.05).toString()};
163
- --input-range-box-foreground-hover-color: ${_e(n.barColor).lighten(.05).toString()};
160
+ --input-range-box-background-hover-color: ${Mt.set(n.bgColor).lighten(.05).toString()};
161
+ --input-range-box-foreground-hover-color: ${Mt.set(n.barColor).lighten(.05).toString()};
164
162
  }
165
163
  :host {
166
- --input-range-box-background-hover-color: ${_e(n.bgColor).lighten(.05).toString()};
167
- --input-range-box-foreground-hover-color: ${_e(n.barColor).lighten(.05).toString()};
164
+ --input-range-box-background-hover-color: ${Mt.set(n.bgColor).lighten(.05).toString()};
165
+ --input-range-box-foreground-hover-color: ${Mt.set(n.barColor).lighten(.05).toString()};
168
166
  }
169
- `,f.value)}),re(()=>{}),t({}),(d,h)=>(A(),F("div",{class:"input-range-box",ref_key:"r",ref:f},[k("div",{class:"box",style:N({height:n.barHeight,cursor:"ew-resize"})},[J(mt,{ref_key:"boxContainerRef",ref:c,type:"full",onReady:u},{default:at(()=>[k("div",{class:"background",style:N({backgroundColor:n.bgColor,width:"100%",height:"100%"})},null,4),k("div",{class:"foreground",style:N({backgroundColor:n.barColor,width:i.value+"%",height:"100%"})},null,4)]),_:1},512)],4),dt(d.$slots,"default",{value:a.value},()=>[d.showValue?(A(),F("label",b2,ut(a.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),oh=nt(_2,[["styles",[`.input-range-box[data-v-809fb595]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-809fb595]{min-width:3em;text-align:right}.box[data-v-809fb595]{flex:1 1 auto;position:relative}.foreground[data-v-809fb595]{position:absolute;left:0;top:0}.box:hover .background[data-v-809fb595]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-809fb595]{background-color:var(--input-range-box-foreground-hover-color)!important}
170
- `]],["__scopeId","data-v-809fb595"]]),nh=nt(Y({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(!1);return fe(()=>{wv(a.value,{onEnter:()=>{s.value=!0},onLeave:()=>{s.value=!1},onDrop:(l,i)=>{r("yz-drop",i),s.value=!1}})}),re(()=>{}),t({}),(l,i)=>(A(),F("div",{class:Ut(["input-file-drop",[s.value?"over":""]]),ref_key:"zone",ref:a},[dt(l.$slots,"default",{},()=>[Vt(ut(n.placeholder),1)],!0)],2))}}),[["styles",[`.input-file-drop[data-v-87bef8e6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-87bef8e6]{border-color:#000;color:#000}
171
- `]],["__scopeId","data-v-87bef8e6"]]),x2={class:"tabs"},k2=["onClick"],w2={class:"content"},rh=nt(Y({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(n.initIndex),s=jt([]),l=R(),i=R(0),c=R(0),u=R(0),f=R([]),d=[],h=D0(),p=h.default&&h.default();p&&(wr(s,p),v(a.value));const w=(y,m)=>{if(y){if(d.push({index:m,el:y}),d.length<s.length)return;f.value=d}};Pt([l,f],()=>{x()});function x(){if(l.value&&f.value.length){const y=l.value.getBoundingClientRect(),m=f.value[a.value].el.getBoundingClientRect();i.value=m.x-y.x,c.value=m.y-y.y+m.height-2,u.value=m.width}}function v(y){a.value=y,r("changedIndex",y),x(),g.value.goto(y)}const g=R();return Pt(g,()=>{g.value&&g.value.reset(n.pages,()=>{g.value.goto(n.initIndex)})}),t({}),(y,m)=>(A(),F("div",x2,[k("div",{class:"header",ref_key:"headerRef",ref:l},[(A(!0),F(zt,null,we(n.labels,(_,C)=>(A(),F("div",{key:_,class:Ut(C==a.value?"active":""),onClick:M=>v(C)},[k("div",{ref_for:!0,ref:M=>w(M,C)},ut(_),513)],10,k2))),128)),k("div",{class:"indicator",style:N({top:c.value+"px",left:i.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),k("div",w2,[J(Br,{ref_key:"routesRef",ref:g},null,512)])]))}}),[["styles",[`.tabs[data-v-50e63c9b]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-50e63c9b]{flex:1 1 auto}.header[data-v-50e63c9b]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-50e63c9b]{color:#5a82f0}.header>div[data-v-50e63c9b]{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;box-sizing:border-box}.header>div>div[data-v-50e63c9b]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-50e63c9b]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
172
- `]],["__scopeId","data-v-50e63c9b"]]),C2={class:"view-document"},T2=["src"],ah=nt(Y({inheritAttrs:!0,customOptions:{LayoutPage:Qe},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(e){const t=e,o=Np();nd(typeof o.params.title=="string"?o.params.title:t.title);const n=decodeURIComponent(typeof o.params.src=="string"?o.params.src:t.src);return(r,a)=>(A(),ht(Qe,null,{default:at(()=>[k("div",C2,[k("img",{class:"img",src:vt(n)},null,8,T2)])]),_:1}))}}),[["styles",[`.view-document[data-v-50989546]{box-sizing:border-box;width:100%;padding:15px}.img[data-v-50989546]{width:100%}
173
- `]],["__scopeId","data-v-50989546"]]),Cs=nt(Y({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:o}){const n=e,r=R(0);function a(s){r.value=Math.min(Math.max(0,s),100)}return t({goto:a}),(s,l)=>(A(),F("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[k("div",{class:"bar-inner",style:N({width:r.value+"%",backgroundColor:n.progressColor})},ut(n.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-3a3c124d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-3a3c124d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
174
- `]],["__scopeId","data-v-3a3c124d"]]),E2=Y({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:o}){const n=e,r=R(0);function a(s){r.value=Math.min(Math.max(0,s),100)}return t({goto:a}),(s,l)=>(A(),F("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[k("div",{class:"bar-inner",style:N({width:r.value+"%",backgroundColor:n.progressColor})},ut(n.showText?r.value+"%":""),5)],4))}}),zw="",Ts=nt(E2,[["__scopeId","data-v-6caeec52"]]),S2={class:"page-vertical-scroll-progress-bar"},sh=nt(Y({customOptions:{ProgressBar:Ts},inheritAttrs:!0,__name:"PageVerticalScrollProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#07B56D"},borderColor:{default:"transparent"},borderRadius:{default:"4px"},duringTimeGap:{default:1},showText:{type:Boolean,default:!1}},emits:["progress"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=Cv();return s.on(()=>{const l=$v();r("progress",l),a.value?.goto(l)}),re(()=>{s.destroy()}),t({}),(l,i)=>(A(),F("div",S2,[J(Ts,{ref_key:"bar",ref:a,bgColor:n.bgColor,progressColor:n.progressColor,borderColor:n.borderColor,borderRadius:n.borderRadius,duringTimeGap:n.duringTimeGap,showText:n.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-470566ed]{position:relative;overflow:hidden;width:100%;height:100%}
175
- `]],["__scopeId","data-v-470566ed"]]),O2=["width","height"],P2=["src","type"],R2={class:"video-progress-bar"},ih=nt(Y({customOptions:{ProgressBar:Ts},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a;function s(f){if(a){a.resume();return}a=new Ze({frameDuration:this.duration*1e3}),a.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),i.value?.goto(0)},onUpdate:d=>{i.value?.goto(d.x)},onComplete:()=>{r("complete"),a=null}}),a.play()}const l=R(),i=R();Pt(l,()=>{l.value&&(l.value.addEventListener("play",s),n.autoplay&&sl.tryAutoPlayOrAutoPlayAfterClick(l.value))}),re(()=>{l.value?.removeEventListener(s)});function c(){l.value?.play()}function u(){l.value?.pause(),a?.pause()}return t({play:c,pause:u}),(f,d)=>(A(),F("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[k("video",{ref_key:"video",ref:l,width:n.width,height:n.height,preload:"metadata"},[k("source",{src:n.src,type:n.type},null,8,P2)],8,O2),k("div",R2,[J(Ts,{ref_key:"bar",ref:i,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-986150b5]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-986150b5]{position:absolute;bottom:0;left:0;width:100%;height:6px}
176
- `]],["__scopeId","data-v-986150b5"]]),I2=Y({customOptions:{Overlay:Jo,Container:mt},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=new Ze({frameDuration:n.dur}),s=jt({position:"absolute",overflow:"hidden",opacity:"1"}),l=R(!1),i=R("full");Pt(()=>[n.directionFrom,n.popValue],()=>{a.clear();const w=!n.popValue,x=n.popValue?n.popValue:100,v=n.popValue?"px":"%";switch(n.directionFrom){case"left":s.height="100%",w?delete s.width:s.width=`${x}${v}`,s.top="0",s.bottom="0",delete s.right,a.addTween({left:x},{left:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.left=`-${g.left}${v}`},onComplete:f});break;case"right":s.height="100%",w?delete s.width:s.width=`${x}${v}`,s.top="0",s.bottom="0",delete s.left,a.addTween({right:x},{right:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.right=`-${g.right}${v}`},onComplete:f});break;case"top":s.width="100%",w?delete s.height:s.height=`${x}${v}`,s.left="0",s.right="0",delete s.bottom,a.addTween({top:x},{top:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.top=`-${g.top}${v}`},onComplete:f});break;case"bottom":s.width="100%",w?delete s.height:s.height=`${x}${v}`,s.left="0",s.right="0",delete s.top,a.addTween({bottom:x},{bottom:0},{easeFunction:st.Quadratic.Out,onUpdate(g){s.bottom=`-${g.bottom}${v}`},onComplete:f});break;case"center":delete s.width,delete s.height,s.left="50%",delete s.right,s.top="50%",delete s.bottom,a.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:st.Quadratic.Out,onUpdate(g){s.transform=`translate(-50%, -50%) scale(${g.scale})`,s.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":s.width=n.absoluteWidth,s.height=n.absoluteHeight,s.left=n.absoluteLeft,s.top=n.absoluteTop,delete s.right,delete s.bottom;break}switch(n.directionFrom){case"center":i.value="shrink",s.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete s.transform,delete s.opacity;break;default:i.value="full",delete s.transform,delete s.opacity;break}w&&(i.value="shrink")},{immediate:!0}),Pt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":s.left=n.absoluteLeft;break}}),Pt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":s.top=n.absoluteTop;break}}),Pt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":s.width=n.absoluteWidth;break}}),Pt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":s.height=n.absoluteHeight;break}});const c=(w,x,v)=>{r("resize",w,x,v)};let u="open";function f(){u=="open"?r("open"):(l.value=!1,r("close"))}function d(){l.value=!0,u="open",a.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:a.reverse();break}}function p(w){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";w.target&&qa(w.target,x)&&(n.closeWhenClickOverlay&&h(),r("clickOverlay"))}return t({open:d,close:h}),(w,x)=>(A(),ht(Jo,{visible:l.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:at(()=>[k("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:p},[J(mt,{class:"pop-content",type:i.value,style:N(s),onResize:c},{default:at(()=>[dt(w.$slots,"default",{},()=>[x[0]||(x[0]=k("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),A2={class:"pop-tel"},$2=["href"],lh=nt(Y({customOptions:{Pop:se},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(e,{expose:t,emit:o}){const n=R();function r(){n.value?.open()}function a(){n.value?.close()}return t({open:r,close:a}),(s,l)=>(A(),ht(se,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:at(()=>[k("div",A2,[k("div",null,ut(s.tel),1),k("a",{class:"pop-tel-call",onClick:a,href:`tel:${s.tel}`}," 呼叫 ",8,$2),k("div",{class:"pop-tel-cancel",onClick:a}," 取消 ")])]),_:1},512))}}),[["styles",[`.pop-tel[data-v-63653ca8]{background-color:#fff;color:#333;border-top-left-radius:8px;border-top-right-radius:8px}.pop-tel>div[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{display:block;height:64px;line-height:64px;font-size:18px;text-align:center}.pop-tel-cancel[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{border-top:1px solid #e6e6e6}.pop-tel>div[data-v-63653ca8]:nth-child(1){color:#999}.pop-tel-call[data-v-63653ca8]{color:#333;font-weight:700}.pop-tel-call[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]:link,.pop-tel-call[data-v-63653ca8]:visited,.pop-tel-call[data-v-63653ca8]:hover,.pop-tel-call[data-v-63653ca8]:active{-webkit-touch-callout:none;text-decoration:none}.pop-tel-call[data-v-63653ca8]:focus{outline:none}
177
- `]],["__scopeId","data-v-63653ca8"]]),ch=Y({customOptions:{Pop:se,Button:oe,Container:mt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(e,{expose:t}){const o=e,n=R();function r(){n.value.open()}function a(){n.value.close()}const s=R(),l=R(0),i=R(0),c=R(0),u=R(0),f=(d,h)=>{if(c.value=d,u.value=h,!s.value)return;const p=Ir(),w=s.value.getBoundingClientRect();l.value=Math.max(o.gap,Math.min(w.x+w.width+o.gap,p.width-d-o.gap)),i.value=Math.max(o.gap,Math.min(w.y,p.height-h-o.gap))};return t({open:r,close:a}),(d,h)=>(A(),F(zt,null,[k("div",{ref_key:"popoverButtonRef",ref:s,class:"popover-button",style:{display:"inline-block"},onClick:r},[dt(d.$slots,"button",{},()=>[J(oe,null,{default:at(()=>h[0]||(h[0]=[Vt("popover")])),_:1})])],512),J(se,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:o.isGlobal,closeWhenClickOverlay:o.closeWhenClickOverlay},{default:at(()=>[k("div",{style:N({position:"absolute",left:l.value+"px",top:i.value+"px",width:c.value+"px",height:u.value+"px"})},[J(mt,{type:"shrink",onResize:f},{default:at(()=>[dt(d.$slots,"panel",{},()=>[h[1]||(h[1]=k("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),uh=Y({customOptions:{Pop:se,Button:oe,Container:mt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(e,{expose:t}){const o=e,n=R();function r(){n.value.open()}function a(){n.value.close()}const s=R(),l=R(0),i=R(0),c=R(0),u=R(0),f=(d,h)=>{if(c.value=d,u.value=h,!s.value)return;const p=Ir(),w=s.value.getBoundingClientRect();l.value=Math.max(o.gap,Math.min(w.x+w.width+o.gap,p.width-d-o.gap)),i.value=Math.max(o.gap,Math.min(w.y,p.height-h-o.gap))};return t({open:r,close:a}),(d,h)=>(A(),F(zt,null,[k("div",{ref_key:"popoverButtonRef",ref:s,class:"popover-button",style:{display:"inline-block"},onClick:r},[dt(d.$slots,"button",{},()=>[J(oe,null,{default:at(()=>h[0]||(h[0]=[Vt("popover")])),_:1})])],512),J(se,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:o.isGlobal,closeWhenClickOverlay:o.closeWhenClickOverlay},{default:at(()=>[k("div",{style:N({position:"absolute",left:l.value+"px",top:i.value+"px",width:c.value+"px",height:u.value+"px"})},[J(mt,{type:"shrink",onResize:f},{default:at(()=>[dt(d.$slots,"panel",{},()=>[h[1]||(h[1]=k("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),N2={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},D2={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
167
+ `,f.value)}),ue(()=>{}),t({}),(d,h)=>(I(),z("div",{class:"input-range-box",ref_key:"r",ref:f},[w("div",{class:"box",style:N({height:n.barHeight,cursor:"ew-resize"})},[Q(pt,{ref_key:"boxContainerRef",ref:c,type:"full",onReady:u},{default:st(()=>[w("div",{class:"background",style:N({backgroundColor:n.bgColor,width:"100%",height:"100%"})},null,4),w("div",{class:"foreground",style:N({backgroundColor:n.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),gt(d.$slots,"default",{value:r.value},()=>[d.showValue?(I(),z("label",C3,dt(r.value)+dt(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range-box[data-v-02386ba8]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-02386ba8]{min-width:3em;text-align:right}.box[data-v-02386ba8]{flex:1 1 auto;position:relative}.foreground[data-v-02386ba8]{position:absolute;left:0;top:0}.box:hover .background[data-v-02386ba8]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-02386ba8]{background-color:var(--input-range-box-foreground-hover-color)!important}
168
+ `]],["__scopeId","data-v-02386ba8"]]),Yp=at(X({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(!1);return ye(()=>{uv(r.value,{onEnter:()=>{a.value=!0},onLeave:()=>{a.value=!1},onDrop:(i,l)=>{s("yz-drop",l),a.value=!1}})}),ue(()=>{}),t({}),(i,l)=>(I(),z("div",{class:jt(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:r},[gt(i.$slots,"default",{},()=>[Bt(dt(n.placeholder),1)],!0)],2))}}),[["styles",[`.input-file-drop[data-v-87bef8e6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-87bef8e6]{border-color:#000;color:#000}
169
+ `]],["__scopeId","data-v-87bef8e6"]]),T3={class:"tabs"},E3=["onClick"],S3={class:"content"},Xp=at(X({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(n.initIndex),a=Wt([]),i=O(),l=O(0),c=O(0),u=O(0),f=O([]),d=[],h=_g(),p=h.default&&h.default();p&&(Ps(a,p),x(r.value));const v=(g,y)=>{if(g){if(d.push({index:y,el:g}),d.length<a.length)return;f.value=d}};Rt([i,f],()=>{k()});function k(){if(i.value&&f.value.length){const g=i.value.getBoundingClientRect(),y=f.value[r.value].el.getBoundingClientRect();l.value=y.x-g.x,c.value=y.y-g.y+y.height-2,u.value=y.width}}function x(g){r.value=g,s("changedIndex",g),k(),m.value.goto(g)}const m=O();return Rt(m,()=>{m.value&&m.value.reset(n.pages,()=>{m.value.goto(n.initIndex)})}),t({}),(g,y)=>(I(),z("div",T3,[w("div",{class:"header",ref_key:"headerRef",ref:i},[(I(!0),z(Dt,null,Te(n.labels,(b,_)=>(I(),z("div",{key:b,class:jt(_==r.value?"active":""),onClick:$=>x(_)},[w("div",{ref_for:!0,ref:$=>v($,_)},dt(b),513)],10,E3))),128)),w("div",{class:"indicator",style:N({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),w("div",S3,[Q(js,{ref_key:"routesRef",ref:m},null,512)])]))}}),[["styles",[`.tabs[data-v-50e63c9b]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-50e63c9b]{flex:1 1 auto}.header[data-v-50e63c9b]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-50e63c9b]{color:#5a82f0}.header>div[data-v-50e63c9b]{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;box-sizing:border-box}.header>div>div[data-v-50e63c9b]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-50e63c9b]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
170
+ `]],["__scopeId","data-v-50e63c9b"]]),O3={class:"view-document"},P3=["src"],Zp=at(X({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=_p();Dd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),ht(to,null,{default:st(()=>[w("div",O3,[w("img",{class:"img",src:Ot(n)},null,8,P3)])]),_:1}))}}),[["styles",[`.view-document[data-v-50989546]{box-sizing:border-box;width:100%;padding:15px}.img[data-v-50989546]{width:100%}
171
+ `]],["__scopeId","data-v-50989546"]]),Va=at(X({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),z("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[w("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},dt(n.showText?s.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-3a3c124d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-3a3c124d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
172
+ `]],["__scopeId","data-v-3a3c124d"]]),R3=X({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),z("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[w("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},dt(n.showText?s.value+"%":""),5)],4))}}),U5="",Ya=at(R3,[["__scopeId","data-v-6caeec52"]]),I3={class:"page-vertical-scroll-progress-bar"},Up=at(X({customOptions:{ProgressBar:Ya},inheritAttrs:!0,__name:"PageVerticalScrollProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#07B56D"},borderColor:{default:"transparent"},borderRadius:{default:"4px"},duringTimeGap:{default:1},showText:{type:Boolean,default:!1}},emits:["progress"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=vv(()=>{const i=fv();s("progress",i),r.value?.goto(i)});return ue(()=>{a()}),t({}),(i,l)=>(I(),z("div",I3,[Q(Ya,{ref_key:"bar",ref:r,bgColor:n.bgColor,progressColor:n.progressColor,borderColor:n.borderColor,borderRadius:n.borderRadius,duringTimeGap:n.duringTimeGap,showText:n.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-2ef8b3bf]{position:relative;overflow:hidden;width:100%;height:100%}
173
+ `]],["__scopeId","data-v-2ef8b3bf"]]),A3=["width","height"],$3=["src","type"],N3={class:"video-progress-bar"},Gp=at(X({customOptions:{ProgressBar:Ya},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r;function a(f){if(r){r.resume();return}r=new Xe({frameDuration:this.duration*1e3}),r.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{s("start"),l.value?.goto(0)},onUpdate:d=>{l.value?.goto(d.x)},onComplete:()=>{s("complete"),r=null}}),r.play()}const i=O(),l=O();Rt(i,()=>{i.value&&(i.value.addEventListener("play",a),n.autoplay&&Rl.tryAutoPlayOrAutoPlayAfterClick(i.value))}),ue(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),r?.pause()}return t({play:c,pause:u}),(f,d)=>(I(),z("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[w("video",{ref_key:"video",ref:i,width:n.width,height:n.height,preload:"metadata"},[w("source",{src:n.src,type:n.type},null,8,$3)],8,A3),w("div",N3,[Q(Ya,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-986150b5]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-986150b5]{position:absolute;bottom:0;left:0;width:100%;height:6px}
174
+ `]],["__scopeId","data-v-986150b5"]]),F3=X({customOptions:{Overlay:Jo,Container:pt},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1"}),i=O(!1),l=O("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const v=!n.popValue,k=n.popValue?n.popValue:100,x=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:k},{left:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.left=`-${m.left}${x}`},onComplete:f});break;case"right":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:k},{right:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.right=`-${m.right}${x}`},onComplete:f});break;case"top":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:k},{top:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.top=`-${m.top}${x}`},onComplete:f});break;case"bottom":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:k},{bottom:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.bottom=`-${m.bottom}${x}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:it.Quadratic.Out,onUpdate(m){a.transform=`translate(-50%, -50%) scale(${m.scale})`,a.opacity=`${m.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}v&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=v=>{s("resize",v.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(v){const k=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";v.target&&da(v.target,k)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(v,k)=>(I(),ht(Jo,{visible:i.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[w("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Q(pt,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:st(()=>[gt(v.$slots,"default",{},()=>[k[0]||(k[0]=w("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),z3={class:"pop-tel"},D3=["href"],Hp=at(X({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=O();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),ht(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[w("div",z3,[w("div",null,dt(a.tel),1),w("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,D3),w("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),[["styles",[`.pop-tel[data-v-63653ca8]{background-color:#fff;color:#333;border-top-left-radius:8px;border-top-right-radius:8px}.pop-tel>div[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{display:block;height:64px;line-height:64px;font-size:18px;text-align:center}.pop-tel-cancel[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{border-top:1px solid #e6e6e6}.pop-tel>div[data-v-63653ca8]:nth-child(1){color:#999}.pop-tel-call[data-v-63653ca8]{color:#333;font-weight:700}.pop-tel-call[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]:link,.pop-tel-call[data-v-63653ca8]:visited,.pop-tel-call[data-v-63653ca8]:hover,.pop-tel-call[data-v-63653ca8]:active{-webkit-touch-callout:none;text-decoration:none}.pop-tel-call[data-v-63653ca8]:focus{outline:none}
175
+ `]],["__scopeId","data-v-63653ca8"]]),jp=X({customOptions:{Pop:le,Button:re,Container:pt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=O(),s=O(0),r=O(0),a=O(0),i=O(0),l=O();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Ds(),v=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(v.x+v.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(v.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),z(Dt,null,[w("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[gt(d.$slots,"button",{},()=>[Q(re,null,{default:st(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Q(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:st(()=>[w("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Q(pt,{type:"shrink",onReady:f,onUpdate:f},{default:st(()=>[gt(d.$slots,"panel",{},()=>[h[1]||(h[1]=w("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Wp=X({customOptions:{Pop:le,Button:re,Container:pt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=O(),s=O(0),r=O(0),a=O(0),i=O(0),l=O();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Ds(),v=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(v.x+v.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(v.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),z(Dt,null,[w("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[gt(d.$slots,"button",{},()=>[Q(re,null,{default:st(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Q(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:st(()=>[w("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Q(pt,{type:"shrink",onReady:f,onUpdate:f},{default:st(()=>[gt(d.$slots,"panel",{},()=>[h[1]||(h[1]=w("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),M3={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},L3={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
178
176
  to bottom,
179
177
  rgb(255, 0, 0) 0%,
180
178
  rgb(255, 0, 255) 17%,
@@ -183,56 +181,55 @@ ${JSON.stringify($,null,2)}
183
181
  rgb(0, 255, 0) 67%,
184
182
  rgb(255, 255, 0) 84%,
185
183
  rgb(255, 0, 0) 100%
186
- )`,"box-sizing":"border-box"}},F2=Y({customOptions:{Popover:uh,Container:mt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=new De(n.color),l=new De(n.color),i=R(s.toString()),c=R(s.opposite(!0).toString()),u=R(l.toString()),f=R(l.opposite(!0).toString()),d=R(l.h),h=R(s.s),p=R(s.v);function w(g){g&&(s.setColor(g),l.setColor(g)),i.value=s.toString(),c.value=s.opposite(!0).toString(),u.value=l.toString(),f.value=l.opposite(!0).toString(),d.value=l.h,h.value=s.s,p.value=s.v}const x=g=>{const y=(m,_)=>{l.h=(1-_.y/g.height)*360,s.h=l.h,w()};g.captureDrag({start:y,move:y})},v=g=>{const y=(m,_)=>{s.s=_.x/g.width,s.v=1-_.y/g.height,w()};g.captureDrag({start:y,move:y,end:()=>{r("change",i.value),a.value.close(),il(i.value).then(()=>{})}})};return t({setColor:w}),(g,y)=>(A(),ht(uh,{ref_key:"popover",ref:a,closeWhenClickOverlay:!1},{button:at(()=>[dt(g.$slots,"default",{},()=>[k("span",{style:N([{display:"inline-block","vertical-align":"middle","font-size":"1em",padding:"0.3em 0.8em","border-radius":"0.3em",cursor:"pointer",outline:"'none'","text-align":"'center'",border:"0"},{backgroundColor:i.value,color:c.value}])},ut(i.value),5)])]),panel:at(()=>[k("div",N2,[k("div",{class:"saturation-field",style:N([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
184
+ )`,"box-sizing":"border-box"}},B3=X({customOptions:{Popover:Wp,Container:pt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=new Ie(n.color),i=new Ie(n.color),l=O(""),c=O(""),u=O(""),f=O(""),d=O(0),h=O(0),p=O(0),v=O(0),k=O(0),x=O(0);function m(){l.value=a.toString(),c.value=Mt.set(a).opposite(!0).toString(),u.value=i.toString(),f.value=Mt.set(i).opposite(!0).toString();const b=i.getHSV(),_=a.getHSV();d.value=b.h,h.value=_.s,p.value=_.v,v.value=(1-d.value)*100,k.value=100*h.value-6,x.value=100*(1-p.value)-6}m();const g=b=>{const _=()=>{if(!b.mousePoint.isDown)return;const $=Vt(1-b.mousePoint.y/b.rect.height,0,1);i.setHSV($,h.value,p.value),a.setHSV($,h.value,p.value),m()};Cn(b,{start:_,move:_})},y=b=>{const _=()=>{b.mousePoint.isDown&&(a.setHSV(d.value,b.mousePoint.x/b.rect.width,1-b.mousePoint.y/b.rect.height),m())};Cn(b,{start:_,move:_,end:()=>{s("change",l.value),r.value.close(),Il(l.value).then(()=>{})}})};return t({}),(b,_)=>(I(),ht(Wp,{ref_key:"popover",ref:r,closeWhenClickOverlay:!1},{button:st(()=>[gt(b.$slots,"default",{},()=>[w("span",{style:N([{display:"inline-block","vertical-align":"middle","font-size":"1em",padding:"0.3em 0.8em","border-radius":"0.3em",cursor:"pointer",outline:"'none'","text-align":"'center'",border:"0"},{backgroundColor:l.value,color:c.value}])},dt(l.value),5)])]),panel:st(()=>[w("div",M3,[w("div",{class:"saturation-field",style:N([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
187
185
  to right,
188
186
  rgb(255, 255, 255) 0%,
189
187
  ${u.value} 100%
190
- )`}])},[J(mt,{type:"full",onReady:v},{default:at(()=>[y[0]||(y[0]=k("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
188
+ )`}])},[Q(pt,{type:"full",onReady:y},{default:st(()=>[_[0]||(_[0]=w("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
191
189
  to bottom,
192
190
  rgba(0, 0, 0, 0) 0%,
193
191
  rgb(0, 0, 0) 100%
194
- )`,"box-sizing":"border-box"}},null,-1)),k("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:100*h.value-6+"px",top:100*(1-p.value)-6+"px",backgroundColor:i.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),k("div",D2,[J(mt,{type:"full",onReady:x},{default:at(()=>[k("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:(1-d.value/360)*100+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),L2={class:"dialog-parent"},z2={key:0,class:"title"},M2={key:0,class:"title-inner truncate"},B2={class:"custom-content"},Y2={class:"custom-content-default"},V2={key:1,class:"btns"},Es=nt(Y({customOptions:{Overlay:Jo,Pop:se,Icon:vo,Button:oe},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(""),l=R(""),i=R(!1),c=R(""),u=R("");let f,d,h;const p=()=>{r("open")},w=()=>{f?.(),r("close")};function x(m){s.value=m?.title||"",l.value=m?.content||"",i.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,h=m?.onConfirm,a.value.open()}function v(){a.value.close()}function g(){v(),d?.(),r("cancel")}function y(){v(),h?.(),r("confirm")}return t({open:x,close:v}),(m,_)=>(A(),ht(se,{ref_key:"popRef",ref:a,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:p,onClose:w},{default:at(()=>[k("div",L2,[k("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[s.value||i.value?(A(),F("div",z2,[s.value?(A(),F("div",M2,ut(s.value),1)):yt("",!0),i.value?(A(),F("div",{key:1,class:"close",onClick:v},[J(vo,{icon:"ic:baseline-close",color:vt(kt).colorGrayCC},null,8,["color"])])):yt("",!0)])):yt("",!0),k("div",B2,[dt(m.$slots,"default",{},()=>[k("div",Y2,ut(l.value),1)],!0)]),c.value||u.value?(A(),F("div",V2,[c.value?(A(),ht(oe,{key:0,onClick:g,class:"btn",bgColor:vt(kt).colorGrayE6,borderColor:vt(kt).colorGrayE6,fontColor:vt(kt).colorGray33,borderRadius:"0"},{default:at(()=>[Vt(ut(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):yt("",!0),u.value?(A(),ht(oe,{key:1,onClick:y,class:"btn",borderRadius:"0"},{default:at(()=>[Vt(ut(u.value),1)]),_:1})):yt("",!0)])):yt("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-061fc404]{display:flex;justify-content:center;align-items:center}.dialog[data-v-061fc404]{border-radius:8px;background-color:#fff;overflow:hidden}.title[data-v-061fc404]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-061fc404]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-061fc404]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em;text-align:center}.custom-content[data-v-061fc404]{font-size:16px;word-break:break-all}.custom-content-default[data-v-061fc404]{padding:1em}.btns[data-v-061fc404]{display:flex;justify-content:center}.btn[data-v-061fc404]{flex:1 1 auto;border-radius:0}
195
- `]],["__scopeId","data-v-061fc404"]]),X2={class:"loading"},Z2={class:"icon"},G2={style:{width:"8em"}},U2={key:0,class:"content"},fh=nt(Y({customOptions:{Overlay:Jo,Pop:se,Dialog:ss,Loading8:Vd},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(""),l=()=>{r("open")},i=()=>{r("close")};function c(f){s.value=f||"",a.value.open()}function u(){a.value.close()}return t({open:c,close:u}),(f,d)=>(A(),ht(ss,{ref_key:"dialogRef",ref:a,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:l,onClose:i},{default:at(()=>[k("div",X2,[k("div",Z2,[dt(f.$slots,"default",{},()=>[k("div",G2,[J(Vd)])],!0)]),s.value?(A(),F("div",U2,ut(s.value),1)):yt("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-2227dca8]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-2227dca8]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-2227dca8]{font-size:1em;margin-top:-1em;margin-bottom:1em}
196
- `]],["__scopeId","data-v-2227dca8"]]),j2={class:"toast"},H2={class:"content"},dh=nt(Y({customOptions:{Overlay:Jo,Pop:se,Dialog:ss},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(""),l=()=>{r("open")},i=()=>{r("close")};function c(f,d=1500){s.value=f,a.value.open(),setTimeout(()=>{u()},d)}function u(){a.value.close()}return t({open:c,close:u}),(f,d)=>(A(),ht(ss,{ref_key:"dialogRef",ref:a,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:l,onClose:i},{default:at(()=>[k("div",j2,[k("div",H2,ut(s.value),1)])]),_:1},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.toast[data-v-c02c226c]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#333;color:#ccc;padding:1em}.content[data-v-c02c226c]{font-size:1em}
197
- `]],["__scopeId","data-v-c02c226c"]]),W2=Y({customOptions:{Container:mt,CSSAnimation:Un},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:st.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=jt({}),l=()=>{r("ready",C,M)},i=()=>{w()},c=R();let u="rotateRightSideFirst",f=n.effect;function d(X,G){switch(f){case"static":G();break;default:X();break}}let h=!1;const p=new Ze,w=()=>{const X={},G={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(X,G,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{r(h?"pageCloseStart":"pageOpenStart")},onUpdate:V=>{s.transform="","x"in V&&(s.transform+=` translateX(${V.x}%)`),"y"in V&&(s.transform+=` translateY(${V.y}%)`),"rx"in V&&(s.transform+=` rotateX(${V.rx}deg)`),"ry"in V&&(s.transform+=` rotateY(${V.ry}deg)`),"scale"in V&&(s.transform+=` scale(${V.scale})`),"opacity"in V&&(s.opacity=`${V.opacity}`)},onComplete:()=>{r(h?"pageCloseEnd":"pageOpenEnd")}})})};Pt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,w()},{immediate:!0});const x=()=>{r(h?"pageCloseStart":"pageOpenStart")},v=()=>{r(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},y=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},m=()=>{s.transform="none",s.opacity="1"};function _(){d(()=>{m()},()=>{c.value?.clear()})}const C=X=>{X&&(f=X,w()),h=!1,_(),g()},M=X=>{X&&(f=X,w()),h=!0,_(),y()};return t({open:C,close:M,clear:m,getElement:()=>a.value.getElement()}),(X,G)=>(A(),ht(mt,{class:"page",ref_key:"pageRef",ref:a,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:l,onResize:i},{default:at(()=>[J(Un,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:v},{default:at(()=>[k("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...s})},[dt(X.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),ph=Y({customOptions:{Page:ms,Container:mt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:st.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let a=-1,s=-1,l;const i=[];let c=[],u=[],f=[];function d(tt){return tt>=0&&tt<c.length}function h(){return s>a}function p(tt,I,te){switch(tt){case a:return h()?I:te;case s:return h()?te:I;default:return"static"}}function w(tt,I){switch(tt){case"moveToLeft":return p(I,"moveToLeft","moveFromRight");case"moveToRight":return p(I,"moveToRight","moveFromLeft");case"moveToTop":return p(I,"moveToTop","moveFromBottom");case"moveToBottom":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(I,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(I,"fade","moveFromRight");case"moveFromTopPrevFade":return p(I,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(I,"fade","moveFromBottom");case"moveToLeftFade":return p(I,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(I,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(I,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(I,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(I,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(I,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(I,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(I,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(I,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(I,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(I,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(I,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(I,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(I,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(I,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(I,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(I,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(I,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(I,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(I,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(I,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(I,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(I,"flipOutLeft","flipInRight");case"flipToRight":return p(I,"flipOutRight","flipInLeft");case"flipToTop":return p(I,"flipOutTop","flipInBottom");case"flipToBottom":return p(I,"flipOutBottom","flipInTop");case"rotateFall":return p(I,"rotateFall","scaleFromSmall");case"newspaper":return p(I,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(I,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(I,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(I,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(I,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(I,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(I,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(I,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(I,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(I,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(I,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(I,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(I,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(I,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(I,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(I,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(I,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(I,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(I,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(I,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(I,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(I,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(I,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(I,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(I,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(I,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(I,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(I,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(I,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(I,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(I,"rotateSlideOut","rotateSlideIn")}}function x(tt,I=600,te=600){switch(tt){case a:return I;case s:return te;default:return n.duration}}function v(tt,I){switch(tt){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(I,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(I,700,600);case"scaleSmall":return x(I,700,500);case"scaleLarge":return x(I,500,700);case"scaleToLargePrevScaleToSmall":return x(I,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(I,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(I,800,600);default:return n.duration}}let g=n.timingFunction;function y(tt){switch(tt){default:return n.easeFunction}}function m(tt,I){switch(tt){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(I){case a:g=h()?"ease-in-out":"ease";break;case s:default:g=h()?"ease":"ease-in-out"}return y(I);default:return g=n.timingFunction,n.easeFunction}}function _(tt,I=300){switch(tt){case s:return n.delay+I;default:return n.delay}}function C(tt,I){switch(tt){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(I,500);case"scaleSmall":case"scaleLarge":return _(I,300);case"scaleToLargePrevScaleToSmall":return _(I,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(I,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(I,180);default:return n.delay}}let M=2,X=2;const G=()=>{M=2,X=2},V=()=>{M=2,X=3},pt=()=>{M=3,X=2};function K(tt){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":pt();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?pt():V();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?V():pt();break;default:G();break}d(a)&&a==tt&&(f[a].style.zIndex=`${M}`,f[a].style.visibility="visible"),d(s)&&s==tt&&(f[s].style.zIndex=`${X}`,f[s].style.visibility="visible")}function lt(tt){V(),tt==a&&(f[a].style.zIndex=`${M}`,f[a].style.visibility="hidden"),tt==s&&(f[s].style.zIndex=`${X}`,f[s].style.visibility="visible",i.shift()?.(),r("routeChangeEnd",a,s,c.length),a=s)}const gt=R();function wt(tt=0,I=!1){if(!gt.value)return;let te=0;Ra(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,D)=>{const et=w(n.effect,D);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:a==D?"visible":"hidden",zIndex:I?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(ms,{effect:et,duration:v(n.effect,D),easeFunction:m(n.effect,D),timingFunction:g,delay:C(n.effect,D),onReady:(U,$)=>{u[D]={open:U,close:$},++te==tt&&(l?.(),r("renderComplete"))},onPageOpenStart:()=>{K(D)},onPageOpenEnd:()=>{lt(D)},onPageCloseStart:()=>{K(D)},onPageCloseEnd:()=>{lt(D)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Pt(()=>n.effect,()=>{wt()});function Mt(tt=[]){c=[...tt],c.forEach(I=>{I.pageKey=I.pageKey||Dn()}),l=()=>{a=-1,Bt(0)},wt(c.length,!0)}function Et(tt){tt.pageKey=tt.pageKey||Dn(),c.push(tt),l=()=>{Bt(c.length-1)},wt(1,c.length==1)}function St(){c.length<=1||Bt(c.length-2,()=>{c.splice(c.length-1,1),a=c.length-1,wt()})}function ue(){Bt(a+1)}function Re(){Bt(a-1)}const Te=new Na(1);function Bt(tt,I){Te.addTask(()=>new Promise(te=>{const Nt=()=>{I?.(),te()};if(!d(tt)){Nt();return}if(s=tt,s==a){Nt();return}i.push(Nt),wt(),r("routeChangeStart",a,s,c.length),h()?(d(a)&&u[a].open(),d(s)&&u[s].open()):(d(a)&&u[a].close(),d(s)&&u[s].close())}))}return t({reset:Mt,push:Et,pop:St,forward:ue,back:Re,goto:Bt,currentPageIndex:()=>a,totalPages:()=>c.length}),(tt,I)=>(A(),F("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),q2=["src"],Ml=nt(Y({name:"Image",customOptions:{Container:mt,Pop:se},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=new Ze({frameDuration:n.dur}),s=R(0),l=R(0),i=R(0),c=R(0),u=R(0),f=R(0),d=R(0),h=R(0),p=R(!0),w=R(0),x=R(0);fd(n.src).then(lt=>{w.value=lt.width,x.value=lt.height,C()}).catch(()=>{p.value=!1});const v=R(0),g=R(0),y=(lt,gt)=>{v.value=lt,g.value=gt,C()},m=R(0),_=R(0);function C(){if(!v.value||!g.value||!w.value||!x.value)return;const lt=Ha(n.mode,w.value,x.value,v.value,g.value);m.value=lt.width,_.value=lt.height;const{width:gt,height:wt}=Ir(),Mt=Ha("aspectFit",w.value,x.value,gt,wt);d.value=Mt.width,h.value=Mt.height,u.value=(gt-d.value)/2,f.value=(wt-h.value)/2}const M=(lt,gt,wt)=>{r("settled",wt.x,wt.y,wt.width,wt.height)};let X=!1;const G=R(),V=R();async function pt(){if(!n.openImageDetailWhenClick)return;const lt=await G.value.getSize();a.clear(),a.addTween({left:lt.x,top:lt.y,width:lt.width,height:lt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:st.Quadratic.Out,onUpdate(gt){s.value=gt.left,l.value=gt.top,i.value=gt.width,c.value=gt.height},onComplete(){X&&V.value.close(),X=!X}}),X||(V.value.open(),a.play())}function K(){X&&a.reverse()}return t({}),(lt,gt)=>(A(),ht(mt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onResize:y,onClick:pt},{default:at(()=>[p.value?(A(),ht(mt,{key:0,class:"image-inner",ref_key:"imageRef",ref:G,type:"shrink",style:N({width:m.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${m.value}px ${_.value}px`}),onResize:M},null,8,["style"])):yt("",!0),p.value?yt("",!0):(A(),ht(mt,{key:1,type:"shrink"},{default:at(()=>[k("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,q2)]),_:1})),J(se,{ref_key:"popRef",ref:V,"direction-from":"absolute","absolute-left":`${s.value}px`,"absolute-top":`${l.value}px`,"absolute-width":`${i.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:K},{default:at(()=>[k("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-44b67b7c]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-44b67b7c],.image-pop[data-v-44b67b7c]{background-repeat:no-repeat;background-position:center center}
198
- `]],["__scopeId","data-v-44b67b7c"]]),K2={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},hh=Y({customOptions:{Image:gs,Container:mt,Routes:Br},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(e,{expose:t,emit:o}){const n=e,r=R(0);function a(d,h){r.value=h}const s=R(),l=d=>{d.on("panLeft",()=>{s.value?.forward()}),d.on("panRight",()=>{s.value?.back()}),s.value.reset(n.urls.map(h=>({component:Xt(gs,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},i=R();function c(){i.value?.open()}function u(){i.value?.close()}const f=d=>{d.target&&qa(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(A(),ht(se,{ref_key:"popRef",ref:i,directionFrom:"absolute",onClick:f},{default:at(()=>[n.urls.length>1?(A(),F("div",K2,ut(r.value+1)+" / "+ut(n.urls.length),1)):yt("",!0),J(mt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:l},{default:at(()=>[J(Br,{ref_key:"routesRef",ref:s,effect:n.effect,onRouteChangeEnd:a},null,8,["effect"])]),_:1})]),_:1},512))}}),mh=nt(Y({customOptions:{Container:mt,SVGDown:ws},inheritAttrs:!0,__name:"Accordion.ce",props:{initOpen:{type:Boolean,default:!1},titleHeight:{default:"44px"},bgColor:{default:"#efefef"},fontColor:{default:"#333333"},borderColor:{default:"#dddddd"},borderRadius:{default:"4px"},padding:{default:"1em"},duration:{default:500}},emits:["open","close","resize"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=(f,d)=>{r("resize",f,d)},s=R(),l=R(Number.MAX_SAFE_INTEGER+"px"),i=R(!0);fe(()=>{ia(()=>{l.value=s.value.getBoundingClientRect().height+"px",i.value=n.initOpen})});function c(){i.value=!i.value,i.value?r("open"):r("close")}const u=R(0);return ki(()=>{u.value=i.value?0:-90}),t({}),(f,d)=>(A(),ht(mt,{onResize:a},{default:at(()=>[k("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[k("div",{class:"accordion-title",onClick:c,style:N({height:n.titleHeight,lineHeight:n.titleHeight,margin:`0 ${n.padding}`,transitionDelay:`${i.value?0:n.duration}ms`,borderBottom:`${i.value?1:0}px solid ${n.borderColor}`})},[dt(f.$slots,"title",{},()=>[d[0]||(d[0]=Vt("title"))],!0),J(ws,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),k("div",{class:"accordion-content",ref_key:"content",ref:s,style:N({margin:`0 ${n.padding}`,transition:`max-height ${n.duration}ms ease-in-out`,maxHeight:i.value?l.value:"0"})},[dt(f.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-a023bf3b]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-a023bf3b]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-a023bf3b]{word-break:break-all;overflow:hidden}
199
- `]],["__scopeId","data-v-a023bf3b"]]),Q2=`.resize-observer[data-v-16da9fc4]{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-16da9fc4] object{position:absolute;top:0;left:0;height:100%;width:100%;display:block;overflow:hidden;pointer-events:none;z-index:-1}
200
- `,J2={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",Zi&&this.$el.appendChild(e),e.data="about:blank",Zi||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&&(!Zi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},tk={class:"resize-observer",tabindex:"-1"};function ek(e,t,o,n,r,a){return A(),F("div",tk)}const gh=nt(J2,[["render",ek],["styles",[Q2]],["__scopeId","data-v-16da9fc4"]]),yh=nt(Y({__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:o}){const n=e,r=R(n.mapWidth),a=R(n.mapHeight);let s;const l=R();return Pt(l,()=>{l.value&&(s=new Cn(l.value,!1),s.on("resize",(i,c)=>{r.value=i+"px",a.value=c+"px"}),s.start())}),fe(()=>{Lv(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new Vv(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(i=>{console.log("error",i)})}),re(()=>{s.destroy()}),t({}),(i,c)=>(A(),F("div",Bu({class:"mapDivWrap",ref_key:"mapWrap",ref:l},i.$attrs),[dt(i.$slots,"default",{width:r.value,height:a.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-24e42cfa]{position:relative;width:100%;height:100%}
201
- `]],["__scopeId","data-v-24e42cfa"]]),ok=["width","height"],nk=Y({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:o}){const n=e;let r=()=>{};const a=R();return Pt(a,()=>{if(!a.value)return;const s=new Cn(a.value),l=new yd(s,!0);l.ctx.strokeStyle=n.brushColor,l.ctx.lineWidth=n.brushSize,l.drawMouseMoveLine("line"),r=()=>{wn.downloadFromSVGString(l.ctx.toRawSVG().raw,n.downloadFileName)}}),t({download:()=>r()}),(s,l)=>(A(),F("canvas",{ref_key:"panelRef",ref:a,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${s.borderColor}`])},null,12,ok))}}),rk=["data-number"],ak=["data-number","data-unactive"],sk=["data-number"],ik=["data-number","data-unactive"],vh=nt(Y({customOptions:{Pop:se,SVGCleanUp:bl,Container:mt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates","resize"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R("0px");let s;fe(()=>{s=rl.onBottom(_=>{a.value=_})}),re(()=>{s?.()});const l=["","","津","","","","辽","","","","甘","","","宁","豫","鲁","","","","湘","","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],i=["1","2","3","4","5","6","7","8","9","0"],c=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],u=["港","澳","学","警","使","领","挂","应","急"],f=R(),d=R(0),h=jt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&g()}Pt(()=>[...n.initPlates],()=>{wr(h,n.initPlates),p()},{immediate:!0});const w=R(0),x=(_,C,M)=>{w.value=C,r("resize",_,C,M)},v=()=>{f.value.open(),r("open")},g=()=>{f.value.close(),r("close")},y=()=>{h.pop(),p(),r("plates",h)},m=_=>{if(_.target.dataset.unactive||"")return;let M=_.target.dataset.number;M&&(h.push(M),p(),r("plates",h))};return t({open:v,close:g}),(_,C)=>(A(),ht(se,{ref_key:"popRef",ref:f,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:w.value},{default:at(()=>[J(mt,{class:"popup-plate",onResize:x,style:N({paddingbottom:a.value})},{default:at(()=>[k("div",null,[k("div",{onClick:g},"关闭")]),k("div",{class:Ut(["step",d.value==0?"":"hide"])},[(A(),F(zt,null,we(l,M=>k("div",{key:M,class:"popitem",onClick:m,"data-number":M},ut(M),9,rk)),64)),k("div",{class:"popitem popitem-clear",onClick:y},[J(bl,{width:"16px"})])],2),k("div",{class:Ut(["step",d.value!=0?"":"hide"])},[(A(),F(zt,null,we(i,M=>k("div",{key:M,class:Ut(["popitem",d.value!=2?"unactive":""]),onClick:m,"data-number":M,"data-unactive":d.value!=2?"unactive":""},ut(M),11,ak)),64)),(A(),F(zt,null,we(c,M=>k("div",{key:M,class:"popitem",onClick:m,"data-number":M},ut(M),9,sk)),64)),(A(),F(zt,null,we(u,M=>k("div",{key:M,class:Ut(["popitem",d.value!=2?"unactive":""]),onClick:m,"data-number":M,"data-unactive":d.value!=2?"unactive":""},ut(M),11,ik)),64)),k("div",{class:"popitem popitem-clear",onClick:y},[J(bl,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-822419a0]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-822419a0]{display:none!important}.popup-plate>div[data-v-822419a0]: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-822419a0]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-822419a0]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-822419a0]{flex:0 0 auto;width:50px;padding:010px 0;border:1px solid #e6e6e6;border-radius:4px;margin-right:5px;margin-bottom:5px;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-822419a0]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-822419a0]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-822419a0]{background-color:#eee;display:flex;justify-content:center;align-items:center}
202
- `]],["__scopeId","data-v-822419a0"]]),lk=["fill"],ck=["fill"],bh=Y({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[k("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,lk),k("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,ck)],4))}}),uk=["onClick"],fk={key:1},dk=["onClick"],pk={key:0,class:"info"},_h=nt(Y({customOptions:{SVGCheck:bh},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],s=R(),l=R(0),i=jt([]),c=R(-1),u=R(!1),f=R(0);async function d(){const x=Wa().clientHeight-s.value.getBoundingClientRect().bottom;qd({initPlates:i,completePlateLength:a[l.value].completePlateLength,onPlates:v=>{wr(i,v),c.value=i.length,i.length===a[l.value].completePlateLength&&r("complete",a[l.value].name,i.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:(v,g,y)=>{f.value=Math.min(0,x-y.height)}})}const h=async w=>{l.value=w,c.value<=a[w].completePlateLength&&i.length<a[w].completePlateLength?(c.value=i.length,await d(),r("clear")):wr(i,i.slice(0,a[w].completePlateLength)),a[w].completePlateLength===i.length&&r("complete",a[l.value].name,i.join(""))},p=async w=>{wr(i,i.slice(0,w)),c.value=Math.min(Math.max(0,c.value),w),await d(),r("clear")};return t({}),(w,x)=>(A(),ht(mt,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:at(()=>[x[2]||(x[2]=k("div",{class:"title"},"车牌颜色",-1)),k("div",{class:Ut(["plate-types",n.stylePattern])},[(A(),F(zt,null,we(a,(v,g)=>k("div",{key:g,class:Ut(g==l.value?"checked":""),onClick:y=>h(g)},[n.stylePattern=="dot"?(A(),F(zt,{key:0},[k("div",{style:N(v.style)},null,4),k("div",null,ut(v.name),1),k("div",null,[J(bh,{color:"#ffffff",width:"7px"})])],64)):(A(),F("div",fk,ut(v.name),1))],10,uk)),64))],2),x[3]||(x[3]=k("div",{class:"title"},"车牌号码",-1)),k("div",{class:"plate-numbers",ref_key:"numbersRef",ref:s},[k("div",{onClick:x[0]||(x[0]=v=>p(0)),class:Ut(c.value==0?"current":"")},ut(i[0]),3),k("div",{onClick:x[1]||(x[1]=v=>p(1)),class:Ut(c.value==1?"current":"")},ut(i[1]),3),(A(!0),F(zt,null,we(a[l.value].completePlateLength-2,v=>(A(),F("div",{key:v,class:Ut(v+1==c.value?"current":""),onClick:g=>p(v+1)},ut(i[v+1]),11,dk))),128))],512),n.showBottomInfo?(A(),F("div",pk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-f24b9241]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-f24b9241]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-f24b9241]{display:flex;justify-content:center}.plate-types>div[data-v-f24b9241]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-f24b9241]{margin-left:5px}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-f24b9241]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-f24b9241]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-f24b9241]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-f24b9241]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-f24b9241]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-f24b9241]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-f24b9241]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-f24b9241]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-f24b9241]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-f24b9241]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-f24b9241]{color:#fff}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-f24b9241]{color:#fff}.plate-numbers[data-v-f24b9241]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-f24b9241]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-f24b9241]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-f24b9241]{margin-left:5px}.plate-numbers>div.dot[data-v-f24b9241]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-f24b9241]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
203
- `]],["__scopeId","data-v-f24b9241"]]),hk={class:"text"},Bl=nt(Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(e,{expose:t,emit:o}){const n=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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function a(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=r.filter(f=>f.name===c);return u.length?u[0]:a("未知")}const s=R(a(n.plateType||"")),l=R(),i=R(14);return fe(()=>{i.value=Ka(l.value).getEmSize()}),t({}),(c,u)=>(A(),F("div",{class:"plate-display",ref_key:"el",ref:l},[c.displayType=="dot"&&c.plate!=="无牌车"?(A(),F("div",{key:0,class:Ut(["leading",c.displayType]),style:N({...s.value.style,width:i.value+"px",height:i.value+"px",marginRight:.36*i.value+"px"})},ut(s.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(A(),F("div",{key:1,class:Ut(["leading",c.displayType]),style:N(s.value.style)},ut(s.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(A(),F("div",{key:2,class:Ut(["leading",c.displayType])},ut(s.value.name),3)):yt("",!0),k("div",hk,ut(c.plate),1)],512))}}),[["styles",[`.plate-display[data-v-d7a17e1d]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-d7a17e1d]{box-sizing:border-box;font-size:.86em;line-height:1;border-radius:.3em;margin-right:.36em}.leading.chinese[data-v-d7a17e1d]{padding:.3em}.leading.dot[data-v-d7a17e1d]{font-size:0;border-radius:50%}.leading.plaintext[data-v-d7a17e1d]{padding-right:.36em;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-d7a17e1d]{line-height:1}
204
- `]],["__scopeId","data-v-d7a17e1d"]]),mk=["width","height"],bo=Y({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(),s=R(),l=R(0),i=R(0);let c;Pt(a,()=>{a.value&&(c=new Cn(a.value,!1),c.on("resize",(w,x)=>{const v=Ir();l.value=Math.min(w,v.width),i.value=Math.min(x,v.height),h()}),c.start())}),Pt(s,()=>{s.value&&h()});let u,f,d;function h(){u||!s.value||!l.value||!i.value||(u=new Cn(s.value,!1),u.on("resize",(w,x)=>{r("resize",w,x),f=new yd(u,n.enableCustomContext),d?.(f),r("ready",f)}),u.start())}function p(){return new Promise(w=>{if(f)return w(f);d=w})}return re(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>s.value,getCanvas:p}),(w,x)=>(A(),F("div",{class:"canvas",ref_key:"canvasOutterRef",ref:a,style:{display:"block",position:"relative",overflow:"hidden",width:"100%",height:"100%"}},[k("canvas",{ref_key:"canvasRef",ref:s,width:l.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,mk)],512))}}),gk={class:"ring-indicator"},yk={class:"ring-text"},xh=nt(Y({customOptions:{Canvas:bo},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(e,{expose:t}){const o=e;let n=R(0);const r=Hy(()=>{const c=le(Math.floor(o.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),Pe(n.value/100,2)},20),a=R(0),s=R(0),l=(c,u)=>{a.value=c,s.value=u},i=R();return Pt(i,()=>{i.value&&i.value.getCanvas().then(c=>{const u=new Dv({width:a.value,height:s.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:o.lineWidth,bgColor:o.bgColor,startColor:o.startColor,endColor:o.endColor});Fa(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(A(),F("div",gk,[J(bo,{ref_key:"canvasRef",ref:i,onResize:l},null,512),k("div",yk,[k("span",null,ut(vt(n)),1),u[0]||(u[0]=k("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-2cf9c903]{position:relative;width:100%;height:100%}.ring-text[data-v-2cf9c903]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINExp;color:#333;padding-bottom:20px}.ring-text>span[data-v-2cf9c903]:nth-child(1){font-size:64px}.ring-text>span[data-v-2cf9c903]:nth-child(2){font-size:20px}
205
- `]],["__scopeId","data-v-2cf9c903"]]),vk={key:0},bk={key:1},Tn=10,Hn=4,kh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(e,{expose:t}){const o=e,n=R(0),r=(a,s)=>{n.value=Math.floor(Math.min(a,s))};return t({}),(a,s)=>(A(),ht(mt,{onResize:r,type:"full"},{default:at(()=>[k("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:Tn+"px",background:`linear-gradient(180deg, ${o.startColor} 0%, ${o.endColor} 100%)`})},[k("div",{class:"ring-rotate",style:N({animation:`rotate-reverse ${o.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-Tn-Hn}px, #000 ${n.value/2-Tn-Hn}px)`})},s[0]||(s[0]=[k("div",{class:"left"},null,-1),k("div",{class:"right"},null,-1)]),4),k("div",{class:"ring-content",style:N({top:Tn+Hn+"px",left:Tn+Hn+"px",width:n.value-(Tn+Hn)*2+"px",height:n.value-(Tn+Hn)*2+"px"})},[o.text?(A(),F("div",vk,ut(o.text),1)):yt("",!0),o.secondText?(A(),F("div",bk,ut(o.secondText),1)):yt("",!0)],4)],4)]),_:1}))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
206
- `,`.ring[data-v-8b4a3cb1]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-8b4a3cb1]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-8b4a3cb1]{position:absolute;overflow:hidden;box-sizing:border-box;border-radius:50%;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}.ring-content>div[data-v-8b4a3cb1]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-8b4a3cb1]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-8b4a3cb1],.right[data-v-8b4a3cb1]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-8b4a3cb1]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-8b4a3cb1]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
207
- `]],["__scopeId","data-v-8b4a3cb1"]]),wh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"ClockFlipper.ce",props:{startTime:{default:"00:00:00"},initStart:{type:Boolean,default:!0},creaseType:{default:"increase"},flipDirection:{default:"down"},dur:{default:800},bgColor:{default:"#5a82f0"},textColor:{default:"#ffffff"},borderRadius:{default:8},gap:{default:1},perspective:{default:400}},setup(e,{expose:t}){const o=e,n=R(),r=R(40),a=R(20),s=R(20),l=(v,g)=>{r.value=Math.floor(v/(6+1)),a.value=Math.floor(g),s.value=Math.max(12,a.value)},i=()=>{o.initStart&&w(o.startTime)};let c;const u=()=>{c?.()},f=jt([0,0,0,0,0,0]),d=jt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const w=v=>{v&&($y(Ay(v),h),h.forEach((g,y)=>{f[y]=g,d[y]=g})),u(),p=0,x(ne(),0,!1),c=jy((g,y,m)=>{x(g,y,m)},1e3)},x=(v,g,y)=>{if(y)p=g;else{if(p>0){h.forEach((_,C)=>{f[C]=_,d[C]=_});const m=p+1;o.creaseType=="increase"?(Bi(f,m),Bi(d,m+1)):(Yi(f,m),Yi(d,m+1)),p=0}else o.creaseType=="increase"?Bi(d,1):Yi(d,1);Gi(()=>{d.forEach((m,_)=>{f[_]=m})},o.dur)}};return fe(()=>{go(`
192
+ )`,"box-sizing":"border-box"}},null,-1)),w("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:k.value+"px",top:x.value+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),w("div",L3,[Q(pt,{type:"full",onReady:g},{default:st(()=>[w("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:v.value+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),V3={class:"dialog-parent"},Y3={key:0,class:"top-icon"},X3={class:"top-icon-warn"},Z3={class:"top-icon-warn-shadow"},U3={key:0,class:"title"},G3={key:0,class:"title-inner truncate"},H3={class:"custom-content"},j3={class:"custom-content-default"},Xa=at(X({customOptions:{Overlay:Jo,Pop:le,Button:re,SVGClose:ka,SVGWarn:tn,SVGEllipse:wa},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"20em"},overlayBgColor:{},stylePattern:{default:"fullfill"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=O(""),l=O(!1),c=O(""),u=O(""),f=O(n.stylePattern),d=O("transparent"),h=O("transparent"),p=O(!1),v=O(""),k=O(""),x=O(!1);function m(D){switch(f.value=D,D){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,v.value="",k.value="",x.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,v.value="",k.value="",x.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-red","#fa503c"),k.value=Yt("--xg-red-light","#fa8c78"),x.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-blue","#5a82f0"),k.value=Yt("--xg-blue-light","#66b3ff"),x.value=!0;break}}Rt(()=>n.stylePattern,()=>{m(n.stylePattern)},{immediate:!0});let g,y;const b=()=>{s("open")},_=()=>{s("close")};function $(D){a.value=D?.title||"",i.value=D?.content||"",l.value=typeof D?.showClose=="boolean"?D?.showClose:!1,c.value=D?.cancelText||"",u.value=D?.confirmText||"",m(D?.stylePattern||n.stylePattern),g=D?.onCancel,y=D?.onConfirm,r.value.open()}function Y(){r.value.close(),g?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(D,ut)=>(I(),ht(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:b,onClose:_},{default:st(()=>[w("div",V3,[w("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),z("div",Y3,[w("div",X3,[Q(tn,{colorStart:v.value,colorEnd:k.value},null,8,["colorStart","colorEnd"])]),w("div",Z3,[Q(wa)])])):yt("",!0),w("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px"})},[a.value||l.value?(I(),z("div",U3,[a.value?(I(),z("div",G3,dt(a.value),1)):yt("",!0),l.value?(I(),z("div",{key:1,class:"close",onClick:Y},[w("div",null,[Q(ka)])])):yt("",!0)])):yt("",!0),w("div",H3,[gt(D.$slots,"default",{},()=>[w("div",j3,dt(i.value),1)],!0)]),c.value||u.value?(I(),z("div",{key:1,class:jt(["btns",[f.value,x.value?"vertical":""]])},[c.value?(I(),ht(re,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:st(()=>[Bt(dt(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),ht(re,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:v.value,bgColorEnd:k.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:st(()=>[Bt(dt(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-edfaed2c]{display:flex;justify-content:center;align-items:center}.dialog[data-v-edfaed2c]{position:relative}.top-icon[data-v-edfaed2c]{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;justify-content:center;align-items:center}.top-icon-warn[data-v-edfaed2c]{width:60px;height:60px}.top-icon-warn-shadow[data-v-edfaed2c]{width:40px;height:4px;margin-top:4px}.dialog-inner[data-v-edfaed2c]{border-radius:12px;background-color:#fff;overflow:hidden}.title[data-v-edfaed2c]{position:relative;font-size:16px;margin-top:20px;color:#333}.title-inner[data-v-edfaed2c]{padding:0 64px;text-align:center;font-weight:700}.close[data-v-edfaed2c]{position:absolute;top:0;right:0;width:64px;height:100%;font-size:16px;text-align:center;display:flex;justify-content:center;align-items:center;cursor:pointer}.close>div[data-v-edfaed2c]{width:16px;display:flex;justify-content:center;align-items:center}.custom-content[data-v-edfaed2c]{font-size:14px;color:#666;word-break:break-all;text-align:center}.custom-content-default[data-v-edfaed2c]{padding:15px 20px 20px}.btns[data-v-edfaed2c]{display:flex;justify-content:center}.btns.vertical[data-v-edfaed2c]{flex-direction:column}.btns.vertical>.btn[data-v-edfaed2c]{margin-left:20px;margin-right:20px}.btns.vertical>.btn[data-v-edfaed2c]:nth-child(1){order:2;margin-top:10px;margin-bottom:20px}.btns.vertical>.btn[data-v-edfaed2c]:nth-child(2){order:1}.btns.transparent[data-v-edfaed2c]{border-top:1px solid #cccccc}.btns.transparent>.btn+.btn[data-v-edfaed2c]{border-left:1px solid #cccccc!important}.btn[data-v-edfaed2c]{flex:1 1 auto;border-radius:0}
193
+ `]],["__scopeId","data-v-edfaed2c"]]),W3={class:"loading"},q3={class:"icon"},K3={style:{width:"8em"}},Q3={key:0,class:"content"},qp=at(X({customOptions:{Overlay:Jo,Pop:le,Dialog:Ca,Loading8:Oh},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=()=>{s("open")},l=()=>{s("close")};function c(f){a.value=f||"",r.value.open()}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),ht(Ca,{ref_key:"dialogRef",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:i,onClose:l},{default:st(()=>[w("div",W3,[w("div",q3,[gt(f.$slots,"default",{},()=>[w("div",K3,[Q(Oh)])],!0)]),a.value?(I(),z("div",Q3,dt(a.value),1)):yt("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-2227dca8]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-2227dca8]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-2227dca8]{font-size:1em;margin-top:-1em;margin-bottom:1em}
194
+ `]],["__scopeId","data-v-2227dca8"]]),J3={class:"toast"},tk={class:"content"},Kp=at(X({customOptions:{Overlay:Jo,Pop:le,Dialog:Ca},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=()=>{s("open")},l=()=>{s("close")};function c(f,d=1500){a.value=f,r.value.open(),setTimeout(()=>{u()},d)}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),ht(Ca,{ref_key:"dialogRef",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:st(()=>[w("div",J3,[w("div",tk,dt(a.value),1)])]),_:1},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.toast[data-v-c02c226c]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#333;color:#ccc;padding:1em}.content[data-v-c02c226c]{font-size:1em}
195
+ `]],["__scopeId","data-v-c02c226c"]]),ek=X({customOptions:{Container:pt,CSSAnimation:Qn},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:it.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=Wt({}),i=()=>{s("ready",_,$)},l=()=>{v()},c=O();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,v=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,v()},{immediate:!0});const k=()=>{s(h?"pageCloseStart":"pageOpenStart")},x=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},m=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{y()},()=>{c.value?.clear()})}const _=Y=>{Y&&(f=Y,v()),h=!1,b(),m()},$=Y=>{Y&&(f=Y,v()),h=!0,b(),g()};return t({open:_,close:$,clear:y}),(Y,B)=>(I(),ht(pt,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:st(()=>[Q(Qn,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:k,onCssanimationend:x},{default:st(()=>[w("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[gt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Qp=X({customOptions:{Page:Aa,Container:pt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:it.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,ne){switch(et){case r:return h()?A:ne;case a:return h()?ne:A;default:return"static"}}function v(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function k(et,A=600,ne=600){switch(et){case r:return A;case a:return ne;default:return n.duration}}function x(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return k(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return k(A,700,600);case"scaleSmall":return k(A,700,500);case"scaleLarge":return k(A,500,700);case"scaleToLargePrevScaleToSmall":return k(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return k(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return k(A,800,600);default:return n.duration}}let m=n.timingFunction;function g(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:m=h()?"ease-in-out":"ease";break;case a:default:m=h()?"ease":"ease-in-out"}return g(A);default:return m=n.timingFunction,n.easeFunction}}function b(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function _(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(A,500);case"scaleSmall":case"scaleLarge":return b(A,300);case"scaleToLargePrevScaleToSmall":return b(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},D=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():D();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?D():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){D(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const vt=O();function St(et=0,A=!1){if(!vt.value)return;let ne=0;Mr(Ut("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const nt=v(n.effect,F);return Ut("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Ut(Aa,{effect:nt,duration:x(n.effect,F),easeFunction:y(n.effect,F),timingFunction:m,delay:_(n.effect,F),onReady:(H,lt)=>{u[F]={open:H,close:lt},++ne==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Ut("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Ut(Nt.component,Nt.attributes,()=>Nt.child)}))})),vt.value),f=vt.value.children[0].children}Rt(()=>n.effect,()=>{St()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||zn()}),i=()=>{r=-1,Xt(0)},St(c.length,!0)}function kt(et){et.pageKey=et.pageKey||zn(),c.push(et),i=()=>{Xt(c.length-1)},St(1,c.length==1)}function wt(){c.length<=1||Xt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,St()})}function oe(){Xt(r+1)}function pe(){Xt(r-1)}const he=new Yr(1);function Xt(et,A){he.addTask(()=>new Promise(ne=>{const Nt=()=>{A?.(),ne()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),St(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:kt,pop:wt,forward:oe,back:pe,goto:Xt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),z("div",{class:"routes",ref_key:"routesRef",ref:vt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),ok=["src"],hc=at(X({name:"Image",customOptions:{Container:pt,Pop:le},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=O(0),i=O(0),l=O(0),c=O(0),u=O(0),f=O(0),d=O(0),h=O(0),p=O(!0),v=O(0),k=O(0);Kd(n.src).then(tt=>{v.value=tt.width,k.value=tt.height,_()}).catch(()=>{p.value=!1});const x=O(0),m=O(0),g=tt=>{x.value=tt.rect.width,m.value=tt.rect.height,_()},y=O(0),b=O(0);function _(){if(!x.value||!m.value||!v.value||!k.value)return;const tt=fa(n.mode,v.value,k.value,x.value,m.value);y.value=tt.width,b.value=tt.height;const{width:vt,height:St}=Ds(),$t=fa("aspectFit",v.value,k.value,vt,St);d.value=$t.width,h.value=$t.height,u.value=(vt-d.value)/2,f.value=(St-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=O(),D=O();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:it.Quadratic.Out,onUpdate(vt){a.value=vt.left,i.value=vt.top,l.value=vt.width,c.value=vt.height},onComplete(){Y&&D.value.close(),Y=!Y}}),Y||(D.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,vt)=>(I(),ht(pt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:g,onUpdate:g,onClick:ut},{default:st(()=>[p.value?(I(),ht(pt,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:b.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${b.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),ht(pt,{key:1,type:"shrink"},{default:st(()=>[w("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,ok)]),_:1})),Q(le,{ref_key:"popRef",ref:D,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:st(()=>[w("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-b241a63e]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-b241a63e],.image-pop[data-v-b241a63e]{background-repeat:no-repeat;background-position:center center}
196
+ `]],["__scopeId","data-v-b241a63e"]]),nk={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Jp=X({customOptions:{Image:$a,Container:pt,Routes:js},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(d,h){s.value=h}const a=O(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Ut($a,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=O();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&da(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),ht(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(I(),z("div",nk,dt(s.value+1)+" / "+dt(n.urls.length),1)):yt("",!0),Q(pt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:st(()=>[Q(js,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),tm=at(X({customOptions:{Container:pt,SVGDown:Ba},inheritAttrs:!0,__name:"Accordion.ce",props:{initOpen:{type:Boolean,default:!1},titleHeight:{default:"44px"},bgColor:{default:"#efefef"},fontColor:{default:"#333333"},borderColor:{default:"#dddddd"},borderRadius:{default:"4px"},padding:{default:"1em"},duration:{default:500}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(Number.MAX_SAFE_INTEGER+"px"),i=O(!0);ye(()=>{mr(()=>{a.value=r.value.getBoundingClientRect().height+"px",i.value=n.initOpen})});function l(){i.value=!i.value,i.value?s("open"):s("close")}const c=O(0);return Fn(()=>{c.value=i.value?0:-90}),t({}),(u,f)=>(I(),ht(pt,null,{default:st(()=>[w("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[w("div",{class:"accordion-title",onClick:l,style:N({height:n.titleHeight,lineHeight:n.titleHeight,margin:`0 ${n.padding}`,transitionDelay:`${i.value?0:n.duration}ms`,borderBottom:`${i.value?1:0}px solid ${n.borderColor}`})},[gt(u.$slots,"title",{},()=>[f[0]||(f[0]=Bt("title"))],!0),Q(Ba,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${c.value}deg)`})},null,8,["style"])],4),w("div",{class:"accordion-content",ref_key:"content",ref:r,style:N({margin:`0 ${n.padding}`,transition:`max-height ${n.duration}ms ease-in-out`,maxHeight:i.value?a.value:"0"})},[gt(u.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-58414e5a]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-58414e5a]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-58414e5a]{word-break:break-all;overflow:hidden}
197
+ `]],["__scopeId","data-v-58414e5a"]]),sk=`.resize-observer[data-v-16da9fc4]{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-16da9fc4] object{position:absolute;top:0;left:0;height:100%;width:100%;display:block;overflow:hidden;pointer-events:none;z-index:-1}
198
+ `,rk={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 o=document.createElement("object");this._resizeObject=o,o.setAttribute("aria-hidden","true"),o.setAttribute("tabindex",-1),o.onload=this.addResizeHandlers,o.type="text/html",cl&&this.$el.appendChild(o),o.data="about:blank",cl||this.$el.appendChild(o)},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&&(!cl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},ak={class:"resize-observer",tabindex:"-1"};function ik(o,t,e,n,s,r){return I(),z("div",ak)}const em=at(rk,[["render",ik],["styles",[sk]],["__scopeId","data-v-16da9fc4"]]),om=X({__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(o,{expose:t,emit:e}){const n=o,s=O(n.mapWidth),r=O(n.mapHeight);function a(c){s.value=c.width+"px",r.value=c.height+"px"}function i(c){a(c.rect),Ov(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new $v(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(u=>{console.log("error",u)})}function l(c){a(c.rect)}return t({}),(c,u)=>(I(),ht(pt,{type:"full",onReady:i,onUpdate:l},{default:st(()=>[gt(c.$slots,"default",{width:s.value,height:r.value})]),_:3}))}}),lk=["width","height"],ck=X({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(o,{expose:t,emit:e}){const n=o;let s=()=>{};const r=O();return Rt(r,()=>{if(!r.value)return;const a=ra(r.value),i=new nh(a,!0);i.ctx.strokeStyle=n.brushColor,i.ctx.lineWidth=n.brushSize,i.drawMouseMoveLine("line"),s=()=>{wn.downloadFromSVGString(i.ctx.toRawSVG().raw,n.downloadFileName)},a.start()}),t({download:()=>s()}),(a,i)=>(I(),z("canvas",{ref_key:"panelRef",ref:r,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${a.borderColor}`])},null,12,lk))}}),uk=["data-number"],fk=["data-number","data-unactive"],dk=["data-number"],hk=["data-number","data-unactive"],nm=at(X({customOptions:{Pop:le,SVGCleanUp:Ul,Container:pt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates","resize"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O("0px");let a;ye(()=>{a=Sl.onBottom(b=>{r.value=b})}),ue(()=>{a?.()});const i=["","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],l=["1","2","3","4","5","6","7","8","9","0"],c=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],u=["港","澳","学","警","使","领","挂","应","急"],f=O(),d=O(0),h=Wt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&m()}Rt(()=>[...n.initPlates],()=>{Ps(h,n.initPlates),p()},{immediate:!0});const v=O(0),k=b=>{v.value=b.rect.height,s("resize",b.rect)},x=()=>{f.value.open(),s("open")},m=()=>{f.value.close(),s("close")},g=()=>{h.pop(),p(),s("plates",h)},y=b=>{if(b.target.dataset.unactive||"")return;let $=b.target.dataset.number;$&&(h.push($),p(),s("plates",h))};return t({open:x,close:m}),(b,_)=>(I(),ht(le,{ref_key:"popRef",ref:f,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:v.value},{default:st(()=>[Q(pt,{onReady:k,onUpdate:k},{default:st(()=>[w("div",{class:"popup-plate",style:N({paddingBottom:r.value})},[w("div",null,[w("div",{onClick:m},"关闭")]),w("div",{class:jt(["step",d.value==0?"":"hide"])},[(I(),z(Dt,null,Te(i,$=>w("div",{key:$,class:"popitem",onClick:y,"data-number":$},dt($),9,uk)),64)),w("div",{class:"popitem popitem-clear",onClick:g},[Q(Ul,{width:"16px"})])],2),w("div",{class:jt(["step",d.value!=0?"":"hide"])},[(I(),z(Dt,null,Te(l,$=>w("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},dt($),11,fk)),64)),(I(),z(Dt,null,Te(c,$=>w("div",{key:$,class:"popitem",onClick:y,"data-number":$},dt($),9,dk)),64)),(I(),z(Dt,null,Te(u,$=>w("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},dt($),11,hk)),64)),w("div",{class:"popitem popitem-clear",onClick:g},[Q(Ul,{width:"16px"})])],2)],4)]),_:1})]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-6a03a199]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-6a03a199]{display:none!important}.popup-plate>div[data-v-6a03a199]: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-6a03a199]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-6a03a199]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-6a03a199]{flex:0 0 auto;width:50px;padding:010px 0;border:1px solid #e6e6e6;border-radius:4px;margin-right:5px;margin-bottom:5px;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-6a03a199]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-6a03a199]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-6a03a199]{background-color:#eee;display:flex;justify-content:center;align-items:center}
199
+ `]],["__scopeId","data-v-6a03a199"]]),pk=["fill"],mk=["fill"],sm=X({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("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,pk),w("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,mk)],4))}}),gk=["onClick"],yk={key:1},vk=["onClick"],bk={key:0,class:"info"},rm=at(X({customOptions:{SVGCheck:sm},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],a=O(),i=O(0),l=Wt([]),c=O(-1),u=O(!1),f=O(0);async function d(){const k=sa().clientHeight-a.value.getBoundingClientRect().bottom;zh({initPlates:l,completePlateLength:r[i.value].completePlateLength,onPlates:x=>{Ps(l,x),c.value=l.length,l.length===r[i.value].completePlateLength&&s("complete",r[i.value].name,l.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:x=>{f.value=Math.min(0,k-x.height)}})}const h=async v=>{i.value=v,c.value<=r[v].completePlateLength&&l.length<r[v].completePlateLength?(c.value=l.length,await d(),s("clear")):Ps(l,l.slice(0,r[v].completePlateLength)),r[v].completePlateLength===l.length&&s("complete",r[i.value].name,l.join(""))},p=async v=>{Ps(l,l.slice(0,v)),c.value=Math.min(Math.max(0,c.value),v),await d(),s("clear")};return t({}),(v,k)=>(I(),ht(pt,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:st(()=>[k[2]||(k[2]=w("div",{class:"title"},"车牌颜色",-1)),w("div",{class:jt(["plate-types",n.stylePattern])},[(I(),z(Dt,null,Te(r,(x,m)=>w("div",{key:m,class:jt(m==i.value?"checked":""),onClick:g=>h(m)},[n.stylePattern=="dot"?(I(),z(Dt,{key:0},[w("div",{style:N(x.style)},null,4),w("div",null,dt(x.name),1),w("div",null,[Q(sm,{color:"#ffffff",width:"7px"})])],64)):(I(),z("div",yk,dt(x.name),1))],10,gk)),64))],2),k[3]||(k[3]=w("div",{class:"title"},"车牌号码",-1)),w("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[w("div",{onClick:k[0]||(k[0]=x=>p(0)),class:jt(c.value==0?"current":"")},dt(l[0]),3),w("div",{onClick:k[1]||(k[1]=x=>p(1)),class:jt(c.value==1?"current":"")},dt(l[1]),3),(I(!0),z(Dt,null,Te(r[i.value].completePlateLength-2,x=>(I(),z("div",{key:x,class:jt(x+1==c.value?"current":""),onClick:m=>p(x+1)},dt(l[x+1]),11,vk))),128))],512),n.showBottomInfo?(I(),z("div",bk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-bdf30c29]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-bdf30c29]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-bdf30c29]{display:flex;justify-content:center}.plate-types>div[data-v-bdf30c29]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-bdf30c29]{margin-left:5px}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-bdf30c29]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-bdf30c29]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-bdf30c29]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-bdf30c29]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-bdf30c29]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-bdf30c29]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-bdf30c29]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-bdf30c29]{color:#fff}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-bdf30c29]{color:#fff}.plate-numbers[data-v-bdf30c29]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-bdf30c29]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-bdf30c29]{margin-left:5px}.plate-numbers>div.dot[data-v-bdf30c29]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-bdf30c29]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
200
+ `]],["__scopeId","data-v-bdf30c29"]]),_k={class:"text"},pc=at(X({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=O(r(n.plateType||"")),i=O(),l=O(14);return ye(()=>{l.value=ha(i.value).getEmSize()}),t({}),(c,u)=>(I(),z("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),z("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},dt(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),z("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},dt(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),z("div",{key:2,class:jt(["leading",c.displayType])},dt(a.value.name),3)):yt("",!0),w("div",_k,dt(c.plate),1)],512))}}),[["styles",[`.plate-display[data-v-d7a17e1d]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-d7a17e1d]{box-sizing:border-box;font-size:.86em;line-height:1;border-radius:.3em;margin-right:.36em}.leading.chinese[data-v-d7a17e1d]{padding:.3em}.leading.dot[data-v-d7a17e1d]{font-size:0;border-radius:50%}.leading.plaintext[data-v-d7a17e1d]{padding-right:.36em;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-d7a17e1d]{line-height:1}
201
+ `]],["__scopeId","data-v-d7a17e1d"]]),xk=["width","height"],_o=X({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","update"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(0),i=O(0);let l,c,u;function f(v){const k=Ds();a.value=Math.min(v.width,k.width),i.value=Math.min(v.height,k.height)}function d(v){f(v.rect)}function h(v){f(v.rect),p&&s("update",c)}let p=!1;return Fn(()=>{r.value&&(!a.value||!i.value||l||(l=ra(r.value),l.start().then(()=>{c=new nh(l,n.enableCustomContext),u?.(c),s("ready",c),p=!0})))}),ue(()=>{l?.end()}),t({getCanvas:()=>new Promise(v=>{if(c)return v(c);u=v}),getElement:()=>r.value,getRect:()=>r.value.getBoundingClientRect()}),(v,k)=>(I(),ht(pt,{class:"canvas",type:"full",onReady:d,onUpdate:h,style:{overflow:"hidden"}},{default:st(()=>[w("canvas",{ref_key:"r",ref:r,width:a.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,xk)]),_:1}))}}),kk={class:"ring-indicator"},wk={class:"ring-text"},am=at(X({customOptions:{Canvas:_o},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(o,{expose:t}){const e=o;let n=O(0);const s=N1(()=>{const c=Vt(Math.floor(e.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),Re(n.value/100,2)},20),r=O(0),a=O(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Ev({width:r.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});Ur(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),z("div",kk,[Q(_o,{onReady:l,onUpdate:i}),w("div",wk,[w("span",null,dt(Ot(n)),1),u[0]||(u[0]=w("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-c885c402]{position:relative;width:100%;height:100%}.ring-text[data-v-c885c402]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINCondensed-number;color:#333;padding-bottom:20px}.ring-text>span[data-v-c885c402]:nth-child(1){font-size:64px}.ring-text>span[data-v-c885c402]:nth-child(2){font-size:20px}
202
+ `]],["__scopeId","data-v-c885c402"]]),Ck={key:0},Tk={key:1},Tn=10,ts=4,im=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(o,{expose:t}){const e=o,n=O(0),s=r=>{n.value=Math.floor(Math.min(r.rect.width,r.rect.height))};return t({}),(r,a)=>(I(),ht(pt,{onReady:s,onUpdate:s,type:"full"},{default:st(()=>[w("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:Tn+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[w("div",{class:"ring-rotate",style:N({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-Tn-ts}px, #000 ${n.value/2-Tn-ts}px)`})},a[0]||(a[0]=[w("div",{class:"left"},null,-1),w("div",{class:"right"},null,-1)]),4),w("div",{class:"ring-content",style:N({top:Tn+ts+"px",left:Tn+ts+"px",width:n.value-(Tn+ts)*2+"px",height:n.value-(Tn+ts)*2+"px"})},[e.text?(I(),z("div",Ck,dt(e.text),1)):yt("",!0),e.secondText?(I(),z("div",Tk,dt(e.secondText),1)):yt("",!0)],4)],4)]),_:1}))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
203
+ `,`.ring[data-v-a18134cd]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-a18134cd]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-a18134cd]{position:absolute;overflow:hidden;box-sizing:border-box;border-radius:50%;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}.ring-content>div[data-v-a18134cd]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-a18134cd]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-a18134cd],.right[data-v-a18134cd]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-a18134cd]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-a18134cd]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
204
+ `]],["__scopeId","data-v-a18134cd"]]),lm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"ClockFlipper.ce",props:{startTime:{default:"00:00:00"},initStart:{type:Boolean,default:!0},creaseType:{default:"increase"},flipDirection:{default:"down"},dur:{default:800},bgColor:{default:"#5a82f0"},textColor:{default:"#ffffff"},borderRadius:{default:8},gap:{default:1},perspective:{default:400}},setup(o,{expose:t}){const e=o,n=O(),s=O(40),r=O(20),a=O(20),i=x=>{s.value=Math.floor(x.rect.width/(6+1)),r.value=Math.floor(x.rect.height),a.value=Math.max(12,r.value)},l=x=>{e.initStart&&v(e.startTime),i(x)};let c;const u=()=>{c?.()},f=Wt([0,0,0,0,0,0]),d=Wt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const v=x=>{x&&(v1(y1(x),h),h.forEach((m,g)=>{f[g]=m,d[g]=m})),u(),p=0,k(ae(),0,!1),c=$1((m,g,y)=>{k(m,g,y)},1e3)},k=(x,m,g)=>{if(g)p=m;else{if(p>0){h.forEach((b,_)=>{f[_]=b,d[_]=b});const y=p+1;e.creaseType=="increase"?(sl(f,y),sl(d,y+1)):(rl(f,y),rl(d,y+1)),p=0}else e.creaseType=="increase"?sl(d,1):rl(d,1);ul(()=>{d.forEach((y,b)=>{f[b]=y})},e.dur)}};return ye(()=>{bo(`
208
205
  :root {
209
- --yz-clock-flipper-bg-color:${o.bgColor};
210
- --yz-clock-flipper-text-color:${o.textColor};
211
- --yz-clock-flipper-border-radius:${o.borderRadius}px;
212
- --yz-clock-flipper-gap:${o.gap}px;
213
- --yz-clock-flipper-gap-double:${o.gap*2}px;
214
- --yz-clock-flipper-gap-four:${o.gap*4}px;
215
- --yz-clock-flipper-animation-duration:${o.dur}ms;
216
- --yz-clock-flipper-perspective: ${o.perspective}px;
206
+ --yz-clock-flipper-bg-color:${e.bgColor};
207
+ --yz-clock-flipper-text-color:${e.textColor};
208
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
209
+ --yz-clock-flipper-gap:${e.gap}px;
210
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
211
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
212
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
213
+ --yz-clock-flipper-perspective: ${e.perspective}px;
217
214
  }
218
215
  :host {
219
- --yz-clock-flipper-bg-color:${o.bgColor};
220
- --yz-clock-flipper-text-color:${o.textColor};
221
- --yz-clock-flipper-border-radius:${o.borderRadius}px;
222
- --yz-clock-flipper-gap:${o.gap}px;
223
- --yz-clock-flipper-gap-double:${o.gap*2}px;
224
- --yz-clock-flipper-gap-four:${o.gap*4}px;
225
- --yz-clock-flipper-animation-duration:${o.dur}ms;
226
- --yz-clock-flipper-perspective: ${o.perspective}px;
216
+ --yz-clock-flipper-bg-color:${e.bgColor};
217
+ --yz-clock-flipper-text-color:${e.textColor};
218
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
219
+ --yz-clock-flipper-gap:${e.gap}px;
220
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
221
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
222
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
223
+ --yz-clock-flipper-perspective: ${e.perspective}px;
227
224
  }
228
- `,n.value.getElement())}),t({start:w,pause:u}),(v,g)=>(A(),ht(mt,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onResize:l,onReady:i},{default:at(()=>[k("div",{class:"clock-flipper",style:N({fontSize:s.value+"px",lineHeight:a.value+"px"})},[(A(!0),F(zt,null,we(f,(y,m)=>(A(),F(zt,{key:m},[k("div",{class:Ut(["flip",[o.flipDirection,d[m]!=y?"go":""]]),style:N({width:r.value+"px"})},[k("div",{class:Ut(["front digital",[`flipper_${m}`,`number_${y}`]])},null,2),k("div",{class:Ut(["back digital",[`number_${d[m]}`]])},null,2)],6),m==1||m==3?(A(),F("div",{key:0,class:"gap",style:N({fontSize:Math.floor(s.value*.6)+"px",lineHeight:0})}," : ",4)):yt("",!0)],64))),128))],4)]),_:1},512))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
229
- `,`.clock-flipper[data-v-06fd80d3]{position:relative;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;text-align:center;height:100%;font-family:D-DINCondensed-number}.flip[data-v-06fd80d3]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-06fd80d3]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-06fd80d3]:after,.flip.down .back[data-v-06fd80d3]:before{z-index:1}.flip.down .front[data-v-06fd80d3]:before{z-index:3}.flip.down .back[data-v-06fd80d3]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-06fd80d3]:before{transform-origin:50% 100%;animation:frontFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.down.go .back[data-v-06fd80d3]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-06fd80d3]:before,.flip.up .back[data-v-06fd80d3]:after{z-index:1}.flip.up .front[data-v-06fd80d3]:after{z-index:3}.flip.up .back[data-v-06fd80d3]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-06fd80d3]:after{transform-origin:50% 0;animation:frontFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.up.go .back[data-v-06fd80d3]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-06fd80d3]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-06fd80d3]:before,.digital[data-v-06fd80d3]:after{content:"";position:absolute;left:0;right:0;height:50%;box-sizing:border-box;background:var(--yz-clock-flipper-bg-color);overflow:hidden}.digital[data-v-06fd80d3]:before{top:0;bottom:50%;border-radius:var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius) 0 0;border-bottom:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color)}.digital[data-v-06fd80d3]:after{top:50%;bottom:0;border-radius:0 0 var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius);border-top:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color);line-height:0}.digital.number_0[data-v-06fd80d3]:before,.digital.number_0[data-v-06fd80d3]:after{content:"0"}.digital.number_1[data-v-06fd80d3]:before,.digital.number_1[data-v-06fd80d3]:after{content:"1"}.digital.number_2[data-v-06fd80d3]:before,.digital.number_2[data-v-06fd80d3]:after{content:"2"}.digital.number_3[data-v-06fd80d3]:before,.digital.number_3[data-v-06fd80d3]:after{content:"3"}.digital.number_4[data-v-06fd80d3]:before,.digital.number_4[data-v-06fd80d3]:after{content:"4"}.digital.number_5[data-v-06fd80d3]:before,.digital.number_5[data-v-06fd80d3]:after{content:"5"}.digital.number_6[data-v-06fd80d3]:before,.digital.number_6[data-v-06fd80d3]:after{content:"6"}.digital.number_7[data-v-06fd80d3]:before,.digital.number_7[data-v-06fd80d3]:after{content:"7"}.digital.number_8[data-v-06fd80d3]:before,.digital.number_8[data-v-06fd80d3]:after{content:"8"}.digital.number_9[data-v-06fd80d3]:before,.digital.number_9[data-v-06fd80d3]:after{content:"9"}
230
- `]],["__scopeId","data-v-06fd80d3"]]);var Yr=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(u){u.preventDefault(),n(++e%t.children.length)},!1);function o(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";e=u}var r=(performance||Date).now(),a=r,s=0,l=o(new Yr.Panel("FPS","#0ff","#002")),i=o(new Yr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=o(new Yr.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:o,showPanel:n,begin:function(){r=(performance||Date).now()},end:function(){s++;var u=(performance||Date).now();if(i.update(u-r,200),u>a+1e3&&(l.update(s*1e3/(u-a),100),a=u,s=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:n}};Yr.Panel=function(e,t,o){var n=1/0,r=0,a=Math.round,s=a(window.devicePixelRatio||1),l=80*s,i=48*s,c=3*s,u=2*s,f=3*s,d=15*s,h=74*s,p=30*s,w=document.createElement("canvas");w.width=l,w.height=i,w.style.cssText="width:80px;height:48px";var x=w.getContext("2d");return x.font="bold "+9*s+"px Helvetica,Arial,sans-serif",x.textBaseline="top",x.fillStyle=o,x.fillRect(0,0,l,i),x.fillStyle=t,x.fillText(e,c,u),x.fillRect(f,d,h,p),x.fillStyle=o,x.globalAlpha=.9,x.fillRect(f,d,h,p),{dom:w,update:function(v,g){n=Math.min(n,v),r=Math.max(r,v),x.fillStyle=o,x.globalAlpha=1,x.fillRect(0,0,l,d),x.fillStyle=t,x.fillText(a(v)+" "+e+" ("+a(n)+"-"+a(r)+")",c,u),x.drawImage(w,f+s,d,h-s,p,f,d,h-s,p),x.fillRect(f+h-s,d,s,p),x.fillStyle=o,x.globalAlpha=.9,x.fillRect(f+h-s,d,s,a((1-v/g)*p))}}};const _k=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(e,{expose:t}){const o=R();return fe(()=>{const n=new Yr;n.domElement.style.margin="1em",o.value.appendChild(n.domElement),Fa(()=>(n.update(),!0))}),t({}),(n,r)=>(A(),F("div",{ref_key:"containerRef",ref:o},null,512))}}),xk={class:"ease-graph"},Yl=nt(Y({customOptions:{Button:oe,Canvas:bo},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:o}){const n=e,r=o,a=R();let s,l;Pt(a,()=>{a.value&&(l=ja(a.value.getCanvasElement()),a.value.getCanvas().then(f=>{s=f,r("onMounted",n.easeName),l?.onshow(c)}))});let i=!1;const c=()=>{if(!s||i)return;i=!0,r("onStart",n.easeName),s.ctx.fillStyle="rgb(250,250,250)",s.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),s.ctx.lineWidth=.5,s.ctx.strokeStyle="rgb(230,230,230)",s.ctx.beginPath(),s.ctx.moveTo(0,n.graphVerticalGap),s.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),s.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),s.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),s.ctx.closePath(),s.ctx.stroke(),s.ctx.lineWidth=2,s.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{s.ctx.beginPath(),s.ctx.moveTo(d.x,d.y),s.ctx.lineTo(f.x,f.y),s.ctx.closePath(),s.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ze({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:w=>{f.y=w.y,h()},onComplete:()=>{r("onCompleted",n.easeName),i=!1}}),p.play()},u=()=>{r("onSelected",n.easeName,n.easeFunction)};return re(()=>{l?.destroy()}),t({start:c}),(f,d)=>(A(),F("div",xk,[k("div",null,"缓动:"+ut(f.easeName),1),k("div",null,[k("div",null,[J(oe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:at(()=>d[0]||(d[0]=[Vt(" 开始 ")])),_:1})]),k("div",null,[J(oe,{stylePattern:n.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:at(()=>d[1]||(d[1]=[Vt(" 选择 ")])),_:1},8,["stylePattern"])])]),k("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[J(bo,{ref_key:"canvasRef",ref:a,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-2d807a98]{display:inline-block}.ease-graph>div[data-v-2d807a98]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-2d807a98]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-2d807a98]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-2d807a98]{margin-left:10px}
231
- `]],["__scopeId","data-v-2d807a98"]]),kk={class:"ease-graph"},wk=Y({customOptions:{Button:oe,Canvas:bo},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:o}){const n=e,r=o,a=R();let s,l;Pt(a,()=>{a.value&&(l=ja(a.value.getCanvasElement()),a.value.getCanvas().then(f=>{s=f,r("onMounted",n.easeName),l?.onshow(c)}))});let i=!1;const c=()=>{if(!s||i)return;i=!0,r("onStart",n.easeName),s.ctx.fillStyle="rgb(250,250,250)",s.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),s.ctx.lineWidth=.5,s.ctx.strokeStyle="rgb(230,230,230)",s.ctx.beginPath(),s.ctx.moveTo(0,n.graphVerticalGap),s.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),s.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),s.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),s.ctx.closePath(),s.ctx.stroke(),s.ctx.lineWidth=2,s.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{s.ctx.beginPath(),s.ctx.moveTo(d.x,d.y),s.ctx.lineTo(f.x,f.y),s.ctx.closePath(),s.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ze({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:w=>{f.y=w.y,h()},onComplete:()=>{r("onCompleted",n.easeName),i=!1}}),p.play()},u=()=>{r("onSelected",n.easeName,n.easeFunction)};return re(()=>{l?.destroy()}),t({start:c}),(f,d)=>(A(),F("div",kk,[k("div",null,"缓动:"+ut(f.easeName),1),k("div",null,[k("div",null,[J(oe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:at(()=>d[0]||(d[0]=[Vt(" 开始 ")])),_:1})]),k("div",null,[J(oe,{stylePattern:n.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:at(()=>d[1]||(d[1]=[Vt(" 选择 ")])),_:1},8,["stylePattern"])])]),k("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[J(bo,{ref_key:"canvasRef",ref:a,bgColor:"#ffffff"},null,512)],4)]))}}),_5="",Ch=nt(wk,[["__scopeId","data-v-fa615237"]]),Ck=2e3,Th=nt(Y({customOptions:{EaseGraphDisplay:Ch},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:xt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:xt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:xt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:xt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:xt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:xt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:xt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:xt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:xt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:xt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:xt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:xt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:xt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:xt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:xt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:xt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:xt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:xt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:xt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:xt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:xt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:xt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:xt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:xt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:xt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:xt.Easing.Back.In},{easeName:"BackOut",easeFunction:xt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:xt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:xt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:xt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:xt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:xt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:xt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:xt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:xt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:xt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:xt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:xt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:xt.Easing.swing},{easeName:"causeSeizures",easeFunction:xt.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(e,{expose:t,emit:o}){const n=e,r=o,a={};function s(d,h){d&&(a[h]={el:d})}const l=new Na(10);function i(d){l.addTask(()=>(a[d].el.start(),new Promise(h=>{a[d].resolve=h})))}function c(d){a[d].resolve?.()}const u=R("Linear");function f(d,h){u.value=d,r("selectedEaseFunction",d,h)}return f("Linear",xt.Easing.Linear.None),t({}),(d,h)=>(A(),F("div",null,[(A(!0),F(zt,null,we(n.easeList,p=>(A(),F("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(A(),ht(Ch,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:Ck,isSelected:u.value==p.easeName,onOnMounted:i,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:w=>s(w,p.easeName)},null,8,["easeName","easeFunction","isSelected"])):yt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
232
- `]],["__scopeId","data-v-b3ce4b26"]]),Tk={class:"interpolation-graph"},Eh=1/6,Sh=5/6,Vl=nt(Y({customOptions:{Button:oe,Canvas:bo},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R();let s,l;Pt(a,()=>{a.value&&(l=ja(a.value.getCanvasElement()),a.value.getCanvas().then(x=>{s=x,r("onMounted",n.interpolationName),l?.onshow(w)}))});const i=n.canvasWidth*Eh,c=n.canvasHeight/2,u=[n.canvasWidth*Sh,n.canvasWidth/2],f=[n.canvasHeight*Eh,n.canvasHeight*Sh],d=[...u,i],h=[...f,c];let p=!1;const w=()=>{if(!s||p)return;p=!0,r("onStart",n.interpolationName),s.ctx.fillStyle="rgb(250,250,250)",s.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),s.ctx.fillStyle="rgb(200,200,200)",s.ctx.fillRect(i-3,c-3,6,6),s.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)s.ctx.fillRect(u[x]-2,f[x]-2,4,4);const v=new Ze({frameDuration:n.interpolationDuration});v.addTween({x:i,y:c,old:{x:i,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{s.ctx.lineWidth=2,s.ctx.strokeStyle="rgba(255,127,127,0.9)",s.ctx.beginPath(),s.ctx.moveTo(g.old.x,g.old.y),s.ctx.lineTo(g.x,g.y),s.ctx.closePath(),s.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),v.addTween({x:i,y:c,old:{x:i,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{s.ctx.lineWidth=2,s.ctx.strokeStyle="rgba(255,127,127,0.5)",s.ctx.beginPath(),s.ctx.moveTo(g.old.x,g.old.y),s.ctx.lineTo(g.x,g.y),s.ctx.closePath(),s.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{r("onCompleted",n.interpolationName),p=!1}}),v.play()};return re(()=>{l?.destroy()}),t({start:w}),(x,v)=>(A(),F("div",Tk,[k("div",null,[Vt(" 插值:"+ut(x.interpolationName)+" ",1),J(oe,{stylePattern:"outline",height:"32px",onClick:w},{default:at(()=>v[0]||(v[0]=[Vt(" 开始 ")])),_:1})]),k("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[J(bo,{ref_key:"canvasRef",ref:a,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-52732a09]{display:inline-block}.interpolation-graph>div[data-v-52732a09]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
233
- `]],["__scopeId","data-v-52732a09"]]),Ek={class:"interpolation-graph"},Oh=1/6,Ph=5/6,Sk=Y({customOptions:{Button:oe,Canvas:bo},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R();let s,l;Pt(a,()=>{a.value&&(l=ja(a.value.getCanvasElement()),a.value.getCanvas().then(x=>{s=x,r("onMounted",n.interpolationName),l?.onshow(w)}))});const i=n.canvasWidth*Oh,c=n.canvasHeight/2,u=[n.canvasWidth*Ph,n.canvasWidth/2],f=[n.canvasHeight*Oh,n.canvasHeight*Ph],d=[...u,i],h=[...f,c];let p=!1;const w=()=>{if(!s||p)return;p=!0,r("onStart",n.interpolationName),s.ctx.fillStyle="rgb(250,250,250)",s.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),s.ctx.fillStyle="rgb(200,200,200)",s.ctx.fillRect(i-3,c-3,6,6),s.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)s.ctx.fillRect(u[x]-2,f[x]-2,4,4);const v=new Ze({frameDuration:n.interpolationDuration});v.addTween({x:i,y:c,old:{x:i,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{s.ctx.lineWidth=2,s.ctx.strokeStyle="rgba(255,127,127,0.9)",s.ctx.beginPath(),s.ctx.moveTo(g.old.x,g.old.y),s.ctx.lineTo(g.x,g.y),s.ctx.closePath(),s.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),v.addTween({x:i,y:c,old:{x:i,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{s.ctx.lineWidth=2,s.ctx.strokeStyle="rgba(255,127,127,0.5)",s.ctx.beginPath(),s.ctx.moveTo(g.old.x,g.old.y),s.ctx.lineTo(g.x,g.y),s.ctx.closePath(),s.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{r("onCompleted",n.interpolationName),p=!1}}),v.play()};return re(()=>{l?.destroy()}),t({start:w}),(x,v)=>(A(),F("div",Ek,[k("div",null,[Vt(" 插值:"+ut(x.interpolationName)+" ",1),J(oe,{stylePattern:"outline",height:"32px",onClick:w},{default:at(()=>v[0]||(v[0]=[Vt(" 开始 ")])),_:1})]),k("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[J(bo,{ref_key:"canvasRef",ref:a,bgColor:"#ffffff"},null,512)],4)]))}}),T5="",Rh=nt(Sk,[["__scopeId","data-v-858ad7b1"]]),Ok=2e3,Ih=nt(Y({customOptions:{InterpolationGraphDisplay:Rh},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:xt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:xt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:xt.Interpolation.CatmullRom}]}},setup(e,{expose:t,emit:o}){const n=e,r={};function a(c,u){c&&(r[u]={el:c})}const s=new Na(1);function l(c){s.addTask(()=>(r[c].el.start(),new Promise(u=>{r[c].resolve=u})))}function i(c){r[c].resolve?.()}return t({}),(c,u)=>(A(),F("div",null,[(A(!0),F(zt,null,we(n.interpolationList,f=>(A(),F("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[J(Rh,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:Ok,onOnMounted:l,onOnCompleted:i,ref_for:!0,ref:d=>a(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
234
- `]],["__scopeId","data-v-7128e350"]]),Pk={class:"face front"},Rk={class:"face back"},Ah=nt(Y({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(!1),s=()=>{a.value=!a.value,r("click",a.value)};return t({}),(l,i)=>(A(),F("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[k("div",{class:Ut(["card",[n.type,{flip:a.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:s},[k("div",Pk,[dt(l.$slots,"front",{},()=>[i[0]||(i[0]=Vt("front"))],!0)]),k("div",Rk,[dt(l.$slots,"back",{},()=>[i[1]||(i[1]=Vt("back"))],!0)])],6)],4))}}),[["styles",[`.card-flip-scene[data-v-1ee90a6e]{width:100%;height:100%;cursor:pointer}.card[data-v-1ee90a6e]{width:100%;height:100%;position:relative;transform-style:preserve-3d}.card.slide[data-v-1ee90a6e]{transform-origin:center right}.card.flip[data-v-1ee90a6e]{transform:rotateY(180deg)}.card.slide.flip[data-v-1ee90a6e]{transform:translate(-100%) rotateY(-180deg)}.face[data-v-1ee90a6e]{position:absolute;height:100%;width:100%;backface-visibility:hidden}.face[data-v-1ee90a6e]>:nth-child(1){display:block;width:100%;height:100%}.back[data-v-1ee90a6e]{transform:rotateY(180deg)}
235
- `]],["__scopeId","data-v-1ee90a6e"]]),Ik=Y({customOptions:{BooleanBox:nn},__name:"RadioGroup",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t,r=R([]),a=(i,c)=>{i&&(r.value[c]=i)};let s=R(o.initIndex);const l=(i,c)=>{s.value!==i?(r.value[s.value].toggleValue(),c&&(s.value=i,n("change",o.options[s.value]))):c||r.value[s.value].setValue(!0)};return(i,c)=>(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?o.itemPadding:0)])},[J(nn,{ref_for:!0,ref:d=>a(d,f),selected:vt(s)==f,disabled:i.disabledIndexs&&i.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:o.isRounded,label:u,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:d=>l(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),R5="",$h=nt(Ik,[["__scopeId","data-v-308d559c"]]),Ak=Y({customOptions:{BooleanBox:nn},__name:"CheckboxGroup",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;let r=jt(o.initIndexs??[]);const a=(s,l)=>{const i=r.findIndex(u=>u===s);let c=!1;i>=0&&!l?(r.splice(i,1),c=!0):i<0&&l&&(r.push(s),c=!0),c&&n("change",r.map(u=>o.options[u]))};return(s,l)=>(A(!0),F(zt,null,we(s.options,(i,c)=>(A(),F("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?o.itemPadding:0)])},[J(nn,{selected:vt(r).findIndex(u=>u===c)>=0,disabled:s.disabledIndexs&&s.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:o.isRounded,label:i,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:u=>a(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),I5="",Xl=nt(Ak,[["__scopeId","data-v-4c28fda3"]]),$k=["max","min","step","value","autofocus"],Nk={key:0,class:"label"},Dk=Y({customOptions:{},inheritAttrs:!0,__name:"InputRange",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,a=R(n.defaultValue),s=()=>Pe((a.value-n.min)/(n.max-n.min),4)*100,l=R(s());function i(f){a.value=Pe(f.target.value,2),l.value=s(),r("change",a.value)}const c=`
225
+ `,n.value.getElement())}),t({start:v,pause:u}),(x,m)=>(I(),ht(pt,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onReady:l,onUpdate:i},{default:st(()=>[w("div",{class:"clock-flipper",style:N({fontSize:a.value+"px",lineHeight:r.value+"px"})},[(I(!0),z(Dt,null,Te(f,(g,y)=>(I(),z(Dt,{key:y},[w("div",{class:jt(["flip",[e.flipDirection,d[y]!=g?"go":""]]),style:N({width:s.value+"px"})},[w("div",{class:jt(["front digital",[`flipper_${y}`,`number_${g}`]])},null,2),w("div",{class:jt(["back digital",[`number_${d[y]}`]])},null,2)],6),y==1||y==3?(I(),z("div",{key:0,class:"gap",style:N({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):yt("",!0)],64))),128))],4)]),_:1},512))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
226
+ `,`.clock-flipper[data-v-7e04b895]{position:relative;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;text-align:center;height:100%;font-family:D-DINCondensed-number}.flip[data-v-7e04b895]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-7e04b895]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-7e04b895]:after,.flip.down .back[data-v-7e04b895]:before{z-index:1}.flip.down .front[data-v-7e04b895]:before{z-index:3}.flip.down .back[data-v-7e04b895]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-7e04b895]:before{transform-origin:50% 100%;animation:frontFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.down.go .back[data-v-7e04b895]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-7e04b895]:before,.flip.up .back[data-v-7e04b895]:after{z-index:1}.flip.up .front[data-v-7e04b895]:after{z-index:3}.flip.up .back[data-v-7e04b895]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-7e04b895]:after{transform-origin:50% 0;animation:frontFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.up.go .back[data-v-7e04b895]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-7e04b895]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-7e04b895]:before,.digital[data-v-7e04b895]:after{content:"";position:absolute;left:0;right:0;height:50%;box-sizing:border-box;background:var(--yz-clock-flipper-bg-color);overflow:hidden}.digital[data-v-7e04b895]:before{top:0;bottom:50%;border-radius:var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius) 0 0;border-bottom:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color)}.digital[data-v-7e04b895]:after{top:50%;bottom:0;border-radius:0 0 var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius);border-top:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color);line-height:0}.digital.number_0[data-v-7e04b895]:before,.digital.number_0[data-v-7e04b895]:after{content:"0"}.digital.number_1[data-v-7e04b895]:before,.digital.number_1[data-v-7e04b895]:after{content:"1"}.digital.number_2[data-v-7e04b895]:before,.digital.number_2[data-v-7e04b895]:after{content:"2"}.digital.number_3[data-v-7e04b895]:before,.digital.number_3[data-v-7e04b895]:after{content:"3"}.digital.number_4[data-v-7e04b895]:before,.digital.number_4[data-v-7e04b895]:after{content:"4"}.digital.number_5[data-v-7e04b895]:before,.digital.number_5[data-v-7e04b895]:after{content:"5"}.digital.number_6[data-v-7e04b895]:before,.digital.number_6[data-v-7e04b895]:after{content:"6"}.digital.number_7[data-v-7e04b895]:before,.digital.number_7[data-v-7e04b895]:after{content:"7"}.digital.number_8[data-v-7e04b895]:before,.digital.number_8[data-v-7e04b895]:after{content:"8"}.digital.number_9[data-v-7e04b895]:before,.digital.number_9[data-v-7e04b895]:after{content:"9"}
227
+ `]],["__scopeId","data-v-7e04b895"]]);var Ws=function(){var o=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(u){u.preventDefault(),n(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";o=u}var s=(performance||Date).now(),r=s,a=0,i=e(new Ws.Panel("FPS","#0ff","#002")),l=e(new Ws.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new Ws.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:e,showPanel:n,begin:function(){s=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-s,200),u>r+1e3&&(i.update(a*1e3/(u-r),100),r=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){s=this.end()},domElement:t,setMode:n}};Ws.Panel=function(o,t,e){var n=1/0,s=0,r=Math.round,a=r(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,f=3*a,d=15*a,h=74*a,p=30*a,v=document.createElement("canvas");v.width=i,v.height=l,v.style.cssText="width:80px;height:48px";var k=v.getContext("2d");return k.font="bold "+9*a+"px Helvetica,Arial,sans-serif",k.textBaseline="top",k.fillStyle=e,k.fillRect(0,0,i,l),k.fillStyle=t,k.fillText(o,c,u),k.fillRect(f,d,h,p),k.fillStyle=e,k.globalAlpha=.9,k.fillRect(f,d,h,p),{dom:v,update:function(x,m){n=Math.min(n,x),s=Math.max(s,x),k.fillStyle=e,k.globalAlpha=1,k.fillRect(0,0,i,d),k.fillStyle=t,k.fillText(r(x)+" "+o+" ("+r(n)+"-"+r(s)+")",c,u),k.drawImage(v,f+a,d,h-a,p,f,d,h-a,p),k.fillRect(f+h-a,d,a,p),k.fillStyle=e,k.globalAlpha=.9,k.fillRect(f+h-a,d,a,r((1-x/m)*p))}}};const Ek=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=O();return ye(()=>{const n=new Ws;n.domElement.style.margin="1em",e.value.appendChild(n.domElement),Ur(()=>(n.update(),!0))}),t({}),(n,s)=>(I(),z("div",{ref_key:"containerRef",ref:e},null,512))}}),Sk={class:"ease-graph"},mc=at(X({customOptions:{Button:re,Canvas:_o},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(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:v=>{f.x=v.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:v=>{f.y=v.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),z("div",Sk,[w("div",null,"缓动:"+dt(f.easeName),1),w("div",null,[w("div",null,[Q(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),w("div",null,[Q(re,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),w("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-4358d221]{display:inline-block}.ease-graph>div[data-v-4358d221]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-4358d221]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-4358d221]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-4358d221]{margin-left:10px}
228
+ `]],["__scopeId","data-v-4358d221"]]),Ok={class:"ease-graph"},Pk=X({customOptions:{Button:re,Canvas:_o},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(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:v=>{f.x=v.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:v=>{f.y=v.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),z("div",Ok,[w("div",null,"缓动:"+dt(f.easeName),1),w("div",null,[w("div",null,[Q(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),w("div",null,[Q(re,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),w("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),TC="",cm=at(Pk,[["__scopeId","data-v-ceb1c6e1"]]),Rk=2e3,um=at(X({customOptions:{EaseGraphDisplay:cm},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:xt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:xt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:xt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:xt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:xt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:xt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:xt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:xt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:xt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:xt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:xt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:xt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:xt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:xt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:xt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:xt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:xt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:xt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:xt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:xt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:xt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:xt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:xt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:xt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:xt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:xt.Easing.Back.In},{easeName:"BackOut",easeFunction:xt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:xt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:xt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:xt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:xt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:xt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:xt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:xt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:xt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:xt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:xt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:xt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:xt.Easing.swing},{easeName:"causeSeizures",easeFunction:xt.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(o,{expose:t,emit:e}){const n=o,s=e,r={};function a(d,h){d&&(r[h]={el:d})}const i=new Yr(10);function l(d){i.addTask(()=>(r[d].el.start(),new Promise(h=>{r[d].resolve=h})))}function c(d){r[d].resolve?.()}const u=O("Linear");function f(d,h){u.value=d,s("selectedEaseFunction",d,h)}return f("Linear",xt.Easing.Linear.None),t({}),(d,h)=>(I(),z("div",null,[(I(!0),z(Dt,null,Te(n.easeList,p=>(I(),z("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(I(),ht(cm,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:Rk,isSelected:u.value==p.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:v=>a(v,p.easeName)},null,8,["easeName","easeFunction","isSelected"])):yt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
229
+ `]],["__scopeId","data-v-b3ce4b26"]]),Ik={class:"interpolation-graph"},fm=1/6,dm=5/6,gc=at(X({customOptions:{Button:re,Canvas:_o},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:v}).then(k=>i=k),r.value.getCanvas().then(k=>{a=k,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*fm,c=n.canvasHeight/2,u=[n.canvasWidth*dm,n.canvasWidth/2],f=[n.canvasHeight*fm,n.canvasHeight*dm],d=[...u,l],h=[...f,c];let p=!1;const v=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var k=0;k<u.length;k++)a.ctx.fillRect(u[k]-2,f[k]-2,4,4);const x=new Xe({frameDuration:n.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),x.play()};return ue(()=>{i?.()}),t({start:v}),(k,x)=>(I(),z("div",Ik,[w("div",null,[Bt(" 插值:"+dt(k.interpolationName)+" ",1),Q(re,{stylePattern:"outline",height:"32px",onClick:v},{default:st(()=>x[0]||(x[0]=[Bt(" 开始 ")])),_:1})]),w("div",{style:N({width:k.canvasWidth+"px",height:k.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-40f2a3d6]{display:inline-block}.interpolation-graph>div[data-v-40f2a3d6]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
230
+ `]],["__scopeId","data-v-40f2a3d6"]]),Ak={class:"interpolation-graph"},hm=1/6,pm=5/6,$k=X({customOptions:{Button:re,Canvas:_o},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:v}).then(k=>i=k),r.value.getCanvas().then(k=>{a=k,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*hm,c=n.canvasHeight/2,u=[n.canvasWidth*pm,n.canvasWidth/2],f=[n.canvasHeight*hm,n.canvasHeight*pm],d=[...u,l],h=[...f,c];let p=!1;const v=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var k=0;k<u.length;k++)a.ctx.fillRect(u[k]-2,f[k]-2,4,4);const x=new Xe({frameDuration:n.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),x.play()};return ue(()=>{i?.()}),t({start:v}),(k,x)=>(I(),z("div",Ak,[w("div",null,[Bt(" 插值:"+dt(k.interpolationName)+" ",1),Q(re,{stylePattern:"outline",height:"32px",onClick:v},{default:st(()=>x[0]||(x[0]=[Bt(" 开始 ")])),_:1})]),w("div",{style:N({width:k.canvasWidth+"px",height:k.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),RC="",mm=at($k,[["__scopeId","data-v-9fcfb094"]]),Nk=2e3,gm=at(X({customOptions:{InterpolationGraphDisplay:mm},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:xt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:xt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:xt.Interpolation.CatmullRom}]}},setup(o,{expose:t,emit:e}){const n=o,s={};function r(c,u){c&&(s[u]={el:c})}const a=new Yr(1);function i(c){a.addTask(()=>(s[c].el.start(),new Promise(u=>{s[c].resolve=u})))}function l(c){s[c].resolve?.()}return t({}),(c,u)=>(I(),z("div",null,[(I(!0),z(Dt,null,Te(n.interpolationList,f=>(I(),z("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[Q(mm,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:Nk,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:d=>r(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
231
+ `]],["__scopeId","data-v-7128e350"]]),Fk={class:"face front"},zk={class:"face back"},ym=at(X({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(!1),a=()=>{r.value=!r.value,s("click",r.value)};return t({}),(i,l)=>(I(),z("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[w("div",{class:jt(["card",[n.type,{flip:r.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:a},[w("div",Fk,[gt(i.$slots,"front",{},()=>[l[0]||(l[0]=Bt("front"))],!0)]),w("div",zk,[gt(i.$slots,"back",{},()=>[l[1]||(l[1]=Bt("back"))],!0)])],6)],4))}}),[["styles",[`.card-flip-scene[data-v-1ee90a6e]{width:100%;height:100%;cursor:pointer}.card[data-v-1ee90a6e]{width:100%;height:100%;position:relative;transform-style:preserve-3d}.card.slide[data-v-1ee90a6e]{transform-origin:center right}.card.flip[data-v-1ee90a6e]{transform:rotateY(180deg)}.card.slide.flip[data-v-1ee90a6e]{transform:translate(-100%) rotateY(-180deg)}.face[data-v-1ee90a6e]{position:absolute;height:100%;width:100%;backface-visibility:hidden}.face[data-v-1ee90a6e]>:nth-child(1){display:block;width:100%;height:100%}.back[data-v-1ee90a6e]{transform:rotateY(180deg)}
232
+ `]],["__scopeId","data-v-1ee90a6e"]]),Dk=X({customOptions:{BooleanBox:sn},__name:"RadioGroup",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=O([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=O(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Q(sn,{ref_for:!0,ref:d=>r(d,f),selected:Ot(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),FC="",vm=at(Dk,[["__scopeId","data-v-308d559c"]]),Mk=X({customOptions:{BooleanBox:sn},__name:"CheckboxGroup",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),z(Dt,null,Te(a.options,(l,c)=>(I(),z("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Q(sn,{selected:Ot(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),zC="",yc=at(Mk,[["__scopeId","data-v-4c28fda3"]]),Lk=["max","min","step","value","autofocus"],Bk={key:0,class:"label"},Vk=X({customOptions:{},inheritAttrs:!0,__name:"InputRange",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(n.defaultValue),a=()=>Re((r.value-n.min)/(n.max-n.min),4)*100,i=O(a());function l(f){r.value=Re(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
236
233
  :root {
237
234
  --input-range-color: ${n.color};
238
235
  --input-range-thumb-size: ${n.handleSize};
@@ -243,38 +240,38 @@ ${JSON.stringify($,null,2)}
243
240
  --input-range-thumb-size: ${n.handleSize};
244
241
  --input-range-track-size: ${n.barHeight};
245
242
  }
246
- `,u=R();return Pt(u,()=>{u.value&&go(c,u.value)}),re(()=>{}),t({}),(f,d)=>(A(),F("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[k("input",{type:"range",max:n.max,min:n.min,step:n.step,value:a.value,autofocus:n.autofocus,onInput:i,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${l.value}%, ${n.barColor} ${l.value}%, ${n.barColor})`})},null,44,$k),dt(f.$slots,"default",{value:a.value},()=>[f.showValue?(A(),F("label",Nk,ut(a.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),A5="",Ss=nt(Dk,[["__scopeId","data-v-cab67db2"]]),Nh=nt(Y({customOptions:{RadioGroup:$h,CheckboxGroup:Xl,InputRange:Ss},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(e,{expose:t,emit:o}){const n=e,r=R(Math.floor(n.width/2)),a=`
243
+ `,u=O();return Rt(u,()=>{u.value&&bo(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[w("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,Lk),gt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),z("label",Bk,dt(r.value)+dt(n.unit),1)):yt("",!0)],!0)],512))}}),DC="",Za=at(Vk,[["__scopeId","data-v-cab67db2"]]),bm=at(X({customOptions:{RadioGroup:vm,CheckboxGroup:yc,InputRange:Za},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(o,{expose:t,emit:e}){const n=o,s=O(Math.floor(n.width/2)),r=`
247
244
  :root {
248
- --spin-cube-z: -${r.value}px;
245
+ --spin-cube-z: -${s.value}px;
249
246
  }
250
247
  :host {
251
- --spin-cube-z: -${r.value}px;
248
+ --spin-cube-z: -${s.value}px;
252
249
  }
253
- `,s=R();Pt(s,()=>{s.value&&go(a,s.value)});const l=R(n.perspective+"px"),i=m=>{l.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},f=R("50%"),d=m=>{f.value=m+"%"},h=`translateZ(-${r.value}px)`,p=R(h),w=m=>{switch(m){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},x=R(!1),v=m=>{m.length?x.value=!0:x.value=!1},g=R("visible"),y=m=>{m.length?g.value="visible":g.value="hidden"};return t({}),(m,_)=>(A(),F("div",{ref_key:"container",ref:s},[k("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${l.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[k("div",{class:Ut(["cube",{spinning:x.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[k("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"front",{},()=>[_[0]||(_[0]=Vt("front"))],!0)],4),k("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"back",{},()=>[_[1]||(_[1]=Vt("back"))],!0)],4),k("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"right",{},()=>[_[2]||(_[2]=Vt("right"))],!0)],4),k("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"left",{},()=>[_[3]||(_[3]=Vt("left"))],!0)],4),k("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"top",{},()=>[_[4]||(_[4]=Vt("top"))],!0)],4),k("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"bottom",{},()=>[_[5]||(_[5]=Vt("bottom"))],!0)],4)],6)],4),k("div",null,[J($h,{options:["front","right","back","left","top","bottom"],onChange:w})]),k("div",null,[J(Xl,{options:["Backface visible"],onChange:y})]),k("div",null,[J(Xl,{options:["spin cube"],onChange:v})]),k("div",null,[_[6]||(_[6]=Vt(" perspective: ")),J(Ss,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:i},null,8,["defaultValue"])]),k("div",null,[_[7]||(_[7]=Vt(" perspective-origin x: ")),J(Ss,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),k("div",null,[_[8]||(_[8]=Vt(" perspective-origin y: ")),J(Ss,{min:0,max:100,defaultValue:50,unit:"%",onChange:d})])],512))}}),[["styles",[`.cube[data-v-d77b4117]{position:relative;width:100%;height:100%}.face[data-v-d77b4117]{position:absolute;width:100%;height:100%}.front[data-v-d77b4117]{background:hsla(0,100%,50%,.7)}.right[data-v-d77b4117]{background:hsla(60,100%,50%,.7)}.back[data-v-d77b4117]{background:hsla(120,100%,50%,.7)}.left[data-v-d77b4117]{background:hsla(180,100%,50%,.7)}.top[data-v-d77b4117]{background:hsla(240,100%,50%,.7)}.bottom[data-v-d77b4117]{background:hsla(300,100%,50%,.7)}.spinning[data-v-d77b4117]{animation:spinCube-d77b4117 8s infinite ease-in-out}@keyframes spinCube-d77b4117{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
254
- `]],["__scopeId","data-v-d77b4117"]]),Fk={class:"svg",style:{position:"absolute",width:"0",height:"0"}},Dh=Y({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(e){return(t,o)=>(A(),F("svg",Fk,o[0]||(o[0]=[kg('<defs><mask id="mask" maskContentUnits="objectBoundingBox"><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black"></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black"></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white"></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white"></rect></mask></defs>',1)])))}}),Lk=Y({customOptions:{Container:mt,SVGMaskNapkin:Dh},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(e,{expose:t}){const o=e,n=R(0),r=R(0),a=(s,l)=>{n.value=s,r.value=l};return t({}),(s,l)=>(A(),F("div",{style:N({width:`${n.value}px`,height:`${r.value}px`,maskImage:o.imageUrl?`url(${o.imageUrl})`:"url(#mask)","mask-mode":o.maskMode})},[dt(s.$slots,"mask",{},()=>[J(Dh)]),J(mt,{type:"shrink",onResize:a},{default:at(()=>[dt(s.$slots,"default")]),_:3})],4))}}),Fh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"Float.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},dur:{default:200},distance:{default:4},boxShadow:{default:"none"},direction:{default:"up"}},setup(e,{expose:t}){const o=e,n=jt({willChange:"box-shadow, transform"}),r=()=>{switch(n.boxShadow="none",o.direction){case"left":n.transform="translateX(0)";break;case"right":n.transform="translateX(0)";break;case"down":n.transform="translateY(0)";break;case"up":n.transform="translateY(0)";break}},a=()=>{switch(n.boxShadow=o.boxShadow,o.direction){case"left":n.transform=`translateX(-${o.distance}px)`;break;case"right":n.transform=`translateX(${o.distance}px)`;break;case"down":n.transform=`translateY(${o.distance}px)`;break;case"up":n.transform=`translateY(-${o.distance}px)`;break}};return t({}),(s,l)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:a},{default:at(()=>[k("div",{class:"float",style:N({transition:`transform ${o.dur}ms ease-in-out, box-shadow ${o.dur}ms ease-in-out`,...n})},[dt(s.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
255
- `]],["__scopeId","data-v-e9e9dadd"]]),zk={class:"slide"},Lh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"Slide.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:200},direction:{default:"up"}},setup(e,{expose:t}){const o=e,n=jt({}),r=()=>{switch(o.direction){case"left":n.transformOrigin="center left",n.transform="scaleX(0)";break;case"right":n.transformOrigin="center right",n.transform="scaleX(0)";break;case"down":n.transformOrigin="center bottom",n.transform="scaleY(0)";break;case"up":n.transformOrigin="center top",n.transform="scaleY(0)";break}},a=()=>{switch(o.direction){case"left":n.transformOrigin="center right",n.transform="scaleX(1)";break;case"right":n.transformOrigin="center left",n.transform="scaleX(1)";break;case"down":n.transformOrigin="center top",n.transform="scaleY(1)";break;case"up":n.transformOrigin="center bottom",n.transform="scaleY(1)";break}};return t({}),(s,l)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:a,style:{overflow:"hidden"}},{default:at(()=>[k("div",{class:"slide-before",style:N({backgroundColor:o.color,transition:`transform ${o.dur}ms ease-in-out`,...n})},null,4),k("div",zk,[dt(s.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-370e136b]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-370e136b]{position:relative;z-index:1;cursor:pointer}
256
- `]],["__scopeId","data-v-370e136b"]]),Mk={class:"slide-corner"},zh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"SlideCorner.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:100},direction:{default:"fromBottomLeft"}},setup(e,{expose:t}){const o=e,n=jt({});let r=1,a=r*2;const s=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),a=r*2,n.width=n.height=Math.ceil(Math.min(c,u))+"px"},l=()=>{switch(o.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":n.top="50%",n.left="50%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},i=()=>{switch(o.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform=`translate(50%, -50%) scale3d(${a}, ${a}, ${a})`;break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform=`translate(-50%, -50%) scale3d(${a}, ${a}, ${a})`;break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform=`translate(50%, 50%) scale3d(${a}, ${a}, ${a})`;break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform=`translate(-50%, 50%) scale3d(${a}, ${a}, ${a})`;break;case"fromCenter":n.top="50%",n.left="50%",n.transform=`translate(-50%, -50%) scale3d(${a}, ${a}, ${a})`;break}};return t({}),(c,u)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:l,onEnd:i,onResize:s,style:{overflow:"hidden"}},{default:at(()=>[k("div",{class:"slide-corner-before",style:N({backgroundColor:o.color,borderRadius:"50%",transition:`transform ${o.timeGap*vt(r)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),k("div",Mk,[dt(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-6065adbb]{position:absolute;z-index:0}.slide-corner[data-v-6065adbb]{position:relative;z-index:1;cursor:pointer}
257
- `]],["__scopeId","data-v-6065adbb"]]),Bk={class:"line-single"},Mh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"LineSingle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"underline"},direction:{default:"right"}},setup(e,{expose:t}){const o=e;let n=1;const r=(i,c)=>{n=Math.ceil(Math.max(i,c)/Math.min(i,c))},a=jt({});switch(o.location){case"underline":a.bottom="0";break;case"overline":a.top="0";break;case"through":a.top="50%";break}const s=()=>{switch(o.direction){case"right":a.transformOrigin="bottom right",a.transform="scaleX(0)";break;case"left":a.transformOrigin="bottom left",a.transform="scaleX(0)";break;case"fromCenter":a.transformOrigin="center",a.transform="scaleX(0)";break}},l=()=>{switch(o.direction){case"right":a.transformOrigin="bottom left",a.transform="scaleX(1)";break;case"left":a.transformOrigin="bottom right",a.transform="scaleX(1)";break;case"fromCenter":a.transformOrigin="center",a.transform="scaleX(1)";break}};return t({}),(i,c)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:s,onEnd:l,onResize:r},{default:at(()=>[k("div",{class:"line-single-before",style:N({left:0,width:"100%",height:o.lineHeight+"px",backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...a})},null,4),k("div",Bk,[dt(i.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-f6ff8ebf]{position:absolute;z-index:0}.line-single[data-v-f6ff8ebf]{position:relative;z-index:1;cursor:pointer}
258
- `]],["__scopeId","data-v-f6ff8ebf"]]),Yk={class:"line-double"},Bh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"LineDouble.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"horizontal"},direction:{default:"toEnd"}},setup(e,{expose:t}){const o=e;let n=1;const r=(u,f)=>{n=Math.ceil(Math.max(u,f)/Math.min(u,f))},a=jt({}),s=jt({}),l=jt({});switch(o.location){case"horizontal":a.width="100%",a.height=o.lineHeight+"px",s.top="0",l.bottom="0";break;case"vertical":a.width=o.lineHeight+"px",a.height="100%",s.left="0",l.right="0";break}const i=()=>{switch(o.direction){case"toEnd":switch(o.location){case"horizontal":s.right="0",l.right="0",a.transformOrigin="center right",a.transform="scaleX(0)";break;case"vertical":s.bottom="0",l.bottom="0",a.transformOrigin="center bottom",a.transform="scaleY(0)";break}break;case"toStart":switch(o.location){case"horizontal":s.left="0",l.left="0",a.transformOrigin="center left",a.transform="scaleX(0)";break;case"vertical":s.top="0",l.top="0",a.transformOrigin="center top",a.transform="scaleY(0)";break}break;case"towards":switch(o.location){case"horizontal":s.right="0",s.transformOrigin="center right",l.left="0",l.transformOrigin="center left",a.transform="scaleX(0)";break;case"vertical":s.bottom="0",s.transformOrigin="center bottom",l.top="0",l.transformOrigin="center top",a.transform="scaleY(0)";break}break;case"fromCenter":switch(o.location){case"horizontal":s.left="50%",l.left="50%",a.transformOrigin="center",a.transform="translateX(-50%) scaleX(0)";break;case"vertical":s.top="50%",l.top="50%",a.transformOrigin="center",a.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(o.direction){case"toEnd":switch(o.location){case"horizontal":s.left="0",l.left="0",a.transformOrigin="center left",a.transform="scaleX(1)";break;case"vertical":s.top="0",l.top="0",a.transformOrigin="center top",a.transform="scaleY(1)";break}break;case"toStart":switch(o.location){case"horizontal":s.right="0",l.right="0",a.transformOrigin="center right",a.transform="scaleX(1)";break;case"vertical":s.bottom="0",l.bottom="0",a.transformOrigin="center bottom",a.transform="scaleY(1)";break}break;case"towards":switch(o.location){case"horizontal":s.left="0",s.transformOrigin="center left",l.right="0",l.transformOrigin="center right",a.transform="scaleX(1)";break;case"vertical":s.top="0",s.transformOrigin="center top",l.bottom="0",l.transformOrigin="center bottom",a.transform="scaleY(1)";break}break;case"fromCenter":switch(o.location){case"horizontal":s.left="50%",l.left="50%",a.transformOrigin="center",a.transform="translateX(-50%) scaleX(1)";break;case"vertical":s.top="50%",l.top="50%",a.transformOrigin="center",a.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,f)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:i,onEnd:c,onResize:r},{default:at(()=>[k("div",{class:"line-double-before",style:N({backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...a,...s})},null,4),k("div",Yk,[dt(u.$slots,"default",{},void 0,!0)]),k("div",{class:"line-double-after",style:N({backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...a,...l})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-dcf10fee],.line-double-after[data-v-dcf10fee]{position:absolute;z-index:0}.line-double[data-v-dcf10fee]{position:relative;z-index:1;cursor:pointer}
259
- `]],["__scopeId","data-v-dcf10fee"]]),Vk={class:"circle"},Yh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(e,{expose:t}){const o=e,n=R(),r=jt({transition:`box-shadow ${o.dur}ms`,borderRadius:"100%"}),a=(i,c)=>{r.width=r.height=Math.ceil(Math.max(i,c))+"px",n.value?.repeatEffect?.()},s=()=>{const i=_e(o.color,.2).toString();r.boxShadow=`
260
- inset ${r.width} 0 0 ${i},
261
- inset 0 ${r.width} 0 ${i},
262
- inset -${r.width} 0 0 ${i},
263
- inset 0 -${r.width} 0 ${i}
264
- `},l=()=>{r.boxShadow=`
250
+ `,a=O();Rt(a,()=>{a.value&&bo(r,a.value)});const i=O(n.perspective+"px"),l=y=>{i.value=y==2e3?"none":y+"px"},c=O("50%"),u=y=>{c.value=y+"%"},f=O("50%"),d=y=>{f.value=y+"%"},h=`translateZ(-${s.value}px)`,p=O(h),v=y=>{switch(y){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},k=O(!1),x=y=>{y.length?k.value=!0:k.value=!1},m=O("visible"),g=y=>{y.length?m.value="visible":m.value="hidden"};return t({}),(y,b)=>(I(),z("div",{ref_key:"container",ref:a},[w("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[w("div",{class:jt(["cube",{spinning:k.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[w("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"front",{},()=>[b[0]||(b[0]=Bt("front"))],!0)],4),w("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"back",{},()=>[b[1]||(b[1]=Bt("back"))],!0)],4),w("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"right",{},()=>[b[2]||(b[2]=Bt("right"))],!0)],4),w("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"left",{},()=>[b[3]||(b[3]=Bt("left"))],!0)],4),w("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"top",{},()=>[b[4]||(b[4]=Bt("top"))],!0)],4),w("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"bottom",{},()=>[b[5]||(b[5]=Bt("bottom"))],!0)],4)],6)],4),w("div",null,[Q(vm,{options:["front","right","back","left","top","bottom"],onChange:v})]),w("div",null,[Q(yc,{options:["Backface visible"],onChange:g})]),w("div",null,[Q(yc,{options:["spin cube"],onChange:x})]),w("div",null,[b[6]||(b[6]=Bt(" perspective: ")),Q(Za,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),w("div",null,[b[7]||(b[7]=Bt(" perspective-origin x: ")),Q(Za,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),w("div",null,[b[8]||(b[8]=Bt(" perspective-origin y: ")),Q(Za,{min:0,max:100,defaultValue:50,unit:"%",onChange:d})])],512))}}),[["styles",[`.cube[data-v-d77b4117]{position:relative;width:100%;height:100%}.face[data-v-d77b4117]{position:absolute;width:100%;height:100%}.front[data-v-d77b4117]{background:hsla(0,100%,50%,.7)}.right[data-v-d77b4117]{background:hsla(60,100%,50%,.7)}.back[data-v-d77b4117]{background:hsla(120,100%,50%,.7)}.left[data-v-d77b4117]{background:hsla(180,100%,50%,.7)}.top[data-v-d77b4117]{background:hsla(240,100%,50%,.7)}.bottom[data-v-d77b4117]{background:hsla(300,100%,50%,.7)}.spinning[data-v-d77b4117]{animation:spinCube-d77b4117 8s infinite ease-in-out}@keyframes spinCube-d77b4117{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
251
+ `]],["__scopeId","data-v-d77b4117"]]),Yk={class:"svg",style:{position:"absolute",width:"0",height:"0"}},_m=X({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(I(),z("svg",Yk,e[0]||(e[0]=[iy('<defs><mask id="mask" maskContentUnits="objectBoundingBox"><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black"></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black"></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white"></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white"></rect></mask></defs>',1)])))}}),Xk=X({customOptions:{Container:pt,SVGMaskNapkin:_m},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,n=O(0),s=O(0),r=a=>{n.value=a.rect.width,s.value=a.rect.height};return t({}),(a,i)=>(I(),z("div",{style:N({width:`${n.value}px`,height:`${s.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[gt(a.$slots,"mask",{},()=>[Q(_m)]),Q(pt,{type:"shrink",onReady:r,onUpdate:r},{default:st(()=>[gt(a.$slots,"default")]),_:3})],4))}}),xm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"Float.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},dur:{default:200},distance:{default:4},boxShadow:{default:"none"},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({willChange:"box-shadow, transform"}),s=()=>{switch(n.boxShadow="none",e.direction){case"left":n.transform="translateX(0)";break;case"right":n.transform="translateX(0)";break;case"down":n.transform="translateY(0)";break;case"up":n.transform="translateY(0)";break}},r=()=>{switch(n.boxShadow=e.boxShadow,e.direction){case"left":n.transform=`translateX(-${e.distance}px)`;break;case"right":n.transform=`translateX(${e.distance}px)`;break;case"down":n.transform=`translateY(${e.distance}px)`;break;case"up":n.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(I(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:st(()=>[w("div",{class:"float",style:N({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...n})},[gt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-39f0e215]{position:relative;z-index:1;cursor:pointer}
252
+ `]],["__scopeId","data-v-39f0e215"]]),Zk={class:"slide"},km=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"Slide.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:200},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({}),s=()=>{switch(e.direction){case"left":n.transformOrigin="center left",n.transform="scaleX(0)";break;case"right":n.transformOrigin="center right",n.transform="scaleX(0)";break;case"down":n.transformOrigin="center bottom",n.transform="scaleY(0)";break;case"up":n.transformOrigin="center top",n.transform="scaleY(0)";break}},r=()=>{switch(e.direction){case"left":n.transformOrigin="center right",n.transform="scaleX(1)";break;case"right":n.transformOrigin="center left",n.transform="scaleX(1)";break;case"down":n.transformOrigin="center top",n.transform="scaleY(1)";break;case"up":n.transformOrigin="center bottom",n.transform="scaleY(1)";break}};return t({}),(a,i)=>(I(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r,style:{overflow:"hidden"}},{default:st(()=>[w("div",{class:"slide-before",style:N({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...n})},null,4),w("div",Zk,[gt(a.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-b920d7c6]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-b920d7c6]{position:relative;z-index:1;cursor:pointer}
253
+ `]],["__scopeId","data-v-b920d7c6"]]),Uk={class:"slide-corner"},wm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"SlideCorner.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:100},direction:{default:"fromBottomLeft"}},setup(o,{expose:t}){const e=o,n=Wt({});let s=1,r=s*2;const a=c=>{s=Math.ceil(Math.max(c.rect.width,c.rect.height)/Math.min(c.rect.width,c.rect.height)),r=s*2,n.width=n.height=Math.ceil(Math.min(c.rect.width,c.rect.height))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":n.top="50%",n.left="50%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform=`translate(50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform=`translate(50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform=`translate(-50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromCenter":n.top="50%",n.left="50%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break}};return t({}),(c,u)=>(I(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onReady:a,onUpdate:a,style:{overflow:"hidden"}},{default:st(()=>[w("div",{class:"slide-corner-before",style:N({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),w("div",Uk,[gt(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-8aebd26b]{position:absolute;z-index:0}.slide-corner[data-v-8aebd26b]{position:relative;z-index:1;cursor:pointer}
254
+ `]],["__scopeId","data-v-8aebd26b"]]),Gk={class:"line-single"},Cm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"LineSingle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"underline"},direction:{default:"right"}},setup(o,{expose:t}){const e=o;let n=1;const s=l=>{n=Math.ceil(Math.max(l.rect.width,l.rect.height)/Math.min(l.rect.width,l.rect.height))},r=Wt({});switch(e.location){case"underline":r.bottom="0";break;case"overline":r.top="0";break;case"through":r.top="50%";break}const a=()=>{switch(e.direction){case"right":r.transformOrigin="bottom right",r.transform="scaleX(0)";break;case"left":r.transformOrigin="bottom left",r.transform="scaleX(0)";break;case"fromCenter":r.transformOrigin="center",r.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":r.transformOrigin="bottom left",r.transform="scaleX(1)";break;case"left":r.transformOrigin="bottom right",r.transform="scaleX(1)";break;case"fromCenter":r.transformOrigin="center",r.transform="scaleX(1)";break}};return t({}),(l,c)=>(I(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:s,onUpdate:s},{default:st(()=>[w("div",{class:"line-single-before",style:N({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(n)}ms ease-in-out`,...r})},null,4),w("div",Gk,[gt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-863466f1]{position:absolute;z-index:0}.line-single[data-v-863466f1]{position:relative;z-index:1;cursor:pointer}
255
+ `]],["__scopeId","data-v-863466f1"]]),Hk={class:"line-double"},Tm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"LineDouble.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"horizontal"},direction:{default:"toEnd"}},setup(o,{expose:t}){const e=o;let n=1;const s=u=>{n=Math.ceil(Math.max(u.rect.width,u.rect.height)/Math.min(u.rect.width,u.rect.height))},r=Wt({}),a=Wt({}),i=Wt({});switch(e.location){case"horizontal":r.width="100%",r.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":r.width=e.lineHeight+"px",r.height="100%",a.left="0",i.right="0";break}const l=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.right="0",i.right="0",r.transformOrigin="center right",r.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",r.transformOrigin="center bottom",r.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",r.transformOrigin="center left",r.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",r.transformOrigin="center top",r.transform="scaleY(0)";break}break;case"towards":switch(e.location){case"horizontal":a.right="0",a.transformOrigin="center right",i.left="0",i.transformOrigin="center left",r.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",r.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",r.transformOrigin="center",r.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",r.transformOrigin="center",r.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",r.transformOrigin="center left",r.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",r.transformOrigin="center top",r.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",r.transformOrigin="center right",r.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",r.transformOrigin="center bottom",r.transform="scaleY(1)";break}break;case"towards":switch(e.location){case"horizontal":a.left="0",a.transformOrigin="center left",i.right="0",i.transformOrigin="center right",r.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",r.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",r.transformOrigin="center",r.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",r.transformOrigin="center",r.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,f)=>(I(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onReady:s,onUpdate:s},{default:st(()=>[w("div",{class:"line-double-before",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(n)}ms ease-in-out`,...r,...a})},null,4),w("div",Hk,[gt(u.$slots,"default",{},void 0,!0)]),w("div",{class:"line-double-after",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(n)}ms ease-in-out`,...r,...i})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-caa56f4a],.line-double-after[data-v-caa56f4a]{position:absolute;z-index:0}.line-double[data-v-caa56f4a]{position:relative;z-index:1;cursor:pointer}
256
+ `]],["__scopeId","data-v-caa56f4a"]]),jk={class:"circle"},Em=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(o,{expose:t}){const e=o,n=O(),s=Wt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),r=l=>{s.width=s.height=Math.ceil(Math.max(l.rect.width,l.rect.height))+"px",n.value?.repeatEffect?.()},a=()=>{const l=Mt.set(e.color).setAlpha(.2).toString();s.boxShadow=`
257
+ inset ${s.width} 0 0 ${l},
258
+ inset 0 ${s.width} 0 ${l},
259
+ inset -${s.width} 0 0 ${l},
260
+ inset 0 -${s.width} 0 ${l}
261
+ `},i=()=>{s.boxShadow=`
265
262
  inset 0.5em 0 0 rgba(255, 0, 0, 0.5),
266
263
  inset 0 0.5em 0 rgba(252, 150, 0, 0.5),
267
264
  inset -0.5em 0 0 rgba(0, 255, 0, 0.5),
268
265
  inset 0 -0.5em 0 rgba(0, 150, 255, 0.5)
269
- `};return t({}),(i,c)=>(A(),ht(mt,{ref_key:"containerRef",ref:n,type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:s,onEnd:l,onResize:a},{default:at(()=>[k("div",{class:"circle-before",style:N(r)},null,4),k("div",Vk,[dt(i.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-1c3f9baa]{position:absolute;z-index:2}.circle[data-v-1c3f9baa]{position:relative;z-index:1;cursor:pointer}
270
- `]],["__scopeId","data-v-1c3f9baa"]]),Xk=Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"TextBackgroundClip.ce",props:{text:{default:"文字背景为图片"},bgImageUrl:{default:"https://s3-us-west-2.amazonaws.com/s.cdpn.io/181794/kl-deer.png"}},setup(e,{expose:t}){const o=e;return t({}),(n,r)=>(A(),ht(mt,null,{default:at(()=>[k("div",{style:N({backgroundImage:`url(${o.bgImageUrl})`,"background-clip":"text",color:"transparent"})},ut(o.text),5)]),_:1}))}}),Vh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"BorderFocusText.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"manual"},text:{default:""},textSize:{default:12},borderColor:{default:"#5a82f0"},borderWidth:{default:2},borderRadius:{default:8}},setup(e,{expose:t}){const o=e,n=R(!0),r=()=>{n.value=!0},a=()=>{n.value=!1};return t({}),(s,l)=>(A(),ht(mt,{type:o.containerType,overflow:"visible",supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:a},{default:at(()=>[n.value?(A(),F("div",{key:0,class:"text",style:N({fontSize:`${s.textSize}px`,top:`${-Math.ceil(s.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:s.borderColor,borderRadius:`${s.textSize}px 0 ${s.textSize}px 0`,color:vt(_e)(s.borderColor).opposite(!0,"#333333","#ffffff").toString()})},ut(o.text),5)):yt("",!0),k("div",{class:"inner",style:N(n.value?{border:`${s.borderWidth}px solid ${s.borderColor}`,borderRadius:`${s.borderRadius}px`}:{})},[dt(s.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-45681ed0]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-45681ed0]{position:relative;overflow:hidden;box-sizing:border-box}
271
- `]],["__scopeId","data-v-45681ed0"]]),Zk=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(e,{expose:t,emit:o}){const n=e,r=jt({}),a=jt({});function s(){switch(Ef(r),Ef(a),n.type){case"table":r.display="table",a.display="table-cell",a.verticalAlign="middle",a.textAlign="center";break;case"transform":a.position="absolute",a.top="50%",a.left="50%",a.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",a.margin="auto"}}return s(),re(()=>{}),t({}),(l,i)=>(A(),F("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},r])},[k("div",{style:N(a)},[dt(l.$slots,"default")],4)],4))}}),Gk={class:"page"},Uk={class:"page-header"},jk={class:"page-main"},Hk={class:"page-main-scroll"},Wk={class:"page-footer"},qk={class:"page-global"},Vr=nt(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(e,{expose:t}){return t({}),(o,n)=>(A(),F("div",Gk,[k("div",Uk,[dt(o.$slots,"header",{},void 0,!0)]),k("div",jk,[k("div",Hk,[dt(o.$slots,"default",{},void 0,!0)])]),k("div",Wk,[dt(o.$slots,"footer",{},void 0,!0)]),k("div",qk,[dt(o.$slots,"global",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-02c1f8bd]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.page-header[data-v-02c1f8bd],.page-footer[data-v-02c1f8bd]{position:relative;z-index:1;flex:0 0 auto}.page-main[data-v-02c1f8bd]{position:relative;z-index:2;flex:1 1 auto;width:100%;overflow:hidden;display:flex;flex-direction:column}.page-main-scroll[data-v-02c1f8bd]{position:relative;z-index:3;flex:1 1 auto;width:100%;overflow-y:scroll}
272
- `]],["__scopeId","data-v-02c1f8bd"]]),Zl=nt(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(e,{expose:t}){const o=e;return gd(o.designWidth),t({}),(n,r)=>(A(),F("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:o.designWidth+"px",height:"100%",margin:"0 auto"})},[J(vt(Il),null,{default:at(({Component:a})=>[a?(A(),ht(Ju,{key:0,name:vt(bs)},{default:at(()=>[(A(),ht(nu,null,[(A(),ht(iu(a)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),[["styles",[`@media only screen and (max-width: 300px){html[data-v-f2010453]{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html[data-v-f2010453]{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html[data-v-f2010453]{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html[data-v-f2010453]{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html[data-v-f2010453]{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html[data-v-f2010453]{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html[data-v-f2010453]{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html[data-v-f2010453]{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html[data-v-f2010453]{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html[data-v-f2010453]{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html[data-v-f2010453]{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html[data-v-f2010453]{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html[data-v-f2010453]{font-size:100px}}@media only screen and (min-width: 751px){html[data-v-f2010453]{font-size:100px}}.next-enter-active[data-v-f2010453],.next-leave-active[data-v-f2010453],.prev-enter-active[data-v-f2010453],.prev-leave-active[data-v-f2010453]{transition:all .3s ease}.next-leave-from[data-v-f2010453]{position:absolute;left:0}.next-leave-to[data-v-f2010453]{position:absolute;left:-100%}.next-enter-from[data-v-f2010453]{position:absolute;right:-100%}.next-enter-to[data-v-f2010453],.prev-leave-from[data-v-f2010453]{position:absolute;right:0}.prev-leave-to[data-v-f2010453]{position:absolute;right:-100%}.prev-enter-from[data-v-f2010453]{position:absolute;left:-100%}.prev-enter-to[data-v-f2010453]{position:absolute;left:0}
273
- `]],["__scopeId","data-v-f2010453"]]),Kk=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(e,{expose:t}){const o=e;return gd(o.designWidth),t({}),(n,r)=>(A(),F("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:o.designWidth+"px",height:"100%",margin:"0 auto"})},[J(vt(Il),null,{default:at(({Component:a})=>[a?(A(),ht(Ju,{key:0,name:vt(bs)},{default:at(()=>[(A(),ht(nu,null,[(A(),ht(iu(a)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),J5="",Xh=nt(Kk,[["__scopeId","data-v-101c75bb"]]),Zh=nt(Y({customOptions:{LayoutMobile:Xh,Lot:Dp,Park:Fp},inheritAttrs:!0,__name:"XG.ce",setup(e){return(t,o)=>(A(),ht(Xh,{class:"xg"}))}}),[["styles",[`:root,:host{--yz-xg-blue: #5a82f0;--yz-xg-green: #328a8c;--yz-xg-red: #fa503c;--yz-xg-yellow: #fa8d01;--yz-xg-border-color: #e6e6e6;--yz-xg-primary: var(--yz-xg-blue)}.blue{color:var(--yz-xg-blue)!important}.green{color:var(--yz-xg-green)!important}.red{color:var(--yz-xg-red)!important}.yellow{color:var(--yz-xg-yellow)!important}.bold{font-weight:700}
266
+ `};return t({}),(l,c)=>(I(),ht(pt,{ref_key:"containerRef",ref:n,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:r,onUpdate:r},{default:st(()=>[w("div",{class:"circle-before",style:N(s)},null,4),w("div",jk,[gt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-086cfe64]{position:absolute;z-index:2}.circle[data-v-086cfe64]{position:relative;z-index:1;cursor:pointer}
267
+ `]],["__scopeId","data-v-086cfe64"]]),Wk=X({customOptions:{Container:pt},inheritAttrs:!0,__name:"TextBackgroundClip.ce",props:{text:{default:"文字背景为图片"},bgImageUrl:{default:"https://s3-us-west-2.amazonaws.com/s.cdpn.io/181794/kl-deer.png"}},setup(o,{expose:t}){const e=o;return t({}),(n,s)=>(I(),ht(pt,null,{default:st(()=>[w("div",{style:N({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},dt(e.text),5)]),_:1}))}}),Sm=at(X({customOptions:{Container:pt},inheritAttrs:!0,__name:"BorderFocusText.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"manual"},text:{default:""},textSize:{default:12},borderColor:{default:"#5a82f0"},borderWidth:{default:2},borderRadius:{default:8}},setup(o,{expose:t}){const e=o,n=O(!0),s=()=>{n.value=!0},r=()=>{n.value=!1};return t({}),(a,i)=>(I(),ht(pt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:st(()=>[n.value?(I(),z("div",{key:0,class:"text",style:N({fontSize:`${a.textSize}px`,top:`${-Math.ceil(a.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:a.borderColor,borderRadius:`${a.textSize}px 0 ${a.textSize}px 0`,color:Ot(Mt).set(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},dt(e.text),5)):yt("",!0),w("div",{class:"inner",style:N(n.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[gt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-8b11a683]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-8b11a683]{position:relative;overflow:hidden;box-sizing:border-box}
268
+ `]],["__scopeId","data-v-8b11a683"]]),qk=X({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const n=o,s=Wt({}),r=Wt({});function a(){switch(Jf(s),Jf(r),n.type){case"table":s.display="table",r.display="table-cell",r.verticalAlign="middle",r.textAlign="center";break;case"transform":r.position="absolute",r.top="50%",r.left="50%",r.transform="translate(-50%, -50%)";break;case"grid":s.display="grid",s.justifyContent="center",s.alignItems="center";break;case"flex":default:s.display="flex",r.margin="auto"}}return a(),ue(()=>{}),t({}),(i,l)=>(I(),z("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},s])},[w("div",{style:N(r)},[gt(i.$slots,"default")],4)],4))}}),Kk={class:"page"},Qk={class:"page-header"},Jk={class:"page-main"},tw={class:"page-main-scroll"},ew={class:"page-footer"},ow={class:"page-global"},qs=at(X({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(o,{expose:t}){return t({}),(e,n)=>(I(),z("div",Kk,[w("div",Qk,[gt(e.$slots,"header",{},void 0,!0)]),w("div",Jk,[w("div",tw,[gt(e.$slots,"default",{},void 0,!0)])]),w("div",ew,[gt(e.$slots,"footer",{},void 0,!0)]),w("div",ow,[gt(e.$slots,"global",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-02c1f8bd]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.page-header[data-v-02c1f8bd],.page-footer[data-v-02c1f8bd]{position:relative;z-index:1;flex:0 0 auto}.page-main[data-v-02c1f8bd]{position:relative;z-index:2;flex:1 1 auto;width:100%;overflow:hidden;display:flex;flex-direction:column}.page-main-scroll[data-v-02c1f8bd]{position:relative;z-index:3;flex:1 1 auto;width:100%;overflow-y:scroll}
269
+ `]],["__scopeId","data-v-02c1f8bd"]]),vc=at(X({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return oh(e.designWidth),t({}),(n,s)=>(I(),z("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Q(Ot(nc),null,{default:st(({Component:r})=>[r?(I(),ht(Sf,{key:0,name:Ot(za)},{default:st(()=>[(I(),ht(Iu,null,[(I(),ht(Fu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),[["styles",[`@media only screen and (max-width: 300px){html[data-v-f2010453]{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html[data-v-f2010453]{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html[data-v-f2010453]{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html[data-v-f2010453]{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html[data-v-f2010453]{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html[data-v-f2010453]{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html[data-v-f2010453]{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html[data-v-f2010453]{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html[data-v-f2010453]{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html[data-v-f2010453]{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html[data-v-f2010453]{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html[data-v-f2010453]{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html[data-v-f2010453]{font-size:100px}}@media only screen and (min-width: 751px){html[data-v-f2010453]{font-size:100px}}.next-enter-active[data-v-f2010453],.next-leave-active[data-v-f2010453],.prev-enter-active[data-v-f2010453],.prev-leave-active[data-v-f2010453]{transition:all .3s ease}.next-leave-from[data-v-f2010453]{position:absolute;left:0}.next-leave-to[data-v-f2010453]{position:absolute;left:-100%}.next-enter-from[data-v-f2010453]{position:absolute;right:-100%}.next-enter-to[data-v-f2010453],.prev-leave-from[data-v-f2010453]{position:absolute;right:0}.prev-leave-to[data-v-f2010453]{position:absolute;right:-100%}.prev-enter-from[data-v-f2010453]{position:absolute;left:-100%}.prev-enter-to[data-v-f2010453]{position:absolute;left:0}
270
+ `]],["__scopeId","data-v-f2010453"]]),nw=X({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return oh(e.designWidth),t({}),(n,s)=>(I(),z("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Q(Ot(nc),null,{default:st(({Component:r})=>[r?(I(),ht(Sf,{key:0,name:Ot(za)},{default:st(()=>[(I(),ht(Iu,null,[(I(),ht(Fu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),sT="",Om=at(nw,[["__scopeId","data-v-101c75bb"]]),Pm=at(X({customOptions:{LayoutMobile:Om,Lot:xp,Park:kp},inheritAttrs:!0,__name:"XG.ce",setup(o){return(t,e)=>(I(),ht(Om,{class:"xg"}))}}),[["styles",[`:root,:host{--yz-xg-blue: #5a82f0;--yz-xg-green: #328a8c;--yz-xg-red: #fa503c;--yz-xg-yellow: #fa8d01;--yz-xg-border-color: #e6e6e6;--yz-xg-primary: var(--yz-xg-blue)}.blue{color:var(--yz-xg-blue)!important}.green{color:var(--yz-xg-green)!important}.red{color:var(--yz-xg-red)!important}.yellow{color:var(--yz-xg-yellow)!important}.bold{font-weight:700}
274
271
  `,`.xg[data-v-ebd444cc]{background-color:#f5f5f5}
275
- `]],["__scopeId","data-v-ebd444cc"]]),Qk={class:"xg-footer-inner"},Gl=nt(Y({customOptions:{Button:oe},inheritAttrs:!0,__name:"Footer.ce",setup(e){const t=ds();function o(){t.push("/park")}const n=R("0px");let r;return fe(()=>{r=rl.onBottom(a=>{n.value=a})}),re(()=>{r?.()}),(a,s)=>(A(),F("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[k("div",Qk,[J(oe,{label:"去支付",width:"100%",onClick:o})])],4))}}),[["styles",[`.xg-footer[data-v-48051ce1]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-48051ce1]{box-sizing:border-box;width:100%;padding:.2rem .3rem}
276
- `]],["__scopeId","data-v-48051ce1"]]),Jk={class:"lot-main"},t3={class:"lot-detail"},e3={class:"bold"},Ul=nt(Y({customOptions:{LayoutPage:Qe,Footer:ps,PlateDisplay:hs,ViewDocument:$l,PopTel:vs,ImageView:ys},inheritAttrs:!0,__name:"Lot.ce",setup(e){const t=ds();function o(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=R();function r(){n.value?.open()}const a=R();function s(){a.value?.open()}return(l,i)=>(A(),ht(Qe,{class:"lot"},{footer:at(()=>[J(ps)]),global:at(()=>[J(vs,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),J(ys,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:a},null,512)]),default:at(()=>[i[15]||(i[15]=k("div",{class:"lot-main-bg"},null,-1)),k("div",Jk,[i[12]||(i[12]=k("div",null,"若临测试泊位机器人停车场",-1)),i[13]||(i[13]=k("div",null,[k("div"),k("div",null,"编号"),k("div")],-1)),i[14]||(i[14]=k("div",null,[k("span",null,"103"),k("span",null,"002")],-1)),k("div",null,[i[0]||(i[0]=k("div",null,"停车场主页",-1)),i[1]||(i[1]=k("div",null,"更换附近车位",-1)),k("div",{onClick:o},"收费标准")]),k("div",t3,[i[4]||(i[4]=k("div",null,[k("div",null,"待支付"),k("div",{class:"red"},"¥0.01")],-1)),i[5]||(i[5]=k("div",null,[k("div",null,"已支付"),k("div",null,"¥0.01")],-1)),i[6]||(i[6]=k("div",null,[k("div",null,"订单编号"),k("div",null,"33333333333")],-1)),i[7]||(i[7]=k("div",null,[k("div",null,"开始时间"),k("div",null,"2025-04-08 09:41:25")],-1)),i[8]||(i[8]=k("div",null,[k("div",null,"停车时长"),k("div",null,"51小时53分钟15秒")],-1)),i[9]||(i[9]=k("div",null,[k("div",null,"优惠券"),k("div",{class:"red"},"1分钟")],-1)),i[10]||(i[10]=k("div",null,[k("div",null,"优惠信息"),k("div",{class:"red"},"xxxx")],-1)),i[11]||(i[11]=k("div",{class:"lot-detail-gap"},null,-1)),k("div",null,[i[2]||(i[2]=k("div",null,"车牌号",-1)),k("div",e3,[J(hs,{plate:"苏U77777","plate-type":"b"})])]),k("div",null,[i[3]||(i[3]=k("div",null,"现场照片",-1)),k("div",{onClick:s},"查看")])]),k("div",{class:"lot-actions"},[k("div",{onClick:r},"联系客服")])])]),_:1}))}}),[["styles",[`.lot-main-bg[data-v-06c9e609]{position:absolute;top:0;left:0;z-index:1;width:100%;height:5.2rem;border-bottom-left-radius:2rem .5rem;border-bottom-right-radius:2rem .5rem;background:linear-gradient(180deg,#5a82f0 0%,#66b3ff 100%)}.lot-main[data-v-06c9e609]{position:relative;z-index:2;width:100%;overflow:hidden;box-sizing:border-box;line-height:1;color:#fff;padding:0 .3rem;margin-bottom:.3rem;text-align:center}.lot-main>div[data-v-06c9e609]:nth-child(1){font-size:.32rem;padding-top:.4rem;word-break:break-all;font-weight:700}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(1){width:2.4rem;height:.04rem;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#ffffff 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(3){width:2.4rem;height:.04rem;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(2){width:1rem;font-size:.28rem;line-height:.32rem}.lot-main>div[data-v-06c9e609]:nth-child(2){display:flex;align-items:center;margin:.28rem auto 0;width:4.8rem;position:relative}.lot-main>div[data-v-06c9e609]:nth-child(3){font-family:D-DINExp-Bold-number;margin-top:.12rem;font-size:.8rem;letter-spacing:.06rem}.lot-main>div:nth-child(3)>span+span[data-v-06c9e609]{margin-left:.3rem}.lot-main>div[data-v-06c9e609]:nth-child(4){display:flex;justify-content:space-between;font-size:.28rem;line-height:.28rem;margin:.3rem 0}.lot-main>div:nth-child(4)>div[data-v-06c9e609]{flex:1 1 auto;text-align:center}.lot-main>div:nth-child(4)>div+div[data-v-06c9e609]{border-left:1px solid rgba(255,255,255,.4)}.lot-detail[data-v-06c9e609]{position:relative;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;padding:0 .3rem .1rem;font-size:.28rem;color:#666}.lot-detail>div[data-v-06c9e609]{line-height:.4rem;margin:.2rem auto;display:flex;justify-content:space-between}.lot-detail>div[data-v-06c9e609]:nth-child(1){border-bottom:1px solid var(--yz-xg-border-color);line-height:.88rem;margin:0 0 .2rem;font-weight:700}.lot-detail>div:nth-child(1)>div[data-v-06c9e609]:nth-child(2){font-size:.4rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(1){flex:0 0 auto;padding-right:.2rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(2){color:#333}.lot-detail-gap[data-v-06c9e609]{border-top:1px solid var(--yz-xg-border-color)}.lot-actions[data-v-06c9e609]{margin:.2rem 0;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;display:flex;align-items:center;font-size:.28rem}.lot-actions>div[data-v-06c9e609]{flex:1;line-height:.88rem;position:relative;cursor:pointer;color:var(--yz-xg-primary);text-align:center;font-weight:700}
277
- `]],["__scopeId","data-v-06c9e609"]]),jl=nt(Y({customOptions:{LayoutPage:Qe},inheritAttrs:!0,__name:"Park.ce",setup(e){return(t,o)=>(A(),ht(Qe,{class:"park"},{default:at(()=>o[0]||(o[0]=[Vt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
278
- `]],["__scopeId","data-v-287bba59"]]);class o3 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 o=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:o}),window.matchMedia(t.media).addEventListener("change",o)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,o){const n=t;for(;t.previousElementSibling;)if(n.src===o)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,o=this.video.playState;this.video.load();const n=()=>{this.video.playState=o,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const n3=o3,r3=`.bg-grid[data-v-b0888d9a]{width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhLAEsAfcAAAAAADMzM2ZmZpmZmczMzODg4P///5lmZmYzM8yZmZkzM8xmZswzMzMAAGYAAJkAAMwAAAAAAP8zM/9mZv+Zmf/MzP8zAMwzAP9mM8xmM5kzAP+ZZv9mAJlmM8yZZmYzAMxmAP+ZM//Mmf+ZAMyZM5lmAP/MZsyZAP/MM//MAJmZZmZmM8zMmZmZM8zMZszMMzMzAGZmAJmZAMzMAP//AP//M///Zv//mf//zMz/AJnMAMz/M5nMM2aZAMz/Zpn/AGaZM5nMZjNmAGbMAJn/M8z/mWb/AGbMMzOZAJn/ZjPMAGb/MzP/AGaZZjNmM5nMmTOZM2bMZjPMMwAzAABmAACZAADMAAD/ADP/M2b/Zpn/mcz/zAD/MwDMMzP/ZjPMZgCZM2b/mQD/ZjOZZmbMmQBmMwDMZjP/mZn/zAD/mTPMmQCZZmb/zADMmTP/zAD/zGaZmTNmZpnMzDOZmWbMzDPMzAAzMwBmZgCZmQDMzAD//zP//2b//5n//8z//wDM/wCZzDPM/zOZzABmmWbM/wCZ/zNmmWaZzAAzZgBmzDOZ/5nM/wBm/zNmzAAzmWaZ/wAzzDNm/wAz/2ZmmTMzZpmZzDMzmWZmzDMzzAAAMwAAZgAAmQAAzAAA/zMz/2Zm/5mZ/8zM/zMA/zMAzGYz/2YzzDMAmZlm/2YA/2YzmZlmzDMAZmYAzJkz/8yZ/5kA/5kzzGYAmcxm/5kAzMwz/8wA/5lmmWYzZsyZzJkzmcxmzMwzzDMAM2YAZpkAmcwAzP8A//8z//9m//+Z///M//8AzMwAmf8zzMwzmZkAZv9mzP8AmZkzZsxmmWYAM8wAZv8zmf+ZzP8AZswzZpkAM/9mmcwAM/8zZv8AMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAYALAAAAAAsASwBAAj/AAsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGAsY2MiRo8aOHT+C3ChyZEmQJ0OO9LiSZEsDKVm2jOly5kuaMG/qtMlzJc6fO30GNTkUZVGVPYkmNboUqdCmMp9KVTqVaVWnVLNa1Yp1q9euYKNyFfuVbNiaV82qRTuWbVm3Z3NChbtWblq6eO221fuWb1ygc/3WBXxXcF7CexH3Vfz36GDHhyEbnsz4ceDKkS9Lxkx5s2fNoAtzHv1ZdOnEpxenbhwadWvVr1mbjm15tm3Xt2Hnlo27t27fvH8LD068NnDjw5EXz7xbuXPmx6Enl768M23qz603x85de3Tv08H//81Ivrz58+jTq1/PvuDq7KSvi4f/vnv87fPt18/P//53/+EBWJ2A9MlHoH4G7ndgfwo2mOCD+C0ooYMRUvifhQFiOKCGBVYI4YUfZhjihiN2CKKHKJ6ooogpsrgiiS3C+KKJLtYoo4003qhjjjwiGGOPDJbo44xD4ljkjkcCOaGQ/bXn5JNQRinllOxxmOSVQf6I5ZJaZkmkl0aCiaSYSlpJ5pZmcvmlmmGyOaabZTIJJ5pypmlnnXh2OeeZfO7p5516ArqmoG0S+qahcQaa56CLFtrooY8myqiilE5qqaOVYnoppJlyahKVoIYq6qikroconZ1KqumqnrKqaquwvv8qK6qbztrnqbdGSquru8baq61/6pprqr8WO2ytxgZL7LG8Muurs8Diqiyy0CYr7bXCTtusts9yG2222C7rrbXgXlbqueimqy664VI7brXwvitvu9vS262934qLL7n6ltvvv+7uG6/A8/obsMH1InyvwvkeDHDCDy8cccMQO2xxxRhLfLHGGVPM8cceh0zSuiSXbPLJGRGsMsP8bizywCzDPHHLHdMMss0vFzyzzC7j7DPPNQN9s9A5r7yzzj0T/TPSQTM9tNNFxwz10kYnPbXSWF+ttYIod+3112BX3bTYT5Md9dFmUy112lmzvfXacKMdt9Vu1z332HeXnffZdO//rbbcgPcdON6D610434QLrnjijA8I9uOQRz6q3Yf/vbjhlyOOeeOad245559vLrrnbftdeuWnZx466W+j3rrqqYMe++ir1z4765TD/rrsu9Mer+TABy88ernzXrzvveNuevK2M39788cr73r00C9P/fPYO6/99dtb7/303+vO/fjhG18+8uSDL+7w7LfvvkPpi3++9PKrX//95tufP/7oz1+9/v0DIP32R8AA8m+ABiwgAhf4vwM2UIEPTKAEGZi9+C3mfRjMIAYtOMEIUrB7AvSgCCvoPxKG0IQORCEEVdhBFn6Qgy8sIQhTOMMV1rCFN4zhCXM4Qh66cGkaDKIQ/yUHwx4W8YdI9KESj7hEGTLxiU6M4g6hOEUp0pCKV7SiDbG4RS3ikItf9KIOs7jDIZrxjCcD4xi7WMU2kvGNbIRjGN0YxzrOUY5rvKMd88hHI4rRj3TUoyD7mEQ1AhKPh9zjltDIyEaWypCF/GMkA0nIJlIykYPEZCUhaUlETtKTnVTkJ0UZykyO0pSl3KQkU6nJVp5SSY6MpSyjxMlartKWl3ylK1mpy17y8pe4BGUwSTlMVBZTlbkE5i2Xmcxj7tKZvkzTLKdJTeIxU5jXJGY2jblNZGKzmd18ZjijOU5lgvOc30ynNtG5TnVyk53vdKc3bVjNetqzItA0pzzFCf/PecaznQD9p0D9SVB+7pOc/TRoQAuK0IPqc6EKHWhEGfrQbt3zohhlSD43Wk6OJrShEAWpREVKUY861KQhrWhJO8rSj6p0ojAlaUxfKtMkZvSmOB0ISkdK057udKUu/elMhVpTn7b0pEdNKVGNGtSk8nSpUHUqUB2a06piNKpNzSpStapUqQ7Vq0XF6lbH2lWuPhWsTCXrWc061bKqta1rdZdV51pPsbr1rnHFK1z3+lW29vWtf9VrYPNKWL6GFa12LexgDZtWwR5WT3SN7CwTy1jKLvayjwVsZh3bWMVu1rOdrSxiR+vXz4q2tKHFbGpN2zzJuraRlmWtbFdL29j/1pa0mr0tam3LW9xytre79S1ogZtb4v42W69NrhmNO1zhnra4zlUtc5973OBaF7rXrS52t6vd7jY3u9/lbngvqNzyZnC60o3ubNG7XvXqVrzUHa9840vf9IK3vu29r33hu1/v4te8AH4fe9/r3/7O18D/HbCC3btg/eaXvw8ucIQPPOEEM/jCqA2whoXXYAgTmMIftrCDQ4zgElfYxCQ+sYpTzOIOS7jFGPYwJzdM48i5GMQ3FrGMY/ziHKPYxysGMoxHLOQi8xjHR9Zxj2dS4yZ/zchETvKPpRxkKg95x1HOMpa3vGQtd5nLSPZymMGs5PE4+cwmgzKZpyzmMruZGc1rrnKb4fzlOo/Zzm+Wc5yvjGc63zkuAQEAOw==) repeat scroll 0 0 white;overflow:hidden}
279
- `,a3={},s3={class:"bg-grid"};function i3(e,t){return A(),F("div",s3,[dt(e.$slots,"default",{},void 0,!0)])}const l3=nt(a3,[["render",i3],["styles",[r3]],["__scopeId","data-v-b0888d9a"]]);function c3(e,t="style.css"){for(let o of e){const n=document.querySelector(o)?.shadowRoot;n&&zv(t,n)}}const Hl={},Wl={},u3=(e,t,o=!0)=>{const n=e.__name;Hl[n]=[];let r=[...e.styles||[]],a=0;for(let s in e.customOptions)Hl[n].push(s),r=[...(Hl[s]||[]).reduce((l,i)=>(l.push(...(Wl[i]||[]).map(c=>Li(c))),l),[]),...(t[a++]?.styles||[]).map(l=>Li(l)),...r],Wl[s]=r;if(o)e.styles=r;else for(let s of e.styles){const l=document.createElement("style");l.innerHTML=s,document.head.insertBefore(l,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return Wl[n]=r,e},Gh={CSSTransition:[zp],CSSAnimation:[xs],Loading1:[Bp],Loading2:[Yp],Loading3:[Vp],Loading4:[Xp],Loading5:[Zp],Loading6:[Gp],Loading7:[Up],Loading8:[Nl],Loading9:[jp],Loading10:[Hp],Loading11:[Dl],Button:[Dl],BooleanBox:[ks],RadioGroup:[Fl,ks],CheckboxGroup:[Ll,ks],Switch:[Wp],Select:[qp],SelectAbsolute:[Kp],SlideLeftItem:[Jp],Status:[xs],Text:[th],Input:[eh,th],InputRange:[zl],InputRangeBox:[oh],InputFileDrop:[nh],Tabs:[rh,ph],ViewDocument:[ah,Vr],ProgressBar:[Cs],PageVerticalScrollProgressBar:[sh,Cs],Video:[ih,Cs],PopTel:[lh],Popover:[jn],ColorPicker:[ch],Dialog:[Es,Mp,jn],DialogLoading:[fh,Es,Nl],DialogToast:[dh,Es],Page:[xs],Routes:[W2],Image:[Ml],ImageView:[Ml,ph],Accordion:[mh],ResizeObserver:[gh],MapTianditu:[yh],PlateKeyboard:[vh],PlateMobile:[_h],PlateDisplay:[Bl],RingIndicator:[xh],RingText:[kh],ClockFlipper:[wh],EaseGraphDisplay:[Yl,jn],EaseGroupGraphDisplay:[Th,Yl],InterpolationGraphDisplay:[Vl,jn],InterpolationGroupGraphDisplay:[Ih,Vl],CardFlip:[Ah],Cube:[Nh,Fl,Ll,zl],Float:[Fh],Slide:[Lh],SlideCorner:[zh],LineSingle:[Mh],LineDouble:[Bh],Circle:[Yh],BorderFocusText:[Vh],LayoutPage:[Vr],LayoutMobile:[Zl],XG:[Zh,Zl,Ul,jl],Footer:[Gl,jn],Lot:[Ul,Vr,Gl,Bl,ah,lh,hh],Park:[jl,Vr]},ql=(e,t=!1,o=[])=>{if(!e.__name)return[];const n=e.__name.split(".")?.[0]||"",r=[];!Ty(o,n)&&t&&(r.push(...(e.styles||[]).map(s=>Li(s))),o.push(n));const a=Gh[n]||[];for(let s of a){const l=s.__name.split(".")?.[0]||"";if(l==n)continue;const i=Gh[l]||[];for(let c of i)r.push(...ql(c,!0,o))}return r};function ct(e,{plugins:t=[]}={plugins:[gx]}){return ry({...e,exposed:e.exposed,setup(o,{attrs:n,slots:r,emit:a,expose:s}){const l=Fi();t.forEach(l.use);const i=jo();Object.assign(i.appContext,l._context),Object.assign(i.provides,l._context.provides);const c=document.createElement("style");return c.innerText=ql(e).join("").replace(/\n/g,""),sy().appendChild(c),e.setup?.(o,{attrs:n,slots:r,emit:a,expose:s})}})}const f3=()=>{customElements.define("yz-container",ct(yx)),customElements.define("yz-effect-css-transition",ct(zp)),customElements.define("yz-effect-css-animation",ct(xs)),customElements.define("yz-icon",ct(Mp)),customElements.define("yz-loading-1",ct(Bp)),customElements.define("yz-loading-2",ct(Yp)),customElements.define("yz-loading-3",ct(Vp)),customElements.define("yz-loading-4",ct(Xp)),customElements.define("yz-loading-5",ct(Zp)),customElements.define("yz-loading-6",ct(Gp)),customElements.define("yz-loading-7",ct(Up)),customElements.define("yz-loading-8",ct(Nl)),customElements.define("yz-loading-9",ct(jp)),customElements.define("yz-loading-10",ct(Hp)),customElements.define("yz-loading-11",ct(Dl)),customElements.define("yz-button",ct(jn)),customElements.define("yz-boolean-box",ct(ks)),customElements.define("yz-radio-group",ct(Fl)),customElements.define("yz-checkbox-group",ct(Ll)),customElements.define("yz-switch",ct(Wp)),customElements.define("yz-select",ct(qp)),customElements.define("yz-select-absolute",ct(Kp)),customElements.define("yz-slide-left-item",ct(Jp)),customElements.define("yz-status",ct(c2)),customElements.define("yz-input",ct(eh)),customElements.define("yz-input-range",ct(zl)),customElements.define("yz-input-range-box",ct(oh)),customElements.define("yz-input-file-drop",ct(nh)),customElements.define("yz-tabs",ct(rh)),customElements.define("yz-progress-bar",ct(Cs)),customElements.define("yz-page-vertical-scroll-progress-bar",ct(sh)),customElements.define("yz-video",ct(ih)),customElements.define("yz-pop",ct(I2)),customElements.define("yz-popover",ct(ch)),customElements.define("yz-color-picker",ct(F2)),customElements.define("yz-dialog",ct(Es)),customElements.define("yz-dialog-loading",ct(fh)),customElements.define("yz-dialog-toast",ct(dh)),customElements.define("yz-image",ct(Ml)),customElements.define("yz-image-view",ct(hh)),customElements.define("yz-accordion",ct(mh)),customElements.define("yz-resize-observer",ct(gh)),customElements.define("yz-map-tianditu",ct(yh)),customElements.define("yz-hand-write-panel",ct(nk)),customElements.define("yz-plate-keyboard",ct(vh)),customElements.define("yz-plate-mobile",ct(_h)),customElements.define("yz-plate-display",ct(Bl)),customElements.define("yz-chat-ring-indicator",ct(xh)),customElements.define("yz-chat-ring-text",ct(kh)),customElements.define("yz-chat-clock-flipper",ct(wh)),customElements.define("yz-fps-stats",ct(_k)),customElements.define("yz-ease-graph-display",ct(Yl)),customElements.define("yz-ease-group-graph-display",ct(Th)),customElements.define("yz-interpolation-graph-display",ct(Vl)),customElements.define("yz-interpolation-group-graph-display",ct(Ih)),customElements.define("yz-card-flip",ct(Ah)),customElements.define("yz-cube",ct(Nh)),customElements.define("yz-effect-image-mask",ct(Lk)),customElements.define("yz-effect-float",ct(Fh)),customElements.define("yz-effect-slide",ct(Lh)),customElements.define("yz-effect-slide-corner",ct(zh)),customElements.define("yz-effect-line-single",ct(Mh)),customElements.define("yz-effect-line-double",ct(Bh)),customElements.define("yz-effect-circle",ct(Yh)),customElements.define("yz-effect-text-background-clip",ct(Xk)),customElements.define("yz-effect-border-focus-text",ct(Vh)),customElements.define("yz-layout-center",ct(Zk)),customElements.define("yz-layout-page",ct(Vr)),customElements.define("yz-layout-mobile",ct(Zl)),customElements.define("yz-xg",ct(Zh)),customElements.define("yz-xg-footer",ct(Gl)),customElements.define("yz-xg-lot",ct(Ul)),customElements.define("yz-xg-park",ct(jl)),customElements.define("yz-responsive-video",n3),customElements.define("yz-bg-grid",ct(l3));const e=document.createElement("yz-dialog-toast");e.id="globalDialogToast",Yn.appendChild(e);const t=document.createElement("yz-dialog-loading");t.id="globalDialogLoading",Yn.appendChild(t);const o=document.createElement("yz-dialog");o.id="globalDialog",Yn.appendChild(o);const n=document.createElement("yz-plate-keyboard");n.id="globalPlateKeyboard",Yn.appendChild(n)};return ie.collectChildComponentCSS=ql,ie.dialog=ub,ie.install=f3,ie.linkChildrenComponentsStyles=c3,ie.loading=cb,ie.mergeChildComponentCSS=u3,ie.plateKeyboard=qd,ie.popAbsolute=Hd,ie.popAbsoluteSample=gb,ie.popBottom=Xd,ie.popBottomSample=fb,ie.popCenter=jd,ie.popCenterSample=mb,ie.popLeft=Gd,ie.popLeftSample=pb,ie.popRight=Ud,ie.popRightSample=hb,ie.popTop=Zd,ie.popTopSample=db,ie.teleport=Yn,ie.toast=lb,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"}),ie}({});
272
+ `]],["__scopeId","data-v-ebd444cc"]]),sw={class:"xg-footer-inner"},bc=at(X({customOptions:{Button:re},inheritAttrs:!0,__name:"Footer.ce",setup(o){const t=Pa();function e(){t.push("/park")}const n=O("0px");let s;return ye(()=>{s=Sl.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),z("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[w("div",sw,[Q(re,{label:"去支付",width:"100%",onClick:e})])],4))}}),[["styles",[`.xg-footer[data-v-48051ce1]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-48051ce1]{box-sizing:border-box;width:100%;padding:.2rem .3rem}
273
+ `]],["__scopeId","data-v-48051ce1"]]),rw={class:"lot-main"},aw={class:"lot-detail"},iw={class:"bold"},_c=at(X({customOptions:{LayoutPage:to,Footer:Ra,PlateDisplay:Ia,ViewDocument:rc,PopTel:Fa,ImageView:Na},inheritAttrs:!0,__name:"Lot.ce",setup(o){const t=Pa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=O();function s(){n.value?.open()}const r=O();function a(){r.value?.open()}return(i,l)=>(I(),ht(to,{class:"lot"},{footer:st(()=>[Q(Ra)]),global:st(()=>[Q(Fa,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Q(Na,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:st(()=>[l[15]||(l[15]=w("div",{class:"lot-main-bg"},null,-1)),w("div",rw,[l[12]||(l[12]=w("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=w("div",null,[w("div"),w("div",null,"编号"),w("div")],-1)),l[14]||(l[14]=w("div",null,[w("span",null,"103"),w("span",null,"002")],-1)),w("div",null,[l[0]||(l[0]=w("div",null,"停车场主页",-1)),l[1]||(l[1]=w("div",null,"更换附近车位",-1)),w("div",{onClick:e},"收费标准")]),w("div",aw,[l[4]||(l[4]=w("div",null,[w("div",null,"待支付"),w("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=w("div",null,[w("div",null,"已支付"),w("div",null,"¥0.01")],-1)),l[6]||(l[6]=w("div",null,[w("div",null,"订单编号"),w("div",null,"33333333333")],-1)),l[7]||(l[7]=w("div",null,[w("div",null,"开始时间"),w("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=w("div",null,[w("div",null,"停车时长"),w("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=w("div",null,[w("div",null,"优惠券"),w("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=w("div",null,[w("div",null,"优惠信息"),w("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=w("div",{class:"lot-detail-gap"},null,-1)),w("div",null,[l[2]||(l[2]=w("div",null,"车牌号",-1)),w("div",iw,[Q(Ia,{plate:"苏U77777","plate-type":"b"})])]),w("div",null,[l[3]||(l[3]=w("div",null,"现场照片",-1)),w("div",{onClick:a},"查看")])]),w("div",{class:"lot-actions"},[w("div",{onClick:s},"联系客服")])])]),_:1}))}}),[["styles",[`.lot-main-bg[data-v-06c9e609]{position:absolute;top:0;left:0;z-index:1;width:100%;height:5.2rem;border-bottom-left-radius:2rem .5rem;border-bottom-right-radius:2rem .5rem;background:linear-gradient(180deg,#5a82f0 0%,#66b3ff 100%)}.lot-main[data-v-06c9e609]{position:relative;z-index:2;width:100%;overflow:hidden;box-sizing:border-box;line-height:1;color:#fff;padding:0 .3rem;margin-bottom:.3rem;text-align:center}.lot-main>div[data-v-06c9e609]:nth-child(1){font-size:.32rem;padding-top:.4rem;word-break:break-all;font-weight:700}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(1){width:2.4rem;height:.04rem;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#ffffff 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(3){width:2.4rem;height:.04rem;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(2){width:1rem;font-size:.28rem;line-height:.32rem}.lot-main>div[data-v-06c9e609]:nth-child(2){display:flex;align-items:center;margin:.28rem auto 0;width:4.8rem;position:relative}.lot-main>div[data-v-06c9e609]:nth-child(3){font-family:D-DINExp-Bold-number;margin-top:.12rem;font-size:.8rem;letter-spacing:.06rem}.lot-main>div:nth-child(3)>span+span[data-v-06c9e609]{margin-left:.3rem}.lot-main>div[data-v-06c9e609]:nth-child(4){display:flex;justify-content:space-between;font-size:.28rem;line-height:.28rem;margin:.3rem 0}.lot-main>div:nth-child(4)>div[data-v-06c9e609]{flex:1 1 auto;text-align:center}.lot-main>div:nth-child(4)>div+div[data-v-06c9e609]{border-left:1px solid rgba(255,255,255,.4)}.lot-detail[data-v-06c9e609]{position:relative;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;padding:0 .3rem .1rem;font-size:.28rem;color:#666}.lot-detail>div[data-v-06c9e609]{line-height:.4rem;margin:.2rem auto;display:flex;justify-content:space-between}.lot-detail>div[data-v-06c9e609]:nth-child(1){border-bottom:1px solid var(--yz-xg-border-color);line-height:.88rem;margin:0 0 .2rem;font-weight:700}.lot-detail>div:nth-child(1)>div[data-v-06c9e609]:nth-child(2){font-size:.4rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(1){flex:0 0 auto;padding-right:.2rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(2){color:#333}.lot-detail-gap[data-v-06c9e609]{border-top:1px solid var(--yz-xg-border-color)}.lot-actions[data-v-06c9e609]{margin:.2rem 0;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;display:flex;align-items:center;font-size:.28rem}.lot-actions>div[data-v-06c9e609]{flex:1;line-height:.88rem;position:relative;cursor:pointer;color:var(--yz-xg-primary);text-align:center;font-weight:700}
274
+ `]],["__scopeId","data-v-06c9e609"]]),xc=at(X({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park.ce",setup(o){return(t,e)=>(I(),ht(to,{class:"park"},{default:st(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
275
+ `]],["__scopeId","data-v-287bba59"]]);class lw 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 e=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:e}),window.matchMedia(t.media).addEventListener("change",e)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,e){const n=t;for(;t.previousElementSibling;)if(n.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const n=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const cw=lw,uw=`.bg-grid[data-v-b0888d9a]{width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhLAEsAfcAAAAAADMzM2ZmZpmZmczMzODg4P///5lmZmYzM8yZmZkzM8xmZswzMzMAAGYAAJkAAMwAAAAAAP8zM/9mZv+Zmf/MzP8zAMwzAP9mM8xmM5kzAP+ZZv9mAJlmM8yZZmYzAMxmAP+ZM//Mmf+ZAMyZM5lmAP/MZsyZAP/MM//MAJmZZmZmM8zMmZmZM8zMZszMMzMzAGZmAJmZAMzMAP//AP//M///Zv//mf//zMz/AJnMAMz/M5nMM2aZAMz/Zpn/AGaZM5nMZjNmAGbMAJn/M8z/mWb/AGbMMzOZAJn/ZjPMAGb/MzP/AGaZZjNmM5nMmTOZM2bMZjPMMwAzAABmAACZAADMAAD/ADP/M2b/Zpn/mcz/zAD/MwDMMzP/ZjPMZgCZM2b/mQD/ZjOZZmbMmQBmMwDMZjP/mZn/zAD/mTPMmQCZZmb/zADMmTP/zAD/zGaZmTNmZpnMzDOZmWbMzDPMzAAzMwBmZgCZmQDMzAD//zP//2b//5n//8z//wDM/wCZzDPM/zOZzABmmWbM/wCZ/zNmmWaZzAAzZgBmzDOZ/5nM/wBm/zNmzAAzmWaZ/wAzzDNm/wAz/2ZmmTMzZpmZzDMzmWZmzDMzzAAAMwAAZgAAmQAAzAAA/zMz/2Zm/5mZ/8zM/zMA/zMAzGYz/2YzzDMAmZlm/2YA/2YzmZlmzDMAZmYAzJkz/8yZ/5kA/5kzzGYAmcxm/5kAzMwz/8wA/5lmmWYzZsyZzJkzmcxmzMwzzDMAM2YAZpkAmcwAzP8A//8z//9m//+Z///M//8AzMwAmf8zzMwzmZkAZv9mzP8AmZkzZsxmmWYAM8wAZv8zmf+ZzP8AZswzZpkAM/9mmcwAM/8zZv8AMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAYALAAAAAAsASwBAAj/AAsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGAsY2MiRo8aOHT+C3ChyZEmQJ0OO9LiSZEsDKVm2jOly5kuaMG/qtMlzJc6fO30GNTkUZVGVPYkmNboUqdCmMp9KVTqVaVWnVLNa1Yp1q9euYKNyFfuVbNiaV82qRTuWbVm3Z3NChbtWblq6eO221fuWb1ygc/3WBXxXcF7CexH3Vfz36GDHhyEbnsz4ceDKkS9Lxkx5s2fNoAtzHv1ZdOnEpxenbhwadWvVr1mbjm15tm3Xt2Hnlo27t27fvH8LD068NnDjw5EXz7xbuXPmx6Enl768M23qz603x85de3Tv08H//81Ivrz58+jTq1/PvuDq7KSvi4f/vnv87fPt18/P//53/+EBWJ2A9MlHoH4G7ndgfwo2mOCD+C0ooYMRUvifhQFiOKCGBVYI4YUfZhjihiN2CKKHKJ6ooogpsrgiiS3C+KKJLtYoo4003qhjjjwiGGOPDJbo44xD4ljkjkcCOaGQ/bXn5JNQRinllOxxmOSVQf6I5ZJaZkmkl0aCiaSYSlpJ5pZmcvmlmmGyOaabZTIJJ5pypmlnnXh2OeeZfO7p5516ArqmoG0S+qahcQaa56CLFtrooY8myqiilE5qqaOVYnoppJlyahKVoIYq6qikroconZ1KqumqnrKqaquwvv8qK6qbztrnqbdGSquru8baq61/6pprqr8WO2ytxgZL7LG8Muurs8Diqiyy0CYr7bXCTtusts9yG2222C7rrbXgXlbqueimqy664VI7brXwvitvu9vS262934qLL7n6ltvvv+7uG6/A8/obsMH1InyvwvkeDHDCDy8cccMQO2xxxRhLfLHGGVPM8cceh0zSuiSXbPLJGRGsMsP8bizywCzDPHHLHdMMss0vFzyzzC7j7DPPNQN9s9A5r7yzzj0T/TPSQTM9tNNFxwz10kYnPbXSWF+ttYIod+3112BX3bTYT5Md9dFmUy112lmzvfXacKMdt9Vu1z332HeXnffZdO//rbbcgPcdON6D610434QLrnjijA8I9uOQRz6q3Yf/vbjhlyOOeeOad245559vLrrnbftdeuWnZx466W+j3rrqqYMe++ir1z4765TD/rrsu9Mer+TABy88ernzXrzvveNuevK2M39788cr73r00C9P/fPYO6/99dtb7/303+vO/fjhG18+8uSDL+7w7LfvvkPpi3++9PKrX//95tufP/7oz1+9/v0DIP32R8AA8m+ABiwgAhf4vwM2UIEPTKAEGZi9+C3mfRjMIAYtOMEIUrB7AvSgCCvoPxKG0IQORCEEVdhBFn6Qgy8sIQhTOMMV1rCFN4zhCXM4Qh66cGkaDKIQ/yUHwx4W8YdI9KESj7hEGTLxiU6M4g6hOEUp0pCKV7SiDbG4RS3ikItf9KIOs7jDIZrxjCcD4xi7WMU2kvGNbIRjGN0YxzrOUY5rvKMd88hHI4rRj3TUoyD7mEQ1AhKPh9zjltDIyEaWypCF/GMkA0nIJlIykYPEZCUhaUlETtKTnVTkJ0UZykyO0pSl3KQkU6nJVp5SSY6MpSyjxMlartKWl3ylK1mpy17y8pe4BGUwSTlMVBZTlbkE5i2Xmcxj7tKZvkzTLKdJTeIxU5jXJGY2jblNZGKzmd18ZjijOU5lgvOc30ynNtG5TnVyk53vdKc3bVjNetqzItA0pzzFCf/PecaznQD9p0D9SVB+7pOc/TRoQAuK0IPqc6EKHWhEGfrQbt3zohhlSD43Wk6OJrShEAWpREVKUY861KQhrWhJO8rSj6p0ojAlaUxfKtMkZvSmOB0ISkdK057udKUu/elMhVpTn7b0pEdNKVGNGtSk8nSpUHUqUB2a06piNKpNzSpStapUqQ7Vq0XF6lbH2lWuPhWsTCXrWc061bKqta1rdZdV51pPsbr1rnHFK1z3+lW29vWtf9VrYPNKWL6GFa12LexgDZtWwR5WT3SN7CwTy1jKLvayjwVsZh3bWMVu1rOdrSxiR+vXz4q2tKHFbGpN2zzJuraRlmWtbFdL29j/1pa0mr0tam3LW9xytre79S1ogZtb4v42W69NrhmNO1zhnra4zlUtc5973OBaF7rXrS52t6vd7jY3u9/lbngvqNzyZnC60o3ubNG7XvXqVrzUHa9840vf9IK3vu29r33hu1/v4te8AH4fe9/r3/7O18D/HbCC3btg/eaXvw8ucIQPPOEEM/jCqA2whoXXYAgTmMIftrCDQ4zgElfYxCQ+sYpTzOIOS7jFGPYwJzdM48i5GMQ3FrGMY/ziHKPYxysGMoxHLOQi8xjHR9Zxj2dS4yZ/zchETvKPpRxkKg95x1HOMpa3vGQtd5nLSPZymMGs5PE4+cwmgzKZpyzmMruZGc1rrnKb4fzlOo/Zzm+Wc5yvjGc63zkuAQEAOw==) repeat scroll 0 0 white;overflow:hidden}
276
+ `,fw={},dw={class:"bg-grid"};function hw(o,t){return I(),z("div",dw,[gt(o.$slots,"default",{},void 0,!0)])}const pw=at(fw,[["render",hw],["styles",[uw]],["__scopeId","data-v-b0888d9a"]]);function mw(o,t="style.css"){for(let e of o){const n=document.querySelector(e)?.shadowRoot;n&&Pv(t,n)}}const kc={},wc={},gw=(o,t,e=!0)=>{const n=o.__name;kc[n]=[];let s=[...o.styles||[]],r=0;for(let a in o.customOptions)kc[n].push(a),s=[...(kc[a]||[]).reduce((i,l)=>(i.push(...(wc[l]||[]).map(c=>tl(c))),i),[]),...(t[r++]?.styles||[]).map(i=>tl(i)),...s],wc[a]=s;if(e)o.styles=s;else for(let a of o.styles){const i=document.createElement("style");i.innerHTML=a,document.head.insertBefore(i,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return wc[n]=s,o},Rm={CSSTransition:[Cp],CSSAnimation:[Ma],Loading1:[Tp],Loading2:[Ep],Loading3:[Sp],Loading4:[Op],Loading5:[Pp],Loading6:[Rp],Loading7:[Ip],Loading8:[ac],Loading9:[Ap],Loading10:[$p],Loading11:[ic],Button:[ic],BooleanBox:[La],RadioGroup:[uc,La],CheckboxGroup:[fc,La],Switch:[Np],Select:[Fp],SelectAbsolute:[zp],SlideLeftItem:[Mp],Status:[Ma],Text:[Lp],Input:[Bp,Lp],InputRange:[dc],InputRangeBox:[Vp],InputFileDrop:[Yp],Tabs:[Xp,Qp],ViewDocument:[Zp,qs],ProgressBar:[Va],PageVerticalScrollProgressBar:[Up,Va],Video:[Gp,Va],PopTel:[Hp],Popover:[Jn],ColorPicker:[jp],Dialog:[Xa,Jn],DialogLoading:[qp,Xa,ac],DialogToast:[Kp,Xa],Page:[Ma],Routes:[ek],Image:[hc],ImageView:[hc,Qp],Accordion:[tm],ResizeObserver:[em],MapTianditu:[om],PlateKeyboard:[nm],PlateMobile:[rm],PlateDisplay:[pc],RingIndicator:[am],RingText:[im],ClockFlipper:[lm],EaseGraphDisplay:[mc,Jn],EaseGroupGraphDisplay:[um,mc],InterpolationGraphDisplay:[gc,Jn],InterpolationGroupGraphDisplay:[gm,gc],CardFlip:[ym],Cube:[bm,uc,fc,dc],Float:[xm],Slide:[km],SlideCorner:[wm],LineSingle:[Cm],LineDouble:[Tm],Circle:[Em],BorderFocusText:[Sm],LayoutPage:[qs],LayoutMobile:[vc],XG:[Pm,vc,_c,xc],Footer:[bc,Jn],Lot:[_c,qs,bc,pc,Zp,Hp,Jp],Park:[xc,qs]},Cc=(o,t=!1,e=[])=>{if(!o.__name)return[];const n=o.__name.split(".")?.[0]||"",s=[];!c1(e,n)&&t&&(s.push(...(o.styles||[]).map(a=>tl(a))),e.push(n));const r=Rm[n]||[];for(let a of r){const i=a.__name.split(".")?.[0]||"";if(i==n)continue;const l=Rm[i]||[];for(let c of l)s.push(...Cc(c,!0,e))}return s};function ft(o,{plugins:t=[]}={plugins:[v2]}){return Xy({...o,exposed:o.exposed,setup(e,{attrs:n,slots:s,emit:r,expose:a}){const i=Ji();t.forEach(i.use);const l=jo();Object.assign(l.appContext,i._context),Object.assign(l.provides,i._context.provides);const c=document.createElement("style");return c.innerText=Cc(o).join("").replace(/\n/g,""),Uy().appendChild(c),o.setup?.(e,{attrs:n,slots:s,emit:r,expose:a})}})}const yw=()=>{customElements.define("yz-container",ft(b2)),customElements.define("yz-effect-css-transition",ft(Cp)),customElements.define("yz-effect-css-animation",ft(Ma)),customElements.define("yz-icon",ft(_2)),customElements.define("yz-loading-1",ft(Tp)),customElements.define("yz-loading-2",ft(Ep)),customElements.define("yz-loading-3",ft(Sp)),customElements.define("yz-loading-4",ft(Op)),customElements.define("yz-loading-5",ft(Pp)),customElements.define("yz-loading-6",ft(Rp)),customElements.define("yz-loading-7",ft(Ip)),customElements.define("yz-loading-8",ft(ac)),customElements.define("yz-loading-9",ft(Ap)),customElements.define("yz-loading-10",ft($p)),customElements.define("yz-loading-11",ft(ic)),customElements.define("yz-button",ft(Jn)),customElements.define("yz-boolean-box",ft(La)),customElements.define("yz-radio-group",ft(uc)),customElements.define("yz-checkbox-group",ft(fc)),customElements.define("yz-switch",ft(Np)),customElements.define("yz-select",ft(Fp)),customElements.define("yz-select-absolute",ft(zp)),customElements.define("yz-slide-left-item",ft(Mp)),customElements.define("yz-status",ft(p3)),customElements.define("yz-input",ft(Bp)),customElements.define("yz-input-range",ft(dc)),customElements.define("yz-input-range-box",ft(Vp)),customElements.define("yz-input-file-drop",ft(Yp)),customElements.define("yz-tabs",ft(Xp)),customElements.define("yz-progress-bar",ft(Va)),customElements.define("yz-page-vertical-scroll-progress-bar",ft(Up)),customElements.define("yz-video",ft(Gp)),customElements.define("yz-pop",ft(F3)),customElements.define("yz-popover",ft(jp)),customElements.define("yz-color-picker",ft(B3)),customElements.define("yz-dialog",ft(Xa)),customElements.define("yz-dialog-loading",ft(qp)),customElements.define("yz-dialog-toast",ft(Kp)),customElements.define("yz-image",ft(hc)),customElements.define("yz-image-view",ft(Jp)),customElements.define("yz-accordion",ft(tm)),customElements.define("yz-resize-observer",ft(em)),customElements.define("yz-map-tianditu",ft(om)),customElements.define("yz-hand-write-panel",ft(ck)),customElements.define("yz-plate-keyboard",ft(nm)),customElements.define("yz-plate-mobile",ft(rm)),customElements.define("yz-plate-display",ft(pc)),customElements.define("yz-chat-ring-indicator",ft(am)),customElements.define("yz-chat-ring-text",ft(im)),customElements.define("yz-chat-clock-flipper",ft(lm)),customElements.define("yz-fps-stats",ft(Ek)),customElements.define("yz-ease-graph-display",ft(mc)),customElements.define("yz-ease-group-graph-display",ft(um)),customElements.define("yz-interpolation-graph-display",ft(gc)),customElements.define("yz-interpolation-group-graph-display",ft(gm)),customElements.define("yz-card-flip",ft(ym)),customElements.define("yz-cube",ft(bm)),customElements.define("yz-effect-image-mask",ft(Xk)),customElements.define("yz-effect-float",ft(xm)),customElements.define("yz-effect-slide",ft(km)),customElements.define("yz-effect-slide-corner",ft(wm)),customElements.define("yz-effect-line-single",ft(Cm)),customElements.define("yz-effect-line-double",ft(Tm)),customElements.define("yz-effect-circle",ft(Em)),customElements.define("yz-effect-text-background-clip",ft(Wk)),customElements.define("yz-effect-border-focus-text",ft(Sm)),customElements.define("yz-layout-center",ft(qk)),customElements.define("yz-layout-page",ft(qs)),customElements.define("yz-layout-mobile",ft(vc)),customElements.define("yz-xg",ft(Pm)),customElements.define("yz-xg-footer",ft(bc)),customElements.define("yz-xg-lot",ft(_c)),customElements.define("yz-xg-park",ft(xc)),customElements.define("yz-responsive-video",cw),customElements.define("yz-bg-grid",ft(pw));const o=document.createElement("yz-dialog-toast");o.id="globalDialogToast",Hn.appendChild(o);const t=document.createElement("yz-dialog-loading");t.id="globalDialogLoading",Hn.appendChild(t);const e=document.createElement("yz-dialog");e.id="globalDialog",Hn.appendChild(e);const n=document.createElement("yz-plate-keyboard");n.id="globalPlateKeyboard",Hn.appendChild(n)};return ce.collectChildComponentCSS=Cc,ce.dialog=d_,ce.install=yw,ce.linkChildrenComponentsStyles=mw,ce.loading=f_,ce.mergeChildComponentCSS=gw,ce.plateKeyboard=zh,ce.popAbsolute=Nh,ce.popAbsoluteSample=v_,ce.popBottom=Ph,ce.popBottomSample=h_,ce.popCenter=$h,ce.popCenterSample=y_,ce.popLeft=Ih,ce.popLeftSample=m_,ce.popRight=Ah,ce.popRightSample=g_,ce.popTop=Rh,ce.popTopSample=p_,ce.teleport=Hn,ce.toast=u_,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"}),ce}({});
280
277
  //# sourceMappingURL=yz_custom_element.iife.js.map